:root {
  --paper: #E3E5DC;
  --ink: #0B0C1F;
  --ink-soft: #3A3C4E;
  --blue: #0093D6;
  --blue-text: #00629A;
  --yellow: #F6C700;
  --rule: 2px;
  --margin: 20px;
  --gutter: 14px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --face: "Switzer", "Helvetica Neue", Helvetica, sans-serif;
}
@media (min-width: 900px) {
  :root { --margin: 40px; --gutter: 24px; --rule: 3px; }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; scrollbar-color: var(--ink) var(--paper); }
body {
  font-family: var(--face);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.35;
  font-feature-settings: "tnum" 1;
  min-height: 100dvh;
}
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--blue-text); }

.field-blue { --field: var(--blue); --on-field: var(--ink); --mark: var(--blue); --crowd: var(--ink); }
.field-yellow { --field: var(--yellow); --on-field: var(--ink); --mark: var(--yellow); --crowd: var(--ink); }
.field-ink { --field: var(--ink); --on-field: var(--paper); --mark: var(--blue); --crowd: var(--blue); }

.game {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.loading { padding: var(--margin); font-weight: 600; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding-inline: var(--margin);
}
@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

.masthead {
  padding-block: 14px 12px;
  border-bottom: var(--rule) solid var(--ink);
  font-size: 13px;
  line-height: 1.25;
  view-transition-name: masthead;
}
.masthead > * { grid-column: span 4; }
.masthead .mark { font-weight: 700; font-size: 22px; letter-spacing: -0.03em; line-height: 1; text-transform: lowercase; }
.masthead .date, .masthead .count { display: none; }
.masthead-mobile { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mobile-only { text-align: right; }
.steps { display: flex; gap: 4px; align-items: center; }
.steps i { width: 10px; height: 10px; border: 2px solid var(--ink); display: block; transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out); }
.steps i.done { background: var(--ink); }
.steps i.now { background: var(--blue); border-color: var(--blue); }
@media (min-width: 900px) {
  .masthead { padding-block: 18px 16px; font-size: 14px; }
  .masthead-mobile { display: contents; }
  .masthead .mark { grid-column: 1 / span 3; font-size: 28px; }
  .masthead .date { display: block; grid-column: 4 / span 3; padding-top: 6px; }
  .masthead .count { display: block; grid-column: 7 / span 3; padding-top: 6px; }
  .masthead .steps { grid-column: 10 / span 3; justify-self: end; padding-top: 6px; }
  .masthead .mobile-only { display: none; }
}

.btn {
  grid-column: 1 / -1;
  appearance: none;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  min-height: 60px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.btn:hover { background: var(--blue); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 26px; height: 26px; flex: none; transition: transform .25s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

mark {
  color: inherit;
  background: linear-gradient(var(--yellow), var(--yellow)) 0 70% / 0 40% no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: 0.06em;
  margin-inline: -0.06em;
  animation: mark-in .7s var(--ease-out) calc(.2s + var(--order) * .18s) forwards;
}
@keyframes mark-in { to { background-size: 100% 40%; } }
.fact mark { --mark: var(--yellow); animation: none; background-position: 0 95%; background-size: 100% 34%; }

.intro { padding-block: 22px 28px; row-gap: 14px; align-content: start; }
.wordmark {
  grid-column: 1 / -1;
  font-weight: 700;
  font-size: clamp(96px, 29vw, 300px);
  line-height: 0.8;
  letter-spacing: -0.06em;
  text-transform: lowercase;
  margin-left: -0.05em;
  padding-bottom: 0.08em;
}
.tagline {
  grid-column: 1 / -1;
  font-weight: 700;
  font-size: clamp(40px, 11vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--blue-text);
}
.lede { grid-column: 1 / -1; font-size: 17px; font-weight: 500; line-height: 1.35; max-width: 42ch; }
.rules { grid-column: 1 / -1; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.intro .btn { margin-top: 6px; }
@media (min-width: 900px) {
  .intro { padding-block: 28px 32px; row-gap: 20px; align-items: end; }
  .wordmark { font-size: min(21vw, 250px); }
  .tagline { grid-column: 1 / span 7; font-size: min(6.6vw, 92px); }
  .lede { grid-column: 8 / span 5; font-size: 18px; }
  .rules { grid-column: 1 / span 6; }
  .intro .btn { grid-column: 10 / span 3; margin-top: 0; }
}

.lineup {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--rule) solid var(--ink);
  flex: 1;
  min-height: 260px;
}
.lineup li {
  position: relative;
  background: var(--field);
  color: var(--on-field);
  border-bottom: var(--rule) solid var(--ink);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 15px;
}
.lineup li + li { border-left: var(--rule) solid var(--ink); }
.lineup li:nth-child(4) { border-left: 0; }
.lineup .glyph {
  position: absolute;
  inset: 12% 18% 32%;
  width: 64%;
  height: 56%;
  fill: var(--on-field);
  animation: glyph-in .8s var(--ease-out) calc(.1s + var(--order) * .08s) both;
}
.lineup li.field-ink .glyph { fill: var(--blue); }
.lineup span { position: relative; }
@keyframes glyph-in { from { transform: translateY(40%) rotate(-12deg); opacity: 0; } }
@media (min-width: 900px) {
  .lineup { grid-template-columns: repeat(6, 1fr); min-height: 200px; }
  .lineup li:nth-child(4) { border-left: var(--rule) solid var(--ink); }
  .lineup li { font-size: 17px; padding: 12px 16px; }
}

.ask { padding-block: 28px 24px; }
.ask h1 {
  grid-column: 1 / -1;
  font-weight: 600;
  font-size: clamp(30px, 9.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.clock { display: none; }
@media (min-width: 900px) {
  .ask { padding-block: 40px 36px; }
  .ask h1 { grid-column: 1 / span 9; font-size: clamp(44px, 4.6vw, 72px); }
  .clock { display: block; grid-column: 10 / span 3; text-align: right; color: var(--blue-text); }
}
.clock-num { font-weight: 700; font-size: 168px; line-height: 0.78; letter-spacing: -0.05em; }
.clock-num small { font-size: 0.32em; letter-spacing: -0.02em; margin-left: 4px; }

.timer {
  background: var(--field);
  color: var(--on-field);
  padding-block: 16px;
  border-block: var(--rule) solid var(--ink);
}
.timer-row { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.timer-num { font-weight: 700; font-size: 56px; line-height: 0.8; letter-spacing: -0.05em; min-width: 2.2ch; }
.timer-num small { font-size: 0.4em; }
.cells { display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; height: 44px; }
.cells i { display: block; position: relative; background: color-mix(in srgb, var(--on-field) 18%, transparent); }
.cells i::before { content: ""; position: absolute; inset: 0; background: var(--on-field); transform-origin: left; transition: transform 1s linear; }
.cells i.gone::before { transform: scaleX(0); }
.cells.reset i::before { transition: none; }
.timer.low .cells i:not(.gone)::before { animation: pulse 1s steps(2, jump-none) infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }
@media (min-width: 900px) {
  .timer { padding-block: 22px; }
  .timer-row { grid-template-columns: 1fr; }
  .timer-num { display: none; }
  .cells { height: 72px; gap: 6px; }
}

.answer { padding-block: 26px 28px; align-content: start; row-gap: 18px; }
.field { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; }
.input-wrap { display: flex; align-items: baseline; gap: 12px; border-bottom: var(--rule) solid var(--ink); padding-bottom: 6px; }
.input-wrap input {
  font: inherit;
  font-weight: 700;
  font-size: 80px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
  background: transparent;
  border: 0;
  width: 100%;
  min-width: 0;
  caret-color: var(--blue);
  padding: 0;
}
.input-wrap input::placeholder { color: rgba(11, 12, 31, 0.42); }
.input-wrap input:focus { outline: none; }
.input-wrap:focus-within { border-color: var(--blue); }
.unit { font-size: 17px; font-weight: 600; text-align: right; }
@media (min-width: 900px) {
  .answer { padding-block: 32px 40px; }
  .field { grid-column: 1 / span 8; }
  .input-wrap input { font-size: 128px; }
  .unit { font-size: 22px; }
  .answer .btn { grid-column: 10 / span 3; align-self: end; }
}

.choices { row-gap: 0; padding-block: 0 28px; }
.option {
  grid-column: 1 / -1;
  appearance: none;
  border: 0;
  border-bottom: var(--rule) solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 16px 0;
  cursor: pointer;
  transition: background-color .15s, padding .25s var(--ease-out);
}
.option .letter {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: var(--rule) solid var(--ink);
  font-weight: 700;
  font-size: 18px;
}
.option .place { font-weight: 700; font-size: clamp(30px, 9vw, 56px); line-height: 1; letter-spacing: -0.04em; overflow-wrap: anywhere; }
.option svg { width: 30px; height: 30px; }
.option:hover { background: var(--blue); padding-inline: 14px; }
.option:hover .letter { background: var(--ink); color: var(--paper); }
@media (min-width: 900px) {
  .choices { padding-block: 0 40px; column-gap: 0; }
  .option { grid-column: span 6; min-height: 150px; padding: 24px var(--gutter) 24px 0; border-bottom: 0; }
  .option + .option { border-left: var(--rule) solid var(--ink); padding-left: var(--gutter); }
  .option:hover { padding-inline: var(--gutter); }
  .option .place { font-size: clamp(40px, 4.4vw, 64px); }
}

.poster-shape {
  position: absolute;
  z-index: -1;
  right: -12vw;
  bottom: -6vw;
  width: min(56vw, 300px);
  height: min(56vw, 300px);
  fill: var(--field);
  animation: shape-in 1s var(--ease-out) .1s both;
}
@keyframes shape-in { from { transform: translateY(30%) rotate(-18deg) scale(.8); } }
@media (min-width: 900px) {
  .poster-shape { right: 6%; bottom: -90px; width: 280px; height: 280px; }
}

.plate {
  position: relative;
  background: var(--field);
  color: var(--on-field);
  border-bottom: var(--rule) solid var(--ink);
  height: 280px;
  overflow: hidden;
}
@media (min-width: 900px) { .plate { height: clamp(300px, calc(100dvh - 470px), 520px); } }
.plate-label { position: absolute; top: 12px; left: var(--margin); font-size: 13px; font-weight: 600; z-index: 3; }
.plate.choice .plate-label { color: var(--paper); background: var(--ink); padding: 2px 6px; margin-left: -6px; }
.crowd-empty { position: absolute; inset: auto var(--margin) 24px; margin: 0; font-size: clamp(22px, 5vw, 34px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; color: var(--on-field); }
.crowd { position: absolute; inset: 0; }
.plate.waiting .crowd::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 40%;
  background: color-mix(in srgb, var(--crowd) 22%, transparent);
  animation: breathe 1.2s ease-in-out infinite alternate;
}
@keyframes breathe { to { opacity: 0.4; } }
.curve { position: absolute; inset: 0; width: 100%; height: 100%; display: block; clip-path: inset(0 100% 0 0); animation: wipe 1.4s var(--ease-out) .1s forwards; }
.curve .area { fill: var(--crowd); }
.hatch-line { stroke: var(--yellow); stroke-width: 3.5; }
.miss { fill: url(#hatch); }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }

.marker {
  position: absolute;
  bottom: 0;
  top: 40px;
  width: 0;
  z-index: 2;
  transform-origin: bottom;
  transform: scaleY(0);
  animation: rise .7s var(--ease-out) forwards;
}
.marker::before { content: ""; position: absolute; top: 0; bottom: 0; left: -2px; width: 4px; background: currentColor; }
.marker .tag { position: absolute; top: 0; white-space: nowrap; font-size: 13px; font-weight: 600; line-height: 1.15; padding: 6px 8px 7px; background: currentColor; }
.marker .tag.left { right: -2px; }
.marker .tag.right { left: -2px; }
.marker .tag span { color: var(--ink); display: block; }
.marker .tag b { color: var(--ink); font-size: 22px; font-weight: 700; letter-spacing: -0.03em; display: block; }
.marker.you { color: var(--yellow); animation-delay: 1s; }
.marker.real { color: var(--paper); animation-delay: 1.25s; }
.marker.drop .tag { top: 58px; }
@keyframes rise { to { transform: scaleY(1); } }
.gap-label {
  position: absolute;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 3;
  background: var(--ink);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 8px 6px;
  white-space: nowrap;
  opacity: 0;
  animation: fade .5s ease-out 1.6s forwards;
}
.field-ink .gap-label { background: var(--yellow); color: var(--ink); }

.axis { position: relative; height: 26px; border-bottom: var(--rule) solid var(--ink); font-size: 12px; color: var(--ink-soft); overflow: hidden; }
.axis span { position: absolute; top: 5px; transform: translateX(-50%); white-space: nowrap; }

.shares { display: grid; grid-template-rows: 1fr auto; height: 100%; color: var(--on-field); }
.share-labels { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: var(--gutter); padding: 44px var(--margin) 14px; }
.share { position: relative; display: flex; flex-direction: column; min-width: 0; }
.share .pct { font-weight: 700; font-size: clamp(40px, 11vw, 120px); line-height: 0.8; letter-spacing: -0.055em; animation: fade .5s ease-out .9s both; }
.share.major .pct { font-size: clamp(56px, 16vw, 200px); }
.share .name { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; margin-top: 10px; letter-spacing: -0.01em; overflow-wrap: break-word; }
.share .you-tag { position: static; align-self: flex-start; margin-bottom: 12px; }
.swatch { flex: none; width: 12px; height: 12px; border: 1px solid var(--on-field); }
.share-bar { display: flex; height: 40px; margin: 0 var(--margin) 20px; outline: 1px solid var(--on-field); }
.share-bar span { flex: 0 0 var(--w); animation: bar-in 1.2s var(--ease-out) .15s both; }
.share-bar .mine { box-shadow: inset 0 8px 0 var(--yellow); }
.bar-ink { background: var(--ink); }
.bar-blue { background: var(--blue); }
.bar-paper { background: var(--paper); }
@keyframes bar-in { from { flex-basis: 0; } }
  
.you-tag {
  position: absolute;
  top: 44px;
  left: var(--margin);
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 8px 7px;
  white-space: nowrap;
  transform-origin: left;
  animation: tag-in .5s var(--ease-out) 1.1s both;
}
@keyframes grow { from { flex-basis: 50%; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tag-in { from { transform: scaleX(0); } }
@media (min-width: 900px) {
}

.crowd-error[hidden] { display: none; }
.crowd-error { padding-block: 16px; border-bottom: var(--rule) solid var(--ink); font-weight: 600; font-size: 16px; }
.crowd-error span { grid-column: 1 / -1; }

.verdict { padding-block: 18px 6px; align-items: end; row-gap: 6px; }
.verdict .big {
  grid-column: 1 / -1;
  font-weight: 700;
  font-size: clamp(88px, 27vw, 196px);
  line-height: 0.8;
  letter-spacing: -0.055em;
  margin-left: -0.04em;
  padding-bottom: 0.12em;
  overflow-wrap: anywhere;
}
.verdict .big.word { font-size: clamp(52px, 15vw, 168px); line-height: 0.86; letter-spacing: -0.05em; text-wrap: balance; }
.verdict .what { grid-column: 1 / -1; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; padding-bottom: 4px; }
.verdict .what small { display: block; font-size: 13px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; margin-top: 4px; }
@media (min-width: 900px) {
  .verdict { padding-block: 22px 10px; }
  .verdict .big { grid-column: 1 / span 7; font-size: clamp(130px, 14vw, 200px); padding-bottom: 0; }
  .verdict .big.word { grid-column: 1 / span 8; font-size: clamp(72px, 8vw, 150px); padding-bottom: 0.06em; }
  .verdict .what { grid-column: 8 / span 5; font-size: 34px; padding-bottom: 14px; }
  .verdict .big.word + .what { grid-column: 9 / span 4; }
}

.facts {
  padding-block: 18px 24px;
  row-gap: 16px;
  font-size: 14px;
  border-top: var(--rule) solid var(--ink);
  margin-top: 10px;
  flex: 1;
  align-content: start;
}
.fact { grid-column: 1 / -1; }
.fact h2 { font-size: 13px; font-weight: 500; color: var(--ink-soft); margin-bottom: 2px; }
.fact p { font-weight: 600; font-size: 16px; line-height: 1.3; max-width: 52ch; }
.fact .calc { font-size: 15px; line-height: 1.4; }
.source { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.facts .btn { margin-top: 6px; }
@media (min-width: 900px) {
  .facts { padding-block: 20px 36px; row-gap: 0; }
  .fact.q { grid-column: 1 / span 4; }
  .fact.c { grid-column: 5 / span 3; }
  .fact.s { grid-column: 8 / span 2; }
  .facts .btn { grid-column: 10 / span 3; margin-top: 0; align-self: start; }
}

.final { background: var(--yellow); padding-block: 22px 18px; row-gap: 8px; border-bottom: var(--rule) solid var(--ink); }
.final-title { grid-column: 1 / -1; font-weight: 700; font-size: clamp(28px, 7.4vw, 56px); letter-spacing: -0.035em; line-height: 1; }
.score-line { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.score { font-weight: 700; font-size: clamp(120px, 40vw, 340px); line-height: 0.8; letter-spacing: -0.06em; margin-left: -0.05em; }
.of { font-weight: 700; font-size: clamp(28px, 8vw, 72px); letter-spacing: -0.04em; }
.tally { flex: 0 0 auto; min-height: 0; border-top: 0; }
.tally li { min-height: 120px; font-size: 20px; letter-spacing: -0.02em; }
.tally li.miss { background: var(--paper); color: var(--ink-soft); }
.tally li.miss .glyph { fill: none; stroke: var(--ink); stroke-width: 3; vector-effect: non-scaling-stroke; }
.share-text { font-size: 18px; line-height: 1.4; }
.copied { grid-column: 1 / -1; font-weight: 600; min-height: 1.4em; }
@media (min-width: 900px) {
  .final { padding-block: 28px 24px; }
  .final-title { grid-column: 1 / span 5; align-self: end; padding-bottom: 18px; }
  .score-line { grid-column: 6 / span 7; justify-content: flex-end; }
  .score { font-size: clamp(180px, 19vw, 300px); }
  .tally li { min-height: 150px; }
  .facts .copied { grid-column: 10 / span 3; padding-top: 8px; }
}

::view-transition-old(root) { animation: .28s var(--ease-out) both leave; }
::view-transition-new(root) { animation: .42s var(--ease-out) both enter; }
::view-transition-group(masthead) { animation-duration: .3s; }
@keyframes leave { to { transform: translateX(-6%); opacity: 0; } }
@keyframes enter { from { transform: translateX(8%); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .curve { clip-path: none; }
  .marker { transform: none; }
  .gap-label { opacity: 1; }
  mark { background-size: 100% 40%; }
}
.plate.standing { height: 240px; }
@media (min-width: 900px) { .plate.standing { height: 300px; } }
.standing .curve { position: absolute; top: 0; left: 0; width: 100%; }
.standing .marker { bottom: 26px; }
.standing-axis { position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 600; }
.standing-axis span { position: absolute; top: 6px; transform: translateX(-50%); }
.standing-axis span:first-child { transform: none; padding-left: var(--margin); }
.standing-axis span:last-child { transform: translateX(-100%); padding-right: var(--margin); }
.standing-line { padding-block: 14px; border-bottom: var(--rule) solid var(--ink); font-weight: 700; font-size: clamp(22px, 5vw, 34px); letter-spacing: -0.02em; line-height: 1.1; }
.standing-line span { grid-column: 1 / -1; }
