@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";:root{font-family:DM Sans,sans-serif;color:#f1ecd7;background:#18352f;font-synthesis:none;--control-size:1}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,select,input{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none}button:focus-visible,select:focus-visible{outline:2px solid #e6dc9d;outline-offset:3px}button:hover{filter:brightness(1.15)}button:disabled{opacity:.4;cursor:not-allowed}[hidden]{display:none!important}.game-shell{height:100dvh;width:100%;position:relative;overflow:hidden;background:#446e54}#game{position:absolute;top:0;right:0;bottom:0;left:0;touch-action:none}canvas{display:block;image-rendering:pixelated;touch-action:none}.vignette{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;box-shadow:inset 0 0 140px #15312f50;z-index:1}.world-header{position:absolute;top:max(22px,env(safe-area-inset-top));left:max(28px,env(safe-area-inset-left));right:max(28px,env(safe-area-inset-right));display:flex;align-items:center;justify-content:space-between;gap:22px;z-index:3;pointer-events:none}.world-header button,.resources{pointer-events:auto}.wordmark{display:flex;align-items:center;gap:11px;text-align:left;font-size:36px;text-shadow:0 2px 3px #193a30}.wordmark span{font-size:22px;font-weight:800;letter-spacing:3px}.wordmark small{display:block;font-size:7px;font-weight:500;letter-spacing:2.5px;margin-top:3px;color:#dedec3}.location{display:flex;align-items:center;gap:12px;background:#173b32eb;box-shadow:0 5px 20px #0a291e25;padding:12px 20px;border:1px solid #d4e4bb2a;border-radius:7px}.location b{display:block;font-size:13px;font-weight:600}.location small{display:block;color:#b8c7a7;font-size:9px;margin-top:4px}.live-dot{width:7px;height:7px;border-radius:50%;background:#d4db9a;box-shadow:0 0 12px #caddaf80}.resources{display:flex;gap:20px;align-items:center;background:#173b32eb;border:1px solid #d4e4bb2a;border-radius:7px;padding:9px 13px;font-size:14px;color:#e1d6a1}.resources b{font-size:12px;font-weight:500}.resources button{border-left:1px solid #c8d4ae30;padding:7px 0 7px 16px;font-size:17px;color:#ecedcf}.quest{position:absolute;top:120px;right:30px;width:215px;background:#183c33e8;border:1px solid #d4e4bb2a;border-radius:7px;padding:18px 20px;z-index:2}.quest small,.eyebrow{font-size:8px;letter-spacing:2px;color:#c8cf9d}.quest h3{font:500 18px Manrope,sans-serif;margin:12px 0 7px}.quest p{font-size:10px;color:#b7c5a7;line-height:1.8}.quest #seal-progress{font-size:23px;color:#536e59;letter-spacing:16px;margin-top:14px}.earned{color:#e5d69b}.companion-badge{position:absolute;bottom:125px;left:30px;background:#183c33ed;border:1px solid #d4e4bb2a;border-radius:7px;padding:8px 16px 8px 7px;display:flex;align-items:center;gap:7px;z-index:2}.companion-badge svg{width:50px;height:60px}.companion-badge small{display:block;font-size:6px;letter-spacing:1.5px;color:#c3cfaa}.companion-badge b{display:block;font-size:12px;margin:6px 0}.companion-badge em{font-style:normal;font-size:9px;color:#d3d4a1;margin-left:8px}.companion-badge span{font-size:8px;color:#b5c3a3}.hint{position:absolute;left:50%;bottom:118px;transform:translate(-50%);max-width:60%;font-size:10px;letter-spacing:.2px;color:#f0ead1;background:#244738de;border:1px solid #c6d3a32b;padding:10px 18px;border-radius:30px;text-align:center;z-index:2;pointer-events:none}.dock{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:max(28px,env(safe-area-inset-left));right:max(28px,env(safe-area-inset-right));z-index:4;display:flex;align-items:center;justify-content:space-between;gap:16px;pointer-events:none}.dock>div{pointer-events:auto}.travel-actions{display:flex;gap:7px;background:#193c34ed;border:1px solid #c6d3a336;padding:6px;border-radius:9px}.travel-actions button{display:flex;align-items:center;gap:10px;padding:13px 14px;border-radius:5px;font-size:11px}.travel-actions button:hover{background:#ffffff0a}.travel-actions button>span{font-size:19px;color:#c7d3a1}.travel-actions kbd{font-size:7px;color:#9db28f;border:1px solid #c3d2a630;padding:2px 4px;margin-left:2px;border-radius:3px}.save-status{font-size:7px;letter-spacing:1.4px;color:#e1e4c7;text-shadow:0 1px 4px #163a2b}.save-status:before{content:"●";font-size:6px;color:#d3dda4;margin-right:7px}#toast{position:absolute;top:105px;left:50%;transform:translate(-50%,-8px);z-index:8;background:#f2e8ca;color:#304b3b;font-size:11px;border-radius:5px;box-shadow:0 8px 30px #12322433;padding:13px 22px;opacity:0;pointer-events:none;transition:.2s;max-width:70%;text-align:center}#toast.show{opacity:1;transform:translate(-50%)}dialog{background:#1c3a32;color:#f1ecd7;border:1px solid #d1d6a14a;border-radius:12px;max-width:740px;width:calc(100% - 36px);padding:36px;box-shadow:0 30px 150px #0e251c70;max-height:90dvh;overflow-y:auto}dialog::backdrop{background:#102b27a3;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.close{float:right;width:32px;height:32px;border:1px solid #d1d6a133;border-radius:6px;font-size:20px}.eyebrow{margin:5px 0 16px}h1{font:500 30px Manrope,sans-serif;letter-spacing:-1px;margin:10px 0 14px}p{font-size:12px;line-height:1.8;color:#b6c6ad}.lead{font-size:13px;max-width:590px}.hero-art{display:flex;justify-content:center;align-items:flex-end;gap:12px;margin:20px 0 12px;min-height:112px;background:radial-gradient(ellipse at bottom,#5c78512b,transparent 70%);border-bottom:1px solid #c8d2a61f}.hero-art svg{width:82px;height:100px;filter:drop-shadow(0 8px 12px #102c22);animation:sway 3s infinite}.hero-art>div:nth-child(2) svg{width:105px;height:130px;animation-delay:.7s}.hero-art>div:nth-child(4) svg{animation-delay:1.4s}.feature-row{display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#bdcba9;margin:25px 0}.primary,.secondary{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#dbdda8;color:#263f32;border:1px solid #dbdda8;border-radius:5px;padding:14px 20px;font-size:11px;font-weight:700;margin-top:14px}.secondary{background:transparent;color:#d4d7b8;border-color:#b2c29b40}.wide{width:100%}.footnote{display:block;text-align:center;font-size:8px;color:#93ad91;margin-top:20px}.starter-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin-top:25px}.starter-grid button{display:flex;flex-direction:column;align-items:center;padding:15px 6px;border:1px solid #b9c89d30;background:#244738;border-radius:7px}.starter-grid button:hover{border-color:#dce2ab;transform:translateY(-3px)}.starter-grid svg{height:95px;width:75px}.starter-grid b{font-size:11px;margin-top:10px}.starter-grid small{font-size:9px;color:#d4d7a8;margin-top:5px}.starter-grid span{font-size:8px;color:#8fab8f;margin-top:8px;text-align:center;line-height:1.5}.warning{font-size:10px;color:#e4c09e}.party-list{display:grid;gap:8px;margin-top:20px;max-height:50vh;overflow:auto}.party-list button{display:flex;align-items:center;gap:15px;background:#244537;border:1px solid #b2c29b30;padding:9px 15px;border-radius:6px;text-align:left}.party-list button.selected{border-color:#d2d8a2}.party-list svg{width:48px;height:57px}.party-list b{font-size:13px}.party-list em{font-size:9px;font-style:normal;color:#d8d7a3;margin-left:7px}.party-list small{display:block;font-size:9px;color:#a5bd9c;margin-top:7px}.party-list button>span{margin-left:auto;font-size:8px;letter-spacing:1px;color:#ccd7a7}.journal-grid{display:grid;gap:12px}.journal-grid>div{display:flex;gap:20px;padding:16px;background:#244537;border-radius:6px}.journal-grid svg{width:65px;height:78px;flex-shrink:0}.journal-grid b{font-size:14px}.journal-grid small{display:block;font-size:8px;color:#b7c897;margin-top:5px}.journal-grid p{font-size:10px;margin:7px 0}.journal-grid span{font-size:7px;letter-spacing:1px;color:#d5d7a3}.unknown svg{filter:brightness(0);opacity:.4}.map{background:#638868;border:6px solid #d6d1a773;border-radius:6px;overflow:hidden}.map svg{display:block;width:100%}.shop-item{display:flex;align-items:center;gap:15px;background:#244537;padding:18px;border-radius:6px;margin:20px 0}.shop-item>span{font-size:34px;color:#d9d9a3}.shop-item b{font-size:13px}.shop-item p{font-size:9px}.shop-item .primary{margin:0 0 0 auto;white-space:nowrap}.menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:20px}.menu-grid button{background:#294b3b;border:1px solid #b2c29b30;border-radius:6px;padding:18px;font-size:11px;text-align:left}dialog label{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin:17px 0}select{background:#284b3c;color:#e4e5c6;border:1px solid #d2d7a43d;border-radius:4px;padding:9px;font-size:11px}input[type=range]{accent-color:#d6dca5;width:150px}.controls-copy{border-top:1px solid #b8c89d22;padding-top:17px;font-size:10px;line-height:2}.result-art svg{height:130px;display:block;margin:15px auto}.result-art{background:radial-gradient(ellipse,#b9cd7522,transparent 60%)}#battle-hud{position:absolute;top:105px;left:40px;right:40px;display:flex;justify-content:space-between;gap:30px;z-index:2;pointer-events:none}.fighter{width:31%;max-width:340px;background:#17382eeb;border:1px solid #d4e4bb2a;border-radius:5px;padding:12px 16px}.fighter>small{display:block;font-size:6px;letter-spacing:1.5px;color:#a8bc91}.fighter>b{display:block;font-size:14px;margin:7px 0 8px}.fighter>div{display:flex;justify-content:space-between;font-size:7px;color:#c0cea4;margin-top:5px}meter{display:block;width:100%;height:9px}meter::-webkit-meter-bar{background:#0f2a25;border:0}meter::-webkit-meter-optimum-value{background:#d9dda0}.enemy meter::-webkit-meter-optimum-value{background:#e2aa85}#stamina{height:4px;width:65%;margin-top:5px}#stamina::-webkit-meter-optimum-value{background:#8dbbb4}.versus{color:#e0dfb1;font:italic 23px Georgia;align-self:center;text-align:center}.versus button{display:block;pointer-events:auto;font:12px DM Sans;background:#183b31;border:1px solid #ced7a63b;width:35px;height:28px;margin:8px auto 0;border-radius:4px}.in-battle .location,.in-battle #hint{display:none}.in-battle .travel-actions button:not(:first-child){display:none}.in-battle .travel-actions kbd{display:none}#abilities{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;background:#193c34f2;border:1px solid #c6d3a336;padding:7px;border-radius:9px;flex:1;max-width:690px}.ability{position:relative;display:flex;align-items:center;flex-direction:column;min-width:0;min-height:84px;padding:7px 5px;touch-action:none;border:1px solid transparent;border-radius:5px}.ability:hover{background:#ffffff07}.ability kbd{position:absolute;top:3px;left:3px;border:1px solid #cad8a52a;border-radius:3px;font-size:6px;padding:2px;color:#99b18d}.ability-icon{width:36px;height:36px;display:grid;place-items:center;font-size:24px;border-radius:50%;color:#dedfae;background:radial-gradient(closest-side,#203e32 80%,transparent 83%),conic-gradient(#d6dba1 calc(100% - var(--cool,0%)),#ffffff10 0)}.ability b{font-weight:500;font-size:8px;margin-top:6px}.ability small{font-size:7px;color:#b9ca9e;margin-top:4px}.recharging .ability-icon{color:#6d8867}.recharging b{color:#8ba181}.pressed{background:#5d7150!important}.battle-actions{display:flex;gap:7px}.battle-actions button{height:60px;min-width:64px;background:#193c34f2;border:1px solid #c6d3a336;border-radius:6px;padding:8px;font-size:24px;color:#d8dba6}.battle-actions span{display:block;font-size:8px;margin-top:4px}#touch{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:3;display:none}#joystick{position:absolute;bottom:140px;left:28px;width:calc(100px * var(--control-size));height:calc(100px * var(--control-size));background:#193c3477;border:1px solid #e6e6b966;border-radius:50%;display:grid;place-items:center;touch-action:none;pointer-events:auto}#joystick>span{width:40%;height:40%;background:#d4dbad55;border:1px solid #e6e6b977;border-radius:50%}.touch-utility{position:absolute;right:28px;bottom:145px;display:flex;gap:10px;pointer-events:auto}.touch-utility button{width:calc(60px * var(--control-size));height:calc(60px * var(--control-size));border-radius:50%;background:#193c34c9;border:1px solid #e6e6b966;font-size:9px;touch-action:none}.battle-only{display:none}.in-battle .battle-only{display:block}.in-battle .world-only{display:none}.force-touch #touch{display:block}.rotate{display:none}.in-battle,.game-shell{user-select:none;-webkit-user-select:none}.in-battle .dock{gap:10px}.in-battle .companion-badge,.force-touch .ability kbd{display:none}@keyframes sway{50%{transform:translateY(-4px)}}@media(pointer:coarse){#touch{display:block}.ability kbd{display:none}.companion-badge{bottom:255px}.hint{bottom:235px}.quest,.travel-actions kbd{display:none}}@media(max-width:900px){.wordmark span{font-size:17px;letter-spacing:2px}.wordmark{font-size:29px;gap:7px}.wordmark small{font-size:5px}.world-header{left:18px;right:18px;gap:12px}.location{padding:10px 12px}.location b{font-size:11px}.location small{font-size:7px}.resources{gap:12px;font-size:12px}.resources b{font-size:10px}.quest{right:20px;width:185px;padding:15px}.dock{left:18px;right:18px}.travel-actions button{padding:10px;font-size:10px;gap:7px}.travel-actions kbd{display:none}.save-status{font-size:6px}.fighter{width:36%;padding:10px}.fighter>b{font-size:12px}#battle-hud{left:22px;right:22px}.in-battle .travel-actions button{font-size:0;padding:10px}.in-battle .travel-actions button>span{font-size:20px}.battle-actions button{min-width:50px}.ability b{font-size:7px}}@media(max-width:600px){.world-header{top:max(15px,env(safe-area-inset-top));left:14px;right:14px;flex-wrap:wrap;gap:10px}.wordmark{font-size:28px}.wordmark span{font-size:17px}.resources{margin-left:auto;padding:6px 10px;gap:13px}.resources button{padding:5px 0 5px 10px}.location{order:3;width:100%;padding:9px 12px;gap:8px;background:#173b32e8}.location small{font-size:8px}.location b{font-size:11px}.quest{top:155px;right:14px;width:160px;padding:13px;display:none}.quest h3{font-size:15px}.companion-badge{left:15px;bottom:240px;padding:4px 12px 4px 3px}.companion-badge svg{height:50px;width:43px}.hint{bottom:215px;width:85%;max-width:90%;font-size:8px;padding:9px 13px}.dock{left:14px;right:14px;bottom:max(16px,env(safe-area-inset-bottom));flex-wrap:wrap;gap:10px}.travel-actions{padding:4px;width:100%;justify-content:space-around}.travel-actions button{padding:10px 12px;font-size:10px}.travel-actions button>span{font-size:19px}.save-status{width:100%;text-align:center;font-size:6px;letter-spacing:1px}.in-battle .dock{display:grid;grid-template-columns:50px 1fr}.in-battle #abilities{order:3;grid-column:span 2;padding:4px;gap:2px;width:100%;max-width:none}.in-battle .travel-actions{width:auto}.in-battle .battle-actions{justify-content:flex-end}.battle-actions button{height:42px;min-width:76px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:20px}.battle-actions span{font-size:9px;margin:0}.ability{min-height:76px;padding:5px 1px}.ability b{font-size:7px}.ability-icon{width:33px;height:33px;font-size:21px}.ability small{font-size:6px}#joystick{left:20px;bottom:125px;width:calc(94px * var(--control-size));height:calc(94px * var(--control-size))}.touch-utility{right:20px;bottom:143px;gap:10px}.touch-utility button{width:54px;height:54px}.in-battle #joystick{bottom:175px}.in-battle .touch-utility{bottom:195px}.in-battle #battle-hud{top:77px;left:14px;right:14px;gap:7px}.fighter{width:44%;padding:9px}.fighter>b{font-size:10px;margin:5px 0 6px}.fighter>small{font-size:5px}.fighter>div{font-size:6px}.versus{font-size:16px}.versus button{width:28px;height:26px}.rotate{position:absolute;display:block;bottom:300px;left:50%;transform:translate(-50%);white-space:nowrap;background:#284b3ba8;font-size:7px;padding:6px 10px;border-radius:20px;pointer-events:none}.in-battle .rotate{display:block}.rotate[hidden]{display:none!important}dialog{padding:25px 22px;max-height:92dvh}h1{font-size:25px}.eyebrow{font-size:6px}.hero-art{gap:3px}.hero-art svg{width:50px;height:80px}.hero-art>div:nth-child(2) svg{width:72px;height:110px}.feature-row{font-size:7px;gap:6px}.starter-grid{grid-template-columns:repeat(2,1fr);gap:8px}.starter-grid button:last-child{grid-column:span 2;flex-direction:row;justify-content:center;gap:10px}.starter-grid button:last-child span{display:none}.starter-grid svg{height:75px;width:60px}.starter-grid b{font-size:11px}.starter-grid span{font-size:7px}.starter-grid button:last-child b,.starter-grid button:last-child small{margin:0}.party-list button{padding:8px;gap:9px}.party-list b{font-size:11px}.party-list small{font-size:7px}.party-list button>span{font-size:6px}.journal-grid>div{padding:12px;gap:12px}.journal-grid svg{width:48px}.journal-grid b{font-size:12px}.journal-grid p{font-size:9px}.menu-grid{grid-template-columns:1fr}.shop-item{flex-wrap:wrap;padding:12px}.shop-item .primary{width:100%;justify-content:center}#toast{top:140px;max-width:90%;width:90%;font-size:10px}.in-battle #toast{top:200px}input[type=range]{width:120px}dialog label{font-size:10px}}@media(max-height:550px)and (orientation:landscape){.world-header{top:max(10px,env(safe-area-inset-top));left:max(15px,env(safe-area-inset-left));right:max(15px,env(safe-area-inset-right));flex-wrap:nowrap}.wordmark span{font-size:14px}.wordmark{font-size:26px}.wordmark small{font-size:5px}.location{width:auto;order:0;padding:7px 12px}.location small{font-size:6px}.resources{padding:5px 10px}.quest{display:none}.companion-badge{bottom:88px;left:15px;padding:3px 10px 3px 3px}.companion-badge svg{width:33px;height:43px}.companion-badge b{font-size:10px;margin:4px 0}.companion-badge small{font-size:5px}.companion-badge span{font-size:7px}.dock{bottom:max(12px,env(safe-area-inset-bottom));left:max(15px,env(safe-area-inset-left));right:max(15px,env(safe-area-inset-right));flex-wrap:nowrap}.travel-actions button{padding:7px 10px;font-size:9px}.travel-actions button>span{font-size:17px}.hint{bottom:78px;font-size:8px;padding:7px 12px;max-width:55%}#joystick{bottom:90px;left:20px;width:84px;height:84px}.touch-utility{bottom:95px;right:20px}.touch-utility button{width:48px;height:48px}.companion-badge{bottom:190px}.force-touch .companion-badge{display:none}.in-battle #battle-hud{top:60px;left:20px;right:20px}.fighter{padding:7px 10px;width:33%}.fighter>b{font-size:10px;margin:3px 0 6px}.fighter small{font-size:5px}.fighter>div{font-size:6px}.versus{font-size:17px}.versus button{margin:3px auto 0;height:23px}.in-battle .travel-actions button{padding:7px}.ability{min-height:65px;padding:3px}.ability-icon{width:29px;height:29px;font-size:19px}.ability b{margin-top:4px;font-size:7px}.ability small{margin-top:3px;font-size:6px}#abilities{max-width:560px;padding:4px}.battle-actions button{height:47px;min-width:47px;font-size:20px}.battle-actions span{font-size:7px}#toast,.in-battle #toast{top:115px;padding:8px 14px;font-size:9px}.rotate{display:none!important}dialog{max-height:94dvh;padding:23px 30px;max-width:660px}.hero-art{min-height:80px;margin:10px 0}.hero-art svg{height:65px;width:55px}.hero-art>div:nth-child(2) svg{height:85px;width:65px}.feature-row{margin:12px 0}h1{font-size:25px}.starter-grid{margin-top:12px}.starter-grid svg{height:65px;width:50px}.starter-grid button{padding:9px 3px}.starter-grid span{display:none}.footnote{margin-top:12px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.house-summary{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;background:#294b3b;padding:14px;border-radius:6px;font-size:10px;color:#d5d9b0}.upgrade-panel{border:1px solid #b6ca9840;padding:14px;border-radius:6px;margin:16px 0}.upgrade-panel summary{cursor:pointer;font-size:11px;line-height:1.8}.tier-list{margin-top:12px}.tier-list>div{display:flex;justify-content:space-between;padding:9px;font-size:10px;color:#aabc9d}.tier-list .current-tier{background:#536e4840;color:#e6dfaa}.house-heading{font-size:13px;margin:22px 0 12px}.storage-row{display:flex;align-items:center;gap:10px;background:#244537;border:1px solid #b2c29b20;border-radius:6px;padding:8px 12px;margin:7px 0}.storage-row svg{width:36px;height:44px;flex-shrink:0}.storage-row>div{flex:1}.storage-row b{font-size:11px}.storage-row small{display:block;font-size:8px;margin-top:5px;color:#a5bd9c}.storage-row .secondary{margin:0;padding:10px 12px;font-size:9px}.release-button{font-size:9px;color:#e9b59d;min-height:40px;padding:10px}.storage-search{display:flex;gap:10px}.storage-search input{flex:1;min-width:0;background:#254736;color:#e6e5c5;border:1px solid #a9bf9340;border-radius:5px;padding:12px;font-size:11px}.storage-search .secondary{margin:0}.storage-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:15px}.storage-pagination span{font-size:9px;color:#acc19d}.storage-pagination button{font-size:9px;padding:10px;margin:0}.confirm-actions{display:flex;gap:12px;justify-content:flex-end}.danger{background:#dcaa91;border-color:#dcaa91}.confirm-actions button{font-size:10px}@media(max-width:600px){.storage-row{padding:8px;gap:6px;flex-wrap:wrap}.storage-row b{font-size:10px}.storage-row small{font-size:7px}.storage-row svg{width:30px}.storage-row .secondary{font-size:8px;padding:9px}.release-button{font-size:8px;padding:7px}.confirm-actions{flex-direction:column;gap:0}.storage-pagination span{font-size:7px}}.storage-row button{min-height:44px}#battle-moment{position:absolute;z-index:7;left:50%;top:30%;transform:translate(-50%,-50%) skew(-4deg);width:min(88%,950px);padding:21px 30px;text-align:center;background:linear-gradient(90deg,transparent,#132c2ef2 18%,#132c2ef5 82%,transparent);border-top:2px solid var(--moment-color,#e1d6a0);border-bottom:2px solid var(--moment-color,#e1d6a0);box-shadow:0 15px 60px #18362c55;pointer-events:none}#battle-moment small{display:block;color:var(--moment-color,#e1d6a0);font-size:9px;font-weight:700;letter-spacing:3px;margin-bottom:11px}#battle-moment b{display:block;font:800 clamp(17px,2.4vw,34px) Manrope,sans-serif;font-style:italic;letter-spacing:1px;text-shadow:3px 3px #0006}#battle-moment.enter{animation:moment-in .22s ease-out}#combo-hud{position:absolute;z-index:3;left:6%;top:32%;pointer-events:none;transform:rotate(-5deg);text-shadow:2px 3px #183a31}#combo-hud b{font:800 35px Manrope,sans-serif;color:#ffe2a0;font-style:italic;display:block;line-height:1}#combo-hud span{font-size:7px;letter-spacing:1px;color:#fff1bf}#ultimate{position:relative;overflow:hidden;min-width:70px;color:#f6d67f;border-color:#dbbb6755}#ultimate:before{content:"";position:absolute;left:0;bottom:0;width:var(--fury,35%);height:4px;background:#e7c477;box-shadow:0 0 12px #f2d684}#ultimate:disabled{opacity:.7}#ultimate strong{font-size:24px;font-weight:400}#ultimate small{display:block;font-size:6px;letter-spacing:1px;margin-top:4px}#ultimate kbd{font-size:7px;border:1px solid #d7c68c40;padding:1px 3px;margin-left:4px}#ultimate.ready{border-color:#ffe5a0;background:#5e5429;box-shadow:0 0 20px #e6c77755;animation:instinct-pulse 1s infinite}.cache-reward{font:700 25px Manrope,sans-serif;color:#e6d49a;padding:25px 0}.cache-reward span{font-size:14px;display:block;color:#a9cda3;margin-top:8px}.in-battle .battle-actions{align-items:stretch}.in-battle .battle-actions button{height:74px}.in-battle .wordmark{opacity:.65}.ability{transition:background .12s,border-color .12s}.ability:active,.pressed{border-color:#e8e0a3}.fighter{border-bottom:3px solid #c7d28f88}.enemy{border-bottom-color:#e5a28c88}.fighter meter::-webkit-meter-optimum-value{transition:width .12s}.in-battle #battle-hud{top:85px}@keyframes moment-in{0%{opacity:0;transform:translate(-45%,-50%) skew(-4deg)}to{opacity:1;transform:translate(-50%,-50%) skew(-4deg)}}@keyframes instinct-pulse{50%{box-shadow:0 0 30px #f1d2838a}}@media(max-width:900px){#ultimate{min-width:55px}#ultimate span{font-size:7px}#ultimate kbd{display:none}#battle-moment small{font-size:7px;letter-spacing:2px}#combo-hud b{font-size:28px}#combo-hud span{font-size:6px}}@media(max-width:600px){.in-battle .battle-actions button{height:42px}#ultimate{min-width:85px;gap:5px}#ultimate strong{font-size:22px}#ultimate small{margin:0;font-size:6px}.in-battle #battle-hud{top:72px}#battle-moment{top:37%;padding:15px 16px;width:95%}#battle-moment b{font-size:17px}#battle-moment small{font-size:5px;letter-spacing:1.5px}#combo-hud{top:29%;left:5%}#combo-hud b{font-size:25px}#combo-hud span{font-size:5px}}@media(max-height:550px)and (orientation:landscape){.in-battle #battle-hud{top:52px}.in-battle .battle-actions button{height:58px}#ultimate{min-width:50px}#ultimate small{font-size:5px}#battle-moment{top:44%;padding:13px 20px}#battle-moment b{font-size:23px}#battle-moment small{font-size:6px;margin-bottom:7px}#combo-hud{top:35%;left:5%}#combo-hud b{font-size:24px}}canvas{image-rendering:auto}.creature-portrait{overflow:visible}.hero-art svg.creature-portrait{animation:none;width:100px;height:140px}.hero-art>div:nth-child(2) svg.creature-portrait{width:130px;height:160px}.starter-grid svg.creature-portrait{height:130px;width:105px}.starter-grid button{overflow:hidden}.creature-portrait .rig-eyes{animation:creature-blink 6s infinite;transform-origin:0 -23px}.species-1 .rig-eyes{animation-delay:1.3s}.species-2 .rig-eyes{animation-delay:2.1s}.species-3 .rig-eyes{animation-delay:3s}.species-4 .rig-eyes{animation-delay:.4s}.species-0 .rig-cindrake-tail{animation:gecko-tail 2.8s ease-in-out infinite}.species-0 .rig-flame{animation:ember-flicker .5s ease-in-out infinite alternate;transform-origin:0 12px}.species-0 .rig-cindrake-head{animation:gecko-curiosity 5s ease-in-out infinite}.species-1 .rig-grubel-shell{animation:quartz-sigh 4s ease-in-out infinite;transform-origin:0 25px}.species-1 .rig-grubel-head{animation:grubel-nod 4s ease-in-out infinite}.species-2 .rig-aerofin-wing--1{animation:fin-left 2.8s ease-in-out infinite}.species-2 .rig-aerofin-wing-1{animation:fin-right 2.8s ease-in-out infinite}.species-2 .rig-fin-ribbon-0,.species-2 .rig-fin-ribbon-1,.species-2 .rig-fin-ribbon-2{animation:ribbon-flow 2s ease-in-out infinite}.species-2 .rig-fin-ribbon-1{animation-delay:-.5s}.species-2 .rig-fin-ribbon-2{animation-delay:-1s}.species-3 .rig-bloom{animation:flower-nod 3.4s ease-in-out infinite}.species-3 .rig-petal{animation:petal-breathe 4s ease-in-out infinite}.species-3 .rig-thorn-scythe--1{animation:guarded-claw 5s ease-in-out infinite}.species-4 .rig-spark-antenna--1,.species-4 .rig-spark-antenna-1{animation:spark-twitch 1.8s steps(2) infinite}.species-4 .rig-spark-antenna-1{animation-delay:-.5s}.species-4 .rig-glimvolt-head{animation:spark-head 3s steps(2) infinite}.species-4 .rig-glimvolt-shell{animation:crystal-shimmer 2.2s ease-in-out infinite}.character-note{color:#dcc799!important;font-size:10px!important;font-style:italic}.journal-grid svg.creature-portrait{width:115px;height:135px}.journal-grid>div{align-items:center}.result-art svg.creature-portrait{width:180px;height:210px}.party-list svg.creature-portrait{width:65px;height:72px}.companion-badge svg.creature-portrait{width:65px;height:72px}.storage-row svg.creature-portrait{width:49px;height:56px}@keyframes creature-blink{0%,92%,96%,to{transform:scaleY(1)}94%{transform:scaleY(.08)}}@keyframes gecko-tail{0%,to{transform:rotate(-8deg)}50%{transform:rotate(10deg)}}@keyframes ember-flicker{0%{transform:scale(.93,1.06) rotate(-3deg)}to{transform:scale(1.08,.93) rotate(4deg)}}@keyframes gecko-curiosity{0%,35%,to{transform:rotate(-3deg)}50%,65%{transform:rotate(7deg)}}@keyframes quartz-sigh{0%,to{transform:scale(1)}45%{transform:scale(1.015,1.035)}}@keyframes grubel-nod{0%,to{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(2px) rotate(2deg)}}@keyframes fin-left{0%,to{transform:rotate(-10deg)}50%{transform:rotate(11deg)}}@keyframes fin-right{0%,to{transform:rotate(10deg)}50%{transform:rotate(-11deg)}}@keyframes ribbon-flow{0%,to{transform:rotate(-9deg)}50%{transform:rotate(11deg)}}@keyframes flower-nod{0%,to{transform:rotate(-10deg)}50%{transform:rotate(14deg)}}@keyframes petal-breathe{0%,to{scale:1}50%{scale:1.07}}@keyframes guarded-claw{0%,40%,to{transform:rotate(0)}60%{transform:rotate(-9deg)}}@keyframes spark-twitch{0%,65%,to{transform:rotate(0)}70%{transform:rotate(12deg)}80%{transform:rotate(-6deg)}}@keyframes spark-head{0%,70%,to{transform:rotate(0)}75%,85%{transform:rotate(6deg)}}@keyframes crystal-shimmer{0%,to{opacity:1}50%{opacity:.88}}@media(max-width:600px){.hero-art svg.creature-portrait{width:55px;height:95px}.hero-art>div:nth-child(2) svg.creature-portrait{width:75px;height:120px}.starter-grid svg.creature-portrait{height:120px;width:90px}.journal-grid svg.creature-portrait{width:85px;height:110px}.party-list svg.creature-portrait{width:53px;height:61px}.companion-badge svg.creature-portrait{width:55px;height:65px}.storage-row svg.creature-portrait{width:40px;height:48px}}@media(max-height:550px)and (orientation:landscape){.hero-art svg.creature-portrait{width:65px;height:85px}.hero-art>div:nth-child(2) svg.creature-portrait{width:80px;height:105px}.starter-grid svg.creature-portrait{height:85px;width:75px}.companion-badge svg.creature-portrait{width:43px;height:50px}}@media(prefers-reduced-motion:reduce){.creature-portrait *{animation:none!important}}.creature-selector{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:18px 0}.creature-selector button{border:1px solid #abc59230;border-radius:7px;padding:6px;background:#244738}.creature-selector button.selected{border-color:#d5dba4;background:#3d5940}.creature-selector svg{width:70px;height:80px;display:block;margin:auto}.creature-selector span{display:block;font-size:9px;margin:3px 0 5px}.creature-stage{position:relative;border:1px solid #bed19d30;border-radius:9px;overflow:hidden}.creature-stage canvas{width:100%;height:auto;display:block}.creature-caption{position:absolute;left:20px;top:17px;pointer-events:none}.creature-caption h2{font:600 24px Manrope,sans-serif;margin:0 0 6px;letter-spacing:-.6px}.creature-caption small{font-size:8px;letter-spacing:1px;color:#c3cf9f}.pose-controls{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.pose-controls button{padding:11px 13px;background:#294b3b;border:1px solid #b6c99130;border-radius:5px;font-size:9px;min-height:40px}.pose-controls button.selected{color:#233e2f;background:#d2d8a2}.creature-stage+#preview-detail{font-size:12px}@media(max-width:600px){.creature-selector svg{width:44px;height:59px}.creature-selector span{font-size:6px}.creature-selector{gap:4px}.creature-selector button{padding:4px 1px}.creature-caption{left:12px;top:11px}.creature-caption h2{font-size:17px}.creature-caption small{font-size:6px}.pose-controls{gap:5px}.pose-controls button{font-size:8px;padding:10px;min-height:44px}.creature-stage canvas{min-height:210px;object-fit:cover}}canvas{image-rendering:pixelated}.sprite-portrait{display:block;flex-shrink:0;width:64px;height:64px;background-repeat:no-repeat;background-size:400% 800%;background-position:0 0;image-rendering:pixelated;animation:pixel-idle 1.1s steps(1) infinite}.hero-art .sprite-portrait{width:105px;height:105px;margin:auto}.hero-art>div:nth-child(2) .sprite-portrait{width:130px;height:130px}.starter-grid .sprite-portrait{width:110px;height:110px}.party-list .sprite-portrait{width:65px;height:65px;margin:0!important}.companion-badge .sprite-portrait{width:64px;height:64px}.journal-grid .sprite-portrait{width:115px;height:115px}.result-art .sprite-portrait{width:190px;height:190px;margin:15px auto}.storage-row .sprite-portrait{width:49px;height:49px}.creature-selector .sprite-portrait{width:70px;height:70px;margin:0 auto!important}.unknown .sprite-portrait{filter:brightness(0);opacity:.4}.sprite-load-status{position:fixed;left:50%;bottom:22px;transform:translate(-50%);z-index:20;padding:12px 20px;border-radius:5px;background:#193d34;color:#dce4b5;border:1px solid #b2c79a50;font-size:11px;box-shadow:0 4px 20px #102e2855;pointer-events:none}@keyframes pixel-idle{0%,to{background-position:0% 0%}25%{background-position:33.333333% 0%}50%{background-position:66.666667% 0%}75%{background-position:100% 0%}}@media(max-width:600px){.hero-art .sprite-portrait{width:55px;height:55px}.hero-art>div:nth-child(2) .sprite-portrait{width:75px;height:75px}.starter-grid .sprite-portrait{width:95px;height:95px}.journal-grid .sprite-portrait{width:85px;height:85px}.party-list .sprite-portrait{width:53px;height:53px}.companion-badge .sprite-portrait{width:55px;height:55px}.storage-row .sprite-portrait{width:40px;height:40px}.creature-selector .sprite-portrait{width:44px;height:44px}.sprite-load-status{font-size:9px;width:85%;text-align:center}}@media(max-height:550px)and (orientation:landscape){.hero-art .sprite-portrait{width:65px;height:65px}.hero-art>div:nth-child(2) .sprite-portrait{width:80px;height:80px}.starter-grid .sprite-portrait{width:75px;height:75px}}@media(prefers-reduced-motion:reduce){.sprite-portrait{animation:none!important}}.in-interior .hint{bottom:auto;top:85px;pointer-events:none}@media(max-height:500px){.in-interior .hint{top:65px}}#battle-loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:15;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:radial-gradient(ellipse,#213f38,#0d1b22);color:#dce5cc}#battle-loading b{font-size:14px;letter-spacing:1px;font-weight:500}.habitat-spinner{width:36px;height:36px;border:2px solid #bbd7b72b;border-top-color:#d4e4bc;border-radius:50%;animation:habitat-turn 1s linear infinite}@keyframes habitat-turn{to{transform:rotate(360deg)}}html,body,#app{width:100%;height:100%;overscroll-behavior:none}button{-webkit-tap-highlight-color:transparent;touch-action:manipulation}#game{inset:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px)}dialog{overscroll-behavior:contain;scrollbar-gutter:stable}dialog input,dialog select{font-size:16px}@media(max-width:950px),(pointer:coarse){#touch{display:block}.rotate{display:none!important}.quest,.travel-actions kbd,.ability kbd,#ultimate kbd,.companion-badge{display:none}.world-header button,.close{min-width:44px;min-height:44px}.touch-utility button{min-width:48px;min-height:48px;font-size:11px}#joystick{touch-action:none}dialog button{min-height:44px}.primary,.secondary{font-size:13px;line-height:1.4}dialog p{font-size:13px;line-height:1.65}.party-list small,.storage-row small{font-size:11px;line-height:1.4}.party-list button>span{font-size:9px;letter-spacing:0}.storage-row b,.party-list b{font-size:13px}.storage-pagination span{font-size:11px;text-align:center}.storage-pagination button,.release-button{font-size:12px}.menu-grid button{font-size:14px}.pose-controls button,.journal-grid p{font-size:12px}.journal-grid small,.journal-grid span{font-size:10px}.tier-list>div{font-size:12px;gap:12px;line-height:1.5}.upgrade-panel summary{font-size:13px}.house-summary{font-size:12px}.save-status{display:none}.ability b{font-size:10px;line-height:1.15;text-align:center}.ability small{font-size:9px}.ability-icon{width:34px;height:34px;font-size:22px}}@media(max-width:600px)and (orientation:portrait){.world-header{top:max(8px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));gap:6px;display:grid;grid-template-columns:1fr auto}.wordmark{font-size:24px;padding:0;gap:5px;grid-row:1;grid-column:1}.wordmark span{font-size:15px;letter-spacing:1.5px}.wordmark small{display:none}.resources{gap:10px;padding:0 8px;margin:0;min-height:44px;font-size:13px;grid-row:1;grid-column:2}.resources b{font-size:12px}.resources button{padding:0 0 0 10px;min-width:38px}.location{grid-column:1/-1;grid-row:2;order:0;width:100%;padding:8px 12px;min-height:43px;border-radius:8px}.location b{font-size:12px}.location small{font-size:10px;line-height:1.3}.hint,.in-interior .hint{top:calc(111px + env(safe-area-inset-top,0px));bottom:auto;max-width:94%;width:max-content;padding:8px 12px;font-size:11px;line-height:1.35}#toast,.in-battle #toast{top:calc(150px + env(safe-area-inset-top,0px));width:calc(100% - 24px);max-width:none;padding:10px 14px;font-size:12px}.dock{left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));gap:8px}.travel-actions{width:100%;padding:4px;border-radius:12px}.travel-actions button{min-height:44px;padding:8px 12px;font-size:12px;gap:7px}#joystick{left:max(16px,env(safe-area-inset-left));bottom:calc(76px + env(safe-area-inset-bottom,0px));width:calc(100px * var(--control-size));height:calc(100px * var(--control-size))}.touch-utility{right:max(16px,env(safe-area-inset-right));bottom:calc(95px + env(safe-area-inset-bottom,0px));gap:10px}.touch-utility button{width:56px;height:56px;font-size:11px}.in-battle .world-header{display:flex;justify-content:space-between}.in-battle #battle-hud{top:calc(59px + env(safe-area-inset-top,0px));left:10px;right:10px;gap:6px}.fighter{width:calc(50% - 24px);padding:8px;min-height:69px}.fighter>b{font-size:12px;margin:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fighter>small{font-size:8px;letter-spacing:.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fighter>div{font-size:9px;gap:4px}.fighter>div span:last-child{font-size:7px}.versus{font-size:13px;min-width:32px}.versus button{min-width:36px;width:36px;height:40px;margin:3px 0 0;font-size:16px}.in-battle .dock{display:grid;grid-template-columns:48px minmax(0,1fr);gap:6px}.in-battle .travel-actions{padding:1px;width:48px}.in-battle .travel-actions button{min-height:44px;width:44px;padding:0;justify-content:center;font-size:0}.in-battle .battle-actions{justify-content:flex-end;gap:5px;min-width:0}.in-battle .battle-actions button{min-width:0;flex:1;height:46px;padding:4px;font-size:19px;gap:3px;border-radius:9px}.battle-actions span,#ultimate span{font-size:10px}#ultimate{min-width:0;flex-wrap:wrap;gap:1px;align-content:center}#ultimate strong{font-size:20px}#ultimate small{font-size:9px;line-height:1}.in-battle #abilities{grid-column:1/-1;order:3;padding:4px;gap:2px;max-width:none;border-radius:12px}.ability{min-height:78px;padding:4px 1px;justify-content:center;gap:2px}.ability b{font-size:9px;margin-top:2px}.ability small{font-size:9px;margin-top:1px}.in-battle #joystick{bottom:calc(150px + env(safe-area-inset-bottom,0px));width:calc(88px * var(--control-size));height:calc(88px * var(--control-size))}.in-battle .touch-utility{bottom:calc(166px + env(safe-area-inset-bottom,0px));gap:8px}.in-battle .touch-utility button{height:50px;width:50px;font-size:10px}#battle-moment{top:36%;padding:12px;width:96%}#battle-moment b{font-size:18px}#battle-moment small{font-size:8px;letter-spacing:1px;line-height:1.4}#combo-hud{top:24%;left:12px}dialog{width:calc(100% - 16px);max-width:none;max-height:calc(100dvh - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));padding:20px 16px;border-radius:14px;scroll-padding-top:60px}.close{position:sticky;top:0;z-index:3;background:#244738;width:44px;height:44px;border-radius:9px}h1{font-size:25px;line-height:1.25;margin-right:35px}.eyebrow{font-size:9px;letter-spacing:1.5px}.lead{font-size:14px}.feature-row{font-size:10px;line-height:1.5;gap:8px;flex-wrap:wrap}.footnote{font-size:11px;line-height:1.5}.hero-art{min-height:80px;gap:0}.hero-art .sprite-portrait{width:54px;height:54px}.hero-art>div:nth-child(2) .sprite-portrait{width:66px;height:66px}.starter-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px}.starter-grid button{min-width:0;padding:12px 6px}.starter-grid b{font-size:13px}.starter-grid small,.starter-grid span{font-size:11px}.starter-grid .sprite-portrait{width:84px;height:84px}.starter-grid button:last-child{flex-direction:column;grid-column:auto;gap:0}.starter-grid button:last-child span{display:block}.party-list{max-height:none}.party-list button{gap:8px;flex-wrap:wrap;padding:10px}.party-list button>div{flex:1;min-width:150px}.party-list button>span{margin-left:auto}.storage-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:8px;padding:10px}.storage-row>div{min-width:0;overflow-wrap:anywhere}.storage-row .secondary{font-size:12px;padding:10px;min-height:44px}.storage-row .release-button{grid-column:2/-1;justify-self:end;font-size:12px}.storage-search{gap:6px}.storage-search input{font-size:16px;padding:10px;width:100%}.storage-search .secondary{padding:10px}.storage-pagination{gap:6px;flex-wrap:wrap}.storage-pagination span{flex:1;min-width:80px;font-size:10px}.storage-pagination button{font-size:11px;padding:10px}.journal-grid>div{gap:10px;padding:12px;align-items:flex-start}.journal-grid .sprite-portrait{width:64px;height:64px}.journal-grid b{font-size:15px}.journal-grid p{font-size:12px}.shop-item{gap:10px;padding:14px}.shop-item>div{flex:1;min-width:0}.shop-item b{font-size:15px}.shop-item p{font-size:12px}.shop-item .primary{min-height:48px;font-size:14px}dialog label{font-size:13px;gap:12px;flex-wrap:wrap;margin:18px 0}dialog select{max-width:100%;min-height:44px;font-size:16px}dialog input[type=range]{width:140px;min-height:44px}.controls-copy{font-size:12px}.creature-selector{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.creature-selector span{font-size:11px}.creature-selector .sprite-portrait{width:54px;height:54px}.creature-caption{position:static;padding:12px;background:#1a3c32}.creature-caption h2{font-size:19px}.creature-caption small{font-size:10px;letter-spacing:0}.creature-stage canvas{min-height:0;object-fit:contain}.sprite-load-status{width:calc(100% - 24px);bottom:max(12px,env(safe-area-inset-bottom));font-size:12px}}@media(max-height:550px)and (orientation:landscape){.world-header{top:max(5px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));gap:8px}.wordmark small,.location small,.save-status,.companion-badge{display:none}.wordmark span{font-size:13px}.location{padding:5px 10px;max-width:42%;min-height:40px}.location b{font-size:11px}.resources{padding:0 6px;min-height:40px;gap:10px}.resources button{min-width:40px;min-height:40px;padding:0 0 0 8px}.hint,.in-interior .hint{top:55px;bottom:auto;padding:6px 10px;font-size:10px}.dock{left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));bottom:max(6px,env(safe-area-inset-bottom));gap:6px}.travel-actions button{min-height:44px;padding:5px 10px;font-size:11px}#joystick{left:max(12px,env(safe-area-inset-left));bottom:70px;width:calc(88px * var(--control-size));height:calc(88px * var(--control-size))}.touch-utility{right:max(12px,env(safe-area-inset-right));bottom:80px;gap:8px}.touch-utility button{width:48px;height:48px;font-size:10px}.in-battle #battle-hud{top:5px;left:145px;right:145px;gap:8px}.in-battle .fighter{width:44%;padding:5px 8px;min-height:58px}.in-battle .fighter>b{font-size:11px;margin:3px 0}.fighter>small{font-size:7px;letter-spacing:.3px}.fighter>div{font-size:8px}.in-battle .wordmark span{display:none}.in-battle .versus{font-size:12px}.versus button{min-width:36px;min-height:36px;margin:0}.in-battle .dock{gap:5px}.in-battle .travel-actions{padding:1px;flex-shrink:0}.in-battle .travel-actions button{width:44px;padding:0;justify-content:center}.in-battle #abilities{max-width:none;min-width:0;padding:3px}.ability{min-height:72px;padding:3px 1px}.ability b{font-size:9px;margin-top:3px}.ability small{font-size:8px}.ability-icon{width:29px;height:29px;font-size:20px}.in-battle .battle-actions{gap:4px;flex-shrink:0}.in-battle .battle-actions button{height:64px;min-width:48px;padding:5px;font-size:20px}.battle-actions span,#ultimate span{font-size:9px}#ultimate{min-width:48px}#ultimate small{font-size:8px}.in-battle #joystick{bottom:94px;width:calc(76px * var(--control-size));height:calc(76px * var(--control-size))}.in-battle .touch-utility{bottom:101px}#battle-moment{top:42%;padding:10px 15px}#battle-moment b{font-size:18px}#battle-moment small{font-size:8px;margin-bottom:5px}#toast,.in-battle #toast{top:76px;padding:8px 12px;font-size:11px}dialog{padding:18px 22px;max-height:calc(100dvh - 12px);width:calc(100% - 24px);max-width:740px}.close{position:sticky;top:0;background:#244738;width:44px;height:44px;z-index:3}.hero-art{min-height:65px}.menu-grid{grid-template-columns:1fr 1fr}.starter-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.starter-grid .sprite-portrait{width:65px;height:65px}.starter-grid b{font-size:12px}.starter-grid button{padding:8px 4px}.party-list{max-height:none}}@media(max-width:360px)and (orientation:portrait){.wordmark span{font-size:12px}.resources{gap:7px}.resources b{font-size:11px}.fighter>b{font-size:10px}.fighter>small{font-size:7px}.ability b{font-size:8px}.ability-icon{width:29px;height:29px}.ability{min-height:74px}.battle-actions span,#ultimate span{font-size:9px}.hero-art .sprite-portrait{width:45px;height:45px}.hero-art>div:nth-child(2) .sprite-portrait{width:58px;height:58px}.party-list button>div{min-width:120px}}@media(max-width:600px)and (orientation:portrait){.in-battle #toast[data-kind=encounter]{display:none}.fighter{padding:6px;min-height:68px}.fighter>b{margin:3px 0}.fighter>div{margin-top:3px;line-height:1}.fighter meter{height:7px}.fighter #stamina{height:3px;margin-top:3px}}@media(max-width:600px)and (max-height:700px)and (orientation:portrait){.in-battle .dock{bottom:6px;gap:4px}.ability{min-height:64px;gap:0}.ability-icon{width:28px;height:28px;font-size:19px}.ability b,.ability small{font-size:8px}.in-battle #joystick{bottom:130px;width:calc(72px * var(--control-size));height:calc(72px * var(--control-size))}.in-battle .touch-utility{bottom:140px;right:12px;gap:6px}.in-battle .touch-utility button{width:44px;height:44px;font-size:9px}.in-battle #abilities{padding:3px}#battle-moment b{font-size:16px}}@media(max-width:600px)and (orientation:portrait){.hero-art>div{flex:1;min-width:0;max-width:100px}.hero-art .sprite-portrait,.hero-art>div:nth-child(2) .sprite-portrait{width:100%;height:auto;aspect-ratio:1;max-width:66px}}@media(max-width:950px)and (max-height:950px)and (orientation:landscape){.in-battle #toast[data-kind=encounter]{display:none}.in-battle .dock{left:auto;right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));width:176px;display:flex;flex-direction:column;align-items:stretch;gap:6px}.in-battle .travel-actions{position:fixed;left:max(12px,env(safe-area-inset-left));top:82px;width:46px;padding:0}.in-battle .travel-actions button{width:44px;min-height:44px}.in-battle #abilities{order:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:176px;flex:none;padding:3px;gap:2px}.in-battle .ability{min-height:65px;min-width:0}.in-battle .ability b{font-size:8px;line-height:1.2}.in-battle .ability small{font-size:8px}.in-battle .ability-icon{width:27px;height:27px;font-size:19px}.in-battle .battle-actions{order:2;display:flex;width:176px;gap:4px}.in-battle .battle-actions button{min-width:0;flex:1;height:54px;padding:4px}.in-battle .battle-actions span,.in-battle #ultimate span{font-size:9px}.in-battle #joystick{left:max(12px,env(safe-area-inset-left));bottom:max(12px,env(safe-area-inset-bottom));width:calc(76px * var(--control-size));height:calc(76px * var(--control-size))}.in-battle .touch-utility{left:max(18px,env(safe-area-inset-left));right:auto;bottom:116px;flex-direction:column;gap:8px}.in-battle .touch-utility button{width:48px;height:48px}#battle-moment{left:45%;width:65%;top:40%}}.dialog-toolbar{display:contents}@media(max-width:600px)and (orientation:portrait){.dialog-toolbar{display:flex;justify-content:flex-end;position:sticky;top:-20px;margin:-20px -16px 12px;padding:8px 12px 4px;background:#1c3a32;z-index:4;border-bottom:1px solid #c6d3a322}.dialog-toolbar .close{position:static;float:none}dialog h1{margin-right:0}}@media(max-height:550px)and (orientation:landscape){.dialog-toolbar{display:flex;justify-content:flex-end;position:sticky;top:-18px;margin:-18px -22px 10px;padding:6px 12px 4px;background:#1c3a32;z-index:4;border-bottom:1px solid #c6d3a322}.dialog-toolbar .close{position:static;float:none}}.touch-utility button.toggled{background:#66774b;color:#fff5c3;border-color:#ecdf9b;box-shadow:0 0 0 2px #ecdf9b33}@media(min-width:951px){.in-battle #battle-hud{top:12px;left:240px;right:210px;gap:12px}.in-battle .fighter{width:43%;padding:8px 10px}.in-battle .fighter>b{font-size:13px;margin:4px 0}.in-battle .world-header .wordmark small{display:none}}.fighter>b,.fighter>small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:950px)and (orientation:landscape){.in-battle .world-header{top:max(5px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right))}.in-battle .wordmark span{display:none}.in-battle #battle-hud{top:max(5px,env(safe-area-inset-top));left:94px;right:192px;gap:8px}.in-battle .fighter{width:44%;padding:5px 8px;min-height:58px}.in-battle .fighter>b{font-size:11px;margin:3px 0}.in-battle .fighter>small{font-size:7px;letter-spacing:.3px}.in-battle .fighter>div{font-size:8px}.in-battle .versus{font-size:12px}.in-battle .versus button{min-width:36px;min-height:36px;margin:0}}#battle-moment{top:calc(var(--battle-stage-top,158px) - 32px);left:calc(var(--battle-stage-left,0px) + var(--battle-stage-width,100vw)/2);width:min(680px,calc(var(--battle-stage-width,100vw) - 16px));height:26px;max-height:26px;padding:4px 10px;transform:translate(-50%);border:1px solid var(--moment-color,#b8d0ac);border-radius:5px;background:#18352fe8;box-shadow:none;overflow:hidden;display:flex;align-items:center;justify-content:center}#battle-moment b{font:600 12px Manrope,sans-serif;letter-spacing:.3px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-shadow:none}#battle-moment small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}#battle-moment.enter{animation:battle-notice-in .15s ease-out}@keyframes battle-notice-in{0%{opacity:0}to{opacity:1}}@media(max-width:600px)and (max-height:700px)and (orientation:portrait){#battle-moment{width:1px;height:1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%)}}@media(min-width:1200px)and (min-height:600px){.in-battle #battle-hud{top:92px;left:14px;right:14px}.in-battle .fighter{width:188px;max-width:188px;padding:10px}.in-battle .versus{position:absolute;left:72px;top:112px}.in-battle .wordmark span{font-size:17px;letter-spacing:1.5px}}#battle-moment{top:var(--battle-notice-top,126px);left:var(--battle-notice-left,50%);width:var(--battle-notice-width,680px)}@media(max-width:600px)and (max-height:700px)and (orientation:portrait){#battle-moment{width:1px}}.in-battle #toast{left:var(--battle-notice-left,50%);top:var(--battle-notice-top,126px);width:var(--battle-notice-width,680px);max-width:none;max-height:26px;padding:5px 10px;font-size:11px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(min-width:1200px)and (min-height:600px){.in-battle #toast{left:108px;top:310px;width:188px;max-width:188px;max-height:160px;padding:10px;white-space:normal;line-height:1.5}}#toast{transition:opacity .2s,transform .2s}#touch{display:none}.touch-input #touch{display:block}.force-desktop #touch{display:none!important}.in-battle .world-header{inset:8px 10px auto;display:flex;flex-wrap:nowrap;gap:8px;align-items:flex-start;pointer-events:none}.in-battle .wordmark{width:44px;min-width:44px;height:44px;padding:0;justify-content:center;font-size:28px;opacity:.8}.in-battle .wordmark span{display:none}.in-battle .resources{position:static;margin-left:auto;min-height:44px;padding:3px 8px;gap:8px;border-radius:10px;background:#12372fed;box-shadow:0 4px 12px #0b211e24}.in-battle .resources b{font-size:12px}.in-battle .resources button{min-height:36px;min-width:36px;padding:0 0 0 8px;font-size:19px}.in-battle #battle-hud{position:absolute;inset:8px 154px auto 64px;display:flex;justify-content:space-between;align-items:flex-start;gap:10px;pointer-events:none}.in-battle .fighter{position:static;flex:1;width:0;min-width:0;max-width:420px;min-height:70px;padding:8px 12px;border-radius:10px;background:#13372fea;border:1px solid #b8d1b22b;border-bottom:2px solid #b8d5a27d;box-shadow:0 5px 16px #0d251e2b}.in-battle .fighter.enemy{border-bottom-color:#e7b28b88}.in-battle .fighter>small{font-size:8px;line-height:1.2;letter-spacing:.6px;color:#b2caa9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.in-battle .fighter>b{font-size:14px;line-height:1.2;margin:4px 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.in-battle .fighter>div{font-size:10px;margin-top:4px;line-height:1.2}.in-battle .fighter>div span:last-child{font-size:8px}.in-battle .fighter meter{height:7px}.in-battle .fighter #stamina{height:3px;margin-top:3px;width:70%}.in-battle .versus{position:static;flex:0 0 36px;min-width:36px;padding-top:1px;font:italic 12px Georgia;text-align:center}.in-battle .versus button{width:36px;min-width:36px;height:38px;min-height:38px;margin:5px 0 0;border-radius:9px;font-size:16px}.in-battle .dock{position:absolute;inset:auto 12px 10px;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:10px;width:auto;min-height:84px;padding:7px;background:#112e28f2;border:1px solid #bfd3b933;border-radius:14px;box-shadow:0 8px 28px #061d1a40}.in-battle .travel-actions{position:static;flex:0 0 48px;width:48px;min-width:48px;margin:0;padding:0;border:0;background:transparent}.in-battle .travel-actions button{width:48px;min-height:62px;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:5px 2px;font-size:10px;border:1px solid #c1d0ac30;border-radius:9px;background:#244638}.in-battle .travel-actions button>span{font-size:22px}.in-battle .travel-actions button:not(:first-child),.in-battle .travel-actions kbd{display:none}.in-battle #abilities{order:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;flex:1;min-width:0;width:auto;max-width:none;margin:0;padding:0;background:none;border:0;border-radius:0}.in-battle .ability{position:relative;min-height:68px;min-width:0;padding:5px 3px;gap:0;border:1px solid #cad6b224;background:#284a3a88;border-radius:9px;justify-content:center}.in-battle .ability:hover{background:#3e6046}.in-battle .ability-icon{width:30px;height:30px;font-size:21px}.in-battle .ability b{font-size:11px;font-weight:600;line-height:1.2;margin-top:3px;text-align:center;white-space:normal}.in-battle .ability small{font-size:9px;line-height:1.2;margin-top:2px}.in-battle .ability kbd{display:none}.in-battle.mouse-input .ability kbd{display:block;top:3px;left:4px;font-size:7px;padding:1px 3px;border-radius:3px;background:#19372d;color:#afc5a3}.in-battle .battle-actions{order:0;display:flex;flex:0 0 auto;gap:5px;width:auto}.in-battle .battle-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:56px;height:68px;padding:5px 7px;border-radius:9px;font-size:23px;background:#294938}.in-battle .battle-actions span{display:block;font-size:10px;line-height:1.2;margin:0}.in-battle #ultimate{min-width:60px;flex:none;align-content:center}.in-battle #ultimate strong{font-size:24px}.in-battle #ultimate small{font-size:9px;line-height:1;margin:0}.in-battle #ultimate kbd,.in-battle .save-status{display:none}.in-battle #battle-moment,.in-battle #toast{left:var(--battle-notice-left,50%);top:var(--battle-notice-top,84px);width:var(--battle-notice-width,500px);max-width:none;min-height:0;height:20px;max-height:20px;margin:0;padding:2px 10px;border-radius:5px;font-size:11px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transform:translate(-50%);box-shadow:none;pointer-events:none}.in-battle #battle-moment b{font-size:11px;line-height:14px;font-weight:500;letter-spacing:.2px}.in-battle #toast.show{transform:translate(-50%)}.in-battle #combo-hud{top:var(--battle-stage-top,108px);left:20px}.in-battle #combo-hud b{font-size:25px}@media(min-width:700px)and (max-width:1099px){.in-battle #battle-hud{left:62px;right:148px;gap:8px}.in-battle .fighter{padding:7px 9px}.in-battle .fighter>b{font-size:13px}.in-battle .fighter>small{font-size:7px}.in-battle .dock{left:8px;right:8px;gap:7px;padding:6px}.in-battle .ability b{font-size:10px}.in-battle .battle-actions button{min-width:51px;padding:4px}.in-battle #ultimate{min-width:54px}}@media(max-width:600px)and (orientation:portrait){.in-battle .world-header{top:max(7px,env(safe-area-inset-top));left:8px;right:8px}.in-battle #battle-hud{top:58px;left:8px;right:8px;gap:6px}.in-battle .fighter{padding:6px;min-height:68px}.in-battle .fighter>b{font-size:11px;margin:4px 0}.in-battle .fighter>small{font-size:7px;letter-spacing:.2px}.in-battle .fighter>div{font-size:9px}.in-battle .fighter>div span:last-child{font-size:7px}.in-battle .versus{flex-basis:32px;min-width:32px}.in-battle .versus button{min-width:32px;width:32px;min-height:36px;height:36px}.in-battle .dock{display:grid;grid-template-columns:44px minmax(0,1fr);gap:5px;padding:5px;left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));border-radius:12px}.in-battle .travel-actions{width:44px;min-width:44px}.in-battle .travel-actions button{width:44px;min-height:44px;font-size:0}.in-battle .battle-actions{justify-content:flex-end;gap:4px;min-width:0}.in-battle .battle-actions button{flex:1;min-width:0;height:44px;padding:3px;flex-direction:row;font-size:18px;gap:4px}.in-battle .battle-actions span,.in-battle #ultimate span{font-size:10px}.in-battle #ultimate{flex:1;min-width:0;flex-wrap:wrap;gap:2px}.in-battle #ultimate strong{font-size:19px}.in-battle #ultimate small{font-size:8px}.in-battle #abilities{grid-column:1/-1;order:3;width:100%;gap:3px}.in-battle .ability{min-height:68px;padding:4px 1px}.in-battle .ability-icon{width:28px;height:28px;font-size:20px}.in-battle .ability b{font-size:8px;line-height:1.2}.in-battle .ability small{font-size:8px}.in-battle .ability kbd{display:none!important}.in-battle #joystick{left:16px;bottom:150px;width:calc(88px * var(--control-size));height:calc(88px * var(--control-size))}.in-battle .touch-utility{left:auto;right:16px;bottom:166px;flex-direction:row;gap:8px}.in-battle .touch-utility button{width:50px;height:50px;font-size:10px}.in-battle #battle-moment{width:var(--battle-notice-width);height:20px;clip-path:none;border:1px solid var(--moment-color,#b8d0ac);padding:2px 6px}}@media(pointer:coarse)and (orientation:landscape)and (max-height:550px){.in-battle #toast[data-kind=encounter]{display:none}}@media(orientation:landscape)and (max-height:550px){.in-battle.touch-input .world-header{top:5px;left:8px;right:8px}.in-battle.touch-input .wordmark span{display:none}.in-battle.touch-input #battle-hud{top:5px;left:94px;right:184px;gap:8px}.in-battle.touch-input .fighter{min-height:58px;padding:5px 8px}.in-battle.touch-input .fighter>b{font-size:11px;margin:3px 0}.in-battle.touch-input .fighter>small{font-size:7px}.in-battle.touch-input .fighter>div{font-size:8px}.in-battle.touch-input .versus{font-size:11px}.in-battle.touch-input .versus button{min-height:32px;height:32px;min-width:32px;width:32px;margin-top:2px}.in-battle.touch-input .dock{left:auto;right:8px;bottom:8px;width:168px;display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:5px}.in-battle.touch-input .travel-actions{position:fixed;top:82px;left:12px;width:44px;min-width:44px}.in-battle.touch-input .travel-actions button{width:44px;min-height:44px;font-size:0}.in-battle.touch-input #abilities{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:3px;flex:none}.in-battle.touch-input .ability{min-height:62px;padding:3px 1px}.in-battle.touch-input .ability-icon{width:25px;height:25px;font-size:18px}.in-battle.touch-input .ability b{font-size:8px;margin-top:2px}.in-battle.touch-input .ability small{font-size:7px}.in-battle.touch-input .battle-actions{width:100%;gap:3px}.in-battle.touch-input .battle-actions button{min-width:0;flex:1;height:48px;padding:3px}.in-battle.touch-input .battle-actions span{font-size:8px}.in-battle.touch-input #ultimate{min-width:0}.in-battle.touch-input #joystick{left:12px;bottom:12px;width:calc(76px * var(--control-size));height:calc(76px * var(--control-size))}.in-battle.touch-input .touch-utility{left:18px;right:auto;bottom:110px;flex-direction:column;gap:7px}.in-battle.touch-input .touch-utility button{width:46px;height:46px;font-size:10px}}@media(max-height:400px)and (orientation:landscape){.in-battle.mouse-input .fighter{min-height:58px;padding:5px 8px}.in-battle.mouse-input .fighter>b{font-size:11px;margin:3px 0}.in-battle.mouse-input .fighter>small{font-size:7px}.in-battle.mouse-input .ability{min-height:58px}.in-battle.mouse-input .ability-icon{width:25px;height:25px}.in-battle.mouse-input .ability b{font-size:9px}.in-battle.mouse-input .battle-actions button{height:58px}}@media(orientation:landscape)and (max-height:550px){.in-battle.touch-input #ultimate{flex:1;gap:0}.in-battle.touch-input #ultimate strong{font-size:20px;line-height:20px}.in-battle.touch-input #ultimate span{font-size:8px;line-height:10px}.in-battle.touch-input #ultimate small{font-size:7px;line-height:8px;margin:0}}.in-battle .fighter:not(.enemy){position:relative;padding-left:47px}.trainer-badge{position:absolute;left:7px;top:9px;width:32px;height:48px;border-radius:5px;background:#315346;border:1px solid #a9c39b55}.trainer-badge>span{display:block;width:30px;height:38px;background:url(./people-v1-CXJZseDf.png) 0 0 / 400% 800% no-repeat;image-rendering:pixelated}.trainer-badge:after{content:"YOU";display:block;text-align:center;font-size:7px;line-height:8px;color:#dce4b1}.trainer-badge.offscreen{border-color:#dce4b1}.trainer-badge.offscreen:after{content:"AWAY"}@media(max-width:600px){.in-battle .fighter:not(.enemy){padding-left:35px}.trainer-badge{left:4px;top:8px;width:25px;height:43px}.trainer-badge>span{width:23px;height:33px}}
