/* Then vs Now – game screens. Shared look is in ../shared/daily.css. Accent: sunny; right = glow, wrong = coral. */
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---- Start ---- */
#start h1 { font-size: clamp(2.2rem, 7vw, 3.8rem); margin: 2px 0 8px; }
.dek { font-size: 1.25rem; font-weight: 500; margin: 0 0 18px; }
.how { list-style: none; counter-reset: how; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; max-width: 640px; }
.how li { counter-increment: how; position: relative; padding: 10px 12px 10px 52px; background: #fff; border: var(--border); }
.how li::before {
  content: counter(how); position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; display: grid; place-items: center; font-weight: 800; background: var(--accent); border: 2px solid #000;
}

.how-short { display: none; margin: 0 0 10px; font-weight: 500; }

/* ---- Round ---- */
.r-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.r-num { font-weight: 700; white-space: nowrap; }
.pips { display: flex; gap: 6px; }
.pips span { width: 22px; height: 22px; border: var(--border); background: #fff; }
.pips .now { background: var(--accent); }
.pips .right { background: var(--glow); }
.pips .wrong { background: var(--coral); }

.r-body { display: grid; gap: 16px; }
.item { display: flex; align-items: center; gap: 14px; }
.item-art { flex: none; padding: 4px; background: #fff; border: var(--border); box-shadow: var(--shadow-sm); }
.item-art canvas { width: 64px; height: 64px; }
.year { display: inline-block; padding: 1px 8px; margin-bottom: 4px; font-weight: 800; background: var(--ink); color: #fff; }
.item h2 { font-size: clamp(1.4rem, 4.4vw, 2.2rem); outline: none; }

.tags { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tag {
  position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px 12px 34px;
  background: #fff; border: var(--border); box-shadow: var(--shadow-sm);
}
.tag::before { /* the tag's string hole */
  content: ""; position: absolute; left: 10px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background: var(--paper); border: 2px solid #000;
}
.tag.infl { background: var(--beige); }
.tag-label { font-size: .85rem; font-weight: 500; color: var(--ink-soft); }
.tag b { font-weight: 800; font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1.05; font-variant-numeric: tabular-nums; }

.ask { margin: 0 0 10px; font-weight: 700; font-size: 1.15rem; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice { min-height: 64px; font-size: 1.35rem; }
.choice.more { background: var(--sky); }
.choice.less { background: var(--grape); }

.reveal { padding: 12px 14px 14px; background: #fff; border: var(--border); box-shadow: var(--shadow); }
.verdict { display: inline-block; margin: 0 0 6px; padding: 2px 10px; font-weight: 800; font-size: 1.3rem; border: 2px solid #000; }
.was-right .verdict { background: var(--glow); }
.was-wrong .verdict { background: var(--coral); }
.real { margin: 0 0 4px; font-size: 1.1rem; }
.real b { font-weight: 800; font-size: 1.3rem; }
.joke { margin: 0 0 12px; font-weight: 500; font-style: italic; }

/* ---- End ---- */
.e-top { display: grid; grid-template-columns: auto 1fr; gap: 16px 32px; align-items: center; margin-bottom: 20px; }
.big { margin: 0; font-size: 1.6rem; font-weight: 700; line-height: 1; }
.big b { font-size: 4rem; font-weight: 800; }
.rank { margin: 4px 0; font-weight: 800; font-size: 1.3rem; }
.grid { margin: 0; font-size: 1.6rem; letter-spacing: 2px; line-height: 1.2; }
.e-note { margin: 6px 0 0; font-weight: 500; }
.share-text { display: block; width: 100%; max-width: 420px; margin-top: 6px; padding: 6px 8px; font: 500 .9rem/1.35 var(--font);
  resize: none; background: #fff; border: var(--border); border-radius: 0; }
.recap { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.recap li { display: flex; align-items: center; gap: 12px; padding: 6px 10px; background: #fff; border: var(--border); }
.recap li canvas { flex: none; }
.recap li span { flex: 1; min-width: 0; }
.recap b { display: block; font-weight: 700; }
.recap small { display: block; color: var(--ink-soft); font-size: .88rem; }
.recap i { font-style: normal; font-weight: 800; width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid #000; flex: none; }
.recap .right i { background: var(--glow); }
.recap .wrong i { background: var(--coral); }
.sub { font-size: 1.2rem; margin-bottom: 10px; }

/* ---- Archive ---- */
.a-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.a-top h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.a-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.a-item {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 8px 12px;
  font: 500 1rem var(--font); color: inherit; text-align: left; background: #fff; border: var(--border); border-radius: 0;
  box-shadow: var(--shadow-sm); cursor: pointer;
}
.a-item b { font-weight: 800; margin-right: 4px; }
.a-item:active { transform: translate(3px, 3px); box-shadow: none; }
.a-item:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.a-score { font-weight: 800; white-space: nowrap; }
.a-item.done .a-score { padding: 0 6px; background: var(--glow); border: 2px solid #000; }

/* ---- Phones held upright ---- */
@media (max-width: 560px) {
  .tags { gap: 10px; }
  .tag { padding: 8px 10px 10px 28px; }
  .tag::before { left: 7px; width: 10px; height: 10px; margin-top: -5px; }
  .item-art canvas { width: 48px; height: 48px; }
  .e-top { grid-template-columns: 1fr; }
  .stats dd { font-size: 1.25rem; }
}

/* ---- Short screens (sideways phones, down to 700x260) ---- */
@media (max-height: 480px) and (min-width: 500px) {
  #start h1 { font-size: 1.9rem; margin: 0 0 2px; }
  .dek { font-size: 1rem; margin-bottom: 8px; }
  .how { gap: 4px; margin-bottom: 10px; max-width: none; }
  .how li { padding: 4px 8px 4px 40px; font-size: .9rem; line-height: 1.3; }
  .how li::before { width: 24px; height: 24px; left: 6px; }
  .kicker { margin-bottom: 2px; font-size: .85rem; }

  .r-top { margin-bottom: 6px; }
  .pips span { width: 16px; height: 16px; border-width: 2px; }
  .r-body { grid-template-columns: minmax(0, 1fr) minmax(250px, 40%); gap: 8px 16px; align-items: start; }
  .item { grid-column: 1; gap: 10px; }
  .item-art { padding: 2px; box-shadow: none; }
  .item-art canvas { width: 32px; height: 32px; }
  .year { font-size: .8rem; margin-bottom: 1px; }
  .item h2 { font-size: 1.15rem; }
  .tags { grid-column: 1; gap: 10px; }
  .tag { padding: 4px 10px 6px 28px; }
  .tag::before { left: 7px; width: 10px; height: 10px; margin-top: -5px; }
  .tag-label { font-size: .75rem; }
  .tag b { font-size: 1.5rem; }
  .choose, .reveal { grid-column: 2; grid-row: 1 / span 2; }
  .ask { font-size: .95rem; margin-bottom: 6px; }
  .choices { grid-template-columns: 1fr; gap: 8px; }
  .choice { min-height: 44px; font-size: 1.1rem; }
  /* Verdict and Next share the top line so the whole reveal fits beside the price tags. */
  .reveal { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; padding: 6px 10px 8px; box-shadow: var(--shadow-sm); }
  .verdict { font-size: 1rem; margin: 0; justify-self: start; }
  .reveal .btn { grid-column: 2; grid-row: 1; min-height: 34px; padding: .25em .8em; font-size: .95rem; }
  .real, .joke { grid-column: 1 / -1; }
  .real { font-size: .85rem; line-height: 1.25; margin: 0; }
  .real b { font-size: 1rem; }
  .joke { font-size: .82rem; line-height: 1.25; margin: 0; }

  .e-top { grid-template-columns: auto 1fr; gap: 6px 24px; margin-bottom: 10px; }
  .big { font-size: 1.1rem; }
  .big b { font-size: 2.6rem; }
  .rank { font-size: 1rem; margin: 2px 0; }
  .grid { font-size: 1.15rem; }
  .e-note { font-size: .9rem; }
}
@media (max-height: 340px) and (min-width: 500px) {
  .how { display: none; }
  .how-short { display: block; }
  .dek { margin-bottom: 4px; }
}
