/* Checker site. Mobile first: the video is the subject, the text is the reference, the verdict sits under the thumb. */
:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --surface-2: #efede8;
  --ink: #16181d;
  --ink-2: #555a63;
  --ink-3: #8a8f98;
  --line: #e2dfd8;
  --line-strong: #cfcbc2;
  --ok: #1d8a5f;
  --ok-ink: #ffffff;
  --ok-soft: #dcf1e6;
  --err: #c8402f;
  --err-ink: #ffffff;
  --err-soft: #fbe3de;
  --focus: #2f6fdf;
  --shadow: 0 1px 2px rgb(20 20 25 / 0.06), 0 8px 24px rgb(20 20 25 / 0.06);
  --radius: 14px;
  --radius-s: 10px;
  --gutter: 16px;
  --bar-h: 64px;
  --ease: 0.2s ease;
  --font: "Inter", "IBM Plex Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-th: "IBM Plex Sans Thai", "Inter", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121316;
    --surface: #1b1d21;
    --surface-2: #24272c;
    --ink: #eceae5;
    --ink-2: #a9adb5;
    --ink-3: #7b808a;
    --line: #2c2f35;
    --line-strong: #3a3e45;
    --ok: #2fa877;
    --ok-soft: #17372a;
    --err: #e0604d;
    --err-soft: #3d1e19;
    --focus: #6d9cf0;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121316;
  --surface: #1b1d21;
  --surface-2: #24272c;
  --ink: #eceae5;
  --ink-2: #a9adb5;
  --ink-3: #7b808a;
  --line: #2c2f35;
  --line-strong: #3a3e45;
  --ok: #2fa877;
  --ok-soft: #17372a;
  --err: #e0604d;
  --err-soft: #3d1e19;
  --focus: #6d9cf0;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.55 var(--font);
  cursor: default;
  -webkit-font-smoothing: antialiased;
}
html:lang(th) body, [lang="th"] { font-family: var(--font-th); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 1.5rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: 1rem; font-weight: 600; }
a { color: inherit; }
svg { display: block; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); }
.block { display: block; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; }
.fine { font-size: 0.85rem; color: var(--ink-3); }
.hint { font-size: 0.85rem; color: var(--ink-3); margin-top: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---------- interactive: one hover effect everywhere (opacity) ---------- */
a, button, summary, select, label.chip, label.check, input[type="checkbox"], input[type="radio"] { cursor: pointer; transition: opacity var(--ease); }
input[type="text"], input[type="email"], input[type="number"], textarea { cursor: text; }
@media (hover: hover) {
  a:hover, button:not(:disabled):hover, summary:hover, select:hover, label.chip:hover, label.check:hover { opacity: 0.72; }
}
button:disabled { cursor: not-allowed; }

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  box-sizing: content-box;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; white-space: nowrap; }
.brand svg { width: 26px; height: 26px; }
.tabs { display: flex; gap: 4px; margin-left: 8px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tabs a {
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-2);
  font-size: 0.92rem;
  white-space: nowrap;
}
.tabs a[aria-current="page"] { background: var(--surface-2); color: var(--ink); font-weight: 500; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
@media (max-width: 699px) {
  /* phones: the section tabs get their own row under the brand */
  .top { flex-wrap: wrap; height: auto; row-gap: 0; padding-top: calc(10px + env(safe-area-inset-top)); }
  .top .brand, .top .top-right { height: 36px; }
  .tabs { order: 3; flex: 1 0 100%; margin: 8px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 8px; }
}
.lang select {
  appearance: none;
  height: 34px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238a8f98' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
}
.account { position: relative; }
.account summary { list-style: none; }
.account summary::-webkit-details-marker { display: none; }
.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.9rem;
}
.menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow);
}
.who { display: grid; padding: 6px 8px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; font-size: 0.9rem; }
.who span { color: var(--ink-3); font-size: 0.8rem; word-break: break-all; }
.menu-item { width: 100%; text-align: left; padding: 8px; border: 0; border-radius: 8px; background: var(--surface-2); color: var(--ink); font: inherit; font-size: 0.9rem; }

.main { padding: 16px var(--gutter) calc(var(--bar-h) + 40px + env(safe-area-inset-bottom)); max-width: 1180px; margin: 0 auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  background: var(--surface-2);
  color: var(--ink);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:disabled { opacity: 0.38; }
.btn-ok { background: var(--ok); color: var(--ok-ink); }
.btn-error { background: var(--surface); color: var(--err); border-color: color-mix(in srgb, var(--err) 45%, transparent); }
.sheet .btn-error, .btn-error.btn-wide { background: var(--err); color: var(--err-ink); border-color: transparent; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-small { min-height: 34px; padding: 0 12px; font-size: 0.85rem; font-weight: 500; border-radius: 999px; background: var(--surface); border-color: var(--line-strong); }
.btn-wide { width: 100%; }
.btn.busy { opacity: 0.6; }
/* secondary actions still look like buttons (owner's rule: no bare-text buttons) */
button.link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font: inherit;
  font-size: 0.88rem;
}
button.link.danger { color: var(--err); border-color: color-mix(in srgb, var(--err) 40%, transparent); }
a.link { color: var(--ink); text-underline-offset: 3px; }

/* ---------- sign-in ---------- */
.login { max-width: 400px; margin: 9vh auto 0; text-align: center; display: grid; gap: 14px; justify-items: center; }
.login-mark svg { width: 64px; height: 64px; }
.login .muted { margin-bottom: 10px; }
.btn-google { width: 100%; background: var(--surface); border-color: var(--line-strong); font-weight: 500; }
.btn-google svg { width: 20px; height: 20px; }
.login-langs { display: flex; gap: 16px; margin-top: 16px; font-size: 0.9rem; }
.login-langs a { color: var(--ink-2); }
.dev-login { display: flex; gap: 8px; width: 100%; }
.dev-login input { flex: 1; }
.notice { width: 100%; text-align: left; display: grid; gap: 4px; padding: 12px 14px; border-radius: var(--radius-s); font-size: 0.92rem; }
.notice-error { background: var(--err-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--err) 30%, transparent); }
.notice-ok { background: var(--ok-soft); border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent); margin-bottom: 12px; }

/* ---------- card ---------- */
.card-layout { display: grid; gap: 16px; }
.player { display: grid; gap: 10px; align-content: start; }
.meta-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.88rem; }
.chip-static { padding: 3px 10px; border-radius: 999px; background: var(--surface-2); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame {
  position: relative;
  width: min(100%, calc(62svh * 9 / 16));
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
}
.frame video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.progress { width: min(100%, calc(62svh * 9 / 16)); margin: 0 auto; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--ok); transform-origin: left; transform: scaleX(0); transition: transform 0.25s linear; }
.texts { display: grid; gap: 12px; align-content: start; }
.block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.block h2 { margin-bottom: 2px; }
.text { margin-top: 10px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 1.08rem; line-height: 1.7; }
.howto { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.howto summary { padding: 12px 16px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.howto summary::after { content: "+"; color: var(--ink-3); font-weight: 400; }
.howto[open] summary::after { content: "–"; }
.howto summary::-webkit-details-marker { display: none; }
.howto ol { margin: 0; padding: 0 16px 14px 36px; color: var(--ink-2); display: grid; gap: 4px; }
.ok-line { display: flex; gap: 8px; align-items: center; margin-top: 8px; color: var(--ok); }
.ok-line svg { width: 18px; height: 18px; }
table.auto { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 1rem; }
table.auto th { text-align: left; font-size: 0.8rem; color: var(--ink-3); font-weight: 500; padding: 0 0 6px; }
table.auto td { padding: 8px 0; border-top: 1px solid var(--line); }
table.auto td + td, table.auto th + th { padding-left: 12px; }
.skip-form { display: flex; justify-content: center; padding: 4px 0; }

.actionbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-top: 1px solid var(--line);
}
.action-hint { text-align: center; font-size: 0.85rem; color: var(--ink-2); margin-bottom: 8px; }
.action-hint[hidden] { display: none; }
.action-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 560px; margin: 0 auto; }
.action-buttons .btn { min-height: 52px; padding: 0 12px; }

/* ---------- error sheet (one modal component: native <dialog>) ---------- */
body:has(dialog[open]) { overflow: hidden; }
.sheet {
  width: 100%;
  max-width: 560px;
  max-height: 92svh;
  margin: auto auto 0;
  padding: 0;
  border: 0;
  border-radius: 20px 20px 0 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: auto;
  overscroll-behavior: contain;
}
.sheet::backdrop { background: rgb(10 10 12 / 0.5); }
.sheet form { padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 14px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sheet-head h2 { font-size: 1.15rem; }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); font-size: 1.2rem; line-height: 1; }
.sheet-foot { position: sticky; bottom: calc(-18px - env(safe-area-inset-bottom)); padding: 10px 0 0; background: var(--surface); }
.issue { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 12px; }
.issue + .issue { margin-top: 12px; }
.issue legend { float: left; font-weight: 600; padding: 0; }
.issue-head { display: flex; justify-content: space-between; align-items: center; }
.field { display: grid; gap: 6px; }
.label { font-size: 0.85rem; color: var(--ink-2); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 0.9rem; }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.time-row { display: flex; align-items: center; gap: 10px; }
.time-row output { min-width: 4.5em; font-variant-numeric: tabular-nums; font-weight: 500; }
input[type="text"], input[type="email"], input[type="number"], textarea, .rev-form select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
textarea { resize: vertical; min-height: 64px; line-height: 1.5; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--focus); outline-offset: 0; border-radius: var(--radius-s); }
.invalid, .invalid:focus { border-color: var(--err); outline-color: var(--err); }
.form-error { color: var(--err); font-size: 0.9rem; min-height: 1.2em; }
.form-error:empty { display: none; }
.add { justify-self: start; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bar-h) + 40px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 50;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.92rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
  white-space: nowrap;
}
.toast.show { opacity: 1; }
.toast-error { background: var(--err); color: var(--err-ink); }

/* ---------- empty / stats pages ---------- */
.empty { max-width: 460px; margin: 8vh auto 0; text-align: center; display: grid; gap: 12px; justify-items: center; }
.empty-mark svg { width: 72px; height: 72px; }
.page { display: grid; gap: 14px; max-width: 760px; margin: 0 auto; }
.page-wide { max-width: 1100px; }
.page h2 { margin-top: 14px; }
.tiles { display: grid; gap: 10px; width: 100%; }
.tiles-2 { grid-template-columns: 1fr 1fr; }
.tiles-3 { grid-template-columns: 1fr 1fr; }
.tiles-3 .tile:first-child { grid-column: 1 / -1; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 4px; text-align: left; }
.tile span { font-size: 0.82rem; color: var(--ink-2); }
.tile b { font-size: 1.7rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.tile small { color: var(--ink-3); font-size: 0.8rem; }
.table-wrap { overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 0.92rem; }
.table th { text-align: left; font-weight: 500; font-size: 0.8rem; color: var(--ink-2); background: var(--surface-2); padding: 9px 12px; white-space: nowrap; }
.table td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.err-count { color: var(--err); }
.history, .answers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.history li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.history li > div { display: grid; gap: 2px; min-width: 0; }
.history .muted { font-size: 0.82rem; }
.issue-line { font-size: 0.9rem; margin-top: 4px; overflow-wrap: anywhere; }
.badge { flex: none; display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-error { background: var(--err-soft); color: var(--err); }
.answer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 8px; justify-items: start; }
.answer-head { display: grid; gap: 2px; }
.answer-head .muted { font-size: 0.82rem; }
.issue-view { width: 100%; border-left: 3px solid var(--err); padding: 4px 0 4px 12px; display: grid; gap: 4px; overflow-wrap: anywhere; }
.issue-view .muted { font-size: 0.82rem; }

/* owner: reviewers */
.two-col { display: grid; gap: 20px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; align-content: start; }
.rev-form { display: grid; gap: 12px; }
.rev-form .btn { justify-self: start; }
.field-row { display: grid; grid-template-columns: 1fr 120px; gap: 10px; }
.rev-form select { appearance: none; padding-right: 36px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238a8f98' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.chip input[type="checkbox"]:checked + span { background: var(--ink); color: var(--bg); }
.check { display: flex; align-items: center; gap: 8px; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.rev { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.rev summary { padding: 12px 16px; display: grid; gap: 2px; list-style: none; }
.rev summary::-webkit-details-marker { display: none; }
.rev summary .muted { font-size: 0.85rem; }
.rev[open] summary { border-bottom: 1px solid var(--line); }
.rev .rev-form { padding: 14px 16px 16px; }
input[readonly] { background: var(--surface-2); color: var(--ink-2); }

/* ---------- wider screens ---------- */
@media (min-width: 700px) {
  .tiles-3 { grid-template-columns: repeat(3, 1fr); }
  .tiles-3 .tile:first-child { grid-column: auto; }
  .sheet { margin: auto; border-radius: 20px; }
  .two-col { grid-template-columns: minmax(300px, 380px) 1fr; align-items: start; }
}
@media (min-width: 960px) {
  .main { padding-bottom: 40px; }
  .card-layout { grid-template-columns: minmax(320px, 420px) 1fr; gap: 28px; align-items: start; }
  .player { position: sticky; top: 76px; }
  .frame, .progress { width: min(100%, calc((100svh - 220px) * 9 / 16)); }
  body[data-page="card"] .main { padding-bottom: 140px; }
  .actionbar { left: 50%; right: auto; bottom: 20px; transform: translateX(-50%); width: min(600px, calc(100% - 40px)); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 12px; }
  .toast { bottom: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- round 2: critic fixes ---------- */
.sub { display: block; }
.nowrap { white-space: nowrap; }
.hint-inline { color: var(--ink-3); font-weight: 400; }
.text { overflow-wrap: break-word; }
/* tap targets ≥ 44 px */
.btn-small, button.link { min-height: 44px; padding: 0 14px; }
.icon-btn { width: 44px; height: 44px; }
.chip span { padding: 11px 14px; line-height: 1.2; }
.skip-form button.link { min-height: 44px; }
/* error sheet: the head stays while the form scrolls */
.sheet form { padding-top: 0; }
.sheet-head { position: sticky; top: 0; z-index: 2; background: var(--surface); padding: 14px 0 10px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); border-bottom: 1px solid var(--line); }
.field-error { color: var(--err); font-size: 0.85rem; }
.field-error:empty { display: none; }
.time-row { flex-wrap: wrap; }
.time-input { width: 13em !important; font-variant-numeric: tabular-nums; }
/* owner: invite links */
.copy-row { display: flex; gap: 8px; margin-top: 8px; width: 100%; }
.copy-row input { flex: 1; min-width: 0; font-size: 0.9rem; }
.invite-new { margin-bottom: 4px; }
.inv-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.inv-list li { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.inv-list li > div { flex: 1; min-width: 0; }
.btn-danger-ghost { color: var(--err); border-color: color-mix(in srgb, var(--err) 40%, transparent); }
.by-email { border-top: 1px solid var(--line); padding-top: 12px; }
.by-email summary { color: var(--ink-2); font-size: 0.92rem; padding: 8px 0; list-style: none; }
.by-email summary::-webkit-details-marker { display: none; }
.by-email summary::before { content: "+ "; }
.by-email[open] summary::before { content: "– "; }
.by-email .rev-form { margin-top: 10px; }
.rev summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rev-main { display: grid; gap: 2px; min-width: 0; }
.chev { flex: none; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); margin-right: 4px; transition: transform var(--ease); }
.rev[open] .chev { transform: rotate(-135deg); }
@media (max-width: 699px) {
  .table { font-size: 0.85rem; }
  .table th, .table td { padding: 8px 10px; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (min-width: 960px) {
  /* the verdict sits under the texts it judges, never over them */
  body[data-page="card"] .main { padding-bottom: 40px; }
  .texts .actionbar { position: sticky; left: auto; right: auto; bottom: 16px; transform: none; width: auto; margin-top: 4px; background: var(--surface); }
}
