/* =====================================================================
   Epic Lounge — cinematic, video-first.
   Velvet black, champagne-gold foil, ember "live" glow.
   Display: Bodoni Moda (italic, used big and sparingly)
   Body:    Manrope      Utility: DM Mono (times, codes, prices)
   ===================================================================== */
:root {
  --ink: #09080b;
  --smoke: #131117;
  --haze: #1c1921;
  --velvet: #241e2b;
  --line: rgba(245, 239, 230, .08);
  --line-2: rgba(245, 239, 230, .14);
  --pearl: #f5efe6;
  --ash: #9c95a3;
  --ash-2: #6f6977;
  --champagne: #e8c987;
  --champagne-2: #f7e7b8;
  --bronze: #b98a3e;
  --ember: #ff7a45;
  --ember-glow: rgba(255, 122, 69, .55);
  --danger: #ff6b6b;
  --foil: linear-gradient(100deg, #f7e7b8 0%, #e3bd72 30%, #b98a3e 55%, #f2d896 80%, #c99a4b 100%);
  --glass: rgba(19, 17, 23, .66);
  --glass-strong: rgba(14, 12, 17, .86);

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --gutter: 20px;
  --header-h: 60px;
  --tab-h: 64px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --dock: calc(var(--tab-h) + 14px + var(--safe-b)); /* space taken by the floating tab bar */

  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --d1: 180ms;
  --d2: 340ms;
  --d3: 620ms;
}

* { box-sizing: border-box; }
html { background: var(--ink); color-scheme: dark; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--ink);
  color: var(--pearl);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(232, 201, 135, .35); }

/* ---------------------------------------------------------------- type */
.display {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(50px, 15vw, 78px);
  line-height: .9;
  letter-spacing: -.02em;
  margin: 0;
}
.display .up { font-style: normal; font-weight: 400; }
.title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -.015em;
  margin: 0;
}
.title em { font-style: italic; color: var(--champagne); }
.h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0;
}
.h2 em { font-style: italic; }
.h3 { font-size: 16px; font-weight: 700; margin: 0; letter-spacing: -.005em; }
.label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--champagne);
}
.label.ash { color: var(--ash); }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: 0; }
.muted { color: var(--ash); }
.small { font-size: 13px; }
.tiny { font-size: 11.5px; }
.center { text-align: center; }
.gold { color: var(--champagne); }
.foil {
  background: var(--foil);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.foil.sweep { animation: foil-sweep 2.6s var(--ease) .35s both; }
@keyframes foil-sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
.price { font-family: var(--mono); color: var(--champagne); white-space: nowrap; }

/* ---------------------------------------------------------------- layout */
.app { max-width: 560px; margin: 0 auto; position: relative; }
main {
  padding: calc(var(--header-h) + var(--safe-t) + 8px) var(--gutter) calc(var(--dock) + 32px);
  min-height: 100vh;
  overflow-x: clip; /* sliding step panels must not widen the page mid-animation */
}
body.has-hero main { padding-top: 0; }
body.has-bar main { padding-bottom: calc(var(--dock) + 110px); }
.bleed { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 12px; }
.mt { margin-top: 18px; }
.mt-s { margin-top: 8px; }
.mt-l { margin-top: 36px; }
.section { margin-top: 44px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.section-head a { font-size: 13px; color: var(--champagne); font-weight: 600; white-space: nowrap; }
.hair { height: 1px; background: var(--line); border: 0; margin: 16px 0; }

/* ---------------------------------------------------------------- header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  padding-top: var(--safe-t);
  transition: background var(--d2) var(--ease), border-color var(--d2) var(--ease), backdrop-filter var(--d2) var(--ease);
  border-bottom: 1px solid transparent;
  view-transition-name: header;
}
.header.glass, body:not(.has-hero) .header {
  background: var(--glass-strong);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-bottom-color: var(--line);
}
.header-inner {
  max-width: 560px; margin: 0 auto; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter);
}
.logo { display: flex; align-items: center; gap: 10px; height: 34px; }
.logo img { height: 30px; width: auto; max-width: 150px; object-fit: contain; }
.round-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  cursor: pointer; transition: transform var(--d1) var(--ease), background var(--d1);
}
.round-btn:active { transform: scale(.92); }
.round-btn svg { width: 19px; height: 19px; }

.demo-banner {
  display: flex; gap: 8px; align-items: center;
  font-size: 11.5px; color: var(--ash); padding: 8px 12px; margin-bottom: 14px;
  border: 1px dashed var(--line-2); border-radius: var(--r-sm);
}
.demo-banner i { width: 6px; height: 6px; border-radius: 50%; background: var(--champagne); flex: none; }

/* ---------------------------------------------------------------- tab bar */
.tabbar {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(12px + var(--safe-b));
  width: calc(100% - 28px); max-width: 520px; height: var(--tab-h);
  z-index: 50; border-radius: 24px;
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid var(--line-2);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
  view-transition-name: tabbar;
}
.tabbar nav { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); height: 100%; padding: 6px; }
.tab-indicator {
  position: absolute; top: 6px; bottom: 6px; left: 6px;
  width: calc((100% - 12px) / 4);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(232, 201, 135, .16), rgba(232, 201, 135, .06));
  border: 1px solid rgba(232, 201, 135, .28);
  transition: transform 520ms var(--spring);
}
.tab {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--ash); font-size: 10.5px; font-weight: 600; letter-spacing: .02em;
  transition: color var(--d2) var(--ease);
}
.tab svg { width: 22px; height: 22px; transition: transform var(--d2) var(--spring); }
.tab.active { color: var(--champagne); }
.tab.active svg { transform: translateY(-1px) scale(1.06); }
.tab:active svg { transform: scale(.88); }
.badge {
  position: absolute; top: 5px; left: calc(50% + 7px);
  min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px;
  background: var(--ember); color: #1a0a03; font-size: 10px; font-weight: 800;
  display: grid; place-items: center;
  box-shadow: 0 0 12px var(--ember-glow);
}

/* ---------------------------------------------------------------- hero (Tonight) */
.hero {
  position: relative; overflow: hidden;
  height: min(86vh, 760px); min-height: 560px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) 30px;
  isolation: isolate;
}
.media-layer { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.media-layer video, .media-layer img.poster {
  position: absolute; inset: -4% 0; width: 100%; height: 108%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s var(--ease);
  will-change: transform;
}
.media-layer .ready { opacity: 1; }
.ambient { position: absolute; inset: 0; }
.ambient span {
  position: absolute; border-radius: 50%; filter: blur(50px); opacity: .7;
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(var(--dx, 30px), var(--dy, -20px), 0) scale(1.18); }
}
.scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9, 8, 11, .55) 0%, rgba(9, 8, 11, 0) 22%),
    linear-gradient(180deg, rgba(9, 8, 11, 0) 38%, rgba(9, 8, 11, .72) 72%, var(--ink) 100%);
}
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero-copy { position: relative; }
.hero .display { margin-top: 12px; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero-meta { margin-top: 14px; color: rgba(245, 239, 230, .78); font-size: 14px; }
.hero-meta .mono { color: var(--pearl); }
.hero-actions { display: flex; gap: 10px; margin-top: 22px; }
.hero-actions .btn { flex: 1; }

.live {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px 7px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  background: rgba(9, 8, 11, .5); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ash-2); }
.live.open i { background: var(--ember); box-shadow: 0 0 0 0 var(--ember-glow); animation: coal 2.2s ease-out infinite; }
.live.soon i { background: var(--champagne); }
@keyframes coal {
  0% { box-shadow: 0 0 0 0 var(--ember-glow); }
  70% { box-shadow: 0 0 0 9px rgba(255, 122, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 69, 0); }
}

/* Door strip: one hairline-divided band instead of three boxes */
.door {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.door > div { padding: 16px 0 15px; }
.door > div + div { border-left: 1px solid var(--line); padding-left: 16px; }
.door .v { font-family: var(--display); font-size: 26px; line-height: 1; margin-top: 8px; }
.door .s { font-size: 11.5px; color: var(--ash); margin-top: 6px; line-height: 1.35; }

.timer {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px; margin-top: 16px; border-radius: var(--r);
  background: radial-gradient(120% 140% at 100% 0%, rgba(255, 122, 69, .16), transparent 55%), var(--smoke);
  border: 1px solid var(--line);
}
.clock { font-family: var(--mono); font-size: 26px; color: var(--pearl); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* Happy hour: prices set big in the display face, like a bar chalkboard */
.hh {
  margin-top: 16px; padding: 18px; border-radius: var(--r);
  background: radial-gradient(120% 120% at 0% 0%, rgba(232, 201, 135, .12), transparent 55%), var(--smoke);
  border: 1px solid var(--line);
}
.deals { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 18px; }
.deal .p { display: block; font-family: var(--display); font-weight: 500; font-size: 34px; line-height: .95; color: var(--champagne); }
.deal .n { display: block; font-weight: 700; font-size: 13px; margin-top: 6px; }
.deal .d { display: block; font-size: 11px; color: var(--ash); margin-top: 3px; line-height: 1.4; }

/* Neon sign: the lounge's own script sign, rendered as glowing tube lettering */
.neon {
  font-family: "Yellowtail", "Brush Script MT", cursive;
  font-weight: 400; font-size: 27px; line-height: 1; white-space: nowrap;
  color: #fff1e6;
  text-shadow: 0 0 1px #fff, 0 0 5px #ffb08a, 0 0 12px #ff7a45, 0 0 26px rgba(255, 90, 50, .65);
}
.neon.big {
  font-size: clamp(58px, 17vw, 88px);
  text-shadow: 0 0 2px #fff, 0 0 8px #ffb08a, 0 0 20px #ff7a45, 0 0 44px #ff5a32, 0 0 90px rgba(255, 77, 46, .55);
}
.neon.flicker { animation: neon-on 1.9s linear .25s both; }
@keyframes neon-on {
  0% { opacity: 0; } 6% { opacity: .85; } 8% { opacity: .08; } 12% { opacity: .7; } 14% { opacity: .12; }
  20% { opacity: 1; } 58% { opacity: 1; } 60% { opacity: .55; } 62% { opacity: 1; } 100% { opacity: 1; }
}
.splash-logo { max-width: 120px; max-height: 120px; margin: 0 auto 26px; animation: mark-in 1.2s var(--ease) both; }

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-weight: 700; font-size: 15px; letter-spacing: -.005em; cursor: pointer;
  transition: transform var(--d1) var(--ease), background var(--d1), opacity var(--d1), border-color var(--d1);
}
.btn:active { transform: scale(.965); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.gold { background: var(--foil); background-size: 200% 100%; background-position: 20% 0; color: #1d1405; border-color: transparent; }
.btn.gold::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: sheen 5.5s var(--ease) 1.2s infinite;
}
@keyframes sheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn.quiet { background: transparent; border-color: transparent; backdrop-filter: none; color: var(--ash); }
.btn.danger { color: var(--danger); }
.btn.block { width: 100%; }
.btn.sm { min-height: 38px; padding: 0 15px; font-size: 13px; }
.btn:disabled { opacity: .4; pointer-events: none; }
.btn-row { display: flex; gap: 10px; }
.btn-row > * { flex: 1; }
.link { color: var(--champagne); font-weight: 600; }

/* ---------------------------------------------------------------- surfaces */
.card { background: var(--smoke); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.card + .card { margin-top: 12px; }
.card.tight { padding: 13px 15px; }
.row-link {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  transition: opacity var(--d1);
}
.row-link:active { opacity: .6; }
.row-link:last-child { border-bottom: 0; }
.row-link .ic {
  width: 42px; height: 42px; border-radius: 14px; flex: none;
  display: grid; place-items: center; background: var(--haze); color: var(--champagne);
}
.row-link .ic svg { width: 20px; height: 20px; }
.row-link .chev { color: var(--ash-2); }
.row-link .chev svg { width: 18px; height: 18px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); white-space: nowrap;
}
.pill svg { width: 13px; height: 13px; }
.pill.gold { color: var(--champagne); border-color: rgba(232, 201, 135, .35); background: rgba(232, 201, 135, .08); }
.pill.ember { color: var(--ember); border-color: rgba(255, 122, 69, .4); background: rgba(255, 122, 69, .08); }
button.pill { cursor: pointer; transition: all var(--d1) var(--ease); }
button.pill.on { background: var(--pearl); color: var(--ink); border-color: var(--pearl); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }

/* ---------------------------------------------------------------- posters (events) */
.rail {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 4px; scrollbar-width: none; scroll-padding: var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
.poster {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  border-radius: var(--r); background: var(--haze);
  scroll-snap-align: start; flex: none;
  transition: transform var(--d2) var(--ease);
}
.poster:active { transform: scale(.975); }
.rail .poster { width: 68%; aspect-ratio: 3 / 4; }
.poster.wide { width: 100%; aspect-ratio: 4 / 5; }
.poster + .poster.wide { margin-top: 14px; }
.poster .art { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.poster video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: 0; transition: opacity .8s var(--ease); }
.poster video.ready { opacity: 1; }
.poster::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(9, 8, 11, .1) 30%, rgba(9, 8, 11, .88) 100%);
}
.poster .top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: flex-start; }
.poster .date {
  text-align: center; line-height: 1; padding: 8px 10px 7px; border-radius: 14px;
  background: rgba(9, 8, 11, .55); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.poster .date b { display: block; font-family: var(--display); font-size: 24px; font-weight: 500; }
.poster .date small { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne); font-weight: 700; }
.poster .bottom { position: absolute; left: 16px; right: 16px; bottom: 16px; }
.poster .name { font-family: var(--display); font-style: italic; font-size: 30px; line-height: .95; letter-spacing: -.015em; margin-top: 6px; }
.poster.wide .name { font-size: 40px; }
.poster .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 12.5px; color: rgba(245, 239, 230, .75); }
.play-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 5px 9px; border-radius: 999px; background: rgba(9, 8, 11, .55); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.play-tag svg { width: 11px; height: 11px; }

/* Event detail */
.event-hero {
  position: relative; overflow: hidden; isolation: isolate;
  height: min(78vh, 700px); min-height: 520px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) 26px;
}
.event-hero .art { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; }
.event-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transition: opacity 1s var(--ease); }
.event-hero video.ready { opacity: 1; }
.sound-btn { position: absolute; right: var(--gutter); top: calc(var(--header-h) + var(--safe-t) + 10px); z-index: 2; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 22px; }
.facts > div { padding: 14px 0; }
.facts > div + div { border-left: 1px solid var(--line); padding-left: 14px; }
.facts .v { font-family: var(--mono); font-size: 16px; margin-top: 6px; }

/* ---------------------------------------------------------------- action bar (sticky CTA above tab bar) */
.action-bar {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--dock) + 10px);
  width: calc(100% - 28px); max-width: 520px; z-index: 45;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 22px;
  background: var(--glass-strong);
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--line-2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
  animation: rise var(--d3) var(--ease) both;
  view-transition-name: actionbar;
}
.action-bar .sum { flex: 1; min-width: 0; line-height: 1.25; }
.action-bar .sum .l { font-size: 11px; color: var(--ash); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.action-bar .sum .v { font-family: var(--mono); font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.action-bar .btn { min-height: 48px; }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------------------------------------------------------------- booking wizard */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 18px 0 8px; }
.steps button { border: 0; background: none; padding: 0; text-align: left; cursor: pointer; color: var(--ash-2); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.steps button::before { content: ""; display: block; height: 3px; border-radius: 3px; background: var(--line-2); margin-bottom: 8px; transition: background var(--d2) var(--ease); }
.steps button.done { color: var(--ash); }
.steps button.done::before { background: rgba(232, 201, 135, .45); }
.steps button.now { color: var(--pearl); }
.steps button.now::before { background: var(--champagne); }
.step-panel { animation: step-in var(--d3) var(--ease) both; }
.step-panel.back { animation-name: step-in-back; }
@keyframes step-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

.choice {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: var(--smoke); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px; position: relative;
  transition: border-color var(--d2) var(--ease), background var(--d2) var(--ease), transform var(--d1) var(--ease);
}
.choice + .choice { margin-top: 10px; }
.choice:active { transform: scale(.985); }
.choice.on {
  border-color: rgba(232, 201, 135, .7);
  background: radial-gradient(140% 120% at 0% 0%, rgba(232, 201, 135, .13), transparent 60%), var(--smoke);
}
.choice .tick {
  position: absolute; top: 16px; right: 16px; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--line-2); display: grid; place-items: center;
  transition: all var(--d2) var(--spring);
}
.choice .tick svg { width: 13px; height: 13px; opacity: 0; transform: scale(.4); transition: all var(--d2) var(--spring); color: #1d1405; }
.choice.on .tick { background: var(--champagne); border-color: var(--champagne); }
.choice.on .tick svg { opacity: 1; transform: none; }
.choice .nm { font-weight: 700; font-size: 16px; padding-right: 34px; }
.choice ul { margin: 10px 0 0; padding: 0; list-style: none; }
.choice li { font-size: 13px; color: var(--ash); padding: 3px 0 3px 16px; position: relative; }
.choice li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 5px; height: 1px; background: var(--champagne); }
.nights { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.night {
  border: 1px solid var(--line); background: var(--smoke); border-radius: 16px; padding: 12px 10px 11px; cursor: pointer; text-align: left;
  transition: all var(--d2) var(--ease);
}
.night:active { transform: scale(.96); }
.night b { display: block; font-family: var(--display); font-size: 26px; font-weight: 500; line-height: 1; margin: 4px 0 6px; }
.night .l { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ash); font-weight: 700; }
.night .e { font-size: 11px; color: var(--champagne); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.night.on { background: var(--pearl); color: var(--ink); border-color: var(--pearl); }
.night.on .l { color: #5d5663; }
.night.on .e { color: #8a6524; }
.step-panel.still { animation: none; }

/* Floor plan: the lounge's real layout. Sizes use the plan's width (cqw) so labels scale with the map. */
.legend { display: flex; gap: 12px; font-size: 11px; font-weight: 600; color: var(--ash); }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; border: 1px solid rgba(232, 201, 135, .45); background: var(--velvet); }
.legend i.on { background: var(--champagne); border-color: var(--champagne); }
.legend i.taken { background: repeating-linear-gradient(135deg, rgba(245, 239, 230, .3) 0 1.5px, transparent 1.5px 3.5px), var(--ink); border-color: var(--line-2); }
.plan-wrap {
  margin: 12px -12px 0; padding: 10px; border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: radial-gradient(80% 26% at 50% 0%, rgba(255, 122, 69, .12), transparent 75%), #0d0c10;
}
.plan {
  position: relative; aspect-ratio: 493 / 905; container-type: inline-size;
  background-image: radial-gradient(rgba(245, 239, 230, .07) 1px, transparent 1.3px);
  background-size: 4% 2.18%;
}
.plan-area {
  position: absolute; display: flex; align-items: center; justify-content: center; gap: 4px; text-align: center;
  font-size: 7px; font-size: 2.1cqw; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ash);
}
.plan-area.stage {
  border-radius: 3cqw; border: 1px dashed rgba(255, 122, 69, .38); color: rgba(255, 176, 138, .9);
  background: radial-gradient(70% 100% at 50% 0%, rgba(255, 122, 69, .2), transparent 75%);
}
.plan-area.booth { flex-direction: column; gap: 2px; border-radius: 1.6cqw; background: var(--haze); border: 1px solid var(--line-2); letter-spacing: .1em; }
.plan-area svg { width: 13px; height: 13px; width: 3.6cqw; height: 3.6cqw; color: var(--champagne); }
.tbl {
  position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0; overflow: hidden; cursor: pointer; line-height: 1;
  border-radius: 1.8cqw; border: 1px solid rgba(232, 201, 135, .34);
  background: linear-gradient(160deg, var(--velvet), var(--haze));
  color: var(--pearl);
  transition: transform var(--d1) var(--ease), background var(--d2) var(--ease), box-shadow var(--d2) var(--ease), border-color var(--d2);
}
.tbl.round { border-radius: 50%; }
.tbl small {
  max-width: 94%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 7px; font-size: 2.05cqw; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ash);
}
.tbl b { font-family: var(--display); font-weight: 500; font-size: 15px; font-size: 4.6cqw; margin-top: 2px; margin-top: .5cqw; }
.tbl b.long { font-style: italic; font-size: 11px; font-size: 3.4cqw; }
.tbl:active { transform: scale(.94); }
.tbl.on {
  z-index: 2; color: #1d1405; border-color: transparent;
  background: var(--foil); background-size: 200% 100%;
  box-shadow: 0 0 0 2px rgba(232, 201, 135, .3), 0 0 26px rgba(232, 201, 135, .5);
}
.tbl.on small { color: #5c4316; }
.tbl.taken, .tbl.off {
  cursor: not-allowed; color: var(--ash-2); border-color: var(--line);
  background: repeating-linear-gradient(135deg, rgba(245, 239, 230, .06) 0 3px, transparent 3px 7px), var(--ink);
}
.tbl.taken small, .tbl.off small { color: var(--ash-2); }
.tbl.mine { cursor: default; border-color: var(--ember); box-shadow: 0 0 16px rgba(255, 122, 69, .35); }
.tbl.taken:active, .tbl.off:active, .tbl.mine:active { transform: none; }
.ic-s { width: 16px; height: 16px; color: var(--champagne); flex: none; }

/* Payment methods */
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-grid .choice + .choice { margin-top: 0; }
.pay-grid .choice { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 14px 14px 15px; }
.pay-grid .choice .tick { top: 14px; right: 14px; }
.pay-grid .choice .nm { font-size: 14.5px; line-height: 1.25; margin-top: 12px; padding-right: 0; }
.pay-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--haze); color: var(--champagne); transition: background var(--d2); }
.pay-ic svg { width: 20px; height: 20px; }
.choice.on .pay-ic { background: rgba(232, 201, 135, .16); }
/* An odd one out (e.g. 3 methods) runs full width, icon beside the text */
.pay-grid .choice:last-child:nth-child(odd) {
  grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center;
}
.pay-grid .choice:last-child:nth-child(odd) .pay-ic { grid-row: span 2; }
.pay-grid .choice:last-child:nth-child(odd) .nm { margin-top: 0; padding-right: 34px; }

/* ---------------------------------------------------------------- forms */
.field { display: block; }
.field > span { display: block; font-size: 12px; color: var(--ash); margin-bottom: 7px; font-weight: 600; }
.input {
  width: 100%; min-width: 0; padding: 14px 15px; border-radius: 14px;
  background: var(--smoke); border: 1px solid var(--line-2); outline: none;
  transition: border-color var(--d1), background var(--d1);
}
.input:focus { border-color: var(--champagne); background: var(--haze); }
textarea.input { min-height: 88px; resize: vertical; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%239c95a3' stroke-width='1.6' fill='none'/></svg>"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 36px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--champagne); flex: none; margin: 1px 0 0; }
.stepper { display: flex; align-items: center; gap: 4px; background: var(--haze); border-radius: 999px; padding: 4px; }
.stepper button {
  width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; font-size: 18px;
  display: grid; place-items: center; transition: background var(--d1);
}
.stepper button:active { background: rgba(255, 255, 255, .1); }
.stepper .n { min-width: 22px; text-align: center; font-family: var(--mono); }
.segmented { display: flex; background: var(--smoke); border: 1px solid var(--line); border-radius: 999px; padding: 4px; position: relative; }
.segmented button {
  flex: 1; border: 0; background: transparent; padding: 10px 8px; border-radius: 999px; cursor: pointer;
  font-weight: 700; font-size: 13px; color: var(--ash); position: relative; z-index: 1; transition: color var(--d2);
}
.segmented button.on { color: var(--ink); }
.segmented .thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--pearl);
  transition: transform 480ms var(--spring);
}
.segmented[data-i="1"] .thumb { transform: translateX(100%); }
.note {
  display: flex; gap: 12px; padding: 14px 16px; border-radius: 16px; font-size: 13px; color: var(--ash); line-height: 1.5;
  background: var(--smoke); border: 1px solid var(--line);
}
.note svg { width: 18px; height: 18px; flex: none; color: var(--champagne); margin-top: 1px; }
.note b { color: var(--pearl); }
.summary { width: 100%; border-collapse: collapse; font-size: 14px; }
.summary td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.summary tr:last-child td { border-bottom: 0; }
.summary td:last-child { text-align: right; font-family: var(--mono); }

/* ---------------------------------------------------------------- menu */
.menu-cats { position: sticky; top: calc(var(--header-h) + var(--safe-t)); z-index: 20; padding: 10px 0; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); background: linear-gradient(var(--ink) 75%, rgba(9, 8, 11, 0)); }
.dish { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dish:last-child { border-bottom: 0; }
.dish .nm { font-weight: 700; }
.dish .ds { font-size: 13px; color: var(--ash); margin-top: 2px; }
.dish .price { font-size: 13px; margin-top: 6px; display: block; }
.add-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05);
  display: grid; place-items: center; cursor: pointer; flex: none; transition: transform var(--d1) var(--spring), background var(--d1);
}
.add-btn:active { transform: scale(.85); }
.add-btn svg { width: 17px; height: 17px; }
.pop { animation: pop 420ms var(--spring); }
@keyframes pop { 0% { transform: scale(.7); } 100% { transform: scale(1); } }

/* ---------------------------------------------------------------- passes */
.pass {
  position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  background: radial-gradient(140% 90% at 100% 0%, rgba(232, 201, 135, .18), transparent 55%), linear-gradient(160deg, var(--velvet), var(--smoke) 70%);
  border: 1px solid rgba(232, 201, 135, .3);
}
.pass + .pass { margin-top: 16px; }
.pass .top { padding: 20px 20px 18px; }
.pass .cut { position: relative; height: 1px; margin: 0 18px; background-image: linear-gradient(90deg, rgba(232, 201, 135, .4) 50%, transparent 50%); background-size: 10px 1px; }
.pass .cut::before, .pass .cut::after { content: ""; position: absolute; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 1px solid rgba(232, 201, 135, .3); }
.pass .cut::before { left: -30px; } .pass .cut::after { right: -30px; }
.pass .bottom { padding: 18px 20px 20px; text-align: center; }
.pass .code { font-family: var(--mono); font-size: 26px; letter-spacing: .32em; margin-right: -.32em; color: var(--champagne); }
.qr { background: #fff; border-radius: 16px; padding: 10px; width: 176px; margin: 4px auto 14px; }
.qr svg { display: block; width: 100%; height: auto; }
.big-num { font-family: var(--display); font-style: italic; font-size: 96px; line-height: .9; font-weight: 500; }
.meter { height: 4px; background: var(--haze); border-radius: 4px; overflow: hidden; }
.meter > div { height: 100%; background: var(--foil); border-radius: 4px; transform-origin: left; animation: grow 1.2s var(--ease) .2s both; }
@keyframes grow { from { transform: scaleX(0); } }

/* ---------------------------------------------------------------- info */
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; font-family: var(--mono); font-size: 14px; }
.hours tr.today td { color: var(--champagne); }
.map { width: 100%; height: 230px; border: 0; border-radius: var(--r); display: block; filter: invert(.92) hue-rotate(180deg) saturate(.4) brightness(.9); background: var(--smoke); }
ul.dots { margin: 0; padding: 0; list-style: none; }
ul.dots li { padding: 7px 0 7px 18px; position: relative; color: var(--ash); font-size: 14px; }
ul.dots li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 6px; height: 1px; background: var(--champagne); }

/* ---------------------------------------------------------------- admin */
.admin-sec { margin-top: 10px; }
.admin-sec > summary {
  cursor: pointer; list-style: none; padding: 16px 18px; border-radius: var(--r);
  background: var(--smoke); border: 1px solid var(--line); font-weight: 700;
  display: flex; justify-content: space-between; align-items: center;
}
.admin-sec > summary::-webkit-details-marker { display: none; }
.admin-sec > summary svg { width: 18px; height: 18px; color: var(--ash); transition: transform var(--d2) var(--ease); }
.admin-sec[open] > summary svg { transform: rotate(90deg); }
.admin-sec[open] > summary { border-radius: var(--r) var(--r) 0 0; }
.admin-body { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r) var(--r); padding: 16px 18px; background: #0e0d11; }
.admin-body .field { margin-bottom: 12px; }
.admin-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 6px; align-items: center; margin-bottom: 8px; }
.admin-row .input { padding: 10px 6px; font-size: 13px; }
.admin-tbl { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 62px 40px; gap: 6px; align-items: center; margin-bottom: 8px; }
.admin-tbl .input { padding: 10px 8px; font-size: 13px; }
.admin-tbl select.input { padding-right: 26px; background-position: right 9px center; }
.warn { font-size: 9.5px; font-weight: 800; letter-spacing: .1em; color: #1d1405; background: var(--champagne); border-radius: 6px; padding: 2px 6px; margin-left: 8px; vertical-align: 2px; }
/* Door scanner */
.scan-box { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: #000; }
.scan-box video { width: 100%; height: 100%; object-fit: cover; }
.scan-frame { position: absolute; inset: 16%; border: 2px solid var(--champagne); border-radius: 18px; box-shadow: 0 0 0 999px rgba(9, 8, 11, .38); pointer-events: none; }
.scan-hit { border-color: rgba(232, 201, 135, .55); }
.scan-miss { border-color: rgba(255, 107, 107, .5); }
.sub { background: var(--smoke); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-bottom: 10px; }

/* ---------------------------------------------------------------- sheet / toast */
.scrim-full {
  position: fixed; inset: 0; z-index: 90; background: rgba(4, 3, 6, .6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: fade-in var(--d2) var(--ease) both;
}
.scrim-full.closing { animation: fade-out var(--d2) var(--ease) both; }
.sheet {
  position: fixed; left: 50%; bottom: 0; z-index: 91;
  width: 100%; max-width: 560px; max-height: 90vh; overflow: auto; overscroll-behavior: contain;
  background: var(--smoke); border: 1px solid var(--line-2); border-bottom: 0;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 10px var(--gutter) calc(24px + var(--safe-b));
  transform: translate(-50%, 0);
  animation: sheet-in 560ms var(--ease) both;
  touch-action: pan-y;
}
.sheet.closing { transition: transform 320ms var(--ease); transform: translate(-50%, 105%) !important; }
.sheet .grab-zone { touch-action: none; cursor: grab; margin: -10px calc(var(--gutter) * -1) 4px; padding: 12px 0 14px; }
.sheet .grab { width: 42px; height: 5px; border-radius: 3px; background: var(--line-2); margin: 0 auto; }
@keyframes sheet-in { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.toast {
  position: fixed; left: 50%; z-index: 120;
  bottom: calc(var(--dock) + 16px);
  display: flex; align-items: center; gap: 10px;
  max-width: calc(100% - 40px); padding: 12px 18px 12px 14px; border-radius: 999px;
  background: var(--pearl); color: var(--ink); font-weight: 700; font-size: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
  animation: toast-in 520ms var(--spring) both;
}
.toast svg { width: 18px; height: 18px; color: #8a6524; flex: none; }
.toast.out { animation: toast-out 260ms var(--ease) both; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 20px) scale(.9); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes toast-out { to { opacity: 0; transform: translate(-50%, 10px) scale(.96); } }

/* ---------------------------------------------------------------- splash / intro */
.splash {
  position: fixed; inset: 0; z-index: 200; background: var(--ink);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  transition: opacity 900ms var(--ease), transform 1100ms var(--ease);
}
.splash.out { opacity: 0; transform: scale(1.06); pointer-events: none; }
.splash video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 700ms var(--ease); }
.splash video.ready { opacity: 1; }
.splash .scrim { z-index: 0; background: radial-gradient(80% 60% at 50% 50%, rgba(9, 8, 11, 0), rgba(9, 8, 11, .7)); }
.splash-mark { position: relative; z-index: 1; text-align: center; padding: 0 32px; }
@keyframes mark-in { from { opacity: 0; transform: translateY(10px) scale(.96); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.splash .skip { position: absolute; z-index: 2; right: 18px; top: calc(14px + var(--safe-t)); font-size: 12px; color: rgba(245, 239, 230, .7); background: rgba(9, 8, 11, .4); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 13px; cursor: pointer; }
.age { position: relative; z-index: 1; width: 100%; max-width: 360px; padding: 0 28px; text-align: center; animation: mark-in 900ms var(--ease) both; }
.age .display { font-size: 58px; }
.age p { color: var(--ash); margin: 14px 0 26px; }

/* ---------------------------------------------------------------- reveal + page transitions */
.rv { opacity: 0; transform: translateY(18px); }
.rv.in { opacity: 1; transform: none; transition: opacity 800ms var(--ease) var(--delay, 0ms), transform 900ms var(--ease) var(--delay, 0ms); }
.view-enter { animation: view-in 520ms var(--ease) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(10px); } }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: 460ms; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
::view-transition-old(root) { animation-name: vt-fade-out; }
::view-transition-new(root) { animation-name: vt-fade-in; }
html[data-nav="forward"]::view-transition-old(root) { animation-name: vt-out-left; }
html[data-nav="forward"]::view-transition-new(root) { animation-name: vt-in-right; }
html[data-nav="back"]::view-transition-old(root) { animation-name: vt-out-right; }
html[data-nav="back"]::view-transition-new(root) { animation-name: vt-in-left; }
::view-transition-group(header), ::view-transition-group(tabbar) { animation: none; }
::view-transition-old(actionbar) { animation: vt-fade-out 200ms both; }
::view-transition-new(actionbar) { animation: vt-fade-in 360ms 80ms both; }
::view-transition-group(poster) { animation-duration: 560ms; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
::view-transition-old(poster), ::view-transition-new(poster) { height: 100%; object-fit: cover; }
@keyframes vt-fade-out { to { opacity: 0; transform: scale(.985); } }
@keyframes vt-fade-in { from { opacity: 0; transform: scale(1.015); } }
@keyframes vt-out-left { to { opacity: 0; transform: translateX(-12%); } }
@keyframes vt-in-right { from { opacity: 0; transform: translateX(18%); } }
@keyframes vt-out-right { to { opacity: 0; transform: translateX(18%); } }
@keyframes vt-in-left { from { opacity: 0; transform: translateX(-12%); } }

.empty { text-align: center; padding: 44px 16px; color: var(--ash); }
.empty .ic { width: 58px; height: 58px; border-radius: 50%; background: var(--smoke); border: 1px solid var(--line); display: grid; place-items: center; margin: 0 auto 14px; color: var(--champagne); }
.empty .ic svg { width: 24px; height: 24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
@media (min-width: 600px) {
  .rail .poster { width: 44%; }
}

/* ---------------------------------------------------------------- tablets & computers
   Phones keep the app layout above. Wider screens get more room, a top menu
   instead of the bottom tab bar, and readable column widths. */
@media (min-width: 600px) {
  .app, .header-inner { max-width: 760px; }
  .poster-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .poster-grid .poster + .poster.wide { margin-top: 0; }
  .poster.wide .name { font-size: 32px; }
}
@media (min-width: 960px) {
  :root { --gutter: 32px; --dock: 0px; --header-h: 72px; }
  .app, .header-inner { max-width: 1160px; }
  /* Menu sits in the header, centred between the logo and the info button */
  .tabbar {
    top: calc(var(--safe-t) + 12px); bottom: auto;
    width: 460px; height: 48px; border-radius: 16px; box-shadow: none;
  }
  .tabbar nav { padding: 4px; }
  .tab-indicator { top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 4); border-radius: 12px; }
  .tab { flex-direction: row; gap: 8px; font-size: 13.5px; }
  .tab svg { width: 18px; height: 18px; }
  .badge { top: 4px; left: auto; right: 10px; }
  main { padding-bottom: 80px; }
  body.has-bar main { padding-bottom: 140px; }
  .action-bar { bottom: 20px; max-width: 640px; }
  .toast { bottom: 110px; }
  /* Forms and lists read best in a column; the Tonight and Events pages use the full width */
  body:not(.has-hero):not([data-route="events"]) main > :not(.poster-grid):not(.rail) { max-width: 760px; margin-left: auto; margin-right: auto; }
  body:not(.has-hero) main > .poster-grid { max-width: none; }
  .poster-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { height: min(78vh, 720px); padding-bottom: 44px; }
  .hero .display, .event-hero .display { font-size: clamp(64px, 7vw, 104px); }
  .hero-actions { max-width: 440px; }
  .rail .poster { width: 30%; }
  .door, .hh, .timer { max-width: 760px; }
  .plan-wrap { max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 359px) {
  :root { --gutter: 14px; }
  .title { font-size: 32px; }
  .pay-grid { grid-template-columns: 1fr; }
  .pay-grid .choice:last-child:nth-child(odd) { grid-column: auto; }
}

/* Payment box: the amount and where to send it, impossible to miss */
.paybox {
  margin-top: 16px; padding: 18px; border-radius: var(--r); text-align: left;
  border: 1.5px solid var(--champagne);
  background: radial-gradient(120% 120% at 0% 0%, rgba(232, 201, 135, .16), transparent 60%), var(--smoke);
  box-shadow: 0 0 30px rgba(232, 201, 135, .12);
}
.paybox-amt { font-family: var(--display); font-size: 46px; line-height: 1; color: var(--champagne); margin: 8px 0 12px; }
.paybox-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.paybox-row .k { width: 44px; flex: none; font-size: 12px; color: var(--ash); font-weight: 700; }
.paybox-row .v { flex: 1; min-width: 0; font-size: 15px; color: var(--pearl); overflow-wrap: anywhere; }
