/* T10 Board — "the departures board".
   Graphite ground, pale ink, lime as an accent only (status text, the live dot, thin rules, one
   solid button). Chivo Mono for figures, labels, statuses and prices; Chivo for prose. Radius 6.
   Motion is the board's: a cell flips over once, like a split-flap. Panels are solid colours. */
:root {
  --bg: #0C0F12;
  --bg-2: #1C2329;               /* raised cells, tiles, hovered rows */
  --bg-card: #151A1F;            /* panels */
  --ink: #EEF1F2;
  --ink-soft: #CBD3D8;
  --ink-muted: #A9B4BC;
  --ink-dim: #8A96A0;            /* sold out: still 5:1 on the panels */
  --line: #252D34;
  --line-bright: #3A454E;
  --tile: #242D35;                /* split-flap tiles on the board */

  --brand: #C6F135;              /* tenant colour overrides this via brand-tokens.js */
  --brand-ink: #0C0F12;
  --brand-readable: #C6F135;
  --brand-on-dark: #C6F135;
  --wa: #0F7A40;                 /* white on this is 5.4:1 */
  --wa-ink: #FFFFFF;

  --font-display: "Chivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Chivo", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Chivo Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --r: 6px; --r-sm: 4px;
  --hd-h: 60px;
  --dock-h: 0px;
  --pad: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; scroll-padding-top: var(--hd-h); background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; padding-bottom: var(--dock-h); }
body.wsf-locked { overflow: hidden; }
img, video { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand-readable); outline-offset: 2px; border-radius: var(--r-sm); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; clip-path: inset(50%); }
.skip:focus { clip-path: none; inset-inline-start: 12px; top: 12px; z-index: 99; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r); }
body.rtl-text :is(h1, h2, h3, h4, p, li, span, b, td, dt, dd, blockquote, button, a) { unicode-bidi: plaintext; }
/* Urdu and Punjabi: a monospace fallback breaks the joins between letters, so labels take the text face. */
body.rtl-text { --font-mono: var(--font-body); }
body.no-wa :is(.btn-wa, .mini-wa, .dock-go) { display: none; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: var(--pad); }
.stack { display: grid; gap: clamp(32px, 6vh, 56px); }
.block { display: grid; gap: 16px; min-width: 0; }
.lede { color: var(--ink-soft); max-width: 58ch; }
.lbl { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-muted); }
.pr { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }

/* ── Snap sections: a screen each, taller when the content needs it ── */
.snap { min-height: calc(100svh - var(--hd-h) - var(--dock-h)); scroll-snap-align: start; display: grid; align-content: center;
  padding-block: clamp(36px, 7vh, 80px); border-top: 1px solid var(--line); }
.snap.hero { border-top: 0; padding-block: clamp(18px, 4vh, 44px); }
.snap.menu-sec { align-content: start; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; }
.sec-note { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-muted); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 10px 20px;
  border-radius: var(--r); border: 0; font-family: var(--font-display); font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: transform .12s ease, background-color .15s ease, border-color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: #128A49; }
.btn-brand { background: var(--brand); color: var(--brand-ink); }
.btn-line { background: var(--bg); color: var(--ink); border: 1px solid var(--line-bright); }
.btn-line:hover { border-color: var(--ink-muted); }
.btn.wide { width: 100%; }
.link { background: none; border: 0; min-height: 44px; padding: 8px 12px; color: var(--ink-muted); text-decoration: underline; font-size: .9rem; }
.mini-wa { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border-radius: var(--r);
  background: var(--wa); color: var(--wa-ink); font-weight: 600; font-size: .88rem; text-decoration: none; }
.mini-wa svg { width: 17px; height: 17px; }

/* ── Header ── */
.hd { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.hd-in { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); min-height: var(--hd-h); display: flex; align-items: center; gap: 8px 20px; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who img { width: 34px; height: 34px; border-radius: var(--r-sm); object-fit: contain; background: var(--ink); padding: 2px; }
.who b { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; white-space: nowrap; }
.nav { display: flex; gap: 2px; margin-inline: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px; border-radius: var(--r-sm);
  font-family: var(--font-mono); font-size: .82rem; color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--bg-2); }
.lang { display: flex; gap: 2px; }
.lang button { min-height: 40px; min-width: 44px; padding: 4px 10px; border: 1px solid transparent; border-radius: var(--r-sm); background: var(--bg);
  font-size: .86rem; color: var(--ink-muted); }
.lang button[aria-pressed="true"] { color: var(--ink); border-color: var(--line-bright); }
.hd-wa { min-height: 40px; padding: 6px 14px; font-size: .92rem; }
@media (max-width: 899px) {
  :root { --hd-h: 0px; --dock-h: 68px; }
  .hd { position: static; }
  .hd-in { flex-wrap: wrap; padding-block: 8px 0; gap: 4px 12px; }
  .who { margin-inline-end: auto; }
  .nav { order: 3; width: calc(100% + 2 * var(--pad)); margin: 0 calc(var(--pad) * -1); padding-inline: calc(var(--pad) - 10px); overflow-x: auto; scrollbar-width: none;
    border-top: 1px solid var(--line); }
  .nav::-webkit-scrollbar { display: none; }
  .hd-wa { display: none; }               /* the dock carries WhatsApp on a phone */
  .hd { scroll-snap-align: start; }       /* the header and the board are one screen */
  .snap.hero { scroll-snap-align: none; }
}

/* ── 1. The live board ── */
.hero-grid { display: grid; gap: clamp(22px, 4vh, 40px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 4vw, 64px); } }
.brd { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; min-width: 0; }
.brd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: .8rem; color: var(--ink-soft); }
.live { display: inline-flex; align-items: center; gap: 9px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.clock { display: inline-flex; gap: 12px; font-variant-numeric: tabular-nums; }
.clock time { color: var(--ink); }
.brd-rows { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.brd-row { display: grid; gap: 5px; align-content: start; padding: 12px 16px; border-bottom: 1px solid var(--line); min-width: 0; }
.brd-row:not(.wide):nth-child(odd of :not(.wide)) { border-inline-end: 1px solid var(--line); }
.brd-row.wide { grid-column: 1 / -1; }
.brd-row dt { font-family: var(--font-mono); font-size: .76rem; color: var(--ink-muted); }
.brd-row dd { margin: 0; min-width: 0; }
.brd-row .note { font-size: .82rem; color: var(--ink-muted); line-height: 1.35; }
.tiles { display: flex; flex-wrap: wrap; gap: 2px; font-family: var(--font-mono); font-weight: 500; font-size: clamp(1.1rem, 4.4vw, 1.5rem); line-height: 1; perspective: 400px; }
.tl { position: relative; display: grid; place-items: center; width: 1.02em; height: 1.5em; background: var(--tile); border-radius: 3px; color: var(--ink);
  animation: flap .5s cubic-bezier(.3, .7, .3, 1) both; animation-delay: calc(var(--r, 0) * 90ms + var(--i, 0) * 28ms + 150ms); transform-origin: 50% 50%; backface-visibility: hidden; }
.tl::after { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 1px; background: var(--bg-card); }
.tiles .sp { width: .5em; }
.brd-row.on .tl { color: var(--brand-readable); }
.brd-row.dim .plain { color: var(--ink-soft); }
.plain { font-family: var(--font-mono); font-weight: 500; font-size: 1.02rem; line-height: 1.35; display: block; overflow-wrap: anywhere; }
@keyframes flap { 0% { transform: rotateX(-88deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: rotateX(0); } }
@media (min-width: 900px) {
  .brd-rows { grid-template-columns: 1fr; }
  .brd-row, .brd-row.wide { grid-column: 1; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 16px; padding: clamp(14px, 2.2vh, 22px) 22px; border-inline-end: 0 !important; }
  .brd-row dt { font-size: .82rem; }
  .brd-row .note { text-align: end; font-family: var(--font-mono); font-size: .76rem; }
  .brd-head { padding: 12px 20px; font-size: .84rem; }
  .tiles { font-size: clamp(1.4rem, 2.3vw, 2.05rem); gap: 3px; }
  .tiles { flex-wrap: nowrap; }
}
/* the line along the foot of the board */
.ticker { overflow: hidden; background: var(--bg); border-top: 1px solid var(--line); margin-top: -1px; }
.ticker-track { display: flex; width: max-content; animation: drift 70s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.tk-run { display: flex; }
.tk { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 18px 6px 12px; border: 0; border-inline-end: 1px solid var(--line); background: var(--bg);
  font-family: var(--font-mono); font-size: .82rem; white-space: nowrap; color: var(--ink-soft); }
button.tk:hover { background: var(--bg-2); color: var(--ink); }
.tk .th { width: 36px; height: 36px; }
.tk-p { color: var(--ink-muted); }
@keyframes drift { to { transform: translateX(-50%); } }

.pitch { display: grid; gap: 16px; justify-items: start; min-width: 0; }
.pitch h1 { font-size: clamp(1.85rem, 4.1vw, 3.1rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
.pitch .lede { font-size: 1.05rem; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.statusline { position: relative; padding-inline-start: 18px; font-family: var(--font-mono); font-size: .82rem; line-height: 1.55; color: var(--ink-muted); max-width: 52ch; }
.statusline::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.facts li { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-soft); border: 1px solid var(--line-bright); border-radius: var(--r-sm); padding: 4px 9px; }
.facts .mark { color: var(--brand-readable); border-color: var(--brand); }

/* ── Thumbnails: a light two-tone tint, lifted on hover; the dish sheet shows true colour ── */
.th { position: relative; flex: none; width: 56px; height: 56px; border-radius: var(--r-sm); overflow: hidden; background: var(--bg-2); display: grid; place-items: center; }
.th img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5) contrast(1.08) brightness(.97); transition: filter .25s ease; }
.th:has(img)::after { content: ""; position: absolute; inset: 0; background: var(--brand); mix-blend-mode: soft-light; opacity: .4; transition: opacity .25s ease; pointer-events: none; }
:is(.row, .tk, .pick-row):hover .th img { filter: none; }
:is(.row, .tk, .pick-row):hover .th::after { opacity: 0; }
.noimg { font-family: var(--font-mono); font-weight: 500; font-size: 1.3rem; color: var(--brand-readable); }
.th.big { width: 84px; height: 84px; }

/* ── Status cells ── */
.st { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-family: var(--font-mono); font-size: .76rem; perspective: 300px; }
.flag { font-weight: 500; color: var(--brand-readable); display: inline-block; transform-origin: 50% 50%; }
.flag.out { color: var(--ink-dim); }
.tg { color: var(--ink-muted); display: inline-flex; align-items: center; gap: 5px; }
.pips { display: inline-flex; gap: 2px; }
.pips i { width: 4px; height: 10px; border-radius: 1px; background: var(--line-bright); }
.pips i.on { background: var(--ink-muted); }
@keyframes cellflip { 0% { transform: rotateX(0); } 45% { transform: rotateX(90deg); opacity: .2; } 55% { transform: rotateX(-90deg); opacity: .2; } 100% { transform: rotateX(0); } }
.row:hover .flag, .row:focus-within .flag, .sig:hover .flag { animation: cellflip .42s ease-in-out 1; }
.flip .row .flag { animation: cellflip .42s ease-in-out 1 both; animation-delay: calc(var(--i, 0) * 22ms); }

/* ── Add ── */
.add { flex: none; width: 44px; height: 44px; border-radius: var(--r); border: 1px solid var(--line-bright); background: var(--bg-card); color: var(--brand-readable);
  font-family: var(--font-mono); font-size: 1.35rem; font-weight: 400; line-height: 1; display: grid; place-items: center;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .12s ease; }
button.add:hover { border-color: var(--brand); }
button.add:active { transform: scale(.94); }
.add.ok { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); font-size: 0; }
.add.ok::after { content: "✓"; font-size: 1.15rem; }
.add.off { border-style: dashed; color: var(--ink-dim); font-size: 1rem; }

/* ── 2. Most ordered ── */
.rail { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line-bright) var(--bg); }
.sig { flex: none; width: min(78vw, 292px); scroll-snap-align: start; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  display: grid; grid-template-rows: auto 1fr; transition: border-color .15s ease; }
.sig:hover { border-color: var(--line-bright); }
.sig .ph { border: 0; background: var(--bg-2); padding: 0; aspect-ratio: 4 / 3; overflow: hidden; display: grid; place-items: center; }
.sig .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sig:hover .ph img { transform: scale(1.04); }
.sig .ph .noimg { font-size: 3rem; }
.sig-body { padding: 14px; display: grid; gap: 8px; align-content: start; grid-template-rows: auto 1fr auto auto; }
.sig h3 { font-size: 1.08rem; }
.d { color: var(--ink-muted); font-size: .9rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sig .d { -webkit-line-clamp: 3; }
.buy { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.buy .pr { margin-inline-end: auto; font-size: 1rem; }
.sold .ph img { filter: grayscale(1) brightness(.7); }

/* the week's timetable */
.timetable { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-card); }
.timetable li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.timetable li:last-child { border-bottom: 0; }
.timetable li.today { box-shadow: inset 3px 0 0 var(--brand); }
.tt-day { grid-column: 1 / -1; font-family: var(--font-mono); font-size: .78rem; color: var(--ink-muted); }
.today .tt-day { color: var(--brand-readable); }
.tt-what { grid-column: 1 / -1; display: grid; gap: 2px; }
.tt-what h3 { font-size: 1.05rem; }
.tt-what p { color: var(--ink-muted); font-size: .9rem; }
@media (min-width: 760px) {
  .timetable li { grid-template-columns: 170px minmax(0, 1fr) auto auto; }
  .tt-day, .tt-what { grid-column: auto; }
}

/* can't decide */
.decide { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(16px, 3vw, 24px); }
.decide-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .decide-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 32px; } }
.asks { display: grid; gap: 10px; }
.ask { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ask > .lbl { width: 100%; }
@media (min-width: 560px) { .ask > .lbl { width: 96px; } }
.ask button, .chips button, .party button { min-height: 42px; padding: 6px 14px; border-radius: var(--r); border: 1px solid var(--line-bright); background: var(--bg-card);
  font-family: var(--font-mono); font-size: .82rem; color: var(--ink-soft); white-space: nowrap; transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
:is(.ask, .chips, .party) button:hover { border-color: var(--ink-muted); color: var(--ink); }
:is(.ask, .chips, .party) button[aria-pressed="true"] { border-color: var(--brand); color: var(--brand-readable); background: var(--bg-2); }
.pick-hint { min-height: 84px; display: grid; align-items: center; padding: 14px 16px; border: 1px dashed var(--line-bright); border-radius: var(--r); font-family: var(--font-mono); font-size: .82rem; color: var(--ink-muted); }
.pick-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; animation: rowin .3s ease both; }
.pick-row .what { display: grid; gap: 4px; }
.pick-row h3 button, .row h4 button { all: unset; display: block; width: 100%; min-height: 40px; padding-block: 8px; box-sizing: border-box; display: flex; align-items: center; cursor: pointer; font: inherit; color: inherit; overflow-wrap: anywhere; }
.pick-row h3 button:focus-visible, .row h4 button:focus-visible { outline: 2px solid var(--brand-readable); outline-offset: 2px; border-radius: var(--r-sm); }
.pick-row h3 { font-size: 1.1rem; }
.why { font-family: var(--font-mono); font-size: .76rem; color: var(--ink-muted); }
@keyframes rowin { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 520px) { .pick-row { grid-template-columns: auto minmax(0, 1fr) auto; } .pick-row .th.big { width: 56px; height: 56px; } .pick-row .pr { grid-column: 2; } .pick-row .add { grid-column: 3; grid-row: 1 / span 2; } }

/* ── 3. The menu board ── */
.menu-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1040px) { .menu-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; } }
.menu { display: grid; gap: 14px; min-width: 0; }
.tools { position: sticky; top: var(--hd-h); z-index: 20; background: var(--bg); padding-block: 10px; display: grid; gap: 8px; border-bottom: 1px solid var(--line);
  margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
.search input { width: 100%; min-height: 44px; border-radius: var(--r); border: 1px solid var(--line-bright); background: var(--bg-card); padding: 8px 14px;
  font-family: var(--font-mono); font-size: .9rem; color: var(--ink); }
.search input::placeholder { color: var(--ink-muted); }
.search input:focus-visible { outline: 2px solid var(--brand-readable); outline-offset: 1px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; align-items: center; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; display: inline-flex; align-items: center; gap: 7px; }
.chips small { font-size: .72rem; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.chips .rule { flex: none; width: 1px; height: 24px; background: var(--line-bright); margin-inline: 4px; }
@media (min-width: 1040px) { .tools { margin-inline: 0; padding-inline: 0; } .chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }
.rows-wrap { display: grid; gap: 22px; }
.cat { display: grid; }
.cat-head { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: baseline; gap: 10px; padding: 10px 0 8px; border-bottom: 1px solid var(--line-bright); }
.cat-head h3 { font-family: var(--font-mono); font-weight: 500; font-size: .95rem; letter-spacing: 0; color: var(--ink); }
.cat-n { font-family: var(--font-mono); font-size: .76rem; color: var(--ink-muted); }
.cat-head .col { font-family: var(--font-mono); font-size: .72rem; color: var(--ink-muted); display: none; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto 44px; grid-template-areas: "th what pr add" "th st st add"; gap: 2px 12px; align-items: start;
  padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: background-color .15s ease; }
.row > .th { grid-area: th; margin-top: 2px; }
.row > .what { grid-area: what; min-width: 0; }
.row > .st { grid-area: st; }
.row > .pr { grid-area: pr; align-self: start; padding-top: 10px; font-size: .95rem; }
.row > .add { grid-area: add; align-self: center; }
.row h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.25; }
.row .d { margin-top: -6px; margin-bottom: 6px; font-size: .88rem; }
.row.sold h4, .row.sold .pr { color: var(--ink-dim); }
.row.sold .th img { filter: grayscale(1) brightness(.7); }
.row.lit { background: var(--bg-2); }
@media (hover: hover) { .row:hover { background: var(--bg-card); } }
@media (min-width: 700px) {
  .cat-head { grid-template-columns: auto auto minmax(0, 1fr) 190px 76px 44px; gap: 14px; padding-inline: 10px; }
  .cat-head .col { display: block; }
  .cat-head .c-pr { text-align: end; grid-column: 5; }
  .cat-head .c-st { grid-column: 4; }
  .row { grid-template-columns: 56px minmax(0, 1fr) 190px 76px 44px; grid-template-areas: "th what st pr add"; gap: 14px; align-items: center; padding: 8px 10px; }
  .row > .pr { padding-top: 0; text-align: end; align-self: center; }
  .row > .th { margin-top: 0; }
  .row .d { margin-bottom: 4px; }
}
.noresult { font-family: var(--font-mono); font-size: .9rem; color: var(--ink-muted); padding: 28px 0; border-bottom: 1px solid var(--line); }

/* ── The order: a ticket beside the board ── */
.ticket { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 14px; align-content: start; scroll-margin-top: 12px; }
.ticket h2 { font-size: 1.35rem; }
@media (min-width: 1040px) { .ticket { position: sticky; top: calc(var(--hd-h) + 16px); max-height: calc(100vh - var(--hd-h) - 32px); overflow: auto; scrollbar-width: thin; scrollbar-color: var(--line-bright) var(--bg-card); } }
.t-intro { color: var(--ink-muted); font-size: .9rem; }
.ticket.has .t-intro { display: none; }
.field { display: grid; gap: 6px; }
.party { display: flex; gap: 6px; flex-wrap: wrap; }
.party button { min-width: 44px; padding: 6px 8px; font-variant-numeric: tabular-nums; }
.budget { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.budget input { grid-column: 1; width: 100%; accent-color: var(--brand); min-height: 32px; }
.budget b { grid-row: 1 / span 2; grid-column: 2; font-family: var(--font-mono); font-weight: 500; font-size: 1.15rem; }
.empty { color: var(--ink-muted); font-size: .9rem; border: 1px dashed var(--line-bright); border-radius: var(--r); padding: 14px; }
.lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lines:empty { display: none; }
.lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.lines .n { font-weight: 500; font-size: .95rem; overflow-wrap: anywhere; }
.lines .q { display: inline-flex; align-items: center; grid-row: span 2; border: 1px solid var(--line-bright); border-radius: var(--r); }
.lines .q button { width: 40px; height: 40px; border: 0; background: var(--bg-card); font-family: var(--font-mono); font-size: 1.1rem; border-radius: var(--r); }
.lines .q button:hover { background: var(--bg-2); }
.lines .q b { min-width: 22px; text-align: center; font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.lines .p { font-family: var(--font-mono); font-size: .82rem; color: var(--ink-muted); }
.sum { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-mono); font-size: .86rem; color: var(--ink-muted); }
.sum b { font-size: 1.6rem; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.perhead { font-family: var(--font-mono); font-size: .8rem; color: var(--brand-readable); margin-top: -8px; text-align: end; }
.paynote { font-size: .84rem; color: var(--ink-muted); }
.ticket .link { justify-self: center; }

/* ── 4. Maya ── */
.maya-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .maya-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; } }
.maya-copy { display: grid; gap: 18px; justify-items: start; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; width: 100%; border-top: 1px solid var(--line); }
.promises li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .promises li { grid-template-columns: 210px minmax(0, 1fr); gap: 16px; align-items: baseline; } }
.promises b { font-family: var(--font-mono); font-weight: 500; font-size: .86rem; }
.promises span { color: var(--ink-muted); font-size: .94rem; }
.chat { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 10px; }
.chat p { max-width: 84%; padding: 10px 14px; border-radius: 12px; font-size: .94rem; line-height: 1.4; }
.chat .me { justify-self: end; background: #144D38; color: #EAF7F0; border-end-end-radius: 3px; }
.chat .maya { justify-self: start; background: var(--bg-2); color: var(--ink); border-end-start-radius: 3px; }

/* ── 5. Story ── */
.story-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 56px; align-items: center; } }
.story-text { display: grid; gap: 16px; min-width: 0; }
.story-body { display: grid; gap: 14px; font-size: 1.08rem; line-height: 1.65; color: var(--ink-soft); max-width: 60ch; }
.story-body h3 { font-family: var(--font-mono); font-weight: 500; font-size: .9rem; letter-spacing: 0; color: var(--ink); margin-top: 6px; }
.story-body:empty { display: none; }
.sign { font-family: var(--font-mono); font-size: .9rem; color: var(--ink); }
.portrait { margin: 0; }
.portrait img { width: 140px; aspect-ratio: 1; border-radius: var(--r); object-fit: cover; }
.reel video { width: 100%; border-radius: var(--r); background: var(--bg-card); }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mosaic button { border: 0; padding: 0; background: var(--bg-2); border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mosaic button:hover img { transform: scale(1.05); }
.quotes { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.quote { margin: 0; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 12px; align-content: space-between; }
.quote blockquote { margin: 0; color: var(--ink-soft); }
.quote figcaption { font-family: var(--font-mono); font-size: .82rem; color: var(--ink-muted); }
.stars { color: var(--brand-readable); }

/* ── 6 and 7. Panels: book, visit ── */
.panel { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 3vw, 28px); display: grid; gap: 14px; align-content: start; justify-items: start; min-width: 0; scroll-margin-top: 12px; }
.panel > * { max-width: 100%; }
.panel h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.book-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .book-grid:has(.panel:not([hidden]) ~ .panel:not([hidden])) { grid-template-columns: 1fr 1fr; } }
.points { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.points li { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-soft); border: 1px solid var(--line-bright); border-radius: var(--r-sm); padding: 4px 9px; }
.packs { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); width: 100%; }
.packs:empty { display: none; }
.pack { background: var(--bg-2); border-radius: var(--r); padding: 14px; display: grid; gap: 6px; align-content: start; }
.pack h3 { font-family: var(--font-mono); font-weight: 500; font-size: .86rem; letter-spacing: 0; }
.pack p { color: var(--ink-soft); font-size: .92rem; }
.visit-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } .visit-grid .where { grid-row: span 2; } }
.addr { font-size: 1.15rem; font-weight: 500; }
.map { width: 100%; }
.map:empty { display: none; }
.map iframe { width: 100%; height: 280px; border: 0; background: var(--bg-2); border-radius: var(--r-sm); display: block; filter: grayscale(.4) contrast(1.05); }
.hours { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: .9rem; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: end; font-variant-numeric: tabular-nums; }
.hours .today td { color: var(--brand-readable); }
.qr { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 18px; }
.qr h2 { grid-column: 1 / -1; }
.qr img { width: 132px; height: 132px; border-radius: var(--r-sm); background: #FFFFFF; padding: 6px; }
.qr p { color: var(--ink-muted); font-size: .92rem; }

/* Reservations widget (shared/reserve.js ships hooks only) */
.reserve-card { width: 100%; }
.wsr { display: grid; gap: 14px; }
.wsr-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wsr-field { display: grid; gap: 5px; font-family: var(--font-mono); font-size: .78rem; color: var(--ink-muted); }
.wsr-field :is(select, input) { min-height: 46px; border-radius: var(--r); border: 1px solid var(--line-bright); background: var(--bg); padding: 8px 12px; font-family: var(--font-body); font-size: 1rem; color: var(--ink); width: 100%; color-scheme: dark; }
.wsr-slots { display: flex; flex-wrap: wrap; gap: 6px; }
.wsr-slot { min-height: 44px; padding: 6px 13px; border-radius: var(--r); border: 1px solid var(--line-bright); background: var(--bg-card); font-family: var(--font-mono); font-size: .84rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.wsr-slot small { display: block; font-size: .68rem; color: var(--ink-muted); }
.wsr-slot:hover { border-color: var(--ink-muted); }
.wsr-slot[aria-pressed="true"] { border-color: var(--brand); color: var(--brand-readable); background: var(--bg-2); }
.wsr-slot.is-out { color: var(--ink-dim); text-decoration: line-through; border-style: dashed; }
.wsr-form { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.wsr-form > :not(.wsr-field), .wsr-wide { grid-column: 1 / -1; }
.wsr-chosen { font-family: var(--font-mono); color: var(--brand-readable); font-size: .9rem; }
.wsr-check { display: flex; gap: 8px; align-items: center; font-size: .9rem; min-height: 44px; color: var(--ink-soft); }
.wsr-check input { accent-color: var(--brand); width: 18px; height: 18px; }
.wsr-submit, .wsr-wa, .wsr-waitlist { min-height: 48px; padding: 10px 22px; border-radius: var(--r); border: 0; background: var(--brand); color: var(--brand-ink); font-family: var(--font-display); font-weight: 700; font-size: 1rem; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.wsr-error { color: #FFB4A8; font-weight: 500; }
.wsr-policy, .wsr-bigparty, .wsr-closed, .wsr-off, .wsr-loading { color: var(--ink-muted); font-size: .88rem; margin: 0; }
.wsr-policy { padding-inline-start: 18px; display: grid; gap: 2px; }
.wsr-done h3 { font-size: 1.3rem; }

/* ── Closing, footer ── */
.closing { border-top: 1px solid var(--line); padding-block: clamp(44px, 9vh, 88px); }
.closing-in { display: grid; gap: 14px; justify-items: start; }
.closing-line { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 4.4vw, 2.8rem); letter-spacing: -.025em; line-height: 1.1; }
.closing-note { color: var(--ink-muted); max-width: 46ch; }
.foot { border-top: 1px solid var(--line); padding-block: 22px 26px; font-family: var(--font-mono); font-size: .8rem; color: var(--ink-muted); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.socials { display: flex; gap: 6px; flex-wrap: wrap; }
.socials .social { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--r); border: 1px solid var(--line-bright); color: var(--ink); }
.socials .social svg { width: 18px; height: 18px; }
.fine a { color: var(--ink); display: inline-block; padding: 12px 2px; }

/* ── The dock: the order and WhatsApp, on a phone, at every scroll depth ── */
.dock { display: none; }
@media (max-width: 899px) {
  .dock { position: fixed; z-index: 40; inset-inline: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--bg-card); border-top: 1px solid var(--line-bright); }
  .dock-order { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 10px; align-items: center; min-height: 48px; text-decoration: none; padding-inline: 4px; }
  .dock-n { grid-row: span 2; min-width: 34px; height: 34px; padding: 0 6px; display: grid; place-items: center; border: 1px solid var(--line-bright); border-radius: var(--r);
    font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink-muted); }
  .dock.has .dock-n { border-color: var(--brand); color: var(--brand-readable); }
  .dock-n.bump { animation: cellflip .42s ease-in-out 1; }
  .dock-lbl { font-family: var(--font-mono); font-size: .7rem; color: var(--ink-muted); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dock-total { font-family: var(--font-mono); font-weight: 500; font-size: .98rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
  .dock-go { min-height: 48px; padding: 8px 14px; font-size: .92rem; white-space: nowrap; }
}

/* ── Dish sheet and promo (shared/floor.js ships hooks only): a panel that slides in from the board's edge ── */
.wsf-sheet, .wsf-promo { position: fixed; inset: 0; z-index: 60; display: grid; place-items: end center; }
.wsf-sheet-back, .wsf-promo-back { position: absolute; inset: 0; background: rgba(5, 7, 9, .72); }
.wsf-sheet-card, .wsf-promo-card { position: relative; z-index: 1; background: var(--bg-card); color: var(--ink); width: 100%; max-height: 92svh; overflow: auto;
  border: 1px solid var(--line-bright); border-bottom: 0; border-radius: var(--r) var(--r) 0 0; animation: sheetup .26s cubic-bezier(.2, .8, .2, 1); }
@keyframes sheetup { from { transform: translateY(28px); opacity: 0; } }
@keyframes sheetin { from { transform: translateX(40px); opacity: 0; } }
@media (min-width: 760px) {
  .wsf-sheet { place-items: stretch end; }
  .wsf-sheet-card { width: min(460px, 100%); max-height: none; height: 100%; border: 0; border-inline-start: 1px solid var(--line-bright); border-radius: 0; animation-name: sheetin; }
  .wsf-promo { place-items: center; padding: 20px; }
  .wsf-promo-card { width: min(480px, 100%); border: 1px solid var(--line-bright); border-radius: var(--r); }
}
.wsf-sheet-close, .wsf-promo-close { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; width: 44px; height: 44px; border-radius: var(--r); border: 1px solid var(--line-bright);
  background: var(--bg); color: var(--ink); font-size: 1.4rem; line-height: 1; }
.wsf-sheet-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.wsf-promo-media img { width: 100%; max-height: 240px; object-fit: cover; }
.wsf-sheet-body, .wsf-promo-body { padding: 20px 20px 24px; display: grid; gap: 12px; }
.wsf-sheet-media[hidden] + .wsf-sheet-body { padding-top: 64px; }
.wsf-sh-cat { font-family: var(--font-mono); font-size: .78rem; color: var(--brand-readable); }
.wsf-sh-cat:empty, .wsf-sh-alt:empty, .wsf-sh-story:empty, .wsf-pairs:empty { display: none; }
.wsf-sheet-body h3, .wsf-promo-body h3 { font-size: 1.55rem; letter-spacing: -.02em; padding-inline-end: 8px; }
.wsf-sh-alt { color: var(--ink-muted); }
.wsf-sh-story, .wsf-promo-body p { color: var(--ink-soft); line-height: 1.6; }
.wsf-facts { display: grid; margin: 0; border-top: 1px solid var(--line); }
.wsf-facts > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.wsf-facts dt { font-family: var(--font-mono); font-size: .76rem; color: var(--ink-muted); }
.wsf-facts dd { margin: 0; font-size: .94rem; color: var(--ink-soft); }
.wsf-heat { display: inline-flex; gap: 3px; align-items: center; }
.wsf-heat i { width: 5px; height: 13px; border-radius: 1px; background: var(--line-bright); }
.wsf-heat i.on { background: var(--brand); }
.wsf-heat span { margin-inline-start: 8px; font-family: var(--font-mono); font-size: .82rem; }
.wsf-pairs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.wsf-pairs-label { width: 100%; font-family: var(--font-mono); font-size: .76rem; color: var(--ink-muted); }
.wsf-pairs button, .wsf-sh-sizes button { min-height: 44px; padding: 6px 12px; border-radius: var(--r); border: 1px solid var(--line-bright); background: var(--bg-card); font-family: var(--font-mono); font-size: .82rem; color: var(--ink); }
.wsf-pairs button:hover, .wsf-sh-sizes button:hover { border-color: var(--ink-muted); }
.wsf-sheet-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 4px; }
.wsf-sh-sizes { display: flex; gap: 6px; flex-wrap: wrap; width: 100%; align-items: center; }
.wsf-sh-sizes-label { width: 100%; font-family: var(--font-mono); font-size: .76rem; color: var(--ink-muted); }
.wsf-sh-sizes button[aria-pressed="true"] { border-color: var(--brand); color: var(--brand-readable); background: var(--bg-2); }
.wsf-sh-sizes small { display: block; font-size: .72rem; color: var(--ink-muted); }
.wsf-sh-price, .wsf-promo-price { font-family: var(--font-mono); font-weight: 500; font-size: 1.45rem; font-variant-numeric: tabular-nums; }
.wsf-promo-price s { color: var(--ink-muted); font-size: .7em; }
.wsf-sh-add { min-height: 52px; padding: 12px 22px; border-radius: var(--r); border: 0; background: var(--brand); color: var(--brand-ink);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; flex: 1; }
.wsf-promo-cta { min-height: 52px; padding: 12px 22px; border-radius: var(--r); background: var(--wa); color: var(--wa-ink);
  font-family: var(--font-display); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.wsf-promo-badge { justify-self: start; font-family: var(--font-mono); font-size: .76rem; color: var(--brand-readable); border: 1px solid var(--brand); border-radius: var(--r-sm); padding: 3px 9px; }
.wsf-promo-skip { background: none; border: 0; min-height: 44px; color: var(--ink-muted); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker { overflow-x: auto; }
}
