:root{--bg:#f7f2e8;--bg-deep:#ede5d3;--card:#fffdf8;--ink:#285136;--ink-soft:#566b57;--line:#d8cfba;--line-strong:#c4b89c;--accent:#739d45;--accent-deep:#4f7a2e;--gold:#e4ad3b;--gold-deep:#b4821f;--danger:#b4261a;--warm:#8a4a12;--focus:#1f4fd8;--shadow:0 6px 18px #28513624;--shadow-soft:0 2px 8px #2851361a;--radius:18px;--leaf-broad:#6f9a4e;--leaf-broad-edge:#4c7032;--leaf-narrow:#a2b85c;--leaf-narrow-edge:#6f8a34;--leaf-wavy:#4f8a7a;--leaf-wavy-edge:#2f6355;--leaf-round:#86a9c1;--leaf-round-edge:#4b6f88;--bud:#f3e6d2;--bud-edge:#3c5a2a;--hot:#e89a4c;--hot-edge:#8a4a12;--board-ratio:640 / 600}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--ink);margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.3}#app{min-height:100dvh;padding-top:max(6px, env(safe-area-inset-top));padding-right:max(clamp(8px, 2vw, 20px), env(safe-area-inset-right));padding-bottom:max(16px, env(safe-area-inset-bottom));padding-left:max(clamp(8px, 2vw, 20px), env(safe-area-inset-left));flex-direction:column;display:flex}[hidden]{display:none!important}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.icon{vertical-align:-.2em;fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:1.15em;height:1.15em}.icon.is-filled .icon-body{fill:currentColor;stroke:currentColor;stroke-width:1.2px}.icon--coin.is-filled{color:var(--gold)}.icon--coin.is-filled .icon-mark{stroke:var(--gold-deep);stroke-width:1.6px}.icon--star.is-filled{color:var(--gold)}.icon-label{font-variant-numeric:tabular-nums;align-items:center;gap:5px;font-weight:650;display:inline-flex}.btn,.icon-btn{font:inherit;color:var(--ink);background:var(--card);border:1.5px solid var(--line);cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;min-width:44px;min-height:44px;box-shadow:var(--shadow-soft);border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 18px;display:inline-flex}.btn:hover,.icon-btn:hover{background:#fff}.btn:focus-visible,.icon-btn:focus-visible,.stem-btn:focus-visible,.level-card:focus-visible,.help-details summary:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.tempo-card:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}.btn[aria-disabled=true],.icon-btn[aria-disabled=true],.level-card[aria-disabled=true]{opacity:.55;cursor:default;box-shadow:none}.btn-primary{background:var(--ink);border-color:var(--ink);color:#fff;box-shadow:var(--shadow);font-weight:700}.btn-primary:hover{background:#1f4330}.btn-big{min-height:56px;padding:0 32px;font-size:18px}.btn-ghost{box-shadow:none;color:var(--ink);background:0 0;border-color:#0000;font-weight:600}.btn-ghost:hover{background:#28513614}.btn-small{min-height:44px;padding:0 14px;font-size:14px}.icon-btn{width:44px;height:44px;padding:0}.icon-btn .icon{width:22px;height:22px}.btn .icon{width:20px;height:20px}.btn-power{gap:6px;font-weight:650}.power-price{color:var(--ink);font-variant-numeric:tabular-nums;background:#e4ad3b2e;border-radius:999px;align-items:center;gap:3px;padding:2px 8px 2px 4px;font-size:13px;display:inline-flex}.power-why{color:var(--ink-soft);text-align:center;margin:0;font-size:12px}@media (prefers-reduced-motion:no-preference){.btn,.icon-btn,.level-card,.stem-btn{transition:transform .12s,background-color .12s,border-color .12s,box-shadow .12s}.btn:active:not([aria-disabled=true]),.icon-btn:active:not([aria-disabled=true]),.level-card:active{transform:translateY(1px)scale(.985)}}.screen{flex-direction:column;flex:1;width:100%;display:flex}.screen-head{align-items:center;gap:10px;padding:4px 0 10px;display:flex}.screen-title{margin:0;font-size:22px;font-weight:700}.menu{text-align:center;justify-content:center;align-items:center;gap:14px;max-width:520px;margin:0 auto;padding:8px 0 12px}.menu-hero{flex-direction:column;align-items:center;gap:2px;display:flex}.menu-art{filter:drop-shadow(0 8px 10px #28513624);width:min(260px,64vw);height:auto}.menu-art-stem{fill:none;stroke:#7a6a46;stroke-width:4px;stroke-linecap:round}.menu-art-leaf{stroke-width:2.5px;stroke-linejoin:round}.menu-art-leaf--broad{fill:var(--leaf-broad);stroke:var(--leaf-broad-edge)}.menu-art-leaf--narrow{fill:var(--leaf-narrow);stroke:var(--leaf-narrow-edge)}.menu-art-leaf--wavy{fill:var(--leaf-wavy);stroke:var(--leaf-wavy-edge)}.menu-art-rib{fill:none;stroke:#ffffff8c;stroke-width:2.5px;stroke-linecap:round}.menu-art-petal{fill:#fff1dc;stroke:var(--bud-edge);stroke-width:1.4px}.menu-art-center{fill:var(--gold);stroke:var(--bud-edge);stroke-width:1.2px}.menu-title{letter-spacing:.01em;margin:4px 0 0;font-size:clamp(32px,8vw,44px);font-weight:800;line-height:1.05}.menu-tagline{color:var(--ink-soft);margin:4px 0 0;font-size:15px}.menu-summary{gap:18px;margin:0;font-size:16px;display:flex}.menu-summary .icon{width:20px;height:20px}.tempo-pick{border:0;grid-template-columns:1fr 1fr;gap:10px;width:100%;max-width:400px;margin:0;padding:0;display:grid}.tempo-legend{letter-spacing:.08em;text-transform:uppercase;color:var(--ink-soft);grid-column:1/-1;padding:0;font-size:12px;font-weight:700}.tempo-card{border:2px solid var(--line);background:var(--card);cursor:pointer;min-height:64px;box-shadow:var(--shadow-soft);border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:8px 10px;display:flex;position:relative}.tempo-card input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.tempo-name{font-size:16px;font-weight:750}.tempo-desc{color:var(--ink-soft);font-size:12px}.tempo-card:has(input:checked){border-color:var(--accent-deep);background:#eef5e4}.tempo-card:has(input:checked) .tempo-name:after{content:" ✓";color:var(--accent-deep)}.menu-primary{width:min(100%,320px);margin-top:4px}.menu-resume{color:var(--ink-soft);min-height:1.3em;margin:-6px 0 0;font-size:14px}.menu-secondary{flex-wrap:wrap;justify-content:center;gap:4px 10px;display:flex}.menu-notes{flex-direction:column;gap:4px;max-width:400px;display:flex}.menu-note{color:var(--ink-soft);margin:0;font-size:12px}.menu-note--good{color:var(--accent-deep);font-weight:600}.menu-note--warn{color:var(--warm);font-weight:600}.levels{max-width:720px;margin:0 auto}.level-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}@media (width>=600px){.level-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.level-card{min-height:116px;font:inherit;color:var(--ink);text-align:left;background:var(--card);border:2px solid var(--line);cursor:pointer;box-shadow:var(--shadow-soft);border-radius:16px;flex-direction:column;align-items:flex-start;gap:6px;padding:12px 12px 10px;display:flex;position:relative}.level-card:hover{border-color:var(--line-strong)}.level-card.is-resume{border-color:var(--accent-deep);background:#eef5e4}.level-num{background:var(--ink);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;font-weight:750;display:inline-flex}.level-name{overflow-wrap:normal;-webkit-hyphens:none;hyphens:none;font-size:14px;font-weight:650;line-height:1.2}.levels .screen-head{flex-wrap:wrap;row-gap:2px}.levels-summary{color:var(--ink-soft);font-variant-numeric:tabular-nums;margin:0 0 0 auto;font-size:13px;font-weight:650}.level-goal{color:var(--ink-soft);font-variant-numeric:tabular-nums;margin-top:-2px;font-size:12px;line-height:1.2}.level-chip{background:var(--accent-deep);color:#fff;letter-spacing:.04em;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:700;position:absolute;top:10px;right:10px}.stars{gap:2px;display:inline-flex}.stars .icon.star-slot{width:18px;height:18px;color:var(--line-strong)}.stars .icon.star-slot.is-on{color:var(--gold)}.stars--big{justify-content:center;gap:8px}.stars--big .star-slot{width:58px;height:58px}@media (prefers-reduced-motion:no-preference){.stars--big.is-animated .star-slot.is-on{animation:.42s cubic-bezier(.2,.9,.3,1.3) both star-pop;animation-delay:calc(var(--i) * .14s + 80ms)}}@keyframes star-pop{0%{opacity:0;transform:scale(.3)}to{opacity:1;transform:scale(1)}}.gbar{align-items:center;gap:10px;padding:2px 0 8px;display:flex}.gbar-level{flex-direction:column;flex:1;min-width:0;line-height:1.15;display:flex}.gbar-level-num{font-size:17px;font-weight:750}.gbar-level-name{color:var(--ink-soft);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.gbar-wallet{background:var(--card);border:1.5px solid var(--line);font-variant-numeric:tabular-nums;border-radius:999px;align-items:center;gap:5px;min-height:36px;padding:0 12px 0 8px;font-weight:700;display:inline-flex}.gbar-wallet .icon{width:20px;height:20px}.gbody{flex-direction:column;gap:6px;display:flex}.gside{flex-direction:column;gap:4px;display:flex}.counters{flex-wrap:wrap;justify-content:center;gap:6px 10px;display:flex}.counter{background:var(--card);border:1px solid var(--line);font-variant-numeric:tabular-nums;border-radius:999px;align-items:center;gap:5px;min-height:30px;padding:0 10px;font-size:14px;font-weight:650;display:inline-flex}.counter .icon{width:18px;height:18px}.counter--target{color:var(--ink-soft)}.counter--target.is-capped{color:var(--warm);font-weight:650}.gmsg{text-align:center;min-height:1.3em;margin:2px 0 0;font-size:15px;font-weight:650}.ghint{text-align:center;color:var(--accent-deep);min-height:2.6em;margin:0;font-size:13px;font-weight:600}.ghint.is-cut{color:var(--warm)}.game[data-phase=lost] .gmsg{color:var(--danger)}.game[data-phase=won] .gmsg{color:var(--accent-deep)}.undo-row{flex-direction:column;order:10;align-items:center;gap:2px;margin-top:6px;display:flex}.dev-host{margin-top:10px}.board-play{--reserve:350px;width:min(100%, calc((100dvh - var(--reserve)) * var(--board-ratio)));min-width:min(100%,300px);margin:0 auto}.board-host{background:radial-gradient(ellipse at 50% 35%, #fbf7ee 0%, var(--bg) 60%, var(--bg-deep) 100%);border:1.5px solid var(--line);border-radius:var(--radius) var(--radius) 0 0;box-shadow:var(--shadow-soft);line-height:0;overflow:hidden}.board-svg{touch-action:manipulation;-webkit-tap-highlight-color:transparent;width:100%;height:auto;display:block}.board-svg .leaf{cursor:pointer}.board-svg .leaf .stem{cursor:default}.leaf .stem{fill:none;stroke:#7a6a46;stroke-width:7px;stroke-linecap:round}.leaf .leaf-body{stroke-width:2.5px;stroke-linejoin:round;filter:url(#leaf-shadow)}.leaf--broad .leaf-body{fill:var(--leaf-broad);stroke:var(--leaf-broad-edge)}.leaf--narrow .leaf-body{fill:var(--leaf-narrow);stroke:var(--leaf-narrow-edge)}.leaf--wavy .leaf-body{fill:var(--leaf-wavy);stroke:var(--leaf-wavy-edge)}.leaf--round .leaf-body{fill:var(--leaf-round);stroke:var(--leaf-round-edge)}.leaf .midrib{stroke:#ffffff8c;stroke-width:3px;stroke-linecap:round}.leaf .vein{fill:none;stroke:#ffffff61;stroke-width:1.6px;stroke-linecap:round}.leaf--narrow .midrib,.leaf--narrow .vein{stroke:#50641e59}.cp .cp-halo{fill:#ffffff59;stroke:none}.cp--bud .cp-body{fill:var(--bud);stroke:var(--bud-edge);stroke-width:2px}.cp--bud .cp-detail{stroke:var(--bud-edge);stroke-width:1.4px;fill:none}.cp--bud .cp-calyx{stroke:var(--bud-edge);stroke-width:2.4px;fill:none;stroke-linecap:round}.cp--hot .cp-body{fill:var(--hot);stroke:var(--hot-edge);stroke-width:2px}.cp--hot .cp-detail{stroke:var(--hot-edge);stroke-width:2.4px;stroke-linecap:round;fill:none}.is-hidden{display:none}.cp .cp-ring-track{fill:none;stroke:#3c5a2a40;stroke-width:3px}.cp .cp-ring{fill:none;stroke:#fff7d6;stroke-width:3.5px;stroke-linecap:round}.cp.is-bloomed .cp-ring-track{display:none}.cp .cp-petal{fill:#fff1dc;stroke:var(--bud-edge);stroke-width:1.6px}.cp .cp-center{fill:var(--gold);stroke:var(--bud-edge);stroke-width:1.4px}.heat .heat-track{fill:#ffffff8c;stroke:#2f3a2a80;stroke-width:.8px}.heat .heat-seg{fill:#d98a3a}.heat.is-warm .heat-seg{fill:#cf5f22}.heat.is-critical .heat-seg{fill:var(--danger)}.cp-rate-bg{fill:#fffdf6;stroke:#2f3a2a8c;stroke-width:1px}.cp-rate-mark{fill:none;stroke:var(--danger);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.cp-rate-bolt{fill:#e4ad3b;stroke:#8a5a0a;stroke-width:.8px;stroke-linejoin:round}.cp-rate-glass{fill:#8f7bd0;stroke:#4d3f86;stroke-width:.8px;stroke-linejoin:round}.cp-rate-drop{fill:#3f86b8;stroke:#24597f;stroke-width:.8px}.cp-twin-pip{fill:#fffdf6;stroke:var(--bud-edge);stroke-width:1px}.cp-twin-pip.is-on{fill:var(--gold)}.cp.is-half .cp-open,.pt-icon.is-half .cp-open{transform-box:fill-box;transform-origin:50%;transform:scale(.62)}.cp.is-resting .cp-ring{stroke:#9fc4dc;opacity:.9;stroke-dasharray:3 4!important;stroke-dashoffset:0!important}.cp.is-resting.is-lit .cp-ring{stroke:#fff7d6;opacity:.55}.cp-warn{fill:none;stroke:var(--danger);stroke-width:2px;stroke-dasharray:3 3}.cp.is-critical .cp-halo{fill:#b4261a4d}.cp.is-critical .cp-warn,.pt-icon.is-critical .cp-warn{stroke-width:3px}@media (prefers-reduced-motion:no-preference){.cp.is-warm.is-lit .cp-halo{transform-box:fill-box;transform-origin:50%;animation:.9s ease-in-out infinite heat-pulse}.cp.is-critical.is-lit .cp-halo{fill:#b4261a47;animation-duration:.45s}.cp.is-critical.is-lit .cp-warn{transform-box:fill-box;transform-origin:50%;animation:1.2s linear infinite warn-spin}}@keyframes heat-pulse{0%,to{opacity:.35;transform:scale(1)}50%{opacity:.75;transform:scale(1.15)}}@keyframes warn-spin{to{transform:rotate(360deg)}}.cp .cp-burn{fill:#b4261a1f;stroke:var(--danger);stroke-width:4px;stroke-dasharray:8 6}.cp.is-burned .cp-body{stroke:var(--danger);stroke-width:3px}.cp.is-burned .cp-halo{fill:#4a241680}@media (prefers-reduced-motion:no-preference){.game[data-phase=lost] .cp.is-burned .cp-burn{transform-box:fill-box;transform-origin:50%;animation:.52s ease-out burn-flash}.game[data-phase=lost] .cp.is-burned .cp-halo{animation:.52s ease-out scorch-in}.game[data-phase=won] .cp.is-bloomed .cp-halo{transform-box:fill-box;transform-origin:50%;animation:.62s ease-out bloom-glow}}@keyframes burn-flash{0%{stroke-width:11px;fill:#ffd678d9;transform:scale(.3)}55%{fill:#e8602866;transform:scale(1.1)}to{stroke-width:4px;fill:#b4261a1f;transform:scale(1)}}@keyframes scorch-in{0%{fill:#ffecaae6}to{fill:#4a241680}}@keyframes bloom-glow{0%{fill:#ffe282f2;transform:scale(.7)}45%{fill:#fff0b4b3;transform:scale(1.45)}to{fill:#ffffff59;transform:scale(1)}}.leaf-body.is-raised{animation:.42s ease-out leaf-raise}@keyframes leaf-raise{0%{stroke:#fff6c8;stroke-width:7px}to{stroke-width:2.5px}}@media (prefers-reduced-motion:no-preference){.board-svg .leaf.is-lifted,.board-svg .leaf.is-nudged{transform-box:fill-box;transform-origin:50% 100%}.board-svg .leaf.is-lifted{animation:.18s ease-out leaf-lift}.board-svg .leaf.is-nudged{animation:.15s ease-in-out leaf-nudge}.stem-btn.is-nudged{animation:.15s ease-in-out stem-nudge}}@keyframes leaf-lift{0%{transform:scale(1)}45%{transform:scale(1.035)}to{transform:scale(1)}}@keyframes leaf-nudge{0%,to{transform:rotate(0)}30%{transform:rotate(-1.2deg)}70%{transform:rotate(1.2deg)}}@keyframes stem-nudge{0%,to{transform:translate(0)}30%{transform:translate(-3px)}70%{transform:translate(3px)}}@keyframes nudge-outline{0%{outline:3px solid var(--accent-deep);outline-offset:2px}to{outline-offset:2px;outline:3px solid #0000}}@keyframes nudge-edge{0%{stroke:#fff6c8;stroke-width:6px}to{stroke-width:2.5px}}.cp .cp-open{transform-box:fill-box;transform-origin:50%;animation:.52s cubic-bezier(.2,.9,.3,1.3) bloom-pop}@keyframes bloom-pop{0%{transform:scale(.4)}to{transform:scale(1)}}.stems{grid-template-columns:repeat(var(--stem-count,3), 1fr);background:var(--bg-deep);border:1.5px solid var(--line);border-radius:0 0 var(--radius) var(--radius);border-top:none;padding:0 0 8px;display:grid}.stem-cell{justify-content:center;min-width:0;padding:0 5px;display:flex}.stem-btn{width:100%;max-width:190px;min-height:64px;font:inherit;color:var(--ink);background:var(--card);border:2px solid var(--line);cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;border-top:none;border-radius:0 0 14px 14px;flex-direction:column;align-items:center;gap:4px;padding:10px 6px 8px;display:flex;position:relative}.stem-btn:hover{background:#fff}.stem-btn.is-front{border-color:var(--accent-deep);box-shadow:inset 0 0 0 1px var(--accent-deep)}.stem-knob{background:#7a6a46;border-radius:0 0 5px 5px;width:10px;height:14px;position:absolute;top:-1px;left:50%;transform:translate(-50%)}.stem-key{display:none}@media (hover:hover) and (pointer:fine){.stem-key{text-align:center;min-width:16px;color:var(--ink-soft);border:1px solid var(--line);pointer-events:none;border-radius:4px;padding:0 3px;font-size:11px;font-weight:700;line-height:16px;display:block;position:absolute;top:5px;left:6px}}.stem-head{align-items:center;gap:6px;min-width:0;max-width:100%;margin-top:8px;display:flex}.stem-label{white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:600;overflow:hidden}.glyph{flex:none;width:22px;height:22px}.glyph path{stroke-width:1.4px;stroke-linejoin:round}.glyph .glyph-rib{fill:none;stroke:#ffffffb3}.stem-btn--broad .glyph path:first-child{fill:var(--leaf-broad);stroke:var(--leaf-broad-edge)}.stem-btn--narrow .glyph path:first-child{fill:var(--leaf-narrow);stroke:var(--leaf-narrow-edge)}.stem-btn--wavy .glyph path:first-child{fill:var(--leaf-wavy);stroke:var(--leaf-wavy-edge)}.stem-btn--round .glyph path:first-child{fill:var(--leaf-round);stroke:var(--leaf-round-edge)}.stem-cell{position:relative}.stem-cell--tied:after{content:"";z-index:2;pointer-events:none;background:#c79a5b;border:2px solid #8a5f2c;border-radius:7px;width:26px;height:12px;position:absolute;top:16px;right:-13px;box-shadow:inset 0 0 0 2px #fff0d28c}.stem-cell--tied .stem-btn,.stem-cell--tied+.stem-cell .stem-btn{border-color:#b08a55}.link-ties{pointer-events:none}.root-mark{fill:none;stroke:#6b4a22;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round}.leaf--rooted .leaf-body{stroke:#6b4a22;stroke-width:3.2px}.stem-btn.stem-btn--rooted{background:repeating-linear-gradient(135deg, #8a6a3c1a 0 6px, #8a6a3c05 6px 12px), var(--card);cursor:default;box-shadow:none;border-style:dashed;border-color:#8a6a3c}.stem-btn--rooted .stem-knob{background:#6b4a22;border-radius:0 0 7px 7px;width:14px}.stem-btn--rooted .stem-state{color:#6b4a22}.link-rope{fill:none;stroke:#8a5f2c;stroke-width:4px;stroke-linecap:round;stroke-dasharray:7 3}.link-knot{fill:#c79a5b;stroke:#8a5f2c;stroke-width:2px}.stems--four .stem-cell{padding:0 3px}.stem-icons{gap:4px;min-height:20px;display:flex}.stem-icons--many{flex-wrap:wrap;justify-content:center;max-width:100%}.pt-icon{border-radius:6px;flex-direction:column;align-items:center;gap:1px;min-width:44px;padding:2px 1px;display:inline-flex}.pt-icon svg{width:30px;height:35px;overflow:visible}.pt-caption{color:var(--ink-soft);white-space:normal;text-align:center;overflow-wrap:normal;max-width:64px;font-size:10px;line-height:1.1}.pt-icon.is-shadow{outline:1px dashed var(--ink-soft);outline-offset:1px;background:repeating-linear-gradient(135deg,#0000 0 2px,#2f3a2a59 2px 3px)}.pt-icon.is-shadow .cp{opacity:.6}.pt-icon.is-dim{outline:1px dotted var(--ink-soft);outline-offset:1px;background:radial-gradient(#2f3a2a52 1px,#0000 1.3px) 0 0/5px 5px}.pt-icon.is-dim .cp{opacity:.82}.leaf.leaf--sheer .leaf-body{fill-opacity:.42;stroke-dasharray:2 5;stroke-linecap:round;stroke-width:3px}.leaf--sheer .vein,.leaf--sheer .midrib{opacity:.45}.stem-btn.stem-btn--sheer{background:radial-gradient(#2f3a2a1f 1px, transparent 1.3px) 0 0 / 6px 6px, var(--card);border-style:dotted}.stem-btn--sheer .glyph path:first-child{fill-opacity:.45;stroke-dasharray:1.5 2.5}.pt-icon.is-burned{outline:2px solid var(--danger);outline-offset:1px}.stem-state{letter-spacing:.06em;text-transform:uppercase;color:var(--accent-deep);min-height:13px;font-size:11px}.garden{gap:4px;max-width:1120px;margin:0 auto}.garden-hint,.garden-loading,.garden-decor-note,.garden-next{color:var(--ink-soft);margin:0;font-size:14px}.garden-summary{font-variant-numeric:tabular-nums;margin:0;font-size:18px;font-weight:700}.garden-loading{padding:10px 0;font-style:italic}.garden-note{margin:0}.garden .is-hidden{display:none}.garden-body{box-shadow:var(--shadow), inset 0 1px 0 #ffffffb3;background:radial-gradient(120% 60% at 18% 0,#fff6c4bf 0%,#fff6c400 60%),repeating-linear-gradient(115deg,#ffffff17 0 26px,#3c6e280d 26px 52px),linear-gradient(#d9e8bd 0%,#c3d9a0 55%,#b3cd8f 100%);border:1.5px solid #b9cf9a;border-radius:24px;margin-top:6px;padding:0 10px 14px;position:relative;overflow:hidden}.garden-top{pointer-events:none;width:min(100%,520px);height:auto;margin:0 auto;display:block}.gs-ground{fill:#466e3229}.gs-bush{fill:url(#gdn-leaf);stroke:#3f7636;stroke-width:1.5px}.gs-bush--light{fill:url(#gdn-leaf-light)}.gs-bush-hl{fill:#ffffff38}.gs-entry-edge{fill:#a9824f}.gs-entry-fill{fill:#d2b07c}.gp-stone{fill:url(#gdn-stone);stroke:#a39a84;stroke-width:1px}.gp-stone-light{fill:#ffffffb3}.gs-rail{fill:#b98a55;stroke:#7a5630;stroke-width:1px}.gs-picket{fill:url(#gdn-wood);stroke:#7a5630;stroke-width:1.1px;stroke-linejoin:round}.gs-contact{fill:#283c1e38}.gs-can{fill:#79aecd;stroke:#3f7397;stroke-width:1.4px;stroke-linejoin:round}.gs-can-spout{fill:#8fbfdb;stroke:#3f7397;stroke-width:1.2px;stroke-linejoin:round}.gs-can-handle{fill:none;stroke:#3f7397;stroke-width:3px;stroke-linecap:round}.gs-can-band{fill:#ffffff59}.gs-post{fill:#4a4a44}.gs-glow{fill:#ffdd7866}.gs-lamp-cap{fill:#3a3a35}.gs-lamp{fill:#4a4a44}.gs-lamp-light{fill:#ffe08a}.gs-arch-frame{fill:none;stroke:#b98a55;stroke-width:6px;stroke-linecap:round}.gs-arch-vine{fill:none;stroke:#4f8a3c;stroke-width:4px;stroke-linecap:round}.gs-arch-bloom{stroke:#5a283c73;stroke-width:.8px}.gs-arch-bloom--0{fill:#f29ab8}.gs-arch-bloom--1{fill:#f6cf5e}.gs-arch-bloom--2{fill:#b9a3ea}.gs-arch-eye{fill:#fff6d8}.garden-beds{grid-template-columns:minmax(0,1fr);gap:20px 14px;margin-top:8px;display:grid}@media (width>=720px){.garden-beds{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=1080px){.garden-beds{grid-template-columns:repeat(3,minmax(0,1fr))}}.garden-bed{background:linear-gradient(#ecc995 0 5px,#ecc99500 5px),linear-gradient(90deg,#ffffff2e 0%,#fff0 22%,#3c230a00 70%,#3c230a38 100%),repeating-linear-gradient(90deg,#50321438 0 1.5px,#0000 1.5px 52px),linear-gradient(#d3a367 0%,#c08b52 58%,#9a6c3a 100%);border:1.5px solid #6d4824;border-radius:16px 16px 14px 14px;margin:0;padding:6px 6px 8px;position:relative;box-shadow:0 10px 0 -3px #3c5a2838,0 14px 18px -4px #283c1973,inset 0 -6px 8px -2px #46280c73,inset 0 1px #ffffff8c}.garden-bed:before{content:"";background:radial-gradient(3px 2px at 14% 30%,#28160880 50%,#0000 51%),radial-gradient(2.5px 2px at 37% 72%,#28160873 50%,#0000 51%),radial-gradient(3px 2px at 63% 24%,#ffdcaa38 50%,#0000 51%),radial-gradient(2.5px 2px at 86% 64%,#28160873 50%,#0000 51%),radial-gradient(90% 130% at 28% 12%,#ffebc829 0%,#fff0 60%),linear-gradient(#6a452b 0%,#7e563a 45%,#5a3b24 100%);border-radius:12px;height:86px;position:absolute;top:7px;left:7px;right:7px;box-shadow:inset 0 7px 9px #190e0599,inset 5px 0 7px -3px #190e0573,inset 0 -1px #ffdcaa40,0 1px #ffebc880}.garden-bed-title{z-index:3;color:#4a3410;letter-spacing:.02em;white-space:nowrap;background:linear-gradient(#fff7df 0%,#f3e3b7 100%);border:1.5px solid #7a5630;border-radius:8px;margin:0;padding:1px 9px;font-size:12px;font-weight:750;position:absolute;top:-13px;left:10px;box-shadow:0 2px 4px #32281440}.garden-row{z-index:1;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;display:grid;position:relative}.garden-slot{min-width:44px;min-height:124px;font:inherit;color:var(--ink);cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:0 0;border:none;border-radius:12px;flex-direction:column;justify-content:flex-end;align-items:center;gap:3px;margin:0;padding:2px 0;display:flex;position:relative}.garden-slot:hover{background:#ffffff1f}.garden-slot[aria-disabled=true]{cursor:default}.garden.is-busy .garden-slot{opacity:.7}.garden-plant{filter:drop-shadow(1.5px 2px #1e120647);aspect-ratio:64/92;pointer-events:none;width:min(100%,64px);height:auto;display:block;overflow:visible}.garden-slot-label{flex-direction:column;align-items:center;gap:1px;display:flex}.garden-slot-num{color:#3d2a0c;text-align:center;font-variant-numeric:tabular-nums;background:linear-gradient(#fffaf0 0%,#f1e6cc 100%);border:1px solid #7a5630;border-radius:999px;min-width:24px;padding:0 6px;font-size:12px;font-weight:750;line-height:16px}.stars--tiny{gap:0}.stars--tiny .star-slot{color:#3c240c59;width:11px;height:11px}.stars--tiny .star-slot.is-on{color:#ffd766;filter:drop-shadow(0 1px #46280599)}.gf-shadow{fill:#140a0380}.gf-grown,.gf-leaves,.gf-halo,.gf-crown{display:none}.garden-plant.is-bloom .gf-grown,.garden-plant.is-leafy .gf-grown,.garden-plant.is-crowned .gf-grown{display:inline}.garden-plant.is-bloom .gf-seed,.garden-plant.is-leafy .gf-seed,.garden-plant.is-crowned .gf-seed{display:none}.garden-plant.is-leafy .gf-leaves,.garden-plant.is-crowned .gf-leaves,.garden-plant.is-crowned .gf-halo,.garden-plant.is-crowned .gf-crown{display:inline}.garden-plant.is-leafy .gf-leaf--small,.garden-plant.is-crowned .gf-leaf--small{display:none}.garden-plant.is-bloom .gf-head{transform:scale(.72)}.gf-mound{fill:#8a6040;stroke:#4f331c;stroke-width:1px}.gf-stem{fill:none;stroke:#3f7d33;stroke-width:3px;stroke-linecap:round}.gf-leaf{fill:url(#gdn-leaf);stroke:#2f6a2a;stroke-width:1.1px;stroke-linejoin:round}.gf-leaf--light{fill:url(#gdn-leaf-light)}.gf-leaf-vein{fill:none;stroke:#ffffff73;stroke-width:1px;stroke-linecap:round}.gf-halo-glow{fill:#ffe28238}.gf-halo-ring{fill:#ffe89647;stroke:#ffdc6ebf;stroke-width:1.2px}.gf-crown-body{fill:#ffd04a;stroke:#9a6a08;stroke-width:1.1px;stroke-linejoin:round}.gf-spark{fill:#fff2b0;stroke:#d9a521;stroke-width:.6px}.gf-petal{stroke-width:.9px;stroke-linejoin:round}.gf-petal-line{fill:none;stroke-width:1px;stroke-linecap:round}.gf-core{fill:url(#gdn-core);stroke:#a9741a;stroke-width:.9px}.gf-core-light{fill:#ffffff8c}.garden-plant--form0 .gf-petal{fill:url(#gdn-petal-0);stroke:#b8547a}.garden-plant--form0 .gf-petal--back{fill:url(#gdn-petal-0b)}.garden-plant--form1 .gf-petal{fill:url(#gdn-petal-1);stroke:#b27a12}.garden-plant--form1 .gf-petal--back{fill:url(#gdn-petal-1b)}.garden-plant--form1 .gf-petal-line{stroke:#a0640a8c}.garden-plant--form2 .gf-petal{fill:url(#gdn-petal-2);stroke:#6a52a8}.garden-plant--form2 .gf-petal--back{fill:url(#gdn-petal-2b)}.garden-bed-stones{pointer-events:none;gap:5px;display:flex;position:absolute;top:-16px;right:22px}.garden-bed-stone{background:radial-gradient(circle at 35% 30%,#fff 0%,#e6e0d2 55%,#bdb49d 100%);border-radius:50%;width:15px;height:9px;box-shadow:0 1px 2px #323c1e66}.garden-bed-stone:nth-child(2){transform:translateY(2px)}.garden-decor{border:1.5px solid var(--line);box-shadow:var(--shadow-soft);background:linear-gradient(#fffefb 0%,#fbf6ea 100%);border-radius:16px;width:100%;max-width:640px;margin-top:10px;margin-left:auto;margin-right:auto;padding:10px 14px 12px}.garden-decor-title{margin:0 0 2px;font-size:16px;font-weight:750}.garden-decor-list{flex-wrap:wrap;gap:6px;margin:8px 0 6px;padding:0;list-style:none;display:flex}.garden-decor-item{border:1px solid var(--line);color:var(--ink-soft);background:#f3eee1;border-radius:999px;align-items:center;gap:5px;padding:3px 10px;font-size:13px;display:inline-flex}.garden-decor-item.is-unlocked{color:var(--accent-deep);background:#eef5e4;border-color:#b9d39a;font-weight:650}.garden-decor-threshold:before,.garden-decor-state:before{content:"· "}@media (prefers-reduced-motion:no-preference){.garden-slot .garden-plant{transform-origin:50% 95%;transition:transform .16s}@media (hover:hover){.garden-slot:not([aria-disabled=true]):hover .garden-plant{transform:scale(1.06)rotate(-2deg)}}.garden-plant.is-crowned .gf-spark{transform-box:fill-box;transform-origin:50%;animation:2.4s ease-in-out infinite gf-twinkle}.garden-plant.is-crowned .gf-spark--b{animation-delay:-1.2s}.gs-lantern:not(.is-hidden) .gs-glow{transform-box:fill-box;transform-origin:50%;animation:3.2s ease-in-out infinite gs-glow}}@keyframes gf-twinkle{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.55)}}@keyframes gs-glow{0%,to{opacity:.75}50%{opacity:1}}.modal{width:min(420px,100vw - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border:1.5px solid var(--line);background:var(--card);color:var(--ink);overscroll-behavior:contain;border-radius:22px;margin:auto;padding:0;overflow:auto;box-shadow:0 18px 44px #28513647}.modal[data-kind=help]{width:min(560px,100vw - 24px)}.modal::backdrop{background:#2851366b}@media (prefers-reduced-motion:no-preference){.modal[open]{animation:.18s ease-out panel-in}.modal.is-moment[open]{animation:panel-in .22s ease-out var(--moment-delay,.45s) backwards}.modal.is-moment[open]::backdrop{animation:backdrop-in .22s ease-out var(--moment-delay,.45s) backwards}.modal.is-moment .stars--big.is-animated .star-slot.is-on{animation-delay:calc(var(--moment-delay,.45s) + var(--i) * .14s + 80ms)}.modal.is-moment .panel-coin.is-awarded{animation-delay:var(--moment-delay,.45s);animation-fill-mode:backwards}}@keyframes backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes panel-in{0%{opacity:0;transform:translateY(10px)scale(.98)}to{opacity:1;transform:none}}.panel{text-align:center;flex-direction:column;align-items:center;gap:10px;padding:20px 18px 18px;display:flex}.panel-head{z-index:1;background:var(--card);justify-content:space-between;align-items:center;gap:8px;width:100%;padding:0 0 6px;display:flex;position:sticky;top:0}.panel-head h2{margin:0;font-size:20px}.panel-title{margin:0;font-size:22px;font-weight:800}.panel-badge{background:var(--gold);color:#3a2a06;letter-spacing:.04em;border-radius:999px;margin:-4px 0 0;padding:3px 10px;font-size:12px;font-weight:750}.panel-stat{color:var(--ink-soft);margin:0;font-size:15px;font-weight:600}.panel-coin{font-variant-numeric:tabular-nums;background:#e4ad3b29;border-radius:999px;align-items:center;gap:6px;min-height:32px;margin:0;padding:0 14px;font-size:16px;font-weight:750;display:inline-flex}.panel-coin .icon{width:22px;height:22px}.panel-coin.is-waiting{color:var(--ink-soft);font-weight:600}@media (prefers-reduced-motion:no-preference){.panel-coin.is-awarded{animation:.7s ease-out coin-glow}}@keyframes coin-glow{0%{background:#e4ad3b99}to{background:#e4ad3b29}}.panel-reason{color:var(--ink);margin:0;font-size:15px}.lost-reason{justify-content:center;align-items:center;gap:10px;display:flex}.lost-reason .panel-reason{flex:1 1 0;min-width:0}.lost-burned{flex-wrap:wrap;flex:none;justify-content:center;gap:4px;max-width:96px;display:inline-flex}.lost-burned[hidden]{display:none}.lost-burned:not([hidden])+.panel-reason{text-align:left}.panel-note{color:var(--accent-deep);margin:0;font-size:14px;font-weight:650}.panel-small{color:var(--ink-soft);margin:0;font-size:12px}.panel-small--warn{color:var(--warm);font-weight:600}.panel-actions{flex-direction:column;align-items:stretch;gap:8px;width:100%;margin-top:4px;display:flex}.panel-actions .btn{width:100%}.panel-actions--foot{margin-top:0}.panel-actions--foot .btn{min-height:44px}.power-list{flex-direction:column;gap:8px;width:100%;display:flex}.power-item{flex-direction:column;align-items:stretch;gap:2px;display:flex}.power-item .btn{width:100%}.help{text-align:left;align-items:stretch;padding-top:12px}.help ul{margin:0;padding-left:18px;font-size:15px}.help li{margin:0 0 6px}.help-legend{margin:4px 0;font-size:14px}.help-legend-row{align-items:center;gap:8px;display:flex}.help-legend-row p{margin:0}.help-legend-icon{flex:none;width:56px;height:56px}.help-details summary{cursor:pointer;align-items:center;min-height:44px;font-weight:650;display:flex}.help-details ul{font-size:14px}.dev-toggle{font:inherit;color:var(--ink-soft);border:1px solid var(--line);cursor:pointer;background:0 0;border-radius:999px;min-height:36px;padding:0 12px;font-size:14px}.dev-toggle[aria-expanded=true]{background:var(--ink);color:#fff;border-color:var(--ink)}.dev-panel{background:var(--card);border:1px solid var(--line);border-radius:12px;max-width:100%;margin-top:8px;padding:12px 14px;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:13px;overflow-x:auto}.dev-panel h2{margin:0 0 8px;font-family:inherit;font-size:14px}.dev-line{margin:4px 0}.dev-order{font-weight:700}.dev-muted{color:var(--ink-soft)}.dev-burn{color:var(--danger);font-weight:700}.dev-leaves{margin:6px 0 10px;padding-left:18px}.dev-table{border-collapse:collapse;width:100%}.dev-table th,.dev-table td{border:1px solid var(--line);text-align:left;white-space:nowrap;padding:3px 6px}.dev-table tr.is-lit td:nth-child(6){font-weight:700}.dev-table tr.is-shadow td:nth-child(6){color:var(--ink-soft);font-style:italic}@media (width<=420px){.stem-head{flex-direction:column;gap:2px}.stem-label{white-space:normal;text-align:center;font-size:12px;line-height:1.15}.stem-btn{padding:8px 4px 6px}.ghint{font-size:12px}#app{padding-bottom:max(8px, env(safe-area-inset-bottom))}.gbar-level-name{display:none}}@media (width<=999px){.gbody,.gside{display:contents}.game{gap:4px}.counters{order:1}.gmsg{order:2}.ghint{order:3}.board-play{order:4;margin-top:4px}.undo-row{order:5}.dev-host{order:6}}@media (width>=1000px){#app{padding-bottom:max(8px, env(safe-area-inset-bottom))}.game{--side-w:300px;--reserve:220px;width:min(100%, calc((100dvh - var(--reserve)) * var(--board-ratio) + var(--side-w) + 28px));margin:0 auto}.gbody{grid-template-columns:minmax(0, 1fr) var(--side-w);align-items:start;column-gap:28px;display:grid}.gside{order:2;gap:10px;padding-top:6px}.board-play{--reserve:220px;order:1;margin:0}.counters,.gmsg,.ghint,.power-why{text-align:left;justify-content:flex-start}.ghint{min-height:0}.undo-row{align-items:flex-start}.gbar-level-num{font-size:18px}}@media (width>=600px) and (width<=999px) and (height<=500px){.stem-label{white-space:normal;text-align:center;line-height:1.15}.gbody{grid-template-columns:minmax(0,1fr) 260px;align-items:start;column-gap:16px;display:grid}.gside{order:2;display:flex}.board-play{order:1;width:100%;margin:0}.counters,.gmsg,.ghint{text-align:left;justify-content:flex-start}.menu{gap:8px}.menu-art{width:150px}.menu-title{font-size:28px}.panel{gap:6px;padding:12px 16px}.stars--big .star-slot{width:40px;height:40px}}@media (prefers-reduced-motion:reduce){.leaf-body.is-raised,.cp .cp-open,.modal[open],.panel-coin.is-awarded,.stars--big.is-animated .star-slot.is-on{animation:none}.stem-btn.is-nudged{animation:.32s step-end nudge-outline}.leaf.is-nudged .leaf-body{animation:.32s step-end nudge-edge}}:root{--focus:#1b5a3a;--ink-grad:linear-gradient(180deg, #2f6142 0%, #244a32 100%);--card-grad:linear-gradient(180deg, #fffefb 0%, #fbf6ea 100%);--shadow:0 8px 22px #28513629, 0 2px 4px #28513614;--shadow-soft:0 3px 10px #2851361a, 0 1px 2px #2851360f}html{background:var(--bg)}body{background-color:#0000;background-image:radial-gradient(1100px 620px at 12% -8%,#ffecaa80,#0000 62%),radial-gradient(900px 700px at 105% 108%,#739d4533,#0000 60%),linear-gradient(#faf6ec 0%,#f3ecdc 100%);background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:auto,auto,auto;background-attachment:fixed;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;min-height:100dvh}.btn:focus-visible,.icon-btn:focus-visible,.stem-btn:focus-visible,.level-card:focus-visible,.help-details summary:focus-visible,.garden-slot:focus-visible{outline:3px solid var(--focus);outline-offset:3px;box-shadow:0 0 0 3px #fffdf6}.tempo-card:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:3px;box-shadow:0 0 0 3px #fffdf6}.btn,.icon-btn{background:var(--card-grad);border-color:var(--line);box-shadow:var(--shadow-soft), inset 0 1px 0 #ffffffe6}.btn:hover,.icon-btn:hover{border-color:var(--line-strong);background:#fff}.btn-primary{background:var(--ink-grad);text-shadow:0 1px #0000002e;letter-spacing:.01em;border-color:#1f4330;box-shadow:0 10px 22px #244a324d,0 2px 4px #244a3233,inset 0 1px #ffffff38}.btn-primary:hover{background:linear-gradient(#356c4a 0%,#27503a 100%);border-color:#1f4330}.btn-ghost{box-shadow:none;background:0 0;border-color:#0000}.btn-ghost:hover{background:#28513614;border-color:#0000}.btn[aria-disabled=true],.icon-btn[aria-disabled=true]{box-shadow:none}.menu-art{filter:drop-shadow(0 12px 14px #2851362e);width:min(280px,68vw)}.menu-title{background:linear-gradient(#2f6142 10%,#1d4029 95%);color:#0000;letter-spacing:.005em;filter:drop-shadow(0 1px #ffffffb3);-webkit-background-clip:text;background-clip:text}.menu-tagline{font-size:16px}.menu-summary{gap:10px}.menu-summary .icon-label{background:var(--card-grad);border:1px solid var(--line);box-shadow:var(--shadow-soft);border-radius:999px;padding:6px 14px}.tempo-card{background:var(--card-grad);box-shadow:var(--shadow-soft), inset 0 1px 0 #ffffffe6}.tempo-card:has(input:checked){background:linear-gradient(#f3f9e9 0%,#e4f0d3 100%);box-shadow:0 6px 16px #4f7a2e33,inset 0 1px #fffc}.menu-secondary{gap:8px}.menu-secondary .btn-ghost{border-color:var(--line);box-shadow:var(--shadow-soft);background:#fffdf8b3}.menu-secondary .btn-ghost:hover{border-color:var(--line-strong);background:#fff}.level-card{background:var(--card-grad);box-shadow:var(--shadow-soft), inset 0 1px 0 #ffffffe6;border-width:1.5px;overflow:hidden}.level-num{background:var(--ink-grad);box-shadow:0 2px 5px #244a324d,inset 0 1px #ffffff40}.level-card[data-stars="0"] .level-num{color:var(--ink);box-shadow:inset 0 0 0 2px var(--line-strong);background:0 0}.level-card[data-stars="3"]{background:linear-gradient(#fffdf4 0%,#fbf0d2 100%);border-color:#e3cf96}.level-card[data-stars="3"] .level-num{color:#3a2a06;background:linear-gradient(#f1c35a 0%,#d99a26 100%);box-shadow:0 2px 6px #b4821f66,inset 0 1px #ffffff80}.level-card[data-stars="3"]:after{content:"";pointer-events:none;background:radial-gradient(circle,#f4c8608c 0%,#f4c86000 70%);border-radius:50%;width:78px;height:78px;position:absolute;top:-26px;right:-26px}.level-card.is-resume{background:linear-gradient(#f4f9ea 0%,#e6f0d6 100%);box-shadow:0 6px 16px #4f7a2e33,inset 0 1px #fffc}.stars .star-slot.is-on{filter:drop-shadow(0 1px 1px #b4821f73)}@media (width>=520px){.levels-summary{border:1px solid var(--line);background:#fffdf8bf;border-radius:999px;padding:5px 12px}}.counter{background:var(--card-grad);box-shadow:var(--shadow-soft)}.gbar-wallet{box-shadow:var(--shadow-soft)}.board-host{border-color:var(--line-strong);box-shadow:var(--shadow), inset 0 1px 0 #fffc;background:radial-gradient(120% 70% at 50% -12%,#fff0bed9 0%,#fff0be00 62%),radial-gradient(90% 34% at 50% 104%,#6e603e33 0%,#6e603e00 70%),linear-gradient(#fbf8ef 0%,#f1ead9 100%)}.leaf--broad .leaf-body{fill:url(#leaf-fill-broad)}.leaf--narrow .leaf-body{fill:url(#leaf-fill-narrow)}.leaf--wavy .leaf-body{fill:url(#leaf-fill-wavy)}.leaf--round .leaf-body{fill:url(#leaf-fill-round)}.leaf .leaf-body{stroke-width:2.2px}.leaf .midrib{stroke:#fff9}.stems{background:linear-gradient(#e2d8c08c 0%,#e2d8c033 100%)}.stem-btn{background:var(--card-grad);box-shadow:0 3px 8px #2851361a}.stem-btn.is-front{box-shadow:inset 0 0 0 1px var(--accent-deep), 0 5px 12px #4f7a2e38;background:linear-gradient(#f6faee 0%,#e7f1d8 100%)}.stem-state{letter-spacing:.08em}.modal{background:linear-gradient(#fffefb 0%,#fbf6ea 100%);border-color:#c4b89ce6;box-shadow:0 24px 60px #19342361,0 4px 10px #1934232e,inset 0 1px #ffffffe6}.modal::backdrop{-webkit-backdrop-filter:blur(3px)saturate(.9);backdrop-filter:blur(3px)saturate(.9);background:radial-gradient(120% 90% at 50% 40%,#28513657 0%,#162e1f9e 100%)}.panel-title{letter-spacing:.005em;font-size:24px}.panel-badge{background:linear-gradient(#f1c35a 0%,#dea02c 100%);box-shadow:0 2px 6px #b4821f59,inset 0 1px #ffffff80}.stars--big .star-slot.is-on{filter:drop-shadow(0 3px 6px #e4ad3b8c)}.panel-coin{box-shadow:inset 0 0 0 1px #e4ad3b59}@media (prefers-reduced-motion:no-preference){.btn,.icon-btn,.level-card,.tempo-card,.stem-btn{transition:transform .12s,box-shadow .16s,background-color .16s,border-color .16s}.btn:not([aria-disabled=true]):active,.icon-btn:not([aria-disabled=true]):active,.level-card:not([aria-disabled=true]):active{transform:translateY(1px)scale(.985)}@media (hover:hover){.btn-primary:not([aria-disabled=true]):hover,.level-card:not([aria-disabled=true]):hover{transform:translateY(-2px)}.level-card:not([aria-disabled=true]):hover{box-shadow:var(--shadow)}}.screen:not([hidden]){animation:.2s ease-out both screen-in}.menu-art-leaf,.menu-art-rib{transform-box:view-box;transform-origin:46% 90%;animation:6s ease-in-out infinite art-sway}.menu-art-leaf--narrow{animation-duration:7s;animation-delay:-2s}.menu-art-leaf--wavy{animation-duration:8s;animation-delay:-4s}.menu-art-sun{transform-box:fill-box;transform-origin:50%;animation:5s ease-in-out infinite art-sun}}@keyframes screen-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes art-sway{0%,to{transform:rotate(-1.2deg)}50%{transform:rotate(1.2deg)}}@keyframes art-sun{0%,to{opacity:.9;transform:scale(1)}50%{opacity:1;transform:scale(1.08)}}.garden-life{flex-direction:column;gap:10px;width:100%;max-width:640px;margin:6px auto 10px;display:flex}.garden-life--shop{margin:12px auto 0}.garden-dew{border:1.5px solid var(--line);box-shadow:var(--shadow-soft);background:linear-gradient(#fffefb 0%,#f6f3e6 100%);border-radius:16px;flex-direction:column;gap:6px;padding:12px 14px;display:flex}.garden-dew.is-ready{background:linear-gradient(#f6fbff 0%,#e6f1f8 100%);border-color:#9fc4dc;box-shadow:0 6px 16px #3f86b82e}.garden-dew-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.garden-dew-title,.garden-shop-title{margin:0;font-size:16px;font-weight:750}.garden-dew-streak{color:#5a4208;white-space:nowrap;background:#fbefd2;border:1px solid #e3cf96;border-radius:999px;padding:2px 10px;font-size:13px;font-weight:700}.garden-dew-text{color:var(--ink-soft);margin:0;font-size:14px}.garden-dew-btn{align-self:stretch;min-height:48px}.garden-life-msg{text-align:center;background:#eef5e4;border:1px solid #cfe0b8;border-radius:12px;margin:0;padding:6px 12px;font-size:14px;font-weight:650}.has-dew .garden-slot:not([data-stage=seed]):after{content:"";z-index:2;pointer-events:none;background:radial-gradient(circle at 35% 65%,#e6f6ff 0%,#7fbbe0 55%,#3f86b8 100%);border-radius:50%/62% 62% 38% 38%;width:10px;height:13px;position:absolute;top:4px;right:calc(50% - 30px);box-shadow:0 1px 2px #24597f73}.garden-defs{width:0;height:0;position:absolute;overflow:hidden}.garden-nook{pointer-events:none;grid-column:1/-1;justify-content:center;margin:-6px 0 -4px;display:flex}.garden-nook-art{width:min(100%,560px);height:auto;display:block;overflow:visible}.gy-spot{fill:#466e3224;stroke:#466e3247;stroke-width:1px;stroke-dasharray:3 4}.gy-art{display:none}.gy-item.is-owned .gy-art{display:inline}.gy-item.is-owned .gy-spot{display:none}.gy-cast{fill:#1e321447}.gy-wood{fill:url(#gdn-wood);stroke:#6d4824;stroke-width:1px;stroke-linejoin:round}.gy-wood-top{fill:#e7c08c;stroke:#6d4824;stroke-width:1px;stroke-linejoin:round}.gy-wood-dark{fill:url(#gdn-wood-dark);stroke:#5a3a1a;stroke-width:1px;stroke-linejoin:round}.gy-wood-line{fill:none;stroke:#6d482473;stroke-width:.8px}.gy-wood-shade{fill:#3c230a4d}.gy-stone{fill:url(#gdn-stone);stroke:#7d7562;stroke-width:1px;stroke-linejoin:round}.gy-stone-dark{fill:url(#gdn-stone-dark);stroke:#6e6654;stroke-width:1px}.gy-stone-shade{fill:#3c372838}.gy-pond-edge{fill:#6f6a58}.gy-water{fill:url(#gdn-water);stroke:#2f7198;stroke-width:.8px}.gy-water-light{fill:none;stroke:#fffc;stroke-width:1.6px;stroke-linecap:round}.gy-bird{fill:#d0603f;stroke:#7d3220;stroke-width:.9px;stroke-linejoin:round}.gy-bird-eye{fill:#2b1a10}.gy-stem{fill:none;stroke:#3f7d33;stroke-width:2.4px;stroke-linecap:round}.gy-grass,.gy-reed{fill:url(#gdn-leaf);stroke:#2f6a2a;stroke-width:.7px}.gy-blossom{fill:url(#gdn-petal-0);stroke:#b8547a;stroke-width:.8px}.gy-blossom--b{fill:url(#gdn-petal-1);stroke:#b27a12}.gy-blossom--c{fill:url(#gdn-petal-2);stroke:#6a52a8}.gy-blossom-eye{fill:#fff6d8}.gy-wing{fill:url(#gdn-petal-1);stroke:#9a5a12;stroke-width:.9px}.gy-fly--b .gy-wing{fill:url(#gdn-petal-0);stroke:#9c3f67}.gy-fly--c .gy-wing{fill:url(#gdn-petal-2);stroke:#5d4a94}.gy-fly-body{stroke:#3a2f20;stroke-width:1.8px;stroke-linecap:round}.gy-hive{fill:url(#gdn-hive);stroke:#94671a;stroke-width:1px;stroke-linejoin:round}.gy-hive-shade{fill:#78460a33}.gy-hive-door{fill:#3d2a0c}.gy-bee{fill:#3a2f20;stroke:#f2c94c;stroke-width:1.4px}.gy-lily{fill:url(#gdn-leaf-light);stroke:#3f6f33;stroke-width:.8px}.gy-blade{stroke:#7a5630;stroke-width:.8px;stroke-linejoin:round}.gy-blade--0{fill:#ef8f6a}.gy-blade--1{fill:#f8dc8a}.gy-blade-fold{fill:#ffffff59}.gy-hub{fill:#6d4824}.gy-hub-light{fill:#fff9}.garden-shop{border:1.5px solid var(--line);box-shadow:var(--shadow-soft);background:linear-gradient(#fffefb 0%,#fbf6ea 100%);border-radius:16px;padding:12px 14px}.garden-shop-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.garden-wallet{background:#fbefd2;border:1px solid #e3cf96;border-radius:999px;padding:4px 12px}.garden-wallet .icon{width:18px;height:18px}.garden-shop-note{color:var(--ink-soft);margin:2px 0 8px;font-size:13px}.garden-shop-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.garden-shop-item{border:1px solid var(--line);background:#fff9;border-radius:12px;flex-direction:column;align-items:stretch;gap:6px;padding:8px 10px;display:flex}.garden-shop-item.is-owned{background:#eef5e4;border-color:#cfe0b8}.garden-shop-name{font-size:14px;font-weight:650}.garden-shop-btn{font-variant-numeric:tabular-nums;width:100%;font-weight:700}.garden-shop-item.is-affordable .garden-shop-btn{background:var(--ink-grad);color:#fff;border-color:#1f4330}.garden-shop-item.is-owned .garden-shop-btn{opacity:1;box-shadow:none;color:var(--accent-deep);background:0 0;border-color:#0000}@media (width>=600px){.garden-shop-list{grid-template-columns:repeat(3,minmax(0,1fr))}}.menu-dew-dot{background:radial-gradient(circle at 35% 65%,#e6f6ff 0%,#7fbbe0 55%,#3f86b8 100%);border-radius:50%/62% 62% 38% 38%;width:10px;height:12px;margin-left:2px;box-shadow:0 1px 2px #24597f73}@media (prefers-reduced-motion:no-preference){.gy-item.is-owned .gy-art{transform-box:fill-box;transform-origin:50% 100%;animation:.42s cubic-bezier(.2,.9,.3,1.25) both gy-pop}.gy-item--butterflies.is-owned .gy-fly-wings{transform-box:fill-box;transform-origin:50%;animation:.7s ease-in-out infinite gy-flutter}.gy-item--butterflies.is-owned .gy-fly--b .gy-fly-wings{animation-duration:.56s}.gy-item--windmill.is-owned .gy-blades-spin{animation:5s linear infinite gy-spin}.gy-item--beehive.is-owned .gy-bee{animation:2.4s ease-in-out infinite gy-bee}.gy-item--beehive.is-owned .gy-bee--b{animation-delay:-1.2s}.has-dew .garden-slot:not([data-stage=seed]):after,.menu-dew-dot{animation:2.2s ease-in-out infinite gy-dew}}@keyframes gy-pop{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}@keyframes gy-flutter{0%,to{transform:scaleX(1)}50%{transform:scaleX(.35)}}@keyframes gy-spin{to{transform:rotate(360deg)}}@keyframes gy-bee{0%,to{transform:translate(0)}50%{transform:translate(-4px,-5px)}}@keyframes gy-dew{0%,to{opacity:1;transform:translateY(0)}50%{opacity:.75;transform:translateY(2px)}}
