/* ============ Reset & Base ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #0a0a0c;
    --bg-2: #111114;
    --bg-3: #18181d;
    --line: #25252d;
    --text: #ececec;
    --text-2: #a8a8b3;
    --text-3: #6b6b75;
    --gold: #c9a961;
    --gold-2: #e8c980;
    --gold-3: #8c7340;
    --accent: #d4af37;
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
    --radius: 14px;
    --radius-sm: 8px;
    --max: 1200px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .2s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { background: none; border: none; cursor: pointer; color: inherit; font: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.gold { color: var(--gold-2); }

/* ============ Top Bar ============ */
.top-bar {
    background: linear-gradient(90deg, #1a1a20, #0e0e12);
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    color: var(--text-2);
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 36px;
}
.top-bar-tel { color: var(--gold-2); font-weight: 500; }
.top-bar-tel:hover { color: var(--gold); }

/* ============ Header ============ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    height: 72px;
    gap: 32px;
}
/* 상단 메뉴 탭 */
.top-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.top-menu .tm-item {
    padding: 8px 14px;
    border-radius: 9px;
    color: #d6d6e0;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.top-menu .tm-item:hover {
    background: var(--bg-3);
    color: var(--gold-2);
}
@media (max-width: 820px) {
    .header-inner { gap: 14px; }
    /* 한 줄 정렬 가로 스크롤 (줄바꿈으로 흐트러지지 않게) */
    .top-menu {
        gap: 2px;
        flex-wrap: nowrap;
        flex: 1 1 auto;
        min-width: 0;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .top-menu::-webkit-scrollbar { display: none; }
    .top-menu .tm-item { padding: 6px 9px; font-size: 13px; }
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}
.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
    color: #0a0a0c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Serif KR', serif;
    font-weight: 900;
    font-size: 18px;
}
.logo-text {
    background: linear-gradient(135deg, #fff, var(--gold-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Brand logo (왕관 1C: 소프트 뱃지 + 라인 왕관 + 두톤 워드마크) ===== */
.logo-crown {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #1c1710, #0a0a0c);
    border: 1px solid rgba(201, 169, 97, 0.45);
}
.logo-crown svg { display: block; }
/* 두톤 워드마크 (모두의 = 뮤트, 야망 = 골드 강조) */
.b-dim {
    -webkit-text-fill-color: #cfcfd6;
    color: #cfcfd6;
    font-weight: 700;
}
.b-hi {
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--gold-2);
    font-weight: 900;
}
.nav {
    display: flex;
    gap: 4px;
    margin-left: auto;
}
.nav a {
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-2);
    border-radius: var(--radius-sm);
    transition: all .2s ease;
    position: relative;
}
.nav a:hover {
    color: var(--gold-2);
    background: rgba(201, 169, 97, 0.08);
}
.btn-reserve {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #0a0a0c !important;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    transition: transform .2s ease, box-shadow .2s ease;
    flex-shrink: 0;
}
.btn-reserve:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all .3s ease;
}

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    transition: all .25s ease;
    cursor: pointer;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #0a0a0c !important;
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.45);
}
.btn-ghost {
    background: rgba(255,255,255,0.04);
    color: var(--text);
    border: 1px solid var(--line);
}
.btn-ghost:hover {
    background: rgba(201, 169, 97, 0.08);
    border-color: var(--gold-3);
    color: var(--gold-2);
}
.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

/* ============ Hero ============ */
.hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top left, rgba(201, 169, 97, 0.12), transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(140, 115, 64, 0.1), transparent 60%),
        linear-gradient(180deg, #0a0a0c, #111114);
    z-index: -1;
}
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201, 169, 97, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 169, 97, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}
.hero-inner { position: relative; text-align: center; }
.hero-eyebrow {
    font-size: 13px;
    letter-spacing: 0.3em;
    color: var(--gold-2);
    font-weight: 600;
    margin-bottom: 24px;
}
.hero-title {
    font-family: 'Noto Serif KR', serif;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}
.hero-desc {
    font-size: 17px;
    color: var(--text-2);
    margin-bottom: 40px;
    line-height: 1.8;
}
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}
.hero-stats > div {
    text-align: center;
}
.hero-stats strong {
    display: block;
    font-family: 'Noto Serif KR', serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--gold-2);
    margin-bottom: 4px;
}
.hero-stats span {
    font-size: 13px;
    color: var(--text-3);
    letter-spacing: 0.05em;
}

/* ============ Section Common ============ */
.section-eyebrow {
    font-size: 12px;
    letter-spacing: 0.3em;
    color: var(--gold-2);
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}
.section-title {
    font-family: 'Noto Serif KR', serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    text-align: center;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}
.section-desc {
    text-align: center;
    color: var(--text-2);
    font-size: 16px;
    max-width: 720px;
    margin: 0 auto 56px;
    line-height: 1.9;
}

/* ============ Intro ============ */
.intro {
    padding: 100px 0 60px;
    background: var(--bg-2);
    border-top: 1px solid var(--line);
}

/* ============ Categories ============ */
.categories {
    padding: 100px 0;
    background: var(--bg);
}
.categories .section-title { margin-bottom: 56px; }
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.cat-card {
    position: relative;
    padding: 36px 28px;
    background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: all .35s ease;
    overflow: hidden;
}
.cat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity .35s ease;
}
.cat-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px var(--gold-3);
}
.cat-card:hover::before { opacity: 1; }
.cat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.15), rgba(201, 169, 97, 0.05));
    border: 1px solid rgba(201, 169, 97, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--gold-2);
    margin-bottom: 20px;
}
.cat-card h3 {
    font-family: 'Noto Serif KR', serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.cat-card p {
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    min-height: 70px;
}
.cat-meta {
    display: inline-block;
    font-size: 13px;
    color: var(--gold-2);
    font-weight: 600;
    letter-spacing: 0.02em;
}
.cat-card-wide {
    grid-column: span 3;
}

/* ============ Featured ============ */
.featured {
    padding: 100px 0;
    background: var(--bg-2);
    border-top: 1px solid var(--line);
}
.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.venue-card {
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .3s ease;
}
.venue-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-3);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.venue-thumb {
    height: 200px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}
.venue-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.6));
}
.venue-badge {
    position: relative;
    z-index: 1;
    padding: 6px 12px;
    background: var(--gold);
    color: #0a0a0c;
    font-size: 11px;
    font-weight: 800;
    border-radius: 999px;
    letter-spacing: 0.05em;
}
.venue-body { padding: 20px; }
.venue-cat {
    display: inline-block;
    font-size: 12px;
    color: var(--gold-2);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    font-weight: 600;
}
.venue-body h3 {
    font-family: 'Noto Serif KR', serif;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
}
.venue-body p {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 16px;
}
.venue-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-3);
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

/* ============ CTA ============ */
.cta {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg), #050507);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201, 169, 97, 0.1), transparent 60%);
}
.cta-inner { position: relative; }
.cta h2 {
    font-family: 'Noto Serif KR', serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.cta > .container > p:not(.cta-note) {
    color: var(--text-2);
    margin-bottom: 36px;
    font-size: 16px;
}
.cta-note {
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-3);
    letter-spacing: 0.05em;
}

/* ============ Location ============ */
.location {
    padding: 100px 0;
    background: var(--bg-2);
    border-top: 1px solid var(--line);
}
.location-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}
.location-text .section-eyebrow,
.location-text .section-title,
.location-text .section-desc { text-align: left; }
.location-text .section-desc { margin: 0 0 32px; }
.location-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text-2);
    font-size: 15px;
}
.location-list li:first-child { border-top: 1px solid var(--line); }
.map-placeholder {
    aspect-ratio: 4 / 3;
    background:
        linear-gradient(135deg, rgba(201, 169, 97, 0.05), rgba(201, 169, 97, 0.02)),
        repeating-linear-gradient(45deg, var(--bg-3) 0 20px, var(--bg-2) 20px 40px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-2);
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 18px;
}

/* ============ Footer ============ */
.footer {
    background: #050507;
    padding: 80px 0 0;
    border-top: 1px solid var(--line);
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 60px;
}
.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-2);
    margin-bottom: 18px;
    letter-spacing: 0.05em;
    min-height: 14px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
    color: var(--text-2);
    font-size: 14px;
}
.footer-col ul a:hover { color: var(--gold-2); }
.footer-desc {
    color: var(--text-2);
    font-size: 14px;
    margin-top: 16px;
    line-height: 1.7;
    max-width: 320px;
}
.footer-tel a {
    font-family: 'Noto Serif KR', serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--gold-2);
}
.footer-col p {
    color: var(--text-2);
    font-size: 13px;
    margin-top: 8px;
}
.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 24px 0;
    font-size: 12px;
    color: var(--text-3);
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.admin-entry {
    margin-left: 12px;
    padding: 2px 8px;
    font-size: 11px;
    color: var(--text-3);
    border: 1px solid var(--line);
    border-radius: 4px;
    opacity: 0.5;
    transition: all .2s ease;
}
.admin-entry:hover { color: var(--gold-2); border-color: var(--gold-3); opacity: 1; }

/* ============ Float Call Button ============ */
.float-call {
    border: none;
    cursor: pointer;
    font-family: inherit;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #0a0a0c !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 24px rgba(201, 169, 97, 0.5);
    z-index: 99;
    transition: transform .25s ease;
    animation: pulse 2s infinite;
}
.float-call:hover { transform: scale(1.1); }

@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(201, 169, 97, 0.5); }
    50% { box-shadow: 0 8px 30px rgba(201, 169, 97, 0.8), 0 0 0 8px rgba(201, 169, 97, 0.1); }
}

/* ============ Category Page Styles ============ */
.page-hero {
    padding: 100px 0 60px;
    text-align: center;
    background:
        radial-gradient(ellipse at top, rgba(201, 169, 97, 0.1), transparent 60%),
        var(--bg);
    border-bottom: 1px solid var(--line);
}
.page-breadcrumb {
    font-size: 13px;
    color: var(--text-3);
    margin-bottom: 16px;
}
.page-breadcrumb a:hover { color: var(--gold-2); }
.page-title {
    font-family: 'Noto Serif KR', serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.page-subtitle {
    color: var(--text-2);
    font-size: 17px;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============ Notice Page (공지/업데이트 전용) ============ */
.notice-pinned {
    display: flex;
    gap: 18px;
    padding: 22px 24px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.12), rgba(201, 169, 97, 0.02));
    border: 1px solid var(--gold-3);
    border-radius: 12px;
    margin-bottom: 28px;
}
.pin-badge {
    flex-shrink: 0;
    padding: 8px 14px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #0a0a0c;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    height: fit-content;
}
.pin-body { flex: 1; }
.pin-body h3 {
    font-family: 'Noto Serif KR', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-2);
    margin-bottom: 8px;
}
.pin-body p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 10px;
}
.pin-meta {
    font-size: 12px;
    color: var(--text-3);
}
.pin-meta span { display: inline; }

/* 공지 게시판 테이블 강화 */
.notice-board { margin-bottom: 32px; }
.notice-board tr { cursor: pointer; }

/* 페이지네이션 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 24px 0 40px;
}
.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text-2);
    font-size: 13px;
    font-weight: 600;
    transition: all .2s ease;
}
.pagination a:hover {
    border-color: var(--gold-3);
    color: var(--gold-2);
    background: rgba(201, 169, 97, 0.08);
}
.pagination .pg-num.active {
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    border-color: var(--gold);
    color: #0a0a0c;
}
.pagination .pg-arrow { color: var(--text-3); }

@media (max-width: 600px) {
    .notice-pinned { flex-direction: column; gap: 12px; padding: 18px; }
    .pagination a { min-width: 32px; height: 32px; font-size: 12px; }
}

/* 카테고리 페이지 공지/업데이트 섹션 */
.page-notice {
    padding: 40px 0 0;
    background: var(--bg);
}
.page-notice-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
}
.notice-block {
    background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}
.notice-block-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #16161c, #11111a);
}
.notice-block-head h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gold-2);
    display: flex;
    align-items: center;
    gap: 8px;
}
.notice-block-head h3 .nb-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
    color: #0a0a0c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}
.notice-block-head .more {
    font-size: 11px;
    color: var(--text-3);
    transition: color .2s;
}
.notice-block-head .more:hover { color: var(--gold-2); }
.notice-block-list { padding: 6px 0; }
.notice-block-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-bottom: 1px dashed rgba(255,255,255,0.04);
    font-size: 13.5px;
    transition: background .15s;
}
.notice-block-list li:last-child { border-bottom: none; }
.notice-block-list li:hover { background: rgba(201, 169, 97, 0.04); }
.notice-block-list a {
    flex: 1;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.notice-block-list a:hover { color: var(--gold-2); }
.notice-block-list .date { font-size: 11px; color: var(--text-3); flex-shrink: 0; }

/* 빠른 이벤트 박스 (오른쪽) */
.quick-event {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.qe-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.08), rgba(201, 169, 97, 0.02));
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: all .2s ease;
}
.qe-item:hover {
    border-color: var(--gold-3);
    transform: translateX(2px);
}
.qe-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
    color: #0a0a0c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.qe-text { flex: 1; min-width: 0; }
.qe-text strong {
    display: block;
    font-size: 14px;
    color: var(--text);
    margin-bottom: 3px;
    font-weight: 700;
}
.qe-text span {
    display: block;
    font-size: 12px;
    color: var(--text-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 980px) {
    .page-notice-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .page-notice { padding: 24px 0 0; }
    .notice-block-head { padding: 12px 14px; }
    .notice-block-list li { padding: 9px 14px; font-size: 12.5px; }
}

.page-list {
    padding: 80px 0;
}
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.filter-count {
    font-size: 14px;
    color: var(--text-2);
}
.filter-count strong {
    color: var(--gold-2);
    font-weight: 700;
}
.filter-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.filter-tab {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 13px;
    color: var(--text-2);
    cursor: pointer;
    transition: all .2s ease;
}
.filter-tab:hover, .filter-tab.active {
    border-color: var(--gold-3);
    color: var(--gold-2);
    background: rgba(201, 169, 97, 0.08);
}
.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.listing-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .3s ease;
}
.listing-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-3);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.listing-thumb {
    aspect-ratio: 16 / 10;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}
.listing-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.65));
}
.listing-thumb .badge {
    position: relative;
    z-index: 1;
    padding: 5px 11px;
    background: rgba(0,0,0,0.6);
    border: 1px solid var(--gold-3);
    color: var(--gold-2);
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
}
.listing-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.listing-body h3 {
    font-family: 'Noto Serif KR', serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.listing-body .area {
    font-size: 13px;
    color: var(--gold-2);
    margin-bottom: 12px;
    font-weight: 500;
}
.listing-body p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
}
.listing-meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: var(--text-3);
    padding-top: 16px;
    border-top: 1px solid var(--line);
    margin-bottom: 16px;
}
.listing-meta span:first-child { color: var(--gold-2); }
.listing-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.listing-actions a, .listing-actions button {
    text-align: center;
    padding: 11px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    transition: all .2s ease;
    cursor: pointer;
    font-family: inherit;
}
.listing-actions .a-tel {
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #0a0a0c !important;
    border: none;
}
.listing-actions .a-detail {
    border: 1px solid var(--line);
    color: var(--text-2);
    background: transparent;
}
.listing-actions .a-detail:hover {
    border-color: var(--gold-3);
    color: var(--gold-2);
}

/* 👥 출근현황 버튼 (가로 전체 폭) */
.listing-actions .a-attendance {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.08), rgba(74, 222, 128, 0.02));
    border: 1px solid rgba(74, 222, 128, 0.25);
    color: #4ade80;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}
.listing-actions .a-attendance:hover {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.18), rgba(74, 222, 128, 0.04));
    border-color: #4ade80;
    box-shadow: 0 4px 14px rgba(74, 222, 128, 0.18);
}
.listing-actions .a-attendance .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.8);
    animation: pulseDot 1.6s infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.75); }
}
.listing-actions .a-attendance b { color: #fff; font-weight: 800; }

/* ============ 출근현황 모달 ============ */
.modal.modal-attendance { max-width: 580px; padding: 0; }
.modal.modal-attendance .modal-close { background: rgba(0,0,0,0.4); color: #fff; z-index: 3; }
.att-header {
    padding: 24px 28px 18px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(74, 222, 128, 0.06), transparent);
}
.att-header .att-eyebrow {
    font-size: 11px;
    color: #4ade80;
    letter-spacing: 0.15em;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.att-header .att-eyebrow .live-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.7);
    animation: pulseDot 1.6s infinite;
}
.att-header h2 {
    font-family: 'Noto Serif KR', serif;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
}
.att-header .att-sub { font-size: 13px; color: var(--text-3); }
.att-header .att-sub strong { color: var(--gold-2); font-weight: 700; }

.att-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 16px 28px;
    border-bottom: 1px solid var(--line);
}
.att-stat {
    text-align: center;
    padding: 12px 8px;
    background: var(--bg-3);
    border-radius: 8px;
    border: 1px solid var(--line);
}
.att-stat strong {
    display: block;
    font-family: 'Noto Serif KR', serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--gold-2);
}
.att-stat span { font-size: 11px; color: var(--text-3); }

.att-body {
    padding: 20px 28px 24px;
    max-height: 50vh;
    overflow-y: auto;
}
.att-body h4 {
    font-size: 12px;
    color: var(--text-3);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}
.att-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}
.att-card {
    padding: 12px 10px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 8px;
    text-align: center;
    position: relative;
}
.att-card.busy { opacity: 0.55; }
.att-card .av {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
    color: #0a0a0c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    margin: 0 auto 8px;
}
.att-card .av.busy-av { background: linear-gradient(135deg, #6b7280, #4b5563); color: #fff; }
.att-card .n { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.att-card .st {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 999px;
    display: inline-block;
    letter-spacing: 0.03em;
    font-weight: 700;
}
.att-card .st.wait { background: rgba(74, 222, 128, 0.15); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.3); }
.att-card .st.busy { background: rgba(220, 38, 38, 0.12); color: #f87171; border: 1px solid rgba(220, 38, 38, 0.25); }
.att-card .age {
    margin-top: 4px;
    font-size: 10px;
    color: var(--text-3);
}

.att-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 18px 28px 24px;
    border-top: 1px solid var(--line);
    background: var(--bg);
    border-radius: 0 0 16px 16px;
}
.att-footer .btn-tel {
    padding: 13px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text-2);
    text-align: center;
    font-weight: 700;
    transition: all .2s ease;
}
.att-footer .btn-tel:hover { color: var(--gold-2); border-color: var(--gold-3); background: rgba(201, 169, 97, 0.08); }
.att-footer .btn-reserve-att {
    padding: 13px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #0a0a0c;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    border: none;
    transition: all .2s ease;
}
.att-footer .btn-reserve-att:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(201, 169, 97, 0.35); }

@media (max-width: 600px) {
    .att-header { padding: 18px 18px 14px; }
    .att-stats { padding: 12px 18px; }
    .att-body { padding: 16px 18px 20px; }
    .att-footer { padding: 14px 18px 18px; }
    .att-grid { grid-template-columns: repeat(auto-fill, minmax(95px, 1fr)); gap: 8px; }
}

.info-block {
    margin-top: 80px;
    padding: 40px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.info-block h3 {
    font-family: 'Noto Serif KR', serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gold-2);
}
.info-block p {
    color: var(--text-2);
    line-height: 1.9;
    font-size: 15px;
}
.info-block p + p { margin-top: 12px; }

/* ============ Swapped: Ranking in narrow widget + Tabs in wide block ============ */
/* 우측 위젯에 들어간 컴팩트 랭킹 */
.widget-ranking { display: flex; flex-direction: column; }
.ranking-compact { padding: 4px 0; }
.ranking-compact li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-bottom: 1px dashed rgba(255,255,255,0.04);
    transition: background .15s;
}
.ranking-compact li:last-child { border-bottom: none; }
.ranking-compact li:hover { background: rgba(201, 169, 97, 0.04); }
.ranking-compact .rank {
    width: 22px;
    height: 22px;
    font-size: 11px;
    border-radius: 5px;
    flex-shrink: 0;
}
.ranking-compact a { flex: 1; display: flex; align-items: center; gap: 6px; min-width: 0; }
.ranking-compact strong { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ranking-compact .r-area { font-size: 10px; padding: 1px 5px; flex-shrink: 0; }
.ranking-compact .r-type { font-size: 10px; padding: 1px 6px; flex-shrink: 0; }
.ranking-compact .r-score { font-size: 11px; flex-shrink: 0; }
.ranking-compact .r-arrow { font-size: 10px; width: 30px; flex-shrink: 0; }

/* 업종 뱃지 (카테고리별 색상) */
.r-type {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid transparent;
    line-height: 1.4;
}
.r-type-shirtroom { color: #4ade80; background: rgba(74, 222, 128, 0.1); border-color: rgba(74, 222, 128, 0.3); }
.r-type-leggingsroom { color: #f472b6; background: rgba(244, 114, 182, 0.1); border-color: rgba(244, 114, 182, 0.3); }
.r-type-jeomoh { color: var(--gold-2); background: rgba(201, 169, 97, 0.1); border-color: rgba(201, 169, 97, 0.3); }
.r-type-karaoke { color: #60a5fa; background: rgba(96, 165, 250, 0.1); border-color: rgba(96, 165, 250, 0.3); }
.r-type-hostbar { color: #c084fc; background: rgba(192, 132, 252, 0.1); border-color: rgba(192, 132, 252, 0.3); }
.r-type-club { color: #f87171; background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.3); }
.r-type-lounge { color: #fbbf24; background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.3); }

/* 호버 시 강조 */
.ranking-list a:hover .r-type {
    filter: brightness(1.2);
}

/* 메인 컬럼에 들어간 와이드 탭 */
.block-tabs-wide .tab-head-wide {
    background: linear-gradient(180deg, #16161c, #11111a);
}
.block-tabs-wide .tab-head-wide .tab-btn {
    flex: 0 0 auto;
    padding: 14px 28px;
    font-size: 14px;
}
.tab-list-wide { padding: 8px 0; }
.tab-list-wide li {
    padding: 11px 20px;
    font-size: 14px;
    gap: 10px;
}
.tab-list-wide .cat-tag { font-size: 12px; min-width: 70px; }

/* ============ Slim Banner ============ */
.banner-slim {
    background: linear-gradient(90deg, #1a1408, #2a1f0f, #1a1408);
    border-bottom: 1px solid var(--gold-3);
}
.banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    gap: 16px;
}
.banner-text { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text); }
.banner-tag {
    padding: 4px 10px;
    background: var(--gold);
    color: #0a0a0c;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}
.banner-cta {
    padding: 8px 18px;
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--gold-3);
    color: var(--gold-2);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all .2s ease;
}
.banner-cta:hover {
    background: var(--gold);
    color: #0a0a0c;
}

/* ============ Hero Tagline (상단 슬로건) ============ */
.hero-tagline {
    padding: 30px 0 4px;
    background: var(--bg);
}
.hero-tagline p {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: var(--text);
}
.hero-tagline .ht-gold {
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media (max-width: 600px) {
    .hero-tagline { padding: 22px 0 2px; }
    /* 한 줄 유지: 화면 폭에 맞춰 글자 크기 축소 ("다" 줄바꿈 방지) */
    .hero-tagline p { font-size: 3vw; white-space: nowrap; letter-spacing: -0.02em; }
}

/* ============ Region Hub (search + city select) ============ */
.region-hub {
    padding: 20px 0 8px;
    background: var(--bg);
}
.region-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 6px 6px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg-3);
    margin-bottom: 18px;
}
.region-search:focus-within { border-color: var(--gold-3); }
.region-search .rs-icon { font-size: 16px; color: var(--text-3); }
.region-search input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    font: inherit;
    font-size: 15px;
    padding: 10px 0;
}
.region-search input::placeholder { color: var(--text-3); }
.region-search .rs-btn {
    padding: 11px 24px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #0a0a0c;
    flex-shrink: 0;
}
.region-search .rs-btn:hover { background: var(--gold); }
.region-label {
    font-size: 12px;
    color: var(--text-3);
    margin-bottom: 12px;
    letter-spacing: .04em;
}
.region-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.region-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 16px 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: linear-gradient(180deg, #16161c, #0e0e12);
    text-align: center;
    transition: all .15s ease;
}
.region-item:hover { border-color: var(--gold-3); }
.region-item.active {
    border-color: var(--gold-3);
    background: linear-gradient(180deg, #1d1a12, #0e0e12);
}
.region-item .ri-nm { font-size: 16px; font-weight: 800; }
.region-item .ri-cnt { font-size: 12px; color: var(--gold-2); font-weight: 700; }
@media (max-width: 768px) {
    .region-row { flex-wrap: wrap; }
    .region-item { flex: 1 1 30%; }
}

/* 모바일 전용 미니게임 선택바 (데스크톱 숨김) */
.mobile-games { display: none; padding: 16px 0 6px; background: var(--bg); }
.mobile-games .mg-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mobile-games .mg-item {
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    padding: 14px 8px; background: var(--bg-2); border: 1px solid var(--line);
    border-radius: 14px; color: var(--text); transition: border-color .15s ease, transform .15s ease;
}
.mobile-games .mg-item:active { transform: scale(.97); }
.mobile-games .mg-item .mg-ic { font-size: 24px; line-height: 1; }
.mobile-games .mg-item b { font-size: 13px; font-weight: 700; }
@media (max-width: 760px) {
    .region-hub { display: none; }
    .mobile-games { display: block; }
}

/* ============ Dashboard (3-column widget grid) ============ */
.dashboard {
    padding: 28px 0;
    background: var(--bg);
}
.dashboard-grid {
    display: grid;
    grid-template-columns: 280px 1fr 1fr;
    gap: 16px;
}
.widget {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

/* Left column (login + ranking boards) */
.dash-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: start;
}

/* Ranking Board (회원랭킹 / 출석랭킹 탭 통합) */
.rank-board { padding: 0; }
.rb-tabs {
    display: flex;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #15151b, #0e0e14);
}
.rb-tab {
    flex: 1;
    padding: 12px 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-3);
    border-bottom: 2px solid transparent;
    transition: all .2s ease;
}
.rb-tab:hover { color: var(--text-2); }
.rb-tab.active {
    color: var(--gold-2);
    border-bottom-color: var(--gold-2);
    background: rgba(201, 169, 97, 0.05);
}
.rb-panel { display: none; }
.rb-panel.active { display: block; }
.rb-list { padding: 6px 0; }
.rb-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    font-size: 13px;
}
.rb-list li + li { border-top: 1px solid rgba(255,255,255,.03); }
.rb-rank {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--bg-3);
    color: var(--text-3);
    font-size: 12px;
    font-weight: 800;
}
.rb-rank.r1 { background: linear-gradient(135deg, #f0d178, #c9a961); color: #1a1206; }
.rb-rank.r2 { background: linear-gradient(135deg, #d8d8e0, #a9a9b6); color: #1a1a20; }
.rb-rank.r3 { background: linear-gradient(135deg, #e0a878, #b9774a); color: #1a1206; }
.rb-name {
    flex: 1;
    color: var(--text);
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.rb-val {
    color: var(--gold-2);
    font-weight: 700;
    font-size: 13px;
}

/* Login Widget */
.widget-login {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.login-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-3);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}
.dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 2px;
}
.dot-on { background: #4ade80; box-shadow: 0 0 6px rgba(74, 222, 128, 0.6); }
.dot-off { background: #4b5563; }
.login-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 12px;
    background: linear-gradient(135deg, #11111a, #1a1a25);
    border: 1px solid var(--line);
    border-radius: 8px;
    gap: 10px;
}
.lg-icon {
    font-size: 28px;
    color: var(--gold-2);
}
.login-logo strong {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 900;
    font-size: 18px;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #fff, var(--gold-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.login-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #0a0a0c;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
}
.login-btn:hover { transform: translateY(-1px); }
.login-foot {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 11px;
    color: var(--text-3);
}
.login-foot a:hover { color: var(--gold-2); }
.login-foot .sep { color: var(--line); }
.autolog { margin-left: auto; display: flex; align-items: center; gap: 4px; cursor: pointer; }
.autolog input { accent-color: var(--gold); }
.quick-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    background: linear-gradient(90deg, rgba(220, 38, 38, 0.15), transparent);
    border-left: 3px solid #dc2626;
    border-radius: 4px;
    font-size: 12px;
}
.badge-alert {
    padding: 2px 8px;
    background: #dc2626;
    color: #fff;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
}
.alert-text { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}
.quick-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 6px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-2);
    transition: all .2s ease;
}
.quick-links a:hover {
    border-color: var(--gold-3);
    color: var(--gold-2);
    background: rgba(201, 169, 97, 0.08);
}
.quick-links span { font-size: 14px; }

/* Widget Head Common */
.widget-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #16161c, #11111a);
}
.widget-head h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gold-2);
    display: flex;
    align-items: center;
    gap: 6px;
}
.caret { color: var(--text-3); font-size: 10px; }
.more { font-size: 11px; color: var(--text-3); }
.more:hover { color: var(--gold-2); }

/* Notice Widget */
.notice-list { padding: 6px 0; }
.notice-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-bottom: 1px dashed rgba(255,255,255,0.04);
    font-size: 13px;
    transition: background .15s;
}
.notice-list li:last-child { border-bottom: none; }
.notice-list li:hover { background: rgba(201, 169, 97, 0.04); }
.notice-list a {
    flex: 1;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.notice-list a:hover { color: var(--gold-2); }
.notice-list .date { font-size: 11px; color: var(--text-3); flex-shrink: 0; }
.tag {
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}
.tag-notice { background: rgba(220, 38, 38, 0.15); color: #f87171; border: 1px solid rgba(220, 38, 38, 0.3); }
.tag-event { background: rgba(201, 169, 97, 0.15); color: var(--gold-2); border: 1px solid rgba(201, 169, 97, 0.3); }
.tag-update { background: rgba(74, 222, 128, 0.15); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.3); }

/* Tab Widget */
.tab-head {
    display: flex;
    background: linear-gradient(180deg, #16161c, #11111a);
    border-bottom: 1px solid var(--line);
}
.tab-btn {
    flex: 1;
    padding: 13px 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-3);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all .2s ease;
}
.tab-btn:hover { color: var(--text-2); }
.tab-btn.active {
    color: var(--gold-2);
    border-bottom-color: var(--gold-2);
    background: rgba(201, 169, 97, 0.05);
}
.tab-list {
    display: none;
    padding: 6px 0;
}
.tab-list.active { display: block; }
.tab-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-bottom: 1px dashed rgba(255,255,255,0.04);
    font-size: 13px;
    transition: background .15s;
}
.tab-list li:last-child { border-bottom: none; }
.tab-list li:hover { background: rgba(201, 169, 97, 0.04); }
.tab-list a {
    flex: 1;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tab-list a:hover { color: var(--gold-2); }
.tab-list em.hot { color: #f87171; font-size: 11px; font-weight: 700; font-style: normal; }
.tab-list em.new {
    color: #fff;
    background: #dc2626;
    font-size: 9px;
    padding: 1px 5px;
    border-radius: 3px;
    font-style: normal;
    font-weight: 800;
}
.cat-tag {
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}
.tag-shirtroom { color: #4ade80; }
.tag-leggingsroom { color: #f472b6; }
.tag-jeomoh { color: var(--gold-2); }
.tag-karaoke { color: #60a5fa; }
.tag-hostbar { color: #c084fc; }
.tag-club { color: #f87171; }

/* ============ Category Icon Bar ============ */
.cat-iconbar {
    padding: 20px 0;
    background: linear-gradient(180deg, var(--bg-2), var(--bg));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.cat-iconbar .container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.cat-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 8px;
    border-radius: 10px;
    transition: all .25s ease;
    text-align: center;
}
.cat-icon-link:hover {
    background: rgba(201, 169, 97, 0.06);
    transform: translateY(-3px);
}
.ci-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--gold-2);
    transition: all .25s ease;
}
.cat-icon-link:hover .ci-circle {
    border-color: var(--gold-3);
    box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.08);
}
.cat-icon-link b {
    font-size: 13px;
    color: var(--text);
    font-weight: 600;
}
.cat-icon-link em {
    font-size: 11px;
    color: var(--text-3);
    font-style: normal;
}

/* ============ Main Section ============ */
.main-section {
    padding: 40px 0;
    background: var(--bg);
}
.main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.main-col { display: flex; flex-direction: column; gap: 28px; }
.side-col { display: flex; flex-direction: column; gap: 16px; }
.block {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}
.block-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #16161c, #11111a);
    flex-wrap: wrap;
    gap: 10px;
}
.block-head h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
}
.block-tabs { display: flex; gap: 4px; }
.bt {
    padding: 5px 12px;
    font-size: 12px;
    color: var(--text-3);
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    transition: all .2s;
}
.bt:hover, .bt.active {
    color: var(--gold-2);
    border-color: var(--gold-3);
    background: rgba(201, 169, 97, 0.08);
}
.more-link { font-size: 12px; color: var(--gold-2); }

/* Ranking List */
.ranking-list {
    padding: 8px 0;
}
.ranking-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 20px;
    border-bottom: 1px dashed rgba(255,255,255,0.04);
    transition: background .15s;
}
.ranking-list li:last-child { border-bottom: none; }
.ranking-list li:hover { background: rgba(201, 169, 97, 0.04); }
.rank {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-3);
    background: var(--bg-3);
    border-radius: 6px;
    flex-shrink: 0;
}
.rank-1 { background: linear-gradient(135deg, #ffd700, #b8860b); color: #0a0a0c; }
.rank-2 { background: linear-gradient(135deg, #d1d5db, #6b7280); color: #0a0a0c; }
.rank-3 { background: linear-gradient(135deg, #d97706, #92400e); color: #0a0a0c; }
.ranking-list a {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}
.ranking-list a:hover strong { color: var(--gold-2); }
.ranking-list strong { font-size: 14px; font-weight: 600; }
.r-area {
    font-size: 11px;
    color: var(--text-3);
    padding: 2px 6px;
    background: rgba(255,255,255,0.04);
    border-radius: 3px;
}
.r-score { font-size: 12px; color: var(--gold-2); flex-shrink: 0; font-weight: 600; }
.r-arrow {
    font-size: 11px;
    font-weight: 700;
    width: 36px;
    text-align: right;
    flex-shrink: 0;
}
.r-arrow.up { color: #ef4444; }
.r-arrow.down { color: #3b82f6; }
.r-arrow.same { color: var(--text-3); }

/* Board Table */
.board-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.board-table thead {
    background: linear-gradient(180deg, #11111a, #0e0e16);
}
.board-table th {
    padding: 11px 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-3);
    border-bottom: 1px solid var(--line);
    text-align: center;
    letter-spacing: 0.05em;
}
.board-table .th-title { text-align: left; padding-left: 16px; }
.board-table td {
    padding: 11px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--text-2);
    text-align: center;
}
.board-table tr:hover { background: rgba(201, 169, 97, 0.04); }
.board-table .th-title + td, .board-table td:nth-child(3) {
    text-align: left;
    padding-left: 16px;
}
.board-table a { color: var(--text); }
.board-table a:hover { color: var(--gold-2); }
.board-table em.comments {
    color: #f87171;
    font-size: 11px;
    font-style: normal;
    margin-left: 4px;
    font-weight: 700;
}
.th-num { width: 60px; }
.th-cat { width: 80px; }
.th-writer { width: 90px; }
.th-date { width: 70px; }
.th-views { width: 70px; }

/* ============ Sidebar ============ */
.side-box {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
}
.side-box h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-2);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}
.quick-reserve { text-align: center; background: linear-gradient(180deg, #1a1408, #0e0a04); border-color: var(--gold-3); }
.qr-tel {
    font-family: 'Noto Serif KR', serif;
    font-size: 26px;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, var(--gold-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 4px 0;
}
.qr-sub { font-size: 12px; color: var(--text-3); margin-bottom: 14px; }
.qr-btn {
    display: block;
    padding: 11px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #0a0a0c !important;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: transform .2s;
}
.qr-btn:hover { transform: translateY(-1px); }

/* Hot Search */
.hot-search li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 13px;
}
.hs-rank {
    width: 18px;
    text-align: center;
    font-weight: 800;
    color: var(--text-3);
    font-size: 12px;
}
.hot-search li:nth-child(1) .hs-rank,
.hot-search li:nth-child(2) .hs-rank,
.hot-search li:nth-child(3) .hs-rank { color: var(--gold-2); }
.hot-search a { flex: 1; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hot-search a:hover { color: var(--gold-2); }
.hs-up { color: #ef4444; font-size: 10px; font-style: normal; }
.hs-down { color: #3b82f6; font-size: 10px; font-style: normal; }
.hs-same { color: var(--text-3); font-size: 10px; font-style: normal; }
.hs-new { color: #fff; background: #dc2626; padding: 1px 5px; border-radius: 3px; font-size: 9px; font-weight: 800; font-style: normal; }

/* Side Banner */
.side-banner {
    display: flex;
    flex-direction: column;
    padding: 22px 18px;
    background: linear-gradient(135deg, #2a1f0f, #1a1408);
    border: 1px solid var(--gold-3);
    border-radius: 12px;
    color: var(--text) !important;
    transition: all .25s;
    text-align: center;
    gap: 4px;
}
.side-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 169, 97, 0.2);
}
.side-banner strong {
    font-size: 13px;
    color: var(--gold-2);
    letter-spacing: 0.05em;
}
.side-banner span {
    font-family: 'Noto Serif KR', serif;
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    margin: 2px 0;
}
.side-banner em {
    font-size: 12px;
    color: var(--gold-2);
    font-style: normal;
    margin-top: 6px;
}

/* ============ Chat Widget ============ */
.chat-widget {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 540px;
}
.chat-head {
    display: flex;
    background: linear-gradient(180deg, #11111a, #0e0e16);
    border-bottom: 1px solid var(--line);
}
.chat-tab {
    flex: 1;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-3);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all .2s;
}
.chat-tab.active {
    color: var(--gold-2);
    border-bottom-color: var(--gold-2);
    background: rgba(201, 169, 97, 0.05);
}
.chat-info {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    color: var(--text-2);
}
.online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.7);
    animation: blink 1.5s infinite;
}
@keyframes blink { 50% { opacity: 0.5; } }
.chat-info strong { color: var(--gold-2); font-weight: 700; }
.chat-tools { margin-left: auto; display: flex; gap: 4px; }
.chat-tools button {
    padding: 3px 5px;
    font-size: 11px;
    opacity: 0.6;
    transition: opacity .2s;
}
.chat-tools button:hover { opacity: 1; }
.chat-rule {
    padding: 8px 14px;
    background: rgba(220, 38, 38, 0.1);
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    color: #f87171;
    text-align: center;
}
.chat-messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 5px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.msg {
    font-size: 12px;
    line-height: 1.5;
    word-break: break-word;
}
.msg-name {
    color: var(--gold-2);
    font-weight: 700;
    margin-right: 5px;
}
.msg-name.star { color: #fbbf24; }
.msg-text { color: var(--text); }
.chat-input {
    display: flex;
    padding: 8px;
    border-top: 1px solid var(--line);
    background: #0e0e16;
    gap: 6px;
}
.chat-input input {
    flex: 1;
    padding: 9px 11px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border .2s;
}
.chat-input input:focus { border-color: var(--gold-3); }
.chat-send {
    padding: 9px 14px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #0a0a0c;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    font-weight: 700;
}
.chat-send:hover { transform: translateY(-1px); }

/* ============ Header Auth Area ============ */
.header-user {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    margin-left: auto;
}
.header-user + .btn-reserve { margin-left: 14px; }
.nav + .header-user { margin-left: 14px; }
.header-login-btn {
    padding: 7px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text-2);
    font-size: 13px;
    font-weight: 600;
    transition: all .2s ease;
    cursor: pointer;
    background: rgba(255,255,255,0.03);
}
.header-login-btn:hover {
    color: var(--gold-2);
    border-color: var(--gold-3);
    background: rgba(201, 169, 97, 0.08);
}
.header-signup-link {
    color: var(--text-3);
    font-size: 13px;
}
.header-signup-link:hover { color: var(--gold-2); }

.header-user.logged-in .header-login-btn,
.header-user.logged-in .header-signup-link { display: none; }
.user-chip {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.12), rgba(201, 169, 97, 0.04));
    border: 1px solid var(--gold-3);
    border-radius: 999px;
}
.header-user.logged-in .user-chip { display: inline-flex; }
.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
    color: #0a0a0c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
}
.user-name { color: var(--text); font-weight: 600; font-size: 13px; }
.user-name b { color: var(--gold-2); }
.user-rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid transparent;
    font-size: 14px;
    flex-shrink: 0;
    cursor: help;
    transition: transform .15s ease;
}
.user-rank-badge:hover { transform: scale(1.15); }
.user-logout {
    margin-left: 4px;
    padding: 5px 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text-3);
    font-size: 11px;
    cursor: pointer;
    transition: all .2s;
}
.user-logout:hover { color: #f87171; border-color: #7f1d1d; }

/* Login widget logged-in state */
.login-logo.logged-in .login-btn { display: none; }
.login-logo.logged-in::after {
    content: attr(data-welcome);
    display: block;
    margin-top: 4px;
    padding: 8px 12px;
    background: rgba(201, 169, 97, 0.08);
    border: 1px solid var(--gold-3);
    border-radius: 6px;
    color: var(--gold-2);
    font-size: 12px;
    text-align: center;
    width: 100%;
}

/* ============ Modal ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity .25s ease;
}
.modal-overlay.open {
    display: flex;
    opacity: 1;
}
.modal {
    width: 100%;
    max-width: 460px;
    max-height: 92vh;
    overflow-y: auto;
    background: linear-gradient(180deg, var(--bg-2), var(--bg));
    border: 1px solid var(--gold-3);
    border-radius: 16px;
    padding: 28px 28px 24px;
    position: relative;
    box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(201, 169, 97, 0.15);
    transform: translateY(20px) scale(0.96);
    transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.open .modal {
    transform: translateY(0) scale(1);
}
.modal::-webkit-scrollbar { width: 6px; }
.modal::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    color: var(--text-2);
    font-size: 14px;
    cursor: pointer;
    transition: all .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-close:hover {
    background: rgba(220, 38, 38, 0.15);
    color: #f87171;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
}
.modal-logo {
    display: inline-block;
    font-size: 32px;
    color: var(--gold-2);
    margin-bottom: 8px;
}
.modal-header h2 {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #fff, var(--gold-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.modal-sub {
    font-size: 12px;
    color: var(--text-3);
    margin-top: 6px;
}

.modal-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 22px;
    background: var(--bg-3);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid var(--line);
}
.m-tab {
    flex: 1;
    padding: 9px 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-3);
    border-radius: 7px;
    cursor: pointer;
    transition: all .2s ease;
}
.m-tab:hover { color: var(--text-2); }
.m-tab.active {
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
    color: #0a0a0c;
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.3);
}

.m-form { display: none; flex-direction: column; gap: 14px; }
.m-form.active { display: flex; }
.m-field { display: flex; flex-direction: column; gap: 6px; }
.m-field label {
    font-size: 12px;
    color: var(--text-2);
    font-weight: 600;
}
.m-field label em {
    color: #f87171;
    font-style: normal;
    margin-left: 2px;
}
.m-field input {
    padding: 11px 14px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all .2s ease;
}
.m-field input::placeholder { color: var(--text-3); }
.m-field input:focus {
    border-color: var(--gold-3);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.08);
}
.m-field input.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.m-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-2);
    cursor: pointer;
    user-select: none;
}
.m-check input { accent-color: var(--gold); width: 16px; height: 16px; }
.m-check em { color: #f87171; font-style: normal; margin-left: 2px; }

.m-submit {
    margin-top: 6px;
    padding: 13px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #0a0a0c;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all .2s ease;
}
.m-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(201, 169, 97, 0.35);
}
.m-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.m-msg {
    font-size: 12px;
    text-align: center;
    min-height: 14px;
    margin-top: -4px;
}
.m-msg.error { color: #f87171; }
.m-msg.success { color: #4ade80; }

.m-help {
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-3);
    text-align: center;
}
.m-help a {
    color: var(--gold-2);
    font-weight: 600;
}
.m-help a:hover { text-decoration: underline; }
.dot-sep { margin: 0 6px; color: var(--line); }

/* ============ Reserve Modal ============ */
.modal.modal-reserve { max-width: 520px; }
.reserve-venue-card {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 20px;
}
.reserve-thumb {
    width: 76px;
    height: 76px;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--gold-2);
}
.reserve-venue-info { flex: 1; min-width: 0; }
.reserve-venue-info .rv-cat {
    display: inline-block;
    font-size: 11px;
    color: var(--gold-2);
    margin-bottom: 4px;
    font-weight: 600;
}
.reserve-venue-info h3 {
    font-family: 'Noto Serif KR', serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}
.reserve-venue-info .rv-area {
    font-size: 12px;
    color: var(--text-3);
}

.reserve-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.reserve-grid .m-field.full { grid-column: 1 / -1; }
.m-field textarea {
    padding: 11px 14px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    resize: vertical;
    min-height: 70px;
    transition: all .2s ease;
}
.m-field textarea:focus {
    border-color: var(--gold-3);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.08);
}
.m-field select {
    padding: 11px 14px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    transition: all .2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23c9a961' d='M6 8L0 0h12z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.m-field select:focus {
    border-color: var(--gold-3);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.08);
}
.reserve-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 8px;
}
.btn-tel {
    padding: 13px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text-2);
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    transition: all .2s ease;
}
.btn-tel:hover {
    color: var(--gold-2);
    border-color: var(--gold-3);
    background: rgba(201, 169, 97, 0.08);
}

/* ============ Detail Modal ============ */
.modal.modal-detail { max-width: 620px; padding: 0; }
.detail-hero {
    height: 220px;
    border-radius: 16px 16px 0 0;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 20px 28px;
}
.detail-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85));
    border-radius: 16px 16px 0 0;
}
.detail-hero-text {
    position: relative;
    z-index: 1;
    width: 100%;
}
.detail-hero-text .dh-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--gold);
    color: #0a0a0c;
    font-size: 11px;
    font-weight: 800;
    border-radius: 999px;
    margin-bottom: 8px;
}
.detail-hero-text .dh-cat {
    color: var(--gold-2);
    font-size: 12px;
    margin-bottom: 4px;
    font-weight: 600;
}
.detail-hero-text h2 {
    font-family: 'Noto Serif KR', serif;
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 4px;
}
.detail-hero-text .dh-area {
    color: var(--text-2);
    font-size: 13px;
}
.modal-detail .modal-close {
    background: rgba(0,0,0,0.4);
    color: #fff;
    z-index: 2;
}

.detail-body { padding: 24px 28px; }
.detail-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.detail-stat {
    padding: 12px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 8px;
    text-align: center;
}
.detail-stat strong {
    display: block;
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--gold-2);
    margin-bottom: 2px;
}
.detail-stat span {
    font-size: 11px;
    color: var(--text-3);
}
.detail-section { margin-bottom: 20px; }
.detail-section h4 {
    font-size: 13px;
    color: var(--gold-2);
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.detail-section p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-2);
}
.detail-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.detail-features span {
    padding: 5px 12px;
    background: rgba(201, 169, 97, 0.08);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 999px;
    font-size: 12px;
    color: var(--gold-2);
}
.detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

@media (max-width: 600px) {
    .reserve-grid { grid-template-columns: 1fr; }
    .detail-stats { grid-template-columns: 1fr 1fr; }
    .detail-stats .detail-stat:last-child { grid-column: 1 / -1; }
    .detail-hero { height: 180px; padding: 18px 20px; }
    .detail-hero-text h2 { font-size: 22px; }
    .detail-body { padding: 20px; }
}

/* ============ Notice Detail Modal ============ */
.modal.modal-notice { max-width: 720px; padding: 0; }
.modal.modal-notice .modal-close { background: rgba(0,0,0,0.4); color: #fff; z-index: 3; }

.notice-hero {
    padding: 28px 32px 22px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(201, 169, 97, 0.06), transparent);
}
.notice-hero .nh-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: 0.05em;
}
.notice-hero .nh-tag.notice { background: rgba(220, 38, 38, 0.15); color: #f87171; border: 1px solid rgba(220, 38, 38, 0.3); }
.notice-hero .nh-tag.event { background: rgba(201, 169, 97, 0.15); color: var(--gold-2); border: 1px solid rgba(201, 169, 97, 0.3); }
.notice-hero .nh-tag.update { background: rgba(74, 222, 128, 0.15); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.3); }
.notice-hero .nh-tag.pinned { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #0a0a0c; border: none; }
.notice-hero h2 {
    font-family: 'Noto Serif KR', serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}
.notice-hero .nh-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
    color: var(--text-3);
}
.notice-hero .nh-meta span { display: inline-flex; align-items: center; gap: 4px; }
.notice-hero .nh-meta b { color: var(--gold-2); font-weight: 600; }

.notice-content {
    padding: 28px 32px;
    color: var(--text);
    font-size: 14.5px;
    line-height: 1.9;
}
.notice-content p { margin-bottom: 14px; color: var(--text-2); }
.notice-content p:last-child { margin-bottom: 0; }
.notice-content h4 {
    font-size: 15px;
    color: var(--gold-2);
    margin: 22px 0 10px;
    font-weight: 700;
}
.notice-content ul {
    margin: 12px 0;
    padding-left: 4px;
    list-style: none;
}
.notice-content ul li {
    position: relative;
    padding: 6px 0 6px 20px;
    color: var(--text-2);
    font-size: 14px;
}
.notice-content ul li::before {
    content: '·';
    position: absolute;
    left: 6px;
    color: var(--gold-2);
    font-weight: 800;
    font-size: 18px;
    line-height: 1.2;
}
.notice-content .highlight {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(201, 169, 97, 0.15);
    color: var(--gold-2);
    border-radius: 4px;
    font-weight: 600;
}
.notice-content a {
    color: var(--gold-2);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.notice-footer {
    padding: 18px 32px 24px;
    border-top: 1px solid var(--line);
    background: var(--bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    border-radius: 0 0 16px 16px;
}
.notice-nav {
    display: flex;
    gap: 8px;
}
.notice-nav button {
    padding: 9px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}
.notice-nav button:hover:not(:disabled) {
    border-color: var(--gold-3);
    color: var(--gold-2);
    background: rgba(201, 169, 97, 0.08);
}
.notice-nav button:disabled { opacity: 0.3; cursor: not-allowed; }
.notice-footer .btn-list {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #0a0a0c;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: transform .2s;
}
.notice-footer .btn-list:hover { transform: translateY(-1px); }

@media (max-width: 600px) {
    .notice-hero { padding: 22px 20px 18px; }
    .notice-hero h2 { font-size: 19px; }
    .notice-content { padding: 22px 20px; font-size: 14px; }
    .notice-footer { padding: 16px 20px 18px; }
}

/* hover style on notice rows (포인터) */
.notice-board tbody tr a { cursor: pointer; }
.notice-pinned[data-notice-id] { cursor: pointer; transition: all .2s ease; }
.notice-pinned[data-notice-id]:hover {
    border-color: var(--gold);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(201, 169, 97, 0.15);
}

/* ============================================================
   관리자 페이지
   ============================================================ */

.admin-body {
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

/* ===== 로그인 화면 ===== */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background:
        radial-gradient(ellipse at top left, rgba(201, 169, 97, 0.12), transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(140, 115, 64, 0.1), transparent 60%),
        var(--bg);
}
.admin-login-box {
    width: 100%;
    max-width: 420px;
    padding: 36px 32px;
    background: linear-gradient(180deg, var(--bg-2), var(--bg));
    border: 1px solid var(--gold-3);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}
.al-logo { text-align: center; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.al-logo .lg-icon { font-size: 36px; color: var(--gold-2); display: block; margin-bottom: 10px; }
.al-logo h1 {
    font-family: 'Noto Serif KR', serif;
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, var(--gold-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
}
.al-logo p { font-size: 12px; color: var(--text-3); margin-top: 6px; }
.al-help {
    margin-top: 16px;
    padding: 10px 12px;
    background: rgba(201, 169, 97, 0.06);
    border: 1px dashed rgba(201, 169, 97, 0.2);
    border-radius: 6px;
    text-align: center;
    font-size: 11px;
    color: var(--text-3);
}
.al-help code {
    color: var(--gold-2);
    background: rgba(0,0,0,0.3);
    padding: 1px 6px;
    border-radius: 3px;
    font-family: monospace;
}

/* ===== 셸 레이아웃 ===== */
.admin-shell {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

/* ===== 사이드바 ===== */
.admin-sidebar {
    background: linear-gradient(180deg, #0b0b10, #050507);
    border-right: 1px solid var(--line);
    padding: 22px 0;
    overflow-y: auto;
    position: sticky;
    top: 0;
    height: 100vh;
}
.admin-sidebar::-webkit-scrollbar { width: 6px; }
.admin-sidebar::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.adm-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 22px 22px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--line);
}
.adm-logo .lg-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
    color: #0a0a0c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
}
.adm-logo strong {
    display: block;
    font-family: 'Noto Serif KR', serif;
    font-size: 14px;
    background: linear-gradient(135deg, #fff, var(--gold-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
}
.adm-logo span { font-size: 10px; color: var(--text-3); letter-spacing: 0.15em; }

.adm-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 10px; }
.adm-nav-group {
    margin-top: 18px;
    padding: 8px 12px 4px;
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--text-3);
    font-weight: 700;
    text-transform: uppercase;
}
.adm-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    text-align: left;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-2);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s ease;
}
.adm-nav-btn:hover {
    background: rgba(201, 169, 97, 0.06);
    color: var(--text);
}
.adm-nav-btn.active {
    background: linear-gradient(90deg, rgba(201, 169, 97, 0.15), rgba(201, 169, 97, 0.02));
    color: var(--gold-2);
    box-shadow: inset 3px 0 0 var(--gold-2);
}
.adm-nav-btn span { font-size: 14px; width: 18px; text-align: center; }

/* ===== 메인 ===== */
.admin-main { display: flex; flex-direction: column; min-width: 0; }

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 28px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
}
.adm-topbar-left { display: flex; align-items: center; gap: 14px; }
.adm-side-toggle { display: none; font-size: 22px; color: var(--text-2); padding: 4px 8px; }
#admPageTitle { font-size: 18px; font-weight: 700; }
.adm-topbar-right { display: flex; align-items: center; gap: 10px; }
.adm-top-btn {
    padding: 7px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}
.adm-top-btn:hover { color: var(--gold-2); border-color: var(--gold-3); background: rgba(201, 169, 97, 0.08); }
.adm-admin-name { font-size: 12px; color: var(--text-3); padding: 0 8px; border-left: 1px solid var(--line); }

.admin-content {
    flex: 1;
    padding: 28px;
    max-width: 1280px;
    width: 100%;
}

/* ===== 카드/패널 ===== */
.adm-panel {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 22px;
}
.adm-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #16161c, #11111a);
    flex-wrap: wrap;
    gap: 10px;
}
.adm-panel-head h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gold-2);
    display: flex;
    align-items: center;
    gap: 8px;
}
.adm-panel-body { padding: 22px; }
.adm-panel-desc { font-size: 13px; color: var(--text-3); margin-bottom: 18px; padding: 10px 14px; background: rgba(201, 169, 97, 0.04); border-left: 3px solid var(--gold-3); border-radius: 4px; }

/* ===== 통계 카드 ===== */
.adm-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}
.adm-stat-card {
    padding: 22px;
    background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
    border: 1px solid var(--line);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}
.adm-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-3), var(--gold-2), var(--gold-3));
}
.adm-stat-card .label {
    font-size: 12px;
    color: var(--text-3);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}
.adm-stat-card .num {
    font-family: 'Noto Serif KR', serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--gold-2);
    margin-bottom: 4px;
    line-height: 1.2;
}
.adm-stat-card .sub { font-size: 11px; color: var(--text-3); }
.adm-stat-card .icon {
    position: absolute;
    top: 18px; right: 18px;
    font-size: 28px;
    opacity: 0.25;
}

/* ===== 폼 ===== */
.adm-form { display: grid; gap: 14px; }
.adm-form-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.adm-form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.adm-form-row .full { grid-column: 1 / -1; }
.adm-field { display: flex; flex-direction: column; gap: 6px; }
.adm-field label {
    font-size: 12px;
    color: var(--text-2);
    font-weight: 600;
}
.adm-field label em { color: #f87171; font-style: normal; margin-left: 2px; }
.adm-field input, .adm-field select, .adm-field textarea {
    padding: 10px 12px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: all .2s ease;
}
.adm-field input:focus, .adm-field select:focus, .adm-field textarea:focus {
    border-color: var(--gold-3);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.08);
}
.adm-field textarea { resize: vertical; min-height: 90px; font-family: inherit; }

.adm-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    margin-top: 8px;
}
.adm-btn {
    padding: 10px 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text-2);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}
.adm-btn:hover { color: var(--gold-2); border-color: var(--gold-3); background: rgba(201, 169, 97, 0.08); }
.adm-btn.primary {
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #0a0a0c;
    border-color: var(--gold);
}
.adm-btn.primary:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201, 169, 97, 0.3); }
.adm-btn.danger {
    color: #f87171;
    border-color: rgba(220, 38, 38, 0.3);
    background: rgba(220, 38, 38, 0.08);
}
.adm-btn.danger:hover { background: rgba(220, 38, 38, 0.15); border-color: #dc2626; }
.adm-btn.small { padding: 5px 10px; font-size: 11px; }

/* ===== 데이터 테이블 ===== */
.adm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.adm-table thead { background: linear-gradient(180deg, #11111a, #0e0e16); }
.adm-table th {
    padding: 12px 14px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-3);
    border-bottom: 1px solid var(--line);
    letter-spacing: 0.05em;
}
.adm-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--text-2);
}
.adm-table tr:hover { background: rgba(201, 169, 97, 0.03); }
.adm-table .row-actions { display: flex; gap: 6px; }
.adm-table input[type=text], .adm-table input[type=number], .adm-table select, .adm-table textarea {
    width: 100%;
    padding: 7px 10px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--text);
    font-size: 12px;
    font-family: inherit;
    outline: none;
}
.adm-table input:focus, .adm-table select:focus, .adm-table textarea:focus { border-color: var(--gold-3); }
.adm-table textarea { resize: vertical; min-height: 50px; }

.adm-empty {
    padding: 60px 20px;
    text-align: center;
    color: var(--text-3);
    font-size: 14px;
}
.adm-empty .icon { font-size: 48px; margin-bottom: 12px; opacity: 0.4; }

/* 회원 등급 뱃지 (admin 테이블) */
.rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.4;
    white-space: nowrap;
}
.rank-badge span { font-size: 13px; line-height: 1; }
select.f-rank {
    width: 100%;
    padding: 5px 8px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--text);
    font-size: 11px;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    transition: all .15s ease;
}
select.f-rank:hover, select.f-rank:focus {
    border-color: var(--gold-3);
    background: var(--bg-2);
}

/* 이미지 셀 (admin 테이블) */
.img-cell {
    position: relative;
    width: 84px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-3);
    border: 1px solid var(--line);
}
.img-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.img-cell.empty {
    display: flex;
    align-items: center;
    justify-content: center;
}
.img-cell .img-actions {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    opacity: 0;
    transition: opacity .2s ease;
}
.img-cell:hover .img-actions { opacity: 1; }
.img-btn {
    width: 26px;
    height: 26px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #0a0a0c;
    font-size: 12px;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s ease;
}
.img-btn:hover { transform: scale(1.1); }
.img-btn.danger {
    background: #dc2626;
    color: #fff;
    font-weight: 700;
}
.img-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    height: 100%;
    padding: 4px;
    background: transparent;
    color: var(--text-3);
    font-size: 10px;
    cursor: pointer;
    transition: all .2s ease;
    border: 1px dashed var(--line);
    border-radius: 6px;
}
.img-upload:hover {
    color: var(--gold-2);
    border-color: var(--gold-3);
    background: rgba(201, 169, 97, 0.05);
}
.img-upload span {
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
}

/* ===== 모달 (관리자용) ===== */
.adm-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.adm-modal-overlay.open { display: flex; }
.adm-modal {
    width: 100%;
    max-width: 640px;
    max-height: 92vh;
    overflow-y: auto;
    background: linear-gradient(180deg, var(--bg-2), var(--bg));
    border: 1px solid var(--gold-3);
    border-radius: 12px;
    padding: 24px;
}
.adm-modal h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-2);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

/* ===== 반응형 ===== */
@media (max-width: 980px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { position: fixed; left: -260px; top: 0; width: 240px; z-index: 200; transition: left .25s ease; }
    .admin-sidebar.open { left: 0; }
    .adm-side-toggle { display: block; }
    .admin-content { padding: 20px 16px; }
}

/* ============ Toast ============ */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 14px 24px;
    background: linear-gradient(135deg, #1a1a25, #11111a);
    border: 1px solid var(--gold-3);
    border-radius: 999px;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 12px 36px rgba(0,0,0,0.5), 0 0 0 1px rgba(201, 169, 97, 0.15);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toast.success { border-color: #16a34a; }
.toast.success::before { content: '✓ '; color: #4ade80; }
.toast.error { border-color: #dc2626; }
.toast.error::before { content: '⚠ '; color: #f87171; }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
    .dashboard-grid { grid-template-columns: 260px 1fr; }
    .widget-tabs { grid-column: 1 / -1; }
    .main-grid { grid-template-columns: 1fr; }
    .side-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .chat-widget { grid-column: 1 / -1; height: 420px; }
    .cat-iconbar .container { grid-template-columns: repeat(3, 1fr); }
}

/* 모바일: 로그인 위젯 숨김 */
@media (max-width: 980px) {
    .widget-login { display: none; }
}

/* 모바일: 슬로건↔지역 허브 사이에 채팅창(좌)·회원랭킹(우) 절반씩 나란히 */
@media (max-width: 980px) {
    .mobile-toprow {
        display: flex;
        align-items: stretch;   /* 좌우 박스 높이(끝) 맞춤 */
        gap: 14px;
        margin: 0 24px 18px;
    }
    .mobile-toprow .chat-widget.chat-mobile-top {
        flex: 1 1 50%;
        min-width: 0;
        min-height: 0;
        height: 420px;
        margin: 0;
    }
    .mobile-toprow .rank-board.rank-mobile-top {
        flex: 1 1 50%;
        min-width: 0;
        margin: 0;
        display: flex;
        flex-direction: column;  /* 채팅 높이에 맞춰 늘어남 */
    }
    /* 남는 세로 공간에 랭킹 행을 고르게 분배 → 하단 여백 제거 */
    .mobile-toprow .rank-board .rb-panel.active {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}
@media (max-width: 600px) {
    .mobile-toprow { gap: 10px; margin: 0 12px 16px; }
    .mobile-toprow .chat-widget.chat-mobile-top { height: 380px; }
    /* 좁은 화면에선 랭킹 행 패딩을 줄여 절반 폭에 맞춤 */
    .mobile-toprow .rank-board .rb-list li { padding: 7px 10px; gap: 7px; }
    .mobile-toprow .rank-board .rb-tab { padding: 10px 4px; font-size: 12px; }
    .mobile-toprow .rank-board .rb-name,
    .mobile-toprow .rank-board .rb-val { font-size: 12px; }
}

@media (max-width: 980px) {
    .nav { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--bg-2); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--line); z-index: 99; }
    .nav.open { display: flex; }
    .nav a { padding: 14px; border-radius: 0; border-bottom: 1px solid var(--line); }
    .menu-toggle { display: flex; }
    .btn-reserve { display: none; }
    .header-inner { gap: 12px; }
    .header-user .header-signup-link { display: none; }
    .header-user.logged-in .user-name { display: none; }
    /* 로그인 칩: 모바일에서 작고 줄바꿈 없이 딱 맞게 */
    .header-user { gap: 8px; flex-shrink: 0; }
    .user-chip { gap: 6px; padding: 4px 8px 4px 4px; flex-shrink: 0; }
    .user-avatar { width: 24px; height: 24px; font-size: 12px; }
    .user-rank-badge { width: 22px; height: 22px; font-size: 12px; }
    .user-logout { margin-left: 2px; padding: 4px 8px; font-size: 11px; white-space: nowrap; }

    .category-grid, .featured-grid, .listing-grid { grid-template-columns: repeat(2, 1fr); }
    .cat-card-wide { grid-column: span 2; }

    .dashboard-grid { grid-template-columns: 1fr; }
    .widget-tabs { grid-column: auto; }
    .cat-iconbar .container { grid-template-columns: repeat(3, 1fr); }

    .location-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-inner { grid-template-columns: repeat(2, 1fr); }
    .hero-stats { gap: 32px; }
    .board-table .th-views, .board-table td:nth-child(6),
    .board-table .th-writer, .board-table td:nth-child(4) { display: none; }
}

@media (max-width: 600px) {
    .top-bar-text { display: none; }
    .container { padding: 0 12px; }
    .hero { padding: 60px 0 50px; }
    .hero-stats > div strong { font-size: 28px; }
    .category-grid, .featured-grid, .listing-grid { grid-template-columns: 1fr; }
    .cat-card-wide { grid-column: span 1; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .float-call { width: 54px; height: 54px; bottom: 16px; right: 16px; }
    .info-block { padding: 24px; }
    .filter-bar { flex-direction: column; align-items: flex-start; }

    .banner-inner { flex-direction: column; gap: 10px; text-align: center; padding: 12px 16px; }
    .banner-text { flex-direction: column; gap: 6px; font-size: 13px; }
    .side-col { grid-template-columns: 1fr; }
}

/* ============ 내 정보 / 본인인증 ============ */
/* 헤더 칩 "내 정보" 버튼 */
.user-myinfo {
    margin-left: 4px;
    padding: 5px 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text-2);
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    transition: all .2s;
}
.user-myinfo:hover { color: var(--gold-2); border-color: var(--gold-3); }

/* 로그인 위젯 "내 정보" 버튼 (로그인 상태에서만 JS가 추가) */
.login-myinfo {
    width: 100%;
    margin-top: 8px;
    padding: 9px;
    background: transparent;
    border: 1px solid var(--gold-3);
    border-radius: 8px;
    color: var(--gold-2);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
}
.login-myinfo:hover { background: rgba(232, 201, 128, 0.1); transform: translateY(-1px); }

/* 내 정보 모달 */
.modal.modal-myinfo { max-width: 380px; }
.mi-loading { text-align: center; color: var(--text-3); padding: 30px 0; font-size: 14px; }
.mi-rows {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}
.mi-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    font-size: 14px;
}
.mi-row + .mi-row { border-top: 1px solid var(--line); }
.mi-k { color: var(--text-3); }
.mi-v { color: var(--text-1); font-weight: 600; }

.mi-verify {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}
.mi-verify.verified { border-color: rgba(74, 222, 128, 0.35); background: rgba(74, 222, 128, 0.06); }
.mi-vhead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mi-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.3);
}
.mi-badge.ok { color: #4ade80; background: rgba(74, 222, 128, 0.12); border-color: rgba(74, 222, 128, 0.35); }
.mi-vdesc { color: var(--text-3); font-size: 12px; }
.mi-vmeta { margin-top: 8px; color: var(--text-2); font-size: 13px; }
.mi-verify-btn {
    width: 100%;
    margin-top: 14px;
    padding: 11px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #e8c980, #b8923f);
    color: #0a0a0c;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s;
}
.mi-verify-btn:hover { transform: translateY(-1px); }

.mi-form { display: flex; flex-direction: column; gap: 12px; }
.mi-ftitle { font-size: 14px; font-weight: 800; color: var(--gold-2); }
.mi-submit { margin-top: 4px; }

.mi-msg { margin-top: 10px; font-size: 13px; min-height: 18px; text-align: center; }
.mi-msg.error { color: #f87171; }
.mi-msg.success { color: #4ade80; }
    .cat-iconbar .container { grid-template-columns: repeat(3, 1fr); }
    .tab-btn { font-size: 12px; padding: 11px 4px; }
    .board-table .th-num, .board-table td:first-child { display: none; }
    .board-table th, .board-table td { padding: 9px 6px; font-size: 12px; }
    .quick-links { grid-template-columns: 1fr 1fr; }
}
