:root{--paper:#f7f6f0;--ink:#28392f;--muted:#4d5e50;--sage:#e2e7da;--accent:#7b4439;--correct:#48684b;--present:#977c36;--absent:#68736b}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 "Helvetica Neue",Arial,sans-serif}a{color:inherit;text-underline-offset:5px}button,input,select{font:inherit;color:inherit}button{border:0;background:var(--sage);padding:10px 15px;min-height:44px;border-radius:4px;cursor:pointer}button:hover{background:#d0d9c9}button:active{transform:translateY(1px)}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--accent);outline-offset:4px}::selection{background:#d8b8a8;color:var(--ink)}header{max-width:1250px;margin:auto;padding:24px 36px;display:flex;justify-content:space-between;align-items:center;gap:18px}.brand{font:29px Georgia,serif;letter-spacing:-.03em;text-decoration:none}header>a:last-child{font-size:14px}main{max-width:1160px;margin:auto;padding:16px 36px 40px}h1,h2,h3,p{margin:0}h1{font:clamp(32px,4vw,48px)/1.08 Georgia,serif;letter-spacing:-.03em;margin-bottom:16px}h2{font:32px/1.15 Georgia,serif;letter-spacing:-.02em}h3{font:23px/1.2 Georgia,serif}.word-intro{display:flex;justify-content:space-between;align-items:start;gap:36px}.word-intro>div{max-width:720px}.word-intro p{font-size:16px;color:var(--muted);max-width:65ch}.word-intro>label{font-size:12px;min-width:235px;display:flex;flex-direction:column;gap:7px}select,input[type=text]{border:1px solid #b6bfaf;border-radius:4px;background:white;padding:10px 12px;min-height:44px}select{max-width:100%}.word-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:28px 0 10px}.word-toolbar>p{font-size:14px;color:var(--muted)}.word-toolbar>div{display:flex;gap:8px}.word-toolbar button{font-size:13px}.primary{background:var(--ink);color:white}.primary:hover{background:#405745}#wordMessage{font-size:14px;min-height:44px;max-width:80ch}.word-help{padding:16px 20px;background:#ebe8dd;font-size:15px;margin:4px 0 22px;max-width:75ch}#gameArea{padding:26px;background:#eeeee7;min-height:300px}.board-clue{font-size:18px;margin-bottom:22px;max-width:60ch}.round-name{font-size:13px;color:var(--muted);margin-bottom:12px}.letter-entry,.letter-rack,.word-actions,.vowel-palette,.alphabet{display:flex;gap:8px;flex-wrap:wrap}.letter-entry{margin:20px 0;min-height:60px}.letter-slot{display:inline-flex;align-items:center;justify-content:center;min-width:48px;height:58px;background:white;font-size:29px;font-weight:500}.letter-rack{margin:20px 0}.letter-rack button{min-width:52px;min-height:58px;background:#dce3d4;font-size:25px}.word-actions{margin-top:20px}.word-actions button{font-size:14px}.board-note{font-size:13px;color:var(--muted);margin-top:18px;max-width:70ch}.row-board{display:grid;gap:18px}.clue-row{padding:16px;background:#f8f8f3;min-width:0}.clue-row>p{font-size:15px;margin-bottom:10px}.spine-line{display:grid;grid-template-columns:repeat(10,32px);gap:3px;max-width:100%;overflow:auto}.spine-line span{height:34px;display:flex;align-items:center;justify-content:center;background:#e4e9dc;font-size:19px}.spine-line span.empty{background:transparent}.spine-line span.extract{background:#b8c9a8;color:var(--ink);font-weight:bold}.clue-row form{display:flex;gap:8px;margin-top:12px}.clue-row input{width:180px;text-transform:uppercase;min-width:0}.secret-panel{margin-top:24px;padding:22px;background:#dfe6d6}.secret-panel .spine-answer{font:35px Georgia,serif;letter-spacing:.2em;margin:10px 0 18px}.secret-panel input{width:190px;text-transform:uppercase}.secret-panel form{display:flex;gap:8px;flex-wrap:wrap}.slot-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:22px}.slot-button{text-align:left;background:#f8f8f3;font-size:14px;display:flex;gap:10px;align-items:center;justify-content:space-between}.slot-button[aria-pressed=true]{background:var(--ink);color:white}.slot-button small{font-size:11px;white-space:nowrap}.ladder{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:22px 0}.ladder span{padding:12px;background:white;font-size:22px;letter-spacing:.08em}.ladder span.goal{background:#d7e2cb}.word-options{display:flex;gap:10px;flex-wrap:wrap}.word-options button{font-size:20px;letter-spacing:.06em}.compound-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}.compound-list{display:grid;gap:8px}.compound-list button{text-align:left;background:#f8f8f3;font-size:20px}.compound-list button[aria-pressed=true]{background:var(--ink);color:white}.compound-clue{min-height:54px;margin-bottom:18px;font-size:18px}.solved-strip{padding:12px 16px;background:#dce6d2;margin-top:12px;font-size:17px}.group-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.group-tile{min-height:78px;font-size:17px;background:#f8f8f3;overflow-wrap:anywhere}.group-tile[aria-pressed=true]{background:var(--ink);color:white}.group-solved{padding:18px;background:#d9e3cf;margin-bottom:12px}.group-solved h3{font-size:23px;margin-bottom:6px}.group-solved p{font-size:14px}.vowel-line{display:flex;gap:7px;flex-wrap:wrap;margin:24px 0}.fixed-letter,.vowel-slot{width:50px;height:60px;display:flex;justify-content:center;align-items:center;background:#f8f8f3;font-size:28px;padding:0}.fixed-letter{background:#dbe3d2}.vowel-slot[aria-pressed=true]{outline:3px solid var(--accent);outline-offset:1px}.vowel-palette button{font-size:24px;width:54px;height:54px;background:#d0ddc3}.cipher-line{display:flex;gap:20px;flex-wrap:wrap;margin:24px 0}.cipher-word{display:flex;gap:5px;white-space:nowrap}.cipher-letter{min-width:40px;padding:8px 6px;background:white;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:23px}.cipher-letter small{font-size:11px;color:var(--muted)}.cipher-letter[aria-pressed=true]{outline:3px solid var(--accent);outline-offset:1px}.cipher-editor{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.cipher-editor input{width:65px;text-transform:uppercase;text-align:center;font-size:23px}.alphabet{margin-top:16px;max-width:650px}.alphabet button{width:40px;min-height:40px;padding:5px;font-size:17px}.search-layout{display:grid;grid-template-columns:minmax(0,550px) 1fr;gap:24px}.search-scroll{overflow:auto;max-width:100%;padding:5px}.search-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:2px;min-width:300px;max-width:550px}.search-cell{padding:0;min-height:0;aspect-ratio:1;background:white;border-radius:0;font-size:19px}.search-cell.found{background:#b9cfa6}.search-cell.start{background:var(--accent);color:white}.search-cell.aim{outline:3px solid var(--ink);outline-offset:-3px}.search-words{display:flex;flex-wrap:wrap;gap:9px;align-content:start}.search-words span{font-size:16px;padding:8px 12px;background:#f8f8f3}.search-words .found{text-decoration:line-through;background:#d8e4ce}.wordle-board{display:grid;grid-template-columns:repeat(5,60px);gap:7px;margin:18px 0;width:max-content}.guess-tile{width:60px;height:64px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:white;font-size:25px;font-weight:600}.guess-tile small{font-size:13px;line-height:1}.guess-tile.G{background:var(--correct);color:white}.guess-tile.Y{background:var(--present);color:white}.guess-tile.X{background:var(--absent);color:white}.wordle-entry{display:flex;gap:8px;align-items:center;margin-top:16px}.wordle-entry input{width:180px;text-transform:uppercase;letter-spacing:.15em}.key-row{display:flex;gap:5px;justify-content:center;margin:5px 0}.key-row button{min-width:38px;min-height:44px;padding:6px;background:#d6dfcf;font-size:15px}.key-row .G{background:var(--correct);color:white}.key-row .Y{background:var(--present);color:white}.key-row .X{background:var(--absent);color:white}.wordle-keyboard{max-width:500px;margin:20px 0}.legend{font-size:13px;margin:14px 0;max-width:70ch}.word-ending{padding:28px;background:#dfe7d6;margin-top:28px}.word-ending p{margin:16px 0 24px;color:var(--muted);max-width:70ch}.word-ending button{background:var(--ink);color:white;margin:0 16px 14px 0}.word-ending a{font-size:14px}.word-saving,.word-footer{font-size:12px;color:var(--muted);margin-top:22px}.word-footer details{margin-top:15px;max-width:75ch}.word-footer summary{cursor:pointer}.word-footer details p{margin:10px 0}dialog{border:0;background:var(--paper);color:var(--ink);padding:28px;border-radius:8px;max-width:380px}dialog::backdrop{background:#15221bb3}dialog h2{font-size:28px}dialog p{margin:16px 0 24px;color:var(--muted)}dialog>div{display:flex;gap:8px;justify-content:end}[hidden]{display:none!important}@media(max-width:760px){header{padding:15px 18px}.brand{font-size:25px}header>a:last-child{font-size:12px}main{padding:14px 18px 28px}.word-intro{display:block}h1{font-size:31px;margin-bottom:14px}.word-intro p{font-size:14px}.word-intro>label{margin-top:18px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-width:0;font-size:11px}select{font-size:12px;min-height:38px;padding:8px}.word-toolbar{margin:18px 0 8px;gap:10px}.word-toolbar>p{font-size:12px}.word-toolbar>div{gap:6px}.word-toolbar button{font-size:11px;min-height:38px;padding:8px 10px}#wordMessage{font-size:12px;min-height:38px}.word-help{font-size:13px;padding:12px;margin-bottom:16px}#gameArea{padding:16px;min-height:260px}.board-clue{font-size:16px;margin-bottom:16px}.letter-slot{min-width:36px;height:46px;font-size:23px}.letter-rack{gap:7px}.letter-rack button{min-width:42px;min-height:48px;font-size:21px;padding:8px}.word-actions{gap:7px}.word-actions button{font-size:12px;padding:9px 11px}.slot-list{grid-template-columns:1fr;gap:8px}.slot-button{font-size:13px}.row-board{gap:12px}.clue-row{padding:12px}.clue-row>p{font-size:13px}.spine-line{grid-template-columns:repeat(10,24px);gap:2px}.spine-line span{height:28px;font-size:16px}.clue-row form{gap:7px}.clue-row input{width:150px;font-size:14px}.clue-row form button{font-size:12px;padding:8px}.secret-panel{padding:16px}.secret-panel p{font-size:14px}.secret-panel input{width:150px}.secret-panel button{font-size:12px}.ladder{gap:7px}.ladder span{font-size:17px;padding:10px;letter-spacing:.03em}.word-options{gap:8px}.word-options button{font-size:16px;padding:9px 12px}.compound-layout{gap:12px}.compound-list button{font-size:17px;padding:9px 11px}.compound-clue{font-size:15px}.solved-strip{font-size:14px}.group-grid{gap:7px}.group-tile{font-size:11px;min-height:66px;padding:6px;overflow-wrap:normal}.group-solved{padding:14px}.group-solved h3{font-size:22px}.group-solved p{font-size:12px}.vowel-line{gap:5px}.fixed-letter,.vowel-slot{width:32px;height:44px;font-size:23px}.vowel-palette{gap:7px}.vowel-palette button{width:44px;height:48px;font-size:22px}.cipher-line{gap:14px}.cipher-word{gap:3px}.cipher-letter{min-width:29px;padding:7px 4px;font-size:19px}.cipher-letter small{font-size:10px}.cipher-editor{gap:8px;font-size:13px}.cipher-editor button{font-size:12px}.alphabet{gap:5px}.alphabet button{width:35px;min-height:40px;font-size:15px}.search-layout{display:block}.search-scroll{margin:0 -5px 16px}.search-cell{font-size:16px}.search-words{gap:6px}.search-words span{font-size:13px;padding:7px 9px}.wordle-board{grid-template-columns:repeat(5,48px);gap:5px}.guess-tile{width:48px;height:53px;font-size:23px}.guess-tile small{font-size:12px}.wordle-entry input{width:150px;font-size:16px}.wordle-entry button{font-size:12px;padding:10px}.key-row{gap:3px}.key-row button{min-width:0;width:calc(10% - 3px);min-height:42px;padding:5px 3px;font-size:12px}.key-row button.wide{width:auto;min-width:64px}.legend{font-size:11px}.word-ending{padding:22px}.word-ending h2{font-size:29px}.word-ending p{font-size:14px}.word-ending button{font-size:13px}.word-ending a{font-size:12px}.board-note{font-size:12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
body[data-game=detective] #gameArea{display:flex;flex-direction:column;align-items:flex-start}body[data-game=detective] .round-name{order:0}body[data-game=detective] .wordle-board{order:1}body[data-game=detective] .wordle-entry,body[data-game=detective] .board-clue{order:2}body[data-game=detective] .wordle-keyboard{order:3}body[data-game=detective] .legend{order:4}body[data-game=detective] .word-actions{order:5}@media(max-width:760px){body[data-game=detective] h1{font-size:28px;margin-bottom:10px}body[data-game=detective] .word-intro p{font-size:13px;line-height:1.4}body[data-game=detective] .word-intro>label{margin-top:12px}body[data-game=detective] .word-toolbar{margin-top:12px}body[data-game=detective] #wordMessage{min-height:28px}body[data-game=detective] .wordle-board{grid-template-columns:repeat(5,44px);gap:4px;margin:8px 0}body[data-game=detective] .guess-tile{width:44px;height:44px;font-size:21px}body[data-game=detective] .guess-tile small{font-size:10px}body[data-game=detective] .wordle-entry{margin-top:8px}body[data-game=detective] .wordle-keyboard{margin:12px 0 2px;width:100%}body[data-game=detective] .legend{line-height:1.35;margin-top:10px}}
body[data-game="christmas-recipe"] .letter-rack{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}body[data-game="christmas-recipe"] .letter-rack button{min-width:44px;width:100%}@media(max-width:650px){body[data-game="christmas-recipe"] .letter-rack{grid-template-columns:repeat(4,minmax(0,1fr))}}
