@font-face{font-family:Lilita;src:url('assets/LilitaOne.ttf') format('truetype');font-display:swap}@font-face{font-family:Nunito;src:url('assets/Nunito.ttf') format('truetype');font-weight:200 1000;font-display:swap}
:root{--ink:#183f37;--cream:#fff9e9;--mint:#78e1bb;--gold:#ffd160;--glass:rgba(255,252,238,.94);font-family:Nunito,'Trebuchet MS',sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:#143e38;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border:0;color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #7df4e0;outline-offset:5px}button:disabled{cursor:default;opacity:.5}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-library{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}#game{display:block;width:100vw;height:100dvh;position:fixed;inset:0;touch-action:none}.screen{position:fixed;inset:0}.game-vignette{position:fixed;inset:0;pointer-events:none;box-shadow:inset 0 0 130px #143d3922}.icon-button{width:43px;height:43px;border-radius:14px;display:grid;place-items:center;background:rgba(255,253,240,.93);box-shadow:0 3px 0 #173e3722,0 3px 18px #1a433812;transition:transform .15s,background .15s}.icon-button:hover{transform:translateY(-2px);background:#fff}.icon-button:active{transform:translateY(1px)}.home-backdrop{position:absolute;inset:0;background:url('assets/lost-valley.webp') center 52%/cover;transform:scale(1.025);animation:scenic 28s ease-in-out infinite alternate}.home-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,49,39,.9),rgba(15,55,42,.54) 29%,rgba(12,45,34,.05) 57%,rgba(17,51,42,.38)),linear-gradient(0deg,rgba(16,50,40,.75),transparent 36%,rgba(18,50,39,.15))}.grain{position:absolute;inset:0;opacity:.1;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.7' d='M0 0h160v160H0z'/%3E%3C/svg%3E")}.home-screen{color:var(--cream);overflow:hidden}.topbar{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;padding:24px 4.5vw}.wordmark{color:#fff9e9;text-decoration:none;display:flex;align-items:center;gap:8px;font-size:19px;font-weight:1000;letter-spacing:-.5px}.wordmark svg{width:31px;height:31px;color:#8fefc1;stroke-width:2.1}.wordmark span{color:#9ae6c0}.top-actions{display:flex;align-items:center;gap:10px}.wallet{height:43px;display:flex;align-items:center;gap:8px;background:#173f36bd;backdrop-filter:blur(12px);border:1px solid #b0d5ad40;border-radius:14px;padding:0 14px;margin-right:7px}.wallet b{color:#ffdd76;font-size:17px}.wallet span{font-size:11px;font-weight:800;color:#daead6}.wallet svg{width:25px;height:25px}.home-layout{position:relative;z-index:2;width:100%;max-width:1600px;margin:auto;height:calc(100dvh - 164px);display:grid;grid-template-columns:36% 37% 27%;align-items:center;padding:0 4.5vw;min-height:470px}.hero-copy{position:relative;z-index:3;padding-bottom:15px}.eyebrow{color:#afe6c3;letter-spacing:2.4px;font-size:10px;font-weight:1000;display:flex;align-items:center;gap:10px;margin-bottom:18px}.live-dot{width:6px;height:6px;border-radius:50%;background:#a9ecc0;box-shadow:0 0 12px #b5f0be}.hero-copy h1{font-family:Lilita,'Arial Black',sans-serif;font-weight:400;letter-spacing:-2px;font-size:clamp(68px,7.8vw,125px);line-height:.84;transform:rotate(-4deg);transform-origin:left center;margin:0 0 27px;text-shadow:0 7px 0 #245748,0 10px 25px #0c302a4d}.hero-copy h1>span{display:block;position:relative}.hero-copy h1>span:first-child{color:#fff6d5}.hero-copy h1>span:nth-child(2){color:#ffce64}.title-spark{font-size:32px;position:absolute;top:-6px;margin-left:4px;transform:rotate(15deg);text-shadow:none;color:#9be8be}.hero-line{font-size:clamp(21px,2.1vw,30px);line-height:1.17;font-weight:950;letter-spacing:-.8px;margin:30px 0 12px}.hero-line em{font-style:normal;color:#bee8cb}.hero-description{font-size:13px;line-height:1.65;color:#d3e4d5;font-weight:600;margin:0 0 24px}.play-button{position:relative;width:min(320px,100%);background:linear-gradient(#ffe18a,#ffc754);border-radius:18px;min-height:77px;display:flex;align-items:center;gap:13px;padding:12px 20px;box-shadow:0 6px 0 #c6852d,0 14px 25px #062d2c3d;transition:transform .15s,filter .15s;text-align:left}.play-button:hover{transform:translateY(-3px);filter:brightness(1.06)}.play-button:active{transform:translateY(3px);box-shadow:0 2px 0 #c6852d}.play-button>svg{width:31px;height:31px}.play-button>span:nth-child(2){font-size:21px;font-weight:1000;letter-spacing:.3px}.play-button small{display:block;font-size:10px;letter-spacing:0;font-weight:800;opacity:.65;margin-top:2px}.key-hint{margin-left:auto;font-size:20px;border:1px solid #8a772955;background:#ffffff28;border-radius:6px;width:27px;height:26px;text-align:center;line-height:24px}.input-hint{display:flex;gap:11px;margin-top:21px;font-size:10px;color:#c4d8c6;font-weight:700;white-space:nowrap}.input-hint>span{display:flex;align-items:center;gap:3px}kbd{font-family:inherit;display:inline-flex;align-items:center;justify-content:center;border:1px solid currentColor;border-radius:4px;min-width:17px;height:18px;font-size:11px;opacity:.75}.input-hint .touch-hint{display:none}.text-button{background:none;color:#d1e8d7;font-size:11px;padding:0;font-weight:800;margin-top:17px}.text-button span{color:#ffda7c;margin-left:5px}.hero-art{align-self:stretch;position:relative;pointer-events:none;min-width:0}.hero-art>img{position:absolute;max-width:none;width:160%;height:102%;object-fit:contain;left:-38%;bottom:4%;filter:drop-shadow(10px 30px 16px #10382955);animation:hero-float 6s ease-in-out infinite}.hero-halo{position:absolute;width:125%;aspect-ratio:1;border:1px solid #fff3c026;border-radius:50%;top:4%;left:-8%;background:radial-gradient(ellipse,#ffe6a540,transparent 65%);box-shadow:0 0 0 29px #fff3c008,0 0 0 30px #fff3c014}.hero-name{position:absolute;bottom:2%;left:10%;text-shadow:0 2px 10px #174033;white-space:nowrap}.tiny-label{font-size:9px;letter-spacing:1.7px;font-weight:1000}.hero-name>.tiny-label{color:#c1efcb}.hero-name strong{display:flex;align-items:center;gap:8px;font-family:Lilita,sans-serif;font-size:32px;letter-spacing:.3px;line-height:1.35}.hero-name strong svg{width:18px;height:18px;color:#9fe8b4}.hero-name>span:last-child{font-size:10px;color:#d9e8d6;font-weight:700}.float-badge{position:absolute;top:4%;right:-3%;background:#fffae9ed;color:var(--ink);border-radius:14px;box-shadow:0 8px 35px #13372c22;padding:11px 14px 11px 46px;transform:rotate(6deg);font-size:10px;z-index:4}.float-badge svg{position:absolute;left:11px;top:14px;width:28px;height:28px}.float-badge b,.float-badge span{display:block}.float-badge b{font-size:11px}.float-badge span{color:#749080;font-size:9px;margin-top:2px}.adventure-panel{position:relative;z-index:5;background:var(--glass);color:var(--ink);border-radius:24px;padding:21px 18px 14px;box-shadow:0 18px 50px #092d2b33;border:1px solid #fffdf2;max-width:310px;justify-self:end;width:100%;margin-left:10px}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.panel-heading .tiny-label{color:#7d9385;font-size:8px}.panel-heading h2{font-size:20px;letter-spacing:-.7px;line-height:1.3;margin:4px 0 0;font-weight:1000}.world-count{font-size:9px;color:#8ca18f;font-weight:900;align-self:flex-end;margin-bottom:4px}.world-cards{display:flex;flex-direction:column;gap:9px}.world-card{display:block;width:100%;border:2px solid transparent;text-align:left;border-radius:12px;position:relative;overflow:hidden;background:#d5e5cf;min-height:76px;padding:11px 12px;color:white;transition:transform .15s;box-shadow:0 2px 4px #233b2a09}.world-card::before{content:'';position:absolute;inset:0;background:var(--world-image) center 48%/cover;transition:transform .4s}.world-card::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#112c29c9,#193b2733)}.world-card>*{position:relative;z-index:1}.world-card:hover{transform:translateX(-3px)}.world-card:hover::before{transform:scale(1.06)}.world-card.selected{border-color:#fdd473;box-shadow:0 0 0 2px #ffda7020}.world-card strong{font-size:13px;display:block;letter-spacing:-.2px}.world-card small{font-size:9px;color:#e4ecdb;display:block;margin-top:3px;font-weight:700}.world-card .world-status{position:absolute;right:9px;top:10px;width:22px;height:22px;border-radius:7px;background:#fce3a5;color:#376449;display:grid;place-items:center;font-weight:1000;font-size:12px}.world-card .world-status svg{width:13px;height:13px}.world-card.locked .world-status{background:#ffffff26;color:#fff}.world-card.locked{min-height:67px;filter:saturate(.7)}.world-card.locked small{font-size:8px}.character-button{display:flex;align-items:center;gap:11px;width:100%;background:#e9eee1;border:1px solid #dbe3d3;border-radius:13px;margin-top:15px;text-align:left;padding:9px 10px}.character-avatar{width:37px;height:37px;border-radius:11px;display:grid;place-items:center;background:#c5e6cf;color:#3b8d6b}.character-avatar svg{width:27px;height:27px}.character-button small{font-size:7px;letter-spacing:1.1px;color:#819481;font-weight:1000;display:block}.character-button b{font-size:13px;display:block;margin-top:2px}.character-button em{font-size:10px;font-weight:700;color:#899684;font-style:normal;margin-left:5px}.character-button .chevron{width:18px;margin-left:auto;color:#7a9581}.best-row{display:flex;align-items:center;font-size:10px;gap:7px;padding:14px 2px 0;color:#758976;font-weight:800}.best-row svg{width:16px;height:16px;color:#bc9d59}.best-row b{margin-left:auto;color:#315b45;font-size:12px}.home-footer{position:relative;z-index:2;height:65px;margin:0 4.5vw;border-top:1px solid #d8e5c829;display:flex;align-items:center;justify-content:space-between;color:#c8dcc8;font-size:10px;font-weight:700;letter-spacing:.2px}.home-footer>span:first-child{font-size:8px;letter-spacing:1.8px;display:flex;align-items:center;gap:7px}.home-footer i{background:#b2e7b9;width:5px;height:5px;border-radius:50%}.home-footer button{display:flex;align-items:center;gap:7px;background:#e9f2df15;color:#e8f0db;border:1px solid #dceacc25;padding:8px 11px;border-radius:10px;font-size:10px;font-weight:800}.home-footer svg{width:14px;height:14px;color:#ffdc86}.home-footer b{font-size:8px;border-radius:4px;background:#dfe9ca25;padding:2px 4px}
/* In-run interface */
#hud{pointer-events:none;color:white;text-shadow:0 2px 5px #173c3c55}.hud-top{display:flex;justify-content:space-between;align-items:flex-start;padding:25px 30px;background:linear-gradient(#133f494f,transparent)}.hud-score>span{font-size:9px;letter-spacing:3px;font-weight:1000;color:#f4f6dc}.hud-score>strong{display:block;font-size:40px;letter-spacing:1px;font-family:Lilita,sans-serif;line-height:1.1}.hud-score>small{display:flex;align-items:center;gap:4px;font-size:11px;color:#f9e8ac;margin-top:4px}.hud-score>small svg{width:15px;height:15px}.hud-center{text-align:center;padding-top:3px}.hud-center>span{font-size:9px;letter-spacing:2px;font-weight:1000;display:block;color:#effae9}.hud-center>strong{font-size:24px;font-weight:1000;display:block;margin-top:5px}.hud-center small{font-size:11px;color:#effae9}.hud-right{display:flex;gap:13px;align-items:center}.hud-right .icon-button{pointer-events:auto;color:#29514a;text-shadow:none}.run-coins{display:flex;align-items:center;gap:6px;background:#fffbeaeb;text-shadow:none;color:#284f3c;padding:7px 13px;border-radius:14px;font-size:20px;box-shadow:0 3px 0 #174a3220}.run-coins svg{width:28px;height:28px}.health{display:flex;align-items:center;gap:6px;position:absolute;left:30px;top:139px}.health>span{width:19px;height:7px;background:#a7ffd2;border-radius:3px;box-shadow:0 1px 6px #2a797b44}.health>span.lost{background:#335c5e6b;box-shadow:none}.health small{font-size:8px;font-weight:1000;letter-spacing:1px;margin-left:3px}.power-bars{position:absolute;left:30px;top:175px;display:flex;flex-direction:column;gap:9px}.power-pill{border-radius:13px;padding:8px 11px;display:flex;align-items:center;gap:9px;background:#21464bba;backdrop-filter:blur(6px);box-shadow:0 2px 15px #19434d33;min-width:175px}.power-pill>svg{width:24px;height:24px;color:#a8f1dc}.power-pill b{font-size:10px;display:block;margin-bottom:4px}.power-pill i{display:block;background:#ffffff33;width:115px;height:3px;border-radius:5px;overflow:hidden}.power-pill i:after{content:'';display:block;height:100%;width:var(--progress);background:#c2fbcf}.combo{position:absolute;top:130px;right:30px;color:#fff0a4;font-size:17px;font-weight:1000;transform:rotate(-5deg)}.tutorial{position:absolute;bottom:125px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:22px;background:#fff9e7e8;color:var(--ink);border-radius:17px;padding:16px 22px 31px;box-shadow:0 7px 35px #173e3b26;white-space:nowrap;text-shadow:none}.tutorial>div{display:flex;gap:7px;align-items:center}.tutorial span{font-size:20px;font-weight:1000;color:#3d9977}.tutorial b{font-size:11px}.tutorial small{position:absolute;bottom:10px;left:0;right:0;text-align:center;font-size:9px;color:#6f8877}.shield-button{pointer-events:auto;position:absolute;bottom:27px;left:29px;display:flex;gap:9px;align-items:center;padding:10px 12px;background:#fffbeaee;border:1px solid #fff9e5;border-radius:15px;color:var(--ink);box-shadow:0 4px 0 #2b564527;text-align:left}.shield-button>svg{width:27px;height:27px;color:#389b78}.shield-button span{font-size:12px;font-weight:1000}.shield-button small{display:flex;align-items:center;gap:2px;font-size:10px;color:#7e917c;margin-top:1px}.shield-button small svg{width:14px;height:14px}.shield-button kbd{margin-left:12px;color:#94a68d}.shield-button:disabled{opacity:.55}.touch-controls{display:none;pointer-events:auto;position:absolute;bottom:23px;left:0;right:0;justify-content:center;gap:12px}.touch-controls button{height:52px;width:52px;background:#ffffec33;border:1px solid #fffce05c;border-radius:16px;color:#fffde9;font-size:33px;font-weight:900;backdrop-filter:blur(3px)}.milestone{position:absolute;top:31%;left:50%;transform:translateX(-50%) rotate(-4deg);text-align:center;white-space:nowrap;font-family:Lilita,sans-serif;font-size:47px;color:#fff1a9;text-shadow:0 4px 0 #467a6477,0 8px 24px #1a4d4b4d;animation:pop-in .4s cubic-bezier(.2,1.6,.3,1)}.milestone small{display:block;font-family:Nunito,sans-serif;font-size:12px;font-weight:900;color:#fffbe5;margin-top:4px;letter-spacing:2px}.modal-backdrop{position:fixed;inset:0;z-index:40;background:#102f2ccb;backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:center;padding:20px}.modal-card{position:relative;background:#fff9ec;border:1px solid #fffcf1;border-radius:27px;padding:34px;max-width:600px;width:100%;box-shadow:0 20px 100px #09251e66;max-height:92dvh;overflow:auto;animation:pop-in .25s cubic-bezier(.2,1.1,.3,1)}.close-modal{position:absolute;right:15px;top:15px;background:#e9ede1;width:33px;height:33px;box-shadow:none;border-radius:10px;z-index:2}.close-modal svg{width:17px;height:17px}.modal-card h2{font-family:Lilita,sans-serif;font-size:34px;letter-spacing:-.5px;font-weight:400;margin:9px 0 9px}.modal-card .subtitle{font-size:12px;color:#7c907b;line-height:1.6;margin:0 0 22px;font-weight:700}.modal-card .eyebrow{color:#829d83;font-size:8px;margin:0}.primary-button{display:flex;align-items:center;justify-content:center;gap:9px;border-radius:13px;background:linear-gradient(#ffde83,#ffcd61);box-shadow:0 4px 0 #d1a044;padding:14px 18px;min-height:49px;width:100%;font-weight:1000;font-size:14px}.primary-button svg{width:19px;height:19px}.secondary-button{border-radius:12px;padding:12px 15px;background:#e9eddf;font-size:12px;font-weight:900;min-height:45px;display:flex;align-items:center;justify-content:center;gap:8px}.secondary-button svg{width:17px;height:17px}.modal-actions{display:flex;gap:10px;margin-top:15px}.modal-actions>*{flex:1}.pause-mascot{font-size:63px;line-height:1;margin:0 0 15px;text-align:center}.center-modal{text-align:center}.pause-title{margin-top:8px!important}.pause-copy{margin-bottom:26px!important}.setting-row{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid #e3e7d6;gap:15px}.setting-row b{font-size:13px}.setting-row small{display:block;font-size:10px;color:#8e9e87;margin-top:3px}.toggle{min-width:68px;border-radius:10px;padding:9px;background:#dbe9d7;font-weight:1000;font-size:11px}.toggle.on{background:#4a9f7e;color:white}.setting-row select{font:inherit;font-size:11px;border:1px solid #cdd9c3;background:#edf0e2;padding:9px 24px 9px 10px;border-radius:9px;color:#3f644e}.settings-note{font-size:10px;line-height:1.7;color:#8a9d84;margin:22px 0 0}.help-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.help-item{padding:15px;background:#ebefdf;border-radius:14px}.help-item>span{font-weight:1000;font-size:25px;color:#4c9975;display:block;margin-bottom:4px}.help-item b{display:block;font-size:12px}.help-item small{display:block;font-size:10px;color:#7d9278;line-height:1.6;margin-top:5px}.help-tip{font-size:11px;line-height:1.7;background:#fcf0ce;padding:14px;border-radius:12px;margin:15px 0 0;color:#927a46}.character-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}.dino-card{border-radius:17px;background:#e5eddc;padding:12px 9px 13px;text-align:center;border:2px solid transparent;position:relative;overflow:hidden}.dino-card.selected{border-color:#65ae81;background:#dcebd7}.dino-portrait{width:100%;height:135px;object-fit:contain;filter:drop-shadow(0 6px 3px #3b695522)}.dino-card h3{font-family:Lilita,sans-serif;font-size:22px;font-weight:400;margin:5px 0 0}.dino-card>small{font-size:9px;display:block;color:#8ba086;margin-top:2px}.dino-card button{font-size:10px;font-weight:1000;background:#fff8df;border-radius:8px;padding:8px 7px;width:100%;margin-top:10px;display:flex;gap:4px;align-items:center;justify-content:center}.dino-card button svg{width:15px;height:15px}.dino-card.selected button{background:#4a9b77;color:white}.collection-wallet{display:flex;gap:6px;align-items:center;margin-top:20px;font-size:11px;font-weight:800;color:#82957a}.collection-wallet svg{width:19px;height:19px}.collection-wallet b{color:#3d7656}.mission-item{display:flex;gap:13px;padding:16px;background:#edf0e2;border-radius:14px;margin-top:10px;align-items:center}.mission-item>svg{width:29px;height:29px;color:#9eb696}.mission-item>div{flex:1}.mission-item h3{font-size:13px;margin:0}.mission-item small{display:block;font-size:10px;color:#8a9b80;margin-top:4px}.mission-item>strong{display:flex;align-items:center;gap:3px;font-size:14px;color:#a7863b}.mission-item>strong svg{width:19px;height:19px}.mission-item.done{background:#dfeeda}.mission-item.done>svg{color:#5f9f6a}.mission-item.done>strong{font-size:10px;color:#6c9970}.result-crown{color:#d7b153;display:block;width:53px;height:53px;margin:0 auto 14px}.result-tag{font-size:9px;letter-spacing:2px;font-weight:1000;color:#8d9e83}.result-score{font-family:Lilita,sans-serif;font-size:70px;line-height:1.15;margin:4px 0;color:#25563f}.result-caption{font-size:11px;color:#8d9f82;margin:0 0 22px;font-weight:800}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);background:#e9efdf;border-radius:16px;padding:17px 5px;margin-bottom:20px}.result-stats>div+div{border-left:1px solid #cedbc3}.result-stats b{display:block;font-size:22px;color:#3f7052}.result-stats small{display:block;font-size:9px;font-weight:800;color:#8d9f83;margin-top:3px}.result-bonus{color:#78985f;font-size:11px;font-weight:900;padding:10px 0 15px}.new-best{display:inline-block;background:#fff1bf;color:#b08634;padding:6px 12px;border-radius:8px;font-size:10px;letter-spacing:.7px;font-weight:1000;margin:0 0 12px;transform:rotate(-3deg)}#countdown{position:fixed;z-index:30;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#fff9db;background:#174c4b22;pointer-events:none}#countdown strong{font-family:Lilita,sans-serif;font-size:130px;line-height:1;filter:drop-shadow(0 5px 0 #21594377);animation:count .8s infinite}#countdown span{font-weight:900;font-size:16px;text-shadow:0 3px 8px #19474255}#toast{position:fixed;bottom:35px;left:50%;transform:translateX(-50%);padding:13px 20px;z-index:70;background:#fff9e9;color:#39604b;border:1px solid #e4e9d5;box-shadow:0 6px 35px #153c3a3d;border-radius:13px;font-size:12px;font-weight:900;max-width:90%;text-align:center;animation:pop-in .2s ease}#loading{position:fixed;inset:0;background:#143e38;z-index:90;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#fff6d8}.loader-foot{color:#91e1b0;animation:hero-float 1s ease-in-out infinite}.loader-foot svg{width:65px;height:65px;stroke-width:1.3}#loading strong{font-family:Lilita,sans-serif;font-size:26px;font-weight:400;margin-top:20px}#loading>span{font-size:11px;color:#99bd9f;margin-top:9px}.loading-track{height:3px;width:150px;background:#5b8b743d;margin-top:30px;border-radius:5px;overflow:hidden}.loading-track i{display:block;background:#ffd171;height:100%;width:35%;animation:load 1s ease-in-out infinite}.error-state{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#fff4d4;background:#193e36;padding:30px}.error-state>svg{width:90px;height:90px;color:#94dcad}.error-state p{max-width:400px;font-size:15px;line-height:1.6}.error-state button{margin-top:20px;border-radius:12px;background:#ffd27a;padding:15px 24px;font-weight:900}.error-state h1{font-family:Lilita,sans-serif;font-weight:400;font-size:34px}
@keyframes hero-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-10px) rotate(1deg)}}@keyframes scenic{to{transform:scale(1.07) translateX(-.6%)}}@keyframes pop-in{from{opacity:0;scale:.93}to{opacity:1;scale:1}}@keyframes count{0%{scale:.7;opacity:.4}30%{scale:1.1;opacity:1}100%{scale:1;opacity:1}}@keyframes load{from{transform:translateX(-150%)}to{transform:translateX(440%)}}
@media(min-width:1600px){.home-layout{padding:0 70px}.hero-copy h1{font-size:132px}.hero-line{font-size:33px}.hero-description{font-size:15px}.adventure-panel{max-width:325px}.world-card{min-height:93px}.world-card.locked{min-height:78px}.hero-art>img{height:106%;bottom:0}.hero-name{bottom:0}}
@media(max-height:760px) and (min-width:901px){.topbar{padding-top:18px;padding-bottom:13px}.home-layout{height:calc(100dvh - 132px);min-height:440px}.eyebrow{margin-bottom:15px}.hero-copy h1{font-size:clamp(60px,7.3vw,110px);margin-bottom:20px}.hero-line{font-size:24px;margin-top:20px}.hero-description{font-size:12px;margin-bottom:20px}.play-button{min-height:65px}.input-hint{margin-top:18px}.adventure-panel{padding:17px 16px 13px}.world-card{min-height:68px}.world-card.locked{min-height:59px}.panel-heading{margin-bottom:12px}.hero-art>img{height:102%;bottom:3%}.home-footer{height:53px}}
@media(max-width:1100px) and (min-width:901px){.home-layout{grid-template-columns:35% 38% 27%;padding:0 3vw}.topbar{padding-left:3vw;padding-right:3vw}.hero-copy h1{font-size:8.5vw}.hero-description{font-size:12px}.play-button{padding-left:13px;gap:7px}.play-button>span:nth-child(2){font-size:18px}.key-hint{display:none}.input-hint{font-size:8px;gap:6px}.adventure-panel{padding:17px 13px}.panel-heading h2{font-size:18px}.world-count{display:none}.float-badge{right:-3%;font-size:8px;scale:.85}.hero-name{left:0}.hero-name>span:last-child{font-size:8px}.world-card strong{font-size:12px}.world-card small{font-size:8px}}
@media(max-width:900px){.home-screen{overflow:auto}.home-backdrop,.home-shade,.grain{position:fixed}.home-shade{background:linear-gradient(90deg,#143d30e3,#143d3033),linear-gradient(0deg,#143d30f5,transparent 90%)}.topbar{padding:18px 22px}.top-actions{gap:7px}.top-actions .icon-button{width:37px;height:37px;border-radius:11px}.wallet{height:37px;padding:0 9px;margin-right:0}.wallet span{display:none}.wordmark{font-size:15px;gap:5px}.wordmark svg{width:25px;height:25px}.home-layout{height:auto;min-height:0;padding:35px 30px 25px;grid-template-columns:55% 45%;align-items:start}.hero-copy h1{font-size:clamp(70px,12.5vw,110px)}.hero-line{font-size:25px}.hero-description{font-size:12px}.hero-art{height:420px;position:relative;z-index:2}.hero-art>img{height:105%;width:185%;left:-55%;bottom:8%}.hero-halo{width:165%;left:-20%;top:8%}.float-badge{top:0;right:-8%;scale:.85}.hero-name{bottom:0;left:-10%}.hero-name .tiny-label{font-size:7px}.hero-name>span:last-child{display:none}.adventure-panel{grid-column:1/-1;justify-self:stretch;max-width:none;padding:18px;margin:30px 0 0}.panel-heading{margin-bottom:12px}.panel-heading h2{font-size:21px}.world-cards{flex-direction:row;gap:10px}.world-card{flex:1;min-height:90px!important;padding:30px 10px 10px}.world-card strong{font-size:11px}.world-card small{font-size:8px}.character-button{width:55%;display:inline-flex;margin-top:14px}.best-row{display:inline-flex;width:43%;padding:0 0 0 20px}.home-footer{margin:0 30px;height:65px}.home-footer>span:nth-child(2){display:none}.hero-copy{padding-bottom:0}.hero-line{margin-top:22px}.play-button{min-height:70px}.input-hint{flex-wrap:wrap;row-gap:6px}.text-button{margin-top:12px}}
@media(max-width:600px){.topbar{padding:15px 18px}.wordmark{font-size:13px;letter-spacing:0;gap:4px}.wordmark svg{width:24px;height:24px}.top-actions .icon-button{width:33px;height:33px}.top-actions .icon-button svg{width:18px;height:18px}.wallet{height:33px;border-radius:10px;padding:0 7px;gap:4px}.wallet svg{width:21px;height:21px}.wallet b{font-size:13px}.home-layout{padding:24px 23px 18px;grid-template-columns:56% 44%}.eyebrow{font-size:6.7px;letter-spacing:1.5px;gap:6px;margin-bottom:19px}.live-dot{width:4px;height:4px}.hero-copy h1{font-size:17vw;letter-spacing:-1.7px;margin-bottom:18px;text-shadow:0 4px 0 #245748,0 8px 15px #0c302a4d}.title-spark{font-size:22px;top:-5px;margin-left:0}.hero-line{font-size:19px;letter-spacing:-.4px;line-height:1.17;margin:22px 0 10px}.hero-description{font-size:9px;line-height:1.65;margin-bottom:21px;max-width:185px}.play-button{min-height:60px;border-radius:13px;padding:9px 11px;gap:6px;width:220px;z-index:4}.play-button>svg{width:23px;height:23px}.play-button>span:nth-child(2){font-size:16px}.play-button small{font-size:8px}.key-hint{display:none}.input-hint{font-size:8px;margin-top:16px;gap:5px}.input-hint kbd{height:15px;min-width:14px;font-size:9px}.text-button{font-size:9px;margin-top:12px}.hero-art{height:345px;align-self:start;margin-top:8px;pointer-events:none;z-index:2}.hero-art>img{width:220%;height:102%;left:-69%;bottom:6%;object-fit:contain;filter:drop-shadow(4px 19px 12px #123b3166)}.hero-halo{width:170%;top:12%;left:-20%}.float-badge{display:none}.hero-name{left:2%;bottom:0}.hero-name>.tiny-label{font-size:5px;letter-spacing:.8px;display:block}.hero-name strong{font-size:25px}.hero-name strong svg{width:14px;height:14px}.adventure-panel{padding:16px 13px 12px;border-radius:19px;margin-top:22px}.panel-heading .tiny-label{font-size:6px;letter-spacing:1.4px}.panel-heading h2{font-size:19px;margin-top:3px}.panel-heading{margin-bottom:11px}.world-count{font-size:8px}.world-cards{gap:6px}.world-card{border-radius:10px;padding:34px 7px 9px;min-height:91px!important;min-width:0}.world-card strong{font-size:9px;line-height:1.3;max-width:70px}.world-card small{font-size:6px;line-height:1.5;margin-top:3px}.world-card .world-status{top:7px;right:7px;width:17px;height:17px;border-radius:5px;font-size:10px}.world-card .world-status svg{width:10px;height:10px}.world-card.locked small{font-size:6px}.character-button{padding:7px;gap:7px;width:57%;border-radius:11px}.character-avatar{width:29px;height:29px;border-radius:8px}.character-avatar svg{width:22px;height:22px}.character-button small{font-size:6px}.character-button b{font-size:11px}.character-button em{font-size:8px;margin-left:3px}.character-button .chevron{width:13px}.best-row{font-size:8px;width:41%;padding-left:13px;gap:5px}.best-row svg{width:13px}.best-row b{font-size:10px}.home-footer{margin:0 23px;height:53px}.home-footer>span:first-child{font-size:6px;letter-spacing:1.1px}.home-footer button{font-size:8px;padding:6px 8px}.home-footer svg{width:12px}.home-footer b{font-size:7px}.hud-top{padding:20px 17px}.hud-score>strong{font-size:32px}.hud-score>span{font-size:7px;letter-spacing:2px}.hud-score>small{font-size:9px}.hud-center>span{font-size:6.5px;letter-spacing:1px}.hud-center>strong{font-size:20px}.hud-right{gap:7px}.hud-right .icon-button{width:36px;height:36px;border-radius:11px}.hud-right .icon-button svg{width:18px}.run-coins{padding:6px 8px;font-size:15px;border-radius:11px;gap:3px}.run-coins svg{width:22px;height:22px}.health{top:115px;left:18px;gap:4px}.health>span{width:15px;height:5px}.health small{font-size:6px;letter-spacing:.7px}.power-bars{top:146px;left:16px;gap:7px}.power-pill{padding:7px 9px;min-width:135px}.power-pill>svg{width:19px;height:19px}.power-pill b{font-size:8px}.power-pill i{width:87px}.combo{right:18px;top:112px;font-size:13px}.tutorial{bottom:143px;padding:13px 13px 32px;gap:12px;max-width:94vw}.tutorial>div{gap:4px}.tutorial span{font-size:17px}.tutorial b{font-size:8px}.tutorial small{font-size:8px}.shield-button{left:17px;bottom:93px;border-radius:12px;padding:7px 9px;gap:6px}.shield-button>svg{width:22px;height:22px}.shield-button span{font-size:9px}.shield-button small{font-size:8px}.shield-button small svg{width:12px;height:12px}.shield-button kbd{display:none}.milestone{font-size:36px;top:31%}.milestone small{font-size:9px;letter-spacing:1px}.modal-card{padding:29px 22px 23px;border-radius:23px}.modal-card h2{font-size:29px}.modal-card .subtitle{font-size:11px;margin-bottom:18px}.character-grid{gap:6px}.dino-card{padding:8px 4px 10px;border-radius:13px}.dino-portrait{height:104px}.dino-card h3{font-size:21px}.dino-card>small{font-size:8px}.dino-card button{font-size:8px;padding:7px 4px}.help-list{gap:8px}.help-item{padding:12px}.help-item b{font-size:11px}.help-item small{font-size:9px}.result-score{font-size:62px}.result-stats b{font-size:20px}.result-stats small{font-size:8px}.mission-item{padding:13px;gap:9px}.mission-item h3{font-size:11px}.mission-item small{font-size:8px}.mission-item>svg{width:24px}.mission-item>strong{font-size:12px}#toast{bottom:20px;font-size:11px;width:max-content;max-width:88%}.touch-controls{display:flex}.input-hint>span:not(.touch-hint){display:none}.input-hint .touch-hint{display:flex;font-size:9px;gap:4px}.input-hint .touch-hint:before{content:'↔';border:1px solid #dae5cd66;border-radius:4px;font-size:12px;padding:0 3px;margin-right:2px}}
@media(pointer:coarse) and (min-width:601px){.touch-controls{display:flex}.shield-button{bottom:25px}.input-hint>span:not(.touch-hint){display:none}.input-hint .touch-hint{display:flex}}
@media(max-height:600px) and (orientation:landscape){.home-layout{min-height:0;padding-top:5px;padding-bottom:12px;grid-template-columns:35% 38% 27%;height:calc(100dvh - 99px)}.topbar{padding:10px 22px}.hero-copy h1{font-size:60px}.hero-line{font-size:17px;margin:16px 0 8px}.hero-description{font-size:9px;margin-bottom:13px}.eyebrow{font-size:6px;margin-bottom:11px}.play-button{min-height:48px;width:210px;border-radius:12px;padding:8px 12px}.play-button>span:nth-child(2){font-size:15px}.play-button small{font-size:7px}.play-button>svg{width:20px}.input-hint,.text-button{display:none}.hero-art{height:100%}.hero-art>img{height:112%;width:165%;left:-34%;bottom:-5%}.hero-halo{width:105%;left:0}.hero-name{display:none}.float-badge{display:none}.adventure-panel{grid-column:auto;max-width:240px;margin:0;padding:12px;border-radius:17px;align-self:center}.panel-heading{margin-bottom:8px}.panel-heading h2{font-size:16px}.panel-heading .tiny-label{font-size:6px}.world-cards{flex-direction:column;gap:5px}.world-card{min-height:43px!important;padding:7px 9px;border-radius:8px}.world-card strong{font-size:10px}.world-card small{font-size:7px}.world-card .world-status{top:8px}.character-button{width:100%;margin-top:8px;padding:5px;gap:7px}.character-avatar{width:26px;height:26px}.character-button small{font-size:5px}.character-button b{font-size:10px}.character-button em{font-size:8px}.best-row{width:100%;padding:8px 1px 0;font-size:8px}.home-footer{height:42px}.tutorial{bottom:45px}.touch-controls{right:20px;left:auto;bottom:18px}.touch-controls button{width:42px;height:42px}.shield-button{bottom:18px}.hud-top{padding:15px 20px}.health{top:110px}.power-bars{top:135px}.modal-card{max-height:94dvh}.hero-copy{align-self:center}.home-footer>span:nth-child(2){display:none}}
.icon-button,.play-button{color:var(--ink)}
.tutorial{bottom:auto;top:145px}
@media(max-width:600px){.tutorial{bottom:auto;top:145px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
/* Arkkovia expedition expansion */
.brand-lockup>svg{height:37px;width:37px;color:#b2eccb}.brand-lockup>span{display:flex;flex-direction:column;gap:3px}.brand-lockup strong{font-size:20px;letter-spacing:2px;color:#fff6d8;line-height:1}.brand-lockup small{font-size:8px;color:#bce6c7;letter-spacing:2.6px;font-weight:900}.hero-description{margin-bottom:17px}.mode-switch{display:flex;gap:6px;max-width:320px;margin-bottom:17px}.mode-switch button{background:#d8edcd13;border:1px solid #c9e0bc44;color:#d8e9cf;border-radius:11px;flex:1;padding:8px 12px;text-align:left;transition:background .15s}.mode-switch b{font-size:12px;display:block}.mode-switch small{display:block;font-size:8px;margin-top:2px;color:#afc5aa}.mode-switch .selected{background:#d6ecd7;color:#285940;border-color:#e3f2d8}.mode-switch .selected small{color:#6d9075}.mode-switch button[data-mode=alpha].selected{background:#f1ba8a;border-color:#ffcd9e;color:#68412c}.mode-switch button[data-mode=alpha].selected small{color:#926543}.world-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px}.world-card,.world-card.locked{min-height:85px;padding:29px 9px 10px}.world-card strong{font-size:11px;line-height:1.25;max-width:103px}.world-card small,.world-card.locked small{font-size:7px;line-height:1.5;max-width:100px;margin-top:3px}.world-card .world-status{height:18px;width:18px;font-size:10px;right:7px;top:7px;border-radius:6px}.world-card .world-status svg{width:10px;height:10px}.companion-button{width:100%;border:1px solid #cedfcc;border-radius:14px;background:linear-gradient(110deg,#dcebd5,#f2f4e6);display:flex;align-items:center;gap:8px;margin-top:14px;padding:4px 10px 4px 4px;text-align:left;position:relative}.companion-button>img{width:62px;height:59px;object-fit:contain;filter:drop-shadow(0 3px 3px #426b4320)}.companion-button>span{display:block;flex:1}.companion-button small{font-size:7px;letter-spacing:1.2px;color:#77947b;font-weight:1000;display:block}.companion-button b{font-size:15px;display:block;line-height:1.3;color:#315e42}.companion-button em{font-style:normal;font-size:9px;color:#8a9a7b;display:block}.companion-button>svg{width:16px;height:16px;color:#7c9b7d}.character-button{margin-top:8px}.camp-nav{display:flex;gap:6px;margin-top:10px}.camp-nav button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:34px;background:#e8eddc;border:1px solid #dae2cf;border-radius:9px;flex:1;font-size:8px;font-weight:900;padding:5px;color:#5c7e61}.camp-nav button>svg{width:13px;height:13px}.camp-nav b{font-size:7px;padding:1px 3px;background:#bed5b4;border-radius:3px;color:#416748}.level-line{display:flex;align-items:center;justify-content:space-between;position:relative;padding-bottom:8px;margin:14px 2px 0;font-size:7px;color:#8da181;font-weight:900;letter-spacing:.3px}.level-line>b{color:#63856a}.level-line i{position:absolute;left:0;right:0;height:3px;background:#dce4d0;bottom:0;border-radius:3px;overflow:hidden}.level-line i:after{content:'';display:block;width:var(--xp,0%);height:100%;background:#81b48a}.best-row{padding-top:11px}.home-footer .journal-link{font-size:10px;background:none;border:0;box-shadow:none;color:#d8e8cd}.hud-score>span{letter-spacing:1.8px;font-size:8px}.hud-score>span b{font-weight:1000}.run-resources{position:absolute;right:30px;top:85px}.resource-pills{display:flex;gap:6px;align-items:center}.resource-pills>span{display:flex;align-items:center;gap:4px;padding:5px 8px;background:#fcf6e9ef;color:#587854;border-radius:8px;text-shadow:none;box-shadow:0 2px 0 #1c4c3512;white-space:nowrap}.resource-pills svg{width:16px;height:16px}.resource-pills b{font-size:11px}.resource-pills small{display:none}.resource-pills .resource-berries{color:#b2678a}.resource-pills .resource-fiber{color:#ae8e4f}.resource-pills .resource-crystal{color:#5aa89d}.helper-button{pointer-events:auto;position:absolute;bottom:27px;right:29px;min-width:208px;min-height:64px;border-radius:17px;background:#fff9e8f5;border:1px solid #eef5db;color:#28593c;display:flex;gap:9px;align-items:center;padding:7px 12px 9px 5px;box-shadow:0 4px 0 #2d614128;overflow:hidden;text-shadow:none}.helper-button>img{height:53px;width:60px;object-fit:contain;margin-top:-3px}.helper-button>span{text-align:left;flex:1}.helper-button b{font-size:12px;font-weight:1000;display:block}.helper-button small{font-size:7px;font-weight:1000;letter-spacing:.6px;display:block;color:#8ba07a;margin-top:3px}.helper-button kbd{margin-left:7px;color:#a1b394}.helper-button>i{position:absolute;bottom:0;left:0;height:3px;background:#93cf9e;transition:width .15s linear}.helper-button:disabled{opacity:.7}.helper-button:enabled{box-shadow:0 4px 0 #2d614128,0 0 25px #b0ffd632}.shield-button:disabled{opacity:.6}.tutorial{top:153px}.tutorial>div:last-of-type span{font-size:14px;border:1px solid #639a7155;border-radius:5px;padding:1px 5px}#route-cue{position:absolute;bottom:123px;left:50%;transform:translateX(-50%);text-align:center;background:#fcf5dfe8;color:#376242;border-radius:12px;padding:9px 20px;box-shadow:0 4px 20px #1e574530;text-shadow:none;white-space:nowrap}#route-cue b{font-size:14px;font-weight:1000;letter-spacing:.6px;display:block}#route-cue small{font-size:7px;letter-spacing:1.5px;display:block;color:#8b9b77;margin-top:3px}#danger-banner{position:absolute;top:105px;left:50%;transform:translateX(-50%);font-size:9px;letter-spacing:2px;font-weight:1000;color:#ffe5bd;padding:6px 13px;border-radius:7px;background:#9d4c46ad;backdrop-filter:blur(5px)}.alpha-zone .game-vignette{box-shadow:inset 0 0 170px #ab493f66}.wide-modal{max-width:710px}.quiet-link{color:#829a7e;margin-top:23px}.pause-mascot>svg{height:60px;width:60px;stroke-width:1.3;color:#6fa477}.dino-card>p{font-size:9px;line-height:1.6;color:#87a07e;min-height:30px;margin:7px 0 0}.companion-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.companion-card{border-radius:17px;background:#edf0e1;border:1px solid #dfe6d0;border-top:3px solid var(--pet-color);display:flex;align-items:center;gap:4px;padding:11px 11px 12px 3px}.companion-card.selected{background:#e0edd8;border-color:#99bd8f;border-top-color:var(--pet-color)}.pet-portrait{position:relative;width:43%;align-self:center;flex-shrink:0}.pet-portrait>img{width:100%;aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 7px 3px #3067461a);scale:1.13}.pet-portrait>span{position:absolute;top:-8px;left:8px;color:var(--pet-color)}.pet-portrait>span>svg{width:14px;height:14px}.pet-info{flex:1}.pet-info h3{font-family:Lilita,sans-serif;font-size:24px;font-weight:400;margin:0 0 1px;color:#3e6950}.pet-info>small{font-size:7px;color:#95a387;font-weight:900;display:block}.pet-info>b{font-size:10px;display:block;margin:9px 0 3px;color:#5b845f}.pet-info p{font-size:9px;line-height:1.5;color:#7d9373;margin:0;min-height:40px}.pet-info em{font-size:7px;font-style:normal;color:#9aa78b;display:block;line-height:1.5;margin-top:5px}.pet-info button{border-radius:8px;padding:8px;width:100%;font-size:10px;font-weight:1000;color:#60815c;background:#fff8df;margin-top:9px;min-height:32px}.pet-info button.pet-selected{color:#fffbea;background:#68976c}.tame-cost{display:flex;align-items:center;gap:3px;font-size:9px;font-weight:1000;color:#b18a45;margin-top:7px}.tame-cost svg{height:14px;width:14px}.tame-cost span{font-size:8px;color:#96a383;font-weight:800;margin-left:3px}.pet-inventory{display:flex;gap:6px;font-size:10px;font-weight:900;color:#8ca17e;align-items:center;flex-wrap:wrap;margin-top:19px}.pet-inventory>svg{width:18px;height:18px}.pet-inventory>button{margin-left:auto;background:transparent;font-size:10px;font-weight:900;color:#6e9a78;padding:0}.inventory-pills{margin:21px 0;gap:10px}.inventory-pills>span{background:#e8eedc;border:1px solid #dde5cf;border-radius:13px;padding:13px 14px;flex:1;gap:8px}.inventory-pills svg{width:22px;height:22px}.inventory-pills b{font-size:18px}.inventory-pills small{display:block;font-size:9px;font-weight:900}.recipe-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.recipe-card{background:#edf0e1;border:1px solid #dce4cf;border-radius:16px;padding:19px}.recipe-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#d9e8cd;color:#75986c;margin-bottom:12px}.recipe-card h3{margin:0 0 6px;font-size:16px;font-weight:1000}.recipe-card>p{font-size:10px;line-height:1.5;color:#91a280;margin:0 0 18px;min-height:30px}.recipe-cost{display:flex;align-items:center;gap:10px}.recipe-cost>span{display:flex;align-items:center;gap:4px;font-size:11px;font-weight:1000;color:#8aa17b}.recipe-cost svg{width:16px;height:16px}.recipe-cost .missing{color:#bb8d75}.recipe-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #dce4cf;margin-top:16px;padding-top:12px;gap:10px}.recipe-bottom>small{font-size:8px;color:#8ea17d}.recipe-bottom>small>b{display:block;font-size:12px;margin-top:2px;color:#5c825c}.recipe-bottom>button{border-radius:9px;background:#fff4d0;color:#987d45;padding:9px 11px;display:flex;align-items:center;gap:5px;font-size:10px;font-weight:1000}.recipe-bottom svg{width:14px;height:14px}.research-header{display:flex;align-items:center;justify-content:space-between;padding:14px 15px;background:#e4edd8;border-radius:13px;font-size:11px;color:#6f946c;font-weight:1000;margin-bottom:15px;gap:10px}.research-header>span{font-size:9px;color:#95a585;font-weight:800}.research-header>strong{background:#cfdfbf;padding:6px 8px;border-radius:7px;font-size:9px}.engram-list{display:flex;flex-direction:column;gap:9px}.engram-row{display:flex;align-items:center;gap:12px;background:#f0f1e6;border:1px solid #e1e6d3;border-radius:14px;padding:13px}.engram-row>span{background:#e1ead4;color:#88a77b;border-radius:11px;width:40px;height:40px;display:grid;place-items:center;flex-shrink:0}.engram-row>span svg{width:23px;height:23px}.engram-row>div{flex:1}.engram-row h3{font-size:13px;margin:0}.engram-row h3>small{display:inline-block;font-size:8px;color:#98aa87;font-weight:800;margin-left:8px}.engram-row p{font-size:9px;line-height:1.5;margin:5px 0 8px;color:#8c9f7c}.engram-row .recipe-cost svg{height:13px;width:13px}.engram-row .recipe-cost>span{font-size:9px}.engram-row>button{min-width:70px;min-height:43px;border-radius:9px;background:#f9ecc6;font-size:9px;font-weight:1000;line-height:1.7;color:#9f864b;padding:6px}.mission-list{display:flex;flex-direction:column;gap:0}.mission-item>div{min-width:0}.mission-item small{line-height:1.5}.journal-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.journal-stats>div{background:#e9efdc;border-radius:13px;padding:17px}.journal-stats b{font-size:22px;display:block;color:#5c8b62}.journal-stats small{display:block;font-size:10px;color:#92a47f;font-weight:800;margin-top:4px}.small-title{font-size:12px;color:#779770;margin:25px 0 13px}.run-history{width:100%;border-collapse:collapse;font-size:10px;color:#7e9571}.run-history th{text-align:left;font-size:8px;color:#a0ac8b;padding:9px 8px;border-bottom:1px solid #dce5cb}.run-history td{padding:11px 8px;border-bottom:1px solid #e5ead8}.run-history td:not(:first-child),.run-history th:not(:first-child){text-align:right}.result-resources{justify-content:center;margin:0 0 16px}.result-resources>span{background:#eaf0df;min-width:70px;justify-content:center}.result-xp{font-size:13px;color:#7c9d70;font-weight:1000;margin-bottom:19px}.result-xp strong{font-size:9px;display:block;color:#ba994d;margin-top:6px;letter-spacing:1px}
@media(max-height:780px) and (min-width:901px){.hero-copy h1{font-size:clamp(60px,6.8vw,97px)}.hero-line{font-size:23px;margin-top:19px}.hero-description{margin-bottom:11px}.mode-switch{margin-bottom:13px}.mode-switch button{padding:6px 10px}.world-card,.world-card.locked{min-height:72px}.adventure-panel{padding:16px 14px 12px}.companion-button{margin-top:11px}.companion-button>img{height:48px;width:51px}.camp-nav{margin-top:8px}.level-line{margin-top:10px}.panel-heading{margin-bottom:11px}.character-button{padding:7px}.character-avatar{height:30px;width:30px}}
@media(max-width:1100px) and (min-width:901px){.world-card,.world-card.locked{padding-left:7px;padding-right:7px}.world-card strong{font-size:9px}.world-card small,.world-card.locked small{font-size:6px}.camp-nav button{font-size:6.5px;gap:3px}.camp-nav button>svg{width:11px;height:11px}.companion-button>img{width:49px}.companion-button b{font-size:13px}.companion-button small{font-size:6px}.companion-button em{font-size:8px}}
@media(max-width:900px){.adventure-panel{max-width:none}.world-cards{grid-template-columns:repeat(4,1fr)}.world-card,.world-card.locked{min-height:83px!important}.world-card strong{font-size:10px}.companion-button{width:50%;display:inline-flex;margin-top:13px}.character-button{width:47%;margin-left:2%;margin-top:13px;vertical-align:top;padding:11px;min-height:68px}.best-row{width:100%;padding:10px 1px 0;display:flex}.camp-nav{margin-top:12px}.camp-nav button{font-size:10px;min-height:37px}.level-line{font-size:8px}.hero-art{height:455px}.hero-copy h1{font-size:12vw}.hero-copy .mode-switch{max-width:280px}.companion-button>img{width:53px;height:54px}.companion-button b{font-size:14px}.companion-button em{font-size:8px}.companion-button small{font-size:6px}}
@media(max-width:600px){.brand-lockup>svg{width:28px;height:28px}.brand-lockup strong{font-size:14px;letter-spacing:1.4px}.brand-lockup small{font-size:5px;letter-spacing:2.2px}.brand-lockup>span{gap:3px}.home-layout{padding-top:19px}.hero-copy h1{font-size:16.5vw}.hero-art{height:365px;margin-top:30px}.hero-art>img{height:100%;bottom:7%;width:217%;left:-65%}.hero-name{bottom:-2px;left:10%}.hero-line{font-size:18px;margin-top:23px}.hero-description{font-size:9px;margin-bottom:13px}.mode-switch{width:218px;max-width:none!important;margin-bottom:14px;gap:5px;position:relative;z-index:4}.mode-switch button{padding:7px 10px;border-radius:9px}.mode-switch b{font-size:10px}.mode-switch small{font-size:7px}.play-button{width:218px}.hero-copy>.input-hint{margin-top:14px}.input-hint .touch-hint{font-size:7.5px}.adventure-panel{margin-top:21px;padding-top:14px}.world-cards{grid-template-columns:repeat(2,1fr);gap:7px}.world-card,.world-card.locked{min-height:70px!important;padding:23px 8px 8px}.world-card strong{font-size:10px;max-width:130px}.world-card small,.world-card.locked small{font-size:7px;max-width:135px}.companion-button{width:51%;padding:3px 7px 3px 2px;border-radius:12px;gap:3px}.companion-button>img{width:48px;height:46px}.companion-button small{font-size:5px;letter-spacing:.8px}.companion-button b{font-size:12px}.companion-button em{font-size:7px}.companion-button>svg{width:12px;height:12px}.character-button{width:46%;padding:7px;min-height:54px;gap:5px}.character-avatar{width:28px;height:28px}.character-button b{font-size:10px}.character-button em{display:none}.character-button small{font-size:5px}.camp-nav{gap:7px;margin-top:9px}.camp-nav button{font-size:8px;min-height:34px}.camp-nav button>svg{width:13px;height:13px}.level-line{font-size:7px;margin-top:12px}.best-row{font-size:8px;padding-top:11px}.best-row b{font-size:10px}.home-footer{height:56px}.home-footer .journal-link{font-size:7px;padding:0}.home-footer>span:first-child{font-size:5.5px;letter-spacing:.8px}.home-footer button{font-size:7px}.hud-score>span{font-size:5px;letter-spacing:1px}.run-resources{top:73px;right:17px}.run-resources .resource-pills{gap:4px}.run-resources .resource-pills>span{padding:3px 5px;border-radius:6px;gap:3px}.run-resources .resource-pills svg{width:12px;height:12px}.run-resources .resource-pills b{font-size:9px}.health{top:111px}.helper-button{right:17px;bottom:93px;min-width:159px;min-height:48px;padding:4px 8px 6px 2px;gap:4px;border-radius:13px}.helper-button>img{width:43px;height:40px}.helper-button b{font-size:9px}.helper-button small{font-size:6px;letter-spacing:.3px}.helper-button kbd{display:none}.helper-button>i{height:2px}.shield-button{bottom:94px;min-height:46px}.shield-button small{font-size:7px}.tutorial{top:143px;gap:9px;max-width:94vw;padding:12px 12px 31px}.tutorial>div{gap:3px}.tutorial b{font-size:7px}.tutorial span{font-size:14px}.tutorial>div:last-of-type span{font-size:10px;padding:1px 4px}.tutorial small{font-size:7px}#route-cue{bottom:160px;padding:8px 15px;border-radius:10px}#route-cue b{font-size:12px}#route-cue small{font-size:6px}#danger-banner{top:110px;font-size:6px;letter-spacing:1.3px;padding:4px 8px}.companion-grid{gap:9px;grid-template-columns:1fr 1fr}.companion-card{display:flex;flex-direction:column;padding:8px 10px 12px;gap:0;border-radius:13px}.pet-portrait{width:100%;height:92px}.pet-portrait>img{height:104px;width:100%;scale:1.08}.pet-portrait>span{left:0;top:2px}.pet-portrait>span svg{width:12px;height:12px}.pet-info{width:100%;text-align:center}.pet-info h3{font-size:23px}.pet-info>small{font-size:6.5px}.pet-info>b{font-size:9px;margin-top:8px}.pet-info p{font-size:8px;min-height:36px}.pet-info em{font-size:6px;min-height:18px;margin-top:6px}.pet-info button{font-size:9px;min-height:30px;padding:7px}.tame-cost{justify-content:center;font-size:9px;margin-top:6px}.tame-cost span{font-size:7px}.tame-cost svg{height:12px;width:12px}.pet-inventory{font-size:8px;gap:4px;line-height:1.8}.pet-inventory>button{font-size:9px;margin:5px 0 0;width:100%;text-align:left}.inventory-pills{gap:6px;margin:16px 0}.inventory-pills>span{padding:10px 7px;gap:5px;border-radius:10px;flex-wrap:wrap}.inventory-pills svg{width:18px;height:18px}.inventory-pills b{font-size:16px}.inventory-pills small{font-size:7px}.recipe-grid{grid-template-columns:1fr}.recipe-card{padding:15px}.recipe-icon{float:left;margin-right:12px;height:39px;width:39px}.recipe-card h3{font-size:14px;margin-top:4px}.recipe-card>p{font-size:9px;min-height:26px;margin-bottom:16px}.recipe-cost{gap:10px;clear:both}.recipe-cost>span{font-size:11px}.recipe-bottom{margin-top:12px;padding-top:10px}.recipe-bottom>small>b{display:inline;margin-left:4px;font-size:11px}.recipe-bottom>button{font-size:9px;padding:8px 11px}.research-header{padding:10px;font-size:9px;gap:6px}.research-header>span{font-size:7px}.research-header>strong{font-size:7px;padding:6px}.engram-row{padding:11px 9px;gap:9px}.engram-row>span{width:30px;height:30px;border-radius:9px}.engram-row>span svg{width:18px;height:18px}.engram-row h3{font-size:11px}.engram-row h3>small{font-size:7px;margin-left:4px}.engram-row p{font-size:8px;margin-top:4px}.engram-row>button{min-width:54px;font-size:8px;border-radius:8px}.engram-row .recipe-cost>span{font-size:8px}.journal-stats{gap:8px}.journal-stats>div{padding:13px}.journal-stats b{font-size:19px}.journal-stats small{font-size:8px}.run-history{font-size:9px}.result-resources{gap:5px}.result-resources>span{min-width:61px}.result-xp{font-size:12px}.result-xp strong{font-size:8px}}
@media(max-height:600px) and (orientation:landscape){.brand-lockup strong{font-size:13px}.brand-lockup small{font-size:5px}.brand-lockup>svg{width:28px;height:28px}.hero-copy h1{font-size:53px}.hero-line{font-size:16px;margin:16px 0 7px}.hero-description{font-size:8px;margin-bottom:10px}.hero-art{height:100%;margin:0}.mode-switch{margin-bottom:11px;width:202px}.mode-switch button{padding:4px 8px}.mode-switch b{font-size:9px}.mode-switch small{font-size:6px}.adventure-panel{padding:11px;max-width:240px}.world-cards{display:grid;grid-template-columns:1fr 1fr;gap:5px}.world-card,.world-card.locked{min-height:50px!important;padding:20px 6px 6px}.world-card strong{font-size:8px}.world-card small,.world-card.locked small{font-size:5px}.world-card .world-status{top:4px;right:4px;width:14px;height:14px;font-size:8px}.companion-button{width:100%;margin-top:7px;min-height:44px;padding:1px 6px;gap:6px}.companion-button>img{height:38px;width:42px}.companion-button b{font-size:11px}.companion-button small{font-size:5px}.companion-button em{font-size:6px}.character-button{display:none}.camp-nav{margin-top:7px;gap:4px}.camp-nav button{font-size:6px;padding:4px;min-height:26px}.camp-nav button>svg{height:10px;width:10px}.level-line{display:none}.best-row{font-size:7px;padding-top:8px}.best-row b{font-size:9px}.home-footer .journal-link{font-size:7px}.helper-button{right:215px;bottom:19px;min-width:162px;min-height:43px;padding:3px 8px 4px 2px}.helper-button>img{width:40px;height:34px}.helper-button b{font-size:9px}.helper-button small{font-size:6px}.helper-button kbd{display:none}.run-resources{top:66px}.tutorial{top:112px;bottom:auto}.health{top:104px}#route-cue{bottom:75px}.companion-card{flex-direction:row}.pet-portrait{height:auto;width:40%}.companion-grid{gap:8px}.modal-card h2{font-size:25px}.modal-card .subtitle{font-size:10px;margin-bottom:13px}}
.pet-info>small{color:#748a6c;font-size:8px}.pet-info p{color:#667f5d;font-size:10px;min-height:44px}.pet-info em{color:#7d9072;font-size:8px}.camp-nav button{font-size:9px}.engram-row p,.recipe-card>p{color:#718665}
@media(max-width:600px){.pet-info>small{font-size:7px}.pet-info p{font-size:9px;min-height:48px}.pet-info em{font-size:7px}.camp-nav button{font-size:8px}}
/* Arkkovia: six living worlds and fair community runs. */
.community-button{display:flex;align-items:center;gap:11px;border:1px solid #e8eacb6b;background:#164b40db;color:#fff5cf;border-radius:13px;padding:12px 15px;margin:15px 0 11px;min-width:240px;text-align:left;cursor:pointer;box-shadow:0 5px 22px #153d3522}.community-button>svg{width:24px;height:24px;color:#ffd577}.community-button span{font-size:10px;font-weight:900;letter-spacing:1px}.community-button small{display:block;font-size:9px;letter-spacing:0;font-weight:600;margin-top:3px;color:#cce4d4}.community-button>b{margin-left:auto}.adventure-panel{max-height:calc(100dvh - 142px);overflow:auto}.world-card,.world-card.locked{min-height:67px!important}.world-card strong{font-size:11px}.world-card small{font-size:8px}
#intro{position:fixed;inset:0;z-index:40;color:#fff4d3;background:linear-gradient(#081d22a8,transparent 26%,transparent 62%,#091c1ccf);box-shadow:inset 0 58px #081d22,inset 0 -62px #081d22;pointer-events:auto}.cinema-top{position:absolute;top:22px;left:32px;font-size:10px;font-weight:900;letter-spacing:3px}.cinema-caption{position:absolute;bottom:14%;left:8%;text-shadow:0 4px 25px #0e2020}.cinema-caption>span{font-size:11px;font-weight:900;letter-spacing:3px;color:#ffc18b}.cinema-caption strong{display:block;font:clamp(38px,6vw,86px) Lilita,sans-serif;margin-top:7px}.cinema-caption p{font-size:14px}#skip-intro{position:absolute;right:25px;bottom:17px;padding:8px 14px;border:1px solid #b7cebb66;border-radius:9px;background:#113d34;color:#f4eac9;cursor:pointer;font-weight:800}
.rank-rules{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}.rank-rules span{font-size:10px;background:#dfebda;color:#315b49;padding:7px 10px;border-radius:20px;font-weight:900}.rank-description,.rank-footnote{font-size:12px;line-height:1.65;color:#456a58}.rank-footnote{font-size:10px;margin-top:18px}#rank-profile{margin:20px 0}#rank-profile label{display:block;font-size:12px;font-weight:900;margin-bottom:7px}#rank-profile label small{font-weight:600;color:#71917c}#rank-profile>div{display:flex;gap:8px}#rank-alias{flex:1;min-width:0;border:1px solid #acc3a9;border-radius:10px;padding:11px;font:700 14px Nunito;background:#fffbee;color:#274e3b}#rank-profile-status{display:block;font-size:11px;margin-top:5px}.rank-signin{display:block;text-align:center;text-decoration:none}.rank-board{margin-top:20px;border:1px solid #d9e3cd;border-radius:12px;overflow:auto}.rank-board table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.rank-board th,.rank-board td{padding:12px 10px;border-bottom:1px solid #dce4d2}.rank-board th{font-size:9px;letter-spacing:1px;background:#e3ecd9}.rank-board td small{font-size:9px;color:#6f8d77}.rank-empty{padding:25px;text-align:center;font-size:12px;line-height:1.8;color:#67816e}.rank-empty b{color:#315d48}.primary-button small{display:block;font-size:9px;opacity:.8;margin-left:7px}
@media(max-width:900px){.adventure-panel{max-height:none;overflow:visible}.world-cards{grid-template-columns:repeat(3,1fr)}.community-button{min-width:220px;width:fit-content}.community-button span{font-size:9px}}
@media(max-width:600px){.community-button{width:218px;min-width:0;padding:10px 12px;gap:8px}.community-button span{font-size:8px;letter-spacing:.5px}.community-button small{font-size:7px}.community-button>svg{width:20px;height:20px}.world-cards{grid-template-columns:repeat(2,1fr)}.world-card strong{font-size:11px}.world-card small{font-size:8px}.rank-rules span{font-size:9px}.rank-description{font-size:11px}.rank-board td{font-size:11px;padding:10px 6px}.rank-board td small{display:block}.cinema-caption{bottom:20%;left:7%}.cinema-caption>span{font-size:9px;letter-spacing:2px}.cinema-caption p{font-size:11px;max-width:220px}.cinema-top{font-size:8px;letter-spacing:1.4px;left:20px}.rank-footnote{font-size:9px}}
.modal-card .text-button{color:#426f55}.rank-signin{color:#254d36;font-weight:900;font-family:Nunito}.rank-signin:visited{color:#254d36}
#rank-clock{display:block;color:#ffefba;font-size:10px;letter-spacing:1px;font-weight:900;margin-top:5px;text-shadow:0 2px 8px #193e37}
@media(pointer:coarse){#skip-intro{min-height:44px}}
/* Six to ten successful guardian passages open the next biome. */
#trial-banner{position:absolute;top:120px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;width:350px;max-width:calc(100% - 34px);padding:11px 16px 12px 9px;border:1px solid #ffe3a99c;border-radius:18px;background:linear-gradient(130deg,#2a544cf5,#143e3bf0);color:#fff4d1;box-shadow:0 8px 30px #102d3033;pointer-events:none}#trial-banner>img{width:62px;height:69px;object-fit:contain;filter:drop-shadow(0 3px 9px #9bf0b84a)}#trial-banner>div{flex:1;min-width:0}#trial-tag{display:block;font-size:8px;letter-spacing:1.6px;font-weight:900;color:#f9c77d}#trial-name{display:block;font-family:Lilita,sans-serif;font-size:25px;line-height:1.1;margin:4px 0}#trial-hint{display:block;font-size:9px;line-height:1.45;color:#d4e6ce}#trial-seals{display:flex;gap:6px;margin-top:8px}#trial-seals>i{display:block;flex:1;height:4px;border-radius:5px;background:#83b5a33b}#trial-seals>i.done{background:#ffd67a;box-shadow:0 0 8px #ffd47750}#trial-banner.preview{border-color:#c5e4c777;background:#244b43e3}#trial-banner.preview #trial-name{font-size:22px}#trial-banner.preview #trial-seals{display:none}.trial-active .power-bars{top:257px}.result-guardians{font-size:12px;font-weight:900;color:#4a7055}
@media(max-width:600px){#trial-banner{top:143px;padding:9px 11px 10px 5px;gap:7px;width:334px;border-radius:14px}#trial-banner>img{width:50px;height:60px}#trial-name{font-size:22px}#trial-hint{font-size:9px}#trial-tag{font-size:7px;letter-spacing:1px}.trial-active .power-bars{top:249px}#trial-seals{margin-top:6px}}
@media(max-height:600px) and (orientation:landscape){#trial-banner{top:104px;width:285px;padding:7px 11px 8px 6px}#trial-banner>img{height:46px;width:43px}#trial-name{font-size:20px}#trial-hint{font-size:8px}.trial-active .power-bars{top:212px}}

#graphics-recovery{position:fixed;z-index:95;inset:0;background:#143e38ed;color:#fff6d8;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;gap:12px}#graphics-recovery strong{font-family:Lilita,sans-serif;font-size:26px;font-weight:400}#graphics-recovery span{font-size:12px;color:#bee4c4;line-height:1.6}

/* Phone layout: the same world and chase direction, with separate touch rows. */
:root{--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px)}
#hud button,#skip-intro{touch-action:manipulation;user-select:none;-webkit-user-select:none}
#toast{pointer-events:none}
@media(max-width:600px){
 .topbar{padding-top:calc(15px + var(--safe-top));padding-left:max(16px,var(--safe-left));padding-right:max(16px,var(--safe-right))}
 .top-actions .icon-button{width:40px;height:40px}.wallet{height:40px}.top-actions{gap:6px}
 .brand-lockup strong{font-size:13px}.brand-lockup small{font-size:6px;letter-spacing:1.5px}
 .hud-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(90px,1fr) auto;gap:6px;padding:calc(15px + var(--safe-top)) 14px 25px}
 .hud-score>span{display:block;font-size:6.5px;letter-spacing:.7px;white-space:nowrap}.hud-score>strong{font-size:31px}
 .hud-center{min-width:0;padding-top:0}.hud-center>span{font-size:7px;letter-spacing:.7px}.hud-center>strong{font-size:23px;margin-top:4px}
 .hud-center #rank-clock{font-size:8px}.hud-right{gap:6px}.hud-right .icon-button{width:42px;height:42px}.run-coins{height:42px;font-size:15px;padding:6px 8px}
 .health{top:calc(99px + var(--safe-top));left:15px}.health small{font-size:6.5px;letter-spacing:.45px;max-width:72vw}
 .run-resources{top:calc(69px + var(--safe-top));right:15px}.run-resources .resource-pills>span{padding:4px 5px}.run-resources .resource-pills b{font-size:10px}
 .power-bars{top:calc(126px + var(--safe-top));left:15px}.power-pill{min-width:120px;padding:6px 8px}.power-pill b{font-size:8px}
 .combo{top:calc(101px + var(--safe-top));right:15px;font-size:11px}
 .touch-controls{display:flex;left:0;right:0;bottom:calc(14px + var(--safe-bottom));gap:10px;z-index:4}
 .touch-controls button{width:54px;height:54px;border-radius:17px;background:#173e3880;border:1px solid #fff9e9aa;box-shadow:0 3px 0 #0a302b44;font-size:30px;color:#fff9e9}
 .shield-button{left:max(14px,var(--safe-left));bottom:calc(86px + var(--safe-bottom));min-height:48px;max-width:112px;z-index:3}
 .helper-button{right:max(14px,var(--safe-right));bottom:calc(86px + var(--safe-bottom));min-height:48px;min-width:0;width:164px;max-width:53vw;z-index:3}
 .helper-button b{font-size:10px}.helper-button small{font-size:6.5px}.shield-button span{font-size:10px}
 #toast{top:auto;bottom:calc(154px + var(--safe-bottom));max-width:calc(100% - 30px);padding:10px 15px;font-size:11px;z-index:8}
 #route-cue{top:auto;bottom:calc(212px + var(--safe-bottom));padding:7px 14px;max-width:calc(100% - 28px)}
 #danger-banner{top:calc(119px + var(--safe-top));font-size:7px}
 .tutorial{top:calc(130px + var(--safe-top));gap:8px;padding:10px 10px 28px}.tutorial small{font-size:8px}.tutorial b{font-size:8px}
 #trial-banner{top:calc(140px + var(--safe-top))}.trial-active .power-bars{top:calc(244px + var(--safe-top))}
 .modal-backdrop{padding:14px 12px calc(14px + var(--safe-bottom))}.modal-card{max-height:calc(100dvh - 28px - var(--safe-top) - var(--safe-bottom))}
 .setting-row select{max-width:48%;min-height:44px}.toggle,.close-modal{min-width:44px;min-height:44px}.close-modal{right:10px;top:10px}
 #intro{box-shadow:inset 0 calc(45px + var(--safe-top)) #081d22,inset 0 calc(-70px - var(--safe-bottom)) #081d22}
 .cinema-top{top:calc(17px + var(--safe-top));left:18px;font-size:7.5px;letter-spacing:1px}
 .cinema-caption{bottom:calc(15% + var(--safe-bottom));left:7%;right:7%}.cinema-caption strong{font-size:clamp(36px,10vw,51px)}.cinema-caption p{font-size:11px;max-width:none}
 #skip-intro{bottom:calc(13px + var(--safe-bottom));right:15px;min-height:44px;font-size:13px}
}
@media(max-width:360px){.hud-top{grid-template-columns:minmax(0,1fr) 91px auto;padding-left:11px;padding-right:11px;gap:3px}.hud-score>span{font-size:5.8px;letter-spacing:.25px}.hud-center>span{font-size:6.3px}.hud-right{gap:5px}.run-coins{padding:6px}.hud-right .icon-button{width:40px}.helper-button{width:154px}.topbar{padding-left:12px;padding-right:12px}.brand-lockup>svg{width:24px}.brand-lockup strong{font-size:11px}.brand-lockup small{font-size:5px}.top-actions .icon-button{width:36px}.wallet{padding:0 5px}.home-layout{padding-left:19px;padding-right:19px}}
@media(max-height:500px) and (orientation:landscape){
 .hud-top{padding:calc(9px + var(--safe-top)) max(15px,var(--safe-right)) 20px max(15px,var(--safe-left))}.hud-score>strong{font-size:28px}.hud-center>strong{font-size:22px}
 .health{top:78px;left:max(15px,var(--safe-left))}.run-resources{top:60px;right:max(15px,var(--safe-right))}.power-bars{top:103px;left:max(15px,var(--safe-left))}
 .touch-controls{display:flex;left:auto;right:max(16px,var(--safe-right));bottom:calc(12px + var(--safe-bottom));gap:8px}.touch-controls button{width:46px;height:46px}
 .shield-button{left:max(16px,var(--safe-left));bottom:calc(12px + var(--safe-bottom));min-height:44px}.helper-button{left:max(122px,calc(var(--safe-left) + 116px));right:auto;bottom:calc(12px + var(--safe-bottom));width:158px;min-width:0;min-height:44px}
 #toast{top:79px;bottom:auto;padding:8px 12px;font-size:10px;max-width:48%}#route-cue{top:auto;bottom:70px;padding:6px 12px}.tutorial{top:103px;padding:8px 12px 25px}
 #trial-banner{top:102px}.trial-active .power-bars{top:201px}.cinema-caption{bottom:23%;left:5%}.cinema-caption strong{font-size:38px}.cinema-caption p{font-size:11px}.cinema-top{top:16px}
}
@media(max-height:500px) and (orientation:landscape){.shield-button{max-width:112px}.shield-button kbd{display:none}.helper-button{left:max(144px,calc(var(--safe-left) + 128px))}}
/* Shared sky is a source texture behind the world, never a DOM overlay. */
#sky{display:none;pointer-events:none}
/* Community destinations stay accessible at every menu size. */
.home-screen{overflow-y:auto;overflow-x:hidden}
.home-footer{height:auto;min-height:65px;gap:12px 16px;flex-wrap:wrap;padding:12px 0}
.arkkovia-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.arkkovia-links a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 12px;border:1px solid #c7e8cb55;border-radius:11px;background:#153e36c9;color:#f0f5de;text-decoration:none;font-size:11px;font-weight:900;transition:background .15s,border-color .15s}
.arkkovia-links a:last-child{color:#ffe5a4;border-color:#e5c67766}
.arkkovia-links a:hover{background:#285a48;border-color:#b9e9b8}
.arkkovia-links a>span{margin-left:3px;color:#bce2be}
@media(max-width:900px){.home-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.arkkovia-links{grid-column:1/-1;grid-row:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.arkkovia-links a{font-size:11px;padding:10px 7px}.home-footer>button{justify-content:center;min-height:36px}.home-footer .journal-link{font-size:9px}}
