/* ANA DANCE — 판매 사이트
   토큰 출처: docs/design_direction.md §5 (cheekystudio.uk 실측)
   강조색: 스튜디오 조명에서 추출 (사진 k1 라벤더 벽 hue 277, k3 보라 조명 hue 266)
   밝은 바탕 단일 테마로 의도했다 — 사진이 밝고, 손님은 처음 보는 사이트에서 결제를 판단한다. */

:root {
  --ground: #ffffff;
  --band: #f6f3fa;          /* 라벤더 쪽으로 기운 중립 */
  --ink: #16121d;
  --muted: #5c5668;
  --line: #e7e2ed;
  --accent: #6b2bd6;        /* 흰 글자 대비 7.1:1 */
  --accent-deep: #531db0;
  --accent-soft: #efe7fc;
  --accent-on-dark: #b996f7;
  --on-accent: #ffffff;
  --max: 1200px;
  --rail: 340px;
  --gutter: 24px;
  --radius: 16px;
  --head: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 16px); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.035em; }
h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; line-height: 1.06; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 750; line-height: 1.12; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.num { font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }
.muted { color: var(--muted); }
.eyebrow {
  font-size: 12px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow a { text-decoration: none; }
.lede { color: var(--muted); font-size: 17px; max-width: 58ch; }
.note { color: var(--muted); font-size: 14px; margin-top: 18px; }
.note a { color: var(--accent); }

.skip { position: absolute; inset-inline-start: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { inset-inline-start: 8px; }

/* ── 버튼: 모서리 0 (카드는 16 — 형태로 역할을 나눈다) ───────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid var(--ink); border-radius: 0; padding: 14px 26px;
  font: inherit; font-size: 15px; font-weight: 650; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .1s;
  background: transparent; color: var(--ink);
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: #000; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-inv { background: #fff; border-color: #fff; color: var(--accent); }
.btn-inv:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-full { width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ── 헤더 ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 28px; height: var(--head); }
.logo { font-weight: 800; font-size: 19px; letter-spacing: -0.04em; text-decoration: none; white-space: nowrap; }
.logo span { color: var(--accent); }
.main-nav { display: flex; gap: 26px; margin-inline-start: auto; }
.main-nav a { text-decoration: none; font-size: 15px; font-weight: 550; }
.main-nav a:hover { color: var(--accent); }
@media (max-width: 900px) {
  .main-nav { display: none; }
  .loc-btn { margin-inline-start: auto; }
}
@media (max-width: 560px) {
  .bar { gap: 12px; }
  .head-book { display: none; }  /* 모바일은 아래 고정 바에 예약 버튼이 있다 */
}

/* ── 사진 자리표시 (원본 없을 때) ─────────────────────────────────── */
.slot {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--band); color: var(--muted); font-size: 13px; padding: 20px;
}

/* ── 1 히어로 ─────────────────────────────────────────────────────── */
.hero { position: relative; }
.hero-img {
  width: 100%; height: clamp(320px, 58vh, 560px); object-fit: cover; object-position: 50% 28%;
}
.hero .slot.hero-img { height: clamp(320px, 58vh, 560px); }
.hero-copy { position: relative; margin-top: -170px; }
.hero-card {
  background: #fff; padding: 38px 44px; max-width: 760px;
  box-shadow: 0 1px 0 var(--line), 0 24px 60px -30px rgba(22, 18, 29, .35);
}
.hero-card h1 { margin-bottom: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 640px) {
  .hero-copy { margin-top: -64px; padding-inline: 12px; }
  .hero-card { padding: 26px 22px; }
  .lede { font-size: 16px; }
}

/* ── 2 신뢰 줄 ────────────────────────────────────────────────────── */
.trust { border-bottom: 1px solid var(--line); margin-top: 40px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 0; padding-block: 22px; }
.trust-row li {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  padding-inline-end: 28px; margin-inline-end: 28px; border-inline-end: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.trust-row li:last-child { border-inline-end: 0; }
.trust-row b { font-size: 21px; font-weight: 500; color: var(--ink); }
.stars { color: var(--accent); letter-spacing: .12em; font-size: 13px; }
@media (max-width: 640px) {
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .trust-row li { border: 0; margin: 0; padding: 0; flex-direction: column; gap: 2px; }
}

/* ── 본문 + 예약 레일 ─────────────────────────────────────────────── */
.shell { display: grid; grid-template-columns: minmax(0, 1fr) var(--rail); gap: 64px; align-items: start; }
.block { padding-block: 64px; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.block > h2 { margin-bottom: 30px; }

.ticks li { position: relative; padding-inline-start: 28px; }
.ticks li::before {
  content: ""; position: absolute; inset-inline-start: 2px; top: .45em; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

/* ── 3 상품 ──────────────────────────────────────────────────────── */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 12px; }
.product {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 28px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.product-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.price { text-align: end; line-height: 1.1; }
.price .num { display: block; font-size: 24px; font-weight: 500; }
.price small { display: block; font-size: 12px; color: var(--muted); }
.price .from { margin-bottom: 2px; }
.product .ticks { display: grid; gap: 10px; font-size: 15px; flex: 1; align-content: start; } /* 남는 높이로 줄 간격이 벌어지지 않게 */
.product.filled { background: var(--accent); border-color: var(--accent); color: #fff; }
.product.filled .price small { color: rgba(255, 255, 255, .78); }
.product.filled .ticks li::before { border-color: #fff; }
.tag {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: #fff; color: var(--accent); padding: 5px 10px;
  position: absolute; top: -12px; inset-inline-start: 28px; border: 1.5px solid var(--accent);
}
@media (max-width: 720px) { .products { grid-template-columns: 1fr; row-gap: 30px; } }

/* ── 4 수업 과정 ─────────────────────────────────────────────────── */
.how-figure { margin: 0 0 34px; }
.how-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.tl-bar { position: relative; display: flex; gap: 4px; height: 14px; margin-bottom: 40px; }
.tl-seg { position: relative; border-radius: 3px; }
.tl-tick { position: absolute; top: 22px; inset-inline-start: 0; font-size: 12px; color: var(--muted); }
.tl-end { inset-inline-start: auto; inset-inline-end: 0; }
.seg-1 { --seg: #c8b0f4; }
.seg-2 { --seg: var(--accent); }
.seg-3 { --seg: var(--ink); }
.tl-seg { background: var(--seg); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { border-top: 3px solid var(--seg); padding-top: 16px; }
.step h3 { font-size: 17px; margin: 4px 0 6px; }
.step p:last-child { color: var(--muted); font-size: 14.5px; }
.step-min { font-size: 13px; color: var(--muted); }
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; gap: 18px; }
  /* 좁은 화면에선 마지막 15분 칸이 60px 안팎이라 1:15와 1:30이 겹친다 — 1:15는 숨긴다 */
  .tl-seg.seg-3 .tl-tick { display: none; }
}

/* ── 5 강사 ──────────────────────────────────────────────────────── */
.teacher { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: center; }
.teacher-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius); }
.teacher-copy h2 { margin-bottom: 18px; }
.teacher-copy > p + p { margin-top: 12px; }
.credits-label { margin-top: 24px; font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.credits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.credits li { border: 1.5px solid var(--ink); padding: 6px 13px; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.ig-link {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding-block: 10px; padding-inline: 12px 16px;
  background: var(--band); color: var(--ink); text-decoration: none; border-radius: 12px;
}
.ig-link:hover { background: var(--accent-soft); }
.ig-icon { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.8; flex: none; }
.ig-icon .dot { fill: var(--accent); stroke: none; }
.ig-link b { display: block; font-size: 15px; }
.ig-link small { display: block; font-size: 13px; color: var(--muted); }
.ig-arrow { color: var(--accent); font-weight: 700; margin-inline-start: 4px; }
@media (max-width: 720px) {
  .teacher { grid-template-columns: 1fr; gap: 24px; }
  .teacher-photo { max-width: 300px; }
}

/* ── 6 후기 ──────────────────────────────────────────────────────── */
.rv-summary {
  display: grid; grid-template-columns: 260px minmax(0, 1fr);
  background: var(--ink); color: #fff; border-radius: 20px; overflow: hidden; margin-bottom: 22px;
}
.rv-img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; object-position: 50% 30%; }
.rv-score { padding: 30px 32px; display: grid; gap: 22px; align-content: center; }
.rv-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.rv-big .num { font-size: 56px; font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.rv-big .stars { color: var(--accent-on-dark); font-size: 24px; letter-spacing: .08em; }
.rv-total { width: 100%; color: rgba(255, 255, 255, .7); font-size: 14px; }
.rv-channels { display: grid; }
.rv-channels a {
  display: grid; grid-template-columns: 1fr auto 18px; align-items: center; gap: 14px;
  padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .14); text-decoration: none;
}
.rv-channels li:last-child a { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.rv-channels a:hover .ch-name { color: var(--accent-on-dark); }
.ch-name { font-weight: 650; }
.ch-meta { color: rgba(255, 255, 255, .72); font-size: 14px; }
.ch-meta b { color: #fff; font-weight: 500; }
.ch-star { color: var(--accent-on-dark); }
.ch-arrow { color: var(--accent-on-dark); }
.rv-sub { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.rv-sub dt { font-size: 12px; color: rgba(255, 255, 255, .7); margin-bottom: 4px; }
.rv-sub dd { margin: 0; display: flex; align-items: center; gap: 10px; }
.rv-sub b { font-weight: 500; font-size: 14px; }
/* 점수 막대 — 헤더의 .bar와 이름이 겹치면 헤더가 4px로 접힌다(실제로 겪음) */
.meter { flex: 1; height: 4px; background: rgba(255, 255, 255, .16); border-radius: 2px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent-on-dark); }
.rv-src { grid-column: 1 / -1; font-size: 11px; color: rgba(255, 255, 255, .5); }

.quotes { columns: 2; column-gap: 18px; }
.quote {
  break-inside: avoid; margin: 0 0 18px; padding: 22px 22px 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.q-stars { color: var(--accent); font-size: 13px; letter-spacing: .14em; margin-bottom: 10px; }
.q-stars .dim { color: var(--line); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: 15.5px; color: var(--muted); line-height: 1.55; }
.quote mark {
  background: linear-gradient(transparent 55%, var(--accent-soft) 55%);
  color: var(--ink); font-weight: 650; padding: 0 1px;
}
.quote figcaption {
  display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto;
  column-gap: 10px; margin-top: 16px; align-items: center;
}
.avatar {
  grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent);
  font-weight: 750; font-size: 14px;
}
.avatar.anon svg { display: block; }
.who { font-size: 14px; }
.via { font-size: 12.5px; color: var(--muted); }
.rv-more { font-size: 14px; color: var(--muted); }
.rv-more a { color: var(--accent); font-weight: 650; text-decoration: none; }
.rv-more a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .rv-summary { grid-template-columns: 1fr; }
  .rv-img { min-height: 0; aspect-ratio: 16 / 10; }
  .rv-score { padding: 24px 22px; }
  .quotes { columns: 1; }
}

/* ── 7 오시는 길 — 주소 · 지도 · 사진 경로 · 도착 규칙 ─────────────── */
.addr {
  display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 24px; align-items: start;
  background: var(--band); border-radius: var(--radius); padding: 24px;
}
.addr-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 18px; }
.addr-name span[lang="ko"] { color: var(--muted); font-size: 15px; }
.addr-floor {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--ink); color: #fff; padding: 3px 8px;
}
.addr-en { margin-top: 10px; font-size: 16px; font-weight: 600; }
.addr-ko { margin-top: 4px; font-size: 16px; }
.copy-btn {
  margin-top: 12px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink);
  font: inherit; font-size: 13px; font-weight: 650; padding: 7px 12px; cursor: pointer; border-radius: 0;
}
.copy-btn:hover { background: var(--ink); color: #fff; }
.copy-btn.done { background: var(--accent); border-color: var(--accent); color: #fff; }
.addr-hint { margin-top: 8px; font-size: 13px; color: var(--muted); }
.addr-maps { display: grid; gap: 10px; }
.addr-maps .btn { flex-direction: column; gap: 2px; padding: 12px 16px; }
.addr-maps small { font-size: 11.5px; font-weight: 500; opacity: .75; }
@media (max-width: 720px) { .addr { grid-template-columns: 1fr; padding: 20px; } }

.route-title { margin: 36px 0 16px; font-size: 17px; }
.route { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.route-photo { position: relative; }
.route-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 0; border-radius: 12px; }
.route .slot.route-img { aspect-ratio: 3 / 4; }
/* 번호는 사진 위가 아니라 제목 앞에 — 1번 지도 캡처의 출발·도착 글씨를 가리지 않게 */
.route-n {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 500;
  margin-inline-end: 8px; vertical-align: 2px;
}
.route-step h4 { margin: 12px 0 4px; font-size: 15px; letter-spacing: -0.01em; line-height: 1.35; }
.route-step p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { .route { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; } }

.arrive { margin-top: 32px; background: var(--accent-soft); border-radius: var(--radius); padding: 22px 24px; }
.arrive h3 { font-size: 17px; margin-bottom: 12px; }
.arrive .ticks { display: grid; gap: 10px; font-size: 15px; }

/* ── 8 알아둘 것 ─────────────────────────────────────────────────── */
.know { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
@media (max-width: 640px) { .know { grid-template-columns: 1fr; } }

/* ── 9 FAQ ───────────────────────────────────────────────────────── */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-weight: 650; font-size: 16.5px; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: "IBM Plex Mono", monospace; color: var(--accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 64ch; }

/* ── 예약 레일 ───────────────────────────────────────────────────── */
.rail { position: sticky; top: calc(var(--head) + 24px); padding-top: 64px; max-height: calc(100vh - var(--head) - 24px); overflow-y: auto; overscroll-behavior: contain; }
.widget { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: 0 20px 50px -34px rgba(22, 18, 29, .4); }
.opts { display: grid; grid-template-columns: 1fr 1fr; }
.opt {
  padding: 14px 10px; border: 0; border-bottom: 2px solid var(--line); background: var(--band);
  font: inherit; font-size: 14px; font-weight: 650; color: var(--muted); cursor: pointer;
}
.opt[aria-selected="true"] { background: #fff; color: var(--ink); border-bottom-color: var(--accent); }
.widget-body { padding: 22px; display: grid; gap: 12px; }
.w-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.w-price .num { font-size: 28px; font-weight: 500; }
.w-price small { color: var(--muted); font-size: 13px; }
.w-price .from { order: -1; }
.w-detail { font-size: 14px; color: var(--muted); }
.w-schedule { font-size: 14px; padding: 12px 0 6px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.w-label { font-size: 11px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fine { font-size: 12px; color: var(--muted); line-height: 1.5; }
.ask { font-size: 13px; padding-top: 12px; border-top: 1px solid var(--line); }
.ask a, .ask-faq a { color: var(--accent); font-weight: 650; text-decoration: none; }
.ask a:hover, .ask-faq a:hover { text-decoration: underline; }
.ask-faq { margin-top: 22px; border: 0; padding: 0; font-size: 15px; color: var(--muted); }
.sheet-head { display: none; }
.from[hidden] { display: none; }

/* 실시간 예약 위젯 (book.js) */
.bk { display: grid; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.bk[hidden], .bk-fallback[hidden], .bk-form[hidden], .bk-times[hidden], .bk-msg[hidden], .bk-song[hidden] { display: none; }
.bk-fallback { display: grid; gap: 12px; }
.bk-guests { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); }
.stepper button { width: 38px; height: 38px; border: 0; background: #fff; font: inherit; font-size: 20px; cursor: pointer; color: var(--ink); }
.stepper button:hover:not(:disabled) { background: var(--accent-soft); }
.stepper button:disabled { color: var(--line); cursor: default; }
.bk-pax { min-width: 34px; text-align: center; font-weight: 650; font-variant-numeric: tabular-nums; }
.bk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.bk-cal-head b { font-size: 15px; }
.bk-cal-head button { width: 34px; height: 34px; border: 1px solid var(--line); background: #fff; font-size: 18px; cursor: pointer; color: var(--ink); }
.bk-cal-head button:disabled { color: var(--line); cursor: default; }
.bk-dow, .bk-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; text-align: center; }
.bk-dow span { font-size: 11px; font-weight: 650; color: var(--muted); padding: 4px 0; overflow: hidden; white-space: nowrap; }
.bk-day {
  aspect-ratio: 1; border: 0; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep);
  font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; font-variant-numeric: tabular-nums;
}
.bk-day:hover:not(:disabled) { background: #dccbfa; }
.bk-day:disabled { background: none; color: #b3adbd; font-weight: 400; cursor: default; }
.bk-day[aria-pressed="true"] { background: var(--accent); color: #fff; }
.bk-times { display: grid; gap: 8px; }
.bk-time-list { display: grid; gap: 8px; }
.bk-time {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 12px; text-align: start;
  border: 1.5px solid var(--ink); background: #fff; color: var(--ink); padding: 11px 14px; font: inherit; cursor: pointer;
}
.bk-time b { font-size: 17px; font-weight: 650; font-variant-numeric: tabular-nums; }
.bk-time span { font-size: 13px; color: var(--muted); justify-self: end; }
.bk-time small { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.bk-time:hover:not(:disabled) { background: var(--accent-soft); }
.bk-time[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.bk-time[aria-pressed="true"] span, .bk-time[aria-pressed="true"] small { color: rgba(255, 255, 255, .85); }
.bk-time:disabled { border-color: var(--line); color: #b3adbd; cursor: default; }
.bk-msg { font-size: 13.5px; background: var(--band); padding: 10px 12px; border-inline-start: 3px solid var(--accent); }
.bk-form { display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.bk-held { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 650; color: var(--accent-deep); }
.bk-timer { font-variant-numeric: tabular-nums; font-size: 15px; }
.bk-summary { font-size: 14px; font-weight: 600; }
.bk-cancel-note { font-size: 13px; color: var(--muted); }
.bk-cancel-note.warn { color: #9a2a12; font-weight: 650; }
.bk-change { justify-self: start; border: 0; background: none; padding: 0; font: inherit; font-size: 13px; color: var(--accent); text-decoration: underline; cursor: pointer; margin-top: -6px; }
.bk-field { display: grid; gap: 4px; font-size: 13px; font-weight: 650; }
.bk-field input {
  font: inherit; font-size: 16px; font-weight: 400; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); width: 100%;
}
.bk-field input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.bk-field small { font-weight: 400; color: var(--muted); font-size: 12px; }
.bk-consent { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start; font-size: 13px; }
.bk-consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); }
.bk-consent a, .fine a { color: var(--accent); }
.bk-pay:disabled { opacity: .6; cursor: wait; }

/* 모바일: 레일 → 하단 시트 */
.mobar, .backdrop { display: none; }
@media (max-width: 1040px) {
  .shell { grid-template-columns: minmax(0, 1fr); gap: 0; }
  body { padding-bottom: 84px; }
  .rail {
    position: fixed; inset: auto 0 0 0; z-index: 60; top: auto; padding: 0;
    max-height: 88vh; overflow-y: auto; background: #fff; border-radius: 18px 18px 0 0;
    transform: translateY(102%); transition: transform .26s ease;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .rail.open { transform: none; }
  .rail .widget { border: 0; border-radius: 0; box-shadow: none; }
  .sheet-head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff;
  }
  .sheet-close { width: 36px; height: 36px; border: 1px solid var(--line); background: #fff; font-size: 22px; cursor: pointer; }
  .backdrop { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(22, 18, 29, .45); }
  .mobar {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff;
    border-top: 1px solid var(--line); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .mobar p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; line-height: 1.25; }
  .mobar .num { font-size: 18px; font-weight: 500; }
  .mobar small { font-size: 12px; color: var(--muted); }
}
body.sheet-open { overflow: hidden; }

/* ── 푸터 ────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #fff; padding-block: 56px 36px; margin-top: 24px; }
.f-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.logo-inv { color: #fff; }
.logo-inv span { color: var(--accent-on-dark); }
.f-brand p { margin-top: 12px; color: rgba(255, 255, 255, .7); font-size: 14px; max-width: 34ch; }
.f-h { font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 8px; }
.site-footer a:not(.logo) { display: block; color: rgba(255, 255, 255, .8); text-decoration: none; font-size: 14px; line-height: 2; }
.site-footer a:not(.logo):hover { color: #fff; text-decoration: underline; }
.f-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 12.5px; color: rgba(255, 255, 255, .55); }
@media (max-width: 760px) { .f-cols { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }

/* ── 정책 페이지 ─────────────────────────────────────────────────── */
.policy { max-width: 720px; padding-block: 64px 80px; }
.policy h1 { font-size: clamp(30px, 4.4vw, 44px); margin-bottom: 8px; }
.policy .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.policy p + p { margin-top: 16px; }
.policy .btn { margin-top: 36px; }
.policy-page { padding-bottom: 0; }
.bv-facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 28px 0 8px; padding: 22px 24px; background: var(--band); border-radius: var(--radius); }
.bv-facts[hidden] { display: none; }
.bv-facts dt { font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.bv-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 520px) { .bv-facts { grid-template-columns: 1fr; gap: 2px; padding: 18px 20px; } .bv-facts dd { margin-bottom: 10px; } }
.bv-lede { font-size: 17px; color: var(--muted); max-width: 58ch; }
.bv-cancel-note { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.bv-cancel { margin-top: 6px; border: 0; background: none; padding: 0; font: inherit; font-size: 14px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.bv-cancel:hover { color: #9a2a12; }
.bv-cancel[hidden], .bv-cancel-note[hidden] { display: none; }
.policy-page #main { min-height: calc(100vh - var(--head) - 260px); }
.bv-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bv-actions .btn { margin-top: 24px; }
.bv-actions [hidden] { display: none; }

/* ── 언어·통화 ───────────────────────────────────────────────────── */
.loc-btn {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--ink);
  font: inherit; font-size: 14px; font-weight: 650; padding: 8px 4px; cursor: pointer; white-space: nowrap;
}
.loc-btn:hover { color: var(--accent); }
.loc-globe { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.loc-cur { font-variant-numeric: tabular-nums; }
.head-book { white-space: nowrap; }
.loc {
  position: fixed; inset: 0; z-index: 90; background: rgba(22, 18, 29, .45);
  display: grid; place-items: start center; padding: 6vh 16px 16px; overflow-y: auto;
}
.loc-box { width: min(760px, 100%); background: #fff; border-radius: var(--radius); padding: 22px 26px 26px; box-shadow: 0 30px 80px -30px rgba(22, 18, 29, .5); }
.loc-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.loc-title { font-size: 20px; letter-spacing: -0.02em; }
.loc-close { width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; font-size: 22px; cursor: pointer; color: var(--ink); flex: none; }
.loc-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin: 14px 0 16px; }
.loc-tab { border: 0; background: none; font: inherit; font-size: 15px; font-weight: 650; color: var(--muted); padding: 10px 14px; border-bottom: 2.5px solid transparent; margin-bottom: -1px; cursor: pointer; }
.loc-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.loc-pane[hidden] { display: none; }
.loc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2px 12px; }
.loc-list a, .loc-curs button {
  display: block; width: 100%; padding: 10px 10px; text-decoration: none; color: var(--ink); font: inherit; font-size: 15px;
  border: 0; background: none; text-align: start; cursor: pointer; border-radius: 8px;
}
.loc-list a:hover, .loc-curs button:hover { background: var(--band); }
.loc-list a[aria-current="true"], .loc-curs button[aria-pressed="true"] { color: var(--accent); font-weight: 700; background: var(--accent-soft); }
.loc-curs small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.loc-sub { font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 6px 10px 4px; }
.loc-sub + .loc-curs + .loc-sub { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.loc-note { margin: 18px 10px 0; font-size: 12.5px; color: var(--muted); }
.loc-note a { color: var(--muted); }
body.loc-open { overflow: hidden; }
@media (max-width: 560px) {
  .loc { padding: 0; place-items: end stretch; }
  .loc-box { width: 100%; border-radius: 18px 18px 0 0; max-height: 92vh; overflow-y: auto; padding: 18px 18px 24px; }
  .loc-list { grid-template-columns: 1fr 1fr; }
}

.lang-offer { background: var(--accent-soft); border-bottom: 1px solid var(--line); }
.lang-offer-row { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; padding-block: 10px; }
.lang-offer-text { font-size: 14px; font-weight: 600; flex: 1 1 220px; }
.lang-offer-no { border: 0; background: none; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 6px; }

/* 고른 통화 어림값 (결제는 원화) */
.fx { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.price .fx { margin-top: 3px; }
.mobar .fx { width: 100%; }
.bk-charged { font-size: 12.5px; color: var(--muted); background: var(--band); padding: 9px 11px; line-height: 1.45; }
.rv-orig { font-size: 13px; color: var(--muted); margin: -6px 0 14px; }
.tr-note { font-size: 13px; color: var(--muted); background: var(--band); padding: 10px 12px; margin: -16px 0 28px; }

/* 사이트 글꼴(Archivo)에 없는 문자를 쓰는 언어 — 손님 기기 글꼴로. 자간 조임은 라틴 글꼴 기준이라 푼다 */
[data-script="system"] body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif; }
[data-script="system"] h1, [data-script="system"] h2, [data-script="system"] h3, [data-script="system"] .logo { letter-spacing: 0; }
[data-script="system"] .logo { font-family: Archivo, "Helvetica Neue", Arial, sans-serif; }
/* 긴 합성어(독일어 등)가 좁은 화면을 넘지 않게 */
html:not([lang="en"]) h1, html:not([lang="en"]) h2, html:not([lang="en"]) h3 { hyphens: auto; overflow-wrap: break-word; }
html:not([lang="en"]) body { overflow-wrap: break-word; }
/* 오른쪽에서 왼쪽으로 쓰는 언어(아랍어·히브리어) — 달력 화살표만 뒤집는다(나머지는 논리 속성으로 자동) */
[dir="rtl"] .bk-prev, [dir="rtl"] .bk-next { transform: scaleX(-1); }
[dir="rtl"] .num, [dir="rtl"] .bk-timer, [dir="rtl"] .bk-time b { unicode-bidi: isolate; direction: ltr; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
