/* Play Daily Orbs — 1/4 variables and base */
:root {
  --bg: #f6f2e9;
  --surface: #fffdf7;
  --text: #1d1c17;
  --muted: #5f574a;
  --primary: #1f5a44;
  --accent: #b4471f;
  --line: rgb(232 236 245 / .12);
  --line-strong: rgb(232 236 245 / .22);
  --radius: 14px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 17px;
  --fs-md: 22px;
  --fs-lg: 28px;
  --fs-xl: 36px;
  --fs-2xl: 48px;
  --shadow-1: 0 1px 2px rgb(0 0 0 / .3);
  --shadow-2: 0 8px 24px rgb(0 0 0 / .35);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(1000px 520px at 78% -8%, rgb(124 92 255 / .16), transparent 60%),
    radial-gradient(760px 420px at 12% 4%, rgb(34 211 238 / .10), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; margin: 0 0 var(--space-3); }
h1 { font-size: var(--fs-2xl); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-lg); margin-top: var(--space-7); }
h3 { font-size: var(--fs-md); }
p { margin: 0 0 var(--space-4); text-wrap: pretty; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.2em; }
li { margin-bottom: var(--space-2); }
strong { font-weight: 600; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 40; background: var(--surface); padding: 10px 16px; border-radius: var(--radius); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
::selection { background: rgb(124 92 255 / .35); }
.tabnum, .score, .streak { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }


/* Play Daily Orbs — 2/4 header, footer, buttons, stage */
.site-head { border-bottom: 1px solid var(--line); }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--text); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 18px; height: 18px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 12px rgb(124 92 255 / .6); }
.nav { display: flex; align-items: center; gap: var(--space-5); font-size: var(--fs-sm); }
.nav a { color: var(--text); }
.nav a:hover { color: var(--text); text-decoration: none; }
.site-foot { margin-top: var(--space-8); border-top: 1px solid var(--line); padding: var(--space-7) 0 var(--space-6); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--space-6); }
.foot-name { font-family: var(--font-head); font-weight: 700; margin: 0 0 var(--space-2); }
.foot-note { color: var(--muted); font-size: var(--fs-sm); max-width: 40ch; }
.foot-label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin: 0 0 var(--space-3); }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: var(--fs-sm); }
.foot-col a { color: var(--muted); }
.foot-col a:hover { color: var(--text); text-decoration: none; }
.foot-base { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.foot-base p { margin: 0; max-width: 62ch; }
.foot-copy { max-width: 46ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border-radius: var(--radius); border: 1px solid transparent; font: inherit; font-weight: 600; font-size: var(--fs-base); cursor: pointer; transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.btn-primary { background: var(--primary); color: var(--surface); box-shadow: 0 6px 20px rgb(102 68 232 / .35); }
.btn-primary:hover { background: #173f31; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn:disabled { opacity: .5; cursor: default; }
.eyebrow { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin: 0 0 var(--space-3); }
.lead { color: var(--muted); font-size: 18px; max-width: 60ch; }


/* Play Daily Orbs — 3/4 the game stage */
.stage-wrap { padding: var(--space-6) 0 0; }
.stage { position: relative; background: linear-gradient(180deg, rgb(21 27 43 / .96), rgb(13 18 31 / .96)); border: 1px solid var(--line-strong); border-radius: 20px; padding: var(--space-4); box-shadow: var(--shadow-2), inset 0 0 70px rgb(124 92 255 / .12); overflow: hidden; }
.stage-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 2px var(--space-2) var(--space-3); }
.stage-date { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.orb-track { display: flex; gap: 8px; align-items: center; }
.orb { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgb(232 236 245 / .30); background: rgb(232 236 245 / .12); transition: background-color 300ms ease, box-shadow 300ms ease, border-color 300ms ease; }
.orb.on { background: var(--accent); border-color: transparent; box-shadow: 0 0 12px rgb(34 211 238 / .65); }
.cover { display: grid; gap: var(--space-5); justify-items: center; padding: var(--space-7) var(--space-4) var(--space-6); border-radius: var(--radius); background: radial-gradient(520px 260px at 50% 0%, rgb(124 92 255 / .18), transparent 70%), var(--surface); border: 1px solid var(--line); min-height: 340px; align-content: center; }
.cover-art { width: min(320px, 76%); }
.cover-copy { text-align: center; }
.cover-h { font-family: var(--font-head); font-size: var(--fs-md); margin: 0 0 var(--space-2); }
.cover-hint { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.loading { display: grid; justify-items: center; gap: var(--space-4); padding: var(--space-8) var(--space-4); min-height: 340px; align-content: center; }
.loader { width: 54px; height: 54px; border-radius: 50%; border: 2px solid rgb(124 92 255 / .25); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.board { padding: var(--space-5) var(--space-3) var(--space-6); min-height: 340px; }
.board-meta { display: flex; justify-content: space-between; gap: var(--space-3); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin: 0 0 var(--space-4); }
.board-meta span:last-child { color: var(--muted); }
.q { font-size: var(--fs-md); margin: 0 0 var(--space-5); max-width: 36ch; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.choice { display: grid; gap: 8px; justify-items: center; align-content: center; padding: var(--space-4) var(--space-2); min-height: 96px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: rgb(232 236 245 / .04); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; text-align: center; transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease; }
.choice:hover { transform: translateY(-2px); border-color: var(--accent); }
.choice .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--primary); }
.choice.right { border-color: var(--accent); background: rgb(34 211 238 / .12); }
.choice.wrong { border-color: var(--accent); background: rgb(242 96 122 / .1); }
.choice:disabled { cursor: default; }
.feedback { margin: var(--space-4) 0 0; font-size: var(--fs-sm); color: var(--muted); min-height: 24px; }
.feedback b { color: var(--text); }


/* Play Daily Orbs — 4/5 result, content blocks, faq, comments */
.result { padding: var(--space-6) var(--space-3); min-height: 340px; }
.result h2 { margin-top: 0; font-size: var(--fs-lg); }
.result-line { font-size: var(--fs-md); font-family: var(--font-head); margin: 0 0 var(--space-3); }
.result-sub { color: var(--muted); margin: 0 0 var(--space-5); max-width: 52ch; }
.result-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.streak-row { display: flex; gap: var(--space-5); flex-wrap: wrap; margin: var(--space-2) 0 var(--space-5); font-size: var(--fs-sm); color: var(--muted); }
.streak-row b { color: var(--text); font-size: var(--fs-base); }
.board-tags { display: flex; gap: var(--space-2); flex-wrap: wrap; margin: var(--space-5) 0 0; padding: 0; list-style: none; }
.board-tags li { font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; margin: 0; }
.stage-tools { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-2) 0; flex-wrap: wrap; }
.tool-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 6px; border: 1px solid transparent; background: transparent; color: var(--muted); font: inherit; font-size: var(--fs-sm); cursor: pointer; transition: color 160ms ease, border-color 160ms ease; }
.tool-btn:hover { color: var(--text); border-color: var(--line-strong); }
.tool-btn[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.stage-msg { font-size: var(--fs-xs); color: var(--muted); margin-left: auto; }
/* content */
.section { padding: var(--space-8) 0 0; }
.split { display: grid; grid-template-columns: 300px 1fr; gap: var(--space-6); align-items: start; }
.split-side { position: sticky; top: 24px; }
.split-side h2 { margin-top: 0; font-size: var(--fs-lg); }
.split-body p { max-width: 68ch; }
.split-body p:last-child { margin-bottom: 0; }
.steps { counter-reset: step; display: grid; gap: var(--space-6); margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: var(--space-4); align-items: start; padding-bottom: var(--space-5); border-bottom: 1px solid var(--line); }
.steps li:last-child { padding-bottom: 0; border-bottom: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-size: 22px; color: var(--primary); line-height: 1.25; letter-spacing: -0.02em; }
.steps h3 { margin: 0 0 8px; font-size: var(--fs-base); font-family: var(--font-body); font-weight: 600; }
.steps p { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.65; max-width: 62ch; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.tile { padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius); background: rgb(21 27 43 / .55); }
.tile h3 { margin: 0 0 var(--space-2); font-size: var(--fs-base); font-family: var(--font-body); font-weight: 600; }
.tile p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: var(--space-4) 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: var(--space-4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: var(--space-3) 0 0; color: var(--muted); max-width: 68ch; }
.comments { padding: var(--space-7) 0 0; }
.gf-comments, [data-gf-comments] { display: grid; gap: var(--space-4); }
.comment-item { border-top: 1px solid var(--line); padding-top: var(--space-3); }
.comment-head { display: flex; gap: var(--space-3); align-items: baseline; font-size: var(--fs-sm); color: var(--muted); }
.comment-name { color: var(--text); font-weight: 600; }
.comment-text { margin: var(--space-2) 0 0; max-width: 68ch; }
.comment-form { display: grid; gap: var(--space-3); margin-top: var(--space-5); max-width: 560px; }
.comment-form input, .comment-form textarea { width: 100%; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: rgb(13 18 33 / .8); color: var(--text); font: inherit; }
.comment-form textarea { min-height: 96px; resize: vertical; }
.comment-form button { justify-self: start; }
.related { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-5); }
.related a { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-sm); color: var(--text); }
.related a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.page-head { padding: var(--space-7) 0 var(--space-3); }
.page-head h1 { font-size: var(--fs-xl); }
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--fs-md); margin-top: var(--space-6); }
.prose h3 { font-size: var(--fs-base); font-family: var(--font-body); font-weight: 600; }
.prose ul li { color: var(--muted); }
.prose strong { color: var(--text); }
.table-wrap { overflow-x: auto; }
.answers { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.answers th, .answers td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.answers th { color: var(--muted); font-weight: 600; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; }
.answers td { color: var(--text); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }


/* Play Daily Orbs — 5/5 responsive */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: var(--space-4); }
  .split-side { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --fs-2xl: 32px; --fs-xl: 28px; --fs-lg: 24px; }
  body { font-size: 16px; }
  .head-inner { min-height: 58px; gap: var(--space-3); }
  .nav { gap: var(--space-4); font-size: 13px; flex-wrap: wrap; justify-content: flex-end; }
  .nav a:nth-child(3) { display: none; }
  .brand { font-size: 16px; }
  .lead { font-size: 16px; margin-bottom: var(--space-3); }
  .stage-wrap { padding-top: var(--space-4); }
  .stage { padding: var(--space-3); border-radius: var(--radius); }
  .cover, .loading, .board, .result { min-height: 300px; padding-left: var(--space-2); padding-right: var(--space-2); }
  .cover { padding: var(--space-5) var(--space-3); }
  .choices { gap: 8px; }
  .choice { padding: var(--space-3) 6px; min-height: 84px; font-size: var(--fs-sm); }
  .q { font-size: 20px; }
  .btn { width: 100%; }
  .result-actions .btn, .related a { width: 100%; }
  .related a { justify-content: center; }
  .steps li { grid-template-columns: 40px 1fr; gap: var(--space-3); }
  .steps li::before { font-size: var(--fs-md); }
  .grid-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .foot-base { flex-direction: column; }
  .section { padding-top: var(--space-7); }
  .stage-tools .stage-msg { margin-left: 0; width: 100%; }
}


/* Play Daily Orbs — 5/5 compact step chips + today's hints block */
.mini-flow { display: flex; flex-wrap: wrap; gap: 10px; margin: var(--space-4) 0 var(--space-5); padding: 0; list-style: none; }
.mini-flow li { margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-sm); color: var(--muted); background: rgb(21 27 43 / .5); }
.mini-flow b { font-family: var(--font-head); font-size: var(--fs-xs); letter-spacing: .08em; color: var(--accent); font-weight: 500; }
.hints-today { margin-top: var(--space-6); padding: var(--space-5); border: 1px solid var(--line-strong); border-radius: var(--radius); background: linear-gradient(180deg, rgb(21 27 43 / .92), rgb(13 18 31 / .92)); }
.hints-today h2 { margin: 0 0 var(--space-3); font-size: var(--fs-md); }
.hints-note { margin: 0 0 var(--space-4); color: var(--muted); font-size: var(--fs-sm); max-width: 66ch; }
.hints-list { list-style: none; margin: 0 0 var(--space-4); padding: 0; }
.hints-list li { margin: 0; display: grid; grid-template-columns: 176px 1fr; gap: var(--space-4); align-items: start; padding: var(--space-3) 0; border-top: 1px solid var(--line); }
.hints-list li:last-child { border-bottom: 1px solid var(--line); }
.hints-board { margin: 0; font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.hints-text { margin: 0; font-size: var(--fs-sm); color: var(--text); max-width: 66ch; }
.hints-more { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 640px) {
  .hints-today { padding: var(--space-4); }
  .hints-list li { grid-template-columns: 1fr; gap: 4px; }
}


/* Play Daily Orbs — 5b review pass: calmer step list, breathing room in tiles, mobile first screen */
h1 { font-size: clamp(2rem, 7.2vw, 3rem); }
.mini-flow { gap: var(--space-4); margin: var(--space-4) 0 var(--space-5); }
.mini-flow li { border: 0; border-radius: 0; background: none; padding: 0; color: var(--muted); }
.mini-flow b { margin-right: 8px; color: var(--accent); }
.grid-2 .tile { padding: var(--space-5); }
.grid-2 .tile h3 { font-size: var(--fs-base); margin-bottom: var(--space-2); }
.grid-2 .tile p { font-size: var(--fs-sm); margin-bottom: 0; }
.grid-2 + p { margin-top: var(--space-4); }
@media (max-width: 640px) {
  .stage-wrap { padding-inline: 16px; }
  .lead { line-height: 1.55; }
  .stage { border-radius: 12px; }
  .btn-primary { width: 100%; }
}


/* Play Daily Orbs — 5c review pass: mobile nav, hints breathing room, readable answer archive */
.prose h3 { margin-top: var(--space-6); padding-left: var(--space-3); border-left: 3px solid var(--primary); font-size: var(--fs-md); }
.prose p + h3, .prose ul + h3 { margin-top: var(--space-7); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin: var(--space-4) 0 var(--space-5); }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { color: var(--muted); font-weight: 600; }
.prose tbody tr:nth-child(even) { background: rgb(21 27 43 / .55); }
.hints-note { line-height: 1.7; }
.hints-text { line-height: 1.7; }
.hints-list li { padding: var(--space-4) 0; }
@media (max-width: 640px) {
  .head-inner { flex-wrap: wrap; gap: var(--space-3); }
  .nav { flex-wrap: wrap; gap: var(--space-4); width: 100%; }
  .hints-today { padding: var(--space-5); }
  .hints-text { font-size: var(--fs-base); }
  .prose td, .prose th { padding: 8px 8px; }
}


/* Play Daily Orbs — 5d small fixes from review 2 */
@media (max-width: 640px) {
  .page-head h1 { font-size: 1.9rem; }
  .page-head .lead { font-size: var(--fs-sm); line-height: 1.55; }
  .prose ul { padding-left: 1.25rem; list-style-position: outside; }
  .hints-board { margin-bottom: var(--space-2); }
  .hints-text { line-height: 1.65; }
}

/* Daily answers page: day blocks with folded boards */
#answers-by-date .day-block { margin: var(--space-5) 0; }
#answers-by-date .day-date { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-3); font-size: var(--fs-md); }
#answers-by-date .day-badge { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: #efe8d9; color: var(--text); border: 1px solid var(--line); font-weight: 700; }
#answers-by-date .board-fold { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3) var(--space-4); margin: var(--space-2) 0; }
#answers-by-date .board-fold summary { cursor: pointer; font-weight: 600; }
#answers-by-date .board-fold[open] summary { margin-bottom: var(--space-3); }
#answers-by-date .board-q { margin: 0 0 var(--space-2); font-weight: 500; }
#answers-by-date .opt-list { margin: 0 0 var(--space-3); padding-left: 1.15em; color: var(--muted); }
#answers-by-date .opt-list li { margin: 2px 0; }
#answers-by-date .opt-correct { color: var(--text); font-weight: 700; }
#answers-by-date .hint-line { margin: 0 0 var(--space-2); }
#answers-by-date .hint-tag { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; background: rgb(124 92 255 / .18); color: var(--primary); padding: 2px 6px; border-radius: 4px; margin-right: var(--space-1); }
#answers-by-date .note-line { margin: 0; color: var(--muted); font-size: var(--fs-sm); }


/* ---- hints page ---- */
.hints-page .lead { max-width: 62ch; }
.hints-page p, .hints-page li { max-width: 68ch; }
.hints-page ul, .hints-page ol { padding-left: 1.5em; }
.hints-page li { margin-bottom: 14px; line-height: 1.6; }
.hints-page li b { color: var(--accent); font-weight: 600; }
.hints-page details { border-top: 1px solid rgba(255,255,255,.12); }
.hints-page details:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.hints-page summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; cursor: pointer; font-weight: 600; }
.hints-page details p { padding: 0 0 4px 20px; color: rgba(255,255,255,.72); }
.hints-page h2 + ul, .hints-page h2 + p { margin-top: 12px; }
@media (max-width: 768px) {
  .hints-page .lead { font-size: 16px; line-height: 1.65; }
  .hints-page h1 { margin-bottom: 16px; }
  .hints-page > .lead { margin-bottom: 24px; }
  .site-head .head-inner { flex-wrap: wrap; row-gap: 6px; }
  .site-head .nav { gap: 12px; }
  .site-head .nav a { font-size: 13px; }
}


/* ---- global: small-print contrast, FAQ affordance, mobile nav ---- */
.stage-msg { color: rgba(255,255,255,.66); }
.faq details { border-top: 1px solid rgba(255,255,255,.12); }
.faq details:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; cursor: pointer; font-weight: 600; }
.faq details > p { padding: 0 0 4px 20px; color: rgba(255,255,255,.72); }
.section ul { padding-left: 1.5em; }
.section ul li { margin-bottom: 10px; line-height: 1.6; }
.section ul li b { color: var(--text); font-weight: 600; }
@media (max-width: 768px) {
  .site-head .head-inner { flex-wrap: wrap; row-gap: 6px; }
  .site-head .nav { gap: 12px; flex-wrap: wrap; row-gap: 4px; }
  .site-head .nav a { font-size: 13px; }
  .section { padding-top: 40px; padding-bottom: 40px; }
}


/* ---- final: mobile header row, list rhythm ---- */
.section ul { margin-top: 16px; margin-bottom: 24px; }
.section ul li { margin-bottom: 12px; line-height: 1.7; }
@media (max-width: 768px) {
  .site-head .head-inner { flex-wrap: wrap; row-gap: 10px; }
  .site-head .nav { flex-basis: 100%; justify-content: flex-start; gap: 14px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .site-head .nav::-webkit-scrollbar { display: none; }
  .site-head .nav a { font-size: 14px; white-space: nowrap; }
}


/* --- readability pass: 长文行高与栏宽、FAQ 可点击感、手机标题与导航 --- */
body { line-height: 1.7; }
p { margin-bottom: 1.05em; }
.section p, .faq p, .lead { max-width: 72ch; }
h1, h2 { text-wrap: balance; }
@media (max-width: 640px) {
  h1 { font-size: clamp(1.75rem, 8vw, 2.1rem); line-height: 1.15; }
  .section { padding-block: 40px; }
  .lead { font-size: 1rem; line-height: 1.65; }
  nav { font-size: 0.875rem; }
  .eyebrow { letter-spacing: 0.1em; }
}
.faq summary { cursor: pointer; padding-block: 0.85rem; font-weight: 600; }
.faq summary:hover { color: var(--accent); }
.faq summary::marker { color: var(--accent); }
.faq summary + p { margin-top: 0.4rem; }
.hints-page h2 + p > strong:first-child {
  display: block;
  margin-top: 1.4rem;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hints-page h2 + p > strong:first-child:first-child { margin-top: 1.4rem; }
.hints-page .stage-msg {
  max-width: 72ch;
  text-align: left;
  background: var(--surface);
  border-left: 2px solid var(--accent);
  padding: 0.7rem 1rem;
  border-radius: 8px;
}
.hints-page .stage-msg a { text-decoration: underline; text-underline-offset: 2px; }


/* --- 首屏可玩感：主按钮做足，手机上占满一行 --- */
#og-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding-inline: 24px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
#og-start:hover { transform: translateY(-1px); }
@media (max-width: 640px) {
  #og-start { width: 100%; font-size: 1.0625rem; }
  #og-date { font-size: 0.8125rem; letter-spacing: 0.08em; }
  nav a { padding-block: 0.55rem; }
}
/* --- 编号步骤条：桌面排成四列，数字做视觉锚点 --- */
.mini-flow { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.mini-flow > * { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
@media (max-width: 640px) { .mini-flow { grid-template-columns: 1fr 1fr; gap: 12px; } }


/* --- 首屏：文案与主按钮在前，插画退到后面 --- */
.cover { display: grid; gap: 14px; justify-items: center; text-align: center; }
.cover-copy { order: 1; }
#og-start { order: 2; margin-block: 2px 6px; }
.cover-art { order: 3; width: 100%; max-width: 250px; height: auto; opacity: 0.85; }
@media (max-width: 640px) { .cover-art { max-width: 180px; } .cover-copy { text-align: center; } }
/* --- 步骤条：数字做锚点 --- */
.mini-flow li b { display: block; font-size: 1.4rem; line-height: 1; margin-bottom: 0.4rem; color: var(--accent); font-variant-numeric: tabular-nums; }
/* --- hints 页：题板标签与提示条目 --- */
.hints-page ul li { padding-block: 0.65rem; border-bottom: 1px solid var(--line); }
.hints-page ul li b { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.2rem; }
.hints-page p > strong:first-child { display: block; margin-top: 1.25rem; margin-bottom: 0.2rem; color: var(--accent); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }


/* --- 手机端顶栏：单行 + 可横向滑动，不与标题挤在一起 --- */
@media (max-width: 720px) {
  .head-inner { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; padding-bottom: 10px; }
  .brand { flex: 0 0 auto; font-size: 0.95rem; }
  .nav { display: flex; gap: 14px; margin-left: auto; overflow-x: auto; white-space: nowrap; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding-block: 0.5rem; }
}
/* --- 卡片节奏 --- */
.grid-2 { gap: 16px; }
.tile h3 { margin-bottom: 0.3rem; }
.tile p { margin: 0; }
.stage-tools .stage-msg { max-width: none; }


/* --- 第三轮：版面节奏、标题层级、FAQ 分隔、导航点击感 --- */
h2 { margin-top: 38px; margin-bottom: 14px; letter-spacing: -0.01em; }
h2 + p { margin-top: 0; }
.eyebrow {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
h1 + .lead { margin-top: 10px; }
.mini-flow { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
@media (min-width: 900px) { .mini-flow { grid-template-columns: repeat(4, 1fr); } }
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}
.grid-2 + p, .mini-flow + p { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.cover-art { max-width: 220px; opacity: 0.72; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { padding-block: 0.95rem; padding-right: 1.5rem; }
.hints-page > h1 { margin-top: 12px; }
.hints-page h2 { max-width: 68ch; }
.hints-page ul { margin-top: 14px; }
.hints-page .stage-msg { margin-top: 16px; }
@media (max-width: 720px) {
  .nav a { padding: 0.5rem 0.7rem; border-radius: 999px; background: var(--surface); }
  .section h1 { margin-top: 6px; }
}

/* --- 正文对比度：说明文字不用灰到底 --- */
.split-body p, .tile p, .section > p, .hints-page p { color: var(--text); }
.tile p, .split-body p { opacity: 0.92; }
.hints-page ul li { color: var(--text); }

/* --- 正文栏宽与区块留白 --- */
.split-body p { max-width: 68ch; }
.section { padding-block: 56px; }
@media (max-width: 640px) { .section { padding-block: 36px; } }
.tile h3 { font-size: 1.0625rem; line-height: 1.3; }
.stage-date { letter-spacing: 0.02em; }

/* --- 最终调整：对齐、胶囊化列表、可点击感 --- */
main > section:first-child, .stage {
  padding-top: 24px;
}
.split-body p { max-width: 65ch; margin-bottom: 1.25rem; }
.mini-flow { gap: 24px; }
.tile { transition: transform 160ms ease, border-color 160ms ease; }
.tile:hover { transform: translateY(-2px); border-color: var(--accent); }
.stage-tools { display: block; }
.stage-tools .stage-msg {
  display: inline-block;
  margin: 0 8px 8px 0;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  text-align: left;
}
/* hints 页：提示列表去圆点，改为标签 + 正文的基线上对齐 */
.hints-page ul { list-style: none; padding-left: 0; margin-left: 0; }
.hints-page ul li { display: block; padding-block: 0.7rem; }
.hints-page ul li b {
  display: inline-block;
  margin: 0 0.4rem 0.1rem 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
/* hints 页：四个分类的小标题与提示标签区分开 */
.hints-page p > strong:first-child {
  margin-top: 1.35rem;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text);
}
@media (max-width: 600px) {
  .nav { flex-wrap: wrap; justify-content: flex-end; gap: 8px; overflow-x: visible; }
  .hints-page ul li b { display: block; margin-bottom: 0.15rem; }
}


/* ---- 5/5 paper skin: replaces the first-pass dark/purple look ---- */
:root{--bg:#f6f2e9;--surface:#fffdf7;--text:#1d1c17;--muted:#6a655a;--primary:#1f5a44;--accent:#b4471f;--line:rgb(29 28 23 / .14);--line-strong:rgb(29 28 23 / .3);--radius:10px;--shadow-1:none;--shadow-2:0 10px 24px -18px rgb(29 28 23 / .5);--font-head:"Fraunces",Georgia,"Times New Roman",serif;--font-body:"Inter",system-ui,sans-serif;}
body{background:var(--bg);color:var(--text);}
h1{font-size:clamp(36px,4.6vw,58px);font-weight:700;line-height:1.06;letter-spacing:-.02em;}
h2{font-size:clamp(23px,2.4vw,29px);font-weight:600;}
h3{font-weight:600;}
.eyebrow,.foot-label{color:var(--accent);font-size:12px;font-weight:700;letter-spacing:.14em;}
a{color:var(--primary);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;}
a:hover{color:var(--accent);}
.lead{color:var(--muted);font-size:18px;max-width:56ch;}
.site-head{border-bottom:0;}
.head-inner{min-height:62px;border-bottom:3px double var(--line-strong);}
.brand{font-family:var(--font-head);font-size:19px;font-weight:600;}
.brand-mark{width:13px;height:13px;background:var(--primary);box-shadow:none;}
.nav{gap:22px;font-size:14px;}
.nav a{color:var(--text);text-decoration:none;}
.nav a:hover{color:var(--accent);text-decoration:underline;}
.btn{border-radius:8px;}
.btn-primary{background:var(--primary);color:#fffdf7;box-shadow:none;}
.btn-primary:hover{background:#173f31;transform:none;}
.btn-ghost{border-color:var(--line-strong);color:var(--text);}
.btn-ghost:hover{border-color:var(--primary);color:var(--primary);}
.stage-wrap{padding-top:24px;}
.stage{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-2);padding:16px;}
.stage-top{border-bottom:1px solid var(--line);padding-bottom:12px;}
.stage-date{font-size:12px;letter-spacing:.1em;color:var(--muted);}
.orb{width:14px;height:14px;border:1px solid var(--line-strong);background:transparent;}
.orb.on{background:var(--accent);border-color:var(--accent);box-shadow:none;}
.cover{background:transparent;border:0;min-height:240px;padding:22px 12px;}
.stage-note{margin-top:14px;font-size:15px;line-height:1.55;}
.cover-h{font-size:21px;font-weight:600;}
.loader{border-color:var(--line);border-top-color:var(--primary);}
.board-meta{color:var(--accent);}
.q{font-family:var(--font-head);font-size:25px;line-height:1.3;}
.choice{background:var(--bg);border:1px solid var(--line-strong);border-radius:10px;min-height:102px;font-size:16px;}
.choice:hover{border-color:var(--primary);background:var(--surface);transform:none;}
.choice .dot{width:13px;height:13px;background:transparent;border:1.5px solid var(--line-strong);}
.choice.right{border-color:var(--primary);background:rgb(31 90 68 / .09);}
.choice.right .dot{background:var(--primary);border-color:var(--primary);}
.choice.wrong{border-color:var(--accent);background:rgb(180 71 31 / .09);}
.choice.wrong .dot{background:var(--accent);border-color:var(--accent);}
.tool-btn[aria-pressed="true"]{color:var(--accent);border-color:var(--accent);}
.result-line{font-family:var(--font-head);}


.split{grid-template-columns:250px 1fr;gap:44px;}
.split-side h2{margin-top:0;}
.split-body p{max-width:64ch;}
.tile{background:var(--surface);border:1px solid var(--line);border-radius:10px;}
.faq summary::after{color:var(--accent);}
.comment-form input,.comment-form textarea{background:var(--surface);border:1px solid var(--line-strong);border-radius:8px;}
.related a{border:1px solid var(--line-strong);color:var(--text);}
.related a:hover{border-color:var(--accent);color:var(--accent);}
.board-tags li{border-color:var(--line);color:var(--muted);}
.site-foot{border-top:1px solid var(--line);}
.foot-note,.foot-col a,.foot-base{color:var(--muted);}
.foot-col a:hover{color:var(--text);}
.foot-name{font-family:var(--font-head);}
.prose h3{font-family:var(--font-body);}
@media (max-width:760px){
 .head-inner{min-height:56px;gap:10px;}
 .brand{font-size:16px;gap:8px;}
 .nav{gap:13px;font-size:13px;}
 .nav a:nth-child(n+4){display:none;}
 .stage-wrap{padding-top:16px;}
 .stage{padding:12px;}
 .stage-top{flex-wrap:wrap;gap:8px;}
 .stage-date{font-size:12px;letter-spacing:.06em;}
 .cover{min-height:250px;padding:20px 4px;}
 .cover-art{width:min(260px,88%);}
 .cover-h{font-size:19px;}
 .choices{grid-template-columns:1fr;gap:10px;}
 .choice{min-height:76px;}
 .q{font-size:21px;}
 .split{grid-template-columns:1fr;gap:14px;}
 .split-side{position:static;}
 .tile{padding:20px;}
 .foot-grid{grid-template-columns:1fr;gap:24px;}
}


/* 5/5 fixes: readable small text, badge contrast */
@media (max-width:760px){.stage-date{font-size:12px;letter-spacing:.06em;}}
#answers-by-date .day-badge{color:var(--text);background:#efe8d9;border:1px solid var(--line);}
.foot-label,.eyebrow{font-size:12px;}


/* 5/5 round two: header, rhythm, cards */
.cover{gap:18px;}
@media (max-width:760px){.cover{min-height:196px;padding:10px 4px;gap:10px;}.cover-art{max-width:100px;opacity:.6;}}
.section .stage-msg{margin-left:0;display:block;font-size:13px;color:var(--muted);margin-top:8px;}
.mini-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:10px;overflow:hidden;list-style:none;margin:24px 0;padding:0;}
.mini-flow li{margin:0;padding:16px 18px;background:var(--surface);font-size:14px;line-height:1.45;color:var(--muted);}
.mini-flow li b{display:block;font-family:var(--font-head);font-size:13px;color:var(--accent);margin-bottom:6px;letter-spacing:.04em;}
.tile{padding:24px;display:flex;flex-direction:column;}
.tile h3{margin-bottom:8px;font-size:16px;color:var(--text);}
.tile p{line-height:1.6;}
.split-body p+p{margin-top:20px;}
.split-body h3{font-size:18px;font-weight:600;margin:0 0 8px;}
.tool-btn{min-height:44px;padding:0 10px;}
@media (max-width:760px){
 .head-inner{flex-wrap:wrap;padding-block:10px;gap:0;}
 .nav{flex:0 0 100%;width:100%;gap:18px;overflow-x:auto;padding:8px 0 4px;font-size:13px;scrollbar-width:none;}
 .nav a{white-space:nowrap;}
 .nav a:nth-child(5){display:none;}
 .eyebrow{margin-bottom:12px;}
 h1{margin-bottom:14px;}
 .mini-flow{grid-template-columns:repeat(2,minmax(0,1fr));}
}


/* 5/5 round three: contrast, list alignment, conservative mobile header */
:root{--muted:#5f574a;--accent-ink:#943f18;}
.eyebrow,.foot-label{color:var(--accent-ink);}
#main ul{list-style:disc;list-style-position:outside;padding-left:1.3em;}
#main li{padding-left:2px;margin-bottom:10px;}
.section ul,.split-body ul{max-width:68ch;}
.split-body p{max-width:62ch;}
@media (max-width:760px){
 .head-inner{flex-wrap:wrap;padding-block:8px;gap:0;}
 .nav{flex:0 0 100%;display:flex;flex-wrap:wrap;gap:10px 16px;overflow:visible;padding:6px 0 2px;font-size:13px;}
 .nav a{white-space:normal;}
 .nav a:nth-child(n+4){display:none;}
 .btn-primary{min-height:50px;}
}

/* 纸色皮肤修复：深色皮肤遗留的白色文字在白底上不可见，统一改用 --muted / --text */
.stage-msg{color:var(--muted);}
.faq details > p,.hints-page details p{color:var(--muted);}
.faq details,.hints-page details{border-color:var(--line);}
.section ul li b{color:var(--text);}
.stage-tools .stage-msg:empty{display:none;}
/* 深色皮肤遗留的斑马纹改回纸色，并统一小字最小 12px */
.prose tbody tr:nth-child(even){background:rgb(29 28 23 / .045);}
.eyebrow,.foot-label,.stage-date{font-size:12px;}
.stage-msg{font-size:12.5px;}



/* --- 手机端顶栏修正：Hints 恢复显示，导航独占第二行、可横向滑动 --- */
@media (max-width: 720px) {
  .site-head .head-inner { flex-wrap: wrap; row-gap: 2px; align-items: center; }
  .site-head .nav { flex: 0 0 100%; width: 100%; margin-left: 0; justify-content: flex-start; gap: 8px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .site-head .nav a { display: inline-flex; align-items: center; white-space: nowrap; }
  .site-head .nav a:nth-child(3) { display: inline-flex; }
}



/* --- 手机端顶栏第二版：全部 5 项换行显示，不横滑；首屏标题收紧 --- */
@media (max-width: 720px) {
  .site-head .nav { flex-wrap: wrap; overflow: visible; gap: 6px; }
  .site-head .nav a { font-size: 13px; padding: 0.35rem 0.6rem; }
  .site-head h1, main h1 { font-size: 34px; }
  main h2 { font-size: 26px; }
}



/* --- 手机端首屏对齐与按钮形状：卡片内容左对齐、主按钮满宽、圆角收紧 --- */
@media (max-width: 720px) {
  .stage-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cover { padding: 24px 18px; }
  .cover-copy { text-align: left; }
  .cover-h { font-size: 24px; }
  .cover .btn { width: auto; min-width: 220px; }
  .stage-tools { flex-wrap: wrap; gap: 8px; }
}
.btn { border-radius: 6px; }



/* --- 手机端左右留白修正：正文与卡片离屏幕边缘 22px，说明文字不再顶到胶囊边 --- */
@media (max-width: 720px) {
  .wrap,
  .stage-wrap,
  .stage-wrap.wrap,
  .section.wrap,
  .comments.wrap { padding-inline: 22px; }
  .stage { padding: 16px 14px; }
  .cover { padding: 22px 14px; }
  .stage-date { font-size: 12px; letter-spacing: .04em; line-height: 1.5; text-wrap: balance; }
  .stage-note { margin-top: 20px; }
  .stage-tools { padding-inline: 0; gap: 6px; }
  .stage-tools .stage-msg {
    display: block;
    width: 100%;
    margin: 8px 0 0;
    padding: 10px 14px;
    line-height: 1.55;
    text-align: left;
  }
  .prose, .prose p, .prose li { max-width: 100%; }
  .prose th, .prose td { padding: 8px 10px; }
  .hints-text, .hints-note, .hints-board, .hints-page p, .hints-page li { max-width: 100%; }
  .prose h3 { padding-left: 10px; }
  #answers-by-date .board-fold { padding: 12px 14px; }
  .page-head { padding-top: 28px; }
}



/* --- 手机端导航：五个入口换行全显示，不再横向卷动藏着后面几个 --- */
@media (max-width: 720px) {
  .site-head .head-inner,
  .head-inner { flex-wrap: wrap; row-gap: 8px; }
  .site-head .nav,
  .nav {
    flex: 1 1 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-left: 0;
    width: 100%;
    overflow: visible;
    white-space: normal;
  }
  .nav a { font-size: 13.5px; padding: 6px 0; }
  /* 卡片底部说明：手机上不用胶囊包裹，改成普通说明行 */
  .stage-tools .stage-msg {
    border: 0;
    background: none;
    border-radius: 0;
    padding: 0;
    margin: 8px 0 0;
    color: var(--muted);
  }
}

/* --- Modern Editorial Stage & Midnight Closed Panel Upgrade --- */
.stage {
  background: #fffdf8;
  border: 1px solid rgba(29, 28, 23, 0.14);
  box-shadow: 0 1px 2px rgba(29, 28, 23, 0.04), 0 14px 36px -18px rgba(29, 28, 23, 0.16);
  border-radius: 16px;
}
.stage-top {
  border-bottom: 1px solid rgba(29, 28, 23, 0.09);
  padding-bottom: 14px;
}
.cover {
  gap: 18px;
  padding: 34px 24px 28px;
}
.cover-topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.cover-topics li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px !important;
  margin: 0 !important;
  border-radius: 999px;
  background: #f6f2e9;
  border: 1px solid rgba(29, 28, 23, 0.1);
  font-size: 12.5px;
  font-weight: 600;
  color: #3d382e;
  letter-spacing: 0.01em;
}
.topic-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.topic-gk { background: #1f5a44; }
.topic-words { background: #b4471f; }
.topic-geo { background: #2c5d7c; }
.topic-sci { background: #8a6224; }
.cover-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}
.btn-stage {
  padding: 13px 26px;
  font-size: 15.5px;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 6px 16px -6px rgba(31, 90, 68, 0.45);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.btn-stage:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -8px rgba(31, 90, 68, 0.55);
}
.btn-stage-sec {
  padding: 12px 20px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid rgba(29, 28, 23, 0.18);
  background: #f6f2e9;
  color: #1d1c17;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.btn-stage-sec:hover {
  border-color: #1f5a44;
  background: #efe9dc;
}
.closed-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 24px 32px;
  gap: 14px;
  background: radial-gradient(circle at 50% 0%, rgba(180, 71, 31, 0.06), transparent 65%);
  border-radius: 12px;
}
.closed-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(180, 71, 31, 0.1);
  color: #943f18;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.closed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b4471f;
  box-shadow: 0 0 0 3px rgba(180, 71, 31, 0.2);
}
.closed-title {
  margin: 2px 0 0;
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1.2;
  color: #1d1c17;
}
.closed-sub {
  margin: 0;
  max-width: 48ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.countdown-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 28px;
  margin: 4px 0 6px;
  border-radius: 12px;
  background: #f6f2e9;
  border: 1px solid rgba(29, 28, 23, 0.12);
}
.countdown-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}
.countdown-time {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1f5a44;
  line-height: 1.1;
}
@media (max-width: 720px) {
  .cover-topics { justify-content: flex-start; }
  .cover-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .cover-actions .btn { width: 100%; justify-content: center; text-align: center; }
  .closed-panel { padding: 26px 14px 22px; }
  .closed-title { font-size: 23px; }
  .countdown-time { font-size: 26px; }
}

/* --- Auto-updating Archive Cards Grid --- */
#main ul.archive-grid {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin: 18px 0 28px;
}
#main ul.archive-grid li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.archive-card-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fffdf8;
  border: 1px solid rgba(29, 28, 23, 0.14);
  text-decoration: none;
  color: #1d1c17;
  box-shadow: 0 1px 2px rgba(29, 28, 23, 0.04);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.archive-card-link:hover {
  transform: translateY(-2px);
  border-color: #1f5a44;
  box-shadow: 0 10px 22px -14px rgba(31, 90, 68, 0.45);
}
.archive-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.archive-card-top strong {
  font-family: var(--font-head);
  font-size: 16.5px;
  color: #1d1c17;
}
.archive-card-meta {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}
.archive-card-cta {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  color: #1f5a44;
}

/* --- v32 Engagement: Choice Tally, Emoji Scorecard & Leaderboard --- */
.choice-pct {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(29, 28, 23, 0.08);
  font-size: 12px;
  font-weight: 600;
  color: #3d382e;
}
.result-emoji {
  margin: 0 0 12px;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #1d1c17;
}
.result-emoji:empty { display: none; }
.share-status {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #1f5a44;
  min-height: 18px;
}
.lb-box {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #f6f2e9;
  border: 1px solid rgba(29, 28, 23, 0.12);
}
.lb-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.lb-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 17px;
  color: #1d1c17;
}
.lb-count {
  font-size: 12.5px;
  color: var(--muted);
}
#main ol.lb-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  gap: 6px;
}
#main ol.lb-list li {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fffdf8;
  border: 1px solid rgba(29, 28, 23, 0.08);
  font-size: 14px;
}
#main ol.lb-list li.lb-me {
  border-color: #1f5a44;
  background: rgba(31, 90, 68, 0.08);
  font-weight: 600;
}
.lb-rank { color: var(--muted); font-weight: 600; }
.lb-score { color: #1f5a44; font-weight: 700; }
.lb-name-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lb-name-form input {
  flex: 1 1 180px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(29, 28, 23, 0.2);
  background: #fffdf8;
  font: inherit;
  font-size: 14px;
  color: #1d1c17;
}
.lb-save-btn {
  min-height: 40px;
  padding: 0 14px;
  font-size: 13.5px;
}
.lb-msg {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}
.lb-msg:empty { display: none; }
.next-board-btn {
  margin-top: 12px;
  min-height: 38px;
  padding: 6px 14px;
  font-size: 13.5px;
}
.answers-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0 8px;
  padding: 16px 20px;
  border-radius: 12px;
  background: #fffdf8;
  border: 1px solid rgba(31, 90, 68, 0.25);
  box-shadow: 0 1px 2px rgba(29, 28, 23, 0.04);
}
.answers-banner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #3d382e;
}
.answers-banner-cta {
  white-space: nowrap;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 8px;
}
.section-tight {
  padding-top: 20px;
}

/* --- Compact 3-Column Horizontal Card Shelf (More Ways to Play) --- */
.more-shelf {
  margin: 28px 0 22px;
}
.more-shelf-title {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: 20px;
  color: #1d1c17;
}
.more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.more-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fffdf8;
  border: 1.5px solid rgba(29, 28, 23, 0.2);
  text-decoration: none;
  color: #1d1c17;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.more-card:hover {
  transform: translateY(-2px);
  border-color: #1f5a44;
  box-shadow: 0 10px 22px -14px rgba(31, 90, 68, 0.45);
}
.more-thumb {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(29, 28, 23, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f2e9;
}
.more-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.more-body strong {
  font-family: var(--font-head);
  font-size: 15.5px;
  line-height: 1.25;
  color: #1d1c17;
}
.more-body span {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}
@media (max-width: 960px) {
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .more-grid { grid-template-columns: 1fr; }
}

/* --- Vertical Visual Game-Card Gallery (Games Like Daily Orbs) --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0 34px;
}
.gallery-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #fffdf8;
  border: 1.5px solid rgba(29, 28, 23, 0.22);
  text-decoration: none;
  color: #1d1c17;
  box-shadow: 0 2px 6px rgba(29, 28, 23, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.gallery-card:hover {
  transform: translateY(-3px);
  border-color: #1f5a44;
  box-shadow: 0 14px 28px -16px rgba(31, 90, 68, 0.45);
}
.gallery-shot {
  width: 100%;
  aspect-ratio: 16 / 11;
  background: #f6f2e9;
  border-bottom: 1px solid rgba(29, 28, 23, 0.12);
  overflow: hidden;
}
.gallery-shot svg,
.gallery-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.gallery-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 18px;
  flex: 1;
}
.gallery-info h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 18.5px;
  line-height: 1.25;
  color: #1d1c17;
}
.gallery-info p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  flex: 1;
}
.gallery-tag {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #943f18;
}
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

