
:root {
  color-scheme: light;
  --paper: #f7f5ee;
  --ink: #192822;
  --muted: #47584d;
  --forest: #204e3d;
  --line: #c9d4c6;
  --panel: #fffefa;
  font: 16px/1.55 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: var(--forest); text-underline-offset: .18em; }
header, footer, main { width: min(100% - 32px, 704px); margin-inline: auto; }
header, footer { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-block: 18px; }
header { justify-content: space-between; border-bottom: 1px solid var(--line); }
footer { border-top: 1px solid var(--line); font-size: .9rem; }
.brand { font-weight: 800; text-decoration: none; }
main { padding-block: clamp(22px, 5vw, 44px); }
h1, h2 { font-family: Georgia, serif; line-height: 1.1; text-wrap: balance; margin: 0 0 12px; }
h1 { font-size: clamp(34px, 8vw, 58px); }
h2 { font-size: clamp(24px, 5.5vw, 36px); }
p { margin: 0 0 14px; }
.lede, .scope, .small { color: var(--muted); }
.small { font-size: .9rem; }
.game { border: 1px solid var(--line); margin-block: 18px 22px; padding: clamp(16px, 5vw, 32px); background: var(--panel); border-radius: 14px; }
[hidden] { display: none !important; }
button, input { font: inherit; min-height: 46px; border-radius: 8px; }
button { cursor: pointer; padding: 8px 14px; border: 1px solid var(--forest); color: var(--forest); background: transparent; font-weight: 720; }
button.primary { background: var(--forest); color: white; }
button:hover { outline: 1px solid var(--forest); }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #aa552a; outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.status, .actions { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; }
.status { justify-content: space-between; color: var(--muted); font-size: .9rem; margin-block-end: 12px; }
label { display: block; font-weight: 700; margin-bottom: 4px; }
input { border: 1px solid var(--forest); padding: 8px 12px; width: 100%; background: white; color: var(--ink); margin-bottom: 10px; }
#hint { margin-block: 12px 0; padding: 8px 12px; background: #edf3e8; border-radius: 8px; }
#answer-examples { padding-inline-start: 22px; margin-block: 0 18px; }
#answer-examples li + li { margin-top: 6px; }
#final-score { font-weight: 800; font-size: clamp(26px, 7vw, 38px); }
.rules { margin-top: 22px; }
.rules h2 { font-size: 22px; }
@media (max-width: 420px) {
  .actions button { flex: 1 1 auto; }
  .game { margin-block-start: 12px; }
}