/* Newsreader by Production Type (SIL Open Font License, see fonts/LICENSE-newsreader.txt).
   Variable: weight 200–800 and optical size 6–72. */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/newsreader-latin-opsz-normal.woff2) format('woff2-variations'), url(fonts/newsreader-latin-opsz-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/newsreader-latin-opsz-italic.woff2) format('woff2-variations'), url(fonts/newsreader-latin-opsz-italic.woff2) format('woff2');
}

:root {
  --paper: #f5f2ea;
  --ink: #1a1815;
  --soft: #6b655a;
  --faint: #cfc8b8;
  --red: #b3302a;
  --green: #2c6a4b;
  --del: rgba(179, 48, 42, 0.10);
  --ins: rgba(44, 106, 75, 0.12);
  color-scheme: light;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

[data-theme='dark'] {
  --paper: #141311;
  --ink: #ece7dc;
  --soft: #a39c8e;
  --faint: #3a3730;
  --red: #e0675d;
  --green: #6fbf93;
  --del: rgba(224, 103, 93, 0.14);
  --ins: rgba(111, 191, 147, 0.14);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 19px/1.5 var(--serif);
  font-optical-sizing: auto;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.wrap { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 28px; }

/* Small labels: the only sans on the page */
.label, .kicker, .counter, .fine, .lab-link, .edition {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft);
}

/* ---- Nameplate ---- */
.masthead { padding-top: 14px; }
.mast-top { display: flex; justify-content: space-between; align-items: baseline; }
.lab-link { text-decoration: none; }
.mast-right { display: flex; align-items: baseline; gap: 18px; }
.theme-toggle {
  appearance: none; background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft);
}
.theme-toggle:hover { color: var(--ink); }
.theme-toggle:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.lab-link:hover { color: var(--ink); }
.nameplate {
  display: block;
  margin: 6px 0 4px;
  text-align: center;
  font-size: clamp(30px, 4.6vw, 40px);
  font-weight: 640;
  font-variation-settings: 'opsz' 72;
  letter-spacing: -0.025em;
  line-height: 1;
  text-decoration: none;
}
.tagline { margin: 0 0 12px; text-align: center; font-style: italic; font-size: clamp(14px, 1.6vw, 16px); color: var(--soft); }
.rules { border-top: 2.5px solid var(--ink); border-bottom: 1px solid var(--ink); height: 5px; }

main.wrap { flex: 1; padding-top: clamp(40px, 8vh, 84px); padding-bottom: 72px; }

/* ---- Text buttons ---- */
.tbtn {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 1.5px solid currentColor;
  padding: 2px 0 3px;
  margin: 0;
  color: var(--ink);
  font: italic 400 26px/1.15 var(--serif);
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.tbtn:hover { color: var(--red); }
.tbtn:focus-visible, .choice:focus-visible, a:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; border-radius: 2px; }
.tbtn .arrow { font-style: normal; display: inline-block; transition: transform .15s; }
.tbtn:hover .arrow { transform: translateX(4px); }

/* ---- Intro ---- */
.intro h1, .archive-page h1 {
  margin: 14px 0 26px;
  font-size: clamp(56px, 11vw, 112px);
  font-weight: 300;
  font-variation-settings: 'opsz' 72;
  letter-spacing: -0.035em;
  line-height: 0.95;
}
.intro h1 em, .archive-page h1 em { font-weight: 400; color: var(--red); letter-spacing: -0.03em; }
.lede {
  max-width: 30em;
  margin: 0 0 40px;
  font-size: clamp(20px, 2.4vw, 23px);
  line-height: 1.45;
  text-wrap: pretty;
}
.fine { margin: 36px 0 0; font-weight: 500; letter-spacing: 0.06em; text-transform: none; font-size: 12.5px; }
.not-today, .played-note { margin: -16px 0 28px; font-style: italic; color: var(--soft); font-size: 19px; }
.streak { margin: 22px 0 0; font-style: italic; font-size: 18px; }
.streak:empty { display: none; }
.intro .actions { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: baseline; }
.earlier { margin-top: 56px; }
.earlier-list { list-style: none; margin: 0; padding: 0; }
.earlier-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--faint); font-size: 19px; }
.earlier-list a { font-style: italic; }
.earlier-list a:hover { color: var(--red); }
.er-score { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); }

kbd { font: 600 11px var(--sans); border: 1px solid var(--faint); border-radius: 3px; padding: 1px 5px; color: var(--ink); }

/* ---- Play ---- */
.topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.counter b { color: var(--ink); font-weight: 700; }
.is-final .counter b { color: var(--red); }
.is-final .topline { border-top: 2.5px solid var(--red); padding-top: 12px; }
.progress { display: flex; gap: 5px; }
.progress span { width: 18px; height: 2px; background: var(--faint); }
.progress span.now { background: var(--ink); height: 4px; }
.progress span.right { background: var(--green); }
.progress span.wrong { background: var(--red); }

.headline {
  margin: 0;
  max-width: 15.5em;
  font-size: clamp(38px, 6.6vw, 74px);
  font-weight: 560;
  font-variation-settings: 'opsz' 72;
  letter-spacing: -0.024em;
  line-height: 1.03;
  text-wrap: balance;
  hanging-punctuation: first;
}

.choices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}
.choice {
  appearance: none;
  background: none;
  border: 0;
  padding: 0 0 4px;
  color: var(--ink);
  font: italic 380 clamp(34px, 5vw, 46px)/1.1 var(--serif);
  letter-spacing: -0.01em;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color .12s, border-color .12s;
}
.choice:hover { border-color: currentColor; }
.choice.fake:hover { color: var(--red); }
.choice.real:hover { color: var(--green); }
.or { font-style: italic; color: var(--soft); font-size: 20px; }
.choices .fine { margin: 0 0 0 auto; align-self: center; }

.prompt { margin: 0 0 22px; font-style: italic; font-size: 21px; color: var(--soft); }
.keys { margin-top: 18px; }

/* Pair */
.pair { display: grid; border-top: 1px solid var(--ink); }
.opt {
  appearance: none; background: none; border: 0; border-bottom: 1px solid var(--faint);
  display: grid; grid-template-columns: 4.6em 1fr; align-items: baseline; gap: 14px;
  width: 100%; padding: 22px 0; text-align: left; color: var(--ink); cursor: pointer; font: inherit;
}
.opt-key { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.opt-text {
  font-size: clamp(26px, 4vw, 40px); font-weight: 540; font-variation-settings: 'opsz' 60;
  line-height: 1.1; letter-spacing: -0.018em; text-wrap: balance;
  text-decoration: underline 2px transparent; text-underline-offset: 0.14em; transition: text-decoration-color .12s;
}
.opt:hover:not(:disabled) .opt-text { text-decoration-color: currentColor; }
.opt:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.opt:disabled { cursor: default; }
.opt.is-real .opt-key { color: var(--green); }
.opt.is-fake .opt-key { color: var(--red); }
.opt.is-fake .opt-text { color: var(--soft); }
.opt.picked .opt-text { text-decoration-color: currentColor; }

/* Swap */
.swapline { max-width: none; }
.word {
  appearance: none; background: none; border: 0; padding: 0; margin: 0;
  font: inherit; letter-spacing: inherit; color: inherit; cursor: pointer;
  text-decoration: underline 2px transparent; text-underline-offset: 0.12em;
  transition: text-decoration-color .12s, color .12s;
}
.word:hover:not(:disabled) { text-decoration-color: var(--red); color: var(--red); }
.word:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.word:disabled { cursor: default; }
.word.picked-wrong { text-decoration: line-through 3px var(--soft); color: var(--soft); }
.word.swapped del { color: var(--red); text-decoration-thickness: 3px; font-style: italic; font-weight: 400; }
.word.swapped ins { color: var(--green); text-decoration: none; background: var(--ins); padding: 0 0.08em; }

/* Diff: our version over the real headline */
.diff { margin: 6px 0 26px; padding: 18px 0 2px; border-top: 1px solid var(--faint); }
.diff-label { margin: 0 0 4px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.diff-line {
  margin: 0 0 16px; font-size: clamp(22px, 3vw, 28px); font-weight: 520; line-height: 1.22;
  letter-spacing: -0.01em; font-variation-settings: 'opsz' 48; text-wrap: balance;
}
.diff-line.fake { color: var(--soft); }
.diff-line del { color: var(--red); text-decoration: line-through 2px; background: var(--del); padding: 0 0.06em; }
.diff-line ins { color: var(--green); text-decoration: none; background: var(--ins); padding: 0 0.06em; }
.diff figcaption { font-size: 17px; }
.sub-head { margin: 26px 0 6px; font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.mark.big { font: italic 400 clamp(38px, 5vw, 50px)/1.08 var(--serif); text-transform: none; letter-spacing: -0.01em; }

.question { margin: 30px 0 14px; color: var(--ink); font-size: 23px; }
.pair.detail .opt-text { font-size: clamp(22px, 3vw, 30px); }
.pair.detail .opt { padding: 16px 0; grid-template-columns: 2.4em 1fr; }

/* Why it matters */
.why { max-width: 34em; margin: 4px 0 22px; padding: 2px 0 2px 18px; border-left: 2.5px solid var(--ink); }
.why-label { margin: 0 0 4px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.why-text { margin: 0; font-size: 20px; line-height: 1.45; text-wrap: pretty; }

/* Reveal */
.reveal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--ink); animation: rise .3s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.verdict-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 18px; }
.stamp {
  font: italic 400 clamp(46px, 6.2vw, 60px)/1.02 var(--serif);
  letter-spacing: -0.015em;
}
.stamp.real { color: var(--green); }
.stamp.fake { color: var(--red); }
.mark { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.mark.right { color: var(--green); }
.mark.wrong { color: var(--red); }
.dateline {
  margin: 0 0 6px;
  font-size: 17px;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.07em;
  color: var(--soft);
}
.dateline b { color: var(--ink); font-weight: 600; }
.note { text-wrap: pretty; max-width: 31em; margin: 0 0 18px; font-size: 21px; line-height: 1.45; }
.based { max-width: 34em; margin: 0 0 18px; font-size: 17px; color: var(--soft); }
.based a { color: var(--ink); font-style: italic; }
.links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 22px; margin-bottom: 34px; }
.source-link { font-size: 19px; font-weight: 600; text-decoration-thickness: 1.5px; }
.source-link:hover, .based a:hover { color: var(--red); }
.archive { font-size: 15px; color: var(--soft); }
.next-row { display: flex; justify-content: flex-end; }

/* ---- Results ---- */
.score {
  display: flex; align-items: baseline; gap: 18px;
  margin: 34px 0 6px;
}
.score .num {
  font-size: clamp(120px, 22vw, 200px);
  font-weight: 250;
  font-variation-settings: 'opsz' 72;
  letter-spacing: -0.05em;
  line-height: 0.85;
  font-variant-numeric: lining-nums;
}
.score .of { font: italic 400 clamp(28px, 4vw, 40px)/1 var(--serif); color: var(--soft); }
.verdict { margin: 18px 0 22px; font: italic 400 clamp(24px, 3vw, 30px)/1.25 var(--serif); }
.squares { display: flex; gap: 6px; margin: 0 0 34px; }
.squares span { width: 7px; height: 30px; background: var(--red); }
.squares span.right { background: var(--green); }
.actions { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: baseline; }
.profile { max-width: 30em; margin: 0 0 34px; font-size: 21px; line-height: 1.4; text-wrap: pretty; }
.profile .swaps { color: var(--soft); }
.result-streak { margin-left: 10px; color: var(--red); }
.share-figure { margin: 0 0 26px; }
.share-figure img { display: block; width: min(340px, 100%); height: auto; border: 1px solid var(--faint); box-shadow: 0 1px 0 var(--faint); }
.share-note { margin: 16px 0 0; font-size: 15px; font-style: italic; color: var(--soft); min-height: 1.4em; }

.review-head {
  margin: 64px 0 0;
  padding: 10px 0 0;
  border-top: 2.5px solid var(--ink);
  font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.review { list-style: none; padding: 0; margin: 0; counter-reset: h; }
.review li {
  counter-increment: h;
  display: grid;
  grid-template-columns: 2.2em 1fr;
  gap: 2px 8px;
  align-items: baseline;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--faint);
}
.review li::before {
  content: counter(h);
  grid-column: 1;
  grid-row: 1 / span 5;
  font-size: 15px; color: var(--soft);
  font-variant-numeric: oldstyle-nums;
  padding-top: 5px;
}
.review .h { font-size: 23px; font-weight: 520; line-height: 1.2; letter-spacing: -0.01em; font-variation-settings: 'opsz' 36; }
.review .sub { grid-column: 2; font-size: 15px; color: var(--soft); }
.review .h { grid-column: 2; }
.review .h.quiet { color: var(--soft); font-size: 19px; margin-top: 8px; }
.review .kind { grid-column: 2; font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.review .kind:empty { display: none; }
.review .sub a { color: var(--ink); }
.review .tag { font-style: italic; }
.review .tag.real { color: var(--green); }
.review .tag.fake { color: var(--red); }
.review .missed { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-left: 6px; }

/* ---- Footer ---- */
.foot { padding-bottom: 36px; }
.foot p {
  text-wrap: pretty;
  margin: 0; padding-top: 14px; border-top: 1px solid var(--faint);
  max-width: 40em; font-size: 14.5px; font-style: italic; color: var(--soft);
}
.foot p.foot-studio { margin-top: 28px; padding-top: 0; border-top: 0; font-style: normal; }

/* ---- Archive ---- */
.archive-page .cal { margin-bottom: 44px; }

/* The ring behind the round (bgviz.js). Never takes clicks; the page sits above it. */
.bgviz { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 0.9s ease; }
.bgviz.play { opacity: 0.42; }
.bgviz.results { opacity: 0.6; }
@media (max-width: 760px) { .bgviz.play { opacity: 0.3; } .bgviz.results { opacity: 0.4; } }
.masthead, main.wrap, .foot { position: relative; z-index: 1; }
main.wrap { z-index: 2; } /* above the footer, so the floating Next button stays on top */

/* Countdown to 9:00 am Pacific */
.countdown { margin: -10px 0 26px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--soft); }
.countdown b { color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 650; letter-spacing: 0.04em; }
.countdown .cd-when { font-weight: 500; }
.results .countdown { margin: 22px 0 0; }

/* How everyone else did */
.everyone { margin: 6px 0 14px; font-style: italic; color: var(--soft); font-size: 17px; }
.compare { margin: -8px 0 18px; font-size: 21px; line-height: 1.4; max-width: 30em; }
.compare:empty { display: none; }

/* Where you're strongest */
.strengths { margin: 0 0 40px; }
.strength-lead { margin: 10px 0 14px; font-size: 21px; line-height: 1.4; max-width: 30em; }
.strength-rows { list-style: none; margin: 0; padding: 0; }
.strength-rows li { display: grid; grid-template-columns: minmax(9em, 1.2fr) minmax(120px, 2fr) 5.6em 4.5em 3.6em; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--faint); }
.sr-label { font-size: 18px; }
.sr-dashes { position: relative; display: flex; gap: 4px; }
.sr-dashes span { flex: 1; height: 2px; background: var(--faint); }
.sr-dashes span.on { background: var(--green); height: 4px; }
.sr-everyone { position: absolute; top: -7px; width: 1px; height: 16px; background: var(--ink); opacity: 0.7; }
.sr-num { font-family: var(--sans); font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sr-num small { font-weight: 500; color: var(--soft); font-size: 12px; }
.sr-today { display: flex; gap: 3px; }
.sr-today span { width: 4px; height: 14px; background: var(--red); }
.sr-today span.right { background: var(--green); }
.sr-time { font-family: var(--sans); font-size: 12.5px; color: var(--soft); text-align: right; font-variant-numeric: tabular-nums; }
.strengths .fine { margin-top: 12px; text-transform: none; letter-spacing: 0.02em; }
@media (max-width: 640px) {
  .strength-rows li { grid-template-columns: 1fr auto auto; grid-template-areas: "label num time" "dashes dashes today"; gap: 6px 12px; }
  .sr-label { grid-area: label; } .sr-num { grid-area: num; } .sr-time { grid-area: time; }
  .sr-dashes { grid-area: dashes; } .sr-today { grid-area: today; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .edition { display: none; }
  .mast-top { justify-content: flex-end; }
  .choices { gap: 6px 22px; }
  .choices .fine, .keys { display: none; }
  .mast-right { gap: 14px; }
  .opt { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .next-row { justify-content: flex-start; }
  .progress span { width: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .tbtn:hover .arrow { transform: none; }
}

/* Next sits at the right end of the verdict line, on the page's right edge */
.verdict-line .next { margin-left: auto; font-size: clamp(22px, 2.6vw, 28px); }

/* Sharing: small single-color icons */
.social { display: flex; gap: 6px; margin: 16px 0 0; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--soft);
  background: none; border: 1px solid var(--faint); padding: 0; cursor: pointer; transition: color .15s, border-color .15s; }
.icon-btn svg { width: 17px; height: 17px; fill: currentColor; }
.icon-btn:hover, .icon-btn:focus-visible { color: var(--ink); border-color: var(--ink); }

.demo-tag { font-style: normal; font-family: var(--sans); font-size: 11px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); margin-left: 6px; }

/* ---------- Phones: masthead in a menu, Next as a floating button ---------- */
.menu-btn, .menu { display: none; }
@media (max-width: 600px) {
  .masthead { display: grid; grid-template-columns: 1fr auto; align-items: center; padding-top: 12px; }
  .masthead .mast-top, .masthead .tagline { display: none; }
  .nameplate { grid-column: 1; text-align: left; margin: 0 0 10px; font-size: 30px; }
  .rules { grid-column: 1 / -1; }
  .menu-btn { display: grid; gap: 5px; align-content: center; justify-items: end; grid-column: 2; grid-row: 1; width: 44px; height: 44px; margin: 0 -8px 10px 0;
    background: none; border: 0; padding: 0 8px; cursor: pointer; color: var(--ink); }
  .menu-btn span { display: block; width: 22px; height: 1.5px; background: currentColor; }
  .menu-btn span:nth-child(2) { width: 16px; }

  .menu:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 50; background: rgba(20, 19, 17, 0.28); animation: fade .18s ease-out; }
  .menu-panel { background: var(--paper); border-bottom: 1px solid var(--ink); padding-top: 14px; padding-bottom: 22px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12); animation: drop .22s ease-out; }
  .menu-head { display: flex; justify-content: space-between; align-items: center; }
  .menu-name { font-size: 30px; font-weight: 640; font-variation-settings: 'opsz' 72; letter-spacing: -0.025em; }
  .menu-close { background: none; border: 0; padding: 10px 0; font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); cursor: pointer; }
  .menu-tagline { margin: 12px 0 4px; font-style: italic; font-size: 18px; color: var(--soft); }
  .menu-edition { margin: 0 0 14px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); }
  .menu-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--faint); }
  .menu-links li { border-bottom: 1px solid var(--faint); }
  .menu-links a, .menu-links button { display: block; width: 100%; text-align: left; padding: 14px 0; font: 400 21px/1.2 var(--serif); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; letter-spacing: 0; text-transform: none; }
  body.menu-open { overflow: hidden; }

  /* Next headline: a pill pinned to the bottom of the screen */
  .verdict-line .next { position: fixed; left: 20px; right: 20px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 30; margin: 0;
    display: flex; justify-content: center; align-items: center; gap: 8px; padding: 15px 20px; border: 0; border-radius: 999px;
    background: var(--ink); color: var(--paper); font-size: 21px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22); animation: lift .25s ease-out; }
  .verdict-line .next:hover { color: var(--paper); }
  body.answered main.wrap { padding-bottom: 110px; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes drop { from { transform: translateY(-14px); opacity: 0; } }
@keyframes lift { from { transform: translateY(16px); opacity: 0; } }

/* ---------- Your rounds: the calendar ---------- */
.cal { max-width: 460px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 10px; }
.cal-month { font-size: 21px; font-style: italic; }
.cal-nav { appearance: none; background: none; border: 0; font: 400 20px/1 var(--serif); color: var(--ink); width: 40px; height: 40px; cursor: pointer; }
.cal-nav:disabled { color: var(--faint); cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-wd { text-align: center; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: var(--soft); padding-bottom: 2px; }
.cal-day { aspect-ratio: 1; display: grid; place-items: center; align-content: center; gap: 1px; border-radius: 50%; text-decoration: none; position: relative; }
.cal-day b { font-family: var(--sans); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cal-day i { font-style: normal; font-family: var(--sans); font-size: 9.5px; font-weight: 600; letter-spacing: 0.02em; line-height: 1; }
.cal-day.none { color: var(--faint); }
.cal-day.open { border: 1.5px dashed var(--soft); color: var(--ink); }
.cal-day.open:hover { border-style: solid; border-color: var(--ink); }
.cal-day.played { background: #2f8f8b; color: #fff; }
[data-theme='dark'] .cal-day.played { background: #4fb3ac; color: #141311; }
.cal-day.played.late { background: none; border: 1.5px solid #2f8f8b; color: var(--ink); }
.cal-day.current { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }
.cal-note { margin: 12px 0 0; font-size: 17px; font-style: italic; color: var(--soft); }
.practice-note { margin: -10px 0 18px; font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.cal-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 12px 0 0; font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--soft); }
.cal-legend .lg { width: 11px; height: 11px; border-radius: 50%; display: inline-block; margin-left: 8px; }
.cal-legend .lg:first-child { margin-left: 0; }
.lg.played { background: #2f8f8b; } .lg.late { border: 1.5px solid #2f8f8b; } .lg.open { border: 1.5px dashed var(--soft); }

/* Inside the Sunday page (games/sunday/): only the question, no header, counter or footer */
.in-sunday .masthead, .in-sunday .foot, .in-sunday #counter, .in-sunday #progress { display: none !important; }
