/* ───────────────────────── Vyu design system ─────────────────────────
   Light, product-style: warm white, near-black type, one coral accent. The 3D hall stays dark,
   so controls floating over it are white glass. Layouts: phone <640 · tablet 640–1023 ·
   split ≥1024 (set by JS as #app[data-layout]); seat card mode in #app[data-sheet] =
   bottom | side | float. */

:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --surface-2: #f2f0ec;
  --surface-3: #e6e3dd;
  --line: rgba(23, 20, 17, .10);
  --line-2: rgba(23, 20, 17, .16);
  --text: #17140f;
  --muted: #57514a;      /* 8:1 on white */
  --faint: #736c64;      /* 5.2:1 on white */
  --accent: #c8432e;     /* 4.9:1 on white, white text on it 4.9:1 */
  --accent-hi: #b13a27;
  --accent-soft: rgba(200, 67, 46, .09);
  --gold: var(--accent);       /* legacy name: every highlight now uses the accent */
  --gold-hi: var(--accent-hi);
  --ink: #ffffff;              /* text on accent / dark fills */
  --good: #16804d;
  --warn: #b54f0b;
  --info: #2563c9;
  --seat: #d6cfc7;
  --seat-rec: #b0525e;
  --seat-mot: #4272a4;
  --brand: #c8432e;            /* logo square: same in both themes */
  --on-text: #ffffff;          /* text on a var(--text) fill (primary buttons, toast) */
  --text-hover: #2c2720;
  --appbar-bg: rgba(247, 246, 243, .86);
  --appbar-solid: rgba(247, 246, 243, .97);
  --glass: rgba(255, 255, 255, .86);        /* controls floating over the dark 3D hall */
  --glass-hi: #ffffff;
  --glass-line: rgba(255, 255, 255, .6);
  --glass-solid: rgba(255, 255, 255, .97);
  --scrim: rgba(23, 20, 17, .42);
  --shadow-up: 0 -8px 24px rgba(23, 20, 17, .06);
  --water: #cfe3ec;
  --water-ink: #3f7891;
  --map-label: #6f675f;
  --map-grid: rgba(23, 20, 17, .05);
  --pin: #8f877e;
  --shadow-sm: 0 1px 2px rgba(23, 20, 17, .05), 0 1px 1px rgba(23, 20, 17, .03);
  --shadow-md: 0 12px 32px -8px rgba(23, 20, 17, .14), 0 2px 6px rgba(23, 20, 17, .05);
  --r-lg: 20px;
  --r-md: 14px;
  --panel: 440px;
  --sheet-h: 0px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
  font-family: var(--font);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

/* ───────── dark theme: set on <html data-theme="dark"> (toggle in the home app bar; first visit
   follows the system setting). Same structure, warm charcoal surfaces, a lighter coral accent
   with dark text on it (4.5:1+), white-glass controls become dark glass over the 3D hall. */
:root[data-theme='dark'] {
  --bg: #100e0c;
  --surface: #191613;
  --surface-2: #221e1a;
  --surface-3: #2e2924;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .15);
  --text: #f3efe9;
  --muted: #b5ada3;      /* 8:1 on surface */
  --faint: #8f877e;      /* 4.9:1 on surface */
  --accent: #f07a62;     /* 6.4:1 on surface */
  --accent-hi: #f58d78;
  --accent-soft: rgba(240, 122, 98, .13);
  --ink: #1d0f0b;        /* text on the accent fill: 7:1 */
  --good: #5fd39a;
  --warn: #f5a35f;
  --info: #7fb0ff;
  --seat: #4a433c;
  --on-text: #17140f;
  --text-hover: #ffffff;
  --appbar-bg: rgba(16, 14, 12, .84);
  --appbar-solid: rgba(16, 14, 12, .97);
  --glass: rgba(25, 22, 19, .78);
  --glass-hi: rgba(46, 41, 36, .95);
  --glass-line: rgba(255, 255, 255, .1);
  --glass-solid: rgba(25, 22, 19, .97);
  --scrim: rgba(0, 0, 0, .62);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-md: 0 14px 34px -8px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .3);
  --shadow-up: 0 -8px 24px rgba(0, 0, 0, .35);
  --water: #1c3a47;
  --water-ink: #8fbfd4;
  --map-label: #a39a90;
  --map-grid: rgba(255, 255, 255, .04);
  --pin: #8f877e;
  color-scheme: dark;
}
:root[data-theme='dark'] .chip[aria-pressed='true'], :root[data-theme='dark'] .seg button[aria-pressed='true'] { box-shadow: none; }
:root[data-theme='dark'] .seg button[aria-pressed='true'] { background: var(--surface-2); }

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); overflow: hidden; }
body { font-size: 16px; line-height: 1.5; }
html.theme-anim, html.theme-anim * { transition: background-color .3s ease, border-color .3s ease, color .2s ease !important; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; text-align: inherit; }
button:disabled { cursor: default; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
/* headings and <main> take focus on page change for screen readers; no ring for that */
[tabindex='-1']:focus:not(.seat) { outline: none; }
::selection { background: rgba(200, 67, 46, .18); color: var(--text); }
.skip { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; outline: 2px solid var(--text); outline-offset: 2px; }
.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; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ───────────────────────── shell ───────────────────────── */
#app { position: fixed; inset: 0; overflow: hidden; background: var(--bg); }
#gl { position: absolute; inset: 0; touch-action: none; cursor: grab; opacity: 0; transition: opacity .5s ease; }
#gl.on { opacity: 1; }
#gl:active { cursor: grabbing; }
#gl canvas { display: block; width: 100% !important; height: 100% !important; }
#gl::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 75% 70% at 50% 45%, transparent 55%, rgba(0, 0, 0, .26) 85%, rgba(0, 0, 0, .55) 100%); }
#screen { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; overscroll-behavior: contain; }
#stage { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.pe { pointer-events: auto; }

/* seat map and 3D live together only in split layout */
#app:not([data-layout='split'])[data-route='seats'] #gl { display: none; }
#app[data-route='view'] #screen { pointer-events: none; }
#app[data-layout='split'][data-route='seats'] #screen { right: auto; width: var(--panel); border-right: 1px solid var(--line); background: var(--bg); z-index: 6; }
#app[data-layout='split'][data-route='seats'] #gl,
#app[data-layout='split'][data-route='seats'] #stage { left: var(--panel); }
@media (max-width: 639px) { #gl::after { display: none; } }

/* ───────────────────────── primitives ───────────────────────── */
.icon-btn { position: relative; width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.icon-btn:hover { background: var(--surface-3); }
.appbar .icon-btn { background: var(--surface); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.appbar .icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:disabled { opacity: .35; }
.icon-btn .count { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; }

.btn { height: 52px; padding: 0 24px; border-radius: 26px; font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: background .2s, transform .1s, opacity .2s; white-space: nowrap; }
.btn:active:not(:disabled) { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; }
.btn.lg { height: 56px; width: 100%; font-size: 17px; }
.btn.primary { background: var(--text); color: var(--on-text); }
.btn.primary:hover { background: var(--text-hover); }
.btn.light { background: var(--text); color: var(--on-text); }
.btn.gold { background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(200, 67, 46, .35); }
.btn.ghost { border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-sm); }
.btn.ghost:hover { background: var(--surface-2); }
.btn:disabled { background: var(--surface-3); color: var(--faint); }

.chip { min-height: 44px; padding: 0 18px; border-radius: 22px; background: var(--surface); color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; border: 1px solid var(--line); transition: all .2s; }
.chip:hover { color: var(--text); }
.chip[aria-pressed='true'] { background: var(--text); border-color: var(--text); color: var(--on-text); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag, .badge { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 0 10px; border-radius: 13px; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--surface-2); white-space: nowrap; }
.badge svg { width: 13px; height: 13px; stroke-width: 3; }
.badge.ok { color: var(--accent); background: var(--accent-soft); }
.badge.warn { color: var(--warn); background: rgba(181, 79, 11, .09); }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.eyebrow svg { width: 15px; height: 15px; }
.h-sm.center, .t-page .h-sm { text-align: center; }
.h-sm { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.fine { font-size: 13px; color: var(--faint); line-height: 1.6; max-width: 70ch; }
.empty { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 56px 24px; color: var(--muted); }
.empty b { color: var(--text); font-size: 17px; }
.empty .btn { margin-top: 14px; }
.empty-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; background: var(--accent-soft); color: var(--accent); }
.empty-ico svg { width: 24px; height: 24px; }

.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg button { min-height: 44px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: all .2s; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed='true'] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.seg.wide { display: flex; justify-content: center; margin-bottom: 16px; }
.seg.wide button { flex: 1; }

.ring { position: relative; display: block; width: var(--s); height: var(--s); flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4; }
.ring .trk { stroke: var(--surface-3); }
.ring .val { stroke-linecap: round; transition: stroke-dashoffset .6s ease; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: max(13px, calc(var(--s) * .34)); font-weight: 800; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-sm); }

/* ───────────────────────── app bar & pages ───────────────────────── */
.appbar { position: sticky; top: 0; z-index: 10; background: var(--appbar-bg); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.appbar-in { max-width: 760px; margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 clamp(12px, 4vw, 40px); }
.appbar-title { flex: 1; min-width: 0; display: grid; line-height: 1.25; font: inherit; margin: 0; }
.appbar-title b { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar-title span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar-actions { display: flex; gap: 8px; margin-left: auto; }
.appbar .sp { width: 44px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.brand.sm { font-size: 18px; }
.brand.sm .logo { width: 26px; height: 26px; border-radius: 8px; box-shadow: none; }
.brand.sm .logo svg { width: 15px; height: 15px; }
.appbar-in.wide { max-width: 1200px; }
.nav-btn { position: relative; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 22px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-sm); transition: color .2s, background .2s, border-color .2s; }
.nav-btn:hover { color: var(--text); background: var(--surface-2); }
.nav-btn svg { width: 19px; height: 19px; flex: none; }
.nav-btn > span:not(.count) { display: none; }
.nav-btn .count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
@media (max-width: 639px) { .nav-btn .count { position: absolute; top: -4px; right: -4px; } .nav-btn { padding: 0; width: 44px; } }
@media (min-width: 640px) { .nav-btn > span:not(.count) { display: inline; } .nav-btn { padding: 0 16px; } }
/* Vyu mark: a white seat on a coral rounded square */
.logo { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(200, 67, 46, .3); }
.logo svg { width: 18px; height: 18px; stroke-width: 2.2; }

.page { max-width: 760px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px) 72px; display: grid; gap: 20px; }
.page.narrow { padding-top: 20px; }

/* ───────────────────────── home ───────────────────────── */
.hero { display: grid; gap: 16px; justify-items: center; text-align: center; padding: clamp(28px, 6vw, 64px) 0 clamp(8px, 2vw, 16px); }
/* Hierarchy: the brand is the headline; the tagline is a clear second level below it. */
.hero-title { display: inline-flex; align-items: center; gap: .28em; font-family: var(--display); font-weight: 800; font-size: clamp(52px, 9vw, 104px); line-height: 1; letter-spacing: -.055em; }
.hero-title .logo { width: .82em; height: .82em; border-radius: .24em; box-shadow: 0 .12em .3em rgba(200, 67, 46, .32); }
.hero-title .logo svg { width: 58%; height: 58%; stroke-width: 2.1; }
.tagline { font-weight: 700; font-size: clamp(22px, 3vw, 34px); line-height: 1.15; letter-spacing: -.03em; color: var(--text); margin-top: -2px; }
.tagline em { font-style: normal; color: var(--accent); }
/* header location (left of the app bar on home) */
.loc { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-weight: 700; font-size: 16px; }
.loc-ico { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.loc-ico svg { width: 18px; height: 18px; }
.loc span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc small { font-weight: 500; color: var(--muted); font-size: 14px; }
@media (max-width: 479px) { .loc small { display: none; } }
.lede { font-size: clamp(16px, 2vw, 19px); line-height: 1.55; color: var(--muted); max-width: 52ch; margin: 0 auto; text-wrap: balance; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 4px; color: var(--muted); font-size: 15px; }
.facts b { color: var(--text); font-size: 17px; margin-right: 4px; }
.search { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line-2); color: var(--muted); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search svg { width: 20px; height: 20px; flex: none; }
.search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; color: var(--text); font: inherit; font-size: 16px; }
.search input::placeholder { color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip:focus-visible { outline-offset: 3px; }
.chips::-webkit-scrollbar { display: none; }
.tlist { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tlist.one { grid-template-columns: 1fr; }
.tcard { position: relative; display: grid; gap: 14px; align-content: start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s, box-shadow .2s; }
.tcard:hover { border-color: rgba(200, 67, 46, .35); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tcard:focus-within { border-color: var(--gold); }
.tcard .tags { pointer-events: none; align-content: flex-start; }
.tlist .tcard { grid-template-rows: auto 1fr auto; }
.tlist.one .tcard { grid-template-rows: auto; }
/* the whole card is clickable through the title button (one tab stop, a real heading) */
.stretch { font: inherit; text-align: left; }
.stretch::after { content: ''; position: absolute; inset: 0; border-radius: var(--r-lg); }
.stretch:focus-visible { outline: none; }
.stretch:focus-visible::after { outline: 2px solid var(--gold); outline-offset: 3px; }
.tc-head .go { width: 20px; height: 20px; flex: none; margin-left: auto; color: var(--faint); transition: transform .2s, color .2s; }
.tcard:hover .go, .tcard:focus-within .go { color: var(--gold); transform: translateX(3px); }
.tc-head { display: flex; align-items: center; gap: 14px; }
.tc-title { min-width: 0; }
.tc-title h2, .tc-title h3 { font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.25; letter-spacing: -.02em; }
.tc-title p { font-size: 14px; color: var(--muted); }
.tcard .best { font-size: 14px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); }
.tcard .best b { color: var(--text); }
.citymap { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.citymap svg { width: 100%; height: auto; }
.pin { cursor: pointer; outline: none; }
.pin .halo { fill: rgba(115, 108, 100, .14); transition: r .2s; }
.pin .halo.v { fill: rgba(200, 67, 46, .16); }
.pin .dot { fill: var(--pin); stroke: var(--surface); stroke-width: 2; }
.pin:focus-visible .halo { stroke: var(--text); stroke-width: 2; }
.lbl-area, .lbl-water { font: 600 10.5px var(--font); paint-order: stroke; stroke: var(--surface); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.lbl-area { fill: var(--map-label); }
.lbl-water { fill: var(--water-ink); font-weight: 500; font-style: italic; }
.pin .dot.v { fill: var(--gold); }
.pin:hover .halo, .pin:focus-visible .halo { r: 19; }
.pin:focus-visible .dot { stroke: var(--text); }
.map-key { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 10px; }
.map-key .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pin); margin-left: 10px; }
.map-key .dot:first-child { margin-left: 0; }
.map-key .dot.v { background: var(--gold); }

/* ───────────────────────── theatre ───────────────────────── */
.t-page { gap: 28px; padding-top: 24px; padding-bottom: 24px; }
.t-grid, .t-side { display: grid; gap: 28px; align-content: start; min-width: 0; }
@media (min-width: 1024px) {
  .t-page { max-width: 1160px; }
  .t-page .seg.wide { width: min(100%, 560px); justify-self: center; }
  .t-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
  .t-hall { position: sticky; top: 92px; }
  .appbar-in.t-bar { max-width: 1160px; }
  .cta-bar .btn { max-width: 560px; }
}
.t-title { display: grid; gap: 12px; justify-items: center; text-align: center; }
.t-title .tags { justify-content: center; }
.t-title h1 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 5vw, 54px); line-height: 1.04; letter-spacing: -.04em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.stat { background: var(--surface-2); border-radius: var(--r-md); padding: 14px; }
.stat b { display: block; font-size: 18px; line-height: 1.25; }
.stat span { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; margin-top: 2px; }
.section-svg svg { width: 100%; height: auto; }
.section-svg figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.section-svg em { font-style: normal; color: var(--warn); }
.know { display: grid; gap: 10px; }
.know li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--surface); box-shadow: var(--shadow-sm); border: 1px solid var(--line); border-radius: var(--r-md); font-size: 15px; line-height: 1.5; color: var(--text); }
.know li svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.know li.good svg { color: var(--good); }
.know li.warn svg { color: var(--warn); }
.know li.info svg { color: var(--info); }
.know b { color: var(--text); }
.topseats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.topseats li { display: grid; min-width: 0; }
.topseat { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s, background .2s; }
.topseat:hover { border-color: var(--gold); background: var(--surface-3); }
.topseat .rk { font-size: 13px; font-weight: 700; color: var(--gold); }
.topseat b { font-size: 22px; line-height: 1; }
.topseat small { font-size: 13px; color: var(--muted); }
.cta-bar { position: sticky; bottom: 0; z-index: 8; padding: 12px clamp(16px, 4vw, 40px) max(14px, env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 35%); }
.cta-bar .btn { max-width: 696px; margin: 0 auto; display: flex; }

/* ───────────────────────── seat map ───────────────────────── */
.seats-page { max-width: 860px; margin: 0 auto; padding: 16px clamp(12px, 3vw, 20px) 24px; }
.mapcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 0 12px; box-shadow: var(--shadow-sm); }
.arc { position: relative; height: 62px; margin: 0 12px; }
.arc svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.arc span { position: absolute; left: 0; right: 0; top: 36px; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .38em; color: var(--muted); }
.mapwrap { overflow-x: auto; padding: 6px 0 8px; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.mapinner { margin: 0 auto; padding: 0 4px; }
.tierhead { display: flex; align-items: center; gap: 12px; padding: 14px 28px 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); position: sticky; left: 0; width: min(100vw, 100%); }
.tierhead::before, .tierhead::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.tierhead.balc { color: var(--warn); }
.seatrow { display: flex; align-items: center; }
.rl { width: 24px; flex: none; text-align: center; font-size: 12px; font-weight: 600; color: var(--faint); }
.rl.l { position: sticky; left: 0; z-index: 3; background: linear-gradient(90deg, var(--surface) 70%, transparent); }
.rs { position: relative; flex: none; height: 100%; }
.seat { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; background: var(--seat); color: var(--text); font-size: 11px; font-weight: 800; line-height: 1; display: grid; place-items: center; transition: transform .12s, background .2s, box-shadow .2s; }
.seat.rec { background: var(--seat-rec); color: #fff; border-radius: 6px; }
.seat.mot { background: var(--seat-mot); color: #fff; }
.seat:hover { transform: scale(1.25); z-index: 4; box-shadow: 0 0 0 2px var(--text); }
.seat:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; z-index: 5; }
.seat.sel { background: var(--gold) !important; color: var(--ink); box-shadow: 0 0 0 2px rgba(200, 67, 46, .3), 0 4px 14px rgba(200, 67, 46, .45); z-index: 4; }
.seat.sv::after { content: ''; position: absolute; top: -3px; right: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 1.5px var(--surface); }
.seat.sug { animation: pulse 1s ease-in-out 2; }
@keyframes pulse { 50% { transform: scale(1.5); } }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; padding: 10px 16px 4px; font-size: 13px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 8px; }
.sw { width: 14px; height: 14px; border-radius: 4px; background: var(--seat); }
.sw.rec { background: var(--seat-rec); } .sw.mot { background: var(--seat-mot); } .sw.sel { background: var(--gold); }
.heatbar { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px 4px; font-size: 13px; color: var(--muted); }
.heatbar i { width: 150px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, hsl(0 58% 38%), hsl(60 58% 42%), hsl(145 58% 46%)); }
.tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tool { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); font-size: 15px; font-weight: 600; transition: all .2s; }
.tool svg { width: 18px; height: 18px; }
.tool:hover { background: var(--surface-2); }
.tool[aria-pressed='true'] { color: var(--accent); border-color: rgba(200, 67, 46, .4); background: var(--accent-soft); }
.zoom { display: inline-flex; gap: 8px; margin-left: auto; }
.bottombar { position: sticky; bottom: 0; z-index: 8; display: flex; align-items: center; gap: 16px; padding: 14px clamp(16px, 4vw, 32px) max(16px, env(safe-area-inset-bottom)); background: var(--glass-solid); backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: var(--shadow-up); }
.bottombar .sum { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.bottombar .sum small { font-size: 13px; color: var(--muted); }
.bottombar .sum b { font-size: 18px; }
.bottombar .sum b.dim { color: var(--faint); font-weight: 600; font-size: 16px; }
.bottombar .btn { min-width: 160px; }
#app[data-layout='split'] .bottombar { display: none; }
#app[data-layout='split'] .seats-page { padding: 12px 20px 40px; }
#app[data-layout='split'] .appbar-in { height: 60px; padding: 0 16px; }

/* ───────────────────────── 3D stage ───────────────────────── */
.st-top { position: absolute; top: max(12px, env(safe-area-inset-top)); left: 12px; right: 12px; display: flex; align-items: center; gap: 8px; transition: opacity .35s, transform .35s; }
.st-top .icon-btn, .tbtn, .seat-pill, .st-seg, .st-move button { background: var(--glass); color: var(--text); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--glass-line); box-shadow: 0 4px 16px rgba(0, 0, 0, .18); }
.seat-pill { height: 44px; display: inline-flex; align-items: center; gap: 10px; padding: 0 18px; border-radius: 22px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.seat-pill:empty { display: none; }
.seat-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.seat-pill em { font-style: normal; font-weight: 500; color: var(--muted); }
.st-tools { margin-left: auto; display: flex; gap: 8px; }
.tbtn { height: 44px; min-width: 44px; padding: 0 12px; border-radius: 22px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; transition: all .2s; }
.tbtn svg { width: 20px; height: 20px; }
.tbtn span { display: none; }
.tbtn:hover, .st-top .icon-btn:hover { background: var(--glass-hi); }
.tbtn[aria-pressed='true'] { color: var(--ink); border-color: var(--accent); background: var(--accent); }
.st-seg { position: absolute; top: calc(max(12px, env(safe-area-inset-top)) + 56px); left: 50%; transform: translateX(-50%); transition: opacity .35s; }
.st-seg button { min-height: 44px; padding: 0 20px; }
.st-move { position: absolute; right: 14px; bottom: calc(var(--sheet-h) + 14px); display: grid; grid-template-columns: repeat(3, 44px); grid-template-rows: repeat(3, 44px); gap: 4px; transition: opacity .35s, bottom .3s; }
.st-move button { border-radius: 14px; display: grid; place-items: center; color: var(--text); }
.st-move button:hover:not(:disabled) { background: var(--glass-hi); }
.st-move button:disabled { opacity: .3; }
.st-move svg { width: 18px; height: 18px; }
.st-hint { position: absolute; left: 16px; bottom: calc(var(--sheet-h) + 18px); max-width: calc(100% - 200px); font-size: 13px; color: rgba(255, 255, 255, .78); text-shadow: 0 1px 8px rgba(0, 0, 0, .8); transition: opacity .35s, bottom .3s; }
.desk-only { display: none; }
@media (hover: hover) and (pointer: fine) { .touch-only { display: none; } .desk-only { display: inline; } }
.st-full { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font-size: 13px; color: rgba(255, 255, 255, .85); background: rgba(21, 16, 17, .7); backdrop-filter: blur(10px); padding: 9px 16px; border-radius: 999px; opacity: 0; pointer-events: none; }
#app.full .st-full { animation: hint 3.2s ease .6s forwards; }
@keyframes hint { 0% { opacity: 0; } 15%, 75% { opacity: 1; } 100% { opacity: 0; } }
#stage.no-seat .seat-pill, #stage.no-seat .st-seg, #stage.no-seat .st-move, #stage.no-seat .st-hint { display: none; }
/* 3D couldn't start: say why, offer a retry, keep the seat card (scores don't need WebGL) */
#stage.no3d .st-tools, #stage.no3d .st-seg, #stage.no3d .st-move, #stage.no3d .st-hint { display: none; }
.st-fail { position: absolute; left: 50%; top: calc((100% - var(--sheet-h)) / 2); transform: translate(-50%, -50%); width: min(420px, calc(100% - 32px)); max-height: calc(100% - var(--sheet-h) - 140px); overflow-y: auto; display: grid; gap: 10px; justify-items: center; text-align: center; padding: 24px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.st-fail h2 { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.2; }
.st-fail p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.st-fail .btn { margin-top: 6px; min-width: 160px; }
.st-detail { width: 100%; text-align: left; font-size: 13px; color: var(--muted); }
.st-detail summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.st-detail code { display: block; padding: 10px 12px; border-radius: 8px; background: var(--surface-2); color: var(--text); font-size: 12px; word-break: break-word; }
.st-detail p { font-size: 13px; margin-top: 8px; }
#app[data-sheet='side'] .st-fail { left: calc((100% - min(380px, 46vw)) / 2); top: 50%; width: min(400px, calc(100% - min(380px, 46vw) - 32px)); max-height: calc(100% - 96px); }
#app[data-sheet='float'] .st-fail { top: 84px; transform: translateX(-50%); max-height: calc(100% - 104px); padding: 20px; }
@media (min-width: 1360px) { #app[data-sheet='float'] .st-fail { left: calc(420px + (100% - 420px) / 2); top: 50%; transform: translate(-50%, -50%); } }

/* seat card: bottom sheet (phone/tablet portrait) · side panel (landscape) · floating (split) */
.seat-card { position: absolute; background: var(--glass-solid); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--line); overflow-y: auto; scrollbar-width: none; transition: transform .45s cubic-bezier(.2, .9, .3, 1), opacity .35s; }
.seat-card::-webkit-scrollbar { display: none; }
#app[data-sheet='bottom'] .seat-card { left: 0; right: 0; bottom: 0; max-height: 72dvh; border-radius: 26px 26px 0 0; border-bottom: 0; padding: 0 20px max(20px, env(safe-area-inset-bottom)); }
#app[data-sheet='side'] .seat-card { top: 0; bottom: 0; right: 0; width: min(380px, 46vw); border-radius: 26px 0 0 26px; border-right: 0; padding: 20px 20px max(16px, env(safe-area-inset-bottom)); }
#app[data-sheet='float'] .seat-card { left: 20px; bottom: 20px; width: 400px; max-height: calc(100% - 104px); border-radius: 24px; padding: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.seat-card.enter { transform: translateY(100%); }
#app[data-sheet='side'] .seat-card.enter { transform: translateX(100%); }
.grip { display: block; width: 100%; height: 44px; position: relative; margin-bottom: -10px; }
.grip i { position: absolute; left: 50%; top: 16px; width: 44px; height: 5px; border-radius: 3px; background: var(--line-2); transform: translateX(-50%); }
#app:not([data-sheet='bottom']) .grip, #app:not([data-sheet='bottom']) .linkbtn { display: none; }
#app:not([data-sheet='bottom']) .more { max-height: none; }
.sc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lbl { font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.lbl.good { color: var(--good); } .lbl.ok { color: var(--info); } .lbl.warn { color: var(--warn); }
.sc-head h2 { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -.03em; margin: 4px 0 4px; }
.tier { font-size: 14px; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.tile { background: var(--surface-2); border-radius: 14px; padding: 12px; min-width: 0; }
.tile b { display: block; font-size: 20px; line-height: 1.2; }
.tile span { display: block; font-size: 13px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.tile.warn b { color: var(--warn); }
.more { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.seat-card.open .more { max-height: 640px; }
.bars { display: grid; gap: 8px; margin-top: 16px; padding: 14px; background: var(--surface-2); border-radius: 14px; }
.bars div { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.bars i { height: 6px; border-radius: 3px; background: var(--surface-3); position: relative; overflow: hidden; }
.bars i::after { content: ''; position: absolute; inset: 0; width: var(--v); background: var(--gold); border-radius: 3px; }
.insights { display: grid; gap: 8px; margin: 14px 0 4px; }
.insights li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.5; color: var(--text); }
.insights li::before { content: ''; position: absolute; left: 3px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.linkbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--muted); }
.linkbtn svg { width: 16px; height: 16px; transition: transform .25s; }
.linkbtn[aria-expanded='true'] svg { transform: rotate(180deg); }
.actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 8px; }
.actions .btn { width: 100%; padding: 0 12px; height: 50px; font-size: 15px; }
#app[data-layout='split'] .back-map { display: none; }
#app[data-layout='split'] .actions { grid-template-columns: 1fr; }
#app[data-sheet='float'] .linkbtn { display: inline-flex; }
#app[data-sheet='float'] .more { max-height: 0; }
#app[data-sheet='float'] .seat-card.open .more { max-height: 640px; }
.sc-empty { display: grid; gap: 12px; justify-items: start; }
.sc-empty h2 { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.15; }
.sc-empty p { color: var(--muted); font-size: 15px; }

/* full-screen viewing: tap the picture to hide every control */
#app.full .st-top, #app.full .st-seg, #app.full .st-move, #app.full .st-hint { opacity: 0; pointer-events: none; }
#app.full .st-top { transform: translateY(-14px); }
#app.full .seat-card { opacity: 0; pointer-events: none; transform: translateY(24px); }
#app[data-sheet='side'].full .seat-card { transform: translateX(24px); }

/* tablet+ : labelled scene controls and a one-row top bar */
@media (min-width: 1560px) { .tbtn span { display: inline; } .tbtn { padding: 0 16px; } }
@media (min-width: 640px) {
  .st-seg { top: max(12px, env(safe-area-inset-top)); }
  .appbar-in { height: 68px; }
}
@media (max-width: 639px) {
  .rl:not(.l) { display: none; }
  .seat-pill em { display: none; }
  .seat-pill { padding: 0 14px; }
  .st-top { left: 10px; right: 10px; }
  .st-tools { gap: 6px; }
  .tbtn { padding: 0; width: 44px; }
  .bottombar .btn { min-width: 132px; padding: 0 20px; }
  .tiles { gap: 6px; }
  .tile { padding: 10px; }
  .tile b { font-size: 18px; }
}
@media (max-width: 420px) { .stats { grid-template-columns: 1fr 1fr; } .stats .stat:first-child { grid-column: 1 / -1; } }
#app[data-sheet='side'] .st-top { right: calc(min(380px, 46vw) + 12px); }
#app[data-sheet='side'] .st-seg { left: calc((100% - min(380px, 46vw)) / 2); top: calc(max(12px, env(safe-area-inset-top)) + 56px); }
#app[data-sheet='side'] .st-move { right: auto; left: 14px; bottom: 14px; }
#app[data-sheet='side'] .st-hint { left: 190px; bottom: 22px; max-width: calc(100% - min(380px, 46vw) - 210px); }
#app[data-sheet='float'] .st-move { right: 20px; bottom: 20px; }
#app[data-sheet='float'] .st-hint { left: auto; right: 20px; bottom: 192px; max-width: 280px; text-align: right; }
#app[data-sheet='float'] .st-top { left: 20px; right: 20px; top: 20px; }
#app[data-sheet='float'] .st-seg { top: 20px; }

/* ───────────────────────── modal & toast ───────────────────────── */
#modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .25s; }
#modal.on { opacity: 1; pointer-events: auto; }
.m-back { position: absolute; inset: 0; background: var(--scrim); backdrop-filter: blur(6px); }
.m-card { position: relative; width: min(580px, calc(100% - 32px)); max-height: min(88dvh, 760px); overflow-y: auto; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 30px 80px rgba(23, 20, 17, .25); display: grid; gap: 14px; transform: translateY(12px); transition: transform .3s cubic-bezier(.2, .9, .3, 1); }
#modal.on .m-card { transform: none; }
.m-card h2 { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.1; padding-right: 48px; }
.m-card p, .m-card dd { color: var(--muted); font-size: 15px; line-height: 1.6; }
.m-card dt { font-weight: 700; margin-top: 12px; }
.m-x { position: absolute; top: 16px; right: 16px; }
@media (max-width: 639px) {
  #modal { place-items: end center; }
  .m-card { width: 100%; max-height: 88dvh; border-radius: 26px 26px 0 0; padding: 28px 22px max(24px, env(safe-area-inset-bottom)); }
}
#toast { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom)); transform: translate(-50%, 16px); z-index: 60; max-width: min(92vw, 520px); padding: 12px 20px; border-radius: 999px; background: var(--text); color: var(--on-text); font-size: 14px; font-weight: 600; text-align: center; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }
#app[data-layout='phone'][data-route='view'] #toast { bottom: calc(var(--sheet-h) + 28px); }
.fade-in { animation: fi .35s ease both; }
@keyframes fi { from { opacity: 0; transform: translateY(8px); } }

/* short landscape screens (phones turned sideways): keep the side card compact */
@media (max-height: 560px) {
  #app[data-sheet='side'] .linkbtn { display: inline-flex; }
  #app[data-sheet='side'] .more { max-height: 0; }
  #app[data-sheet='side'] .seat-card.open .more { max-height: 640px; }
  #app[data-sheet='side'] .sc-head h2 { font-size: 24px; }
}

/* low-power / touch devices: backdrop blur over a live WebGL canvas is costly, use solid panels */
@media (pointer: coarse) {
  .appbar, .bottombar, .seat-card, .st-top .icon-btn, .tbtn, .seat-pill, .st-seg, .st-move button, .m-back, .st-full { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .seat-card { background: var(--glass-solid); }
  .st-top .icon-btn, .tbtn, .seat-pill, .st-seg, .st-move button { background: var(--glass-solid); }
  .appbar { background: var(--appbar-solid); }
}

/* ───────────────────────── home: steps, finder + results, footer ───────────────────────── */
.page.home { max-width: 1200px; gap: clamp(24px, 4vw, 40px); padding-bottom: 48px; }
.steps { display: grid; gap: 10px; grid-template-columns: 1fr; counter-reset: step; }
.steps > li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.steps > li > span:last-child { display: grid; gap: 2px; }
.steps b { font-size: 16px; }
.steps b::before { counter-increment: step; content: counter(step) '. '; color: var(--gold); }
.steps b + span { font-size: 14px; color: var(--muted); line-height: 1.5; }
.step-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.step-ico svg { width: 20px; height: 20px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1023px) { .mapblock { width: 100%; max-width: 560px; justify-self: center; } }
.home-grid { display: grid; gap: 28px; min-width: 0; }
.finder, .results { display: grid; gap: 16px; align-content: start; min-width: 0; }
.finder .h-sm { margin-bottom: 0; }
.mapblock { display: grid; gap: 0; }
.results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.results-head .h-sm { margin: 0; }
.count { font-size: 14px; color: var(--muted); }
.results .tlist > .empty { grid-column: 1 / -1; }
@media (max-width: 1023px) { .finder .h-sm { text-align: center; } }
@media (min-width: 1024px) {
  .home-grid { grid-template-columns: minmax(320px, 380px) minmax(0, 1fr); gap: 40px; align-items: start; }
  .finder { position: sticky; top: 92px; }
  .finder .chips { justify-content: flex-start; }
  .finder .map-key { justify-content: flex-start; }
}
@media (min-width: 1280px) { .results .tlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.site-foot { border-top: 1px solid var(--line); background: var(--surface); margin-top: clamp(24px, 5vw, 56px); }
.foot-in { max-width: 1200px; margin: 0 auto; display: grid; gap: 12px; padding: 28px clamp(16px, 4vw, 32px) max(32px, env(safe-area-inset-bottom)); }
@media (min-width: 760px) { .foot-in { grid-template-columns: auto 1fr; column-gap: 40px; } .foot-in .brand { grid-row: span 2; align-self: start; } }

/* Windows high-contrast / forced colours: keep seats, chips and pressed states distinguishable */
@media (forced-colors: active) {
  .seat, .chip, .tool, .tbtn, .seg button, .icon-btn, .nav-btn, .btn, .tcard, .panel { border: 1px solid CanvasText; }
  .seat.sel, .chip[aria-pressed='true'], .seg button[aria-pressed='true'], .tool[aria-pressed='true'], .tbtn[aria-pressed='true'] { forced-color-adjust: none; background: Highlight; color: HighlightText; }
  .skip:focus, :focus-visible { outline-color: Highlight; }
}

/* ───────────────────────── Only on Vyu: Seat Twin + Motion Look ───────────────────────── */
.btn.sm { height: 44px; padding: 0 16px; font-size: 14px; border-radius: 22px; }

/* home section */
.only { display: grid; gap: 14px; justify-items: center; text-align: center; }
.only h2 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -.035em; }
.only-grid { width: 100%; display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 6px; text-align: left; }
@media (min-width: 760px) { .only-grid { grid-template-columns: 1fr 1fr; } }
.only-card { display: grid; gap: 10px; align-content: start; justify-items: start; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.only-card h3 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.only-card p { color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 52ch; }
.only-card .btn { margin-top: 6px; }
.only-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.only-ico svg { width: 26px; height: 26px; }
.only-note { font-size: 14px !important; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); color: var(--muted); }
.only-note b { color: var(--text); font-weight: 600; }

/* seat card: Seat Twin entry */
.twin-btn { width: 100%; min-height: 48px; margin-top: 10px; display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-radius: 14px; background: var(--accent-soft); color: var(--text); border: 1px solid rgba(200, 67, 46, .22); text-align: left; transition: background .2s, border-color .2s; }
.twin-btn:hover { border-color: var(--accent); }
.twin-btn > svg:first-child { width: 22px; height: 22px; flex: none; color: var(--accent); }
.twin-btn > span { flex: 1; min-width: 0; font-size: 14px; line-height: 1.3; }
.twin-btn b { font-weight: 700; }
.twin-btn small { font-size: 13px; color: var(--muted); }
.twin-btn .go { width: 18px; height: 18px; flex: none; color: var(--accent); margin-left: auto; }

/* Seat Twin dialog */
.m-card .eyebrow svg { width: 16px; height: 16px; }
.twin-card { width: min(640px, calc(100% - 32px)); }
.twin-you { display: flex; flex-wrap: wrap; gap: 8px; }
.twin-you li { padding: 8px 12px; border-radius: 12px; background: var(--surface-2); font-size: 13px; color: var(--muted); }
.twin-you b { color: var(--text); font-size: 15px; margin-right: 2px; }
.twin-list { display: grid; gap: 8px; margin: 4px 0; padding: 0; list-style: none; }
.twin-list li { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.twin-pct { width: 58px; flex: none; display: grid; justify-items: center; line-height: 1.1; }
.twin-pct b { font-size: 19px; font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.twin-pct small { font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.twin-info { flex: 1; min-width: 0; display: grid; gap: 2px; }
.twin-info > b { font-size: 15px; }
.twin-info > b span { font-weight: 500; color: var(--muted); }
.twin-info > span { font-size: 13px; color: var(--muted); }
.twin-info strong { color: var(--text); }
.twin-list .btn { flex: none; }
@media (max-width: 479px) {
  .twin-list li { flex-wrap: wrap; gap: 8px 12px; }
  .twin-info { flex-basis: calc(100% - 72px); }
  .twin-list .btn { width: 100%; }
}
.m-card .eyebrow { color: var(--accent); font-size: 13px; }

/* ───────────────────────── Seat Twin v2: director's seat, My Seat, Seat DNA ───────────────────────── */
/* seat-map markers: director's seat (green ring), your seat (accent heart dot), your seat's twin (accent ring) */
.seat.dir { box-shadow: inset 0 0 0 2px var(--good); }
.seat.dir::before { content: ''; position: absolute; left: 50%; top: -5px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 1.5px var(--surface); }
.seat.twin, .seat.mine { box-shadow: 0 0 0 2px var(--accent); z-index: 3; }
.seat.mine { background: var(--accent-soft); }
.seat.twin::before, .seat.mine::before { content: ''; position: absolute; left: 50%; top: -5px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1.5px var(--surface); }
.sw.dir { background: var(--seat); box-shadow: inset 0 0 0 2px var(--good); }
.sw.twin, .sw.mine { background: var(--seat); box-shadow: 0 0 0 2px var(--accent); }

/* seat card: Seat Twin + My seat side by side */
.twin-row { display: flex; gap: 8px; margin-top: 10px; }
.twin-row .twin-btn { margin-top: 0; flex: 1; min-width: 0; }
.myseat-btn { flex: none; min-height: 48px; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 600; transition: all .2s; }
.myseat-btn svg { width: 18px; height: 18px; }
.myseat-btn:hover { color: var(--text); }
.myseat-btn[aria-pressed='true'] { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.myseat-btn[aria-pressed='true'] svg { fill: currentColor; }
@media (max-width: 420px) { .myseat-btn span { display: none; } .myseat-btn { width: 48px; justify-content: center; padding: 0; } }

/* theatre cards + theatre page */
.mine-line { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--accent); font-weight: 600; margin-top: -4px; }
.mine-line svg { width: 16px; height: 16px; flex: none; }
.mine-line b { color: var(--text); }
.mine-panel { border-color: rgba(200, 67, 46, .3); }
.mine-row { display: flex; align-items: center; gap: 14px; }
.mine-row > span:nth-child(2) { flex: 1; min-width: 0; display: grid; }
.mine-row b { font-size: 22px; letter-spacing: -.02em; }
.mine-row small { font-size: 13px; color: var(--muted); }
.mine-ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.mine-ico svg { width: 22px; height: 22px; }

/* home card actions */
.only-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.only-actions .btn { margin-top: 0; }
.only-card p b { color: var(--text); }

/* Seat DNA dialog */
.dna-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.dna-slider { display: grid; gap: 6px; }
.dna-slider label { font-size: 15px; font-weight: 600; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.dna-slider label b { color: var(--accent); font-weight: 700; }
.dna-slider input[type='range'] { width: 100%; height: 44px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.dna-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); margin-top: -8px; }
.dna-sum { font-size: 14px !important; color: var(--muted); }

/* ───────────────────────── director's seat maths + heat-map markers ───────────────────────── */
.dir-panel { border-color: color-mix(in srgb, var(--good) 35%, var(--line)); }
.dir-ico { background: color-mix(in srgb, var(--good) 14%, transparent); color: var(--good); }
.dir-maths { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 4px; }
.dir-maths summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--muted); }
.dir-maths summary:hover { color: var(--text); }
.dir-maths ol { display: grid; gap: 10px; margin: 4px 0 12px; padding-left: 20px; list-style: decimal; font-size: 14px; line-height: 1.55; color: var(--muted); }
.dir-maths ol b { color: var(--text); }
.dir-maths li::marker { color: var(--good); font-weight: 700; }
/* on the coloured heat map the director's ring must not vanish into a green seat */
.seat.dir { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--good); z-index: 3; }
.sw.dir { box-shadow: 0 0 0 1.5px var(--surface), 0 0 0 3px var(--good); }
.heatbar + .legend { padding-top: 6px; }

/* ───────────────────────── symmetry pass + hero hook ───────────────────────── */
/* hero: centred stack with two equal call-to-action buttons and the live seat-map preview */
.hero { gap: 18px; padding-bottom: 8px; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.hero-cta .btn { min-width: 210px; height: 54px; font-size: 16px; }
@media (max-width: 479px) { .hero-cta { width: 100%; } .hero-cta .btn { flex: 1 1 100%; min-width: 0; } }
.hero-preview { width: min(100%, 680px); margin: 10px auto 0; padding: clamp(14px, 3vw, 22px) clamp(12px, 3vw, 22px) 14px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.hero-preview svg { width: 100%; height: auto; display: block; color: var(--accent); overflow: visible; }
.hp-screen { fill: none; stroke-width: 3; stroke-linecap: round; }
.hp-screen-t { font: 700 10px var(--font); letter-spacing: .4em; fill: var(--faint); }
.hp-seats rect { opacity: 0; animation: hp-in .5s ease forwards; animation-delay: calc(200ms + var(--d)); }
@keyframes hp-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.hp-ring { fill: none; stroke: var(--text); stroke-width: 2.4; opacity: 0; animation: hp-in .4s ease 1.3s forwards; }
.hp-pulse { fill: none; stroke: var(--good); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: hp-pulse 2.2s ease-out 1.6s infinite; }
@keyframes hp-pulse { 0% { opacity: .9; transform: scale(.8); } 100% { opacity: 0; transform: scale(2.4); } }
.hp-label { opacity: 0; animation: hp-fade .4s ease 1.5s forwards; } /* opacity only: the g keeps its translate() */
@keyframes hp-fade { to { opacity: 1; } }
.hp-label rect { fill: var(--text); }
.hp-label text { font: 700 11.5px var(--font); fill: var(--on-text); }
.hero-preview figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; margin-top: 12px; font-size: 13.5px; color: var(--muted); text-align: center; text-wrap: balance; }
.hero-preview figcaption .linkbtn { margin: 0; min-height: 36px; color: var(--accent); }
.hero-preview figcaption .linkbtn .go { width: 16px; height: 16px; }
.hp-scale { display: inline-block; width: 64px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, hsl(0 58% 38%), hsl(60 58% 42%), hsl(145 58% 46%)); vertical-align: middle; }
@media (prefers-reduced-motion: reduce) { .hp-seats rect, .hp-ring, .hp-label { opacity: 1; animation: none; } .hp-pulse { display: none; } }

/* how-it-works: three equal centred cards from tablet up */
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps > li { flex-direction: column; align-items: center; text-align: center; }
  .steps > li > span:last-child { justify-items: center; }
}

/* Only on Vyu: equal cards, actions pinned to the bottom so both cards line up */
.only-grid { align-items: stretch; }
.only-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.only-card p { margin-left: auto; margin-right: auto; }
.only-card > .btn, .only-card > .only-actions, .only-card > .only-note { margin-top: auto; }
.only-actions { justify-content: center; }

/* finder: one centred column; results full width below */
.home-grid { display: grid !important; grid-template-columns: 1fr !important; gap: 26px !important; }
.finder { position: static !important; justify-items: center; text-align: center; gap: 14px; }
.finder h2 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -.035em; }
.finder .search { width: min(100%, 600px); }
.finder .chips { justify-content: center !important; }
.finder-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; }
.view-switch button { min-width: 88px; }
.results { justify-items: center; }
.results .mapblock { width: min(100%, 760px); max-width: none; justify-self: center; }
.results .map-key { justify-content: center !important; }
/* theatre cards: flex rows so an odd last card sits centred, never stranded on one side */
.tlist { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 14px; width: 100%; }
.tlist > li { flex: 0 1 100%; min-width: 0; }
@media (min-width: 640px) { .tlist > li { flex-basis: calc((100% - 14px) / 2); } }
@media (min-width: 1100px) { .tlist > li { flex-basis: calc((100% - 28px) / 3); } }
.tlist > .empty { flex-basis: 100% !important; }

/* footer: centred */
.foot-centre { display: grid !important; grid-template-columns: 1fr !important; justify-items: center; text-align: center; gap: 10px; }
.foot-centre .brand { grid-row: auto !important; }
.foot-centre .fine { margin: 0 auto; }

/* theatre page: two balanced columns (hall + director | know + yours + best) */
.t-main { display: grid; gap: 28px; align-content: start; min-width: 0; }
@media (min-width: 1024px) { .t-hall { position: static; } .t-grid { align-items: start; } }
.section-svg svg { width: 100%; height: clamp(110px, 16vw, 150px); }
.section-svg figcaption { text-align: center; }

/* seat map: tools centred in one row; heat legend never wraps mid-phrase */
.tools { justify-content: center; }
.zoom { margin-left: 0; }
.heatbar span { white-space: nowrap; }
.heatbar i { width: clamp(64px, 26vw, 150px); }

/* seat card: both actions the same width */
.actions { grid-template-columns: 1fr 1fr; }
/* stats: three equal columns, number above label, so they never wrap 2 + 1 */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: min(100%, 560px); margin: 6px auto 0; }
.facts li { display: grid; justify-items: center; gap: 2px; font-size: 13px; line-height: 1.3; text-align: center; }
.facts b { font-size: clamp(20px, 3vw, 26px); margin: 0; letter-spacing: -.02em; }

/* ───────────────────────── ratings, published specs, what's special ───────────────────────── */
.ring-lbl { display: grid; justify-items: center; gap: 3px; flex: none; }
.ring-lbl small { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.rating svg:first-child { width: 16px; height: 16px; color: #e0a106; flex: none; }
.rating b { color: var(--text); font-size: 15px; }
.rating span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcard .rating { margin-top: -4px; }
.rating.long { justify-self: center; min-height: 40px; padding: 0 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; transition: border-color .2s; }
.rating.long:hover { border-color: var(--accent); }
.rating.long svg:last-child { width: 14px; height: 14px; color: var(--faint); }
.rating.long span { white-space: normal; }
.specs { margin: 4px 0 14px; padding: 14px; border-radius: var(--r-md); background: var(--surface-2); text-align: center; }
.specs-h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.specs-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.specs-list li { display: grid; justify-items: center; gap: 1px; }
.specs-list b { font-size: 15px; }
.specs-list span { font-size: 12px; color: var(--muted); }
.specs-src { margin-top: 10px !important; font-size: 12px !important; max-width: none !important; }
.src { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; color: var(--accent); text-decoration: none; white-space: nowrap; }
.src:hover { text-decoration: underline; }
.src svg { width: 12px; height: 12px; }
.special-list { display: grid; gap: 12px; }
.special-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; color: var(--text); text-align: left; }
.special-list li > svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent); }

/* ───────────────────────── seat HUD: a flat bar that never covers the screen ───────────────────────── */
/* The card is now a transparent frame: the bar (.hud-main) and the drawer (.more) carry the glass. */
#app[data-sheet] .seat-card { left: 16px; right: 16px; bottom: 16px; top: auto; width: auto; max-width: 1180px; margin-inline: auto; max-height: none; overflow: visible; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; container: hud / inline-size; }
#app[data-sheet='bottom'] .seat-card { left: 0; right: 0; bottom: 0; max-width: none; }
#app[data-sheet] .seat-card.enter { transform: translateY(110%); }
#app.full .seat-card, #app[data-sheet='side'].full .seat-card { transform: translateY(24px); }

.hud-main { position: relative; display: flex; align-items: center; gap: 16px; padding: 10px 12px 10px 14px; border-radius: 20px; background: var(--glass-solid); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
#app[data-sheet='bottom'] .hud-main { border-radius: 22px 22px 0 0; border-bottom: 0; padding: 14px 14px max(12px, env(safe-area-inset-bottom)); }
.hud-main > .ring { flex: none; }
.hud-id { flex: 1 1 auto; min-width: 0; display: grid; gap: 1px; }
.hud-id .lbl { font-size: 11px; }
.hud-id h2 { font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.15; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud-id .tier { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud-sub { display: none; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud-stats { flex: none; display: flex; gap: 6px; }
.hud-stats li { display: grid; gap: 1px; min-width: 84px; padding: 6px 10px; border-radius: 12px; background: var(--surface-2); }
.hud-stats b { font-size: 15px; line-height: 1.2; }
.hud-stats span { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.hud-actions { flex: none; display: flex; gap: 6px; }
.hud-btn { height: 44px; min-width: 44px; padding: 0 12px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.hud-btn svg { width: 18px; height: 18px; flex: none; }
.hud-btn:hover { border-color: var(--line-2); background: var(--surface-3); }
.hud-btn.twin { background: var(--accent-soft); border-color: rgba(200, 67, 46, .22); }
.hud-btn.twin svg { color: var(--accent); }
.hud-btn[data-a='myseat'][aria-pressed='true'] { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.hud-btn[data-a='myseat'][aria-pressed='true'] svg { fill: currentColor; }
.hud-btn.save { background: var(--text); color: var(--on-text); border-color: var(--text); }
.hud-btn.save:hover { background: var(--text-hover); }
.hud-btn.save[aria-pressed='true'] { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.hud-btn.save[aria-pressed='true'] svg { fill: currentColor; }
.hud-btn.details svg { transform: rotate(180deg); transition: transform .25s; }
.hud-btn.details[aria-expanded='true'] { border-color: var(--line-2); background: var(--surface-3); }
.hud-btn.details[aria-expanded='true'] svg { transform: none; }
.hud-btn.primary { background: var(--text); color: var(--on-text); border-color: var(--text); padding: 0 16px; }
.hud-empty-ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.hud-empty-ico svg { width: 22px; height: 22px; }

/* the details drawer: floats over the picture only when asked for */
.seat-card .more { position: absolute; z-index: 2; display: none; max-height: none; overflow-y: auto; padding: 16px 16px 18px; border-radius: 20px; background: var(--glass-solid); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--line); box-shadow: var(--shadow-md); scrollbar-width: thin; }
.seat-card.open .more { display: block; animation: hud-drawer .28s cubic-bezier(.2, .9, .3, 1); }
@keyframes hud-drawer { from { opacity: 0; transform: translateY(10px); } }
#app[data-sheet='float'] .seat-card .more, #app[data-sheet='side'] .seat-card .more { right: 0; bottom: calc(100% + 10px); width: min(380px, 100%); max-height: calc(100dvh - var(--sheet-h) - 120px); }
#app[data-sheet='bottom'] .seat-card .more { left: 0; right: 0; bottom: 100%; max-height: min(58dvh, 520px); border-radius: 22px 22px 0 0; border-bottom: 0; box-shadow: 0 -12px 30px rgba(0, 0, 0, .18); }
.more-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.more-head h3 { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.more-head .icon-btn { width: 36px; height: 36px; }
.seat-card .more .tiles { margin-top: 10px; }
.seat-card .more .back-map { width: 100%; height: 46px; margin-top: 12px; }
#app[data-layout='split'] .seat-card .more .back-map { display: none; }
/* old card pieces that no longer exist */
.seat-card .linkbtn, .seat-card .actions { display: none !important; }

/* phone swipe handle sits on top of the bar */
.seat-card .grip { display: none; }
#app[data-sheet='bottom'] .seat-card .grip { display: block; position: absolute; z-index: 3; left: 50%; bottom: calc(var(--sheet-h) - 22px); width: 72px; height: 22px; margin: 0; transform: translateX(-50%); }
#app[data-sheet='bottom'] .seat-card.open .grip { bottom: calc(var(--sheet-h) - 22px); }
#app[data-sheet='bottom'] .seat-card .grip i { top: 8px; }

/* narrower bars: labels go, numbers move under the title, actions become a row of equal buttons */
@container hud (max-width: 900px) { .hud-btn:not(.save) span { display: none; } .hud-btn:not(.save) { padding: 0; width: 44px; } }
@container hud (max-width: 760px) { .hud-stats { display: none; } .hud-sub { display: block; } .hud-id .tier { display: none; } }
@container hud (max-width: 520px) {
  .hud-main { flex-wrap: wrap; gap: 10px 12px; }
  .hud-actions { flex: 1 1 100%; display: grid; grid-template-columns: repeat(4, 1fr); }
  .hud-btn, .hud-btn:not(.save) { width: auto; padding: 0 6px; }
  .hud-btn:not(.save) span, .hud-btn span { display: inline; font-size: 12.5px; }
}
@container hud (max-width: 360px) { .hud-btn span { display: none !important; } }

/* everything else in the stage docks above the bar */
#app[data-sheet] .st-move { left: auto; right: 16px; bottom: calc(var(--sheet-h) + 12px); }
#app[data-sheet='bottom'] .st-move { bottom: calc(var(--sheet-h) + 12px); }
#app[data-sheet] .st-hint { left: 18px; right: auto; bottom: calc(var(--sheet-h) + 18px); max-width: calc(100% - 200px); text-align: left; }
#app[data-sheet='side'] .st-top { right: 12px; }
#app[data-sheet='side'] .st-seg { left: 50%; }

/* fade out of the way while the viewer looks around (drag or Motion Look); back ~0.7 s after */
.seat-card, .st-move, .st-hint { transition: opacity .25s ease, transform .45s cubic-bezier(.2, .9, .3, 1); }
#stage.looking .seat-card:not(:focus-within), #stage.looking .st-move:not(:focus-within), #stage.looking .st-hint { opacity: .1; pointer-events: none; }

@media (pointer: coarse) { .hud-main, .seat-card .more { backdrop-filter: none; -webkit-backdrop-filter: none; } }
/* drawer sits above the move pad; the pad steps aside while details are open */
#app[data-sheet] .seat-card { z-index: 3; }
#stage:has(.seat-card.open) .st-move, #stage:has(.seat-card.open) .st-hint { opacity: 0; pointer-events: none; }

/* Wordmark: "Vyu" with a forward-leaning y (skewed, so it matches at every size and weight) */
.wm { display: inline-flex; align-items: baseline; }
.wm-y { display: inline-block; transform: skewX(-14deg); margin: 0 .03em 0 .01em; }

/* footer contact link: inherits text colour (AA in both themes), underlined, 44px tap target */
.site-foot .contact a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 12px 4px; }
.site-foot .contact a:hover, .site-foot .contact a:focus-visible { color: var(--accent); }

/* hero reassurance line under the CTAs */
.hero-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; color: var(--accent); stroke-width: 2.4; flex: none; }
