/* The decade trivia pages (/60s-trivia … /2000s-trivia). Layered on landing.css (era pigments,
   fonts, ground, texture, .cta, footer) and play.css (the stage, the bar, the flat capsule).
   The governing rule holds: the era lives on the ground, the chrome and the badges; every
   question, option and answer is the system face, flat, on the capsule. Type is in rem so a
   browser's own text-size setting scales it. */

.decade-page .bar, .decade-page .capsule { max-width: 46rem; }
.decade-page + .foot .foot__inner { max-width: 46rem; }

.capsule a { color: var(--primary); }
.capsule .cta { color: var(--on-accent); }
.capsule .cta--ghost { color: var(--primary); }
[data-era="1970s"] .capsule a:not(.cta) { color: var(--ink); }
[data-era="1970s"] .capsule .cta--ghost { color: var(--ink); }

.capsule h1.page-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.625rem, 5vw, 2.375rem);
  line-height: 1.15; letter-spacing: .03em; text-transform: none; color: var(--primary); margin: 0 0 18px;
  text-wrap: balance; }
/* Decades read "80s" / "1980s", never "80S" (the /play ruling): no uppercase transform here. */
.decade-page .capsule p.eyebrow { text-transform: none; }
.capsule p.intro { font-size: clamp(1.125rem, .4vw + 1rem, 1.25rem); line-height: 1.55; margin: 0 0 22px; }
.capsule p.actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin: 0 0 28px; }
.capsule p.actions .cta { margin: 0; min-height: 52px; }

/* Category jump links: chrome, so they may wear the era face at badge size. */
.toc { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 22px; border-top: 1px solid var(--border); }
.capsule .toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px;
  border-radius: 999px; border: 1.5px solid var(--border); color: var(--ink); text-decoration: none; font-size: 1rem; }
.capsule .toc a:hover { border-color: var(--primary); }

.cat { margin-top: 36px; }
.capsule h2.cat__name { font-family: var(--display); font-weight: 400; font-size: clamp(1.25rem, 3vw, 1.5rem);
  letter-spacing: .08em; text-transform: uppercase; color: var(--secondary); margin: 0 0 4px; }
[data-era="1970s"] .capsule h2.cat__name, [data-era="1960s"] .capsule h2.cat__name { color: var(--primary); }

.qs { margin: 0; padding: 0 0 0 2.4em; }
.qs > li::marker { color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.q { padding: 22px 0 20px; border-top: 1px solid var(--border); }
.cat .q:first-child { border-top: 0; }

.capsule h3.q__stem { font-family: var(--body); font-weight: 600; font-size: clamp(1.1875rem, .6vw + 1rem, 1.375rem);
  line-height: 1.38; color: var(--ink); margin: 0 0 14px; text-wrap: pretty; }

.q__opts { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
@media (min-width: 640px) { .q__opts { grid-template-columns: 1fr 1fr; } }
.q__opts li { display: flex; gap: 12px; align-items: baseline; padding: 11px 16px; border: 1.5px solid var(--border);
  border-radius: 14px; font-size: 1.0625rem; line-height: 1.35; overflow-wrap: anywhere; }
.q__opts .letter { flex: none; font-weight: 700; font-size: .875em; color: var(--faint); }

.q details { font-size: 1.0625rem; }
.q summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer;
  font-weight: 600; color: var(--primary); list-style: none; }
.q summary::-webkit-details-marker { display: none; }
.q summary::before { content: "+"; display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem;
  border-radius: 50%; border: 1.5px solid currentColor; font-weight: 700; line-height: 1; }
.q details[open] summary::before { content: "–"; }
[data-era="1970s"] .q summary { color: var(--ink); }
.capsule .q details p { margin: 4px 0 0; }
.q details b { font-weight: 700; }
/* "The story" (1.0.9): a deep dive, when a question has one, sitting after the source line
   inside the same reveal. A quiet label, not a section heading — system face, no display font,
   no era accent — because it introduces prose about the question, which stays system-face too. */
.capsule .q details h4.story { font-family: var(--body); font-weight: 700; font-size: .8125rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 16px 0 6px; }
.capsule .q details h4.story + p { margin-top: 0; }
.capsule .q details p + p { margin-top: 10px; }
.q summary:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; border-radius: 6px; }

.decade-page .get { margin-top: 36px; }

@media (max-width: 380px) {
  .qs { padding-left: 2em; }
  .q__opts li { padding: 10px 12px; }
}
