:root{font-family:ui-rounded,'Avenir Next',system-ui,sans-serif;color:#173e46;background:#edf5ee;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border:1px solid #c4d9d0;background:#fffdf4;color:#173e46;border-radius:12px;min-height:42px;padding:9px 13px;font-weight:700}button:hover{background:#e2f1db}button:focus-visible,a:focus-visible,#scene:focus-visible{outline:3px solid #e59036;outline-offset:3px}button[aria-pressed=true]{border-color:#23756c;background:#d2eee0}header{height:70px;display:flex;align-items:center;gap:12px;padding:0 30px;border-bottom:1px solid #d2e2d8;background:#fafcf6}.home{text-decoration:none;color:#204d50;font-weight:800;margin-right:20px}header .eyebrow{flex:1}.eyebrow,.tag{font-size:10px;letter-spacing:1.8px;font-weight:850}main{display:grid;grid-template-columns:minmax(0,1fr) 350px;max-width:1800px;margin:auto}.world{height:calc(100vh - 70px);min-height:680px;position:relative;overflow:hidden;background:#b9e3df}.title{position:absolute;top:28px;left:32px;z-index:2;pointer-events:none}.tag{background:#f7f9dfcc;border-radius:25px;padding:8px 12px;color:#4d7466}h1{font-size:clamp(38px,4.5vw,68px);letter-spacing:-3px;margin:22px 0 0;line-height:.95}h1 span{display:block;font-size:17px;letter-spacing:0;font-weight:500;margin-top:14px}#scene{width:100%;height:100%;touch-action:none}canvas{display:block;width:100%;height:100%}#message{position:absolute;bottom:74px;left:5%;right:5%;background:#fffef0ef;border-radius:17px;padding:15px 20px;text-align:center;box-shadow:0 5px 24px #24555216;font-weight:650;font-size:14px;pointer-events:none}.view-tools{position:absolute;bottom:20px;left:5%;right:5%;display:flex;align-items:center;justify-content:space-between;gap:8px}.view-tools span{background:#f8fff2d9;border-radius:10px;padding:10px;font-size:12px;font-weight:700}aside{padding:26px 22px 20px;background:#fafcf6;overflow:auto;max-height:calc(100vh - 70px)}.mission-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.mission-heading h2{font-size:23px;line-height:1.2;letter-spacing:-.7px;margin:10px 0 20px}.mission-heading #count{background:#e8efda;border-radius:50%;height:52px;width:52px;display:grid;place-content:center;flex-shrink:0;font-weight:800}ol{padding:0;margin:0;list-style:none}li{display:flex;gap:11px;padding:15px 0;border-top:1px solid #dbe5d8}.mission-num{height:28px;min-width:28px;display:grid;place-items:center;background:#e9eee0;border-radius:9px;font-size:11px;font-weight:850}li h3{font-size:14px;margin:1px 0 5px}li p{font-size:12px;line-height:1.55;color:#5d7371;margin:0 0 5px}li small{font-size:10px;font-weight:800;letter-spacing:.3px;color:#477c69}.done .mission-num{background:#217768;color:#fff}.done h3{color:#237768}.toolbox{background:#edf3e6;border:1px solid #d8e5ce;border-radius:16px;padding:13px;margin-top:13px}.toolbox .eyebrow{font-size:8px;letter-spacing:1px}.materials{display:flex;gap:6px;margin:11px 0}.materials button{padding:8px 3px;flex:1;font-size:11px;min-width:0}.materials small{font-size:8px;display:block;font-weight:500;white-space:nowrap}.materials i{display:block;width:24px;height:24px;border-radius:6px;margin:0 auto 7px;transform:rotate(-10deg);box-shadow:inset -5px -5px #0002}.moss{background:#80c991}.glass{background:#81d9ed}.glow{background:#f6c55a}.actions{display:flex;gap:7px}.actions button{font-size:12px;padding:9px;flex:1}.actions .primary{background:#256d60;color:white;border-color:#256d60}.dpad{text-align:center;margin-top:10px}.dpad button{min-height:35px;min-width:43px;padding:5px}.dpad>button{margin-bottom:3px}.hint{font-size:9px;line-height:1.65;color:#647974;margin-bottom:0}.restart{width:100%;margin-top:14px;background:transparent;font-size:12px}.footer-note{text-align:center;font-size:10px;color:#718377}#complete{padding:13px;border-radius:12px;background:#d9edd1;margin-top:13px}#complete h3{font-size:15px;margin:0 0 7px}#complete p{font-size:12px;line-height:1.5;margin:0}#pausePanel{position:absolute;inset:0;background:#173e4688;z-index:5;backdrop-filter:blur(6px);align-content:center;text-align:center;color:white}#pausePanel:not([hidden]){display:block}#pausePanel h2{font-size:35px}#pausePanel button{padding:15px 25px}button:disabled{opacity:.5;cursor:default}@media(max-width:900px){main{grid-template-columns:1fr 310px}.title{left:22px}aside{padding:22px 16px}header .eyebrow{display:none}.home{margin-right:auto}header{padding:0 18px}}@media(max-width:680px){header{height:62px;padding:0 12px;gap:7px}header button{font-size:11px;padding:8px}main{display:block}.world{height:64vh;min-height:460px;max-height:620px}aside{max-height:none;padding:23px}.title{top:20px}h1{font-size:43px;margin-top:19px}h1 span{font-size:13px}#message{font-size:12px;bottom:66px;padding:12px;left:4%;right:4%}.view-tools{bottom:14px}.view-tools button{font-size:11px}.mission-heading h2 br{display:none}ol{display:grid;grid-template-columns:1fr;gap:0}.hint{font-size:11px}.materials button{font-size:13px}.materials small{font-size:10px}.toolbox .eyebrow{font-size:10px}.dpad button{min-height:43px;min-width:53px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
#readyPanel{position:absolute;inset:0;z-index:6;display:grid;place-items:center;background:#a0d6cfb8;backdrop-filter:blur(7px);padding:24px}#readyPanel[hidden]{display:none}#readyPanel>div{width:min(440px,100%);padding:34px;border:1px solid #faffeb;border-radius:24px;background:#fafcf0f5;box-shadow:0 20px 65px #15434426;text-align:center}#readyPanel h2{font-size:35px;line-height:1.08;letter-spacing:-1.5px;margin:17px 0}#readyPanel p{font-size:14px;line-height:1.6;color:#59726b}#readyPanel .ready-controls{font-size:12px;border-top:1px solid #d4e0d0;padding-top:15px}#startGame{background:#286e60;color:white;padding:14px 25px;margin-top:6px}

.mobile-controls{display:none}@media(max-width:680px){.world{height:72vh;min-height:560px;max-height:660px}.mobile-controls{position:absolute;display:flex;gap:4px;bottom:12px;left:4%;right:4%}.mobile-controls button{font-size:12px;min-width:32px;padding:8px;flex:1}.mobile-controls .mobile-build{background:#256d60;color:white;min-width:66px}.mobile-controls .mobile-remove{min-width:66px}.view-tools{bottom:65px}#message{bottom:116px}}
