/* game.css: layout for the four game pages (/play, /map-guess, /twenty-questions, /play/era-crossed).
   DESIGN-DIRECTION task 1.3. Layout only: no tokens are defined here, no hex, and no kit class
   (.card, .btn, .pill, .chip, .chip-link, .seg, .progress-dot, .toast, .state, .disclosure,
   .share-bar, .answer, .suggest, .result, .game-status) is redeclared; atlas.css owns those.
   Every rule sits under its page's body class wrapped in :where(), so the page prefix adds no
   specificity and atlas.css's material rules (.court-card.is-solved, .reward.is-unlocked,
   .guess-row.win) still win over the plain layout here. */

/* ==========================================================================
   Shared by the four pages
   ========================================================================== */
:where(.game) .btn-row{ display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); }
:where(.game) .btn-row .btn{ flex: 1 1 120px; }
:where(.game) .bar{ display: block; height: 4px; margin-top: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
:where(.game) .bar > i{ display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; }
/* bars grow in once: era-crossed builds them per pick; Daily Court rebuilds
   every row per guess, so only the just-submitted row grows */
:where(.game--era) .bar > i, :where(.game--play) .guess-row.is-new .bar > i{ animation: atlas-bar-grow 700ms var(--ease) both; }
:where(.game) kbd{ padding: 1px 6px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--surface-2); font-weight: 700; }
/* the error card's heading reads as the kit state title */
:where(.game) .state--error > h2{ margin: 0; }
:where(.game) .state--error > p{ margin: 0; }
:where(.game) .game-noscript{ margin: 0; padding: var(--s-4); text-align: center; }

/* ==========================================================================
   /play: Daily Court
   ========================================================================== */
/* status strip: pills | phase + dots | how to play */
:where(.game--play) #game-header .game-status{ display: grid; grid-template-columns: 1fr; justify-items: center; row-gap: 10px; }
@media (min-width: 720px){
  /* sides size to their pills (one row each); the date line and dots take what is left */
  :where(.game--play) #game-header .game-status{ grid-template-columns: auto minmax(0, 1fr) auto; justify-items: stretch; align-items: center; gap: var(--s-3); }
  :where(.game--play) #game-header .game-status__side{ flex-wrap: nowrap; }
}
:where(.game--play) .game-status__side{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
:where(.game--play) .game-status__side--end{ justify-content: flex-end; }
:where(.game--play) #game-status-bar{ display: flex; flex-direction: column; align-items: center; gap: 10px; }
:where(.game--play) .game-status__phase{ display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
:where(.game--play) .game-status__sep{ opacity: .4; }
:where(.game--play) #court-load-fallback{ min-height: 0; padding: var(--s-4); }

/* mode switcher */
:where(.game--play) #mode-selector{ display: flex; flex-direction: column; align-items: center; gap: var(--s-3); }
:where(.game--play) .mode-head{ display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: var(--s-3); }
:where(.game--play) .mode-head__note{ font-size: var(--t-sm); color: var(--fg-2); }
:where(.game--play) #mode-tabs{ max-width: 100%; }
:where(.game--play) .mode-desc{ max-width: 70ch; margin: 0; text-align: center; font-size: var(--t-sm); line-height: 1.6; color: var(--fg-2); }

/* the court */
:where(.game--play) .court-top{ display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
:where(.game--play) .court-top h2{ margin: 4px 0 0; font-size: var(--t-lg); }
:where(.game--play) .court-top__actions{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
:where(.game--play) .court-grid{ display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-top: var(--s-3); }
@media (max-width: 720px){
  :where(.game--play) .court-grid{ grid-template-columns: 1fr; }
}
/* five-up: a card is too narrow to share a row, so the badge sits on its own line
   above the kicker, which gets the full card width and wraps only between words */
@media (min-width: 721px){
  :where(.game--play) .court-card__head{ flex-direction: column-reverse; align-items: stretch; gap: 4px; }
  :where(.game--play) .court-card__head .court-badge{ align-self: flex-end; }
  :where(.game--play) .court-card__head .court-slot{ padding-top: 0; }
}
:where(.game--play) .court-card{
  display: flex; flex-direction: column; gap: 2px;
  min-height: 92px; padding: 10px; cursor: pointer;
  /* lotería reskin: the slot cards are the doors into each puzzle — double
     frame (3px ink border + 1px outline, 6px gap) and hard --block shadow.
     Theme-following surface (not paper): the slot state tints (solved/failed)
     live on the theme tokens. */
  background: var(--surface-2); border: 3px solid var(--ink); border-radius: var(--radius);
  outline: 1px solid var(--ink); outline-offset: 6px;
  box-shadow: 6px 6px 0 var(--block);
  transition: border-color var(--dur-1) var(--ease), outline-color var(--dur-1) var(--ease);
}
:where(.game--play) .court-card:hover{ outline-color: var(--accent); }
:where(.game--play) .court-card.is-active{ border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent), 6px 6px 0 var(--block); }
:where(.game--play) .court-card.is-failed{
  background: color-mix(in srgb, var(--bad) 8%, var(--surface-2));
  border-color: color-mix(in srgb, var(--bad) 45%, transparent);
}
:where(.game--play) .court-slot{
  font-family: var(--font-display); font-size: var(--t-xs); font-weight: 600; font-stretch: 112%;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3);
}
:where(.game--play) .court-name{ margin: 4px 0; font-family: var(--font-text); font-size: var(--t-sm); font-weight: 650; line-height: 1.2; color: var(--fg); font-variant-numeric: tabular-nums; }
:where(.game--play) .court-meta{ font-family: var(--font-text); font-size: var(--t-xs); color: var(--fg-2); }
/* label and badge share one row; the label wraps under itself, never under the badge */
:where(.game--play) .court-card__head{ display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-2); }
:where(.game--play) .court-card__head .court-slot{ flex: 1 1 auto; min-width: 0; padding-top: 4px; overflow-wrap: normal; word-break: normal; hyphens: none; }
:where(.game--play) .court-badge{ flex: 0 0 auto; }
:where(.game--play) .court-card__suit{ margin-top: 2px; }
:where(.game--play) .court-card__suit .suit-tag{ margin-left: 0; }
/* suit tag: the card-suit category of a slot's past target, a chip so it never reads as the label */
:where(.game--play) .suit-tag{
  display: inline-block; margin-left: 6px; padding: 2px 7px; vertical-align: 1px;
  font-family: var(--font-display); font-size: var(--t-xs); font-weight: 700; font-stretch: 112%;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-2); background: var(--accent-wash); border: 1px solid var(--accent-line); border-radius: 999px;
}
:where(.game--play) .lineup-bar,
:where(.game--play) .rewards-row{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
:where(.game--play) .lineup-chip.is-empty{ color: var(--fg-3); border-style: dashed; }
:where(.game--play) .lineup-note{ margin: 0; }
:where(.game--play) .lineup-chip,
:where(.game--play) .reward{
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
  font-family: var(--font-display); font-size: var(--t-xs); font-weight: 600; font-stretch: 112%;
  letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2);
  background: none; border: 1px solid var(--line-2); border-radius: 999px;
}

/* the map window: #map-wrap carries .card--void, so the Embed3D chrome inside (legend, note,
   tip, loading and error states) reads the void pairings. The component sizes its own canvas. */
:where(.game--play) #map-wrap{ min-width: 0; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--radius-lg); }
:where(.game--play) .play-map{ min-width: 0; }
:where(.game--play) .play-map .embed3d__note{ margin-bottom: 0; }

/* past target card */
:where(.game--play) #boot-error{ border-left: 3px solid var(--bad); }
:where(.game--play) .past-card__row{ display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--s-3); }
:where(.game--play) .past-card__who{ display: flex; align-items: flex-start; gap: var(--s-3); flex: 1 1 280px; min-width: 0; }
:where(.game--play) .past-card__text{ flex: 1; min-width: 0; }
:where(.game--play) .past-card__pills{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: var(--s-2); }
:where(.game--play) .past-card__actions{ display: flex; flex-wrap: wrap; gap: var(--s-2); flex: 0 0 auto; align-self: flex-start; }
:where(.game--play) #past-avatar{
  display: flex; align-items: center; justify-content: center; flex: 0 0 64px; width: 64px; height: 64px; overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); image-rendering: pixelated;
}
:where(.game--play) #past-name{ margin: 0 0 6px; font-size: var(--t-xl); line-height: 1; }
:where(.game--play) #past-meta{ text-transform: none; color: var(--fg-2); line-height: 1.45; }
:where(.game--play) .past-meta__team{ color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
:where(.game--play) .past-card__hint{
  margin-top: 10px; padding: 6px 8px; font-size: var(--t-sm); color: var(--fg);
  background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius);
}
:where(.game--play) .pack-retired__row{ display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--s-3); }
:where(.game--play) .pack-retired__title{ margin: 6px 0; }
:where(.game--play) #boot-error .state{ min-height: 0; }
:where(.game--play) .noscript-note{ padding: var(--s-4); text-align: center; }
:where(.game--play) .turn-indicator{ display: flex; align-items: center; gap: var(--s-2); margin-top: 10px; font-size: var(--t-sm); font-weight: 600; }
:where(.game--play) .turn-dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }

/* the guess card */
:where(.game--play) .vh-truth{ border-inline-start: 3px solid var(--accent); }  /* embedding truth: solid marker */
:where(.game--play) .vh-approx{ border-inline-start: 3px dashed var(--line-2); padding-inline-start: 10px; }  /* map approximation: dashed */
:where(.game--play) .ready-banner{
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-3);
  margin: 0 0 var(--s-3); padding: 12px 14px;
  color: var(--fg); background: var(--accent-wash); border: 1px dashed var(--accent-line); border-radius: var(--radius-lg);
}
:where(.game--play) .ready-banner__body{ min-width: 0; }
:where(.game--play) .ready-banner h3{ margin: 0 0 4px; font-size: var(--t-md); line-height: 1.2; }
:where(.game--play) .ready-banner p{ margin: 0; font-size: var(--t-sm); line-height: 1.45; }
:where(.game--play) .ready-banner .btn{ flex: 0 0 auto; }
:where(.game--play) .answer__head{ display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-2); }
:where(.game--play) .answer__head label{ margin: 0; }
:where(.game--play) #guess-input[disabled]{ opacity: .55; }
:where(.game--play) .guess-actions{ display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); }
:where(.game--play) #guesses{ margin-top: var(--s-2); }
:where(.game--play) .guess-note{ margin-top: 6px; text-transform: none; }
:where(.game--play) #result{ margin-top: var(--s-3); }
:where(.game--play) .guess-row{ margin-top: var(--s-2); padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); }
:where(.game--play) .guess-row__inner{ display: flex; align-items: center; gap: 10px; }
:where(.game--play) .guess-row__avatar{
  flex: 0 0 36px; width: 36px; height: 36px; overflow: hidden; image-rendering: pixelated;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
}
:where(.game--play) .guess-row__body{ flex: 1; min-width: 0; }
:where(.game--play) .guess-row__head{ display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 8px; }
:where(.game--play) .guess-row__meta{ margin-top: 4px; font-size: var(--t-xs); color: var(--fg-2); }
:where(.game--play) .guess-row.win .guess-row__meta{ color: inherit; }
:where(.game--play) .guess-row.win .bar > i{ background: var(--ok); }
:where(.game--play) .guess-status{ margin-top: 6px; font-size: var(--t-xs); font-weight: 700; color: var(--fg); }
:where(.game--play) .guess-status.is-warn{ color: var(--bad); }
:where(.game--play) .suggest .no-results{ cursor: default; color: var(--fg-3); }
:where(.game--play) .result__links{ display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: 10px; font-size: var(--t-sm); }
:where(.game--play) .result__streak{ margin-top: var(--s-2); color: var(--fg); }
:where(.game--play) .result .caption{ margin: 6px 0 0; }
:where(.game--play) .result-stars{ margin: 2px 0 6px; font-size: var(--t-lg); letter-spacing: .15em; }
/* lifelines (game-mechanics.js) */
:where(.game--play) .lifeline-row{ display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: 10px; }
:where(.game--play) .btn-lifeline{ min-height: 44px; padding: 8px 12px; font-size: var(--t-xs); }
:where(.game--play) .lifeline-status{ margin-top: 6px; text-transform: none; color: var(--fg-2); }
/* twin-set collection (game-mechanics.js renderTwinSets) */
:where(.game--play) .twinsets{ display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
:where(.game--play) .twinset{ padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
:where(.game--play) .twinset.is-done{ border-color: var(--ok); }
:where(.game--play) .twinset-head{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: var(--t-sm); font-weight: 800; }
:where(.game--play) .twinset-bar{ height: 6px; overflow: hidden; background: var(--surface-2); border-radius: 3px; }
:where(.game--play) .twinset-fill{ height: 100%; background: var(--accent); border-radius: 3px; }
:where(.game--play) .twinsets-note{ margin-top: var(--s-2); }
/* the crash breadcrumb banner (play-engine.js crumbReport) */
:where(.game--play) .crash-crumb{
  position: fixed; left: 0; right: 0; top: 0; z-index: 120;
  padding: 10px 56px 10px 12px; word-break: break-word;
  font-family: var(--font-code); font-size: var(--t-sm); font-weight: 700; line-height: 1.45;
  color: var(--bg); background: var(--fg); border-bottom: 3px solid var(--accent);
}
:where(.game--play) .crash-crumb__close{ position: absolute; right: 6px; top: 4px; color: var(--bg); background: transparent; border-color: var(--bg); }
/* clipboard-denied select-to-copy sheet (inline-play.js) */
:where(.game--play) .copy-panel__text{ width: 100%; min-height: 150px; font-family: var(--font-code); font-size: var(--t-sm); line-height: 1.6; }
:where(.game--play).is-sheet-open{ overflow: hidden; }
:where(.game--play) .twin-why{ margin-top: var(--s-3); padding-top: 14px; border-top: 1px solid var(--line); }
:where(.game--play) .twin-why__label{ margin-bottom: var(--s-2); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
:where(.game--play) .twin-why__chips{ display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: 10px; }
:where(.game--play) .twin-why__differ{ font-size: var(--t-sm); }
:where(.game--play) .twin-why__thin{ margin-top: var(--s-2); font-size: var(--t-sm); font-style: italic; color: var(--fg-2); }
:where(.game--play) .twin-why__band{ margin-bottom: 10px; font-size: var(--t-sm); }
:where(.game--play) .twin-why__method{ margin-top: var(--s-2); font-size: var(--t-xs); font-style: italic; color: var(--fg-3); }
:where(.game--play) .twin-band,
:where(.game--play) .twin-band--inline,
:where(.game--play) .twin-band__summary{ display: inline; }
:where(.game--play) .twin-band__summary{ cursor: pointer; }
:where(.game--play) .twin-band__num{ font-size: .92em; opacity: .75; font-variant-numeric: tabular-nums; }
:where(.game--play) .twin-band__label{ opacity: .7; }

/* game feel on atlas.css's choreography: a new guess row slides in (signal),
   the warm/cold word and the result card rise without overshoot (the one
   overshoot is the reward's), a rejected guess shakes once (the only
   error signal, 250 ms, transform only) */
@keyframes game-shake{ 0%, 100%{ transform: translateX(0); } 25%{ transform: translateX(-5px); } 75%{ transform: translateX(5px); } }
:where(.game--play) .guess-row.is-new{ animation: atlas-slide-in 450ms var(--ease) both; }
:where(.game--play) #warm-label.pop{ animation: atlas-rise var(--dur-1) var(--ease) both; }
:where(.game--play) #result .card{ animation: atlas-rise var(--dur-2) var(--ease) both; }
:where(.game--play) #guess-input.shake{ animation: game-shake .25s var(--ease); }
:where(.game--play) .confetti{ position: fixed; inset: 0; z-index: 98; pointer-events: none; }

/* How to play: the kit .sheet (atlas.css); only the step list is page layout */
:where(.game--play) .onboard-steps{ display: flex; flex-direction: column; gap: 10px; margin: var(--s-3) 0; }
:where(.game--play) .onboard-step{ display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); }
:where(.game--play) .onboard-step p{ margin: 4px 0 0; }
:where(.game--play) .onboard-step__num{
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  font-family: var(--font-display); font-size: var(--t-sm); font-weight: 700; color: var(--on-accent); background: var(--accent);
}

/* the daily share sheet play-engine.js builds: a kit .sheet; the preview is page layout */
:where(.game--play) .vh-share-preview{
  max-height: 230px; overflow: auto; padding: 10px 12px; white-space: pre-wrap;
  font-family: var(--font-code); font-size: var(--t-sm); line-height: 1.65; color: var(--fg);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
}
:where(.game--play) .vh-share-fine{ margin-top: 10px; font-size: var(--t-xs); line-height: 1.5; color: var(--fg-3); }

@media (max-width: 719px){
  /* compact hero: the guess card starts within the first screenful */
  :where(.game--play) #map-wrap{ padding: var(--s-2); }
  /* three equal segments in one joined row; a long label wraps inside its own segment */
  :where(.game--play) #mode-tabs{ display: flex; width: 100%; flex-wrap: nowrap; }
  :where(.game--play) #mode-tabs > button{ flex: 1 1 0; min-width: 0; padding: 6px 8px; letter-spacing: .06em; white-space: normal; text-align: center; line-height: 1.2; }
}

/* ==========================================================================
   /map-guess: Map Hunt
   ========================================================================== */
:where(.game--map) .game-modes{ display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); }
:where(.game--map) .mh-meta{
  margin: 0 0 6px; font-family: var(--font-display); font-size: var(--t-xs); font-weight: 600; font-stretch: 112%;
  letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2);
}
:where(.game--map) .mh-replay{ padding: 1px 8px; border-radius: var(--radius); color: var(--fg); background: var(--accent-wash); }
:where(.game--map) .mh-given{ margin: 4px 0 0; font-size: var(--t-sm); color: var(--fg-2); }
:where(.game--map) .mh-season{ font-family: var(--font-code); font-size: var(--t-xs); color: var(--fg-3); }
:where(.game--map) .mh-empty{ margin: 0; font-size: var(--t-sm); color: var(--fg-3); }
:where(.game--map) .mh-dist{ font-size: var(--t-sm); color: var(--fg-2); }
:where(.game--map) .mh-warmer{ color: var(--accent-2); }
:where(.game--map) .mh-colder{ color: var(--blue); }
:where(.game--map) .mh-map{ min-width: 0; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--radius-lg); }
:where(.game--map) .embed3d-mount{ position: relative; min-width: 0; }
:where(.game--map) .embed3d-placeholder{ min-height: 320px; }
:where(.game--map) .embed3d-mount .embed3d__note{ margin-bottom: 0; }
:where(.game--map) .mh-noscript{ margin-top: 10px; }
:where(.game--map) .mh-fallback-row{ display: flex; gap: var(--s-2); }
:where(.game--map) .mh-fallback-row .input{ flex: 1; }
:where(.game--map) .mh-fallback-label{ margin: 0 0 var(--s-2); }
:where(.game--map) #mh-status{ min-height: 1.6em; font-size: var(--t-sm); color: var(--fg-2); }
:where(.game--map) #mh-dots{ margin-top: 10px; }
:where(.game--map) .guess-row{ margin-top: var(--s-2); padding: 10px 12px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); }
:where(.game--map) #mh-result h3{ margin: 0 0 6px; font-size: var(--t-lg); }
:where(.game--map) .mh-answer{ font-size: var(--t-md); }
:where(.game--map) .mh-score{ font-family: var(--font-code); font-weight: 700; }
:where(.game--map) .mh-twin{ font-size: var(--t-sm); color: var(--fg-2); }

/* ==========================================================================
   /twenty-questions
   ========================================================================== */
:where(.game--tq) .game-status .chip-link:disabled{ opacity: .45; cursor: default; }
:where(.game--tq) #map-wrap{ min-width: 0; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--radius-lg); }
:where(.game--tq) .tq-map{ min-width: 0; }
:where(.game--tq) .tq-map-key{ margin: var(--s-2) 0 0; }
:where(.game--tq) #q-text{ margin: 6px 0 0; font-size: var(--t-xl); line-height: 1.25; letter-spacing: -.01em; }
:where(.game--tq) #tie-text{ margin: 6px 0 0; font-size: var(--t-xl); }
:where(.game--tq) #answer-log{ margin-top: 10px; }
/* one dot per answer: yes / no / not sure (non-interactive, aria-hidden) */
:where(.game--tq) .progress-dot.is-yes{ color: var(--fg); border-color: var(--ok); box-shadow: inset 0 -3px 0 var(--ok); }
:where(.game--tq) .progress-dot.is-no{ color: var(--fg); border-color: var(--bad); box-shadow: inset 0 -3px 0 var(--bad); }
:where(.game--tq) .progress-dot.is-unsure{ color: var(--fg-3); background: var(--surface-2); }
:where(.game--tq) #reveal-name{ margin: 4px 0; font-size: var(--t-2xl); line-height: 1.05; letter-spacing: -.02em; }
:where(.game--tq) #reveal-career{ margin: 0; font-family: var(--font-code); font-size: var(--t-sm); color: var(--fg-2); }
:where(.game--tq) .badge-row{ display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s-2); }

/* ==========================================================================
   /play/era-crossed
   ========================================================================== */
:where(.game--era) #round-dots{ justify-content: center; margin-top: var(--s-3); }
/* a missed round: the dot keeps paper, a --bad rule underneath (red is a rule, never the text) */
:where(.game--era) .progress-dot.is-miss{ color: var(--fg-3); border-color: var(--bad); box-shadow: inset 0 -3px 0 var(--bad); text-decoration: line-through; }
:where(.game--era) .anchor{ padding-left: var(--s-3); border-left: 4px solid var(--accent); }
:where(.game--era) .anchor h2{ margin: 4px 0; font-size: var(--t-2xl); line-height: 1.05; letter-spacing: -.01em; }
:where(.game--era) .anchor p{ margin: 0; font-family: var(--font-code); font-size: var(--t-sm); color: var(--fg-2); }
:where(.game--era) .ec-ask{ margin: 14px 0 0; }
:where(.game--era) .ec-ask__keys{ letter-spacing: 0; text-transform: none; }
:where(.game--era) .opts{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: var(--s-3); }
@media (max-width: 560px){
  :where(.game--era) .opts{ grid-template-columns: 1fr; }
}
/* each option is the kit choice card (button.card.card--choice.opt: resets, layout, focus
   ring and the .is-correct/.is-wrong states live in atlas.css); this styles its lines. */
:where(.game--era) .opt .nm{ font-size: var(--t-md); font-weight: 800; line-height: 1.2; }
:where(.game--era) .opt .ss{ font-family: var(--font-code); font-size: var(--t-xs); color: var(--fg-3); }
:where(.game--era) .opt .sim{ margin-top: 4px; font-family: var(--font-code); font-size: var(--t-xs); font-weight: 800; }
:where(.game--era) .opt .bar{ height: 6px; }
:where(.game--era) #done-title{ margin: 4px 0; font-size: var(--t-2xl); }
:where(.game--era) #done-line{ margin-top: 0; }

/* 3- and 5-solved rewards earn the gold tint over the coin look */
:where(.game--play) .reward.is-unlocked.gold{ background: var(--accent-wash); border-color: var(--accent-line); color: var(--accent); }
