/* Brand typeface. Drop the licensed web fonts into /public/fonts with these names and they take over
   from the Hanken Grotesk stand-in automatically. */
@font-face { font-family: 'Breul Grotesk'; font-weight: 400; font-display: swap; src: local('Breul Grotesk'), local('BreulGrotesk-Regular'), url('/fonts/BreulGrotesk-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Breul Grotesk'; font-weight: 100 300; font-display: swap; src: local('Breul Grotesk Thin'), local('BreulGrotesk-Thin'), url('/fonts/BreulGrotesk-Thin.woff2') format('woff2'); }
:root {
  --bg: #191919; /* Almost Black */
  --panel: rgba(25, 25, 25, 0.72);
  --panel-solid: #202020;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f4f0e8;
  --muted: #aaa69e;
  --dim: #7d7a74;
  --accent: #d8ff3e;
  --accent-2: #b4e01c;
  --accent-soft: rgba(216, 255, 62, 0.14);
  --violet: #a99bff;
  --lilac: #a99bff; /* Electric Lilac — Dreamgirl's production colour */
  --lilac-text: #a99bff;
  --accent-text: #d8ff3e; /* text and thin lines in the accent; ink in light mode */
  --ink: #0b0b0b;
  --danger: #ff6680;
  --ok: #3ddc97;
  --amber: #ffb547;
  --radius: 18px;
  --serif: 'Breul Grotesk', 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Breul Grotesk', 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Breul Grotesk', 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --glass: linear-gradient(160deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.025) 45%, rgba(255, 255, 255, 0.015) 100%);
  --glass-tint: rgba(25, 25, 25, 0.52);
  --hair: rgba(255, 255, 255, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --top: 72px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
small { color: var(--dim); font-weight: 500; font-size: 0.8em; margin-left: 4px; }

#stage3d { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.vignette {
  position: fixed; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(25, 25, 25, 0.75) 100%),
    linear-gradient(180deg, rgba(25, 25, 25, 0.7) 0%, transparent 18%);
  transition: background 0.8s var(--ease);
}
body[data-view='home'] .vignette {
  background:
    radial-gradient(60% 45% at 50% 30%, rgba(25, 25, 25, 0.85) 0%, rgba(25, 25, 25, 0.4) 70%, transparent 100%),
    radial-gradient(70% 60% at 50% 48%, rgba(25, 25, 25, 0.55) 0%, rgba(25, 25, 25, 0.3) 55%, rgba(25, 25, 25, 0.1) 100%),
    linear-gradient(180deg, rgba(25, 25, 25, 0.6) 0%, transparent 20%, transparent 75%, rgba(25, 25, 25, 0.9) 100%);
}
body[data-view='details'] .vignette,
body[data-view='payment'] .vignette,
body[data-view='done'] .vignette,
body[data-view='track'] .vignette {
  background: linear-gradient(90deg, rgba(25, 25, 25, 0.05) 0%, rgba(25, 25, 25, 0.35) 45%, rgba(25, 25, 25, 0.9) 75%), linear-gradient(180deg, rgba(25, 25, 25, 0.6) 0%, transparent 20%);
}
body[data-view='done'] .vignette, body[data-view='track'] .vignette { background: rgba(25, 25, 25, 0.72); }
/* past the hero the hall fades back, so the long-form sections read cleanly on any screen */
.vignette::after { content: ''; position: absolute; inset: 0; background: rgba(25, 25, 25, 0.86); opacity: 0; transition: opacity 0.6s var(--ease); }
body.home-deep[data-view='home'] .vignette::after { opacity: 1; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 50; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--bg); transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.loader p { color: var(--muted); letter-spacing: 0.2em; text-transform: uppercase; font-size: 11px; margin: 0; }
.loader-mark { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.loader-mark::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid transparent; border-top-color: var(--accent); border-right-color: rgba(216, 255, 62, 0.3);
  animation: spin 1.1s linear infinite;
}
.loader-mark span { font: 200 32px var(--serif); color: var(--accent-text); }
body.ready .loader { opacity: 0; visibility: hidden; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--top); z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 clamp(16px, 3vw, 36px);
  padding-top: env(safe-area-inset-top);
  transition: background 0.4s;
}
/* solid-ish header wherever content scrolls underneath it */
body:not([data-view='seats']) .topbar { background: linear-gradient(180deg, rgba(25, 25, 25, 0.97) 0%, rgba(25, 25, 25, 0.93) 72%, rgba(25, 25, 25, 0) 100%); }
.topbar .stepper { justify-self: start; transition: opacity 0.4s var(--ease), visibility 0.4s; }
body[data-view='home'] .stepper, body[data-view='track'] .stepper { opacity: 0; visibility: hidden; pointer-events: none; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; justify-self: center; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font: 200 22px/1 var(--serif); color: #141a00;
  background: radial-gradient(circle at 35% 30%, #f0ffc2, var(--accent) 55%, var(--accent-2));
  box-shadow: 0 0 24px rgba(216, 255, 62, 0.35);
}
.brand-name { font: 200 24px/1 var(--serif); letter-spacing: 0.01em; }
.link-track {
  justify-self: end; text-decoration: none; font-weight: 600; font-size: 13px; color: var(--muted);
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(25, 25, 25, 0.5);
  backdrop-filter: blur(10px); transition: color 0.2s, border-color 0.2s;
}
.link-track:hover { color: var(--text); border-color: var(--line-2); }

.stepper { list-style: none; display: flex; gap: 6px; margin: 0; padding: 6px; border-radius: 999px; background: rgba(25, 25, 25, 0.55); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.stepper li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; color: var(--dim); font-size: 13px; font-weight: 600; transition: all 0.4s var(--ease); }
.stepper li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; border: 1px solid var(--line-2); transition: all 0.4s var(--ease); }
.stepper li em { font-style: normal; }
.stepper li.done { color: var(--muted); }
.stepper li.done span { background: rgba(216, 255, 62, 0.16); border-color: transparent; color: var(--accent); }
.stepper li.back { cursor: pointer; }
.stepper li.back:hover, .stepper li.back:focus-visible { color: var(--text); background: rgba(255, 255, 255, 0.08); outline: none; }
.stepper li.back:hover span { background: var(--accent); color: #141a00; }
.stepper li.on { color: #141a00; background: var(--accent); }
.stepper li.on span { border-color: rgba(0, 0, 0, 0.25); }
body[data-view='done'] .stepper li { opacity: 0.6; }

/* ---------- views ---------- */
main { position: fixed; inset: 0; pointer-events: none; z-index: 10; }
.view {
  position: absolute; inset: 0; padding: calc(var(--top) + 12px) clamp(16px, 3vw, 36px) 24px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(18px); filter: blur(6px);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease), filter 0.6s var(--ease), visibility 0s 0.6s;
}
.view.active { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: 0.15s, 0.15s, 0.15s, 0s; }
.view.active > * { pointer-events: auto; }
/* scrolling views take the wheel/touch everywhere, not just over their cards */
.view.active.scrolly { pointer-events: auto; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }

.glass {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.mini-label { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }

/* ---------- buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border: 0; border-radius: 14px; text-decoration: none;
  font-weight: 800; font-size: 15px; color: #141a00; letter-spacing: 0.01em;
  background: linear-gradient(180deg, #e8ff8a, var(--accent) 45%, var(--accent-2));
  box-shadow: 0 10px 30px rgba(184, 224, 28, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, opacity 0.2s, filter 0.2s;
}
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(184, 224, 28, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-primary:active:not(:disabled) { transform: translateY(1px); }
.btn-primary:disabled { filter: grayscale(0.9) brightness(0.55); cursor: not-allowed; box-shadow: none; }
.btn-primary.block { width: 100%; }
.btn-primary.loading { pointer-events: none; color: transparent; position: relative; }
.btn-primary.loading::after { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #141a00; border-right-color: transparent; animation: spin 0.8s linear infinite; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 18px; border-radius: 12px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); color: var(--text);
  font-weight: 600; font-size: 14px; text-decoration: none; transition: background 0.2s, border-color 0.2s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-ghost.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-ghost.danger { color: #ff9aac; }
.btn-ghost svg { width: 16px; height: 16px; }
.icon-btn { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); }
.icon-btn:hover { background: rgba(255, 255, 255, 0.1); }
.icon-btn svg { width: 15px; height: 15px; }

/* ---------- home ---------- */
.view-home { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 48px; }
.hero { max-width: 720px; padding: clamp(12px, 6vh, 72px) 0 28px; display: flex; flex-direction: column; align-items: center; margin-top: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 2s infinite; }
[data-theme='light'] .eyebrow { color: var(--accent); background: var(--ink); border-color: var(--ink); }
@keyframes pulse { 50% { opacity: 0.35; } }
.display { font: 400 clamp(52px, 8vw, 104px)/0.95 var(--serif); margin: 0 0 18px; letter-spacing: -0.01em; text-wrap: balance; text-shadow: 0 10px 50px rgba(0, 0, 0, 0.6); }
.display em { color: var(--accent-text); }
.lede { color: var(--muted); font-size: 16.5px; max-width: 52ch; margin: 0 0 22px; text-wrap: pretty; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.chip b { color: var(--text); }
.section-label { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }

.view-home .section-label { margin-top: 26px; }
.shows { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; width: 100%; max-width: 1040px; margin-bottom: auto; }
.shows > * { flex: 1 1 270px; max-width: 320px; } /* a lone card on the last row stays centred */
.show-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; width: 100%;
  padding: 18px; text-align: left; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line-2); background: rgba(25, 25, 25, 0.72); backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s var(--ease), background 0.3s;
  opacity: 0; animation: rise 0.7s var(--ease) forwards;
}
.show-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(120% 80% at 50% 0%, rgba(216, 255, 62, 0.16), transparent 60%);
}
.show-card:hover, .show-card:focus-visible { transform: translateY(-6px); border-color: rgba(216, 255, 62, 0.6); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(216, 255, 62, 0.25); outline: none; }
.show-card:hover::before, .show-card:focus-visible::before { opacity: 1; }
.show-card:disabled { opacity: 0.45 !important; cursor: not-allowed; transform: none; }
.show-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.show-date { display: grid; place-items: center; min-width: 64px; height: 64px; padding: 0 10px; border-radius: 14px; background: var(--accent); color: var(--ink); line-height: 1; }
.show-date b { font: 400 30px/1 var(--serif); white-space: nowrap; }
.show-date span { font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.show-kind { font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; color: var(--muted); background: rgba(255, 255, 255, 0.05); }
.show-info b { display: block; font: 400 26px/1.1 var(--serif); margin-bottom: 6px; }
.show-info span { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; }
.show-info svg { width: 14px; height: 14px; opacity: 0.7; }
.show-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto; }
.show-left { font-size: 12.5px; color: var(--muted); }
.show-left b { color: var(--ok); }
.show-left.low b { color: var(--amber); }
.show-left.out b { color: var(--danger); }
.show-cta {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 16px; border-radius: 11px;
  font-weight: 800; font-size: 13.5px; color: #141a00; background: linear-gradient(180deg, #e8ff8a, var(--accent) 50%, var(--accent-2));
  box-shadow: 0 8px 22px rgba(184, 224, 28, 0.25);
}
.show-cta svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.show-card:hover .show-cta svg { transform: translateX(4px); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.howto { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: h; }
.howto li { counter-increment: h; padding: 12px; border-radius: 14px; border: 1px dashed var(--line-2); font-size: 12.5px; display: grid; gap: 2px; }
.howto li::before { content: counter(h, decimal-leading-zero); font: 200 20px/1 var(--serif); color: var(--accent-text); margin-bottom: 6px; }
.howto span { color: var(--dim); }

/* ---------- seats ---------- */
.view-seats { pointer-events: none; }
.seats-head { position: absolute; top: calc(var(--top) + 8px); left: clamp(16px, 3vw, 36px); display: flex; align-items: center; gap: 18px; padding: 12px 14px 12px 18px; border-radius: 14px; }
.seats-show { margin: 2px 0 0; font-weight: 700; }
.legend { position: absolute; right: clamp(16px, 3vw, 36px); top: calc(var(--top) + 8px); display: flex; gap: 16px; padding: 10px 14px; border-radius: 12px; font-size: 12.5px; color: var(--muted); }
.legend span { display: flex; align-items: center; gap: 7px; }
.sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.sw-av { background: #050505; border: 1.5px solid #d6d6d6; }
:root { --v-excellent: #5eead4; --v-great: #a99bff; --v-good: #ffb547; --v-side: #8a8a8a; }
.sw[class*='v-'] { background: #050505; border: 1.5px solid var(--vc); }
.v-excellent { --vc: var(--v-excellent); } .v-great { --vc: var(--v-great); } .v-good { --vc: var(--v-good); } .v-side { --vc: var(--v-side); }
.sw-sel { background: #3a4a06; border: 1.5px solid var(--accent); box-shadow: 0 0 10px rgba(216, 255, 62, 0.6); }
.sw-taken { background: #141414; border: 1.5px solid #4a4a4a; }
.seats-head { max-width: min(460px, calc(100% - 32px)); }
.venue-note { display: flex; gap: 6px; margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--accent-text); }
.venue-note::before { content: 'ⓘ'; }
.hint { position: absolute; bottom: 126px; left: 50%; transform: translateX(-50%); margin: 0; padding: 8px 14px; border-radius: 999px; background: rgba(25, 25, 25, 0.55); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); white-space: nowrap; backdrop-filter: blur(8px); transition: opacity 0.4s; }
.only-coarse { display: none; }
@media (pointer: coarse) { .only-coarse { display: inline; } .only-fine { display: none; } }

.dock {
  position: absolute; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  width: min(980px, calc(100% - 32px)); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 22px;
  padding: 14px 14px 14px 20px; border-radius: 20px;
}
.dock-seats { min-width: 0; }
.chips { display: flex; gap: 6px; margin-top: 6px; overflow-x: auto; scrollbar-width: none; min-height: 32px; align-items: center; }
.chips::-webkit-scrollbar { display: none; }
.chips-empty { color: var(--dim); font-size: 13.5px; }
.seat-chip {
  display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 6px 0 12px; border-radius: 9px;
  border: 1px solid rgba(216, 255, 62, 0.35); background: var(--accent-soft); color: #eaffa8; font-weight: 700; font-size: 13px; flex: none;
  animation: pop 0.35s var(--ease);
}
.seat-chip.current { background: var(--accent); color: #141a00; border-color: var(--accent); }
.seat-chip .x { width: 22px; height: 22px; border: 0; background: transparent; border-radius: 6px; display: grid; place-items: center; color: inherit; opacity: 0.7; padding: 0; }
.seat-chip .x:hover { opacity: 1; background: rgba(0, 0, 0, 0.15); }
.seat-chip .x svg { width: 13px; height: 13px; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } }
.dock-total { text-align: right; }
.dock-price { margin: 2px 0 0; font-size: 22px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }

.tooltip {
  position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none; padding: 9px 12px; border-radius: 10px; min-width: 120px;
  background: rgba(25, 25, 25, 0.92); border: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted);
  opacity: 0; transform: translate(-50%, calc(-100% - 14px)) scale(0.95); transition: opacity 0.15s, transform 0.15s;
}
.tooltip.show { opacity: 1; transform: translate(-50%, calc(-100% - 14px)); }
.tooltip b { display: block; color: var(--text); font-size: 14px; }
.tooltip .t-taken { color: var(--danger); font-weight: 700; }
.tooltip .t-sel { color: var(--accent-text); font-weight: 700; }

/* seat view chrome */
.minimap {
  position: absolute; top: calc(var(--top) + 8px); right: clamp(16px, 3vw, 36px); width: clamp(320px, 31vw, 470px);
  border-radius: 18px; overflow: hidden; background: rgba(25, 25, 25, 0.85); border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transform-origin: top right; transform: scale(2.2) translate(-20%, 20%);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), visibility 0s 0.9s;
}
/* flat seat plan: one square per chair */
.plan { display: block; width: calc(100% - 16px); height: auto; fill: none; stroke: none; margin: 0 8px; max-height: calc(100vh - var(--top) - 230px); border-radius: 14px; background: #050505; touch-action: manipulation; user-select: none; }
.plan .mp-stage { fill: none; stroke: var(--accent-text); stroke-width: 0.07; filter: drop-shadow(0 0 0.18px rgba(216, 255, 62, 0.9)); }
.plan .mp-stage-label { font: 500 0.42px var(--mono); letter-spacing: 0.25px; fill: #cfcfcf; text-anchor: middle; }
.plan .mp-row { font: 500 0.36px var(--mono); fill: #6e6e74; text-anchor: middle; }
.plan .mp-cone { fill: rgba(255, 255, 255, 0.07); }
.plan .mp-hit { fill: transparent; }
.plan [data-seat] { cursor: pointer; }
.plan .mp-seat { fill: transparent; stroke: #d6d6d6; stroke-width: 0.045; transition: fill 0.15s, stroke 0.15s; }
.plan [data-state='free'] .mp-seat { stroke: var(--vc, #d6d6d6); }
.plan [data-view='excellent'] { --vc: var(--v-excellent); } .plan [data-view='great'] { --vc: var(--v-great); }
.plan [data-view='good'] { --vc: var(--v-good); } .plan [data-view='side'] { --vc: var(--v-side); }
.plan [data-seat]:hover .mp-seat { fill: rgba(255, 255, 255, 0.28); stroke: #fff; }
.plan [data-state='taken'] { cursor: not-allowed; }
.plan [data-state='taken'] .mp-seat { fill: #1a1a1c; stroke: #3c3c40; }
.plan [data-state='sel'] .mp-seat { fill: rgba(216, 255, 62, 0.35); stroke: var(--accent); }
.plan [data-state='cur'] .mp-seat { fill: var(--accent); stroke: #f6ffdc; }
.plan .mp-ring { fill: none; stroke: #eaffa8; stroke-width: 0.06; animation: ring 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ring { 50% { transform: scale(1.35); opacity: 0.4; } }
.minimap-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 6px 14px; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.minimap-foot { margin: 0; padding: 7px 14px 9px; font-size: 11.5px; color: var(--dim); border-top: 1px solid var(--line); }
.minimap-foot .mm-phone { display: none; }
.mm-title { display: flex; align-items: center; gap: 8px; padding: 4px 6px 4px 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.mm-title:hover { color: var(--text); }
.mm-chev { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.minimap-head { gap: 8px; }
/* minimised: just the header, as a pill */
.minimap.collapsed { width: auto; border-radius: 999px; }
.minimap.collapsed .mm-chev { transform: rotate(180deg); }
.minimap.collapsed .plan-box, .minimap.collapsed .minimap-foot { display: none; }
.minimap.collapsed .minimap-head { padding: 5px 5px 5px 16px; }

.seat-card {
  position: absolute; left: clamp(16px, 3vw, 36px); bottom: 128px; width: 330px; padding: 16px 18px; border-radius: 18px;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), visibility 0s 0.6s;
}
.seat-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.seat-name { margin: 4px 0 0; font: 400 30px/1.05 var(--serif); }
.badge { flex: none; font-size: 11.5px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: rgba(94, 234, 212, 0.12); color: var(--v-excellent); border: 1px solid rgba(94, 234, 212, 0.35); }
.badge.great { background: rgba(169, 155, 255, 0.15); color: #c9c1ff; border-color: rgba(169, 155, 255, 0.35); }
.badge.good { background: rgba(255, 181, 71, 0.12); color: var(--amber); border-color: rgba(255, 181, 71, 0.3); }
.badge.side { background: rgba(255, 255, 255, 0.06); color: var(--muted); border-color: var(--line-2); }
.seat-facts { display: flex; gap: 18px; margin: 12px 0 14px; font-size: 13px; color: var(--muted); }
.seat-facts b { color: var(--text); }
.seat-card-actions { display: flex; justify-content: space-between; gap: 8px; }
.look-hint { margin: 10px 0 0; font-size: 11.5px; color: var(--dim); display: flex; align-items: center; gap: 6px; }
.look-hint::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--dim); background: radial-gradient(circle, var(--dim) 2px, transparent 2.5px); }

body.seatview .minimap { opacity: 1; visibility: visible; transform: none; transition-delay: 0.35s, 0.35s, 0s; }
body.seatview .seat-card { opacity: 1; visibility: visible; transform: none; transition-delay: 0.9s, 0.9s, 0s; }
body.seatview .legend, body.seatview .hint { opacity: 0; pointer-events: none; }
body.seatview .seats-head { opacity: 0; pointer-events: none; }
.legend, .seats-head { transition: opacity 0.4s; }

/* ---------- panels (details / payment / done / track) ---------- */
.view-details, .view-payment, .view-done, .view-track { display: flex; justify-content: flex-end; overflow-y: auto; }
/* No mask/filter/opacity on the scrolling views: any of those stops the glass cards inside
   from blurring the 3D canvas behind them. The header's own gradient covers scrolled content. */
.view-done, .view-track { justify-content: center; }
.panel { width: min(470px, 100%); height: max-content; padding: 26px 26px 22px; margin-bottom: 24px; }
.panel.center { text-align: center; }
.view-track .panel { width: min(560px, 100%); }
.panel-title { font: 400 38px/1.05 var(--serif); margin: 6px 0 6px; }
.panel-sub { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.back:hover { color: var(--text); }
.back svg { width: 16px; height: 16px; }

.tickets { display: grid; gap: 8px; margin-bottom: 20px; }
.ticket-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.t-name { margin: 0; font-weight: 700; }
.t-price { margin: 0; color: var(--muted); font-size: 13px; }
.stepper-ctl { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); }
.stepper-ctl button { width: 34px; height: 34px; border-radius: 9px; border: 0; background: rgba(255, 255, 255, 0.06); font-size: 18px; line-height: 1; }
.stepper-ctl button:hover:not(:disabled) { background: rgba(255, 255, 255, 0.14); }
.stepper-ctl button:disabled { opacity: 0.3; cursor: default; }
.stepper-ctl output { min-width: 30px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }

.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field > span { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.field input {
  height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(25, 25, 25, 0.45);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder { color: #5c5c63; }
.field input:focus { border-color: rgba(216, 255, 62, 0.7); box-shadow: 0 0 0 4px rgba(216, 255, 62, 0.12); }
.field input.invalid { border-color: var(--danger); }

.summary { margin: 18px 0 12px; padding: 14px 16px; border-radius: 14px; background: rgba(216, 255, 62, 0.06); border: 1px solid rgba(216, 255, 62, 0.18); }
.sum-line { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); }
.sum-line b { color: var(--text); text-align: right; }
.sum-line.total { margin-top: 8px; padding-top: 10px; border-top: 1px dashed rgba(216, 255, 62, 0.25); font-size: 16px; }
.sum-line.total b { font-size: 22px; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.form-error { min-height: 0; margin: 0 0 10px; color: var(--danger); font-size: 13.5px; font-weight: 600; }
.form-error:empty { display: none; }
.fine { margin: 12px 0 0; font-size: 12.5px; color: var(--dim); text-align: center; }

/* payment */
.hold { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: 13px; color: var(--amber); background: rgba(255, 181, 71, 0.1); border: 1px solid rgba(255, 181, 71, 0.25); }
.hold b { font-variant-numeric: tabular-nums; }
.hold.urgent { color: var(--danger); background: rgba(255, 102, 128, 0.12); border-color: rgba(255, 102, 128, 0.3); animation: pulse 1.2s infinite; }
.amount { padding: 18px; border-radius: 16px; text-align: center; margin-bottom: 14px; background: radial-gradient(120% 120% at 50% 0%, rgba(216, 255, 62, 0.16), rgba(216, 255, 62, 0.03)); border: 1px solid rgba(216, 255, 62, 0.22); }
.amount-value { margin: 4px 0 6px; font-size: 36px; font-weight: 800; color: var(--accent-text); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.amount-ref { margin: 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 8px; }
.copy { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); font-size: 13px; }
.copy:hover { background: rgba(255, 255, 255, 0.1); }
.copy svg { width: 14px; height: 14px; opacity: 0.7; }
.copy.copied { border-color: var(--ok); color: var(--ok); }
.bank { margin: 0 0 16px; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; }
.bank > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; font-size: 13.5px; }
.bank > div + div { border-top: 1px solid var(--line); }
.bank dt { color: var(--dim); }
.bank dd { margin: 0; font-weight: 700; text-align: right; display: flex; align-items: center; gap: 8px; }
.bank .note { display: block; font-size: 12.5px; color: var(--muted); background: rgba(255, 255, 255, 0.025); }

.drop {
  position: relative; border-radius: 16px; border: 1.5px dashed rgba(216, 255, 62, 0.35); background: rgba(216, 255, 62, 0.03);
  padding: 18px; margin-bottom: 12px; cursor: pointer; transition: border-color 0.2s, background 0.2s; outline: none; overflow: hidden;
}
.drop:hover, .drop:focus-visible, .drop.over { border-color: var(--accent); background: rgba(216, 255, 62, 0.08); }
.drop-empty { display: flex; align-items: center; gap: 14px; }
.drop-empty svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); }
.drop-empty p { margin: 0; font-size: 14px; }
.drop-empty span { font-size: 12.5px; color: var(--dim); }
.drop-file { display: none; align-items: center; gap: 12px; }
.drop.has-file { border-style: solid; cursor: default; }
.drop.has-file .drop-empty { display: none; }
.drop.has-file .drop-file { display: flex; }
.drop-thumb { width: 52px; height: 52px; border-radius: 10px; background: rgba(255, 255, 255, 0.06) center/cover; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--accent); flex: none; }
.drop-meta { flex: 1; min-width: 0; display: grid; }
.drop-meta b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drop-meta span { font-size: 12.5px; color: var(--dim); }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; opacity: 0; }
.progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.2s; }
.drop.uploading .progress { opacity: 1; }
.pay-foot { display: flex; justify-content: space-between; margin-top: 14px; }
.pay-expired { text-align: center; padding: 18px 0; }

/* done */
.done-mark svg { width: 76px; height: 76px; stroke: var(--accent-text); stroke-width: 2.4; }
.done-mark circle { stroke-dasharray: 160; stroke-dashoffset: 160; opacity: 0.4; }
.done-mark path { stroke-dasharray: 40; stroke-dashoffset: 40; stroke-width: 3; }
.view-done.active .done-mark circle { animation: draw 0.9s 0.3s var(--ease) forwards; }
.view-done.active .done-mark path { animation: draw 0.6s 0.9s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ref-big { display: grid; gap: 4px; margin: 4px auto 18px; padding: 14px; border-radius: 14px; border: 1px dashed rgba(216, 255, 62, 0.4); max-width: 280px; }
.ref-big b { font-size: 26px; letter-spacing: 0.06em; color: var(--accent-text); }
.done-grid, .bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; text-align: left; margin-bottom: 20px; }
.done-grid div, .bk-grid div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.done-grid span, .bk-grid span { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.done-grid b, .bk-grid b { font-size: 14px; }
.done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* track */
.track-form { margin-bottom: 8px; }
.recent { display: grid; gap: 8px; margin: 14px 0 0; }
.recent:empty { display: none; }
.recent-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); text-align: left; }
.recent-item:hover { border-color: var(--line-2); background: rgba(255, 255, 255, 0.06); }
.recent-item b { display: block; letter-spacing: 0.04em; }
.recent-item span { font-size: 12.5px; color: var(--dim); }
.booking { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); animation: rise 0.6s var(--ease); }
.status-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; padding: 6px 12px; border-radius: 999px; }
.status-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-awaiting_payment { color: var(--amber); background: rgba(255, 181, 71, 0.12); }
.st-pending_review { color: #c9c1ff; background: rgba(169, 155, 255, 0.16); }
.st-confirmed { color: var(--ok); background: rgba(61, 220, 151, 0.12); }
.st-rejected, .st-expired, .st-cancelled { color: var(--danger); background: rgba(255, 102, 128, 0.12); }
.timeline { list-style: none; margin: 16px 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.timeline li { font-size: 12px; color: var(--dim); padding-top: 10px; border-top: 3px solid var(--line-2); }
.timeline li.done { color: var(--text); border-color: var(--accent-text); }
.ticket-actions { display: flex; gap: 8px; margin-top: 12px; }

/* toasts */
.toasts { position: fixed; z-index: 60; left: 50%; top: calc(var(--top) + 8px); transform: translateX(-50%); display: grid; gap: 8px; pointer-events: none; width: min(420px, calc(100% - 32px)); }
.toast { padding: 12px 16px; border-radius: 12px; background: rgba(25, 25, 25, 0.96); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); animation: toastIn 0.4s var(--ease); text-align: center; }
.toast.err { border-color: rgba(255, 102, 128, 0.5); color: #ffc2cd; }
.toast.ok { border-color: rgba(61, 220, 151, 0.4); }
.toast.out { opacity: 0; transform: translateY(-8px); transition: all 0.35s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(0.97); } }

/* =====================================================================
   Premium layer — frosted glass, hairlines, mono labels, pill controls
   ===================================================================== */

/* film grain over everything (very faint) */
body::after {
  content: ''; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } }

/* frosted glass: tinted blur + light-catching hairline that fades towards the bottom */
.glass, .show-card, .stepper, .link-track, .tooltip, .toast {
  background: var(--glass), var(--glass-tint);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  backdrop-filter: blur(28px) saturate(1.6);
  border: 1px solid transparent;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 40px rgba(255, 255, 255, 0.015);
}
.panel { position: relative; } /* other glass pieces are already absolutely positioned */
.glass::after, .show-card::after, .stepper::after, .link-track::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06) 35%, rgba(255, 255, 255, 0.03) 65%, rgba(216, 255, 62, 0.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.stepper, .link-track { position: relative; }
.panel { border-radius: 28px; padding: 30px 30px 26px; }

/* mono micro-labels with a status dot, like a premium spec sheet */
.mini-label, .section-label, .field > span, .eyebrow, .show-kind, .minimap-head, .status-pill, .badge, .stepper li em, .legend {
  font-family: var(--mono);
}
.mini-label, .section-label { font-weight: 500; font-size: 10.5px; letter-spacing: 0.16em; color: #8a8a91; }
.section-label { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); }
.section-label::before, .section-label::after { content: ''; width: 36px; height: 1px; background: linear-gradient(90deg, transparent, var(--hair)); }
.section-label::after { transform: scaleX(-1); }
.eyebrow { font-weight: 500; font-size: 11.5px; letter-spacing: 0.22em; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(216, 255, 62, 0.25); background: rgba(216, 255, 62, 0.06); }
.eyebrow .dot:last-child { display: none; }
.stepper li em { font-size: 11.5px; font-weight: 500; letter-spacing: 0.04em; }
.legend { font-size: 11.5px; }
.badge, .status-pill, .show-kind { font-weight: 500; letter-spacing: 0.06em; }

/* display type */
.display { font-size: clamp(60px, 9vw, 128px); letter-spacing: -0.02em; background: linear-gradient(180deg, #f4f0e8 30%, #e2ddd2 75%, #bdb7ab); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.6)); padding-bottom: 0.06em; }
.panel-title { font-size: 44px; letter-spacing: -0.01em; }
.seat-name { font-size: 32px; }

/* pill buttons with an arrow chip */
.btn-primary {
  border-radius: 999px; height: 54px; padding: 0 8px 0 26px; gap: 14px; letter-spacing: 0.005em; font-weight: 700;
  background: linear-gradient(180deg, #e6ff8f 0%, #d8ff3e 48%, #b4e01c 100%);
  box-shadow: 0 14px 40px -8px rgba(184, 224, 28, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -2px 6px rgba(70, 90, 0, 0.25);
}
.btn-primary svg { width: 38px; height: 38px; padding: 10px; border-radius: 50%; background: #141a00; color: #e8ff8a; stroke-width: 2.2; transition: transform 0.35s var(--ease); }
.btn-primary:hover:not(:disabled) svg { transform: translateX(3px) rotate(-8deg); }
.btn-primary:not(:has(svg)) { padding: 0 28px; }
.btn-ghost { border-radius: 999px; border-color: var(--hair); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.08); }
.link-track { border-radius: 999px; padding: 9px 16px; color: var(--text); }

/* underline fields (no boxes), a lime line draws in on focus */
.field { gap: 4px; margin-bottom: 18px; }
.field > span { font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #8a8a91; }
.field > span small { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: 11.5px; }
.field input {
  height: 46px; padding: 0 2px; border: 0; border-radius: 0; font-size: 16px;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1.5px no-repeat, linear-gradient(var(--hair), var(--hair)) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.45s var(--ease), color 0.2s;
}
.field input:focus { box-shadow: none; background-size: 100% 1.5px, 100% 1px; }
.field input.invalid { background-image: linear-gradient(var(--danger), var(--danger)), linear-gradient(var(--danger), var(--danger)); background-size: 100% 1.5px, 100% 1px; }
.field input.valid { background-image: linear-gradient(var(--accent), var(--accent)), linear-gradient(rgba(61, 220, 151, 0.55), rgba(61, 220, 151, 0.55)); }
.field { position: relative; }
.field:has(input.valid)::after { content: '✓'; position: absolute; right: 2px; top: 30px; font-size: 13px; color: var(--ok); }
.field-error { min-height: 0; font-size: 12.5px; font-weight: 500; color: #ff9aac; }
.field-error:empty { display: none; }
.field-error::before { content: '! '; font-family: var(--mono); }

/* lists & summaries lose their boxes in favour of hairlines */
.tickets { gap: 0; border-top: 1px solid var(--hair); margin-bottom: 26px; }
.ticket-row { border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; background: none; padding: 14px 0; }
.t-name { font-size: 16px; }
.stepper-ctl { border-radius: 999px; background: rgba(255, 255, 255, 0.04); border-color: var(--hair); }
.stepper-ctl button { border-radius: 50%; }
.summary { border-radius: 20px; background: linear-gradient(160deg, rgba(216, 255, 62, 0.1), rgba(216, 255, 62, 0.02)); border-color: rgba(216, 255, 62, 0.2); }
.amount { border-radius: 22px; }
.bank { border-radius: 18px; border-color: var(--hair); background: rgba(255, 255, 255, 0.02); }
.drop { border-radius: 20px; }
.copy { border-radius: 999px; font-family: var(--mono); font-size: 12px; }

/* show cards */
.show-card { border-radius: 26px; padding: 20px; }
.show-card:hover, .show-card:focus-visible { border-color: transparent; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(216, 255, 62, 0.35), 0 0 60px -10px rgba(216, 255, 62, 0.25); }
.show-kind { background: rgba(255, 255, 255, 0.05); color: var(--muted); border: 1px solid var(--hair); }
.show-kind::before { content: '● '; color: var(--accent-text); }
.show-info b { font-size: 30px; }
.show-cta { border-radius: 999px; padding: 0 6px 0 16px; height: 40px; }
.show-cta svg { width: 28px; height: 28px; padding: 7px; border-radius: 50%; background: #141a00; color: #e8ff8a; }
.show-date { border-radius: 16px; border: 1px solid rgba(216, 255, 62, 0.22); }

/* seat-map chrome */
.dock { border-radius: 28px; }
.seat-card { border-radius: 24px; }
.legend, .seats-head { border-radius: 18px; }
.seat-chip { border-radius: 999px; }
.minimap { border-radius: 24px; background: var(--glass), rgba(25, 25, 25, 0.7); border-color: var(--hair); }
.minimap { width: clamp(360px, 33vw, 500px); }
.hint { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.02em; }
.stepper li.on { box-shadow: 0 6px 20px -4px rgba(184, 224, 28, 0.5); }

/* ---------- account: header button, menu, modal, details strip ---------- */
.top-actions { justify-self: end; display: flex; align-items: center; gap: 8px; position: relative; }
.top-actions .link-track { justify-self: auto; }
.account-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; border: 0; white-space: nowrap;
  font-weight: 700; font-size: 13px; color: #141a00; background: linear-gradient(180deg, #e6ff8f, var(--accent) 50%, var(--accent-2));
}
.account-btn:has(.avatar:not([hidden])) { padding: 0 14px 0 4px; color: var(--text); background: var(--glass), var(--glass-tint); border: 1px solid var(--hair); }
.avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font: 600 11.5px var(--mono); color: #141a00; background: linear-gradient(160deg, #e6ff8f, var(--accent-2)); flex: none; }
.account-menu { position: absolute; top: calc(100% + 10px); right: 0; width: 240px; padding: 12px; border-radius: 18px; z-index: 40; display: grid; gap: 2px; }
.account-menu[hidden] { display: none; }
.am-name { margin: 2px 8px 0; font-weight: 700; }
.am-email { margin: 0 8px 8px; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.account-menu a, .account-menu button { display: block; width: 100%; text-align: left; padding: 9px 10px; border-radius: 10px; border: 0; background: none; font-size: 14px; text-decoration: none; color: var(--text); }
.account-menu a:hover, .account-menu button:hover { background: rgba(255, 255, 255, 0.07); }
.account-menu button { color: #ff9aac; }

.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; }
.modal-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.3s; }
.modal-card { position: relative; width: min(430px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 30px 28px 24px; border-radius: 28px; opacity: 0; transform: translateY(16px) scale(0.98); transition: opacity 0.3s var(--ease), transform 0.4s var(--ease); }
.modal-card::after { inset: 0; } /* keep the glass edge inside the scroll box (no stray scrollbars) */
.modal.open .modal-scrim { opacity: 1; }
.modal.open .modal-card { opacity: 1; transform: none; }
.modal-x { position: absolute; top: 16px; right: 16px; border-radius: 50%; }
.modal-card .panel-title { margin: 6px 0 16px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--hair); }
.auth-tabs button { height: 36px; border: 0; border-radius: 999px; background: none; font-weight: 600; font-size: 13.5px; color: var(--muted); }
.auth-tabs button[aria-selected='true'] { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.google-slot { display: grid; justify-items: center; gap: 4px; margin-bottom: 6px; }
.google-slot[hidden] { display: none; }
.or { display: flex; align-items: center; gap: 12px; width: 100%; margin: 10px 0 4px; font: 500 10.5px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--hair); }
.auth-form .btn-primary { margin-top: 6px; }

.account-strip { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; }
.account-strip:empty { display: none; }
.account-strip.in, .account-strip.out { padding: 12px 14px; border-radius: 18px; border: 1px solid var(--hair); background: rgba(255, 255, 255, 0.03); }
.account-strip.out { flex-wrap: wrap; border-color: rgba(216, 255, 62, 0.3); background: rgba(216, 255, 62, 0.06); }
.as-text { flex: 1; min-width: 180px; font-size: 13.5px; color: var(--muted); }
.as-text b { color: var(--text); }
.as-text small { display: block; margin: 0; }
.as-actions { display: flex; gap: 8px; }
.linkish { padding: 0; border: 0; background: none; color: var(--accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.track-or { margin: 22px 0 14px; }
#accountList .recent-item { align-items: center; }

/* ---------- show / hide password ---------- */
.field > .pw, .pw { position: relative; display: block; font: inherit; letter-spacing: normal; text-transform: none; color: inherit; }
.pw input { width: 100%; padding-right: 44px !important; }
.pw-toggle { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--dim); }
.pw-toggle:hover, .pw-toggle:focus-visible { color: var(--text); background: rgba(127, 127, 127, 0.12); outline: none; }
.pw-toggle svg { width: 18px; height: 18px; }
.pw-toggle .i-eye-off, .pw-toggle[aria-pressed='true'] .i-eye { display: none; }
.pw-toggle[aria-pressed='true'] .i-eye-off { display: block; }

/* ---------- brand: Absurd Dreams wordmark (lime / lavender on charcoal, as in the logo) ---------- */
.logo { display: inline-grid; justify-items: center; padding: 6px 12px 5px; border-radius: 10px; background: #191919; line-height: 0.92; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06); }
.logo b { font: 800 15px/0.95 var(--sans); letter-spacing: -0.01em; }
.logo .logo-a { color: #d8ff3e; }
.logo .logo-d { color: #a99bff; }
.logo i { margin-top: 3px; font: 500 5.4px/1 var(--sans); font-style: normal; letter-spacing: 0.32em; color: #f1efe8; padding-left: 0.32em; }
.loader-mark span { font: 800 20px var(--sans); letter-spacing: -0.02em; color: #d8ff3e; }
.theme-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--hair); background: var(--glass), var(--glass-tint); color: var(--text); backdrop-filter: blur(12px); }
.theme-btn svg, .link-track .ic { width: 16px; height: 16px; }
.theme-btn .i-moon, [data-theme='light'] .theme-btn .i-sun { display: none; }
[data-theme='light'] .theme-btn .i-moon { display: block; }

/* ---------- hero extras ---------- */
.hero-artist { margin: 4px 0 -6px; font: 200 clamp(26px, 3.2vw, 40px)/1 var(--serif); color: var(--muted); }
.hero-when { margin: -4px 0 14px; font: 500 12px var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- show cards: price, notes ---------- */
.show-sub { display: block; margin: -4px 0 6px; font: 200 17px var(--serif); color: var(--accent-text); }
.show-price { color: var(--text) !important; font-weight: 600; }
.show-notes { font-size: 12.5px; line-height: 1.45; color: var(--dim); padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--hair); }
.show-card .show-left:not(:has(b)) { color: var(--accent-text); }
.show-cta.ghost { color: var(--text); background: transparent; box-shadow: inset 0 0 0 1px var(--hair); }
.show-cta.ghost svg { background: var(--text); color: var(--bg); }
[data-theme='light'] .show-card .show-left:not(:has(b)) { color: var(--accent-text); }

/* ---------- home sections ---------- */
.home-sec { width: 100%; max-width: 1080px; margin: 72px auto 0; text-align: left; }
.home-sec > .section-label { display: flex; justify-content: center; margin-bottom: 18px; }
.sec-title { margin: 6px 0 14px; font: 400 clamp(30px, 3.6vw, 46px)/1.08 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.sec-lede { margin: 0; max-width: 62ch; color: var(--muted); font-size: 16px; }
.muted { color: var(--dim); }

.laurels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.laurel { position: relative; display: grid; place-items: center; text-align: center; gap: 6px; min-height: 120px; padding: 18px 30px; }
.laurel::before, .laurel::after {
  content: ''; position: absolute; top: 50%; width: 30px; height: 84px; transform: translateY(-50%); opacity: 0.85;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 84' fill='%23ffc53d'%3E%3Cpath d='M24 82C10 70 4 52 6 30 7 18 12 8 18 2c-4 10-6 22-5 34 1 18 6 32 13 44z' opacity='.35'/%3E%3Cellipse cx='9' cy='18' rx='3' ry='7' transform='rotate(-25 9 18)'/%3E%3Cellipse cx='6' cy='32' rx='3' ry='7' transform='rotate(-10 6 32)'/%3E%3Cellipse cx='7' cy='46' rx='3' ry='7' transform='rotate(8 7 46)'/%3E%3Cellipse cx='11' cy='59' rx='3' ry='7' transform='rotate(25 11 59)'/%3E%3Cellipse cx='17' cy='71' rx='3' ry='6.5' transform='rotate(42 17 71)'/%3E%3C/svg%3E");
}
.laurel::before { left: 0; }
.laurel::after { right: 0; transform: translateY(-50%) scaleX(-1); }
.laurel b { font: 400 19px/1.15 var(--serif); }
.laurel span { font: 600 10px var(--mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quote { margin: 0; padding: 18px 18px 16px; border-radius: 20px; }
.quote .stars { margin: 0 0 8px; color: var(--accent-text); letter-spacing: 0.15em; font-size: 13px; }
.quote blockquote { margin: 0 0 10px; font: 200 19px/1.25 var(--serif); }
.quote figcaption { font: 500 10.5px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }

.split { display: grid; grid-template-columns: minmax(260px, 0.85fr) 1.15fr; gap: 22px; align-items: start; }
.poster { margin: 0; position: sticky; top: calc(var(--top) + 16px); border-radius: 26px; overflow: hidden; border: 1px solid var(--hair); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7); }
.poster img { display: block; width: 100%; height: auto; }
.prose { padding: 28px; border-radius: 26px; }
.prose p { color: var(--muted); font-size: 15.5px; }
.prose p b { color: var(--text); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin: 18px 0; }
.facts > div { padding: 10px 0; border-top: 1px solid var(--hair); }
.facts dt { font: 500 10px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.facts dd { margin: 2px 0 0; font-weight: 600; font-size: 14px; }
.price-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-table th, .price-table td { padding: 10px 8px; border-top: 1px solid var(--hair); text-align: right; }
.price-table th:first-child { text-align: left; }
.price-table thead th { font: 500 10.5px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border-top: 0; }
.price-table small { display: block; font: 400 11px var(--sans); letter-spacing: 0; text-transform: none; color: var(--dim); }
.price-table td { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

.ws-head { text-align: center; display: grid; justify-items: center; margin-bottom: 22px; }
.ws-gallery { display: grid; grid-template-columns: 1.3fr 0.7fr 1fr; grid-template-rows: 190px 190px; gap: 10px; margin-bottom: 14px; }
.ws-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; border: 1px solid var(--hair); }
.ws-gallery img:nth-child(1) { grid-row: span 2; }
.ws-gallery img:nth-child(2) { grid-row: span 2; }
.ws-gallery img:nth-child(5) { display: none; }
.ws-info { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.ws-info .facts { margin: 0; padding: 8px 22px; border-radius: 22px; grid-template-columns: 1fr; }
.testimonials { display: grid; gap: 12px; }
.support { margin: 18px 0 0; text-align: center; font: 500 11px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.support b { color: var(--text); }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about article { padding: 26px; border-radius: 24px; }
.about h3, .contact h3 { margin: 4px 0 10px; font: 400 30px/1.1 var(--serif); }
.about p { color: var(--muted); font-size: 15px; }
.contact { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px; border-radius: 26px; }
.contact p { margin: 0; }
.contact-links { display: flex; gap: 8px; flex-wrap: wrap; }
.contact-links .btn-ghost span { font-weight: 700; }
.site-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; width: 100%; max-width: 1080px; margin: 40px auto 0; padding-top: 18px; border-top: 1px solid var(--hair); font: 500 10.5px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.site-foot .credit a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--hair); transition: border-color 0.2s, color 0.2s; }
.site-foot .credit a:hover { color: var(--accent-text); border-color: var(--accent-text); }
[data-theme='light'] .site-foot .credit a:hover { color: var(--accent-text); border-color: var(--accent-text); }

/* ---------- seats legend with prices, details lines ---------- */
.legend { flex-direction: column; align-items: stretch; gap: 10px; }
.legend-states, .legend-views { display: flex; gap: 14px; }
.legend-views { padding-bottom: 10px; border-bottom: 1px solid var(--hair); }
.legend-zones { display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--hair); font-family: var(--sans); font-size: 12.5px; }
.legend-zones:empty { display: none; }
.legend-zones span { display: flex; justify-content: space-between; gap: 14px; color: var(--muted); }
.legend-zones b { color: var(--text); font-weight: 600; }
.legend-zones small { display: none; }
.show-note { margin: -6px 0 18px; padding: 10px 14px; border-radius: 14px; font-size: 13px; color: var(--text); background: rgba(216, 255, 62, 0.08); border: 1px solid rgba(216, 255, 62, 0.25); }
.ticket-row.line .t-sub { font-variant-numeric: tabular-nums; }
.tickets:empty { display: none; }
#qtyRow { border-top: 1px solid var(--hair); }

/* =====================================================================
   Light theme — ink on warm paper; the 3D hall switches to black lines on white
   ===================================================================== */
[data-theme='light'] {
  color-scheme: light;
  --bg: #f4f0e8; /* Warm Paper */
  --panel-solid: #fbf9f4;
  --text: #191919;
  --muted: #55524c;
  --dim: #85827a;
  --lilac-text: #5f4fe0;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.16);
  --hair: rgba(0, 0, 0, 0.12);
  --glass: linear-gradient(160deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.6) 60%, rgba(255, 255, 255, 0.5) 100%);
  --glass-tint: rgba(250, 247, 240, 0.55);
  --accent-ink: #141414;
  --accent-text: #141414;
  --accent-soft: rgba(216, 255, 62, 0.22);
}
[data-theme='light'] body { background: var(--bg); }
[data-theme='light'] body::after { opacity: 0.035; mix-blend-mode: multiply; }
[data-theme='light'] .vignette { background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(244, 240, 232, 0.8) 100%); }
[data-theme='light'] body[data-view='home'] .vignette {
  background:
    radial-gradient(60% 45% at 50% 30%, rgba(244, 240, 232, 0.92) 0%, rgba(244, 240, 232, 0.5) 70%, transparent 100%),
    radial-gradient(70% 60% at 50% 48%, rgba(244, 240, 232, 0.6) 0%, rgba(244, 240, 232, 0.35) 55%, rgba(244, 240, 232, 0.15) 100%);
}
[data-theme='light'] body[data-view='details'] .vignette,
[data-theme='light'] body[data-view='payment'] .vignette { background: linear-gradient(90deg, transparent 0%, rgba(244, 240, 232, 0.3) 45%, rgba(244, 240, 232, 0.92) 75%); }
[data-theme='light'] .vignette::after { background: rgba(244, 240, 232, 0.9); }
[data-theme='light'] body[data-view='done'] .vignette,
[data-theme='light'] body[data-view='track'] .vignette { background: rgba(244, 240, 232, 0.75); }
[data-theme='light'] body:not([data-view='seats']) .topbar { background: linear-gradient(180deg, rgba(244, 240, 232, 0.98) 0%, rgba(244, 240, 232, 0.94) 72%, rgba(244, 240, 232, 0) 100%); }
[data-theme='light'] .glass, [data-theme='light'] .show-card, [data-theme='light'] .stepper, [data-theme='light'] .link-track,
[data-theme='light'] .tooltip, [data-theme='light'] .toast {
  box-shadow: 0 24px 60px -24px rgba(20, 20, 30, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
[data-theme='light'] .glass::after, [data-theme='light'] .show-card::after, [data-theme='light'] .stepper::after, [data-theme='light'] .link-track::after {
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.04) 70%, rgba(0, 0, 0, 0.12));
}
[data-theme='light'] .display { background: linear-gradient(180deg, #191919 30%, #3d3a35 80%); -webkit-background-clip: text; background-clip: text; filter: none; }
[data-theme='light'] .eyebrow, [data-theme='light'] .show-date, [data-theme='light'] .show-sub, [data-theme='light'] .laurel span,
[data-theme='light'] .quote .stars, [data-theme='light'] .amount-value, [data-theme='light'] .sum-line.total b, [data-theme='light'] .ref-big b,
[data-theme='light'] .linkish, [data-theme='light'] .show-card:disabled .show-left, [data-theme='light'] .loader-mark span { color: var(--accent-text); }

[data-theme='light'] .show-date { border-color: rgba(90, 72, 216, 0.3); }
[data-theme='light'] .show-left b { color: #137a4b; }
[data-theme='light'] .show-left.low b { color: #a35a00; }
[data-theme='light'] .chip, [data-theme='light'] .btn-ghost, [data-theme='light'] .show-notes, [data-theme='light'] .stepper-ctl,
[data-theme='light'] .ticket-row, [data-theme='light'] .bank, [data-theme='light'] .recent-item, [data-theme='light'] .done-grid div,
[data-theme='light'] .bk-grid div, [data-theme='light'] .icon-btn, [data-theme='light'] .auth-tabs { background: rgba(0, 0, 0, 0.03); }
[data-theme='light'] .stepper-ctl button, [data-theme='light'] .auth-tabs button[aria-selected='true'] { background: rgba(0, 0, 0, 0.07); }
[data-theme='light'] .stepper li { color: var(--dim); }
[data-theme='light'] .stepper li.done { color: var(--muted); }
[data-theme='light'] .stepper li.back:hover, [data-theme='light'] .stepper li.back:focus-visible { background: rgba(0, 0, 0, 0.06); color: var(--text); }
[data-theme='light'] .field > span, [data-theme='light'] .mini-label, [data-theme='light'] .section-label { color: #6c6b65; }
[data-theme='light'] .field input::placeholder { color: #9b9a93; }
[data-theme='light'] .seat-chip { color: #2f3d00; border-color: rgba(90, 72, 216, 0.45); }
[data-theme='light'] .seat-chip.current { color: #141a00; }
[data-theme='light'] { --v-excellent: #0f9b8e; --v-great: #6b5ce7; --v-good: #c27800; --v-side: #9a978e; }
[data-theme='light'] .badge { color: var(--v-excellent); background: rgba(15, 155, 142, 0.1); border-color: rgba(15, 155, 142, 0.3); }
[data-theme='light'] .badge.great { color: var(--v-great); background: rgba(107, 92, 231, 0.1); border-color: rgba(107, 92, 231, 0.3); }
[data-theme='light'] .sw[class*='v-'] { background: #fff; }
[data-theme='light'] .hint { background: rgba(255, 255, 255, 0.7); color: var(--muted); }
[data-theme='light'] .minimap { background: var(--glass), rgba(255, 255, 255, 0.7); }
[data-theme='light'] .sw-av { background: #fff; border-color: #1f1f1f; }
[data-theme='light'] .sw-taken { background: #dcd9d0; border-color: #a9a69d; }
[data-theme='light'] .sw-sel { background: #efffb0; border-color: #4d6600; box-shadow: none; }
[data-theme='light'] .venue-note { color: var(--accent-text); }
[data-theme='light'] .show-note { background: rgba(216, 255, 62, 0.16); border-color: rgba(90, 72, 216, 0.3); }
[data-theme='light'] .account-btn:has(.avatar:not([hidden])) { color: var(--text); }
[data-theme='light'] .modal-scrim { background: rgba(244, 240, 232, 0.6); }
[data-theme='light'] .poster { box-shadow: 0 40px 80px -30px rgba(20, 20, 30, 0.35); }
/* flat seat plan in light: ink on paper */
[data-theme='light'] .plan, [data-theme='light'] .plan-box { background: #faf8f3; }
[data-theme='light'] .plan .mp-seat { stroke: #1f1f1f; }
[data-theme='light'] .plan [data-state='free'] .mp-seat { stroke: var(--vc, #1f1f1f); }
[data-theme='light'] .plan [data-seat]:hover .mp-seat { fill: rgba(0, 0, 0, 0.12); stroke: #000; }
[data-theme='light'] .plan [data-state='taken'] .mp-seat { fill: #dcd9d0; stroke: #b3b0a7; }
[data-theme='light'] .plan [data-state='sel'] .mp-seat { fill: #efffb0; stroke: #4d6600; }
[data-theme='light'] .plan [data-state='cur'] .mp-seat { fill: #d8ff3e; stroke: #2f3d00; }
[data-theme='light'] .plan .mp-ring { stroke: #4d6600; }
[data-theme='light'] .plan .mp-cone { fill: rgba(0, 0, 0, 0.06); }
[data-theme='light'] .plan .mp-stage { stroke: #8fb300; filter: none; }
[data-theme='light'] .plan .mp-stage-label { fill: #1e1e1e; }
[data-theme='light'] .plan .mp-row { fill: #8a8983; }
.plan .mp-zone { font: 500 0.34px var(--mono); letter-spacing: 0.3px; fill: #e2ff80; text-anchor: middle; }
[data-theme='light'] .plan .mp-zone { fill: #5443d6; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .stepper li em { display: none; }
  .stepper li { padding: 4px; }
}
@media (max-width: 900px) {
  .laurels, .quotes { grid-template-columns: 1fr 1fr; }
  .split, .ws-info, .about { grid-template-columns: 1fr; }
  .poster { position: static; max-width: 420px; margin: 0 auto; }
}
/* portrait tablets: seat map sits beside the seat card so the stage view above stays clear */
@media (min-width: 721px) and (max-width: 1100px) and (orientation: portrait) {
  .minimap { top: auto; bottom: 128px; width: min(calc(100% - 330px - 3 * clamp(16px, 3vw, 36px)), 420px); transform-origin: bottom right; }
  .plan { max-height: 42vh; }
}
@media (max-width: 720px) {
  :root { --top: 62px; }
  .brand-name { font-size: 20px; }
  .topbar { gap: 8px; }
  .logo { padding: 5px 9px 4px; }
  .logo b { font-size: 12px; }
  .logo i { display: none; }
  .theme-btn { width: 32px; height: 32px; }
  .home-sec { margin-top: 52px; }
  .quotes { grid-template-columns: 1fr; }
  .laurel { min-height: 100px; padding: 14px 28px; }
  .laurel b { font-size: 16px; }
  .facts { grid-template-columns: 1fr; }
  .ws-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 150px 150px; }
  .ws-gallery img:nth-child(2) { display: none; }
  .ws-gallery img:nth-child(1) { grid-row: span 1; grid-column: span 2; }
  .prose, .about article, .contact { padding: 20px; }
  .legend-zones { display: none; }
  .stepper { gap: 2px; padding: 4px; }
  .stepper li span { width: 20px; height: 20px; }
  .link-track { padding: 7px 10px; font-size: 12px; }
  .brand-name { display: none; }
  body[data-view='home'] .vignette { background: linear-gradient(180deg, rgba(25, 25, 25, 0.55) 0%, rgba(25, 25, 25, 0.8) 35%, rgba(25, 25, 25, 0.95) 65%); }
  .hero { padding-top: 6vh; }
  .display { font-size: 56px; }
  .shows > * { flex-basis: 100%; max-width: none; }
  .price-table table { font-size: 13px; }
  .price-table th, .price-table td { padding: 9px 4px; }
  .price-table th:first-child { padding-left: 0; }

  .hint { top: auto; bottom: 230px; font-size: 12px; }
  .legend { top: auto; bottom: 160px; left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; padding: 8px 12px; gap: 6px; font-size: 11px; }
  .legend-views, .legend-states { gap: 10px; justify-content: center; }
  .legend-views { padding-bottom: 6px; }
  .legend .sw { width: 11px; height: 11px; }
  .seats-head { left: 16px; right: 16px; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 14px; }
  .seats-head > div { min-width: 0; }
  .seats-head .mini-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .seats-show { font-size: 14px; line-height: 1.3; }
  .seats-head .venue-note { display: none; } /* shown again on the details step */
  .dock { grid-template-columns: 1fr auto; gap: 10px 14px; padding: 12px 12px 12px 14px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100% - 24px); }
  .dock .btn-primary { grid-column: 1 / -1; height: 48px; }
  .dock-price { font-size: 19px; }
  /* phones: minimised pill by default; opened, a full-width panel with a zoomed plan you can drag around */
  .minimap { right: 12px; top: calc(var(--top) + 6px); border-radius: 18px; }
  .minimap:not(.collapsed) { left: 8px; right: 8px; width: auto; }
  .plan-box { margin: 0 8px; overflow: auto; max-height: max(240px, calc(100dvh - var(--top) - 260px)); border-radius: 14px; background: #050505; overscroll-behavior: contain; }
  .plan-box .plan { width: 200%; max-width: none; max-height: none; margin: 0; border-radius: 0; }
  /* while the map is open it's a seat picker: the seat card steps aside (the dock below still shows the picks) */
  body.seatview:has(.minimap:not(.collapsed)) .seat-card { opacity: 0; visibility: hidden; }
  .minimap-foot .mm-desk { display: none; }
  .minimap-foot .mm-phone { display: inline; }
  .top-actions { gap: 6px; }
  /* "My bookings" becomes a ticket icon so the header fits on phones */
  .link-track { display: grid; place-items: center; width: 32px; height: 32px; padding: 0 !important; font-size: 0 !important; }
  .link-track .ic { width: 16px; height: 16px; margin: 0; }
  .link-track::before {
    content: none; width: 16px; height: 16px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 9V6a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v3a3 3 0 0 0 0 6v3a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-3a3 3 0 0 0 0-6z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 9V6a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v3a3 3 0 0 0 0 6v3a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-3a3 3 0 0 0 0-6z'/%3E%3C/svg%3E") center/contain no-repeat;
  }
  .account-btn { height: 34px; padding: 0 12px; font-size: 12px; }
  .account-btn:has(.avatar:not([hidden])) #accountLabel { display: none; }
  .account-btn:has(.avatar:not([hidden])) { padding: 0 2px; }
  .minimap-head { padding: 6px 6px 4px 14px; }
  .minimap-foot { padding: 7px 12px 9px; font-size: 11px; text-align: center; }
  .seat-card { left: 12px; right: 12px; width: auto; bottom: 166px; padding: 12px 14px; }
  .seat-card .mini-label { display: none; }
  .seat-name { font-size: 24px; margin: 0; }
  .seat-facts { margin: 6px 0 10px; }
  .look-hint { display: none; }

  .view-details, .view-payment, .view-done, .view-track { padding-left: 12px; padding-right: 12px; }
  .view-details .panel, .view-payment .panel { margin-top: 30vh; }
  body[data-view='details'] .vignette, body[data-view='payment'] .vignette { background: linear-gradient(180deg, transparent 0%, rgba(25, 25, 25, 0.2) 25%, rgba(25, 25, 25, 0.9) 50%); }
  .panel { padding: 22px 18px 18px; }
  .panel-title { font-size: 32px; }
}

/* ---------- print (e-ticket) ---------- */
@media print {
  body { overflow: visible; background: #fff; color: #000; }
  #stage3d, .vignette, .topbar, .toasts, .loader, .track-form, .recent, .bk-list, .panel-title, .panel-sub, .ticket-actions, .timeline { display: none !important; }
  main, .view { position: static; opacity: 1 !important; visibility: visible !important; transform: none !important; filter: none !important; }
  .view:not(.active) { display: none; }
  .glass { background: none; border: 0; box-shadow: none; backdrop-filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Lenis smooth scrolling (home page) */
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }


/* ---------- icons, text veils, HUD corners ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 15px; height: 15px; flex: none; }
.chip { display: inline-flex; align-items: center; gap: 7px; }
.chip .ic { width: 14px; height: 14px; color: var(--accent-text); }
.link-track { display: inline-flex; align-items: center; gap: 7px; }
.hint { display: flex; align-items: center; gap: 8px; }
.hint .ic { color: var(--accent-text); }
.dock-count { display: flex; align-items: center; gap: 6px; }
.dock-count .ic { width: 14px; height: 14px; color: var(--accent-text); }
.contact-links .btn-ghost { display: inline-flex; align-items: center; gap: 8px; }
.contact-links .ic { width: 16px; height: 16px; color: var(--accent-text); }
.show-notes { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* numbered section markers (01, 02…) with a small square, as on the reference sites */
.idx { display: inline-flex; align-items: center; gap: 6px; margin-right: 10px; color: var(--accent-text); }
.idx::before { content: ''; width: 5px; height: 5px; background: currentColor; }

/* facts with icons instead of label/value tables */
.icon-facts { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 12px; }
.icon-facts li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14.5px; }
.icon-facts .ic { width: 18px; height: 18px; color: var(--accent-text); }
.icon-facts small { display: block; margin-bottom: 1px; font: 500 10px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.ws-info .icon-facts { margin: 0; padding: 22px 24px; border-radius: 24px; gap: 16px; }

/* text that sits straight on the 3D hall gets a soft, feathered blur behind it */
.veil { position: relative; z-index: 0; }
.veil::before {
  content: ''; position: absolute; inset: -26px -56px; z-index: -1; pointer-events: none;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  background: radial-gradient(closest-side, rgba(25, 25, 25, 0.6), rgba(25, 25, 25, 0.25) 70%, rgba(25, 25, 25, 0));
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent);
  mask-image: radial-gradient(closest-side, #000 60%, transparent);
}
[data-theme='light'] .veil::before { background: radial-gradient(closest-side, rgba(244, 240, 232, 0.75), rgba(244, 240, 232, 0.3) 70%, rgba(244, 240, 232, 0)); }

/* HUD corner brackets on panels */
:root { --hud-c: rgba(216, 255, 62, 0.55); }
[data-theme='light'] { --hud-c: rgba(0, 0, 0, 0.4); }
.hud { position: relative; }
.hud::before {
  content: ''; position: absolute; inset: 9px; pointer-events: none; --l: 12px;
  background:
    linear-gradient(var(--hud-c) 0 0) left top / var(--l) 1px, linear-gradient(var(--hud-c) 0 0) left top / 1px var(--l),
    linear-gradient(var(--hud-c) 0 0) right top / var(--l) 1px, linear-gradient(var(--hud-c) 0 0) right top / 1px var(--l),
    linear-gradient(var(--hud-c) 0 0) left bottom / var(--l) 1px, linear-gradient(var(--hud-c) 0 0) left bottom / 1px var(--l),
    linear-gradient(var(--hud-c) 0 0) right bottom / var(--l) 1px, linear-gradient(var(--hud-c) 0 0) right bottom / 1px var(--l);
  background-repeat: no-repeat;
}


/* ---------- one accent, used boldly ---------- */
[data-theme='light'] .show-date { border-color: transparent; }
[data-theme='light'] .show-date, [data-theme='light'] .show-date b, [data-theme='light'] .show-date span { color: var(--ink); }
.show-date b, .show-date span { color: var(--ink); }
/* light mode: big numbers get a lime marker stroke instead of lime type */
[data-theme='light'] .amount-value, [data-theme='light'] .ref-big b, [data-theme='light'] .sum-line.total b {
  background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 92%, transparent 92%); padding: 0 4px;
}
[data-theme='light'] .idx::before { background: var(--accent); box-shadow: 0 0 0 1px var(--ink); }
[data-theme='light'] .plan [data-state='sel'] .mp-seat { stroke: var(--ink); }
[data-theme='light'] .drop:hover, [data-theme='light'] .drop.over { border-color: var(--ink); }

/* the awards as a lime band that runs across the page */
.marquee { --dur: 38s; position: relative; margin: 34px calc(50% - 50vw) 0; width: 100vw; overflow: hidden; background: var(--accent); color: var(--ink); transform: rotate(-1.4deg); box-shadow: 0 18px 50px -20px rgba(216, 255, 62, 0.45); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--dur) linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 22px; padding: 14px 22px 13px 0; font: 500 13px var(--mono); letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; }
.marquee b { font: 400 26px/1 var(--serif); letter-spacing: 0; text-transform: none; }
.marquee i { width: 8px; height: 8px; background: var(--ink); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.praise .quotes { margin-top: 46px; }


/* ---------- scroll reveals (classes are added by JS, so nothing hides without it) ---------- */
.rv { opacity: 0; transform: translate3d(0, 36px, 0); filter: blur(8px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease), filter 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; filter: none; }
.rv-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.rv-words .w > span { display: inline-block; transform: translate3d(0, 110%, 0); transition: transform 1s var(--ease); transition-delay: calc(var(--d, 0ms) + var(--i, 0) * 55ms); }
.rv-words.in .w > span { transform: none; }
.rv-img { clip-path: inset(22% 10% 22% 10%); opacity: 0; transform: scale(1.14); transition: clip-path 1.3s var(--ease), opacity 0.7s var(--ease), transform 1.6s var(--ease); transition-delay: var(--d, 0ms); }
.rv-img.in { clip-path: inset(0); opacity: 1; transform: none; }
.poster { overflow: hidden; }
.poster img.in { transform: translate3d(0, var(--py, 0px), 0) scale(1.08); transition: clip-path 1.3s var(--ease), opacity 0.7s var(--ease); }
.hero { will-change: transform, opacity; }
[data-theme='light'] .eyebrow { color: var(--accent); background: var(--ink); border-color: var(--ink); }
.view-home { overflow-x: hidden; } /* the tilted awards band runs edge to edge */


/* ---------- Absurd Dreams brand layer ---------- */
body { font-weight: 400; letter-spacing: -0.005em; }
.display, .sec-title, .about h3, .contact h3, .what h3, .show-info b, .panel-title, .seat-name, .marquee b { font-weight: 400; letter-spacing: -0.035em; }
.display { font-size: clamp(64px, 10vw, 150px); line-height: 0.9; }
.brand-display { margin: 6px 0 14px; }
.brand-display .d-dreams { color: var(--accent-text); }
[data-theme='light'] .brand-display .d-dreams { background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 90%, transparent 90%); padding: 0 0.06em; }
.hero-artist, .quote blockquote, .lede, .sec-lede { font-weight: 200; letter-spacing: -0.01em; }
.lede { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.4; color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.hero-cta .btn-primary, .hero-cta .btn-ghost { height: 48px; padding: 0 22px; }
/* the event: Dreamgirl wears the brand's lilac as its production colour */
.event { text-align: center; display: grid; justify-items: center; }
.event-head { display: grid; justify-items: center; max-width: 760px; margin-bottom: 26px; }
.event-title { color: var(--lilac-text); font-size: clamp(56px, 8vw, 120px); margin: 0 0 12px; }
.event .hero-artist { margin: 10px 0 0; font-size: clamp(24px, 2.6vw, 34px); }
.event .shows { justify-content: center; }
/* what we do */
.what-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.what-grid article { padding: 26px 24px; border-radius: 24px; text-align: left; }
.what-grid h3 { margin: 18px 0 8px; font-size: 30px; line-height: 1.05; }
.what-grid p { margin: 0; color: var(--muted); font-size: 15px; }
.what-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .what-grid { grid-template-columns: 1fr; } }
.event-title, [data-theme='light'] .event-title { background: none; -webkit-text-fill-color: var(--lilac-text); color: var(--lilac-text); }
.hero-cta .btn-ghost { display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(25, 25, 25, 0.45); backdrop-filter: blur(10px); font-weight: 600; }
[data-theme='light'] .hero-cta .btn-ghost { background: rgba(250, 247, 240, 0.7); }
.seat-name { white-space: nowrap; font-size: clamp(24px, 2.3vw, 30px); }


/* ---------- colour balance: lime = action, lilac = brand structure ---------- */
:root { --lilac: #a99bff; --lilac-text: #a99bff; --lilac-soft: rgba(169, 155, 255, 0.14); --hud-c: rgba(169, 155, 255, 0.6); }
[data-theme='light'] { --lilac-text: #5f4fe0; --lilac-soft: rgba(169, 155, 255, 0.22); --hud-c: rgba(95, 79, 224, 0.5); }
.idx, .chip .ic, .icon-facts .ic, .hint .ic, .dock-count .ic, .quote .stars, .venue-note { color: var(--lilac-text); }
[data-theme='light'] .idx::before { background: var(--lilac); box-shadow: none; }
.show-kind { color: var(--lilac-text); background: var(--lilac-soft); }
.show-kind::before { color: var(--lilac-text); }
.section-label { color: var(--lilac-text); }
.section-label::before, .section-label::after { background: linear-gradient(90deg, transparent, var(--lilac)); }
.section-label::after { background: linear-gradient(90deg, var(--lilac), transparent); }
.stepper li.done span { background: var(--lilac-soft); color: var(--lilac-text); }
.what-n { background: var(--lilac); color: #191919; }
.show-card:hover, .show-card:focus-visible { border-color: rgba(169, 155, 255, 0.7); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(169, 155, 255, 0.3); }
:focus-visible { outline-color: var(--lilac); }
.site-foot .credit a:hover { color: var(--lilac-text); border-color: var(--lilac-text); }

/* two crossing bands: lilac behind, lime in front */
.marquee.alt { background: var(--lilac); transform: rotate(1.6deg); margin-bottom: -46px; box-shadow: 0 18px 50px -20px rgba(169, 155, 255, 0.5); }
.marquee.alt .marquee-track { animation-direction: reverse; animation-duration: 46s; }
.marquee:not(.alt) { position: relative; z-index: 1; }

/* the contact block in solid lilac */
.contact { background: var(--lilac); color: #191919; }
.contact::after { display: none; }
.contact .mini-label, .contact .muted, .contact p { color: rgba(25, 25, 25, 0.72); }
.contact h3 { color: #191919; }
.contact { --hud-c: rgba(25, 25, 25, 0.45); }
.contact-links .btn-ghost { color: #191919; border-color: rgba(25, 25, 25, 0.3); background: rgba(255, 255, 255, 0.28); }
.contact-links .btn-ghost:hover { background: rgba(255, 255, 255, 0.5); }
.contact-links .ic { color: #191919; }

/* ---------- seat picker in box-plan style (units are plan boxes) ---------- */
.plan .mp-row { font: 600 0.5px var(--sans); fill: #8a867e; text-anchor: middle; }
.plan .mp-stage { stroke-width: 0.1; }
.plan .mp-stage-label { font: 600 0.5px var(--sans); letter-spacing: 0.4px; fill: #cfcac0; text-anchor: middle; }
.plan .mp-zone { font: 600 0.4px var(--sans); letter-spacing: 0.25px; fill: var(--lilac-text); text-anchor: middle; }
.plan .mp-seat { stroke-width: 0.07; }
.plan .mp-num { font: 600 0.36px var(--sans); text-anchor: middle; fill: var(--vc, #d6d2ca); pointer-events: none; }
.plan [data-state='taken'] .mp-num { fill: #55524c; }
.plan [data-state='sel'] .mp-num, .plan [data-state='cur'] .mp-num { fill: #141a00; }
.plan [data-state='sel'] .mp-seat { fill: var(--accent); stroke: var(--accent); }
.plan [data-seat]:hover .mp-num { fill: #fff; }
.plan .mp-ring { stroke-width: 0.09; }
[data-theme='light'] .plan .mp-num { fill: var(--vc, #191919); }
[data-theme='light'] .plan [data-state='taken'] .mp-num { fill: #9a958a; }
[data-theme='light'] .plan [data-state='sel'] .mp-num, [data-theme='light'] .plan [data-state='cur'] .mp-num { fill: #141a00; }
[data-theme='light'] .plan [data-state='sel'] .mp-seat { fill: var(--accent); stroke: #191919; }
[data-theme='light'] .plan [data-seat]:hover .mp-num { fill: #000; }
/* the box plan is wide and short: a wider panel keeps the numbered boxes readable */
.minimap:not(.collapsed) { width: clamp(400px, 40vw, 620px); }
@media (max-width: 720px) { .minimap:not(.collapsed) { width: auto; } }

/* header controls: one height, icons centred (desktop 38px, phones 34px) */
.theme-btn { width: 38px; height: 38px; }
.link-track { height: 38px; padding: 0 16px; justify-content: center; box-sizing: border-box; }
.top-actions { align-items: center; }
@media (max-width: 720px) {
  .theme-btn, .link-track, .account-btn { height: 34px; }
  .theme-btn { width: 34px; }
  .link-track { display: grid; place-items: center; gap: 0; width: 34px; padding: 0 !important; }
  .link-track .ic { display: block; }
  .account-btn:has(.avatar:not([hidden])) { width: 34px; padding: 0; justify-content: center; }
  .account-btn .avatar { width: 28px; height: 28px; }
}
@media (max-width: 720px) { .link-track .lt-label { display: none; } }
/* two clean lines: content is clipped at the padding edge, so the inner space comes from a transparent border */
.show-notes { padding: 0; border: 10px solid transparent; border-inline-width: 12px; outline: 1px solid var(--hair); outline-offset: -1px; line-height: 1.45; }
@media (max-width: 720px) {
  .site-foot { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
}
.recent-item .status-pill { white-space: nowrap; flex: none; }
@media (max-width: 720px) {
  /* phones: booking reference and show on top, the status pill underneath */
  .recent-item { flex-direction: column; align-items: flex-start; gap: 8px; }
  #accountList .recent-item { align-items: flex-start; }
}


/* ---------- legal: footer links, agreement lines, cookie notice ---------- */
.legal-links { display: flex; gap: 16px; }
.legal-links a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--hair); }
.legal-links a:hover { color: var(--lilac-text); border-color: var(--lilac-text); }
.fine a, .legal-fine a { color: var(--lilac-text); }
.legal-fine { margin-top: 14px; }
.cookie-note { position: fixed; left: 16px; bottom: 16px; z-index: 45; display: grid; gap: 10px; width: min(380px, calc(100% - 32px)); padding: 16px 18px; border-radius: 20px; font-size: 13.5px; }
.cookie-note p { margin: 0; color: var(--muted); line-height: 1.45; }
.cookie-note b { display: block; margin-bottom: 2px; color: var(--text); font-size: 14px; }
.cookie-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cookie-actions a { color: var(--lilac-text); font-weight: 600; font-size: 13px; }
.cookie-actions button { height: 36px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--accent); color: #141a00; font-weight: 700; cursor: pointer; }
/* only where nothing important sits at the bottom of the screen */
body:not([data-view='home']):not([data-view='track']):not([data-view='done']) .cookie-note { display: none; }
@media (max-width: 720px) {
  .cookie-note { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .legal-links { justify-content: center; }
}


/* =====================================================================
   My bookings — profile header, booking cards, booking detail and e-ticket
   ===================================================================== */
.view-track .panel.trk { width: min(620px, 100%); }
/* a soft lilac and lime glow inside the glass */
.trk::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(70% 55% at 100% 0%, rgba(169, 155, 255, 0.2), transparent 70%), radial-gradient(60% 45% at 0% 100%, rgba(216, 255, 62, 0.07), transparent 70%);
}
.trk > * { position: relative; }
.trk .section-label { display: flex; align-items: center; gap: 8px; margin: 0; }
.trk .section-label::before, .trk .section-label::after { display: none; }
.trk .section-label .ic { width: 14px; height: 14px; color: var(--lilac-text); }
.trk.has-detail #accountBookings, .trk.has-detail #trackIntro, .trk.has-detail #trackForm, .trk.has-detail #recentBookings { display: none; }

/* profile */
.profile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; }
.pf-avatar {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  font-size: 22px; font-weight: 600; letter-spacing: 0.02em; color: #191919;
  background: conic-gradient(from 210deg, var(--accent), var(--lilac) 55%, var(--accent));
  box-shadow: 0 14px 34px -10px rgba(169, 155, 255, 0.7);
}
.pf-avatar::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 1px dashed rgba(169, 155, 255, 0.55); animation: spin 24s linear infinite; }
.pf-name { margin: 3px 0 0; font: 400 clamp(26px, 5vw, 34px)/1.05 var(--serif); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.pf-email { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; overflow-wrap: anywhere; }
.pf-out, .bk-back {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--hair); background: rgba(255, 255, 255, 0.04); color: var(--muted); font-size: 13px; font-weight: 600;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.pf-out:hover, .bk-back:hover { color: var(--text); border-color: var(--lilac); background: rgba(169, 155, 255, 0.1); }
.pf-out .ic, .bk-back .ic { width: 16px; height: 16px; }
.pf-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-height: 64px; margin: 22px 0 24px; }
.pf-stat {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; padding: 12px 14px; border-radius: 16px;
  border: 1px solid var(--hair); background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  animation: rise 0.5s var(--ease) both;
}
.pf-stat:nth-child(2) { animation-delay: 60ms; } .pf-stat:nth-child(3) { animation-delay: 120ms; }
.pf-stat .ic { grid-row: span 2; width: 36px; height: 36px; padding: 9px; border-radius: 11px; background: rgba(169, 155, 255, 0.15); color: var(--lilac-text); }
.pf-stat:nth-child(2) .ic { background: var(--accent-soft); color: var(--accent-text); }
.pf-stat b { font-size: 24px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.pf-stat span { margin-top: 3px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.list-link { display: inline-flex; align-items: center; gap: 6px; color: var(--lilac-text); font-size: 13px; font-weight: 600; text-decoration: none; }
.list-link .ic { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.list-link:hover .ic { transform: translateX(3px); }
.track-or { margin: 28px 0 14px !important; padding-top: 20px; border-top: 1px solid var(--hair); }

/* find-my-booking intro */
.track-badge {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 16px; border-radius: 17px; color: #191919;
  background: linear-gradient(145deg, #c4b9ff, var(--lilac)); transform: rotate(-8deg); box-shadow: 0 14px 30px -10px rgba(169, 155, 255, 0.8);
}
.track-badge .ic { width: 26px; height: 26px; }

/* booking cards */
.bk-list { display: grid; gap: 10px; }
.bk-list:empty { display: none; }
#recentBookings { margin-top: 22px; }
.bk-card {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: 'date body side go';
  align-items: center; gap: 14px; width: 100%; padding: 12px 14px 12px 12px; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--hair); color: var(--text); text-align: left;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), border-color 0.25s, box-shadow 0.35s;
  animation: rise 0.55s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms);
}
.bk-card::before { content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 0 3px 3px 0; background: var(--bar, var(--lilac)); }
.bk-card:hover { transform: translateY(-2px); border-color: rgba(169, 155, 255, 0.5); box-shadow: 0 20px 40px -20px rgba(169, 155, 255, 0.6); }
.bk-card:focus-visible { outline: 2px solid var(--lilac); outline-offset: 2px; }
.bk-card.is-confirmed { --bar: var(--ok); }
.bk-card.is-awaiting_payment { --bar: var(--amber); }
.bk-card.is-rejected { --bar: var(--danger); }
.bk-card.is-expired, .bk-card.is-cancelled { --bar: var(--dim); opacity: 0.6; }
.bk-date {
  grid-area: date; display: grid; justify-items: center; align-content: center; width: 58px; height: 66px; border-radius: 15px;
  background: linear-gradient(160deg, #c4b9ff, var(--lilac)); color: #191919; line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 22px -12px rgba(169, 155, 255, 0.9);
}
.is-confirmed .bk-date { background: linear-gradient(160deg, #eaff9a, var(--accent)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 10px 22px -12px rgba(216, 255, 62, 0.8); }
.bk-date em { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }
.bk-date b { margin: 3px 0 2px; font-size: 25px; font-weight: 600; }
.bk-body { grid-area: body; display: grid; gap: 4px; min-width: 0; }
.bk-title { font-size: 16px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.bk-meta { margin: 0; color: var(--dim); font-size: 12.5px; letter-spacing: 0.02em; }
.bk-meta .ic { display: inline-block; width: 13px; height: 13px; margin-right: 5px; vertical-align: -2px; }
.bk-seats { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.seat-chip { padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(169, 155, 255, 0.28); background: rgba(169, 155, 255, 0.13); color: var(--lilac-text); font-size: 11.5px; font-weight: 600; line-height: 1.5; }
.seat-chip.more { border-color: var(--hair); background: none; color: var(--dim); }
.bk-next { display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; color: var(--lilac-text); font-size: 12px; font-weight: 600; }
.bk-next .ic { width: 14px; height: 14px; }
.bk-next.warn { color: var(--amber); }
.bk-next.ok { color: var(--ok); }
.bk-side { grid-area: side; display: grid; justify-items: end; gap: 8px; }
.bk-total { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk-go {
  grid-area: go; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--hair); color: var(--muted);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.35s var(--ease);
}
.bk-go .ic { width: 16px; height: 16px; }
.bk-card:hover .bk-go { border-color: transparent; background: var(--accent); color: #141a00; transform: translateX(2px); }
.bk-skel { height: 90px; border-radius: 20px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 30%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -300% 0; } }
.bk-empty { display: grid; justify-items: center; gap: 14px; padding: 30px 18px; border-radius: 20px; border: 1px dashed rgba(169, 155, 255, 0.45); text-align: center; }
.bk-empty > .ic { width: 48px; height: 48px; padding: 12px; border-radius: 15px; background: rgba(169, 155, 255, 0.16); color: var(--lilac-text); }
.bk-empty p { margin: 0; color: var(--muted); font-size: 14px; }
.bk-empty b { display: block; margin-bottom: 2px; color: var(--text); font-size: 16px; }
.bk-empty .btn-primary { height: 44px; }

/* booking detail */
.booking { margin: 0; padding: 0; border: 0; }
.bk-back { height: 34px; padding: 0 14px 0 11px; margin-bottom: 20px; }
.bk-back .ic { transform: scaleX(-1); }
.bk-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 16px; }
.bk-head .bk-date { grid-area: auto; width: 66px; height: 76px; }
.bk-head .bk-date b { font-size: 30px; }
.is-confirmed .bk-head .bk-date { background: linear-gradient(160deg, #eaff9a, var(--accent)); }
.bk-ref { margin: 2px 0 0; color: var(--lilac-text); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; }
.bk-head h3 { margin: 4px 0 6px; font: 400 clamp(24px, 4.5vw, 30px)/1.05 var(--serif); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.bk-head .status-pill { white-space: nowrap; }
.bk-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 26px 0 22px; padding: 0; list-style: none; }
.bk-steps li { position: relative; display: grid; justify-items: center; gap: 8px; color: var(--dim); font-size: 12px; text-align: center; }
.bk-steps li::before { content: ''; position: absolute; z-index: 0; top: 15px; left: calc(-50% + 23px); right: calc(50% + 23px); height: 2px; border-radius: 2px; background: var(--hair); }
/* the connector runs between the circles (radius 16 + 5px glow ring), never across them */
.bk-steps li:first-child::before { display: none; }
.bk-steps li.done::before { background: linear-gradient(90deg, var(--accent), var(--lilac)); }
.bk-steps i {
  position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--hair);
  background: var(--panel-solid); color: var(--muted); font-size: 12px; font-style: normal; font-weight: 700;
}
.bk-steps li.done i { border-color: transparent; background: var(--accent); color: #141a00; box-shadow: 0 0 0 5px var(--accent-soft); }
.bk-steps li.done span { color: var(--text); }
.bk-steps i .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.bk-callout { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px; margin: 0 0 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(169, 155, 255, 0.3); background: rgba(169, 155, 255, 0.1); }
.bk-callout > .ic { width: 36px; height: 36px; padding: 9px; border-radius: 11px; background: rgba(169, 155, 255, 0.18); color: var(--lilac-text); }
.bk-callout p { margin: 0; color: var(--muted); font-size: 13.5px; }
.bk-callout b { display: block; margin-bottom: 2px; color: var(--text); font-size: 15px; }
.bk-callout.warn { border-color: rgba(255, 181, 71, 0.32); background: rgba(255, 181, 71, 0.08); }
.bk-callout.warn > .ic { background: rgba(255, 181, 71, 0.16); color: var(--amber); }
.bk-callout.bad { border-color: rgba(255, 102, 128, 0.3); background: rgba(255, 102, 128, 0.08); }
.bk-callout.bad > .ic { background: rgba(255, 102, 128, 0.15); color: var(--danger); }
.booking .bk-grid { margin: 18px 0 0; }
.booking .bk-grid div { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 11px; padding: 12px 14px; border-radius: 14px; }
.booking .bk-grid .ic { grid-row: span 2; width: 18px; height: 18px; color: var(--lilac-text); }
.booking .bk-grid b { overflow-wrap: anywhere; }
.ticket-actions .ic { width: 16px; height: 16px; }

/* e-ticket: lilac body, lime stub, punched notches on the perforation */
.eticket {
  display: grid; grid-template-columns: minmax(0, 1fr) 156px; margin: 4px 0 0; color: #191919;
  filter: drop-shadow(0 20px 34px rgba(169, 155, 255, 0.35)); animation: rise 0.6s var(--ease) 0.1s both;
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.et-main {
  position: relative; padding: 20px 22px; border-radius: 22px 0 0 22px;
  background: radial-gradient(120% 90% at 0 0, rgba(255, 255, 255, 0.4), transparent 55%), linear-gradient(135deg, #c4b9ff, #a99bff 55%, #8e7df4);
  -webkit-mask: radial-gradient(circle 12px at 100% 0, #0000 11.5px, #000 12px) top / 100% 51% no-repeat, radial-gradient(circle 12px at 100% 100%, #0000 11.5px, #000 12px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 12px at 100% 0, #0000 11.5px, #000 12px) top / 100% 51% no-repeat, radial-gradient(circle 12px at 100% 100%, #0000 11.5px, #000 12px) bottom / 100% 51% no-repeat;
}
.et-top { display: flex; justify-content: space-between; gap: 10px; color: rgba(25, 25, 25, 0.65); font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.et-brand { color: #191919; }
.eticket h3 { margin: 16px 0 4px; font: 400 clamp(26px, 5vw, 34px)/1 var(--serif); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.et-when { margin: 0 0 16px; font-size: 13px; font-weight: 600; }
.et-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; padding-top: 14px; border-top: 1px solid rgba(25, 25, 25, 0.2); }
.et-fields span { display: block; color: rgba(25, 25, 25, 0.6); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.et-fields b { font-size: 13.5px; overflow-wrap: anywhere; }
.et-stub {
  display: grid; align-content: center; justify-items: center; gap: 10px; padding: 16px 14px; border-radius: 0 22px 22px 0;
  border-left: 2px dashed rgba(25, 25, 25, 0.3); background: linear-gradient(160deg, #eaff9a, #d8ff3e); text-align: center;
  -webkit-mask: radial-gradient(circle 12px at 0 0, #0000 11.5px, #000 12px) top / 100% 51% no-repeat, radial-gradient(circle 12px at 0 100%, #0000 11.5px, #000 12px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 12px at 0 0, #0000 11.5px, #000 12px) top / 100% 51% no-repeat, radial-gradient(circle 12px at 0 100%, #0000 11.5px, #000 12px) bottom / 100% 51% no-repeat;
}
.et-stub img { display: block; width: 120px; height: 120px; padding: 6px; border-radius: 12px; background: #fff; }
.et-stub span { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.ticket-actions { justify-content: flex-end; margin-top: 14px; }

/* light theme */
[data-theme='light'] .bk-card { background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.45)); }
[data-theme='light'] .pf-stat { background: linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.5)); }
[data-theme='light'] .pf-out, [data-theme='light'] .bk-back { background: rgba(255, 255, 255, 0.6); }
[data-theme='light'] .seat-chip { border-color: rgba(95, 79, 224, 0.25); background: rgba(95, 79, 224, 0.08); }
[data-theme='light'] .bk-skel { background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.03) 30%, rgba(0, 0, 0, 0.07) 50%, rgba(0, 0, 0, 0.03) 70%); }
[data-theme='light'] .bk-next.warn, [data-theme='light'] .bk-callout.warn > .ic { color: #a35f00; }
[data-theme='light'] .bk-next.ok { color: #13804f; }
[data-theme='light'] .st-awaiting_payment { color: #8f5300; background: rgba(255, 181, 71, 0.2); }
[data-theme='light'] .st-pending_review { color: #5f4fe0; background: rgba(95, 79, 224, 0.1); }
[data-theme='light'] .st-confirmed { color: #13804f; background: rgba(61, 220, 151, 0.16); }
[data-theme='light'] .st-rejected, [data-theme='light'] .st-expired, [data-theme='light'] .st-cancelled { color: #c8243f; background: rgba(255, 102, 128, 0.12); }
[data-theme='light'] .bk-callout.bad > .ic { color: #c8243f; }
[data-theme='light'] .trk::before { background: radial-gradient(70% 55% at 100% 0%, rgba(169, 155, 255, 0.22), transparent 70%), radial-gradient(60% 45% at 0% 100%, rgba(216, 255, 62, 0.16), transparent 70%); }

@media (max-width: 720px) {
  .profile { gap: 14px; }
  .pf-avatar { width: 52px; height: 52px; font-size: 18px; }
  .pf-out { width: 38px; padding: 0; }
  .pf-out span { display: none; }
  .pf-stats { gap: 6px; }
  .pf-stat { grid-template-columns: 1fr; justify-items: center; padding: 12px 6px; text-align: center; }
  .pf-stat .ic { grid-row: auto; width: 30px; height: 30px; padding: 7px; margin-bottom: 6px; }
  .pf-stat b { font-size: 20px; }
  .pf-stat span { font-size: 9.5px; letter-spacing: 0.1em; }
  .bk-card { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: 'date body go' 'side side side'; gap: 10px 12px; }
  .bk-side { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--hair); }
  .bk-date { width: 52px; height: 60px; }
  .bk-date b { font-size: 22px; }
  .bk-head { grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; }
  .bk-head .bk-date { width: 56px; height: 66px; }
  .bk-head .bk-date b { font-size: 26px; }
  .bk-head .status-pill { grid-column: 1 / -1; justify-self: start; }
  .bk-steps li { font-size: 11px; }
  .booking .bk-grid { grid-template-columns: 1fr; }
  .eticket { grid-template-columns: 1fr; }
  .et-main {
    border-radius: 22px 22px 0 0;
    -webkit-mask: radial-gradient(circle 12px at 0 100%, #0000 11.5px, #000 12px) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 100%, #0000 11.5px, #000 12px) right / 51% 100% no-repeat;
    mask: radial-gradient(circle 12px at 0 100%, #0000 11.5px, #000 12px) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 100%, #0000 11.5px, #000 12px) right / 51% 100% no-repeat;
  }
  .et-stub {
    grid-template-columns: auto 1fr; justify-items: start; align-items: center; gap: 14px; padding: 16px 20px; border-left: 0; border-top: 2px dashed rgba(25, 25, 25, 0.3); border-radius: 0 0 22px 22px; text-align: left;
    -webkit-mask: radial-gradient(circle 12px at 0 0, #0000 11.5px, #000 12px) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 0, #0000 11.5px, #000 12px) right / 51% 100% no-repeat;
    mask: radial-gradient(circle 12px at 0 0, #0000 11.5px, #000 12px) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 0, #0000 11.5px, #000 12px) right / 51% 100% no-repeat;
  }
  .et-stub img { width: 108px; height: 108px; }
  .ticket-actions { justify-content: stretch; }
  .ticket-actions .btn-ghost { flex: 1; justify-content: center; }
}

/* print: just the e-ticket */
@media print {
  .trk::before, .bk-back, .bk-head, .bk-steps, .bk-callout, .booking .bk-grid, #accountBookings, #trackIntro { display: none !important; }
  .eticket { filter: none; animation: none; max-width: 640px; }
}

/* confirmation page: both actions one size, side by side; full width and stacked when they don't fit */
.done-actions .btn-primary, .done-actions .btn-ghost { flex: 1 1 190px; height: 52px; padding: 0 22px; justify-content: center; }

/* My bookings: close (back to the home page) in the panel's top-right corner */
.trk .trk-close {
  position: absolute; z-index: 2; top: 31px; right: 30px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--hair); background: rgba(255, 255, 255, 0.04); color: var(--muted); transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.trk .trk-close:hover { color: var(--text); border-color: var(--lilac); background: rgba(169, 155, 255, 0.1); }
.trk .trk-close .ic { width: 16px; height: 16px; }
[data-theme='light'] .trk .trk-close { background: rgba(255, 255, 255, 0.6); }
/* the profile row is top-aligned, so Sign out and the close button share a top line whatever the name's length
   (close top = panel padding + 1, centring the 36px button on the 38px Sign out) */
.trk .profile { align-items: start; padding-right: 48px; }
@media (max-width: 720px) {
  .trk .trk-close { top: 23px; right: 18px; }
  .trk .profile { padding-right: 46px; }
}

/* seat map tools: the "tap a seat" hint, centred just above the booking bar; it fades a few seconds in */
.map-tools { position: absolute; left: 50%; bottom: 126px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; transition: opacity 0.4s; }
.map-tools .hint { position: static; transform: none; }
.map-tools .hint.faded { opacity: 0; transition: opacity 1.6s ease; }
body.seatview .map-tools { opacity: 0; pointer-events: none; }
@media (max-width: 720px) {
  .map-tools { bottom: 230px; }
}
