/* =====================================================================
   PLAYTION PLATFORM — Design System
   콘셉트: PLAYTION LINE (놀이가 출발하는 정거장)
   밝은 바탕 위에 사업별 노선 색을 포인트로 씁니다.
     보라(PARTY) · 노랑(GACHA) · 민트(PASS·CLUB) · 딥(PARTNER)
   ===================================================================== */

:root {
  color-scheme: only light;
  --paper: #FFFFFF;
  --mist: #F7F6FA;
  --mist-2: #EFEDF4;
  --ink: #120B22;
  --ink-2: #4A4560;
  --ink-3: #8A859A;
  --rule: #E8E5EF;
  --rule-2: #D7D2E2;

  --party: #6D3BFF;
  --party-deep: #4F22D6;
  --party-soft: #F0EBFF;
  --gacha: #FFD84D;
  --gacha-rail: #F2BA00;
  --gacha-ink: #6E5200;
  --gacha-soft: #FFF7D6;
  --pass: #57E6C2;
  --pass-rail: #1FC79C;
  --pass-ink: #07705A;
  --pass-soft: #E3FAF3;
  --biz: #120B22;
  --biz-soft: #EDEBF2;
  --lilac: #C6B4FF;

  --ok: #0E9F6E;
  --warn: #C77700;
  --err: #D92D45;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --pill: 999px;

  --lift: 0 2px 6px rgba(18, 11, 34, .06), 0 12px 32px rgba(18, 11, 34, .10);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  --wrap: 1200px;
  --gut: 24px;
  --hd: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 720px) {
  :root { --gut: 16px; --hd: 56px; }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.65; font-weight: 400;
  letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (max-width: 720px) { body { font-size: 15.5px; padding-bottom: calc(68px + env(safe-area-inset-bottom)); } }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--hd) + 66px); }
:focus-visible { outline: 3px solid var(--party); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
::selection { background: var(--lilac); color: var(--ink); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding-inline: var(--gut); padding-left: max(var(--gut), env(safe-area-inset-left)); padding-right: max(var(--gut), env(safe-area-inset-right)); }
.wrap--narrow { max-width: calc(860px + var(--gut) * 2); }
.band { padding-block: 88px; }
.band--tight { padding-block: 56px; }
.band--mist { background: var(--mist); }
.band:not(.band--mist) + .band:not(.band--mist) { padding-top: 0; }
.band--mist .tag { background: var(--paper); }
@media (max-width: 720px) { .band { padding-block: 56px; } .band--tight { padding-block: 40px; } }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split--wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 960px) { .split, .split--even, .split--wide { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.stack > * + * { margin-top: 16px; }
.stack-s > * + * { margin-top: 8px; }
.stack-l > * + * { margin-top: 28px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.row--end { justify-content: flex-end; }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 40px; } .mt-xl { margin-top: 64px; }
.center { text-align: center; }

/* ---------- type ---------- */
.t-display { font-size: clamp(36px, 5vw, 58px); line-height: 1.08; font-weight: 800; letter-spacing: -0.045em; }
.t-h1 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.14; font-weight: 800; letter-spacing: -0.04em; }
.t-h2 { font-size: clamp(24px, 2.7vw, 34px); line-height: 1.22; font-weight: 800; letter-spacing: -0.035em; }
.t-h3 { font-size: clamp(18.5px, 1.6vw, 22px); line-height: 1.35; font-weight: 700; letter-spacing: -0.025em; }
.t-h4 { font-size: 17px; line-height: 1.4; font-weight: 700; letter-spacing: -0.02em; }
.t-lead { font-size: clamp(16.5px, 1.4vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 38em; }
.t-body { color: var(--ink-2); max-width: 40em; }
.t-small { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.t-micro { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.t-num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.t-strong { font-weight: 700; color: var(--ink); }
.t-muted { color: var(--ink-3); }
.t-en { font-weight: 600; letter-spacing: 0; color: var(--ink-3); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.sec-head .t-lead { margin-top: 10px; }
.sec-head__more { font-weight: 600; color: var(--ink-2); border-bottom: 1.5px solid var(--rule-2); padding-bottom: 2px; white-space: nowrap; }
.sec-head__more:hover { color: var(--party); border-color: var(--party); }
.prose p + p { margin-top: 12px; }
.prose { color: var(--ink-2); }

/* 역 이름판 스타일: 한글 이름 + 영문 지명 */
.sign { display: inline-flex; flex-direction: column; gap: 2px; }
.sign__ko { font-weight: 800; letter-spacing: -0.035em; line-height: 1.15; }
.sign__en { font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }

/* ---------- line badge (노선 배지) ---------- */
.lb { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: var(--pill); font-size: 12.5px; font-weight: 700; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.lb--party { background: var(--party); color: #fff; }
.lb--gacha { background: var(--gacha); color: var(--ink); }
.lb--pass, .lb--club { background: var(--pass); color: var(--ink); }
.lb--biz { background: var(--biz); color: #fff; }
.lb--all { background: var(--mist-2); color: var(--ink); }
.lb--ghost { background: transparent; border: 1.5px solid var(--rule-2); color: var(--ink-2); }
.lb--sample { background: #FFF1D6; color: #8A5300; }
.lb--ok { background: #E3F7EE; color: var(--ok); }
.lb--warn { background: #FFF2DE; color: var(--warn); }
.lb--err { background: #FDE8EB; color: var(--err); }
.lb--s { height: 22px; padding: 0 9px; font-size: 11.5px; }
.code { display: inline-grid; place-items: center; min-width: 40px; height: 26px; padding: 0 8px; border-radius: 7px; border: 2px solid currentColor; font-size: 12.5px; font-weight: 800; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.code--party { color: var(--party); }
.code--gacha { color: var(--gacha-ink); border-color: var(--gacha-rail); background: var(--gacha-soft); }
.code--pass { color: var(--pass-ink); border-color: var(--pass-rail); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.dot--party { background: var(--party); } .dot--gacha { background: var(--gacha-rail); } .dot--pass { background: var(--pass-rail); } .dot--biz { background: var(--biz); }

/* ---------- buttons ---------- */
.btn { --bh: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--bh); padding: 0 22px; border-radius: var(--pill); font-weight: 700; font-size: 15.5px; letter-spacing: -0.02em; white-space: nowrap; transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .12s var(--ease); border: 1.5px solid transparent; user-select: none; }
.btn:active { transform: translateY(1px); }
.btn--s { --bh: 38px; padding: 0 16px; font-size: 14px; }
.btn--l { --bh: 56px; padding: 0 28px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--party); color: #fff; }
.btn--primary:hover { background: var(--party-deep); }
.btn--gacha { background: var(--gacha); color: var(--ink); }
.btn--gacha:hover { background: #FFCD1A; }
.btn--pass { background: var(--pass); color: var(--ink); }
.btn--pass:hover { background: #3DDDB4; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2A2240; }
.btn--ghost { border-color: var(--rule-2); color: var(--ink); background: var(--paper); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--quiet { color: var(--ink-2); padding: 0 12px; }
.btn--quiet:hover { color: var(--ink); background: var(--mist); }
.btn[disabled], .btn.is-off { opacity: .45; pointer-events: none; }
.link { color: var(--party-deep); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; padding-block: 5px; }
.link:hover { color: var(--ink); }

/* ---------- top bars ---------- */
.topbar { font-size: 13.5px; line-height: 1.4; }
.topbar__row { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px var(--gut); text-align: center; }
.topbar__demo { background: var(--ink); color: #fff; }
.topbar__demo b { color: var(--gacha); font-weight: 700; }
.topbar__notice { background: var(--gacha-soft); color: var(--ink); border-bottom: 1px solid #F6E7A6; }
.topbar__notice a { display: inline-block; padding: 4px 0; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .topbar { font-size: 12.5px; } .topbar__row { padding: 7px 12px; justify-content: space-between; text-align: left; } }
.topbar__x { flex: none; margin: -4px -6px -4px 4px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; opacity: .7; }
.topbar__x:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.topbar__notice .topbar__x:hover { background: rgba(0, 0, 0, .06); }

/* ---------- header (brand bar) ---------- */
.hd { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--rule); }
.hd__in { height: var(--hd); display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { height: 40px; width: auto; }
.logo__word { height: 22px; width: auto; }
@media (max-width: 720px) { .logo__mark { height: 34px; } .logo__word { height: 19px; } }
.gnb { display: flex; align-items: center; gap: 4px; height: 100%; }
.gnb a { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--pill); font-weight: 600; font-size: 15px; color: var(--ink-2); }
.gnb a:hover { color: var(--ink); background: var(--mist); }
.gnb a[aria-current="page"], .gnb a.is-on { color: var(--ink); background: var(--mist); }
.gnb .dot { width: 8px; height: 8px; }
.hd__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hd__pass { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 6px; border-radius: var(--pill); border: 1.5px solid var(--rule-2); font-weight: 600; font-size: 14px; }
.hd__pass:hover { border-color: var(--ink); }
.hd__pass .avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--pass); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--ink); }
.hd__menu { display: none; width: 42px; height: 42px; border-radius: 12px; place-items: center; }
.hd__menu:hover { background: var(--mist); }
@media (max-width: 1040px) { .gnb { display: none; } .hd__menu { display: grid; } }
@media (max-width: 720px) { .hd__cta { display: none; } .hd__pass span.lbl { display: none; } .hd__pass { padding: 0 6px; } }

/* section sub navigation */
.subnav { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: var(--hd); z-index: 35; }
.subnav__in { position: relative; display: flex; align-items: center; gap: 6px; height: 50px; overflow-x: auto; scrollbar-width: none; }
.subnav__in::-webkit-scrollbar { display: none; }
.subnav__line { display: inline-flex; align-items: center; gap: 8px; padding-right: 14px; margin-right: 6px; border-right: 1px solid var(--rule); flex: none; font-weight: 800; font-size: 14.5px; }
.subnav a.sn { flex: none; display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: var(--pill); font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.subnav a.sn:hover { color: var(--ink); background: var(--mist); }
.subnav a.sn[aria-current="page"] { color: #fff; background: var(--ink); }
.sec-party .subnav a.sn[aria-current="page"] { background: var(--party); }
.sec-gacha .subnav a.sn[aria-current="page"] { background: var(--gacha); color: var(--ink); }
.sec-pass .subnav a.sn[aria-current="page"] { background: var(--pass); color: var(--ink); }
/* 가로로 눕힌 휴대폰: 세로 공간이 좁으니 구역 메뉴는 함께 스크롤되게 */
@media (max-height: 520px) and (orientation: landscape) { .subnav { position: relative; top: auto; } .tabs { top: var(--hd); } }

/* drawer (모바일 전체 메뉴) */
.drawer { position: fixed; inset: 0; z-index: 80; display: none; }
.drawer.is-open { display: block; }
.drawer__bg { position: absolute; inset: 0; background: rgba(18, 11, 34, .38); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); background: var(--paper); overflow-y: auto; overscroll-behavior: contain; padding: 18px max(22px, env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) 22px; box-shadow: var(--lift); animation: slideIn .24s var(--ease); }
@keyframes slideIn { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .drawer__panel { animation: none; } }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer__group { padding: 16px 0; border-top: 1px solid var(--rule); }
.drawer__group h3 { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-3); margin-bottom: 8px; }
.drawer__group a { display: block; padding: 9px 0; font-weight: 600; font-size: 16px; }
.drawer__group a:hover { color: var(--party); }

/* mobile tab bar */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; height: calc(64px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--rule); display: none; padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
@media (max-width: 720px) { .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); } }
.tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.tabbar svg { width: 23px; height: 23px; }
.tabbar [aria-current="page"] { color: var(--ink); }
.tabbar [aria-current="page"] svg { color: var(--party); }

/* ---------- footer ---------- */
.ft { background: var(--mist); border-top: 1px solid var(--rule); padding: 56px 0 40px; margin-top: 0; font-size: 14px; color: var(--ink-2); }
.ft__top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 960px) { .ft__top { grid-template-columns: 1fr 1fr; } .ft__brand { grid-column: 1 / -1; } }
.ft__brand p { margin-top: 12px; max-width: 26em; }
.ft__col h4 { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.ft__col a { display: block; padding: 4px 0; }
.ft__col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ft__tel { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; margin-top: 16px; }
.ft__biz { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule-2); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 12.5px; line-height: 1.75; color: var(--ink-3); }
.ft__biz span { white-space: nowrap; margin-right: 12px; }
.ft__legal a { display: inline-block; margin-left: 14px; padding: 6px 0; font-weight: 600; color: var(--ink-2); }
.ft__legal a:first-child { margin-left: 0; }

/* ---------- surfaces ---------- */
.panel { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-m); padding: 28px; }
.panel--mist { background: var(--mist); border-color: transparent; }
.panel--s { padding: 20px; border-radius: var(--r-s); }
.panel--line-party { border-top: 4px solid var(--party); }
.panel--line-gacha { border-top: 4px solid var(--gacha-rail); }
.panel--line-pass { border-top: 4px solid var(--pass-rail); }
.panel--line-biz { border-top: 4px solid var(--biz); }
@media (max-width: 620px) { .panel { padding: 20px; } }
.hr { height: 1px; background: var(--rule); border: 0; margin: 24px 0; }
.note { display: flex; gap: 10px; padding: 14px 16px; border-radius: var(--r-s); background: var(--mist); font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.note--gacha { background: var(--gacha-soft); }
.note--party { background: var(--party-soft); }
.note--pass { background: var(--pass-soft); }
.note--warn { background: #FFF4E5; color: #6B4100; }
.note b { color: var(--ink); }
.empty { text-align: center; padding: 48px 20px; border: 1.5px dashed var(--rule-2); border-radius: var(--r-m); color: var(--ink-2); }
.empty h3 { color: var(--ink); margin-bottom: 6px; }
.empty .btn { margin-top: 16px; }

/* list rows */
.rows { border-top: 1px solid var(--rule); }
.rows > li, .rows > .rw { border-bottom: 1px solid var(--rule); }
.rw { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 4px; }
a.rw:hover .rw__title { color: var(--party); }
.rw__title { font-weight: 700; letter-spacing: -0.02em; }
.rw__meta { font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
.rw__side { text-align: right; font-size: 14px; color: var(--ink-2); white-space: nowrap; }

/* key-value */
.kv { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px 16px; font-size: 15px; }
.kv dt { color: var(--ink-3); font-weight: 600; }
.kv dd { color: var(--ink); }
@media (max-width: 420px) { .kv { grid-template-columns: 92px minmax(0, 1fr); } }
.kv--s { font-size: 14px; gap: 8px 14px; }
.typecards { display: grid; gap: 12px; }
.only-narrow { display: none !important; }
@media (max-width: 720px) { .only-wide { display: none !important; } .only-narrow { display: grid !important; } }

/* tables */
.tbl { width: 100%; font-size: 14.5px; }
.tbl th, .tbl td { padding: 13px 14px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.tbl thead th { font-size: 13px; color: var(--ink-3); font-weight: 700; border-bottom: 1.5px solid var(--ink); background: transparent; }
.tbl tbody th { font-weight: 700; color: var(--ink); }
.tbl--fit td, .tbl--fit th { white-space: nowrap; }
@media (max-width: 720px) {
  .tbl--stack thead { display: none; }
  .tbl--stack, .tbl--stack tbody { display: block; }
  .tbl--stack tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; padding: 14px 2px; border-bottom: 1px solid var(--rule); }
  .tbl--stack tr > * { padding: 0; border: 0; }
  .tbl--stack tbody th { grid-column: 1 / -1; margin-bottom: 8px; }
  .tbl--stack td:last-child { text-align: right; color: var(--ink-3); font-size: 13.5px; }
  .tbl--cards thead { display: none; }
  .tbl--cards, .tbl--cards tbody { display: block; }
  .tbl--cards tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "a d" "b b" "c c"; row-gap: 6px; padding: 16px 2px; border-bottom: 1px solid var(--rule); }
  .tbl--cards tr > * { padding: 0; border: 0; }
  .tbl--cards tr > :nth-child(1) { grid-area: a; }
  .tbl--cards tr > :nth-child(2) { grid-area: b; font-weight: 700; color: var(--ink); }
  .tbl--cards tr > :nth-child(3) { grid-area: c; font-size: 14px; color: var(--ink-2); }
  .tbl--cards tr > :nth-child(4) { grid-area: d; font-size: 13px; color: var(--ink-3); font-weight: 600; }
  .tbl--label thead { display: none; }
  .tbl--label, .tbl--label tbody, .tbl--label tr, .tbl--label tr > * { display: block; }
  .tbl--label tr { padding: 14px 2px; border-bottom: 1px solid var(--rule); }
  .tbl--label tr > * { padding: 0; border: 0; }
  .tbl--label tr > :first-child { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
  .tbl--label td[data-l] { display: grid; grid-template-columns: var(--lw, 72px) minmax(0, 1fr); gap: 10px; padding: 3px 0; font-size: 14px; }
  .tbl--label td[data-l]::before { content: attr(data-l); color: var(--ink-3); font-weight: 600; }
}
.tbl-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; flex: none; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--pill); border: 1.5px solid var(--rule-2); background: var(--paper); font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.sec-gacha .chip[aria-pressed="true"] { background: var(--gacha); border-color: var(--gacha-rail); color: var(--ink); }
.chips--scroll { position: relative; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips--scroll::-webkit-scrollbar { display: none; }
.chips--scroll > * { flex: none; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 7px; background: var(--mist); font-size: 13px; font-weight: 600; color: var(--ink-2); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field + .field, .field + .fieldrow, .fieldrow + .field, .fieldrow + .fieldrow { margin-top: 16px; }
.fieldrow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .fieldrow { grid-template-columns: 1fr; } }
.lbl { font-size: 14px; font-weight: 700; color: var(--ink); }
.lbl .req { color: var(--err); margin-left: 3px; }
.lbl small { font-weight: 500; color: var(--ink-3); margin-left: 6px; }
.inp, .sel, .txa { width: 100%; height: 50px; padding: 0 16px; border: 1.5px solid var(--rule-2); border-radius: 12px; background: var(--paper); font-size: 16px; transition: border-color .15s; }
.txa { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.6; }
.inp:hover, .sel:hover, .txa:hover { border-color: var(--ink-3); }
.inp:focus, .sel:focus, .txa:focus { outline: none; border-color: var(--party); box-shadow: 0 0 0 4px var(--party-soft); }
.inp[aria-invalid="true"] { border-color: var(--err); }
.sel { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23120B22' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.help { font-size: 13px; color: var(--ink-3); }
.err-msg { font-size: 13px; color: var(--err); font-weight: 600; }
.check { display: flex; align-items: flex-start; gap: 10px; min-height: 28px; padding-block: 3px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--party); flex: none; }
.check b { color: var(--ink); font-weight: 600; }
.check + .check { margin-top: 6px; }
.consent { border: 1.5px solid var(--rule-2); border-radius: 14px; padding: 16px; }
.consent__all { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--rule); }
.consent details { margin: 4px 0 2px 30px; font-size: 13px; color: var(--ink-3); }
.consent summary { cursor: pointer; padding: 4px 0; font-weight: 600; color: var(--ink-2); }
.seg { display: inline-flex; padding: 4px; background: var(--mist); border-radius: var(--pill); gap: 2px; }
.seg button { height: 36px; padding: 0 16px; border-radius: var(--pill); font-weight: 600; font-size: 14px; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(18, 11, 34, .12); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--rule-2); border-radius: var(--pill); height: 48px; }
.stepper button { width: 46px; height: 100%; font-size: 20px; font-weight: 600; border-radius: var(--pill); }
.stepper button:hover { background: var(--mist); }
.stepper output { min-width: 64px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.range { width: 100%; height: 28px; accent-color: var(--party); cursor: pointer; }

/* ---------- photo ---------- */
.ph { position: relative; overflow: hidden; border-radius: var(--r-l); background: var(--mist-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--43 { aspect-ratio: 4 / 3; }
.ph--169 { aspect-ratio: 16 / 9; }
.ph--sq { aspect-ratio: 1; }
.ph__cap { position: absolute; left: 14px; bottom: 14px; }

/* =====================================================================
   SIGNATURE: route map (노선도)
   ===================================================================== */
.hero { padding: 48px 0 40px; position: relative; }
@media (max-width: 720px) { .hero { padding: 36px 0 24px; } }
.hero__copy { max-width: 760px; }
.hero__kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-weight: 700; color: var(--ink-2); font-size: 15px; }
.hero__lead { margin-top: 20px; }
.hero__cta { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }

.routemap { margin-top: 36px; border: 1px solid var(--rule); border-radius: var(--r-l); background: var(--paper); overflow: hidden; }
.routemap__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
.routemap__legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.routemap__legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend-line { width: 22px; height: 6px; border-radius: 3px; display: inline-block; }
.routemap__body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; }
@media (max-width: 1040px) { .routemap__body { grid-template-columns: minmax(0, 1fr); } }
.routemap__svgwrap { position: relative; padding: 12px 8px 4px; overflow-x: auto; }
.routemap svg { width: 100%; min-width: 720px; height: auto; }
.rm-rail { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rm-node { cursor: pointer; }
.rm-node circle.ring { fill: #fff; stroke-width: 6; transition: fill .18s var(--ease), stroke-width .18s var(--ease); }
.rm-node circle.core { opacity: 0; transition: opacity .18s var(--ease); }
.rm-node:hover circle.ring, .rm-node:focus-visible circle.ring { stroke-width: 8; }
.rm-node.is-on circle.ring { fill: var(--c); }
.rm-node.is-on circle.core { opacity: 1; }
.rm-node--transfer.is-on .rm-transfer { fill: var(--ink); }
.rm-node text { font-family: var(--font); font-size: 18px; font-weight: 700; fill: var(--ink); letter-spacing: -0.03em; }
.rm-node text.en { font-size: 12.5px; font-weight: 600; fill: var(--ink-3); letter-spacing: 0; }
.rm-node.is-on text:not(.en) { fill: var(--party-deep); }
.rm-node:focus { outline: none; }
.rm-node:focus-visible text { text-decoration: underline; }
.rm-transfer { fill: #fff; stroke: var(--ink); stroke-width: 4; transition: fill .18s var(--ease); }
.rm-train { transition: transform 1.1s var(--ease); }
.routemap__panel { border-left: 1px solid var(--rule); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 1040px) { .routemap__panel { border-left: 0; border-top: 1px solid var(--rule); } }
.routemap__panel .ph { border-radius: var(--r-m); }
@media (min-width: 721px) and (max-width: 1040px) {
  .routemap__panel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); column-gap: 24px; row-gap: 12px; align-content: start; padding: 22px 24px; }
  .routemap__panel > .ph { grid-column: 1; grid-row: 1 / span 8; align-self: start; }
  .routemap__panel > :not(.ph) { grid-column: 2; }
  .routemap__panel > .stack:only-child { grid-column: 1 / -1; }
}
.rm-list { display: none; }
@media (max-width: 720px) {
  .routemap__svgwrap { display: none; }
  .rm-list { display: block; padding: 6px 16px 10px; }
  .routemap__panel { display: none; }
}
/* 세로 노선 (모바일·지점 목록) */
.vline { position: relative; }
.vline__item { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; }
.vline__item::before { content: ""; position: absolute; left: 15px; top: 0; bottom: 0; width: 6px; background: var(--rail, var(--party)); }
.vline__item:first-child::before { top: 50%; }
.vline__item:last-child::before { bottom: 50%; }
.vline__node { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--rail, var(--party)); margin-left: 7px; }
.vline__item--gacha { --rail: var(--gacha-rail); }
.vline__name { font-weight: 800; letter-spacing: -0.03em; }
.vline__sub { font-size: 13px; color: var(--ink-3); }

/* departure board (이번 주 플레이션) */
.board { border: 1px solid var(--rule); border-radius: var(--r-l); overflow: hidden; background: var(--paper); }
.board__head { display: grid; grid-template-columns: 120px minmax(0, 1fr) 200px 150px; gap: 16px; padding: 12px 24px; background: var(--mist); font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.board__row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 200px 150px; gap: 16px; padding: 16px 24px; border-top: 1px solid var(--rule); align-items: center; }
a.board__row:hover { background: #FCFBFE; }
a.board__row:hover .board__title { color: var(--party); }
.board__title { font-weight: 700; letter-spacing: -0.02em; }
.board__place, .board__when { font-size: 14px; color: var(--ink-2); }
.board__when { font-weight: 700; color: var(--ink); text-align: right; }
@media (max-width: 860px) {
  .board__head { display: none; }
  .board__row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "badge when" "title title" "place place"; gap: 6px 12px; padding: 16px 18px; }
  .board__row > :nth-child(1) { grid-area: badge; }
  .board__row > :nth-child(2) { grid-area: title; }
  .board__row > :nth-child(3) { grid-area: place; }
  .board__row > :nth-child(4) { grid-area: when; }
}

/* entrances (두 입구) */
.gate { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-l); overflow: hidden; background: var(--paper); border: 1px solid var(--rule); min-height: 100%; }
.gate__ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist-2); }
.gate__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.gate:hover .gate__ph img { transform: scale(1.025); }
@media (prefers-reduced-motion: reduce) { a.gate:hover .gate__ph img { transform: none; } }
.gate__body { padding: 26px 28px 28px; border-top: 6px solid var(--rail, var(--party)); display: flex; flex-direction: column; gap: 10px; }
.gate--gacha { --rail: var(--gacha-rail); }
.gate__facts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.gate__go { margin-top: auto; padding-top: 10px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }

/* transit card (PASS) */
.tcard { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1.586; border-radius: 22px; padding: 22px 24px; color: #fff; overflow: hidden; background: radial-gradient(120% 140% at 100% 0%, #8E68FF 0%, #6D3BFF 38%, #3E19B8 100%); box-shadow: 0 18px 40px rgba(77, 34, 214, .28); isolation: isolate; }
.tcard::before { content: ""; position: absolute; right: -60px; bottom: -70px; width: 240px; height: 240px; border-radius: 50%; background: linear-gradient(135deg, #fff 0 50%, var(--gacha) 50% 100%); opacity: .16; z-index: -1; }
.tcard::after { content: ""; position: absolute; left: 0; right: 0; top: 58%; height: 6px; background: var(--pass); opacity: .9; z-index: -1; }
.tcard__top { display: flex; justify-content: space-between; align-items: flex-start; }
.tcard__brand { font-weight: 800; font-size: 15px; letter-spacing: 0.02em; }
.tcard__brand small { display: block; font-size: 11px; font-weight: 600; opacity: .75; letter-spacing: 0; margin-top: 2px; }
.tcard__lv { height: 26px; padding: 0 11px; border-radius: var(--pill); background: rgba(255, 255, 255, .18); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; }
.tcard__chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #FFE68A, #E9B900); margin-top: 18px; }
.tcard__name { position: absolute; left: 24px; bottom: 20px; }
.tcard__name b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.tcard__name span { font-size: 12.5px; opacity: .8; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.tcard__qr { position: absolute; right: 18px; bottom: 18px; width: 74px; height: 74px; background: #fff; border-radius: 10px; padding: 6px; }
.tcard__qr svg { width: 100%; height: 100%; }
.tcard--ghost { background: var(--paper); color: var(--ink); border: 2px dashed var(--rule-2); box-shadow: none; }
.tcard--ghost::after, .tcard--ghost::before { display: none; }

/* stamp card */
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; width: min(360px, 100%); }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--rule-2); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.stamp.is-on { border: 0; background: linear-gradient(135deg, #fff 0 48%, var(--gacha) 48% 100%); box-shadow: inset 0 0 0 3px var(--ink); color: transparent; }
.meter { height: 10px; border-radius: 5px; background: var(--mist-2); overflow: hidden; }
.meter > i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--party), #9A7BFF); transition: width .6s var(--ease); }

/* ticket (예약 요약) */
.ticket { position: relative; background: var(--paper); border: 1px solid var(--rule); border-radius: 20px; padding: 24px; }
.ticket__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ticket__perf { position: relative; margin: 20px -24px; border-top: 2px dashed var(--rule-2); }
.ticket__perf::before, .ticket__perf::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--mist); border: 1px solid var(--rule); }
.ticket__perf::before { left: -13px; clip-path: inset(0 0 0 50%); }
.ticket__perf::after { right: -13px; clip-path: inset(0 50% 0 0); }
.ticket__line { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 5px 0; }
.ticket__line span:first-child { color: var(--ink-3); }
.ticket__line b { font-weight: 700; text-align: right; }
.ticket__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; }
.ticket__total b { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

/* steps (실제 순서가 있는 흐름) */
.steps { display: grid; gap: 0; counter-reset: st; }
.steps--h { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
@media (max-width: 860px) { .steps--h { grid-auto-flow: row; } }
.st { position: relative; padding: 0 20px 28px 52px; counter-increment: st; }
.st::before { content: counter(st); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); border: 4px solid var(--rail, var(--party)); display: grid; place-items: center; font-weight: 800; font-size: 14px; z-index: 1; }
.st::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 0; width: 4px; background: var(--rail, var(--party)); opacity: .35; }
.st:last-child::after { display: none; }
.st h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; }
.st p { font-size: 14.5px; color: var(--ink-2); margin-top: 6px; }
.steps--h .st { padding: 52px 18px 0 0; }
.steps--h .st::after { left: 34px; right: 0; top: 15px; bottom: auto; width: auto; height: 4px; }
@media (max-width: 860px) { .steps--h .st { padding: 0 0 26px 52px; } .steps--h .st::after { left: 15px; top: 34px; bottom: 0; right: auto; width: 4px; height: auto; } }
.steps--gacha { --rail: var(--gacha-rail); }
.steps--pass { --rail: var(--pass-rail); }
.steps--biz { --rail: var(--biz); }

/* machine label (상품 카드) */
.mlabels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1040px) { .mlabels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* 줄을 꽉 채워 보여 줄 목록: 태블릿(3열)에서는 3의 배수만 */
@media (min-width: 721px) and (max-width: 1040px) { .mlabels--rows > :nth-child(n+7), .mlabels--rows > :nth-child(4):last-child { display: none; } }
@media (max-width: 720px) { .mlabels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.ml { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; transition: border-color .15s; }
a.ml:hover { border-color: var(--ink-2); }
.ml__art { aspect-ratio: 1.25; display: grid; place-items: center; background: var(--c, var(--gacha-soft)); position: relative; }
.ml__art svg { width: 46%; height: auto; }
.ml__flags { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.ml__body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ml__name { font-weight: 700; letter-spacing: -0.025em; line-height: 1.35; }
.ml__series { font-size: 13px; color: var(--ink-3); }
.ml__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ml__price { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.st-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; }
.st-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.st-sale { color: var(--ok); } .st-low { color: var(--warn); } .st-soldout { color: var(--err); } .st-check { color: var(--ink-3); }

/* store map (매장 구역도) */
.shopmap { width: 100%; height: auto; }
.shopmap .zone { fill: var(--mist); stroke: var(--rule-2); stroke-width: 2; }
.shopmap .zone.is-on { fill: var(--gacha); stroke: var(--gacha-rail); }
.shopmap text { font-family: var(--font); font-weight: 700; fill: var(--ink); }

/* online gacha machine */
.gm { position: relative; width: min(300px, 80vw); margin: 0 auto; }
.gm svg { width: 100%; height: auto; overflow: visible; }
.gm .knob { transform-origin: 150px 330px; transition: transform .9s var(--ease); }
.gm.is-turning .knob { transform: rotate(360deg); }
.gm .drop { opacity: 0; }
.gm.is-dropped .drop { animation: drop .7s var(--ease) forwards; }
@keyframes drop { 0% { opacity: 0; transform: translateY(-30px); } 60% { opacity: 1; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .gm .knob { transition: none; } .gm.is-dropped .drop { animation: none; opacity: 1; } }
.reveal { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.reveal__item { border: 1px solid var(--rule); border-radius: 14px; padding: 14px; text-align: center; background: var(--paper); }
.reveal__item b { display: block; margin-top: 8px; font-size: 14px; letter-spacing: -0.02em; }

/* market rows */
.mk { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--rule); }
.mk__art { width: 76px; height: 76px; border-radius: 14px; display: grid; place-items: center; background: var(--c, var(--gacha-soft)); }
.mk__art svg { width: 62%; }
.mk__title { font-weight: 700; letter-spacing: -0.02em; }
a.mk:hover .mk__title { color: var(--party); }
.mk__meta { font-size: 13px; color: var(--ink-3); margin-top: 4px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mk__price { font-weight: 800; font-size: 17px; text-align: right; white-space: nowrap; }
@media (max-width: 560px) { .mk { grid-template-columns: 60px minmax(0, 1fr); } .mk__art { width: 60px; height: 60px; } .mk__price { grid-column: 2; text-align: left; } }

/* calendar */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.cal__dow { padding: 10px; font-size: 12.5px; font-weight: 700; color: var(--ink-3); background: var(--mist); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-align: center; }
.cal__d { min-height: 96px; padding: 8px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 13px; position: relative; }
.cal__d.is-out { background: #FBFAFD; color: var(--ink-3); }
.cal__d.is-today .cal__n { background: var(--ink); color: #fff; }
.cal__n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-weight: 700; font-variant-numeric: tabular-nums; }
.cal__ev { display: block; margin-top: 4px; padding: 4px 6px; border-radius: 6px; background: var(--gacha-soft); border-left: 3px solid var(--gacha-rail); font-size: 12px; font-weight: 600; line-height: 1.35; }
@media (max-width: 620px) { .cal__d { min-height: 64px; padding: 4px; } .cal__ev { font-size: 0; padding: 0; height: 6px; border-left: 0; background: var(--gacha-rail); border-radius: 3px; } .cal__ev::after { content: ""; position: absolute; inset: 0; } .cal__ev ~ .cal__ev::after { content: none; } }

/* stat tiles (실제 수치만) */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fact { padding: 20px 16px 6px 0; }
.fact b { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact > span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); }

/* compare cards / plans */
.plan { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--rule); border-radius: var(--r-l); padding: 26px; background: var(--paper); }
.plan--pick { border: 2px solid var(--ink); }
.plan__price { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.plan ul { display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.plan li { position: relative; padding-left: 20px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--rail, var(--party)); }

/* faq */
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 4px; position: relative; font-weight: 700; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 4px 20px; color: var(--ink-2); max-width: 46em; }

/* station page header */
.station-head { padding: 40px 0 8px; }
.station-head__sign { display: flex; align-items: center; gap: 16px; padding-top: 16px; border-top: 8px solid var(--rail, var(--party)); }
.station-head--gacha { --rail: var(--gacha-rail); }

/* section hero (서브 페이지 첫 화면) */
.phero { padding: 56px 0 40px; }
.phero .t-lead { margin-top: 14px; }
.phero__row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
@media (max-width: 720px) { .phero { padding: 32px 0 24px; } }

/* booking layout */
.book { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
@media (max-width: 1040px) { .book { grid-template-columns: minmax(0, 1fr); } }
.book__aside { position: sticky; top: calc(var(--hd) + 66px); }
@media (max-width: 1040px) { .book__aside { position: static; } }
.bstep { border: 1px solid var(--rule); border-radius: var(--r-l); padding: 24px; background: var(--paper); }
.bstep + .bstep { margin-top: 16px; }
.bstep { scroll-margin-top: calc(var(--hd) + 64px); }
#pickStation { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
@media (max-width: 560px) { #pickStation { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } #pickStation .pick__o { padding: 12px; } .pick__more { display: none; } .bstep { padding: 18px 16px; } }
.bstep__h { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.bstep__n { width: 30px; height: 30px; border-radius: 50%; border: 4px solid var(--party); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.bstep.is-done .bstep__n { background: var(--party); color: #fff; }
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pick__o { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: 14px 16px; border: 1.5px solid var(--rule-2); border-radius: 14px; background: var(--paper); transition: border-color .15s, background .15s; }
.pick__o:hover { border-color: var(--ink-2); }
.pick__o[aria-pressed="true"], .pick__o.is-on { border-color: var(--party); background: var(--party-soft); box-shadow: inset 0 0 0 1px var(--party); }
.pick__o[disabled] { opacity: .45; cursor: not-allowed; }
.pick__o b { font-weight: 700; letter-spacing: -0.02em; }
.pick__o span { font-size: 13px; color: var(--ink-3); }
.pick__o .price { font-weight: 800; color: var(--ink); font-size: 15px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot { height: 44px; border-radius: 10px; border: 1.5px solid var(--rule-2); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 14.5px; }
.slot:hover { border-color: var(--ink-2); }
.slot[aria-pressed="true"] { background: var(--party); border-color: var(--party); color: #fff; }
.slot[disabled] { background: var(--mist); color: var(--ink-3); border-color: transparent; text-decoration: line-through; cursor: not-allowed; }
.days { position: relative; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.day { flex: none; width: 64px; height: 72px; border-radius: 14px; border: 1.5px solid var(--rule-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.day small { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.day b { font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.day.is-we small { color: var(--err); }
.day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.day[aria-pressed="true"] small { color: rgba(255, 255, 255, .7); }

/* modal / sheet */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.modal__bg { position: absolute; inset: 0; background: rgba(18, 11, 34, .42); }
.modal__box { position: relative; width: min(520px, 100%); max-height: min(86vh, 900px); max-height: min(86dvh, 900px); overflow-y: auto; overscroll-behavior: contain; background: var(--paper); border-radius: var(--r-l); padding: 28px; box-shadow: var(--lift); animation: pop .22s var(--ease); }
.modal__box--wide { width: min(760px, 100%); }
.modal__x { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.modal__x:hover { background: var(--mist); }
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 620px) {
  .modal { place-items: end center; padding: 0; }
  .modal__box { width: 100%; border-radius: 22px 22px 0 0; max-height: 90vh; max-height: 90dvh; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); animation: sheet .26s var(--ease); }
  @keyframes sheet { from { transform: translateY(30px); opacity: .6; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { .modal__box { animation: none; } }
.modal__box:focus, .modal__box:focus-visible { outline: none; }

/* toast */
.toasts { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); pointer-events: none; }
@media (max-width: 720px) { .toasts { bottom: calc(82px + env(safe-area-inset-bottom)); } }
.toast { background: var(--ink); color: #fff; padding: 13px 18px; border-radius: 14px; font-size: 14.5px; font-weight: 600; box-shadow: var(--lift); animation: pop .2s var(--ease); pointer-events: auto; }
.toast--ok { background: #0B6E4F; }
.toast--err { background: #9E1730; }

/* helper (도우미) */
.helper-fab { position: fixed; right: 20px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 44; height: 52px; padding: 0 18px 0 14px; border-radius: var(--pill); background: var(--ink); color: #fff; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; box-shadow: var(--lift); }
.helper-fab svg { width: 22px; height: 22px; }
@media (max-width: 720px) { .helper-fab { bottom: calc(80px + env(safe-area-inset-bottom)); right: 14px; height: 48px; padding: 0 14px; } .helper-fab span { display: none; } }
.helper { position: fixed; right: 20px; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 46; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 140px)); height: min(560px, calc(100dvh - 140px - env(safe-area-inset-bottom))); background: var(--paper); border-radius: 22px; box-shadow: var(--lift); border: 1px solid var(--rule); display: none; flex-direction: column; overflow: hidden; }
.helper.is-open { display: flex; animation: pop .2s var(--ease); }
@media (max-width: 720px) { .helper { right: 12px; bottom: calc(140px + env(safe-area-inset-bottom)); height: min(520px, calc(100vh - 200px)); height: min(520px, calc(100dvh - 200px - env(safe-area-inset-bottom))); } }
.helper__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
.helper__body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--mist); }
.bub { max-width: 88%; padding: 11px 14px; border-radius: 16px 16px 16px 4px; background: var(--paper); font-size: 14.5px; line-height: 1.55; border: 1px solid var(--rule); }
.bub--me { align-self: flex-end; background: var(--party); color: #fff; border-color: var(--party); border-radius: 16px 16px 4px 16px; }
.bub a { color: var(--party-deep); font-weight: 700; text-decoration: underline; }
.helper__quick { display: flex; flex-wrap: wrap; gap: 6px; }
.helper__quick button { height: 32px; padding: 0 12px; border-radius: var(--pill); border: 1.5px solid var(--rule-2); background: var(--paper); font-size: 13px; font-weight: 600; }
.helper__quick button:hover { border-color: var(--ink); }
.helper__form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--rule); }
.helper__form input { flex: 1; min-width: 0; height: 42px; border: 1.5px solid var(--rule-2); border-radius: var(--pill); padding: 0 14px; font-size: 16px; }
.helper__form button { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }

/* QR */
.qrbox { background: #fff; border: 1px solid var(--rule); border-radius: 16px; padding: 14px; display: inline-block; }
.qrbox svg { width: 180px; height: 180px; }

/* kiosk */
.kiosk { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 32px; background: var(--paper); }
.kiosk__box { text-align: center; max-width: 720px; }
.kiosk__qr { margin: 28px auto 0; width: min(420px, 70vw); aspect-ratio: 1; background: #fff; border: 8px solid var(--ink); border-radius: 28px; padding: 18px; }
.kiosk__qr svg { width: 100%; height: 100%; }
.kiosk__timer { margin-top: 18px; font-weight: 700; color: var(--ink-2); }

/* admin */
.adm { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: calc(100vh - var(--hd)); }
@media (max-width: 900px) { .adm { grid-template-columns: minmax(0, 1fr); } }
.adm__nav { border-right: 1px solid var(--rule); padding: 20px 12px; background: var(--mist); }
@media (max-width: 900px) { .adm__nav { border-right: 0; border-bottom: 1px solid var(--rule); display: flex; overflow-x: auto; gap: 4px; padding: 10px; } }
.adm__nav button { display: flex; width: 100%; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); text-align: left; }
@media (max-width: 900px) { .adm__nav button { width: auto; flex: none; } }
.adm__nav button:hover { background: var(--paper); color: var(--ink); }
.adm__nav button[aria-current="true"] { background: var(--ink); color: #fff; }
.adm__main { padding: 28px; min-width: 0; }
@media (max-width: 620px) { .adm__main { padding: 18px 14px; } }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi { border: 1px solid var(--rule); border-radius: 16px; padding: 18px; background: var(--paper); }
.kpi span { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.kpi b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.kpi small { font-size: 12.5px; color: var(--ink-3); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; padding-top: 10px; }
.bars i { flex: 1; background: var(--party); border-radius: 6px 6px 2px 2px; min-height: 3px; position: relative; }
.bars i span { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--ink-3); font-style: normal; white-space: nowrap; }
.adm-table td, .adm-table th { font-size: 13.5px; padding: 10px 10px; }
.adm-table select { height: 34px; border-radius: 8px; border: 1.5px solid var(--rule-2); padding: 0 8px; font-size: 13px; }
@media (pointer: coarse) { .adm-table select { font-size: 16px; height: 38px; } }

/* print: QR labels */
.labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.lab { border: 1px dashed #bbb; padding: 10px; text-align: center; page-break-inside: avoid; }
.lab svg { width: 120px; height: 120px; margin: 4px auto; }
.lab b { display: block; font-size: 18px; font-weight: 800; }
.lab small { font-size: 11px; color: #555; }
@media print {
  .hd, .subnav, .tabbar, .ft, .helper-fab, .topbar, .no-print, .adm__nav { display: none !important; }
  .adm { display: block; }
  body { padding: 0; }
  .print-area { display: block !important; }
}

/* utility motion: one orchestrated load moment on home */
.rm-anim .rm-node { opacity: 0; animation: nodeIn .4s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 300ms); }
@keyframes nodeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.rm-anim .rm-rail { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: railIn 1.2s var(--ease) forwards; }
@keyframes railIn { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .rm-anim .rm-node, .rm-anim .rm-rail { animation: none; opacity: 1; stroke-dashoffset: 0; } }

/* =====================================================================
   PARTY — 게임파티룸 섹션
   ===================================================================== */
.phero--split .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px; align-items: center; }
@media (max-width: 1180px) { .phero--split .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 50%); gap: 32px; } }
@media (max-width: 900px) { .phero--split .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.phero__cta { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }

/* 빈 방 전광판 */
.vac { border: 1px solid var(--rule); border-radius: var(--r-l); background: var(--paper); overflow: hidden; }
.vac__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--rule); }
.vac__head b { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.vac__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); }
.vac__grid > * { padding: 11px 12px; border-bottom: 1px solid var(--rule); display: flex; align-items: center; min-width: 0; }
.vac__grid > :nth-last-child(-n+4) { border-bottom: 0; }
.vac__col { background: var(--mist); font-size: 12.5px; font-weight: 700; color: var(--ink-3); justify-content: center; text-align: center; line-height: 1.3; }
.vac__col:first-child { justify-content: flex-start; padding-left: 20px; }
.vac__st { gap: 8px; padding-left: 20px !important; font-weight: 700; font-size: 14.5px; letter-spacing: -0.02em; white-space: nowrap; }
.vac__st .code { min-width: 36px; height: 22px; font-size: 11.5px; border-width: 1.5px; }
.vac__c { justify-content: center; }
.vac__c a, .vac__c span { display: inline-flex; align-items: center; justify-content: center; gap: 5px; width: 100%; height: 32px; border-radius: 8px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.vac__c a { background: var(--party-soft); color: var(--party-deep); }
.vac__c a:hover { background: var(--party); color: #fff; }
.vac__c span { color: var(--ink-3); background: var(--mist); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.vac__foot { padding: 12px 20px; border-top: 1px solid var(--rule); font-size: 12.5px; color: var(--ink-3); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
@media (max-width: 420px) { .vac__st { padding-left: 12px !important; } .vac__st .code { display: none; } .vac__col:first-child { padding-left: 12px; } .vac__c a, .vac__c span { font-size: 12px; } }

/* 지점 카드 */
.stcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1040px) { .stcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .stcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.stc { display: flex; flex-direction: column; border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; background: var(--paper); transition: border-color .15s; }
a.stc:hover { border-color: var(--ink-2); }
.stc.is-dim { opacity: .38; }
.stc__ph { position: relative; aspect-ratio: 4 / 3; background: var(--mist-2); overflow: hidden; }
.stc__ph img { width: 100%; height: 100%; object-fit: cover; }
.stc__sign { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 4px; border-radius: 8px; background: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: -0.02em; box-shadow: 0 1px 6px rgba(18, 11, 34, .14); }
.stc__sign .code { height: 20px; min-width: 34px; font-size: 11px; border-width: 1.5px; padding: 0 5px; }
.stc__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.stc__name { font-weight: 800; font-size: 16.5px; letter-spacing: -0.03em; line-height: 1.3; }
.stc__meta { font-size: 13.5px; color: var(--ink-3); }
.stc__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.stc__tags .tag { height: 24px; font-size: 12px; padding: 0 8px; }
.stc__tags .tag.is-hit { background: var(--party-soft); color: var(--party-deep); }
@media (max-width: 760px) { .stc__body { padding: 12px; } .stc__name { font-size: 15px; } .stc__tags .tag:nth-child(n+3) { display: none; } }

/* 타임 카드 */
.tcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .tcs { grid-template-columns: minmax(0, 1fr); } }
.tc { position: relative; border: 1px solid var(--rule); border-radius: var(--r-l); padding: 24px; display: flex; flex-direction: column; gap: 8px; background: var(--paper); }
.tc--best { border: 2px solid var(--party); }
.tc__flag { position: absolute; right: 18px; top: -13px; }
.tc__hours { font-size: 14.5px; color: var(--ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.tc__prices { display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; border-top: 1px solid var(--rule); }
.tc__prices > div { padding-top: 14px; white-space: nowrap; }
@media (max-width: 400px) { .tc__prices b { font-size: 20px; } .tc { padding: 22px 18px; } }
.tc__prices small { display: block; font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.tc__prices b { font-size: clamp(19px, 1.9vw, 23px); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tc__prices em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--ink-3); margin-left: 2px; }
.tc p { font-size: 14px; color: var(--ink-2); }

/* 비교표 */
.cmp th, .cmp td { text-align: center; vertical-align: middle; white-space: nowrap; }
.cmp th:first-child, .cmp td:first-child { text-align: left; }
.cmp tbody tr.is-dim { opacity: .35; }
.cmp tbody tr.is-hit th { color: var(--party-deep); }
.yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--party-soft); color: var(--party-deep); }
.yes svg { width: 15px; height: 15px; }
.no { display: inline-block; width: 12px; height: 2px; border-radius: 1px; background: var(--rule-2); vertical-align: middle; }

/* 지점 빈 시간표 (14일) */
.avail { min-width: 760px; }
.avail th, .avail td { padding: 8px 4px; text-align: center; border-bottom: 1px solid var(--rule); font-size: 13px; }
.avail thead th { font-weight: 700; color: var(--ink-3); font-size: 12px; line-height: 1.3; }
.avail thead th b { display: block; font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }
.avail thead th.is-we b { color: var(--err); }
.avail tbody th { text-align: left; padding-left: 0; font-size: 13.5px; font-weight: 700; white-space: nowrap; position: sticky; left: 0; background: var(--paper); z-index: 1; padding-right: 10px; }
.avail td a, .avail td span { display: inline-grid; place-items: center; width: 100%; min-width: 38px; height: 34px; border-radius: 8px; font-weight: 700; font-size: 12.5px; }
.avail td a { background: var(--party-soft); color: var(--party-deep); }
.avail td a:hover { background: var(--party); color: #fff; }
.avail td span { background: var(--mist); color: var(--ink-3); }

/* 예약 화면 */
.pick--s { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.pick__o .row { gap: 6px; }
.pick__o.is-full { opacity: .5; }
.opts { display: grid; gap: 8px; }
.opt { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--rule-2); border-radius: 12px; cursor: pointer; }
.opt:hover { border-color: var(--ink-2); }
.opt input { width: 20px; height: 20px; accent-color: var(--party); margin: 0; }
.opt b { display: block; font-weight: 700; font-size: 15px; letter-spacing: -0.02em; }
.opt small { font-size: 13px; color: var(--ink-3); }
.opt__p { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.opt:has(input:checked) { border-color: var(--party); background: var(--party-soft); }
.bstep__sum { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--party-deep); text-align: right; }
.bstep__wait { font-size: 14.5px; color: var(--ink-3); padding: 6px 0; }
.bstep.is-off .bstep__n { border-color: var(--rule-2); color: var(--ink-3); }
.daypick { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.daypick .inp { width: auto; height: 42px; }
.day[disabled] { opacity: .35; cursor: not-allowed; }
.day .dfree { font-size: 11.5px; font-weight: 700; color: var(--party); line-height: 1; }
.day[aria-pressed="true"] .dfree { color: var(--gacha); }
.ticket__rows { margin-top: 6px; }
.ticket__note { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; line-height: 1.5; }
.ticket .disc b { color: var(--party-deep); }
.paybar { display: none; }
@media (max-width: 1040px) {
  .paybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; background: var(--paper); border-top: 1px solid var(--rule); padding: 10px max(var(--gut), env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(var(--gut), env(safe-area-inset-left)); align-items: center; gap: 14px; box-shadow: 0 -6px 20px rgba(18, 11, 34, .06); }
  .paybar__sum { flex: 1; min-width: 0; line-height: 1.25; }
  .paybar__sum small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .paybar__sum b { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
  .page-booking .ft { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}
@media (max-width: 720px) { .page-booking .tabbar { display: none; } .page-booking { padding-bottom: 0; } }

/* 예약 완료 */
.done { max-width: 560px; margin: 0 auto; }
.done__mark { width: 64px; height: 64px; border-radius: 50%; background: var(--party); color: #fff; display: grid; place-items: center; margin: 0 auto; }
.done__mark svg { width: 30px; height: 30px; }
.done .ticket { background: var(--paper); }
.done .ticket__code { font-size: 26px; font-weight: 800; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.gift-row { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--pass-soft); }
.gift-row b { font-weight: 800; }

/* 패키지 */
.pkgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.pkg { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--rule); border-radius: var(--r-l); padding: 24px; background: var(--paper); }
.pkg__who { font-size: 13px; font-weight: 700; color: var(--party-deep); }
.pkg__inc { display: flex; flex-wrap: wrap; gap: 6px; }
.pkg__bonus { font-size: 13.5px; color: var(--ink-2); padding-top: 10px; border-top: 1px dashed var(--rule-2); }
.pkg .btn { margin-top: auto; align-self: flex-start; }

/* 지점 상세 */
.st-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
@media (max-width: 960px) { .st-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.st-hero .ph { border-radius: var(--r-l); }
.st-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); margin-top: 20px; }
.st-facts div { padding: 14px 10px 0 0; }
.st-facts b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.st-facts span { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.st-facts b small { font-size: 14px; font-weight: 700; margin-left: 2px; }
@media (max-width: 420px) { .st-facts b { font-size: 22px; } }
.rv { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.rv__top { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--ink-3); }
.rv__stars { color: var(--party); letter-spacing: 2px; font-size: 14px; }
.rv p { margin-top: 6px; color: var(--ink); }

/* =====================================================================
   GACHA — 가챠샵 섹션
   ===================================================================== */
.ghero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 48px; align-items: center; }
@media (max-width: 1180px) { .ghero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); gap: 36px; } }
@media (max-width: 900px) { .ghero .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.ghero__ph { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist-2); }
.ghero__ph img { width: 100%; height: 100%; object-fit: cover; }
.ghero__sign { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 6px; border-radius: 10px; background: #fff; font-weight: 800; font-size: 14px; letter-spacing: -0.02em; box-shadow: 0 2px 10px rgba(18, 11, 34, .16); }
.ghero__sign .code { height: 24px; }
.gfacts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.dday { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border-radius: 10px; background: var(--gacha); font-weight: 800; }
.dday b { font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* 입고 일정 줄 */
.arr { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--rule); }
.arr__date { width: 72px; height: 72px; border-radius: 16px; background: var(--gacha-soft); border: 2px solid var(--gacha-rail); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.arr__date small { font-size: 12px; font-weight: 700; color: var(--gacha-ink); }
.arr__date b { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.arr__list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.arr__list a { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 4px; border-radius: 8px; background: var(--mist); font-size: 13px; font-weight: 600; }
.arr__list a:hover { background: var(--gacha-soft); }
.arr__list svg { width: 20px; height: 20px; }
@media (max-width: 560px) { .arr { grid-template-columns: 60px minmax(0, 1fr); } .arr__date { width: 60px; height: 60px; } .arr > :last-child { grid-column: 2; justify-self: start; } }

/* 매장 지도 */
.zonemap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: center; }
@media (max-width: 720px) { .zonemap { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.zone-list { border-top: 1px solid var(--rule); }
.zone-list button { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 13px 4px; border-bottom: 1px solid var(--rule); align-items: center; text-align: left; }
.zone-list button:hover .t-strong, .zone-list button[aria-pressed="true"] .t-strong { color: var(--gacha-ink); }
.zone-badge { width: 38px; height: 38px; border-radius: 10px; background: var(--mist-2); display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.zone-list button[aria-pressed="true"] .zone-badge { background: var(--gacha); box-shadow: inset 0 0 0 2px var(--ink); }
.shopmap .zone { cursor: pointer; transition: fill .15s; }
.shopmap .zone:hover { fill: var(--gacha-soft); }
.shopmap .fac { fill: #fff; stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 4 4; }
.shopmap .fac-t { font-size: 13px; font-weight: 700; fill: var(--ink-2); }
.shopmap .door { stroke: var(--party); stroke-width: 7; stroke-linecap: round; }
.shopmap .zt { font-size: 26px; font-weight: 800; pointer-events: none; }
.shopmap .zs { font-size: 12.5px; font-weight: 600; fill: var(--ink-2); pointer-events: none; }
.shopmap .pin { fill: var(--party); stroke: #fff; stroke-width: 3; }

/* 상품 찾기 필터 */
.gfil { display: grid; gap: 12px; }
.gfil__row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; }
.gfil__row > span { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
@media (max-width: 620px) { .gfil__row { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
.gsearch { display: flex; gap: 10px; }
.gsearch .inp { flex: 1; }
.gsearch .sel { width: auto; }
.gcount { font-size: 14px; color: var(--ink-2); font-weight: 600; }

/* 기기 라벨 (상세 화면) */
.label { border: 3px solid var(--ink); border-radius: 22px; overflow: hidden; background: #fff; }
.label__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; background: var(--gacha); border-bottom: 3px solid var(--ink); font-weight: 800; font-size: 14px; letter-spacing: 0.02em; }
.label__code { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; background: #fff; border: 2px solid var(--ink); border-radius: 8px; padding: 1px 10px; }
.label__body { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; padding: 22px; align-items: center; }
@media (max-width: 520px) { .label__body { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 16px; } }
.label__art { aspect-ratio: 1; border-radius: 16px; display: grid; place-items: center; background: var(--c, var(--gacha-soft)); }
.label__art svg { width: 72%; height: auto; }
.label__name { margin: 0; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.2; }
.label__price { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-top: 6px; }
.label__price small { font-size: 14px; font-weight: 700; color: var(--ink-3); margin-left: 4px; }
.label__foot { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 12px 16px; border-top: 2px dashed var(--rule-2); font-size: 13.5px; color: var(--ink-2); }

/* 시리즈 구성 */
.lineup { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--rule-2); border-radius: 12px; font-weight: 600; font-size: 14.5px; text-align: left; background: var(--paper); }
.li svg { width: 32px; height: 32px; flex: none; }
button.li:hover { border-color: var(--ink-2); }
.li.is-have { border-color: var(--pass-rail); background: var(--pass-soft); }
.li__chk { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--rule-2); display: grid; place-items: center; flex: none; color: transparent; }
.li__chk svg { width: 13px; height: 13px; }
.li.is-have .li__chk { background: var(--pass-rail); border-color: var(--pass-rail); color: #fff; }

/* 온라인 뽑기 */
.gm-wrap { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 760px) { .gm-wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; } .gm-wrap .gm { width: min(220px, 60vw); } }
.gm-wrap--modal { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 28px; align-items: start; }
.gm-wrap--modal .gm { width: min(220px, 60vw); }
@media (max-width: 760px) { .gm-wrap--modal { grid-template-columns: minmax(0, 1fr); gap: 14px; } .gm-wrap--modal .gm { width: 132px; } }
@media (max-height: 520px) { .gm-wrap--modal { grid-template-columns: minmax(0, 1fr); } .gm-wrap--modal .gm { display: none; } .gm-wrap--modal #dwGo, .gm-wrap--modal .btn--l { position: sticky; bottom: 0; z-index: 2; box-shadow: 0 -10px 18px var(--paper); } }
.olist { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.oc { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--rule); border-radius: 18px; background: var(--paper); text-align: left; }
.oc:hover { border-color: var(--ink-2); }
.oc__art { width: 84px; height: 84px; border-radius: 14px; display: grid; place-items: center; background: var(--c, var(--gacha-soft)); }
.oc__art svg { width: 66%; }
.oc__name { font-weight: 800; letter-spacing: -0.025em; line-height: 1.3; }
.oc__meta { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.oc .meter { height: 6px; margin-top: 8px; }
.oc .meter > i { background: linear-gradient(90deg, var(--gacha-rail), var(--gacha)); }
.oc.is-out { opacity: .5; }
.cntpick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cntpick button { height: 52px; border-radius: 12px; border: 1.5px solid var(--rule-2); font-weight: 800; font-size: 16px; }
.cntpick button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cntpick button small { display: block; font-size: 11.5px; font-weight: 600; opacity: .7; }
.cntpick button[disabled] { opacity: .35; }

/* 보관함 */
.boxgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.bx { position: relative; border: 1.5px solid var(--rule-2); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; background: var(--paper); }
.bx svg { width: 44px; height: 44px; margin-bottom: 4px; }
.bx[aria-pressed="true"] { border-color: var(--party); background: var(--party-soft); }
.bx b { font-size: 14px; letter-spacing: -0.02em; }
.bx small { font-size: 12px; color: var(--ink-3); }
.bx .lb { position: absolute; right: 10px; top: 10px; }

/* 쪽지·거래 */
.thread { display: flex; flex-direction: column; gap: 8px; max-height: 360px; overflow-y: auto; padding: 14px; background: var(--mist); border-radius: 14px; }
.msg { max-width: 82%; padding: 9px 13px; border-radius: 14px 14px 14px 4px; background: #fff; border: 1px solid var(--rule); font-size: 14.5px; line-height: 1.5; }
.msg--me { align-self: flex-end; background: var(--ink); color: #fff; border-color: var(--ink); border-radius: 14px 14px 4px 14px; }
.msg small { display: block; font-size: 11.5px; opacity: .6; margin-top: 2px; }
.tsteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.tsteps span { text-align: center; font-size: 12.5px; font-weight: 700; padding: 8px 4px; border-radius: 8px; background: var(--mist); color: var(--ink-3); line-height: 1.3; }
.tsteps span.is-on { background: var(--gacha); color: var(--ink); }
.mk-type { min-width: 44px; justify-content: center; }
.reveal__item svg { width: 64px; height: 64px; margin: 0 auto; }
.reveal__item .lb { margin-top: 6px; }

/* =====================================================================
   PASS — 멤버십 섹션
   ===================================================================== */
.phero--pass .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: center; }
@media (max-width: 960px) { .phero--pass .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.tcard--big { max-width: 440px; }
.tcard__code { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; opacity: .85; }
.perks4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .perks4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .perks4 { grid-template-columns: minmax(0, 1fr); } }
.perk { border: 1px solid var(--rule); border-radius: var(--r-l); padding: 22px; background: var(--paper); display: flex; flex-direction: column; gap: 8px; }
.perk__k { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.lvrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--rule); border-radius: var(--r-l); overflow: hidden; }
@media (max-width: 860px) { .lvrow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lv { padding: 22px; border-right: 1px solid var(--rule); background: var(--paper); display: flex; flex-direction: column; gap: 6px; }
.lv:last-child { border-right: 0; }
@media (max-width: 860px) { .lv:nth-child(2) { border-right: 0; } .lv:nth-child(-n+2) { border-bottom: 1px solid var(--rule); } }
.lv__rate { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--pass-ink); }
.lv ul { font-size: 13.5px; color: var(--ink-2); display: grid; gap: 4px; margin-top: 6px; }
.lv li { padding-left: 14px; position: relative; }
.lv li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--pass-rail); }
.lv.is-me { background: var(--pass-soft); }

/* 로그인 */
.auth { max-width: 460px; margin: 0 auto; }
.auth .panel { padding: 32px; }
@media (max-width: 560px) { .auth .panel { padding: 22px; } }
.otp { font-size: 24px; letter-spacing: 0.4em; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.otp-hint { font-size: 13.5px; background: var(--gacha-soft); padding: 10px 12px; border-radius: 10px; }
.timer { font-variant-numeric: tabular-nums; color: var(--err); font-weight: 700; }

/* 내 PASS */
.me-top { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 960px) { .me-top { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.wtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wt { border: 1px solid var(--rule); border-radius: 16px; padding: 16px; background: var(--paper); }
.wt span { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.wt b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.wt a { display: inline-block; padding: 6px 5px; margin: -4px -5px; font-size: 13px; font-weight: 700; color: var(--party-deep); }
@media (max-width: 420px) { .wt { padding: 12px; } .wt b { font-size: 19px; } }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; position: sticky; top: calc(var(--hd) + 50px); background: var(--paper); z-index: 30; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; height: 48px; padding: 0 14px; font-weight: 700; font-size: 15px; color: var(--ink-3); border-bottom: 3px solid transparent; margin-bottom: -1px; display: inline-flex; align-items: center; gap: 6px; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--pass-rail); }
.tabs .cnt { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--err); color: #fff; font-size: 11.5px; display: inline-grid; place-items: center; }
.bk { border: 1px solid var(--rule); border-radius: 18px; padding: 18px 20px; background: var(--paper); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.bk + .bk { margin-top: 10px; }
.bk__t { font-weight: 800; letter-spacing: -0.02em; }
.bk__m { font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
@media (max-width: 560px) { .bk { grid-template-columns: minmax(0, 1fr); } }
.cp { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 14px; align-items: center; border: 1px solid var(--rule); border-radius: 16px; padding: 14px 16px 14px 0; overflow: hidden; background: var(--paper); }
.cp + .cp { margin-top: 10px; }
.cp__bar { align-self: stretch; background: var(--pass-rail); }
.cp--party .cp__bar { background: var(--party); }
.cp--gacha .cp__bar { background: var(--gacha-rail); }
.cp.is-off { opacity: .5; }
.note-row { padding: 14px 4px; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.note-row i { width: 8px; height: 8px; border-radius: 50%; margin-top: 8px; background: transparent; }
.note-row.is-new i { background: var(--err); }
.boxbar { position: sticky; bottom: 0; background: var(--paper); border-top: 1px solid var(--rule); padding: 12px 0; margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; z-index: 5; }
@media (max-width: 720px) { .boxbar { bottom: calc(64px + env(safe-area-inset-bottom)); } }
.ledger td { font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .ledger thead { display: none; }
  .ledger, .ledger tbody { display: block; }
  .ledger tr { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 2px; padding: 12px 2px; border-bottom: 1px solid var(--rule); }
  .ledger td { padding: 0; border: 0; text-align: right !important; font-size: 14px; }
  .ledger td:nth-child(1) { flex: 1 0 100%; text-align: left !important; font-size: 12.5px; color: var(--ink-3); }
  .ledger td:nth-child(2) { flex: 1 1 140px; margin-right: auto; text-align: left !important; font-weight: 600; color: var(--ink); }
  .ledger td:nth-child(5) span:not(.t-muted)::after { content: " XP"; }
  .ledger td:has(> .t-muted) { display: none; }
}
.plus { color: var(--ok); font-weight: 700; } .minus { color: var(--err); font-weight: 700; }

/* 충전·구독 */
.pkgs4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 12px; padding-top: 6px; }
@media (max-width: 760px) { .pkgs4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.coin { position: relative; border: 1.5px solid var(--rule-2); border-radius: 16px; padding: 18px 16px; text-align: left; background: var(--paper); display: flex; flex-direction: column; gap: 4px; }
.coin:hover { border-color: var(--ink-2); }
.coin[aria-pressed="true"] { border-color: var(--gacha-rail); background: var(--gacha-soft); box-shadow: inset 0 0 0 1px var(--gacha-rail); }
.coin b { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.coin span { font-size: 13.5px; color: var(--ink-2); }
.coin .lb { position: absolute; right: 12px; top: -10px; }
.plan--pass { border: 2px solid var(--pass-rail); --rail: var(--pass-rail); }

/* 컬렉션 북 */
.cb { border: 1px solid var(--rule); border-radius: 18px; background: var(--paper); overflow: hidden; }
.cb + .cb { margin-top: 12px; }
.cb summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 18px 14px 14px; }
.cb summary::-webkit-details-marker { display: none; }
.cb__art { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: var(--c); }
.cb__art svg { width: 70%; }
.cb__n { font-weight: 800; font-variant-numeric: tabular-nums; }
.cb .meter { height: 6px; margin-top: 6px; }
.cb .meter > i { background: linear-gradient(90deg, var(--pass-rail), var(--pass)); }
.cb__body { padding: 0 18px 18px; }
.cb.is-done { border-color: var(--pass-rail); }

/* 체크인 결과 */
.ci { max-width: 520px; margin: 0 auto; text-align: center; }
.ci .stamps { margin: 20px auto 0; }
.stamp.is-new { animation: stampIn .5s var(--ease); }
@keyframes stampIn { 0% { transform: scale(1.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .stamp.is-new { animation: none; } }
.kiosk__store { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.kiosk h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.15; margin-top: 18px; }
.kiosk p { color: var(--ink-2); margin-top: 12px; font-size: 18px; }
.kiosk__bar { height: 8px; border-radius: 4px; background: var(--mist-2); overflow: hidden; width: min(420px, 70vw); margin: 14px auto 0; }
.kiosk__bar i { display: block; height: 100%; background: var(--pass-rail); transition: width 1s linear; }
/* 매장 태블릿을 가로로 세웠을 때: 안내는 왼쪽, QR은 오른쪽 */
@media (orientation: landscape) and (max-height: 900px) and (min-width: 700px) {
  .kiosk__box { max-width: 1120px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 56px; align-items: center; text-align: left; }
  .kiosk__box > * { grid-column: 1; }
  .kiosk__box > .kiosk__qr { grid-column: 2; grid-row: 1 / span 4; margin: 0; width: min(420px, 60vh); }
  .kiosk__box > .kiosk__bar { grid-column: 2; grid-row: 5; width: min(420px, 60vh); margin: 14px 0 0; }
  .kiosk__box > .kiosk__timer { grid-column: 2; grid-row: 6; text-align: center; }
}
