
:root{--bg:#f7f6f2;--surface:#fff;--text:#252525;--muted:#62615f;--border:#e6e4df;--accent:#2f6f5e}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}.page{width:min(1040px,calc(100% - 32px));margin:40px auto 64px}.brand{display:flex;gap:14px;align-items:center;margin-bottom:26px}.brand img{width:184px}.brand p{color:var(--muted);border-left:1px solid var(--border);padding-left:14px;font-size:14px}a{color:var(--accent)}h1{font-size:34px;line-height:1.2;letter-spacing:-.03em;margin:0}h2{font-size:22px;line-height:1.3}h3{font-size:17px}.heading{display:flex;justify-content:space-between;gap:16px;align-items:center}.help{font-size:14px;white-space:nowrap}.intro,.muted{color:var(--muted)}.layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:20px;align-items:start}.card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:24px;margin-bottom:20px}.card h2:first-child{margin-top:0}.row{padding:14px 0;border-bottom:1px solid var(--border)}.row-top{display:flex;align-items:center;gap:8px;margin-bottom:10px}.row-top label{font-size:13px;min-width:52px}input{font:inherit;border:1px solid #999;border-radius:7px;padding:9px;min-width:0;width:145px;text-transform:uppercase;letter-spacing:.15em}button{font:inherit;font-size:14px;border-radius:7px;cursor:pointer;padding:10px 14px;border:1px solid var(--border);background:#fff;color:var(--text);min-height:44px}button:hover{border-color:var(--accent)}button:disabled{opacity:.55;cursor:wait}.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.remove{margin-left:auto;padding:5px 9px}.tiles{display:flex;gap:7px}.tile{display:flex;flex-direction:column;align-items:center;justify-content:center;width:56px;height:62px;padding:3px;border:1px solid #777;border-radius:6px;background:#f5f5f3}.tile strong{font-size:22px;line-height:1.25}.tile small{font-size:10px;line-height:1.3}.tile[data-state=b]{background:#5b5d5f;color:white}.tile[data-state=y]{background:#8b6e12;color:white}.tile[data-state=g]{background:#2f6f5e;color:white}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.legend{font-size:13px;color:var(--muted)}textarea{display:block;width:100%;min-height:275px;resize:vertical;border:1px solid #999;border-radius:8px;padding:12px;font:inherit;font-size:14px}label[for=notes]{font-weight:600;display:block;margin-bottom:10px}#status{min-height:26px;margin-top:12px}#status.error{color:#a12b24}.words{display:grid;grid-template-columns:repeat(auto-fill,minmax(85px,1fr));gap:8px;list-style:none;padding:0}.words li{background:#f3f5f1;border-radius:5px;padding:8px;text-align:center;font-size:14px;text-transform:uppercase;letter-spacing:.08em}.pager{display:flex;gap:8px;justify-content:center;align-items:center}.pager span{font-size:13px}.content{max-width:760px}details{border-top:1px solid var(--border);padding:14px 0}summary{cursor:pointer;font-weight:600;min-height:36px}#answer{font-size:32px;letter-spacing:.15em}.step{padding:12px 0;border-top:1px solid var(--border)}.step .tiles{margin:8px 0}.site-footer{margin-top:40px;padding-top:20px;border-top:1px solid var(--border);display:flex;flex-wrap:wrap;gap:6px 8px;font-size:13px}.site-footer a{color:var(--muted);text-decoration:none}.separator{color:var(--muted)}#back-to-top{position:fixed;right:18px;bottom:18px;border:0;border-radius:50%;background:var(--accent);color:white;font-size:24px;width:44px;padding:0}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #2f6f5e;outline-offset:3px}[hidden]{display:none!important}@media(max-width:720px){.layout{grid-template-columns:1fr}.page{margin-top:24px}.brand{align-items:flex-start;flex-direction:column;gap:0}.brand p{border:0;padding:0;margin:8px 0}.card{padding:18px}.heading{align-items:flex-start;flex-wrap:wrap}h1{font-size:29px}textarea{min-height:150px}.tile{width:48px;height:59px}.tiles{gap:6px}}@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}

.game-row{margin:8px 0}.game-row .tile{flex:none}#play{margin-top:20px}#play input{width:175px}#how-to-play{scroll-margin-top:20px}
/* Match the established tool and Help shell; retain a wider desktop Notes column. */
.page{width:min(980px,calc(100% - 32px));margin:48px auto 72px}.brand{margin-bottom:28px}.brand-logo{display:block;width:184px;height:auto}.brand .brand-tagline{margin:0;padding-left:14px;line-height:1.4}.tool-heading-row{flex-wrap:wrap;gap:12px;margin-bottom:8px}.tool-help-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 13px;border:1px solid var(--accent);border-radius:9px;color:var(--accent);background:var(--surface);font-size:14px;font-weight:600;text-decoration:none}.tool-help-button:hover{background:#fbfbfa;text-decoration:underline}.card{border-radius:14px;padding:28px}.help-page{width:min(680px,calc(100% - 32px))}.help-article{padding:40px}.help-article p,.help-article li{font-size:15px;line-height:1.65}.help-article h3{font-size:16px;margin:20px 0 6px}.help-nav{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0 10px}.help-nav a{padding:10px 12px;border:1px solid var(--border);border-radius:8px;text-decoration:none;font-size:14px}.help-nav a:hover{border-color:var(--accent)}.help-section{margin-top:34px;padding-top:28px;border-top:1px solid var(--border);scroll-margin-top:18px}.site-footer{margin-top:48px;padding:20px 8px 0;line-height:1.7}.site-footer a:hover{text-decoration:underline}button[data-click-locked=true]{opacity:.6;cursor:wait;pointer-events:none}button:disabled{cursor:default}.bookmark-tools{margin-top:24px}.bookmark-tools p:empty{display:none}.game-row{margin:6px 0}.game-row .tile{height:48px;width:48px}.game-row .tile strong{font-size:21px}.game-row .tile small{font-size:9px}#back-to-top{right:22px;bottom:22px;z-index:100;box-shadow:0 3px 12px rgba(0,0,0,.18)}a{text-underline-offset:3px}
@media(max-width:720px){.page{margin:32px auto 48px}.card{padding:22px}.brand{gap:10px;margin-bottom:24px}.brand-logo{width:172px}.brand .brand-tagline{border:0;padding:0}.help-article{padding:28px 22px}.game-row .tile{width:44px;height:46px}.game-row{gap:5px}#back-to-top{right:16px;bottom:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Aligned solver rows: word input followed by the five feedback tiles. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.solver-rows .row{display:grid;grid-template-columns:clamp(74px,23%,124px) minmax(0,1fr);align-items:center;gap:8px;padding:8px 0}
.solver-rows .row-top{margin:0;min-width:0}.solver-rows input{width:100%;min-height:54px;padding:8px;letter-spacing:.06em;font-size:14px}
.solver-rows .tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.solver-rows .tile{width:100%;height:54px;min-width:0}.solver-rows .tile strong{font-size:21px}.solver-rows .tile small{font-size:9px}
.tool-heading-row{display:flex;align-items:center;justify-content:space-between}.round-heading{gap:12px;margin-bottom:16px}.round-heading h2{margin:0}.tool-help-button{font-family:inherit;line-height:1.4;font-weight:600;border:1px solid var(--accent);border-radius:9px;color:var(--accent);padding:9px 13px}.extra-round{margin-top:14px;padding-top:12px;border-top:1px solid var(--border)}.extra-round .legend{margin:0 0 10px}
.related-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0 24px}.related-tool{display:flex;align-items:center;gap:16px;margin:0;padding:17px 20px;background:#eef6fd;border-radius:11px}.related-tool-icon{flex:0 0 auto;width:29px;height:29px;color:#1767ad}.related-tool p{margin:0 0 5px;font-weight:600;line-height:1.45}.related-tool a{color:#0756a7;font-weight:600;text-decoration:underline;text-underline-offset:2px}
@media(max-width:720px){.related-tools{grid-template-columns:1fr}.related-tool{gap:12px;padding:13px 14px}.related-tool-icon{width:24px;height:24px}.solver-rows .row{gap:6px}.solver-rows input{padding:5px;font-size:13px}.solver-rows .tiles{gap:4px}.solver-rows .tile strong{font-size:18px}.round-heading .tool-help-button{font-size:13px;padding:9px 10px}}

/* Compact six-row helper grid. Keep all five feedback labels visible. */
.solver-rows .row{padding:3px 0}.solver-rows input{min-height:40px;height:40px;padding:5px 8px}.solver-rows .tiles{grid-template-columns:repeat(5,minmax(0,44px));gap:5px}.solver-rows .tile{width:100%;max-width:44px;height:40px;min-height:40px;padding:2px}.solver-rows .tile strong{font-size:18px;line-height:1.15}.solver-rows .tile small{font-size:8.5px}
.daily-actions{display:grid;grid-template-columns:minmax(90px,1fr) auto auto;gap:8px}#play .daily-actions input{width:100%}.daily-actions button{padding:10px 11px;white-space:nowrap}
@media(max-width:600px){.daily-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.daily-actions input{grid-column:1/-1}.daily-actions button{padding:9px 6px;white-space:normal;font-size:13px}.solver-rows .tiles{gap:4px}}

/* Keyboard-first feedback entry; preview tiles are read only. */
.solver-rows .row{grid-template-columns:minmax(74px,104px) minmax(74px,88px) minmax(0,1fr)}.solver-rows input[id^=feedback-]{letter-spacing:.08em}.solver-rows .tile{cursor:default}.solver-rows .tile:hover{border-color:#777}
@media(max-width:480px){.solver-rows .row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.solver-rows .tiles{grid-column:1/-1;grid-template-columns:repeat(5,minmax(0,40px))}}

/* The solver is a compact clue-entry helper, distinct from the playable game. */
.helper-columns,.helper-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.helper-columns{font-size:14px;font-weight:600;margin:0 0 6px}.helper-row{padding:3px 0}.helper-field{min-width:0}.helper-field input{width:100%;height:40px;min-height:40px;padding:6px 10px;font-size:14px;letter-spacing:.08em}.helper-rows{max-width:520px}.helper-columns{max-width:520px}
@media(max-width:480px){.helper-columns,.helper-row{gap:8px}.helper-columns{font-size:13px}.helper-field input{font-size:13px;padding:6px}}

.license-notice{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.5 monospace;max-width:100%}
