/* Copyright (c) 2026 Nova Logic Ventures LLC. */
:root{color-scheme:dark;--ink:#f5efdb;--muted:#bac0a5;--gold:#dec28a;--green:#bdd094;--panel:rgba(26,37,30,.85)}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;font:14px Segoe UI,Arial,sans-serif;color:var(--ink);background:#222b25;overscroll-behavior:none;touch-action:none}button,input,select{font:inherit}button{cursor:pointer;color:inherit;border:1px solid #ddd3ad30;background:#25372ecc;border-radius:5px;padding:10px 16px;transition:background .15s,transform .15s}button:hover{background:#46563a}button:focus-visible{outline:2px solid #eac580;outline-offset:4px}button:disabled{opacity:.45;cursor:wait}[hidden]{display:none!important}#world,.vignette{position:fixed;inset:0;width:100%;height:100%}.vignette{pointer-events:none;background:radial-gradient(ellipse at 55% 40%,transparent 40%,#101c2238 100%)}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Georgia,Times New Roman,serif;font-weight:400}.eyebrow{font-size:10px;letter-spacing:3px;color:var(--gold)}.line{display:inline-block;width:35px;height:1px;background:var(--gold);vertical-align:middle;margin-right:12px}.primary{background:#dcc28b;color:#243329;border:1px solid #ffe4a0;font-weight:650;padding:17px 25px;box-shadow:0 5px 30px #1114}.primary:hover{background:#f0d9a4}.primary span{float:right;font-size:22px;line-height:18px}#loading{position:fixed;inset:0;z-index:50;background:radial-gradient(ellipse at center,#3e4932,#172821);display:flex;flex-direction:column;align-items:center;justify-content:center}#loading h1{letter-spacing:12px;font-size:48px;margin:20px 0}#loading p{color:#c8c9b6}.sigil{border:1px solid #cbb67a;border-radius:50%;font:38px Georgia;color:#d8c28a;width:70px;height:70px;display:grid;place-items:center;margin-bottom:34px}.load-track{width:230px;height:2px;background:#ffffff20;margin:18px}.load-track i{display:block;height:100%;width:0;background:#d7c18b;transition:width .3s}#loading small{font:italic 16px Georgia;color:#aeb498;margin-top:16px}#menu{position:fixed;inset:0;background:linear-gradient(90deg,#172923ef,#1c3025b8 32%,#16281b16 65%);display:flex;align-items:center}.menu-content{margin-left:7vw;width:430px;max-width:46vw}#menu h1{font-size:clamp(42px,5.6vw,86px);letter-spacing:5px;margin:30px 0 24px;line-height:1.05;text-shadow:0 3px 35px #151c1a55}#menu h1 span{display:block;font:11px Segoe UI,sans-serif;letter-spacing:8px;color:#e2d0a6;margin-top:20px}.intro{font:17px/1.7 Georgia;color:#d7d8c5;margin-bottom:30px}.chapter{border-top:1px solid #d1d8b733;display:flex;gap:14px;padding:22px 0}.chapter>span{font:35px Georgia;color:#c4bb90}.chapter small{display:block;font-size:9px;letter-spacing:2px;color:#a5b199;margin:2px 0 7px}.chapter strong{font-weight:400;font-size:13px}#start{width:100%;max-width:310px;text-align:left}.menu-links{display:flex;gap:15px;align-items:center;margin-top:20px;color:#c3cbb6}.menu-links button{background:none;border:0;padding:3px 0;font-size:12px}.menu-footer{font-size:8px;line-height:2.2;letter-spacing:1.4px;margin-top:35px;color:#bac4ad}.menu-footer span{opacity:.6}.character-tag{position:absolute;bottom:15%;right:20%;display:flex;gap:12px;align-items:center;font-size:12px;letter-spacing:3px;text-shadow:0 2px 6px #000}.character-tag small{display:block;font-size:8px;color:#e3dbb6;letter-spacing:2px;margin-top:8px}.character-tag i{width:8px;height:8px;background:#d5cc8e;transform:rotate(45deg)}#hud{position:fixed;inset:0;pointer-events:none}#hud button,#joystick,#lookzone{pointer-events:auto}.glass{background:linear-gradient(100deg,#1b302bea,#243c2ba0);border:1px solid #e4dfb331;border-radius:6px;backdrop-filter:blur(12px)}.identity{position:absolute;top:26px;left:28px;padding:12px 18px 12px 10px;display:flex;align-items:center;gap:13px;width:230px}.avatar{width:47px;height:47px;border-radius:50%;background:#738862 url(../assets/icons/profile.webp) center 27%/180%;border:1px solid #d6cb8a;color:transparent}.identity small{font-size:8px;letter-spacing:1.7px;color:#ced2ac}.identity strong{display:block;font:19px Georgia;margin:4px 0 7px}.identity strong span{font:10px Segoe UI;margin-left:28px;color:#e0c592}.vital{height:3px;background:#fff2;width:130px}.vital i{display:block;width:100%;height:100%;background:#b6c891}.compass{position:absolute;left:50%;top:28px;transform:translate(-50%);display:flex;gap:27px;font-size:12px;text-shadow:0 1px 5px #000;align-items:center}.compass b{font-weight:500;color:#fff4c8}.compass span{opacity:.7}.compass i{position:absolute;top:22px;left:50%;transform:translate(-50%);font-size:8px;color:#e8d293}.map-wrap{position:absolute;top:26px;right:28px;width:172px;text-align:center}.map-top{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1.5px;margin-bottom:8px;text-shadow:0 1px 4px #000}.map-top button{padding:3px 8px;font-size:15px}#minimap{width:145px;height:145px;border-radius:50%;border:2px solid #d5c38a99;outline:5px solid #20332c70;box-shadow:0 8px 26px #17231c77}.map-wrap>small{display:block;font-size:8px;letter-spacing:2px;margin:8px;text-shadow:0 1px 4px #000}.quest{position:absolute;top:135px;left:30px;width:240px;text-shadow:0 2px 7px #28352a;background:linear-gradient(90deg,#1b302b99,transparent);padding:13px 14px;border-left:2px solid #dcca99}.quest>small{font-size:8px;letter-spacing:1.2px;color:#e1ce9a}.quest>small span{margin-left:14px;opacity:.55}.quest h2{font-size:18px;margin:11px 0 9px}.quest p{font-size:11px;color:#efedd4;margin:0 0 12px}.quest-progress{height:2px;background:#e5e6bf30;max-width:180px}.quest-progress i{width:0;display:block;height:100%;background:#daca8a;transition:width .3s}.quest #quest-count{display:block;font-size:9px;color:#d9ddc8;margin-top:8px}.oasis-goal{font-size:11px;margin-top:14px;color:#e7d4a3}.location{position:absolute;bottom:33px;left:30px;display:flex;gap:12px;align-items:center;font-size:9px;letter-spacing:2px;text-shadow:0 1px 5px #000}.sun-icon{font:32px Georgia;color:#e4d298}.location small{display:block;font-size:8px;letter-spacing:.6px;opacity:.75;margin-top:6px}.quick-actions{position:absolute;bottom:31px;right:28px;display:flex;gap:7px}.quick-actions button{height:50px;width:52px;padding:5px;font-size:19px;background:#1e352bdd}.quick-actions small{display:block;font-size:8px;color:#d5dac3}#resources{position:absolute;bottom:38px;left:50%;transform:translate(-50%);display:flex;border:1px solid #e0d2a14a;background:#1b302be6;border-radius:7px;backdrop-filter:blur(10px);padding:7px 4px}.resource{display:flex;gap:7px;align-items:center;padding:2px 12px;border-right:1px solid #c9d2b522}.resource:last-of-type{border:0}.resource img{width:27px;height:27px;object-fit:contain;border-radius:4px;mix-blend-mode:screen}#resources img,#bag-button img,.resource img,#survival-actions img,.quick-actions img,#gold img,#animals-button img,#wellbeing>img,.journal-row img,.build-grid img,.traveler-card img,.animal-icon{flex:none}.resource span{font-size:7px;letter-spacing:1.4px;color:#ced3b7}.resource b{display:block;font-size:17px;font-weight:400;letter-spacing:0;color:#fff3d5;margin-top:3px}.bag-label{position:absolute;bottom:-21px;left:50%;transform:translate(-50%);white-space:nowrap;letter-spacing:2px;font-size:7px;color:#ece6c7;text-shadow:0 1px 3px #000}.desktop-hint{position:absolute;bottom:114px;left:50%;transform:translate(-50%);font-size:9px;white-space:nowrap;text-shadow:0 1px 4px #000;color:#fff4d9}.desktop-hint span{margin-left:14px}kbd{font:9px Segoe UI;background:#23352cc0;border:1px solid #eddfb657;padding:2px 4px;border-radius:3px;margin-right:3px}.collect{position:absolute;left:50%;bottom:175px;transform:translate(-50%);background:#223b2de8;display:flex;align-items:center;gap:10px;box-shadow:0 4px 16px #0003}.collect kbd{font-size:16px;padding:6px 9px;border-color:#cfc389}.collect span{font-size:10px;text-align:left;color:#c2cdb4}.collect b{display:block;color:#fff0c9;font-size:14px;font-weight:500;margin-top:3px}#toast{position:absolute;top:92px;left:50%;transform:translate(-50%);background:#243a2ae8;border:1px solid #d6ca9144;border-radius:6px;padding:12px 23px;font-size:12px;opacity:0;transition:opacity .3s;max-width:75%;text-align:center}#toast.show{opacity:1}#modal{position:fixed;inset:0;z-index:30;background:#0b1b19a8;backdrop-filter:blur(9px);display:grid;place-items:center;padding:18px}.panel{position:relative;width:550px;max-width:100%;max-height:100%;overflow:auto;touch-action:pan-y;background:#20342f;border:1px solid #d6c28b6b;border-radius:10px;padding:35px;box-shadow:0 25px 90px #0005}.panel h2{font-size:31px;color:#e9d6a9;margin-bottom:14px}.panel h3{font-size:19px;margin:23px 0 10px}.panel p,.panel li{font-size:12px;line-height:1.7;color:#d1d9c5}.panel a{color:#e4d198}.close{position:absolute;right:12px;top:10px;padding:1px 9px;font-size:24px;background:transparent;border:0}.panel .eyebrow{margin-bottom:15px}.controls-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.controls-grid div{background:#d9dec509;border:1px solid #d9dec51a;border-radius:5px;padding:12px;font-size:11px;line-height:1.7}.controls-grid b{display:block;color:#e7d2a0;font-weight:500}.panel-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.panel-actions button{flex:1}.setting{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:18px 0;font-size:12px}.setting select{padding:7px;border:1px solid #7c8a65;background:#293e31;color:var(--ink);border-radius:4px}.editor-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:20px}.editor-grid button{font-size:10px;padding:8px}.editor-grid img{width:48px;height:48px;object-fit:contain;display:block;margin:0 auto 7px;border-radius:5px}.note{font-size:10px!important;opacity:.7}.journal-row{display:flex;align-items:center;gap:14px;margin:12px 0;background:#fff04;padding:9px;border-bottom:1px solid #ffffff14}.journal-row img{height:38px;width:38px;object-fit:contain;border-radius:5px}.journal-row span{flex:1;font-size:12px}.journal-row b{color:#e1d098}.journal-row small{display:block;font-size:9px;color:#b9c8ac;margin-top:4px}#placement-bar{position:fixed;bottom:150px;left:50%;transform:translate(-50%);z-index:22;display:flex;gap:8px;align-items:center;padding:8px;background:#1b302bf2;border:1px solid #d4ca9755;border-radius:6px;white-space:nowrap}#placement-name{font-size:11px;margin:0 8px}#placement-bar button{padding:9px;font-size:11px}#rotate-screen{display:none;position:fixed;inset:0;z-index:100;background:#1b3028;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px}.phone-outline{width:55px;height:95px;border:2px solid #d8c38e;border-radius:12px;display:grid;place-items:center;font-size:30px;color:#d8c38e;margin-bottom:35px;transform:rotate(90deg)}#rotate-screen h2{font-size:30px;color:#e1c993}#rotate-screen p{font-size:13px;color:#cad3b9}#joystick,#lookzone,#sprint{display:none}body.touch #joystick{display:block;position:absolute;left:0;bottom:0;width:36vw;height:56vh;z-index:4}.joy-ring{position:absolute;left:55px;bottom:43px;width:100px;height:100px;border:1px solid #ece8bd66;border-radius:50%;background:#20352b28;box-shadow:inset 0 0 20px #fff1}#stick{position:absolute;left:83px;bottom:71px;width:44px;height:44px;border:1px solid #eddfb99c;border-radius:50%;background:#d6d3a547;pointer-events:none}#joystick>span{position:absolute;left:88px;bottom:25px;font-size:8px;letter-spacing:2px;color:#f0e9c8}body.touch #lookzone{display:block;position:absolute;right:0;top:24%;width:47%;height:46%;z-index:0}body.touch #sprint{display:block;position:absolute;right:35px;bottom:75px;width:58px;height:58px;border-radius:50%;font-size:23px;padding:4px;z-index:5;background:#273a32aa}#sprint small{display:block;font-size:8px}#sprint.active{background:#acb87e;color:#21372a}body.touch .quick-actions{bottom:15px;right:30px}body.touch .collect{z-index:5;left:auto;right:18px;bottom:150px;transform:none}body.touch .collect kbd{display:none}body.touch #resources{bottom:20px}body.touch .quick-actions button{width:39px;height:39px;font-size:15px}@media(max-height:600px){.menu-content{margin-left:6vw}#menu h1{font-size:52px;margin:15px 0}#menu h1 span{margin-top:12px;font-size:9px;letter-spacing:5px}.intro{font-size:14px;margin-bottom:10px}.chapter{padding:12px 0}.menu-footer{margin-top:14px}.menu-links{margin-top:12px}#start{padding:13px 18px}.eyebrow{font-size:8px;letter-spacing:2px}.identity{top:15px;left:18px;transform:scale(.8);transform-origin:top left}.map-wrap{top:12px;right:18px;width:124px}#minimap{width:95px;height:95px}.map-top{font-size:7px}.quest{top:90px;left:18px;width:205px;padding:9px 12px}.quest h2{font-size:15px;margin:8px 0}.quest p{font-size:10px}.quest>small{font-size:7px}.quest #quest-count{font-size:8px}.oasis-goal{font-size:9px;margin-top:8px}.compass{top:18px;gap:19px}.resource{padding:2px 8px}.resource img{width:26px;height:26px}.resource b{font-size:14px}.resource span{font-size:6px}#resources{padding:4px 2px;bottom:25px}.desktop-hint{bottom:85px}.location{bottom:23px;font-size:8px}.quick-actions{bottom:20px}.collect{bottom:124px}.panel{padding:25px;max-width:530px}.panel h2{font-size:25px}.controls-grid{margin:10px 0}.controls-grid div{padding:8px;font-size:10px}.panel p{font-size:11px}.panel-actions{margin-top:13px}.primary{padding:12px 17px}#placement-bar{bottom:95px}body.touch .quest{max-width:185px}body.touch .quest-progress,body.touch #quest-count{display:none}body.touch #resources{bottom:18px}body.touch .joy-ring{left:36px;bottom:24px;width:86px;height:86px}body.touch #stick{left:59px;bottom:47px;width:40px;height:40px}body.touch #joystick>span{left:63px;bottom:9px}body.touch #sprint{right:26px;bottom:64px;width:48px;height:48px}body.touch .collect{bottom:127px}#toast{top:60px;padding:8px 15px;font-size:10px}}@media(max-width:750px){.location{display:none}.quick-actions{gap:4px}.quick-actions button{width:37px;font-size:15px}.menu-content{max-width:50vw}#menu h1{font-size:42px}.intro{font-size:12px}.menu-footer{font-size:6px}.character-tag{right:13%;bottom:15%}.quest{width:190px}.resource{padding:2px 6px;gap:4px}.resource img{width:22px;height:22px}.bag-label{font-size:6px}.identity{transform:scale(.7)}.quest{top:76px}#placement-bar{gap:3px;max-width:98vw}#placement-name{font-size:9px;margin:0 2px}#placement-bar button{font-size:9px}.map-wrap{right:12px;width:106px}.desktop-hint{font-size:8px}.desktop-hint span{margin-left:7px}}@media(orientation:portrait)and (max-width:950px){#rotate-screen{display:flex}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}.menu-top{position:absolute;top:28px;left:6vw;right:5vw;display:flex;justify-content:space-between;font-size:9px;letter-spacing:2px;color:#d8dbc4a0}.menu-content{margin-left:6vw;width:455px;max-width:43vw}.menu-content .intro{font-size:18px;margin-bottom:24px}#menu h1{font-size:clamp(43px,5.2vw,77px);margin:24px 0}#menu .primary{display:block;width:100%;max-width:345px}.character-choice{display:flex;align-items:center;gap:13px;width:345px;max-width:100%;text-align:left;margin:0 0 19px;padding:12px;background:#20392cbf;border:1px solid #d4cf9d4d}.character-choice img{width:42px;height:42px;border-radius:50%;object-fit:cover}.character-choice small{display:block;font-size:8px;letter-spacing:2px;color:#c2cdb2;margin-bottom:5px}.character-choice b{font-size:13px;font-weight:400}.character-choice i{font-style:normal;font-size:9px;color:#dfce9d;margin-left:auto}.secondary{margin-top:10px;background:transparent;width:345px;max-width:100%;font-size:12px}.character-tag{right:13%;bottom:13%;font-size:13px}.menu-footer{margin-top:26px}.avatar{background-image:url(../assets/icons/profile.webp);background-size:cover;background-position:center}.vital i{transition:width .25s}.identity{width:230px}#wellbeing{position:absolute;top:111px;left:28px;width:230px;padding:8px 10px;display:flex;gap:9px;align-items:center;background:#1c322be8;border:1px solid #e4dfb32a}#wellbeing>img{width:29px;height:29px}#wellbeing>span{flex:1}.need-line{display:flex;align-items:center;gap:7px;margin:4px 0}.need-line small{font-size:7px;width:34px;text-align:left;letter-spacing:.4px;color:#d1d8c3}.need-line>i{display:block;flex:1;height:4px;background:#ffffff1a}.need-line em{display:block;height:100%;background:#c8b780}.need-line.water em{background:#8dc8c7}.need-line b{font-size:9px;font-weight:400;min-width:19px;color:#e9dfbd}#wellbeing.critical{border-color:#d37f59}#gold{position:absolute;left:276px;top:37px;display:flex;align-items:center;gap:8px;background:#253b2ea8;padding:4px 12px 4px 4px;border-radius:20px;font-size:12px}#gold img{width:27px;height:27px;border-radius:50%}#gold b{font-weight:400}.quest{top:182px}#day-clock{position:absolute;top:66px;left:50%;transform:translate(-50%);display:flex;gap:8px;align-items:center;font-size:10px;color:#f0e4c5;text-shadow:0 1px 5px #000}#phase-icon{font-size:18px}#time-label{font-weight:500}#day-label{font-size:7px;letter-spacing:1px;opacity:.65}#survival-actions{position:absolute;left:28px;bottom:107px;display:flex;gap:7px}#survival-actions button{display:flex;gap:8px;align-items:center;padding:7px 10px;background:#21372ddd}#survival-actions img{width:28px;height:28px;object-fit:contain;border-radius:3px}#survival-actions b{font-size:12px;font-weight:400;display:block;text-align:left}#survival-actions small{display:block;font-size:7px;color:#c8d0b5;margin-top:3px;letter-spacing:.6px}.quick-actions img{width:29px;height:29px;object-fit:contain;border-radius:4px}.quick-actions button{width:57px;height:55px}.quick-actions small{font-size:8px}#bag-button{padding:4px 9px;background:transparent;border:0;border-right:1px solid #c9d2b533;border-radius:0}#bag-button img{width:32px;height:32px;object-fit:contain;border-radius:5px}.resource{padding:2px 10px}.resource span{font-size:6px}.resource b{font-size:16px}.resource{gap:5px}#resources{pointer-events:auto}#tutorial{position:fixed;z-index:19;left:50%;top:50%;transform:translate(-50%,-50%);width:370px;max-width:86vw;background:#223b32f2;border:1px solid #d8c0878c;border-radius:8px;padding:25px;box-shadow:0 20px 60px #132a2566}#tutorial h3{font-size:23px;line-height:1.2;margin:13px 0}#tutorial p{font-size:12px;line-height:1.65;color:#d7dec9;margin:0 0 17px}#tutorial button{width:100%;color:#e7d297;background:#2d493a}.needs-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:18px 0}.needs-summary span{font-size:10px;background:#ffffff08;padding:11px 5px;border-radius:5px;text-align:center;color:#b8c9b2}.needs-summary b{display:block;font-size:19px;color:#e4d5a8;font-weight:400;margin-top:5px}.inventory-list .journal-row{margin:5px 0;padding:5px}.inventory-list .journal-row img{width:32px;height:32px}.inventory-list button{padding:6px 12px;font-size:10px}.tent-card{display:flex;gap:20px;align-items:center;margin:20px 0}.tent-card>img{width:110px;height:110px;border-radius:8px;object-fit:cover}.tent-card h3,.tent-card p{margin:0 0 8px}.cost{color:#dfaa83;font-size:11px}.cost.enough{color:#bed597}.future-icon img{width:80px;height:80px;object-fit:cover;border-radius:10px;margin:8px 0}.traveler-card{display:flex;width:100%;align-items:center;gap:14px;padding:13px;margin:20px 0 24px;text-align:left}.traveler-card.selected{border-color:#cbbc80;background:#314737}.traveler-card img{width:60px;height:60px;border-radius:5px}.traveler-card b{font-weight:500;font-size:14px}.traveler-card small{display:block;font-size:8px;margin-top:9px;color:#c5cda6;letter-spacing:1px}.traveler-card i{margin-left:auto;font-style:normal;color:#d6c589}#modal.character-mode{background:linear-gradient(90deg,#152a26dd,transparent);backdrop-filter:none;justify-items:start;padding-left:6vw}.panel.character-panel{width:370px;background:#20372fe8}.character-panel .primary{width:100%}#rest-overlay{position:fixed;left:50%;bottom:140px;transform:translate(-50%);z-index:18;text-align:center;padding:22px 30px;background:#1d302de8;border:1px solid #d5c99c50;border-radius:8px;width:420px;max-width:90vw}#rest-overlay h2{font-size:27px;margin:9px 0}#rest-overlay p{font-size:11px;line-height:1.6;color:#cbd4c1}#rest-overlay button{font-size:11px;padding:8px 18px}.night .vignette{background:radial-gradient(ellipse at 50% 50%,transparent 40%,#03081655)}#placement-bar{bottom:152px}#toast{top:106px;z-index:45}.panel{max-height:calc(100dvh - 36px)}@media(max-height:600px){.menu-top{top:12px;font-size:7px}.menu-content{padding-top:14px}#menu h1{font-size:47px;margin:14px 0}.menu-content .intro{font-size:13px;line-height:1.5;margin-bottom:12px}.character-choice{margin-bottom:10px;padding:7px 10px}.character-choice img{width:29px;height:29px}.character-choice small{font-size:6px;margin-bottom:3px}.character-choice b{font-size:10px}.character-choice i{font-size:8px}.menu-links{margin-top:10px}.menu-footer{margin-top:12px;font-size:7px}.secondary{margin-top:6px;padding:6px}.identity{top:12px;left:18px;transform:scale(.75)}#wellbeing{top:76px;left:18px;transform:scale(.75);transform-origin:top left}.quest{top:124px;left:18px;width:200px}.quest>small{font-size:7px}.quest h2{font-size:15px}.quest #quest-count{font-size:8px}#gold{top:16px;left:202px;padding:3px 9px 3px 3px;font-size:10px}#gold img{width:22px;height:22px}#day-clock{top:48px;font-size:8px;gap:5px}#phase-icon{font-size:14px}#day-label{font-size:6px}#survival-actions{bottom:80px;left:18px;gap:5px}#survival-actions button{padding:5px 7px;gap:5px}#survival-actions img{width:21px;height:21px}#survival-actions b{font-size:10px}#survival-actions small{font-size:6px}.quick-actions button{width:45px;height:43px;padding:3px}.quick-actions img{width:25px;height:25px}.quick-actions small{font-size:7px}.resource{padding:2px 6px;gap:4px}.resource img{width:25px;height:25px}.resource span{font-size:5px}.resource b{font-size:13px}#bag-button{padding:2px 5px}#bag-button img{width:26px;height:26px}#resources{bottom:22px}.desktop-hint{bottom:78px;font-size:8px}#tutorial{width:340px;padding:17px 21px}#tutorial h3{font-size:21px;margin:8px 0}#tutorial p{font-size:11px;line-height:1.5;margin-bottom:10px}#tutorial button{padding:8px}.needs-summary{margin:10px 0}.needs-summary span{padding:7px 4px;font-size:8px}.needs-summary b{font-size:16px}.inventory-list .journal-row{padding:3px}.inventory-list .journal-row img{width:25px;height:25px}.tent-card{margin:12px 0}.tent-card>img{width:85px;height:85px}.tent-card h3{font-size:20px}.future-icon img{width:55px;height:55px}#toast{top:73px;font-size:10px}#rest-overlay{bottom:90px;padding:12px 20px;width:350px}#rest-overlay h2{font-size:23px}#rest-overlay p{margin-bottom:8px;font-size:10px}#placement-bar{bottom:86px}.panel.character-panel{width:330px}.traveler-card{margin:12px 0;padding:9px}.traveler-card img{width:42px;height:42px}.character-panel .note{margin-bottom:12px}}body.touch #survival-actions{left:auto;right:24px;bottom:123px}body.touch #survival-actions button{padding:5px}body.touch #survival-actions small{display:none}body.touch #survival-actions img{width:21px;height:21px}body.touch .collect{bottom:180px}body.touch .quick-actions{right:22px;bottom:18px}body.touch .quick-actions button{width:39px;height:40px}body.touch .quick-actions img{width:24px;height:24px}body.touch #resources{bottom:18px}body.touch .quest{max-width:195px}body.touch .quest #quest-count{display:block}body.touch .quest .oasis-goal{display:none}body.touch .quest p{font-size:9px;margin-bottom:6px}body.touch #rest-overlay{bottom:82px;max-width:50vw}body.touch #rest-overlay h2{font-size:21px}@media(max-width:750px){.menu-content{max-width:46vw}#menu h1{font-size:38px;letter-spacing:2px}#menu h1 span{font-size:7px;letter-spacing:4px}.menu-top{font-size:6px}.menu-top span:last-child{max-width:170px;text-align:right}.character-choice b{font-size:9px}.character-choice i{font-size:7px}.menu-content .intro{font-size:11px}.character-choice{gap:8px}.menu-footer{font-size:6px}.character-tag{font-size:10px;right:10%}.character-tag small{font-size:6px}.identity{transform:scale(.65);left:12px}.identity strong{font-size:18px}#wellbeing{left:12px;top:67px;transform:scale(.65)}#gold{left:174px;top:17px;padding:2px 6px;font-size:9px}#gold img{width:18px;height:18px}.quest{top:109px;left:12px;max-width:165px!important;padding:7px 9px}.quest h2{font-size:13px;margin:7px 0}.quest p{font-size:8px!important}.quest>small{font-size:6px}.quest>small span{margin-left:5px}.quest #quest-count{font-size:7px}#day-clock{font-size:7px;gap:4px}#day-label{display:none}.resource{padding:2px 4px;gap:3px}.resource img{width:20px;height:20px}.resource b{font-size:12px}.resource span{font-size:4.5px;letter-spacing:.7px}#bag-button{padding:2px 4px}#bag-button img{width:23px;height:23px}#resources{left:49%}.quick-actions{right:12px!important;gap:4px}.quick-actions button{width:33px!important}.quick-actions small{font-size:6px}.quick-actions img{width:22px;height:22px}.desktop-hint{font-size:7px}.desktop-hint span{margin-left:5px}#survival-actions{bottom:84px}body.touch #survival-actions{right:17px;bottom:121px}body.touch .collect{right:17px;bottom:174px;padding:7px 12px}.collect b{font-size:11px}.collect span{font-size:9px}#placement-bar{bottom:77px}.panel{padding:23px;max-height:calc(100dvh - 24px)}#modal{padding:12px}.panel.character-panel{max-width:47vw;padding:20px}.character-panel h2{font-size:24px}.character-panel p{font-size:10px}.traveler-card img{width:33px;height:33px}.traveler-card b{font-size:11px}.traveler-card small{font-size:6px}.character-panel .primary{font-size:11px}.traveler-card{gap:8px}}#rest-overlay{left:auto;right:30px;bottom:120px;transform:none;width:330px}@media(max-height:600px){#rest-overlay{right:18px;bottom:80px;width:240px;padding:12px 15px}#rest-overlay h2{font-size:20px}}body.touch #rest-overlay{right:14px;bottom:82px;width:230px;max-width:38vw}@media(max-width:750px){body.touch #rest-overlay h2{font-size:17px}body.touch #rest-overlay p{font-size:9px}}#resources{z-index:6}.hp-number{font-size:9px;color:#e8d6b1;display:block;margin-top:3px}.hp-number b{font-size:11px}.low-health{color:#ff8b71}.identity strong{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.identity{min-height:78px}#traveler-labels{position:fixed;inset:0;pointer-events:none}.traveler-name{position:absolute;top:0;left:0;font-size:10px;letter-spacing:1px;background:#20372bd9;border:1px solid #e4cb8c55;padding:4px 8px;border-radius:4px;color:#f1ddaa;white-space:nowrap}#building-labels{position:fixed;inset:0;pointer-events:none}.building-name{position:absolute;top:0;left:0;font-size:8px;letter-spacing:.9px;text-transform:uppercase;background:#1d3126cc;border:1px solid #e4cb8c40;padding:2px 6px;border-radius:3px;color:#f0dcae;white-space:nowrap;box-shadow:0 1px 5px #0b171166}#save-game{position:absolute;right:29px;top:251px;font-size:10px;padding:7px 15px;z-index:7}#motion-actions{position:absolute;right:30px;bottom:115px;display:flex;gap:7px;z-index:6}#motion-actions button{width:49px;height:47px;padding:3px;font-size:21px}#motion-actions small{display:block;font-size:7px}.build-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.build-grid article{background:#ffffff05;border:1px solid #d0bd8830;border-radius:7px;padding:14px}.build-grid img{width:52px;height:52px;float:right;border-radius:7px;margin-left:7px}.build-grid h3{font-size:20px;margin:5px 0 10px}.build-grid p{font-size:11px;min-height:38px}.build-grid small{display:block;color:#d5c48e;font-size:10px;margin-bottom:10px}.build-grid button{width:100%;font-size:10px;padding:9px}.name-label{display:block;font-size:11px;color:#d2c49f}.name-label input{display:block;width:100%;margin-top:8px;padding:10px;background:#122921;border:1px solid #cebc7b77;border-radius:4px;color:#f8e7bf;touch-action:manipulation}.setting input[type=number]{width:100px;padding:7px;color:#f3dfb2;background:#142c24;border:1px solid #bea97466}.setting input[type=range]{max-width:190px;touch-action:pan-x;accent-color:#d4bf83}.setting input[type=checkbox]{accent-color:#d4bf83;width:20px;height:20px}.trade-tabs{display:flex;gap:10px}.trade-tabs button{flex:1}.trade-tabs [aria-pressed=true]{background:#c4b27e;color:#1b3028}.balance b{color:#e2c36d;font-size:20px;margin-left:8px}.danger{color:#f1ae8e;border-color:#bf785860}details{font-size:11px;line-height:1.7;padding:12px;background:#ffffff05}summary{cursor:pointer;color:#e2d09b}.panel button:disabled{cursor:not-allowed}#toast.show{position:fixed;z-index:45}#placement-bar{max-width:96vw;white-space:normal}#placement-name{max-width:220px}@media(max-height:600px){#save-game{top:162px;right:18px;padding:5px 11px;font-size:9px}#motion-actions{right:22px;bottom:80px;gap:5px}#motion-actions button{width:39px;height:38px;font-size:17px}.build-grid{gap:8px}.build-grid article{padding:10px}.build-grid p{min-height:30px}.build-grid h3{font-size:18px}.build-grid img{width:40px;height:40px}.build-grid small{font-size:9px}}body.touch #motion-actions{right:87px;bottom:69px}body.touch #motion-actions button{width:36px;height:38px}body.touch #save-game{top:158px;right:20px}body.touch .quest{max-width:175px}.touch #toast{max-width:55%;left:50%;top:78px}.touch #placement-bar{bottom:65px}.touch #placement-name{max-width:135px}@media(max-width:750px){body.touch #save-game{top:157px;right:13px}body.touch #motion-actions{right:81px;bottom:67px;gap:4px}.touch #motion-actions button{width:31px}.touch .quest{max-width:152px!important}.touch #survival-actions{bottom:116px}.touch .collect{bottom:164px;right:126px}.build-grid article{padding:9px}.journal-row{gap:8px}.journal-row button{font-size:10px;padding:8px}.setting{gap:10px}}img.clean-icon{background:#efe4c9;mix-blend-mode:normal;object-fit:contain;border-radius:7px;padding:3px;box-shadow:inset 0 0 0 1px #7d69472b}.avatar{background-color:#efe4c9}.quick-actions img.clean-icon{border-radius:5px}#gold img.clean-icon{border-radius:50%;padding:2px}.build-grid img.clean-icon{padding:4px}#bag-button img.clean-icon{padding:2px}.traveler-name{max-width:130px;overflow:hidden;text-overflow:ellipsis}.bottle-meter{display:block;width:58px;height:5px;background:#192f35;border-radius:4px;overflow:hidden;margin:4px 0}.bottle-meter i{display:block;height:100%;width:100%;background:#8ad9e4}#save-game{min-width:74px}#animals-button{position:absolute;right:29px;top:286px;font-size:10px;padding:8px 12px;z-index:7}#animal-count{margin-left:7px;color:#ebd48c}.care-low{border-color:#dd9c66!important}.animal-stocks{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0}.animal-stocks span{padding:12px;background:#ffffff08;border:1px solid #bfb68835;border-radius:6px;font-size:11px}.animal-stocks b{display:block;font-size:16px;margin-top:8px;color:#e6d3a1}.care-warning{border-left:3px solid #d0a06e;padding:10px 14px;background:#d3a16812;color:#f0c5a2!important}.animal-shelter-panel{margin:18px 0;padding:13px 15px;border:1px solid #d6ca9133;border-radius:6px;background:#1e2f2466}.animal-shelter-panel h3{display:flex;align-items:center;gap:10px;margin:0 0 8px;font-size:16px}.animal-shelter-panel h3 .animal-icon{width:38px;height:38px;padding:3px;border-radius:9px}.animal-shelter-panel p{margin:0 0 10px;font-size:12.5px;line-height:1.5;color:var(--muted)}.animal-shelter-panel .care-warning{color:#f0c5a2!important;margin-bottom:10px}.animal-shelter-panel .panel-actions{margin:0}.animal-card.sheltered .animal-heading span{color:var(--green)}.animal-card{padding:18px;margin:14px 0;background:#ffffff05;border:1px solid #c4b58d40;border-radius:8px}.animal-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.animal-heading h3{margin:0 0 12px;font-size:22px}.animal-heading>span{font-size:10px;color:#b8c6a7}.animal-vitals{display:flex;gap:16px;margin:8px 0 18px}.animal-stat{flex:1}.animal-stat span{display:flex;justify-content:space-between;font-size:10px}.animal-stat i{display:block;height:4px;background:#ffffff20;margin-top:7px;overflow:hidden}.animal-stat em{display:block;height:100%}.animal-buttons{display:flex;flex-wrap:wrap;gap:7px}.animal-buttons button{font-size:11px;padding:8px 12px}.animal-offer{display:flex;align-items:center;gap:14px;border:1px solid #d0bd8850;padding:16px;border-radius:7px;margin-bottom:14px}.animal-offer p{font-size:11px;margin:7px 0 0}.animal-offer button{min-width:125px;font-size:11px}.paw{font-size:36px;color:#e4cc94}.animal-market{margin-top:28px;padding-top:20px;border-top:1px solid #bdb18550}.water-options{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.water-options button{display:flex;flex-direction:column;gap:14px;align-items:center;padding:25px 12px}.water-options span{font-size:25px;color:#9fd0ce}.water-options small{font-size:11px}.deceased{opacity:.8}@media(max-height:600px){#animals-button{top:192px;right:18px;font-size:9px;padding:5px 10px}.animal-card{padding:12px}.animal-heading h3{font-size:18px}.animal-stocks{margin:12px 0}.animal-stocks span{padding:9px;font-size:9px}.animal-stocks b{font-size:13px}.animal-offer{flex-wrap:wrap}.animal-offer>div{flex:1}.animal-offer button{width:100%}}body.touch #animals-button{top:190px;right:20px}@media(max-width:750px){body.touch #animals-button{top:187px;right:13px}.animal-heading{align-items:start}.animal-heading>span{max-width:95px}.animal-stocks{gap:5px}.animal-buttons button{font-size:10px}.water-options button{padding:15px 8px}}#animals-button{display:flex;align-items:center;gap:5px}#animals-button img{width:19px;height:19px}.animal-offer .paw{width:48px;height:48px;flex-shrink:0}@media(max-height:600px){#animals-button img{width:16px;height:16px}}.animal-icon{width:64px;height:64px;object-fit:contain;flex:none;padding:5px;border-radius:14px;background:#f3e6c7;border:1px solid #c7ad76;box-sizing:border-box}.animal-heading .animal-icon{width:48px;height:48px}.animal-heading h3{flex:1}.animal-feed-row{gap:12px}.animal-feed-row>span{flex:1}.animal-stocks .animal-icon{display:block;width:44px;height:44px;margin:0 auto 7px}.water-options .animal-icon{width:90px;height:90px;margin:0 auto 8px}.animal-offer .animal-icon{width:76px;height:76px}@media(max-width:700px){.animal-icon{width:48px;height:48px}.animal-offer .animal-icon{width:55px;height:55px}.animal-heading{flex-wrap:wrap}.animal-heading>span{width:100%}.water-options .animal-icon{width:64px;height:64px}}#sandstorm{position:fixed;inset:0;z-index:0;pointer-events:none;opacity:0;transition:opacity .5s linear;background:radial-gradient(130% 95% at 50% 42%,#e8c4898c,#ce9e5ed1 52%,#ac7c42f2)}#sandstorm:after{content:"";position:absolute;inset:-25%;opacity:0;transition:opacity .6s linear;background:repeating-linear-gradient(104deg,#ffecc61a 0 2px,#ffecc600 2px 11px),repeating-linear-gradient(97deg,#9668341f 0 1px,#96683400 1px 17px)}#sandstorm.active:after{opacity:1;animation:sand-drift 1.05s linear infinite}@keyframes sand-drift{0%{transform:translateZ(0)}to{transform:translate3d(-8.5%,2.6%,0)}}@media(prefers-reduced-motion:reduce){#sandstorm.active:after{animation:none}}#weather{position:absolute;top:96px;left:50%;transform:translate(-50%);z-index:6;font:600 11px/1 IBM Plex Mono,ui-monospace,monospace;letter-spacing:.14em;padding:7px 14px;border-radius:3px;white-space:nowrap;text-transform:uppercase}#weather.storm-soon{background:#784812db;color:#ffdfa8;border:1px solid rgba(255,203,120,.5);animation:weather-pulse 1.5s ease-in-out infinite}#weather.storm-active{background:#60300ce6;color:#ffd7a2;border:1px solid rgba(255,183,96,.55)}@keyframes weather-pulse{0%,to{opacity:1}50%{opacity:.55}}@media(prefers-reduced-motion:reduce){#weather.storm-soon{animation:none}}@media(max-width:700px){#weather{top:78px;font-size:10px;padding:5px 10px}}#shelter-alert{position:absolute;right:29px;top:321px;z-index:8;font:600 10px/1 Segoe UI,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;padding:8px 12px;border-radius:5px;white-space:nowrap;cursor:pointer;background:#3a542af0;color:#e8f2cf;border:1px solid rgba(195,206,145,.65);animation:weather-pulse 1.8s ease-in-out infinite}#shelter-alert:hover,#shelter-alert:focus-visible{background:#4a6836fa;color:#fff;animation:none}@media(prefers-reduced-motion:reduce){#shelter-alert{animation:none}}@media(max-height:600px){#shelter-alert{top:222px;right:18px;font-size:9px;padding:5px 10px}}@media(max-width:750px){#shelter-alert{top:217px;right:13px;font-size:9px;padding:5px 10px}}.animal-rename{display:flex;gap:6px;align-items:center;margin:4px 0 0;flex:1 1 100%}.animal-rename input{flex:1 1 auto;min-width:0;padding:5px 8px;border-radius:3px;border:1px solid rgba(255,255,255,.18);background:#00000038;color:inherit;font:inherit;font-size:13px}.animal-rename button{padding:5px 10px;font-size:12px}.build-count{display:block;opacity:.65;margin:2px 0 6px}:root{--gut:14px;--tap:44px}body{font-size:13px}button{padding:7px 12px;border-radius:5px}.primary{padding:12px 18px;box-shadow:0 4px 18px #1114}.primary span{font-size:18px;line-height:15px}.eyebrow{font-size:9px;letter-spacing:2.4px}.menu-top{top:16px;font-size:8px}.menu-content{margin-left:6vw;width:380px;max-width:42vw}#menu h1{font-size:clamp(34px,4.1vw,58px);letter-spacing:4px;margin:18px 0}#menu h1 span{font-size:9px;letter-spacing:6px;margin-top:14px}.menu-content .intro{font:15px/1.6 Georgia;margin-bottom:18px}.character-choice{width:290px;padding:9px 11px;gap:10px;margin-bottom:14px}.character-choice img{width:34px;height:34px}.character-choice b{font-size:12px}#menu .primary{max-width:290px;padding:12px 18px;font-size:13px}.secondary{width:290px;font-size:11px;padding:8px}.menu-links{margin-top:14px}.menu-links button{font-size:11px}.menu-footer{margin-top:20px;font-size:7px;line-height:2}.character-tag{font-size:11px;bottom:12%}.character-tag small{font-size:7px;margin-top:6px}.identity{top:var(--gut);left:var(--gut);width:186px;min-height:0;padding:7px 11px 7px 7px;gap:10px}.avatar{width:34px;height:34px}.identity small{font-size:7px;letter-spacing:1.4px}.identity strong{font:14px Georgia;margin:3px 0 5px;max-width:120px}.identity strong span{font-size:9px;margin-left:14px}.hp-number{font-size:8px;margin-top:2px}.hp-number b{font-size:10px}.vital{width:104px;height:3px}#wellbeing{top:90px;left:var(--gut);width:186px;padding:6px 9px;gap:8px}#wellbeing>img{width:24px;height:24px}.need-line{gap:6px;margin:3px 0}.need-line small{font-size:6px;width:28px}.need-line b{font-size:8px;min-width:16px}.quest{top:146px;left:var(--gut);width:186px;padding:9px 11px}.quest>small{font-size:7px}.quest h2{font-size:14px;margin:7px 0 6px}.quest p{font-size:9px;margin-bottom:8px}.quest-progress{max-width:140px}.quest #quest-count{font-size:8px;margin-top:6px}.oasis-goal{font-size:9px;margin-top:9px}#gold{left:208px;top:16px;font-size:10px;padding:3px 9px 3px 3px}#gold img{width:21px;height:21px}.compass{top:12px;gap:20px;font-size:10px}.compass i{top:14px;font-size:7px}#day-clock{top:38px;font-size:9px;gap:6px}#phase-icon{font-size:14px}#day-label{font-size:6px}#notices{position:fixed;top:60px;left:50%;transform:translate(-50%);z-index:45;display:flex;flex-direction:column;align-items:center;gap:5px;width:max-content;max-width:52vw;pointer-events:none}#weather,#toast,#toast.show,#shelter-alert{position:static;left:auto;top:auto;right:auto;transform:none;max-width:100%}#weather{font-size:9px;padding:5px 11px;letter-spacing:.12em}#shelter-alert{font-size:9px;padding:7px 12px;pointer-events:auto;min-height:30px}#toast{font-size:11px;padding:7px 14px;border-radius:5px;line-height:1.35}#toast:not(.show){visibility:hidden;height:0;padding:0;border-width:0;overflow:hidden}.map-wrap{top:var(--gut);right:var(--gut);width:118px}.map-top{font-size:8px;margin-bottom:5px}.map-top button{padding:2px 6px;font-size:13px}#minimap{width:96px;height:96px;border-width:1px;outline-width:3px}.map-wrap>small{font-size:7px;margin:5px}#save-game{top:160px;right:var(--gut);font-size:9px;padding:6px 11px;min-width:64px}#animals-button{top:196px;right:var(--gut);font-size:9px;padding:6px 10px;gap:4px}#animals-button img{width:16px;height:16px}#survival-actions{left:var(--gut);bottom:74px;gap:6px}#survival-actions button{padding:5px 8px;gap:6px}#survival-actions img{width:22px;height:22px}#survival-actions b{font-size:11px}#survival-actions small{font-size:6px;margin-top:2px}.bottle-meter{width:46px;height:4px}.location{left:var(--gut);bottom:20px;font-size:8px;gap:9px}.sun-icon{font-size:22px}.location small{font-size:7px;margin-top:4px}#resources{bottom:24px;padding:5px 3px;border-radius:6px}.resource{padding:2px 8px;gap:5px}.resource img{width:22px;height:22px}.resource span{font-size:5.5px}.resource b{font-size:13px;margin-top:2px}#bag-button{padding:3px 7px}#bag-button img{width:26px;height:26px}.bag-label{font-size:6px;bottom:-13px}.desktop-hint{bottom:74px;font-size:8px}.desktop-hint span{margin-left:9px}kbd{font-size:8px;padding:1px 3px}.collect{bottom:116px;padding:7px 11px;gap:8px;border-radius:5px}.collect kbd{font-size:13px;padding:4px 7px}.collect span{font-size:9px}.collect b{font-size:12px;margin-top:2px}.quick-actions{right:var(--gut);bottom:24px;gap:6px}.quick-actions button{width:44px;height:44px;padding:3px}.quick-actions img{width:22px;height:22px}.quick-actions small{font-size:7px}#motion-actions{right:var(--gut);bottom:74px;gap:6px}#motion-actions button{width:44px;height:40px;font-size:17px;padding:2px}#motion-actions small{font-size:6px}.traveler-name{font-size:9px;padding:3px 6px;max-width:110px}.building-name{font-size:7px;padding:2px 5px}#modal{padding:14px}.panel{width:430px;padding:22px;border-radius:9px;max-height:calc(100dvh - 28px)}.panel h2{font-size:22px;margin-bottom:10px}.panel h3{font-size:15px;margin:16px 0 8px}.panel p,.panel li{font-size:11px;line-height:1.55}.panel .eyebrow{margin-bottom:10px}.close{right:8px;top:8px;width:34px;height:34px;padding:0;font-size:20px;line-height:1}.panel-actions{gap:7px;margin-top:14px}.panel-actions button{font-size:11px;padding:9px 12px}.setting{margin:12px 0;font-size:11px}.setting select,.setting input[type=number]{padding:5px}.setting input[type=checkbox]{width:17px;height:17px}.note{font-size:9px!important}.controls-grid{gap:8px;margin:14px 0}.controls-grid div{padding:9px;font-size:10px;line-height:1.55}.needs-summary{gap:6px;margin:12px 0}.needs-summary span{font-size:9px;padding:8px 4px}.needs-summary b{font-size:15px;margin-top:3px}.journal-row{gap:10px;margin:7px 0;padding:6px}.journal-row img{width:28px;height:28px}.journal-row span{font-size:11px}.journal-row small{font-size:8px;margin-top:3px}.journal-row button{font-size:10px;padding:6px 10px}.inventory-list .journal-row img{width:26px;height:26px}.build-grid{gap:9px}.build-grid article{padding:10px}.build-grid img{width:38px;height:38px;border-radius:6px}.build-grid h3{font-size:15px;margin:3px 0 7px}.build-grid p{font-size:10px;min-height:30px}.build-grid small{font-size:9px;margin-bottom:7px}.build-grid button{font-size:10px;padding:8px}.editor-grid img{width:36px;height:36px}.tent-card{gap:14px;margin:14px 0}.tent-card>img{width:76px;height:76px}.traveler-card{gap:10px;padding:9px;margin:12px 0 16px}.traveler-card img{width:44px;height:44px}.traveler-card b{font-size:12px}.traveler-card small{font-size:7px;margin-top:6px}.animal-icon{width:44px;height:44px;padding:4px;border-radius:10px}.animal-heading .animal-icon{width:34px;height:34px}.animal-heading h3{font-size:17px;margin-bottom:8px}.animal-heading>span{font-size:9px}.animal-card{padding:12px;margin:10px 0}.animal-vitals{gap:12px;margin:6px 0 12px}.animal-stat span{font-size:9px}.animal-buttons button{font-size:10px;padding:7px 10px}.animal-stocks{gap:6px;margin:12px 0}.animal-stocks span{padding:9px;font-size:10px}.animal-stocks b{font-size:13px;margin-top:5px}.animal-stocks .animal-icon{width:32px;height:32px;margin-bottom:5px}.animal-shelter-panel{margin:12px 0;padding:10px 12px}.animal-shelter-panel h3{font-size:13px;gap:8px}.animal-shelter-panel h3 .animal-icon{width:28px;height:28px;border-radius:7px}.animal-shelter-panel p{font-size:10.5px;line-height:1.45}.animal-offer{gap:10px;padding:11px;margin-bottom:10px}.animal-offer .animal-icon,.animal-offer .paw{width:48px;height:48px}.animal-offer p{font-size:10px}.animal-offer button{min-width:105px;font-size:10px}.animal-market{margin-top:18px;padding-top:14px}.water-options{gap:12px;margin:16px 0}.water-options button{gap:9px;padding:14px 10px}.water-options .animal-icon{width:52px;height:52px;margin-bottom:4px}.water-options small{font-size:10px}.care-warning{padding:8px 11px}.balance b{font-size:16px}.name-label{font-size:10px}.name-label input{padding:7px;margin-top:5px}details{font-size:10px;padding:9px}#modal.character-mode{background:#0b1b19a8;backdrop-filter:blur(9px);justify-items:center;padding-left:14px}.panel.character-panel{width:330px;max-width:92vw;padding:20px}#tutorial{width:296px;max-width:80vw;padding:16px 18px;border-radius:7px}#tutorial h3{font-size:16px;margin:9px 0}#tutorial p{font-size:10px;line-height:1.55;margin-bottom:12px}#tutorial button{padding:8px;font-size:11px}#rest-overlay{right:var(--gut);bottom:156px;left:auto;transform:none;width:194px;max-width:44vw;padding:10px 12px;border-radius:6px}#rest-overlay .eyebrow{font-size:7px;letter-spacing:1.6px}#rest-overlay h2{font-size:13px;line-height:1.25;margin:5px 0 4px}#rest-overlay p{font-size:9px;line-height:1.45;margin-bottom:8px}#rest-overlay button{font-size:9px;padding:6px 12px}#placement-bar{bottom:116px;padding:6px;gap:6px;border-radius:5px}#placement-name{font-size:10px;margin:0 6px;max-width:180px}#placement-bar button{padding:7px 10px;font-size:10px}#placement-bar .primary{padding:8px 12px}body.touch .quick-actions{right:var(--gut)!important;bottom:14px;gap:6px}body.touch .quick-actions button{width:var(--tap)!important;height:var(--tap);padding:3px}body.touch .quick-actions img{width:22px;height:22px}body.touch #motion-actions{right:172px;bottom:14px;gap:6px}body.touch #motion-actions button{width:var(--tap)!important;height:var(--tap);font-size:17px}body.touch #sprint{right:var(--gut);bottom:66px;width:var(--tap);height:var(--tap);font-size:19px;padding:2px}body.touch #survival-actions{left:auto;right:66px;bottom:66px;gap:6px}body.touch #survival-actions button{padding:4px 8px;min-height:var(--tap)}body.touch .collect{left:auto;right:var(--gut);bottom:118px;transform:none;min-height:var(--tap);padding:7px 12px}body.touch #bag-button{min-width:var(--tap);min-height:var(--tap);display:flex;align-items:center;justify-content:center}body.touch #resources{bottom:14px}body.touch #save-game{top:152px;right:var(--gut);min-height:36px}body.touch #animals-button{top:196px;right:var(--gut);min-height:36px}body.touch .map-top button{min-width:38px;min-height:36px;font-size:15px}body.touch .joy-ring{left:34px;bottom:30px;width:84px;height:84px}body.touch #stick{left:54px;bottom:50px;width:40px;height:40px}body.touch #joystick>span{left:60px;bottom:13px}body.touch .quest{max-width:176px}body.touch #rest-overlay{left:50%;right:auto;transform:translate(-50%);bottom:66px;width:200px;max-width:40vw}@media(max-height:620px){.identity{top:10px;left:10px;width:164px;padding:5px 9px 5px 5px;gap:8px}.avatar{width:28px;height:28px}.identity strong{font-size:12px;margin:2px 0 4px}.vital{width:92px}#wellbeing{top:76px;left:10px;width:164px;transform:none;padding:5px 8px}#wellbeing>img{width:21px;height:21px}.quest{top:126px;left:10px;width:164px;padding:7px 9px}.quest h2{font-size:12px;margin:5px 0}.quest p{font-size:8px;margin-bottom:6px}#gold{left:182px;top:11px;font-size:9px}#gold img{width:18px;height:18px}.compass{top:9px;gap:15px;font-size:9px}.compass i{top:12px}#day-clock{top:30px;font-size:8px}#phase-icon{font-size:12px}#notices{top:50px;max-width:56vw}#toast{font-size:10px;padding:6px 11px}#weather{font-size:8px;padding:4px 9px}#shelter-alert{font-size:8px;padding:6px 10px;min-height:28px}.map-wrap{top:8px;right:10px;width:96px}#minimap{width:74px;height:74px}.map-top{margin-bottom:3px}.map-wrap>small{margin:3px}#save-game{top:126px;right:10px;font-size:8px;padding:5px 9px}#animals-button{top:160px;right:10px;font-size:8px;padding:5px 9px}#survival-actions{left:10px;bottom:58px}#survival-actions img{width:19px;height:19px}#survival-actions b{font-size:10px}.location{left:10px;bottom:12px}.sun-icon{font-size:18px}#resources{bottom:14px;padding:4px 2px}.resource img{width:19px;height:19px}.resource b{font-size:11px}#bag-button img{width:22px;height:22px}.bag-label{bottom:-11px}.desktop-hint{bottom:58px;font-size:7px}.collect{bottom:96px}.quick-actions{bottom:14px;right:10px}.quick-actions button{width:40px;height:40px}.quick-actions img{width:20px;height:20px}#motion-actions{bottom:58px;right:10px}#motion-actions button{width:40px;height:36px;font-size:15px}.panel{width:400px;padding:16px;max-height:calc(100dvh - 20px)}.panel h2{font-size:18px}.panel h3{font-size:13px;margin:12px 0 6px}.panel p,.panel li{font-size:10px}#tutorial{width:270px;padding:13px 15px}#tutorial h3{font-size:14px}#tutorial p{font-size:9px}#rest-overlay{bottom:120px;width:176px;padding:8px 10px}#rest-overlay h2{font-size:12px}#rest-overlay p{font-size:8px}#placement-bar{bottom:96px}.panel.character-panel{width:300px}body.touch .quick-actions button{width:var(--tap)!important;height:var(--tap)}body.touch #motion-actions{right:168px;bottom:10px}body.touch #motion-actions button{width:var(--tap)!important;height:var(--tap)}body.touch #sprint{right:10px;bottom:62px}body.touch #survival-actions{right:62px;left:auto;bottom:62px}body.touch #survival-actions button{min-height:var(--tap)}body.touch .collect{bottom:114px;right:10px}body.touch #save-game{top:122px;right:10px;min-height:32px}body.touch #animals-button{top:162px;right:10px;min-height:32px}body.touch #resources{bottom:10px}body.touch .quick-actions{bottom:10px;right:10px!important}body.touch #rest-overlay{bottom:62px;width:184px}body.touch .joy-ring{left:26px;bottom:22px;width:76px;height:76px}body.touch #stick{left:44px;bottom:40px;width:38px;height:38px}body.touch #joystick>span{left:50px;bottom:6px}}@media(max-width:780px){.menu-content{max-width:52vw;width:330px}#menu h1{font-size:34px}.menu-content .intro{font-size:11px;margin-bottom:12px}.character-choice,#menu .primary,.secondary{width:240px;max-width:100%}.identity{width:150px}.identity strong{max-width:96px}.vital{width:84px}#wellbeing{width:150px}.quest{width:150px;max-width:150px!important}.quest p{font-size:8px!important}#gold{left:168px}#notices{max-width:62vw}#toast{font-size:9px;padding:5px 10px}.map-wrap{width:88px}#minimap{width:70px;height:70px}.resource{padding:2px 5px;gap:4px}.resource img{width:18px;height:18px}.resource b{font-size:10px}.resource span{font-size:4.5px}.desktop-hint{display:none}.panel{width:auto;max-width:94vw;padding:15px}.panel.character-panel{width:auto;max-width:82vw}.build-grid,.water-options,.controls-grid{grid-template-columns:1fr}.build-grid p{min-height:0}body.touch .quest{max-width:150px!important}body.touch #motion-actions{right:160px}}.map-top span{white-space:nowrap}body.touch .bag-label{display:none}body.touch .resource span{font-size:0}body.touch .resource b{font-size:12px;margin-top:0}body.touch #shelter-alert{min-height:32px}@media(max-height:620px){.map-top span{display:none}.map-top{justify-content:flex-end}#minimap{width:62px;height:62px}.map-wrap>small{margin:2px;font-size:6px}#save-game{top:132px}#animals-button{top:166px}body.touch #save-game{top:130px}body.touch #animals-button{top:170px}body.touch #motion-actions{right:164px}}@media(max-width:780px){body.touch .resource img{width:16px;height:16px}body.touch .resource{padding:2px 4px}body.touch #motion-actions{right:158px}}.animal-heading{flex-wrap:wrap}.animal-heading>span{width:100%;margin-top:4px}@media(max-height:620px){.menu-top{top:8px;font-size:6px}.menu-content{width:300px;max-width:46vw;padding-top:20px}#menu h1{font-size:30px;margin:10px 0;letter-spacing:3px}#menu h1 span{font-size:7px;letter-spacing:4px;margin-top:8px}.menu-content .intro{font-size:11px;line-height:1.45;margin-bottom:10px}.character-choice{width:248px;margin-bottom:8px;padding:6px 9px}.character-choice img{width:28px;height:28px}.character-choice b{font-size:10px}#menu .primary{max-width:248px;padding:9px 14px;font-size:11px}.secondary{width:248px;margin-top:6px;padding:6px;font-size:10px}.menu-links{margin-top:9px}.menu-links button{font-size:9px}.menu-footer{margin-top:10px;font-size:6px;line-height:1.9}.character-tag{font-size:9px;bottom:10%}.character-tag small{font-size:6px;margin-top:4px}}body.touch #rest-overlay h2{font-size:12px;line-height:1.25}body.touch #rest-overlay p{font-size:8px;line-height:1.4}body.touch #rest-overlay .eyebrow{font-size:6px}body.touch #rest-overlay button{font-size:9px;padding:5px 10px}body.touch #toast{max-width:100%}body.touch #placement-bar{bottom:150px}@media(max-height:620px){body.touch #placement-bar{bottom:146px}}#placement-bar{bottom:168px}@media(max-height:620px){#placement-bar{bottom:146px}}body.touch #placement-bar{bottom:170px}@media(max-height:620px){body.touch #placement-bar{bottom:170px}}body.touch #rest-overlay{bottom:74px;padding:8px 10px}@media(max-height:620px){body.touch #rest-overlay{bottom:74px}}body.touch #rest-overlay .eyebrow{display:none}body.touch #rest-overlay h2{margin:0 0 4px}body.touch #rest-overlay p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:6px}#map-actions{display:flex;justify-content:flex-end;gap:6px;margin-top:7px}#map-actions button{position:relative!important;inset:auto!important;width:38px;height:38px;min-width:0;padding:0;display:grid;place-items:center;font-size:17px;background:#1e352bdd}#map-actions img{width:22px;height:22px}#map-actions b{position:absolute;right:-4px;top:-5px;min-width:16px;height:16px;padding:0 3px;border-radius:9px;background:#dcc98e;color:#1f332a;font:600 9px/16px Segoe UI,Arial,sans-serif;text-align:center}#map-actions .care-low{border-color:#dd9c66!important}body.touch #map-actions button{width:var(--tap);height:var(--tap);font-size:19px}body.touch #map-actions img{width:24px;height:24px}@media(max-height:620px){#map-actions{gap:5px;margin-top:5px}#map-actions button{width:34px;height:34px;font-size:15px}#map-actions img{width:19px;height:19px}body.touch #map-actions button{width:40px;height:40px}}.hub-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 0 14px}.hub-grid button{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 6px;font-size:11px;background:#20392cbf}.hub-grid img{width:30px;height:30px;object-fit:contain}@media(max-width:620px){.hub-grid{grid-template-columns:repeat(2,1fr)}}#motion-actions,.desktop-hint{bottom:24px}.collect{bottom:78px}#placement-bar{bottom:130px}@media(max-height:620px){#motion-actions,.desktop-hint{bottom:14px}.collect{bottom:62px}#placement-bar{bottom:112px}}body.touch #motion-actions{right:66px;bottom:var(--gut);left:auto;top:auto;flex-direction:column;gap:60px}body.touch #motion-actions button{width:var(--tap);height:var(--tap);border-radius:50%;padding:0;font-size:19px}body.touch #motion-actions small{display:none}body.touch #survival-actions{right:var(--gut);bottom:66px;left:auto;top:auto;flex-direction:row;gap:60px}body.touch #survival-actions button{width:var(--tap);height:var(--tap);border-radius:50%;padding:0;flex-direction:column;justify-content:center;align-items:center;gap:2px}body.touch #survival-actions img{width:22px;height:22px}body.touch #survival-actions b,body.touch #survival-actions small{display:none}body.touch #survival-actions span{display:flex;flex-direction:column;align-items:center}body.touch #survival-actions .bottle-meter{width:20px;height:3px;margin:0}body.touch .collect{left:50%;right:auto;transform:translate(-50%);bottom:24px}body.touch .desktop-hint,body.touch .location{display:none}body.touch #placement-bar{bottom:124px}@media(max-height:620px){body.touch #motion-actions{right:62px;bottom:10px;gap:56px}body.touch #survival-actions{right:10px;bottom:62px;gap:56px}body.touch .collect{bottom:18px}body.touch #placement-bar{bottom:118px}body.touch #rest-overlay{bottom:112px;left:50%;right:auto;transform:translate(-50%)}}#modal{padding:max(3.5vh,14px) max(3.5vw,16px)}.panel{width:min(560px,92vw);max-height:min(88vh,640px)}.panel.wide{width:min(880px,92vw)}.build-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.inventory-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:4px 14px}.controls-grid{grid-template-columns:repeat(auto-fit,minmax(185px,1fr))}.animal-stocks{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}@media(min-width:760px){.panel.wide #dialog-body{display:grid;grid-template-columns:1fr 1fr;gap:6px 18px;align-content:start;align-items:start}.panel.wide #dialog-body>*{grid-column:1/-1}.panel.wide #dialog-body>.journal-row,.panel.wide #dialog-body>.animal-card,.panel.wide #dialog-body>.traveler-card{grid-column:auto}}@media(max-width:780px){.panel,.panel.wide{width:auto;max-width:94vw}.build-grid,.water-options,.controls-grid{grid-template-columns:1fr}.inventory-list{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}.panel,.panel.wide{max-width:92vw}.map-wrap{width:max-content}#map-actions button{flex:none}#modal.character-mode{padding-left:max(3.5vw,16px)}body.touch #motion-actions{right:62px;gap:52px}body.touch #survival-actions{bottom:62px;gap:52px}@media(max-height:620px){body.touch #motion-actions{right:58px;bottom:10px;gap:50px}body.touch #survival-actions{right:10px;bottom:58px;gap:50px}body.touch #rest-overlay{bottom:106px}body.touch #placement-bar{bottom:202px}}body.touch #placement-bar{bottom:206px}@media(max-height:620px){body.touch #map-actions button{width:var(--tap);height:var(--tap)}body.touch #rest-overlay p{-webkit-line-clamp:1}body.touch #placement-bar{bottom:182px}}#rest-overlay{padding:8px 12px}#rest-overlay p{margin-bottom:0}body.touch #rest-overlay{left:50%;right:auto;transform:translate(-50%);bottom:14px;width:auto;max-width:44vw;padding:7px 12px;text-align:center}body.touch #rest-overlay h2{font-size:12px;margin:0 0 3px}body.touch #rest-overlay p{font-size:8px;margin:0;-webkit-line-clamp:2}@media(max-height:620px){body.touch #rest-overlay{bottom:12px;max-width:46vw;padding:6px 10px}body.touch #rest-overlay p{-webkit-line-clamp:2}}body.touch #map-actions button{width:36px;height:36px;font-size:16px}body.touch #map-actions img{width:20px;height:20px}body.touch #map-actions b{min-width:14px;height:14px;line-height:14px;font-size:8px;right:-3px;top:-4px}@media(max-height:620px){body.touch #map-actions button{width:34px;height:34px;font-size:15px}body.touch #map-actions img{width:19px;height:19px}}body.touch.resting .collect{bottom:70px}@media(max-height:620px){body.touch.resting .collect{bottom:64px}}:root{--wheel:150px}#action-wheel{display:none}body.touch #action-wheel{display:block;position:absolute;right:var(--gut);bottom:var(--gut);width:var(--wheel);height:var(--wheel);border-radius:50%;overflow:hidden;z-index:5;border:1px solid #ece8bd66;background:#20352b30;box-shadow:inset 0 0 20px #fff1}body.touch #action-wheel:before,body.touch #action-wheel:after{content:"";position:absolute;left:50%;top:0;width:1px;height:100%;background:#ece8bd2e;pointer-events:none}body.touch #action-wheel:before{transform:translate(-50%) rotate(45deg)}body.touch #action-wheel:after{transform:translate(-50%) rotate(-45deg)}body.touch #action-wheel button{position:absolute;inset:0;width:100%;height:100%;padding:0;margin:0;border:0;background:transparent;border-radius:0;display:grid;transition:background .12s}body.touch #action-wheel button:active{background:#efe4c92e}body.touch #action-wheel img{width:36px;height:36px;object-fit:contain;filter:drop-shadow(0 2px 4px #0b1a1466)}body.touch #action-wheel img.clean-icon{background:none;box-shadow:none;padding:0;border-radius:0}.wheel-n{clip-path:polygon(50% 50%,0 0,100% 0);place-items:start center;padding-top:8%}.wheel-e{clip-path:polygon(50% 50%,100% 0,100% 100%);place-items:center end;padding-right:6%}.wheel-s{clip-path:polygon(50% 50%,100% 100%,0 100%);place-items:end center;padding-bottom:8%}.wheel-w{clip-path:polygon(50% 50%,0 100%,0 0);place-items:center start;padding-left:6%}body.touch #motion-actions,body.touch #survival-actions{display:none}@media(max-height:620px){:root{--wheel:132px}body.touch #action-wheel{right:10px;bottom:10px}body.touch #action-wheel img{width:32px;height:32px}}.wheel-n{padding-top:12%}.wheel-s{padding-bottom:12%}.wheel-e{padding-right:13%}.wheel-w{padding-left:13%}body.touch #action-wheel img{width:40px;height:40px}@media(max-height:620px){body.touch #action-wheel img{width:36px;height:36px}}body.touch{--wheel:84px;--wheel-hit:104px;--wheel-icon:22px}body.touch #action-wheel{width:var(--wheel-hit);height:var(--wheel-hit);right:24px;bottom:20px;border:0;background:none;box-shadow:none;overflow:visible;border-radius:0}body.touch #action-wheel:before{content:"";position:absolute;left:50%;top:50%;width:var(--wheel);height:var(--wheel);transform:translate(-50%,-50%);border-radius:50%;border:1px solid #ece8bd66;background:#20352b28;box-shadow:inset 0 0 20px #fff1;pointer-events:none}body.touch #action-wheel:after{content:"";position:absolute;left:50%;top:50%;width:var(--wheel);height:var(--wheel);transform:translate(-50%,-50%);border-radius:50%;pointer-events:none;background:linear-gradient(45deg,transparent calc(50% - .5px),#ece8bd2e calc(50% - .5px),#ece8bd2e calc(50% + .5px),transparent calc(50% + .5px)),linear-gradient(-45deg,transparent calc(50% - .5px),#ece8bd2e calc(50% - .5px),#ece8bd2e calc(50% + .5px),transparent calc(50% + .5px))}body.touch #action-wheel button{place-items:center;padding:0;background:transparent}body.touch #action-wheel button:active{background:transparent}body.touch #action-wheel img{width:var(--wheel-icon);height:var(--wheel-icon)}body.touch #action-wheel button:active img{filter:brightness(1.4) drop-shadow(0 0 5px #f4e6b8aa)}.wheel-n img{transform:translateY(calc(var(--wheel) * -.212))}.wheel-s img{transform:translateY(calc(var(--wheel) * .212))}.wheel-e img{transform:translate(calc(var(--wheel) * .212))}.wheel-w img{transform:translate(calc(var(--wheel) * -.212))}@media(max-height:620px){body.touch{--wheel:76px;--wheel-hit:96px;--wheel-icon:20px}body.touch #action-wheel{right:16px;bottom:12px}}.wheel-n img{transform:translateY(calc(var(--wheel) * -.27))}.wheel-s img{transform:translateY(calc(var(--wheel) * .27))}.wheel-e img{transform:translate(calc(var(--wheel) * .27))}.wheel-w img{transform:translate(calc(var(--wheel) * -.27))}#map-actions button{background:none;border:0;box-shadow:none;border-radius:50%;width:auto;height:auto;padding:5px;font-size:0}#map-actions img{width:28px;height:28px;border-radius:50%;display:block}#map-actions img.clean-icon{background:none;box-shadow:none;padding:0;border-radius:50%}#map-actions .care-low img{outline:2px solid #dd9c66;outline-offset:1px}#map-actions b{right:0;top:-2px}body.touch #map-actions button{width:auto;height:auto;padding:calc((var(--tap) - var(--wheel-icon)) / 2)}body.touch #map-actions img{width:var(--wheel-icon);height:var(--wheel-icon)}body.touch #map-actions{gap:0;margin-top:2px}@media(max-height:620px){#map-actions button{width:auto;height:auto;padding:4px}#map-actions img{width:24px;height:24px}body.touch #map-actions button{padding:calc((var(--tap) - var(--wheel-icon)) / 2)}body.touch #map-actions img{width:var(--wheel-icon);height:var(--wheel-icon)}}#map-actions b{right:calc(50% - 19px);top:calc(50% - 19px);min-width:14px;height:14px;line-height:14px;font-size:8px}body.touch #map-actions b{right:calc(50% - var(--wheel-icon) / 2 - 5px);top:calc(50% - var(--wheel-icon) / 2 - 5px)}@media(max-height:620px){#map-actions b{right:calc(50% - 17px);top:calc(50% - 17px)}body.touch #map-actions b{right:calc(50% - var(--wheel-icon) / 2 - 5px);top:calc(50% - var(--wheel-icon) / 2 - 5px)}}#map-actions b{background:#1b2c24;color:#f2e4b6;border:1px solid #dcc98e8c;min-width:13px;height:13px;line-height:11px;font-size:8px;right:calc(50% - 21px);top:calc(50% - 21px)}body.touch #map-actions b{right:calc(50% - var(--wheel-icon) / 2 - 7px);top:calc(50% - var(--wheel-icon) / 2 - 7px)}@media(max-height:620px){#map-actions b{right:calc(50% - 19px);top:calc(50% - 19px)}body.touch #map-actions b{right:calc(50% - var(--wheel-icon) / 2 - 7px);top:calc(50% - var(--wheel-icon) / 2 - 7px)}}#map-actions button{padding:3px;margin:0 -1px}body.touch #map-actions button{padding:calc((32px - var(--wheel-icon)) / 2);margin:0 -1px}@media(max-height:620px){#map-actions button{padding:3px}body.touch #map-actions button{padding:calc((32px - var(--wheel-icon)) / 2)}}.boost-market{margin-top:28px;padding-top:20px;border-top:1px solid #bdb18550}.ticket-grid{display:grid;grid-template-columns:1fr;gap:10px;margin-top:14px}.panel.wide .ticket-grid{grid-template-columns:1fr 1fr}.market-ticket{display:flex;align-items:flex-start;gap:12px;padding:13px;background:#ffffff07;border:1px solid #d0bd8850;border-radius:8px}.market-ticket>img{width:58px;height:58px;flex:none;object-fit:contain;padding:4px;border-radius:12px;background:#f3e6c7;border:1px solid #c7ad76;box-sizing:border-box}.ticket-text{flex:1;min-width:0}.ticket-text b{display:block;font-size:13px;font-weight:500;color:#e9d6a9}.ticket-text em{display:inline-block;font-style:normal;font-size:9px;letter-spacing:1.2px;margin:5px 0 7px;padding:2px 7px;border-radius:10px;color:#20342f;background:#cfc38b}.ticket-text p{font-size:10.5px!important;line-height:1.6;margin:0}.ticket-text small{display:block;font-size:9px;color:#b9c8ac;margin-top:6px}.ticket-buy{margin-left:auto;padding-left:12px;text-align:right;flex:none;border-left:1px dashed #c8b98455;align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:8px}.ticket-buy span{display:block;font-size:11px;color:#e4cc94;white-space:nowrap}.ticket-buy button{font-size:11px;padding:8px 14px}.boost-button,.revive-button{position:relative;flex:none;padding:4px;background:#f3e6c7;border:1px solid #c7ad76;box-sizing:border-box}.boost-button{width:64px;height:64px;border-radius:14px}.revive-button{width:40px;height:40px;border-radius:50%;padding:3px}.boost-button img,.revive-button img{width:100%;height:100%;object-fit:contain;display:block}.boost-button b,.revive-button b{position:absolute;right:-5px;top:-5px;min-width:17px;padding:1px 4px;border-radius:9px;background:#1b2c24;color:#f2e4b6;border:1px solid #dcc98e8c;font-size:9px;font-weight:400;line-height:15px;text-align:center}.boost-button:disabled,.revive-button:disabled{filter:grayscale(1);opacity:.42;cursor:default}.revive-button.ready{box-shadow:0 0 0 2px #d8836f}.boost-slot{display:flex;align-items:center;gap:14px;margin:18px 0;padding:14px;background:#ffffff05;border:1px solid #c4b58d40;border-radius:8px}.boost-slot>div{flex:1;min-width:0}.boost-slot b{font-size:13px;font-weight:500;color:#e9d6a9}.boost-slot p{font-size:11px!important;margin:5px 0 0}.boost-slot small{display:block;font-size:9px;color:#b9c8ac;margin-top:5px}.boost-slot>button:not(.boost-button){font-size:11px;padding:8px 13px;flex:none}.boost-slot.boost-active .boost-button{box-shadow:0 0 0 2px #c3ce91}.animal-heading .revive-button{margin-left:auto;align-self:center}@media(max-width:750px){.market-ticket{flex-wrap:wrap}.market-ticket>img{width:44px;height:44px}.ticket-buy{border-left:0;padding-left:0;width:100%;flex-direction:row;align-items:center;justify-content:space-between;margin-left:0;border-top:1px dashed #c8b98455;padding-top:9px}.boost-button{width:52px;height:52px}}.journal{display:flex;flex-direction:column;gap:7px;width:250px;pointer-events:auto;background:linear-gradient(90deg,#1b302bdb 74%,#1b302b00)}.journal>small{font-size:7px;letter-spacing:2px;color:#d8dbc4c4;display:flex;align-items:baseline;gap:4px}#journal-day{color:#e3d3a0;letter-spacing:1.4px}#journal-day:before{content:"\b7  "}#journal-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px}#journal-list li{display:flex;gap:7px;align-items:baseline;font-size:9px;line-height:1.4;color:#cdd6c2;opacity:.72}#journal-list li b{flex:none;font-weight:400;font-size:8px;letter-spacing:.6px;color:#c9bd8b;font-variant-numeric:tabular-nums}#journal-list li.fresh{opacity:1;color:#f0ead2}#journal-list li.fresh b{color:#e9d6a9}.journal #weather,.journal #shelter-alert{position:static;left:auto;top:auto;right:auto;transform:none;max-width:100%;width:100%;text-align:left;font-size:9px;padding:5px 8px;border-radius:4px;box-sizing:border-box}.journal #shelter-alert{cursor:pointer}@media(max-height:620px){.journal{width:215px;gap:5px}#journal-list li{font-size:8px;gap:6px}}body.touch .journal{width:190px;gap:5px}body.touch #journal-list li{font-size:8px;line-height:1.35}body.touch #journal-list li b{font-size:7px}@media(max-width:750px){.journal{width:170px!important}#journal-list li{font-size:7.5px}}#rest-overlay{left:auto;right:var(--gut);top:50%;bottom:auto;transform:translateY(-50%);width:190px;max-width:38vw;padding:11px 13px;text-align:left}#rest-overlay h2{font-size:15px;margin:0 0 5px}#rest-overlay p{font-size:9.5px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}@media(max-height:620px){#rest-overlay{right:var(--gut);width:170px;padding:9px 11px}#rest-overlay h2{font-size:13px}}body.touch #rest-overlay{left:auto;right:var(--gut);top:50%;bottom:auto;transform:translateY(-50%);width:160px;max-width:34vw;padding:8px 10px}body.touch #rest-overlay h2{font-size:12px;margin:0 0 4px}body.touch #rest-overlay p{font-size:8.5px}@media(max-width:750px){body.touch #rest-overlay{width:140px;padding:7px 9px}body.touch #rest-overlay h2{font-size:11px}body.touch #rest-overlay p{font-size:8px}}body.touch.resting .collect{bottom:180px}@media(max-height:620px){body.touch.resting .collect{bottom:127px}}@media(max-width:750px){body.touch.resting .collect{bottom:164px}}#journal-list li span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}body.touch #journal-list li span{-webkit-line-clamp:2}.action-zone{position:absolute;right:var(--gut);bottom:66px;z-index:6;display:flex;flex-direction:column;align-items:flex-end;gap:6px;pointer-events:none}.action-card{display:flex;align-items:center;gap:9px;padding:7px 11px;background:#223b2de8;border:1px solid #d6ca9155;border-radius:7px;box-shadow:0 4px 16px #0003;pointer-events:auto;text-align:left}.action-card[hidden]{display:none}.action-card img{width:26px;height:26px;object-fit:contain;flex:none}.action-card b{display:block;font-size:13px;font-weight:500;color:#fff0c9;line-height:1.2}.action-card small{display:block;font-size:7px;letter-spacing:2px;color:#c2cdb4;margin-top:3px}.action-card kbd{font-size:13px;padding:5px 8px;margin:0 0 0 2px;border-color:#cfc389}@media(max-height:620px){.action-zone{bottom:60px}.action-card{padding:5px 9px;gap:7px}.action-card img{width:22px;height:22px}.action-card b{font-size:11px}}body.touch .action-zone{bottom:126px}body.touch .action-card kbd{display:none}body.touch .action-card{padding:6px 9px;gap:7px;min-height:var(--tap);box-sizing:border-box}body.touch .action-card img{width:24px;height:24px}body.touch .action-card b{font-size:12px}@media(max-height:620px){body.touch .action-zone{bottom:114px}}@media(max-width:750px){.action-card b{font-size:11px}.action-card small{font-size:6.5px}}#loading h1{font-size:clamp(27px,5.2vw,62px);letter-spacing:.16em;max-width:94vw}#loading .eyebrow{font-size:clamp(8px,1.5vw,11px);letter-spacing:.2em}#placement-bar,body.touch #placement-bar{bottom:calc(24px + env(safe-area-inset-bottom));padding:5px;gap:5px;max-width:calc(100vw - 290px);width:max-content}#placement-bar button{min-height:38px;padding:6px 9px;font-size:11px;flex-shrink:0}#placement-bar .primary{padding:6px 10px}#placement-name{font-size:11px;max-width:180px;margin:0 4px}.menu-links{flex-wrap:wrap;row-gap:8px}.character-choice b,.panel h2,.panel h3,.panel p,.panel small,.journal-row span{overflow-wrap:anywhere}.journal-row span,.ticket-text{min-width:0}.panel{overscroll-behavior:contain}.guide-list p{padding:9px 0;border-bottom:1px solid #d0bd8830}.controls-grid>div{line-height:1.7}.panel ol{font-size:13px;line-height:1.8;padding-left:22px}@media(max-width:760px){#placement-bar,body.touch #placement-bar{max-width:calc(100vw - 236px);flex-wrap:wrap;justify-content:center;bottom:calc(18px + env(safe-area-inset-bottom))}#placement-name{flex-basis:100%;max-width:none;text-align:center}#loading h1{font-size:clamp(25px,5vw,38px)}.menu-links{gap:7px}.build-grid h3{font-size:17px}}#studio-intro{position:fixed;inset:0;z-index:120;background:#000;display:grid;place-items:center}#studio-intro[hidden]{display:none}#studio-intro video{width:100%;height:100%;object-fit:contain}#studio-intro .intro-controls{position:absolute;right:20px;bottom:calc(20px + env(safe-area-inset-bottom));display:flex;gap:10px}#studio-intro button{min-height:44px;background:#172c24e8;color:#f4e9cc;border:1px solid #d4bf83;padding:8px 15px}#hud .map-wrap{z-index:6}body.touch #map-actions button{min-width:38px;min-height:38px}body.touch #action-wheel{width:112px;height:112px;right:10px;bottom:8px;--wheel:96px}body.touch #action-wheel button{inset:auto;width:40px;height:40px;clip-path:none;border:0;border-radius:50%;transform:none;display:grid;place-items:center}body.touch #action-wheel .wheel-n{top:0;left:36px}body.touch #action-wheel .wheel-s{bottom:0;left:36px}body.touch #action-wheel .wheel-e{right:0;top:36px}body.touch #action-wheel .wheel-w{left:0;top:36px}body.touch #action-wheel img{transform:none;pointer-events:none;width:22px;height:22px}.panel{touch-action:pan-y}

/* GameMonetize: only game surfaces are inert; SDK controls remain interactive. */
#ad-wait{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:rgba(18,24,20,.92);color:#f1e6cd;font:600 18px system-ui}
#ad-wait[hidden]{display:none}
body.ad-active #rotate-screen{display:none!important}
