:root {
  --bg: #F5F2EB;
  --surface: #FFFFFF;
  --surface-2: #FAF8F3;
  --ink: #1F1D1A;
  --ink-2: #5B574F;
  --ink-3: #6E6A62; /* 4.5:1+ on cream and white (WCAG AA small text) */
  --line: rgba(31, 29, 26, .10);
  --line-2: rgba(31, 29, 26, .22);
  --ocean: #FCFBF8;
  --land: #E6E1D6;
  --accent: #E0562F;
  --teal-strong: #1F7F8C; /* palette teal, darkened so white text passes contrast */
  --good: #277953; /* 4.5:1+ on cream and white */
  --warn: #A4432A;
  --font-display: "Fraunces", Georgia, serif;
  --font-word: "Literata", "Noto Serif", Georgia, serif;
  --font-ui: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
  --ad-gap: 150px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 var(--font-ui);
  overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

/* Top bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px var(--gutter);
  max-width: 1440px;
  margin: 0 auto;
}
/* Wordmark: "polyglotle" in Fraunces with both o's drawn as coloured globes. */
.logo {
  display: inline-block;
  font: 600 27px/1 var(--font-display);
  letter-spacing: -.02em;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink);
}
.logo-o { display: inline-block; width: .46em; height: .46em; margin: 0 .02em; vertical-align: -.01em; } /* the size of Fraunces' o: -0.01em to 0.451em */
@media (max-width: 520px) { .logo { font-size: 23px; } }
/* Back to the Everythingle hub: its "le" tile, the same as the site icon. */
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-text { min-width: 0; }
.hub-link { flex: none; display: inline-flex; align-items: center; gap: 5px; color: var(--ink-3); text-decoration: none; }
.hub-back { width: 8px; height: 14px; transition: transform .15s; }
.hub-tile {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  padding-bottom: 3px;
  border-radius: 8px;
  background: #2AA0B0;
  color: #fff;
  font: 600 19px/1 var(--font-display);
  letter-spacing: -.03em;
  transition: background .15s;
}
.hub-link:hover { color: var(--ink); }
.hub-link:hover .hub-back { transform: translateX(-2px); }
.hub-link:hover .hub-tile { background: #23899A; }
.hub-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.issue { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; flex: none; align-items: center; gap: 16px; font-size: 13px; }
.nav a, .nav button { background: none; border: 0; padding: 4px 0; text-decoration: none; color: var(--ink); }
.nav a:hover, .nav button:hover { text-decoration: underline; text-underline-offset: 3px; }
.nav-help i {
  display: none;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line-2);
  font-style: normal; line-height: 24px; text-align: center;
}
.coffee-top { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); }
@media (max-width: 520px) {
  .nav { gap: 12px; }
  .brand { gap: 10px; }
  .issue { font-size: 10px; letter-spacing: .1em; }
  .issue-arch { display: none; }
  .nav-help span { display: none; }
  .nav-help i { display: inline-block; }
}

/* Ad spots: fixed size per screen width so the page never jumps */
.ad-band { display: flex; justify-content: center; padding: 8px var(--gutter); }
.ad-band--top { margin-bottom: 8px; }
.ad-band--bottom { margin: 40px 0; }
.ad-slot { flex: none; position: relative; max-width: 100%; }
.ad-slot ins { display: block; width: 100%; height: 100%; }
.ad-slot.is-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed var(--line-2);
  border-radius: 8px;
  background: rgba(31, 29, 26, .035);
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ad-slot.is-placeholder::after { content: "Ad · " var(--ad-label); }

.ad-slot[data-spot="top"] { width: 320px; height: 100px; --ad-label: "320 × 100"; }
.ad-slot[data-spot="bottom"] { width: 300px; height: 250px; --ad-label: "300 × 250"; }
.ad-slot--inline { width: 300px; height: 250px; --ad-label: "300 × 250"; }
.ad-slot--rail { width: 160px; height: 600px; --ad-label: "160 × 600"; }
@media (min-width: 768px) {
  .ad-slot[data-spot="top"], .ad-slot[data-spot="bottom"] { width: 728px; height: 90px; --ad-label: "728 × 90"; }
}
@media (min-width: 1280px) {
  .ad-slot[data-spot="top"] { width: 970px; height: 90px; --ad-label: "970 × 90"; }
}
@media (min-width: 1440px) {
  .ad-slot--rail { width: 300px; --ad-label: "300 × 600"; }
}
.ad-inline { display: flex; justify-content: center; padding: 0 var(--gutter); margin: 24px 0 8px; }

/* Live site before AdSense ids are in: hide the empty spots (ads.js sets these classes). */
.no-ad-top .ad-band--top, .no-ad-bottom .ad-band--bottom, .no-ad-middle .rail, .no-ad-middle .ad-inline { display: none; }
@media (min-width: 1280px) { .no-ad-middle .stage { display: block; } }

/* Stage: rail + game */
.stage { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.rail { display: none; }
@media (min-width: 1280px) {
  .stage { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--ad-gap); align-items: start; padding: 0 24px; }
  .rail { display: block; position: sticky; top: 24px; }
  .ad-inline { display: none; }
}

.game { min-width: 0; }
.status {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  min-height: 40px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-2);
}
.dots { display: flex; gap: 8px; }
.dots i {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1.5px solid var(--line-2);
  display: inline-grid; place-items: center;
}
.dots i.current { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224, 86, 47, .18); }
.dots i.solved { background: var(--c); border-color: var(--c); }
.dots i.missed { background: var(--surface); border-color: var(--ink-3); }
.dots i.missed::after { content: ""; width: 8px; height: 1.5px; background: var(--ink-3); transform: rotate(-45deg); }
.xp-now { font: 600 22px/1 var(--font-ui); color: var(--ink); font-variant-numeric: tabular-nums; }
.xp-now small { font-size: 12px; font-weight: 500; color: var(--ink-3); margin-left: 3px; }
.status .today b { color: var(--ink); font-variant-numeric: tabular-nums; }

.ghost-title {
  margin: 4px 0 22px;
  text-align: center;
  font: 400 clamp(44px, 8.4vw, 120px)/1 var(--font-display);
  letter-spacing: -.02em;
  color: rgba(31, 29, 26, .07);
  user-select: none;
}

.play { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; justify-items: center; }
/* One column: the word and the typing box come first, the globe follows. */
@media (max-width: 959px) {
  .panel { order: -1; }
}
@media (max-width: 767px) {
  .ad-band--top { margin-bottom: 0; }
  .status { margin-top: 30px; }
  .ghost-title { font-size: 40px; margin: 14px 0 28px; }
}
@media (min-width: 960px) {
  .play { grid-template-columns: minmax(300px, 440px) minmax(340px, 400px); justify-content: center; align-items: start; gap: 48px; }
}

/* Globe */
.globe-col { width: 100%; max-width: 250px; }
@media (min-width: 600px) { .globe-col { max-width: 340px; } }
@media (min-width: 960px) { .globe-col { max-width: 440px; position: sticky; top: 24px; } }
.globe-wrap { position: relative; width: 100%; aspect-ratio: 1; }
.globe-wrap svg { position: relative; z-index: 1; display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.globe-wrap svg:active { cursor: grabbing; }
.globe-shadow {
  position: absolute; left: 18%; right: 18%; bottom: -22px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31, 29, 26, .16), rgba(31, 29, 26, 0));
}
.globe-hint { margin: 30px 0 0; text-align: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.g-sphere { fill: var(--ocean); stroke: rgba(31, 29, 26, .28); stroke-width: 1; }
.g-grat { fill: none; stroke: rgba(31, 29, 26, .07); stroke-width: .6; }
.g-land { fill: var(--land); stroke: #fff; stroke-width: .5; transition: fill .5s ease; }
.g-marker { stroke: #fff; stroke-width: 1.5; }
.g-pulse { fill: none; stroke-width: 2; animation: pulse 1.6s ease-out 2; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { from { opacity: .9; transform: scale(.6); } to { opacity: 0; transform: scale(2.6); } }
@media (prefers-reduced-motion: reduce) { .g-pulse { animation: none; opacity: 0; } }

/* Panel */
.panel {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border-radius: 22px;
  padding: 20px 20px 18px;
  box-shadow: 0 1px 2px rgba(31, 29, 26, .05), 0 24px 48px -28px rgba(31, 29, 26, .35);
}
.panel-loading { margin: 0; color: var(--ink-3); font-size: 14px; }
.panel-head { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.panel-head .xp-chip { color: var(--ink); letter-spacing: .06em; font-weight: 600; font-variant-numeric: tabular-nums; }

.hint {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 7px;
  margin: 12px 0 0; padding: 8px 12px;
  border-radius: 12px; background: var(--surface-2);
  font-size: 14px; color: var(--ink-2);
}
.hint svg { color: var(--accent); flex: none; }
.hint span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.hint b { font-weight: 600; color: var(--ink); }
.hint i { font-style: normal; color: var(--ink-3); }
.hint i::before { content: "· "; }
.lang-card { margin: 16px 0 12px; padding: 4px 0 6px 14px; border-left: 4px solid var(--c); border-radius: 0; }
.lang-meta { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.lang-num {
  font: 600 11px/1 var(--font-ui); letter-spacing: .04em;
  padding: 4px 7px; border-radius: 999px;
  background: color-mix(in srgb, var(--c) 18%, #fff);
  color: color-mix(in srgb, var(--c) 55%, #000);
}
.speak {
  margin-left: auto;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-2); background: none;
  display: inline-grid; place-items: center; color: var(--ink-2);
}
.speak:hover { color: var(--ink); border-color: var(--ink-3); }
.native { text-align: left; margin-top: 6px; font: 500 clamp(34px, 9vw, 46px)/1.15 var(--font-word); overflow-wrap: anywhere; }
.roman { font: italic 400 19px/1.3 var(--font-display); color: var(--ink-2); margin-top: 2px; }

.earlier { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 5px 10px 5px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--c) 13%, #fff);
  font-size: 13px; line-height: 1.3;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); align-self: center; flex: none; }
.chip .chip-lang { color: var(--ink-3); font-size: 11px; letter-spacing: .06em; }
.chip .chip-word { font-family: var(--font-word); }
.chip .chip-roman { font: italic 13px var(--font-display); color: var(--ink-2); }

/* Letter boxes: one per letter, filled as you type, with the count spelled out. */
.tiles-wrap { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px; margin: 18px 0 12px; }
.tiles { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 34px)); gap: 6px; }
.tiles span {
  height: 40px;
  display: grid; place-items: center;
  border: 1.5px solid var(--line-2); border-radius: 8px;
  background: var(--surface-2);
  font: 600 18px/1 var(--font-ui); color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.tiles span.filled { border-color: var(--ink); background: #fff; }
.tiles.over span { border-color: var(--warn); }
.tiles-count { margin: 0; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.tiles-count b { color: var(--ink); font-size: 15px; }
.tiles-count.over { color: var(--warn); }

.guess { display: flex; gap: 8px; }
.guess input {
  flex: 1; min-width: 0; height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--surface-2);
  font: 500 17px var(--font-ui); color: var(--ink);
  scroll-margin-bottom: 120px;
}
.guess input:focus { outline: 2px solid var(--accent); outline-offset: 1px; background: #fff; }
.btn-primary {
  height: 48px; padding: 0 20px;
  border: 0; border-radius: 12px;
  background: var(--ink); color: #fff;
  font: 600 15px var(--font-ui);
}
.btn-primary:hover { background: #33302b; }
.btn-primary.wide { width: 100%; }
.shake { animation: shake .35s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.feedback { min-height: 22px; margin: 8px 2px 0; font-size: 14px; color: var(--ink-2); }
.feedback[data-tone="warn"] { color: var(--warn); }
.feedback[data-tone="bad"] { color: var(--warn); font-weight: 500; }
.feedback .suggest {
  border: 0; background: none; padding: 0;
  font-weight: 700; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.feedback .alts { color: var(--ink-3); }
.feedback .alts button { border: 0; background: none; padding: 0; color: var(--ink-2); text-decoration: underline; }

.actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: none;
  font: 500 14px var(--font-ui);
}
.pill:hover { border-color: var(--ink-3); background: var(--surface-2); }
.pill .cost { color: #C24A28; font-weight: 600; font-variant-numeric: tabular-nums; } /* the accent, darkened to 4.6:1+ for small text */
.linkish { border: 0; background: none; padding: 4px 0; color: var(--ink-3); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.tried { margin: 10px 0 0; font-size: 12px; color: var(--ink-3); }
.tried s { color: var(--ink-2); }

/* Reveal and results */
.verdict { margin: 14px 0 0; font-size: 14px; color: var(--ink-2); }
.verdict b { color: var(--good); }
.verdict.missed b { color: var(--warn); }
.answer { margin: 2px 0 14px; font: 600 44px/1.1 var(--font-display); letter-spacing: -.01em; }
.all-langs { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 2px; }
.all-langs li { display: grid; grid-template-columns: 10px 92px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.all-langs li:last-child { border-bottom: 0; }
.all-langs .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); align-self: center; }
.all-langs .l { color: var(--ink-3); font-size: 12px; }
.all-langs .w { font-family: var(--font-word); overflow-wrap: anywhere; }
.all-langs .w em { font: italic 13px var(--font-display); color: var(--ink-2); margin-left: 6px; }
.all-langs li.unseen { opacity: .55; }
.fact { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.fact span { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }

.total { margin: 14px 0 4px; display: flex; align-items: baseline; gap: 8px; }
.total strong { font: 600 46px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.total span { color: var(--ink-3); font-size: 15px; }
.results { list-style: none; margin: 14px 0 16px; padding: 0; }
.results li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.results li:last-child { border-bottom: 0; }
.results .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.results .dot.missed { background: var(--surface); border: 1.5px solid var(--ink-3); }
.results .word { font: 600 18px var(--font-display); }
.results .meta { display: block; font-size: 12px; color: var(--ink-3); }
.results .pts { font-weight: 600; font-variant-numeric: tabular-nums; }
.results .pts.missed { color: var(--ink-3); font-weight: 500; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 0; text-align: center; }
.mini-stats div { padding: 10px 4px; border-radius: 12px; background: var(--surface-2); }
.mini-stats b { display: block; font: 600 20px var(--font-ui); }
.mini-stats span { font-size: 11px; color: var(--ink-3); letter-spacing: .06em; }
.next-in { margin: 16px 0 0; text-align: center; font-size: 13px; color: var(--ink-2); }
.next-in b { font-variant-numeric: tabular-nums; color: var(--ink); }
.coffee-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px; padding: 11px 14px; border-radius: 12px;
  background: color-mix(in srgb, var(--c3, #E3A33A) 18%, #fff);
  text-decoration: none; font-weight: 500; font-size: 14px;
}
/* Results-screen pair: "Play past days" filled, "Stats" the same shape but quieter. */
.panel-links { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 8px; margin-top: 12px; }
.btn-fill, .btn-soft {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 46px; padding: 0 12px; border-radius: 12px;
  font: 600 14px var(--font-ui); text-decoration: none; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease;
}
.btn-fill { background: var(--teal-strong); border: 1.5px solid var(--teal-strong); color: #fff; }
.btn-fill:hover { background: #1A6C77; border-color: #1A6C77; }
.btn-soft { background: #fff; border: 1.5px solid color-mix(in srgb, var(--teal-strong) 40%, #fff); color: var(--teal-strong); }
.btn-soft:hover { background: color-mix(in srgb, var(--teal-strong) 8%, #fff); border-color: var(--teal-strong); }
.notice { margin: 14px 0 0; font-size: 15px; color: var(--ink-2); }

/* Text sections between game and lower ads */
.about { max-width: 640px; margin: 0 auto; padding: 0 var(--gutter); color: var(--ink-2); font-size: 15px; }
.about:first-of-type { margin-top: 96px; }
.about h2 { font: 400 24px/1.25 var(--font-display); color: var(--ink); margin: 0 0 8px; }
.about--scoring { margin-top: 40px; }
.about ul { margin: 0; padding-left: 20px; }
.credits { font-size: 12px; color: var(--ink-3); }
@media (min-width: 1280px) {
  .about:first-of-type { margin-top: 120px; }
}

.footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; padding: 0 var(--gutter) 40px; font-size: 13px; color: var(--ink-3); }
.footer a { color: var(--ink-2); }

/* Dialogs and toast */
.dialog {
  width: min(460px, calc(100vw - 32px));
  border: 0; border-radius: 22px; padding: 26px 24px 22px;
  background: var(--surface); color: var(--ink);
  box-shadow: 0 30px 80px -30px rgba(31, 29, 26, .5);
}
.dialog::backdrop { background: rgba(245, 242, 235, .72); backdrop-filter: blur(4px); }
.dialog h2 { font: 400 34px/1.1 var(--font-display); margin: 4px 0 14px; }
.dialog p, .dialog li { font-size: 15px; color: var(--ink-2); }
.dialog ul { padding-left: 20px; }
.dialog strong { color: var(--ink); }
.dialog .btn-primary { margin-top: 8px; }
.eyebrow { margin: 0; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); }
.dialog-close { position: absolute; top: 14px; right: 16px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: none; font-size: 22px; color: var(--ink-3); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; margin-bottom: 18px; }
.stat-grid b { display: block; font: 600 24px var(--font-ui); }
.stat-grid span { font-size: 11px; color: var(--ink-3); }
.hist { display: grid; gap: 6px; }
.hist div { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 8px; align-items: center; font-size: 12px; color: var(--ink-3); }
.hist i { display: block; height: 18px; min-width: 22px; border-radius: 6px; background: var(--c); color: #fff; font-style: normal; font-size: 11px; line-height: 18px; padding: 0 6px; text-align: right; font-weight: 600; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 20;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Archive page */
.archive { max-width: 640px; margin: 0 auto; padding: 0 var(--gutter); }
.archive h1 { font: 400 clamp(36px, 7vw, 56px)/1.05 var(--font-display); margin: 24px 0 6px; }
.archive > p { color: var(--ink-2); margin: 0 0 24px; }
.arch-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: 22px; box-shadow: 0 1px 2px rgba(31, 29, 26, .05), 0 24px 48px -28px rgba(31, 29, 26, .35); }
.arch-list a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 20px; text-decoration: none; border-bottom: 1px solid var(--line); }
.arch-list li:last-child a { border-bottom: 0; }
.arch-list a:hover { background: var(--surface-2); }
.arch-no { font: 600 18px var(--font-display); }
.arch-date { color: var(--ink-2); font-size: 14px; }
.arch-date small { display: block; color: var(--ink-3); font-size: 12px; }
.arch-score { font-weight: 600; font-variant-numeric: tabular-nums; font-size: 14px; }
.arch-score.todo { color: var(--accent); font-weight: 500; }

/* Privacy and 404 pages */
.legal { max-width: 680px; margin: 24px auto 64px; padding: 0 var(--gutter); color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.legal h1 { font: 400 clamp(34px, 6vw, 48px)/1.1 var(--font-display); color: var(--ink); margin: 0 0 6px; }
.legal h2 { font: 600 19px/1.3 var(--font-ui); color: var(--ink); margin: 32px 0 8px; }
.legal-updated { font-size: 13px; color: var(--ink-3); margin: 0 0 24px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--teal-strong); }

/* "Also today": links to the site's other games on the results screen */
.also:empty { display: none; }
.also { margin-top: 16px; }
.also-head { margin: 0 0 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.also-card {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 14px;
  border: 1px solid var(--line-2); background: var(--surface-2);
  color: var(--ink); text-decoration: none;
}
.also-card + .also-card { margin-top: 8px; }
.also-card:hover { border-color: var(--ink-3); background: #fff; }
.also-card img { display: block; width: 40px; height: 40px; }
.also-text b { display: block; font: 600 18px/1.2 var(--font-display); }
.also-text small { display: block; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.also-go { font-weight: 600; font-size: 14px; white-space: nowrap; }
.also-go.done { color: var(--good); }
.also-all { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--ink-2); }

/* Link to the feedback page under each revealed word */
.report { margin: 14px 0 0; text-align: center; font-size: 12.5px; }
.report a { color: var(--ink-3); text-underline-offset: 3px; }
.report a:hover { color: var(--ink); }
