*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;touch-action:none;background:#203c2e;color:#50351f;font-family:system-ui,sans-serif}button{cursor:pointer;font:700 16px Georgia;color:#50351f;background:linear-gradient(#fff4d8,#edcd91);border:3px solid #88532c;border-radius:16px;padding:12px 20px;box-shadow:0 4px 0 #4d321f;min-height:46px}button:hover{filter:brightness(1.08);transform:translateY(-1px)}button:disabled{filter:grayscale(.8);opacity:.6;cursor:default}button:focus-visible{outline:4px solid #40bbaa;outline-offset:3px}button.primary{background:linear-gradient(#bee27a,#79af51)}button.secondary{background:linear-gradient(#ffcfaa,#ed9c72)}[hidden]{display:none!important}canvas{width:100%;height:100%;display:block}header{position:fixed;top:max(12px,env(safe-area-inset-top));left:16px;right:16px;display:flex;gap:12px;align-items:center;pointer-events:none}header>*{pointer-events:auto}header>div{background:#fff0d5ed;border:3px solid #8c5b32;border-radius:18px;padding:8px 18px;display:grid;min-width:140px}header>div:nth-child(3){margin-left:auto}header span{font-size:13px}#hint{position:fixed;top:104px;left:50%;transform:translateX(-50%);padding:10px 24px;background:#fff4d9ed;border-radius:24px;text-align:center;max-width:90%;font-weight:700}#toast{position:fixed;left:50%;top:30%;transform:translateX(-50%);background:#294d3aed;color:#fff6dd;border-radius:16px;padding:14px 22px;pointer-events:none;opacity:0;transition:opacity .2s;z-index:8;text-align:center}#toast.show{opacity:1}footer{position:fixed;bottom:max(10px,env(safe-area-inset-bottom));left:15px;right:15px;display:grid;gap:6px;justify-items:center;pointer-events:none}footer button{pointer-events:auto}#inventory{background:#fff1d8e8;border:2px solid #936138;border-radius:16px;padding:6px 18px;font-size:14px}#actionButtons{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}footer small{font-size:12px;background:#fff1d8d9;padding:4px 12px;border-radius:10px}#overlay{position:fixed;inset:0;background:#15352c9c;backdrop-filter:blur(5px);display:grid;place-items:center;padding:20px;overflow:auto}.panel{background:linear-gradient(#fff5df,#f1ddb1);border:5px solid #895b35;border-radius:30px;padding:24px;width:min(960px,100%);max-height:94dvh;overflow:auto;box-shadow:0 16px 60px #10251c80;text-align:center}.panel h1{font:700 34px Georgia;margin:0 0 8px}.panel p{line-height:1.5}.logo{height:130px;width:auto;object-fit:contain}.chapters{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:18px 0}.chapter{padding:14px;background:#e4d0a1;border-radius:20px}.chapter h2{font:700 19px Georgia}.levelgrid{display:grid;gap:9px}.levelgrid button{display:flex;align-items:center;justify-content:space-between;text-align:left;font-size:14px;padding:9px 12px}.stars{color:#bb7c16;white-space:nowrap}.buttons{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:18px}.shop{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.card{border-radius:18px;padding:20px;background:#e7d4aa}.card h2{font:22px Georgia}.bigstars{font-size:48px;color:#ce901c;letter-spacing:10px}.sub{font-size:13px;opacity:.8}@media(max-width:650px){header{gap:5px;left:7px;right:7px}header>div{min-width:0;padding:7px 10px}header button{padding:8px 12px}header strong{font-size:13px}header span{font-size:11px}#hint{top:87px;font-size:13px;padding:8px 14px;width:90%}footer small{display:none}footer button{font-size:13px;padding:8px 12px}.chapters,.shop{grid-template-columns:1fr}.panel{padding:16px;max-height:95dvh}.logo{height:95px}.panel h1{font-size:27px}.chapter{padding:10px}.levelgrid{grid-template-columns:repeat(5,1fr);gap:5px}.levelgrid button{display:grid;padding:8px 2px;justify-content:center;text-align:center}.levelgrid .lname{display:none}.stars{font-size:11px}#inventory{font-size:12px}.buttons button{font-size:14px}}

@media(max-width:650px){#actionButtons{flex-wrap:nowrap;justify-content:flex-start;max-width:100%;overflow-x:auto;touch-action:pan-x;padding:3px 3px 8px}#actionButtons button{flex:none;min-width:100px}footer{gap:3px}header>div:nth-child(3){max-width:125px}footer small{display:block;font-size:10px} }

/* Adventure map: the illustration is the screen, rather than a modal behind it. */
#overlay.world-map{padding:0;background:linear-gradient(#183f2bd9,#214a3233 35%,#193c2bd9),url('art/runtime/clearing-mobile.webp') center/cover;backdrop-filter:none;overflow:hidden;display:block}
.map-shell{height:100dvh;max-width:1500px;margin:auto;display:flex;flex-direction:column;padding:18px 35px 16px;gap:10px}
.map-top{height:150px;flex-shrink:0;position:relative;display:flex;justify-content:center;align-items:center}
.map-logo{height:165px;max-width:45vw;object-fit:contain;filter:drop-shadow(0 8px 5px #102b2580)}
.map-wallet{position:absolute;right:0;top:12px;display:flex;gap:10px;color:#ffefb7;font-weight:800;font-size:21px}
.map-wallet span{border:2px solid #c7a76a;background:#264a36ed;border-radius:22px;padding:9px 16px;box-shadow:0 3px 0 #132d23}.map-wallet small{font-size:13px;opacity:.7}
.map-heading{text-align:center;color:#ffedc9;text-shadow:0 2px 3px #18362a;flex-shrink:0}.map-heading>span{font-size:13px;letter-spacing:4px;font-weight:800}.map-heading p{font:18px Georgia;margin:7px 0 10px}
.map-chapters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;flex:1;min-height:0;padding:8px 0}
.map-region{position:relative;min-height:230px;border-radius:38px 38px 28px 28px;background-position:center;background-size:cover;border:4px solid #d0ae6f;box-shadow:0 7px 0 #203a24,0 12px 28px #0f261b80;overflow:hidden}
.map-region:after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 30px #284a2880;pointer-events:none;border-radius:inherit}
.region-heading{position:absolute;top:18px;left:16px;right:16px;display:flex;align-items:center;gap:10px;z-index:2;color:#fff3ce;text-shadow:0 2px 3px #13331e;background:#214730e6;border:1px solid #a1b66d99;border-radius:18px;padding:10px 12px}.region-heading h2{font:700 22px Georgia;margin:0}.region-heading p{font-size:12px;margin:5px 0 0;color:#dbe8b6}.region-number{font:700 28px Georgia;color:#e6cb87;opacity:.8}
.region-prop{position:absolute;width:58%;height:42%;object-fit:contain;left:21%;top:24%;filter:drop-shadow(0 6px 2px #57422c40);pointer-events:none}
.map-trail{position:absolute;left:0;top:68%;width:100%;height:22%;overflow:visible}.map-trail path{fill:none;stroke:#ead19a;stroke-width:30;stroke-linecap:round;stroke-dasharray:3 13;filter:drop-shadow(0 2px 1px #705c3b80)}
.map-nodes{position:absolute;left:0;top:68%;width:100%;height:22%;display:block}
.levelgrid .level-node{position:absolute;transform:translate(-50%,-50%);border:0;background:none;box-shadow:none;padding:0;display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;min-height:0;overflow:visible;filter:none;opacity:1}
.node-disc{display:grid;place-items:center;width:51px;height:51px;background:radial-gradient(circle at 40% 25%,#fff1b8,#dfb962);border:3px solid #8a562c;border-radius:50%;box-shadow:0 4px 0 #6d4a2a, inset 0 0 0 3px #ffebae;font:700 23px Georgia;color:#67411e}
.level-node.current .node-disc{background:radial-gradient(circle at 40% 25%,#dbf7a4,#78af4c);border-color:#466a2e;box-shadow:0 4px 0 #365127,0 0 0 5px #fff0a7aa,inset 0 0 0 3px #c6e77e}
.level-node.locked .node-disc{background:radial-gradient(circle at 40% 25%,#dbd7bc,#b4b392);border-color:#797b59;box-shadow:0 4px 0 #616445,inset 0 0 0 3px #dfdec3;color:#757752}
.node-stars{font:700 15px Georgia;letter-spacing:1px;color:#ffeab0;text-shadow:0 1px 2px #5b3c1c,1px 0 #5b3c1c;background:#674928a6;border-radius:10px;padding:1px 4px}
.lock-icon{width:15px;height:13px;border-radius:3px;background:#7c7d5a;position:relative;margin-top:5px}.lock-icon:before{content:'';position:absolute;left:3px;top:-8px;width:9px;height:11px;border:3px solid #7c7d5a;border-radius:9px}
.levelgrid .level-node:hover{transform:translate(-50%,-55%)}.levelgrid .level-node:disabled:hover{transform:translate(-50%,-50%)}
.map-bottom{display:flex;flex-direction:column;align-items:center;gap:12px;flex-shrink:0;padding-top:9px}
button.map-play{background:linear-gradient(#c6e78c,#77ad4d);border:3px solid #ecda9c;border-radius:25px;color:#254322;font:700 21px Georgia;padding:13px 35px;box-shadow:0 5px 0 #37532c,0 7px 16px #10291d80;min-width:280px}
.map-tools{display:flex;gap:12px}.map-tools button{background:#21452fe8;color:#f5e8bd;border:1px solid #b8c48b;border-radius:18px;font:700 14px Georgia;padding:7px 17px;min-height:38px;box-shadow:0 3px 0 #153721}
@media(max-width:700px){.map-shell{padding:10px 16px 13px;gap:3px}.map-top{height:117px;justify-content:flex-start;padding-left:5px}.map-logo{height:115px;max-width:180px}.map-wallet{top:25px;gap:6px;font-size:17px}.map-wallet span{padding:7px 10px}.map-heading>span{font-size:10px;letter-spacing:3px}.map-heading p{font-size:15px;margin:4px 0 6px}.map-chapters{grid-template-columns:1fr;grid-template-rows:repeat(3,minmax(0,1fr));gap:11px;padding:4px 0}.map-region{min-height:0;border-width:3px;border-radius:24px;background-position:center 45%}.region-heading{top:8px;left:10px;right:auto;max-width:75%;gap:6px;padding:6px 10px;border-radius:13px}.region-heading h2{font-size:17px}.region-heading p{font-size:10px;margin-top:3px}.region-number{font-size:21px}.region-prop{width:25%;height:65%;left:auto;right:0;top:0}.map-trail,.map-nodes{top:49%;height:40%}.node-disc{width:43px;height:43px;font-size:19px}.node-stars{font-size:12px}.map-bottom{gap:10px;padding-top:7px}button.map-play{font-size:18px;padding:10px 30px;min-height:45px}.map-tools{gap:9px}.map-tools button{font-size:13px;padding:6px 12px;min-height:34px}}
@media(max-height:700px) and (max-width:700px){.map-top{height:85px}.map-logo{height:85px}.map-wallet{top:14px}.map-heading p{display:none}.region-heading p{display:none}.region-heading h2{font-size:14px}.region-heading{padding:4px 7px;top:5px}.node-disc{width:34px;height:34px;font-size:17px}.node-stars{font-size:10px}.map-trail,.map-nodes{top:48%;height:35%}.map-bottom{gap:7px}.map-chapters{gap:9px}.map-heading{margin-bottom:4px}}
.map-shell{width:100%;justify-self:stretch}.map-chapters{width:100%}.map-top{width:100%}

#overlay.title-screen{display:block;padding:0;overflow:hidden;backdrop-filter:none;background:linear-gradient(#173b2a55,transparent 40%,#173b2ac9),url('art/runtime/clearing.webp') center/cover}
.title-shell{height:100dvh;position:relative;width:100%;max-width:1600px;margin:auto;text-align:center}
.publisher-link{position:absolute;left:28px;top:24px;color:#fff2ca;text-decoration:none;font-weight:800;font-size:13px;letter-spacing:1px;padding:10px 15px;background:#234c36d9;border:1px solid #cfbd7b;border-radius:18px}
.title-logo{position:absolute;top:5%;left:50%;transform:translateX(-50%);height:27%;max-width:65%;object-fit:contain;filter:drop-shadow(0 9px 5px #183c2a66)}
.title-tagline{position:absolute;top:32%;left:0;right:0;margin:0;color:#fff4d5;font:22px Georgia;text-shadow:0 2px 4px #153924}
.title-diorama{position:absolute;left:50%;transform:translateX(-50%);top:39%;height:34%;width:min(650px,85%)}
.title-stall{height:100%;max-width:70%;object-fit:contain;filter:drop-shadow(0 9px 3px #60452944)}
.title-fox{position:absolute;width:180px;height:180px;bottom:0;right:0;background:url('art/runtime/fox.webp') 0 0/720px 360px no-repeat;filter:drop-shadow(0 5px 2px #60452933)}
.title-berries{position:absolute;width:210px;height:150px;bottom:0;left:0;background:url('art/runtime/berries.webp') center/contain no-repeat}
.publisher-brand{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));display:block;width:156px;z-index:2;padding:5px 8px;background:#f5ead1e8;border:1px solid #d5bd83;border-radius:11px;box-shadow:0 2px 5px #17382555;line-height:0;text-decoration:none}
.publisher-brand img{display:block;width:100%;height:auto}a.publisher-brand:hover{background:#fff5dc}.publisher-brand:focus-visible{outline:4px solid #ffce4f;outline-offset:5px}.results-more-games{display:inline-block;margin-top:22px;color:#34562d;font:700 16px Georgia;text-underline-offset:4px}
@media(max-width:700px){.publisher-brand{width:122px;right:max(10px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));padding:4px 7px}}
@media(max-width:360px),(max-height:560px) and (orientation:landscape){.publisher-brand{width:108px;padding:4px 6px}}
.title-controls{position:absolute;bottom:4%;left:0;right:0;display:flex;flex-direction:column;align-items:center;gap:16px}.title-controls .map-play{min-width:260px;font-size:26px;padding:14px 50px}.title-save{color:#e5edcf;font-size:12px;margin:0;text-shadow:0 1px 2px #183c2a}
@media(max-width:700px){#overlay.title-screen{background-image:linear-gradient(#173b2a44,transparent 40%,#173b2ad9),url('art/runtime/clearing-mobile.webp')}.publisher-link{left:16px;top:14px;font-size:10px;padding:7px 10px}.title-logo{top:11%;height:23%;max-width:78%}.title-tagline{top:36%;font-size:17px;padding:0 20px}.title-diorama{top:43%;height:28%;width:94%}.title-fox{width:120px;height:120px;background-size:480px 240px;right:0}.title-berries{width:145px;height:105px;left:0}.title-controls{gap:14px;bottom:5%}.title-controls .map-play{font-size:24px;min-width:245px}.title-save{font-size:11px}}
@media(max-height:600px) and (min-width:701px){.title-logo{height:28%;top:2%}.title-tagline{top:30%;font-size:17px}.title-diorama{top:37%;height:31%}.title-controls{bottom:3%;gap:8px}.title-controls .map-play{font-size:20px;padding:8px 40px}.title-fox{width:115px;height:115px;background-size:460px 230px}.title-berries{width:150px;height:100px}}

/* Keep gameplay art in proportion and reserve the edges for the HUD. */
#inventory{display:flex;align-items:center;gap:12px;min-height:44px}.food-icon{display:inline-block;position:relative;height:25px;overflow:hidden;flex:none}.food-icon img{position:absolute;max-width:none}.pantry{display:flex;gap:6px;align-items:center}.tray-label{font:700 10px Georgia;letter-spacing:1px}.tray-slots{display:flex;gap:5px}.tray-slot{width:28px;height:30px;display:grid;place-items:center;background:#dabd8344;border:1px solid #ae884b88;border-radius:8px}
#hud{gap:9px;align-items:stretch}#hud>div{background:#fff1d8f2;border-color:#a16e3c;box-shadow:0 3px 0 #65442855}#hud>div:first-of-type{min-width:210px}#hud button{min-width:48px}#hint{font:700 15px Georgia;max-width:88%;border:2px solid #bb925a;box-shadow:0 3px 0 #7a592733;pointer-events:none}#inventory{font-size:14px;background:#fff2dbea;border-color:#ad8150;box-shadow:0 3px 0 #664b2b44}#actions small{font:12px Georgia}#actionButtons button{min-height:44px}
@media(max-width:650px){#hud{top:max(8px,env(safe-area-inset-top));left:8px;right:8px;gap:6px}#hud>div{padding:6px 9px;border-width:2px;border-radius:14px;min-width:0!important}#hud>div:first-of-type{flex:1}#hud strong{font-size:12px}#hud span{font-size:10px}#hud button{min-width:42px;padding:6px;min-height:44px;border-width:2px;border-radius:14px}#hud>div:nth-child(3){max-width:103px}#hint{top:78px;font-size:12px;line-height:1.25;width:auto;max-width:92%;white-space:normal;padding:7px 14px}#actions{left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));gap:5px}#inventory{font-size:11px;max-width:100%;padding:7px 10px;border-radius:14px;line-height:1.4}#actionButtons{overflow:visible;justify-content:center;flex-wrap:wrap;padding:0;gap:8px}#actionButtons .station-shortcut{display:none}#actionButtons button{font-size:12px;min-width:105px;min-height:44px;padding:6px 12px}#actions small{display:none}}

#overlay.day-briefing{background:linear-gradient(#153e2aba,#193e2ac9),var(--day-background) center/cover;backdrop-filter:none;padding:22px}
.panel.day-card{display:grid;grid-template-columns:1fr 1.05fr;width:min(940px,100%);padding:0;border:4px solid #bb955d;border-radius:30px;overflow:auto;background:#fff0d3;text-align:left;box-shadow:0 12px 0 #12332255,0 24px 70px #102d2680;max-height:94dvh}
.day-scene{position:relative;min-height:420px;background-position:center;background-size:cover;overflow:hidden;border-radius:25px 0 0 25px;border-right:3px solid #ba945e}
.day-location{position:absolute;top:20px;left:20px;right:20px;text-align:center;background:#214d36ec;border:1px solid #a6b97d;border-radius:16px;padding:10px;color:#ffedbc;font:700 19px Georgia;z-index:1}
.day-stall{position:absolute;width:85%;height:70%;object-fit:contain;left:8%;top:16%;filter:drop-shadow(0 7px 3px #674a3433)}
.day-host{position:absolute;width:150px;height:150px;bottom:48px;right:0;background:url('art/runtime/fox.webp') 0 0/600px 300px no-repeat;filter:drop-shadow(0 4px 2px #674a3422)}
.day-harvest{position:absolute;width:48%;height:35%;left:-5%;bottom:55px;object-fit:contain}
.day-best{position:absolute;bottom:18px;left:0;right:0;text-align:center;color:#fff1cc;font:700 14px Georgia;text-shadow:0 2px 3px #294b2d;background:#254b34bb;padding:7px}
.day-details{padding:27px 30px;display:flex;flex-direction:column;justify-content:center}
.day-kicker{color:#668447;font-weight:800;font-size:10px;letter-spacing:1.6px}.day-details h1{font:700 35px Georgia;line-height:1.05;color:#4d3523;margin:9px 0 18px}
.day-mission{display:flex;gap:14px;align-items:center;background:#ead9ad66;border:1px solid #cead70;border-radius:18px;padding:12px 16px}.mission-number{font:700 47px Georgia;color:#547c36;line-height:1}.day-mission>div{display:grid;gap:5px}.day-mission strong{font:700 17px Georgia}.day-mission>div>span{font-size:12px;color:#846b49}
.day-details .day-tip{font-size:13px;line-height:1.5;margin:15px 0;color:#745b40}.day-rewards{display:grid;gap:9px;padding:12px 0;border-top:1px solid #d7be87}.day-rewards>div{display:flex;align-items:center;gap:12px}.day-rewards span{color:#bf8727;width:57px;letter-spacing:2px;font-size:17px;text-shadow:0 1px #fff5df}.day-rewards strong{font-size:12px;font-weight:600;color:#705a3a}
.day-details .buttons{justify-content:flex-start;margin-top:14px;gap:12px}.day-details .primary{padding:12px 28px;font-size:20px;border-color:#547737;background:linear-gradient(#d2eaa3,#92bd60);box-shadow:0 4px #455f2f}.day-details .day-map{background:transparent;border:0;box-shadow:none;padding:10px;color:#6f7453;font:700 15px Georgia}
@media(max-width:650px){#overlay.day-briefing{padding:14px}.panel.day-card{display:flex;flex-direction:column;width:min(440px,100%);border-width:3px;border-radius:26px}.day-scene{min-height:195px;height:26dvh;max-height:245px;border-right:0;border-bottom:3px solid #bb955d;border-radius:22px 22px 0 0;flex-shrink:0}.day-location{top:10px;left:50%;right:auto;transform:translateX(-50%);white-space:nowrap;font-size:16px;padding:7px 18px}.day-stall{width:62%;height:85%;left:21%;top:11%}.day-host{width:100px;height:100px;right:8%;bottom:6px;background-size:400px 200px}.day-harvest{width:34%;height:50%;left:1%;bottom:10px}.day-best{bottom:0;font-size:11px;padding:3px}.day-details{padding:18px 20px}.day-details h1{font-size:29px;margin:7px 0 13px}.day-kicker{font-size:9px}.day-mission{padding:9px 13px;gap:12px}.mission-number{font-size:38px}.day-mission strong{font-size:16px}.day-details .day-tip{margin:12px 0;font-size:12px}.day-rewards{gap:7px;padding:9px 0}.day-rewards strong{font-size:11px}.day-details .buttons{margin-top:10px}.day-details .primary{flex:1;padding:11px 20px;font-size:20px}}
@media(max-height:650px) and (min-width:651px){.day-scene{min-height:370px}.day-details{padding:20px 26px}.day-details h1{font-size:30px;margin:7px 0 13px}.day-details .day-tip{margin:11px 0}.day-mission{padding:10px 13px}.day-details .buttons{margin-top:10px}}
@media(max-width:650px){.day-card{touch-action:pan-y;overscroll-behavior:contain}}
@media(max-height:700px) and (max-width:650px){.day-scene{min-height:140px;height:140px}.day-location{font-size:13px;top:6px;padding:5px 14px}.day-details{padding:13px 16px}.day-details h1{font-size:25px;margin:5px 0 9px}.day-mission{padding:7px 10px}.mission-number{font-size:33px}.day-mission strong{font-size:14px}.day-mission>div>span{font-size:10px}.day-details .day-tip{font-size:11px;margin:8px 0}.day-rewards{gap:4px;padding:7px 0}.day-rewards span{font-size:14px}.day-rewards strong{font-size:10px}.day-details .buttons{margin-top:7px}.day-host{width:80px;height:80px;background-size:320px 160px}}

#hint{display:none!important}
#coach{position:fixed;z-index:4;width:285px;max-width:calc(100vw - 20px);padding:12px 15px;background:#fff5dd;border:3px solid #94683a;border-radius:20px;box-shadow:0 4px 0 #67472840,0 8px 18px #3b4c2522;pointer-events:none;transition:left .15s ease,top .15s ease}
#coach:after{content:'';position:absolute;bottom:-10px;left:calc(var(--tail-x,50%) - 8px);width:15px;height:15px;transform:rotate(45deg);background:#fff5dd;border-right:3px solid #94683a;border-bottom:3px solid #94683a}
#coach.coach-below:after{top:-10px;bottom:auto;transform:rotate(225deg)}
.coach-speaker{display:inline-block;font:700 13px Georgia;color:#54783d}.coach-speaker:before{content:'✦ ';color:#ca9136}.coach-step{float:right;font-size:10px;font-weight:700;color:#997948;padding-top:2px}#coach p{margin:6px 0 0;font:600 14px/1.4 system-ui;color:#63462a}#coach.guest-speaking{border-color:#718b50}#coach.guest-speaking:after{border-color:#718b50}
#coach-marker{position:fixed;z-index:5;transform:translate(-50%,-50%);pointer-events:none;color:#fff1a3;font-size:28px;text-shadow:0 2px #735127,2px 0 #735127,-2px 0 #735127;filter:drop-shadow(0 2px 3px #6a5a3044);animation:guide-bounce 1s ease-in-out infinite}
@keyframes guide-bounce{0%,100%{margin-top:-7px}50%{margin-top:0}}
@media(max-width:650px){#coach{width:250px;padding:9px 12px;border-width:2px;border-radius:17px}#coach p{font-size:12px;line-height:1.4;margin-top:4px}.coach-speaker{font-size:12px}.coach-step{font-size:9px}#coach:after{border-width:2px}#coach-marker{font-size:25px}}
@media(prefers-reduced-motion:reduce){#coach{transition:none}#coach-marker{animation:none}}
.day-details .day-challenge{margin:7px 0;color:#617d3f;font-size:11px;font-weight:700;padding:8px 10px;background:#c1d79e44;border-radius:10px}.challenge-result{color:#597c35;font-weight:700}.node-bonus{position:absolute;right:-8px;top:-5px;color:#ffe8a0;background:#688841;border:2px solid #ffe6aa;border-radius:50%;font-size:15px;padding:0 3px}.tart-icon{width:29px!important}.tart-icon img{position:static!important;width:29px!important;height:25px!important;object-fit:contain}
.result-stars{font:42px Georgia;color:#d39b33;text-shadow:0 2px #9c6c31;letter-spacing:5px;margin:0 0 16px}.result-stars span{color:#b7a17a;text-shadow:none}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px 0;border-top:1px solid #d2b989;border-bottom:1px solid #d2b989}.result-stats>div{display:grid;gap:5px}.result-stats strong{font:700 26px Georgia;color:#597e3d}.result-stats span{font-size:10px;color:#806b4a}.day-details .result-bonus{font-size:12px;font-weight:700;color:#68813a;margin:13px 0 0}.day-details .result-note{font-size:12px;color:#80684c;margin:10px 0;line-height:1.5}.result-links{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:15px}.text-button{padding:2px 0;min-height:26px;background:none;border:0;box-shadow:none;font-size:12px;color:#7b7656}.result-links .results-more-games{margin:0 0 0 auto;font-size:12px}.result-card .day-scene{min-height:460px}
.workshop-card .shop{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.workshop-card .card{padding:16px 12px;background:linear-gradient(#f9edd0,#ead6aa);border:2px solid #c3a268;box-shadow:0 4px 0 #a4804c33}.workshop-card .card h2{font-size:20px}.workshop-card .card p{font-size:12px}.workshop-card .card button{font-size:13px;padding:10px 12px;width:100%}.upgrade-art{height:100px;margin:0 auto 10px;background-repeat:no-repeat}.upgrade-speed{width:100px;background-image:url('art/runtime/fox.webp');background-size:400px 200px;background-position:0 0}.upgrade-capacity{width:100px;background-image:url('art/runtime/fox.webp');background-size:400px 200px;background-position:0 -100px}.upgrade-prep{width:120px;background-image:url('art/runtime/juice.webp');background-size:contain;background-position:center}.upgrade-helper{width:100px;background-image:url('art/runtime/helper.webp');background-size:200px 200px;background-position:0 0}.upgrade-tiers{color:#7e9d49;font-size:25px!important;letter-spacing:7px;margin:10px 0}
@media(max-width:650px){.result-card .day-scene{min-height:160px;height:23dvh}.result-stars{font-size:34px;margin:0 0 12px}.result-stats strong{font-size:22px}.result-links{gap:12px}.workshop-card .shop{grid-template-columns:repeat(2,minmax(0,1fr))}.workshop-card .card h2{font-size:17px}.workshop-card .card p{font-size:11px}.workshop-card .card{padding:12px 8px}.upgrade-art{height:80px;transform:scale(.8);transform-origin:bottom;margin-top:-15px}.workshop-card{touch-action:pan-y}}
@media(max-height:700px) and (max-width:650px){.result-card .day-scene{min-height:120px;height:120px}.result-stars{font-size:29px;margin:0 0 8px}.result-stats{padding:8px 0}.day-details .result-note{font-size:11px;margin:8px 0}.result-links{margin-top:10px}}

@media(max-height:620px) and (max-width:650px){
  .result-card .day-scene{min-height:100px;height:100px}
  .result-card .day-details{padding:12px 14px}
  .result-card .day-details h1{margin:5px 0 8px;font-size:25px}
  .result-card .result-bonus{margin-top:8px}
  .result-card .next-day{grid-template-columns:56px minmax(0,1fr);gap:8px;margin-top:8px}
  .result-card .next-day img{height:48px}
  .result-card .primary{font-size:17px;white-space:nowrap;padding:8px 12px}
  .result-card .result-links{gap:8px}
}

.guide-steps{display:grid;gap:8px;list-style:none;margin:0;padding:0}
.guide-steps li{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:12px;padding:6px 12px;border:1px solid #dbc38f;border-radius:14px;background:#ead9ad55}
.guide-steps img{width:64px;height:49px;object-fit:contain}
.guide-steps strong,.next-day strong{display:block;font:700 18px Georgia;color:#4d3523}
.guide-steps p,.day-details .guide-tip,.next-day p{font-size:13px;line-height:1.4;color:#745b40;margin:4px 0 0}
.day-details .guide-tip{margin-top:13px}
.next-day{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:center;gap:12px;margin-top:14px;padding:7px;border:1px solid #c4c693;border-radius:14px;background:#e6e8c9}
.next-day img{width:100%;height:65px;object-fit:cover;border-radius:9px}
.next-day strong{margin-top:3px}
.next-day p{font-size:12px}
.next-chapter{grid-template-columns:30% minmax(0,1fr);background:#dce6c5}
.next-chapter img{height:79px}
@media(prefers-reduced-motion:no-preference){
  .guide-card,.result-card{animation:postcard-in .22s ease-out both}
  @keyframes postcard-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
}
@media(max-width:650px){
  .guide-card .day-scene{min-height:140px;height:19dvh}
  .guide-steps li{grid-template-columns:52px minmax(0,1fr);gap:10px}
  .guide-steps img{width:52px;height:38px}
  .guide-steps strong,.next-day strong{font-size:16px}
  .next-day{margin-top:10px}
}

[data-edition="site"] .result-links .results-more-games {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 2px solid #936735;
  border-radius: 14px;
  background: linear-gradient(#ffebae, #eac575);
  box-shadow: 0 3px 0 #936735;
  color: #50351f;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
[data-edition="site"] .results-more-games:hover { background: #fff0bc; }
[data-edition="site"] .results-more-games:focus-visible { outline: 3px solid #386647; outline-offset: 4px; }

@media(max-width:700px){.title-controls{bottom:max(5%,calc(env(safe-area-inset-bottom) + 48px))}}
.loading-postcard{width:min(420px,100%);overflow:hidden;border:3px solid #c7a36a;border-radius:26px;background:#fff0d3;box-shadow:0 8px #102c21a6,0 20px 50px #102c2170;text-align:center}
#loading{position:fixed;inset:0;z-index:10;display:grid;place-items:center;overflow:auto;touch-action:pan-y;padding:16px;background:radial-gradient(ellipse at 50% 25%,#527344,#1d392d 75%)}
.loading-art{display:grid;place-items:center;height:clamp(132px,35dvh,204px);background:linear-gradient(#18382515,#2f472915),url('art/thumbs/clearing.webp') center/cover,#71844b;border-bottom:3px solid #c7a36a}
#loading[data-chapter="1"] .loading-art{background-image:linear-gradient(#18382515,#2f472915),url('art/thumbs/river.webp')}
#loading[data-chapter="2"] .loading-art{background-image:linear-gradient(#18382515,#2f472915),url('art/thumbs/cabin.webp')}
.loading-art img{width:min(64%,235px);height:90%;object-fit:contain;filter:drop-shadow(0 4px 4px #332b1f70)}
.loading-details{display:grid;justify-items:center;gap:10px;padding:18px 24px 22px}
.loading-details p{margin:0}
.loading-kicker{font-size:10px;font-weight:800;letter-spacing:.17em;color:#526d37}
#loading-message{font:700 clamp(18px,4.5vw,24px)/1.2 Georgia;color:#4d3523}
#loadbar{appearance:none;display:block;width:min(260px,100%);height:12px;margin-top:4px;overflow:hidden;border:1px solid #b89b64;border-radius:999px;background:#e8d5a7}
#loadbar::-webkit-progress-bar{background:#e8d5a7}
#loadbar::-webkit-progress-value{border-radius:999px;background:linear-gradient(#a4c875,#567d3e)}
#loadbar::-moz-progress-bar{border-radius:999px;background:linear-gradient(#a4c875,#567d3e)}
.loading-details button{min-height:44px;padding:8px 17px;margin-top:4px;font-size:14px}
@media(max-height:430px) and (orientation:landscape){
  .loading-postcard{width:min(540px,100%);display:grid;grid-template-columns:42% minmax(0,1fr)}
  .loading-art{height:auto;min-height:140px;border-bottom:0;border-right:3px solid #c7a36a}
}
