@font-face{font-family:Literata;src:url(literata-latin.woff2) format('woff2');font-display:swap}
*{box-sizing:border-box}html{background:#dfe8cf;color:#173e32}body{margin:0;font-family:system-ui,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #b74b28;outline-offset:3px}button{border:1px solid #8b9e80;background:#fffaf0;color:#173e32;border-radius:12px;min-height:42px;padding:8px 12px}button:active{transform:translateY(1px)}button[hidden]{display:none}button:disabled{opacity:.4;cursor:default}a{color:inherit}.app{max-width:560px;margin:auto;padding:12px 16px 20px;min-height:100dvh;background:#f5f2e6}.topbar{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:11px}.topbar span{letter-spacing:.12em;font-size:9px}.topbar button{border:0;background:none;text-decoration:underline;padding:4px;min-width:44px}.topbar a{font-size:11px;text-underline-offset:3px}h1{font-family:Literata,Georgia,serif;font-size:clamp(27px,7.5vw,39px);line-height:1.1;text-align:center;font-weight:600;margin:8px 0 4px;letter-spacing:-.04em}.tagline{text-align:center;margin:0 0 12px;font-size:14px;font-style:italic}.garden{height:145px;position:relative;margin:0 -16px 12px;overflow:hidden}.hero{width:100%;height:100%;object-fit:cover;display:block}.flowers{position:absolute;bottom:0;left:8%;right:8%;display:flex;justify-content:space-around;align-items:flex-end;height:65px;pointer-events:none}.flowers img{width:11%;height:58px;object-fit:contain;filter:drop-shadow(0 2px 1px #172a2933);animation:bloom .25s ease-out}.modebar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.tabs{display:flex;gap:0;border:1px solid #829377;border-radius:12px;overflow:hidden}.tabs button{border:0;border-radius:0;background:#ebe9d7;padding:8px 15px;min-height:42px}.tabs button[aria-pressed=true]{background:#244e3e;color:#fff9ec;font-weight:700}.modebar>button{font-size:12px;min-height:42px}.edition{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-size:12px;gap:5px}.edition strong{white-space:nowrap}.word-panel{border:1px solid #d4cfb7;background:#fffdf4;border-radius:18px;padding:12px}.targets{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}.target{min-height:30px;display:flex;align-items:center;justify-content:space-between;gap:4px}.target .letters{display:flex;gap:3px;align-items:center}.target .blank-letter{height:21px;width:15px;border:1px solid #9caa89;border-radius:4px;display:block}.target.found{font-weight:700}.target.found .letters{letter-spacing:.1em;font-size:13px}.target small{font-size:9px;color:#59664a;white-space:nowrap}.bonus{border-top:1px solid #dedbc9;margin-top:9px;padding-top:6px;font-size:11px}.bonus summary{cursor:pointer}.bonus p{font-size:12px;line-height:1.6;margin:5px 0 0}.primary{background:#ed714b;color:#261e10;border-color:#c14f2d;font-weight:700}.actions{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:7px;margin:8px 0}.actions button{min-height:44px;font-size:13px}.rack{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.rack button{height:63px;font-size:32px;font-weight:650;background:#fffdf6;border:1px solid #bbc4ad;box-shadow:0 3px 0 #bec7b0}.rack button.used{background:#b5c6a8;color:#2e4936;box-shadow:none;border-style:dashed}.rack button.used:after{content:'used';font-size:9px;display:block;margin-top:-2px;line-height:1}#draft{display:flex;justify-content:center;align-items:center;min-height:42px;border:1px solid #bac4aa;border-radius:12px;background:#fffdf4;font-size:24px;letter-spacing:.2em;font-weight:650}#draft.empty{font-size:13px;font-weight:400;letter-spacing:0;color:#66725a}#message{min-height:30px;font-size:12px;line-height:1.4;text-align:center;margin:7px 0;color:#254a3a}#message.complete{font-weight:700;color:#704329}.bottom{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:9px}.bottom button{border:0;background:none;text-decoration:underline;font-size:12px;padding:3px 0}.bottom span{font-size:10px;color:#5c6a50}.save-notice{font-size:11px;line-height:1.4;color:#733e1d;margin:8px 0 0}#new-daily{width:100%;margin-bottom:8px;background:#e9dca6;font-size:12px}dialog{max-width:min(470px,calc(100vw - 32px));max-height:85dvh;border:1px solid #8b9e80;border-radius:18px;background:#fffaf0;color:#173e32;padding:24px;font-size:14px;line-height:1.6}dialog::backdrop{background:#112d24aa}dialog h2{font:600 25px Literata,Georgia,serif;margin-top:0}dialog button{width:100%}@keyframes bloom{from{transform:scale(.7);opacity:.4}to{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;transform:none!important}}@media(max-width:360px){.app{padding-inline:12px}.garden{margin-inline:-12px;height:115px}.topbar span{font-size:8px}.rack button{height:58px}.target .blank-letter{width:13px}.target.found .letters{font-size:12px}.targets{gap:6px 10px}.modebar .tabs button{padding-inline:12px}}@media(max-height:760px){.garden{height:105px}.tagline{margin-bottom:7px}.word-panel{padding:9px}.targets{gap:5px 12px}.rack button{height:56px}.actions{margin:6px 0}#message{min-height:28px;margin:5px 0}}

/* Compact portrait rules keep the letter rack reachable without shrinking its main keys. */
.topbar button{min-height:34px}h1{font-size:clamp(27px,7.5vw,34px)}.garden{height:100px}.word-panel{padding:10px}.target{min-height:25px}.targets{gap:5px 12px}.bonus{margin-top:6px;padding-top:4px}.rack button{height:56px}.actions{margin:6px 0}#message{min-height:26px;margin:5px 0}.bottom button{min-height:34px}
@media(max-height:760px){.app{padding-top:8px;padding-bottom:10px}.topbar button{min-height:30px}h1{font-size:27px;margin:5px 0}.tagline{font-size:12px;margin-bottom:6px}.garden{height:60px;margin-bottom:7px}.modebar{margin-bottom:6px}.tabs button{min-height:38px;padding-block:6px}.modebar>button{min-height:38px}.edition{font-size:11px;margin-bottom:5px}.word-panel{padding:8px;max-height:120px;overflow:auto;scrollbar-width:thin}.target{min-height:21px}.target .blank-letter{height:18px;width:12px}.target small{font-size:8px}.targets{gap:4px 10px}#message{min-height:23px;margin:4px 0;font-size:11px}#draft{min-height:36px}.actions button{min-height:40px}.actions{margin:5px 0}.rack{gap:7px}.rack button{height:48px;font-size:28px}.bottom{margin-top:5px}.bottom button{min-height:30px}.save-notice{margin-top:4px}}
@media(max-height:600px){.topbar button{min-height:28px}.topbar span{font-size:8px}.tagline{display:none}h1{font-size:24px;margin:4px 0 6px}.garden{height:42px;margin-bottom:6px}.modebar{margin-bottom:5px}.tabs button{min-height:34px;padding:5px 12px}.modebar>button{min-height:34px;font-size:11px}.word-panel{max-height:92px}.edition{font-size:10px}.target{min-height:20px}.targets{gap:3px 9px}#draft{min-height:34px}#message{min-height:22px;margin:3px 0}.actions button{min-height:38px;font-size:12px}.rack{gap:6px}.rack button{height:44px;font-size:26px}.bottom button{min-height:28px;font-size:11px}.bottom span{font-size:9px}.save-notice:empty{margin:0}}
.scroll-note{display:none}@media(max-height:760px){.scroll-note{display:block;font-size:9px;line-height:1.2;margin:0 0 4px;color:#56654c}.word-panel:focus-visible{outline:2px solid #ae5f3c;outline-offset:2px}}.app{background:#e2e8cf url(conservatory-frame.webp) center/100% 100% no-repeat}.app header{background:#faf7eceb}.app h1{font-family:system-ui,sans-serif;font-weight:650;letter-spacing:-.045em}.flowers img{animation:none}