/* ==========================================================================
   Innovation Challenge · Grand Finale — Green & Gold theme
   Change the brand colours here.
   ========================================================================== */
:root {
  --bg-0: #020d08;
  --bg-1: #04170e;
  --bg-2: #072818;
  --green: #0f8a55;
  --green-bright: #22c983;
  --green-soft: #8fd9b4;
  --green-ink: #04251a;
  --gold: #d4af37;
  --gold-light: #f7e08a;
  --gold-pale: #fff4c8;
  --gold-deep: #a8801f;
  --text: #eaf5ee;
  --muted: #93b8a4;
  --line: rgba(212, 175, 55, 0.22);
  --glass: rgba(9, 44, 28, 0.55);
  --danger: #ff7a6b;
  --amber: #f0a93b;

  --gold-grad: linear-gradient(135deg, var(--gold-pale) 0%, var(--gold-light) 22%, var(--gold) 52%, var(--gold-deep) 78%, var(--gold-light) 100%);
  --radius: 20px;
  --seat: 30px;
  --seat-gap: 6px;
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(34, 201, 131, 0.18), transparent 60%),
    radial-gradient(900px 600px at 100% 100%, rgba(212, 175, 55, 0.10), transparent 60%),
    radial-gradient(800px 600px at 0% 80%, rgba(15, 138, 85, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button { font: inherit; color: inherit; }
.hidden { display: none !important; }

.gold-text {
  background: var(--gold-grad);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}

@keyframes shimmer { to { background-position: 220% center; } }

/* ---------- Ambient FX ---------- */
#fx, #confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#fx { z-index: 0; }
#confetti { z-index: 100; }

.spotlights { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.spotlights span {
  position: absolute;
  top: -20vh;
  width: 60vw;
  height: 140vh;
  background: conic-gradient(from 180deg at 50% 0%, transparent 168deg, rgba(247, 224, 138, 0.13) 180deg, transparent 192deg);
  filter: blur(6px);
  transform-origin: 50% 0;
  mix-blend-mode: screen;
}
.spotlights span:nth-child(1) { left: -5vw; animation: sweepL 11s ease-in-out infinite alternate; }
.spotlights span:nth-child(2) { right: -5vw; animation: sweepR 13s ease-in-out infinite alternate; }

@keyframes sweepL { from { transform: rotate(-22deg); } to { transform: rotate(8deg); } }
@keyframes sweepR { from { transform: rotate(22deg); } to { transform: rotate(-8deg); } }

.vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}

/* ---------- Top bar ---------- */
.topbar {
  /* No header bar: just the account / sound buttons floating in the top-right corner. */
  position: fixed; top: 12px; right: clamp(12px, 3vw, 28px); z-index: 20;
  display: flex; align-items: center; justify-content: flex-end;
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.topbar-right { display: flex; align-items: center; gap: 12px; }
.chip {
  border: 1px solid var(--line);
  background: rgba(212, 175, 55, 0.08);
  padding: 8px 14px; border-radius: 999px;
  font-size: 13px; cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.chip.icon { padding: 6px 10px; font-size: 15px; line-height: 1; }
.chip:hover { background: rgba(212, 175, 55, 0.18); border-color: var(--gold); }
.live {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted);
}
.live i { width: 9px; height: 9px; border-radius: 50%; background: #5c6b63; }
.live.on { color: var(--green-soft); }
.live.on i { background: var(--green-bright); box-shadow: 0 0 0 0 rgba(34, 201, 131, 0.7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(34, 201, 131, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 201, 131, 0); } }

/* ---------- Screens ---------- */
main { position: relative; z-index: 1; }
.screen { display: none; min-height: 100vh; }
.screen.active { display: block; animation: screenIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes screenIn { from { opacity: 0; transform: translateY(18px) scale(0.99); } to { opacity: 1; transform: none; } }

.wrap { max-width: 1120px; margin: 0 auto; padding: 64px 16px 140px; }
.wrap.wide { max-width: 1280px; }

.reveal { opacity: 0; animation: rise 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- Intro ---------- */
#screen-intro { display: none; position: relative; overflow: hidden; }
#screen-intro.active { display: flex; align-items: center; justify-content: center; }
.intro {
  position: relative; z-index: 2;
  text-align: center;
  padding: 76px 16px 120px;
  max-width: 980px;
  transform: translate(calc(var(--mx, 0) * -10px), calc(var(--my, 0) * -8px));
  transition: transform 0.4s ease-out;
}
.badge {
  display: flex; width: fit-content; align-items: center; gap: 14px;
  margin: 22px auto 0; padding: 11px 30px; border-radius: 999px;
  border: 1px solid var(--gold-pale);
  background: var(--gold-grad);
  color: var(--green-ink);
  font-size: clamp(14px, 1.6vw, 17px); font-weight: 800; letter-spacing: 6px; text-transform: uppercase;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12), 0 10px 34px -6px rgba(212, 175, 55, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.badge .spark { color: var(--green-ink); }

/* "Grand Finale" reveal: the banner is lowered from above, then a velvet curtain parts to show the text. */
.finale-drop {
  position: relative; overflow: hidden; isolation: isolate;
  transform-origin: 50% -60px;
  animation: finaleDrop 1s cubic-bezier(0.3, 1.35, 0.5, 1) 0.45s both;
}
@keyframes finaleDrop {
  0% { opacity: 0; transform: translateY(-160px) rotate(-4deg); }
  55% { opacity: 1; transform: translateY(8px) rotate(2.5deg); }
  75% { transform: translateY(-3px) rotate(-1.2deg); }
  100% { opacity: 1; transform: none; }
}
.curtain {
  position: absolute; top: 0; bottom: 0; width: 51%; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 30%, transparent 75%, rgba(0, 0, 0, 0.35)),
    repeating-linear-gradient(90deg, #5e0a12 0 4px, #9e1424 4px 9px, #c21d2e 9px 11px, #7c0f1a 11px 15px);
  box-shadow: inset 0 -3px 0 var(--gold), inset 0 3px 0 rgba(247, 224, 138, 0.7);
  animation: curtainOpen 1.15s cubic-bezier(0.65, 0, 0.35, 1) 1.45s forwards;
}
.curtain-l { left: 0; transform-origin: left center; border-right: 1px solid rgba(247, 224, 138, 0.55); }
.curtain-r { right: 0; transform-origin: right center; border-left: 1px solid rgba(247, 224, 138, 0.55); }
@keyframes curtainOpen {
  0% { transform: scaleX(1); }
  15% { transform: scaleX(1.02); }
  100% { transform: scaleX(0.06); }
}
.finale-shine {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.75) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: finaleShine 1.1s ease-out 2.5s forwards;
}
@keyframes finaleShine { to { transform: translateX(120%); } }
.spark { color: var(--gold); animation: twinkle 2.4s ease-in-out infinite; display: inline-block; }
@keyframes twinkle { 50% { opacity: 0.35; transform: scale(0.75) rotate(45deg); } }

.title { margin: 0; font-family: var(--font-display); line-height: 1; }
.title > span { display: block; }
.hero-intellect { display: inline-flex; margin: 0 auto 16px; }
.hero-intellect { margin-bottom: 20px; }
.hero-intellect img { display: block; height: clamp(40px, 6vw, 54px); width: auto; opacity: 0.95; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45)); }
.title > .hero-intellect { display: inline-flex; }
.title-logo {
  display: block; width: min(640px, 86vw); height: auto; margin: 0 auto;
  filter: drop-shadow(0 8px 30px rgba(212, 175, 55, 0.28));
}
.title-sm { font-size: clamp(16px, 2.4vw, 22px); letter-spacing: 12px; text-transform: uppercase; color: var(--green-soft); font-weight: 500; }
.title-xl {
  font-size: clamp(42px, 9vw, 104px);
  font-weight: 900; letter-spacing: 2px; margin-top: 12px;
  filter: drop-shadow(0 6px 30px rgba(212, 175, 55, 0.35));
}
.title-edition {
  margin-top: 14px;
  font-size: clamp(18px, 3vw, 28px);
  letter-spacing: 18px; color: var(--text); font-weight: 700;
  padding-left: 18px;
}

.meta {
  display: inline-flex; align-items: center; gap: 22px;
  margin: 34px auto 0; padding: 16px 28px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.meta div { display: flex; flex-direction: column; gap: 3px; text-align: left; }
.meta small { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); }
.meta b { font-weight: 600; font-size: 15px; color: var(--gold-light); }
.meta .sep { width: 1px; height: 34px; background: var(--line); }

.steps {
  list-style: none; padding: 0; margin: 34px auto 0; max-width: 820px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 28px;
  color: var(--text); font-size: 14px; line-height: 1.45;
}
.steps li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.steps li span {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-light); background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 18px -6px rgba(212, 175, 55, 0.6);
}
.steps li span svg { width: 19px; height: 19px; }
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; max-width: 330px; gap: 12px; }
  .steps li { flex-direction: row; text-align: left; gap: 12px; }
  .steps li span { width: 34px; height: 34px; }
}

.stage-floor {
  position: absolute; left: 50%; bottom: -40vh;
  width: 140vw; height: 70vh; transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.22), rgba(15, 138, 85, 0.12) 35%, transparent 65%);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 50%;
  z-index: 1;
}

/* ---------- Buttons ---------- */
.btn-gold {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; cursor: pointer;
  padding: 13px 26px; border-radius: 14px;
  background: var(--gold-grad); background-size: 200% auto;
  color: var(--green-ink); font-weight: 700; letter-spacing: 0.5px;
  box-shadow: 0 10px 30px -8px rgba(212, 175, 55, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.2s, box-shadow 0.2s, background-position 0.6s;
}
.btn-gold::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-20deg);
  animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn-gold:hover { transform: translateY(-2px); background-position: right center; box-shadow: 0 16px 40px -8px rgba(212, 175, 55, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.7); }
.btn-gold:active { transform: translateY(0); }
.btn-gold:disabled { filter: grayscale(0.4) brightness(0.8); cursor: wait; }
.btn-gold.big { display: flex; width: fit-content; margin: 38px auto 0; padding: 18px 38px; font-size: 18px; border-radius: 18px; }
.btn-gold.big svg { transition: transform 0.25s; }
.btn-gold.big:hover svg { transform: translateX(5px); }
.btn-gold.block { width: 100%; }

.btn-ghost {
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  padding: 12px 20px; border-radius: 14px; color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(212, 175, 55, 0.08); }

.back {
  border: 0; background: none; cursor: pointer; color: var(--muted);
  padding: 6px 0; font-size: 14px; transition: color 0.2s;
}
.back:hover { color: var(--gold-light); }

/* ---------- Section heads ---------- */
.section-head { text-align: center; margin: 10px 0 40px; }
.eyebrow { margin: 0; font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); }
h2 { font-family: var(--font-display); font-size: clamp(28px, 5vw, 46px); margin: 8px 0 8px; font-weight: 800; }
.muted { color: var(--muted); margin: 0; }

/* ---------- Venue cards ---------- */
.venue-grid {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}
.venue-card {
  position: relative; isolation: isolate;
  padding: 26px; border-radius: 24px; cursor: pointer;
  background: linear-gradient(160deg, rgba(14, 64, 41, 0.75), rgba(5, 30, 19, 0.8));
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s, border-color 0.35s;
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--i) * 0.12s + 0.1s);
  outline: none;
}
.venue-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; z-index: -1;
  background: conic-gradient(from var(--ang, 0deg), transparent 0deg, var(--gold) 60deg, var(--gold-pale) 90deg, transparent 150deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0; transition: opacity 0.35s;
  animation: spinBorder 4s linear infinite;
}
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spinBorder { to { --ang: 360deg; } }
.venue-card:hover, .venue-card:focus-visible {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 50px -10px rgba(212, 175, 55, 0.35);
}
.venue-card:hover::before, .venue-card:focus-visible::before { opacity: 1; }

.vc-top { display: flex; justify-content: space-between; align-items: center; }
.vc-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  font-size: 26px;
  background: radial-gradient(circle at 30% 30%, rgba(247, 224, 138, 0.35), rgba(212, 175, 55, 0.08));
  border: 1px solid var(--line);
}
.vc-tag {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(34, 201, 131, 0.12); color: var(--green-soft); border: 1px solid rgba(34, 201, 131, 0.3);
}
.venue-card h3 { font-family: var(--font-display); font-size: 26px; margin: 20px 0 4px; letter-spacing: 0.5px; }

.vc-mini {
  margin: 20px 0 18px; padding: 16px 10px 12px; border-radius: 14px;
  background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.vc-mini .mm-stage {
  width: 60%; height: 8px; margin-bottom: 8px;
  border-bottom: 2px solid var(--gold); border-radius: 0 0 50% 50% / 0 0 100% 100%;
  box-shadow: 0 6px 12px -4px rgba(212, 175, 55, 0.6);
}
.mm-row { display: flex; gap: 8px; }
.mm-block { display: flex; gap: 3px; }
.mm-block i { width: 6px; height: 6px; border-radius: 2px; background: rgba(34, 201, 131, 0.55); }
.mm-row.jury .mm-block i { background: rgba(212, 175, 55, 0.75); }

.vc-stats { display: flex; justify-content: space-between; align-items: end; }
.vc-stats div { display: flex; flex-direction: column; }
.vc-stats b { font-size: 26px; font-weight: 700; color: var(--gold-light); line-height: 1.1; }
.vc-stats small { color: var(--muted); font-size: 12px; }
.vc-stats .right { text-align: right; }
.vc-bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); margin: 12px 0 18px; overflow: hidden; }
.vc-bar i {
  display: block; height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--green-bright), var(--gold));
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
  transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.vc-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-light); font-weight: 600; font-size: 14px; }
.venue-card:hover .vc-cta { gap: 14px; }
.vc-cta { transition: gap 0.25s; }
.vc-full .vc-cta { color: var(--muted); }

/* ---------- Hall ---------- */
.hall-head {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  margin-bottom: 18px;
}
.hall-title { text-align: center; }
.hall-title h2 { font-size: clamp(24px, 4vw, 38px); }
.zoom { display: flex; gap: 6px; }
.zoom button {
  width: 38px; height: 38px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line); background: var(--glass); font-size: 18px;
  transition: border-color 0.2s, background 0.2s;
}
.zoom button:hover { border-color: var(--gold); background: rgba(212, 175, 55, 0.1); }

.theatre {
  position: relative;
  border-radius: 28px;
  padding: 26px 12px 18px;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(212, 175, 55, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(8, 40, 25, 0.75), rgba(3, 18, 11, 0.85));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.stage { position: relative; height: 92px; display: flex; justify-content: center; }
.stage-arc {
  position: absolute; top: 0; width: min(78%, 760px); height: 40px;
  border-bottom: 4px solid var(--gold);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  box-shadow: 0 16px 30px -10px rgba(247, 224, 138, 0.8);
  filter: drop-shadow(0 0 8px rgba(247, 224, 138, 0.7));
  animation: stageGlow 3.5s ease-in-out infinite;
}
@keyframes stageGlow { 50% { filter: drop-shadow(0 0 18px rgba(247, 224, 138, 0.95)); } }
.stage-beam {
  position: absolute; top: 34px; width: min(70%, 700px); height: 80px;
  background: radial-gradient(ellipse 50% 100% at 50% 0%, rgba(247, 224, 138, 0.18), transparent 70%);
}
.stage-label {
  position: absolute; top: 50px; text-align: center;
  display: flex; flex-direction: column; gap: 2px;
}
.stage-label span { font-family: var(--font-display); letter-spacing: 6px; text-transform: uppercase; color: var(--gold-light); font-size: 14px; font-weight: 700; }
.stage-label small { color: var(--muted); font-size: 10px; letter-spacing: 3px; text-transform: uppercase; }

.map-viewport {
  overflow: auto;
  padding: 26px 8px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.4) transparent;
}
.seatmap {
  width: max-content; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 13px;
  padding: 4px 4px 10px;
}
.row {
  display: flex; align-items: center; gap: 14px;
  opacity: 0; animation: rowIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--r) * 45ms + 0.15s);
}
@keyframes rowIn { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
.row-label {
  width: 22px; text-align: center; font-size: 12px; font-weight: 600;
  color: var(--muted); letter-spacing: 1px;
}
.row.jury .row-label { color: var(--gold); }
.row-seats { display: flex; align-items: center; gap: 28px; }
.block { display: flex; gap: var(--seat-gap); }
.row-seats.centre-aisle { display: grid; grid-template-columns: 1fr 1fr; }
.row-seats.centre-aisle .block:first-child { justify-content: flex-end; }

.jury-tag {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold);
  margin-bottom: -6px;
}

/* ---------- Seats ---------- */
.seat {
  --ty: 0px; --rot: 0deg;
  position: relative;
  width: var(--seat); height: var(--seat);
  padding: 0; cursor: pointer;
  border-radius: 10px 10px 6px 6px;
  border: 1.5px solid rgba(34, 201, 131, 0.75);
  background: linear-gradient(180deg, rgba(34, 201, 131, 0.22), rgba(34, 201, 131, 0.05));
  color: var(--green-soft);
  font-size: 10px; font-weight: 600;
  transform: translateY(var(--ty)) rotate(var(--rot));
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s;
  outline: none;
}
.seat::after {
  content: ''; position: absolute; left: 4px; right: 4px; bottom: -5px; height: 3px; border-radius: 2px;
  background: currentColor; opacity: 0.45;
}
.seat .n { pointer-events: none; }

.seat.available:hover, .seat.available:focus-visible {
  transform: translateY(calc(var(--ty) - 4px)) rotate(var(--rot)) scale(1.18);
  border-color: var(--gold-light);
  color: var(--gold-pale);
  background: linear-gradient(180deg, rgba(247, 224, 138, 0.35), rgba(212, 175, 55, 0.1));
  box-shadow: 0 0 18px rgba(247, 224, 138, 0.55);
  z-index: 2;
}

.seat.selected {
  border-color: var(--gold-pale);
  background: var(--gold-grad); background-size: 200% auto;
  color: var(--green-ink);
  transform: translateY(calc(var(--ty) - 4px)) rotate(var(--rot)) scale(1.18);
  box-shadow: 0 0 0 3px rgba(247, 224, 138, 0.25), 0 0 26px rgba(247, 224, 138, 0.85);
  animation: seatPulse 1.6s ease-in-out infinite;
  z-index: 3;
}
@keyframes seatPulse {
  50% { box-shadow: 0 0 0 6px rgba(247, 224, 138, 0.12), 0 0 36px rgba(247, 224, 138, 1); }
}

.seat.booked {
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  color: transparent;
}
.seat.booked::before {
  content: '✕'; position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(255, 255, 255, 0.22); font-size: 12px;
}
.seat.booked::after { background: rgba(255, 255, 255, 0.2); }

.seat.held {
  cursor: not-allowed;
  border: 1.5px dashed var(--amber);
  background: rgba(240, 169, 59, 0.10);
  color: transparent;
  animation: heldBlink 1.4s ease-in-out infinite;
}
.seat.held::before {
  content: '•••'; position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--amber); font-size: 9px; letter-spacing: 1px;
}
@keyframes heldBlink { 50% { opacity: 0.45; } }

.seat.jury {
  cursor: not-allowed;
  border-color: rgba(212, 175, 55, 0.55);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.28), rgba(212, 175, 55, 0.06));
  color: transparent;
}
.seat.jury::before {
  content: '♛'; position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--gold-light); font-size: 13px;
}

.seat.mine {
  cursor: default;
  border-color: var(--gold-pale);
  background: var(--gold-grad);
  color: transparent;
  box-shadow: 0 0 22px rgba(247, 224, 138, 0.8);
}
.seat.mine::before {
  content: '★'; position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--green-ink); font-size: 14px;
}

/* A person sits on selected seats and on your own booked seat */
.seat.has-person,
.seat.has-person:hover {
  background: none;
  border-color: transparent;
  box-shadow: none;
  color: transparent;
  animation: none;
  transform: translateY(var(--ty)) rotate(var(--rot));
  z-index: 3;
}
.seat.has-person::before,
.seat.has-person::after,
.seat.has-person .n { display: none; }
.person {
  position: absolute; left: 50%; bottom: -2px;
  width: calc(var(--seat) * 1.6);
  height: calc(var(--seat) * 2.1);
  transform: translateX(-50%);
  overflow: visible;
  pointer-events: none;
}
.person text { font-family: var(--font-body); font-size: 13px; font-weight: 700; fill: var(--green-ink); }
.person .p-body {
  transform-box: view-box;
  transform-origin: 50% 70%;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.45));
  animation: sitDown 0.75s cubic-bezier(0.3, 0.8, 0.3, 1.15) both;
}
.person .p-shadow { animation: shadowIn 0.75s ease-out both; }
.person.settled .p-body, .person.settled .p-shadow { animation: none; }
@keyframes sitDown {
  0% { transform: translateY(-26px) scale(1.1); opacity: 0; }
  45% { opacity: 1; }
  62% { transform: translateY(2.5px) scale(1.03, 0.95); }
  82% { transform: translateY(-1px) scale(0.99, 1.01); }
  100% { transform: none; }
}
@keyframes shadowIn { from { opacity: 0; transform: scale(0.5); transform-origin: 50% 60%; } }
.seat.selected .p-chair { animation: chairGlow 1.6s ease-in-out infinite; }
.seat.mine .p-chair { filter: drop-shadow(0 0 5px rgba(247, 224, 138, 0.8)); }
@keyframes chairGlow {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(247, 224, 138, 0.6)); }
  50% { filter: drop-shadow(0 0 10px rgba(247, 224, 138, 1)); }
}

.seat.pending { animation: heldBlink 0.6s ease-in-out infinite; }
.seat.flash { animation: flash 0.9s ease-out; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 107, 0.9); } 100% { box-shadow: 0 0 0 14px rgba(255, 122, 107, 0); } }

.entries {
  display: flex; justify-content: space-between; padding: 8px 18px 0;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(147, 184, 164, 0.6);
}

/* ---------- Legend ---------- */
.legend {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px;
  margin-top: 22px; font-size: 13px; color: var(--muted);
}
.legend span { display: inline-flex; align-items: center; gap: 9px; }
.seat-demo {
  position: relative; display: inline-block; width: 20px; height: 20px;
  border-radius: 7px 7px 4px 4px; border: 1.5px solid;
}
.seat-demo.available { border-color: rgba(34, 201, 131, 0.75); background: rgba(34, 201, 131, 0.15); }
.seat-demo.selected { border-color: var(--gold-pale); background: var(--gold-grad); box-shadow: 0 0 10px rgba(247, 224, 138, 0.7); }
.seat-demo.held { border: 1.5px dashed var(--amber); background: rgba(240, 169, 59, 0.1); }
.seat-demo.booked { border-color: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.05); }
.seat-demo.jury { border-color: rgba(212, 175, 55, 0.55); background: rgba(212, 175, 55, 0.22); }

/* ---------- Selection bar ---------- */
.selection-bar {
  position: fixed; left: 50%; bottom: 18px; z-index: 30;
  width: min(760px, calc(100% - 24px));
  display: flex; align-items: center; gap: 16px;
  padding: 14px 14px 14px 16px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(10, 52, 33, 0.92), rgba(4, 24, 15, 0.95));
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.8), 0 0 40px -10px rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translate(-50%, 150%);
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.2, 1.1);
}
.selection-bar.show { transform: translate(-50%, 0); }
.sel-info { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.sel-seat {
  display: grid; place-items: center; min-width: 58px; height: 58px; padding: 0 8px; border-radius: 16px;
  background: var(--gold-grad); color: var(--green-ink);
  font-family: var(--font-display); font-weight: 900; font-size: 20px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}
.sel-info b { display: block; font-size: 15px; }
.sel-info small { color: var(--muted); font-size: 12px; }
#virtBar { width: min(980px, calc(100% - 24px)); }
#virtBar .sel-info small { display: block; margin-top: 2px; line-height: 1.45; }
.sel-timer { display: flex; align-items: center; gap: 8px; color: var(--gold-light); font-variant-numeric: tabular-nums; font-size: 14px; }
.sel-timer .ring { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: ping 1.8s infinite; }
.sel-timer.low { color: var(--danger); }
.sel-actions { display: flex; gap: 8px; }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(1, 8, 5, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; } }
.modal-panel {
  position: relative; width: min(460px, 100%);
  max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 30px 28px 24px; border-radius: 26px;
  background: linear-gradient(160deg, rgba(14, 64, 41, 0.97), rgba(4, 22, 14, 0.98));
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(212, 175, 55, 0.4);
  animation: pop 0.45s cubic-bezier(0.2, 0.9, 0.2, 1.15);
}
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(0.94); } }
.modal-panel h3 { font-family: var(--font-display); font-size: 28px; margin: 6px 0 18px; }
.modal-x {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted);
}
.modal-x:hover { color: var(--gold-light); border-color: var(--gold); }

.book-summary {
  display: flex; align-items: center; gap: 16px;
  padding: 14px; margin-bottom: 20px; border-radius: 18px;
  background: rgba(0, 0, 0, 0.25); border: 1px dashed rgba(212, 175, 55, 0.4);
}
.bs-seat {
  display: grid; place-items: center; min-width: 64px; height: 64px; padding: 0 8px; border-radius: 16px;
  background: var(--gold-grad); color: var(--green-ink);
  font-family: var(--font-display); font-weight: 900; font-size: 22px;
}
.book-summary b { display: block; }
.book-summary small { display: block; color: var(--muted); font-size: 13px; }
.book-summary .bs-timer { color: var(--gold-light); font-size: 12px; margin-top: 2px; font-variant-numeric: tabular-nums; }

.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 12px; letter-spacing: 1px; color: var(--muted); margin-bottom: 6px; }
.field > span i { font-style: normal; opacity: 0.7; }
.field input {
  width: 100%; padding: 13px 15px; border-radius: 13px;
  border: 1px solid rgba(143, 217, 180, 0.2);
  background: rgba(0, 0, 0, 0.3); color: var(--text); font: inherit; font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder { color: rgba(147, 184, 164, 0.45); }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15); }
.field input.invalid { border-color: var(--danger); }
.field em { display: block; font-style: normal; font-size: 11px; color: var(--muted); margin-top: 5px; }
.field em:empty { display: none; }
.form-error { min-height: 0; margin: 0 0 12px; color: var(--danger); font-size: 13px; }
.form-error:empty { display: none; }
.fine { text-align: center; color: var(--muted); font-size: 12px; margin: 12px 0 0; }

.spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(4, 37, 26, 0.3); border-top-color: var(--green-ink);
  animation: spin 0.8s linear infinite;
}
.loading .spinner { display: inline-block; }
.loading .label { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Ticket ---------- */
#ticketModal { overflow-y: auto; display: flex; }
#ticketModal[hidden] { display: none; }
#ticketModal .modal-backdrop { position: fixed; }
#ticketModal .ticket-wrap { margin: auto; }
.ticket-stage { display: flex; align-items: flex-end; gap: 6px; width: 100%; }
.ticket-stage .ticket { flex: 1; min-width: 0; }

/* ---------- Celebrating dancer ---------- */
.dancer-wrap { position: relative; flex: none; width: 190px; margin-bottom: -18px; display: none; }
.ticket-wrap.fresh { width: min(860px, 100%); }
.ticket-wrap.fresh .dancer-wrap { display: block; }
.dancer {
  display: block; width: 100%; height: auto; overflow: visible;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.45));
  animation: dEnter 0.7s 0.2s cubic-bezier(0.2, 0.9, 0.3, 1.35) both;
}
@keyframes dEnter { from { opacity: 0; transform: translateY(60px) scale(0.6); } }
.dancer g { transform-box: view-box; }

/* Pose while popping in: arms up in a "V" */
.d-body { transform-origin: 100px 410px; }
.d-hips { transform-origin: 100px 230px; }
.d-torso { transform-origin: 100px 222px; }
.d-head { transform-origin: 100px 98px; }
.d-arm-l { transform-origin: 70px 112px; transform: rotate(150deg); }
.d-arm-r { transform-origin: 130px 112px; transform: rotate(-150deg); }
.d-fore-l { transform-origin: 70px 170px; transform: rotate(10deg); }
.d-fore-r { transform-origin: 130px 170px; transform: rotate(-10deg); }
.d-thigh-l { transform-origin: 88px 230px; }
.d-thigh-r { transform-origin: 112px 230px; }
.d-shin-l { transform-origin: 88px 304px; }
.d-shin-r { transform-origin: 112px 304px; }
.d-eyes { transform-box: view-box; transform-origin: 100px 61px; animation: dBlink 3.6s 1.5s infinite; }
.d-shadow { transform-box: view-box; transform-origin: 100px 412px; }

/* Dance: 2s phrase at 120 bpm (one bounce per beat), starts when the groove kicks in */
.ticket-wrap.fresh .d-body { animation: dBounce 0.5s 1s ease-in-out infinite; }
.ticket-wrap.fresh .d-shadow { animation: dShadow 0.5s 1s ease-in-out infinite; }
.ticket-wrap.fresh .d-hips { animation: dSway 1s 1s ease-in-out infinite; }
.ticket-wrap.fresh .d-torso { animation: dTwist 1s 1s ease-in-out infinite; }
.ticket-wrap.fresh .d-head { animation: dNod 1s 1s ease-in-out infinite; }
.ticket-wrap.fresh .d-arm-l { animation: dArmL 2s 1s ease-in-out infinite; }
.ticket-wrap.fresh .d-arm-r { animation: dArmR 2s 1s ease-in-out infinite; }
.ticket-wrap.fresh .d-fore-l { animation: dForeL 2s 1s ease-in-out infinite; }
.ticket-wrap.fresh .d-fore-r { animation: dForeR 2s 1s ease-in-out infinite; }
.ticket-wrap.fresh .d-thigh-l { animation: dThighL 1s 1s ease-in-out infinite; }
.ticket-wrap.fresh .d-thigh-r { animation: dThighR 1s 1.5s ease-in-out infinite; }
.ticket-wrap.fresh .d-shin-l { animation: dShinL 1s 1s ease-in-out infinite; }
.ticket-wrap.fresh .d-shin-r { animation: dShinR 1s 1.5s ease-in-out infinite; }

@keyframes dBounce {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  40% { transform: translateY(-16px) scale(0.99, 1.01); }
  80% { transform: translateY(2px) scale(1.02, 0.97); }
}
@keyframes dShadow { 40% { transform: scale(0.72); opacity: 0.22; } }
@keyframes dSway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes dTwist { 0%, 100% { transform: rotate(8deg); } 50% { transform: rotate(-8deg); } }
@keyframes dNod {
  0%, 100% { transform: rotate(-8deg); }
  25% { transform: rotate(0deg) translateY(2px); }
  50% { transform: rotate(8deg); }
  75% { transform: rotate(0deg) translateY(2px); }
}
/* Beats 1–4: wave both hands in the air · beats 5–6: fist pump · beats 7–8: hand on hip + point up */
@keyframes dArmL {
  0%, 50%, 100% { transform: rotate(155deg); }
  12.5%, 37.5% { transform: rotate(138deg); }
  25% { transform: rotate(165deg); }
  62.5% { transform: rotate(100deg); }
  75% { transform: rotate(95deg); }
  87.5% { transform: rotate(40deg); }
}
@keyframes dForeL {
  0%, 50%, 100% { transform: rotate(0deg); }
  12.5%, 37.5% { transform: rotate(28deg); }
  25% { transform: rotate(-12deg); }
  62.5% { transform: rotate(80deg); }
  68.75% { transform: rotate(60deg); }
  75% { transform: rotate(85deg); }
  87.5% { transform: rotate(-78deg); }
}
@keyframes dArmR {
  0%, 50%, 100% { transform: rotate(-155deg); }
  12.5%, 37.5% { transform: rotate(-165deg); }
  25% { transform: rotate(-138deg); }
  62.5% { transform: rotate(-100deg); }
  75% { transform: rotate(-95deg); }
  87.5% { transform: rotate(-160deg); }
}
@keyframes dForeR {
  0%, 50%, 100% { transform: rotate(0deg); }
  12.5%, 37.5% { transform: rotate(12deg); }
  25% { transform: rotate(-28deg); }
  62.5% { transform: rotate(-80deg); }
  68.75% { transform: rotate(-60deg); }
  75% { transform: rotate(-85deg); }
  87.5% { transform: rotate(-15deg); }
}
@keyframes dThighL { 0%, 50%, 100% { transform: rotate(0deg); } 25% { transform: rotate(14deg); } }
@keyframes dShinL { 0%, 50%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-24deg); } }
@keyframes dThighR { 0%, 50%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-14deg); } }
@keyframes dShinR { 0%, 50%, 100% { transform: rotate(0deg); } 25% { transform: rotate(24deg); } }
@keyframes dBlink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.1); } }

.d-bubble {
  position: absolute; left: 50%; top: -66px; z-index: 2; white-space: nowrap;
  padding: 8px 14px; border-radius: 14px;
  background: var(--gold-grad); color: var(--green-ink);
  font-weight: 700; font-size: 13px;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.4);
  transform: translateX(-50%);
  animation: bubblePop 0.5s 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.6) both, bubbleBob 2s 1.2s ease-in-out infinite;
}
.d-bubble::after {
  content: ''; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; margin-left: -7px;
  background: #d9b445; transform: rotate(45deg); border-radius: 2px; z-index: -1;
}
@keyframes bubblePop { from { opacity: 0; transform: translateX(-50%) scale(0.3) translateY(20px); } }
@keyframes bubbleBob { 50% { transform: translateX(-50%) translateY(-5px) rotate(-2deg); } }

.d-notes span {
  position: absolute; bottom: 45%; font-size: 20px; color: var(--gold-light);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
  opacity: 0;
  animation: noteFloat 2.4s ease-out infinite;
}
.d-notes span:nth-child(1) { left: 2%; animation-delay: 1s; }
.d-notes span:nth-child(2) { left: 82%; animation-delay: 1.4s; font-size: 24px; }
.d-notes span:nth-child(3) { left: 12%; animation-delay: 1.8s; font-size: 14px; }
.d-notes span:nth-child(4) { left: 76%; animation-delay: 2.2s; }
.d-notes span:nth-child(5) { left: 0%; animation-delay: 2.6s; font-size: 22px; }
.d-notes span:nth-child(6) { left: 88%; animation-delay: 3s; font-size: 14px; }
@keyframes noteFloat {
  0% { opacity: 0; transform: translateY(20px) rotate(-10deg) scale(0.6); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-140px) rotate(15deg) scale(1.1); }
}

.ticket-wrap {
  position: relative; width: min(640px, 100%);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  animation: ticketIn 0.9s cubic-bezier(0.2, 0.9, 0.2, 1.1);
}
@keyframes ticketIn { from { opacity: 0; transform: translateY(60px) rotateX(35deg) scale(0.9); } }
.ticket-status { text-align: center; color: var(--text); font-size: 15px; line-height: 1.5; }
.ticket-status h3 { font-family: var(--font-display); font-size: clamp(24px, 4vw, 32px); margin: 0 0 6px; }
.ticket-status .warn { color: var(--amber); }
.ticket-status b { color: var(--gold-light); }

.ticket {
  position: relative; width: 100%;
  display: grid; grid-template-columns: 1fr 190px;
  border-radius: 22px;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 30px rgba(212, 175, 55, 0.25));
}
.t-main {
  padding: 26px 26px 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(34, 201, 131, 0.25), transparent 50%),
    linear-gradient(140deg, #0c5a3a, #063823 60%, #04281a);
  border-radius: 22px 0 0 22px;
  -webkit-mask: radial-gradient(circle at 100% 0, transparent 14px, #000 14.5px) top / 100% 51% no-repeat,
                radial-gradient(circle at 100% 100%, transparent 14px, #000 14.5px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at 100% 0, transparent 14px, #000 14.5px) top / 100% 51% no-repeat,
        radial-gradient(circle at 100% 100%, transparent 14px, #000 14.5px) bottom / 100% 51% no-repeat;
}
.t-stub {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 20px 14px;
  background: var(--gold-grad);
  color: var(--green-ink);
  border-radius: 0 22px 22px 0;
  -webkit-mask: radial-gradient(circle at 0 0, transparent 14px, #000 14.5px) top / 100% 51% no-repeat,
                radial-gradient(circle at 0 100%, transparent 14px, #000 14.5px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at 0 0, transparent 14px, #000 14.5px) top / 100% 51% no-repeat,
        radial-gradient(circle at 0 100%, transparent 14px, #000 14.5px) bottom / 100% 51% no-repeat;
}
.t-stub::before {
  content: ''; position: absolute; left: 0; top: 20px; bottom: 20px;
  border-left: 2px dashed rgba(4, 37, 26, 0.35);
}
.t-brand { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold-light); }
.t-emblem { width: 26px; height: 26px; }
.t-event { font-family: var(--font-display); font-size: clamp(22px, 4vw, 30px); font-weight: 900; margin-top: 8px; line-height: 1.1; }
.t-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.t-intellect { display: block; height: 24px; width: auto; opacity: 0.95; }
.t-ic-logo { display: block; width: min(260px, 70%); height: auto; margin-top: 12px; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35)); }
.t-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin-top: 22px; }
.t-grid small { display: block; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.t-grid b { display: block; font-size: 14px; font-weight: 600; margin-top: 2px; word-break: break-word; }
.t-stub small { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700; opacity: 0.8; }
.t-seat { font-family: var(--font-display); font-size: 52px; font-weight: 900; line-height: 1; }
.t-barcode {
  width: 120px; height: 40px; margin-top: 12px;
  background: repeating-linear-gradient(90deg, var(--green-ink) 0 2px, transparent 2px 4px, var(--green-ink) 4px 5px, transparent 5px 8px, var(--green-ink) 8px 11px, transparent 11px 12px);
  opacity: 0.85;
}
.t-stub code { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; margin-top: 4px; }

/* ---------- Tooltip & toasts ---------- */
.tooltip {
  position: fixed; z-index: 60; pointer-events: none;
  padding: 8px 12px; border-radius: 10px;
  background: rgba(3, 20, 12, 0.96); border: 1px solid var(--line);
  font-size: 12px; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, calc(-100% - 12px));
}
.tooltip b { color: var(--gold-light); }
.tooltip.wrap { white-space: normal; max-width: 280px; line-height: 1.45; }

.toasts {
  position: fixed; top: 64px; right: 16px; z-index: 70;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
  max-width: calc(100% - 32px);
}
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 14px; font-size: 14px;
  background: rgba(6, 36, 23, 0.96); border: 1px solid var(--line);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7);
  animation: toastIn 0.4s cubic-bezier(0.2, 0.9, 0.2, 1.2);
}
.toast.error { border-color: rgba(255, 122, 107, 0.55); }
.toast.success { border-color: rgba(34, 201, 131, 0.55); }
.toast.out { animation: toastOut 0.3s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* ---------- Booking journey: lock seat → print e-pass → seal & send ---------- */
.journey {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 16px; text-align: center;
  background:
    radial-gradient(ellipse 55% 45% at 50% 38%, rgba(15, 138, 85, 0.28), transparent 70%),
    rgba(1, 8, 5, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeIn 0.35s ease;
  transition: opacity 0.35s;
}
.journey[hidden] { display: none; }
.journey.out { opacity: 0; }
.journey.skippable { cursor: pointer; }

.j-scene { position: relative; width: 300px; height: 300px; }
.j-s {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  opacity: 0; transform: scale(0.85) translateY(14px);
  transition: opacity 0.45s, transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1.1);
}
.j-s > * { grid-area: 1 / 1; }
.journey[data-stage='1'] .j-s1,
.journey[data-stage='2'] .j-s2,
.journey[data-stage='3'] .j-s3 { opacity: 1; transform: none; }

.j-caption {
  font-family: var(--font-display); font-size: clamp(22px, 4vw, 30px);
  margin: 18px 0 4px; min-height: 1.2em;
}
.j-caption.swap { animation: captionIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes captionIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
.j-sub { margin: 0; color: var(--muted); font-size: 14px; min-height: 1.4em; word-break: break-all; }
.j-steps {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px;
  font-size: 13px; color: rgba(147, 184, 164, 0.6);
}
.j-steps li { display: flex; align-items: center; gap: 8px; transition: color 0.3s; }
.j-steps li::before {
  content: ''; display: grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  font-size: 11px; font-weight: 800; transition: all 0.3s;
}
.j-steps li.active { color: var(--gold-light); }
.j-steps li.active::before { border-color: var(--gold); animation: ping 1.4s infinite; }
.j-steps li.done { color: var(--green-soft); }
.j-steps li.done::before { content: '✓'; border-color: transparent; background: var(--gold-grad); color: var(--green-ink); }
.j-skip { margin: 18px 0 0; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(147, 184, 164, 0.5); visibility: hidden; }
.journey.skippable .j-skip { visibility: visible; }

/* Scene 1 — spotlight + seat + lock */
.j-beam {
  width: 240px; height: 300px; align-self: start; margin-top: -60px;
  background: conic-gradient(from 180deg at 50% 0%, transparent 158deg, rgba(247, 224, 138, 0.3) 180deg, transparent 202deg);
  filter: blur(5px);
  animation: beamPulse 1.6s ease-in-out infinite;
}
@keyframes beamPulse { 50% { opacity: 0.45; } }
.j-floor {
  align-self: end; margin-bottom: 30px;
  width: 200px; height: 30px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(247, 224, 138, 0.4), transparent 70%);
}
.j-orbit {
  width: 200px; height: 200px; border-radius: 50%;
  border: 2px dashed rgba(212, 175, 55, 0.4);
  animation: spin 7s linear infinite;
  transition: opacity 0.3s;
}
.journey.locked .j-orbit { opacity: 0; }
.j-ring { width: 150px; height: 150px; border-radius: 50%; border: 2px solid var(--gold-light); opacity: 0; }
.journey.locked .j-ring { animation: ring 0.9s 0.5s ease-out; }
@keyframes ring { from { opacity: 0.9; transform: scale(0.6); } to { opacity: 0; transform: scale(1.9); } }

.j-chair { width: 140px; height: 140px; overflow: visible; animation: chairFloat 1.6s ease-in-out infinite; transition: filter 0.5s; }
@keyframes chairFloat { 50% { transform: translateY(-8px); } }
.j-chair .cp { fill: rgba(34, 201, 131, 0.14); stroke: var(--green-bright); stroke-width: 3; transition: fill 0.5s, stroke 0.5s; }
.j-chair .cl { stroke: var(--green-bright); stroke-width: 5; stroke-linecap: round; transition: stroke 0.5s; }
.j-chair-id { font-family: var(--font-display); font-weight: 900; font-size: 20px; fill: var(--green-soft); transition: fill 0.5s; }
.journey.locked .j-chair { animation: chairLand 0.6s cubic-bezier(0.2, 0.9, 0.2, 1.3); filter: drop-shadow(0 0 22px rgba(247, 224, 138, 0.85)); }
.journey.locked .j-chair .cp { fill: url(#jGold); stroke: var(--gold-pale); }
.journey.locked .j-chair .cl { stroke: var(--gold); }
.journey.locked .j-chair-id { fill: var(--green-ink); }
@keyframes chairLand {
  0% { transform: translateY(-8px); }
  45% { transform: translateY(6px) scale(1.08, 0.92); }
  100% { transform: none; }
}
.j-lock { width: 46px; height: 56px; translate: 62px 46px; opacity: 0; transform: translateY(-40px) scale(0.3); }
.journey.locked .j-lock { animation: lockDrop 0.5s 0.15s cubic-bezier(0.2, 0.9, 0.2, 1.4) forwards; }
@keyframes lockDrop { to { opacity: 1; transform: none; } }
.j-lock .shackle { transform: translateY(-8px); transition: transform 0.2s 0.65s cubic-bezier(0.5, 0, 0.5, 1.8); }
.journey.locked .j-lock .shackle { transform: none; }

/* Scene 2 — office printer (timeline: warm-up 0–0.45s, 8 line passes to 2.45s, eject to 2.75s) */
.printer { position: relative; width: 270px; height: 300px; margin-top: -10px; }
.printer > * { position: absolute; left: 50%; transform: translateX(-50%); }

.pr-feed { top: 0; width: 150px; height: 60px; z-index: 1; perspective: 300px; }
.pr-feed i {
  position: absolute; left: 0; right: 0; height: 60px; border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #f6e7a8, #c9a23c);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.5) inset, 0 2px 4px rgba(0, 0, 0, 0.35);
  transform-origin: bottom; transform: rotateX(-18deg);
}
.pr-feed i:nth-child(1) { top: 10px; filter: brightness(0.7); }
.pr-feed i:nth-child(2) { top: 5px; filter: brightness(0.85); }
.pr-feed .pr-feed-top { top: 0; }
.journey[data-stage='2'] .pr-feed-top,
.journey[data-stage='3'] .pr-feed-top { animation: feedIn 2s 0.45s steps(8, end) forwards; }
@keyframes feedIn { to { top: 56px; } }

.pr-body {
  top: 48px; width: 260px; height: 112px; z-index: 3;
  border-radius: 16px 16px 12px 12px;
  background: linear-gradient(180deg, #474d53 0%, #2c3135 28%, #1d2124 70%, #15181a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -2px 0 rgba(0, 0, 0, 0.6),
    inset 1px 0 0 rgba(255, 255, 255, 0.06),
    0 28px 40px -14px rgba(0, 0, 0, 0.9);
}
.pr-lid {
  position: absolute; left: 8px; right: 8px; top: 6px; height: 22px; border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #5a6168, #363b40);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 2px 0 rgba(0, 0, 0, 0.55);
}
.pr-lid::after {
  content: ''; position: absolute; left: 50%; top: 4px; width: 160px; height: 5px; transform: translateX(-50%);
  border-radius: 3px; background: #0b0d0e; box-shadow: inset 0 1px 2px #000, 0 1px 0 rgba(255, 255, 255, 0.12);
}
.pr-front { position: absolute; left: 12px; right: 12px; top: 36px; height: 40px; display: flex; gap: 10px; align-items: center; }
.pr-window {
  position: relative; flex: 1; height: 24px; border-radius: 6px; overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 14, 16, 0.95), rgba(28, 34, 38, 0.95));
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.08);
}
.pr-window::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.08) 45%, transparent 55%);
}
.pr-rail { position: absolute; left: 4px; right: 4px; top: 11px; height: 2px; background: #6b7278; border-radius: 1px; }
.pr-carriage {
  position: absolute; left: 4px; top: 4px; width: 26px; height: 16px; border-radius: 3px;
  background: linear-gradient(180deg, #5d646a, #2b3034);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.pr-carriage i { position: absolute; left: 5px; right: 5px; top: 4px; height: 6px; border-radius: 1px; background: linear-gradient(90deg, #d4af37, #f7e08a); }
.journey[data-stage='2'] .pr-carriage { animation: carriage 0.25s 0.45s ease-in-out 8 alternate both; }
@keyframes carriage { from { transform: translateX(0); } to { transform: translateX(118px); } }

.pr-panel { display: flex; flex-direction: column; gap: 5px; align-items: center; }
.pr-lcd {
  position: relative; width: 62px; height: 22px; border-radius: 4px; overflow: hidden;
  background: linear-gradient(180deg, #0f3a2c, #0a2a20);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 10px rgba(34, 201, 131, 0.25);
  font: 700 7.5px/1 ui-monospace, 'Courier New', monospace; letter-spacing: 1px; color: #6fffc0;
  text-shadow: 0 0 4px rgba(111, 255, 192, 0.8);
}
.pr-lcd span { position: absolute; left: 0; right: 0; top: 4px; text-align: center; }
.pr-lcd-t2 { opacity: 0; }
.pr-lcd-bar { position: absolute; left: 5px; bottom: 4px; height: 3px; width: 0; background: #6fffc0; box-shadow: 0 0 4px #6fffc0; }
.journey[data-stage='2'] .pr-lcd-t1 { animation: blinkText 0.6s steps(2) infinite, hideText 0.01s 2.5s forwards; }
.journey[data-stage='2'] .pr-lcd-t2,
.journey[data-stage='3'] .pr-lcd-t2 { animation: showText 0.01s 2.5s forwards; }
.journey[data-stage='2'] .pr-lcd-bar,
.journey[data-stage='3'] .pr-lcd-bar { animation: lcdBar 2s 0.45s linear forwards; }
@keyframes blinkText { 50% { opacity: 0.35; } }
@keyframes hideText { to { visibility: hidden; } }
@keyframes showText { to { opacity: 1; } }
@keyframes lcdBar { to { width: calc(100% - 10px); } }

.pr-buttons { display: flex; gap: 6px; align-items: center; }
.pr-btn {
  width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #6a7177, #25292c);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.pr-status { width: 6px; height: 6px; border-radius: 50%; background: #22c983; box-shadow: 0 0 6px #22c983; }
.journey[data-stage='2'] .pr-status { animation: heldBlink 0.25s steps(2) 10; }

.pr-brand {
  position: absolute; left: 16px; bottom: 26px;
  font-size: 7px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); opacity: 0.85;
}
.pr-slot {
  position: absolute; left: 50%; bottom: 10px; width: 176px; height: 8px; transform: translateX(-50%);
  border-radius: 4px; background: #050607;
  box-shadow: inset 0 3px 4px #000, 0 1px 0 rgba(255, 255, 255, 0.14);
}
.journey[data-stage='2'] .pr-body { animation: hum 0.07s linear 0.45s 33; }
@keyframes hum { 50% { transform: translateX(calc(-50% + 0.6px)) translateY(-0.4px); } }

.pr-tray {
  top: 152px; width: 210px; height: 22px; z-index: 1;
  background: linear-gradient(180deg, #2a2f33, #1a1d20);
  clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.6));
}
.pr-out { top: 150px; width: 180px; height: 140px; z-index: 2; overflow: hidden; }

.j-pass {
  width: 150px; height: 140px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border-radius: 0 0 12px 12px;
  background: var(--gold-grad); color: var(--green-ink);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.6);
}
.j-pass small { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }
.j-pass b { font-family: var(--font-display); font-size: 40px; font-weight: 900; line-height: 1; }
.j-pass-code {
  width: 90px; height: 18px; margin-top: 4px;
  background: repeating-linear-gradient(90deg, var(--green-ink) 0 2px, transparent 2px 4px, var(--green-ink) 4px 5px, transparent 5px 7px);
}
.pr-out .j-pass { width: 140px; height: 124px; border-radius: 2px 2px 10px 10px; transform: translateY(-100%); }
.journey[data-stage='2'] .pr-out .j-pass,
.journey[data-stage='3'] .pr-out .j-pass {
  animation: printOut 2s 0.45s steps(8, end) forwards, ejectOut 0.3s 2.45s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}
@keyframes printOut { to { transform: translateY(-16%); } }
@keyframes ejectOut { from { transform: translateY(-16%); } to { transform: translateY(0); } }

/* Scene 3 — envelope seals and flies away */
.j-env { position: relative; width: 210px; height: 136px; margin-top: 70px; perspective: 600px; }
.j-env > div { position: absolute; }
.j-env-back {
  inset: 0; border-radius: 10px;
  background: linear-gradient(180deg, #0b4f33, #073a26);
  border: 1px solid rgba(212, 175, 55, 0.5);
}
.j-env-flap {
  left: 0; right: 0; top: 0; height: 84px; z-index: 1;
  background: linear-gradient(180deg, #d4af37, #8a6a17 4%, #0d5c3c 6%, #0a4a30);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top;
  transform: rotateX(180deg);
}
.j-env-letter { left: 30px; top: -96px; width: 150px; height: 120px; z-index: 2; border-radius: 12px; }
.j-env-letter b { font-size: 34px; }
.j-env-front {
  inset: 0; z-index: 3; border-radius: 10px;
  background: linear-gradient(160deg, #127a50, #075233 60%, #063f28);
  clip-path: polygon(0 28%, 50% 66%, 100% 28%, 100% 100%, 0 100%);
}
.j-env-seal {
  left: 50%; top: 62px; width: 40px; height: 40px; margin-left: -20px; z-index: 5;
  display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1b0, #d4af37 55%, #8a6a17);
  color: var(--green-ink); font-weight: 900; font-size: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 16px rgba(247, 224, 138, 0.6);
  transform: scale(0);
}
.journey[data-stage='3'] .j-env-letter {
  animation: letterIn 0.5s 0.2s cubic-bezier(0.5, 0, 0.3, 1) forwards, letterHide 0.1s 1s forwards;
}
@keyframes letterHide { to { opacity: 0; } }
.journey[data-stage='3'] .j-env-flap { animation: flapClose 0.4s 0.75s ease-in forwards; }
.journey[data-stage='3'] .j-env-seal { animation: sealPop 0.35s 1.1s cubic-bezier(0.2, 0.9, 0.2, 1.7) forwards; }
.journey[data-stage='3'] .j-env { animation: envFly 0.75s 1.5s cubic-bezier(0.6, 0, 0.8, 0.6) forwards; }
@keyframes letterIn { to { top: 10px; } }
@keyframes flapClose {
  0% { transform: rotateX(180deg); z-index: 1; }
  50% { z-index: 4; }
  100% { transform: rotateX(0deg); z-index: 4; }
}
@keyframes sealPop { from { transform: scale(2.2) rotate(-40deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes envFly {
  0% { transform: none; opacity: 1; }
  22% { transform: translate(-14px, 10px) rotate(5deg); }
  100% { transform: translate(260px, -280px) rotate(-28deg) scale(0.2); opacity: 0; }
}
.j-trail { width: 300px; height: 270px; position: relative; pointer-events: none; }
.j-trail i {
  position: absolute; left: 50%; top: 60%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-light); box-shadow: 0 0 10px var(--gold);
  opacity: 0;
}
.j-trail i:nth-child(1) { translate: 10px -20px; }
.j-trail i:nth-child(2) { translate: 40px -60px; }
.j-trail i:nth-child(3) { translate: 70px -100px; }
.j-trail i:nth-child(4) { translate: 100px -140px; }
.j-trail i:nth-child(5) { translate: 125px -175px; }
.j-trail i:nth-child(6) { translate: 145px -205px; }
.journey[data-stage='3'] .j-trail i { animation: sparkle 0.7s ease-out forwards; }
.journey[data-stage='3'] .j-trail i:nth-child(1) { animation-delay: 1.65s; }
.journey[data-stage='3'] .j-trail i:nth-child(2) { animation-delay: 1.72s; }
.journey[data-stage='3'] .j-trail i:nth-child(3) { animation-delay: 1.79s; }
.journey[data-stage='3'] .j-trail i:nth-child(4) { animation-delay: 1.86s; }
.journey[data-stage='3'] .j-trail i:nth-child(5) { animation-delay: 1.93s; }
.journey[data-stage='3'] .j-trail i:nth-child(6) { animation-delay: 2s; }
@keyframes sparkle { 0% { opacity: 0; transform: scale(0.3); } 30% { opacity: 1; transform: scale(1.2); } 100% { opacity: 0; transform: scale(0.2); } }

/* ---------- Sign in ---------- */
.wrap.narrow { max-width: 560px; }
.login-card {
  position: relative; margin-top: 18px; text-align: center;
  padding: 40px 32px 30px; border-radius: 28px;
  background: linear-gradient(160deg, rgba(14, 64, 41, 0.8), rgba(5, 30, 19, 0.88));
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85), 0 0 60px -20px rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.login-logos { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0 auto 20px; }
.login-intellect { display: block; height: 34px; width: auto; opacity: 0.95; }
.login-ic { display: block; width: min(320px, 78vw); height: auto; filter: drop-shadow(0 6px 24px rgba(212, 175, 55, 0.25)); }
.login-emblem { display: block; width: 76px; height: 76px; margin: 0 auto 14px; filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.45)); }
.login-mark {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 20px; background: var(--gold-grad); color: var(--green-ink);
  font-size: 30px; font-weight: 900;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  animation: twinkle 4s ease-in-out infinite;
}
.login-title { margin: 0; font-size: clamp(26px, 5.5vw, 34px); line-height: 1.15; text-transform: uppercase; letter-spacing: 1px; color: var(--gold-light); }
.login-date { margin: 10px 0 0; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }
.login-lead { margin: 12px 0 0; font-size: clamp(16px, 3.4vw, 19px); font-weight: 700; color: var(--gold-light); }
.login-cta { margin: 8px 0 0; font-size: 15px; font-weight: 700; color: var(--gold); }
.login-rule { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.login-signin { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text); }
.login-card .btn-google { margin-top: 16px; }
.login-info { text-align: left; }
.login-info h3 { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text); }
.login-note { margin-top: 18px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(212, 175, 55, 0.55); background: rgba(212, 175, 55, 0.06); }
.login-note b { display: block; font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--gold-light); }
.login-note p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--text); }
.btn-google {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; margin-top: 26px; padding: 15px 22px; border-radius: 16px; border: 0; cursor: pointer;
  background: #fff; color: #1f1f1f; font-weight: 600; font-size: 16px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(212, 175, 55, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-google:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.8), 0 0 0 2px var(--gold); }
.btn-google:disabled { opacity: 0.75; cursor: wait; }
.btn-google .spinner { border-color: rgba(0, 0, 0, 0.15); border-top-color: #1f1f1f; }
.login-hint { margin: 12px 0 0; font-size: 12px; color: var(--gold-light); }
.login-hint:empty { display: none; }
.login-card .form-error { margin: 14px 0 0; }
.login-perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; text-align: left; }
.login-perks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.login-perks li span { flex: none; display: flex; margin-top: 1px; color: var(--gold); }

/* ---------- Signed-in user ---------- */
.user-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 4px 4px 4px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(212, 175, 55, 0.06);
}
.avatar {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; overflow: hidden;
  background: var(--gold-grad); color: var(--green-ink); font-weight: 800; font-size: 13px;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-name { font-size: 13px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#signOutBtn {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  border: 0; background: transparent; color: var(--muted); transition: color 0.2s, background 0.2s;
}
#signOutBtn:hover { color: var(--danger); background: rgba(255, 122, 107, 0.1); }
.pass-count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 2px;
  border-radius: 999px; background: var(--gold-grad); color: var(--green-ink); font-size: 11px;
}

.vc-mine {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--gold-grad); color: var(--green-ink);
}

.hall-note {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 16px;
  margin: 0 auto 16px; padding: 12px 18px; max-width: 760px; border-radius: 16px;
  background: rgba(212, 175, 55, 0.1); border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 14px; text-align: center;
}
.hall-note b { color: var(--gold-light); }
.hall-note button { padding: 7px 14px; font-size: 13px; border-radius: 10px; }

.field input.locked { opacity: 0.8; cursor: not-allowed; border-style: dashed; }

/* ---------- Passes & cancel ---------- */
.ticket-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ticket-wrap.fresh .danger-text { display: none; }
.danger-text { color: var(--danger); border-color: rgba(255, 122, 107, 0.35); }
.danger-text:hover { border-color: var(--danger); background: rgba(255, 122, 107, 0.08); }
.btn-danger {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 14px; border: 0; cursor: pointer; font-weight: 700;
  background: linear-gradient(135deg, #ff8a7a, #d9473a); color: #fff;
  box-shadow: 0 10px 26px -10px rgba(217, 71, 58, 0.8);
}
.btn-danger:disabled { opacity: 0.7; cursor: wait; }
.btn-danger .spinner { border-color: rgba(255, 255, 255, 0.3); border-top-color: #fff; }
.confirm-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 18px; }
.confirm-actions > * { flex: 1; }

.modal-panel.wide { width: min(620px, 100%); }
.modal-panel .eyebrow span { text-transform: none; letter-spacing: 0.5px; color: var(--gold-light); }
.pass-list { display: grid; gap: 12px; }
.pass-item {
  display: flex; align-items: center; gap: 16px;
  padding: 14px; border-radius: 18px;
  background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line);
  animation: rise 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.pass-seat {
  display: grid; place-items: center; min-width: 64px; height: 64px; padding: 0 8px; border-radius: 16px;
  background: var(--gold-grad); color: var(--green-ink);
  font-family: var(--font-display); font-weight: 900; font-size: 22px;
}
.pass-info { flex: 1; min-width: 0; }
.pass-info b { display: block; }
.pass-info small { display: block; color: var(--muted); font-size: 12px; }
.pass-info code { color: var(--gold-light); font-size: 12px; }
.pass-btns { display: flex; gap: 8px; }
.pass-btns button { padding: 9px 14px; font-size: 13px; border-radius: 12px; }
.pass-empty { text-align: center; padding: 24px 10px 6px; color: var(--muted); }
.pass-empty .btn-gold { margin-top: 16px; }

/* ---------- Virtual sessions ---------- */
a.btn-gold, a.btn-ghost { text-decoration: none; }
a.btn-ghost { display: inline-flex; align-items: center; justify-content: center; }
.vc-ideas { list-style: none; margin: 20px 0 18px; padding: 12px 14px; border-radius: 14px;
  background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.04); display: grid; gap: 7px; font-size: 13px; }
.vc-ideas li { display: flex; gap: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-ideas li span { color: var(--gold-light); font-weight: 600; min-width: 64px; }
.vc-ideas li.more { color: var(--muted); padding-left: 74px; }

.idea-list { display: grid; gap: 16px; padding-bottom: 120px; }
.idea-card {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: start;
  padding: 20px 22px; border-radius: 22px; cursor: pointer; outline: none;
  background: linear-gradient(160deg, rgba(14, 64, 41, 0.75), rgba(5, 30, 19, 0.8));
  border: 1px solid var(--line);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.idea-card:hover, .idea-card:focus-visible { border-color: var(--gold); transform: translateY(-2px); }
.idea-card.picked { border-color: var(--gold-light); box-shadow: 0 0 0 2px rgba(247, 224, 138, 0.35), 0 0 30px -6px rgba(247, 224, 138, 0.6); }
.idea-card.registered { cursor: default; border-color: rgba(34, 201, 131, 0.55); transform: none; }
.idea-card.ended { cursor: default; opacity: 0.55; transform: none; }
.idea-card.ended:hover { border-color: var(--line); }
.idea-card.registered { cursor: not-allowed; }
.idea-card.registered:hover { border-color: rgba(34, 201, 131, 0.55); transform: none; }
.idea-card.registered .idea-time, .idea-card.registered .idea-body > :not(.idea-actions) { opacity: 0.6; }
.idea-card.registered .idea-actions { cursor: default; }
.idea-card.blocked, .idea-card.blocked:hover { cursor: not-allowed; opacity: 0.5; transform: none; border-color: var(--line); filter: grayscale(0.6); }
.idea-time { display: flex; flex-direction: column; gap: 2px; padding-right: 16px; border-right: 1px dashed var(--line); }
.idea-time b { font-size: 20px; color: var(--gold-light); line-height: 1.1; }
.idea-time small { color: var(--muted); font-size: 12px; }
.idea-live { margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #ff8a7a; text-transform: uppercase; }
.idea-body { min-width: 0; }
.idea-body h3 { font-family: var(--font-display); font-size: 21px; margin: 0 0 4px; }
.idea-body > .muted { font-size: 14px; }
.idea-people { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; }
.person-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 4px; border-radius: 999px;
  background: rgba(34, 201, 131, 0.1); border: 1px solid rgba(34, 201, 131, 0.3); font-size: 13px;
}
.person-chip i {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-style: normal;
  background: var(--gold-grad); color: var(--green-ink); font-size: 10px; font-weight: 700;
}
.idea-count { color: var(--muted); font-size: 12px; }
.idea-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.idea-actions > * { padding: 8px 14px; font-size: 13px; border-radius: 11px; }
.idea-status { align-self: center; }
.idea-check {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  border: 1.5px solid rgba(34, 201, 131, 0.75); color: var(--green-ink); font-weight: 800;
  transition: background 0.2s, border-color 0.2s;
}
.idea-card.picked .idea-check { background: var(--gold-grad); border-color: var(--gold-pale); }
.idea-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(255, 255, 255, 0.06); color: var(--muted); white-space: nowrap; }
.idea-badge.mine { background: rgba(34, 201, 131, 0.16); color: var(--green-soft); border: 1px solid rgba(34, 201, 131, 0.4); }
.pass-seat.virt { font-size: 28px; }
.pass-group { margin: 6px 0 -2px; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.pass-btns a { padding: 9px 14px; font-size: 13px; border-radius: 12px; }
#virtModalText .warn { color: var(--amber); }
#virtModalText { margin-bottom: 16px; }

/* ---------- Virtual journey: tune in → calendar → invite ---------- */
.journey[data-mode='virtual'] .j-s1,
.journey[data-mode='virtual'] .j-s2 { display: none; }
.journey:not([data-mode='virtual']) .j-v { display: none; }
.journey[data-stage='1'] .j-v1,
.journey[data-stage='2'] .j-v2 { opacity: 1; transform: none; }

.v-events { list-style: none; margin: 6px 12px 0; padding: 0; display: grid; gap: 5px; }
.v-events li {
  display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 8px;
  border-left: 3px solid var(--gold); background: linear-gradient(90deg, #0f8a55, #0b5d3b); color: #eaf5ee;
  font-size: 11px; text-align: left; white-space: nowrap; overflow: hidden;
  opacity: 0; transform: translateX(70px) rotate(5deg);
}
.v-events li b { flex: none; color: var(--gold-light); }
.v-events li span { overflow: hidden; text-overflow: ellipsis; }
.v-events li.more { justify-content: center; border-left-color: transparent; background: rgba(4, 37, 26, 0.12); color: var(--green-ink); font-weight: 600; }
.journey[data-stage='2'] .v-events li { animation: vChipIn 0.45s cubic-bezier(0.2, 0.9, 0.2, 1.3) forwards; animation-delay: calc(1s + var(--k) * 0.35s); }
.v-stamp {
  position: absolute; right: -16px; top: 44px; padding: 4px 10px; border-radius: 8px;
  border: 2.5px solid #d9473a; background: rgba(251, 246, 228, 0.85); color: #d9473a;
  font-size: 13px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
  opacity: 0; transform: rotate(14deg) scale(2.5);
}
.journey[data-stage='2'] .v-stamp { animation: vStamp 0.35s cubic-bezier(0.2, 0.9, 0.2, 1.4) forwards; animation-delay: calc(1.15s + var(--n) * 0.35s); }
@keyframes vCalDrop { from { opacity: 0; transform: translateY(-70px) rotate(-6deg); } }
@keyframes vDraw { to { stroke-dashoffset: 0; } }
@keyframes vChipIn { to { opacity: 1; transform: none; } }
@keyframes vStamp { to { opacity: 1; transform: rotate(14deg) scale(1); } }

/* ---------- Idea / time-slot tabs in the hall ---------- */
.slot-tabs {
  display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 0 6px;
  scroll-snap-type: x proximity; scrollbar-width: thin;
}
.slot-tab {
  position: relative; flex: 1 0 210px; max-width: 280px; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left;
  padding: 12px 14px 14px; border-radius: 16px; cursor: pointer;
  background: rgba(9, 44, 28, 0.6); border: 1px solid var(--line); color: var(--text);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.slot-tab:hover { border-color: var(--gold); transform: translateY(-2px); }
.slot-tab.active {
  border-color: var(--gold-light); background: linear-gradient(160deg, rgba(212, 175, 55, 0.2), rgba(9, 44, 28, 0.7));
  box-shadow: 0 0 0 2px rgba(247, 224, 138, 0.25), 0 10px 30px -12px rgba(247, 224, 138, 0.6);
}
.slot-tab.ended { opacity: 0.5; }
.slot-tab.blocked { opacity: 0.6; filter: grayscale(0.5); }
.slot-tab.blocked:hover, .slot-tab.blocked.active { opacity: 0.9; filter: none; }
.slot-tab .st-time { font-size: 12px; font-weight: 600; color: var(--gold-light); }
.slot-tab .st-time i { font-style: normal; color: #ff8a7a; margin-left: 4px; }
.slot-tab b { font-family: var(--font-display); font-size: 15px; line-height: 1.25; }
.slot-tab small { color: var(--muted); font-size: 11.5px; line-height: 1.35; }
.slot-tab .st-left, .slot-tab .st-off, .slot-tab .st-mine { margin-top: 4px; font-size: 12px; font-weight: 600; }
.slot-tab .st-left { color: var(--green-soft); }
.slot-tab .st-off { color: var(--muted); }
.slot-tab .st-mine { padding: 2px 9px; border-radius: 999px; background: var(--gold-grad); color: var(--green-ink); }
.slot-tab .st-bar { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.slot-tab .st-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green-bright), var(--gold)); }
.slot-now { text-align: center; margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.slot-now b { color: var(--gold-light); }
.t-grid .t-wide { grid-column: 1 / -1; }
.t-grid .t-wide b { color: var(--gold-light); font-size: 16px; }

/* ---------- Booked seat with the attendee's Google photo ---------- */
.photo-person { display: block; }
.photo-person .pp-chair { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.photo-person .pp-img {
  position: absolute; left: 50%; top: 4%;
  width: 72%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  transform: translateX(-50%);
  border: 2px solid var(--gold-light);
  background: var(--bg-2);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
  animation: photoIn 0.75s cubic-bezier(0.3, 0.8, 0.3, 1.15) both;
}
.photo-person.settled .pp-img { animation: none; }
.seat.booked .photo-person .pp-img { border-color: rgba(255, 255, 255, 0.55); }
.seat.booked .p-chair { filter: saturate(0.35) brightness(0.75); }
@keyframes photoIn {
  0% { transform: translate(-50%, -22px) scale(1.1); opacity: 0; }
  60% { transform: translate(-50%, 2px) scale(0.97); opacity: 1; }
  100% { transform: translateX(-50%); }
}
.seat.booked.has-person, .seat.booked.has-person:hover { cursor: default; z-index: 2; }
.seat.booked .person:not(.photo-person) .p-body { filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.45)) brightness(0.8); }

.tip-row { display: flex; align-items: center; gap: 10px; }
.tip-photo {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid var(--gold-light); background: var(--gold-grad); color: var(--green-ink); font-weight: 700; font-size: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  :root { --seat: 25px; --seat-gap: 4px; }
  .idea-card { grid-template-columns: 1fr auto; gap: 12px; padding: 16px; }
  .idea-time { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 0 0 10px; border-right: 0; border-bottom: 1px dashed var(--line); }
  .idea-time b { font-size: 17px; }
  .idea-live { margin: 0; }
  .idea-time { order: -2; }
  .idea-card.registered .idea-status, .idea-card.ended .idea-status, .idea-card.blocked .idea-status { grid-column: 1 / -1; order: -1; }
  .meta { gap: 14px; padding: 14px 18px; }
  .meta b { font-size: 13px; }
  .hall-head { grid-template-columns: 1fr auto; }
  .hall-title { grid-column: 1 / -1; grid-row: 2; }
  .row-seats { gap: 18px; }
  .row { gap: 8px; }
  .stage-label span { letter-spacing: 3px; font-size: 12px; }
  .theatre { padding: 18px 4px 12px; border-radius: 20px; }
  .selection-bar { flex-wrap: wrap; gap: 12px; }
  .sel-actions { width: 100%; }
  .sel-actions .btn-gold { flex: 1; }
  .ticket { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .topbar-right { gap: 8px; }
  .live span { display: none; }
  .pass-item { flex-wrap: wrap; }
  .pass-btns { width: 100%; }
  .pass-btns button { flex: 1; }
  .login-card { padding: 32px 20px 24px; }
  .ticket-stage { flex-direction: column; align-items: center; gap: 0; }
  .ticket-stage .ticket { width: 100%; }
  .dancer-wrap { width: 130px; margin: 52px 0 -6px; }
  .d-bubble { font-size: 11px; top: -48px; }
  .t-main { border-radius: 22px 22px 0 0; -webkit-mask: none; mask: none; }
  .t-stub { border-radius: 0 0 22px 22px; -webkit-mask: none; mask: none; }
  .t-stub::before { left: 20px; right: 20px; top: 0; bottom: auto; border-left: 0; border-top: 2px dashed rgba(4, 37, 26, 0.35); }
  .toasts { left: 16px; right: 16px; align-items: stretch; }
}
@media (max-width: 480px) {
  .meta { flex-direction: column; align-items: stretch; gap: 10px; }
  .meta .sep { width: 100%; height: 1px; }
  .meta div { text-align: center; }
  .title-edition { letter-spacing: 10px; padding-left: 10px; }
  .t-grid { grid-template-columns: 1fr; }
}

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

/* Calendar icon used on 'Google Calendar' buttons */
.cal-ico { flex: none; vertical-align: -3px; margin-right: 4px; }
.pass-btns .cal-ico, a.btn-ghost[aria-label] .cal-ico { margin-right: 0; }

/* Sign-in card: wide two-column layout on big screens so it fits without scrolling. */
@media (min-width: 960px) {
  /* Card fills the screen height; content stays centred inside it. */
  .wrap.login-wrap {
    max-width: 1400px; min-height: 100vh; padding: 52px 32px 28px;
    display: flex; flex-direction: column;
  }
  .wrap.login-wrap > .back { align-self: flex-start; }
  .login-wrap .login-card {
    flex: 1; display: grid; grid-template-columns: 1.05fr 1px 1fr; gap: 0 56px; align-items: center;
    margin-top: 8px; padding: clamp(24px, 4vh, 48px) clamp(40px, 4vw, 64px);
  }
  .login-wrap .login-logos { gap: clamp(10px, 1.8vh, 18px); margin-bottom: clamp(14px, 2.6vh, 28px); }
  .login-wrap .login-intellect { height: clamp(32px, 4.6vh, 46px); }
  .login-wrap .login-ic { width: clamp(300px, 30vw, 440px); }
  .login-wrap .br-narrow { display: none; }
  .login-wrap .login-rule-mid { width: 1px; height: 100%; margin: 0; border: 0; background: var(--line); }
  .login-wrap .login-emblem { width: 68px; height: 68px; margin-bottom: 10px; }
  .login-wrap .login-title { font-size: clamp(32px, 2.8vw, 42px); white-space: nowrap; }
  .login-wrap .login-date { font-size: 13px; }
  .login-wrap .login-lead { font-size: 23px; }
  .login-wrap .login-cta { font-size: 16.5px; }
  .login-wrap .login-signin { font-size: 16px; }
  .login-wrap .btn-google { font-size: 17px; }
  .login-wrap .login-info h3 { font-size: 15px; margin-bottom: 16px; }
  .login-wrap .login-perks { gap: 12px; }
  .login-wrap .login-rule:not(.login-rule-mid) { margin: 18px 0; }
  .login-wrap .login-perks li { font-size: 15.5px; }
  .login-wrap .login-perks li svg { width: 20px; height: 20px; }
  .login-wrap .login-note b { font-size: 14.5px; }
  .login-wrap .login-note p { font-size: 15px; }
}

/* Sign-in card on large screens (e.g. 1920×1080): scale logos and text up to fill the card. */
@media (min-width: 1500px) and (min-height: 820px) {
  .wrap.login-wrap { max-width: 1560px; }
  .login-wrap .login-card { gap: 0 72px; padding: 48px 80px; }
  .login-wrap .login-intellect { height: 54px; }
  .login-wrap .login-ic { width: 520px; }
  .login-wrap .login-logos { gap: 20px; margin-bottom: 30px; }
  .login-wrap .login-title { font-size: 52px; }
  .login-wrap .login-date { font-size: 15px; margin-top: 14px; }
  .login-wrap .login-lead { font-size: 29px; margin-top: 16px; }
  .login-wrap .login-cta { font-size: 20px; }
  .login-wrap .login-rule:not(.login-rule-mid) { margin: 26px 0; }
  .login-wrap .login-signin { font-size: 19px; }
  .login-wrap .btn-google { font-size: 20px; padding: 18px 24px; margin-top: 20px; }
  .login-wrap .login-info h3 { font-size: 18px; margin-bottom: 22px; }
  .login-wrap .login-perks { gap: 18px; }
  .login-wrap .login-perks li { font-size: 18.5px; gap: 14px; }
  .login-wrap .login-perks li svg { width: 24px; height: 24px; }
  .login-wrap .login-note { margin-top: 26px; padding: 16px 20px; }
  .login-wrap .login-note b { font-size: 17px; }
  .login-wrap .login-note p { font-size: 18px; }
}

/* Sign-in sentence: one sentence per line. */
.login-signin > span { display: block; }
@media (min-width: 960px) { .login-signin > span { white-space: nowrap; } }

/* Hover message lines (e.g. "Already Registered Online"). */
.tooltip .tip-line { display: block; margin-top: 4px; }
.tooltip.wrap { max-width: 320px; }

/* Viewing an idea the user can't book (already has a ticket for it). */
.slot-locked {
  display: block; max-width: 720px; margin: 10px auto 0; padding: 10px 14px; border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.5); background: rgba(212, 175, 55, 0.08);
  color: var(--text); font-size: 13.5px; line-height: 1.5;
}
.slot-locked b { color: var(--gold-light); margin-right: 4px; }
.seatmap.locked .seat.available { opacity: 0.45; cursor: not-allowed; }

/* Virtual-theatre icon (virtual option). */
.vc-icon.vc-stream { box-shadow: 0 0 22px -6px rgba(212, 175, 55, 0.55); }
.stream-ico .rec-dot { animation: liveBlink 1.4s ease-in-out infinite; }
.stream-ico .cur-l { transform-origin: 9px 30px; animation: curSway 3s ease-in-out infinite; }
.stream-ico .cur-r { transform-origin: 55px 30px; animation: curSway 3s ease-in-out infinite 0.4s; }
@keyframes curSway { 50% { transform: scaleX(0.82); } }
@keyframes liveBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- Virtual journey: the virtual theatre ---------- */
/* Scene V1 — curtains part on a stage screen, 3-2-1, the stream goes live */
.th-stage { position: relative; width: 264px; margin-top: 18px; }
.th-frame {
  position: relative; height: 176px; border-radius: 16px 16px 8px 8px; overflow: hidden;
  background: linear-gradient(180deg, #2b1f0b, #120c04);
  border: 2px solid var(--gold);
  box-shadow: 0 0 46px -10px rgba(212, 175, 55, 0.7), inset 0 0 0 5px rgba(0, 0, 0, 0.45);
}
.th-screen {
  position: absolute; inset: 22px 16px 12px; border-radius: 6px; overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #0f3d28, #021108 78%);
  transition: background 0.6s, box-shadow 0.6s;
}
.th-screen > * { grid-area: 1 / 1; }
.th-screen::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 4px);
}
.th-count { display: grid; place-items: center; }
.th-count b {
  grid-area: 1 / 1; font-family: var(--font-display); font-size: 66px; font-weight: 900; line-height: 1;
  color: var(--gold-light); text-shadow: 0 0 24px rgba(247, 224, 138, 0.7); opacity: 0;
}
.th-live { display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0; transform: scale(0.7); }
.th-rec {
  padding: 3px 9px; border-radius: 5px; background: #e5484d; color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: 2px; animation: liveBlink 1.2s ease-in-out infinite;
}
.th-play {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold-grad); animation: vPlayPulse 1.2s ease-out infinite;
}
.th-play svg { width: 24px; height: 24px; margin-left: 3px; fill: var(--green-ink); }
.th-curtain {
  position: absolute; top: 0; bottom: 0; width: 51%; z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 25%, transparent 80%, rgba(0, 0, 0, 0.4)),
    repeating-linear-gradient(90deg, #5e0a12 0 6px, #9e1424 6px 13px, #c21d2e 13px 16px, #7c0f1a 16px 22px);
  box-shadow: inset 0 -4px 0 var(--gold);
  animation: thSway 2.4s ease-in-out infinite alternate;
}
.th-l { left: 0; transform-origin: left center; }
.th-r { right: 0; transform-origin: right center; animation-delay: 0.3s; }
.th-valance {
  position: absolute; left: 0; right: 0; top: 0; height: 26px; z-index: 3;
  background:
    radial-gradient(circle at 50% 0, #b5172a 0 15px, transparent 16px) 0 4px / 30px 22px repeat-x,
    linear-gradient(#7c0f1a, #7c0f1a) top / 100% 10px no-repeat;
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.45));
}
.th-valance::after { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--gold); opacity: 0.8; }
.th-floor {
  height: 22px; margin: -6px 10px 0; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 0, rgba(247, 224, 138, 0.45), transparent 70%);
}
@keyframes thSway { to { transform: scaleX(0.96); } }
@keyframes thPart { from { transform: scaleX(1); } to { transform: scaleX(0.1); } }
@keyframes thCount {
  0% { opacity: 0; transform: scale(1.7); }
  25% { opacity: 1; transform: scale(1); }
  75% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.7); }
}
@keyframes thLive { to { opacity: 1; transform: none; } }
/* Registered: curtains open, countdown, then LIVE */
.journey.locked .th-curtain { animation: thPart 0.9s 0.15s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.journey.locked .th-count b { animation: thCount 0.5s ease-out forwards; }
.journey.locked .th-count b:nth-child(1) { animation-delay: 0.95s; }
.journey.locked .th-count b:nth-child(2) { animation-delay: 1.4s; }
.journey.locked .th-count b:nth-child(3) { animation-delay: 1.85s; }
.journey.locked .th-live { animation: thLive 0.45s 2.3s cubic-bezier(0.2, 0.9, 0.2, 1.4) forwards; }
.journey.locked .th-screen { background: radial-gradient(circle at 50% 42%, rgba(247, 224, 138, 0.28), #052a1b 72%); box-shadow: inset 0 0 40px rgba(247, 224, 138, 0.25); }

/* Scene V2 — the ideas go up on a "Now Showing" marquee */
.mq { --n: 1; position: relative; width: 262px; }
.journey[data-stage='2'] .mq { animation: vCalDrop 0.6s cubic-bezier(0.2, 0.9, 0.2, 1.2) both; }
.mq-sign {
  position: relative; width: 196px; margin: 0 auto -2px; padding: 9px 0 8px; border-radius: 14px 14px 0 0;
  background: var(--gold-grad); color: var(--green-ink); text-align: center;
  font-family: var(--font-display); font-size: 15px; font-weight: 900; letter-spacing: 4px; text-transform: uppercase;
  box-shadow: 0 0 26px -6px rgba(247, 224, 138, 0.8);
}
.mq-sign::before {
  content: ''; position: absolute; inset: 4px; border-radius: 10px;
  border: 3px dotted #fffbe6; animation: bulbChase 0.5s steps(2) infinite;
}
.mq-sign span { position: relative; }
.mq-board {
  padding: 12px 12px 14px; border-radius: 14px; text-align: center;
  background: linear-gradient(180deg, #0b3a26, #04170e); border: 2px solid var(--gold);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.85), 0 0 40px -12px rgba(247, 224, 138, 0.55);
}
.mq-board small { display: block; margin-bottom: 8px; font-size: 10.5px; letter-spacing: 2.5px; color: var(--gold-light); }
.mq .v-events { margin: 0; }
.mq .v-events li { background: rgba(212, 175, 55, 0.1); border-left-color: var(--gold); color: var(--text); }
.mq .v-events li.more { background: rgba(212, 175, 55, 0.06); color: var(--gold-light); }
.mq .v-stamp { top: -14px; right: -12px; }
@keyframes bulbChase { 50% { border-color: rgba(255, 251, 230, 0.35); } }
@keyframes vPlayPulse { from { box-shadow: 0 0 0 0 rgba(247, 224, 138, 0.65); } to { box-shadow: 0 0 0 22px rgba(247, 224, 138, 0); } }

/* ---------- Cancelled stamp (after cancelling a booking) ---------- */
.cx-overlay {
  position: fixed; inset: 0; z-index: 80; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px;
  background: rgba(2, 13, 8, 0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 0.25s ease; transition: opacity 0.3s;
}
.cx-overlay.out { opacity: 0; }
.cx-scene { position: relative; margin-bottom: 18px; }
.cx-pass {
  display: flex; width: min(380px, 86vw); border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.9);
  animation: cxIn 0.45s cubic-bezier(0.2, 0.9, 0.2, 1.2) both, cxDim 0.5s 1.05s ease forwards;
}
.cx-main {
  flex: 1; min-width: 0; padding: 18px 18px 16px; text-align: left;
  background: linear-gradient(140deg, #0e6a45, #063823 60%, #04281a); border: 1px solid rgba(212, 175, 55, 0.5);
}
.cx-main small { display: block; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-light); }
.cx-main b { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 17px; line-height: 1.25; color: var(--gold-pale); }
.cx-main span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.cx-seat .cx-main { border-radius: 18px 0 0 18px; border-right: 2px dashed rgba(4, 37, 26, 0.6); }
.cx-stub {
  display: grid; place-content: center; text-align: center; width: 104px;
  background: var(--gold-grad); color: var(--green-ink);
}
.cx-stub small { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.cx-stub b { font-family: var(--font-display); font-size: 40px; font-weight: 900; line-height: 1.05; }
.cx-virtual .cx-main { display: flex; align-items: center; gap: 14px; border-radius: 18px; }
.cx-icon {
  flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: radial-gradient(circle at 30% 30%, rgba(247, 224, 138, 0.3), rgba(212, 175, 55, 0.08)); border: 1px solid var(--line);
}
.cx-stamp {
  position: absolute; left: 50%; top: 50%; z-index: 2; pointer-events: none;
  padding: 6px 18px; border: 4px solid #e5484d; border-radius: 10px;
  color: #e5484d; background: rgba(255, 245, 245, 0.06);
  font-family: var(--font-display); font-size: 34px; font-weight: 900; letter-spacing: 5px; text-transform: uppercase;
  text-shadow: 0 0 1px rgba(229, 72, 77, 0.6); box-shadow: inset 0 0 0 2px rgba(229, 72, 77, 0.35);
  opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(2.6);
  animation: cxStamp 0.38s 0.75s cubic-bezier(0.2, 0.9, 0.2, 1.3) forwards;
}
.cx-caption {
  margin: 0; font-family: var(--font-display); font-size: clamp(20px, 3.6vw, 26px); color: var(--text);
  opacity: 0; animation: cxText 0.4s 1.2s ease forwards;
}
.cx-sub { margin: 0; font-size: 13.5px; color: var(--muted); opacity: 0; animation: cxText 0.4s 1.35s ease forwards; }
@keyframes cxIn { from { opacity: 0; transform: translateY(24px) scale(0.92); } }
@keyframes cxDim { to { filter: grayscale(0.75) brightness(0.75); } }
@keyframes cxStamp {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(2.6); }
  70% { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(0.94); }
  100% { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(1); }
}
@keyframes cxText { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cx-overlay .cx-scene { animation: cxShake 0.25s 1.08s ease; }
@keyframes cxShake { 30% { transform: translate(-3px, 2px); } 60% { transform: translate(2px, -1px); } }
