:root{color-scheme:dark;--forest:#123e35;--cream:#fff8ee;--pink:#f3a6bb;--muted:#bfcec2;--accent:#f3a6bb;--board:#102d29}*{box-sizing:border-box}body{margin:0;background:#143b31;color:var(--cream);font-family:Arial,Helvetica,sans-serif;font-size:16px;min-height:100svh}.garden-bg,.veil{position:fixed;inset:0;pointer-events:none}.garden-bg{background:url('garden.webp') center 58%/cover no-repeat;opacity:.68}.veil{background:linear-gradient(90deg,rgba(7,31,27,.76),rgba(11,39,32,.5) 50%,rgba(7,31,27,.72));backdrop-filter:blur(2px)}button{font:inherit;cursor:pointer;border:0;color:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:3px solid #fff;outline-offset:4px}button:disabled{opacity:.4;cursor:default}.app{position:relative;max-width:1100px;padding:25px 40px 20px;margin:auto}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:2.5px}.brand .eyebrow{color:#d1dfcb;font-size:12px;letter-spacing:3.5px}h1{font-family:Georgia,serif;font-size:38px;letter-spacing:-1.5px;margin:3px 0 0;font-weight:400}h1 em{color:var(--pink);font-weight:400}.header-actions{display:flex;gap:12px;align-items:center}.icon-button{background:#163b32b8;border:1px solid #ffffff35;border-radius:24px;min-height:44px;min-width:44px;padding:10px 14px;font-size:14px}.icon-button span:first-child{font-size:20px;margin-right:8px}#help{font-family:Georgia,serif;font-size:22px;padding:8px}.game-layout{display:grid;grid-template-columns:minmax(270px,430px) 310px;gap:46px;justify-content:center;align-items:start}.play-column{min-width:0}.score-strip{display:flex;justify-content:space-between;align-items:center;padding:0 5px 15px}.score-strip>div{display:flex;flex-direction:column;gap:5px}.score-strip span{font-size:12px;letter-spacing:2px;color:#c7d7cc}.score-strip strong{font-size:25px;font-weight:500;font-variant-numeric:tabular-nums}.score-strip b{font-weight:500}.score-strip small{font-size:14px;color:#c6d1c7}.score-strip button{background:#ffffff0b;border:1px solid #ffffff35;border-radius:13px;width:44px;height:44px;font-size:20px}.board-shell{height:min(64svh,630px);aspect-ratio:10/18;position:relative;margin:auto;border:1px solid #b1d8b86b;border-radius:18px;background:var(--board);box-shadow:0 0 0 7px #e9edce09,0 20px 65px #0005;overflow:hidden;transition:background 1.2s}#board{display:block;width:100%;height:100%;touch-action:none}.overlay{position:absolute;inset:0;background:linear-gradient(#0b282be8,#0f3128e8);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:25px}.overlay.hidden{display:none}.intro-flower{width:105px;height:105px;background:url('flowers.png') 0 0/400% 200% no-repeat;filter:drop-shadow(0 7px 8px #0005);margin-bottom:20px}.overlay .eyebrow{font-size:12px;letter-spacing:2px;color:#d2ddc7}.overlay h2{font-family:Georgia,serif;font-weight:400;font-size:36px;letter-spacing:-1px;margin:14px 0}.overlay p{font-size:15px;line-height:1.6;color:#e0e9de;margin:0 0 23px}.primary{background:var(--pink);color:#24372b;padding:15px 23px;border-radius:12px;min-height:48px;font-weight:700;box-shadow:0 5px 0 #ba6d8580;transition:transform .15s,filter .15s}.primary:hover{filter:brightness(1.08)}.primary:active{transform:translateY(3px)}.primary span{margin-left:20px}.overlay-note{font-size:12px;margin-top:24px;color:#c2d1c0}.controls{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:19px auto 0;max-width:420px}.controls button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;border-radius:13px;background:#163e36ed;border:1px solid #c4d1aa55;min-height:62px;font-size:12px;color:#e0eadd;box-shadow:0 3px 0 #06271d}.controls button span{font-size:24px;line-height:1.1}.controls button:active{transform:translateY(2px);background:#386653}.controls button.plant{background:var(--pink);color:#21382c;border-color:var(--pink)}.play-hint{text-align:center;font-size:12px;color:#d2deca;margin:14px 0}.garden-column{padding-top:66px}.garden-card{padding:27px;border:1px solid #c0d6b440;border-radius:20px;background:linear-gradient(145deg,#eff3d916,#1a3d2fe8);backdrop-filter:blur(18px);box-shadow:0 12px 30px #001f2420}.card-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.card-top .eyebrow{font-size:12px;letter-spacing:1.7px;color:#d5decb}.card-top>span:last-child{font-family:Georgia,serif;font-size:19px;color:var(--pink)}.garden-card h2{font-family:Georgia,serif;font-size:31px;font-weight:400;line-height:1.1;letter-spacing:-.6px;margin:26px 0 22px}.garden-card blockquote{font-family:Georgia,serif;font-size:22px;line-height:1.5;font-style:italic;margin:0;min-height:97px}.reference{font-size:12px;color:#ced9c8;letter-spacing:.5px;margin:17px 0 31px}.path-label{display:flex;justify-content:space-between;gap:5px;font-size:12px;color:#d3dec9}.path-label strong{font-weight:400}.progress{height:5px;background:#d3e7cd25;border-radius:8px;overflow:hidden;margin-top:12px}.progress>div{height:100%;width:0;background:var(--pink);border-radius:8px;transition:width .5s}.journey{display:flex;justify-content:space-between;margin-top:23px}.journey span{display:grid;place-items:center;border:1px solid #cedecc30;color:#bbcdb6;width:25px;height:25px;border-radius:50%;font-size:12px}.journey .current{border-color:var(--pink);color:var(--pink);box-shadow:0 0 0 4px #f3a6bb10}.journey .done{background:#d6e7b7;color:#234531;border-color:#d6e7b7}.next-card{display:flex;align-items:center;justify-content:space-between;padding:10px 22px;border:1px solid #c0d6b440;border-radius:17px;background:#163c31c4;margin-top:17px;min-height:108px}.next-card .eyebrow{font-size:12px;letter-spacing:1.8px;color:#cedccb}.next-card h3{font-family:Georgia,serif;font-size:22px;font-weight:400;margin:8px 0}#next{width:125px;height:90px}.quiet-note{text-align:center;color:#e2e8d1;margin:27px 0 22px}.note-line{display:block;width:28px;height:1px;background:var(--pink);margin:auto}.quiet-note p{font-family:Georgia,serif;font-size:18px;font-style:italic;line-height:1.5}.text-button{display:block;margin:auto;background:transparent;color:#d0decd;font-size:12px;text-decoration:underline;text-underline-offset:4px;min-height:44px}.keyboard-note{text-align:center;font-size:12px;color:#bdcfbc;line-height:1.7}.toast{position:absolute;left:8%;right:8%;top:39%;text-align:center;pointer-events:none;color:white;font-family:Georgia,serif;font-size:26px;text-shadow:0 2px 8px #06251c;opacity:0;z-index:2}.toast.show{animation:toast 1.7s both}@keyframes toast{0%{opacity:0;transform:translateY(15px)}15%,65%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-16px)}}dialog{color:#1d3c31;background:#fff8ef;border:none;border-radius:24px;max-width:490px;width:calc(100% - 32px);padding:36px;box-shadow:0 30px 90px #0006}dialog::backdrop{background:#061e19c7;backdrop-filter:blur(5px)}dialog h2{font:32px Georgia,serif;letter-spacing:-.6px}dialog p,dialog li{font-size:16px;line-height:1.55}dialog ol{padding-left:22px}dialog li{padding-left:4px;margin-bottom:12px}.dialog-close{position:absolute;right:12px;top:8px;background:none;color:#183f30;font-size:28px;width:44px;height:44px}.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}.reduced *, .reduced *:before{animation:none!important;transition:none!important}.reduced .toast.show{opacity:1}
@media(min-width:1250px){.garden-bg{background-size:cover;background-position:center 50%}}@media(max-width:760px){.app{padding:15px 18px 16px;max-width:520px}header{margin-bottom:16px}h1{font-size:30px}.brand .eyebrow{font-size:12px}.header-actions{gap:7px}.icon-button{font-size:12px;padding:8px 10px}.game-layout{display:flex;flex-direction:column;gap:0}.play-column{width:100%}.score-strip{max-width:355px;margin:auto;padding-bottom:12px}.score-strip span{font-size:12px}.score-strip strong{font-size:22px}.board-shell{height:clamp(280px,54svh,510px);max-width:100%}.overlay{padding:18px}.intro-flower{width:80px;height:80px;margin-bottom:14px}.overlay h2{font-size:29px;margin:11px 0}.overlay p{font-size:14px;margin-bottom:17px}.overlay-note{margin-top:18px;font-size:12px}.controls{margin-top:15px;gap:7px;max-width:355px}.controls button{min-height:58px}.play-hint{margin:11px 0 16px}.garden-column{width:100%;padding-top:0;display:grid;grid-template-columns:1fr 108px;gap:10px;align-items:start}.garden-card{padding:17px;grid-column:1/2}.card-top .eyebrow{font-size:12px;letter-spacing:1px}.card-top>span:last-child{font-size:15px}.garden-card h2{font-size:24px;margin:13px 0}.garden-card blockquote{font-size:18px;min-height:0;line-height:1.45}.reference{font-size:12px;margin:13px 0 20px}.path-label{font-size:12px}.journey{margin-top:16px}.journey span{width:21px;height:21px;font-size:12px}.next-card{margin:0;padding:15px 8px;flex-direction:column;gap:4px;min-height:143px;text-align:center}.next-card .eyebrow{font-size:12px}.next-card h3{font-size:18px}#next{width:90px;height:65px}.quiet-note,.keyboard-note{display:none}.text-button{grid-column:2;grid-row:1;align-self:end;margin:0 0 -45px;font-size:12px;line-height:1.4}.veil{background:linear-gradient(#0b2d26b3,#123c2aba)}dialog{padding:28px}dialog h2{font-size:27px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.toast.show{opacity:1}}

.mobile-next{display:none!important}@media(max-width:760px){.mobile-next{display:flex!important;gap:0!important;align-items:center}.mobile-next canvas{width:70px;height:37px}.garden-column{display:block}.garden-column .next-card{display:none}.garden-column .text-button{margin:10px auto 0}.score-strip{gap:10px}.score-strip strong{font-size:21px}.score-strip>div{min-width:38px}}

.controls button{font-size:14px}.icon-button,.text-button{font-size:14px}@media(max-height:660px) and (max-width:760px){.overlay .intro-flower{width:45px;height:45px;margin-bottom:8px}.overlay-note{display:none}.overlay h2{font-size:25px}.overlay p{font-size:14px}.overlay .eyebrow{letter-spacing:1px}}

.back-garden{color:var(--cream);font-size:14px;text-decoration:none;display:inline-flex;align-items:center;min-height:44px;padding:8px 10px;border-radius:24px;border:1px solid #ffffff35;background:#163b32b8}.back-garden:hover{text-decoration:underline}.back-garden:focus-visible{outline:3px solid #fff;outline-offset:4px}@media(max-width:760px){header{flex-wrap:wrap;gap:12px}.header-actions{flex-wrap:wrap}.back-garden{font-size:14px}}
