* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Apple SD Gothic Neo', 'Pretendard', sans-serif;
    -webkit-tap-highlight-color: transparent;
}
body {
    background: #09090b;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
.container {
    max-width: 480px;
    min-height: 100vh;
    margin: 0 auto;
    padding-bottom: 112px;
    background: #09090b;
}
.detail-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(9, 9, 11, 0.94);
    border-bottom: 1px solid #27272a;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
}
.back-btn {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}
.detail-content {
    padding: 20px;
}
.d-title {
    color: #ff9100;
    font-size: 26px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.map-wrapper {
    width: 100%;
    border: 1px solid #27272a;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}
.map-img {
    display: block;
    width: 100%;
}
.promo-box,
.contact-box {
    background: #121214;
    border: 1px solid #27272a;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}
.contact-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
}
.pb-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 16px;
}
.pb-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 16px;
    background: #ff3b3b;
    border-radius: 2px;
}
.promo-table {
    width: 100%;
    border-collapse: collapse;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}
.promo-table th {
    padding: 10px;
    background: linear-gradient(90deg, #1a0505, #2a0a0a);
    border-bottom: 1px solid #3f0f0f;
    color: #ff3b3b;
    font-size: 12px;
}
.promo-table td {
    padding: 14px 10px;
    border-bottom: 1px solid #18181b;
    color: #e4e4e7;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}
.promo-table tr:last-child td {
    border-bottom: 0;
}
.td-val {
    color: #ff9100;
    font-size: 18px;
    font-weight: 900;
    font-style: italic;
}
.td-val.red {
    color: #ff3b3b;
}
.mission-card {
    background: linear-gradient(135deg, #2a1a00, #1a1000);
    border: 1px solid #ffaa00;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}
.mission-title {
    color: #ffaa00;
    font-size: 24px;
    font-weight: 900;
    font-style: italic;
    line-height: 1.15;
}
.mission-sub {
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.45;
    margin-top: 10px;
}
.mission-sub span {
    color: #ff3b3b;
}
.contact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #e4e4e7;
    font-size: 14px;
    font-weight: 800;
}
.contact-label {
    color: #a1a1aa;
    font-size: 12px;
    white-space: nowrap;
}
.contact-link {
    color: #fff;
    text-align: right;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.contact-link.kakao {
    color: #ffe812;
}
.dong-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.dong-tag {
    background: #18181b;
    border: 1px solid #3f3f46;
    border-radius: 8px;
    color: #a1a1aa;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
}
.fixed-bottom {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 480px;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
    background: linear-gradient(0deg, #09090b 80%, transparent);
    z-index: 30;
}
.fixed-bottom.three-way .btn-kakao {
    grid-column: 1 / -1;
}
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 11px 8px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    word-break: keep-all;
    overflow-wrap: anywhere;
}
.three-way .btn {
    min-height: 50px;
    font-size: 13px;
    padding-inline: 6px;
}
.btn-call {
    background: #27272a;
    border: 1px solid #3f3f46;
    color: #fff;
}
.btn-extra-call {
    background: #18181b;
    border: 1px solid #ffaa00;
    color: #fff;
}
.btn-kakao {
    background: #ffe812;
    color: #3c1e1e;
}
@media (max-width: 360px) {
    .fixed-bottom {
        padding-inline: 12px;
        gap: 7px;
    }
    .fixed-bottom:not(.three-way) {
        grid-template-columns: 1fr;
    }
    .btn {
        min-height: 48px;
        font-size: 14px;
    }
    .three-way .btn {
        min-height: 48px;
        font-size: 12px;
    }
}
