/* Shared layout for the themed games — tokens from brand.css */
.game { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; padding-block: 20px 64px; align-items: start; }
.game-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 18px; }
.game-head h1 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4.6vw, 46px); letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
.game-head .strand-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.game-head .strand-tag i { width: 12px; height: 12px; border-radius: 3px; background: var(--strand); }
.game-head .kicker { display: block; font-size: 15px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }

.q-card { margin-top: 18px; background: var(--surface); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 20px; box-shadow: inset 0 6px 0 var(--strand); }
.q-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.q-meta b { color: var(--fg); }
.q-text { margin: 0; font-size: clamp(21px, 2.8vw, 30px); font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; }
.ans-row { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.ans-row .times { font-size: 20px; font-weight: 600; padding-bottom: 10px; }
.q-actions { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.feedback { padding: 14px 18px; border-radius: 12px; font-size: 16px; }
.feedback.good { background: var(--good-bg); }
.feedback.bad { background: var(--bad-bg); }
.feedback .working { margin-top: 8px; color: var(--muted); font-size: 15px; }
.rule { margin: 12px 0 0; font-size: 15px; color: var(--muted); }

.hand-in { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 16px; }
.hand-in h2 { margin: 0; font-size: 18px; }
.hand-in .names { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hand-in .gm-input { height: 44px; font-size: 15px; width: 100%; }
.other-games { display: flex; flex-wrap: wrap; gap: 6px; }
.other-games a { font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--sunken); color: var(--fg); text-decoration: none; }

@media (max-width: 860px) { .game { grid-template-columns: minmax(0, 1fr); } .hand-in { position: static; } .q-card { padding: 22px; } }
