/* Instant Video Studio dashboard — PixelAtrium look (the same tokens as pixelatrium.com). Mobile first: reviewing on
   a phone is a main use. No inline styles anywhere, so the page's CSP can forbid them. */
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap;
  src: url("/static/fonts/SpaceGrotesk-Bold.ttf") format("truetype"); }
:root {
  --bg: #07070b; --bg-elev: #0e0e16; --card: rgba(18, 18, 28, 0.78); --input: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08); --border-strong: rgba(255, 255, 255, 0.16); --border-bright: rgba(167, 139, 250, 0.45);
  --text: #ececf4; --muted: #9a9ab0; --faint: #74748c;
  --violet: #8b5cf6; --violet-bright: #a78bfa; --violet-dim: rgba(139, 92, 246, 0.16);
  --cyan: #22d3ee; --cyan-dim: rgba(34, 211, 238, 0.13);
  --ember: #f97316; --ember-soft: #fdba74; --ember-dim: rgba(249, 115, 22, 0.14);
  --ok: #34d399; --ok-dim: rgba(52, 211, 153, 0.13); --bad: #f87171; --bad-soft: #fca5a5; --bad-dim: rgba(248, 113, 113, 0.13);
  --radius: 16px; --radius-sm: 11px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --head: "Space Grotesk", var(--font);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 7rem; }
body { margin: 0; font: 15px/1.55 var(--font); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased;
  overflow-x: hidden; min-height: 100vh; }
.glow { position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse 70% 45% at 15% -10%, rgba(139, 92, 246, 0.20), transparent 60%),
              radial-gradient(ellipse 55% 40% at 95% 0%, rgba(34, 211, 238, 0.10), transparent 55%), var(--bg); }
a { color: var(--violet-bright); text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 0.6rem; }
h1 { font-size: clamp(1.45rem, 4.8vw, 2.1rem); }
h2 { font-size: 1.12rem; }
h3 { font-size: 1rem; }
h2.inline { display: inline; margin: 0; }
p { margin: 0.4rem 0 0.8rem; }
code, .mono { font-family: var(--mono); font-size: 0.86em; }
code { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border); border-radius: 6px; padding: 0.05rem 0.35rem;
  overflow-wrap: anywhere; }
b, strong { color: #fff; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 1.5rem)); margin-inline: auto; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: 0.82rem; line-height: 1.5; }
.ok { color: var(--ok); } .warn { color: var(--ember-soft); } .bad { color: var(--bad-soft); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.row.between { justify-content: space-between; }
main > h1:first-child, main > .flash + h1 { margin-top: 1.3rem; }
.head { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between; margin: 1.3rem 0 0.4rem; }
.head h1 { margin: 0; }

/* header + tabs */
.top { position: sticky; top: 0; z-index: 20; background: rgba(7, 7, 11, 0.82); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 54px; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text); font-family: var(--head); font-size: 1.02rem; }
.brand:hover { text-decoration: none; color: #fff; }
.brand b { background: linear-gradient(90deg, var(--violet-bright), var(--cyan)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.mark { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--violet), var(--cyan));
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.45); position: relative; }
.mark::after { content: ""; position: absolute; left: 10px; top: 7px; border-left: 9px solid var(--bg);
  border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.tabs { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 0.45rem; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; color: var(--muted); padding: 0.45rem 0.8rem; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
  border: 1px solid transparent; }
.tabs a:hover { color: #fff; text-decoration: none; background: rgba(255, 255, 255, 0.05); }
.tabs a[aria-current] { color: #fff; background: var(--violet-dim); border-color: var(--border-bright); }
.tabs .short { display: none; }
@media (max-width: 520px) { .tabs .full { display: none; } .tabs .short { display: inline; } .tabs a { padding: 0.45rem 0.7rem; } }
.logout { margin: 0; }
.blocked { background: var(--ember-dim); border-bottom: 1px solid rgba(249, 115, 22, 0.35); color: var(--ember-soft);
  padding: 0.55rem 0; font-size: 0.9rem; }
.blocked a { color: #fff; font-weight: 600; }
.foot { color: var(--faint); font-size: 0.78rem; padding: 2rem 0 2.5rem; }

/* cards, buttons, pills */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem;
  margin: 1rem 0; }
.card.callout { border-color: var(--border-bright); background: linear-gradient(160deg, rgba(139, 92, 246, 0.14),
  rgba(34, 211, 238, 0.05) 70%), var(--card); }
.card > h2:first-child { margin-top: 0.1rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 44px; padding: 0.55rem 1rem;
  border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.05);
  color: var(--text); font: 600 0.95rem/1.2 var(--font); cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; text-decoration: none; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.primary { border-color: transparent; color: #fff; background: linear-gradient(135deg, var(--violet), #6d28d9);
  box-shadow: 0 8px 28px rgba(139, 92, 246, 0.35); }
.btn.primary:hover { filter: brightness(1.12); }
.btn.ghost { background: transparent; }
.btn.ok { background: var(--ok-dim); border-color: rgba(52, 211, 153, 0.45); color: #d1fae5; }
.btn.warn { background: var(--ember-dim); border-color: rgba(249, 115, 22, 0.45); color: #ffedd5; }
.btn.bad { background: var(--bad-dim); border-color: rgba(248, 113, 113, 0.45); color: #fee2e2; }
.btn.small { min-height: 34px; padding: 0.3rem 0.7rem; font-size: 0.85rem; }
.btn.wide { width: 100%; margin-top: 0.4rem; }
form.inline { display: inline; margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.14rem 0.6rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; border: 1px solid var(--border); color: var(--muted); background: rgba(255, 255, 255, 0.03);
  white-space: nowrap; }
a.pill:hover { text-decoration: none; filter: brightness(1.2); }
.pill.ok { color: var(--ok); border-color: rgba(52, 211, 153, 0.4); background: var(--ok-dim); }
.pill.warn { color: var(--ember-soft); border-color: rgba(249, 115, 22, 0.4); background: var(--ember-dim); }
.pill.bad { color: var(--bad-soft); border-color: rgba(248, 113, 113, 0.4); background: var(--bad-dim); }
.pill.cyan { color: var(--cyan); border-color: rgba(34, 211, 238, 0.4); background: var(--cyan-dim); }
.pill.run { color: var(--cyan); border-color: rgba(34, 211, 238, 0.45); background: var(--cyan-dim); }
.pill.run::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }
.alert { border: 1px solid var(--border-strong); border-left: 3px solid var(--violet); background: var(--violet-dim);
  border-radius: var(--radius-sm); padding: 0.7rem 0.9rem; margin: 0.9rem 0; }
.alert.ok { border-color: rgba(52, 211, 153, 0.35); border-left-color: var(--ok); background: var(--ok-dim); color: #d1fae5; }
.alert.warn { border-color: rgba(249, 115, 22, 0.35); border-left-color: var(--ember); background: var(--ember-dim); color: #ffedd5; }
.alert.bad { border-color: rgba(248, 113, 113, 0.35); border-left-color: var(--bad); background: var(--bad-dim); color: #fee2e2; }
.alert.run { border-color: rgba(34, 211, 238, 0.35); border-left-color: var(--cyan); background: var(--cyan-dim); }
.alert.big h2 { color: #fff; }
.alert .row { margin-top: 0.6rem; }
.hint { color: var(--muted); font-size: 0.9rem; margin: 0.6rem 0; }

/* home */
.strip { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.6rem 0; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin: 1rem 0; }
.tile { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.75rem 0.9rem; }
.tile b { display: block; font: 700 1.7rem/1.1 var(--head); background: linear-gradient(90deg, #fff, var(--violet-bright));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile span { color: var(--muted); font-size: 0.82rem; }
.tile.small b { font-size: 1.25rem; }
.chan { margin-top: 1.6rem; }
.chan .muted { font: 500 0.85rem var(--font); }
.grid { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
.vcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; color: var(--text); transition: border-color 0.15s, transform 0.15s; }
.vcard:hover { border-color: var(--border-bright); transform: translateY(-2px); text-decoration: none; color: var(--text); }
.pic { aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.noimg { display: grid; place-items: center; width: 100%; height: 100%; color: var(--faint); font-size: 2rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(34, 211, 238, 0.08)); }
.noimg.small { aspect-ratio: 16 / 9; font-size: 1rem; border-radius: 8px; }
.vbody { padding: 0.8rem 0.95rem 0.9rem; display: flex; flex-direction: column; gap: 0.45rem; }
.vbody h3 { margin: 0; font-size: 1rem; }
.empty { text-align: left; padding: 1.4rem; }
progress { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border: 0; border-radius: 99px;
  background: rgba(255, 255, 255, 0.08); overflow: hidden; }
progress::-webkit-progress-bar { background: rgba(255, 255, 255, 0.08); border-radius: 99px; }
progress::-webkit-progress-value { background: linear-gradient(90deg, var(--violet), var(--cyan)); border-radius: 99px; }
progress::-moz-progress-bar { background: linear-gradient(90deg, var(--violet), var(--cyan)); border-radius: 99px; }
progress:not([value]) { background: linear-gradient(90deg, rgba(139, 92, 246, 0.15) 30%, var(--cyan) 50%,
  rgba(139, 92, 246, 0.15) 70%) 0 0 / 300% 100%; animation: slide 1.6s linear infinite; }
progress:not([value])::-webkit-progress-bar { background: transparent; }
@keyframes slide { to { background-position: -150% 0; } }
.job progress { height: 10px; margin: 0.3rem 0 0.6rem; }

/* review page */
.crumbs { margin-top: 1rem; font-size: 0.85rem; color: var(--muted); }
.stages { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0.6rem 0 0.4rem; }
.stages .pill { font-size: 0.72rem; }
.stagebox { margin: 0.3rem 0 0.2rem; }
.stagebox summary { font-weight: 600; color: var(--ok); padding: 0.2rem 0; }
.review { display: grid; gap: 0 1.2rem; grid-template-columns: minmax(0, 1fr); margin-top: 0.8rem; }
.player-wrap video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-sm);
  border: 1px solid var(--border); display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.6rem 0; }
.chip { display: inline-flex; align-items: center; gap: 0.3rem; font: 600 0.8rem/1.2 var(--font); color: var(--cyan);
  background: var(--cyan-dim); border: 1px solid rgba(34, 211, 238, 0.3); border-radius: 999px; padding: 0.3rem 0.65rem;
  cursor: pointer; min-height: 30px; }
.chip:hover { background: rgba(34, 211, 238, 0.22); color: #fff; }
.decision { display: flex; flex-direction: column; gap: 0.5rem; }
.dec-state { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.dec-state .pill { white-space: normal; }
.jrow .pill { flex: none; }
.dec-form { margin: 0; }
.dec-btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; margin-top: 0.45rem; }
.dec-btns .btn { padding-inline: 0.4rem; white-space: normal; text-align: center; font-size: 0.88rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; font-size: 0.9rem; }
.checklist label { display: flex; gap: 0.55rem; align-items: flex-start; cursor: pointer; }
.checklist input { margin-top: 0.3rem; accent-color: var(--violet); width: 18px; height: 18px; flex: none; }
.steps { padding-left: 1.2rem; margin: 0.4rem 0 0.8rem; font-size: 0.9rem; }
.shorts { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.short { display: flex; flex-direction: column; gap: 0.8rem; margin: 0; }
video.vert { width: 100%; max-width: 330px; aspect-ratio: 9 / 16; max-height: 78vh; background: #000; border-radius: var(--radius-sm);
  border: 1px solid var(--border); align-self: center; }
.sbody h3 { margin-bottom: 0.2rem; }
.copyblock { margin: 0.7rem 0; }
.copyblock pre, .copytext { background: rgba(0, 0, 0, 0.35); border: 1px solid var(--border); border-radius: 10px;
  padding: 0.6rem 0.75rem; margin: 0.35rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 0.88rem/1.5 var(--font);
  max-height: 280px; overflow: auto; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.3rem 1rem; margin: 0.8rem 0; font-size: 0.92rem; }
.kv > span { color: var(--muted); }
.kv > b { font-weight: 600; overflow-wrap: anywhere; }
details { margin: 0.4rem 0; }
summary { cursor: pointer; padding: 0.35rem 0; color: var(--text); font-weight: 600; }
summary:hover { color: #fff; }
.thumbs { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
.thumb { margin: 0; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.thumb.chosen { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet), 0 10px 30px rgba(139, 92, 246, 0.25); }
.thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.thumb figcaption { padding: 0.55rem 0.7rem 0.7rem; display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; }
.thumb figcaption .pill, .thumb figcaption form { align-self: flex-start; }
.sheet { border-radius: 10px; margin-top: 0.5rem; }
.cues { list-style: none; padding: 0; margin: 0.4rem 0 0; display: grid; gap: 0.3rem; max-height: 420px; overflow: auto; font-size: 0.9rem; }
.seg { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0.75rem; padding: 0.6rem 0; border-top: 1px solid var(--border); }
.seg.text { grid-template-columns: minmax(0, 1fr); }
.seg img { width: 112px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.seg p { margin: 0.25rem 0 0; font-size: 0.92rem; }
.scroll { overflow-x: auto; }
.qaframe { width: 160px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; border: 1px solid var(--border);
  margin-top: 0.4rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
th, td { text-align: left; vertical-align: top; padding: 0.45rem 0.5rem; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; }
pre.log { background: #040407; border: 1px solid var(--border); border-radius: 10px; padding: 0.7rem 0.8rem;
  font: 0.78rem/1.5 var(--mono); color: #cfd0e0; max-height: 440px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0.4rem 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin: 1.2rem 0; }

/* forms */
label { display: block; font-weight: 600; font-size: 0.9rem; margin: 0.8rem 0 0.3rem; }
label.check { display: flex; gap: 0.55rem; align-items: flex-start; font-weight: 500; }
label.check input { width: 18px; height: 18px; margin-top: 0.15rem; accent-color: var(--violet); flex: none; }
input:not([type=checkbox]):not([type=hidden]), textarea, select { width: 100%; background: var(--input); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: 10px; padding: 0.65rem 0.75rem; font: 16px/1.4 var(--font); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--violet-bright); box-shadow: 0 0 0 3px var(--violet-dim); }
textarea { resize: vertical; }
input:disabled, textarea:disabled { opacity: 0.45; cursor: not-allowed; }
.dec-form textarea { font-size: 16px; min-height: 64px; }
.form .btn { margin-top: 1rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.auth { max-width: 440px; margin: 9vh auto 2rem; padding: 1.5rem 1.4rem; }
.auth form .btn { margin-top: 1.1rem; }

/* jobs, setup, keys */
.jrow { display: flex; justify-content: space-between; gap: 0.8rem; align-items: flex-start; padding: 0.7rem 0; border-top: 1px solid var(--border); }
.jrow:first-of-type { border-top: 0; }
.jrow > div:first-child { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.jrow a b { color: var(--text); }
.hero { border-color: var(--border-bright); background: linear-gradient(150deg, rgba(139, 92, 246, 0.2), rgba(34, 211, 238, 0.06) 65%), var(--card); }
.kicker { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.74rem; font-weight: 700; color: var(--cyan); margin: 0 0 0.3rem; }
.hero code { font-size: 1.05rem; padding: 0.3rem 0.6rem; }
.phases { list-style: none; padding: 0; margin: 0; }
.phase { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 0.7rem; align-items: center; padding: 0.6rem 0;
  border-top: 1px solid var(--border); }
.phase:first-child { border-top: 0; }
.phase .num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 0.85rem var(--head);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-strong); }
.phase.current { background: linear-gradient(90deg, var(--violet-dim), transparent); border-radius: 10px; }
.phase.current .num { background: var(--violet); border-color: var(--violet); color: #fff; }
.todo { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.todo li { color: var(--text); }
.todo li.done { color: var(--muted); }
.todo li.done::first-letter { color: var(--ok); }
.keys { list-style: none; padding: 0; margin: 0; }
.keyrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.2rem 0.8rem; align-items: center; padding: 0.75rem 0;
  border-top: 1px solid var(--border); }
.keyrow:first-child { border-top: 0; }
.keyrow .khead { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.keyrow p { grid-column: 1; margin: 0; }
.keyrow .btn { grid-column: 2; grid-row: 1 / span 2; }
.toast { position: fixed; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 50;
  max-width: min(92vw, 560px); padding: 0.75rem 1rem; border-radius: 12px; background: #15151f; border: 1px solid var(--border-strong);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); font-weight: 600; }
.toast.ok { border-color: rgba(52, 211, 153, 0.5); } .toast.warn { border-color: rgba(249, 115, 22, 0.5); }
.toast.bad { border-color: rgba(248, 113, 113, 0.6); }
.notice { position: sticky; top: 100px; z-index: 10; }
.tally { margin: 0.2rem 0 0.8rem; }
.card a, .card code, .alert a { overflow-wrap: anywhere; }
.checkfirst { border-color: rgba(249, 115, 22, 0.4); background: linear-gradient(160deg, var(--ember-dim), transparent 70%), var(--card); }
.checkfirst h2 { color: var(--ember-soft); }
.notes { padding-left: 1.1rem; margin: 0.3rem 0 0.6rem; display: grid; gap: 0.45rem; font-size: 0.9rem; }
.notes li.unchecked { color: var(--ember-soft); font-weight: 600; }
.notes .chip { min-height: 26px; padding: 0.15rem 0.5rem; }
.seg .claim { color: var(--ember-soft); font-size: 0.86rem; border-left: 2px solid var(--ember); padding-left: 0.5rem; }
.seg:target { background: var(--ember-dim); border-radius: 8px; }
table.qa .lbl { display: none; }
@media (max-width: 519px) { .pill.wide-only { display: none; } }
@media (max-width: 599px) {
  table.qa, table.qa tbody, table.qa tr, table.qa td { display: block; }
  table.qa tr.hdr { display: none; }
  table.qa tr { padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
  table.qa td { border: 0; padding: 0.15rem 0; }
  table.qa td.at, table.qa td.sev { display: inline-block; vertical-align: middle; margin-right: 0.5rem; }
  table.qa td.at .fine { display: inline; margin-left: 0.3rem; }
  table.qa .lbl { display: inline; color: var(--muted); font-weight: 600; }
}

@media (min-width: 620px) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
  .thumbs { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
  .shorts { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
  .seg { grid-template-columns: 160px minmax(0, 1fr); }
  .seg.text { grid-template-columns: minmax(0, 1fr); }
  .seg img { width: 160px; }
  .card { padding: 1.15rem 1.35rem; }
}
@media (min-width: 1000px) {
  .review { grid-template-columns: minmax(0, 1fr) 370px; }
  .player-cell { grid-column: 1; grid-row: 1; }
  .meta-cell { grid-column: 1; grid-row: 2; }
  .side-col { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 110px; align-self: start;
    max-height: calc(100vh - 124px); overflow-y: auto; }
  .side-col .card:first-child { margin-top: 0; }
  .shorts { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
