.questions {
  margin-bottom: clamp(40px, 5vw, 76px);
}
.game {
  --card-edge: #d7dfe8;
  --card-shadow: 0 5px 18px rgb(24 43 66 / 4%);
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  margin-top: 18px;
  scroll-margin-top: 18px;
}
.game > summary {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  cursor: pointer;
  list-style: none;
  border-radius: inherit;
  min-height: 180px;
}
.game > summary::-webkit-details-marker { display: none; }
.game > summary:focus-visible { outline-offset: 4px; }
.featured { --card-edge: #cbd8ed; }
.date-ticket {
  border-radius: 19px 0 0 19px;
  width: 136px;
  flex: 0 0 136px;
  padding: 25px 16px;
  text-align: center;
  background: var(--warm);
  color: #713820;
  border-right: 1px dashed #c9ac90;
  display: grid;
  gap: 4px;
  align-content: center;
  align-self: stretch;
  line-height: 1.4;
  font-size: .9rem;
}
.date-ticket b { font: 700 3.9rem/1.1 var(--head); letter-spacing: -.06em; }
.game-intro { min-width: 0; display: grid; gap: 10px; padding-block: 27px; }
.game-intro > span:last-child { color: var(--muted); font-size: 1rem; max-width: 48ch; }
.game-title {
  font: 700 clamp(1.6rem, 2.8vw, 2.25rem)/1.12 var(--head);
  letter-spacing: -.04em;
  color: var(--ink);
}
.summary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 28px;
  padding: 10px 13px;
  border-radius: 9px;
  background: var(--pale);
  color: var(--blue);
  font-weight: 700;
  font-size: .86rem;
}
.summary-action .plus { width: 17px; height: 17px; }
.when-open { display: none; }
.game[open] > summary .when-closed { display: none; }
.game[open] > summary .when-open { display: inline; }
.game[open] > summary .plus { transform: rotate(45deg); }
.game[open] > summary { border-radius: 19px 19px 0 0; border-bottom: 1px solid var(--rule); }
.game[open] .date-ticket { border-bottom-left-radius: 0; }
.archived { box-shadow: none; }
.archived > summary { min-height: 112px; padding-left: 28px; gap: 18px; }
.archived .archive-icon { width: 46px; height: 46px; border-radius: 12px; }
.archived .game-title { font-size: 1.5rem; }
.archived .closed-tag { margin-left: auto; }
.archived .summary-action { margin-left: 0; background: #f0f3f5; color: #4f6071; }
.game-body { display: grid; gap: 30px; padding: clamp(20px, 3.7vw, 42px); }
.game-body :is(section, div, aside) { min-width: 0; }
.game-body h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-bottom: 11px; }
.game-body p, .game-body li { color: var(--muted); }
.game-body b, .game-body strong { color: var(--ink); }
.play-guide ol { padding-left: 1.4em; margin-top: 14px; }
.play-guide li + li { margin-top: 9px; }
.play-guide code { overflow-wrap: anywhere; }
.check-in {
  padding: 25px 26px;
  background: #eef3ef;
  border-radius: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px;
  align-items: center;
}
.tracker-link {
  display: inline-flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  min-height: 46px;
  padding: 9px 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #c4d2cc;
  white-space: nowrap;
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}
.tracker-link svg { width: 15px; height: 15px; }
.check-in-note { grid-column: 1/-1; font-size: .87rem; }
.check-in > .method-note { margin-top: 2px; }
.forecast {
  border: 1px solid #ccd9ec;
  border-radius: 16px;
  background: #f5f8fe;
  padding: clamp(18px, 2.8vw, 30px);
}
.forecast .section-head { margin-bottom: 8px; }
.forecast .section-head h3 { margin: 0; }
.forecast-desc { font-size: .96rem; }
.forecast-stats {
  margin: 22px 0 18px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 12px;
}
.forecast-stats > div { border: 1px solid #e0e7f2; border-radius: 11px; padding: 19px 21px; background: #fff; }
.forecast-stats > div:last-child { background: #e8f0ff; border-color: #cddcf4; }
.forecast-stats dt { font-size: .88rem; color: var(--muted); }
.forecast-stats dd { font: 700 clamp(2rem, 4vw, 2.9rem)/1.2 var(--head); color: var(--ink); margin: 6px 0 0; letter-spacing: -.04em; }
.forecast-stats small { display: block; max-width: 30ch; margin-top: 7px; font-size: .8rem; line-height: 1.4; color: var(--muted); }
.forecast-caution { font-size: .91rem; margin-bottom: 10px; max-width: 60ch; }
.data-note, .chart-readout, .more-games { font-size: .88rem; }
.data-note { min-height: 1.4em; }
.method-note { border-top: 1px solid var(--rule); margin-top: 15px; }
.method-note > summary { cursor: pointer; padding-block: 12px; min-height: 44px; font-weight: 700; font-size: .91rem; color: var(--blue); }
.method-note > div { font-size: .92rem; }
.method-note p + p { margin-top: 9px; }
.history { max-width: 760px; }
.history-grid { display: grid; gap: 1px; margin-top: 15px; }
.hist-row { display: grid; grid-template-columns: 100px minmax(0, 1fr) 62px; align-items: center; gap: 12px; background: transparent; border: 0; border-radius: 5px; min-height: 38px; color: var(--ink); padding: 4px 7px; text-align: left; font-size: .88rem; }
.hist-row:focus-visible, .hist-row:hover, .hist-row[aria-pressed=true] { background: var(--pale); }
.hist-row b { text-align: right; font-variant-numeric: tabular-nums; }
.hist-track { border-left: 1px solid #b9c7d9; }
.hist-mark { display: block; height: 12px; background: #257de0; border-radius: 0 4px 4px 0; transform-origin: left; }
.motion-on .hist-mark { animation: reveal-bar .35s var(--ease) both; animation-delay: calc(var(--i)*18ms); }
@keyframes reveal-bar { from { transform: scaleX(.86); } to { transform: scaleX(1); } }
.chart-readout { margin-top: 8px; min-height: 1.5em; }
.history table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.history th, .history td { padding: 8px; border-bottom: 1px solid var(--rule); text-align: right; }
.history :is(th, td):first-child { text-align: left; }
.history caption { text-align: left; color: var(--muted); margin-bottom: 8px; }
.answer { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--pale); padding: 16px; border-radius: 9px; line-height: 1.55; }
.answer code { background: none; padding: 0; }
.archive-body { gap: 14px; }
.more-games { margin-top: 20px; color: var(--muted); }
.stopped { font-weight: 700; background: #e9eded; color: #53626b; border-radius: 5px; padding: 2px 8px; }
@media (hover:hover) {
  .game > summary:hover .game-title { color: var(--blue); }
  .game > summary:hover .summary-action { background: #dce8fd; }
  .tracker-link:hover { background: #f7fbf8; border-color: #8caa9a; }
}
@media (max-width:820px) {
  .summary-action { padding: 10px; margin-right: 18px; }
  .summary-action > span { display: none !important; }
  .check-in { grid-template-columns: 1fr; }
  .tracker-link { justify-self: start; }
}
@media (max-width:610px) {
  .game { border-radius: 16px; margin-top: 14px; }
  .game > summary { min-height: 176px; gap: 14px; }
  .date-ticket { width: 72px; flex-basis: 72px; padding: 20px 6px; border-radius: 15px 0 0 15px; font-size: .78rem; }
  .date-ticket b { font-size: 2.8rem; }
  .summary-action { margin-right: 12px; padding: 8px; }
  .summary-action .plus { width: 15px; height: 15px; }
  .game-intro { gap: 9px; padding-block: 22px; }
  .game-intro > span:last-child { font-size: .9rem; }
  .game-title { font-size: 1.5rem; }
  .game[open] > summary { border-radius: 15px 15px 0 0; }
  .archived > summary { min-height: 112px; padding-left: 16px; gap: 10px; }
  .archived .game-title { font-size: 1.3rem; }
  .archived .archive-icon { width: 34px; height: 34px; }
  .archived .game-intro > span:last-child { font-size: .8rem; }
  .archived .summary-action { margin-right: 10px; }
  .check-in { padding: 18px; gap: 9px; }
  .tracker-link { white-space: normal; text-align: left; font-size: .9rem; }
  .hist-row { grid-template-columns: 79px minmax(0, 1fr) 48px; gap: 5px; padding-inline: 2px; }
  .forecast-stats { grid-template-columns: 1fr; gap: 10px; }
  .forecast-stats > div { padding: 16px; }
  .forecast .section-head { gap: 8px; }
  .history table { font-size: .84rem; }
  .history th, .history td { padding-inline: 2px; }
}
@media (prefers-reduced-motion:reduce) { .motion-on .hist-mark { animation: none; } }
@media (forced-colors:active) { .hist-mark { background: CanvasText; forced-color-adjust: none; } .summary-action, .tracker-link { border: 1px solid ButtonText; } }
