/* ===== 강남 가라오케 도파민 — 디자인 시스템 (모바일 퍼스트) ===== */
:root {
  /* ===== 프리미엄 팔레트 (옵시디언 + 샴페인 골드 + 로즈/바이올렛) ===== */
  --bg: #070510;
  --bg-2: #0f0a1d;
  --bg-3: #181030;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.085);
  --border: rgba(231, 200, 122, 0.16);      /* 골드 틴트 보더 */
  --border-soft: rgba(255, 255, 255, 0.08);
  --text: #f7f2ff;
  --muted: #b8accf;
  --accent: #ff3d8b;                          /* 로즈 */
  --accent-2: #a44bff;                         /* 바이올렛 */
  --gold: #e7c87a;                             /* 샴페인 골드 (프리미엄 주 강조) */
  --gold-2: #c39a45;
  --grad: linear-gradient(135deg, #ff3d8b, #a44bff);
  --grad-gold: linear-gradient(135deg, #f1d693, #c39a45);
  /* 컴포넌트 오버레이 토큰 */
  --overlay-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 42%);
  --overlay-glow: radial-gradient(120% 100% at 50% 0%, rgba(164, 75, 255, 0.16), transparent 60%);
  --overlay-vignette: radial-gradient(120% 80% at 50% 30%, transparent 55%, rgba(0, 0, 0, 0.45));
  --hairline: linear-gradient(90deg, transparent, rgba(231, 200, 122, 0.55), transparent);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 14px 34px rgba(195, 154, 69, 0.28);
  --radius: 18px;
  --header-h: 64px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: hidden; }
body {
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { word-break: keep-all; overflow-wrap: break-word; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.accent { color: var(--accent); }
.gold { color: var(--gold); }

/* ===== 버튼 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; border-radius: 999px; padding: 13px 26px; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(155, 60, 255, .38); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255, 45, 126, .45); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-kakao { background: #fee500; color: #191600; }
.btn-kakao:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }

/* ===== 헤더 / 네비 (드롭다운) ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 6, 13, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; word-break: keep-all; }
@media (max-width: 420px) { .brand { font-size: .98rem; } .brand .logo { width: 32px; height: 32px; } }
.brand .logo {
  width: 36px; height: 36px; border-radius: 11px; background: var(--grad);
  display: grid; place-items: center; font-size: .62rem; font-weight: 900; color: #fff; letter-spacing: .5px;
  box-shadow: 0 6px 16px rgba(255, 45, 126, .4);
}
.brand .logo-text { line-height: 1; }
.brand .logo-text small { display: block; font-size: .62rem; color: var(--muted); font-weight: 600; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; list-style: none; }
.nav > li > a, .nav > li > .menu-toggle {
  display: flex; align-items: center; gap: 5px; padding: 10px 14px; font-size: .94rem;
  color: var(--text); font-weight: 600; border-radius: 10px; background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav > li > a:hover, .nav > li:hover > .menu-toggle { color: #fff; background: var(--surface); }
.caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform .2s; opacity: .7; }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 210px;
  background: var(--bg-3); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease;
}
.nav > li:hover .dropdown, .nav > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav > li:hover .caret { transform: rotate(-135deg); }
.dropdown li { list-style: none; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 9px; font-size: .9rem; color: var(--muted); }
.dropdown a:hover { background: var(--surface-2); color: #fff; }

.header-cta { display: flex; align-items: center; gap: 8px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav-backdrop { display: none; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  text-align: center; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(155, 60, 255, .35), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(255, 45, 126, .28), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.5), transparent),
    radial-gradient(2px 2px at 70% 60%, rgba(255,255,255,.35), transparent),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(255,255,255,.3), transparent);
  opacity: .5; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 80px 20px; width: 100%; max-width: 900px; margin: 0 auto; }
.eyebrow {
  display: inline-block; font-size: .82rem; letter-spacing: 2px; font-weight: 700; color: var(--gold);
  border: 1px solid rgba(245, 196, 81, .4); padding: 6px 16px; border-radius: 999px; margin-bottom: 22px;
  background: rgba(245, 196, 81, .07);
}
.hero h1 {
  font-size: clamp(1.7rem, 6.4vw, 4.2rem); line-height: 1.25; letter-spacing: -1px; font-weight: 800;
  word-break: keep-all; overflow-wrap: break-word;
}
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { margin-top: 20px; font-size: clamp(1rem, 3.4vw, 1.3rem); color: var(--muted); }
.hero .sub b { color: var(--text); font-weight: 700; }
.hero-cta { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.scroll-hint { margin-top: 46px; font-size: .8rem; color: var(--muted); letter-spacing: 1px; }

/* ===== 섹션 공통 ===== */
.section { padding: 72px 0; }
.section.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head .tag { color: var(--accent); font-weight: 700; letter-spacing: 1.5px; font-size: .85rem; }
.section-head h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); margin-top: 10px; letter-spacing: -.5px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.02rem; }

/* ===== 핵심 가치 그리드 ===== */
.features { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, border-color .2s, background .2s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(255, 45, 126, .5); background: var(--surface-2); }
.feature .ic { font-size: 2rem; margin-bottom: 12px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .96rem; }

/* ===== 룸 투어 ===== */
.rooms { display: grid; grid-template-columns: 1fr; gap: 20px; }
.room { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); transition: transform .2s; }
.room:hover { transform: translateY(-4px); }
.room .thumb { aspect-ratio: 16 / 10; position: relative; display: grid; place-items: center; overflow: hidden; }
.room .thumb.l { background: linear-gradient(135deg, #2a1140, #ff2d7e); }
.room .thumb.m { background: linear-gradient(135deg, #161046, #9b3cff); }
.room .thumb.s { background: linear-gradient(135deg, #0e1a40, #2d8fff); }
.room .thumb .cap { font-size: 3rem; font-weight: 900; color: rgba(255,255,255,.9); text-shadow: 0 4px 20px rgba(0,0,0,.4); }
.room .thumb .pers { position: absolute; top: 14px; right: 14px; background: rgba(0,0,0,.45); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.room .body { padding: 20px 22px 24px; }
.room .body h3 { font-size: 1.25rem; }
.room .body p { color: var(--muted); font-size: .95rem; margin: 8px 0 16px; }

/* ===== 메뉴/서비스 안내 리스트 ===== */
.info-cols { display: grid; grid-template-columns: 1fr; gap: 18px; }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.info-card h3 { font-size: 1.15rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.info-card ul { list-style: none; }
.info-card li { color: var(--muted); padding: 8px 0; border-bottom: 1px dashed var(--border); display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.info-card li:last-child { border-bottom: 0; }
.info-card li .price { color: var(--gold); font-weight: 700; white-space: nowrap; }

/* ===== 가격 배너 ===== */
.price-banner {
  background: var(--grad); border-radius: 22px; padding: 34px 26px; text-align: center;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.price-banner h3 { font-size: clamp(1.4rem, 5vw, 2rem); color: #fff; }
.price-banner h3 .big { font-size: 1.5em; }
.price-banner p { color: rgba(255,255,255,.9); margin-top: 8px; }
.price-banner .btn { margin-top: 20px; background: #fff; color: #b3145a; }

/* ===== 예약 폼 ===== */
.reserve-grid { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
.reserve-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; color: var(--muted); margin-bottom: 7px; font-weight: 600; }
.field input, .field select {
  width: 100%; padding: 13px 14px; border-radius: 11px; border: 1px solid var(--border);
  background: rgba(0,0,0,.25); color: var(--text); font-size: 1rem; font-family: inherit;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,45,126,.18); }
.reserve-form .btn { width: 100%; margin-top: 6px; }
.form-note { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 12px; }
.form-result { display: none; margin-top: 16px; padding: 16px; border-radius: 12px; background: rgba(255,45,126,.1); border: 1px solid rgba(255,45,126,.4); font-size: .95rem; }
.form-result.show { display: block; }
.reserve-side { display: grid; gap: 14px; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.contact-card h4 { font-size: 1rem; margin-bottom: 6px; }
.contact-card p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }

/* ===== 후기 ===== */
.rating-summary { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.rating-score { font-size: 2.8rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stars { color: var(--gold); letter-spacing: 2px; }
.reviews { display: grid; grid-template-columns: 1fr; gap: 16px; }
.review { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.review .who { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.review .who strong { font-size: .98rem; }
.review p { color: var(--muted); font-size: .96rem; }

/* ===== 본문(SEO) 콘텐츠 ===== */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.4rem, 4.5vw, 2rem); margin: 36px 0 14px; letter-spacing: -.5px; }
.prose h3 { font-size: 1.15rem; margin: 24px 0 8px; color: var(--text); }
.prose p { color: var(--muted); margin-bottom: 14px; }
.prose ul { color: var(--muted); margin: 0 0 14px 1.1rem; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }

/* ===== 오시는 길 ===== */
.location-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 300px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 300px; border: 0; filter: grayscale(.2) invert(.92) hue-rotate(180deg); }
.loc-info { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; align-self: start; }
.loc-info dt { color: var(--accent); font-weight: 700; font-size: .85rem; margin-top: 16px; letter-spacing: .5px; }
.loc-info dt:first-child { margin-top: 0; }
.loc-info dd { color: var(--text); margin-top: 4px; }

/* ===== 내부링크 ===== */
.linklist { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.linklist a { font-size: .92rem; border: 1px solid var(--border); background: var(--surface); padding: 9px 16px; border-radius: 999px; color: var(--text); transition: border-color .2s; }
.linklist a:hover { border-color: var(--accent); }

/* ===== 푸터 ===== */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 50px 0 40px; margin-top: 20px; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 30px; }
.footer-col h5 { font-size: .92rem; margin-bottom: 12px; color: var(--text); }
.footer-col a, .footer-col p { display: block; color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; color: var(--muted); font-size: .84rem; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
.footer-bottom .legal { display: flex; gap: 16px; flex-wrap: wrap; }

/* 떠다니는 모바일 예약 바 */
.float-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(8,6,13,.92); backdrop-filter: blur(10px); border-top: 1px solid var(--border); }
.float-cta .btn { flex: 1; white-space: nowrap; padding: 13px 8px; }

/* 스크롤 등장 애니메이션 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* 브레드크럼 */
.breadcrumb { font-size: .84rem; color: var(--muted); padding: 16px 0 0; }
.breadcrumb a:hover { color: var(--text); }

/* ===== 바이라인 (E-E-A-T 신뢰 신호) ===== */
.byline { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; padding: 16px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--muted); font-size: .9rem; }
.byline strong { color: var(--text); font-weight: 700; }
.byline a { color: var(--gold); }

/* ===== CTA 밴드 ===== */
.cta-band { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; padding: 30px 28px; border-radius: 22px; border: 1px solid var(--border); background: linear-gradient(135deg, rgba(164,75,255,.18), rgba(255,61,139,.14)), var(--bg-3); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--overlay-sheen); pointer-events: none; }
.cta-band h3 { font-size: clamp(1.2rem, 3.5vw, 1.6rem); }
.cta-band p { color: var(--muted); margin-top: 6px; }
.cta-band-btns { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }

/* ===== 컴포넌트 오버레이 (프리미엄 광택 + 골드 헤어라인) ===== */
.feature, .room, .info-card, .contact-card, .review, .loc-info, .reserve-form, .map-embed { position: relative; }
.feature, .info-card, .contact-card, .review, .loc-info, .reserve-form { overflow: hidden; }
.feature::before, .info-card::before, .contact-card::before, .review::before, .loc-info::before, .reserve-form::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: var(--overlay-sheen); opacity: .8;
}
.feature::after, .info-card::after, .contact-card::after, .reserve-form::after, .loc-info::after {
  content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 1px; pointer-events: none;
  background: var(--hairline); opacity: 0; transition: opacity .25s ease;
}
.feature:hover::after, .info-card:hover::after, .contact-card:hover::after { opacity: 1; }
.section-head .tag { color: var(--gold); }
.eyebrow { color: var(--gold); border-color: rgba(231, 200, 122, .45); background: rgba(231, 200, 122, .08); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: var(--overlay-glow), var(--overlay-vignette);
}
.btn-gold { background: var(--grad-gold); color: #2a1c00; box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-2px); }
.price-banner { background: var(--grad); }
.price-banner::before { content: ""; position: absolute; inset: 0; background: var(--overlay-sheen); pointer-events: none; }

/* ===== 반응형 ===== */
@media (min-width: 700px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .rooms { grid-template-columns: repeat(3, 1fr); }
  .info-cols { grid-template-columns: repeat(3, 1fr); }
  .reserve-grid { grid-template-columns: 1.4fr 1fr; }
  .location-grid { grid-template-columns: 1.3fr 1fr; }
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (min-width: 980px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .features .feature:nth-child(4) { grid-column: span 1; }
}

/* 모바일 네비 */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .header-cta .btn-ghost { display: none; }
  .nav {
    position: fixed; top: var(--header-h); right: 0; width: min(82vw, 340px); height: calc(100vh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px;
    background: var(--bg-3); border-left: 1px solid var(--border);
    transform: translateX(100%); transition: transform .28s ease; overflow-y: auto; z-index: 101;
  }
  .nav.open { transform: translateX(0); }
  .nav > li > a, .nav > li > .menu-toggle { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1rem; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    background: transparent; border: 0; padding: 0 0 8px 12px; min-width: 0;
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav > li.expanded .dropdown { max-height: 420px; }
  .nav > li:hover .dropdown { opacity: 1; visibility: visible; } /* reset desktop hover */
  .nav > li.expanded .caret { transform: rotate(-135deg); }
  .nav-backdrop.show { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: rgba(0,0,0,.5); z-index: 100; }
  .float-cta { display: flex; }
  body { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== 읽기 진행바 (상단) ===== */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: var(--grad); box-shadow: 0 0 12px rgba(255, 61, 139, .6); transition: width .08s linear; pointer-events: none; }

/* ===== 목차 (TOC) ===== */
.toc { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: 16px; padding: 16px 16px 14px; position: relative; overflow: hidden; }
.toc::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--hairline); }
.toc-title { font-size: .74rem; letter-spacing: 2px; color: var(--gold); font-weight: 800; margin-bottom: 10px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.toc-title::before { content: "目"; font-size: .9rem; opacity: .8; }
.toc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.toc-list li { margin: 0; padding: 0; }
.toc-list li::before { content: none; }
.toc-list a { display: flex; gap: 10px; align-items: baseline; padding: 8px 10px; border-radius: 9px; color: var(--muted); font-size: .9rem; line-height: 1.4; border-left: 2px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.toc-list a:hover { color: var(--text); background: var(--surface-2); }
.toc-list a.active { color: var(--text); background: linear-gradient(90deg, rgba(231, 200, 122, .16), transparent); border-left-color: var(--gold); }
.toc-num { color: var(--gold); font-weight: 700; font-size: .76rem; min-width: 1.5em; font-variant-numeric: tabular-nums; }

/* 메인/지역: 중앙 카드형 목차 */
.toc-card { max-width: 760px; margin: 0 auto; }
.toc-card .toc-list { display: grid; grid-template-columns: 1fr; gap: 2px; }
@media (min-width: 700px) { .toc-card .toc-list { grid-template-columns: 1fr 1fr; column-gap: 14px; } }

/* 개별 페이지: 사이드바형 목차 + 본문 2단 */
.article-layout { display: grid; grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 980px) {
  .article-layout { grid-template-columns: 252px minmax(0, 1fr); gap: 44px; align-items: start; }
  .toc-side { position: sticky; top: calc(var(--header-h) + 18px); max-height: calc(100vh - var(--header-h) - 36px); overflow: auto; }
}

/* ===== 본문 가독성 강화 ===== */
.prose { font-size: 1.05rem; line-height: 1.92; }
.prose > h2 { position: relative; padding-left: 18px; margin: 42px 0 16px; font-size: clamp(1.35rem, 4vw, 1.95rem); scroll-margin-top: calc(var(--header-h) + 16px); }
.prose > h2:first-child { margin-top: 6px; }
.prose > h2::before { content: ""; position: absolute; left: 0; top: .16em; bottom: .16em; width: 5px; border-radius: 3px; background: var(--grad-gold); box-shadow: 0 0 14px rgba(231, 200, 122, .35); }
.prose h3 { color: var(--gold); margin: 28px 0 8px; font-size: 1.12rem; }
.prose p { margin-bottom: 16px; }
.prose p + p { margin-top: -2px; }
.prose ul { margin: 6px 0 20px; padding: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 24px; margin-bottom: 11px; color: var(--muted); }
.prose ul li::before { content: "◆"; position: absolute; left: 2px; top: .42em; color: var(--gold); font-size: .62em; }
.prose strong { color: var(--text); font-weight: 700; }
.prose ::selection { background: rgba(255, 61, 139, .3); }
