:root{font-family:Segoe UI,ui-sans-serif,system-ui,sans-serif;color:#233e3b;background:#f6f5ef;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ink: #233e3b;--muted: #677570;--line: #dce0d5;--accent: #d9ed8b;--surface: #fffef9}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer;touch-action:manipulation}button:disabled{opacity:.4;cursor:default}a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #53847c;outline-offset:4px}button{transition:background-color .15s,border-color .15s}button:not(:disabled):hover{filter:brightness(.97)}h1,h2,p{margin:0}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.app-shell{max-width:1056px;margin:auto;padding:0 32px}.skip-link{position:absolute;top:-70px;left:16px;z-index:5;padding:12px;background:var(--accent)}.skip-link:focus{top:8px}.site-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:100px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:11px;align-items:center;font-size:27px;font-weight:750;letter-spacing:-1.3px;text-decoration:none}.brand-period{color:#819a3e;margin-left:-10px}.brand-icon{display:grid;grid-template-columns:repeat(3,6px);gap:3px;transform:rotate(-7deg);margin-right:1px}.brand-icon i{width:6px;height:6px;border-radius:1px;background:var(--ink)}.brand-icon i:nth-child(1),.brand-icon i:nth-child(9){background:#b6cd78}.brand-icon i:nth-child(3),.brand-icon i:nth-child(7){opacity:.2}nav{display:flex;gap:6px}nav button{min-height:44px;padding:0 16px;background:transparent;border:1px solid transparent;border-radius:25px;font-size:13px}nav button[aria-current]{border-color:var(--line);background:#eeeee5;font-weight:650}.puzzle-heading{display:flex;justify-content:space-between;gap:20px;padding:38px 0 32px;align-items:center}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.8px;line-height:1.6}.puzzle-heading .eyebrow span{border-left:1px solid #b8c3b4;margin-left:12px;padding-left:12px;letter-spacing:1px}h1{font-family:Georgia,Times New Roman,serif;font-size:clamp(32px,4.5vw,46px);font-weight:400;letter-spacing:-1.4px;margin:8px 0}.subtitle{color:var(--muted);font-size:14px;line-height:1.5}.best{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex-shrink:0}.best>span:first-child{font-size:9px;letter-spacing:1.3px;font-weight:750}.best>strong{font-size:32px;font-weight:450;line-height:1.4}.best small{font-size:13px}.best>span:last-child{font-size:11px;color:var(--muted)}.play-layout{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);gap:44px;align-items:start}.board-column,.composer-column{min-width:0}.board-card{border:1px solid #d3d9cb;border-radius:15px;background:var(--surface);box-shadow:0 3px #e6e9dc;overflow:hidden}.board-toolbar{display:flex;align-items:center;justify-content:space-between;padding:12px 18px 0}.status-pill{display:flex;gap:7px;align-items:center;font-size:11px;color:var(--muted)}.status-pill>span{font-size:18px}.status-solved{color:#3f6323;font-weight:650}.history-actions{display:flex}.history-actions button{width:44px;height:44px;border:0;background:none;font-size:24px;border-radius:8px}.board-frame{padding:4px 20px 14px 12px}.puzzle-grid{table-layout:fixed;border-spacing:5px;width:100%}.puzzle-grid .clue-gutter{width:31px}.puzzle-grid th,.puzzle-grid td{padding:0}.puzzle-grid thead th{height:54px;vertical-align:bottom;padding-bottom:5px}.puzzle-grid th{font-size:15px;font-weight:600}.clue{display:inline-flex;position:relative;align-items:center;justify-content:center;gap:4px;min-width:18px;padding:2px}.clue>span{display:flex;gap:5px}thead .clue>span{flex-direction:column;gap:0}.clue-done{color:#55722b}.clue small{position:absolute;right:-8px;bottom:-6px;font-size:10px;font-weight:800}.cell{position:relative;width:100%;aspect-ratio:1;min-height:44px;border:1px solid #d8ddcf;border-radius:5px;background:#f1f2e9;font-size:clamp(20px,3vw,30px);font-weight:650;padding:0;display:flex;align-items:center;justify-content:center}.cell-filled{background:var(--ink);border-color:var(--ink);color:#fffef9}.tile-points{position:absolute;right:5px;bottom:4px;font-size:10px;font-weight:600;line-height:1;letter-spacing:0;color:inherit}.cell-preview{border:2px dashed #5c7861;background:#e8efcf;color:var(--ink)}.cell-start{outline:2px solid #658b4a;outline-offset:1px}.start-direction{position:absolute;left:3px;top:1px;font-size:12px;line-height:1;font-weight:750}.cell-conflict{background:#f9e4db;color:#9a382d;border-color:#9a382d}.conflict-sign{position:absolute;top:1px;right:3px;font-size:10px}.cell-invalid{text-decoration:underline wavy;text-decoration-color:#eeb3a2;text-underline-offset:4px}.pencil-mark{color:#8d9985;font-size:22px;font-weight:400}.required-mark{color:#69833f;font-size:17px;line-height:1}.board-progress{display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:11px;padding:4px 22px 18px;color:var(--muted)}.board-progress>span:first-child{white-space:nowrap}.board-progress strong{color:var(--ink)}.progress-track{display:block;height:4px;background:#e9ecdf;width:90px;border-radius:10px;overflow:hidden}.progress-track>span{display:block;height:100%;background:#91ab53}.board-tools{display:flex;flex-wrap:wrap;justify-content:space-between;border-top:1px solid #e6e9dd;padding:5px 8px}.note-tools{display:flex}.board-tools button{min-height:44px;padding:0 10px;border:0;border-radius:7px;background:transparent;font-size:11px;color:#607269}.board-tools button[aria-pressed=true]{background:#e9eedb;color:var(--ink)}.board-tools button span{margin-right:4px;font-size:18px;vertical-align:-1px}.board-instructions{color:var(--muted);font-size:11px;line-height:1.7;padding:15px 8px}.teaching-note{display:flex;gap:14px;padding:18px;background:#eaf0db;border-radius:10px;margin-bottom:24px}.note-number{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border:1px solid #bacb9a;border-radius:50%;font-size:12px;flex-shrink:0}.teaching-note .eyebrow{font-size:8px;letter-spacing:1.4px;color:#526344}.teaching-note h2{font-family:Georgia,Times New Roman,serif;font-size:22px;font-weight:400;margin-top:3px;margin-bottom:7px}.teaching-note p:not(.eyebrow){font-size:12px;line-height:1.65}.teaching-note .step-location{margin-top:9px;font-size:10px!important;color:#566841;font-weight:600}.challenge-note{padding:18px;border:1px solid #d3ddbf;border-radius:10px;margin-bottom:24px}.challenge-note h2{font-family:Georgia,Times New Roman,serif;font-size:23px;font-weight:400;margin:5px 0 10px}.challenge-note p:not(.eyebrow){font-size:12px;line-height:1.7}.challenge-note p.small-note{font-size:10px;margin-top:10px;color:var(--muted)}.section-label{display:flex;align-items:center;justify-content:space-between;gap:8px}.section-label h2{font-size:12px;font-weight:650}.section-label>span{color:var(--muted);font-size:10px}.section-label b{color:var(--ink)}.composer{padding:0 3px}.wheel{position:relative;height:226px;width:234px;margin:0 auto}.wheel-ring{position:absolute;left:50%;top:50%;width:150px;height:150px;transform:translate(-50%,-50%);border:1px dashed #d0d7c2;border-radius:50%}.wheel-letter{position:absolute;left:50%;top:50%;transform:translate(calc(-50% + var(--x, 0px)),calc(-50% + var(--y, 0px)));width:52px;height:52px;border-radius:14px;border:1px solid #d6ddcd;box-shadow:0 3px #dde3d2;background:var(--surface);font-size:25px;font-weight:600}.wheel-letter:active{box-shadow:none}.wheel-centre{background:var(--accent);border-color:#bfce80;box-shadow:0 3px #bdcd7c}.wheel-centre span{position:absolute;bottom:3px;left:0;right:0;font-size:7px;color:#4d662b}.word-entry{display:flex;background:var(--surface);border:1px solid #d1d9c6;border-radius:9px;padding-right:5px}.word-entry:focus-within{outline:2px solid #6b8c67;outline-offset:2px}.word-entry input{border:0;background:transparent;outline:0;color:var(--ink);width:100%;min-width:0;height:55px;font-size:21px;letter-spacing:4px;font-weight:600;text-align:center;padding:8px 0 8px 44px}.word-entry input::placeholder{color:#9aab98;letter-spacing:1px;font-size:16px;font-weight:400}.word-entry button{border:0;background:none;width:44px;min-height:44px;flex-shrink:0;font-size:19px}.placement-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 0 0}.direction-toggle{display:flex;border:1px solid #d9dfcf;border-radius:7px;padding:3px}.direction-toggle button{border:0;border-radius:4px;padding:0 11px;min-height:38px;background:transparent;color:var(--muted);font-size:11px}.direction-toggle button[aria-pressed=true]{background:#e4ead7;color:var(--ink);font-weight:650}.direction-toggle button span{margin-left:10px}.start-location{font-size:10px;color:var(--muted)}.placement-feedback{min-height:44px;display:flex;align-items:center;font-size:11px;line-height:1.6;color:#5a7056;margin:4px 0}.feedback-error{color:#9a4538}.primary-button{display:flex;justify-content:center;gap:16px;align-items:center;min-height:50px;width:100%;border:0;border-radius:8px;color:#fffef7;background:var(--ink);font-size:13px;font-weight:600}.primary-button:disabled{opacity:1;background:#e6e9de;color:#8b9887}.primary-button span{font-size:19px;font-weight:400}.small-note{color:var(--muted);font-size:10px;line-height:1.6}.composer>.small-note{text-align:center;margin-top:12px}.edit-actions{display:flex;justify-content:space-between;padding-top:5px}.edit-actions button{background:transparent;border:0;min-height:44px;font-size:11px;padding:0 6px;text-decoration:underline;text-underline-offset:3px}.edit-actions .remove-word{color:#9a4538}summary{cursor:pointer;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:600;list-style:none}summary::-webkit-details-marker{display:none}summary:after{content:"+";font-size:18px;font-weight:400}details[open]>summary:after{content:"−"}.word-bank{margin-top:6px;border-bottom:1px solid var(--line)}.word-bank p{font-size:11px;color:var(--muted);padding:2px 0 10px}.word-bank>div{display:flex;gap:6px;padding-bottom:12px;flex-wrap:wrap}.word-bank button{min-height:44px;border:1px solid var(--line);border-radius:6px;background:var(--surface);padding:0 14px;font-size:12px;letter-spacing:1px}.how-to{margin-top:12px}.how-to summary{font-family:Georgia,Times New Roman,serif;font-size:19px;font-weight:400}.how-to p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:12px}.how-to strong{color:var(--ink);font-weight:650}.how-to p.small-note{font-size:10px;padding-top:12px;border-top:1px solid var(--line)}.placed-words{margin:10px 0}.word-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.word-chips button{background:var(--surface);min-height:44px;padding:9px 12px;border:1px solid var(--line);border-radius:7px;display:flex;align-items:center;gap:14px;font-size:12px}.word-chips button[aria-pressed=true]{background:#e8efcf;border-color:#839c62}.word-chips strong{letter-spacing:1px}.word-chips span{color:var(--muted);font-size:10px}.score-panel{background:#eaf0dc;border:1px solid #d2dfb5;border-radius:12px;padding:20px;margin-bottom:12px}.score-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.score-heading .eyebrow{font-size:8px;letter-spacing:1.3px}.score-heading h2{font-family:Georgia,Times New Roman,serif;font-weight:400;font-size:26px;margin-top:6px}.score-total{display:flex;flex-direction:column;text-align:right}.score-total strong{font-size:40px;font-weight:450;line-height:1}.score-total span{color:#5f7548;font-size:10px;margin-top:5px}.score-lines{font-size:12px;margin:18px 0 12px}.score-lines>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid #d4dfc0}.score-lines dd{margin:0;font-weight:650}.score-lines small{font-size:10px;color:#627551;margin-left:5px}.next-puzzle{display:flex;width:100%;align-items:center;justify-content:space-between;padding:0 16px;min-height:48px;background:transparent;border:1px solid #aebf95;border-radius:8px;font-size:12px;margin-bottom:20px}.next-puzzle span{font-size:18px}.validation-notes{border:1px solid #dfd8c6;background:#f4f0e4;padding:0 13px;margin:5px 0 20px;border-radius:8px}.validation-notes p,.validation-notes li{font-size:11px;line-height:1.6}.validation-notes ul{padding-left:20px}.validation-notes p{color:var(--muted)}.save-notice{font-size:12px;line-height:1.6;padding:16px;background:#eee9d9;border-radius:8px;margin-top:20px}.game-footer{margin-top:38px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;padding:22px 0 max(28px,env(safe-area-inset-bottom));color:var(--muted);font-size:10px}.game-footer>span:first-child>span{margin-right:6px}@media(min-width:800px){.board-column{max-width:500px}}@media(max-width:760px){.app-shell{max-width:490px;padding:0 20px}.site-header{min-height:64px}.site-header{flex-wrap:wrap;padding:10px 0;gap:4px 10px}.brand{font-size:24px;gap:8px}nav{gap:0}nav button{padding:0 11px;font-size:11px}.puzzle-heading{padding:18px 0;align-items:start;gap:10px}h1{font-size:32px;letter-spacing:-1px}.subtitle{font-size:12px;max-width:210px}.puzzle-heading .eyebrow{font-size:8px;letter-spacing:1.2px}.puzzle-heading .eyebrow span{margin-left:6px;padding-left:6px}.best{padding-top:3px}.best>span:first-child{font-size:7px;letter-spacing:.8px}.best>span:last-child{max-width:80px;text-align:right;font-size:9px;line-height:1.5}.best>strong{font-size:27px}.play-layout{display:flex;flex-direction:column;gap:18px}.board-column,.composer-column{width:100%}.board-frame{padding:0 8px 8px 4px;max-width:306px;margin:auto}.cell{font-size:25px}.board-toolbar{padding:3px 14px 0}.puzzle-grid thead th{height:40px}.puzzle-grid{border-spacing:4px}.board-progress{padding:4px 18px 14px}.board-instructions{padding:12px 2px 0}.teaching-note{padding:12px 14px;margin-bottom:18px}.teaching-note h2{font-size:20px;margin-bottom:3px}.teaching-note p:not(.eyebrow){font-size:11px}.composer-column{display:flex;flex-direction:column}.composer{order:1;display:grid;grid-template-columns:142px minmax(0,1fr);column-gap:12px;align-items:center}.composer>.section-label{grid-column:1 / -1;margin-bottom:10px}.teaching-note{order:0}.how-to{order:2;margin-top:20px}.wheel{grid-column:1;grid-row:2 / 4;width:142px;height:155px}.wheel-ring{width:100px;height:100px}.wheel-letter{width:44px;height:44px;font-size:22px;transform:translate(calc(-50% + var(--x, 0px) * .66667),calc(-50% + var(--y, 0px) * .66667));border-radius:11px}.wheel-centre span{bottom:2px;font-size:6px}.word-entry{grid-column:2;grid-row:2;align-self:end}.word-entry input{height:49px;font-size:20px;padding-left:8px;letter-spacing:2px}.word-entry input::placeholder{font-size:14px;letter-spacing:0}.word-entry button{font-size:17px}.placement-controls{grid-column:2;grid-row:3;align-self:start;padding-top:10px;flex-direction:column;align-items:stretch;gap:7px}.direction-toggle{width:100%}.direction-toggle button{width:50%;padding:0 5px}.direction-toggle button span{margin-left:4px}.start-location{text-align:center}.confirm-area,.edit-actions,.composer>.small-note,.word-bank{grid-column:1 / -1}.confirm-active{position:fixed;z-index:3;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:min(calc(100% - 24px),450px);background:var(--surface);border:1px solid #c6d2b6;border-radius:12px;box-shadow:0 5px 26px #233e3b26;padding:0 12px 12px}.composer-previewing{padding-bottom:116px}.placement-feedback{min-height:34px}.section-label h2{font-size:13px}.section-label>span{font-size:11px}.direction-toggle button{min-height:44px;font-size:12px}.start-location{font-size:11px}.game-footer{flex-direction:column;margin-top:28px;padding:20px 0 max(24px,env(safe-area-inset-bottom))}.placed-words{margin-top:18px}}@media(max-width:380px){.app-shell{padding:0 12px}h1{font-size:29px}.subtitle{max-width:200px}.board-frame{padding-right:8px;padding-left:4px}.puzzle-grid{border-spacing:3px}.puzzle-grid .clue-gutter{width:27px}.cell{font-size:23px}.clue{font-size:13px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
