@font-face{font-family:SoulSymbols;src:url('./assets/fonts/soul-symbols.woff2') format('woff2');font-display:swap;unicode-range:U+25C8,U+2727}
@font-face{font-family:SoulArt;src:url('./assets/fonts/soul-latin.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0000-024F,U+1E00-1EFF}
@font-face{font-family:SoulArt;src:url('./assets/fonts/soul-cjk.woff2') format('woff2');font-weight:400 900;font-display:swap;unicode-range:U+2000-FFFF}
@font-face{font-family:SoulArtJP;src:url('./assets/fonts/soul-jp.woff2') format('woff2');font-weight:400 900;font-display:swap}
@font-face{font-family:SoulMyanmar;src:url('./assets/fonts/soul-myanmar.woff2') format('woff2');font-weight:400 900;font-display:swap;unicode-range:U+1000-109F,U+A9E0-A9FF,U+AA60-AA7F}
:root{color-scheme:dark;--art-font:SoulArt,SoulMyanmar,SoulSymbols,serif;--ink:#0c1010;--panel:#161b19f2;--gold:#c3ae7d;--paper:#ece2c8;--muted:#a7ada0;--blue:#a7d4c3;--red:#d77d68;--line:#bbab7a42;font-family:var(--art-font);font-synthesis:weight}
:root[lang=ja]{--art-font:SoulArtJP,SoulArt,SoulMyanmar,serif}:root[lang=my]{--art-font:SoulMyanmar,SoulArt,serif}
*{box-sizing:border-box;font-family:var(--art-font)}html,body{margin:0;background:#080d0d;color:var(--paper);width:100%;height:100%;overflow:hidden}button,input,select,textarea{font:inherit}button{color:inherit;cursor:pointer;border:0;background:none;touch-action:manipulation}button:disabled{opacity:.35;cursor:not-allowed}button:hover,a:hover{color:#fff7db}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid #c9c394;outline-offset:4px}button,select{-webkit-tap-highlight-color:transparent}h1,h2,h3,p{margin:0}a{color:inherit;text-decoration:none}i{font-style:normal}.hidden{display:none!important}kbd{display:inline-block;background:#c3bc8d0c;border:1px solid var(--line);border-bottom-width:2px;padding:4px 7px;font-size:11px;white-space:nowrap;color:#d8dcc9}#app{position:relative;width:100vw;height:100dvh;min-height:280px;isolation:isolate;overflow:hidden}#world{position:absolute;width:100%;height:100%;inset:0;display:block;filter:saturate(.65)}.vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 53% 45%,transparent 10%,#080e0b55 65%,#080e0de8 100%),linear-gradient(90deg,#0b1110c4,transparent 45%,#10150eb8);z-index:1}#topbar{position:absolute;inset:0 0 auto;height:80px;display:flex;align-items:center;padding:0 3%;gap:3%;border-bottom:1px solid var(--line);background:linear-gradient(#0d1212e6,#0d121255);z-index:20}.wordmark{font-size:21px;font-weight:650;letter-spacing:3px;display:flex;gap:12px;align-items:center;white-space:nowrap}.wordmark .sigil{width:34px;height:34px;display:grid;place-items:center;border:1px solid #b5a370;transform:rotate(45deg);font-size:21px;color:#e0c898}.wordmark small{font-size:10px;color:#c1b38d;letter-spacing:3px}.top-nav{display:flex;gap:24px;margin-left:auto}.top-nav button{font-size:12px;color:#a9ae9d;padding:10px 0;position:relative}.top-nav button:hover:after{content:'';height:1px;background:var(--gold);position:absolute;bottom:0;left:0;right:0}.top-actions{display:flex;align-items:center;gap:13px}.top-actions button{font-size:21px;color:#b9bba9;width:28px;height:32px}.top-actions select{background:#121a17;color:#d4d5be;border:1px solid #c1af6e40;padding:6px 9px;font-size:11px;max-width:115px}#save-indicator{display:none}#screen{position:absolute;z-index:5;inset:80px 0 0;overflow:auto;scrollbar-width:thin;scrollbar-color:#8b7952 #101815}.eyebrow{font-size:10px;letter-spacing:3px;color:#c2b386;line-height:1.8}.home{height:100%;min-height:620px;position:relative;display:grid;grid-template-columns:29% 47% 24%;padding:40px 4% 65px;align-items:center;overflow:hidden}.home:before{content:'';position:absolute;top:24px;left:4%;right:4%;height:1px;background:linear-gradient(90deg,var(--line),transparent 50%,var(--line))}.home-copy{z-index:4;max-width:380px;align-self:center}.home-copy .eyebrow{margin-bottom:20px}.home h1{font-size:clamp(42px,4.8vw,78px);font-weight:750;letter-spacing:.11em;line-height:1.35;white-space:nowrap;color:#f0e6cf;text-shadow:0 4px 22px #000}.home h1 small{display:block;font-size:clamp(17px,1.65vw,27px);font-weight:450;letter-spacing:.4em;color:#c3ab72;margin:8px 0 25px}.home-desc{color:#a7b1a3;font-size:12px;line-height:2.05;margin-bottom:25px}.home-desc strong{font-weight:400;color:#d7d9bc}.menu-list{display:flex;flex-direction:column;gap:1px;width:100%;max-width:325px}.menu-list button{border-top:1px solid #bcac7738;padding:13px 9px;display:flex;align-items:center;gap:17px;font-size:15px;text-align:left;transition:background .2s,padding .2s;min-height:49px;letter-spacing:2px}.menu-list button:last-child{border-bottom:1px solid #bcac7738}.menu-list button i{margin-left:auto;font-size:18px;color:#aaab8b}.menu-list button:hover{background:linear-gradient(90deg,#bea77220,transparent);padding-left:18px}.menu-list .journey-button{background:linear-gradient(90deg,#c7aa6840,#6e694e20);color:#f1ddb2;border-top-color:#c5aa71;min-height:61px;font-size:19px}.nav-number{font-size:10px;letter-spacing:0;color:#c1ad7c}.home-art{position:relative;height:100%;min-height:500px;display:flex;align-items:end;justify-content:center;z-index:2;margin-left:-65px;margin-right:-35px;pointer-events:none}.showcase-card{position:absolute;height:91%;width:56%;bottom:4%;pointer-events:auto;padding:0;transition:filter .3s,transform .4s;filter:saturate(.66) brightness(.8);overflow:visible}.showcase-card .portrait{height:100%;width:100%;position:relative;overflow:hidden;mask-image:linear-gradient(#000 83%,transparent)}.portrait img{position:absolute;height:100%;width:300%;max-width:none;left:calc(var(--idx)*-100%);object-fit:fill;top:0}.hero-0{z-index:4;left:22%;transform:scale(1.06);height:97%}.hero-1{left:-2%;z-index:3;bottom:3%;height:84%;transform:rotate(-3deg)}.hero-2{right:-6%;z-index:2;bottom:9%;height:83%;transform:rotate(4deg)}.showcase-card.chosen,.showcase-card:hover{filter:saturate(.9) brightness(1.06)}.showcase-card .figure-name{position:absolute;bottom:3%;left:39%;font-size:14px;letter-spacing:6px;color:#d9caa5;text-shadow:0 2px 6px #000;white-space:nowrap}.showcase-card.hero-0 .figure-name{bottom:0}.art-caption{position:absolute;bottom:-10px;left:17%;right:4%;display:flex;align-items:center;gap:14px;font-size:10px;letter-spacing:3px;color:#a8b0a0;white-space:nowrap}.art-caption i{height:1px;background:linear-gradient(90deg,#baa16c77,#baa16c11);flex:1}.orbit{position:absolute;width:700px;height:700px;top:45%;left:53%;transform:translate(-50%,-50%);border:1px solid #b5a2711c;border-radius:50%;box-shadow:0 0 0 25px #c9b97505,0 0 0 120px #c9b97503;pointer-events:none}.orbit:after{content:'';position:absolute;inset:60px;border:1px dashed #ccbb7f19;border-radius:50%;transform:rotate(30deg)}.home-dossier{z-index:5;border-left:1px solid #c0af7540;padding:25px 0 25px 24px;background:linear-gradient(90deg,#171e1699,transparent)}.home-dossier h2{font-size:25px;letter-spacing:4px;font-weight:450;margin:10px 0 17px}.home-dossier>p{color:#aeb6a3;font-size:11px;line-height:2.1;margin-bottom:27px}.mode-switch{display:flex;flex-direction:column;gap:8px}.mode-switch button{display:flex;align-items:center;gap:12px;border:1px solid #b5ac7440;background:#0c141299;padding:12px 10px;text-align:left;min-height:68px;transition:.2s}.mode-switch button.active{border-color:#d6bb7a;background:linear-gradient(90deg,#b39b5926,#0d1719)}.mode-switch b{font-size:13px;font-weight:500;display:block}.mode-switch small{display:block;font-size:9px;color:#91a397;line-height:1.8;margin-top:4px}.mode-switch i{margin-left:auto;font-size:10px;color:#c7ac70}.mode-icon{font-size:23px;color:#c4b27f;min-width:23px;text-align:center}.dossier-progress{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:1px solid var(--line);margin-top:25px;padding-top:16px}.dossier-progress>div{display:flex;justify-content:space-between;align-items:center}.dossier-progress span{font-size:10px;color:#a7ad96}.dossier-progress b{font-size:23px;color:#dfcca3;font-weight:450}.dossier-progress small{font-size:10px;color:#7e8c7e}.partner-picker{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:16px 0;font-size:10px}.partner-picker>span{width:100%;color:#abb7a5;margin-bottom:4px}.partner-picker button{padding:7px 8px;border:1px solid var(--line);font-size:11px}.partner-picker button.active{background:#b9a45b2b;border-color:#bda36b}.partner-picker small{width:100%;color:#9eae9e;line-height:1.9;margin-top:5px}.home-dossier>.primary{width:100%;margin-top:12px;font-size:12px}.home-footer{position:absolute;bottom:0;left:4%;right:4%;min-height:48px;display:flex;align-items:center;gap:17px;font-size:9px;letter-spacing:1px;border-top:1px solid #b5a6733b;color:#9ea893;z-index:5}.home-footer a{margin-left:auto}.home-footer button{font-size:9px;color:#b5b99d}.status-dot{height:5px;width:5px;background:#a7c699;box-shadow:0 0 10px #9ec489;border-radius:50%}.home-footer>span:last-child{color:#6f806f}
.page{padding:35px 5% 30px;min-height:100%;background:linear-gradient(100deg,#0b1412df,#101911a3);animation:enter .35s ease-out}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:23px;margin-bottom:25px;border-bottom:1px solid var(--line)}.page h2{font-size:32px;letter-spacing:5px;font-weight:450;margin-top:8px}.page-sub{font-size:12px;line-height:2;color:#a9b2a1;margin-top:12px;max-width:760px}.back,.secondary,.small-btn{border:1px solid #b8a57166;background:#141e1bd9;padding:11px 17px;font-size:12px;color:#d5d6ba;transition:.2s}.back:hover,.secondary:hover,.small-btn:hover{border-color:#ccb477;background:#9b8c5025}.primary{border:1px solid #d3b576;border-top:2px solid #e4cca0;background:linear-gradient(110deg,#8a6a32,#514a2e);padding:13px 25px;font-size:13px;color:#fff1d0;letter-spacing:1px;box-shadow:inset 0 0 15px #d9b86713;transition:.2s}.primary:hover{background:linear-gradient(110deg,#a7833e,#665a34);box-shadow:0 0 18px #bba05522}.currency-pill{padding:13px 20px;border:1px solid var(--line);font-size:13px;background:#0e1916;white-space:nowrap;color:#d6bf8f}.page-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:23px;margin-top:25px}.foot-note{font-size:12px;color:#a5b39e;line-height:2}.hero-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.hero-card{position:relative;overflow:hidden;background:linear-gradient(160deg,#24312bbb,#101b19ed);border:1px solid #a99e6d66;padding:0;text-align:left;min-width:0;transition:.2s}.hero-card.selected{border-color:#e0bd79;box-shadow:inset 0 0 30px #baa3611a,0 0 24px #8c783f22}.hero-card:before,.level-card:before,.letter-card:before{content:'';position:absolute;top:6px;left:6px;width:14px;height:14px;border-top:1px solid #d9c18a88;border-left:1px solid #d9c18a88;z-index:2;pointer-events:none}.hero-card .portrait{height:310px;width:100%;position:relative;overflow:hidden;background:radial-gradient(ellipse at center,#8e7e4a20,transparent 70%);mask-image:linear-gradient(#000 80%,transparent)}.hero-info{padding:12px 22px 22px}.hero-info h3{font-size:25px;letter-spacing:4px;font-weight:500}.hero-info h3 small{font-size:10px;letter-spacing:2px;margin-left:10px;color:#d0bd8d}.tags{margin:15px 0;color:#c9b782;font-size:11px;letter-spacing:1px}.hero-info p{font-size:12px;color:#aeb6a2;line-height:1.95;min-height:50px}.hero-stats{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);margin-top:18px;padding-top:13px;font-size:10px;color:#a5b19d}.hero-stats b{display:block;color:#d8d9b8;font-size:13px;margin-top:6px;font-weight:400}.selection-mark{position:absolute;top:16px;right:15px;z-index:2;font-size:9px;color:#dfc99b;letter-spacing:2px;opacity:0;border-bottom:1px solid #cfb77d;padding-bottom:6px}.selected .selection-mark{opacity:1}.region-tabs{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid var(--line);margin-bottom:25px}.region-tab{padding:17px 15px;text-align:left;border-right:1px solid var(--line);background:#101b17b3;min-width:0;position:relative}.region-tab:last-child{border:0}.region-tab.active{background:#a28b4929;box-shadow:inset 0 -2px #d2b374}.region-tab small{font-size:9px;letter-spacing:2px;color:#9aab97}.region-tab b{display:block;font-size:21px;font-weight:450;letter-spacing:4px;margin:10px 0}.region-tab span{font-size:10px;color:#a5b197;line-height:1.8}.level-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:21px}.level-card{position:relative;background:#17221ec9;border:1px solid var(--line);overflow:hidden}.level-card.locked{filter:saturate(.3);opacity:.65}.region-art{height:152px;background-image:linear-gradient(transparent,#111a18bb),none;background-size:100% 100%,100% 500%;background-position:0 0,center calc(var(--region)*25%);position:relative;border-bottom:1px solid var(--line)}.level-num{position:absolute;top:17px;left:20px;font-size:10px;letter-spacing:3px;color:#efddb8}.boss-badge{position:absolute;bottom:16px;right:18px;padding:5px 8px;font-size:9px;color:#e3bd8e;border:1px solid #b7996f;background:#251c16bb}.level-info{padding:20px}.level-info h3{font-size:24px;letter-spacing:3px;font-weight:450}.level-info>p{font-size:11px;color:#b0bca8;line-height:2;margin:12px 0 17px}.level-status{display:flex;justify-content:space-between;gap:10px;font-size:9px;line-height:1.8;color:#c5b78c;border-top:1px solid var(--line);padding:13px 0}.level-info button{width:100%;margin-top:8px}.loadout-layout{display:grid;grid-template-columns:31% 1fr;gap:40px}.hero-preview{text-align:center;position:relative;border-right:1px solid var(--line);background:radial-gradient(ellipse,#9485561a,transparent 70%)}.hero-preview .portrait{position:relative;height:445px;overflow:hidden;max-width:330px;margin:0 auto;mask-image:linear-gradient(#000 85%,transparent)}.hero-preview h3{font-size:27px;font-weight:450;letter-spacing:4px}.hero-preview p{font-size:11px;color:#b6b998;margin:12px 0}.tab-strip{display:flex;border-bottom:1px solid var(--line);gap:10px;margin-bottom:18px}.tab-strip button{padding:11px 18px;font-size:12px;color:#9cac98;border-bottom:2px solid transparent}.tab-strip button.active{color:#e4c892;border-bottom-color:#d3b374;background:#a38f5120}.upgrade-list{display:flex;flex-direction:column;gap:14px}.upgrade{display:grid;grid-template-columns:50px 1fr auto;align-items:center;gap:18px;border:1px solid var(--line);background:#14201bd6;padding:22px}.upgrade-icon{width:45px;height:45px;border:1px solid #b9a26877;display:grid;place-items:center;font-size:26px;color:#dbc289}.upgrade h3{font-size:17px;letter-spacing:2px;font-weight:450}.upgrade p{font-size:11px;color:#adbaa3;line-height:1.9;margin:8px 0}.upgrade-rank{font-size:12px;letter-spacing:5px;color:#d2b978}.upgrade button{font-size:11px;white-space:nowrap}.weapon-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.weapon-tile{padding:18px;border:1px solid var(--line);background:#13201bbd}.weapon-tile.equipped{border-color:#c8b274}.weapon-icon{height:82px;display:block;background-image:none;background-size:320%;background-repeat:no-repeat;margin-bottom:15px}.weapon-tile h3{font-size:14px;font-weight:450;line-height:1.8}.weapon-tile p{font-size:11px;color:#aab7a1;margin:13px 0;line-height:1.9}.weapon-tile button{width:100%;font-size:10px}.progress-numbers{background:#b6a1680d;border:1px solid var(--line);padding:15px 18px;font-size:12px;line-height:2;color:#b3bea7}.progress-numbers b{font-weight:500;color:#e1c897}.story-collection{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.letter-card{position:relative;padding:24px;border:1px solid var(--line);background:linear-gradient(120deg,#30362788,#151f1be8);min-height:190px}.letter-card.locked{opacity:.5}.letter-card small{font-size:9px;letter-spacing:1px;color:#a7b096}.letter-card h3{font-size:18px;letter-spacing:2px;font-weight:450;margin:16px 0}.letter-card p{font-size:12px;line-height:2;color:#c1c5ab}.story-intro{min-height:100%;display:flex;flex-direction:column;justify-content:end;padding:6% 12% 8%;background:linear-gradient(transparent 20%,#0d1614fa 70%)}.story-chapter{font-size:12px;letter-spacing:4px;color:#ccb680;border-bottom:1px solid var(--line);padding-bottom:20px}.story-box{padding:30px 0 0}.story-box h3{font-size:26px;letter-spacing:4px;font-weight:500;color:#e0c38e}.story-box p{font-size:clamp(17px,2vw,25px);line-height:2.1;color:#ebe5cd;max-width:1100px;margin:20px 0 40px;min-height:100px}.story-controls{display:flex;align-items:center;gap:25px;justify-content:flex-end}.story-controls button{font-size:12px;border:1px solid var(--line);padding:10px 17px}.story-controls span{font-size:11px;color:#929e89}.story-controls button:first-child{margin-right:auto;border:0;color:#94a28f}.modal-shade{position:absolute;inset:0;z-index:50;background:#020806c9;display:grid;place-items:center;padding:24px;backdrop-filter:blur(8px)}.modal{width:min(850px,95vw);max-height:90dvh;overflow:auto;scrollbar-width:thin;background:linear-gradient(135deg,#242c23fa,#111c19fc);border:1px solid #b7a16a;box-shadow:0 25px 90px #0009,inset 0 0 0 7px #b4a1680a;padding:35px 40px;position:relative}.modal:before{content:'';position:absolute;top:8px;left:8px;width:35px;height:35px;border-top:1px solid #d3bd7f;border-left:1px solid #d3bd7f;pointer-events:none}.modal h2{font-size:30px;font-weight:450;letter-spacing:4px;margin:12px 0}.modal-close{position:absolute;right:18px;top:13px;color:#bfbfa0;font-size:26px;z-index:3}.modal-lead{font-size:12px;line-height:2;color:#a8b8a1;margin:13px 0 24px}.modal-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:end;gap:12px;border-top:1px solid var(--line);padding-top:22px;margin-top:24px}.control-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.control-grid>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border:1px solid #b5a16530;background:#0d191580;font-size:11px;line-height:1.8}.control-grid>div>span{color:#c2c9b0}.control-grid b{font-weight:450;font-size:17px;color:#e0c791}.instruction{padding:15px 18px;background:#0b191777;border-left:2px solid #b8a56c;font-size:11px;line-height:2.1;color:#a9bca6;margin:15px 0}.setting{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #b6aa7133;padding:16px 0;font-size:13px;gap:22px}.setting input[type=range]{width:45%;accent-color:#bfa66f}.setting input[type=checkbox]{width:17px;height:17px;accent-color:#c2a56c}.setting select{background:#111f19;border:1px solid var(--line);padding:8px;color:#d7d9ba;font-size:12px}.result{text-align:center}.result .eyebrow{margin-top:8px}.rank{font-size:80px;font-weight:500;color:#e6c480;text-shadow:0 0 28px #cfb47844;line-height:1.2;margin:25px 0}.result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.result-grid>div{font-size:11px;color:#a7b79d;border:1px solid var(--line);padding:18px 10px}.result-grid b{display:block;font-size:25px;font-weight:450;color:#dfd9b4;margin-top:12px}.ending-options{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ending-option{border:1px solid var(--line);padding:22px;text-align:left;background:#1c2a20}.ending-option b{display:block;font-size:24px;font-weight:450;letter-spacing:3px;color:#e3c58a;margin-bottom:12px}.ending-option small{font-size:12px;line-height:2;color:#b6c1a6}.ending-option.dawn{border-color:#b2d5ab}.end-title{font-size:42px;letter-spacing:8px;color:#e7cb96;margin:26px 0}.ending-body{font-size:14px;line-height:2.2;white-space:pre-line;color:#d1d6be;margin:24px 0}.ending-body:first-letter{font-size:22px;color:#e5c58c}#toast{position:absolute;z-index:70;bottom:28px;left:50%;transform:translate(-50%,15px);opacity:0;background:#1a2b22f5;border:1px solid #bba96c99;padding:12px 25px;font-size:12px;max-width:90%;text-align:center;color:#e0e3c8;pointer-events:none;transition:.25s}#toast.visible{opacity:1;transform:translate(-50%,0)}#load-overlay{position:absolute;inset:0;z-index:100;background:#101712;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:20px}#load-overlay h2{font-size:25px;font-weight:450;letter-spacing:7px}#load-overlay p{font-size:11px;color:#a0af95;letter-spacing:2px}.load-sigil{font-size:50px;color:#c3ab6e;animation:spin 8s linear infinite}.load-track{width:230px;height:2px;background:#a4936033;overflow:hidden}.load-track i{display:block;width:100px;height:100%;background:#d3bc87;animation:loading 1.7s ease-in-out infinite}
.coop-layout{display:grid;grid-template-columns:32% 1fr;gap:45px}.coop-intro{padding:20px 30px 20px 0;border-right:1px solid var(--line)}.section-number{font-size:75px;color:#bda66b;font-weight:400}.coop-intro h3{font-size:34px;letter-spacing:5px;font-weight:450;line-height:1.6;margin:15px 0}.coop-intro p{font-size:12px;line-height:2.1;color:#adbba3}.coop-intro>.primary,.coop-intro>.secondary{display:block;width:100%;margin-top:14px}.network-status{border-left:2px solid #bca363;background:#a8a46512;padding:15px;font-size:12px;line-height:1.9;color:#cbd6b6;margin:25px 0}.connection-panel{border:1px solid var(--line);padding:25px;background:#132018b8}.connection-steps{display:flex;justify-content:space-between;gap:14px;color:#a5b797;font-size:11px;line-height:1.8;margin:20px 0 25px}.connection-label{display:flex;flex-direction:column;font-size:12px;color:#c0caa9;gap:12px;margin:20px 0}.connection-label textarea{resize:vertical;min-height:105px;border:1px solid #b2a26766;background:#081510cc;color:#cbd9b9;padding:13px;font-size:11px;line-height:1.8;width:100%;overflow-wrap:anywhere}.connection-actions{display:flex;gap:12px;flex-wrap:wrap}.connection-help{font-size:11px;color:#95aa8d;line-height:2.1;margin:22px 0 0}
#hud{position:absolute;inset:60px 0 0;z-index:10;pointer-events:none;text-shadow:0 2px 5px #0009}#hud button{pointer-events:auto}.hero-hud{position:absolute;top:22px;left:27px;display:flex;gap:15px;width:310px}.tiny{height:66px;width:54px;position:relative;overflow:hidden;border:1px solid #beaa77;background:#26352c}.tiny img{height:180%;top:-5%}.bars{flex:1;min-width:0}.hud-name{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;gap:9px}.hud-name b{font-size:14px;font-weight:500;color:#ebdfbd}.hud-name small{font-size:9px;color:#bec8ab}.bar{height:19px;border:1px solid #aa9c6a66;background:#0c1713e0;position:relative;overflow:hidden}.bar i{position:absolute;inset:0 auto 0 0;width:100%;background:linear-gradient(90deg,#657a45,#abc184);transition:width .12s}.bar span{position:absolute;inset:0;text-align:center;font-size:10px;line-height:17px;color:#f0f1d7}.bar.resonance{margin-top:6px;height:13px}.resonance i{background:linear-gradient(90deg,#4d8b80,#a5d8bb)}.resonance span{font-size:8px;line-height:11px}.heat-track{height:2px;margin-top:4px;background:#6b74473b}.heat-track i{display:block;height:100%;background:#d5a060;transition:width .2s}.heat-track.hot i{background:#e07a5f}.objective{position:absolute;top:22px;left:50%;transform:translateX(-50%);text-align:center;width:360px}.objective>small{display:block;font-size:9px;line-height:1.8;color:#bcc6a6}.objective b{display:block;font-size:13px;font-weight:500;line-height:1.8;margin:3px 0;color:#e3dfbd}#minimap{height:2px;background:#a597612e;position:relative;margin:9px auto 6px;width:240px}#map-progress{height:100%;display:block;background:#c9b77a;width:0}#minimap span{position:absolute;right:-4px;top:-5px;font-size:8px;color:#c9bb89}#coop-hud{position:absolute;right:27px;top:22px;width:240px;border-left:2px solid #9bc4a2;padding-left:12px}#coop-hud>div:first-child{display:flex;justify-content:space-between;gap:10px;margin-bottom:9px}#coop-hud b{font-size:14px;font-weight:500;color:#c5dbb7}#coop-hud small{font-size:9px;color:#9fba9b}#p2-health{background:linear-gradient(90deg,#396a54,#9ed6ba)}#boss-hud{position:absolute;bottom:98px;left:50%;transform:translateX(-50%);width:520px;max-width:65%;border-bottom:1px solid #c6a67450;padding-bottom:9px}#boss-hud>div:first-child{display:flex;justify-content:space-between;margin-bottom:7px;gap:15px}#boss-name{font-size:15px;font-weight:500;letter-spacing:3px;color:#e4cfb0}#boss-phase{font-size:10px;color:#dbab8c}.bar.boss{height:7px}.boss i{background:linear-gradient(90deg,#783f3a,#d79476)}#combo-hud{position:absolute;left:42px;top:120px;font-size:27px;font-style:italic;color:#e0bc79}#hint{position:absolute;left:26%;right:26%;bottom:153px;text-align:center;border-left:2px solid #b7b176;background:#12221bd9;padding:10px 18px;color:#d2ddbe;font-size:11px;line-height:1.9;opacity:0;transition:.2s}#hint.visible{opacity:1}.combat-bottom{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 28px;background:linear-gradient(transparent,#08140de8 40%)}.key-row{display:flex;gap:15px}.key-row button{display:flex;align-items:center;gap:8px;font-size:10px;color:#b8c7a7}.resource-row{display:flex;align-items:center;gap:18px;font-size:11px;color:#dcc18a}.resource-row button{font-size:10px;color:#aabda4}.morality{font-size:10px;color:#aac5a8}#touch-controls{display:none;position:absolute;inset:auto 0 0;pointer-events:none}.touch-move{position:absolute;left:25px;bottom:35px;display:flex;gap:12px}.touch-actions{position:absolute;right:22px;bottom:25px;display:flex;gap:9px;align-items:center;max-width:330px;flex-wrap:wrap;justify-content:end}.touch-move button,.touch-actions button{pointer-events:auto;border:1px solid #b7bc8577;background:#192c22cd;backdrop-filter:blur(3px);width:50px;height:50px;border-radius:50%;font-size:11px;color:#d9e7c7;user-select:none;-webkit-user-select:none;touch-action:none}.touch-actions .fire{width:66px;height:66px;background:#79673cca;border-color:#cfb579;font-size:15px}.touch-actions .soul{background:#315b4dc9;border-color:#a6d0b4}.touch-actions button:active,.touch-move button:active{background:#9cae6255}.battle #world{filter:none}.battle .vignette{background:radial-gradient(ellipse,transparent 45%,#020b0a55)}.battle #topbar{height:49px;background:#0a1413db}.battle #topbar .wordmark{font-size:15px;letter-spacing:2px}.battle #topbar .sigil{height:23px;width:23px;font-size:16px}.battle .top-nav,.battle .wordmark small{display:none}.battle .top-actions{margin-left:auto}.battle #screen{inset:49px 0 0;pointer-events:none}.battle #hud{top:49px}.touch-mode #touch-controls{display:block}.touch-mode .combat-bottom{bottom:138px;background:none;padding:8px 22px}.touch-mode .key-row{display:none}.touch-mode #hint{bottom:180px;font-size:10px}.touch-mode #boss-hud{bottom:146px}.touch-mode .resource-row{width:100%;justify-content:space-between}
@keyframes enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes loading{from{transform:translateX(-100px)}to{transform:translateX(240px)}}
@media(min-width:1700px){.home{padding-left:7%;padding-right:7%}.home-dossier{padding-left:35px}.showcase-card{max-width:420px}.home-art{max-height:850px}.home-copy{max-width:420px}.menu-list{max-width:380px}}
@media(max-width:1100px){#topbar{gap:20px}.top-nav{gap:15px}.wordmark small{display:none}.top-actions{gap:8px}.home{grid-template-columns:30% 43% 27%;padding-left:3%;padding-right:3%}.home h1{font-size:44px}.home h1 small{font-size:19px}.home-copy{padding-right:12px}.home-dossier{padding-left:15px}.home-dossier h2{font-size:23px}.mode-switch button{padding:10px 7px;gap:8px}.mode-switch b{font-size:12px}.mode-switch small{font-size:9px}.mode-icon{font-size:20px}.home-art{margin-left:-50px;margin-right:-20px}.menu-list button{font-size:14px}.hero-info{padding:12px 16px 20px}.hero-info h3 small{display:block;margin:8px 0}.hero-card .portrait{height:265px}.level-info{padding:16px}.level-info h3{font-size:22px}.loadout-layout{gap:25px}.upgrade{padding:16px;gap:12px}.upgrade p{max-width:300px}.coop-layout{gap:25px;grid-template-columns:30% 1fr}.hero-hud{width:260px}.objective{width:300px}#coop-hud{width:205px}}
@media(max-width:800px){#topbar{height:64px;padding:0 18px}.wordmark{font-size:17px}.wordmark .sigil{width:25px;height:25px;font-size:17px}.top-nav{display:none}.top-actions{margin-left:auto}.top-actions select{max-width:90px;font-size:10px;padding:6px}.top-actions button{font-size:18px;width:23px}.top-actions #fullscreen{display:none}#screen{inset:64px 0 0}.home{min-height:700px;grid-template-columns:50% 50%;padding:36px 6% 190px}.home-copy{align-self:start;padding-top:22px}.home h1{font-size:43px}.home h1 small{font-size:17px;letter-spacing:7px}.home-desc{font-size:11px;line-height:1.95;margin-bottom:20px}.home-copy .eyebrow{font-size:8px;letter-spacing:2px}.menu-list button{font-size:13px;min-height:45px;padding:11px 5px;gap:12px}.menu-list .journey-button{font-size:16px;min-height:54px}.home-art{min-height:460px;height:490px;align-self:start;margin-left:-65px;margin-right:-30px;margin-top:15px}.showcase-card{width:75%}.hero-0{left:3%;height:96%}.hero-1{left:-28%;height:77%;bottom:10%}.hero-2{right:-21%;height:81%;bottom:9%}.figure-name,.art-caption{display:none!important}.home-dossier{position:absolute;bottom:60px;left:6%;right:6%;border-left:0;border-top:1px solid var(--line);padding:20px 0 0;background:none}.home-dossier>.eyebrow,.home-dossier h2,.home-dossier>p,.dossier-progress{display:none}.mode-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mode-switch button{min-height:68px;padding:10px;gap:8px}.mode-switch b{font-size:11px}.mode-switch small{font-size:8px;line-height:1.7}.mode-switch i{display:none}.mode-icon{font-size:19px;min-width:15px}.home-dossier .partner-picker{margin:12px 0 0;gap:5px}.partner-picker>span{width:auto;margin-right:10px}.partner-picker small{width:auto;margin-left:auto;font-size:8px}.home-dossier:has(.partner-picker){bottom:55px}.home-dossier:has(.partner-picker) .mode-switch{margin-bottom:10px}.home-dossier>.primary{margin-top:10px;width:auto;float:right;padding:8px 12px}.home:has(.home-dossier>.primary){padding-bottom:210px}.home-footer{font-size:8px;gap:10px;left:6%;right:6%;min-height:43px;letter-spacing:0}.home-footer button{display:none}.home-footer>span:nth-child(2){max-width:150px}.page{padding:25px 5%}.page h2{font-size:27px}.page-sub{font-size:11px}.page-head{gap:13px}.back,.secondary{font-size:11px;padding:10px 12px}.hero-grid{gap:12px}.hero-card .portrait{height:225px}.hero-info{padding:10px 14px 17px}.hero-info h3{font-size:22px}.hero-info p{font-size:10px;line-height:1.95}.hero-stats{flex-direction:column;gap:8px}.tags{font-size:9px}.selection-mark{font-size:8px;right:10px;top:12px;letter-spacing:0}.page-foot{flex-wrap:wrap}.foot-note{font-size:11px}.region-tabs{overflow-x:auto;display:flex}.region-tab{min-width:135px;padding:14px}.region-tab b{font-size:18px}.region-tab small{font-size:8px}.level-grid{gap:12px}.level-info{padding:15px}.level-info h3{font-size:20px;letter-spacing:2px}.level-info>p{font-size:10px}.level-status{flex-direction:column;gap:4px}.level-info button{font-size:10px;padding:11px 8px}.loadout-layout{grid-template-columns:25% 1fr;gap:18px}.hero-preview .portrait{height:320px}.hero-preview h3{font-size:20px}.hero-preview p{font-size:9px}.upgrade{grid-template-columns:35px 1fr auto;gap:10px;padding:15px 10px}.upgrade-icon{width:30px;height:35px;font-size:20px}.upgrade h3{font-size:14px}.upgrade p{font-size:10px}.upgrade button{padding:9px 12px;font-size:10px}.weapon-grid{grid-template-columns:1fr}.weapon-tile{display:grid;grid-template-columns:95px 1fr;gap:10px}.weapon-icon{grid-row:span 3;height:95px}.weapon-tile p{margin:3px 0}.weapon-tile button{width:auto}.story-collection{grid-template-columns:1fr 1fr}.letter-card{padding:20px;min-height:160px}.letter-card h3{font-size:16px}.letter-card p{font-size:11px}.coop-layout{grid-template-columns:1fr}.coop-intro{display:grid;grid-template-columns:80px 1fr;gap:10px 25px;border-right:0;border-bottom:1px solid var(--line);padding:0 0 25px}.coop-intro h3{font-size:25px;line-height:1.5;margin:0}.section-number{grid-row:span 2;font-size:70px}.coop-intro>p{font-size:11px}.coop-intro .partner-picker,.coop-intro .network-status,.coop-intro>.primary,.coop-intro>.secondary{grid-column:1/-1;margin:5px 0}.connection-panel{padding:18px}.connection-steps{font-size:10px}.connection-actions button{font-size:11px}.hero-hud{left:15px;top:16px;width:230px;gap:10px}.tiny{width:42px;height:58px}.hud-name b{font-size:12px}.hud-name small{font-size:8px}.objective{top:13px;width:230px}.objective b{font-size:11px}.objective>small{font-size:8px}#minimap{width:160px}#coop-hud{right:15px;top:16px;width:180px}#coop-hud b{font-size:12px}#coop-hud small{font-size:8px}.key-row{gap:8px}.key-row button span{display:none}#hint{left:24%;right:24%;font-size:10px}.resource-row{gap:10px;font-size:10px}.modal{padding:28px 25px}.modal h2{font-size:25px}.control-grid{gap:9px}.control-grid>div{padding:10px;font-size:10px;flex-wrap:wrap}.modal-actions{gap:9px}.result-grid b{font-size:22px}}
@media(max-width:540px) and (orientation:portrait){.home{display:block;min-height:890px;padding:30px 7% 260px}.home-copy{width:61%;position:relative;padding-top:5px;z-index:5}.home h1{font-size:37px;letter-spacing:4px}.home h1 small{font-size:16px;letter-spacing:6px;margin:8px 0 20px}.home-copy .eyebrow{font-size:7px;letter-spacing:1px;margin-bottom:15px}.home-desc{font-size:10px;margin-bottom:20px}.menu-list{width:100%}.menu-list button{font-size:12px;min-height:44px;letter-spacing:1px}.menu-list .journey-button{font-size:15px;min-height:54px}.home-art{position:absolute;right:-16%;left:30%;top:90px;height:520px;margin:0;min-height:0;z-index:2;opacity:.78}.hero-0{left:2%;width:88%;height:100%}.hero-1{left:-34%;width:90%;height:83%;bottom:-3%}.hero-2{right:-42%;width:85%;height:81%;bottom:15%}.home-dossier{left:7%;right:7%;bottom:75px;padding-top:16px}.mode-switch{grid-template-columns:1fr;gap:7px}.mode-switch button{min-height:52px;padding:9px 12px}.mode-switch b{font-size:12px}.mode-switch small{font-size:9px;margin-top:2px}.mode-switch .mode-icon{font-size:22px;min-width:27px}.mode-switch button>span:nth-child(2){display:flex;align-items:center;justify-content:space-between;gap:15px;flex:1}.mode-switch i{display:block}.partner-picker button{font-size:10px;padding:6px}.partner-picker small{width:100%;margin:0}.home-dossier:has(.partner-picker){bottom:67px}.home:has(.partner-picker){min-height:955px}.home:has(.home-dossier>.primary){min-height:940px}.home-footer{height:55px;flex-wrap:wrap;align-content:center;gap:5px 10px}.home-footer>span:nth-child(2){max-width:none}.home-footer a{margin-left:auto}.home-footer>span:last-child{width:100%;text-align:right}.page{padding:24px 6%}.page-head{flex-wrap:wrap}.page h2{font-size:26px;letter-spacing:3px}.page-sub{font-size:11px;line-height:1.95}.page-head>.back{font-size:10px;padding:8px 12px}.hero-grid{grid-template-columns:1fr;gap:17px}.hero-card{display:grid;grid-template-columns:44% 56%;min-height:260px}.hero-card .portrait{height:100%;min-height:260px;mask-image:linear-gradient(90deg,#000 80%,transparent)}.hero-info{padding:27px 15px 20px 3px}.hero-info h3{font-size:24px}.hero-info h3 small{font-size:9px}.hero-info p{font-size:10px;min-height:0}.hero-stats{flex-direction:row;font-size:9px}.hero-stats b{font-size:11px}.selection-mark{right:12px;top:11px;font-size:8px}.page-foot{margin-top:23px;gap:17px}.page-foot .primary{width:100%;text-align:center}.page-foot .back{order:2}.level-grid{grid-template-columns:1fr}.region-art{height:160px}.level-info h3{font-size:24px}.level-info>p{font-size:11px}.level-status{flex-direction:row;font-size:9px}.level-info button{font-size:12px;padding:13px}.currency-pill{font-size:11px;padding:10px 15px}.loadout-layout{grid-template-columns:1fr}.hero-preview{border-right:0;border-bottom:1px solid var(--line);padding-bottom:20px;min-height:170px}.hero-preview .portrait{height:210px;width:155px;margin:0;position:absolute;left:10px;top:-12px}.hero-preview h3{margin:45px 0 10px 130px}.hero-preview p{margin-left:130px;font-size:10px}.tab-strip{gap:5px}.tab-strip button{font-size:11px;padding:10px 12px}.upgrade{padding:18px 12px;gap:11px}.upgrade h3{font-size:15px}.upgrade p{font-size:10px;line-height:1.9}.upgrade button{padding:9px;font-size:10px}.story-collection{grid-template-columns:1fr}.letter-card h3{font-size:19px}.letter-card p{font-size:12px}.progress-numbers{font-size:11px}.story-intro{padding:40px 8% 70px;justify-content:center}.story-chapter{font-size:10px;letter-spacing:2px;line-height:2}.story-box h3{font-size:25px}.story-box p{font-size:19px;line-height:2.2;margin:25px 0 40px;min-height:170px}.story-controls{gap:13px}.story-controls button{font-size:11px;padding:9px 11px}.modal-shade{padding:12px}.modal{max-height:94dvh;width:100%;padding:28px 22px}.modal h2{font-size:24px;letter-spacing:3px}.modal-lead{font-size:11px}.control-grid{grid-template-columns:1fr}.control-grid>div{font-size:11px}.control-grid kbd{font-size:10px}.instruction{font-size:10px;padding:13px}.setting{font-size:12px;gap:15px}.setting select{max-width:55%;font-size:10px}.modal-actions{justify-content:stretch;gap:10px}.modal-actions>*{flex:1;text-align:center;font-size:11px;padding:12px}.result-grid{grid-template-columns:1fr 1fr}.rank{font-size:70px;margin:20px 0}.ending-options{grid-template-columns:1fr}.ending-option b{font-size:22px}.ending-option small{font-size:11px}.end-title{font-size:33px;letter-spacing:5px}.ending-body{font-size:12px}.connection-steps{flex-direction:column;gap:5px}.connection-panel .tab-strip{flex-direction:column}.connection-actions button{width:100%}.coop-intro{grid-template-columns:70px 1fr;gap:15px}.coop-intro h3{font-size:25px}.connection-help{font-size:10px}.battle #world{top:150px;height:auto;aspect-ratio:16/9;width:100%}.battle .vignette{top:150px;bottom:auto;aspect-ratio:16/9}.battle #topbar{height:49px}.battle #hud{top:49px}.hero-hud{top:12px;left:12px;width:56%;gap:8px}.objective{top:calc(150px + 56.25vw - 49px + 15px);left:12px;transform:none;width:calc(100% - 24px);text-align:left}.objective b{font-size:13px}.objective #minimap{width:100%;margin:8px 0}.objective>small{font-size:9px}#host-status{font-size:9px!important}#coop-hud{top:14px;right:12px;width:36%;padding-left:8px}#coop-hud>div:first-child{flex-direction:column;gap:3px;margin-bottom:5px}#coop-hud b{font-size:10px}#coop-hud small{font-size:8px}#coop-hud .bar{height:15px}#coop-hud .bar span{font-size:8px;line-height:13px}.tiny{width:38px;height:58px}.hud-name{flex-wrap:wrap;gap:3px;margin-bottom:5px}.hud-name b{font-size:11px}.hud-name small{font-size:8px}.bar{height:16px}.bar span{font-size:9px;line-height:14px}.bar.resonance{height:12px}.resonance span{font-size:7px;line-height:10px}#combo-hud{top:122px;left:18px;font-size:18px}#boss-hud,.touch-mode #boss-hud{top:calc(150px + 56.25vw - 87px);bottom:auto;width:70%;max-width:80%;padding-bottom:4px}#boss-name{font-size:10px;letter-spacing:1px}#boss-phase{font-size:8px}.touch-mode #hint,#hint{bottom:160px;left:6%;right:6%;padding:8px 12px;font-size:9px;background:#14241df0}.combat-bottom,.touch-mode .combat-bottom{bottom:133px;padding:5px 15px}.key-row{display:none}#touch-controls{display:block}.touch-move{bottom:48px;left:17px;gap:8px}.touch-move button{width:46px;height:46px}.touch-actions{right:12px;bottom:20px;gap:7px;max-width:225px}.touch-actions button{width:39px;height:39px;font-size:9px}.touch-actions .fire{width:52px;height:52px;font-size:12px}.resource-row{font-size:10px;width:100%;justify-content:space-between}.morality{font-size:9px}}
@media(max-height:570px) and (orientation:landscape){#topbar{height:49px}.wordmark{font-size:16px}.wordmark .sigil{width:24px;height:24px;font-size:16px}.top-nav{display:flex;gap:15px}.top-nav button{font-size:10px}#screen{inset:49px 0 0}.home{min-height:430px;padding:20px 4% 45px;grid-template-columns:31% 43% 26%}.home-copy{padding-top:0;align-self:center}.home-copy .eyebrow{font-size:7px;margin-bottom:9px;letter-spacing:1px}.home h1{font-size:32px;letter-spacing:4px}.home h1 small{font-size:14px;margin:4px 0 12px;letter-spacing:6px}.home-desc{font-size:9px;line-height:1.8;margin-bottom:13px}.menu-list button{font-size:11px;min-height:34px;padding:7px 5px;gap:9px}.menu-list .journey-button{font-size:14px;min-height:42px}.nav-number{font-size:8px}.home-art{margin:-25px -20px 0 -40px;min-height:360px;height:100%;align-self:stretch}.showcase-card{width:65%}.hero-0{left:15%;height:96%}.hero-1{left:-16%;height:79%;bottom:5%}.hero-2{right:-20%;height:80%;bottom:12%}.home-dossier{position:relative;left:auto;right:auto;bottom:auto!important;border-top:0;border-left:1px solid var(--line);padding:15px 0 15px 15px;align-self:center}.home-dossier>.eyebrow{display:block;font-size:8px}.home-dossier h2{display:block;font-size:20px;margin:7px 0 15px}.home-dossier>p{display:none}.mode-switch{display:flex;flex-direction:column;gap:7px}.mode-switch button{min-height:49px;padding:8px;gap:7px}.mode-switch b{font-size:10px}.mode-switch small{font-size:8px;margin-top:2px}.mode-icon{font-size:19px}.dossier-progress{display:none}.home-dossier .partner-picker{margin:10px 0}.partner-picker button{font-size:9px;padding:5px}.partner-picker small{width:100%;font-size:7px}.home-footer{min-height:34px;font-size:7px;left:4%;right:4%}.home-footer>span:nth-child(2){max-width:none}.home-footer a{margin-left:auto}.home-dossier>.primary{font-size:10px;padding:8px;width:100%;margin-top:8px}.home:has(.home-dossier>.primary){padding-bottom:45px}.page{padding:20px 4%}.page h2{font-size:25px}.page-head{margin-bottom:18px;padding-bottom:17px}.page-sub{font-size:10px}.hero-card .portrait{height:185px}.hero-info p{font-size:10px}.hero-stats{flex-direction:row}.region-art{height:110px}.level-info{padding:13px}.level-info h3{font-size:19px}.level-status{font-size:8px}.hero-preview .portrait{height:300px}.story-intro{padding:25px 10% 35px}.story-box p{font-size:19px;min-height:70px;line-height:1.9;margin:14px 0 22px}.story-box h3{font-size:22px}.modal{max-height:92dvh;padding:24px 30px}.modal h2{font-size:24px}.modal-lead{margin:10px 0 15px}.control-grid{margin:12px 0;gap:8px}.control-grid>div{padding:9px;font-size:10px}.instruction{padding:12px;font-size:10px}.hero-hud{top:9px;width:230px;left:15px}.tiny{height:48px;width:35px}.objective{top:8px;width:240px}#coop-hud{top:9px;width:170px;right:15px}#hint,.touch-mode #hint{bottom:95px;left:27%;right:27%;font-size:8px;padding:7px 12px}.touch-mode #boss-hud,#boss-hud{bottom:58px;width:420px}#boss-name{font-size:11px}#boss-phase{font-size:8px}.touch-mode .combat-bottom{bottom:0;left:170px;right:285px;padding:7px 10px}.resource-row{font-size:9px}.morality{display:none}.touch-move{bottom:22px;left:20px}.touch-move button{width:45px;height:45px}.touch-actions{bottom:12px;right:15px;max-width:280px;gap:6px}.touch-actions button{width:40px;height:40px;font-size:9px}.touch-actions .fire{width:55px;height:55px;font-size:12px}.touch-mode #combo-hud{top:75px;font-size:19px}#combo-hud{top:75px}.bar{height:15px}.bar span{line-height:13px;font-size:9px}.bar.resonance{height:11px}.resonance span{font-size:7px;line-height:9px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
:root:not([lang=zh-Hans]) .home h1{font-size:clamp(24px,3.3vw,48px);letter-spacing:1px;white-space:normal;line-height:1.25}:root:not([lang=zh-Hans]) .home h1 small{font-size:clamp(11px,1.2vw,19px);letter-spacing:2px;line-height:1.7}:root[lang=my] *{letter-spacing:0!important}:root[lang=my] .mode-switch b{font-size:12px;line-height:1.7}:root[lang=my] .home h1{font-size:clamp(24px,3vw,43px);line-height:1.75}:root[lang=my] .mode-switch small{line-height:1.9}:root[lang=my] .home-dossier>p{line-height:2.2}:root[lang=my] .top-nav button{font-size:11px}:root[lang=my] .modal p,:root[lang=my] .story-box p{line-height:2.3}:root[lang=vi] .wordmark{font-size:15px;letter-spacing:0}:root[lang=vi] .wordmark small{display:none}:root[lang=my] .wordmark{font-size:14px}:root[lang=my] .wordmark small{display:none}
@media(max-width:540px) and (orientation:portrait){:root:not([lang=zh-Hans]) .home{min-height:940px}:root:not([lang=zh-Hans]) .home h1{font-size:29px;line-height:1.4}:root[lang=my] .home h1{font-size:23px;line-height:1.9}:root:not([lang=zh-Hans]) .home h1 small{font-size:12px;letter-spacing:1px}:root:not([lang=zh-Hans]) .mode-switch button>span:nth-child(2){display:block}:root:not([lang=zh-Hans]) .mode-switch button{min-height:60px}:root[lang=my] .mode-switch b{font-size:11px}:root[lang=my] .home-copy{width:65%}:root:not([lang=zh-Hans]) .home:has(.partner-picker){min-height:1030px}.top-actions #sound-toggle{display:none}.wordmark{font-size:16px}:root[lang=my] .wordmark,:root[lang=vi] .wordmark{font-size:12px}.top-actions select{max-width:81px}.top-actions{gap:6px}}
.showcase-card .portrait{mask-image:linear-gradient(0deg,transparent 0,#000 24%,#000 86%,transparent),linear-gradient(90deg,transparent,#000 14%,#000 84%,transparent);mask-composite:intersect;-webkit-mask-composite:source-in}.home-dossier{background:linear-gradient(90deg,#101b14d9,#0e1712bb);padding-right:12px}.hero-0{width:60%;left:18%}.hero-1{left:-3%;width:54%}.hero-2{right:-4%;width:53%}#touch-partner{display:none;position:absolute;z-index:11;top:170px;right:20px;gap:7px;align-items:center;max-width:300px;flex-wrap:wrap;justify-content:end;pointer-events:none}#touch-partner b{font-size:10px;color:#b9d7b6}#touch-partner button{pointer-events:auto;border:1px solid #97ba9477;background:#193224d9;min-width:36px;min-height:36px;font-size:9px;touch-action:none;padding:7px;border-radius:5px}.battle.touch-mode[data-mode=local] #touch-partner{display:flex}
@media(max-width:540px) and (orientation:portrait){#touch-partner{top:auto;bottom:290px;left:20px;right:20px;max-width:none;justify-content:center}.home-dossier{background:none;padding-right:0}.hero-0{left:2%;width:88%}.hero-1{left:-34%;width:90%}.hero-2{right:-42%;width:85%}}
@media(max-height:570px) and (orientation:landscape){#touch-partner{top:96px;right:17px;max-width:210px;gap:5px}#touch-partner button{min-width:29px;min-height:29px;font-size:8px;padding:5px}.home-dossier{background:linear-gradient(90deg,#101b14a6,transparent)}.hero-0{left:15%;width:65%}.hero-1{left:-16%;width:65%}.hero-2{right:-20%;width:65%}}
.art-icon{display:block;flex-shrink:0}.top-actions .art-icon{margin:auto}.home-utilities{display:flex;gap:8px;margin-top:12px;padding-top:10px;border-top:1px solid #b5a36a44}.menu-list .home-utilities button{border:1px solid #b5a36a4d;min-height:40px;padding:7px 9px;display:flex;gap:7px;align-items:center;justify-content:center;font-size:10px;letter-spacing:0;flex:1;white-space:nowrap}.menu-list .home-utilities button:hover{padding:7px 9px;background:#a58d4326}.home-utilities svg{color:#ceb47a}.achievement-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.achievement-card{display:flex;gap:20px;align-items:center;background:linear-gradient(120deg,#17251f,#1e291c99);padding:24px 20px;border:1px solid #8d926642;min-height:155px;position:relative}.achievement-emblem{color:#76856a;position:relative;min-width:60px;height:78px;display:flex;justify-content:center;align-items:start}.achievement-emblem span{position:absolute;bottom:0;font-size:9px;letter-spacing:3px}.achievement-card small{font-size:9px;color:#819176;letter-spacing:2px}.achievement-card h3{font-size:17px;font-weight:450;color:#aab49a;margin:11px 0;line-height:1.7}.achievement-card p{font-size:10px;line-height:1.9;color:#82947b}.achievement-card.unlocked{border-color:#c2a766;background:linear-gradient(110deg,#8c793626,#173020a6)}.unlocked .achievement-emblem,.achievement-card.unlocked h3{color:#e0c58b}.achievement-card.unlocked small{color:#b5c999}.achievement-card.unlocked p{color:#adbca0}.supply-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.supply-card{position:relative;background:linear-gradient(140deg,#243126e6,#0d1a17e8);border:1px solid #b4a26c77;padding:25px 28px}.supply-art{height:220px;position:relative;display:grid;place-items:center;color:#dac18b;isolation:isolate;background:radial-gradient(ellipse,#c0a26017,transparent 65%)}.supply-art .art-icon{filter:drop-shadow(0 0 15px #cca75a77);stroke-width:1.05;transform:rotate(-10deg);z-index:2}.supply-art.soul{color:#9ad9c6}.supply-art.cool{color:#b6c8ed}.supply-orbit{position:absolute;width:135px;height:135px;transform:rotate(45deg);border:1px solid #b4a26c33}.supply-orbit:after{content:'';position:absolute;inset:15px;border:1px dashed #b4a26c33;border-radius:50%}.supply-card>small{font-size:9px;color:#b4ae84;letter-spacing:2px}.supply-card h3{font-size:25px;letter-spacing:3px;font-weight:450;margin:16px 0}.supply-card>p{font-size:12px;line-height:2;color:#a3b39a;min-height:50px}.supply-stock{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:18px 0;margin-top:15px;font-size:11px;color:#acba9c}.supply-stock b{color:#e3c993;font-weight:450}.supply-card>.primary{width:100%}.training-preview{display:flex;gap:30px;align-items:center;margin:24px 0;border:1px solid var(--line);padding:22px;background:#0d1a17b3}.training-preview>span{padding:12px;color:#c9b276}.training-preview h3{font-size:22px;font-weight:450;margin-bottom:12px;color:#e1c99b}.training-preview p{font-size:12px;line-height:2;color:#a8baa2}#hud-weapon{display:block;font-size:8px;color:#acbba1;line-height:1.7;margin-top:5px}#mission-state{font-size:8px!important;color:#b6ba90!important;margin-top:4px}#skill-control{position:relative;border:1px solid #b9a56d88;background:linear-gradient(90deg,#b7a4631a,#1a281d);padding:8px 13px;min-width:150px;isolation:isolate}#skill-control:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#b9a56744,#b9a5670a);width:var(--ready,100%);transition:width .15s}#skill-timer{color:#e1cf9f;min-width:25px;font-size:9px;text-align:right}.supply-hotbar{display:flex;gap:7px;align-items:center;margin-left:auto}.supply-hotbar button{position:relative;display:flex;align-items:center;justify-content:center;width:39px;height:39px;border:1px solid #b6a57366;background:#13241ac9;color:#cbd5b5;font-size:17px}.supply-hotbar kbd{position:absolute;left:-3px;top:-9px;font-size:7px;padding:2px 4px;line-height:1.2}.supply-hotbar b{position:absolute;right:3px;bottom:1px;font-size:8px;color:#d3bf88;font-weight:400}#coop-hud .resonance{margin-top:6px}.combat-bottom{gap:13px}.key-row{gap:9px}.key-row button{font-size:9px}.resource-row{gap:12px;font-size:10px}.resource-row .morality{font-size:9px}
@media(max-width:1100px){.achievement-grid{grid-template-columns:1fr 1fr}.achievement-card{padding:20px 16px;gap:15px}.supply-card{padding:22px 20px}.supply-art{height:190px}.supply-card h3{font-size:22px}.menu-list .home-utilities button{padding:6px;font-size:9px;gap:4px}.home-utilities svg{width:17px}.key-row button span{display:none}#skill-control{min-width:100px}.key-row #skill-control span{display:block;font-size:9px}.supply-hotbar{margin-left:auto}}
@media(max-width:800px){.home-utilities{gap:5px;margin-top:10px}.menu-list .home-utilities button{font-size:8px;gap:4px;padding:6px 5px;min-height:36px}.home-utilities svg{width:15px;height:15px}.supply-card{padding:20px 16px}.supply-art{height:160px}.supply-art .art-icon{width:75px;height:75px}.supply-card h3{font-size:19px;letter-spacing:1px}.supply-card>p{font-size:11px}.supply-orbit{width:115px;height:115px}.supply-card>.primary{font-size:11px;padding:12px}.achievement-card h3{font-size:16px}.touch-mode .supply-hotbar{position:absolute;bottom:35px;left:50%;transform:translateX(-50%)}.touch-mode .supply-hotbar button{width:34px;height:34px}.touch-mode #hud-weapon{font-size:7px}}
@media(max-width:540px) and (orientation:portrait){.home:has(.home-utilities){min-height:940px}.home:has(.partner-picker){min-height:1020px}.menu-list .home-utilities button{font-size:9px;min-height:40px;padding:7px;flex-wrap:wrap;line-height:1.4}.home-utilities svg{width:17px}.home-utilities{margin-top:12px}.supply-grid,.achievement-grid{grid-template-columns:1fr}.supply-card{display:grid;grid-template-columns:100px 1fr;gap:5px 20px;padding:22px}.supply-art{grid-row:span 5;height:190px}.supply-art .art-icon{width:70px;height:70px}.supply-orbit{width:95px;height:95px}.supply-card h3{font-size:23px;margin:6px 0}.supply-card>small{font-size:8px}.supply-card>p{min-height:0;font-size:11px}.supply-stock{padding:10px 0;margin-top:7px;font-size:10px}.supply-card>.primary{font-size:11px;padding:11px}.achievement-card{min-height:140px;padding:22px}.achievement-card h3{font-size:19px}.achievement-card p{font-size:11px}.achievement-emblem{width:60px}.training-preview{gap:12px;padding:15px}.training-preview>span{padding:3px}.training-preview svg{width:40px;height:40px}.training-preview h3{font-size:18px}.training-preview p{font-size:10px}.setting select{max-width:58%}#hud-weapon{display:none}.objective #mission-state{font-size:8px!important}.touch-mode .supply-hotbar,.supply-hotbar{bottom:35px;position:absolute;left:50%;transform:translateX(-50%);gap:6px}.supply-hotbar button{width:32px;height:32px}.battle .supply-hotbar{z-index:3}.objective{top:calc(150px + 56.25vw - 49px + 10px)}.objective b{font-size:12px}.objective>small{font-size:8px}.objective #minimap{margin:6px 0}#coop-hud .resonance{height:10px}#coop-hud .resonance span{font-size:7px;line-height:8px}.resource-row{gap:8px;font-size:9px}}
@media(max-height:570px) and (orientation:landscape){.home{min-height:455px}.home-utilities{gap:4px;margin-top:7px;padding-top:7px}.menu-list .home-utilities button{font-size:8px;min-height:31px;padding:5px}.home-utilities svg{width:14px;height:14px}.supply-art{height:150px}.supply-card h3{font-size:21px}.supply-card>p{font-size:10px}.achievement-card{min-height:130px;padding:17px}.achievement-card h3{font-size:16px}.touch-mode .supply-hotbar{position:absolute;bottom:32px;left:0;transform:none;gap:5px}.touch-mode .supply-hotbar button{width:28px;height:28px}#hud-weapon{font-size:7px}.objective{width:270px}#mission-state{font-size:7px!important}.objective b{font-size:10px}.objective #minimap{margin:5px auto}.training-preview{padding:15px;margin:16px 0}.training-preview p{font-size:10px}.training-preview h3{font-size:19px}.training-preview>span{padding:5px}.training-preview .art-icon{width:45px;height:45px}}
.battle #world{top:49px;bottom:0;height:calc(100% - 49px);object-fit:contain;object-position:center;background:#080e0d}.primary:active,.secondary:active,.back:active{transform:translateY(1px);filter:brightness(.88)}.menu-list button:active{background:#baa16633}.hud-name b{font-size:15px}.bar span{font-size:11px}.objective b{font-size:14px}.objective>small{font-size:10px}.key-row button{font-size:10px}#hud-weapon{font-size:9px}#hint{font-size:12px}
@media(max-width:800px){.hud-name b{font-size:12px}.bar span{font-size:9px}.objective b{font-size:11px}.objective>small{font-size:8px}.key-row button{font-size:9px}#hud-weapon{font-size:7px}#hint{font-size:10px}}
@media(max-width:540px) and (orientation:portrait){.battle #world{top:150px;bottom:auto;height:auto;aspect-ratio:16/9}.hud-name b{font-size:11px}.bar span{font-size:9px}.objective b{font-size:12px}.objective>small{font-size:8px}#hint{font-size:9px}}
@media(max-height:570px) and (orientation:landscape){.objective b{font-size:11px}.objective>small{font-size:8px}.bar span{font-size:9px}#hint{font-size:8px}.resonance span{font-size:7px}}
@media(max-width:540px) and (orientation:portrait){:root[lang=zh-Hans] .home{min-height:780px;padding-bottom:245px}:root[lang=zh-Hans] .home:has(.partner-picker){min-height:865px}:root[lang=zh-Hans] .home:has(.home-dossier>.primary){min-height:840px}.home-art{height:490px}}
@media(max-height:450px) and (orientation:landscape){.home{height:100%;min-height:0;padding-top:12px;padding-bottom:31px}.home-copy{align-self:center}.home-copy .eyebrow{font-size:7px;line-height:1.2;margin-bottom:6px}.home h1{font-size:27px;line-height:1.25}.home h1 small{font-size:11px;line-height:1.4;letter-spacing:5px;margin:4px 0 8px}.home-desc{font-size:8px;line-height:1.55;margin-bottom:8px}.menu-list button{min-height:27px;padding:5px;font-size:10px;line-height:1.4}.menu-list .journey-button{min-height:34px;font-size:13px}.home-utilities{margin-top:5px;padding-top:5px}.menu-list .home-utilities button{min-height:25px;padding:4px;font-size:7px;gap:4px}.home-utilities svg{height:13px;width:13px}.home-art{min-height:0;height:100%;margin-top:-8px}.home-dossier{padding-top:8px;padding-bottom:8px}.home-dossier h2{font-size:18px;margin:5px 0 11px}.mode-switch button{min-height:43px;padding:7px}.home-footer{min-height:27px}.partner-picker small{display:none}.home-dossier .partner-picker{margin:8px 0}.partner-picker button{font-size:8px;padding:4px}:root:not([lang=zh-Hans]) .home h1{font-size:23px;line-height:1.2}:root:not([lang=zh-Hans]) .home h1 small{font-size:10px;line-height:1.4}:root:not([lang=zh-Hans]) .home-desc,:root:not([lang=zh-Hans]) .home-copy>.eyebrow{display:none}:root[lang=my] .home h1{font-size:20px;line-height:1.6}:root[lang=my] .home h1 small{font-size:10px}.home:has(.home-dossier>.primary){padding-bottom:31px}}
@media(max-height:450px) and (orientation:landscape){.menu-list button i{font-size:12px;line-height:1}}
@media(max-width:540px) and (orientation:portrait){:root[lang=zh-Hans] .home-dossier{bottom:60px}.menu-list .home-utilities button{min-height:35px;padding:5px;font-size:8px;gap:3px;flex-wrap:nowrap}.home-utilities svg{height:14px;width:14px}}
