/* Hit, Stay — phone-first styles. Colours and type mirror the Android app's theme. */

:root {
  color-scheme: dark;
  --ink: #07070b;
  --night: #0c0b12;
  --surface: #15141c;
  --surface-high: #1d1c26;
  --stroke: #2b2935;
  --stroke-soft: rgba(255, 255, 255, 0.12);
  --gold: #e7c677;
  --gold-bright: #f6dfa0;
  --gold-deep: #b8913f;
  --crimson: #d6283f;
  --crimson-deep: #7a0e1f;
  --ember: #ff5a5f;
  --mint: #41d3a0;
  --text: #f4f0e8;
  --text-dim: #a7a3b2;
  /* Faint, but still about 4.5:1 on the panels for small text. */
  --text-faint: #8d899a;
  --card-face: #fbf8f1;
  --card-edge: #e6e0d2;
  --card-red: #d0233a;
  --card-black: #16151c;
  --gold-gradient: linear-gradient(135deg, var(--gold-bright), var(--gold) 50%, var(--gold-deep));
  --panel: rgba(255, 255, 255, 0.035);
  --serif: 'Cinzel', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --gutter: 20px;
  --radius: 20px;
}

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

html, body {
  margin: 0;
  height: 100%;
  background: var(--night);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overscroll-behavior: none;
}

body {
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(214, 40, 63, 0.16), transparent 60%),
    radial-gradient(90% 50% at 50% 110%, rgba(231, 198, 119, 0.07), transparent 60%),
    var(--night);
  background-attachment: fixed;
}

button, input { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: var(--gold); }

#app {
  min-height: 100%;
  height: 100dvh;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.noselect, .screen { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, .selectable { -webkit-user-select: text; user-select: text; }

/* ------------------------------------------------------------------ screens */

.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: calc(var(--safe-top)) calc(var(--safe-right)) calc(var(--safe-bottom)) calc(var(--safe-left));
  animation: screen-in 340ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes screen-in { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: none; } }

.scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.pad { padding-left: var(--gutter); padding-right: var(--gutter); }
/* Centred when there's room; when the content is taller than the screen, the spacers collapse so
   nothing is pushed above the top (where it couldn't be scrolled to). */
.center-col { display: flex; flex-direction: column; align-items: center; text-align: center; }
.center-col::before, .center-col::after { content: ''; flex: 1 0 0px; }
.center-col.top::before { flex: 0 0 0px; }
.center-col > * { flex-shrink: 0; }
.center-col:not(.scroll) { overflow-y: auto; overscroll-behavior: contain; }

/* The home screen's artwork, scaled down on short screens. */
.hero { position: relative; width: 300px; height: 190px; }
.hero-title { font-size: 58px; line-height: 60px; }
@media (max-height: 700px) {
  .hero { transform: scale(0.8); margin: -19px 0; }
  .hero-title { font-size: 48px; line-height: 52px; }
}
@media (max-height: 600px) {
  .hero { transform: scale(0.66); margin: -32px 0; }
}
.grow { flex: 1; min-height: 0; }
.bottom-bar { padding: 8px var(--gutter) 16px; display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; align-items: center; }
.row.gap-6 { gap: 6px; } .row.gap-8 { gap: 8px; } .row.gap-10 { gap: 10px; } .row.gap-12 { gap: 12px; }
.col { display: flex; flex-direction: column; }
.spacer { flex: 1; }
.mt-4 { margin-top: 4px; } .mt-6 { margin-top: 6px; } .mt-8 { margin-top: 8px; } .mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; } .mt-14 { margin-top: 14px; } .mt-16 { margin-top: 16px; } .mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; } .mt-22 { margin-top: 22px; } .mt-24 { margin-top: 24px; } .mt-28 { margin-top: 28px; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* ------------------------------------------------------------------ type */

.display-l { font-family: var(--serif); font-weight: 900; font-size: 44px; line-height: 48px; letter-spacing: 0.04em; margin: 0; }
.display-m { font-family: var(--serif); font-weight: 700; font-size: 34px; line-height: 40px; letter-spacing: 0.04em; margin: 0; }
.display-s { font-family: var(--serif); font-weight: 700; font-size: 28px; line-height: 34px; letter-spacing: 0.03em; margin: 0; }
.headline-m { font-family: var(--serif); font-weight: 700; font-size: 24px; line-height: 30px; letter-spacing: 0.03em; margin: 0; }
.headline-s { font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 26px; letter-spacing: 0.03em; margin: 0; }
.title-l { font-weight: 700; font-size: 20px; line-height: 26px; }
.title-m { font-weight: 600; font-size: 16px; line-height: 22px; }
.title-s { font-weight: 600; font-size: 14px; line-height: 20px; }
.body-l { font-size: 16px; line-height: 24px; }
.body-m { font-size: 14px; line-height: 21px; }
.body-s { font-size: 12px; line-height: 17px; }
.label-l { font-weight: 700; font-size: 15px; letter-spacing: 0.02em; }
.label-m { font-weight: 600; font-size: 12px; letter-spacing: 0.08em; }
.label-s { font-weight: 600; font-size: 11px; letter-spacing: 0.1em; }
.num { font-family: var(--serif); font-weight: 700; }
.gold-text { background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c-text { color: var(--text); } .c-dim { color: var(--text-dim); } .c-faint { color: var(--text-faint); }
.c-gold { color: var(--gold); } .c-gold-bright { color: var(--gold-bright); } .c-ember { color: var(--ember); }
.c-mint { color: var(--mint); } .c-crimson { color: var(--crimson); }
.eyebrow { font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.t-center { text-align: center; }
p { margin: 0; }

/* ------------------------------------------------------------------ buttons */

.btn {
  position: relative;
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid transparent;
  padding: 8px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 120ms ease, opacity 160ms ease, background-color 160ms ease;
  overflow: hidden;
  min-width: 0;
}
.btn-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.verb-name { display: flex; min-width: 0; justify-content: center; }
.verb-name > .verb { flex: none; white-space: pre; }
.name-clip { display: block; min-width: 0; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.btn.wide { width: 100%; }
.btn.compact { padding: 8px 8px; letter-spacing: 0.05em; font-size: 14px; }
.btn-primary {
  background: var(--gold-gradient);
  border-color: rgba(246, 223, 160, 0.6);
  color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(231, 198, 119, 0.55);
}
.btn-primary:disabled { background: var(--surface-high); border-color: var(--stroke); color: var(--text-faint); box-shadow: none; }
.btn-secondary {
  background: rgba(255, 255, 255, 0.035);
  border-color: color-mix(in srgb, var(--accent, var(--gold)) 45%, transparent);
  color: var(--accent, var(--gold));
}
.btn-secondary.active { background: color-mix(in srgb, var(--accent, var(--gold)) 16%, transparent); border-width: 1.5px; }
.btn-secondary:disabled { opacity: 0.4; }
.btn-text {
  background: none; border: 0; color: var(--text-dim); font-weight: 700; font-size: 15px;
  padding: 14px; border-radius: 12px; cursor: pointer; letter-spacing: 0.02em;
}
.link-btn { background: none; border: 0; color: var(--gold); font-weight: 700; font-size: 15px; padding: 6px; border-radius: 8px; cursor: pointer; }

/* ------------------------------------------------------------------ panels, tags, misc */

.panel {
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--stroke-soft);
}
.panel.gold { border-color: rgba(231, 198, 119, 0.5); background: rgba(231, 198, 119, 0.06); }
.panel.crimson { border-color: rgba(214, 40, 63, 0.5); background: rgba(214, 40, 63, 0.1); }
.panel.high { background: rgba(29, 28, 38, 0.92); }
.panel.action { border-color: rgba(231, 198, 119, 0.45); background: rgba(29, 28, 38, 0.92); }
.p-14 { padding: 14px; } .p-16 { padding: 16px; } .p-18 { padding: 18px; }

.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--tag) 55%, transparent);
  color: var(--tag); white-space: nowrap;
}
.tag.filled { background: var(--tag); color: var(--ink); border-color: var(--tag); }

.avatar {
  flex: none; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; color: var(--ink); position: relative;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}
.first-marker {
  position: absolute; right: -4px; bottom: -4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold-gradient); color: var(--ink); font-family: var(--serif); font-weight: 900; font-size: 9px;
  display: grid; place-items: center; box-shadow: 0 0 0 2px var(--night);
}

.ornament { display: flex; align-items: center; gap: 10px; width: 200px; }
.ornament::before, .ornament::after { content: ''; flex: 1; height: 1px; background: rgba(231, 198, 119, 0.5); }
.ornament span { width: 7px; height: 7px; transform: rotate(45deg); background: rgba(231, 198, 119, 0.7); }

.waiting {
  min-height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--stroke-soft); color: var(--text-dim);
  font-weight: 600; font-size: 14px; padding: 8px 14px; text-align: center; line-height: 1.35;
}
.pulse-dot { flex: none; border-radius: 50%; background: var(--dot, var(--gold)); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

.glow { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; animation: glow 2.8s ease-in-out infinite; }
@keyframes glow { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.9; } }

.rise { animation: rise 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ top bar */

.topbar { display: flex; align-items: center; gap: 4px; padding: 8px 8px 8px 4px; min-height: 56px; }
.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: none; color: var(--text);
  display: grid; place-items: center; cursor: pointer; flex: none;
}
.icon-btn:active { background: rgba(255, 255, 255, 0.06); }
.topbar .title { font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: 0.04em; flex: 1; margin: 0; line-height: 1.3; }

/* ------------------------------------------------------------------ cards */

.card {
  position: relative; aspect-ratio: 5 / 7; width: var(--w, 40px); flex: none;
  border-radius: calc(var(--w, 40px) * 0.12); container-type: inline-size;
}
.card.face {
  background: linear-gradient(180deg, #fffdf8, var(--card-face) 50%, #f0e9da);
  border: 1px solid var(--card-edge);
  color: var(--card-black);
  display: grid; place-items: center;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.6);
}
.card.face.neg { background: linear-gradient(180deg, #fff4f2, #fbe7e4 50%, #f3d6d2); border-color: rgba(208, 35, 58, 0.35); color: var(--card-red); }
.card.face .big { font-family: var(--serif); font-weight: 900; font-size: 50cqi; line-height: 1; }
.card.face.compact .big { font-size: 56cqi; }
.card.face.neg .big { letter-spacing: -0.04em; }
.card.face .frame { position: absolute; inset: 7cqi; border-radius: 7cqi; border: 1px solid currentColor; opacity: 0.16; }
.card.face .idx { position: absolute; font-family: var(--serif); font-weight: 700; font-size: 17cqi; line-height: 1; }
.card.face .idx.tl { left: 13cqi; top: 12cqi; }
.card.face .idx.br { right: 13cqi; bottom: 12cqi; transform: rotate(180deg); }
.card.dim::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: rgba(7, 7, 11, 0.45); }
.card.back {
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #a9233a, var(--crimson-deep) 55%, #3a0610);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 6px 14px -8px rgba(0, 0, 0, 0.6);
  display: grid; place-items: center;
}
.card.back::before {
  content: ''; position: absolute; inset: 7.5cqi; border-radius: 6cqi;
  border: max(1px, 2cqi) solid rgba(231, 198, 119, 0.75);
  background:
    repeating-linear-gradient(45deg, rgba(231, 198, 119, 0.1) 0 1px, transparent 1px 18cqi),
    repeating-linear-gradient(-45deg, rgba(231, 198, 119, 0.1) 0 1px, transparent 1px 18cqi);
}
.card.back.dense::before { inset: 9cqi; }
.card.back .pip { position: relative; width: 26cqi; height: 30cqi; color: rgba(231, 198, 119, 0.6); }
.card.back .lbl { position: relative; font-family: var(--serif); font-weight: 700; font-size: 36cqi; }
.card.back.dim { opacity: 0.45; }

.flip { perspective: 600px; flex: none; }
.flip-inner { position: relative; transition: transform 520ms cubic-bezier(0.4, 0, 0.2, 1); transform-style: preserve-3d; }
.flip-inner > * { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-inner > .flip-back { position: absolute; inset: 0; transform: rotateY(180deg); }
.flip.down .flip-inner { transform: rotateY(180deg); }

.card-pick { cursor: pointer; transition: transform 260ms cubic-bezier(0.3, 1.4, 0.5, 1), filter 200ms; border-radius: 12%; background: none; border: 0; padding: 0; }
.card-pick.on { transform: translateY(-14px) scale(1.04); filter: drop-shadow(0 10px 18px rgba(231, 198, 119, 0.55)); }
.card-pick.on .card { outline: 2.5px solid var(--gold); outline-offset: 0; }
.hidden-ring { outline: 2px solid var(--gold); outline-offset: 0; }

/* ------------------------------------------------------------------ die & chip */

.die { position: relative; flex: none; display: grid; place-items: center; }
.die svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.die span { position: relative; font-family: var(--serif); font-weight: 900; color: #fff; padding-top: 8%; line-height: 1; }
.die-caption { font-weight: 600; font-size: 11px; letter-spacing: 0.1em; color: var(--gold); text-align: center; margin-top: 2px; }
.rolling { animation: wobble 90ms linear infinite alternate; }
@keyframes wobble { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
.landed { animation: land 420ms cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes land { from { transform: scale(1.18); } to { transform: scale(1); } }
.chip-icon { flex: none; display: inline-block; vertical-align: middle; }

/* ------------------------------------------------------------------ form bits */

.choice-row { display: flex; gap: 8px; }
.choice {
  flex: 1; height: 44px; border-radius: 12px; border: 1px solid var(--stroke-soft);
  background: rgba(255, 255, 255, 0.04); color: var(--text-dim); font-weight: 700; cursor: pointer;
  transition: background-color 180ms, color 180ms;
}
.choice.on { background: var(--gold); color: var(--ink); border-color: var(--gold-bright); }

.textbox {
  width: 100%; height: 52px; border-radius: 12px; padding: 0 14px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--stroke-soft);
  color: var(--text); font-weight: 600; font-size: 16px; outline: none;
}
.textbox:focus { border-color: rgba(231, 198, 119, 0.7); }
.textbox::placeholder { color: var(--text-faint); font-weight: 500; }
.textbox.code { font-family: var(--serif); font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; text-align: center; font-size: 22px; }

.switch { position: relative; width: 52px; height: 32px; flex: none; border-radius: 999px; border: 1px solid var(--stroke); background: rgba(255, 255, 255, 0.06); cursor: pointer; padding: 0; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--text-dim); transition: transform 200ms, background-color 200ms; }
.switch.on { background: var(--gold); border-color: var(--gold); }
.switch.on::after { transform: translateX(20px); background: var(--ink); }

.section-label { font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin: 22px 0 10px; }

/* ------------------------------------------------------------------ table */

.table-header { display: flex; align-items: center; padding: 12px 16px 10px 20px; gap: 12px; }
.seats { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 16px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.seats.compact { gap: 6px; }
.seat {
  border-radius: 18px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--stroke-soft);
  padding: 10px 12px; transition: background-color 220ms, border-color 220ms, opacity 220ms;
}
.seat.acting { background: rgba(231, 198, 119, 0.08); border: 1.5px solid rgba(231, 198, 119, 0.8); }
.seat.folded { opacity: 0.55; }
.seat.compact { border-radius: 14px; padding: 8px 10px; display: flex; align-items: center; gap: 8px; }
.hand-strip { display: flex; align-items: center; gap: var(--gap, 5px); overflow-x: auto; scrollbar-width: none; flex-direction: row; min-width: 0; }
.hand-strip::-webkit-scrollbar { display: none; }
.hand-sep { width: 1px; align-self: stretch; margin: 4px 2px; background: var(--stroke-soft); flex: none; }
.bet-pill {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px;
  background: rgba(231, 198, 119, 0.14); border: 1px solid rgba(231, 198, 119, 0.5); color: var(--gold-bright);
  font-weight: 700; font-size: 14px;
}
.bottom-panel { padding: 8px 16px 16px; }

.peek {
  width: 100%; min-height: 76px; border-radius: 14px; border: 1px solid var(--stroke-soft);
  background: rgba(255, 255, 255, 0.04); color: var(--gold); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; letter-spacing: 0.02em; cursor: pointer; padding: 10px; touch-action: none;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.peek.on { background: rgba(7, 7, 11, 0.6); border-color: rgba(231, 198, 119, 0.6); }

.stepper {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(231, 198, 119, 0.5);
  background: rgba(255, 255, 255, 0.06); color: var(--gold); font-size: 24px; display: grid; place-items: center; cursor: pointer; flex: none;
}
.stepper:disabled { border-color: var(--stroke-soft); background: rgba(255, 255, 255, 0.02); color: var(--text-faint); }
.quick {
  height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--stroke-soft);
  background: rgba(255, 255, 255, 0.05); color: var(--text-dim); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
}
.quick:disabled { color: var(--text-faint); background: rgba(255, 255, 255, 0.02); }

/* ------------------------------------------------------------------ overlays */

.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); display: grid; place-items: center; z-index: 50; padding: 24px; animation: fade 200ms both; }
@keyframes fade { from { opacity: 0; } }
.dialog { width: 100%; max-width: 360px; background: var(--surface-high); border-radius: 24px; padding: 22px 22px 10px; border: 1px solid var(--stroke); animation: rise 260ms both; }
.dialog h2 { margin: 0 0 10px; }
.dialog .actions { display: flex; justify-content: flex-end; gap: 4px; margin-top: 14px; }
.banner {
  position: fixed; left: 50%; top: calc(var(--safe-top) + 8px); transform: translateX(-50%); z-index: 40;
  background: var(--crimson); color: #fff; border-radius: 999px; padding: 8px 16px; display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px; white-space: nowrap; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
}
.toast {
  position: fixed; left: 50%; bottom: calc(var(--safe-bottom) + 90px); transform: translateX(-50%); z-index: 45;
  background: var(--surface-high); border: 1px solid var(--stroke); color: var(--text); border-radius: 14px; padding: 10px 16px;
  font-size: 14px; font-weight: 600; animation: rise 220ms both; max-width: calc(100% - 40px); text-align: center;
}

.qr { background: #fff; border-radius: 16px; padding: 12px; width: 184px; height: 184px; display: grid; place-items: center; }
.qr svg, .qr img { width: 160px; height: 160px; display: block; }

@media (min-height: 760px) { :root { --gutter: 22px; } }

/* The status column of compact seat rows; narrower on small phones so names and cards fit. */
.seat-status { width: 84px; }
@media (max-width: 359px) {
  .seat-status { width: 60px; }
  .stepper { width: 44px; height: 44px; }
  .quick { padding: 0 8px; }
}

/* Phones held sideways: the table scrolls as one column so the controls stay reachable. */
@media (max-height: 520px) {
  .screen[data-testid='table'] { overflow-y: auto; }
  .screen[data-testid='table'] .seats { flex: none; overflow: visible; }
  .table-header { padding-top: 6px; padding-bottom: 6px; }
  .peek { min-height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}
