@charset "UTF-8";
:root { --paper: #f5f2e9; --ink: #193c32; --muted: #5c6c60; --accent: #b63c25; --line: #d3d8ca; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'Trebuchet MS', sans-serif; line-height: 1.6; }
a { color: inherit; text-underline-offset: 5px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: not-allowed; opacity: .6; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
header, main, footer { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
header { min-height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { font-family: Georgia, serif; font-size: 32px; font-weight: bold; letter-spacing: -1.5px; text-decoration: none; }
.brand-mark { color: var(--accent); display: inline-block; font-family: serif; margin-right: 9px; }
.brand-dot { color: var(--accent); }
.rules-link { font-size: 14px; text-decoration: none; padding: 12px 0; }
.rules-link span { margin-left: 12px; }
.intro { text-align: center; padding: 42px 0 23px; }
.eyebrow { font-size: 10px; font-weight: bold; letter-spacing: 2px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: Georgia, serif; font-weight: normal; line-height: 1.12; letter-spacing: -1.8px; }
h1 { font-size: clamp(36px, 5vw, 59px); margin: 13px 0 14px; }
.intro > p:last-child { color: var(--muted); font-size: 16px; }
.play { max-width: 720px; margin-inline: auto; padding-bottom: 58px; }
.category-picker { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 0 auto 24px; }
.category-picker button { min-height: 44px; padding: 8px 19px; border: 1px solid transparent; border-radius: 6px; color: var(--muted); background: transparent; font-size: 14px; }
.category-picker button[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.category-picker button:hover:not([aria-pressed="true"]) { border-color: var(--ink); color: var(--ink); }
.prompt-card { background: #fffefa; border: 1px solid var(--ink); border-radius: 11px; box-shadow: 6px 6px 0 #dce2d1; padding: 22px 28px 16px; position: relative; }
.card-top, .card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-top > span:last-child { font-size: 11px; border: 1px solid var(--line); border-radius: 20px; padding: 2px 10px; }
.card-content { min-height: 190px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px 0; }
#prompt { font-family: Georgia, serif; font-size: clamp(32px, 5.5vw, 53px); line-height: 1.15; letter-spacing: -1px; overflow-wrap: anywhere; }
#round-note { font-size: 12px; margin-top: 20px; color: var(--muted); }
.card-bottom { border-top: 1px dashed var(--line); padding-top: 13px; font-size: 9px; letter-spacing: 1.2px; }
#progress { font-size: 12px; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.card-bottom > span:nth-child(2) { color: var(--accent); font-size: 23px; line-height: 1; }
#next { display: flex; align-items: center; justify-content: center; gap: 30px; min-height: 59px; width: 100%; margin-top: 22px; border: 1px solid var(--accent); border-radius: 7px; color: white; background: var(--accent); font-weight: bold; font-size: 17px; transition: background .15s, transform .15s; }
#next:hover { background: #96311e; }
#next:active { transform: translateY(2px); }
#next > span:last-child { font-size: 25px; font-weight: normal; line-height: 1; }
.play-note { margin-top: 15px; text-align: center; color: var(--muted); font-size: 11px; }
.notice { margin-top: 20px; padding: 16px; border: 1px solid var(--accent); }
.how-to { border-block: 1px solid var(--line); padding: 36px 0; display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
h2 { font-size: clamp(30px, 4vw, 39px); margin-top: 13px; }
.how-to ol { margin: 3px 0 0; padding-left: 22px; }
.how-to li { padding-left: 9px; margin-bottom: 12px; color: var(--muted); font-size: 14px; }
.how-to strong { color: var(--ink); }
.word-list { padding: 52px 0; }
.section-copy { max-width: 760px; margin: 20px 0 30px; color: var(--muted); font-size: 15px; }
.word-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px; }
.word-group h3 { font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.word-group ul { padding: 0; margin: 14px 0 0; list-style: none; columns: 2; column-gap: 20px; }
.word-group li { font-size: 13px; padding: 5px 0; break-inside: avoid; overflow-wrap: anywhere; }
.word-groups:has(.word-group:only-child) { grid-template-columns: 1fr; }
.word-group:only-child ul { columns: 3; }
.more { padding: 30px 0 45px; border-top: 1px solid var(--line); }
.more h2 { margin: 0 0 25px; }
.more a { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; text-decoration: none; }
.more a:hover { color: var(--accent); }
footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--ink); padding: 25px 0 35px; }
footer .brand { font-size: 24px; }
footer p, footer > span { color: var(--muted); font-size: 11px; }
.skip-link { position: absolute; top: -100px; left: 12px; padding: 10px 18px; background: var(--paper); z-index: 2; }
.skip-link:focus { top: 10px; }
.not-found { padding-top: 20vh; max-width: 700px; }
.not-found p { margin-bottom: 25px; }
@media (max-width: 600px) {
  header, main, footer { width: calc(100% - 40px); }
  header { min-height: 76px; }
  .brand { font-size: 28px; }
  .rules-link { font-size: 12px; }
  .intro { padding-top: 30px; }
  .intro .eyebrow { font-size: 8px; letter-spacing: 1.6px; }
  .intro > p:last-child { font-size: 14px; }
  .category-picker { gap: 2px; margin-bottom: 17px; }
  .category-picker button { padding-inline: 11px; font-size: 12px; }
  .prompt-card { padding: 18px 18px 14px; box-shadow: 4px 4px 0 #dce2d1; }
  .card-content { min-height: 204px; }
  .card-top .eyebrow { font-size: 9px; }
  .card-bottom { font-size: 8px; letter-spacing: .6px; }
  #next { min-height: 58px; }
  .play { padding-bottom: 34px; }
  .how-to { grid-template-columns: 1fr; gap: 22px; padding: 28px 0; }
  .how-to h2 br { display: none; }
  .word-list { padding-top: 35px; }
  .word-groups { grid-template-columns: 1fr; gap: 25px; }
  .word-group:only-child ul { columns: 2; }
  footer p { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: no-preference) { .intro, .play { animation: arrive .35s ease-out both; } @keyframes arrive { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
