/* 템플릿 공통 뼈대 — 동작에 딸린 CSS 만. 생김새는 한 줄도 없다.
 *
 * 여기에 있는 것: 무JS 완성본을 만드는 분기, 접근성 최소선(초점 테두리·44px 터치),
 * 가로 넘침을 막는 장치, 모션 끔 대비, 서랍·토스트의 기계 장치.
 * 여기에 **없어야 하는 것**: 색·활자·간격·배치·그림자·모서리. 그건 벌마다 달라야 한다
 * (원자료 프롬프트가 「섹션 순서·이미지 비율을 다른 벌에서 복제 금지」를 명시한다).
 *
 * 쓰는 법: 벌의 styles.css 맨 위에 이 내용을 붙이고, 그 아래에 그 벌의 디자인을 쓴다.
 * 아래 값 중 색이 필요한 두 곳(스크림·초점 테두리)만 벌의 색으로 바꿔도 된다.
 */

/* ── 기본 ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  /* 한국어는 낱말 가운데서 끊으면 읽기 힘들다 — 낱말 단위로 넘긴다. */
  word-break: keep-all;
  overflow-wrap: break-word;
}

img, video { max-width: 100%; height: auto; }

/* 이미지 드래그가 포인터를 가로채지 않게 — JS 쪽 dragstart 차단과 한 쌍이다(§4-C 7) */
img { -webkit-user-drag: none; user-select: none; }

/* `.frame` 을 span 으로 두면 inline 이라 aspect-ratio 가 무시된다(§4 함정 5) */
.frame { display: block; }

/* ── 초점 ─────────────────────────────────────────────────────────── */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: .75rem 1rem; background: Canvas; color: CanvasText;
}
.skip-link:focus { left: 0; }

/* ── 터치 영역 ─────────────────────────────────────────────────────
   검사기가 화면 좌표로 ±22px 을 찍어 44px 을 확인한다. 눈에 보이는 점이 작아도
   **단추 자체를 44×44 로 두고 시각 요소는 ::after 로** 그리면 둘 다 만족한다. */
@media (max-width: 767px) {
  .site-header a, .site-header button,
  .drawer a, .drawer button,
  .dots button, .pager button, .tab {
    min-width: 44px; min-height: 44px;
  }
}

/* ── 가로 넘침 ─────────────────────────────────────────────────────
   `overflow-x:auto` 상자가 `position:static` 이면 넘친 표가 문서 스크롤 폭을 밀어
   320·390px 에서 페이지 전체가 가로로 밀린다(§4-C 9). `overflow:hidden` 을 얹어도 안 고쳐진다. */
.scroll-x { overflow-x: auto; position: relative; -webkit-overflow-scrolling: touch; }

/* 넘침을 자를 때는 hidden 이 아니라 clip 을 쓴다.
   hidden 은 스크롤 컨테이너를 만들어 조상에 있으면 animation-timeline: view() 가
   얼어붙는다 — 스크롤해도 진행이 0 에서 안 움직이는데 콘솔은 조용하다(§4-C 13). */
.clip { overflow: clip; }

/* ── 무JS 완성본 ───────────────────────────────────────────────────
   JS 가 없으면 접힌 것이 전부 펼쳐지고, 등장 효과는 처음부터 보인다.
   `html.js` 는 kit.js 첫 줄이 붙인다. */
.acc-item .acc-panel { display: block; }          /* 무JS 기본값: 펼침 */
.js .acc-item .acc-panel { display: none; }
.js .acc-item.open .acc-panel { display: block; }

.js [role="tabpanel"][hidden] { display: none; }
[role="tabpanel"][hidden] { display: block; }      /* 무JS: 모든 탭 내용을 이어서 보여 준다 */

.reveal { opacity: 1; transform: none; }           /* 무JS 기본값: 이미 보임 */
.js .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

/* JS 로만 동작하는 조작기는 무JS 에서 감춘다 — 「눌러도 반응 없는 단추」를 남기지 않는다.
   **방향에 주의**: `.js-only{display:none}` + `.js .js-only{display:revert}` 로 짜면
   revert 가 UA 기본값(대개 block)으로 되돌려, 그 요소가 원래 갖고 있던 display 나
   미디어쿼리의 `display:none` 을 덮어쓴다(모바일 전용 구매 Dock 이 데스크톱에도 떴다).
   숨기는 쪽에만 규칙을 걸어 요소 자신의 display 를 건드리지 않는다. */
html:not(.js) .js-only { display: none !important; }

/* `hidden` 속성은 `display:grid`·`flex` 에 진다 — 골격 클래스를 단 요소는 안 숨는다(§4-C 18).
   무JS 탭 규칙(위의 `[role="tabpanel"][hidden] { display:block }`)은 살려 두어야 하므로 :not 이 필요하다. */
:where([hidden]):not([role="tabpanel"]) { display: none !important; }

/* ── 모션 끔 ───────────────────────────────────────────────────────
   검사기가 reducedMotion 문맥을 따로 열어 본문이 실제로 보이는지 잰다.
   연출을 끄는 데 그치지 말고 **최종 상태로 고정**해야 한다. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── 모바일 서랍 ───────────────────────────────────────────────────
   햄버거는 **모바일 전용**이다(§4-C 11). 데스크톱에 남기면 검사기가 눌러
   서랍이 열리고 그 뒤 클릭을 전부 삼킨다. */
.menu-btn { display: none; }
@media (max-width: 767px) { .menu-btn { display: inline-flex; } }

.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(88vw, 360px);
  transform: translateX(100%); transition: transform .28s ease;
  z-index: 60; overflow-y: auto;
  visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }

.scrim {
  position: fixed; inset: 0; z-index: 50;
  background: rgb(0 0 0 / .45);
  opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
.scrim.open { opacity: 1; pointer-events: auto; }

@media (min-width: 768px) { .drawer, .scrim { display: none; } }

/* ── 토스트 ───────────────────────────────────────────────────────
   `pointer-events:none` 이 없으면 덮개가 아래 단추의 클릭을 삼켜
   전폭 제출 단추가 안 눌린다(§4 함정 2). 지우지 마라. */
.toast {
  position: fixed; left: 50%; bottom: 24px; translate: -50% 0;
  z-index: 80; pointer-events: none;
  opacity: 0; transition: opacity .25s ease, translate .25s ease;
}
.toast.show { opacity: 1; translate: -50% -6px; }

/* ── 폼 ───────────────────────────────────────────────────────────
   동의 체크박스는 input 을 label **밖에** 두고 형제 선택자로 그린다.
   label 이 input 을 감싸면서 for 까지 걸면 두 번 토글돼 영영 안 켜진다(§4 함정 4). */
.agree input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.agree input:focus-visible + label .box { outline: 2px solid currentColor; outline-offset: 2px; }

.spinner {
  display: inline-block; width: 1em; height: 1em; vertical-align: -.125em;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: kit-spin .7s linear infinite;
}
@keyframes kit-spin { to { rotate: 360deg; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* ── 구획 리듬 ─────────────────────────────────────────────────────
   구획마다 위아래 절반씩 나눠 가지면 이웃한 구획 사이 간격이 겹치지 않는다.
   `--section` 값은 벌마다 정하라 — 이 파일은 규칙만 준다. */
.section { padding-block: calc(var(--section, 96px) / 2); }
.section-lead { padding-top: var(--section, 96px); }
.section-last { padding-bottom: var(--section, 96px); }


/* ══════════════════════════════════════════════════════════════════
   BRAVOON — Stage Editorial Utility
   발견 화면은 포스터와 편집 리듬, 예매 화면은 속도와 상태 정확성.
   ══════════════════════════════════════════════════════════════════ */

:root {
  --night: #09080B;
  --surface: #17131D;
  --surface-2: #211B28;
  --signal: #FF513B;
  --accent: #5267FF;
  --lime: #D9FF57;
  --paper: #FFF4E8;
  --dim: #A9A2AA;
  --dim-2: #7C7580;
  --line: rgba(255, 244, 232, .14);
  --line-2: rgba(255, 244, 232, .08);

  --ink: #17131D;
  --ink-2: #4B4550;
  --ink-3: #665F6C;
  --line-l: #E4D9CB;

  --r: 16px;
  --r-s: 10px;
  --wrap: 1320px;
  --section: 104px;

  --sans: "Pretendard Variable", Pretendard, system-ui, -apple-system, "Segoe UI", sans-serif;
  --disp: "Archivo", "Pretendard Variable", Pretendard, system-ui, sans-serif;
  --ease-stage: cubic-bezier(.16, 1, .3, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { font-family: var(--sans); background: var(--night); color: var(--paper); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.024em; font-weight: 800; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 28px; }
.sr-only:focus { position: static; width: auto; height: auto; clip-path: none; }
.mt-xl { margin-top: 72px; }
.opt { font-weight: 400; color: var(--dim); font-size: .9em; }

.eyebrow { font-family: var(--disp); font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--signal); margin-bottom: 16px; }
.eyebrow-ink { color: var(--signal); }
.band-paper { background: var(--paper); color: var(--ink); }
.band-paper .eyebrow-ink { color: #C0301C; }
.band-paper .head-desc { color: var(--ink-2); }

/* ── 단추 ──────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: 14px 24px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; background: none; color: inherit; transition: background-color .14s ease, border-color .14s ease, color .14s ease; }
.btn-sm { padding: 10px 16px; font-size: 14.5px; }
.btn-block { display: flex; width: 100%; }
.btn-block + .btn-block { margin-top: 10px; }
.btn-signal { background: var(--signal); color: #1A0603; }
.btn-signal:hover { background: #FF6E5B; }
.btn-dark { background: var(--surface-2); color: var(--paper); border-color: var(--line); }
.btn-dark:hover { background: #2C2434; }
.btn-ghost { border-color: rgba(255, 244, 232, .38); color: var(--paper); }
.btn-ghost:hover { background: rgba(255, 244, 232, .1); }
.btn-line-d { border-color: var(--line); color: var(--paper); background: var(--surface); }
.btn-line-d:hover { border-color: var(--paper); }
.btn-line { border-color: var(--line-l); color: var(--ink); background: #FFFFFF; }
.btn-line:hover { border-color: var(--ink); }
.band-paper .btn-line { background: #FFFFFF; }
.book-in .btn-line { background: transparent; border-color: var(--line); color: var(--paper); }
.book-in .btn-line:hover { border-color: var(--paper); }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.al-on, .hold-on { display: none; }
[aria-pressed="true"] .al-on { display: inline; }
[aria-pressed="true"] .al-off { display: none; }
[data-alert][aria-pressed="true"], #on-alert[aria-pressed="true"] { background: rgba(255, 81, 59, .16); border-color: var(--signal); color: var(--signal); }

/* ── 머리 ──────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(9, 8, 11, .92); border-bottom: 1px solid var(--line-2); }
.site-header.is-stuck { background: rgba(9, 8, 11, .98); }
.header-inner { max-width: var(--wrap); margin-inline: auto; padding: 12px 28px; display: flex; align-items: center; gap: 26px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.05; }
.brand-mark { font-family: var(--disp); font-size: 20px; font-weight: 800; letter-spacing: .02em; }
.brand-ko { font-size: 10px; letter-spacing: .18em; color: var(--dim-2); margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { padding: 9px 13px; border-radius: 8px; text-decoration: none; font-size: 15px; font-weight: 600; color: #C9C2CB; }
.nav a:hover { background: rgba(255, 244, 232, .1); color: var(--paper); }
.nav a[aria-current="page"] { color: var(--signal); }
.header-cta { padding: 11px 20px; border-radius: 999px; background: var(--paper); color: var(--night); text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.header-cta:hover { background: var(--signal); color: #1A0603; }
.menu-btn { width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: 10px; color: var(--paper); cursor: pointer; }
.menu-bar, .menu-bar::before, .menu-bar::after { display: block; width: 18px; height: 2px; background: currentColor; content: ""; }
.menu-bar { position: relative; }
.menu-bar::before { position: absolute; top: -6px; }
.menu-bar::after { position: absolute; top: 6px; }

.drawer { background: var(--surface); color: var(--paper); padding: 20px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.drawer-close { background: none; border: 1px solid var(--line); border-radius: 8px; color: inherit; font: inherit; padding: 8px 14px; cursor: pointer; }
.drawer-nav { display: flex; flex-direction: column; margin: 12px 0 18px; }
.drawer-nav a { padding: 13px 4px; text-decoration: none; font-weight: 700; font-size: 17px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; }
.drawer-nav a[aria-current="page"] { color: var(--signal); }
.drawer-cta { display: flex; align-items: center; justify-content: center; padding: 14px; border-radius: 10px; background: var(--signal); color: #1A0603; font-weight: 800; text-decoration: none; }
.drawer-tel { margin-top: 14px; font-size: 15px; color: var(--dim); }

/* ── 히어로 ────────────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); align-items: stretch; }
.hero-media { position: relative; overflow: clip; min-height: 520px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.curtain { position: absolute; top: 0; bottom: 0; width: 50%; background: var(--night); }
.curtain-l { left: 0; }
.curtain-r { right: 0; }
.js .curtain-l { animation: bv-open-l .52s var(--ease-stage) both; }
.js .curtain-r { animation: bv-open-r .52s var(--ease-stage) both; }
html:not(.js) .curtain { display: none; }
@keyframes bv-open-l { from { translate: 0 0; } to { translate: -100% 0; } }
@keyframes bv-open-r { from { translate: 0 0; } to { translate: 100% 0; } }
@media (prefers-reduced-motion: reduce) { .js .curtain { display: none; } }

.live-chip { position: absolute; left: 0; bottom: 34px; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 28px; border-radius: 0 10px 10px 0; background: rgba(23, 19, 29, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; }
.live-tag { font-family: var(--disp); font-size: 10px; font-weight: 600; letter-spacing: .18em; color: var(--signal); }
.live-chip strong { display: block; font-size: 14px; }
.live-sub { display: block; color: var(--dim); font-size: 12px; }

.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 72px 56px 72px 48px; background: var(--night); }
.hero h1 { font-size: clamp(34px, 3.9vw, 54px); letter-spacing: -.036em; }
.hero-sub { margin-top: 20px; max-width: 34em; color: var(--dim); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ── 오픈 카운트 ───────────────────────────────────────────────── */
.open-band { background: var(--night); }
.opennext { position: relative; z-index: 4; margin-top: -46px; background: var(--paper); color: var(--ink); border-radius: 4px; padding: 22px 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 28px; box-shadow: 0 24px 60px -34px rgba(0, 0, 0, .9); }
.on-tag { font-family: var(--disp); font-size: 11px; letter-spacing: .18em; color: #C0301C; font-weight: 600; }
.on-title { font-size: 21px; font-weight: 800; margin-top: 6px; }
.on-sub { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.on-count { display: flex; gap: 18px; align-items: baseline; }
.on-count span { font-size: 12px; color: var(--ink-3); display: flex; align-items: baseline; gap: 4px; }
.on-count strong { font-size: 30px; color: var(--ink); letter-spacing: -.02em; }
.on-count.is-near strong { color: #C0301C; }
.open-note { margin-top: 14px; font-size: 13.5px; color: var(--dim); }

/* ── 발견 ──────────────────────────────────────────────────────── */
.disc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.disc-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
.genre-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.gtab { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; text-decoration: none; color: var(--dim); }
.gtab:hover { border-color: var(--paper); color: var(--paper); }
.gtab.is-on { background: var(--paper); border-color: var(--paper); color: var(--night); }

.rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; align-items: start; }
.rail-tall { padding-top: 0; }
.rail-short { padding-top: 34px; }
.rail-in { display: block; text-decoration: none; }
.rail-poster { position: relative; display: block; border-radius: 4px; overflow: clip; }
.poster-art { display: block; width: 100%; aspect-ratio: 3 / 4; }
.poster-art-big { aspect-ratio: 3 / 4; }
.rail-tall .poster-art-big { aspect-ratio: 5 / 7; }
.rail-badge { position: absolute; left: 12px; top: 12px; background: var(--paper); color: var(--night); font-size: 10px; font-weight: 800; letter-spacing: .06em; padding: 5px 9px; border-radius: 4px; }
.rail-body { display: block; padding: 14px 2px 0; }
.rail-genre { font-family: var(--disp); font-size: 11px; letter-spacing: .16em; color: var(--dim); }
.rail-title { display: block; font-family: var(--disp); font-size: 20px; font-weight: 800; margin-top: 8px; line-height: 1.2; }
.rail-meta { display: block; font-size: 12.5px; color: var(--dim); margin-top: 8px; }
@media (hover: hover) and (pointer: fine) { .rail-in:hover .poster-art { scale: 1.02; transition: scale .28s var(--ease-stage); } }

/* ── 오픈 캘린더 ───────────────────────────────────────────────── */
.head-2col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px; align-items: end; }
.head-2col h2 { font-size: clamp(26px, 3vw, 38px); }
.head-desc { color: var(--dim); font-size: 16px; }
.week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid var(--line-l); }
.wday { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px; background: none; border: 0; border-right: 1px solid var(--line-l); font: inherit; cursor: pointer; color: var(--ink-2); }
.wday:last-child { border-right: 0; }
.wday-w { font-family: var(--disp); font-size: 11px; letter-spacing: .14em; }
.wday-n { font-size: 22px; font-weight: 800; color: var(--ink); }
.wday[aria-selected="true"] { background: var(--signal); color: #FFF4E8; }
.wday[aria-selected="true"] .wday-n { color: #FFF4E8; }
.wlist ul { border-top: 1px solid var(--line-l); }
.wrow { display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--line-l); }
.wrow-t { font-size: 17px; font-weight: 700; }
.wrow-b strong { display: block; font-size: 16px; }
.wrow-s { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 3px; }
.band-paper .btn-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.band-paper .btn-dark[aria-pressed="true"] { background: #FFE6E1; border-color: var(--signal); color: #C0301C; }

/* ── 좌석 그림 (홈) ────────────────────────────────────────────── */
.seat-2col { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.seatdemo { background: var(--surface); border-radius: var(--r); padding: 26px; }
.stage { background: linear-gradient(90deg, var(--accent), var(--signal)); color: #FFF4E8; font-family: var(--disp); font-size: 11px; letter-spacing: .3em; text-align: center; padding: 7px; border-radius: 4px; font-weight: 600; }
.seatgrid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; margin-top: 26px; }
.sd { display: block; aspect-ratio: 1; border-radius: 4px; background: var(--paper); }
.sd-sold { background: #2E2735; }
.sd-held { background: #4A3F52; }
.sd-pick { background: var(--signal); }
.seatcopy h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 18px; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 20px 0 24px; font-size: 13px; color: var(--dim); }
.legend li { display: flex; align-items: center; gap: 7px; }
.lg { width: 14px; height: 14px; border-radius: 3px; background: var(--paper); flex: none; }
.lg-pick { background: var(--signal); }
.lg-sold { background: #2E2735; outline: 1px solid var(--line); }
.lg-held { background: #4A3F52; }
.lg-view { background: var(--paper); outline: 2px dashed var(--accent); outline-offset: -2px; }
.lg-wheel { background: var(--accent); }

/* ── 면 머리 ───────────────────────────────────────────────────── */
.page-head { padding-block: 56px 46px; border-bottom: 1px solid var(--line-2); }
.page-head h1 { font-size: clamp(30px, 3.6vw, 46px); }
.page-sub { margin-top: 16px; max-width: 52em; color: var(--dim); }
.page-meta { margin-top: 10px; font-size: 14px; color: var(--dim-2); }
.steps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.step { display: flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--dim-2); }
.step-no { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 244, 232, .12); align-items: center; justify-content: center; font-size: 12px; }
.step.is-on { border-color: var(--signal); color: var(--signal); }
.step.is-on .step-no { background: var(--signal); color: #1A0603; }
.step.is-done { color: var(--paper); border-color: rgba(255, 244, 232, .34); }

/* ── 필터·목록 ─────────────────────────────────────────────────── */
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 28px; padding: 24px 26px; background: var(--surface); border-radius: var(--r); }
.fgroup-l { font-size: 12px; font-weight: 700; color: var(--dim); margin-bottom: 9px; display: block; }
.fchips { display: flex; flex-wrap: wrap; gap: 7px; }
.fchip { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: var(--dim); cursor: pointer; }
.fchip:hover { border-color: var(--paper); color: var(--paper); }
.fchip[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--night); }
.pick-input { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 14px; font-weight: 600; background: var(--surface-2); color: var(--paper); }
.band-paper .pick-input, .calc .pick-input, .bylist .pick-input { background: var(--surface-2); }
.fbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.fcount { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.fbar-sub { color: var(--dim-2); font-size: 14px; margin-right: auto; }

.shows { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 26px; }
.sc { position: relative; }
.sc[hidden] { display: none !important; }
.sc-in { display: block; text-decoration: none; }
.sc-poster { position: relative; display: block; border-radius: 4px; overflow: clip; }
.sc-badge { position: absolute; left: 10px; top: 10px; background: var(--night); color: var(--paper); font-size: 10.5px; font-weight: 700; padding: 5px 9px; border-radius: 4px; }
.sc-body { display: block; padding: 14px 2px 0; }
.sc-genre { font-size: 11.5px; letter-spacing: .1em; color: var(--signal); font-weight: 700; }
.sc-title { display: block; font-size: 18px; font-weight: 800; margin-top: 7px; line-height: 1.3; }
.sc-meta { display: block; font-size: 12.5px; color: var(--dim); margin-top: 7px; }
.sc-open { display: block; font-size: 12.5px; color: var(--dim-2); margin-top: 3px; }
.fav { position: absolute; right: 6px; top: 6px; display: inline-flex; align-items: center; gap: 5px; padding: 8px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(9, 8, 11, .7); color: var(--paper); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.fav[aria-pressed="true"] { background: var(--signal); border-color: var(--signal); color: #1A0603; }
.fav[aria-pressed="true"] .fav-i::before { content: "♥"; }
.fav[aria-pressed="true"] .fav-i { font-size: 0; }
.fav[aria-pressed="true"] .fav-i::before { font-size: 12px; }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.tag-sm { padding: 4px 10px; font-size: 12px; }
.tag-i { font-size: 9px; }
.tag-on { background: rgba(217, 255, 87, .16); color: var(--lime); }
.tag-soon { background: rgba(82, 103, 255, .2); color: #9BA8FF; }
.tag-near { background: rgba(255, 155, 59, .18); color: #FFB86B; }
.tag-sold { background: rgba(255, 81, 59, .16); color: #FF8A78; }
.tag-end { background: rgba(255, 244, 232, .1); color: var(--dim); }

.empty { margin-top: 26px; padding: 34px 30px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r); }
.empty h3 { font-size: 21px; }
.empty p { margin-top: 10px; color: var(--dim); }
.empty-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.empty-alt { font-size: 14px; color: var(--dim-2); }
.empty-alt a { color: var(--signal); }

/* ── 공연 상세 ─────────────────────────────────────────────────── */
.detail-hero { display: grid; grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); }
.detail-media img { display: block; width: 100%; height: 100%; object-fit: cover; min-height: 480px; }
.detail-copy { padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; }
.detail-hero h1 { font-family: var(--disp); font-size: clamp(32px, 3.8vw, 50px); letter-spacing: -.02em; }
.detail-run { margin-top: 24px; font-size: 15px; }
.detail-place { margin-top: 4px; font-size: 15px; color: var(--dim); }
.detail-open { margin: 26px 0; padding: 20px 0; border-block: 1px solid var(--line); }
.do-l { font-size: 13px; color: var(--dim); }
.do-t { font-size: 19px; font-weight: 800; color: var(--signal); margin-top: 4px; }
.do-mark { margin-top: 12px; font-size: 12.5px; color: var(--dim); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.official { background: var(--lime); color: #1A2000; font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 4px; }
.detail-cta { display: block; }
.detail-hint { margin-top: 14px; font-size: 13px; color: var(--dim-2); }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 356px; gap: 44px 48px; align-items: start; }
.dmain-a { grid-column: 1; grid-row: 1; }
.dmain-b { grid-column: 1; grid-row: 2; }
.book { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 92px; }
.detail-grid h2, .smain h2 { font-size: 25px; }
.detail-lead { margin-top: 10px; color: var(--dim); max-width: 62ch; }
.detail-lead a { color: var(--signal); }
.detail-note { margin-top: 12px; font-size: 13.5px; color: var(--dim-2); max-width: 68ch; line-height: 1.7; }
.band-paper .detail-note { color: var(--ink-3); }

.sessions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.ses { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-s); padding: 20px; }
.ses.is-on { border-color: var(--signal); }
.ses-d { font-size: 16px; font-weight: 800; }
.ses-t { font-size: 26px; font-weight: 800; margin-top: 6px; }
.ses-s { font-size: 12.5px; color: var(--dim); margin-top: 6px; }
.ses .btn { margin-top: 14px; }
.ses.is-on .ses-s { color: var(--signal); }

.tbl { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.tbl th, .tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line-2); text-align: left; white-space: nowrap; }
.tbl thead th { font-size: 13px; color: var(--dim); background: var(--surface); }
.tbl tbody th { font-weight: 700; }
.band-paper .tbl th, .band-paper .tbl td { border-color: var(--line-l); }

.book-in { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.book-l { font-size: 13px; color: var(--dim); font-weight: 700; }
.book-list { margin: 14px 0 18px; }
.book-list > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.book-list > div:last-child { border-bottom: 0; }
.book-list dt { color: var(--dim); }
.book-list dd { margin: 0; font-weight: 700; text-align: right; }
.book-note { margin-top: 14px; font-size: 12.5px; color: var(--dim-2); line-height: 1.7; }
.book-time { margin: 14px 0; font-size: 13px; color: var(--dim); }
.checklist { margin: 14px 0 4px; }
.checklist li { display: flex; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.checklist li:last-child { border-bottom: 0; }
.ck { width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 244, 232, .1); color: var(--dim); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex: none; }
.ck-on { background: var(--lime); color: #1A2000; }
.checklist strong { display: block; }
.checklist span span { display: block; font-size: 12.5px; color: var(--dim-2); }

.venue { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; margin-top: 18px; }
.venue-map { position: relative; background: var(--surface); border-radius: var(--r); padding: 22px; display: grid; gap: 10px; }
.vm-stage { background: linear-gradient(90deg, var(--accent), var(--signal)); color: #FFF4E8; text-align: center; font-family: var(--disp); font-size: 11px; letter-spacing: .3em; padding: 8px; border-radius: 4px; }
.vm-zone { background: var(--surface-2); border-radius: 6px; padding: 18px; text-align: center; font-size: 13px; color: var(--dim); }
.vm-zone.is-here { background: rgba(255, 81, 59, .18); color: var(--signal); font-weight: 800; border: 1px solid var(--signal); }
.vm-note { text-align: center; font-size: 12px; color: var(--dim-2); }
.venue-info h3 { font-size: 20px; }
.venue-info > p { margin-top: 8px; color: var(--dim); font-size: 14.5px; }
.venue-list { margin-top: 16px; }
.venue-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.venue-list dt { color: var(--dim); }
.venue-list dd { margin: 0; text-align: right; }

/* ── 아코디언 ──────────────────────────────────────────────────── */
.acc { border-top: 1px solid var(--line); margin-top: 16px; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3, .acc-item h4 { margin: 0; font-size: inherit; font-weight: inherit; }
.acc-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; background: none; border: 0; cursor: pointer; font: inherit; font-size: 17px; font-weight: 700; color: inherit; text-align: left; }
.acc-trigger::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--dim); flex: none; }
.acc-item.open .acc-trigger::after { content: "−"; }
.acc-panel { padding: 0 2px 20px; color: var(--dim); font-size: 16px; max-width: 74ch; }
.band-paper .acc { border-color: var(--line-l); }
.band-paper .acc-item { border-color: var(--line-l); }
.band-paper .acc-panel { color: var(--ink-2); }

/* ── 좌석 선택 ─────────────────────────────────────────────────── */
.seat-grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) 356px; gap: 44px 48px; align-items: start; }
.smain { grid-column: 1; }
.seat-grid-2 .book { grid-column: 2; grid-row: 1; }
.seatbox { margin-top: 20px; background: var(--surface); border-radius: var(--r); padding: 24px; }
.seatmap { margin-top: 24px; display: grid; gap: 7px; min-width: 520px; }
.seat-row { display: grid; grid-template-columns: 30px repeat(10, 1fr); gap: 7px; align-items: center; }
.seat-rowl { font-size: 12px; color: var(--dim-2); text-align: right; }
.seat { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 4px; background: var(--paper); color: #4B4550; font-size: 10.5px; font-weight: 700; cursor: pointer; }
.seat input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seat-sold { background: #2E2735; color: #6A6072; cursor: default; }
.seat-held { background: #4A3F52; color: #B6ACBD; cursor: default; }
.seat-view { outline: 2px dashed var(--accent); outline-offset: -2px; }
.seat-wheel { background: var(--accent); color: #FFF4E8; }
.seat:has(input:checked) { background: var(--signal); color: #1A0603; }
.seat:has(input:focus-visible) { outline: 2px solid var(--lime); outline-offset: 2px; }
.legend-wide { margin-top: 22px; margin-bottom: 0; }

.bylist { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-top: 18px; }
.bl-field { display: flex; flex-direction: column; gap: 6px; }
.bl-field label { font-size: 12px; font-weight: 700; color: var(--dim); }

.book-ticket { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.tk-l { font-family: var(--disp); font-size: 11px; letter-spacing: .18em; color: var(--ink-3); font-weight: 600; }
.tk-when { font-size: 22px; font-weight: 800; margin-top: 8px; }
.tk-list { margin: 16px 0 0; }
.tk-list > div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-l); font-size: 14px; }
.tk-list dt { color: var(--ink-3); }
.tk-list dd { margin: 0; font-weight: 700; text-align: right; }
.tk-total { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-l); }
.tk-total span { font-size: 14px; color: var(--ink-3); }
.tk-total strong { font-size: 26px; }
.tk-cancel { margin: 14px 0 18px; padding: 12px 14px; background: #F3E7DA; border-radius: 6px; font-size: 12.5px; color: var(--ink-2); }
.tk-note { margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.book-ticket .btn-line { background: transparent; border-color: var(--line-l); color: var(--ink); }
#hold-go[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.tk-note.is-near { color: #C0301C; font-weight: 700; }

/* ── 내 티켓 ───────────────────────────────────────────────────── */
.mticket { margin-top: 20px; max-width: 520px; background: var(--paper); color: var(--ink); border-radius: var(--r); overflow: clip; }
.mt-top { padding: 24px 26px 20px; }
.mt-genre { font-family: var(--disp); font-size: 11px; letter-spacing: .18em; color: #C0301C; font-weight: 600; }
.mt-top h3 { font-family: var(--disp); font-size: 24px; margin-top: 8px; }
.mt-when { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.mt-perf { height: 22px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 16px); opacity: .25; }
.js .mt-perf { animation: bv-perf .42s var(--ease-stage) both; }
@keyframes bv-perf { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.mt-bot { padding: 20px 26px 24px; }
.mt-list > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-l); font-size: 14.5px; }
.mt-list dt { color: var(--ink-3); }
.mt-list dd { margin: 0; font-weight: 700; text-align: right; }
.mt-code { display: flex; gap: 4px; margin-top: 18px; height: 46px; align-items: stretch; }
.mt-code span { display: block; background: var(--ink); border-radius: 1px; }
.mt-code span:nth-child(odd) { width: 4px; }
.mt-code span:nth-child(even) { width: 9px; opacity: .55; }
.mt-hint { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); }

.calc { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.calc-out { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.rf-l { font-size: 13px; color: var(--dim); }
.rf-v { font-size: 34px; font-weight: 800; margin-top: 6px; color: var(--lime); }
.rf-f { margin-top: 8px; font-size: 13.5px; color: var(--dim); }
.rf-n { margin-top: 12px; font-size: 12.5px; color: var(--dim-2); line-height: 1.7; }
.rf-v.is-no { color: var(--signal); font-size: 26px; }

/* ── 폼 ────────────────────────────────────────────────────────── */
.inquiry-form { margin-top: 18px; max-width: 620px; display: grid; gap: 16px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.control { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--surface-2); color: var(--paper); }
.control::placeholder { color: var(--dim-2); }
.control:focus-visible { outline: 2px solid var(--signal); outline-offset: 1px; }
.err { display: none; margin-top: 6px; font-size: 13px; color: #FF8A78; font-weight: 600; }
.field.invalid .control { border-color: var(--signal); }
.field.invalid .err, .agree.invalid .err { display: block; }
.counter { margin-top: 6px; font-size: 12px; color: var(--dim-2); text-align: right; }
.field-radio { border: 0; padding: 0; margin: 0; min-width: 0; }
.field-radio legend { padding: 0; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio span { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); font-size: 14px; font-weight: 600; color: var(--dim); cursor: pointer; }
.radio input:checked + span { background: var(--paper); border-color: var(--paper); color: var(--night); }
.radio input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.agree label { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.agree .box { width: 22px; height: 22px; border: 1px solid var(--dim); border-radius: 5px; flex: none; margin-top: 1px; background: var(--surface-2); }
.agree input:checked + label .box { background: var(--signal); border-color: var(--signal); position: relative; }
.agree input:checked + label .box::after { content: "✓"; position: absolute; inset: 0; color: #1A0603; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.form-hint { font-size: 13px; color: var(--dim-2); line-height: 1.7; }
.form-submit { justify-self: start; }

/* ── 푸터 ──────────────────────────────────────────────────────── */
.site-footer { background: var(--surface); color: var(--dim); padding-block: 50px 42px; font-size: 14px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.footer-brand { display: flex; flex-direction: column; color: var(--paper); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { color: #C9C2CB; text-decoration: none; }
.footer-nav a:hover { color: var(--paper); }
.footer-biz { margin-top: 24px; font-style: normal; line-height: 1.9; }
.footer-biz a { color: #C9C2CB; }
.footer-legal { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { color: #C9C2CB; }
.footer-note { margin-top: 18px; font-size: 12.5px; color: var(--dim-2); max-width: 72ch; line-height: 1.8; }
.footer-copy { margin-top: 16px; font-size: 12.5px; }
.toast .toast-msg { display: inline-block; background: var(--paper); color: var(--night); padding: 13px 20px; border-radius: 10px; font-size: 15px; font-weight: 700; box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .9); max-width: min(92vw, 460px); }

/* ══ 태블릿 ══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  :root { --section: 84px; }
  .detail-grid, .seat-grid-2 { grid-template-columns: minmax(0, 1fr); }
  .dmain-a, .dmain-b, .smain { grid-column: 1; }
  .dmain-a, .smain { grid-row: 1; }
  .detail-grid .book, .seat-grid-2 .book { grid-column: 1; grid-row: 2; position: static; }
  .dmain-b { grid-row: 3; }
  .book-in { max-width: 560px; }
  .hero, .detail-hero { grid-template-columns: minmax(0, 1fr); }
  .hero-media, .detail-media img { min-height: 340px; }
  .hero-copy, .detail-copy { padding: 44px 28px 52px; }
  .rail, .shows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail-short { padding-top: 0; }
  .seat-2col { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .venue { grid-template-columns: minmax(0, 1fr); }
  .opennext { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .on-cta { justify-self: start; }
}

@media (max-width: 1000px) {
  .header-cta { display: none; }
  .nav a { padding: 9px 10px; font-size: 14px; }
}

@media (max-width: 900px) {
  .head-2col, .disc-head { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 18px; }
  .sessions { grid-template-columns: minmax(0, 1fr); }
  .wrow { grid-template-columns: 70px minmax(0, 1fr); gap: 10px 14px; }
  .wrow .btn { grid-column: 2; justify-self: start; }
}

/* ══ 모바일 ══════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  :root { --section: 60px; }
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .header-inner { padding: 10px 18px; }
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .brand { margin-right: auto; }
  .hero h1 { font-size: 31px; }
  .hero-cta { display: grid; }
  .hero-media { min-height: 240px; }
  .live-chip { bottom: 16px; padding: 10px 14px 10px 18px; }
  .opennext { margin-top: -28px; padding: 20px; }
  .on-count { gap: 14px; }
  .on-count strong { font-size: 26px; }
  .rail, .shows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .rail-title { font-size: 17px; }
  .sc-title { font-size: 16px; }
  .week { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .wday-n { font-size: 18px; }
  .seatgrid { gap: 5px; }
  .seatbox, .empty, .filters, .book-in, .seatdemo { padding: 18px; }
  .seatmap { min-width: 470px; }
  .seat-row { grid-template-columns: 24px repeat(10, 1fr); gap: 5px; }
  .mt-xl { margin-top: 52px; }
  .venue-map { padding: 16px; }

  /* 검사기가 화면 좌표로 ±22px 을 찍어 44px 을 확인한다 */
  .btn, .fchip, .acc-trigger, .gtab, .wday, .fav, .drawer-close { min-height: 44px; }
}

@media (max-width: 380px) {
  .on-count strong { font-size: 22px; }
  .rf-v { font-size: 28px; }
}
