:root{color-scheme:light;--ink:#203d40;--muted:#4e686b;--green:#215e54;--cream:#fffaf0;--line:#c9dcd4;font:16px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:#f0f7f1;color:var(--ink)}main{max-width:900px;margin:auto;padding:clamp(10px,2.4vw,25px);display:grid;gap:12px;min-width:0}header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}header h1{font-size:clamp(26px,5vw,40px);margin:0;line-height:1.13;letter-spacing:-.03em}p{margin:5px 0}.eyebrow{font-size:12px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:#48756c}h2{font-size:clamp(18px,3vw,23px);margin:0}button,select{font:inherit;color:inherit;min-height:44px;border:1px solid #9ab8ab;border-radius:12px;background:white;padding:8px 12px;cursor:pointer;font-weight:650}button:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ad5426;outline-offset:3px}button:disabled{opacity:.55;cursor:default}button[aria-pressed=true],.primary{background:var(--green);color:white;border-color:var(--green)}.modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.modes button{padding:9px 5px;line-height:1.2;font-size:clamp(13px,2.5vw,16px)}.settings,.actions,.panel-head{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.settings label,.panel-head label{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:14px}.settings select{max-width:100%}.garden{position:relative;isolation:isolate;overflow:hidden;border-radius:20px;box-shadow:0 6px 16px #274f4530;color:#fff9e8;padding:12px 10px 8px;min-width:0;background:#215b57}.scenery{position:absolute;inset:0;width:100%;height:100%;z-index:-1}.garden-top{display:flex;align-items:center;justify-content:space-between;padding:0 8px;font-size:clamp(15px,3vw,20px);font-weight:750;min-height:34px}.garden-top #note-display{font-size:24px;min-width:2ch;text-align:center}.flowers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(3px,1vw,12px);align-items:end;margin:5px 0 0}.flower{min-width:0;width:100%;min-height:104px;display:grid;justify-items:center;align-content:center;gap:3px;padding:3px 1px 5px;background:#102e3a65;border:2px solid #bfe4bf70;border-radius:18px;color:white;touch-action:manipulation;user-select:none;transition:background .12s,transform .12s}.flower svg{width:100%;height:auto;max-height:150px;max-width:130px;overflow:visible}.flower .petals{transform-origin:50px 42px;transition:transform .18s}.flower.lit,.flower:active:not(:disabled){background:#fff4b64d;border-color:#fff1b1;box-shadow:0 0 16px #fff3a36b}.flower.lit .petals{transform:scale(1.09)}.flower .tone{font-size:clamp(14px,2vw,18px);font-weight:800}.flower:focus-visible{outline-color:#ffe8a6;outline-offset:-2px}.flower:disabled{opacity:1;cursor:default}.keyboard-hint{margin:7px 0 0;text-align:center;font-size:12px;color:#eff8ed}.workbench,details{background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px 14px;min-width:0}.workbench p,details p{color:var(--muted);font-size:14px}.panel-head{justify-content:space-between}.panel-head select{max-width:100%}.sequence,.explored{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;margin:12px 0}.explored{grid-template-columns:repeat(5,minmax(0,1fr));max-width:340px}.step{display:grid;place-items:center;min-width:0;min-height:45px;padding:4px 1px;border-radius:9px;border:1px dashed #92a99f;background:#f3f7f4;color:#4b6a61;font-size:18px;font-weight:800}.step.filled{background:var(--tone);border:1px solid #33564b;color:#172e35}.step.current{outline:3px solid #ad5426;outline-offset:1px}.step[aria-pressed=true]{color:#172e35;background:var(--tone,#f3f7f4)}.step.done{border-style:solid;border-color:#286b4e;background:#d9f1dc;color:#235d42}.actions button{flex:0 1 auto}.actions .primary{flex:1 1 155px}#message{font-weight:650;margin:0;padding:10px 12px;border-left:4px solid #47816d;background:#e4f1e7;border-radius:7px;min-height:48px}details [data-kpg-audio-slot]{margin:8px 0}summary{cursor:pointer;font-weight:750;min-height:30px}[hidden]{display:none!important}@media(max-width:540px){.sequence{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:400px){.garden{padding:9px 5px 7px}.flower{min-height:90px;border-radius:12px}.flower svg{max-height:92px}.settings button{padding:7px 9px}.sequence{gap:3px}.step{min-height:44px;font-size:15px}.workbench{padding:10px}.panel-head label{width:100%}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
