:root{font-family:"Trebuchet MS","Segoe UI",sans-serif;color:#273f34;background:#f6f5ef;font-synthesis:none;--ink:#273f34;--muted:#738076;--green:#3d624c;--line:#e1e4d8;--accent:#eebd68}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:default;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #c58b30;outline-offset:4px}button svg,.slow-note svg,.local-note svg,.garden-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}button svg use[href="#i-flower"]{stroke:none}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.shell{max-width:1320px;margin:auto;padding:0 48px}.site-header{height:104px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.brand{font-weight:800;font-size:28px;letter-spacing:-1.3px;color:var(--ink);text-decoration:none;display:flex;align-items:center}.brand-flower{background:#e5ebdc;border-radius:50%;width:41px;height:41px;display:grid;place-items:center;margin-right:10px}.brand-flower svg{width:26px;height:26px;color:#67835d}.brand-period{color:#b79251}.header-note{font-size:12px;color:#7a847b;letter-spacing:.5px}.site-header nav{display:flex;align-items:center;gap:10px}.icon-button{border:1px solid var(--line);background:transparent;width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;position:relative;flex-shrink:0;transition:background .15s}.icon-button:hover{background:#e6eadf}.help-button{font-family:Georgia,serif;font-size:21px}.sound-slash{position:absolute;width:24px;border-top:1.5px solid;transform:rotate(-45deg);background:#f6f5ef}.garden-button{display:flex;align-items:center;gap:9px;border:1px solid #d5ddca;border-radius:30px;background:#e9eddf;padding:10px 15px;min-height:44px;font-weight:600;font-size:12px}.garden-count{border-left:1px solid #c8d1bf;padding-left:9px;font-size:12px}.layout{display:grid;grid-template-columns:minmax(210px,1fr) minmax(360px,460px) minmax(210px,250px);gap:36px;align-items:start;padding:42px 0 30px}.intro{padding-top:50px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.6px;line-height:1.6;display:block}.intro .eyebrow{color:#78836b;font-size:8px;letter-spacing:1.6px}.tiny-sun{font-size:16px;margin-right:6px;vertical-align:middle;color:#a9924d}h1{font-size:clamp(34px,3.6vw,49px);line-height:1.17;font-weight:600;letter-spacing:-2.1px;margin:24px 0 19px}h1 span{font-family:Georgia,serif;font-style:italic;font-weight:400;color:#6c8356}.intro-copy{font-size:13px;line-height:1.9;color:#738073;margin:0}.how-card{border-top:1px solid var(--line);margin-top:38px;padding-top:25px}.how-card>.eyebrow{font-size:8px;letter-spacing:1.2px}.how-row{display:flex;align-items:center;gap:12px;margin:24px 0}.step-num{background:#eaece2;font-size:11px;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;flex-shrink:0}.how-row strong{display:block;font-size:12px;font-weight:600;margin-bottom:6px}.how-row div>span{font-size:10px;color:var(--muted);display:block;line-height:1.4}.gesture{margin-left:auto;font-size:26px;color:#9ca88b;font-weight:normal}.how-flower{width:22px;height:22px;color:#98a784;margin-left:auto}.slow-note{display:flex;align-items:center;gap:12px;margin-top:32px;color:#8a917f;font-size:11px;line-height:1.7}.slow-note svg{width:27px;height:27px;color:#8c9c77}.game-card{background:#fffef8;border:1px solid #e0e5d8;border-radius:22px;box-shadow:0 8px 25px #334d3410;overflow:hidden;position:relative}.game-header{display:flex;align-items:center;justify-content:space-between;padding:21px 24px 18px}.game-header .eyebrow{color:#8b927f;font-size:8px;letter-spacing:1.7px}h2{margin:4px 0 0;font-size:21px;font-weight:600;letter-spacing:-.5px}.goal{display:grid;grid-template-columns:25px auto;column-gap:8px;align-items:center}.goal>svg{width:24px;height:24px;color:#d79a68;grid-row:1/3}.goal strong{font-size:22px;line-height:1;font-weight:600}.goal strong span{font-size:15px;color:#a5ae9b;font-weight:400}.goal>span{font-size:9px;color:#8b947e;margin-top:4px}.game-surface{height:500px;position:relative;background:#dbe7d7;touch-action:none;user-select:none;overflow:hidden;cursor:grab}.game-surface:active{cursor:grabbing}#game-canvas{width:100%;height:100%;display:block;outline:none}.scene-label{position:absolute;left:19px;top:19px;font-size:8px;letter-spacing:1.2px;color:#5b755f;display:flex;align-items:center;gap:6px;pointer-events:none}.live-dot{width:5px;height:5px;background:#7f9969;border-radius:50%}.scene-pause{position:absolute;right:14px;top:11px;width:36px;height:36px;background:#f8faef80;border:1px solid #bdcfb57a}.scene-pause svg{width:13px;height:13px}.tutorial{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);display:flex;align-items:center;flex-direction:column;white-space:nowrap;pointer-events:none;background:#f8faefec;border:1px solid #fff8;border-radius:13px;padding:12px 22px 8px;box-shadow:0 3px 12px #445f3c0a}.tutorial strong{font-size:12px;font-weight:600}.tutorial>span:not(.tutorial-seed):not(.tutorial-arrow){font-size:10px;color:#75806d;margin-top:5px}.tutorial-seed{position:absolute;top:-12px;background:#f7d987;color:#6d7750;width:23px;height:23px;border-radius:50%;text-align:center;font-size:17px}.tutorial-arrow{font-size:25px;line-height:1.2;color:#809269;animation:guide 1.8s ease-in-out infinite}@keyframes guide{50%{transform:translateY(4px)}}.power-wrap{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);width:100px;height:5px;border-radius:8px;background:#79966b40;overflow:hidden;display:none}#power-bar{height:100%;background:#3d6749;border-radius:8px}.floating-feedback{position:absolute;top:48px;left:0;right:0;text-align:center;font-size:17px;font-weight:600;pointer-events:none;transition:opacity .25s;color:#365c40;text-shadow:0 1px 8px #f3f6df;opacity:0}.floating-feedback.show{opacity:1}.game-footer{display:flex;align-items:center;justify-content:space-between;padding:15px 22px 5px}.shots{display:flex;gap:11px;align-items:center}#shot-dots{display:flex;gap:5px}#shot-dots i{display:inline-block;width:7px;height:10px;border-radius:70% 40% 60% 40%;background:#71855d;transform:rotate(28deg)}#shot-dots i.used{background:#e3e7da}#shots-label{font-size:10px;color:#74806b}.game-footer>.icon-button{width:34px;height:34px;border:none}.game-footer svg{width:16px;height:16px}.control-hint{text-align:center;font-size:8px;letter-spacing:1.5px;color:#7a866e;padding:5px 5px 17px}.control-hint span{margin:0 8px}.precise-controls{border-top:1px solid #e8ebdf;padding:0 20px}.precise-controls summary{padding:12px 0;font-size:10px;color:#718068;text-align:center;cursor:pointer;min-height:40px}.precise-controls[open]{padding-bottom:16px}.slider-row{display:flex;align-items:center;gap:12px;margin:8px 0;font-size:12px}.slider-row label{width:40px}.slider-row input{width:100%;min-width:0;accent-color:#527455;min-height:32px}.slider-row output{width:40px;text-align:right}.precise-controls .primary-button{padding:10px 14px;margin-top:9px;font-size:12px;min-height:42px}.sidebar{padding-top:18px}.garden-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fafaf3}.card-title{display:flex;justify-content:space-between;gap:5px;padding:20px 18px 0}.card-title .eyebrow{font-size:8px;letter-spacing:1px}.saved-badge{display:flex;align-items:center;gap:4px;font-size:8px;color:#909985}.saved-badge span{width:4px;height:4px;border-radius:50%;background:#8aab78}#garden-canvas{display:block;width:100%;height:170px}.garden-card-body{padding:0 20px 20px}.garden-card h3{font-size:18px;font-weight:500;letter-spacing:-.4px;margin:3px 0 8px}.garden-card p{font-size:10px;line-height:1.7;color:#838c78;margin:0}.progress-label{display:flex;justify-content:space-between;font-size:9px;margin-top:23px;gap:5px}.progress-label strong{font-weight:500;color:#7d8b70}.progress-track{background:#e4e8da;height:5px;border-radius:8px;margin:9px 0;overflow:hidden}#progress-fill{height:100%;width:0;background:#8da272;border-radius:8px;transition:width .5s}.garden-card .unlock-note{font-size:9px}.secondary-button{display:flex;justify-content:space-between;align-items:center;width:100%;border:1px solid #d8dfcc;background:transparent;border-radius:8px;padding:11px 12px;font-size:10px;font-weight:600;min-height:44px;gap:12px}.garden-card .secondary-button{margin-top:19px}.secondary-button:hover{background:#e9edde}.secondary-button svg{width:14px;height:14px}.challenge-card{padding:26px 20px 22px;margin-top:18px;border:1px solid #e4e0cc;border-radius:14px;background:#f3f0e1;position:relative}.challenge-card .eyebrow{font-size:8px;color:#9a9168;letter-spacing:1.4px}.challenge-icon{position:absolute;right:19px;top:15px;color:#a99b65;font-size:28px}.challenge-card h3{font-family:Georgia,serif;font-weight:400;font-size:18px;margin:16px 0 9px;color:#6c7051}.challenge-card p{font-size:10px;line-height:1.8;color:#8e907a}.challenge-state{display:block;font-size:7px;letter-spacing:1.1px;color:#969677;margin-top:18px}.challenge-state.complete{color:#436f46;font-weight:700}.local-note{display:flex;align-items:center;justify-content:center;gap:5px;font-size:8px;color:#a0a68f;margin:18px 0}.local-note svg{width:12px;height:12px}.site-footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:22px 0 25px;color:#9aA18e;font-size:9px;align-items:center}.site-footer>span:first-child{font-size:7px;letter-spacing:1.5px}.footer-flower{font-size:20px}.pause-overlay,.results-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;background:#f7f8edee;backdrop-filter:blur(7px);cursor:default;z-index:5}.pause-overlay[hidden],.results-overlay[hidden],[hidden]{display:none!important}.pause-overlay h3,.results-overlay h3{font-family:Georgia,serif;font-weight:400;font-size:29px;letter-spacing:-.6px;margin:19px 0 5px}.pause-overlay p,.results-overlay p{color:#77846d;font-size:12px;line-height:1.7}.pause-badge{background:#e3ead8;border-radius:50%;padding:18px}.pause-badge svg{width:34px;height:34px;fill:none;stroke:#6c895b;stroke-width:1.4}.primary-button{display:flex;align-items:center;justify-content:center;gap:20px;border:1px solid #35553f;background:#3f634b;color:#fffef0;border-radius:10px;padding:14px 23px;min-height:48px;font-size:12px;font-weight:600;transition:background .15s}.primary-button:hover{background:#2b4d36}.pause-overlay .primary-button{margin-top:16px}.result-flower{width:75px;height:75px;background:#edf0de;border-radius:50%;display:grid;place-items:center;margin-bottom:22px}.result-flower svg{width:48px;height:48px;color:#b68b61}.results-overlay>.eyebrow{color:#8d987d;font-size:8px}.result-stats{display:flex;gap:55px;margin:22px 0 8px}.result-stats div,.garden-stats>div{display:flex;flex-direction:column;gap:6px}.result-stats strong{font-family:Georgia,serif;font-size:29px;font-weight:400}.result-stats span{font-size:10px;color:#839075}.results-overlay .result-unlock{min-height:20px;font-size:11px}.text-button{border:0;background:transparent;font-size:11px;padding:13px;min-height:44px;color:#708263}.results-overlay .primary-button{width:100%;max-width:280px}.dialog-close{position:absolute;top:17px;right:17px}.dialog-close svg{width:17px;height:17px}dialog{border:1px solid #d9dfca;border-radius:22px;padding:36px;max-width:470px;width:calc(100% - 32px);color:var(--ink);background:#fbfcf3;box-shadow:0 30px 100px #18382733;max-height:calc(100dvh - 40px)}dialog::backdrop{background:#24382b55;backdrop-filter:blur(4px)}dialog h2{font-family:Georgia,serif;font-size:31px;font-weight:400;line-height:1.15;margin:20px 0}dialog p{font-size:13px;line-height:1.8;color:#6d7d65}dialog>.eyebrow{color:#879575;font-size:8px;max-width:85%}.toggle-row{display:flex;justify-content:space-between;align-items:center;border-block:1px solid var(--line);padding:17px 0;font-size:12px;gap:15px}.toggle-row small{display:block;color:#879277;margin-top:5px;font-size:10px}.toggle-row input{width:21px;height:21px;accent-color:#55774c}.small-copy{font-size:10px!important;color:#89927e!important;line-height:1.7!important}.garden-stats{display:flex;gap:42px;background:#eef1e3;border-radius:12px;padding:18px;margin:20px 0}.garden-stats strong{font-size:26px;font-weight:500}.garden-stats span{font-size:10px;color:#8b947b}.milestone{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #e6eada}.milestone-icon{width:33px;height:33px;border-radius:50%;display:grid;place-items:center;background:#e7eadf;color:#96a088;font-size:15px}.milestone.unlocked .milestone-icon{background:#dfe9ce;color:#527244}.milestone div{flex:1}.milestone strong{font-size:12px;display:block;font-weight:500}.milestone small{display:block;font-size:9px;margin-top:4px;color:#88967b}.milestone>span:last-child{font-size:10px;color:#8a967b}#garden-dialog .primary-button{width:100%;margin-top:20px}.storage-warning{position:fixed;bottom:0;left:0;right:0;z-index:30;margin:0;padding:12px;background:#ffedb6;text-align:center;font-size:12px}.reduce-motion *{animation:none!important;transition:none!important}@media(min-width:1350px){.layout{gap:44px}.game-surface{height:510px}}@media(max-width:1120px){.shell{padding:0 28px}.layout{gap:24px;grid-template-columns:minmax(190px,1fr) minmax(340px,430px) minmax(180px,220px)}.intro .eyebrow{font-size:7px;letter-spacing:1px}.how-row{gap:9px}.how-row div>span{font-size:9px}.how-row .gesture,.how-flower{display:none}.garden-card-body{padding-inline:15px}.card-title{padding-inline:15px}.game-surface{height:470px}.shots{gap:8px}.intro{padding-top:36px}.header-note{font-size:10px}}
@media(max-width:950px){.layout{grid-template-columns:minmax(180px,1fr) minmax(340px,460px);max-width:770px;margin:auto;gap:30px}.sidebar{grid-column:1;grid-row:2;padding-top:0}.intro{grid-column:1;grid-row:1}.game-card{grid-column:2;grid-row:1/3}.intro{padding-top:20px}h1{font-size:38px}.how-card,.slow-note{display:none}.garden-card{margin-top:-10px}.challenge-card{display:none}.game-surface{height:490px}.site-header{height:88px}.layout{padding-top:30px}.header-note{display:none}.site-footer{margin-top:10px}#garden-canvas{height:145px}}
@media(max-width:620px){.shell{padding:0 16px}.site-header{height:75px;border:0;gap:10px}.brand{font-size:24px}.brand-flower{width:32px;height:32px;margin-right:7px}.brand-flower svg{width:22px;height:22px}.site-header nav{gap:7px}.site-header .icon-button{width:36px;height:40px;border:0}.garden-button{padding:8px 11px;min-height:40px;font-size:10px;gap:6px}.garden-button svg{width:16px;height:16px}.garden-count{font-size:10px;padding-left:6px}.layout{display:block;padding:0}.intro{display:none}.sidebar{display:none}.game-card{border-radius:19px}.game-header{padding:15px 18px 13px}.game-header h2{font-size:20px}.game-surface{height:clamp(325px,calc(100svh - 247px),610px)}.game-footer{padding:10px 16px 3px}.control-hint{padding-bottom:12px;font-size:7px;letter-spacing:1.2px}.site-footer{padding:17px 3px;margin:0;border:0;justify-content:center}.site-footer>span:first-child,.footer-flower{display:none}.site-footer>span{font-size:9px}.precise-controls summary{font-size:9px;padding:10px 0;min-height:36px}.scene-label{left:14px;top:15px;font-size:7px;letter-spacing:.8px}.scene-pause{top:7px;right:9px}.tutorial{bottom:13px;padding:10px 20px 6px}.tutorial strong{font-size:11px}.tutorial>span:not(.tutorial-seed):not(.tutorial-arrow){font-size:9px}.tutorial-arrow{font-size:21px}.goal strong{font-size:22px}.goal>svg{width:21px;height:21px}.goal{column-gap:5px}.results-overlay{padding:22px}.result-flower{width:55px;height:55px;margin-bottom:14px}.result-flower svg{width:34px;height:34px}.results-overlay h3{font-size:27px;margin-top:12px}.result-stats{margin-top:11px;margin-bottom:0}.result-unlock{margin:10px 0}dialog{padding:30px 24px}.garden-button>span:not(.garden-count){display:none}.garden-button{min-width:67px;justify-content:center}.help-button{font-size:20px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Keep the playable surface and its controls comfortable on small screens. */
.icon-button{min-width:44px;min-height:44px}
.game-footer{padding-top:8px}
#shots-label{font-size:12px;color:#596b51}
.control-hint{font-size:9px;color:#5d7154;letter-spacing:1px}
.scene-label{color:#415d43;font-size:9px;letter-spacing:.8px}
.precise-controls summary{font-size:11px;min-height:44px}
.tutorial strong{font-size:13px}
.tutorial>span:not(.tutorial-seed):not(.tutorial-arrow){font-size:11px;color:#546849}
@media(min-width:621px){.layout{padding-top:30px}.game-surface{height:clamp(360px,calc(100dvh - 340px),510px)}}
@media(max-width:620px){
 .game-surface{height:clamp(290px,calc(100svh - 285px),480px)}
 .site-header .icon-button{width:44px;height:44px}
 .garden-button{min-height:44px}
 .scene-label{font-size:8px;letter-spacing:.45px}
 .control-hint{font-size:8px;letter-spacing:.7px}
 #shots-label{font-size:11px}
 .tutorial strong{font-size:12px}
 .tutorial>span:not(.tutorial-seed):not(.tutorial-arrow){font-size:10px}
 .tutorial{bottom:10px}
 .precise-controls summary{font-size:10px}
}
@media(max-width:360px){
 .shell{padding:0 10px}.brand{font-size:21px;letter-spacing:-1px}.brand-flower{width:27px;height:27px;margin-right:5px}
 .site-header nav{gap:2px}.site-header{gap:3px}.garden-button{min-width:57px;padding:8px}.game-header{padding-inline:14px}
 #shot-dots{gap:4px}#shot-dots i{width:6px}.shots{gap:8px}
}

/* Version two: keep the shot, its explanation, and the next island goal together. */
.shell{padding-bottom:max(12px,env(safe-area-inset-bottom));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
.site-header{padding-top:env(safe-area-inset-top)}
.round-objective{display:flex;justify-content:space-between;gap:10px;padding:0 22px 12px;font-size:11px;color:#53664d}
#personal-best{font-weight:600;text-align:right}
.shot-coach{padding:13px 20px 10px;min-height:72px;background:#f0f3e7;border-top:1px solid #d5dfc9;display:flex;flex-direction:column;gap:5px}
.shot-coach strong{font-size:13px;font-weight:700;color:#304c36;line-height:1.3}
.shot-coach>span{font-size:12px;line-height:1.45;color:#526447}
.game-footer{padding-top:3px;padding-bottom:0}
.control-hint{padding:2px 8px 11px;line-height:1.4}
.journey-strip{display:flex;align-items:center;gap:11px;width:100%;padding:14px 18px;border:0;border-top:1px solid #dce4d1;background:#eaf0df;text-align:left;min-height:66px}
.journey-strip:hover{background:#e1ead2}
.journey-strip>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:4px}
.journey-strip strong{font-size:12px;font-weight:600}
#journey-copy{font-size:11px;color:#506446;line-height:1.35}
.journey-strip>svg{color:#5f7950;width:24px;height:24px}
.journey-progress{width:38px;height:5px;background:#cfdbbf;border-radius:4px;overflow:hidden;flex-shrink:0}
.journey-progress i{display:block;height:100%;background:#55763f}
.tutorial{bottom:auto;top:68px;padding:14px 16px 8px;max-width:calc(100% - 26px);white-space:normal;text-align:center;width:max-content}
.tutorial>span:not(.tutorial-seed):not(.tutorial-arrow){line-height:1.5}
.scene-label{max-width:calc(100% - 75px);line-height:1.5}
.floating-feedback{font-size:14px;padding:0 15px;top:49px}
.power-wrap{height:7px;border:1px solid #f5f9e7;bottom:12px}
.slider-row input{min-height:44px;touch-action:pan-y}
.precise-controls summary{font-size:12px;color:#526447}
.precise-controls .primary-button{min-height:48px}
.results-overlay{overflow-y:auto;justify-content:flex-start;padding:20px 22px;touch-action:pan-y}
.game-surface:has(.results-overlay:not([hidden])){touch-action:pan-y;height:auto;min-height:390px}
.game-surface:has(.results-overlay:not([hidden])) #game-canvas{position:absolute;inset:0}
.results-overlay:not([hidden]){position:relative;min-height:390px;overflow:visible}
.results-overlay>*{flex-shrink:0}
.result-flower{width:45px;height:45px;min-height:45px;margin-bottom:12px}
.result-flower svg{width:30px;height:30px}
.results-overlay h3{font-size:26px;margin:10px 0 4px;flex-shrink:0}
.results-overlay>p{margin:6px 0;font-size:12px;color:#526447}
.result-stats{gap:30px;margin:12px 0 4px}
.result-stats strong{font-size:25px}
.result-stats span{color:#586b4b;white-space:nowrap}
.results-overlay .result-best{font-weight:600;font-size:12px;max-width:300px}
.results-overlay .result-unlock{min-height:0;font-size:11px;margin-bottom:12px}
.results-overlay>button{flex-shrink:0}
.results-overlay .text-button{padding:8px 10px;min-height:44px;font-size:12px;color:#45603d}
#result-garden{font-size:11px;text-decoration:underline;text-underline-offset:3px}
@media(min-width:621px){.shell{padding-inline:28px}.game-surface{height:clamp(390px,calc(100dvh - 370px),510px)}}
@media(min-width:1121px){.shell{padding-inline:48px}}
@media(max-width:620px){
 .game-header{padding-top:12px;padding-bottom:10px}
 .game-surface{height:clamp(265px,calc(100svh - 450px),480px)}
 .round-objective{font-size:10px;padding:0 16px 11px;gap:8px}
 .shot-coach{padding:11px 16px;min-height:75px}
 .shot-coach strong{font-size:12px}
 .shot-coach>span{font-size:11px}
 .scene-label{font-size:9px;top:16px}
 .journey-strip{padding:12px 15px;min-height:64px}
 .journey-progress{width:28px}
 .site-footer{font-size:10px;padding-block:13px}
 .results-overlay{padding:16px}
 .tutorial{top:67px}
 .tutorial strong{font-size:12px}
 .tutorial>span:not(.tutorial-seed):not(.tutorial-arrow){font-size:11px}
 .game-card:has(.precise-controls[open]) .game-surface{height:clamp(265px,calc(100svh - 600px),365px)}
}
@media(max-width:360px){.shell{padding-inline:max(10px,env(safe-area-inset-left))}.journey-strip{gap:8px}.journey-progress{display:none}.result-stats{gap:24px}}

.theme-button{font-size:24px;line-height:1}
.toggle-row select{font:inherit;font-size:12px;min-height:44px;max-width:145px;padding:8px;border:1px solid var(--line);border-radius:8px;background:#f2f5e9;color:var(--ink)}
select:focus-visible{outline:3px solid #c58b30;outline-offset:3px}
@media(max-width:620px){.site-header #sound{display:none}}
:root[data-theme="dark"]{color-scheme:dark;background:#14251f;color:#ecf0dc;--ink:#ecf0dc;--muted:#b4c2a9;--green:#bbd49a;--line:#3b5143}
[data-theme="dark"] .brand-flower{background:#304a37;color:#c5db9e}
[data-theme="dark"] .brand-flower svg{color:#c5db9e}
[data-theme="dark"] .brand-period{color:#dfbd76}
[data-theme="dark"] h1 span{color:#b8d492}
[data-theme="dark"] .game-card{background:#20362b;border-color:#3b5143;box-shadow:0 8px 25px #0002}
[data-theme="dark"] .game-surface{background:#182d2b}
[data-theme="dark"] .garden-card{background:#20362f;border-color:#3b5143}
[data-theme="dark"] .icon-button:hover{background:#344e3b}
[data-theme="dark"] .sound-slash{background:#14251f}
[data-theme="dark"] .garden-button{background:#304630;border-color:#4e6744;color:#e4edd2}
[data-theme="dark"] .garden-count{border-color:#627652}
[data-theme="dark"] .scene-pause{background:#243d30dc;border-color:#697e5680;color:#e4edd2}
[data-theme="dark"] .scene-label{color:#e6e9bd;text-shadow:0 1px 3px #14251f}
[data-theme="dark"] .live-dot{background:#dcdf9d}
[data-theme="dark"] .shot-coach{background:#2b4232;border-color:#485f40}
[data-theme="dark"] .shot-coach strong{color:#eef1d7}
[data-theme="dark"] .shot-coach>span{color:#c2d0b2}
[data-theme="dark"] .journey-strip{background:#31472e;border-color:#4b6040;color:#eef1d7}
[data-theme="dark"] .journey-strip:hover{background:#3a5435}
[data-theme="dark"] #journey-copy{color:#c5d1b2}
[data-theme="dark"] .journey-strip>svg{color:#cedfa7}
[data-theme="dark"] .journey-progress,[data-theme="dark"] .progress-track{background:#506348}
[data-theme="dark"] .journey-progress i,[data-theme="dark"] #progress-fill{background:#ccda97}
[data-theme="dark"] .tutorial{background:#263f31f5;border-color:#617953;box-shadow:0 3px 12px #0002}
[data-theme="dark"] .tutorial strong{color:#f1efd4}
[data-theme="dark"] .tutorial>span:not(.tutorial-seed){color:#cdd9b5}
[data-theme="dark"] .floating-feedback{color:#f6e9b1;text-shadow:0 1px 7px #14251f,0 1px 3px #14251f}
[data-theme="dark"] #shot-dots i{background:#c1d191}
[data-theme="dark"] #shot-dots i.used{background:#475c40}
[data-theme="dark"] #power-bar{background:#e4dfa4}
[data-theme="dark"] .power-wrap{background:#304333;border-color:#667856}
[data-theme="dark"] .precise-controls{border-color:#3b5143}
[data-theme="dark"] .slider-row input{accent-color:#c7d99d}
[data-theme="dark"] .primary-button{background:#c4d99e;color:#20331f;border-color:#d0e1b1}
[data-theme="dark"] .primary-button:hover{background:#d7e6b9}
[data-theme="dark"] .secondary-button{border-color:#627653;color:#e4edcf}
[data-theme="dark"] .secondary-button:hover{background:#3a5336}
[data-theme="dark"] :is(.pause-overlay,.results-overlay){background:#20362bf5;color:#f0f2dd}
[data-theme="dark"] :is(.result-flower,.pause-badge){background:#3e5338}
[data-theme="dark"] .result-flower svg{color:#e1b481}
[data-theme="dark"] .pause-badge svg{stroke:#d0dfa5}
[data-theme="dark"] dialog{background:#20362b;color:#ecf0dc;border-color:#5b7050}
[data-theme="dark"] dialog::backdrop{background:#091811bb}
[data-theme="dark"] .toggle-row select{background:#314832;color:#e7eed4;border-color:#667b54}
[data-theme="dark"] .toggle-row input{accent-color:#c7d99d}
[data-theme="dark"] .garden-stats{background:#31482f}
[data-theme="dark"] .milestone{border-color:#405738}
[data-theme="dark"] .milestone-icon{background:#3c5236;color:#c5d7a7}
[data-theme="dark"] .milestone.unlocked .milestone-icon{background:#bacc8c;color:#22371f}
[data-theme="dark"] .challenge-card{background:#3b4029;border-color:#656447}
[data-theme="dark"] .challenge-card h3{color:#e4deae}
[data-theme="dark"] .challenge-state.complete{color:#d6e5b2}
[data-theme="dark"] .step-num{background:#344d35;color:#e3edce}
[data-theme="dark"] :is(.eyebrow,.intro .eyebrow,.game-header .eyebrow,.intro-copy,.how-row div>span,.slow-note,.header-note,.goal>span,.goal strong span,.round-objective,#shots-label,.control-hint,.precise-controls summary,.garden-card p,.progress-label strong,.saved-badge,.local-note,.site-footer,.challenge-card p,.challenge-card .eyebrow,.challenge-state,.pause-overlay p,.results-overlay>p,.result-stats span,.results-overlay .text-button,.text-button,dialog p,.toggle-row small,.garden-stats span,.milestone small,.milestone>span:last-child){color:#bdcaaa}
[data-theme="dark"] .small-copy{color:#bdcaaa!important}
[data-theme="dark"] .storage-warning{background:#e4d098;color:#263b26}

/* Put the playable garden first, including in a narrow desktop side panel. */
/* A restored round is a deliberate choice, with its progress explained. */
.pause-overlay #saved-restart{min-height:44px;margin-top:8px}
.pause-overlay #resume-note{font-size:11px;line-height:1.5;max-width:260px;margin:4px 0 0}
.pause-overlay:has(#saved-restart:not([hidden])) .pause-badge{width:48px;height:48px;margin-bottom:12px}
.pause-overlay:has(#saved-restart:not([hidden])) h3{font-size:26px;margin-bottom:12px}
.pause-overlay:has(#saved-restart:not([hidden])) #pause-copy{margin:0 0 20px;line-height:1.6}
.shell{max-width:1120px;padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right));padding-bottom:max(12px,env(safe-area-inset-bottom))}
.site-header{height:68px}
.header-note,.intro{display:none}
.layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;max-width:none;gap:24px;padding:16px 0;margin:0}
.game-card{grid-column:1;grid-row:1;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}
.game-header,.round-objective,.game-surface,.shot-coach,.control-hint,.journey-strip{grid-column:1/-1}
.game-header{padding:12px 18px 8px}
.game-header h2{font-size:21px}
.round-objective{padding:0 18px 10px;font-size:11px}
.game-surface,.game-card:has(.precise-controls[open]) .game-surface{width:100%;height:auto;aspect-ratio:9.35/12.3;min-height:340px;max-height:calc(100svh - 186px)}
.game-card:has(.precise-controls[open]) .game-surface{max-height:calc(100svh - 276px)}
.shot-coach{min-height:0;padding:10px 16px;gap:3px}
.shot-coach strong{font-size:12px}
.shot-coach>span{font-size:11px;line-height:1.4}
.game-footer{grid-column:1;grid-row:5;padding:2px 8px 2px 16px;gap:8px;min-height:48px}
.control-hint{display:none}
.precise-controls{grid-column:2;grid-row:5;padding:0 16px 0 8px;border-top:0;min-width:0}
.precise-controls summary{display:flex;align-items:center;justify-content:center;min-height:48px;padding:8px 0;font-size:11px;gap:6px;list-style:none}
.precise-controls summary::before{content:'＋';font-size:16px}
.precise-controls[open]{grid-column:1/-1;grid-row:6;border-top:1px solid var(--line);padding:0 16px 12px}
.precise-controls[open] summary::before{content:'−'}
.precise-controls[open] summary{justify-content:flex-start}
.journey-strip{padding:9px 16px;min-height:48px;gap:10px}
.journey-strip>span:nth-child(2){flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:3px 10px}
.journey-strip strong,#journey-copy{font-size:11px}
.journey-strip>svg{width:19px;height:19px;flex-shrink:0}
.sidebar{grid-column:2;grid-row:1;padding:0}
.garden-card{margin:0}
.challenge-card{display:block}
.site-footer{padding:10px 0;margin:0;font-size:9px}
.round-objective{flex-wrap:wrap}
.route-panel{flex-basis:100%;margin-top:2px;padding-top:8px;border-top:1px solid var(--line)}
.route-panel[hidden]{display:none}
.route-panel summary{display:grid;grid-template-columns:1fr auto;gap:5px 12px;min-height:44px;list-style:none;align-items:center;padding:0;cursor:pointer}
.route-panel summary strong{font-size:12px;color:var(--ink);font-weight:600}
.route-panel summary strong::after{content:' ⓘ';font-size:11px;font-weight:400}
.route-panel summary span{font-size:11px;line-height:1.5}
#route-medals{color:#8d6428;letter-spacing:2px}
#route-dew{color:#8d6428;font-weight:600}
#route-par{color:#61734f}
.route-panel p{font-size:12px;line-height:1.6;margin:10px 0 0;color:#566a4b}
.result-medals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;max-width:370px;margin:10px 0}
.result-medals[hidden]{display:none}
.result-medals>span{display:flex;flex-direction:column;gap:6px;font-size:11px;line-height:1.4;color:#627454}
.result-medals b{font-size:28px;font-weight:400;color:#8a957d}
.result-medals .earned b{color:#b47a27}
.result-medals small{font-size:10px;color:#687959}
[data-theme="dark"] #route-dew,[data-theme="dark"] #route-medals,[data-theme="dark"] .result-medals .earned b{color:#eed192}
[data-theme="dark"] #route-par,[data-theme="dark"] .route-panel p,[data-theme="dark"] .result-medals>span,[data-theme="dark"] .result-medals small{color:#c5d2b3}
.chapter-button{display:flex;align-items:center;gap:10px;padding:0;min-height:36px;border:0;background:none;text-align:left;color:var(--ink)}
.chapter-button .eyebrow{font-size:9px;letter-spacing:1px}
.chapter-button:hover .eyebrow{text-decoration:underline;text-underline-offset:4px}
.game-header h2{font-size:24px}
.game-card{box-shadow:0 12px 45px #354d1e12}
.collection-strip{grid-column:1/-1;display:flex;align-items:center;gap:12px;padding:12px 16px;min-height:64px;width:100%;border:0;border-top:1px solid #e6d9b6;background:#f7efda;text-align:left;color:#665334}
.collection-strip>span:first-child{font-size:25px;color:#a57337}
.collection-strip>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:4px}
.collection-strip strong{font-size:12px;font-weight:600;line-height:1.4}
.collection-strip span span{font-size:11px;line-height:1.4}
#collection-count{font-size:12px;white-space:nowrap}
.collection-strip:hover{background:#f1e4c6}
#explore-dialog{max-width:660px}
#explore-dialog h2,#garden-dialog h2{font-size:30px;margin:16px 0}
.mirror-toggle{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-height:44px;font-size:12px;margin:12px 0 20px}
.mirror-toggle input{width:20px;height:20px;accent-color:#55774c}
.mirror-toggle span{font-size:11px;color:#647557}
.garden-list h3,.keepsake-section h3{font-family:Georgia,serif;font-size:20px;font-weight:400;margin:20px 0 12px}
.garden-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.garden-choice{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:102px;padding:12px;border:1px solid #d5dec5;border-radius:12px;background:#eff3e5;color:#344a32;text-align:left;line-height:1.35}
.garden-choice .garden-number{font-size:11px;color:#687e50;letter-spacing:1px}
.garden-choice strong{font-size:12px;font-weight:600}
.garden-choice>span:last-child{font-size:10px;color:#5f7154}
.garden-choice[aria-pressed="true"]{background:#dce9c6;border-color:#57753f;box-shadow:inset 0 0 0 1px #57753f}
.garden-selection{padding:16px 0 4px}
.garden-selection strong{font-size:14px}
.garden-selection p{margin:7px 0;line-height:1.5}
#explore-dialog>.primary-button{width:100%;margin-top:12px}
#garden-dialog{max-width:540px}
#garden-dialog #garden-canvas{border-radius:16px;margin-bottom:8px;touch-action:pan-y}
#garden-summary{margin:8px 0;font-size:12px}
.keepsake-section{border-top:1px solid var(--line);margin-top:16px}
.keepsake-section h3{display:flex;justify-content:space-between;align-items:center}
#keepsake-count{font-family:Arial,sans-serif;font-size:12px;color:#6e7b5d}
.keepsake-list{display:flex;flex-direction:column;gap:7px}
.keepsake{display:flex;align-items:center;gap:14px;width:100%;min-height:65px;padding:10px 14px;background:#f0f3e6;border:1px solid #d5dec5;border-radius:12px;color:#344a32;text-align:left}
.keepsake>span:last-child{display:flex;flex-direction:column;gap:5px}
.keepsake strong{font-size:13px;font-weight:600}
.keepsake>span>span{font-size:11px;line-height:1.4;color:#647351}
.keepsake-art{font-size:28px;min-width:30px;text-align:center;color:#a67a34}
.keepsake:disabled{opacity:1;background:#f5f5ef;border-style:dashed;color:#69725f}
.keepsake:disabled .keepsake-art{color:#989c82}
.keepsake[aria-pressed="true"]{border-color:#678543;box-shadow:inset 0 0 0 1px #678543;background:#e6edcf}
#placement-status{font-size:12px;line-height:1.6;min-height:38px;margin:14px 0 8px}
.placement-controls{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}
.placement-controls label{grid-column:1/-1;font-size:11px;color:#627252}
.placement-controls select{min-width:0;width:100%;min-height:44px;padding:8px 10px;border:1px solid #bac8a6;border-radius:8px;background:#f7f9f0;color:#344a32;font:inherit;font-size:12px}
.placement-controls .secondary-button{min-height:44px;font-size:11px;padding:8px 12px;width:auto}
.placement-controls .text-button{grid-column:1/-1;justify-self:start;min-height:44px;padding:4px 0;font-size:11px}
.placement-controls button:disabled{opacity:.5;cursor:default}
.island-milestones summary{min-height:44px;padding:12px 0;font-size:12px}
[data-theme="dark"] .collection-strip{background:#3b3f2a;border-color:#5f6240;color:#e4dbb6}
[data-theme="dark"] .collection-strip:hover{background:#464b31}
[data-theme="dark"] .collection-strip>span:first-child{color:#e4bc71}
[data-theme="dark"] .garden-choice,[data-theme="dark"] .keepsake{background:#2c4332;border-color:#536b47;color:#edf0d7}
[data-theme="dark"] .garden-choice[aria-pressed="true"],[data-theme="dark"] .keepsake[aria-pressed="true"]{background:#405639;border-color:#b6ca8f;box-shadow:inset 0 0 0 1px #b6ca8f}
[data-theme="dark"] .keepsake:disabled{background:#273b30;color:#c0c9af;border-color:#52604d}
[data-theme="dark"] :is(.garden-choice>span,.garden-choice .garden-number,.keepsake>span>span,.mirror-toggle span,.placement-controls label,#keepsake-count){color:#c2cdaa}
[data-theme="dark"] .keepsake-art{color:#e7bf76}
[data-theme="dark"] .keepsake:disabled .keepsake-art{color:#adb99a}
[data-theme="dark"] .placement-controls select{background:#304632;border-color:#657d53;color:#e8efd8}
@media(max-width:620px){.chapter-button{min-height:44px}.chapter-button .eyebrow{font-size:8px;letter-spacing:.65px}.collection-strip{padding:10px 12px}.collection-strip strong{font-size:11px}.collection-strip span span{font-size:10px}}
@media(max-width:420px){.garden-choices{grid-template-columns:repeat(2,minmax(0,1fr))}#explore-dialog,#garden-dialog{padding:26px 18px}.placement-controls{grid-template-columns:minmax(0,1fr)}.placement-controls .secondary-button{width:100%}.mirror-toggle span{flex-basis:100%;padding-left:30px}}
.game-card .game-surface:has(.results-overlay:not([hidden])){aspect-ratio:auto;max-height:none;min-height:390px}
@media(max-width:950px){
 .shell{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}
 .layout{display:block;max-width:760px;margin:auto;padding:8px 0}
 .sidebar{display:none}
 .site-header{height:60px;border-bottom:0}
 .game-surface,.game-card:has(.precise-controls[open]) .game-surface{max-height:calc(100svh - 160px)}
 .game-card:has(.precise-controls[open]) .game-surface{max-height:calc(100svh - 250px)}
 .site-footer{justify-content:center;border:0}
 .site-footer>span:first-child,.footer-flower{display:none}
}
@media(max-width:620px){
 .shell{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}
 .layout{padding:2px 0 8px}
 .site-header{height:56px}
 .game-card{border-radius:16px}
 .game-header{padding:10px 14px 6px}
 .game-header h2{font-size:20px}
 .round-objective{padding:0 14px 8px;font-size:10px}
 .game-footer{padding-left:12px}
 .precise-controls{padding-right:12px;padding-left:4px}
 .precise-controls summary{font-size:10px}
 .shot-coach{padding:9px 12px}
 .journey-strip{padding:8px 12px}
 .scene-label{left:12px;top:12px}
 .scene-pause{top:5px;right:8px}
}
@media(max-width:360px){
 .shots{gap:6px}#shot-dots{gap:3px}#shot-dots i{width:5px}
 #shots-label{font-size:10px}
 .precise-controls summary{font-size:10px}
 .journey-strip>span:nth-child(2){flex-direction:column;gap:2px}
 .game-footer{padding-right:4px}
}
