/* Blankjam styles: the "Sticker Sheet" look (chosen 2026-11-15).
   Bold color blocks, thick ink outlines, hard offset shadows, slightly
   tilted word stickers. Space Grotesk for display, Inter for text.
   Light only: the host screen is made for a classroom projector.
   No italics anywhere (AnchorKite rule). */

:root {
  --bg: #F4F1EA;
  --surface: #FFFFFF;
  --ink: #111111;
  --muted: #474747;
  --soft-line: #D8D2C4;
  --blue: #2D5BFF;
  --yellow: #FFD43B;
  --green: #12805F;
  --pop: #E8442A;
  --accent: var(--blue);
  --accent-ink: #FFFFFF;
  --accent-soft: #E3E9FF;
  --good: #12805F;
  --good-soft: #DDF3EA;
  --bad: #C22D16;
  --bad-soft: #FDE4DE;
  --radius: 18px;
  --border: 3px solid var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-lg: 7px 7px 0 var(--ink);
  --display: 'Space Grotesk', Inter, system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.5;
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.025em; }
p { margin: 0 0 0.75em; }
a { color: var(--blue); }

.muted { color: var(--muted); }
.center { text-align: center; }
.error { color: var(--bad); font-weight: 700; }
.fine { font-size: 13px; color: var(--muted); margin-top: 16px; }
.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}

/* Wordmark: "blank" in white on an ink chip, "jam" in the pop color. */
.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  background: var(--ink);
  color: #FFFFFF;
  padding: 1px 11px 3px;
  border-radius: 8px;
  white-space: nowrap;
}
.brand span { color: #FF7A5C; }
.brand-big { font-size: 30px; padding: 2px 14px 5px; display: inline-block; margin-bottom: 18px; }

/* ---------- Buttons + inputs ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  padding: 11px 20px;
  border-radius: 14px;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: transform 80ms ease, box-shadow 80ms ease;
}
.btn:hover { background: var(--yellow); }
.btn:active:not(:disabled) { transform: translate(3px, 3px); box-shadow: none; }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn-primary { background: var(--blue); color: var(--accent-ink); }
.btn-primary:hover { background: #1E46E0; }
.btn-block { width: 100%; }
.btn-big { font-size: 22px; padding: 14px 30px; box-shadow: var(--shadow); }
.btn:focus-visible, .input:focus-visible, .vote:focus-visible, .story-card:focus-visible, .mini:focus-visible, .timer-pick select:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.input {
  width: 100%;
  font: inherit;
  font-size: 18px;
  padding: 12px 14px;
  border: var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  margin-bottom: 14px;
}
.input:focus { background: #FFFBEA; outline: none; }
.input-code, .input-code::placeholder { font-family: var(--display); }
.input-code { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; text-align: center; background: var(--yellow); }
.input-code:focus { background: var(--yellow); }
.input-word { font-family: var(--display); font-weight: 600; font-size: 26px; background: var(--yellow); }
.input-word:focus { background: var(--yellow); }
label { display: block; font-weight: 700; margin-bottom: 6px; }

.card {
  background: var(--surface);
  border: var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

/* ---------- Home ---------- */
.home-main { max-width: 860px; margin: 0 auto; padding: 48px 16px; }
.home-main h1 { font-size: clamp(32px, 5.5vw, 54px); }
.lede { font-size: 19px; color: var(--muted); max-width: 640px; }
.home-grid { display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 680px) { .home-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Landing page ---------- */
.landing { overflow-x: hidden; }
.lp-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
  border-bottom: var(--border);
  background: var(--surface);
}
.lp-bar .brand { text-decoration: none; }
.lp-nav { display: flex; gap: 20px; margin-left: auto; }
.lp-nav a { color: var(--ink); font-weight: 700; text-decoration: none; }
.lp-nav a:hover { text-decoration: underline; }
.lp-bar-cta { padding: 9px 16px; font-size: 16px; }
@media (max-width: 720px) { .lp-nav { display: none; } .lp-bar-cta { margin-left: auto; } }

.lp-hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .lp-hero { grid-template-columns: 1.4fr 1fr; padding-top: 72px; }
  .lp-join { order: 2; }
}
.lp-pitch h1 { font-size: clamp(36px, 5.6vw, 64px); margin-bottom: 18px; }
.lp-lede { font-size: 20px; color: var(--muted); max-width: 600px; }
.lp-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.lp-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lp-trust li {
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--surface);
}
.lp-join {
  background: var(--yellow);
  border: var(--border);
  box-shadow: var(--shadow-lg);
  border-radius: 24px;
  padding: 26px 24px 28px;
  transform: rotate(1.5deg);
}
.lp-join h2 { font-size: 30px; margin-bottom: 6px; }
.lp-join label { font-weight: 600; }
.lp-join .input-code { background: var(--surface); }
.lp-join .input-code:focus { background: var(--surface); }

.lp-show {
  max-width: 1160px;
  margin: 16px auto 0;
  padding: 0 24px;
  position: relative;
}
.lp-show figure { margin: 0; }
.lp-show img { display: block; width: 100%; height: auto; }
.lp-show figcaption { font-size: 15px; font-weight: 700; margin-top: 12px; }
.lp-screen img { border: var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); }
.lp-screen { width: 82%; }
.lp-phone {
  position: absolute;
  right: 24px;
  bottom: -40px;
  width: 22%;
  min-width: 150px;
}
.lp-phone img {
  border: 6px solid var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 390 / 600;
  object-fit: cover;
  object-position: top;
  transform: rotate(3deg);
  background: var(--bg);
}
@media (max-width: 720px) {
  .lp-screen { width: 100%; }
  .lp-phone { position: static; width: 62%; margin: 28px auto 0; }
}

.lp-section { max-width: 1160px; margin: 0 auto; padding: 88px 24px 0; }
.lp-section > h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 28px; }
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
@media (min-width: 820px) { .lp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lp-step {
  background: var(--surface);
  border: var(--border);
  box-shadow: var(--shadow);
  border-radius: 20px;
  padding: 22px;
}
.lp-step h3 { font-size: 22px; margin: 12px 0 8px; }
.lp-step p { color: var(--muted); margin: 0; }
.lp-step-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: var(--border);
  border-radius: 12px;
  background: var(--yellow);
}
.lp-steps .lp-step:nth-child(2) .lp-step-num { background: var(--blue); color: #FFFFFF; }
.lp-steps .lp-step:nth-child(3) .lp-step-num { background: var(--green); color: #FFFFFF; }

.lp-sample .story { font-size: clamp(20px, 2.3vw, 28px); }

.lp-features { display: grid; gap: 22px; }
@media (min-width: 820px) { .lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lp-feature {
  border: var(--border);
  border-radius: 20px;
  padding: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.lp-features .lp-feature:nth-child(1) { background: var(--accent-soft); }
.lp-features .lp-feature:nth-child(2) { background: #FFF4C4; }
.lp-features .lp-feature:nth-child(3) { background: var(--good-soft); }
.lp-features .lp-feature:nth-child(4) { background: #FFE3DC; }
.lp-feature h3 { font-size: 22px; }
.lp-feature p { margin: 0; }

.lp-faq details {
  border: var(--border);
  border-radius: 16px;
  background: var(--surface);
  padding: 14px 18px;
  margin-bottom: 12px;
}
.lp-faq summary { font-family: var(--display); font-weight: 700; font-size: 19px; cursor: pointer; }
.lp-faq details p { margin: 10px 0 0; color: var(--muted); }

.lp-final { text-align: center; padding: 96px 24px 72px; }
.lp-final h2 { font-size: clamp(32px, 4.5vw, 52px); }
.lp-footer {
  border-top: var(--border);
  background: var(--surface);
  padding: 28px 24px 36px;
  text-align: center;
}
.lp-footer p { margin: 0 0 8px; }
.lp-footer a { color: var(--ink); font-weight: 700; }

/* ---------- Host ---------- */
.host-bar, .player-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  border-bottom: var(--border);
  background: var(--surface);
}
.host-join { margin-left: auto; font-size: 18px; font-weight: 600; }
.code-chip {
  font-family: var(--display);
  background: var(--yellow);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  padding: 0 10px;
  border-radius: 8px;
  letter-spacing: 0.12em;
}
.conn { background: var(--bad-soft); color: var(--bad); border: 2px solid var(--bad); font-weight: 800; padding: 3px 10px; border-radius: 8px; font-size: 14px; }
.conn-player { margin: 12px 16px 0; text-align: center; }
.host-main { max-width: 1240px; margin: 0 auto; padding: 32px 24px 64px; }

.lobby { display: grid; gap: 32px; }
@media (min-width: 980px) { .lobby { grid-template-columns: 400px 1fr; align-items: start; } }
.join-panel {
  background: var(--surface);
  border: var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.join-url { font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1.15; margin-bottom: 18px; overflow-wrap: normal; }
.wait-check { font-size: 22px; font-weight: 800; margin: 0 0 14px; }
.big-code {
  font-family: var(--display);
  font-size: 88px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  background: var(--yellow);
  border: var(--border);
  box-shadow: var(--shadow);
  border-radius: 20px;
  padding: 18px 8px 20px 20px;
  margin: 0 0 24px;
  transform: rotate(-1.5deg);
}
.players-title { font-size: 22px; margin-top: 8px; }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 5px 8px 5px 14px;
  font-weight: 700;
  font-size: 17px;
}
.chips .chip:nth-child(4n+1) { background: var(--accent-soft); }
.chips .chip:nth-child(4n+2) { background: #FFF4C4; }
.chips .chip:nth-child(4n+3) { background: var(--good-soft); }
.chips .chip:nth-child(4n+4) { background: #FFE3DC; }
.chips .chip.is-done { background: var(--ink); color: #FFFFFF; }
.chip.is-away { opacity: 0.45; }
.tick { font-weight: 800; padding-right: 6px; }
.chip-x { border: none; background: none; font-size: 20px; line-height: 1; cursor: pointer; color: inherit; padding: 0 6px; }
.chip-x:hover { color: var(--bad); }

.story-panel h2 { font-size: 28px; }
.story-grid { display: grid; gap: 16px; margin-bottom: 24px; }
@media (min-width: 640px) { .story-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1240px) { .story-grid { grid-template-columns: 1fr 1fr 1fr; } }
.story-card {
  text-align: left;
  font: inherit;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: 16px;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.story-card:hover { background: #FFFBEA; }
.story-card.is-chosen { background: var(--yellow); box-shadow: var(--shadow); }
.story-meta { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.story-card.is-chosen .story-meta, .story-card.is-chosen .story-theme { color: var(--ink); }
.story-title { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.story-theme { font-size: 14px; color: var(--muted); }

.stage { text-align: center; max-width: 1080px; margin: 0 auto; }
.round { font-weight: 700; color: var(--muted); font-size: 18px; }
.prompt { font-size: clamp(52px, 8vw, 100px); margin: 16px 0 8px; }
.prompt-sm { font-size: clamp(32px, 4.2vw, 54px); }
.hint { font-size: 22px; color: var(--muted); }
.progress { font-size: 22px; font-weight: 800; margin: 24px 0 14px; }
.stage-actions { margin-top: 32px; }

/* Vote options are word stickers in four colors. */
.options { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.option {
  border: var(--border);
  border-radius: 20px;
  padding: 26px 14px 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface);
  color: var(--ink);
}
.option:nth-child(4n+1) { background: var(--blue); color: #FFFFFF; transform: rotate(-1.5deg); }
.option:nth-child(4n+2) { background: var(--yellow); transform: rotate(1.2deg); }
.option:nth-child(4n+3) { background: var(--surface); transform: rotate(-0.8deg); }
.option:nth-child(4n+4) { background: var(--green); color: #FFFFFF; transform: rotate(1.6deg); }
.option-word { font-family: var(--display); font-size: 42px; font-weight: 700; letter-spacing: -0.02em; word-break: break-word; }
.option-tools { display: flex; gap: 8px; justify-content: center; }
.mini {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  border: 2px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 4px 11px;
  cursor: pointer;
}
.mini:hover { background: var(--yellow); }
.mini-danger:hover { background: var(--bad); color: #FFFFFF; }

.winner {
  font-family: var(--display);
  font-size: clamp(60px, 10vw, 124px);
  font-weight: 700;
  letter-spacing: -0.03em;
  display: inline-block;
  background: var(--yellow);
  border: var(--border);
  box-shadow: var(--shadow-lg);
  border-radius: 26px;
  padding: 2px 34px 12px;
  margin: 10px 0 18px;
  word-break: break-word;
  transform: rotate(-2deg);
}
.by { font-size: 22px; font-weight: 700; }
.also { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; font-size: 18px; margin-top: 18px; }
.result-board { max-width: 440px; margin: 28px auto 0; }

.board { padding: 0; margin: 0; list-style: none; counter-reset: rank; text-align: left; }
.board li {
  counter-increment: rank;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  background: var(--surface);
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
}
.board li:first-child { background: var(--yellow); box-shadow: var(--shadow-sm); }
.board li::before { content: counter(rank); font-family: var(--display); font-weight: 700; width: 1.6em; }
.board li span { flex: 1; }

.reveal { max-width: 980px; margin: 0 auto; }
.reveal h1 { font-size: clamp(36px, 5.5vw, 60px); }
.story {
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.8;
  background: var(--surface);
  border: var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.filled {
  font-family: var(--display);
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 0 7px 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.reveal-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0 40px; }

/* ---------- Player ---------- */
.player-bar { padding: 12px 16px; }
.me { margin-left: auto; font-weight: 700; font-size: 14px; text-align: right; }
.player-main { max-width: 520px; margin: 0 auto; padding: 22px 16px 48px; }
.player .card h1 { font-size: 30px; }
.prompt-label { font-family: var(--display); font-size: 36px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; text-align: center; margin: 8px 0; }
.player form.card .eyebrow, .player form.card .muted { text-align: center; }
.my-word {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  background: var(--yellow);
  border: var(--border);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 4px 14px 8px;
  word-break: break-word;
  display: inline-block;
  transform: rotate(-1.5deg);
  margin: 6px 0 16px;
}
.vote-title { text-align: center; }
.vote-list { display: grid; gap: 12px; margin: 16px 0; }
.vote {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  padding: 15px;
  border-radius: 16px;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  word-break: break-word;
}
.vote:hover:not(:disabled) { background: #FFFBEA; }
.vote.is-picked { background: var(--blue); color: #FFFFFF; box-shadow: var(--shadow); }
.vote:disabled { opacity: 0.55; cursor: default; box-shadow: none; }
.yours { font-family: Inter, sans-serif; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-left: 6px; }
.join-form h1 { text-align: center; }

/* ---------- Teacher phone + pairing ---------- */
.banner { max-width: 1240px; margin: 18px auto 0; padding: 0 24px; display: grid; gap: 10px; }
.banner-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border: var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 18px;
  font-weight: 600;
}
.banner-warn { background: var(--bad-soft); }
.banner-tools { display: flex; gap: 10px; }
.phone-box {
  background: var(--surface);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 20px;
}
.phone-box p { margin-bottom: 8px; }
.toggle { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; cursor: pointer; margin: 12px 0; }
.toggle input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--blue); flex: none; }
.pair-code {
  font-family: var(--display);
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: var(--yellow);
  border: var(--border);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 2px 12px 6px 22px;
  display: inline-block;
}
.t-h2 { font-size: 20px; margin-top: 18px; }
.subs { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; gap: 10px; }
.sub {
  display: flex;
  flex-wrap: wrap; /* the buttons drop below a long word instead of splitting it */
  align-items: center;
  justify-content: space-between;
  gap: 8px 10px;
  padding: 10px 12px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--surface);
}
.sub.is-waiting { background: #FFF4C4; box-shadow: var(--shadow-sm); }
.sub.is-approved { background: var(--good-soft); }
.sub.is-sent-back { opacity: 0.55; }
.sub.is-away { opacity: 0.5; }
.sub-text { display: flex; flex-direction: column; flex: 1 1 120px; min-width: 0; overflow-wrap: anywhere; }
.sub-text strong { font-family: var(--display); font-size: 20px; }
.sub-tools { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; align-items: center; flex: none; }
.sub-ok { font-size: 13px; font-weight: 800; color: var(--good); }
.mini-good { background: var(--good); color: #FFFFFF; }
.mini-good:hover { background: #0D6A4E; color: #FFFFFF; }
.teach .mini { font-size: 14px; padding: 7px 13px; }
.check-line { font-size: 14px; font-weight: 700; color: var(--muted); margin: 0 0 10px; }
/* The phone's main action stays on screen however long the word list gets. */
.sticky-action {
  position: sticky;
  bottom: 0;
  background: var(--surface);
  padding: 10px 0 6px;
  margin: 8px 0 -6px;
  z-index: 1;
}
.sticky-action .fine { margin: 0 0 8px; }

/* ---------- Join QR + round timer ---------- */
.join-qr {
  width: 200px;
  margin: 0 auto 4px;
  background: #FFFFFF;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 14px;
  padding: 6px;
}
.join-qr svg { display: block; width: 100%; height: auto; }
.timer-pick { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; margin: 8px 0 0; flex-wrap: wrap; }
.timer-pick select { font: inherit; font-size: 15px; font-weight: 700; padding: 6px 10px; border: 2px solid var(--ink); border-radius: 10px; background: var(--surface); color: var(--ink); }
.clock-row { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 8px 0; }
.clock {
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 46px;
  line-height: 1;
  background: var(--ink);
  color: #FFFFFF;
  border: var(--border);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 6px 20px 10px;
}
.clock.is-low { background: var(--pop); }
.clock-row-sm .clock, .clock-player { font-size: 26px; padding: 4px 14px 7px; box-shadow: var(--shadow-sm); border-radius: 12px; }
.clock-player { display: table; margin: 4px auto 10px; }
.times-up { font-size: 22px; font-weight: 800; color: var(--bad); }
.teach .times-up { font-size: 16px; }
