@import"https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800;900&family=Oxanium:wght@500;600;700;800&display=swap";:root{color-scheme:dark;--ink:#e8edee;--muted:#8790a4;--gold:#f6d666;--green:#bbef68;--blue:#567fdf;--line:#293953;--panel:#0d1422;--pixel:"Oxanium","Noto Sans KR",sans-serif;font-family:Noto Sans KR,Malgun Gothic,sans-serif;font-size:14px;background:#040609;color:var(--ink)}*{box-sizing:border-box}body{margin:0;min-width:360px;background:radial-gradient(ellipse at 50% 15%,#16213a 0,transparent 70%),#040609}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:1px solid #53627e;background:#192338;box-shadow:inset 0 2px #ffffff0a,0 3px #03050a;padding:9px 15px;transition:background .12s,border-color .12s,transform .12s}button:hover:not(:disabled){background:#293c5b;border-color:#97baf8}button:active:not(:disabled){transform:translateY(2px);box-shadow:none}button:disabled{cursor:default;color:#8895ab;border-color:#2b3547;background:#101625;box-shadow:none}button:focus-visible,a:focus-visible{outline:3px solid #fff;outline-offset:4px}a{color:inherit}h1,h2,h3,p{margin:0}button.primary-button{background:#bde96b;border:2px solid #e2ffa4;color:#17250c;font-weight:900;letter-spacing:.02em;box-shadow:inset 0 -4px #7fa137,0 4px #020802;padding:13px 36px;font-size:18px}button.primary-button:hover{background:#d7ff8a;border-color:#fff}button.primary-button:disabled{background:#283529;border-color:#40513b;color:#9db791;box-shadow:none}.secondary-button{background:#1c2a45;border-color:#687a9a;padding:12px 20px}.primary-button.compact{padding:8px 22px;font-size:14px}.hidden{display:none!important}.game-cabinet{max-width:1480px;width:calc(100% - 48px);height:calc(100dvh - 40px);min-height:640px;max-height:1000px;margin:20px auto;display:flex;flex-direction:column;border:2px solid #466eaf;background:#070a11;box-shadow:0 0 0 5px #101829,0 0 0 6px #283a58,0 18px 80px #000a;position:relative}.game-cabinet:after{content:"";pointer-events:none;position:absolute;inset:5px;border:1px solid #44619020;z-index:8}.game-header{height:66px;flex-shrink:0;display:flex;align-items:center;gap:28px;padding:0 23px;background:#0a0f1b;border-bottom:2px solid #293f64;z-index:2}.brand{font:800 25px var(--pixel);letter-spacing:-1px;text-decoration:none;white-space:nowrap}.brand b{color:var(--green)}.brand-mark{display:inline-block;color:var(--blue);font-size:22px;transform:rotate(-45deg);margin-right:5px}.wallet{margin-left:auto;display:flex;align-items:center;gap:26px}.currency{display:flex;align-items:center;position:relative;gap:8px;font-family:var(--pixel);min-width:70px}.currency b{font-size:22px;font-weight:700}.currency small{font:11px Noto Sans KR;color:var(--muted)}.currency .symbol{color:var(--gold);font-size:23px;font-weight:800}.currency.gems .symbol{color:#cf8cf2}.currency.points .symbol{color:var(--green)}.currency.level{padding:5px 0 9px;gap:8px;min-width:106px}.currency.level b{font-size:19px}.currency.level i{position:absolute;bottom:0;left:0;height:3px;background:var(--green);max-width:100%}.currency.level:before{content:"";position:absolute;bottom:0;width:100%;height:3px;background:#28313f}.utility{display:flex;gap:7px}.utility button{width:33px;height:33px;padding:0;font-size:18px}.game-screen{flex:1;min-height:0;position:relative;overflow:hidden}.page{display:none;height:100%;min-height:0}.page.active{display:flex;flex-direction:column}.battle-window{display:flex;flex-direction:column;height:100%;min-height:0}.scene-wrap{flex:1;min-height:250px;position:relative;background:#06080e;overflow:hidden}#battle-canvas{width:100%;height:100%;display:block;position:absolute;inset:0;touch-action:manipulation}.scene-wrap:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 80px #0008;background:repeating-linear-gradient(transparent 0,transparent 3px,#0000000b 3px,#0000000b 4px);z-index:1}.stage-heading{position:absolute;top:18px;left:50%;transform:translate(-50%);text-align:center;white-space:nowrap;z-index:2;text-shadow:0 2px 4px #000}.stage-heading>span{font-size:11px;color:#bbcbed;letter-spacing:5px}.stage-heading h1{font-size:22px;letter-spacing:2px;font-weight:800;margin:3px 0}.state-badge{font:11px var(--pixel);color:#b2c098}.battle-controls{position:absolute;top:18px;right:20px;display:flex;gap:6px;z-index:3}.battle-controls button{font-family:var(--pixel);font-size:13px;min-width:32px;padding:6px 9px;background:#0b1224cc}.field-hud{position:absolute;top:22px;left:24px;width:177px;z-index:2;text-shadow:1px 2px #000}.action-budget{display:flex;align-items:center;gap:16px;font-weight:700}.action-budget span{font-size:12px;color:#aebccc}.action-budget strong{font:800 34px var(--pixel);color:#e1eeff;line-height:1}.hunt-progress{margin-top:12px;font-size:11px}.hunt-progress>div:first-child{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.hunt-progress span{color:#bdc9dc}.hunt-progress b{color:var(--gold);font-family:var(--pixel);font-size:14px}.hunt-progress small{color:#b0b9c8}.progress-track{height:6px;border:1px solid #8591a6;background:#050912;padding:1px}.progress-track i{display:block;background:#e8c65e;height:2px;max-width:100%}.run-loot{display:flex;gap:14px;margin-top:10px;font:13px var(--pixel)}.run-loot span:first-child{color:var(--gold)}.run-loot span:nth-child(2){color:#d896ed}.run-loot span:nth-child(3){color:#b4d690}.timeline{position:absolute;top:94px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:4px;z-index:2;height:38px}.timeline-label{font-size:9px;color:#a4b4ce;margin-right:5px;line-height:1.5;white-space:nowrap}.turn-token{width:31px;height:32px;border:1px solid #6384a7;background:#102136;position:relative;color:#f69986;text-align:center;font-size:21px}.turn-token img{width:100%;height:100%;object-fit:cover}.turn-token:first-of-type{border-color:var(--gold);box-shadow:0 0 0 1px var(--gold)}.turn-token.enemy{border-color:#7e525c;background:#27161b}.turn-token small{position:absolute;bottom:-7px;right:-2px;font:8px var(--pixel);color:#c5d5e6;background:#070d16;padding:0 2px}.turn-arrow{font-size:13px;color:#71849e}.timeline-empty{font-size:10px;color:#8a9cb6;white-space:nowrap}.scene-caption{position:absolute;top:35%;left:50%;transform:translate(-50%);text-align:center;z-index:2;pointer-events:none;text-shadow:0 3px 10px #000}.stage-seal{font:800 65px var(--pixel);line-height:1;color:#718fc688;letter-spacing:-5px;margin-bottom:5px}.scene-caption p{font-size:12px;color:#a3bad5;margin:9px 0}.scene-caption strong{font-size:19px;font-weight:700;color:#e2efff;letter-spacing:1px}.field-bottom{position:absolute;bottom:35px;left:24px;right:24px;display:flex;justify-content:center;align-items:center;z-index:3;min-height:50px}.field-bottom #focus-label{position:absolute;left:0;bottom:0;color:#abb9cd;font-size:11px;text-shadow:1px 2px #000;pointer-events:none}.field-bottom .retreat-button{margin-left:auto;padding:6px 13px;background:#0b1427c9;font-size:12px}.combat-log{position:absolute;bottom:11px;left:24px;color:#9bb7d9;font-size:11px;z-index:2;text-shadow:1px 2px #000;max-width:75%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.combat-log div:not(:first-child){display:none}.battle-banner{position:absolute;top:42%;left:0;right:0;text-align:center;z-index:5;padding:16px;font-size:26px;font-weight:900;color:#f8e292;background:linear-gradient(90deg,transparent,#071224ee 25%,#071224ee 75%,transparent);border-block:1px solid #ddb54c77;opacity:0;pointer-events:none;transform:translateY(7px);transition:opacity .15s,transform .15s;text-shadow:0 2px #000}.battle-banner.visible{opacity:1;transform:none}.boss-hud{position:absolute;top:147px;left:50%;transform:translate(-50%);width:340px;z-index:2;background:#070e1de0;padding:10px 13px;border:1px solid #854952}.boss-hud>div:first-child{display:flex;justify-content:space-between;font-size:11px;gap:10px}.boss-hud b{color:#f4a6a4}.boss-hud span{font:12px var(--pixel)}.boss-bar{height:6px;background:#3e2330;margin:7px 0}.boss-bar i{display:block;height:100%;background:#e26b7b}.boss-hud small{font-size:10px;color:#f0b2b8}.squad-bar{height:27px;display:flex;justify-content:space-between;align-items:center;padding:0 20px;border-top:2px solid #365384;background:#0b1220;color:#91a6c5;font-size:10px;flex-shrink:0}.squad-bar b{font:11px var(--pixel);color:#afc8e9;margin-left:8px}#sp-display b{color:var(--green);letter-spacing:2px}kbd{font:10px var(--pixel);border:1px solid #54627a;padding:0 3px;margin-left:3px;color:#c6d0e0}.squad{display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:#0a1020;flex-shrink:0;height:132px;border-top:1px solid #233959}.hero-card{position:relative;padding:12px 14px 10px 86px;border-right:1px solid #293959;min-width:0;background:linear-gradient(110deg,#17244150,transparent 70%)}.hero-card:last-child{border-right:0}.hero-head>img{position:absolute;width:65px;height:70px;left:12px;top:13px;object-fit:cover;object-position:50% 30%;border:2px solid var(--hero-color);background:#19263e;box-shadow:0 4px #0006}.hero-head b{font-size:13px}.hero-head small{display:block;font-size:10px;color:#9aabc5;margin-top:2px}.hero-health{margin-top:8px}.hero-health>div:first-child{display:flex;justify-content:space-between;font:10px var(--pixel);color:#c2cfdd}.hp-track{height:5px;background:#24342b;margin-top:3px}.hp-track i{display:block;height:100%;background:#87d49b}.energy-track{height:3px;background:#3c3623;margin-top:3px}.energy-track i{display:block;height:100%;background:var(--gold)}.ultimate-button{width:calc(100% + 73px);margin-left:-73px;margin-top:8px;display:flex;justify-content:space-between;align-items:center;min-height:28px;padding:4px 8px;font-size:11px;box-shadow:none}.ultimate-button small{font:10px var(--pixel)}.ultimate-button.ready{background:#243b20;border:1px solid var(--green);color:#dbffab;box-shadow:0 0 12px #bcef6833;animation:readyPulse 1.5s infinite}.hero-card.ready:before{content:"";position:absolute;inset:0;border-top:2px solid var(--gold);pointer-events:none}.hero-card.dead .hero-head img{filter:grayscale(1);opacity:.45}.locked-card{border:0;border-right:1px solid #293959;box-shadow:none;position:relative;overflow:hidden;display:flex;align-items:center;text-align:left;gap:8px;padding:14px 18px;background:#090e19}.locked-card img{height:103px;width:72px;object-fit:contain;filter:brightness(.18) sepia(.4) saturate(.2);opacity:.65}.locked-card b{font-size:13px;color:#a6b3c9}.locked-card span{display:block;font-size:9px;color:#8898b4;margin-bottom:6px}.locked-card p{color:#8199ba;font-size:10px;line-height:1.7;margin-top:6px}.locked-card:hover img{filter:brightness(.4);opacity:1}.game-footer{height:61px;display:flex;align-items:center;padding:0 20px;gap:22px;border-top:2px solid #2e466e;background:#0a0e18;flex-shrink:0}.game-footer nav{display:flex;gap:9px}.nav-item{position:relative;min-width:125px;font-size:13px;padding:9px 15px;border:1px solid #405578;background:#142039}.nav-item.active{background:#274373;border-color:#99b7e6;box-shadow:inset 0 -3px #142642,0 3px #02050b;color:#fff}.nav-item[data-page=tree].active{background:#304a27;border-color:var(--green);color:#d9ffa7}.nav-item[data-page=records].active{background:#302343;border-color:#af86d8}#upgrade-dot{width:6px;height:6px;background:var(--green);position:absolute;right:8px;top:7px;box-shadow:0 0 8px var(--green)}.best-record{margin-left:auto;font-size:11px;color:#bdc5d1}#save-indicator{font-size:9px;color:#8b9cb6;white-space:nowrap}.screen-title{padding:19px 26px 15px;display:flex;align-items:center;gap:20px;flex-shrink:0;border-bottom:1px solid #202d40}.screen-title>div:first-child{display:flex;gap:14px;align-items:baseline}.screen-title span{font-size:10px;letter-spacing:3px;color:#8a9ab5}.screen-title h1{font-size:22px}.screen-title .primary-button{margin-left:auto}#tree-count{font:13px var(--pixel);color:#93a1b6}#tree-count b{color:var(--green);font-size:20px}#tree-page,#records-page{background-color:#080b10;background-image:radial-gradient(#6b874d70 .8px,transparent 1px),radial-gradient(#40557a60 .8px,transparent 1px);background-size:123px 103px,187px 157px;background-position:15px 32px,59px 87px}.tree-layout{display:grid;grid-template-columns:minmax(0,1fr) 264px;flex:1;min-height:0}.tree-map-scroll{overflow:auto;position:relative}.tree-map{position:relative;width:100%;height:100%;min-height:430px;min-width:680px}.tree-links{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.tree-links path{vector-effect:non-scaling-stroke}.map-node{position:absolute;transform:translate(-50%,-50%);padding:0;width:50px;height:50px;background:#0d1421;border:2px solid #58647a;color:#94a2b7;box-shadow:0 4px #03050a;display:flex;align-items:center;justify-content:center;overflow:visible}.map-node:hover:not(:disabled){transform:translate(-50%,-50%);background:#203329}.map-node.selected{outline:2px solid #fff;outline-offset:4px;z-index:3}.map-node.affordable{border-color:var(--green);color:var(--green);box-shadow:0 0 14px #acd95a18,0 4px #03050a}.map-node.learned{border-color:var(--gold);color:var(--gold)}.map-node.maxed{background:#33301a}.map-node.locked{border-color:#653d46;color:#a8828c;background:#151017}.map-node svg{width:27px;height:27px}.map-node img{height:100%;width:100%;object-fit:cover;filter:saturate(.65)}.map-node.locked img{filter:grayscale(1) brightness(.5)}.map-node .node-name{position:absolute;top:calc(100% + 7px);white-space:nowrap;font-size:10px;font-weight:600;pointer-events:none;color:#a8b4c6;text-shadow:0 2px #000}.map-node.affordable .node-name,.map-node.learned .node-name{color:#d8e2d1}.map-node .node-rank{position:absolute;bottom:-5px;right:-9px;min-width:24px;text-align:center;font:11px var(--pixel);padding:2px 3px;border:1px solid currentColor;background:#0a1019;color:inherit}.tree-origin{position:absolute;left:49%;top:51%;transform:translate(-50%,-50%);text-align:center;color:#74849e;font:800 16px var(--pixel);letter-spacing:-.5px}.tree-origin b{display:block;color:#b0c1d5;font-size:21px}.branch-label{position:absolute;font-size:11px;font-weight:800;letter-spacing:5px;opacity:.7;pointer-events:none}.branch-label.fire{right:13%;top:42%;color:#e5a478}.branch-label.life{left:48%;top:5%;color:#84c4a3}.branch-label.team{left:17%;top:42%;color:#b7a4ea}.branch-label.loot{left:50%;bottom:4%;color:var(--gold)}.map-legend{position:absolute;bottom:15px;left:20px;font-size:9px;display:flex;gap:13px;color:#8995a7}.map-legend i{display:inline-block;width:7px;height:7px;border:1px solid;margin-right:5px}.map-legend span:nth-child(1){color:var(--green)}.map-legend span:nth-child(2){color:var(--gold)}.node-detail{border-left:1px solid #34405a;background:#0d1421eb;padding:24px 20px;display:flex;flex-direction:column;overflow-y:auto}.detail-branch{font-size:10px;letter-spacing:3px;color:#92a2bc}.detail-icon{height:66px;width:66px;border:2px solid var(--green);color:var(--green);display:flex;align-items:center;justify-content:center;margin:25px 0 16px;box-shadow:0 5px #02050b;background:#14221a}.detail-icon svg{width:40px;height:40px}.detail-icon img{width:100%;height:100%;object-fit:cover}.node-detail h2{font-size:23px;letter-spacing:-1px}.rank-pips{display:flex;gap:4px;margin-top:12px;align-items:center}.rank-pips i{width:16px;height:5px;background:#2c3b51}.rank-pips i.on{background:var(--gold)}.rank-pips small{margin-left:7px;font:12px var(--pixel);color:#aebbd0}.detail-desc{margin-top:22px;font-size:13px;line-height:1.9;word-break:keep-all;min-height:70px;color:#d1d9e5}.detail-req{font-size:11px;color:#a5b6d0;line-height:1.8;margin:13px 0}.detail-req.locked{color:#e19b9c}.detail-price{margin-top:auto;padding-top:22px;border-top:1px solid #2b3b54}.detail-price>small{font-size:10px;color:#9aaecb}.node-cost{display:flex;gap:16px;margin-top:12px;font:700 19px var(--pixel);color:var(--gold)}.node-cost span:nth-child(2){color:#c890e2}.node-cost .lacking{color:#df8a8e}.node-detail .node-button{margin-top:18px;width:100%;padding:11px 8px;font-size:14px}.node-detail .detail-note{font-size:10px;line-height:1.8;color:#94a6c1;margin-top:15px}.tree-bottom{padding:10px 22px;border-top:1px solid #263650;display:flex;gap:15px;justify-content:space-between;background:#090f1b}.tree-summary{display:flex;gap:22px;font-size:10px}.tree-summary span{color:#92a4bf;margin-right:6px}.tree-summary b{color:#d4e6ab;font:600 12px var(--pixel)}.tree-bottom>span{font-size:10px;color:#90a2bb}.records-content{padding:25px;overflow-y:auto}.record-summary{display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:24px;border:1px solid #31415d;background:#0c1321}.record-stat{padding:16px 23px;border-right:1px solid #293953;display:flex;justify-content:space-between;align-items:center}.record-stat span{font-size:12px;color:#94a5bf}.record-stat b{font:700 25px var(--pixel);color:var(--gold)}.perk-box{padding:20px;background:#161025;border:1px solid #655082;margin-bottom:25px}.perk-box h2{font-size:18px;color:#d1b3e8}.perk-box p{color:#a99ab9;font-size:11px;margin:7px 0 15px}.perk-options{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.perk-options button{text-align:left;border-color:#8061a5;background:#251a36;padding:16px}.perk-options button strong{display:block;font-size:13px;color:#d2b2ee}.perk-options button span{display:block;font-size:11px;line-height:1.7;margin-top:9px}.history-item{display:flex;gap:30px;align-items:center;border-bottom:1px solid #243149;padding:14px 20px;background:#0b121ddd}.history-item>strong{font:20px var(--pixel);color:#8293ae}.history-item div{flex:1}.history-item span{display:block;font-size:10px;color:#94a6c1;margin-bottom:3px}.history-item b{font-size:12px;font-weight:500}.history-item .win{color:var(--green)}.empty-records{text-align:center;padding:70px 10px;color:#b2c0d4}.empty-records>span{display:block;font-size:40px;color:#597ba9;margin-bottom:15px}.empty-records p{font-size:12px;color:#96abc9;margin-top:10px}.locked-feature{font-size:13px;color:#97a9c0;border-top:1px solid #24334a;padding:20px;margin-top:25px}.locked-feature span{font-size:10px;margin-left:20px;color:#99abc5}dialog{color:var(--ink);background:#0e1726;border:2px solid #7292bd;box-shadow:0 0 0 5px #080e18,0 20px 80px #000b;width:min(600px,calc(100% - 40px));padding:35px;max-height:88dvh}dialog::backdrop{background:#02050dc9;backdrop-filter:blur(4px)}.dialog-close{position:absolute;right:10px;top:9px;padding:0;width:28px;height:28px;font-size:21px}.dialog-overline{font:11px var(--pixel);letter-spacing:2px;color:var(--gold);margin-bottom:16px}.dialog-title{font-size:27px;letter-spacing:-1px}.dialog-description{font-size:13px;line-height:1.9;color:#a5b6cd;margin:15px 0 25px;word-break:keep-all}.dialog-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}.dialog-actions .primary-button{font-size:14px;padding:11px 21px}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid #354561;padding:17px 0}.result-stats div{text-align:center}.result-stats b{display:block;font:700 31px var(--pixel);color:var(--gold)}.result-stats span{font-size:10px;color:#92a6c2}.result-loot{padding:17px 0;display:flex;gap:20px;font-size:12px;color:#dece92}.result-notes{background:#080f1b;padding:17px;border-left:2px solid #5e9255;font-size:12px;line-height:1.8;color:#a9bbcc}.result-notes strong{color:var(--green)}.guide-list{padding-left:20px;margin:15px 0;font-size:12px;line-height:1.9;color:#a8bcd7}.guide-list li{margin-bottom:14px;padding-left:4px}.guide-list b{color:#dfe8f3;display:block}.shortcut-row{font-size:10px;color:#a6b8d2;padding:13px;background:#0a101c;line-height:1.8}.settings-buttons{display:grid;gap:12px}.settings-buttons button{text-align:left}.settings-buttons .danger{color:#eb9999;border-color:#794451}.settings-note{font-size:11px;line-height:1.8;color:#91a7c6;margin-top:20px}#toast{position:fixed;bottom:90px;left:50%;transform:translate(-50%,10px);opacity:0;pointer-events:none;background:#172b22;border:1px solid #91c169;color:#e1f7cc;padding:12px 23px;z-index:50;box-shadow:0 6px 25px #0007;font-size:12px;transition:opacity .2s,transform .2s;max-width:90%;text-align:center}#toast.show{opacity:1;transform:translate(-50%)}@keyframes readyPulse{50%{box-shadow:0 0 17px #c4ff683f;border-color:#fff2a1}}@media(min-width:1700px){.game-cabinet{margin-top:35px;height:calc(100dvh - 70px)}}@media(max-width:1100px){.game-cabinet{width:calc(100% - 24px);margin:12px auto;height:calc(100dvh - 24px);min-height:650px}.game-header{gap:17px;padding:0 15px;height:59px}.brand{font-size:21px}.wallet{gap:17px}.currency:not(.level) small{display:none}.currency b{font-size:20px}.currency{min-width:49px}.hero-card{padding-left:68px;padding-right:10px}.hero-head>img{left:9px;width:51px;height:69px}.ultimate-button{width:calc(100% + 59px);margin-left:-59px}.game-footer{padding:0 13px;gap:12px}.best-record{font-size:10px}.tree-layout{grid-template-columns:minmax(0,1fr) 230px}.node-detail{padding:20px 15px}.tree-map{min-width:620px}.tree-summary{gap:12px}.tree-bottom>span{display:none}.squad{height:130px}.locked-card{padding:12px 10px}.locked-card img{width:52px}.timeline{top:95px}.timeline-label{display:none}}@media(max-width:760px){.game-cabinet{width:100%;margin:0;border:0;box-shadow:none;height:100dvh;min-height:700px;max-height:none}.game-cabinet:after{display:none}.game-header{height:55px;gap:10px;padding:0 11px}.brand{font-size:16px}.brand-mark{display:none}.wallet{gap:12px}.currency{gap:4px;min-width:30px}.currency b{font-size:16px}.currency .symbol{font-size:17px}.currency.level{min-width:40px;padding:4px 0 8px}.currency.level small:last-of-type{display:none}.currency.level b{font-size:16px}.currency.level small{font-size:8px}.utility{gap:5px}.utility button{width:30px;height:34px;font-size:15px}.utility #help-button{display:none}.scene-wrap{min-height:330px}.stage-heading{top:19px;left:50%;max-width:170px}.stage-heading h1{font-size:17px;letter-spacing:0}.stage-heading>span{font-size:9px;letter-spacing:3px}.state-badge{font-size:9px}.battle-controls{right:10px;top:10px;gap:4px}.battle-controls button{font-size:11px;min-width:25px;padding:4px 5px}.battle-controls #pause-button{position:absolute;right:0;top:32px;white-space:nowrap}.field-hud{top:17px;left:12px;width:95px}.action-budget{gap:8px;align-items:center}.action-budget span{font-size:9px}.action-budget strong{font-size:25px}.hunt-progress{font-size:8px;margin-top:12px}.hunt-progress b{font-size:11px}.hunt-progress>div:first-child{gap:5px}.run-loot{font-size:10px;gap:6px;flex-wrap:wrap}.timeline{top:101px;gap:3px;width:auto}.turn-token{width:25px;height:27px;font-size:17px}.turn-token small{font-size:7px}.turn-arrow{font-size:11px}.boss-hud{top:146px;width:244px;padding:7px 10px}.boss-hud>div:first-child{font-size:9px}.boss-hud span{font-size:10px}.boss-hud small{font-size:8px}.scene-caption{top:40%;width:200px}.scene-caption p{font-size:10px}.scene-caption strong{font-size:16px}.stage-seal{font-size:45px}.field-bottom{left:12px;right:12px;bottom:32px}.field-bottom .primary-button{padding:11px 27px;font-size:16px}.field-bottom #focus-label{font-size:9px;max-width:75%;bottom:-13px}.field-bottom .retreat-button{font-size:10px;padding:5px 9px}.combat-log{left:12px;font-size:8px;bottom:6px}.squad-bar{padding:0 10px;font-size:9px;height:26px}.ult-hint{display:none}.squad{height:165px}.hero-card{padding:8px 6px 7px;text-align:center}.hero-head>img{position:static;width:42px;height:44px;float:none;object-position:50% 30%;border-width:1px;box-shadow:none}.hero-head b{display:block;font-size:10px}.hero-head small{display:none}.hero-health{margin-top:6px}.hero-health>div:first-child{font-size:8px}.hero-health>div:first-child>span:first-child{display:none}.hero-health>div:first-child{justify-content:center}.hp-track{height:4px;margin-top:2px}.energy-track{height:3px;margin-top:2px}.ultimate-button{margin-left:0;width:100%;display:block;margin-top:6px;padding:4px 1px;min-height:44px;line-height:1.25;font-size:9px}.ultimate-button small{display:block;font-size:9px;margin-top:3px}.locked-card{display:block;text-align:center;padding:8px 4px}.locked-card img{height:49px;width:45px}.locked-card b{font-size:10px}.locked-card span{font-size:7px;margin:2px 0}.locked-card p{font-size:9px;line-height:1.7;margin-top:9px}.game-footer{height:56px;justify-content:center;padding:0 8px}.game-footer nav{gap:7px;width:100%;justify-content:center}.nav-item{min-width:0;min-height:42px;flex:1;font-size:11px;padding:8px 6px;max-width:160px}.best-record,#save-indicator{display:none}.battle-banner{font-size:19px}.screen-title{padding:13px 15px;gap:10px}.screen-title>div:first-child{display:block}.screen-title span{font-size:8px;letter-spacing:2px}.screen-title h1{font-size:20px}.screen-title .primary-button{font-size:11px;padding:8px 12px}#tree-count{font-size:10px}#tree-count b{font-size:15px}.tree-layout{display:flex;flex-direction:column}.tree-map-scroll{flex:1;min-height:240px;overflow:auto}.tree-map{min-width:620px;min-height:380px;height:100%}.map-node{width:44px;height:44px}.map-node svg{width:23px;height:23px}.map-node .node-name{font-size:8px;top:calc(100% + 5px)}.map-node .node-rank{font-size:9px;bottom:-4px;right:-7px}.tree-origin{font-size:12px}.tree-origin b{font-size:15px}.branch-label{font-size:9px;letter-spacing:4px}.map-legend{font-size:8px;left:12px;bottom:8px}.node-detail{height:207px;flex-shrink:0;border-left:0;border-top:1px solid #475a78;padding:15px;position:relative;display:block;overflow:auto}.detail-branch{font-size:9px}.detail-icon{position:absolute;top:17px;left:15px;width:45px;height:45px;margin:0}.detail-icon svg{width:27px;height:27px}.node-detail h2{font-size:17px;margin:3px 0 0 59px}.detail-branch{padding-left:59px}.rank-pips{margin:7px 0 0 59px}.rank-pips i{width:12px;height:4px}.rank-pips small{font-size:10px}.detail-desc{min-height:0;font-size:11px;margin-top:17px;line-height:1.6;width:59%}.detail-req{font-size:9px;margin:6px 0;max-width:60%}.detail-price{position:absolute;right:15px;top:74px;margin:0;padding:0;border:0;width:32%}.detail-price>small{font-size:8px}.node-cost{font-size:13px;gap:7px;margin-top:7px;flex-wrap:wrap}.node-detail .node-button{position:absolute;right:15px;top:120px;width:32%;font-size:11px;padding:9px 5px;margin:0;min-height:44px}.node-detail .detail-note{font-size:8px;margin:8px 0 0;width:60%}.tree-bottom{padding:8px 12px}.tree-summary{flex-wrap:wrap;gap:5px 12px;font-size:8px}.tree-summary b{font-size:10px}.records-content{padding:15px}.record-summary{grid-template-columns:repeat(2,1fr)}.record-stat{padding:10px 12px}.record-stat span{font-size:10px}.record-stat b{font-size:20px}.perk-options{grid-template-columns:1fr;gap:8px}.perk-box{padding:14px}.history-item{padding:10px;gap:10px;flex-wrap:wrap}.history-item>strong{font-size:14px}.history-item div{min-width:65px}.history-item div:last-child{flex-basis:100%;padding-left:38px}.history-item b{font-size:10px}dialog{padding:29px 22px;width:calc(100% - 28px)}.dialog-title{font-size:22px}.dialog-description{font-size:12px}.dialog-actions{gap:8px}.dialog-actions button{font-size:11px!important;padding:10px 13px!important}.result-loot{gap:13px;font-size:10px;flex-wrap:wrap}.guide-list{font-size:11px}.guide-list li{margin-bottom:10px}.shortcut-row{font-size:9px}#toast{bottom:73px;font-size:11px;width:max-content;padding:10px 14px}}@media(min-width:1101px){.timeline{left:230px;top:24px;transform:none}.timeline-empty{max-width:190px;white-space:normal}.boss-hud{top:82px;padding:7px 11px}.boss-hud small{font-size:9px}.boss-bar{margin:5px 0}.boss-hud>div:first-child{font-size:10px}}.detail-icon{flex-shrink:0}.tree-origin{background:#080b10;padding:5px}.branch-label.loot{left:51%;bottom:23%}.branch-label.fire{right:9%;top:24%}.branch-label.team{left:22%;top:39%}.stage-heading h1{line-height:1.2;margin:5px 0}.stage-heading>span{line-height:14px}.state-badge{line-height:12px}.lock-mark{position:absolute;left:-8px;top:-8px;width:18px;height:18px;display:grid;place-items:center;background:#281a20;border:1px solid #91646f;color:#d09aa6}.lock-mark svg{width:12px;height:12px}.stage-heading{top:13px}.stage-heading .state-badge{margin-top:3px}.encounter-state{position:absolute;right:24px;top:62px;z-index:2;color:#bccfe4;font-size:11px;text-shadow:0 2px #000}.encounter-state.incoming{color:#f6d666}.ultimate-cutin{position:absolute;left:0;top:24px;height:108px;width:430px;max-width:65%;pointer-events:none;z-index:6;display:flex;align-items:center;gap:7px;background:linear-gradient(100deg,#080f23 50%,#080f23e6 80%,transparent);border-block:2px solid var(--hero-color);clip-path:polygon(0 0,100% 0,92% 100%,0 100%);opacity:0;transform:translate(-110%)}.ultimate-cutin.show{animation:ultimateCutin .52s cubic-bezier(.12,.75,.22,1) both}.ultimate-cutin img{height:130px;width:170px;object-fit:cover;object-position:50% 25%;filter:drop-shadow(0 0 18px var(--hero-color))}.ultimate-cutin div{position:relative;z-index:1;padding-right:30px;text-shadow:0 2px 8px #000}.ultimate-cutin small{display:block;color:var(--hero-color);font-size:12px;letter-spacing:3px}.ultimate-cutin strong{display:block;font-size:24px;font-weight:900;white-space:nowrap;margin-top:6px}.ultimate-cutin span{display:inline-block;color:#cbd4e3;border-top:1px solid var(--hero-color);font-size:10px;letter-spacing:6px;margin-top:14px;padding-top:7px}.ultimate-cutin:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(165deg,transparent 0,transparent 28px,#ffffff09 29px,#ffffff09 30px);pointer-events:none}@keyframes ultimateCutin{0%{opacity:0;transform:translate(-70%)}18%,76%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(10%)}}@media(max-width:760px){.ultimate-cutin{max-width:85%;top:155px;height:88px}.ultimate-cutin img{width:115px;height:110px}.ultimate-cutin strong{font-size:19px}.ultimate-cutin small{font-size:10px}.ultimate-cutin div{padding-right:10px}}@media(prefers-reduced-motion:reduce){html:not([data-motion=full]) .ultimate-cutin.show{opacity:1;transform:none}}@media(max-width:760px){.encounter-state{top:136px;right:12px;font-size:9px}.scene-wrap:has(.boss-hud:not(.hidden)) .encounter-state{top:219px}}@media(max-width:760px){.tree-map-scroll:after{content:"↔ 좌우로 밀어 탐색";position:sticky;bottom:6px;left:calc(100% - 126px);display:block;margin-top:-24px;padding:5px 8px;width:120px;background:#080b10e8;border:1px solid #34445b;color:#a9bbd3;font-size:9px;pointer-events:none}}.run-loot [data-resource]{display:inline-block;transform-origin:center;position:relative}.chain-callout{position:absolute;left:24px;bottom:64px;z-index:5;pointer-events:none;opacity:0;transform:translate(-16px);padding:8px 24px 8px 12px;border-left:3px solid #baff79;background:linear-gradient(90deg,#071522e8,transparent);transition:opacity .15s,transform .2s}.chain-callout.show{opacity:1;transform:none}.chain-callout small{display:block;letter-spacing:3px;font-size:9px;color:#baff79}.chain-callout b{display:block;font-size:20px;color:#edfff0;margin-top:3px;text-shadow:0 2px 7px #000}.boss-hud.danger{border-color:#ff8164;box-shadow:0 0 20px #ff705b30}.boss-hud.danger small,.encounter-state.danger{color:#ff987e}.ultimate-button.counter-ready{border-color:#ffb57b!important;box-shadow:inset 0 0 15px #ff90663a,0 0 12px #ffc07255!important}.ultimate-button.counter-ready small{color:#ffe39b}@media(max-width:760px){.chain-callout{left:12px;bottom:82px;padding:7px 18px 7px 9px}.chain-callout b{font-size:16px}.chain-callout small{font-size:8px;letter-spacing:2px}}.run-loot .collected{animation:lootCollect .46s ease-out}@keyframes lootCollect{0%{transform:scale(1.5);filter:brightness(2.5);text-shadow:0 0 14px currentColor}to{transform:scale(1);filter:none;text-shadow:none}}.loop-intro{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:7;pointer-events:none;opacity:0;visibility:hidden;background:radial-gradient(ellipse at center,#081525dd 0,#07132291 48%,transparent 78%)}.loop-intro.show{visibility:visible;animation:loopIntro var(--intro-ms,2.05s) ease both}.loop-copy{position:relative;text-align:center;padding:32px 38px;text-shadow:0 3px 14px #000}.loop-copy small{font:600 12px var(--pixel);color:#b2d9fb;letter-spacing:5px}.loop-copy small span{color:#b8ed62;margin:0 9px}.loop-copy h2{margin:17px 0 12px;font-size:clamp(26px,3.1vw,42px);font-weight:900;letter-spacing:2px;color:#f0f6ff}.loop-copy p{font-size:14px;letter-spacing:1px;color:#c5d0df;margin:0}.loop-rule{font-size:10px;letter-spacing:3px;color:#a3bc96;margin-top:23px}.loop-rule:before,.loop-rule:after{content:"";display:inline-block;vertical-align:middle;width:44px;height:1px;background:linear-gradient(90deg,transparent,#b8ed6277);margin:0 12px}.loop-rule:after{transform:rotate(180deg)}.loop-orbit{position:absolute;width:300px;height:300px;border:1px solid #8ac8ff36;border-radius:50%;box-shadow:0 0 45px #71bdff10,inset 0 0 45px #71bdff10;transform:rotate(-32deg) scaleX(1.55)}.loop-orbit:before{content:"";position:absolute;inset:15px;border:1px dashed #95bcdf30;border-radius:50%}.loop-orbit:after{content:"";position:absolute;inset:-3px;border:3px solid transparent;border-top-color:#b7e36a;border-bottom-color:#74baff70;border-radius:50%;animation:loopOrbit 2.05s ease-out both}@keyframes loopIntro{0%{opacity:0;filter:blur(5px)}16%,76%{opacity:1;filter:blur(0)}to{opacity:0;filter:blur(2px)}}@keyframes loopOrbit{0%{transform:rotate(-120deg)}to{transform:rotate(125deg)}}@media(max-width:760px){.loop-copy{padding:24px 14px;width:100%}.loop-copy h2{font-size:26px;letter-spacing:0}.loop-copy small{font-size:10px;letter-spacing:3px}.loop-copy p{font-size:11px;letter-spacing:0}.loop-rule{font-size:8px;letter-spacing:1px}.loop-rule:before,.loop-rule:after{width:28px;margin:0 8px}.loop-orbit{width:210px;height:210px;transform:rotate(-32deg) scaleX(1.35)}}@media(prefers-reduced-motion:reduce){html:not([data-motion=full]) .loop-intro.show{opacity:1}html:not([data-motion=full]) .loop-orbit:after{animation:none}}.squad{height:188px}.hero-abilities{display:flex;align-items:center;justify-content:space-between;gap:10px;width:calc(100% + 73px);margin:8px 0 0 -73px;padding:4px 9px;min-height:54px;border:1px solid #30405a;background:#0a1220;box-shadow:inset 0 1px #ffffff06;text-align:left;color:var(--hero-color)}.hero-abilities:hover,.hero-abilities:focus-visible{border-color:var(--hero-color);background:#152238;outline-offset:2px}.ability-strip{display:flex;gap:11px;align-items:center}.ability-slot{position:relative;display:flex;align-items:center;gap:4px}.ability-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;border:1px solid #7890b359;background:linear-gradient(145deg,#273752,#101827);box-shadow:inset 0 0 0 2px #060c17;color:var(--hero-color);border-radius:4px}.ability-glyph{width:27px;height:27px;flex-shrink:0;overflow:visible}.ability-glyph .icon-fill{fill:currentColor;fill-opacity:.35}.ability-slot small{color:#9aaec7;font-size:9px;writing-mode:vertical-rl;letter-spacing:1px;white-space:nowrap}.ability-more{display:block;color:#95a7bf;font-size:9px;white-space:nowrap}.ability-more b{color:var(--hero-color);font-size:15px;margin-left:4px}.ability-slot.unavailable .ability-icon{color:#65788f;border-color:#364359;background:#111927;box-shadow:inset 0 0 0 2px #060c17}.ability-lock{position:absolute;right:13px;bottom:-1px;font-size:11px;line-height:11px;background:#161d29;color:#e2ae82;width:11px;height:11px;border-radius:50%;text-align:center;font-style:normal}.ability-slot.casting .ability-icon{color:#fff6d6;border-color:#ffe3a0;background:#625029;box-shadow:inset 0 0 8px #f3bd7355,0 0 12px #edc97777;animation:abilityFlash .8s ease-out infinite}.ability-slot.casting small{color:#ffdf9d}.ultimate-button{min-height:34px;margin-top:6px}.ultimate-name{display:flex;align-items:center;gap:7px}.ultimate-icon{display:inline-flex;color:var(--hero-color)}.ultimate-icon .ability-glyph{width:23px;height:23px}.ultimate-button:disabled .ultimate-icon{opacity:.6}.ultimate-button.ready .ultimate-icon{color:#e2ffb0}.ultimate-button.casting{border-color:#ffdfa0;box-shadow:0 0 12px #edc97766;background:#594a2d;color:#fff1c9;opacity:1}.hero-card.dead .hero-abilities{border-color:#293344}.action-budget strong small{font:12px var(--pixel);color:#afc3d8}.cycle-meter{margin-top:6px;font:10px var(--pixel);color:#9ddedc}.cycle-meter>i{display:block;height:3px;background:#183334;margin-top:4px}.cycle-meter b{display:block;height:100%;background:#8ee2d7;transition:width .25s ease}.turn-token.cycle-token{border-color:#bbaa70;background:#342c18;font-size:17px;display:grid;place-items:center}.turn-token small{font-size:9px;bottom:-9px;min-width:17px}@media(max-width:700px){.action-budget{gap:8px}.action-budget strong small{font-size:9px}.cycle-meter{font-size:8px;margin-top:4px}.hunt-progress{margin-top:7px}.turn-token small{font-size:8px;bottom:-7px}.cycle-meter>i{height:2px}}.ability-profile{display:flex;align-items:center;gap:16px;margin-bottom:20px}dialog:has(.ability-details){width:min(680px,calc(100% - 28px));padding:24px;max-height:92dvh}.ability-details .dialog-actions{margin-top:14px}.ability-profile>img{width:76px;height:82px;object-fit:cover;object-position:50% 30%;border:1px solid var(--hero-color);background:#152238}.ability-profile .dialog-overline{color:var(--hero-color);margin-bottom:7px}.ability-profile .dialog-title{font-size:25px;margin:0 0 7px}.ability-profile p{font-size:11px;color:#a9b8ce;line-height:1.65;margin:0}.ability-list{display:grid;gap:10px}.ability-detail{display:flex;gap:13px;padding:11px 12px;border:1px solid #30425b;background:linear-gradient(115deg,#18253c,#101927)}.ability-detail>.ability-icon{width:45px;height:45px}.ability-detail>.ability-icon .ability-glyph{width:33px;height:33px}.ability-detail>div{min-width:0;flex:1}.ability-detail header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 7px}.ability-detail h3{font-size:14px;color:#e8effb;margin:0}.ability-detail header>span{font-size:10px;color:var(--hero-color);white-space:nowrap}.ability-detail p{font-size:12px;line-height:1.75;color:#becddd;margin:0}.ability-detail small{display:block;color:#8096b3;font-size:11px;line-height:1.6;margin-top:5px}.ability-reason{display:inline-block;padding:3px 7px;margin-top:8px;font-size:10px;font-weight:400;color:#e0b786;background:#332a234d;border:1px solid #74593766}.ability-footnote{font-size:10px;color:#8195b2;line-height:1.8;margin:13px 0 0}@keyframes abilityFlash{0%{transform:translateY(-2px);filter:brightness(1.6)}to{transform:translateY(0);filter:brightness(1)}}@media(min-width:1450px){.ability-more{display:block}.ability-strip{gap:14px}}@media(min-width:761px)and (max-width:1100px){.hero-abilities{width:calc(100% + 59px);margin-left:-59px;padding-left:6px;padding-right:6px}.ability-strip{gap:8px}.ability-icon{width:30px;height:30px}.ability-slot small{font-size:8px}.ability-more{display:none}}@media(max-width:760px){.squad{height:220px}.ability-more{display:none}.hero-abilities{width:100%;margin:6px 0 0;padding:4px 2px;min-height:48px;justify-content:center}.ability-strip{gap:3px;justify-content:center;width:100%}.ability-slot{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}.ability-icon{width:23px;height:23px;border-radius:3px;box-shadow:inset 0 0 0 1px #060c17}.ability-glyph{width:20px;height:20px}.ability-slot small{writing-mode:horizontal-tb;font-size:8px;letter-spacing:0}.ability-lock{right:-1px;bottom:11px;width:9px;height:9px;font-size:9px;line-height:9px}.ultimate-button{min-height:45px;margin-top:5px;padding:3px 1px}.ultimate-name{justify-content:center;gap:3px;font-size:8px;white-space:nowrap}.ultimate-icon .ability-glyph{width:15px;height:15px}.ultimate-button small{font-size:9px}.ability-profile{gap:11px;margin-bottom:15px}dialog:has(.ability-details){padding:25px 16px 18px}.ability-profile>img{width:57px;height:67px}.ability-profile .dialog-title{font-size:22px}.ability-profile p{font-size:10px}.ability-detail{gap:10px;padding:11px 10px}.ability-detail>.ability-icon{width:36px;height:36px}.ability-detail>.ability-icon .ability-glyph{width:28px;height:28px}.ability-detail header{display:block}.ability-detail h3{font-size:13px;margin-bottom:3px}.ability-detail p{font-size:11px}.ability-detail small{font-size:10px}}@media(prefers-reduced-motion:reduce){html:not([data-motion=full]) *,html:not([data-motion=full]) *:before,html:not([data-motion=full]) *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.formation-link{font-size:10px;padding:3px 10px;margin-left:10px;color:var(--green)}.empty-slot{justify-content:center;gap:12px}.slot-symbol{font:36px var(--pixel);color:#829baf}.empty-slot b{display:block}.empty-slot p{font-size:10px}.growth-tabs{display:flex;align-items:center;gap:8px;padding:9px 24px;border-block:1px solid #303e4a;background:#10151a;flex-shrink:0}.growth-tabs button{padding:8px 26px;font-size:12px}.growth-tabs button.active{border-color:#b8ed62;color:#c6ed8c;background:#25331e}.growth-tabs>span{margin-left:auto;font-size:10px;color:#8e9d9e}.character-selector{display:flex;gap:6px;padding:8px 18px;overflow-x:auto;background:#0a1118;flex-shrink:0}.character-selector button{min-width:56px;padding:4px;display:flex;align-items:center;flex-direction:column;gap:4px;font-size:10px}.character-selector img{width:31px;height:33px;object-fit:cover;object-position:50% 30%}.character-selector .selected{border-color:var(--green);color:var(--green);background:#213024}.personal-tree{min-width:620px!important}.personal-origin{position:absolute;left:18%;top:51%;transform:translate(-50%,-50%);width:145px;text-align:center;background:radial-gradient(ellipse,#182331 5%,#10131700 70%);pointer-events:none}.personal-origin img{width:135px;height:185px;object-fit:contain;filter:drop-shadow(0 6px 12px #0009)}.personal-origin b,.personal-origin small{display:block}.personal-origin b{color:var(--hero-color);font-size:18px;margin-top:10px}.personal-origin small{font-size:10px;margin-top:7px;color:#99aabe}.personal-tree .map-node{width:64px;height:64px}.slot-node-icon{font:20px var(--pixel)}#party-page.active{display:flex;flex-direction:column}.party-scroll{overflow:auto;min-height:0;padding:20px 24px 28px}.formation-slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.formation-slot{position:relative;border:1px solid #354154;background:linear-gradient(130deg,#182433,#0d141d)}.formation-slot.selected{border-color:#b8ed62;box-shadow:inset 0 -2px #b8ed62}.formation-slot>button:first-child{width:100%;border:0;background:none;display:flex;align-items:center;gap:12px;min-height:112px;text-align:left;padding:10px 16px}.formation-slot img{width:72px;height:96px;object-fit:contain}.formation-slot .slot-number{font:13px var(--pixel);align-self:flex-start;color:#8296a7}.formation-slot b{font-size:15px;display:block}.formation-slot small{font-size:10px;color:#95adbf;display:block;margin-top:8px}.slot-remove{position:absolute;right:5px;top:5px;border:0;background:none;padding:2px 7px;color:#99a5b2}.formation-slot.locked{opacity:.55}.formation-slot .slot-symbol{margin:auto 7px}.roster-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:22px 0 15px}.roster-heading b{font-size:14px;color:#daebbd}.roster-heading p{font-size:10px;color:#8d9cae;margin-top:7px}.roster-heading button{font-size:11px;white-space:nowrap}.roster-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}.operator-card{border:1px solid #364050;background:#0e161f;min-width:0;position:relative}.operator-card.deployed{border-color:var(--hero-color)}.operator-art{height:151px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 70%,#334651,#15212d 70%)}.operator-art>img{height:100%;width:100%;object-fit:cover;object-position:50% 22%;transition:transform .2s}.operator-card:hover .operator-art>img{transform:scale(1.045)}.operator-art:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#0e161f,transparent 36%)}.operator-role{position:absolute;top:8px;left:8px;background:#081016df;border:1px solid #5b687a;color:var(--hero-color);padding:4px 6px;font-size:9px}.deployed-badge{position:absolute;right:5px;bottom:7px;z-index:1;font-size:9px;background:#14271e;color:#dcf4c3;padding:4px 6px;border:1px solid #8aaf71}.operator-body{padding:9px}.operator-body h2{font-size:13px;display:flex;align-items:center;justify-content:space-between;gap:4px}.operator-body h2 small{font-size:8px;color:#97abbb;font-weight:400}.operator-body p{font-size:8px;color:#9cabbc;margin:8px 0 11px;white-space:nowrap}.operator-body p span{color:#43576b}.operator-body>div{display:flex;gap:3px;flex-wrap:wrap}.operator-body button{padding:6px 4px;font-size:9px;flex:1;white-space:nowrap;min-height:30px}.operator-body button:first-child{color:var(--hero-color);border-color:#526374;flex-basis:100%}.operator-body button:last-child{flex:0 0 28px}.ability-strip{gap:4px}.ability-slot{min-width:0}@media(max-width:1300px){.roster-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.operator-art{height:190px}.operator-body>div{flex-wrap:nowrap}.operator-body button:first-child{flex-basis:auto}.formation-slot b{font-size:12px}.formation-slot>button:first-child{padding:10px;gap:6px}.formation-slot img{width:55px;height:85px}}@media(max-width:760px){.growth-tabs{padding:7px 12px}.growth-tabs button{font-size:11px;padding:7px 18px}.growth-tabs>span{display:none}.character-selector{padding:7px 10px}.character-selector button{min-width:48px}.character-selector img{width:25px;height:27px}.personal-tree{min-height:300px!important}.personal-tree .map-node{width:48px;height:48px}.personal-origin img{height:135px;width:108px}.personal-origin b{font-size:14px}.formation-link{padding:2px 5px;font-size:9px;margin-left:4px}.party-scroll{padding:12px}.formation-slots{gap:7px;grid-template-columns:repeat(2,minmax(0,1fr))}.formation-slot>button:first-child{min-height:92px}.formation-slot img{width:55px;height:70px}.formation-slot .slot-number{font-size:10px}.roster-heading{margin:16px 0 12px;gap:7px}.roster-heading b{font-size:11px}.roster-heading p{font-size:9px;line-height:1.6}.roster-heading button{padding:7px;font-size:9px}.roster-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.operator-art{height:172px}.operator-body h2{font-size:13px}.operator-body p{font-size:9px}.operator-body button{font-size:10px}.slot-symbol{font-size:28px}.empty-slot{padding-top:20px}.empty-slot p{font-size:8px}.personal-tree .map-node .node-name{font-size:9px}.growth-tabs+.character-selector:not(.hidden)~.tree-layout .node-detail{height:190px}}.character-selector{position:relative}.ability-slot small{writing-mode:horizontal-tb;letter-spacing:0}.ability-slot{flex-direction:column;gap:3px}.ability-strip{gap:9px}.ability-more{white-space:nowrap}.formation-slots{position:sticky;top:0;z-index:2;background:#0b1119}.formation-slot{box-shadow:0 3px 10px #0006}@media(max-width:760px){.ability-strip{gap:2px}.hero-abilities .ability-icon{width:19px;height:19px}.hero-abilities .ability-glyph{width:16px;height:16px}.formation-slots{position:static}}.hp-track{position:relative}.hp-track i{position:absolute;left:0;top:0;transition:none}.hp-track .hp-trail{background:#e5c17b}.upgrade-flash{animation:upgrade-flash .85s ease-out}.growth-confirmed{border-color:#c8e69b;background:#9ac66419}@keyframes upgrade-flash{0%{box-shadow:0 0 0 4px #cbefa0,0 0 38px #c3e997;transform:translate(-50%,-50%) scale(1.12)}to{box-shadow:none;transform:translate(-50%,-50%) scale(1)}}@media(prefers-reduced-motion:reduce){.upgrade-flash{animation:none}}@media(max-width:760px){.growth-preview{width:59%;font-size:10px;padding:7px}.action-budget>span{white-space:nowrap}.action-budget{gap:5px}.action-budget strong{font-size:22px;white-space:nowrap}}.growth-preview{font-size:12px;line-height:1.65;padding:11px;border:1px solid #9bc27644;background:#a7d4820b;color:#caddb4}.growth-preview b{display:block;color:#d1e6b5;margin-bottom:5px}.erosion-meter b{background:#bb88de!important}.turn-token.erosion-token{color:#d5b0f0;border-color:#825aa3;background:#29203d}.erosion-pulse{animation:erosion-pulse .65s ease-out}@keyframes erosion-pulse{0%{background:#b085cc66;box-shadow:0 0 24px #ad7bce66}to{background:transparent;box-shadow:none}}@media(prefers-reduced-motion:reduce){html:not([data-motion=full]) .erosion-pulse{animation:none}}#auto-ultimate-button{white-space:nowrap;min-width:132px;border-color:#566b80;color:#c1d0dc}#auto-ultimate-button[aria-pressed=true]{background:#24351e;border-color:#b7e875;color:#ddffae;box-shadow:inset 0 0 12px #b7e87514}@media(max-width:760px){#auto-ultimate-button{position:absolute;right:0;top:64px;min-width:105px;min-height:40px;font-size:10px;padding:5px}}.stage-select-link{border:0;background:none;color:#c7d8e9;letter-spacing:2px;font-size:11px;padding:2px 9px;cursor:pointer}.stage-select-link:hover{color:#d5f7a7}.stage-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}.stage-card{text-align:left;position:relative;overflow:hidden;border:1px solid #3a4859;background:linear-gradient(135deg,#1d2530,#0a1119);padding:18px;color:#dce4ef;min-height:315px;cursor:pointer}.stage-card.selected{border-color:var(--stage-color);box-shadow:inset 0 0 24px #b6d5f012}.stage-card.locked{opacity:.53}.stage-number{color:var(--stage-color);font-size:11px;letter-spacing:2px;position:relative;z-index:1}.stage-card h3{font-size:23px;margin:87px 0 6px;position:relative;z-index:1}.stage-card strong{font-size:11px;color:var(--stage-color)}.stage-card p{font-size:11px;line-height:1.8;position:relative;z-index:1;min-height:56px}.stage-rewards{font-size:10px;line-height:1.9;color:#a4b2c3}.stage-select-state{display:block;border-top:1px solid #3c4553;margin-top:14px;padding-top:12px;font-size:12px;color:var(--stage-color)}.stage-monster{position:absolute;right:3px;top:-4px;width:180px;height:235px;background-size:400% 200%;background-position:0 0;background-repeat:no-repeat;opacity:.6;pointer-events:none}.enemy-intel-link{display:block;margin:5px auto 0;padding:2px 10px;background:#0d1727;border:1px solid #6c7c90;color:#dbe8b2;font-size:10px;cursor:pointer}.intent-current{padding:12px;border:1px solid #e1a26a;color:#f3caa5;background:#332319}.enemy-skill-info{font-size:14px;line-height:1.9}.enemy-skill-info b{color:#bce996}.enemy-skill-info h3{color:#edb992}.history-item>strong>small{display:block;font-size:9px;color:#a7b8c6;margin-top:4px}.tree-chapters{display:flex;gap:6px;padding:7px 16px;background:#0a1017;border-bottom:1px solid #2d3947;overflow-x:auto;flex-shrink:0}.tree-chapters button{white-space:nowrap;font-size:11px;color:#7c8b9d;padding:6px 13px;background:#121a23;border:1px solid #283443}.tree-chapters button.unlocked{color:#c6deb0;border-color:#536849}.tree-map.campaign-tree{width:3400px;min-width:3400px;height:550px;min-height:550px;background:repeating-linear-gradient(90deg,#111a23 0 814px,#445164 815px,#111a23 817px)}.campaign-tree .map-node{width:52px;height:52px;border-color:var(--branch-color);color:var(--branch-color)}.campaign-tree .map-node.stat-node{border-radius:50%;width:43px;height:43px}.campaign-tree .map-node.locked{border-color:#405064;color:#69778b}.campaign-tree .map-node .node-name{font-size:11px;max-width:115px;white-space:nowrap}.campaign-tree .map-node.stat-node svg{width:24px;height:24px}.campaign-tree .map-node.selected{outline:2px solid #fff;outline-offset:5px}.chapter-label{position:absolute;top:18px;width:650px;pointer-events:none;color:#68778c}.chapter-label.open{color:#d2ddbb}.chapter-label small{font-size:10px;letter-spacing:2px}.chapter-label b{display:block;font-size:22px;margin:8px 0}.chapter-label>span{font-size:11px;color:#94a6b8}.campaign-tree .tree-links{opacity:.65}.campaign-tree .map-legend{left:14px;top:90px;bottom:auto}.boss-hud{max-width:calc(100% - 30px)}@media(max-width:760px){.stage-select-link{font-size:9px;letter-spacing:0}.stage-cards{grid-template-columns:1fr}.stage-card{min-height:280px}.stage-card h3{margin-top:50px}.stage-monster{right:8px;top:-18px}.tree-chapters{padding:6px 10px}.tree-chapters button{font-size:10px;padding:6px 10px}.tree-map.campaign-tree{width:2900px;min-width:2900px;height:445px;min-height:445px;background-size:696px 100%}.campaign-tree .map-node{width:42px;height:42px}.campaign-tree .map-node.stat-node{width:36px;height:36px}.campaign-tree .map-node .node-name{font-size:9px;max-width:98px}.chapter-label{top:10px}.chapter-label b{font-size:16px;margin:6px 0}.chapter-label small{font-size:8px}.chapter-label>span{font-size:9px}.campaign-tree .map-legend{top:72px;font-size:7px}.enemy-intel-link{font-size:9px;margin-top:4px}.scene-wrap:has(.boss-hud:not(.hidden)) .encounter-state{top:236px}}dialog:has(.stage-cards){width:min(1120px,calc(100% - 40px));max-width:1120px}.stage-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.stage-card{min-height:410px}.stage-card h3{margin-top:153px;font-size:20px}.stage-monster{width:150px;height:200px;top:18px;right:6px}.stage-card.locked{opacity:.7}.campaign-tree .map-legend{display:none}.node-detail{overflow-y:auto}.node-detail .detail-icon{width:60px;height:60px;margin:18px 0}.node-detail .detail-desc{min-height:0}.node-detail .growth-preview{font-size:11px;line-height:1.7}.node-detail .detail-price{padding-top:14px}.boss-hud{left:67%;width:330px}@media(max-width:1100px){.stage-cards{grid-template-columns:1fr 1fr}.boss-hud{left:50%}}@media(max-width:760px){dialog:has(.stage-cards){width:calc(100% - 24px)}.stage-cards{grid-template-columns:1fr}.stage-card{min-height:345px}.stage-card h3{margin-top:104px}.stage-monster{top:-5px;width:140px;height:187px}.boss-hud{left:50%;width:244px}.node-detail{height:236px}.node-detail .detail-icon{width:45px;height:45px;margin:0}.node-detail .detail-price{padding-top:0}.node-detail .growth-preview{font-size:10px;line-height:1.6}.scene-wrap:has(.boss-hud:not(.hidden)) .encounter-state{top:236px;right:12px;font-size:8px}.campaign-tree .map-node.stat-node{width:40px;height:40px}}.node-detail{padding:0;overflow:hidden;display:flex;flex-direction:column;min-height:0}.detail-scroll{padding:24px 20px 16px;overflow-y:auto;flex:1;min-height:0}.detail-scroll>*{flex-shrink:0}.node-detail .detail-desc{height:auto;min-height:0;margin-top:18px;width:auto}.detail-purchase{padding:14px 20px 18px;background:#101b29;border-top:1px solid #435064;flex-shrink:0}.node-detail .detail-price{position:static;border:0;margin:0;padding:0;width:auto}.detail-purchase .node-button{position:static;margin-top:14px;width:100%}.detail-req>b{display:block;margin-bottom:8px;color:#cad5e4}.detail-req>span,.detail-req>button{display:block;margin:5px 0;width:100%;text-align:left;line-height:1.7;font-size:10px}.req-jump{background:#101c2b;border:1px solid #3d4b60;color:#c99c9e;padding:6px 8px}.detail-req .met{color:#b6d598}.node-detail .growth-preview{width:auto}.node-detail .detail-note{position:static;width:auto;margin-top:14px}.campaign-tree .map-node.slot-milestone{width:64px;height:64px;border-width:3px;border-radius:12px;box-shadow:0 0 0 4px #ad93dc20,0 4px #03050a}.campaign-tree .slot-milestone .node-name{color:#c8b5ea}.campaign-tree .slot-milestone.locked{border-color:#806798;color:#ad93c7}.tree-map-scroll{scrollbar-color:#6b7b88 #121b25;scrollbar-width:auto}.tree-map-scroll:after{content:"↔ 가로 스크롤 · 상단 구역으로 이동";position:sticky;bottom:7px;left:calc(100% - 215px);display:block;margin-top:-27px;padding:6px 9px;width:207px;background:#080b10ed;border:1px solid #52607a;color:#b4c6dd;font-size:10px;pointer-events:none}#toast{top:76px;bottom:auto;max-width:min(550px,90%);font-size:11px;padding:9px 16px}@media(max-width:760px){.tree-map-scroll{min-height:0}.tree-bottom{flex-shrink:0}.tree-summary{flex-wrap:wrap;row-gap:5px}.node-detail,.growth-tabs+.character-selector:not(.hidden)~.tree-layout .node-detail{height:262px;flex:0 0 262px;display:flex;padding:0}.detail-scroll{padding:12px 15px;position:relative}.node-detail .detail-icon{top:13px;left:15px;margin:0}.node-detail .detail-desc{font-size:11px;margin-top:15px;line-height:1.7;width:100%}.node-detail .growth-preview{width:100%;font-size:10px;padding:8px}.node-detail .detail-req{width:100%;margin-bottom:8px}.node-detail .detail-note{display:none}.detail-purchase{display:flex;align-items:center;gap:12px;padding:9px 15px;min-height:65px}.detail-purchase .detail-price{flex:1}.detail-purchase .node-cost{font-size:15px;gap:9px;margin-top:6px}.detail-purchase .node-button{position:static;flex:0 0 128px;width:128px;margin:0;min-height:43px;font-size:12px}.campaign-tree .map-node.slot-milestone{width:51px;height:51px;border-radius:9px}.tree-map-scroll:after{content:"↔ 좌우로 밀어 탐색";width:124px;left:calc(100% - 131px);font-size:9px}.boss-hud{top:140px;width:calc(100% - 24px);padding:7px 10px;min-height:65px;left:50%}.boss-hud .boss-bar{margin:5px 0;height:5px}.boss-hud small{display:block;padding-right:97px;font-size:9px;line-height:1.5;min-height:26px}.boss-hud .enemy-intel-link{position:absolute;bottom:8px;right:8px;max-width:92px;min-height:26px;font-size:9px;padding:3px}.scene-wrap:has(.boss-hud:not(.hidden)) .encounter-state{display:none}#toast{top:57px;font-size:10px;max-width:calc(100% - 20px)}}#tree-surface{position:relative;min-width:0;flex-shrink:0}.tree-map.campaign-tree{width:4400px;min-width:4400px;height:720px;min-height:720px;transform-origin:0 0;background:repeating-linear-gradient(90deg,#111a23 0 1098px,#445164 1099px,#111a23 1100px)}.tree-zoom{display:flex;align-items:center;gap:8px;padding:5px 16px;background:#101822;border-bottom:1px solid #263546;flex-shrink:0;font-size:10px;color:#9aafc4}.tree-zoom>span{margin-right:auto}.tree-zoom button{min-height:32px;min-width:34px;border:1px solid #46556a;background:#1a2532;color:#dce6d3;padding:4px 10px}.tree-zoom output{min-width:35px;text-align:center}.tree-chapters button small{margin-left:7px;color:#9dadbd}.growth-lane-label{position:absolute;font-size:12px;letter-spacing:1px;color:#a3b2c1;border-left:2px solid #586b7d;padding-left:7px;pointer-events:none}.campaign-tree .map-node{width:54px;height:54px}.campaign-tree .map-node.stat-node{width:49px;height:49px}.campaign-tree .map-node .node-name{font-size:12px;max-width:102px;white-space:normal;line-height:1.25;width:102px}.campaign-tree .chapter-label{width:1000px;top:18px}.campaign-tree .chapter-label b{font-size:24px}.campaign-tree .map-legend{top:107px}.campaign-tree .tree-links{opacity:.4}#tree-count strong{color:#d9e9b6;font-size:12px}@media(max-width:760px){.tree-zoom{padding:4px 10px;gap:5px}.tree-zoom>span{font-size:9px;max-width:100px}.tree-zoom button{min-height:36px}.tree-chapters button{min-height:38px}.tree-chapters button small{margin-left:3px}.tree-layout .node-detail{flex-basis:240px;height:240px}.tree-map-scroll{min-height:130px}.campaign-tree .map-node{width:56px;height:56px}.campaign-tree .map-node.stat-node{width:54px;height:54px}.campaign-tree .map-node .node-name{font-size:13px}.tree-summary{font-size:8px}.tree-map-scroll:after{content:"↔ ↕ 밀어서 경로 탐색"}#tree-count{max-width:118px;line-height:1.6}.screen-title .compact{white-space:nowrap}}.tree-map.campaign-tree{width:6400px;min-width:6400px;height:1060px;min-height:1060px;background:repeating-linear-gradient(90deg,#101923 0 1598px,#38495a 1599px,#101923 1600px)}.tree-map-scroll{cursor:grab;overscroll-behavior:contain;touch-action:pan-x pan-y;scrollbar-gutter:stable}.tree-map-scroll.panning{cursor:grabbing;user-select:none}.tree-map-scroll:after{display:none}.tree-map-scroll button{cursor:pointer}.campaign-tree .map-node,.campaign-tree .map-node.stat-node{width:62px;height:62px}.campaign-tree .map-node .node-name{font-size:13px;line-height:1.5;width:140px;max-width:140px}.campaign-tree .map-node svg{width:30px;height:30px}.campaign-tree .node-rank{font-size:12px}.campaign-tree .chapter-label{left:20px;top:24px;width:1400px}.campaign-tree .chapter-label small{font-size:12px}.campaign-tree .chapter-label b{font-size:28px}.campaign-tree .chapter-label>span{font-size:13px}.campaign-tree .growth-lane-label{font-size:14px}.campaign-tree .map-legend{top:113px;font-size:11px}.tree-lanes{display:flex;gap:6px;padding:6px 16px;background:#0a121c;border-bottom:1px solid #2b3c50;flex-shrink:0;overflow-x:auto}.tree-lanes button{font-size:11px;white-space:nowrap;color:#abbdd0;border:1px solid #344356;background:#131f2c;padding:6px 12px;min-height:30px}#tree-page:has(.personal-tree) .tree-lanes{display:none}@media(max-width:760px){.tree-zoom>span{max-width:none;line-height:1.6;font-size:8px}.tree-zoom{gap:4px}.tree-zoom button{padding:4px 7px}.tree-lanes{padding:4px 10px}.tree-lanes button{min-height:32px;padding:4px 8px}.tree-layout .node-detail{height:186px;flex-basis:186px}.node-detail .detail-scroll{padding:10px 12px}.node-detail .detail-icon{width:35px;height:35px;top:10px;left:12px}.node-detail h2,.node-detail .rank-pips{margin-left:47px}.node-detail .detail-branch{padding-left:47px}.node-detail .detail-purchase{padding:7px 12px}.node-detail .detail-note{display:none}.tree-map-scroll{min-height:145px}}.attribute-badge{display:inline-flex;gap:4px;color:var(--attribute-color);font-size:11px;font-weight:700;border:1px solid color-mix(in srgb,var(--attribute-color) 40%,transparent);padding:3px 7px;background:#101621}.operator-affinity{display:flex;align-items:center;gap:8px;color:#9bb1c5;font-size:10px;margin-top:8px}.formation-analysis{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:16px;margin:16px 0;padding:18px;background:#111c2a;border:1px solid #3e5369;font-size:12px;line-height:1.8}.formation-analysis p{color:#aabcce;font-size:11px;margin:7px 0}.formation-analysis b{color:#d9e7c2}.formation-lead>span{display:block;color:#aac979;font-size:10px;letter-spacing:2px}.formation-lead>b{font-size:24px}.formation-bonuses p{display:flex;flex-wrap:wrap;gap:4px 12px}.formation-bonuses strong{color:#cae99f;font-size:11px}.formation-analysis small{font-size:10px;color:#8fa4ba}.formation-weakness>div{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-top:8px}.formation-weakness .covered{color:#afd789}.formation-weakness .missing{color:#ddaa89}.build-library{background:#0d1723;border:1px solid #344860;padding:14px;margin:18px 0}.build-library>summary{cursor:pointer;color:#cbd8e8;font-size:13px}.party-builds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.party-build{background:#152031;border:1px solid #3a4a61;padding:17px;display:flex;flex-direction:column}.party-build h3{font-size:17px;color:#d5e8a8}.party-build p{font-size:12px;line-height:1.8;color:#c9d5e2;margin:14px 0 7px}.party-build small{font-size:11px;line-height:1.8;color:#92a9bf}.party-build button{margin-top:14px;min-height:40px;padding:8px;border:1px solid #667950;background:#243321;color:#d4e8bc}.build-faces{display:flex;gap:15px;margin-top:13px}.build-faces span{text-align:center;display:flex;flex-direction:column;gap:5px;font-size:11px;color:#acbbce}.build-faces img{width:44px;height:49px;object-fit:cover;object-position:top;border:1px solid #5c6e83}@media(max-width:760px){.formation-analysis{grid-template-columns:1fr;gap:14px;padding:15px}.formation-analysis>div+div{border-top:1px solid #324357;padding-top:12px}.party-builds{grid-template-columns:1fr}.operator-affinity{gap:4px;flex-wrap:wrap}.attribute-badge{font-size:10px}.party-build p{font-size:11px}.build-faces{gap:17px}.build-library>summary{font-size:12px}}.boss-affinity:empty{display:none}.boss-affinity{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:6px 0;font-size:10px;color:#d2c4ec}.boss-affinity .attribute-badge{font-size:9px;padding:1px 4px}.boss-affinity b{white-space:nowrap;font-size:10px}@media(max-width:760px){.boss-affinity{font-size:8px;gap:5px}.boss-affinity b{font-size:8px}.scene-wrap:has(.boss-hud:not(.hidden)) .encounter-state{top:263px}}.formation-slots{position:static}.detail-toggle{display:none}.node-detail .growth-preview{line-height:1.85}.boss-hud{top:108px}@media(max-width:760px){.boss-hud{top:140px}.detail-toggle{display:block;min-height:30px;flex:0 0 30px;padding:4px 12px;text-align:right;font-size:10px;border:0;border-bottom:1px solid #34495c;background:#142332;color:#bed899}.tree-layout .node-detail{height:157px;flex-basis:157px}.tree-layout .node-detail.expanded{height:310px;flex-basis:310px}.node-detail:not(.expanded) .detail-desc,.node-detail:not(.expanded) .growth-preview,.node-detail:not(.expanded) .detail-req{display:none}.node-detail:not(.expanded) .detail-scroll{overflow:hidden;padding-top:6px;padding-bottom:6px}.node-detail .detail-icon{top:9px}.node-detail .detail-purchase{min-height:62px}.node-detail.expanded .detail-scroll{overflow-y:auto}#toast{top:auto;bottom:73px;max-width:calc(100% - 24px)}}@media(max-width:760px){.tree-map-scroll{min-height:100px}.tree-layout .node-detail.expanded{max-height:calc(100% - 105px)}}.battle-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:64px;padding:9px 22px;background:#0b1220;border-bottom:1px solid #34465c;flex-shrink:0}.battle-topbar .stage-heading{position:static;transform:none;max-width:none;text-align:left;white-space:normal;text-shadow:none;display:grid;grid-template-columns:auto auto;column-gap:14px;align-items:center}.battle-topbar .stage-heading>span{grid-column:1/-1;letter-spacing:1px;font-size:10px}.battle-topbar .stage-heading h1{font-size:19px;margin:2px 0;letter-spacing:.5px}.battle-topbar .stage-heading .state-badge{font-size:10px;margin:0}.battle-topbar .stage-select-link{padding:0;background:none;border:0;box-shadow:none;letter-spacing:1px}.battle-topbar .battle-controls{position:static;flex-wrap:wrap;justify-content:flex-end}.battle-topbar .battle-controls #pause-button,.battle-topbar #auto-ultimate-button{position:static}.battle-topbar #stage-map-button{border-color:#839b62;background:#1c291c;color:#d3e8b8;white-space:nowrap}.field-bottom:has(#next-stage-button:not(.hidden)){flex-wrap:wrap;justify-content:flex-end;gap:8px}.field-bottom:has(#next-stage-button:not(.hidden)) #focus-label{display:none}#next-stage-button{font-size:12px;padding:12px 16px}.next-stage-actions{display:grid;grid-template-columns:1fr 1fr}.next-stage-actions .primary-button{grid-column:1/-1;order:-1;min-height:48px}.next-stage-actions .secondary-button{font-size:12px;padding:10px}.scene-wrap .timeline{top:13px;left:50%;transform:translate(-50%);width:308px;height:57px;gap:0;display:flex;align-items:center;flex-direction:column;background:#080e17d9;border:1px solid #354457;padding:5px 9px;z-index:3}.timeline .timeline-label{display:block;font-size:8px;line-height:1;letter-spacing:2px;margin:0 0 5px;color:#9daebf}.turn-rail{position:relative;width:280px;height:34px;background:repeating-linear-gradient(90deg,#1a2634 0 34px,transparent 34px 49px)}.timeline .turn-token{position:absolute;left:calc(var(--turn-index)*49px);top:0;width:34px;height:32px;margin:0;font-size:19px;border:1px solid #617b96;box-shadow:none;transition:left .18s ease-out;background:#142338}.timeline .turn-token:first-of-type{border-color:#617b96;box-shadow:none}.timeline .turn-token.next-turn{border-color:#e9d78d;box-shadow:0 0 0 1px #e9d78d}.timeline .turn-token.enemy{border-color:#bd736b;background:#311c21}.timeline .turn-token.erosion-token{border-color:#9e75bf;background:#2b203e}.timeline .turn-token small{bottom:-8px;font-size:8px;right:-1px}.timeline .timeline-empty{font-size:10px;max-width:none;line-height:28px;white-space:nowrap}.timeline [hidden]{display:none!important}.timeline.awaiting-enemy:after{content:"증원 대기";position:absolute;right:7px;top:4px;color:#88a7bd;font-size:8px}.scene-wrap .boss-hud{top:86px}.scene-wrap .encounter-state{top:17px;right:18px}.scene-wrap:has(.boss-hud:not(.hidden)) .encounter-state{top:69px}#tree-page{background:#090d12}.tree-map.campaign-tree{background-color:#080d12;background-image:radial-gradient(#79895455 .9px,transparent 1.1px),radial-gradient(#6b728542 1px,transparent 1.2px);background-size:143px 127px,241px 211px;background-position:17px 42px,92px 12px}.tree-map-scroll{background:#080d12;scrollbar-width:thin;overflow:auto;touch-action:pan-x pan-y}.tree-map{transform-origin:0 0}#tree-surface{overflow:clip}.tree-map-scroll{overflow-anchor:none}.tree-links{opacity:1!important}.tree-links path{fill:none;stroke:#63717a;stroke-width:2;stroke-linecap:round;vector-effect:non-scaling-stroke}.tree-links path.open{stroke:#849385}.tree-links path.complete{stroke:#cfb566;stroke-width:2.5}.tree-links path.focused{stroke:#ddebbd;stroke-width:3}.campaign-tree .map-node,.campaign-tree .map-node.stat-node{width:58px;height:58px;border:2px solid #5f707a;border-radius:3px;background:#0b131a;color:var(--branch-color);box-shadow:0 3px #020508,0 0 0 4px #080d12;z-index:1}.campaign-tree .map-node:before{content:"";position:absolute;inset:-5px;border:1px solid currentColor;opacity:.25;pointer-events:none;clip-path:polygon(0 0,22% 0,22% 4%,4% 4%,4% 22%,0 22%,0 0,100% 0,100% 22%,96% 22%,96% 4%,78% 4%,78% 0,100% 0,100% 100%,78% 100%,78% 96%,96% 96%,96% 78%,100% 78%,100% 100%,0 100%,0 78%,4% 78%,4% 96%,22% 96%,22% 100%,0 100%)}.campaign-tree .map-node svg{width:31px;height:31px}.campaign-tree .map-node.locked{border-color:color-mix(in srgb,var(--branch-color) 38%,#243039);color:color-mix(in srgb,var(--branch-color) 76%,#687480);background:#0d151c}.campaign-tree .map-node.locked>svg{opacity:.7}.campaign-tree .map-node .lock-mark{display:none}.campaign-tree .map-node.affordable{border-color:#b7e978;background:#142016;box-shadow:0 0 16px #99d86314,0 0 0 4px #080d12}.campaign-tree .map-node.learned{border-color:#ead071;color:#ead071;background:#242416}.campaign-tree .map-node.selected{outline:2px solid #fff;outline-offset:7px;z-index:4}.campaign-tree .map-node.slot-milestone{width:68px;height:68px;border-radius:4px;border-width:3px;box-shadow:0 0 0 4px #181924}.slot-node-icon{font:800 24px var(--pixel)}.campaign-tree .node-rank{display:none;font-size:9px;min-width:16px;bottom:-5px;right:-6px;padding:0 2px}.campaign-tree .multi-rank .node-rank,.campaign-tree .learned .node-rank,.campaign-tree .selected .node-rank{display:block}.campaign-tree .map-node .node-name{display:none}.campaign-tree .node-value{position:absolute;top:calc(100% + 11px);left:50%;transform:translate(-50%);width:114px;text-align:center;white-space:normal;font:700 12px/1.4 var(--pixel);color:#c0cdbb;background:#080d12e6;padding:1px 3px;pointer-events:none}.campaign-tree .locked .node-value{color:#87969c}.campaign-tree .learned .node-value{color:#eadb99}.campaign-tree.overview .node-value{font-size:15px}.campaign-tree.overview .selected .node-value{color:#e9f3d4}.campaign-tree .map-node:focus-visible{outline:3px solid #fff}.personal-tree .node-value{display:none}.sector-heart{position:absolute;transform:translate(-50%,-50%);width:130px;text-align:center;pointer-events:none;color:#5e707b;padding:10px 0;background:#080d12;border-block:1px solid #283845}.sector-heart span{font:10px var(--pixel);letter-spacing:3px}.sector-heart b{font-size:15px;display:block;margin:6px 0;color:#c4d3b7}.sector-heart small{font-size:8px;line-height:1.7;display:block}.sector-heart.open{color:#9ab577}#tree-page .screen-title{padding:12px 18px;min-height:58px}.tree-lanes{display:none!important}.tree-chapters{padding:5px 14px}.tree-chapters button{padding:4px 10px;min-height:30px;font-size:10px}.tree-zoom{min-height:40px;padding:4px 14px}.tree-zoom>span{font-size:10px}.tree-zoom button{min-height:29px;padding:3px 9px}.branch-jump-label{display:flex;align-items:center;gap:5px;margin-left:10px;font-size:10px;color:#8799ab}.branch-jump-label select{font-family:inherit;font-size:11px;color:#c9dab5;background:#101a23;border:1px solid #405061;padding:5px;width:128px}.tree-bottom{padding-block:8px}.tree-map .map-legend{display:none}@media(max-width:1100px){.battle-topbar{padding:8px 13px}.battle-topbar .battle-controls{gap:4px}.battle-topbar .battle-controls button{font-size:11px;padding:5px 7px}.scene-wrap .timeline{width:282px}.turn-rail{width:254px}.timeline .turn-token{left:calc(var(--turn-index)*44px);width:32px}.turn-rail{background-size:44px 100%}}@media(max-width:760px){.battle-topbar{min-height:90px;gap:7px;align-items:flex-start;flex-wrap:wrap;padding:7px 12px}.battle-topbar .stage-heading{display:grid;grid-template-columns:1fr auto;width:100%;column-gap:7px}.battle-topbar .stage-heading>span{grid-column:1/-1;line-height:1.3}.battle-topbar .stage-heading h1{font-size:17px;margin:1px 0}.battle-topbar .stage-heading .state-badge{font-size:9px;white-space:nowrap}.battle-topbar .battle-controls{width:100%;justify-content:flex-end}.battle-topbar .battle-controls button{font-size:10px;padding:4px 8px;min-height:25px}.scene-wrap .field-hud{top:12px;width:92px;left:10px}.scene-wrap .timeline{left:auto;right:9px;top:12px;transform:none;width:233px;height:56px;padding:4px 7px}.turn-rail{width:217px;background:none}.timeline .turn-token{left:calc(var(--turn-index)*37px);width:31px;height:30px}.timeline .timeline-label{font-size:7px}.timeline .timeline-empty{font-size:8px}.timeline.awaiting-enemy:after{font-size:7px;right:6px;top:3px}.scene-wrap .boss-hud{top:94px;width:244px;left:50%}.scene-wrap .encounter-state{top:76px;right:10px;font-size:8px}.scene-wrap:has(.boss-hud:not(.hidden)) .encounter-state{top:76px}.scene-wrap{min-height:300px}#tree-page .screen-title{padding:9px 12px;min-height:53px}.growth-tabs{padding-block:5px}.tree-chapters{padding:4px 8px;gap:4px}.tree-chapters button{font-size:9px;padding:3px 8px;min-height:28px}.tree-zoom{padding:5px 8px;gap:5px;flex-wrap:wrap}.tree-zoom>span{flex:1 1 100%;margin-right:0;font-size:9px}.tree-zoom output{font-size:10px;min-width:32px}.tree-zoom button{min-height:32px}.branch-jump-label{margin-left:auto;font-size:0}.branch-jump-label select{width:109px;font-size:10px;padding:6px 3px}.tree-map-scroll{min-height:130px}.tree-layout .node-detail{height:145px;flex-basis:145px}.tree-layout .node-detail.expanded{height:295px;flex-basis:295px}.campaign-tree .map-node .node-value{font-size:12px}.tree-summary{font-size:8px}}@media(prefers-reduced-motion:reduce){html:not([data-motion=full]) .timeline .turn-token{transition:none}}@media(max-width:760px){#toast{top:62px;bottom:auto}.hero-health [data-health]{white-space:nowrap}.hero-health .health-max{display:none}.hero-health .health-shield{color:#b9d9f5}}.motion-settings{padding:17px 0;margin:5px 0 19px;border-block:1px solid #33465e}.motion-settings h3{font-size:15px;color:#dbe7ec;margin:0 0 7px}.motion-settings #motion-system-state{font-size:10px;color:#96aebc}.motion-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:13px 0 11px}.motion-options button{font-size:12px;padding:10px 8px;min-height:42px;background:#131f2e;color:#9eb4c5;border:1px solid #3b5269}.motion-options button[aria-pressed=true]{color:#daf2b7;background:#253322;border-color:#a8cc79;box-shadow:inset 0 -2px #99bf6e}.motion-settings p{font-size:11px;line-height:1.8;color:#849db0;margin:0}html[data-motion=reduced] *,html[data-motion=reduced] *:before,html[data-motion=reduced] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}html[data-motion=reduced] .ultimate-cutin.show{opacity:1;transform:none}html[data-motion=reduced] .loop-intro.show{opacity:1}@media(max-width:760px){.motion-options{gap:5px}.motion-options button{font-size:10px;padding:9px 4px}.motion-settings p{font-size:10px}.motion-settings #motion-system-state{font-size:9px}}@media(max-width:760px){.hero-health>div:first-child{font-size:10px;line-height:1.3}.hero-health .health-shield{font-size:9px}.ultimate-button small{font-size:11px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}}.text-button{box-shadow:none!important}.promotion-panel button:disabled{background:#303b43;color:#a1a9a8;border-color:#505b62;box-shadow:none}.student-locked-note{padding:12px 16px;background:#352f29;border-left:3px solid #c6ae79;color:#e4d3ad;font-size:13px;line-height:1.7;margin-bottom:12px}.guild-recruit-preview{display:flex;gap:12px;align-items:center;margin:15px 0;color:#bdd2cd;font-size:12px}.guild-recruit-preview img{width:44px;height:46px;object-fit:cover;background:#29363c}.guild-recruit-preview span{display:flex;align-items:center;gap:8px}.equipment-transfer-warning{color:#e4c1a6!important}.equipment-upgrade-preview{color:#d9e3b5!important;padding:8px;background:#2a3535}.student-detail:focus{outline:none}#guild-page.active,#students-page.active{display:flex;flex-direction:column;min-height:0;height:100%;overflow:auto;background:#101620}.guild-hero{position:relative;isolation:isolate;min-height:360px;overflow:hidden;background:radial-gradient(ellipse at 70% 80%,#345254 0,transparent 55%),linear-gradient(110deg,#101a24,#152330 70%,#202c33);border-bottom:1px solid #45534c}.guild-grid-art{position:absolute;inset:0;opacity:.18;background:linear-gradient(0deg,transparent 95%,#9db4ad 96%),linear-gradient(90deg,transparent 97%,#9db4ad 98%);background-size:64px 64px;mask-image:linear-gradient(90deg,transparent,#000)}.guild-hero:after{content:"LOOP";position:absolute;right:8%;bottom:-45px;font:900 180px/1 sans-serif;letter-spacing:-8px;color:#b8ed6209;z-index:-1}.guild-copy{position:relative;z-index:2;padding:38px 48px;max-width:52%}.guild-eyebrow{font-size:10px;letter-spacing:2px;color:#b3c9b2}.guild-copy h1{font-size:42px;line-height:1.23;margin:17px 0;color:#f1f5e9;letter-spacing:-2px}.guild-copy p{font-size:13px;line-height:1.8;color:#b4c1c9;margin-bottom:21px}.guild-copy>small{display:block;font-size:11px;color:#b0bcb5;margin-top:12px}.guild-members{position:absolute;inset:18px 10% 0 44%;display:flex;justify-content:center;align-items:end;pointer-events:none}.guild-members img{height:94%;max-width:65%;object-fit:contain;filter:drop-shadow(5px 10px 15px #0008)}.guild-members img+img{margin-left:-50px;height:84%}.guild-coordinate{position:absolute;right:22px;top:28px;text-align:right;font-size:9px;line-height:1.9;letter-spacing:2px;color:#8ba8a3}.guild-coordinate b{color:#c6d6c9}.guild-content{padding:22px 32px 30px}.guild-summary{display:flex;gap:35px;align-items:center;margin-bottom:22px;font-size:11px;color:#b4c1cc}.guild-summary b{font-size:18px;margin-left:12px;color:#eef4ec}.guild-services{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.guild-services>button{position:relative;background:linear-gradient(130deg,#202b34,#171f2b);border:1px solid #42505e;text-align:left;padding:22px 18px;min-height:140px;display:flex;align-items:start;gap:13px;color:#e6ebe3}.guild-services button:hover{border-color:#c0d693;background:#26343a}.guild-services svg{width:30px;height:30px;flex-shrink:0;color:#c3d3a4}.guild-services small{display:block;font-size:8px;letter-spacing:1px;color:#90a9b2}.guild-services b{display:block;font-size:19px;margin:9px 0}.guild-services em{font-size:11px;color:#bdc8ce;font-style:normal;line-height:1.6}.guild-services strong{position:absolute;right:15px;bottom:14px;color:#b8ed62}.guild-services #upgrade-dot{position:absolute;right:15px;top:15px;width:6px;height:6px;border-radius:50%;background:#b8ed62}.guild-route{display:flex;align-items:center;gap:20px;border-top:1px solid #354352;margin-top:22px;padding-top:18px;font-size:12px}.guild-route b{color:#c9d59d;white-space:nowrap}.guild-route p{flex:1;color:#bdc8ce}.guild-route button{white-space:nowrap}.student-workspace{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:0;flex:1;overflow:hidden}.student-roster{overflow:auto;border-right:1px solid #394656;background:#121b26;padding:12px}.student-roster>button{display:flex;align-items:center;width:100%;min-height:62px;text-align:left;padding:6px;gap:10px;border:1px solid transparent;border-bottom-color:#2d3b48;background:transparent;color:#e4ebec}.student-roster button[aria-pressed=true]{border-color:#b8cc87;background:#263631}.student-roster img{width:44px;height:48px;object-fit:cover;background:#29333e}.student-roster b{font-size:13px}.student-roster small{display:block;font-size:10px;color:#a0b5be;margin-top:5px}.student-roster i{font-style:normal;color:#cfcb96;font-size:9px;margin-left:auto}.student-roster .unjoined img{filter:grayscale(1);opacity:.6}.student-detail{padding:22px 30px 40px;overflow:auto;min-width:0}.student-profile{display:flex;align-items:center;gap:30px;min-height:270px;border-bottom:1px solid #455561;background:radial-gradient(ellipse at 15% 50%,#28383e,transparent 65%)}.student-portrait{width:205px;height:280px;object-fit:contain;filter:drop-shadow(0 8px 12px #0007)}.student-profile h2{font-size:34px;margin:10px 0 4px}.promotion-stars{color:#d2d69b;font-size:19px;letter-spacing:4px;margin:10px 0 18px}.promotion-stars span{color:#596575}.student-stats{display:flex;gap:24px;margin-bottom:18px}.student-stats span{font-size:10px;color:#b7c6cf}.student-stats b{display:block;font-size:23px;color:#f0f1e8;margin-top:3px}.student-profile small{display:block;font-size:10px;color:#a6b9be;margin-top:12px}.student-section{margin-top:25px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-heading h3{font-size:17px;margin:0}.section-heading>span{font-size:9px;letter-spacing:1px;color:#91a4ac}.student-note{font-size:11px;color:#acbcc6;line-height:1.8;margin:10px 0 14px}.equipment-slots{display:grid;grid-template-columns:1fr 1fr;gap:12px}.equipment-slots>button{text-align:left;padding:18px;background:#1a2632;border:1px solid #465563;display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px 12px;color:#e8ece7;min-height:170px}.equipment-slots>button:hover{border-color:#b1c792}.equipment-slot-label{grid-column:1/-1;font-size:9px;letter-spacing:2px;color:#97b5b9}.equipment-slots svg{width:38px;height:38px;grid-row:2/4;color:#c3d3a1}.equipment-slots b{font-size:16px}.equipment-slots small{font-size:11px;color:#c4cdac;line-height:1.5}.equipment-slots p{grid-column:1/-1;font-size:11px;line-height:1.7;color:#aebfce;margin:0}.equipment-slots em{grid-column:1/-1;font-size:11px;color:#d0dca7;font-style:normal;text-align:right}.promotion-panel{padding:20px;background:#202632;border:1px solid #4d5361;display:flex;gap:24px;justify-content:space-between}.promotion-panel h3{font-size:17px;margin:8px 0}.promotion-panel p{font-size:12px;line-height:1.8;color:#c1c9d3}.promotion-panel small{font-size:10px;color:#a6afbf}.promotion-panel>div:last-child{display:flex;min-width:130px;flex-direction:column;justify-content:center;gap:10px;text-align:center}.disk-count{font-size:29px;color:#c9d9ed}.disk-count small{font-size:9px;letter-spacing:1px}.text-button{background:none;border:0;text-decoration:underline;color:#acbdcc;font-size:11px;min-height:36px}.relationship-slots{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.relationship-slots button{background:#1b232d;border:1px solid #434b5d;padding:20px;display:flex;align-items:center;gap:15px;text-align:left;color:#d5d9df;min-height:110px}.relationship-slots svg{width:32px;height:32px;color:#beaebd}.relationship-slots b,.relationship-slots span,.relationship-slots small{display:block}.relationship-slots b{font-size:16px}.relationship-slots span{font-size:11px;color:#a5b1bf;margin:6px 0}.relationship-slots small{font-size:10px;color:#cebdc6}.relationship-slots strong{margin-left:auto}.equipment-wallet{color:#e0d699;font-size:12px;margin:12px 0}.equipment-inventory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.equipment-item{padding:15px;border:1px solid #425468;background:#182431;min-width:0}.equipment-item.equipped{border-color:#afce86}.equipment-item-title{display:flex;align-items:center;gap:10px;margin-bottom:12px}.equipment-item-title svg{width:30px;height:30px;color:#c3d2a1;flex-shrink:0}.equipment-item h3{font-size:14px;margin:4px 0}.equipment-item small{font-size:10px;color:#a2b4c2}.equipment-item-title>span{font-size:9px;color:#d0d9a9;margin-left:auto}.equipment-item>b{font-size:11px;color:#dfdfb6}.equipment-item p{font-size:11px;line-height:1.7;color:#b7c5d3}.equipment-item .gear-preview{font-size:11px;color:#bdddab;border-top:1px solid #354958;padding-top:9px}.gear-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.gear-actions button{font-size:11px!important}.craft-heading{margin:25px 0 12px;font-size:17px}dialog:has(.equipment-inventory){width:min(860px,calc(100% - 28px));max-height:90vh;overflow:auto}.promotion-result{display:flex;align-items:center;gap:20px;padding:22px;background:#23343a;margin:20px 0}.promotion-result img{width:90px;height:90px;object-fit:cover}.promotion-result b{font-size:23px}.promotion-result p{color:#d2ddb1;font-size:13px}@media(max-width:1050px){.guild-services{grid-template-columns:repeat(2,1fr)}.guild-hero{min-height:330px}.guild-copy{padding:30px}.guild-copy h1{font-size:34px}.student-workspace{grid-template-columns:160px minmax(0,1fr)}.student-detail{padding:18px}.student-profile{gap:15px}.student-portrait{width:150px}.student-roster{padding:8px}.student-roster i{display:none}.promotion-panel{gap:12px}}@media(max-width:650px){.guild-hero{min-height:310px}.guild-copy{padding:26px 20px;max-width:75%}.guild-copy h1{font-size:30px}.guild-copy p{font-size:11px}.guild-copy .guild-eyebrow{font-size:8px}.guild-members{left:48%;right:-12%;opacity:.5;top:65px}.guild-copy>small{max-width:230px;font-size:10px}.guild-coordinate{display:none}.guild-content{padding:16px}.guild-summary{gap:10px;justify-content:space-between;flex-wrap:wrap}.guild-summary span{font-size:10px}.guild-summary b{font-size:16px;margin-left:4px}.guild-services{gap:9px}.guild-services>button{padding:16px 12px;gap:7px;min-height:125px}.guild-services svg{width:22px}.guild-services b{font-size:16px}.guild-services small{font-size:7px}.guild-services em{font-size:10px}.guild-route{gap:10px;flex-wrap:wrap;font-size:11px}.guild-route p{min-width:200px}.student-workspace{display:flex;flex-direction:column;overflow:visible;min-height:auto}.student-roster{display:flex;overflow-x:auto;flex-shrink:0;border-right:0;border-bottom:1px solid #495965}.student-roster>button{width:125px;min-width:125px;min-height:62px}.student-roster img{width:38px;height:42px}.student-roster small{font-size:9px}.student-detail{overflow:visible;padding:16px 14px 30px}.student-profile{min-height:235px;gap:8px}.student-portrait{width:110px;height:218px}.student-profile h2{font-size:27px}.student-stats{gap:18px}.student-stats b{font-size:21px}.student-profile .guild-eyebrow{font-size:8px;letter-spacing:1px}.student-profile small{font-size:9px;line-height:1.6}.equipment-slots{gap:8px}.equipment-slots>button{padding:12px;grid-template-columns:28px minmax(0,1fr);gap:9px}.equipment-slots svg{width:26px;height:26px}.equipment-slots b{font-size:13px}.equipment-slots small,.equipment-slots p{font-size:10px}.promotion-panel{padding:15px;flex-direction:column}.promotion-panel>div:last-child{display:grid;grid-template-columns:1fr 1fr;align-items:center}.promotion-panel>div:last-child>small{grid-column:1/-1}.relationship-slots{gap:8px}.relationship-slots button{padding:14px 10px;gap:8px}.relationship-slots svg{width:24px;height:24px;flex-shrink:0}.relationship-slots span{font-size:9px}.relationship-slots b{font-size:14px}.relationship-slots strong{display:none}.equipment-inventory{grid-template-columns:1fr}.game-footer nav .nav-item{max-width:none}}@media(max-width:650px){.guild-services small{font-size:9px;letter-spacing:.3px}.guild-copy .guild-eyebrow,.student-profile .guild-eyebrow{font-size:10px;letter-spacing:.5px}.student-roster small,.student-profile small,.relationship-slots span,.equipment-slots small,.equipment-slots p,.disk-count small,.guild-services em{font-size:11px}.student-roster>button{width:145px;min-width:145px}.guild-recruit-preview{gap:8px;flex-wrap:wrap;font-size:11px}.guild-recruit-preview img{width:30px;height:34px}.guild-recruit-preview span{gap:5px}.guild-route p{min-width:180px}}.guild-story-access{margin-top:18px;padding-top:16px;border-top:1px solid #34404e;display:flex;gap:16px;align-items:center;justify-content:space-between;color:#aebccc;font-size:12px}.guild-story-access p{margin:0;line-height:1.7}.guild-story-access small{display:block;color:#899baa}.story-sample-status{display:flex;gap:16px;flex-wrap:wrap;align-items:center;padding:15px;background:#1b2d35;border:1px solid #405663;font-size:12px;margin:20px 0}.story-sample-status b{display:block;color:#d7e4b3;margin-top:7px}.story-sample-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.story-sample-grid article{border:1px solid #425666;background:#192633;overflow:hidden}.story-sample-grid img{width:100%;height:118px;object-fit:cover}.story-sample-grid article>div{padding:15px}.story-sample-grid small{color:#b6c99e;font-size:10px;letter-spacing:1px}.story-sample-grid h3{font-size:16px;line-height:1.5;margin:10px 0}.story-sample-grid p{font-size:12px;color:#b8c5d2;line-height:1.7;min-height:60px}.story-runtime-info{border-top:1px solid #465563;padding:18px 0;font-size:12px;color:#b8c5d2;line-height:1.8}.story-runtime-info a{color:#c6d9ab}.story-runtime-info summary{cursor:pointer;color:#e6eadb}.rift-story-mode{font-family:Arial,sans-serif!important;font-size:12px!important}dialog:has(.story-sample-grid){width:min(920px,calc(100% - 28px));max-height:90vh;overflow:auto}@media(max-width:650px){.story-sample-grid{grid-template-columns:1fr}.story-sample-grid article{display:grid;grid-template-columns:95px minmax(0,1fr)}.story-sample-grid img{height:100%;min-height:160px}.story-sample-grid h3{font-size:15px;margin:6px 0}.story-sample-grid p{min-height:0;font-size:11px}.guild-story-access{align-items:start;flex-direction:column}.rift-story-mode{max-width:80vw;font-size:10px!important}.story-sample-status{font-size:11px}}.gldlg .rift-story-mode{position:absolute;left:20px;top:20px;z-index:4;display:block;background:#111e2ddf;border:1px solid #6b8086;color:#dce7cc;padding:7px 12px;pointer-events:none;line-height:1.5}.gldlg[data-theme=rift] .box{background:#142130f2;color:#e2e8ed;border-color:#728986;border-radius:5px;box-shadow:0 12px 28px #0008}.gldlg[data-theme=rift] .who{background:#bcd68b;color:#17241d;border-radius:2px}.gldlg[data-theme=rift] .bar button,.gldlg[data-theme=rift] .next,.gldlg[data-theme=rift] .ch button{background:#233b4d;color:#e6ecdf;border-color:#739196;border-radius:3px;box-shadow:none;min-height:36px}.gldlg[data-theme=rift] .ch button:hover:not(:disabled),.gldlg[data-theme=rift] .ch button:focus-visible{background:#374e4b;border-color:#c4d88d}.gldlg[data-theme=rift] .log{background:#111e2df7;color:#dae5e8}.gldlg[data-theme=rift] .log h3,.gldlg[data-theme=rift] .log .ln b{color:#cbdda4}.gldlg[data-theme=rift] .log .ln{border-color:#455565}.gldlg[data-theme=rift] .foot{color:#b1c3cb}@media(max-width:650px){.gldlg .rift-story-mode{top:57px;left:12px;max-width:calc(100% - 24px);font-size:10px!important;padding:5px 9px}.gldlg[data-theme=rift] .bar button{padding:7px 11px}.gldlg[data-theme=rift] .box{max-height:55dvh}.gldlg[data-theme=rift] .txt{font-size:15px}.gldlg[data-theme=rift] .ch button{font-size:13px}}.sg-root{--sg-gold:#e0bd78;--sg-ink:#111722;--sg-muted:#929bac;color:#e9e8e2;min-width:0;font-family:inherit}.sg-root *{box-sizing:border-box}.sg-root button{font:inherit;cursor:pointer}.sg-root button:focus-visible{outline:2px solid #f2ce85;outline-offset:4px}.sg-root button:disabled{cursor:default}.sg-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 15px}.sg-heading>span{font-size:10px;color:var(--sg-muted);letter-spacing:2px}.sg-heading b{font-size:23px;color:var(--sg-gold);letter-spacing:0;margin-left:14px}.sg-heading b small{font-size:12px;color:var(--sg-muted)}.sg-heading p{font-size:12px;color:var(--sg-muted);margin:0}.sg-chapters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.sg-chapters button{position:relative;background:#151b26;border:1px solid #343c4a;color:#8c94a3;text-align:left;padding:12px 15px;min-width:0}.sg-chapters button>span{font-size:11px;letter-spacing:2px}.sg-chapters button>b{display:block;font-size:14px;margin:4px 0 6px;white-space:nowrap}.sg-chapters button>small{font-size:11px}.sg-chapters .is-open{color:#d8dce3}.sg-chapters .is-current{border-color:var(--sg-gold);background:linear-gradient(135deg,#393021,#1b2029);color:#f1d8a5;box-shadow:inset 0 -3px var(--sg-gold)}.sg-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0 8px;font-size:11px;color:var(--sg-muted)}.sg-tools>div{display:flex;align-items:center;gap:5px}.sg-tools button{padding:5px 10px;border:1px solid #3d4655;background:#18202d;color:#c8d1df;min-height:32px}.sg-tools output{width:45px;text-align:center;color:#d9c393}.sg-lanes{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 11px}.sg-lanes button{padding:6px 10px;border:1px solid #353e4c;color:#929eae;background:#161c27;font-size:11px}.sg-lanes button.is-current{color:#efd496;border-color:#94825b;background:#302c25}.sg-body{display:grid;grid-template-columns:minmax(0,1fr) 296px;gap:14px;align-items:stretch;min-width:0}.sg-map{height:clamp(430px,61vh,690px);overflow:auto;position:relative;min-width:0;border:1px solid #364051;background:radial-gradient(ellipse at center,#25324670,transparent 62%),radial-gradient(#46506430 1px,transparent 1px),#101620;background-size:auto,24px 24px;cursor:grab;scrollbar-color:#526074 #141b27;overscroll-behavior:contain;touch-action:none;scroll-behavior:auto}.sg-map.is-dragging{cursor:grabbing;user-select:none}.sg-surface{position:relative}.sg-world{position:absolute;left:0;top:0;transform-origin:0 0}.sg-links{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.sg-links path{stroke:#536078;stroke-width:2;fill:none;opacity:.65}.sg-links path.sg-path-owned{stroke:var(--sg-color);opacity:.62;stroke-width:3}.sg-links path.sg-path-focus{stroke:#f2c878;opacity:1;stroke-width:4}.sg-core{position:absolute;transform:translate(-50%,-50%);width:250px;height:144px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #8e794e55;background:radial-gradient(ellipse,#b7985b13,#0e152080 80%);box-shadow:0 0 0 12px #99794708,0 0 0 36px #99794704;pointer-events:none}.sg-core small{font-size:11px;letter-spacing:4px;color:#9a8359}.sg-core b{font-size:24px;margin:8px 0;color:#dfc997}.sg-core span{font-size:11px;color:#778598}.sg-branch-label{position:absolute;transform:translate(-50%,-50%);font-size:13px;font-weight:700;color:var(--sg-color);white-space:nowrap;letter-spacing:1px;pointer-events:none}.sg-node{position:absolute;transform:translate(-50%,-50%);width:72px;height:72px;padding:0;border:2px solid #535d6d;background:linear-gradient(145deg,#27313f,#111924);color:#96a0af;z-index:2;box-shadow:0 4px 12px #0006}.sg-node:hover{border-color:var(--sg-color);z-index:5}.sg-node.is-selected{border-color:#ffe0a3;box-shadow:0 0 0 5px #dfbf7230,0 0 22px #dfbf722b;color:#ffe2a5;z-index:4}.sg-node.is-ready{border-color:var(--sg-color);color:var(--sg-color);box-shadow:0 0 14px color-mix(in srgb,var(--sg-color) 20%,transparent)}.sg-node.is-owned{background:linear-gradient(145deg,#394448,#15212b);color:var(--sg-color)}.sg-node.is-max{border-color:var(--sg-color)}.sg-node.is-locked{color:#8290a3;background:#141b25;border-color:#424e60}.sg-node.sg-feature{border-radius:15px 2px}.sg-node.sg-stack:before,.sg-node.sg-stack:after{content:"";position:absolute;border:1px solid #85919c70;width:100%;height:100%;left:4px;top:4px;z-index:-1;pointer-events:none}.sg-node.sg-stack:after{left:8px;top:8px;border-color:#85919c38}.sg-node-symbol{position:absolute;inset:13px 15px 16px;display:flex;align-items:center;justify-content:center;font-size:30px}.sg-node-symbol svg{width:34px;height:34px}.sg-node-symbol .slot-node-icon{font-size:24px}.sg-node-rank{position:absolute;right:-8px;bottom:-9px;background:#121d2a;border:1px solid #657181;color:#e4d6b7;min-width:38px;padding:3px 4px;font-size:15px;font-weight:700;line-height:17px}.sg-node-rank small{font-size:11px;color:#9eabba}.sg-lock{position:absolute;right:-8px;top:-10px;font-size:22px;font-style:normal;background:#111924;line-height:23px;color:#b4bfce}.sg-node-name,.sg-node-next{position:absolute;left:50%;transform:translate(-50%);width:154px;white-space:nowrap;text-align:center;text-shadow:0 2px 4px #000,0 -1px 6px #000;pointer-events:none}.sg-node-name{top:89px;font-size:13px;color:#dce0e7;font-weight:600}.sg-node-next{top:108px;font-size:11px;color:#a6b1c1;font-weight:400}.sg-node.is-selected .sg-node-name,.sg-node.is-selected .sg-node-next{color:#f8dfb0}.sg-detail{border:1px solid #444333;background:linear-gradient(165deg,#252820,#121a25 38%);display:flex;flex-direction:column;min-width:0;max-height:clamp(430px,61vh,690px)}.sg-detail-main{padding:21px 20px 12px;overflow:auto;min-height:0;flex:1}.sg-detail-kicker{color:#a89e84;font-size:10px;letter-spacing:1px}.sg-detail-title{display:flex;align-items:center;gap:12px;margin:12px 0 18px}.sg-detail-title>svg{width:27px;height:27px;color:var(--sg-gold);flex:none}.sg-detail-title h2{font-size:20px;margin:0;line-height:1.3;color:#ecdeb9;word-break:keep-all}.sg-progress{height:23px;position:relative;border:1px solid #536065;background:#0c1420;margin-bottom:12px}.sg-progress i{position:absolute;left:0;top:0;bottom:0;background:#8f835249}.sg-progress span{position:relative;display:block;text-align:center;font-size:11px;line-height:21px;color:#d9d1b9}.sg-total{font-size:11px;color:#99a2ac;line-height:1.8;margin:0 0 12px}.sg-total b{display:block;color:#d7dccd;font-size:13px}.sg-next{background:#0d15229c;padding:12px;border-left:2px solid var(--sg-gold)}.sg-next small{display:block;font-size:10px;color:#a9a590}.sg-next strong{display:block;font-size:21px;color:#f1d39b;margin-top:3px}.sg-description{font-size:12px;line-height:1.8;color:#b1bac5}.sg-preview{font-size:11px;line-height:1.8;color:#a6c5b8;border-top:1px solid #35403f;padding-top:10px}.sg-conditions{font-size:11px;display:flex;flex-direction:column;gap:6px;margin-top:15px}.sg-conditions>b{color:#b7a787;font-weight:500}.sg-conditions button,.sg-conditions>span{border:0;background:#1c2535;color:#c0a87d;padding:7px 8px;text-align:left;line-height:1.5;font-size:11px}.sg-conditions .is-met{color:#849c8d;background:#172326}.sg-purchase{padding:14px 16px;background:#101824;border-top:1px solid #3a4351;flex-shrink:0}.sg-quantities{display:flex;gap:4px;margin-bottom:12px}.sg-quantities button{flex:1;padding:6px 0;color:#a4b1c0;border:1px solid #3e4857;background:#1b2330;font-size:10px;min-height:31px}.sg-quantities button.is-current{border-color:#d4b376;color:#f2d89b;background:#3e3425}.sg-quote{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;color:#a6afbd}.sg-quote>b{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;color:#e4c785;font-size:13px}.sg-gain{font-size:11px;margin:8px 0 0;color:#b9d4bc;line-height:1.5}.sg-stop{font-size:10px;color:#a9a38e;margin:8px 0 11px;line-height:1.5}.sg-buy{width:100%;border:1px solid #c3a66b;background:linear-gradient(#e7ca8b,#ba9455);color:#272117;padding:12px;font-weight:800;font-size:13px;min-height:44px}.sg-buy:disabled{background:#29303b;border-color:#46505e;color:#919caa}.sg-detail-toggle{display:none}.sg-footer{display:flex;gap:20px;flex-wrap:wrap;padding:15px 0 4px;color:#919dad;font-size:11px}.sg-footer b{color:#d4d9d9;margin-left:7px}.sg-footer small{margin-left:auto;color:#718196}.sg-bought{animation:sg-upgrade .85s ease-out}@keyframes sg-upgrade{0%{box-shadow:0 0 0 15px #ffd18380,0 0 55px #eac773}to{box-shadow:0 0 #ffd18300}}@media(max-width:1100px){.sg-body{grid-template-columns:minmax(0,1fr) 270px;gap:9px}.sg-chapters button{padding:10px}.sg-chapters button>b{font-size:12px}.sg-heading p{font-size:10px}.sg-detail-main{padding:16px}.sg-detail-title h2{font-size:18px}}@media(max-width:760px){.sg-heading{margin-bottom:10px}.sg-heading p{display:none}.sg-chapters{gap:4px}.sg-chapters button{padding:8px 6px}.sg-chapters button>b{font-size:10px;white-space:normal;word-break:keep-all;min-height:27px;margin:5px 0}.sg-chapters button>small{font-size:9px}.sg-body{display:flex;flex-direction:column;gap:10px}.sg-map{height:360px;min-height:360px}.sg-tools{gap:4px;margin-top:10px}.sg-help{font-size:9px}.sg-tools button{padding:4px 7px;min-height:30px;font-size:10px}.sg-tools output{font-size:10px;width:34px}.sg-lanes{gap:4px;margin-bottom:8px}.sg-lanes button{font-size:10px;padding:6px 8px}.sg-detail{max-height:none}.sg-detail-toggle{display:block;width:100%;border:0;border-bottom:1px solid #3d4856;background:#1d2836;color:#afbdcc;text-align:right;padding:8px 12px;font-size:10px}.sg-detail-main{padding:12px 14px}.sg-detail-title{margin:4px 0 9px;gap:8px}.sg-detail-title h2{font-size:18px}.sg-detail-title>svg{width:23px;height:23px}.sg-detail-kicker{font-size:9px}.sg-progress{height:20px;margin:0}.sg-progress span{line-height:18px;font-size:10px}.sg-detail:not(.is-expanded) .sg-total,.sg-detail:not(.is-expanded) .sg-next,.sg-detail:not(.is-expanded) .sg-description,.sg-detail:not(.is-expanded) .sg-preview,.sg-detail:not(.is-expanded) .sg-conditions{display:none}.sg-purchase{padding:11px 14px}.sg-quantities{margin-bottom:9px}.sg-footer{gap:10px;font-size:10px}.sg-footer small{width:100%;margin-left:0}.sg-footer b{margin-left:3px}}@media(prefers-reduced-motion:reduce){.sg-bought{animation:none;outline:3px solid #e9c786}}.sg-core{width:230px;height:74px;border:0;background:none;box-shadow:none}.sg-core b{font-size:20px;margin:6px 0}.sg-core small{font-size:9px}.sg-core span{font-size:10px}.sg-node-name,.sg-node-next{width:132px;overflow:hidden;text-overflow:ellipsis}.sg-node-name{font-size:11px}.sg-node-next{font-size:10px}.sg-links path.sg-path-guide{stroke:var(--sg-color);stroke-width:2;stroke-dasharray:5 6;opacity:.28}.sg-links path.sg-path-focus{stroke:#f7d28a;stroke-width:4;stroke-dasharray:none;opacity:1}.sg-help small{display:block;font-size:9px;color:#6f7f95;margin-top:3px}.sg-node.is-locked{border-color:color-mix(in srgb,var(--sg-color) 40%,#243044);color:color-mix(in srgb,var(--sg-color) 60%,#8391a3)}.sg-selection{display:none}.sg-chapters button{display:grid;grid-template-columns:24px minmax(0,1fr);grid-template-rows:auto auto;gap:3px 6px;padding:10px}.sg-chapters button>span{grid-row:1 / 3;align-self:center}.sg-chapters button>b{margin:0;font-size:12px}.sg-chapters button>small{grid-column:2}@media(max-width:760px){.sg-chapters button{display:block;padding:7px 6px}.sg-chapters button>b{min-height:26px;margin:4px 0;font-size:10px}.sg-selection{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 11px;margin:0 0 8px;border:1px solid #5e5948;background:#19232e;position:sticky;top:0;z-index:10;box-shadow:0 4px 10px #0007}.sg-selection b{display:block;font-size:12px;color:#edce8c}.sg-selection small{font-size:10px;color:#9fabb9;margin-left:4px}.sg-selection span{display:block;font-size:10px;color:#c5cfdb;margin-top:3px}.sg-selection button{padding:7px 9px;border:1px solid #756746;background:#302b23;color:#e6c889;font-size:10px;white-space:nowrap;min-height:34px}}@media(max-width:760px){.sg-lanes{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;min-width:0;gap:5px;padding-bottom:4px;scrollbar-width:thin;overscroll-behavior-x:contain;touch-action:pan-x}.sg-lanes button{flex:0 0 auto;white-space:nowrap;min-height:32px}}.sg-map,.sg-map *{user-select:none;-webkit-user-select:none;-webkit-user-drag:none}.sg-surface{margin-inline:auto}.sg-root .sg-node,.sg-root .sg-node:is(:hover,:active,:focus){translate:-50% -50%;transform:none;transition:background .12s,border-color .12s,box-shadow .12s}.sg-root .sg-node:active:not(:disabled){transform:none;box-shadow:inset 0 0 0 3px #ead09555}.sg-node.sg-feature{border-radius:3px}.sg-node.sg-stack:before,.sg-node.sg-stack:after{display:none}.sg-node{background:#111b28;box-shadow:none;border-width:2px}.sg-node.is-selected{box-shadow:0 0 0 3px #e7c37644}.sg-node.is-locked:not(.is-owned):not(.is-selected) .sg-node-symbol{opacity:.55}.sg-node-rank{right:-5px;bottom:-7px;border-color:#435465;min-width:36px;font-size:14px}.sg-node-name{top:79px;width:max-content;max-width:132px;padding:2px 5px;border-radius:3px;background:#101620ef;font-size:11px}.sg-node-next{display:none}.sg-root .sg-core,.sg-root .sg-core:is(:hover,:active,:focus){position:absolute;translate:-50% -50%;transform:none;width:80px;height:80px;border:2px solid #b8e777;border-radius:50%;background:#172421;box-shadow:0 0 0 6px #b8e77715;pointer-events:auto;z-index:3;display:flex;flex-direction:column;justify-content:center;gap:0;padding:0;transition:border-color .12s,background .12s}.sg-core>span{font-size:36px;line-height:35px;color:#daefb2}.sg-core>b{font-size:13px;line-height:19px;margin:0;color:#e4f3c9}.sg-core>small{position:absolute;top:87px;color:#a6b394;font-size:10px;white-space:nowrap;letter-spacing:0}.sg-links path.sg-path-guide{stroke:#536375;stroke-width:2;stroke-dasharray:none;opacity:.85;vector-effect:non-scaling-stroke}.sg-links path.sg-path-guide.is-open{stroke:#bcc4c9;opacity:.9}.sg-links path.sg-path-guide.is-owned{stroke:#a5ca86;opacity:1}.sg-links path.sg-path-focus{stroke:#eed18c;stroke-width:3;stroke-dasharray:6 4;opacity:1;vector-effect:non-scaling-stroke}.sg-heading{margin:0 0 8px;min-height:22px}.sg-heading b{font-size:17px;margin-left:0}.sg-heading p{font-size:11px}.sg-tools{margin-top:9px}.sg-help small{font-size:9px}.sg-overview .sg-node-name,.sg-overview .sg-node-next,.sg-overview .sg-lock{display:none}.sg-overview .sg-node.is-selected .sg-node-name{display:block}.sg-overview .sg-core>small{display:none}.sg-overview .sg-node{border-color:var(--sg-color);border-width:3px}.sg-overview .sg-node.is-selected{border-color:#ffe0a3}.sg-overview .sg-links path.sg-path-guide{stroke:var(--sg-color);opacity:.7}@media(max-width:760px){.sg-heading{display:none}.sg-tools{flex-wrap:wrap}.sg-tools .sg-help{width:100%}.sg-tools>div{width:100%;justify-content:flex-end}.sg-tools button{padding:5px 7px}.sg-tools button[data-sg-start]{margin-right:auto;color:#d6e7ba;border-color:#80906b}.sg-map{height:380px;min-height:380px}.sg-node-name{font-size:12px}.sg-core>b{font-size:14px}}.sg-node.is-sealed{border-style:dashed;border-color:color-mix(in srgb,var(--sg-color) 45%,#2c3747);background:#0d141dd9;color:#7f8b9b}.sg-node.is-sealed:not(.is-selected):not(:hover) .sg-node-symbol{filter:grayscale(.65) brightness(.75)}.sg-node.is-sealed:not(.is-selected):not(:hover) :is(.sg-node-name,.sg-node-rank){opacity:.72}.sg-node.is-sealed .sg-node-next{color:#8e9aab}.sg-node.is-goal{box-shadow:0 0 0 3px color-mix(in srgb,var(--sg-color) 22%,transparent),0 0 18px color-mix(in srgb,var(--sg-color) 30%,transparent)}.sg-node.is-goal.is-sealed .sg-node-next{color:color-mix(in srgb,var(--sg-color) 70%,#e4d6a8)}.sg-path-guide.is-sealed{stroke:#56657a;stroke-dasharray:3 7;opacity:.55}.sg-node.is-revealing{animation:sg-reveal .55s cubic-bezier(.2,.9,.3,1.2) var(--sg-delay,0ms) both}@keyframes sg-reveal{0%{opacity:0;transform:translate(-50%,-50%) scale(.55)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}html[data-motion=reduced] .sg-node.is-revealing{animation:sg-reveal-fade .3s ease-out both}@keyframes sg-reveal-fade{0%{opacity:0}to{opacity:1}}.sg-cluster{margin-top:16px;padding-top:12px;border-top:1px solid #b7c2ce22}.sg-cluster-head{display:flex;justify-content:space-between;gap:8px;align-items:baseline;font-size:11px;color:#a2b0bb}.sg-cluster-head b{font-weight:600;color:#d7dcca}.sg-cluster-head strong{color:#e6cf8e;font-weight:600}.sg-cluster ol{list-style:none;margin:9px 0 0;padding:0;display:grid;gap:4px}.sg-cluster li button{width:100%;display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:8px;padding:5px 8px;border:1px solid #ffffff12;border-radius:8px;background:#ffffff06;color:#c4ccd6;font-size:11.5px;text-align:left;cursor:pointer}.sg-cluster li button>:first-child{width:22px;height:22px;display:grid;place-items:center;overflow:hidden}.sg-cluster li button svg,.sg-cluster li button img{max-width:20px;max-height:20px}.sg-cluster li small{font-size:10px;color:#8d9aa8}.sg-cluster li.is-done button,.sg-cluster li.is-done small{color:#a5ca86}.sg-cluster li.is-ready small{color:#e6cf8e}.sg-cluster li.is-sealed button{border-style:dashed;color:#8391a2}.sg-cluster li.is-goal button{border-color:#e6cf8e55}.sg-cluster li.is-current button{border-color:#e6cf8e;background:#e6cf8e14;color:#f1ead4}.growth-icon{display:inline-block;flex:none;width:48px;height:48px;background-image:url(assets/ui/growth-icons-atlas-v3.webp);background-repeat:no-repeat;background-size:400% 700%;background-position:var(--growth-icon-x) var(--growth-icon-y);vertical-align:middle;pointer-events:none;image-rendering:auto}.sg-node-symbol:has(.growth-icon){inset:3px}.sg-node-symbol .growth-icon{width:100%;height:100%}.sg-detail-title>.growth-icon{width:62px;height:62px;background-color:#121b28;border:1px solid #5a584950;border-radius:4px}.sg-node.is-locked .growth-icon{filter:saturate(.65) brightness(.82)}.sg-node.is-selected .growth-icon{filter:none}.map-node .growth-icon{width:calc(100% - 4px);height:calc(100% - 4px)}.map-node.locked .growth-icon{filter:saturate(.65) brightness(.82)}.map-node.selected .growth-icon{filter:none}.detail-icon .growth-icon{width:100%;height:100%}.sg-detail-title{align-items:center}.sg-detail-title h2{font-size:19px}.growth-icon[data-growth-icon=speed],.growth-icon[data-growth-icon=xp]{clip-path:inset(0 0 18% 0)}@media(max-width:760px){.sg-detail-title>.growth-icon{width:43px;height:43px}.sg-detail-title h2{font-size:17px}}#tree-page>:not(#growth-map-host){display:none!important}#growth-map-host.gm-root{position:relative;flex:1;min-height:0;overflow:hidden;user-select:none;-webkit-user-select:none;background:radial-gradient(1px 1px at 12% 18%,#fff9 50%,transparent 51%),radial-gradient(1px 1px at 76% 32%,#fff8 50%,transparent 51%),radial-gradient(1.5px 1.5px at 38% 74%,#ffe9a088 50%,transparent 51%),radial-gradient(1px 1px at 88% 82%,#fff7 50%,transparent 51%),radial-gradient(1.5px 1.5px at 22% 56%,#ffe9a070 50%,transparent 51%),radial-gradient(1px 1px at 58% 12%,#fff6 50%,transparent 51%),radial-gradient(ellipse at 50% 46%,#18243a,#0b1019 72%);background-size:360px 300px,420px 340px,380px 360px,300px 280px,460px 380px,340px 320px,100% 100%}.gm-head{position:absolute;left:22px;top:14px;z-index:3;display:flex;align-items:baseline;gap:14px;pointer-events:none}.gm-head h1{margin:0;font-size:24px;letter-spacing:1px;color:#eef3f8}.gm-count{font-size:12px;color:#93a4b6}.gm-count b{color:#e7d08e;font-size:14px}.gm-count b.is-ready{color:var(--rl-lime,#bbef68)}.gm-map{position:absolute;inset:0;cursor:grab;touch-action:none;outline:none}.gm-map:active{cursor:grabbing}.gm-world{position:absolute;left:0;top:0;width:0;height:0;transform-origin:0 0;will-change:transform}.gm-links{position:absolute;overflow:visible;pointer-events:none}.gm-links line{stroke:#ffffff38;stroke-width:3;stroke-linecap:round}.gm-links line.is-lit{stroke:#eaf2ff;stroke-width:3.5}.gm-node{position:absolute;width:64px;height:64px;margin:-32px 0 0 -32px;padding:0;display:grid;place-items:center;border:3px solid #5d6672;border-radius:9px;background:#121822;box-shadow:0 4px 14px #0008;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .12s}#growth-map-host .gm-node:active{transform:none}#growth-map-host .gm-node:is(:hover,:focus-visible){transform:scale(1.08);outline:none;z-index:2}.gm-node:before{content:"";position:absolute;inset:-10px}.gm-icon{display:grid;place-items:center;width:48px;height:48px;pointer-events:none}.gm-icon .growth-icon{width:48px;height:48px}.gm-node .gm-icon{filter:grayscale(.85) brightness(.75);opacity:.8}.gm-node.is-bought .gm-icon,.gm-node.is-ready .gm-icon,.gm-node.is-max .gm-icon,.gm-node.is-center .gm-icon{filter:none;opacity:1}.gm-node.is-bought{border-color:#6ff25a;box-shadow:0 0 14px #6ff25a55,0 4px 14px #0008}.gm-node.is-ready{border-color:#dfe8f2;animation:gm-ready 1.6s ease-in-out infinite}.gm-node.is-bought.is-ready{border-color:#6ff25a}.gm-node.is-max{border-color:#f2c75c;box-shadow:0 0 14px #f2c75c55,0 4px 14px #0008}.gm-node.is-locked{border-style:dashed;border-color:#4a5260;background:#0d1219}.gm-node.is-locked .gm-icon{filter:grayscale(1) brightness(.5)}.gm-node.is-center{width:76px;height:76px;margin:-38px 0 0 -38px;border-radius:50%;border-color:#6ff25a;background:#13241a}.gm-node.is-selected{outline:3px solid #ffffffb0;outline-offset:3px}.gm-lv{position:absolute;right:-8px;bottom:-9px;min-width:30px;padding:1px 5px;border-radius:8px;background:#0b1019;border:1px solid #ffffff30;color:#cfd8e2;font-size:11px;font-weight:800;line-height:15px;pointer-events:none}.gm-node.is-bought .gm-lv{color:#b7ffa8;border-color:#6ff25a80}.gm-node.is-max .gm-lv{color:#ffe08a;border-color:#f2c75c80}.gm-lock{position:absolute;right:-7px;top:-8px;width:18px;height:18px;border-radius:50%;background:#0b1019 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23aeb8c4' d='M4.5 7V5.2a3.5 3.5 0 0 1 7 0V7H12v7H4V7Zm1.6 0h3.8V5.2a1.9 1.9 0 0 0-3.8 0Z'/%3E%3C/svg%3E") center/12px no-repeat;border:1px solid #ffffff30}.gm-node.is-new{animation:gm-appear .7s cubic-bezier(.2,1.4,.4,1) both}.gm-node.is-pop{animation:gm-pop .38s ease-out}.gm-node.is-denied{animation:gm-deny .32s}@keyframes gm-ready{0%,to{box-shadow:0 0 #bbef6800,0 4px 14px #0008}50%{box-shadow:0 0 16px #bbef68aa,0 4px 14px #0008}}@keyframes gm-appear{0%{opacity:0;transform:scale(.3)}to{opacity:1;transform:none}}@keyframes gm-pop{0%{transform:scale(1)}40%{transform:scale(1.22)}to{transform:scale(1)}}@keyframes gm-deny{0%,to{transform:none}25%{transform:translate(-5px)}75%{transform:translate(5px)}}.gm-card{position:absolute;z-index:6;width:250px;padding:12px 13px;border:1px solid #ffffff2a;border-radius:12px;background:#0b1422f2;box-shadow:0 14px 34px #000b;color:#e6edf5;pointer-events:none}.gm-card[hidden]{display:none}.gm-card header{display:flex;align-items:center;gap:10px}.gm-card-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:8px;background:#121b28}.gm-card-icon .growth-icon{width:34px;height:34px}.gm-card header div{display:flex;flex-direction:column;min-width:0;flex:1}.gm-card header b{font-size:16px;line-height:1.2}.gm-card header small{font-size:11px;color:#93a4b6}.gm-effect{margin:9px 0 0;font-size:13px;line-height:1.45;color:#d6dfe8}.gm-effect b{color:#bbef68}.gm-preview{margin:6px 0 0;font-size:12px;line-height:1.4;color:#f3d98f}.gm-card footer{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-top:10px}.gm-cost{display:inline-flex;align-items:center;gap:5px;font-size:15px;font-weight:800;color:#f2e6c2}.gm-cost i{display:inline-grid;width:18px;height:18px;font-style:normal}.gm-cost i :is(img,svg){width:18px;height:18px}.gm-cost.is-short{color:#ff8a8a}.gm-hint{margin-left:auto;font-size:11px;color:#bbef68}.gm-reason{flex-basis:100%;font-size:11px;color:#ffb38a}.gm-buy{margin-left:auto;min-height:40px;padding:6px 18px;font-size:15px}.gm-close{margin-left:auto;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:#ffffff12;color:#dfe7ef;font-size:20px;line-height:1}.gm-card.is-docked{inset:auto 16px 84px auto;width:270px;pointer-events:auto}.gm-launch{position:absolute;right:20px;bottom:18px;z-index:4;display:flex;align-items:center;gap:10px;height:54px;padding:0 24px;border-radius:14px;border:1px solid var(--rl-blue-line,#86a9f2);background:linear-gradient(135deg,var(--rl-blue,#4a7fe6),var(--rl-blue-deep,#355fc4));color:#fff;font-size:19px;font-weight:900;box-shadow:0 6px 18px #1d3f8a55,inset 0 1px #fff3;cursor:pointer}.gm-launch:hover{filter:brightness(1.08)}@media(max-width:700px){.gm-head{left:14px;top:58px;gap:10px}.gm-head h1{font-size:18px}.gm-count{font-size:11px}.gm-node{width:56px;height:56px;margin:-28px 0 0 -28px}.gm-icon,.gm-icon .growth-icon{width:42px;height:42px}.gm-card.is-docked{left:10px;right:10px;bottom:70px;width:auto;padding:10px 12px}.gm-card.is-docked .gm-effect{margin-top:6px;font-size:12px}.gm-card.is-docked .gm-card-icon{width:32px;height:32px}.gm-launch{right:10px;bottom:10px;height:48px;padding:0 18px;font-size:16px}}@media(prefers-reduced-motion:reduce){.gm-node,.gm-node.is-ready,.gm-node.is-new,.gm-node.is-pop,.gm-node.is-denied{animation:none;transition:none}}html[data-motion=reduced] .gm-node{animation:none!important;transition:none!important}.battle-result.is-simple{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;padding-top:6px}.battle-result.is-simple .result-heading{display:flex;flex-direction:column;align-items:center;gap:4px}.battle-result.is-simple .dialog-title{font-size:clamp(38px,6vw,56px);line-height:1.05;margin:2px 0 0;letter-spacing:2px}.battle-result.is-simple.is-defeat .dialog-title{color:#f3f6fa}.battle-result.is-simple.is-victory .dialog-title{color:#ffe08a}.battle-result.is-simple .result-loot{justify-content:center}.battle-result.is-simple .result-notes:empty{display:none}.result-main-actions{display:grid;grid-template-columns:1fr;gap:10px;width:min(360px,100%)}.result-main-actions>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:64px;padding:8px 16px;border-radius:12px;color:#fff;cursor:pointer;border:1px solid #ffffff3a;box-shadow:0 6px 16px #0006,inset 0 1px #ffffff2a}.result-main-actions>button b{font-size:22px;font-weight:900;letter-spacing:1px}.result-main-actions>button small{font-size:11px;opacity:.85}.result-main-actions .result-grow{background:linear-gradient(135deg,#2c4c86,#1d335d)}.result-main-actions .result-go{background:linear-gradient(135deg,#7a2638,#561a29)}.battle-result.is-victory .result-main-actions .result-go{background:linear-gradient(135deg,var(--rl-blue,#4a7fe6),var(--rl-blue-deep,#355fc4))}.result-main-actions>button:hover{filter:brightness(1.1)}.battle-result.is-simple .result-analysis{width:min(420px,100%);font-size:12px;color:#9fb0c1}.battle-result.is-simple .result-analysis summary{cursor:pointer}.battle-result.is-simple .result-navigation{display:flex;gap:8px;justify-content:center}.battle-result.is-simple .result-navigation button{min-height:34px;padding:4px 14px;font-size:12px;background:none;border:1px solid #ffffff26;border-radius:8px;color:#c4d0dc;box-shadow:none}.timeline .turn-token.enemy{background:radial-gradient(circle at 50% 35%,#743837,#241721);overflow:visible}.timeline .turn-token .enemy-portrait{display:block;width:100%;height:100%;object-fit:contain;padding:1px;filter:drop-shadow(0 1px 1px #000)}.timeline .turn-token.turn-boss{border-color:#e4b86c;background:radial-gradient(circle,#64382c,#2d1716)}.timeline .turn-token.turn-elite{border-color:#c68ccf;background:radial-gradient(circle,#482844,#271825)}.turn-enemy-badge{position:absolute;left:-4px;top:-6px;min-width:11px;height:11px;padding:0 2px;display:grid;place-items:center;border:1px solid #cfb387;background:#35281d;color:#f2d194;font:800 7px/1 var(--pixel);font-style:normal;z-index:2}.turn-rally .turn-enemy-badge{background:#163839;border-color:#78cac3;color:#b2fff1;font-size:10px}.turn-priority .turn-enemy-badge{background:#7b3027;border-color:#ffae7c;color:#fff0cf}.timeline .turn-token.turn-priority{box-shadow:0 0 0 1px #ffbf80,0 0 9px #ffae7d60}.endless-battle{overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}.endless-battle .squad,.endless-battle .squad-bar{flex-shrink:0}.endless-battle .hunt-progress{display:none}.endless-battle .field-hud .run-loot{margin-top:8px}.endless-rule-link{border:0;background:none;box-shadow:none;padding:1px 3px;font:inherit;color:#cdb6ea;text-decoration:underline;text-underline-offset:3px}.endless-rule-link:hover{color:#fff}.record-build{font-size:10px;color:#b0a2c7;margin-top:8px;max-width:500px}.record-build summary{cursor:pointer}.record-build p{color:#b7c8d2;line-height:1.7;margin:8px 0 0}.relic-connection{display:block;margin:0 0 8px;padding:7px 8px;border-left:2px solid #8caf7b;background:#29413355;color:#bad5ad;font-size:10px;line-height:1.6}.result-relics .relic-unused{background:#18202a;border-color:#354253;color:#8694a3}.result-relics .relic-unused b{color:#ad8a7e}.endless-hud .run-loot{margin:0;font-size:10px;grid-column:1/-1}.endless-hud .run-loot b{color:#e6cb90}.endless-hud .run-loot .run-coins{white-space:nowrap}.endless-clock-track>span.pack-stop{background:#d4b875;height:9px;top:-3px}.endless-boss-intel{flex-shrink:0}.endless-boss-intel .boss-hud{position:static;transform:none;width:auto;max-width:none;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 15px;padding:9px 22px;border:0;border-bottom:1px solid #544b5c;box-shadow:none;background:#131d2d}.endless-boss-intel .boss-hud>div:first-child{grid-column:1/-1;font-size:11px}.endless-boss-intel .boss-bar{grid-column:1/-1;margin:0;height:5px}.endless-boss-intel .boss-affinity{grid-column:1;grid-row:3;justify-content:flex-start;gap:20px}.endless-boss-intel .boss-hud>small{grid-column:1;grid-row:4;font-size:10px;line-height:1.5}.endless-boss-intel .enemy-intel-link{position:static;inset:auto;transform:none;grid-column:2;grid-row:3/5;align-self:center;margin:0;padding:7px 12px}.endless-boss-intel .boss-hud.danger{background:#251c26;border-bottom-color:#8d594e}.endless-hud{display:flex;align-items:center;gap:22px;flex-shrink:0;background:linear-gradient(105deg,#141628,#171629 50%,#111f28);border-bottom:1px solid #6c5d82;padding:10px 22px;min-height:77px}.endless-score{min-width:125px;display:grid}.endless-score>span{font-size:9px;color:#baa6d9;letter-spacing:3px}.endless-score strong{font:800 30px/1.05 var(--pixel);color:#f1dfac;font-variant-numeric:tabular-nums}.endless-score small{font-size:9px;color:#a397ad;margin-top:3px}.endless-clock{flex:1;max-width:350px}.endless-clock>div:first-child{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:13px}.endless-clock strong span{color:#8c94a7}.endless-clock b{color:#dfbfff;font-variant-numeric:tabular-nums}.endless-clock small{font-size:9px;color:#aaa8bb}.endless-clock-track{height:6px;position:relative;background:#080d15;margin:7px 0 4px;border:1px solid #504362}.endless-clock-track i{display:block;height:100%;background:linear-gradient(90deg,#af96d7,#d4b7ec);transition:width .2s}.endless-clock-track>span{position:absolute;top:-2px;height:8px;width:1px;background:#070e19}.endless-run-stats{display:grid;grid-template-columns:1fr 1fr;gap:5px 12px;font-size:10px;color:#97a8b6}.endless-run-stats b{color:#e0ebf0;font-size:13px}.endless-run-stats small{font-size:10px}.endless-run-stats .run-coins{grid-column:1/-1;color:#e1cc8b}.endless-run-stats .run-coins b{color:inherit}.endless-relic-button{margin-left:auto;white-space:nowrap;padding:10px 12px;color:#ddd0ee;border:1px solid #786388;background:#2a2137;font-size:11px;min-height:40px}.endless-stage-card{display:flex;align-items:center;gap:22px;width:100%;text-align:left;position:relative;overflow:hidden;margin-top:18px;padding:22px;border:1px solid #5c526d;background:radial-gradient(ellipse at 4% 50%,#46325866,transparent 65%),#10131f;color:#ddd9e6}.endless-stage-card.unlocked:hover{border-color:#d1b2ed;background-color:#1e192b}.endless-stage-card.selected{border-color:#f2d995}.endless-stage-card.locked{opacity:.7}.endless-gate-symbol{font:80px/1 var(--pixel);color:#bea2e2;text-shadow:0 0 30px #a580ea55}.endless-stage-card h3{font-size:22px;margin:4px 0 6px;color:#f0e2fc}.endless-stage-card p{font-size:12px;color:#acaac0;line-height:1.6;margin:0 0 10px}.endless-stage-card b{font-size:12px;color:#e9ce92}.endless-rules{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.endless-rules span{font-size:10px;border:1px solid #4a405c;padding:3px 8px;color:#c0b0d7}dialog:has(.relic-shop){width:min(1040px,calc(100% - 36px));max-height:90dvh;padding:28px 30px}.relic-shop-title{display:flex;justify-content:space-between;align-items:center;gap:20px}.relic-shop-title .dialog-title{margin-bottom:9px}.relic-shop-title .dialog-description{margin-bottom:18px}.relic-wallet{flex-shrink:0;text-align:right;padding:12px 16px;border:1px solid #605136;background:#241f19}.relic-wallet small{display:block;font-size:10px;color:#b9a878}.relic-wallet strong{display:block;font-size:26px;color:#f4dfa1;margin-top:4px;font-variant-numeric:tabular-nums}.relic-offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.relic-card{display:flex;flex-direction:column;position:relative;isolation:isolate;padding:20px 16px 14px;border:1px solid #7a6a82;background:radial-gradient(ellipse at 50% 12%,#4b355647,transparent 65%),linear-gradient(#171c2b,#111824);box-shadow:inset 0 0 0 4px #10151f,0 5px 15px #0004}.relic-card:before{content:"";position:absolute;inset:7px;border:1px solid #7c668528;z-index:-1;pointer-events:none}.relic-emblem{display:grid;place-items:center;width:58px;height:58px;border:1px solid #a58bb7;background:#272337;color:#edd4ff;font-size:30px;box-shadow:0 0 30px #ad8bb314;margin:0 auto 18px;transform:rotate(5deg)}.relic-tag{font-size:9px;letter-spacing:2px;color:#baacc7}.relic-card h3,.owned-relic-list h3{font-size:18px;margin:6px 0 10px;color:#eee2f7}.relic-card p{font-size:12px;line-height:1.8;color:#c0c8d5;flex:1;margin:0 0 22px}.relic-card footer{display:flex;align-items:center;gap:8px;justify-content:space-between;border-top:1px solid #4a3d503d;padding-top:12px}.relic-price{font-size:18px;color:#e4cb8c}.relic-card footer button{font-size:12px;padding:9px 15px;min-height:40px}.relic-card.owned{border-color:#80985b;background:linear-gradient(#1b2828,#16201d)}.relic-card.owned .relic-emblem{border-color:#a2c778;color:#cae39f}.relic-card.owned button{color:#b5d090}.relic-card button:disabled{opacity:.62}.shop-owned{margin:18px 0 4px;padding:13px;border:1px solid #39434e;background:#0a111a}.shop-owned>b{font-size:10px;color:#859baa;display:block;margin-bottom:8px}.shop-owned>div,.result-relics{display:flex;flex-wrap:wrap;gap:6px}.shop-owned span,.result-relics>span{font-size:10px;padding:5px 9px;color:#c9bcdc;background:#252135;border:1px solid #574565}.relic-shop-footer{display:flex;align-items:center;gap:22px;justify-content:space-between;margin-top:20px}.relic-shop-footer p{color:#8595a5;font-size:11px;line-height:1.8;max-width:450px;margin:0}.relic-shop-footer button{font-size:13px;white-space:nowrap;padding:13px 18px}.owned-relic-list{display:grid;gap:12px}.owned-relic-list article{display:flex;gap:16px;padding:16px;background:#101825;border:1px solid #394151}.owned-relic-list .relic-emblem{flex-shrink:0;margin:10px 0 0;width:42px;height:42px;font-size:24px}.owned-relic-list h3{font-size:15px}.owned-relic-list p{font-size:12px;line-height:1.7;color:#b4c1d1}.owned-relic-list b{font-size:11px;color:#d0b7ee}.endless-result-score{text-align:center;margin:22px 0;padding:22px;border-block:1px solid #63516e;background:radial-gradient(ellipse,#30243d77,transparent)}.endless-result-score>*{display:block}.endless-result-score small{letter-spacing:4px;color:#c2a5d8;font-size:10px}.endless-result-score strong{font:800 58px var(--pixel);color:#f3dda1;margin:8px 0}.endless-result-score span{color:#8da0b5;font-size:11px}.endless-result-party{display:flex;gap:10px;margin:20px 0}.endless-result-party>span{display:flex;align-items:center;gap:6px;border:1px solid #364452;background:#111b29;padding:4px 9px 4px 3px;font-size:11px}.endless-result-party img{height:34px;width:30px;object-fit:cover;object-position:50% 25%}.result-relics b{font-size:9px;color:#91a6bf;margin-left:4px}.endless-records{margin-bottom:25px;border:1px solid #64526e;padding:22px;background:linear-gradient(125deg,#211b2c55,#0d1722)}.endless-records header{display:flex;align-items:center;justify-content:space-between;gap:15px}.endless-records h2{font-size:20px;margin:6px 0}.endless-records header>strong{font-size:28px;color:#efcf8a;text-align:right}.endless-records header>strong small{font-size:9px;display:block;color:#9d8cb3;letter-spacing:2px}.endless-records>p{font-size:11px;color:#8da1b3;line-height:1.8}.endless-record-list article{display:flex;align-items:center;gap:18px;padding:13px 4px;border-top:1px solid #354355}.record-rank{color:#84689b;font:20px var(--pixel)}.endless-record-list article>strong{min-width:105px;color:#e3d397;font:18px var(--pixel)}.endless-record-list small{display:block;font:10px var(--pixel);color:#8297a9;margin-top:5px}.endless-record-list article>div b{font-size:11px;color:#c6d6e3}.endless-empty{border-top:1px solid #344253;padding:20px 0 0;color:#91889c;font-size:12px}.boss-loot-progress{border-top:1px solid #ffffff18;margin-top:5px;padding-top:5px;font-size:9px;color:#d8c193;line-height:1.5}.boss-loot-progress b{color:#e6d69b}.boss-reward-note{padding:10px 12px;border:1px solid #5b5335;background:#26231677;color:#d5c699;font-size:11px;line-height:1.7;margin:12px 0}#stacked-growth-host{min-height:0;flex:1;overflow:auto;padding:14px 18px;scrollbar-width:thin}.tree-layout.hidden,.tree-bottom.hidden{display:none}.relic-cause b{font-size:14px}.relic-cause small{color:#d3b0ed}.endless-info-note{margin-top:10px;border-left:2px solid #b49acd;padding:8px 12px;background:#251c3055;font-size:12px;line-height:1.8;color:#baaacc}@media(max-width:1100px){.endless-hud{gap:14px;padding:9px 13px}.endless-score{min-width:100px}.endless-score strong{font-size:25px}.endless-clock{max-width:none}.endless-run-stats{gap:4px 9px}.endless-relic-button{font-size:10px;padding:8px}.relic-card{padding:17px 12px 12px}}@media(max-width:760px){.endless-hud{display:grid;grid-template-columns:85px minmax(0,1fr) 85px;gap:7px 10px;min-height:100px;padding:9px 11px}.endless-score{grid-row:1;min-width:0}.endless-score strong{font-size:23px}.endless-score>span{font-size:8px}.endless-score small{display:none}.endless-clock{grid-column:2/-1}.endless-clock>div:first-child{font-size:11px}.endless-clock small{font-size:8px}.endless-run-stats{grid-row:2;grid-column:1/3;display:flex;gap:13px;align-items:center}.endless-run-stats span{font-size:9px}.endless-run-stats b{font-size:12px}.endless-relic-button{grid-column:3;grid-row:2;font-size:8px;min-height:27px;padding:6px;width:100%;margin:0}.endless-stage-card{padding:16px 12px;gap:12px}.endless-gate-symbol{font-size:49px}.endless-stage-card h3{font-size:18px}.endless-stage-card p{font-size:10px}.endless-stage-card .dialog-overline{font-size:8px;letter-spacing:1px}.endless-rules span{font-size:8px;padding:3px 5px}.endless-stage-card b{font-size:10px}dialog:has(.relic-shop){width:calc(100% - 18px);padding:25px 15px;max-height:94dvh}.relic-shop-title{gap:10px;align-items:flex-start}.relic-shop-title .dialog-title{font-size:20px}.relic-shop-title .dialog-description{font-size:10px}.relic-wallet{padding:8px;min-width:62px}.relic-wallet strong{font-size:19px}.relic-wallet small{font-size:8px}.relic-offers{grid-template-columns:1fr;gap:10px}.relic-card{padding:15px 14px 12px 83px;min-height:170px}.relic-card .relic-emblem{position:absolute;left:15px;top:25px;width:48px;height:48px;font-size:27px}.relic-card h3{font-size:16px;margin:4px 0 7px}.relic-card p{font-size:11px;line-height:1.7;margin-bottom:12px}.relic-card footer{padding-top:8px}.relic-card footer button{font-size:11px;padding:8px 12px;min-height:34px}.relic-price{font-size:16px}.relic-shop-footer{display:block;margin-top:14px}.relic-shop-footer p{font-size:10px;margin-bottom:12px}.relic-shop-footer button{width:100%;min-height:45px;font-size:12px}.shop-owned{margin-top:12px}.shop-owned span{font-size:9px}.endless-result-score strong{font-size:44px}.endless-result-party{gap:6px;flex-wrap:wrap}.endless-result-party>span{padding-right:5px;font-size:10px}.endless-records{padding:15px 12px}.endless-records h2{font-size:15px}.endless-records .dialog-overline{font-size:8px;letter-spacing:1px}.endless-records header>strong{font-size:23px}.endless-records>p{font-size:10px}.endless-record-list article{gap:10px;flex-wrap:wrap}.endless-record-list article>strong{min-width:90px}.endless-record-list article>div{flex:1;min-width:130px}.boss-loot-progress{font-size:8px}.endless-info-note{font-size:10px}.relic-cause b{font-size:12px}}@media(max-width:760px){.relic-shop-footer{position:sticky;bottom:-25px;z-index:3;margin:14px -15px -25px;padding:10px 15px 15px;background:#101927f5;border-top:1px solid #53617a;box-shadow:0 -10px 20px #03071166}.relic-shop-footer p{font-size:9px;line-height:1.5;margin-bottom:8px}.relic-connection{font-size:9px}}@media(max-width:760px){.endless-boss-intel .boss-hud{padding:8px 12px;gap:3px 8px}.endless-boss-intel .boss-hud>div:first-child{font-size:9px}.endless-boss-intel .boss-affinity{gap:8px;font-size:8px}.endless-boss-intel .boss-hud>small{font-size:8px}.endless-boss-intel .enemy-intel-link{font-size:8px;padding:6px}.endless-boss-intel .boss-affinity b{font-size:8px}}html:has(body:is([data-screen=guild],[data-screen=students],[data-screen=memorial])),body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]){background:#e9eff2;color-scheme:light}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .game-cabinet{border:1px solid #e4edf5;box-shadow:0 18px 70px #698ca52b;background:#edf3f6;border-radius:16px;overflow:hidden}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .game-cabinet:after{display:none}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .game-header{background:#f8fbffef;border-bottom:1px solid #dce8f0;color:#354860}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .brand b{color:#368cc3}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .brand-mark{color:#409bce}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .currency small{color:#667c90}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .currency b{color:#30485f}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .currency .symbol{color:#b18534}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .currency.gems .symbol{color:#a16aae}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .currency.points .symbol{color:#448889}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .utility button{border:1px solid #cfdfeb;background:#fff9;color:#668097;border-radius:10px;box-shadow:none}body[data-screen=guild] #guild-page.active{display:block;overflow:auto;background:#edece6}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) button:focus-visible{outline:3px solid #2482b2;outline-offset:4px}.campus-lobby{isolation:isolate;position:relative;min-height:620px;height:100%;overflow:hidden;color:#334b62}.campus-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 43%;z-index:-3}.campus-daylight{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#fffaf0e0,transparent 42%,#f4faff18 77%,#eef8ffa6),linear-gradient(0deg,#f0f7ffbc,transparent 22%)}.lobby-heading{position:absolute;left:42px;top:34px;z-index:2}.lobby-kicker{font-size:11px;letter-spacing:3px;font-weight:700;color:#6c8b99}.lobby-heading h1{font-size:40px;letter-spacing:-1.6px;color:#284c69;font-weight:800;margin:5px 0 10px;line-height:1.3}.lobby-heading h1 span{font:500 13px Georgia,serif;letter-spacing:1.5px;margin-left:14px;color:#65869a}.lobby-heading p{font-size:13px;color:#637b86;letter-spacing:.2px}.lobby-illustration{position:absolute;left:38%;right:20%;height:126%;top:1%;pointer-events:none}.lobby-illustration>img{display:block;width:100%;height:100%;object-fit:contain;object-position:50% 0;filter:drop-shadow(10px 12px 12px #4b658730)}.lobby-nameplate{position:absolute;top:66%;left:5%;display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:25px;min-width:230px;padding:14px 22px;background:#fffdf3e8;border-radius:4px 20px 20px 4px;border-left:4px solid #81b0cf;box-shadow:0 4px 24px #51718a14;transform:rotate(-2deg)}.lobby-nameplate>span{font:700 9px sans-serif;letter-spacing:2px;color:#829fae;grid-column:1/-1}.lobby-nameplate b{font-size:26px;color:#345976;letter-spacing:2px}.lobby-nameplate i{font-size:11px;font-style:normal;color:#71868c}.lobby-character-change{position:absolute;top:30px;right:30px;z-index:3;border:1px solid #fff;background:#ffffffdf;color:#58778e;border-radius:30px;font-size:12px;padding:9px 15px;box-shadow:0 2px 12px #60839b15;display:flex;align-items:center;gap:7px}.lobby-character-change span{font-size:20px;color:#c3809c}.lobby-character-change:hover:not(:disabled){background:#fff5f9;border-color:#e3baca}.lobby-notice{position:absolute;left:42px;top:210px;width:275px;background:#fffdf5e8;border:1px solid #fff;border-radius:5px 22px 22px;padding:20px;box-shadow:0 8px 30px #526d7912}.lobby-notice:before{content:"";position:absolute;left:22px;top:-9px;width:62px;height:17px;background:#abcbd4a6;transform:rotate(-5deg)}.lobby-notice-title{position:relative}.lobby-notice-title>span{font:700 9px sans-serif;letter-spacing:2px;color:#8b9a9c}.lobby-notice h2{font-size:19px;margin:6px 0 19px;color:#426171}.lobby-notice-title>b{position:absolute;right:0;bottom:0;font-size:24px;font-weight:600;color:#658ba1}.lobby-notice-title>b small{display:block;font-size:10px;font-weight:400;color:#71848e}.lobby-progress{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding-top:15px;border-top:1px dashed #cedadd;font-size:12px;color:#647b88}.lobby-progress strong{color:#426983;font-size:15px}.lobby-progress strong small{font-size:11px;font-weight:400}.lobby-progress-dots{display:flex;width:100%;gap:6px}.lobby-progress-dots i{height:4px;background:#e0e8e9;flex:1;border-radius:5px}.lobby-progress-dots i.cleared{background:#8db3bb}.lobby-next-friends{margin-top:20px}.lobby-next-friends>p{font-size:11px;color:#7a8e96;margin-bottom:10px}.lobby-next-friends>div{display:flex;gap:10px}.lobby-next-friends span{text-align:center}.lobby-next-friends img{width:44px;height:44px;object-fit:cover;border:2px solid #fff;border-radius:50%;background:#d9e2e6;box-shadow:0 2px 5px #44668115}.lobby-next-friends small{display:block;font-size:10px;margin-top:4px;color:#677e8c}.lobby-completed{font-size:12px;margin:20px 0;line-height:1.8}.lobby-story-link{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;border:0;border-top:1px dashed #cedadd;border-radius:0;background:none;margin-top:17px;padding:14px 0 0;box-shadow:none;color:#57788d;font-size:12px}.lobby-story-link small{display:block;font-size:10px;color:#85959c;margin-top:4px}.lobby-story-link>b{font-size:20px}.lobby-story-link:hover:not(:disabled){background:none;color:#2584af;border-color:#a1c1cd}.lobby-departure{position:absolute;right:30px;bottom:66px;width:278px;padding:21px 22px 18px;border:1px solid #fff;border-radius:24px;background:#f8fcffe8;box-shadow:0 8px 30px #456b821b}.lobby-departure-meta{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#7f98a7;letter-spacing:.7px}.lobby-departure-meta button{border:0;padding:3px;background:none;box-shadow:none;font-size:11px;color:#567b96}.lobby-departure h2{font-size:20px;font-weight:700;margin:12px 0;color:#395f7e;letter-spacing:-.5px}.lobby-departure h2 small{display:block;font-size:10px;font-weight:500;letter-spacing:2px;color:#98a5a8;margin-bottom:6px}.lobby-departure p{font-size:11px;line-height:1.8;color:#7a8e99;word-break:keep-all}.lobby-depart-button{display:flex;gap:10px;align-items:center;justify-content:center;border:1px solid #6ca3c6;border-radius:15px;background:linear-gradient(110deg,#649cbc,#4e87a9);color:#fff;padding:12px 10px;margin-top:16px;width:100%;box-shadow:0 4px #396d8a36;font-size:16px;font-weight:700;text-align:left}.lobby-depart-button img{width:44px;height:44px;object-fit:contain;filter:drop-shadow(0 1px 2px #23476555)}.lobby-depart-button small{display:block;font-size:9px;margin-top:3px;font-weight:400;color:#e2f3fa}.lobby-depart-button>b{font-size:20px;margin-left:auto}.lobby-depart-button:hover:not(:disabled){background:#4288ae;border-color:#a6def2}.lobby-location{position:absolute;bottom:22px;left:42px;display:flex;align-items:center;gap:8px;font-size:10px;color:#648492;letter-spacing:1px}.lobby-location>span{width:5px;height:5px;border-radius:50%;background:#89acb2}.lobby-location i{font-style:normal}.game-footer{height:80px;min-height:80px;padding:0 24px;gap:14px;flex-shrink:0}.game-footer nav{display:flex;gap:14px;flex:1;justify-content:center;align-items:stretch}.game-footer .nav-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:72px;max-width:130px;flex:1;height:74px;min-height:0;padding:5px 8px;border:0;border-radius:12px;box-shadow:none;background:none;color:#a9becc;line-height:1.2}.nav-art{display:flex;align-items:center;justify-content:center;width:45px;height:43px;position:relative}.nav-art img{width:42px;height:42px;object-fit:contain;filter:drop-shadow(0 2px 2px #34516f22)}.nav-art svg{width:30px;height:30px;color:#8eb9d3;filter:drop-shadow(0 2px 1px #18202a55)}.nav-label{font-size:11px;font-weight:600}.game-footer .nav-item.active{background:#293d4a;color:#e3f3ff;box-shadow:inset 0 -3px #7cbbdf}.game-footer .nav-item:hover:not(:disabled){background:#2d4554}.game-footer .nav-item:active{transform:translateY(1px)}.game-footer #upgrade-dot{position:absolute;top:10px;right:24%;width:6px;height:6px;background:#e7b95a;border:1px solid #fff;border-radius:50%}.best-record{display:none}#save-indicator{font-size:10px;max-width:110px;text-align:right}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .game-footer{height:96px;min-height:96px;background:#f8fbffef;border-top:1px solid #fff;box-shadow:0 -6px 22px #51718a0a;color:#698598}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .game-footer .nav-item{height:87px;color:#7290a3}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .nav-art{width:50px;height:49px}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .nav-art img{width:49px;height:49px}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .nav-art svg{color:#639bbd;filter:none}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .game-footer .nav-item.active{background:linear-gradient(#eef8ff,#dceef8);color:#397eaa;box-shadow:inset 0 -3px #80b7d2}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .game-footer .nav-item:hover{background:#e4f1f9}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) #save-indicator{color:#91a3ad}.lobby-student-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}.lobby-student-picker>button{background:#fff;border:1px solid #dfebf2;border-radius:16px;color:#557589;box-shadow:0 3px 8px #5a80a00c;padding:12px}.lobby-student-picker img{display:block;width:76px;height:76px;border-radius:50%;object-fit:cover;margin:0 auto 10px;background:#f0f5f8}.lobby-student-picker b{display:block;font-size:14px}.lobby-student-picker small{display:block;font-size:10px;margin-top:5px}.lobby-student-picker button[aria-pressed=true]{background:#e5f3ff;border:2px solid #69a6cd;padding:11px}.lobby-student-picker>button:disabled{background:#f0f2f4;color:#91a0aa;border-color:#e4e9ed}.lobby-student-picker>button:disabled img{filter:grayscale(.9);opacity:.5}.lobby-student-picker>button:hover:not(:disabled){background:#eaf7ff;border-color:#8fbdd6}dialog:has(.lobby-student-picker){background:#f6faff;color:#406078;border:1px solid #dce9f0;border-radius:22px;width:min(750px,calc(100% - 28px));max-height:90dvh;overflow:auto;box-shadow:0 12px 60px #203f6840}dialog:has(.lobby-student-picker) .dialog-overline{color:#819fb5}dialog:has(.lobby-student-picker) .dialog-description{color:#7e92a0}dialog:has(.lobby-student-picker) .dialog-close{background:#e3eef5;color:#66849a;border-radius:50%;border:0;box-shadow:none}@media(max-width:1100px){.lobby-heading{left:28px}.lobby-heading h1{font-size:34px}.lobby-notice{left:28px;width:235px;padding:17px}.lobby-departure{right:20px;bottom:65px;width:245px;padding:18px}.lobby-illustration{left:28%;right:17%}.lobby-nameplate{left:12%;top:69%;min-width:180px;column-gap:12px;padding:11px 14px}.lobby-nameplate i{display:none}.lobby-location{left:28px}.game-footer nav{gap:5px}.game-footer{padding:0 14px}#save-indicator{display:none}.campus-lobby{min-height:600px}}@media(max-width:760px){body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .game-cabinet{margin:0;border:0;border-radius:0;height:100dvh;min-height:620px;max-height:none}.campus-lobby{min-height:0;height:100%;min-height:500px}.campus-backdrop{object-position:50% 50%}.campus-daylight{background:linear-gradient(180deg,#fffdf3aa,transparent 27%,transparent 65%,#edf6ffe8)}.lobby-heading{top:22px;left:20px}.lobby-kicker{font-size:8px;letter-spacing:2.5px}.lobby-heading h1{font-size:30px;margin:3px 0 5px}.lobby-heading h1 span{display:none}.lobby-heading p{font-size:11px}.lobby-character-change{right:16px;top:22px;font-size:10px;padding:6px 9px;gap:4px}.lobby-character-change span{font-size:16px}.lobby-illustration{left:13%;right:7%;top:105px;height:calc(100% - 80px)}.lobby-nameplate{top:auto;bottom:27%;left:2%;padding:9px 14px;min-width:150px;transform:rotate(-2deg)}.lobby-nameplate b{font-size:23px}.lobby-nameplate>span{font-size:8px}.lobby-notice{inset:auto 16px 147px;width:auto;padding:8px 12px;border-radius:12px;background:#fffdf1ef;display:flex;align-items:center;gap:12px}.lobby-notice:before,.lobby-notice-title>span,.lobby-notice h2,.lobby-progress,.lobby-next-friends,.lobby-completed{display:none}.lobby-notice-title{flex-shrink:0}.lobby-notice-title>b{position:static;display:flex;align-items:center;gap:4px;font-size:16px}.lobby-notice-title>b small{display:inline;font-size:10px}.lobby-story-link{margin:0 0 0 auto;padding:0 0 0 12px;border-top:0;border-left:1px solid #dce5e8;width:auto;gap:12px}.lobby-story-link>span{font-size:11px}.lobby-story-link small{font-size:9px;display:inline;margin-left:8px}.lobby-story-link>b{font-size:15px}.lobby-departure{left:16px;right:16px;bottom:16px;width:auto;padding:13px 14px;border-radius:17px;display:grid;grid-template-columns:1fr auto;gap:0 10px;align-items:center;background:#f8fcfff2}.lobby-departure-meta{grid-column:1;font-size:9px;gap:8px}.lobby-departure-meta>span{display:none}.lobby-departure-meta button{padding:0;font-size:10px}.lobby-departure h2{grid-column:1;grid-row:2;font-size:16px;margin:6px 0;line-height:1.3}.lobby-departure h2 small{font-size:8px;margin:0 0 3px}.lobby-departure p{grid-column:1/-1;font-size:10px;margin-top:5px}.lobby-depart-button{grid-column:2;grid-row:1/3;width:auto;min-height:56px;margin:0;gap:6px;font-size:13px;padding:8px 11px;border-radius:12px}.lobby-depart-button img{width:33px;height:33px}.lobby-depart-button small{font-size:8px}.lobby-depart-button>b{display:none}.lobby-location{display:none}.game-footer,body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .game-footer{height:76px;min-height:76px;padding:0 5px;gap:0}.game-footer nav{width:100%;gap:1px}.game-footer .nav-item,body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .game-footer .nav-item{min-width:0;max-width:none;height:70px;padding:4px 2px;border-radius:10px;gap:2px}.nav-art,body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .nav-art{width:37px;height:37px}.nav-art img,body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .nav-art img{width:37px;height:37px}.nav-art svg{width:26px;height:26px}.nav-label{font-size:10px}.game-footer #upgrade-dot{top:8px;right:17%}.lobby-student-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.lobby-student-picker>button{padding:10px 6px}.lobby-student-picker button[aria-pressed=true]{padding:9px 5px}.lobby-student-picker img{width:60px;height:60px}.lobby-student-picker b{font-size:12px}.lobby-student-picker small{font-size:9px}}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .game-footer .nav-item:hover:not(:disabled){background:#e4f1f9;color:#397eaa}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .game-header .utility button:hover:not(:disabled){background:#e4f1f9;color:#397eaa;border-color:#cfdfeb}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .currency.level:before{background:#dbe6ed}.lobby-nameplate{top:auto;bottom:45px;left:40%}@media(max-width:1100px){.lobby-nameplate{left:33%;bottom:27px}}@media(max-width:760px){.lobby-illustration{height:max(620px,calc(100% - 80px))}.lobby-nameplate{top:auto;bottom:216px;left:24px;min-width:150px}.lobby-character-change{min-height:44px}.lobby-departure-meta button,.lobby-story-link{min-height:28px}.lobby-departure p,.lobby-departure-meta button,.lobby-character-change{font-size:11px}.lobby-student-picker small{font-size:10px}}@media(prefers-reduced-motion:no-preference){body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .lobby-illustration{animation:lobby-arrive .4s ease-out both}@keyframes lobby-arrive{0%{transform:translateY(7px)}to{transform:none}}}dialog:has(.lobby-student-picker){overflow:hidden}dialog:has(.lobby-student-picker) #modal-content{display:flex;flex-direction:column;max-height:calc(90dvh - 72px);overflow:hidden}dialog:has(.lobby-student-picker) .dialog-close{width:44px;height:44px;top:10px;right:10px;z-index:2}.lobby-picker-heading{flex-shrink:0;padding-right:22px}.lobby-student-picker{min-height:0;overflow:auto;padding:3px;overscroll-behavior:contain}.lobby-student-picker>button{position:relative}.lobby-student-picker>button[aria-pressed=true]:after{content:"✓";position:absolute;top:7px;right:7px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#468cb8;color:#fff;font-size:13px}@media(hover:hover){.lobby-student-picker>button:hover:not(:disabled):not([aria-pressed=true]){background:#fff;border-color:#8fbdd6}}@media(hover:none){.lobby-student-picker>button:hover:not(:disabled):not([aria-pressed=true]){background:#fff;border-color:#dfebf2}}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) #toast{top:auto;bottom:105px;background:#f8fcfff5;color:#456b82;border:1px solid #cddfe9;box-shadow:0 5px 20px #45617e26;border-radius:12px}@media(max-width:760px){.lobby-departure-meta button{min-height:44px;font-size:12px}.lobby-departure p{display:none}.lobby-story-link{min-height:32px}.lobby-story-link small,.lobby-depart-button small{font-size:10px}.lobby-character-change{font-size:12px}.lobby-student-picker small{font-size:11px}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) #toast{bottom:86px;max-width:calc(100vw - 32px)}.lobby-nameplate{padding:9px 14px;min-width:130px}.lobby-nameplate b{font-size:22px}}.lobby-memory-link{display:flex;width:100%;align-items:center;justify-content:space-between;margin-top:14px;padding:12px 14px;text-align:left;background:linear-gradient(120deg,#eef4ff,#f2edfa);color:#636995;border:1px solid #d1d9e9;border-radius:7px 14px 7px 7px;box-shadow:none;font-size:13px}.lobby-memory-link small{display:block;font-size:10px;margin-top:4px;color:#8490a7}.lobby-memory-link>b{font-size:28px;color:#9b87ba}@media(max-width:760px){.lobby-notice{gap:8px}.lobby-memory-link{width:auto;min-height:44px;flex:1;white-space:nowrap;gap:5px;margin:0;padding:6px 9px;font-size:11px}.lobby-memory-link small{display:none}.lobby-memory-link>b{font-size:19px}.lobby-story-link small{display:none}.lobby-story-link{padding-left:8px;gap:5px}.lobby-notice-title>b{font-size:14px}.lobby-notice-title>b small{font-size:9px}}#memorial-page.active{display:flex;overflow:hidden;background:linear-gradient(130deg,#f7fafbfa,#eef3faf2),url(assets/lobby/reception.webp) center/cover;color:#49667d}.memorial-room{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;padding:24px 32px;gap:20px}.memorial-header{display:flex;align-items:center;gap:22px;flex:none}.memorial-header h1{font-size:26px;margin:5px 0 0;color:#395b78}.memorial-header>div>small{font-size:9px;letter-spacing:2px;color:#93a5b5}.memorial-back{border:1px solid #cadcea;border-radius:8px;background:#fff9;color:#68889e;box-shadow:none;min-height:44px;padding:10px 15px}.memorial-stone-balance{margin-left:auto;display:grid;grid-template-columns:auto auto;gap:3px 8px;align-items:center;color:#8f77b2;font-size:24px}.memorial-stone-balance small{grid-column:1/-1;color:#8e9bad;font-size:10px;text-align:right}.memorial-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:30px;min-height:0;flex:1}.memorial-summon{display:flex;flex-direction:column;align-items:stretch;justify-content:center;min-height:0;text-align:center;padding:18px;border:1px solid #fff;border-radius:10px 30px 10px 10px;background:radial-gradient(ellipse at 50% 35%,#fff,#e7ecf750);overflow:auto}.memorial-showcase{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;flex:1;min-height:170px}.memorial-showcase>small{font-size:9px;letter-spacing:2px;color:#929eb6}.memorial-showcase h2{font-size:24px;font-weight:700;color:#5b6e91;margin:5px 0}.memorial-showcase>span{font-size:12px;color:#96a2b6}.memorial-empty-emblem{font-size:100px;line-height:1.4;color:#aaa3cf;text-shadow:0 8px 30px #9287c93f}.memorial-portrait{width:clamp(90px,13vw,180px);aspect-ratio:1;border:5px solid #fff;border-radius:12px 32px 12px 12px;box-shadow:0 10px 30px #7e90b738;overflow:hidden;background:#dfe8f6}.memorial-portrait img{width:100%;height:100%;object-fit:cover}.memorial-pull-controls{flex:none}.memorial-pull-controls p{font-size:11px;line-height:1.8;color:#8a9aab;margin:15px 0}.memorial-pull-controls .primary-button{width:min(100%,360px);min-height:58px;background:linear-gradient(115deg,#779db9,#897eae);border:1px solid #a6b5d0;border-radius:5px 14px 5px 5px;color:#fff;box-shadow:0 4px #6b7e9e25;font-size:18px}.memorial-pull-controls .primary-button small{display:block;font-size:10px;margin-top:5px;opacity:.9}.memorial-pull-controls .text-button{display:block;margin:10px auto 0;color:#798fa5;font-size:11px;min-height:36px}.memorial-collection{display:flex;flex-direction:column;min-height:0;overflow:hidden}.memorial-collection>header{display:flex;align-items:center;justify-content:space-between;gap:15px}.memorial-collection h2{font-size:18px;margin:0;color:#5a7790}.memorial-collection>header>span{font-size:12px;color:#8d9cae}.memorial-collection>p{font-size:11px;line-height:1.7;color:#899fb0;margin:12px 0}.memorial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;overflow:auto;min-height:0;padding:2px 6px 6px 2px;scrollbar-width:thin;scrollbar-color:#b9cbd8 transparent}.memorial-grid button{display:flex;align-items:center;gap:10px;min-width:0;min-height:70px;padding:10px;background:#fff9;border:1px solid #d8e4ed;border-radius:7px;color:#668099;box-shadow:none;text-align:left}.memorial-grid img{width:44px;height:44px;object-fit:cover;border-radius:8px;background:#dde8f3}.memorial-grid b{font-size:12px;display:block}.memorial-grid small{font-size:9px;display:block;margin-top:4px;color:#98a8b5}.memorial-grid strong{margin-left:auto;font-size:15px;color:#9383b4}.memorial-grid button:hover{border-color:#9cb4d4;background:#f6faff}.memorial-result{text-align:center}.memorial-result>img{width:128px;height:128px;object-fit:cover;border:4px solid #fff;border-radius:12px 28px 12px 12px;margin:15px;box-shadow:0 8px 30px #8e9cb635}.memorial-result h3{font-size:19px;color:#64809c}.memorial-result h3 b{color:#9b7db5}body[data-screen=memorial] #modal{background:#f7fbff;color:#50718b;border:1px solid #d7e5ef;border-radius:12px 26px 12px 12px}body[data-screen=memorial] #modal .dialog-close{border:0;box-shadow:none;color:#7393ab;background:#eaf1f6;border-radius:50%}body[data-screen=memorial] #modal .dialog-description{color:#7890a3}@media(max-width:850px){.memorial-room{padding:18px;gap:15px}.memorial-content{gap:15px}.memorial-grid{grid-template-columns:1fr}.memorial-showcase h2{font-size:20px}}@media(max-width:700px){.memorial-room{padding:12px;gap:12px}.memorial-header{gap:12px}.memorial-header>div>small{display:none}.memorial-header h1{font-size:18px;margin:0}.memorial-back{padding:8px}.memorial-stone-balance{font-size:20px}.memorial-stone-balance small{font-size:9px}.memorial-content{display:flex;flex-direction:column;gap:18px;overflow:auto}.memorial-summon{flex:none;padding:12px;overflow:visible}.memorial-showcase{min-height:140px;gap:5px}.memorial-empty-emblem{font-size:60px;line-height:1.1}.memorial-showcase h2{font-size:19px}.memorial-showcase>span{font-size:10px}.memorial-portrait{width:80px}.memorial-pull-controls p{font-size:10px;margin:10px 0}.memorial-pull-controls .primary-button{min-height:50px;font-size:16px}.memorial-pull-controls .text-button{margin-top:6px;min-height:36px}.memorial-collection{flex:none;overflow:visible}.memorial-collection h2{font-size:16px}.memorial-grid{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:6px;padding:0}.memorial-grid button{min-height:66px;padding:7px;gap:6px}.memorial-grid img{width:34px;height:34px}.memorial-grid strong{font-size:12px}}.game-footer{position:relative;padding:0 28px;height:100px;min-height:100px}.game-footer nav{justify-content:flex-start;gap:16px;min-width:0;height:100%;align-items:center}.game-footer .nav-item{flex:0 0 100px;max-width:120px;height:80px}.nav-copy{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0}.game-footer #save-indicator{display:none}.game-footer .nav-expedition,.game-footer .nav-expedition.active,body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .game-footer .nav-expedition{margin-left:auto;flex:0 1 340px;max-width:380px;height:84px;padding:10px 24px;flex-direction:row;gap:18px;justify-content:flex-start;background:linear-gradient(115deg,#307cb0,#255b87);color:#fff;border:1px solid #70adce;border-radius:18px 6px;box-shadow:0 4px #153a572b,inset 0 1px #ffffff40;position:relative;overflow:hidden}.game-footer .nav-expedition:before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(120deg,transparent 0 30px,#ffffff07 31px 33px)}.game-footer .nav-expedition .nav-art{width:62px;height:62px;flex-shrink:0}.game-footer .nav-expedition .nav-art img{width:62px;height:62px}.game-footer .nav-expedition .nav-copy{align-items:flex-start;text-align:left}.nav-expedition .nav-copy>small{font-size:8px;letter-spacing:2px;color:#bbdeef}.game-footer .nav-expedition .nav-label{font-size:25px;font-weight:800;letter-spacing:2px}.nav-forward{font-size:28px;margin-left:auto;color:#c5ebff}#nav-destination{font-size:11px;color:#e1f3fb;white-space:nowrap;max-width:185px;overflow:hidden;text-overflow:ellipsis}.game-footer .nav-expedition.active:after{content:"";position:absolute;left:0;top:18px;bottom:18px;width:4px;background:#c5edff;border-radius:4px}.game-footer .nav-expedition:hover:not(:disabled),body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .game-footer .nav-expedition:hover:not(:disabled){background:linear-gradient(115deg,#378bbf,#2c6998);color:#fff}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .game-footer{height:104px;min-height:104px;padding:0 28px}.lobby-illustration{right:15%}.lobby-nameplate{left:43%}.battle-section-menu[hidden]{display:none}.battle-section-menu{display:flex;align-items:center;gap:10px;padding:8px 24px;background:#14202c;border-bottom:1px solid #344757;flex-shrink:0}.battle-menu-title{font-size:12px;color:#b0c4d3;margin-right:auto;letter-spacing:2px}.battle-section-button{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:96px;border:1px solid transparent;background:none;color:#bacbd7;border-radius:9px;box-shadow:none;font-size:13px}.battle-section-button img{width:29px;height:29px;object-fit:contain}.battle-section-button.active{border-color:#719db6;background:#2b465b;color:#fff}.battle-section-button:hover:not(:disabled){background:#263d50;border-color:#5d7f96}.battle-section-button #upgrade-dot{position:absolute;right:8px;top:7px;width:6px;height:6px;border-radius:50%;background:#f0c76d}body[data-section=battle] .game-screen{display:flex;flex-direction:column}body[data-section=battle] .page.active{flex:1;height:auto;min-height:0}body[data-screen=students] #students-page{background:#f0f5f7;color:#35546a}#students-page>.screen-title{border-color:#d7e5ec;background:#f9fcff;padding:22px 30px;justify-content:space-between}#students-page .screen-title h1{color:#2d5572;font-size:28px}#students-page .screen-title span{color:#718c9d;letter-spacing:1px}.student-heading-note{font-size:12px!important;letter-spacing:0!important}#students-page .student-roster{background:#eaf1f5;border-color:#d4e1e9;padding:12px}#students-page .student-roster>button{border:1px solid transparent;border-radius:12px;color:#3c5b70;margin-bottom:6px;min-height:70px;padding:9px;box-shadow:none}#students-page .student-roster>button[aria-pressed=true]{background:#fff;border-color:#92bad3;box-shadow:0 3px 14px #557f9910}#students-page .student-roster>button:hover:not(:disabled){background:#f8fcff;border-color:#b3d0e2}#students-page .student-roster small{color:#637e91}#students-page .student-roster i{color:#ac8843}#students-page .student-roster img{border-radius:10px;background:#dbe7ee;width:46px;height:48px}#students-page .student-detail{padding:24px 30px 40px;background:linear-gradient(150deg,#f6fafc,#f5f3ed)}#students-page .student-profile{position:relative;overflow:hidden;border:1px solid #fff;border-radius:22px;background:radial-gradient(ellipse at 18% 35%,#e0f0f9,transparent 70%),linear-gradient(115deg,#fcfbf5,#fff);padding:15px 26px 0;gap:34px;box-shadow:0 5px 20px #7293ab0a;min-height:320px}#students-page .student-portrait{width:220px;height:320px;object-fit:cover;object-position:50% 0;align-self:end;filter:drop-shadow(6px 2px 8px #668aa226)}#students-page .student-profile>div{padding:12px 0 24px;min-width:0}#students-page .student-profile h2{color:#2c536d}#students-page .guild-eyebrow{color:#66889c}#students-page .student-stats span{color:#6d8798}#students-page .student-stats b{color:#2e5976}#students-page .promotion-stars{color:#bd984d}#students-page .promotion-stars span{color:#c9d7df}#students-page .student-profile small{color:#70899a}#students-page .student-section h3{color:#365b74}#students-page .section-heading>span{color:#7e94a2}#students-page .student-note{color:#708595}#students-page .equipment-slots>button{border:1px solid #d2e1eb;background:#fff;border-radius:16px;color:#355b77;box-shadow:0 4px 14px #5e809710}#students-page .equipment-slots>button:hover:not(:disabled){border-color:#7eaac6;background:#f6fbff}#students-page .equipment-slots svg{color:#6698b8}#students-page .equipment-slot-label{color:#7f98a8}#students-page .equipment-slots small{color:#517d8e}#students-page .equipment-slots p{color:#728591}#students-page .equipment-slots em{color:#3e82ac}#students-page .promotion-panel{background:#eff4fc;border:1px solid #d4deec;border-radius:18px}#students-page .promotion-panel p{color:#627a92}#students-page .promotion-panel small{color:#778b9e}#students-page .disk-count{color:#557aa2}#students-page .relationship-slots button{background:#fffcfa;border:1px solid #eadfe2;color:#776273;border-radius:16px;box-shadow:none}#students-page .relationship-slots button:hover{background:#fff5f8;border-color:#ccaabd}#students-page .relationship-slots svg{color:#b685a2}#students-page .relationship-slots span{color:#907a88}#students-page .relationship-slots small{color:#a08598}#students-page .student-locked-note{border-color:#c3a979;background:#fff7e9;color:#8b7656;border-radius:12px}body[data-screen=students] :is(.secondary-button,.primary-button){border:1px solid #a4c2d5;background:#edf6fc;color:#396d90;border-radius:10px;box-shadow:none;min-height:44px}body[data-screen=students] .primary-button{background:#568eb3;border-color:#568eb3;color:#fff}body[data-screen=students] :is(.secondary-button,.primary-button):hover:not(:disabled){background:#dceef9;color:#2b688f;border-color:#74a5c4}body[data-screen=students] button:disabled{background:#edf0f2;color:#8b9ba6;border-color:#d4dfe6;opacity:.65}body[data-screen=students] .text-button{color:#60859e;min-height:44px}body[data-screen=students] dialog{background:#f7fbff;border:1px solid #cfdfeb;color:#3a5a71;border-radius:20px;box-shadow:0 16px 60px #34567540}body[data-screen=students] :is(.dialog-overline,.dialog-description){color:#6f899c}body[data-screen=students] .dialog-close{background:#e2edf5;color:#63849b;border:0;border-radius:50%;width:44px;height:44px;top:10px;right:10px;z-index:3}body[data-screen=students] .equipment-wallet{color:#9b8048}body[data-screen=students] .equipment-item{background:#fff;border-color:#d4e3ed;border-radius:12px}body[data-screen=students] .equipment-item.equipped{border-color:#6aa5bd}body[data-screen=students] .equipment-item-title svg{color:#6497b0}body[data-screen=students] .equipment-item small{color:#7c91a0}body[data-screen=students] .equipment-item-title>span,body[data-screen=students] .equipment-item>b{color:#51858d}body[data-screen=students] .equipment-item p{color:#748897}body[data-screen=students] .equipment-item .gear-preview{color:#487d84;border-color:#d7e4e9}body[data-screen=students] .equipment-transfer-warning{color:#a46d49!important}body[data-screen=students] .equipment-upgrade-preview{color:#527d79!important;background:#edf7f3;border-radius:6px}body[data-screen=students] .promotion-result{background:#e5f1f6;border-radius:12px}body[data-screen=students] .promotion-result p{color:#638c8a}@media(max-width:1100px){.game-footer,body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .game-footer{padding:0 18px}.lobby-nameplate{left:37%}#students-page .student-profile{gap:18px;padding-left:15px;padding-right:15px}#students-page .student-portrait{width:180px}}@media(max-width:760px){.game-footer,body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .game-footer{height:88px;min-height:88px;padding:0 10px}.game-footer nav{gap:6px}.game-footer .nav-item,body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .game-footer .nav-item{flex:0 0 63px;max-width:78px;height:74px;padding:4px}.game-footer .nav-expedition,.game-footer .nav-expedition.active,body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) .game-footer .nav-expedition{flex:0 1 240px;max-width:280px;min-width:155px;gap:9px;padding:8px 12px;height:72px;border-radius:15px 5px}.game-footer .nav-expedition .nav-art,.game-footer .nav-expedition .nav-art img{width:41px;height:41px}.game-footer .nav-expedition .nav-label{font-size:21px}.nav-expedition .nav-copy>small{font-size:9px;letter-spacing:1px}#nav-destination{font-size:10px;max-width:115px}.nav-forward{display:none}.lobby-illustration{right:7%}.lobby-notice{bottom:24px}.lobby-nameplate{bottom:112px;left:24px}.campus-lobby{min-height:0}.battle-section-menu{padding:6px 10px;gap:6px}.battle-menu-title{display:none}.battle-section-button{min-width:0;flex:1;gap:6px;font-size:12px;padding:4px}.battle-section-button img{width:25px;height:25px}body:is([data-screen=guild],[data-screen=students],[data-screen=memorial]) #toast{bottom:98px}#students-page>.screen-title{padding:15px 20px}#students-page .screen-title h1{font-size:25px}.student-heading-note{display:none}}@media(max-width:650px){#students-page .student-roster{padding:8px 12px;gap:6px}#students-page .student-roster>button{margin:0;min-height:64px;width:132px;min-width:132px;max-width:132px;padding:6px}#students-page .student-roster img{width:40px;height:44px}#students-page .student-detail{padding:14px 12px 28px}#students-page .student-profile{padding:10px 12px 0;gap:10px;min-height:260px;border-radius:18px}#students-page .student-portrait{width:116px;height:265px;flex-shrink:0}#students-page .student-profile>div{padding:10px 0 18px}#students-page .student-profile h2{font-size:28px}#students-page .student-stats{gap:16px}#students-page .student-stats b{font-size:20px}#students-page .student-profile .secondary-button{font-size:10px;padding:8px}#students-page .student-profile small{font-size:10px}#students-page .equipment-slots>button{padding:12px;border-radius:13px}#students-page .equipment-slots b{font-size:14px}#students-page .equipment-slots small,#students-page .equipment-slots p{font-size:11px}#students-page .section-heading>span{font-size:8px}#students-page .relationship-slots button{padding:14px;gap:10px}#students-page .relationship-slots svg{width:25px}#students-page .relationship-slots span{font-size:10px}body[data-screen=students] .equipment-inventory{grid-template-columns:1fr}}.game-header{position:relative}body[data-screen] #toast{position:absolute;inset:50% auto auto 50%;width:max-content;max-width:calc(100% - 460px);transform:translate(-50%,-50%);margin:0;border-radius:10px;box-shadow:0 2px 12px #34465a20;line-height:1.5}body[data-screen] #toast.show{transform:translate(-50%,-50%)}body[data-screen=students] dialog{max-height:90dvh;overflow:hidden}body[data-screen=students] dialog #modal-content{max-height:calc(90dvh - 72px);overflow:auto;overscroll-behavior:contain;padding:2px 4px 2px 0}body[data-screen=students] .dialog-close{box-shadow:none}body[data-screen=students] dialog::backdrop{background:#829baa70;backdrop-filter:blur(4px)}body[data-screen=students] .ability-profile>img{border-color:#b7d1e1;border-radius:12px;background:#e4eef5}body[data-screen=students] .ability-profile .dialog-overline{color:#6084a0}body[data-screen=students] .ability-profile p,body[data-screen=students] .ability-footnote{color:#6c879b}body[data-screen=students] .ability-detail{background:#fff;border:1px solid #d7e5ef;border-radius:12px}body[data-screen=students] .ability-detail h3{color:#335e7a}body[data-screen=students] .ability-detail header>span{color:#5586a7}body[data-screen=students] .ability-detail p{color:#587389}body[data-screen=students] .ability-detail small{color:#758c9e}body[data-screen=students] .ability-icon{background:#edf5fb;border-color:#b4d0e1;border-radius:9px;box-shadow:none;color:#5d8fab}body[data-screen=expedition] .nav-expedition.active{background:linear-gradient(115deg,#386881,#2b4b65);box-shadow:inset 0 0 0 1px #9acbdf44}@media(max-width:760px){body[data-screen] #toast{inset:8px 56px auto 10px;width:auto;max-width:none;transform:none;padding:8px 10px;max-height:40px;overflow:hidden;font-size:11px;line-height:1.8}body[data-screen] #toast.show{transform:none}body[data-section=battle] .game-cabinet{height:100dvh;min-height:620px}body[data-screen=expedition] #expedition-page{overflow:auto;overscroll-behavior:contain}body[data-screen=expedition] .battle-window{flex:0 0 auto;min-height:640px;height:100%}.lobby-story-link{min-height:44px}}body[data-screen=students] #students-page{position:relative;isolation:isolate;padding:18px 22px;overflow:hidden;background:#ecf2f3}body[data-screen=students] #students-page:before{content:"";position:absolute;inset:-4px;z-index:-1;background:linear-gradient(90deg,#eef5f4b0,#f8f4e745 48%,#eaf3f5b5),url(assets/lobby/reception.webp) center 45%/cover;filter:blur(2px);pointer-events:none}#students-page .student-dossier{display:grid;grid-template-columns:174px minmax(180px,1fr) minmax(350px,420px);gap:22px;height:100%;min-height:0;overflow:hidden;flex:1}.student-roster-panel{display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden}.student-roster-title{display:flex;align-items:baseline;justify-content:space-between;padding:10px 2px 16px;flex-shrink:0;color:#315673}.student-roster-title h1{font-size:24px;margin:0}.student-roster-title>span{font-size:17px;font-weight:700}.student-roster-title small{font-size:11px;font-weight:400;color:#7892a4}#students-page .student-roster{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));align-content:start;gap:8px;padding:2px;background:none;border:0;flex:1;min-height:0;overflow:hidden}#students-page .student-roster>button{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:100%;min-width:0;max-width:none;min-height:0;height:100%;margin:0;padding:7px 3px;border:1px solid #c8d9e5;background:#f9fcffc9;border-radius:7px 15px 7px 7px;text-align:center;box-shadow:0 2px 5px #597b920b;overflow:hidden}#students-page .student-roster>button[hidden]{display:none}#students-page .student-roster>button[aria-pressed=true]{border:2px solid #4d95c3;background:#e6f4ff;box-shadow:inset 0 -3px #80b7d9}#students-page .student-roster>button[aria-pressed=true]:after{content:"";position:absolute;left:0;top:0;border-top:12px solid #4d95c3;border-right:12px solid transparent}#students-page .student-roster img{width:clamp(42px,5.6vw,62px);height:clamp(42px,5.6vw,62px);border-radius:6px;object-fit:cover;background:#dceaf4}#students-page .student-roster b{font-size:12px;font-weight:700}#students-page .student-roster small{font-size:9px;margin-top:2px;color:#7893a5}#students-page .student-roster i{position:absolute;bottom:3px;right:4px;font-size:7px;margin:0;color:#c0a262}#students-page .student-roster .unjoined img{opacity:.45;filter:grayscale(.9)}.student-roster-pager{display:flex;justify-content:space-between;align-items:center;gap:4px;padding:10px 0 0;color:#426c8a;font-size:14px;font-weight:700;flex-shrink:0}.student-roster-pager small{font-size:11px;color:#7f98a7}.student-roster-pager button{width:44px;height:40px;border:1px solid #c4dbe9;border-radius:10px;background:#f8fcff;color:#548aad;font-size:25px;line-height:1;box-shadow:none}.student-roster-pager button:hover:not(:disabled){background:#e4f2fc}.student-art-stage{position:relative;isolation:isolate;min-height:0;min-width:0;margin:0;overflow:hidden;border-radius:24px;background:linear-gradient(170deg,#fff9,#dcebf31a 70%,#cbdde88a)}.student-art-stage:before{content:"";position:absolute;inset:0;z-index:-2;background:url(assets/lobby/reception.webp) 45% 45%/cover;filter:blur(4px);opacity:.2}.student-art-stage:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#f5f6f199,transparent 15%,transparent 85%,#eef2f3aa)}.student-art-frame{position:absolute;inset:26px 8px 52px;z-index:1}#students-page .student-art-stage .student-portrait{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;object-position:50% 100%;filter:drop-shadow(7px 6px 8px #3e678226);user-select:none}#students-page .student-detail{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:0;border:1px solid #fff;border-radius:9px 24px 10px 10px;background:#fafdffed;box-shadow:0 10px 25px #4c7a990e}#students-page .student-profile{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:12px;align-items:center;min-height:0;overflow:visible;border:0;border-radius:0;background:none;padding:18px 22px 12px;box-shadow:none;flex-shrink:0}#students-page .student-profile>div{padding:0}#students-page .student-identity h2{margin:5px 0 3px;font-size:30px;line-height:1.2;letter-spacing:-1px;color:#2e5672}#students-page .student-identity .guild-eyebrow{font-size:10px;letter-spacing:1px;white-space:nowrap}.student-identity .guild-eyebrow i{font-style:normal;margin:0 3px;color:#a3b7c3}#students-page .promotion-stars{font-size:17px;line-height:1.4;letter-spacing:2px;margin:6px 0 0;white-space:nowrap}#students-page .promotion-stars small{display:inline;font:500 10px sans-serif;margin:0 0 0 7px;color:#8699a7;letter-spacing:0}#students-page .student-stats{display:grid;grid-template-columns:1fr;gap:4px;margin:0;padding:9px 11px!important;background:#eaf2f8;border-radius:8px}#students-page .student-stats span{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#6c8699}#students-page .student-stats b{display:inline;margin:0;font-size:16px;color:#345d7a;font-variant-numeric:tabular-nums}.student-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:0 16px 13px;flex-shrink:0}.student-shortcut{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;position:relative;min-height:60px;min-width:0;padding:5px 3px;border:0;border-radius:10px;box-shadow:none;background:none;color:#7495ad;font-size:11px}.student-shortcut svg{width:29px;height:29px;filter:drop-shadow(0 2px 0 #fff)}.student-shortcut.affection{color:#c084a2}.student-shortcut.recall{color:#9a92b9}.student-shortcut.costume{color:#879f98}.student-shortcut:hover:not(:disabled){background:#e8f1f8;border:0}.student-shortcut i{position:absolute;width:4px;height:4px;top:8px;right:18%;border-radius:50%;background:#b8c8d4}#students-page .student-locked-note{font-size:11px;line-height:1.5;margin:0 12px 8px;padding:5px 8px;flex-shrink:0}.student-tabs{display:flex;gap:2px;background:#dfeaf3;padding:4px 4px 0;flex-shrink:0;border-bottom:2px solid #5b9abe}.student-tabs button{flex:1;min-width:0;min-height:42px;border:0;border-radius:8px 8px 0 0;background:none;color:#7994a7;font-size:14px;font-weight:700;box-shadow:none}.student-tabs button[aria-selected=true]{background:#5b9abe;color:#fff}.student-tabs button:hover:not(:disabled){background:#bad8ea;color:#345f7b}.student-tabs button[aria-selected=true]:hover{background:#5b9abe;color:#fff}.student-tab-body{flex:1;min-height:0;overflow:hidden}.student-tab-pane{display:flex;flex-direction:column;gap:10px;height:100%;min-height:0;overflow:hidden;padding:17px 18px 14px}.student-tab-pane[hidden]{display:none!important}.student-pane-heading{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-shrink:0}.student-pane-heading h3{font-size:17px;color:#466980;margin:0}.student-pane-heading>span{font-size:9px;letter-spacing:1px;color:#91a8b7}#students-page .student-gear-pane .equipment-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;flex:1;min-height:0;max-height:280px}#students-page .student-gear-pane .equipment-slots>button{display:flex;flex-direction:column;align-items:center;gap:9px;min-height:0;padding:13px 9px;text-align:center;border-radius:7px 15px 7px 7px;background:linear-gradient(#fff,#f0f6fa);box-shadow:inset 0 -4px #e4edf4;overflow:hidden}#students-page .student-gear-pane .equipment-slot-label{align-self:start;font-size:9px;letter-spacing:1px;color:#879faf}.student-gear-emblem{display:grid;place-items:center;flex:1;min-height:48px;width:100%}#students-page .student-gear-pane .equipment-slots svg{width:58px;height:58px;color:#6799b7;filter:drop-shadow(0 2px 0 #fff)}#students-page .student-gear-pane .equipment-slots b{font-size:15px;line-height:1.35}.student-gear-pane .equipment-slots small{font-size:11px;line-height:1.45;max-height:48px;overflow:hidden}#students-page .student-gear-pane .equipment-slots em{align-self:stretch;background:#e4f0f8;padding:6px 4px;border-radius:4px;text-align:center;font-size:11px;color:#5b88a5;margin-top:auto}#students-page .student-note{font-size:11px;line-height:1.5;margin:0;flex-shrink:0;color:#8199a9}.student-panel-footnote{font-size:10px;line-height:1.6;color:#93a7b4;margin-top:auto;border-top:1px solid #e1ebf2;padding-top:10px}#students-page .student-tab-pane.promotion-panel{border:0;border-radius:0;background:none;display:flex;justify-content:flex-start;margin:0}.student-memory-display{display:flex;align-items:center;justify-content:center;gap:16px;padding:8px 0;flex:1;min-height:48px;max-height:120px}.student-memory-icon{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;background:radial-gradient(#f4faff,#cddfec);border:1px solid #fff;box-shadow:0 3px 12px #7ba8c22a}.student-memory-icon svg{width:44px;height:44px;color:#81a6c3}.student-memory-display>div>small{font-size:11px;color:#8ca0b3}#students-page .student-memory-display .disk-count{display:block;font-size:32px;margin-top:4px;line-height:1}.student-memory-display .disk-count small{font-size:14px}#students-page .student-promotion-rule{font-size:12px;line-height:1.6;margin:0;text-align:center;color:#71889e;flex-shrink:0}.student-promotion-rule b{color:#567fa0}.student-promotion-gains{display:flex;justify-content:space-around;gap:5px;padding:10px 4px;background:#edf3fa;border-radius:8px;flex-shrink:0}.student-promotion-gains span{font-size:10px;color:#7b94aa}.student-promotion-gains b{display:block;font-size:18px;color:#6387a9;margin-top:4px}#students-page .student-promotion-actions{display:flex;flex-direction:row;justify-content:stretch;align-items:center;gap:6px;text-align:center;min-width:0;margin-top:auto;flex-shrink:0}#students-page .student-promotion-actions .primary-button{flex:1;padding:10px 7px;min-height:48px;font-size:14px}.student-promotion-actions .primary-button small{display:block;font-size:9px;margin-top:4px;color:inherit}#students-page .student-promotion-actions .text-button{font-size:11px;padding:3px}.student-skill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:8px;flex:1;min-height:0}.student-skill-grid>button{display:flex;align-items:center;gap:8px;min-width:0;min-height:0;padding:9px 7px;border:1px solid #d8e6f0;border-radius:8px;background:#fff;color:#537e9b;box-shadow:none;text-align:left}.student-skill-grid>button:hover{background:#edf6fd;border-color:#a4c5dd}.student-skill-grid>button>span:last-child{min-width:0}.student-skill-grid b{display:block;font-size:12px;line-height:1.4}.student-skill-grid small{display:block;font-size:9px;margin-top:4px;color:#8ca3b3;line-height:1.4}.student-skill-grid .ability-icon{width:32px;height:32px}.student-skill-grid .ability-glyph{width:24px;height:24px}.student-skill-grid .unavailable{opacity:.5}#students-page .student-skill-details{min-height:40px;font-size:12px;padding:8px;flex-shrink:0}@media(max-width:1100px){body[data-screen=students] #students-page{padding:12px}#students-page .student-dossier{grid-template-columns:142px minmax(150px,1fr) 350px;gap:12px}#students-page .student-roster img{width:46px;height:46px}#students-page .student-profile{padding:14px 16px 10px;grid-template-columns:minmax(0,1fr) 100px}.student-tab-pane{padding:13px}}@media(max-width:850px)and (min-width:701px){#students-page .student-dossier{grid-template-columns:118px minmax(125px,1fr) 330px;gap:8px}#students-page .student-roster{gap:5px}#students-page .student-roster img{width:39px;height:39px}#students-page .student-roster b{font-size:10px}#students-page .student-roster small{font-size:8px}.student-roster-title h1{font-size:21px}}@media(max-height:780px){.student-roster-title{padding-bottom:8px}#students-page .student-roster small{display:none}#students-page .student-profile{padding-top:12px;padding-bottom:8px}#students-page .student-identity h2{font-size:27px}.student-shortcuts{padding-bottom:6px}.student-shortcut{min-height:50px;gap:2px}.student-shortcut svg{width:25px;height:25px}.student-tab-pane{gap:7px;padding-top:10px;padding-bottom:10px}.student-pane-heading,.student-panel-footnote{display:none}.student-memory-display{max-height:66px;padding:0}.student-memory-icon{width:50px;height:50px}.student-memory-icon svg{width:32px;height:32px}#students-page .student-memory-display .disk-count{font-size:27px}.student-promotion-gains{padding:7px 4px}.student-promotion-gains b{font-size:17px;margin-top:2px}.student-promotion-actions .primary-button small{display:none}}@media(max-width:700px){body[data-screen=students] #students-page{padding:8px}#students-page .student-dossier{grid-template-columns:minmax(105px,.9fr) minmax(210px,1.6fr);grid-template-rows:82px minmax(0,1fr);gap:9px 6px;display:grid;overflow:hidden}.student-roster-panel{grid-column:1/-1;display:grid;grid-template-columns:1fr 32px;grid-template-rows:1fr;gap:5px}.student-roster-title{display:none}#students-page .student-roster{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:1fr;gap:5px;padding:0}#students-page .student-roster>button{padding:4px 2px;gap:3px}#students-page .student-roster img{width:44px;height:44px}#students-page .student-roster b{font-size:11px}#students-page .student-roster small,#students-page .student-roster i{display:none}.student-roster-pager{display:flex;flex-direction:column;justify-content:space-between;gap:2px;padding:0;font-size:10px}.student-roster-pager small{font-size:9px}.student-roster-pager button{width:32px;height:26px;border-radius:7px;font-size:20px}.student-art-stage{border-radius:14px}.student-art-frame{inset:12px 0 48px}#students-page .student-detail{border-radius:8px 16px 8px 8px}#students-page .student-profile{grid-template-columns:minmax(0,1fr) 76px;gap:5px;padding:12px 10px 8px}#students-page .student-identity h2{font-size:24px;letter-spacing:-1px}#students-page .student-identity .guild-eyebrow{font-size:9px;letter-spacing:0}#students-page .student-stats{padding:7px!important;gap:4px}#students-page .student-stats span{font-size:9px;gap:4px}#students-page .student-stats b{font-size:12px}#students-page .promotion-stars{font-size:12px;letter-spacing:1px}#students-page .promotion-stars small{display:none}.student-shortcuts{padding:0 7px 8px;gap:2px}.student-shortcut{min-height:49px;font-size:10px;gap:3px;padding:3px 0}.student-shortcut svg{width:24px;height:24px}.student-shortcut i{display:none}.student-tabs button{min-height:38px;font-size:12px}.student-tab-pane{padding:10px 9px;gap:7px}.student-pane-heading{display:none}#students-page .student-gear-pane .equipment-slots{grid-template-columns:1fr;gap:8px;max-height:none}#students-page .student-gear-pane .equipment-slots>button{display:grid;grid-template-columns:45px minmax(0,1fr);grid-template-rows:auto 1fr auto;gap:4px 6px;padding:9px 7px;text-align:left}#students-page .student-gear-pane .equipment-slot-label{grid-column:1/-1;font-size:8px}.student-gear-emblem{grid-column:1;grid-row:2/4;min-height:38px}#students-page .student-gear-pane .equipment-slots svg{width:38px;height:38px}#students-page .student-gear-pane .equipment-slots b{font-size:12px;grid-row:2;grid-column:2;align-self:end}#students-page .student-gear-pane .equipment-slots small{font-size:10px;grid-row:3;grid-column:2;align-self:start;max-height:29px}#students-page .student-gear-pane .equipment-slots em{display:none}#students-page .student-note{font-size:10px;line-height:1.5}.student-panel-footnote{display:none}.student-memory-display{gap:8px;max-height:80px;padding:0}.student-memory-icon{width:42px;height:42px}.student-memory-icon svg{width:28px;height:28px}.student-memory-display>div>small{font-size:10px}#students-page .student-memory-display .disk-count{font-size:25px}.student-memory-display .disk-count small{font-size:12px}#students-page .student-promotion-rule{font-size:10px}.student-promotion-gains{padding:8px 4px}.student-promotion-gains span{font-size:9px}.student-promotion-gains b{font-size:15px}#students-page .student-promotion-actions{flex-direction:column;gap:0}#students-page .student-promotion-actions .primary-button{flex:none;width:100%;min-height:40px;font-size:12px;padding:8px 3px}.student-promotion-actions .primary-button small{display:none}#students-page .student-promotion-actions .text-button{min-height:28px;font-size:10px}.student-skill-grid{gap:5px}.student-skill-grid>button{flex-direction:column;justify-content:center;text-align:center;padding:4px;gap:3px}.student-skill-grid .ability-icon{width:28px;height:28px}.student-skill-grid .ability-glyph{width:21px;height:21px}.student-skill-grid b{font-size:10px}.student-skill-grid small{display:none}#students-page .student-skill-details{font-size:10px;min-height:35px;padding:6px}#students-page .student-locked-note{font-size:10px;margin:0 7px 5px;padding:3px 5px}}@media(max-width:700px)and (max-height:680px){#students-page .student-dossier{grid-template-rows:72px minmax(0,1fr);gap:6px}#students-page .student-profile{padding-top:8px;padding-bottom:6px}.student-shortcuts{padding-bottom:4px}.student-shortcut{min-height:44px}.student-tab-pane{padding-top:7px;padding-bottom:7px;gap:5px}.student-memory-display{max-height:46px}.student-promotion-gains{padding:5px 3px}}@media(max-width:700px)and (max-height:680px){.student-memory-display{min-height:32px;max-height:38px}.student-memory-icon{width:32px;height:32px}.student-memory-icon svg{width:24px;height:24px}#students-page .student-memory-display .disk-count{font-size:22px}#students-page .student-promotion-actions{flex-direction:row;gap:5px}#students-page .student-promotion-actions .primary-button{flex:1;width:auto}#students-page .student-promotion-actions .text-button{min-height:40px;max-width:66px}#students-page .promotion-panel>.student-note{display:none}}.student-art-stage{background:none;border-radius:0}.student-art-stage:before,.student-art-stage:after{display:none}#students-page .student-detail{background:#fafdfff0;border-radius:4px 16px 4px 4px;box-shadow:0 8px 28px #32547118}.student-recruit-badge{position:absolute;z-index:3;top:12px;left:8px;right:8px;display:flex;justify-content:center;align-items:center;gap:8px;color:#79572c;font-size:12px}.student-recruit-badge b{background:#8d7752;color:#fff;padding:5px 8px;border-radius:3px;font-size:11px}.student-recruit-badge span{padding:5px 8px;background:#fff5dfeb;border-radius:3px}#students-page .student-profile .guild-eyebrow,#students-page .student-stats span,#students-page .student-roster small,.student-shortcut,.student-tab-pane small,#students-page .student-note,.student-panel-footnote,.student-memory-display>div>small,.student-pane-heading>span,.student-promotion-gains span{color:#587589}#students-page .student-stats span,#students-page .student-identity .guild-eyebrow{font-size:11px}#students-page .student-profile .promotion-stars span{color:#9caebb}#students-page .student-roster small,.student-pane-heading>span,.student-panel-footnote{font-size:11px}.student-shortcut{font-size:12px}.student-shortcut.affection{color:#a15b7e}.student-shortcut.recall{color:#77639a}.student-shortcut.costume{color:#537b68}#students-page .student-gear-pane .equipment-slots{grid-template-columns:1fr;grid-template-rows:repeat(2,minmax(0,1fr));max-height:250px;flex:0 1 250px}#students-page .student-gear-pane .equipment-slots>button{display:grid;grid-template-columns:64px minmax(0,1fr) 52px;grid-template-rows:auto auto auto;gap:5px 12px;padding:12px 14px;text-align:left;border-radius:5px;box-shadow:inset 3px 0 #a4cde4}#students-page .student-gear-pane .equipment-slot-label{grid-column:2;grid-row:1;color:#607f93;font-size:10px}.student-gear-pane .student-gear-emblem{grid-column:1;grid-row:1/4;min-height:0}#students-page .student-gear-pane .equipment-slots b{grid-column:2;grid-row:2;align-self:end}#students-page .student-gear-pane .equipment-slots small{grid-column:2;grid-row:3;font-size:12px;line-height:1.5;align-self:start;max-height:36px}#students-page .student-gear-pane .equipment-slots em{grid-column:3;grid-row:1/4;margin:0;align-self:center;padding:8px 4px;line-height:1.6;font-size:11px}.student-skill-grid{grid-template-columns:1fr;grid-auto-rows:minmax(0,70px);align-content:start;gap:7px;flex:1}.student-skill-grid>button{flex-direction:row;text-align:left;justify-content:flex-start;padding:8px 12px;gap:12px;border-radius:4px;border-width:0 0 1px;background:#fff9}.student-skill-grid .ability-icon{width:38px;height:38px;flex-shrink:0}.student-skill-grid .ability-glyph{width:27px;height:27px}.student-skill-grid b{font-size:13px}.student-skill-grid small{font-size:11px;color:#587589;margin-top:3px;display:block}.student-tab-pane .student-promotion-rule{color:#527083!important;font-size:12px!important;line-height:1.5!important}.student-memory-display .disk-count small{color:#59788d}.student-promotion-gains span{font-size:11px}#students-page .student-promotion-actions .primary-button .student-analysis-cost{display:block;font-size:11px;line-height:1.2;margin-top:3px;color:inherit}.student-promotion-actions .text-button{white-space:nowrap;min-height:40px!important}body[data-screen=students] .ability-detail.student-selected-skill{background:#e9f4ff;border:2px solid #659fc5;outline:0;scroll-margin:12px}@media(max-height:780px){#students-page .student-roster>button{gap:3px}#students-page .student-roster img{max-height:47px;max-width:47px}.student-skill-grid{grid-auto-rows:minmax(0,1fr)}.student-skill-grid>button{padding:5px 9px}.student-skill-grid .ability-icon{width:32px;height:32px}.student-skill-grid small{font-size:10px}.student-skill-grid b{font-size:12px}}@media(max-width:700px){.student-roster-panel{grid-template-columns:minmax(0,1fr) 92px}.student-roster-pager{display:grid;grid-template-columns:44px 44px;grid-template-rows:20px 44px;align-content:center;gap:2px 4px}.student-roster-pager>span{grid-row:1;grid-column:1/-1;text-align:center;font-size:12px}.student-roster-pager button{width:44px;height:44px;min-height:44px;grid-row:2}.student-roster-pager button:first-child{grid-column:1}.student-roster-pager button:last-child{grid-column:2}.student-roster-pager small{font-size:10px}.student-recruit-badge{top:8px;left:0;right:0;flex-direction:column;gap:3px;font-size:10px}.student-recruit-badge b{font-size:10px;padding:3px 8px}.student-recruit-badge span{padding:4px 2px}#students-page .student-profile .guild-eyebrow,#students-page .student-stats span{font-size:10px}#students-page .student-locked-note{color:#816035}.student-shortcut{font-size:11px}#students-page .student-gear-pane .equipment-slots{max-height:280px;flex:1}#students-page .student-gear-pane .equipment-slots>button{grid-template-columns:38px minmax(0,1fr);gap:5px 7px;padding:9px 7px}#students-page .student-gear-pane .equipment-slot-label{font-size:10px}#students-page .student-gear-pane .equipment-slots b{font-size:12px}#students-page .student-gear-pane .equipment-slots small{font-size:11px;max-height:34px}#students-page .student-gear-pane .equipment-slots em{display:none}#students-page .student-gear-pane .equipment-slots svg{width:34px;height:34px}.student-skill-grid{grid-auto-rows:minmax(0,1fr);gap:4px}.student-skill-grid>button{padding:4px 6px;gap:7px}.student-skill-grid .ability-icon{width:28px;height:28px}.student-skill-grid .ability-glyph{width:22px;height:22px}.student-skill-grid b{font-size:11px}.student-skill-grid small{font-size:10px;margin-top:2px}.student-tab-pane .student-promotion-rule{font-size:11px!important}.student-promotion-gains span{font-size:10px}#students-page .student-promotion-actions{flex-direction:row;gap:5px}#students-page .student-promotion-actions .primary-button{flex:1;width:auto;min-height:46px;padding:6px 3px}#students-page .student-promotion-actions .text-button{min-height:44px!important;width:54px;flex-shrink:0;font-size:11px}#students-page .student-promotion-actions .primary-button .student-analysis-cost{font-size:10px}}@media(max-width:700px)and (max-height:680px){.student-skill-grid>button{padding:2px 5px;gap:5px}.student-skill-grid small{font-size:10px;margin-top:0}.student-skill-grid b{font-size:10px;line-height:1.2}.student-skill-grid .ability-icon{width:23px;height:23px}.student-skill-grid .ability-glyph{width:18px;height:18px}.student-promotion-gains{padding:4px 3px}.student-promotion-gains b{font-size:14px}.student-memory-display{max-height:32px}}@media(max-height:780px){.student-memory-display{min-height:32px;max-height:48px}#students-page .student-promotion-actions .primary-button{padding:6px 4px;min-height:46px;font-size:13px;line-height:1.2}}#students-page .student-gear-pane .equipment-slots em{word-break:keep-all}#students-page .student-promotion-actions .primary-button:disabled{opacity:1;color:#687f90;background:#edf2f6;border-color:#d4e0e9;box-shadow:none}#students-page .student-memory-wallet{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;flex:none;min-width:0}#students-page .student-memory-wallet>div{display:flex;flex-direction:column;gap:6px;min-width:0;padding:12px 9px;border:1px solid #c8e0e9;border-radius:7px;background:linear-gradient(135deg,#eaf8fc,#f8fcff);color:#457889}#students-page .student-memory-wallet>div:only-child{grid-column:1/-1}#students-page .student-memory-wallet .memorial-stones{background:linear-gradient(135deg,#f1edfa,#fafdff);border-color:#d9d3ec;color:#7a69a1}#students-page .student-memory-wallet span{font-size:11px;white-space:nowrap}#students-page .student-memory-wallet b{font-size:24px;line-height:1.1;font-variant-numeric:tabular-nums}#students-page .student-memory-wallet b small{font-size:12px;font-weight:500;opacity:.8}#students-page .student-recruit-panel{display:flex;flex-direction:column;justify-content:safe center;gap:15px;height:100%;min-height:0;color:#567b91}#students-page .student-recruit-title>span{font-size:9px;letter-spacing:2px;color:#89a4b5}#students-page .student-recruit-title h3{font-size:22px;margin:7px 0 0;color:#426f88}#students-page .student-recruit-rule{margin:0;font-size:12px;line-height:1.8;color:#7e96a5}#students-page .student-recruit-rule b{font-weight:500;color:#5e8b9d}#students-page .student-recruit-panel .primary-button{min-height:44px;flex:none;padding:11px 8px;font-size:14px}#students-page .memory-tree-link{padding:5px 0;font-size:11px;min-height:28px;flex:none;color:#638ca5;text-decoration:underline;text-underline-offset:3px}#students-page .student-promotion-actions{flex-wrap:wrap}@media(max-width:700px),(max-height:780px){#students-page .student-memory-wallet{gap:5px}#students-page .student-memory-wallet>div{gap:4px;padding:8px 6px}#students-page .student-memory-wallet span{font-size:10px}#students-page .student-memory-wallet b{font-size:21px}#students-page .student-memory-wallet b small{font-size:10px}#students-page .student-recruit-panel{gap:10px}#students-page .student-recruit-title h3{font-size:18px}#students-page .student-recruit-rule{font-size:10px;line-height:1.6}#students-page .student-recruit-panel .primary-button{font-size:12px;padding:8px 4px}#students-page .memory-tree-link{font-size:10px;padding:3px 0}}@media(max-width:700px)and (max-height:680px){#students-page .student-recruit-title,#students-page .promotion-panel .student-note{display:none}#students-page .student-promotion-actions{flex-direction:row;flex-wrap:nowrap;gap:4px}#students-page .student-promotion-actions .primary-button{flex:1;width:auto;min-width:0}#students-page .student-promotion-actions .text-button{flex:none;max-width:45px;line-height:1.5}}#students-page .memory-summon-link{border:0;box-shadow:none;background:none;color:inherit;font-size:11px;padding:0;min-height:16px;text-align:left;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}@media(max-height:780px){#students-page .promotion-panel .student-note{display:none}#students-page .student-memory-wallet>div{gap:4px;padding:7px 6px}#students-page .student-memory-wallet b{font-size:20px}#students-page .student-promotion-rule{font-size:11px;line-height:1.4}#students-page .student-promotion-gains{padding:6px 4px}#students-page .student-promotion-actions .primary-button{min-height:40px}}@media(max-width:700px){#students-page .memory-summon-link{font-size:9px}}@media(max-height:780px){#students-page .student-recruit-title{display:none}}@media(max-width:700px){#students-page .student-promotion-actions .text-button{flex:0 0 50px;max-width:50px;white-space:normal;line-height:1.35}}@media(max-height:780px)and (min-width:701px){.student-skill-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr)}.student-skill-grid>button{padding:5px 8px;gap:8px}}#students-page .student-art-frame{padding:0;border:0;border-radius:0;background:none;box-shadow:none;cursor:pointer;overflow:visible}#students-page .student-art-stage .student-portrait{transform:scale(var(--portrait-scale,1));transform-origin:50% 100%;transition:opacity .18s;object-fit:contain}.student-art-frame:focus-visible{outline:2px solid #4c91b7;outline-offset:-5px}.student-representative{position:absolute;top:52px;right:8px;z-index:5;min-height:44px;padding:9px 12px;border:1px solid #b8cddb;background:#f7fcfff2;border-radius:15px 5px 5px 15px;color:#416b85;font-weight:700;box-shadow:0 4px 12px #547d891c;font-size:12px}.student-representative:disabled{display:none}.student-representative[aria-disabled=true]{border:0;background:#dfedf4e6;box-shadow:none;color:#4c738b;cursor:default}.student-shortcut[aria-current=true]{background:#dceef9;box-shadow:inset 0 -2px #6cabc8;border-radius:8px}.student-detail.wardrobe-open>.student-tabs,.student-detail.wardrobe-open>.student-tab-body{display:none}.student-costume-dock{display:flex;flex-direction:column;gap:16px;flex:1;min-height:0;padding:16px 18px 20px;border-top:2px solid #70a7bc;background:linear-gradient(160deg,#f4fbff,#eaf3f9)}.student-costume-dock[hidden]{display:none}.costume-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0}.costume-panel-heading small{display:block;font-size:9px;letter-spacing:2px;color:#66899d}.costume-panel-heading h3{font-size:19px;color:#355e77;margin:4px 0 0}.student-costume-dock .costume-close{display:flex;align-items:center;justify-content:center;gap:5px;min-width:72px;min-height:44px;padding:7px 11px;border:1px solid #9cb8cc;border-radius:8px;background:#fff;color:#3d637b;font-size:13px;font-weight:700;box-shadow:none}.costume-close span{font-size:23px;font-weight:400;line-height:1}.costume-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:9px;flex:1;min-height:0;max-height:250px}.costume-options>button{display:flex;flex-direction:column;min-width:44px;min-height:44px;overflow:hidden;padding:7px 5px;border:2px solid #c4d7e4;border-radius:10px;background:#fbfdff;color:#567489;box-shadow:0 3px 9px #31536d0d}.costume-options>button[aria-pressed=true]{border-color:#498fb5;background:#e1f1fd;box-shadow:0 0 0 2px #9ec9df36;color:#245a7c}.costume-options>button:hover{background:#eaf5fd;border-color:#79acc9}.costume-thumbnail{display:block;position:relative;flex:1;min-height:0;width:100%;aspect-ratio:2/3;overflow:hidden;background:radial-gradient(ellipse,#e1ebf4,transparent 72%);border-radius:5px}.costume-selected{position:absolute;right:1px;top:1px;width:20px;height:20px;display:grid;place-items:center;background:#3d85af;color:#fff;border-radius:50%;font-size:12px;font-style:normal;box-shadow:0 1px 3px #17446130}.costume-selected[hidden]{display:none}.costume-thumb{display:block;width:100%;height:100%;object-fit:contain;object-position:50% 100%}.costume-options b{font-size:12px;line-height:1.4;margin-top:8px}.costume-options small{font-size:10px;line-height:1.4;margin-top:3px;min-height:14px;color:#607f94}.costume-options [aria-pressed=true] small{color:#286382;font-weight:700}.costume-panel-note{flex-shrink:0;font-size:11px;line-height:1.6;margin:0;color:#5c7d91}.costume-panel-note b{color:#355e77}.student-talk-bubble{position:absolute;left:7%;right:7%;bottom:62px;padding:15px 18px;z-index:5;background:#fffffff5;border:1px solid #a9c9dc;border-radius:5px 20px 20px;box-shadow:0 8px 22px #36597626;color:#345069;pointer-events:auto;text-align:left}.student-talk-bubble[hidden]{display:none}.student-talk-bubble b{display:block;color:#538cb1;font-size:12px;margin-bottom:7px}.student-talk-bubble p{font-size:14px;line-height:1.55;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;max-height:130px;overflow:auto;scrollbar-width:thin;padding-right:7px}.student-talk-bubble>span{position:absolute;bottom:8px;right:10px;font-size:7px;color:#92b3c6}.student-talk-bubble:before{content:"";position:absolute;left:28px;top:-9px;width:15px;height:15px;transform:rotate(45deg);background:#fff;border-top:1px solid #a9c9dc;border-left:1px solid #a9c9dc}.student-talk-bubble>button{position:absolute;right:6px;top:5px;width:30px;height:30px;min-height:0;border:0;background:transparent;box-shadow:none;color:#7896aa;padding:0;font-size:19px}.student-talk-bubble.speaking{animation:student-speak .18s ease-out}.student-focus-back{display:none}.lobby-illustration{padding:0;border:0;background:none;cursor:pointer}.lobby-illustration img{transform:scale(var(--portrait-scale,1));transform-origin:50% 100%}.campus-lobby>.student-talk-bubble{left:24%;right:32%;bottom:13%;max-width:560px}@keyframes student-speak{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.student-talk-bubble.speaking{animation:none}}@media(max-height:780px){.student-costume-dock{padding:10px 14px 12px;gap:10px}.costume-options{max-height:230px}}@media(max-width:700px){.student-representative{top:7px;right:1px;font-size:10px;min-height:44px;padding:6px 8px}.student-costume-dock{padding:9px 8px;gap:8px}.costume-panel-heading h3{font-size:14px}.costume-panel-heading small{font-size:8px;letter-spacing:1px}.student-costume-dock .costume-close{min-width:61px;padding:6px;font-size:12px}.costume-options{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(3,minmax(0,1fr));gap:6px;max-height:285px}.costume-options>button{display:grid;grid-template-columns:48px minmax(0,1fr);grid-template-rows:1fr 1fr;gap:0 9px;padding:3px 7px;border-radius:7px;text-align:left}.costume-thumbnail{grid-column:1;grid-row:1/3;height:100%;min-width:0}.costume-thumb{object-position:50% 50%}.costume-options b{align-self:end;font-size:12px;margin:0}.costume-options small{align-self:start;font-size:10px;margin:0;min-height:14px}.costume-panel-note{font-size:10px}.student-talk-bubble{left:2%;right:2%;padding:10px;bottom:55px;border-radius:5px 14px 14px}.student-talk-bubble p{font-size:11px;line-height:1.45}.student-talk-bubble b{font-size:10px}.campus-lobby>.student-talk-bubble{left:5%;right:5%;bottom:25%;max-width:none}#students-page .student-dossier.student-focus .student-detail{display:none}#students-page .student-dossier.student-focus .student-art-stage{grid-column:1/-1;grid-row:2}#students-page .student-focus .student-art-frame{inset:40px 12px 102px}#students-page .student-focus .student-focus-back{display:block;position:absolute;left:4px;top:5px;z-index:7;min-height:44px;padding:8px 12px;background:#f9fcfff2;color:#436880;border:1px solid #b7d0df;border-radius:8px;box-shadow:none}#students-page .student-focus .student-talk-bubble{left:5%;right:5%;bottom:50px;padding:12px 16px}#students-page .student-focus .student-talk-bubble p{font-size:13px}}@media(max-width:700px)and (max-height:680px){.costume-panel-heading>div>small,.costume-panel-note{display:none}.costume-options{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(0,1fr);max-height:none;gap:5px}.costume-options>button{display:flex;gap:0;padding:4px 2px;text-align:center}.costume-thumbnail{height:auto;aspect-ratio:2/3}.costume-options b{align-self:center;font-size:10px;margin-top:4px;white-space:nowrap}.costume-options small{align-self:center;font-size:9px}}#students-page .student-dossier{overflow:visible}#students-page .student-art-stage{margin-bottom:-18px}#students-page .student-dossier:not(.student-focus) .student-art-frame{inset:0 auto auto 50%;width:max(155%,90dvh);height:145%;transform:translate(-50%)}#students-page .student-dossier:not(.student-focus) .student-portrait{object-position:50% 0;transform-origin:50% 100%}.student-art-view-button{position:absolute;top:8px;right:8px;z-index:6;display:grid;place-items:center;width:44px;height:44px;padding:9px;border:1px solid #b8cddb;border-radius:10px;background:#f7fcfff2;color:#416b85;box-shadow:0 4px 12px #547d891c}.student-art-view-button svg{width:24px;height:24px}.student-art-view-button:hover{background:#e6f3fd;border-color:#6b9ebd}#students-page .student-representative{top:62px}#students-page .student-recruit-badge{right:62px}body[data-screen=students] #modal:has(.student-art-viewer){position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;background:#edf2f3;box-shadow:none}body[data-screen=students] #modal:has(.student-art-viewer)::backdrop{background:#edf2f3;backdrop-filter:none}body[data-screen=students] #modal:has(.student-art-viewer) #modal-content{height:100%;max-height:none;overflow:hidden;padding:0}.student-art-viewer{position:absolute;inset:0;isolation:isolate;display:flex;align-items:flex-end;justify-content:center;padding:72px 16px 16px;overflow:hidden}.student-art-viewer:before{content:"";position:absolute;inset:-4px;z-index:-1;background:linear-gradient(90deg,#eef5f4b0,#f8f4e745 48%,#eaf3f5b5),url(assets/lobby/reception.webp) center 45%/cover;filter:blur(2px)}.student-viewer-portrait{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;object-position:50% 100%;transform:scale(var(--portrait-scale,1));transform-origin:50% 100%;filter:drop-shadow(7px 6px 8px #3e678226);user-select:none;pointer-events:none}body[data-screen=students] #modal:has(.student-art-viewer) .dialog-close{position:absolute;z-index:2;top:max(16px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));width:88px;height:46px;min-height:46px;display:flex;align-items:center;justify-content:center;gap:9px;padding:0;border:1px solid #b8cddb;border-radius:12px;background:#f7fcfff2;color:#416b85;font-size:25px;box-shadow:0 4px 12px #547d891c}#modal:has(.student-art-viewer) .dialog-close:after{content:"닫기";font-size:13px;font-weight:700}@media(max-width:700px){#students-page .student-art-stage{margin-bottom:-10px}#students-page .student-representative{top:7px}.student-art-view-button{top:auto;bottom:8px;right:8px}#students-page .student-recruit-badge{right:0}}body[data-screen=expedition]{overflow:hidden;background:#080f1d}body[data-screen=expedition] .game-cabinet{width:100%;max-width:none;height:100dvh;min-height:0;max-height:none;margin:0;border:0;box-shadow:none;background:#080f1d;overflow:hidden}body[data-screen=expedition] .game-cabinet:after{display:none}body[data-screen=expedition] .game-header{position:absolute;top:20px;right:24px;z-index:12;height:36px;min-height:0;padding:0;background:none;border:0}body[data-screen=expedition] .game-header :is(.brand,.wallet){display:none}body[data-screen=expedition] .utility button{width:35px;height:35px;min-height:35px;border:0;background:#09132270;border-radius:50%;box-shadow:none;color:#c3d1e3}body[data-screen=expedition] .game-screen{position:absolute;inset:0;display:block;height:100%;min-height:0;overflow:hidden}body[data-screen=expedition] #expedition-page{height:100%;min-height:0;overflow:hidden}body[data-screen=expedition] .battle-window{position:relative;height:100%;min-height:0;overflow:hidden;display:block}body[data-screen=expedition] .scene-wrap{position:absolute;inset:0;width:100%;height:100%;min-height:0;overflow:hidden}body[data-screen=expedition] #battle-canvas{display:block;width:100%;height:100%}body[data-screen=expedition] .scene-wrap:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(#08111edb,transparent 23%,transparent 67%,#07111ee0 96%);z-index:1}body[data-screen=expedition] .battle-section-menu{position:absolute;left:24px;top:18px;z-index:10;display:flex;gap:15px;padding:0;background:none;border:0}body[data-screen=expedition] .battle-menu-title{display:none}body[data-screen=expedition] .battle-section-button{display:flex;align-items:center;gap:6px;min-width:54px;min-height:36px;padding:5px 8px;border:0;border-radius:0;background:none;box-shadow:none;color:#a9bed2;font-size:12px}body[data-screen=expedition] .battle-section-button img{width:22px;height:22px;filter:saturate(.5)}body[data-screen=expedition] .battle-section-button.active{color:#f3e4bd;border-bottom:1px solid #ddc78c;background:none}body[data-screen=expedition] .battle-section-button:hover{background:#30445a70}.battle-topbar{position:absolute;inset:77px 24px auto;z-index:6;display:flex;align-items:flex-start;justify-content:space-between;min-height:0;padding:0;border:0;background:none;pointer-events:none}.battle-topbar>*{pointer-events:auto}.battle-topbar .stage-heading{display:block;max-width:350px;text-shadow:0 2px 9px #0008}.battle-topbar .stage-heading>span{color:#a6b8c7;font-size:9px;letter-spacing:2px}.battle-topbar .stage-heading h1{font-size:25px;font-weight:600;letter-spacing:1px;margin:4px 0 7px;color:#e4edf2}.battle-topbar .state-badge{font-size:10px;color:#ccbea0;line-height:1.2}.battle-topbar .battle-controls{display:flex;gap:7px;position:static;align-items:center;flex-wrap:wrap;justify-content:flex-end;max-width:540px}.battle-topbar .battle-controls button{min-height:34px;padding:6px 10px;font-size:11px;border:1px solid #90a8ba45;border-radius:3px;background:#0c1825a3;box-shadow:none;color:#cddce7}.battle-topbar #auto-ultimate-button[aria-pressed=true]{color:#ebd9a7;border-color:#cebc756e;background:#323a3da3}.battle-topbar #stage-map-button{background:#0c1825a3;color:#cddce7;border-color:#90a8ba45}.battle-topbar #pause-button{display:none}.battle-topbar #next-stage-button{color:#efdfb0;border-color:#c9b678}.battle-statusbar{position:absolute;top:169px;left:24px;z-index:5;max-width:290px;padding:0;border:0;background:none;pointer-events:none}.battle-statusbar .field-hud{position:static;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:9px 13px;width:auto;color:#aec3d5;text-shadow:0 1px 5px #000}.battle-statusbar .action-budget{gap:8px;align-items:center}.battle-statusbar .action-budget>span{font-size:10px}.battle-statusbar .action-budget strong{font:600 18px var(--pixel);color:#d1bee8}.battle-statusbar .action-budget strong small{font:8px var(--pixel)}.battle-statusbar .cycle-meter{margin:0;min-width:92px;font-size:9px}.battle-statusbar .cycle-meter>i{height:2px;margin-top:5px;background:#8fa5b533}.battle-statusbar .hunt-progress{grid-column:1/-1;margin:0;max-width:200px;font-size:10px}.battle-statusbar .hunt-progress b{font-size:11px}.battle-statusbar .progress-track{height:2px;margin-top:5px;background:#8fa5b533}.battle-statusbar .run-loot{grid-column:1/-1;margin:0;font-size:11px;gap:12px}.battle-statusbar .run-loot:before{content:"획득";color:#91a8ba;font:9px var(--sans);align-self:center}.battle-statusbar .encounter-state{display:none}.scene-wrap .timeline{top:279px;left:27px;right:auto;transform:none;display:flex;align-items:flex-start;gap:0;width:52px;height:310px;padding:0;border:0;background:none;box-shadow:none;z-index:4}.scene-wrap .timeline-label{display:block;letter-spacing:1px;font-size:8px;margin:0 0 12px;color:#a9bdcc}.scene-wrap .turn-rail{width:40px;height:290px;background:none}.scene-wrap .turn-token{left:0;top:calc(var(--turn-index)*46px);width:33px;height:33px;border-radius:3px;transition:top .18s ease-out}.scene-wrap .turn-token small{bottom:0;right:-12px;font-size:9px;background:#081321c9}.scene-wrap .timeline:has(.turn-rail[hidden]){display:none}.scene-wrap .timeline.awaiting-enemy:after{left:0;top:auto;bottom:0;white-space:nowrap}.scene-wrap .scene-caption,.scene-wrap #combat-log{display:none}.monster-info-button{position:absolute;right:24px;top:125px;z-index:6;min-height:34px;padding:5px 8px;border:0;background:#0c182570;box-shadow:none;border-radius:3px;color:#b9cddd;font-size:11px}.monster-info-button[aria-expanded=true]{color:#f2dea6;background:#354453}.monster-info-button:disabled{opacity:.3}.scene-wrap .field-bottom{position:absolute;left:auto;right:32px;bottom:209px;min-height:0;pointer-events:none;z-index:5}.scene-wrap #focus-label{position:static;display:block;max-width:none;padding:0;background:none;font-size:10px;color:#d4c697}.scene-wrap #focus-label[hidden]{display:none}.squad-bar{position:absolute;left:185px;right:330px;bottom:171px;z-index:5;display:flex;align-items:center;height:23px;padding:0;background:none;border:0;font-size:10px;color:#97b0c5}.squad-bar .formation-link{padding:3px 5px;min-height:25px;border:0;background:none;box-shadow:none;color:#baa97e;font-size:10px}.squad-bar .ult-hint{display:none}.squad-bar #sp-display{position:fixed;right:35px;bottom:186px;color:#a9b9c9}.squad-bar #sp-display b{color:#e6d49e;letter-spacing:3px}.squad{position:absolute;left:180px;right:330px;bottom:42px;z-index:5;display:flex;align-items:center;justify-content:flex-start;gap:18px;height:122px;padding:0;border:0;background:none;overflow:visible;max-width:1000px}.squad .hero-card{position:relative;display:grid;grid-template-columns:58px minmax(35px,1fr) 43px;grid-template-rows:50px 31px;gap:8px 6px;flex:1 1 175px;max-width:208px;min-width:0;padding:12px 2px 5px;border:0;border-radius:0;background:none;box-shadow:none;text-align:left}.squad .hero-card.ready,.squad .hero-card.selected{background:none;border:0;box-shadow:none}.squad .hero-card.ready:before{display:none}.squad .hero-head{grid-column:1/3;grid-row:1;display:flex;align-items:center;gap:8px;padding:0;min-width:0;cursor:pointer}.squad .hero-head>img{position:static;float:none;flex-shrink:0;width:58px;height:58px;object-fit:cover;border:1px solid #667d8d55;border-radius:50%;background:#182a3990;box-shadow:none}.squad .hero-card.selected .hero-head>img{border-color:#edda99;box-shadow:0 0 0 2px #e4cd8325}.squad .hero-name{min-height:24px;padding:2px 0;border:0;background:none;box-shadow:none;font-size:13px;font-weight:600;color:#e7eced;white-space:nowrap}.squad .hero-head small{font-size:9px;color:#93adc1;margin-top:2px;white-space:nowrap}.squad .hero-head>div{min-width:0}.squad .hero-health{grid-column:1/-1;grid-row:2;align-self:center;min-width:0;margin:0 4px}.squad .hero-health>div:first-child{display:flex;justify-content:space-between;font-size:10px;color:#cbd9e2}.squad .health-max{display:inline}.squad .hp-track{height:4px;margin-top:4px;background:#18242ee0}.squad .energy-track{height:2px;margin-top:4px;background:#243441}.squad .hero-abilities{display:none}.squad .ultimate-button{grid-column:3;grid-row:1;display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:center;gap:2px;margin:0;padding:2px;width:43px;height:43px;min-height:43px;border:1px solid #93aaba88;border-radius:50%;background:#2334449c;box-shadow:none;color:#c6d6e3;overflow:visible;text-align:center;position:relative}.squad .ultimate-button:disabled{opacity:.65}.squad .ultimate-button.ready{border-color:#efda91;color:#f4dda4;background:#70654266;box-shadow:0 0 14px #ddbe6840;animation:none}.squad .ultimate-name{display:flex;gap:0}.squad .ultimate-title{display:none}.squad .ultimate-icon .ability-glyph{width:21px;height:21px}.squad .ultimate-button small{font-size:8px;line-height:1;position:absolute;top:calc(100% + 3px);left:50%;transform:translate(-50%);white-space:nowrap;margin:0;color:#b8cbd9}.squad .empty-slot{flex:0 0 44px;min-width:0;max-width:44px;display:flex;flex-direction:column;align-items:center;gap:8px;padding:9px 2px;border:0;border-radius:0;background:none;box-shadow:none;color:#738b9d;text-align:center}.squad .empty-slot .slot-symbol{font-size:20px}.squad .empty-slot b{font-size:8px;font-weight:400;color:#788f9f}.squad .empty-slot>span{font-size:8px}.squad .empty-slot p{display:none}.combat-skillbar{position:absolute;right:30px;bottom:110px;z-index:6;display:flex;flex-direction:column;align-items:stretch;width:268px;gap:5px;padding:0;background:none;border:0}.combat-skill-label{font-size:11px;color:#d8c797}.combat-skill-label small{display:inline;font-size:9px;margin-left:9px;color:#8fa7bc}.combat-skillbar .hero-abilities{display:block;margin:0;padding:0;min-height:0;width:100%;border:0;background:none;box-shadow:none}.combat-skillbar .ability-strip{display:flex;justify-content:space-between;width:100%;gap:5px}.combat-skillbar .ability-slot{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;padding:3px;min-height:41px;border:1px solid transparent;border-radius:3px;background:none;box-shadow:none}.combat-skillbar .ability-slot:hover,.combat-skillbar .ability-slot[aria-expanded=true]{border-color:#c2b07b88;background:#42506166}.combat-skillbar .ability-icon{width:24px;height:24px;border:0;background:none;box-shadow:none;color:#b7cfdf}.combat-skillbar .ability-glyph{width:22px;height:22px}.combat-skillbar .ability-slot small{writing-mode:horizontal-tb;font-size:8px;letter-spacing:0;color:#9fb5c6}.combat-skillbar .ultimate-info .ability-icon{font-size:20px;color:#d6c48b}.combat-skillbar .ability-slot.unavailable{opacity:.5}body[data-screen=expedition] .game-footer{position:absolute;bottom:23px;left:24px;right:24px;z-index:7;height:67px;min-height:0;padding:0;border:0;background:none;box-shadow:none;pointer-events:none}body[data-screen=expedition] .game-footer nav{height:100%;gap:12px;pointer-events:none}body[data-screen=expedition] .game-footer .nav-item{pointer-events:auto}body[data-screen=expedition] .game-footer .nav-item:not(.nav-expedition){height:60px;min-width:44px;max-width:55px;flex-basis:55px;font-size:9px;background:none;border:0;border-radius:4px}body[data-screen=expedition] .game-footer .nav-art,body[data-screen=expedition] .game-footer .nav-art img{width:29px;height:29px}body[data-screen=expedition] .game-footer .nav-expedition{height:58px;min-width:0;max-width:274px;flex-basis:274px;padding:9px 18px;gap:10px;background:linear-gradient(110deg,#ded8bb,#ccd1be);border:1px solid #ecdfb6;color:#253543;border-radius:4px;box-shadow:none}body[data-screen=expedition] .game-footer .nav-expedition .nav-art{display:none}body[data-screen=expedition] .game-footer .nav-expedition .nav-label{font-size:20px;letter-spacing:1px;color:#243541}body[data-screen=expedition] .nav-expedition .nav-copy>small{font-size:8px;letter-spacing:1px;color:#5d6b71}body[data-screen=expedition] #nav-destination{font-size:9px;color:#526571}body[data-screen=expedition] .nav-expedition .nav-forward{display:block;font-size:22px;color:#475c68}body[data-screen=expedition] .nav-expedition.active:after,body[data-screen=expedition] .nav-expedition:before{display:none}body[data-screen=expedition] .game-footer .nav-expedition[data-action=pause]{background:#223546b3;border-color:#6e8798}body[data-screen=expedition] .nav-expedition[data-action=pause] :is(.nav-label,.nav-forward){color:#dce6eb}body[data-screen=expedition] .nav-expedition[data-action=pause] :is(.nav-copy>small,#nav-destination){color:#9fb6c6}body[data-screen=expedition] .game-footer .nav-expedition:hover:not(:disabled){background:#eee6c8;color:#243541}body[data-screen=expedition] .game-footer .nav-expedition[data-action=pause]:hover:not(:disabled){background:#3a5263}body[data-battle-quiet=true] :is(#chain-callout,#battle-banner){visibility:hidden}.endless-hud{position:absolute;z-index:6;left:340px;right:155px;top:17px;display:flex;min-height:0;padding:0;gap:18px;background:none;border:0;pointer-events:auto}.endless-score{min-width:92px}.endless-score>span{font-size:8px;letter-spacing:1px}.endless-score strong{font-size:24px}.endless-score small{font-size:8px}.endless-clock{max-width:210px}.endless-clock>div:first-child{font-size:10px}.endless-clock small{font-size:8px}.endless-run-stats{font-size:9px;gap:3px 10px}.endless-run-stats b{font-size:11px}.endless-relic-button{padding:5px 8px;min-height:32px;font-size:10px}.endless-battle .battle-statusbar{max-width:260px}.endless-battle .run-loot{margin:0}@media(max-width:1100px)and (min-width:761px){.squad{left:130px;right:240px;gap:10px}.squad-bar{left:134px;right:240px}.squad .hero-card{grid-template-columns:44px minmax(22px,1fr) 35px;gap:8px 3px}.squad .hero-head{gap:5px}.squad .hero-head>img{width:44px;height:44px}.squad .hero-name{font-size:11px}.squad .hero-head small{display:none}.squad .ultimate-button{width:35px;height:35px;min-height:35px}.squad .hero-health>div:first-child{font-size:9px}.squad .hero-health .health-max{display:none}.squad .empty-slot{flex-basis:27px}.combat-skillbar{right:24px;width:193px}.squad-bar #sp-display{right:25px;font-size:9px}body[data-screen=expedition] .game-footer .nav-expedition{flex-basis:197px}.endless-hud{left:330px;right:110px;gap:9px}.endless-run-stats{display:none}.endless-clock{max-width:150px}.endless-relic-button{font-size:9px}}@media(max-width:760px){body[data-screen=expedition] .game-header{top:12px;right:12px;height:29px}.utility #help-button{display:none}body[data-screen=expedition] .utility button{width:29px;height:29px;min-height:29px;font-size:15px}body[data-screen=expedition] .battle-section-menu{top:12px;left:12px;gap:9px}body[data-screen=expedition] .battle-section-button{min-height:29px;min-width:42px;padding:4px;font-size:10px;flex:0 0 auto;gap:3px}body[data-screen=expedition] .battle-section-button img{display:none}.battle-topbar{inset:62px 12px auto;display:block}.battle-topbar .stage-heading{max-width:none;display:grid;grid-template-columns:1fr auto;gap:1px 8px}.battle-topbar .stage-heading>span{grid-column:1;font-size:8px}.battle-topbar .stage-heading h1{grid-column:1;font-size:19px;margin:2px 0}.battle-topbar .state-badge{grid-column:2;grid-row:1/3;align-self:center;font-size:9px}.battle-topbar .battle-controls{margin-top:10px;gap:5px;max-width:none;justify-content:flex-start;flex-wrap:nowrap}.battle-topbar .battle-controls button{font-size:9px;min-height:29px;min-width:0;padding:4px 6px;white-space:nowrap}.battle-topbar #sound-button{margin-left:auto}.battle-statusbar{top:156px;left:12px;right:90px;max-width:none}.battle-statusbar .field-hud{display:flex;flex-wrap:wrap;gap:6px 10px}.battle-statusbar .action-budget strong{font-size:14px}.battle-statusbar .action-budget>span{font-size:8px}.battle-statusbar .cycle-meter{font-size:8px;min-width:79px}.battle-statusbar .hunt-progress{font-size:8px;min-width:105px}.battle-statusbar .hunt-progress b{font-size:9px}.battle-statusbar .run-loot{font-size:9px;gap:8px}.battle-statusbar .run-loot:before{font-size:8px}.monster-info-button{right:10px;top:155px;min-height:29px;padding:5px;font-size:9px}.scene-wrap .timeline{top:217px;left:13px;width:30px;height:218px}.scene-wrap .timeline-label{font-size:6px;letter-spacing:0;margin-bottom:8px}.scene-wrap .turn-rail{width:25px;height:205px}.scene-wrap .turn-token{width:23px;height:23px;top:calc(var(--turn-index)*33px);font-size:14px}.scene-wrap .turn-token small{font-size:7px;right:-9px}.scene-wrap .timeline.awaiting-enemy:after{font-size:7px}.squad-bar{left:14px;right:14px;bottom:238px;height:20px;font-size:8px}.squad-bar b{font-size:9px;margin-left:3px}.squad-bar .formation-link{font-size:8px;padding:2px;min-height:24px}.squad-bar #sp-display{position:static;font-size:8px}.squad-bar #sp-display b{letter-spacing:2px;font-size:9px}.squad{left:12px;right:12px;bottom:129px;height:103px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:none}.squad .hero-card{display:flex;flex-direction:column;gap:4px;min-width:0;max-width:none;padding:0 2px;height:100%}.squad .hero-head{display:flex;gap:3px;flex-direction:column;cursor:pointer}.squad .hero-head>img{width:38px;height:38px}.squad .hero-name{font-size:10px;min-height:16px;line-height:1;padding:2px 0}.squad .hero-head small{display:none}.squad .hero-health{align-self:stretch;margin:0;position:relative;padding-right:0}.squad .hero-health>div:first-child{font-size:8px;justify-content:center}.squad .hero-health>div:first-child>span:first-child,.squad .hero-health .health-max{display:none}.squad .hp-track{height:3px;margin-top:3px}.squad .energy-track{height:2px;margin-top:3px}.squad .ultimate-button{position:absolute;right:-1px;top:25px;width:25px;height:25px;min-height:25px;padding:2px;gap:0}.squad .ultimate-icon .ability-glyph{width:14px;height:14px}.squad .ultimate-button small{position:static;font-size:7px;transform:none;line-height:1;margin:1px 0}.squad .ultimate-button{flex-direction:column}.squad .empty-slot{min-width:0;max-width:none;justify-content:center;gap:5px}.squad .empty-slot b{font-size:8px}.squad .empty-slot>span{font-size:7px}.combat-skillbar{left:14px;right:14px;bottom:81px;width:auto;flex-direction:row;align-items:center;gap:8px;height:42px}.combat-skill-label{width:42px;flex-shrink:0;font-size:10px}.combat-skill-label small{display:block;font-size:7px;margin:3px 0 0}.combat-skillbar .ability-slot{min-height:41px}.combat-skillbar .ability-icon{width:22px;height:22px}.combat-skillbar .ability-glyph{width:20px;height:20px}body[data-screen=expedition] .game-footer{left:10px;right:10px;bottom:10px;height:60px}body[data-screen=expedition] .game-footer nav{gap:5px}body[data-screen=expedition] .game-footer .nav-item:not(.nav-expedition){min-width:40px;flex-basis:45px;height:55px;font-size:9px}body[data-screen=expedition] .game-footer .nav-art,body[data-screen=expedition] .game-footer .nav-art img{width:27px;height:27px}body[data-screen=expedition] .game-footer .nav-expedition{flex-basis:200px;height:54px;padding:7px 12px;gap:8px}body[data-screen=expedition] .game-footer .nav-expedition .nav-label{font-size:17px}body[data-screen=expedition] #nav-destination{max-width:145px;font-size:8px}.scene-wrap .field-bottom{bottom:265px;right:12px}.scene-wrap #focus-label{font-size:8px}.ultimate-cutin{top:215px}.scene-wrap .chain-callout{bottom:275px}.endless-hud{left:12px;right:55px;top:44px;gap:10px}.endless-score{min-width:59px}.endless-score>span{font-size:6px}.endless-score strong{font-size:18px}.endless-score small{display:none}.endless-clock{max-width:145px}.endless-clock>div:first-child{font-size:8px}.endless-clock-track{height:3px;margin:3px 0}.endless-clock small{font-size:7px}.endless-run-stats{display:none}.endless-relic-button{font-size:8px;min-height:25px;padding:3px 6px}.endless-battle .battle-topbar{top:98px}.endless-battle .battle-statusbar,.endless-battle .monster-info-button{top:190px}.endless-battle .timeline{top:245px}}.battle-tooltip{position:fixed;inset:auto;margin:0;width:360px;max-width:calc(100vw - 24px);max-height:min(570px,calc(100dvh - 24px));overflow:auto;overscroll-behavior:contain;padding:20px;color:#d3e0e9;background:linear-gradient(135deg,#203142f9,#101c2afa);border:1px solid #a2b4c87a;border-top:2px solid #dccba1;border-radius:4px 16px 4px 4px;box-shadow:0 12px 50px #0009;font-family:var(--sans);scrollbar-width:thin}.battle-tooltip:not(:popover-open){display:none}.battle-tooltip::backdrop{background:transparent}.battle-tooltip-close{position:absolute;right:7px;top:7px;min-width:36px;min-height:36px;border:0;border-radius:50%;box-shadow:none;background:#34495a;color:#d7e5ef;font-size:24px;padding:0}.battle-tooltip-kicker{font-size:10px;letter-spacing:1px;color:#c7b791;padding-right:30px;margin-bottom:10px}.battle-tooltip-heading{display:flex;align-items:center;gap:12px}.battle-tooltip h2{font-size:21px;line-height:1.3;margin:0;padding-right:25px;color:#f0eee1}.battle-tooltip-heading span{font-size:11px;color:#bacddb}.battle-tooltip h3{font-size:12px;margin:14px 0 4px;color:#dbcda6}.battle-tooltip p{font-size:12px;line-height:1.75;margin:12px 0;word-break:keep-all;overflow-wrap:anywhere}.battle-tooltip .battle-tooltip-rule{padding:9px 10px;border-left:2px solid #95aabf;background:#07131c55;color:#bbccda;font-size:11px}.battle-tooltip .battle-tooltip-reason{color:#edbe98}.battle-tooltip .battle-tooltip-mode{font-size:11px;color:#cbbd94}.battle-tooltip footer{border-top:1px solid #51647666;padding-top:10px;font-size:10px;color:#9db2c4}.monster-tabs{display:flex;flex-wrap:wrap;gap:5px;margin:13px 0}.monster-tabs button{min-height:32px;padding:5px 9px;background:#253b4b;color:#bfd1dd;border:1px solid #566a7d;border-radius:4px;box-shadow:none;font-size:10px}.monster-tabs [aria-pressed=true]{background:#52616b;color:#fff0c3;border-color:#d5c79c}.monster-vitals{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.monster-vitals>span{display:flex;gap:5px}.battle-tooltip .intent-current{padding:8px 10px;font-size:12px;border:1px solid #6a675766;background:#4b443a33;color:#f1d3a9}body[data-screen=expedition] #toast{position:fixed;inset:19px auto auto 50%;width:max-content;max-width:min(460px,calc(100vw - 130px));transform:translate(-50%);padding:9px 17px;max-height:none;white-space:normal;font-size:11px;line-height:1.6}body[data-screen=expedition] #toast.show{transform:translate(-50%)}@media(max-width:760px){body[data-screen=expedition] #toast{top:44px;max-width:calc(100vw - 24px);font-size:10px;padding:7px 11px}}body[data-battle-quiet=true] :is(#loop-intro,#ultimate-cutin){visibility:hidden}.endless-relic-button{width:auto;flex:0 0 auto}.endless-clock{min-width:0;flex:1 1 130px}@media(max-width:760px){.endless-hud{display:flex;min-height:0;padding:0;flex-wrap:nowrap}.endless-relic-button{width:auto;max-width:100px;flex:0 0 auto}.endless-clock{flex:1 1 130px;min-width:80px}.endless-clock>div:first-child{white-space:nowrap;gap:4px}.squad .ultimate-button small{font-size:6px;letter-spacing:-.3px;position:absolute;left:50%;top:100%;transform:translate(-50%);color:#a4bacc}.squad .hero-health .health-shield{font-size:7px}}body[data-screen=expedition][data-battle-locked=true] :is(.utility,#stage-map-button,#next-stage-button,#sound-button,.game-footer .nav-item:not(.nav-expedition),.squad-bar,.squad .empty-slot){display:none}body[data-screen=expedition][data-battle-locked=true] .game-footer .nav-expedition.combat-hidden{display:none}body[data-screen=expedition][data-battle-locked=true] .battle-topbar{top:24px}body[data-screen=expedition][data-battle-locked=true] .stage-heading>span{font-size:8px}body[data-screen=expedition][data-battle-locked=true] .stage-heading h1{font-size:19px;margin:3px 0}body[data-screen=expedition][data-battle-locked=true] .stage-heading .state-badge{display:none}body[data-screen=expedition][data-battle-locked=true] .battle-statusbar{top:82px}body[data-screen=expedition][data-battle-locked=true] .battle-topbar #pause-button{display:block;min-width:34px;font-size:12px}body[data-screen=expedition][data-battle-locked=true] .monster-info-button{top:74px}body[data-screen=expedition][data-battle-locked=true] .timeline{top:166px}body[data-screen=expedition][data-battle-locked=true] .squad{left:70px;max-width:1020px}body[data-screen=expedition][data-battle-locked=true] .game-footer #retreat-button{pointer-events:auto;margin-left:auto;align-self:center;min-height:38px;padding:8px 14px;font-size:11px;border:1px solid #75818a66;background:#142536b3;color:#b1c0cc;border-radius:3px;box-shadow:none}body[data-screen=expedition][data-battle-locked=true] .game-footer .nav-expedition{margin-left:6px}.combat-skillbar{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:12px;row-gap:6px}.combat-skill-label{grid-column:1;grid-row:1}.combat-skillbar #sp-display{grid-column:2;grid-row:1;justify-self:end;position:static;font-size:8px;color:#9dafbe;white-space:nowrap}.combat-skillbar #sp-display b{font-size:10px;letter-spacing:1px;color:#ddca90}.combat-skillbar .hero-abilities{grid-column:1/-1;grid-row:2}body[data-screen=expedition][data-battle-locked=true] .endless-hud{top:24px;left:300px;right:265px}@media(max-width:1100px)and (min-width:761px){body[data-screen=expedition] #toast{top:58px}body[data-screen=expedition][data-battle-locked=true] .endless-hud{left:265px;right:240px}.combat-skill-label small{display:none}}@media(max-width:760px){body[data-screen=expedition][data-battle-locked=true] .battle-topbar{top:17px;left:12px;right:12px;display:flex;gap:6px;align-items:flex-start}body[data-screen=expedition][data-battle-locked=true] .stage-heading{display:block;max-width:158px}body[data-screen=expedition][data-battle-locked=true] .stage-heading h1{font-size:16px;letter-spacing:0}body[data-screen=expedition][data-battle-locked=true] .stage-heading>span{font-size:7px;letter-spacing:1px}body[data-screen=expedition][data-battle-locked=true] .battle-controls{margin:0;max-width:198px;gap:4px}body[data-screen=expedition][data-battle-locked=true] .battle-controls #auto-ultimate-button{font-size:8px}body[data-screen=expedition][data-battle-locked=true] .battle-controls #pause-button{font-size:12px;min-width:28px}body[data-screen=expedition][data-battle-locked=true] .battle-statusbar{top:71px;right:85px}body[data-screen=expedition][data-battle-locked=true] .monster-info-button{top:68px}body[data-screen=expedition][data-battle-locked=true] .timeline{top:125px}body[data-screen=expedition][data-battle-locked=true] .squad{left:12px;right:12px}body[data-screen=expedition][data-battle-locked=true] .game-footer #retreat-button{font-size:10px;padding:7px 10px;min-height:34px}.combat-skillbar{height:57px;bottom:73px;grid-template-columns:1fr auto;row-gap:0}.combat-skill-label{width:auto;font-size:9px}.combat-skill-label small{display:inline;font-size:7px;margin-left:5px}.combat-skillbar #sp-display{font-size:8px}.combat-skillbar #sp-display b{font-size:9px}body[data-screen=expedition][data-battle-locked=true] .endless-hud{top:63px;left:12px;right:12px;height:41px;gap:10px}body[data-screen=expedition][data-battle-locked=true]:has(.endless-battle) .battle-statusbar{top:115px}body[data-screen=expedition][data-battle-locked=true] .endless-battle .monster-info-button{top:112px}body[data-screen=expedition][data-battle-locked=true] .endless-battle .timeline{top:160px}body[data-screen=expedition] #toast{top:56px}}.battle-icon{display:block;width:18px;height:18px;flex-shrink:0}.battle-topbar .battle-controls button,.monster-info-button,#retreat-button{display:inline-flex;align-items:center;justify-content:center;gap:7px}.battle-topbar .battle-controls button{height:36px;min-width:38px;padding:7px 11px;border:1px solid #a5bed52e;border-top-color:#b1c8dd60;border-radius:3px 10px 3px 3px;background:linear-gradient(135deg,#2c435663,#102335b8);color:#c8d6e1;box-shadow:inset 0 1px #e1f1ff05}.battle-topbar .battle-controls button:hover:not(:disabled){background:#38536aa8;border-color:#bbd1df99}.battle-topbar .battle-controls #auto-ultimate-button{gap:6px;font:600 10px var(--pixel)}.battle-topbar #auto-ultimate-button b{font-size:8px;font-weight:500;color:#8ea5b7;border-left:1px solid #abc5d438;padding-left:6px}.battle-topbar #auto-ultimate-button[aria-pressed=true]{background:linear-gradient(135deg,#72654666,#263a49b8);border-color:#cebb796e;color:#f0ddb0}.battle-topbar #auto-ultimate-button[aria-pressed=true] b{color:#f0ddb0}.battle-topbar #speed-button{font:600 11px var(--pixel);gap:5px}.battle-topbar #speed-button .battle-icon{width:15px}body[data-screen=expedition][data-battle-locked=true] .battle-topbar #pause-button{align-items:center;justify-content:center;padding:7px;width:36px;min-width:36px;border-radius:50%;display:flex}body[data-screen=expedition][data-battle-locked=true] .battle-topbar #pause-button:disabled{display:none}.monster-info-button{font-size:10px;gap:7px;min-height:34px;color:#a8c0d3;border-radius:3px;background:#12243666}.monster-info-button .battle-icon{width:15px;height:15px}.game-footer .nav-expedition .nav-forward .battle-icon{width:25px;height:25px}#retreat-button .battle-icon{width:15px;height:15px}#sp-display{display:flex;align-items:center;gap:7px;line-height:1}.sp-caption{font:600 9px var(--pixel);letter-spacing:1px;color:#839caf}.sp-cells{display:flex;gap:3px;align-items:center;height:20px}.sp-cell{width:10px;height:17px;overflow:visible;color:#aeb4bb;transition:color .18s,filter .18s}.sp-cell>path:first-child{fill:#5366741a;stroke:#91a7b855;stroke-width:1}.sp-cell .sp-core{stroke:transparent;stroke-width:1}.sp-cell.filled{color:#efdeb0;filter:drop-shadow(0 0 3px #e2c98833)}.sp-cell.filled>path:first-child{fill:currentColor;stroke:#f7eac8;stroke-width:.6}.sp-cell.filled .sp-core{stroke:#fff9e48c}body[data-screen=expedition][data-battle-locked=true] .game-footer #retreat-button{display:inline-flex;gap:8px}@media(max-width:760px){.battle-topbar .battle-controls button{height:30px;padding:5px 7px;gap:4px}.battle-topbar .battle-controls .battle-icon{width:14px;height:14px}.battle-topbar .battle-controls #auto-ultimate-button{font-size:8px;gap:4px}.battle-topbar #auto-ultimate-button b{font-size:7px;padding-left:4px}.battle-topbar #speed-button{font-size:9px}.battle-topbar #speed-button .battle-icon{width:12px}body[data-screen=expedition][data-battle-locked=true] .battle-topbar #pause-button{width:30px;min-width:30px;height:30px;padding:6px}.monster-info-button{font-size:9px;gap:4px}.monster-info-button .battle-icon{width:13px;height:13px}.sp-cells{height:16px;gap:3px}.sp-cell{width:9px;height:15px}.sp-caption{font-size:8px}}.scene-wrap #chain-callout{left:50%;top:31px;bottom:auto;max-width:35%;width:max-content;padding:5px 14px;transform:translate(-50%,-5px);border:0;background:linear-gradient(90deg,transparent,#1326379c,transparent);text-align:center}.scene-wrap #chain-callout.show{transform:translate(-50%)}.scene-wrap #chain-callout small{font-size:8px;letter-spacing:2px;color:#bfcfa6}.scene-wrap #chain-callout b{font-size:15px;font-weight:500;color:#e1e9e5;margin-top:4px}@media(max-width:760px){.scene-wrap #chain-callout{top:115px;max-width:68%;padding:4px 10px}.scene-wrap #chain-callout small{font-size:7px}.scene-wrap #chain-callout b{font-size:11px}.endless-battle.scene-wrap #chain-callout,.endless-battle .scene-wrap #chain-callout{top:151px}}@media(max-width:760px){body[data-screen=expedition][data-battle-locked=true] .battle-topbar{flex-direction:row;flex-wrap:nowrap}body[data-screen=expedition][data-battle-locked=true] .stage-heading{width:auto;flex:1 1 auto;min-width:0}body[data-screen=expedition][data-battle-locked=true] .battle-controls{width:auto;flex:0 0 auto;max-width:none}}@media(min-width:761px)and (max-width:1100px){body[data-screen=expedition][data-battle-phase=paused] .squad,body[data-screen=expedition][data-battle-phase=shop] .squad{bottom:118px}}body[data-screen=expedition][data-battle-phase=paused] .battle-topbar #pause-button:disabled{display:flex;opacity:.4;background:#16273788;cursor:default}.scene-wrap #chain-callout{top:126px}body[data-screen=expedition][data-battle-locked=true] #toast{top:124px}body[data-screen=expedition]:has(#toast.show) #chain-callout{visibility:hidden}@media(min-width:1101px)and (max-width:1400px){body[data-screen=expedition][data-battle-locked=true] .squad{right:420px}}@media(min-width:761px)and (max-width:1100px){body[data-screen=expedition][data-battle-locked=true] .squad{bottom:118px}body[data-screen=expedition][data-battle-locked=true] .endless-hud{top:75px;left:265px;right:24px}body[data-screen=expedition][data-battle-locked=true] .endless-battle .monster-info-button{top:139px}}@media(max-width:760px){.scene-wrap #chain-callout{top:115px}.endless-battle .scene-wrap #chain-callout{top:151px}body[data-screen=expedition][data-battle-locked=true] #toast{top:154px}}body[data-screen=expedition] #modal{border:1px solid #879aae55;border-radius:4px 20px;background:linear-gradient(135deg,#243143fa,#0e1826fa 60%);box-shadow:0 24px 90px #000a;color:#d7e2e8;max-height:calc(100dvh - 40px);scrollbar-color:#54667b #101b28}body[data-screen=expedition] #modal::backdrop{background:#020914ae;backdrop-filter:blur(5px)}body[data-screen=expedition] #modal .dialog-close{border:1px solid #9db3c040;border-radius:50%;background:#162433;color:#c9d9e5;width:36px;height:36px;right:14px;top:14px;z-index:4}body[data-screen=expedition] #modal .dialog-close:focus-visible{outline:2px solid #e4cb8e;outline-offset:2px}body[data-screen=expedition] #modal :is(.primary-button,.secondary-button){border-radius:3px 10px 3px 3px;box-shadow:none;min-height:44px;font-size:13px;padding:11px 18px}body[data-screen=expedition] #modal .primary-button{background:linear-gradient(120deg,#ead9a8,#bbae7f);border:1px solid #f3e6bd;color:#20262c}body[data-screen=expedition] #modal .secondary-button{background:#1c2c3e;border:1px solid #99b1c15e;color:#c7dae5}body[data-screen=expedition] #modal button:disabled{opacity:.45;cursor:default}body[data-screen=expedition] #modal:has(.battle-result){width:min(620px,calc(100vw - 32px));padding:32px 30px 0;overflow:auto}.battle-result .result-heading{text-align:center}.battle-result .dialog-overline{font-size:10px;letter-spacing:3px;color:#99adbb}.battle-result .dialog-title{font-size:34px;letter-spacing:4px;color:#e4dcc5;margin:14px 0 8px}.battle-result.is-victory .dialog-title{color:#f0d697}.battle-result .result-stage{font-size:14px;color:#b5c7d8;margin:0 0 10px}.battle-result .dialog-description{font-size:12px;line-height:1.7;color:#9bafbf;margin:0 0 18px}.battle-result .result-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-block:1px solid #a6b7c323;padding:18px 0;margin:18px 0;background:none}.battle-result .result-stats>div{background:none;border:0;padding:0;text-align:center}.battle-result .result-stats b{display:block;font-size:27px;color:#dce8ed}.battle-result .result-stats span{display:block;font-size:11px;color:#93a6b7;margin-top:6px}.battle-result .result-loot{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:18px 0;background:none;padding:0;border:0}.battle-result .result-loot>span{display:grid;grid-template-columns:auto 1fr;gap:5px;align-items:center;background:#0b142466;border:1px solid #9fafbb25;padding:13px 10px;color:#ddc78f}.battle-result .result-loot i{font-size:18px;font-style:normal}.battle-result .result-loot b{font-size:19px;white-space:nowrap}.battle-result .result-loot small{font-size:10px;color:#93a6b7;grid-column:1/-1;text-align:center}.battle-result .result-notes{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px;line-height:1.7;margin:10px 0;color:#c8d9b7;font-size:12px}.battle-result .result-notes strong{font-weight:500}.result-analysis{border-top:1px solid #95abbb29;padding-top:10px;margin-top:14px;font-size:12px;color:#a9bbca}.result-analysis summary{cursor:pointer;padding:6px 0;color:#aabed1}.result-analysis p{font-size:12px;line-height:1.8;color:#a9bdc9}.result-analysis .boss-reward-note{padding:0;border:0;background:none;margin:10px 0}.result-navigation{display:flex;justify-content:center;gap:24px;margin:17px 0 4px}.result-navigation button{background:none;border:0;padding:6px 0;color:#9fb4c7;font-size:12px;box-shadow:none;min-height:36px}.result-navigation button:hover{color:#eed39b;background:none;text-decoration:underline}.battle-result .dialog-actions{position:sticky;bottom:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:15px 0 22px;margin:0;background:#111c29;z-index:3}.battle-result .endless-result-score{margin:16px 0;text-align:center}.battle-result .endless-result-score strong{font-size:54px;color:#efdaa0}.battle-result .result-relics{max-height:140px;overflow:auto}@media(max-width:760px){body[data-screen=expedition] #modal{max-height:calc(100dvh - 20px)}body[data-screen=expedition] #modal:has(.battle-result){width:calc(100vw - 20px);padding:24px 16px 0}.battle-result .dialog-title{font-size:27px;margin-top:20px}.battle-result .dialog-description{font-size:11px}.battle-result .result-stats{padding:13px 0;margin:14px 0}.battle-result .result-stats b{font-size:23px}.battle-result .result-loot{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:12px 0}.battle-result .result-loot>span{grid-template-columns:22px 1fr auto;padding:9px 10px}.battle-result .result-loot small{grid-column:auto;font-size:9px}.battle-result .result-loot b{font-size:18px}.battle-result .dialog-actions{padding:12px 0 16px;gap:7px}.battle-result .dialog-actions button{padding:9px 5px!important;font-size:12px!important}.result-navigation{margin:9px 0 0;gap:22px}.result-navigation button,.battle-result .result-notes{font-size:11px}}.battle-result button:focus-visible{outline:2px solid #e2c98d;outline-offset:3px}.battle-topbar button.state-badge{background:none;border:0;box-shadow:none;padding:0;text-align:left;font:inherit;color:#b8c78e;font-size:11px;min-height:20px}.battle-topbar button.state-badge:disabled{opacity:1;cursor:default}.battle-topbar button.state-badge:not(:disabled){text-decoration:underline;text-underline-offset:4px}.battle-topbar button.state-badge:hover:not(:disabled){color:#efd59a}@media(max-width:760px){.endless-battle .stage-heading>span{display:none}.battle-topbar button.state-badge{font-size:9px}}.memory-fragment-loot{color:#84e3ff}@media(max-width:760px){.battle-result .result-loot>span:last-child:nth-child(5){grid-column:1/-1}}.memorial-stone-loot{color:#bda4f5}body[data-screen=tree]{overflow:hidden}body[data-screen=tree] .game-cabinet{width:100%;max-width:none;height:100dvh;min-height:0;max-height:none;margin:0;border:0;box-shadow:none;background:#0c131e}body[data-screen=tree] .game-cabinet:after,body[data-screen=tree] :is(#expedition-menu,.brand,.utility),#tree-page>.growth-tabs,#tree-page>.tree-lanes{display:none!important}body[data-screen=tree] .game-header{position:absolute;right:24px;top:0;height:64px;min-height:0;border:0;padding:0;background:none;z-index:4}body[data-screen=tree] .wallet{gap:22px}body[data-screen=tree] .currency{min-width:0;gap:6px}body[data-screen=tree] .currency b{font-size:20px}body[data-screen=tree] .currency.level{display:none}body[data-screen=tree] .game-screen{height:100%;flex:1;min-height:0}body[data-screen=tree] #toast{position:fixed;left:calc((100vw - 320px)/2);right:auto;top:166px;bottom:auto;transform:translate(-50%);max-width:calc(100vw - 360px);padding:8px 15px;font-size:11px}#tree-page.active{display:flex;flex-direction:column;overflow:hidden;background:radial-gradient(ellipse at 40% 45%,#1e2b3b,#0b121c 78%)}#tree-page>.screen-title{height:64px;min-height:64px;padding:0 24px;gap:20px;justify-content:flex-start;border-bottom:1px solid #8fa3b023;background:transparent}#tree-page .screen-title h1{font-size:23px;margin:0;letter-spacing:1px;color:#e8e3d5}.growth-back{display:flex;align-items:center;gap:7px;min-height:40px;padding:4px 12px 4px 0;border:0;background:none;color:#bac6d1;box-shadow:none;font-size:13px}.growth-back>span{font:28px sans-serif}#tree-count{font-size:11px;color:#8c9dad}#tree-count b{color:#ddc788;font-size:14px}#stacked-growth-host.sg-root{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:48px 42px minmax(0,1fr) 30px;grid-template-areas:"chapters chapters" "lanes tools" "body body" "footer footer";flex:1;min-height:0;overflow:hidden;padding:0 20px 8px;gap:0}#tree-page .sg-heading,#tree-page .sg-selection{display:none}#tree-page .sg-chapters{grid-area:chapters;display:flex;gap:22px;border-bottom:1px solid #90a5b020;align-items:stretch}#tree-page .sg-chapters button{display:flex;align-items:center;gap:10px;min-width:0;padding:0 10px;border:0;border-bottom:2px solid transparent;background:none;box-shadow:none;color:#8393a4}#tree-page .sg-chapters button>b{font-size:13px;margin:0;min-height:0;white-space:nowrap}#tree-page .sg-chapters button>span{font-size:11px;letter-spacing:1px;color:#9caaad}#tree-page .sg-chapters button>small{font-size:10px;color:#8493a4}#tree-page .sg-chapters button.is-current{border-bottom-color:#e1c282;color:#f1d898;background:linear-gradient(0deg,#c1a16815,transparent)}#tree-page .sg-chapters button:hover{color:#f0deb7}#tree-page .sg-lanes{grid-area:lanes;display:flex;align-items:center;overflow:visible;padding:0;margin:0}.sg-lanes label{display:flex;gap:8px;align-items:center;font-size:11px;color:#8396a8}.sg-lanes select{font:12px inherit;color:#cbd6dd;background:#101c2a;border:1px solid #8799ab35;border-radius:4px;padding:6px 28px 6px 9px;min-height:32px}#tree-page .sg-tools{grid-area:tools;margin:0;gap:16px;flex-wrap:nowrap;font-size:10px}#tree-page .sg-tools .sg-help{color:#7f91a3;font-size:10px;width:auto}#tree-page .sg-tools>div{gap:5px;width:auto}#tree-page .sg-tools button{background:#172330;border:1px solid #92a9bf35;border-radius:4px;box-shadow:none;min-height:30px;padding:4px 10px;font-size:11px;color:#cbd6df}#tree-page .sg-tools button:hover{border-color:#e1c282;color:#f0deb7}#tree-page .sg-tools output{font-size:11px;width:42px}#tree-page .sg-body{grid-area:body;min-height:0;grid-template-columns:minmax(0,1fr) 300px;gap:14px;position:relative}.sg-map{overflow:hidden;scrollbar-width:none}.sg-surface{width:100%!important;height:100%!important;margin:0}.sg-world{will-change:transform}#tree-page .sg-map{height:100%;min-height:0;border:1px solid #8296ac26;border-radius:8px;background:radial-gradient(ellipse at center,#31425c42,transparent 70%),radial-gradient(#a5b7cb1c 1px,transparent 1px),#0e1825;background-size:auto,28px 28px}#tree-page .sg-detail{height:100%;max-height:none;border:1px solid #bfa77842;border-radius:8px;background:linear-gradient(155deg,#33332970,#111e2bcc 55%);overflow:hidden}#tree-page .sg-detail-title h2{font-size:21px}#tree-page .sg-detail-main{padding:20px}#tree-page .sg-detail-title .growth-icon{width:55px;height:55px}#tree-page .sg-purchase{background:#111c29;border-color:#8d9aa133;padding:14px 16px}#tree-page .sg-buy:not(:disabled):hover{background:linear-gradient(#f1dba6,#c5a164);color:#272117}#tree-page .sg-buy[data-sg-requirement]{background:#243343;color:#ead7a6;border-color:#ac9660;box-shadow:none}#tree-page .sg-buy[data-sg-requirement]:hover{background:#344353;color:#ffebb8}#tree-page .sg-footer{grid-area:footer;align-items:center;gap:20px;padding:0;font-size:11px}#tree-page .sg-footer small{font-size:10px}#tree-page .sg-chapters button:disabled{color:#647285;opacity:.65;cursor:not-allowed}#tree-page .sg-chapters button.has-new:after{content:"";position:absolute;right:2px;top:9px;width:5px;height:5px;border-radius:50%;background:#dfc17d;box-shadow:0 0 7px #dfc17d60}#tree-page .sg-node-next{display:block;top:101px;color:#899dac;font-size:10px}#tree-page .sg-node.is-ready .sg-node-next{color:#d4c392}#tree-page .sg-node.is-max .sg-node-next,#tree-page .sg-core>small{display:none}#tree-page .sg-node-next{width:max-content;max-width:132px;padding:2px 5px;border-radius:3px;background:#101b29f2;line-height:1.2}#tree-page .sg-node.is-selected{border-color:#ffe4a6;outline:2px solid #ffe4a6;outline-offset:4px;box-shadow:0 0 18px #e8c47a30}#tree-page .sg-map:focus-visible{outline:1px solid #d8c08b;outline-offset:-2px}#tree-page .sg-new-badge{position:absolute;top:-12px;left:-3px;border:1px solid #e3d28b;background:#d5c082;color:#262719;border-radius:3px;padding:2px 5px;font:700 9px sans-serif;letter-spacing:.5px}#tree-page .sg-node.is-new:not(.is-selected){box-shadow:0 0 0 3px #e9d09320}#tree-page .sg-overview .sg-node-next{display:none}.sg-upcoming{border-top:1px solid #b7c2ce22;margin-top:18px;padding-top:13px;font-size:11px;color:#a2b0bb}.sg-upcoming>b{font-weight:500;color:#bcb08e}.sg-upcoming>div{margin-top:9px;border-left:2px solid #ccb67866;padding:3px 0 3px 10px}.sg-upcoming strong{display:block;color:#d7dcca;font-size:12px;font-weight:500}.sg-upcoming span{display:block;line-height:1.7;margin-top:3px;font-size:10px}.sg-map-status{position:absolute;left:12px;bottom:12px;display:flex;align-items:center;gap:12px;pointer-events:none;z-index:6;color:#91a5b5;font-size:10px;text-shadow:0 1px 4px #08111d}.sg-map-count{border-radius:5px;background:#0d182ce8;padding:7px 8px}.sg-map-status button{pointer-events:auto;min-height:34px;padding:7px 12px;border:1px solid #bda76680;border-radius:5px;color:#efdaad;background:#27302af5;box-shadow:0 2px 12px #0003;font:11px inherit;white-space:nowrap}.sg-map-status button:hover{background:#3b4132;border-color:#dccb8b}.sg-map-hint{position:absolute;right:12px;bottom:19px;pointer-events:none;z-index:5;color:#6d8293;font-size:10px;text-shadow:0 1px 4px #08111d}.sg-empty-map{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none;text-align:center;color:#95a8b6}.sg-empty-map>span{font:36px serif;color:#bba572;opacity:.7;margin-bottom:14px}.sg-empty-map>b{font-weight:500;color:#d9d1b7;font-size:17px}.sg-empty-map p{font-size:12px;line-height:1.8}@media(max-width:1100px){.sg-map-hint{display:none}#tree-page .sg-chapters{gap:8px}#tree-page .sg-chapters button{gap:6px;padding:0 8px}#tree-page .sg-chapters button>small{display:none}#tree-page .sg-body{grid-template-columns:minmax(0,1fr) 270px;gap:10px}#tree-page .sg-tools .sg-help{display:none}body[data-screen=tree] .wallet{gap:14px}body[data-screen=tree] .currency small{display:none}}@media(max-width:760px){body[data-screen=tree] #toast{left:50%;top:145px;max-width:calc(100vw - 40px);font-size:10px}#tree-page .sg-detail:not(.is-expanded) .sg-upcoming{display:none}#tree-page .sg-detail.is-empty .sg-detail-main{height:100%;flex:1;overflow:auto}#tree-page .sg-detail.is-empty .sg-detail-title{padding-right:0}#tree-page .sg-detail.is-empty .sg-conditions{display:flex;margin-top:6px}#tree-page .sg-detail.is-empty .sg-description{display:block;font-size:10px;margin:5px 0}.sg-map-status{left:8px;bottom:8px;gap:6px;font-size:9px}.sg-map-status button{font-size:10px;padding:6px 8px}body[data-screen=tree] .game-header{right:12px;height:54px}body[data-screen=tree] .wallet{gap:10px}body[data-screen=tree] .currency{gap:3px}body[data-screen=tree] .currency b{font-size:13px}body[data-screen=tree] .currency .symbol{font-size:15px}#tree-page>.screen-title{height:54px;min-height:54px;padding:0 10px;gap:10px}#tree-page .screen-title h1{font-size:16px}#tree-count{display:none}.growth-back{font-size:0;padding-right:0}.growth-back>span{font-size:29px}.growth-back{width:32px;justify-content:center}#stacked-growth-host.sg-root{padding:0 8px 7px;grid-template-rows:40px 42px minmax(0,1fr) 0}#tree-page .sg-chapters{gap:0;justify-content:space-between}#tree-page .sg-chapters button{padding:0 4px;gap:4px;flex:1;justify-content:center}#tree-page .sg-chapters button>span{font-size:9px;letter-spacing:0}#tree-page .sg-chapters button>b{font-size:10px;white-space:normal;word-break:keep-all;line-height:1.2}#tree-page .sg-tools{gap:0}#tree-page .sg-tools>div{gap:3px;justify-content:flex-end}#tree-page .sg-tools button{padding:3px 7px;min-height:32px;font-size:10px}#tree-page .sg-tools output{width:32px;font-size:10px}#tree-page .sg-tools button[data-sg-start]{margin:0}.sg-lanes label{font-size:0;gap:0}.sg-lanes select{width:103px;font-size:11px;padding:5px 3px;min-height:32px}#tree-page .sg-body{display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 157px;gap:7px}#tree-page .sg-map{height:100%;min-height:0;grid-row:1}#tree-page .sg-detail{grid-row:2;position:relative;height:157px;max-height:none;display:flex;border-radius:8px;z-index:5}#tree-page .sg-detail-toggle{position:absolute;right:7px;top:6px;width:auto;border:0;background:transparent;font-size:11px;padding:5px 6px;color:#dac48c;min-height:30px;z-index:2}#tree-page .sg-detail-main{padding:10px 12px;flex:1;min-height:0;overflow:auto}#tree-page .sg-detail-kicker,#tree-page .sg-progress{display:none}#tree-page .sg-detail-title{margin:0;padding-right:104px;gap:8px;min-height:25px}#tree-page .sg-detail-title h2{font-size:15px}#tree-page .sg-detail-title .growth-icon{width:24px;height:24px;flex-shrink:0}#tree-page .sg-detail:not(.is-expanded) .sg-detail-main{flex:none;height:44px;padding-block:9px}#tree-page .sg-purchase{padding:7px 10px;display:grid;grid-template-columns:minmax(0,1fr) 135px;grid-template-rows:29px 18px 36px;gap:4px 10px;flex:none;height:112px}#tree-page .sg-quantities{grid-row:1;grid-column:1;gap:4px;margin:0}#tree-page .sg-quantities button{min-height:29px;font-size:10px;padding:3px 1px}#tree-page .sg-quote{grid-row:1;grid-column:2;font-size:10px;gap:5px}#tree-page .sg-quote>b{font-size:12px;gap:4px}#tree-page .sg-gain{grid-column:1/-1;grid-row:2;font-size:10px;line-height:16px;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#tree-page .sg-stop{grid-row:3;grid-column:1;font-size:9px;line-height:1.5;margin:0;align-self:center}#tree-page .sg-buy{grid-row:3;grid-column:2;min-height:36px;font-size:12px;padding:5px}#tree-page .sg-detail.is-expanded{position:absolute;bottom:0;left:0;right:0;height:min(430px,100%);box-shadow:0 -24px 60px #0009}#tree-page .sg-detail.is-expanded .sg-detail-main{padding-top:14px}#tree-page .sg-detail.is-expanded .sg-progress{display:block;margin-top:12px}#tree-page .sg-footer{display:none}}.currency-icon{width:28px;height:28px;display:inline-block;vertical-align:middle;flex-shrink:0;filter:drop-shadow(0 2px 2px #0004)}.currency .symbol{display:flex;align-items:center}.currency .symbol .currency-icon{width:29px;height:29px}.memorial-stone-balance .currency-icon{width:32px;height:32px}.memorial-empty-emblem .currency-icon{width:80px;height:80px}.lobby-memory-link .currency-icon{width:35px;height:35px}.result-loot .currency-icon{width:32px;height:32px}.sg-node-next .currency-icon{width:12px;height:12px;filter:none}.history-item .currency-icon,.battle-tooltip-rule .currency-icon{width:18px;height:18px}.equipment-wallet .currency-icon,.gear-actions .currency-icon,.craft-heading~.equipment-inventory button .currency-icon,.relic-price .currency-icon{width:20px;height:20px}.relic-wallet .currency-icon{width:30px;height:30px}.battle-wallet{position:absolute;z-index:8;left:50%;top:18px;transform:translate(-50%);width:max-content;max-width:calc(100% - 610px);padding:8px 18px 10px;border:1px solid #8eaabd35;border-top-color:#dac49670;border-radius:4px 4px 18px 18px;background:linear-gradient(180deg,#0c1824ed,#132436d9);box-shadow:0 8px 28px #0003;pointer-events:none}.battle-wallet-caption{display:flex;justify-content:center;align-items:center;gap:12px;color:#e0d7b8;letter-spacing:1px;font:10px var(--sans);margin-bottom:6px}.battle-wallet-caption small{font-size:9px;color:#829ba9;letter-spacing:0}.battle-wallet .run-loot{display:flex;gap:16px;margin:0;padding:0;align-items:center;justify-content:center;flex-wrap:nowrap}.battle-wallet [data-resource]{position:relative;display:flex;align-items:center;gap:6px;min-width:52px;color:var(--resource-color);font-variant-numeric:tabular-nums;transform:none;animation:none}.battle-wallet .resource-copy{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.battle-wallet .resource-copy small{font:9px var(--sans);color:#9fb4c5;white-space:nowrap}.battle-wallet b{font:600 20px var(--pixel);line-height:1.15;color:#f0eee0}.battle-wallet [data-resource=xp] b{font-size:17px;color:#a9bea8}.battle-wallet [data-resource=xp] .currency-icon{width:23px;height:23px}.battle-wallet [data-resource]:after{content:"";position:absolute;inset:-6px;border-radius:8px;background:radial-gradient(ellipse,var(--resource-color),transparent 70%);opacity:0;pointer-events:none}.resource-gain{position:absolute;left:50%;top:100%;color:var(--resource-color);font:700 16px var(--pixel);text-shadow:0 2px 6px #000;opacity:0;white-space:nowrap}.battle-wallet .collected:after{animation:wallet-catch .42s ease-out}.battle-wallet .collected .currency-icon{animation:wallet-pop .45s ease-out}.battle-wallet .collected b{animation:wallet-number .45s ease-out}.battle-wallet .collected .resource-gain{animation:wallet-gain .85s ease-out}@keyframes wallet-catch{0%{opacity:.7;transform:scale(.7)}to{opacity:0;transform:scale(1.4)}}@keyframes wallet-pop{20%{transform:scale(1.35) rotate(-8deg);filter:drop-shadow(0 0 7px var(--resource-color))}to{transform:none}}@keyframes wallet-number{20%{color:var(--resource-color);transform:scale(1.12)}to{transform:none}}@keyframes wallet-gain{0%{opacity:0;transform:translate(-50%)}15%,55%{opacity:1}to{opacity:0;transform:translate(-50%,22px)}}body[data-screen=expedition] #expedition-menu{inset:auto 24px 101px auto;width:274px;display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:6px;border:1px solid #9cb3c039;border-radius:8px;background:linear-gradient(140deg,#263a4ae8,#0e1c2bee);box-shadow:0 8px 20px #0003}body[data-screen=expedition] #expedition-menu[hidden]{display:none}body[data-screen=expedition] .battle-section-button{min-width:0;min-height:62px;padding:5px 2px;display:flex;flex-direction:column;gap:5px;font-size:12px;border:1px solid transparent;border-radius:5px;color:#c3d0d9}body[data-screen=expedition] .battle-section-button img{display:block;width:29px;height:29px;filter:none}body[data-screen=expedition] .battle-section-button.active{border:1px solid #d9c68a77;background:#ead69a12;color:#f3e4bc}body[data-screen=expedition][data-battle-locked=false] .combat-skillbar{display:none}body[data-screen=expedition][data-battle-locked=false] .battle-topbar .stage-heading{transform:translateY(-50px)}body[data-screen=expedition][data-battle-locked=false] .battle-statusbar{top:119px}body[data-screen=expedition][data-battle-locked=false] .timeline{top:219px}body[data-screen=expedition] #toast{z-index:30}.endless-battle .battle-wallet{left:auto;right:24px;top:121px;transform:none;max-width:220px;padding:7px 12px}.endless-battle .battle-wallet-caption{font-size:9px;margin-bottom:4px}.endless-battle .battle-wallet b{font-size:18px}.sg-effect-hero{border:1px solid #d7bb744d;border-left:3px solid #edd391;border-radius:4px;padding:16px 16px 14px;background:radial-gradient(ellipse at 100% 0,#c8a85325,transparent 75%),#0d1925;margin:10px 0 14px}.sg-effect-caption{display:block;font-size:11px;color:#c2b58f;margin-bottom:10px}.sg-effect-line{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.sg-effect-line>span{font-size:15px;font-weight:600;line-height:1.5;color:#e5e6d8}.sg-effect-line strong{font:700 44px var(--pixel);color:#ffe3a0;white-space:nowrap;line-height:1.15}.sg-effect-line strong small{font-size:24px}.sg-effect-transition{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:13px;padding-top:11px;border-top:1px solid #92a9b026;font-size:11px;color:#9caebb}.sg-effect-transition b{font-size:15px;color:#e0d1a7;font-variant-numeric:tabular-nums}.sg-effect-transition em{font-style:normal;color:#758b9b;margin:0 5px}.sg-effect-breakdown{font-size:12px;line-height:1.6;color:#bfc6b5;margin:9px 0 0}.sg-effect-breakdown i{font-style:normal;margin:0 3px;color:#8496a3}.sg-description{word-break:keep-all;overflow-wrap:anywhere}.sg-lock svg{width:15px;height:19px;display:block}.sg-lock{padding:3px;border-radius:3px}.sg-quantities button:disabled{opacity:.45;cursor:not-allowed}.sg-effect-feature{font-size:22px;color:#ffe3a0;line-height:1.45;font-weight:600}.sg-stat-preview{display:flex;justify-content:space-between;gap:10px;padding:8px 0;font-size:11px;color:#a4b8c8}.sg-stat-preview b{color:#cce3ca;font-size:14px}#tree-page .sg-detail-title{margin-bottom:10px}#tree-page .sg-progress{height:19px;margin-bottom:8px}#tree-page .sg-progress span{line-height:17px}#tree-page .sg-total{display:none}#tree-page .sg-preview{font-size:12px;line-height:1.7}#tree-page .sg-preview small{display:block;font-size:10px;color:#889caa;margin-bottom:4px}#tree-page .sg-gain{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:13px;color:#f5d995;font-weight:600}#tree-page .sg-gain strong{font:700 25px var(--pixel);white-space:nowrap}#tree-page .sg-gain strong small{font-size:13px}#tree-page .sg-quote .currency-icon{width:20px;height:20px}#tree-page .sg-quote>b>span{display:inline-flex;align-items:center;gap:3px}@media(min-width:1700px){#tree-page .sg-body{grid-template-columns:minmax(0,1fr) 340px}.sg-effect-line strong{font-size:50px}}@media(min-width:761px)and (max-width:1200px){.battle-wallet{top:125px;max-width:calc(100% - 310px);left:60%;padding:6px 12px}.battle-wallet .run-loot{gap:10px}.battle-wallet b{font-size:17px}.battle-wallet [data-resource]{min-width:40px;gap:4px}.battle-wallet .currency-icon{width:24px;height:24px}body[data-screen=expedition] #expedition-menu{width:197px}.battle-wallet-caption{font-size:9px}.battle-wallet .resource-copy small{font-size:8px}.endless-battle .battle-wallet{top:186px;left:auto;right:24px;max-width:197px}}@media(max-width:760px){.currency .symbol .currency-icon{width:23px;height:23px}body[data-screen=expedition] #expedition-menu{right:10px;bottom:78px;width:210px;padding:4px;gap:2px}.battle-section-menu .battle-menu-title{display:none}body[data-screen=expedition] .battle-section-button{min-height:49px;gap:3px;font-size:10px}.battle-section-button img{width:23px!important;height:23px!important}body[data-screen=expedition][data-battle-locked=false] .battle-topbar{top:16px;right:48px}.battle-topbar .battle-controls{margin-top:10px;width:calc(100vw - 24px)}body[data-screen=expedition][data-battle-locked=false] .battle-topbar .stage-heading{transform:none}body[data-screen=expedition][data-battle-locked=false] .battle-statusbar{top:176px}body[data-screen=expedition][data-battle-locked=false] .timeline{top:228px}body[data-screen=expedition][data-battle-locked=false] .monster-info-button{top:209px}.battle-wallet{left:12px;right:12px;top:111px;max-width:none;width:auto;transform:none;padding:5px 8px 7px;border-radius:5px 5px 12px 12px}.battle-wallet-caption{justify-content:flex-start;font-size:8px;letter-spacing:0;gap:8px;margin-bottom:4px}.battle-wallet-caption small{font-size:8px}.battle-wallet .run-loot{justify-content:space-between;gap:5px}.battle-wallet [data-resource]{gap:3px;min-width:0}.battle-wallet .currency-icon{width:24px;height:24px}.battle-wallet .resource-copy small{font-size:7px}.battle-wallet b{font-size:15px}.battle-wallet [data-resource=xp] b{font-size:13px}.battle-wallet [data-resource=xp] .currency-icon{width:18px;height:18px}.resource-gain{font-size:12px}body[data-screen=expedition][data-battle-locked=true] .battle-wallet{top:63px}body[data-screen=expedition][data-battle-locked=true] .battle-controls{width:auto}body[data-screen=expedition][data-battle-locked=true] .battle-statusbar{top:123px}body[data-screen=expedition][data-battle-locked=true] .monster-info-button{top:118px}body[data-screen=expedition][data-battle-locked=true] .timeline{top:177px}.scene-wrap #chain-callout,body[data-screen=expedition][data-battle-locked=true] #toast{top:167px}body[data-screen=expedition][data-battle-locked=true] .endless-battle .battle-wallet{top:109px;left:12px;right:12px;max-width:none;width:auto;display:flex;align-items:center;gap:12px;padding:5px 9px}.endless-battle .battle-wallet-caption{margin:0}.endless-battle .battle-wallet-caption small{display:none}body[data-screen=expedition][data-battle-locked=true]:has(.endless-battle) .battle-statusbar{top:164px}body[data-screen=expedition][data-battle-locked=true] .endless-battle .monster-info-button{top:157px}body[data-screen=expedition][data-battle-locked=true] .endless-battle .timeline{top:212px}.endless-battle .scene-wrap #chain-callout{top:202px}#tree-page .sg-gain{font-size:11px;line-height:16px;overflow:visible;white-space:normal;align-items:center}#tree-page .sg-gain strong{font-size:27px;line-height:30px}#tree-page .sg-body{grid-template-rows:minmax(0,1fr) 157px}#tree-page .sg-detail{height:157px}#tree-page .sg-purchase{height:122px;grid-template-rows:27px 30px 36px;row-gap:3px}#tree-page .sg-detail:not(.is-expanded) .sg-detail-main{height:35px;padding-block:5px}#tree-page .sg-detail:not(.is-expanded) .sg-effect-hero,#tree-page .sg-detail:not(.is-expanded) .sg-stat-preview{display:none}#tree-page .sg-detail.is-expanded{height:min(520px,100%)}.sg-effect-hero{padding:12px}.sg-effect-line strong{font-size:38px}.sg-effect-line>span{font-size:14px}}html[data-motion=reduced] .battle-wallet .collected :is(.currency-icon,b),html[data-motion=reduced] .resource-gain{animation:none}@media(prefers-reduced-motion:reduce){html:not([data-motion=full]) .battle-wallet .collected :is(.currency-icon,b),html:not([data-motion=full]) .resource-gain{animation:none}}.battle-view-tools{position:absolute;right:24px;top:80px;z-index:7;display:grid;gap:6px;justify-items:end}.scene-wrap .battle-view-tools .monster-info-button{position:static;min-height:30px}body[data-screen=expedition][data-camera=test][data-battle-phase=settling] .game-footer nav{justify-content:flex-end}#test-camera-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:6px 11px;border:1px solid #9eb7cc60;border-radius:3px 10px 3px 3px;color:#c4d8e6;background:linear-gradient(135deg,#293e50dc,#102132df);font-size:11px;box-shadow:inset 0 1px #e1f1ff0a}#test-camera-button .battle-icon{width:17px;height:17px}#test-camera-button b{font:600 9px var(--pixel);color:#7893a7;border-left:1px solid #90a7b340;padding-left:6px}#test-camera-button[aria-pressed=true]{border-color:#dcc788aa;color:#ffe4a1;background:linear-gradient(135deg,#5a5340e6,#263941e6)}#test-camera-button[aria-pressed=true] b{color:#ffe4a1}#test-camera-button:hover{filter:brightness(1.18)}#test-camera-button:focus-visible{outline:2px solid #edda9b;outline-offset:3px}.endless-battle .battle-view-tools{top:210px}@media(min-width:761px)and (max-width:1200px){.battle-view-tools{top:220px}.endless-battle .battle-view-tools{top:270px}}@media(max-width:760px){body[data-screen=expedition][data-battle-locked] .battle-statusbar{right:135px}.battle-view-tools{right:10px;top:176px;gap:4px}.scene-wrap .battle-view-tools .monster-info-button{font-size:8px;min-height:25px;padding:3px 5px}#test-camera-button{min-height:30px;padding:5px 7px;gap:4px;font-size:9px}#test-camera-button .battle-icon{width:14px;height:14px}#test-camera-button b{font-size:7px;padding-left:4px}body[data-battle-locked=true] .battle-view-tools{top:121px}body[data-battle-locked=true] .endless-battle .battle-view-tools{top:164px}}@media(max-width:760px)and (orientation:portrait){body[data-screen=expedition][data-camera=test][data-battle-locked=true] .squad{left:12px;right:12px;bottom:72px;height:77px;gap:7px}body[data-camera=test][data-battle-locked=true] .squad .hero-head>img{width:32px;height:32px}body[data-camera=test][data-battle-locked=true] .squad .hero-name{font-size:9px;min-height:12px}body[data-camera=test][data-battle-locked=true] .combat-skillbar{left:12px;right:220px;bottom:8px;width:auto;height:53px;gap:1px;grid-template-columns:1fr}body[data-camera=test][data-battle-locked=true] .combat-skill-label{display:none}body[data-camera=test][data-battle-locked=true] .combat-skillbar #sp-display{grid-column:1;grid-row:1;justify-self:start}body[data-camera=test][data-battle-locked=true] .combat-skillbar .hero-abilities{grid-column:1;grid-row:2}body[data-camera=test][data-battle-locked=true] .combat-skillbar .ability-strip{gap:1px}body[data-camera=test][data-battle-locked=true] .combat-skillbar .ability-slot{padding:1px;min-height:32px;gap:1px}body[data-camera=test][data-battle-locked=true] .combat-skillbar .ability-icon,body[data-camera=test][data-battle-locked=true] .combat-skillbar .ability-glyph{width:18px;height:18px}body[data-camera=test][data-battle-locked=true] .combat-skillbar .ability-slot small{font-size:7px}body[data-screen=expedition][data-camera=test][data-battle-locked=true] .game-footer{height:42px;bottom:10px}body[data-screen=expedition][data-camera=test][data-battle-locked=true] .game-footer .nav-expedition{flex-basis:154px;max-width:154px;height:42px;padding:6px 9px}body[data-camera=test][data-battle-locked=true] .nav-expedition :is(.nav-copy>small,#nav-destination){display:none}body[data-screen=expedition][data-camera=test][data-battle-locked=true] .game-footer .nav-expedition .nav-label{font-size:15px}body[data-screen=expedition][data-camera=test][data-battle-locked=true] .game-footer #retreat-button{min-height:34px;padding:5px 7px;font-size:9px}body[data-camera=test][data-battle-locked=true] .scene-wrap .field-bottom{bottom:158px}}@media(max-height:500px)and (orientation:landscape){body[data-screen=expedition][data-camera=test] .battle-wallet{top:65px;left:54%;max-width:42%;padding:4px 9px}body[data-camera=test] .battle-wallet-caption{display:none}body[data-camera=test] .battle-wallet .resource-copy small{font-size:7px}body[data-camera=test] .battle-wallet b{font-size:13px}body[data-camera=test] .battle-wallet .currency-icon{width:20px;height:20px}body[data-camera=test] .battle-view-tools{top:113px;right:12px;gap:2px}body[data-camera=test] #test-camera-button{min-height:27px;font-size:9px;padding:4px 6px}body[data-camera=test] .scene-wrap .battle-view-tools .monster-info-button{min-height:23px;font-size:9px}body[data-screen=expedition][data-camera=test] .battle-statusbar{top:82px}body[data-screen=expedition][data-camera=test] .timeline{top:150px;height:calc(100dvh - 240px);overflow:hidden;left:14px}body[data-screen=expedition][data-camera=test] .squad{left:55px;right:275px;bottom:9px;height:68px;gap:7px}body[data-camera=test] .squad .hero-card{grid-template-columns:30px minmax(20px,1fr) 28px;grid-template-rows:28px 23px;padding:5px 1px;gap:3px}body[data-camera=test] .squad .hero-head{gap:4px}body[data-camera=test] .squad .hero-head>img{width:30px;height:30px}body[data-camera=test] .squad .hero-name{font-size:10px}body[data-camera=test] .squad .hero-head small{display:none}body[data-camera=test] .squad .ultimate-button{width:27px;height:27px;min-height:27px}body[data-camera=test] .squad .ultimate-icon .ability-glyph{width:15px;height:15px}body[data-camera=test] .squad .ultimate-button small{font-size:6px}body[data-camera=test] .squad .hero-health>div:first-child{font-size:8px}body[data-camera=test] .combat-skillbar{right:18px;bottom:57px;width:210px;gap:2px}body[data-camera=test] .combat-skill-label{display:none}body[data-camera=test] .combat-skillbar .ability-slot{min-height:30px}body[data-camera=test] .combat-skillbar .ability-icon{width:17px;height:17px}body[data-screen=expedition][data-camera=test] .game-footer{bottom:7px;height:42px;right:12px}body[data-screen=expedition][data-camera=test] .game-footer .nav-expedition{height:40px;flex-basis:180px;max-width:180px;padding:5px 10px}body[data-camera=test] #nav-destination,body[data-camera=test] .nav-copy>small{display:none}body[data-camera=test] .scene-wrap .field-bottom{bottom:121px;right:18px}}@media(min-width:761px)and (max-width:1200px){.battle-view-tools{top:70px;display:flex;flex-direction:row-reverse;align-items:center;gap:6px}}.impact-meter{position:absolute;z-index:5;right:32px;bottom:190px;max-width:260px;pointer-events:none;text-align:right;color:#f3ead0;filter:drop-shadow(0 3px 5px #020b16);font-variant-numeric:tabular-nums}.impact-meter[hidden]{display:none}.impact-caption{display:block;font-size:10px;letter-spacing:2px;color:#b9cbdc;margin-bottom:4px}.scene-wrap:has(.impact-meter:not([hidden])) #focus-label{visibility:hidden}.impact-value{display:block;font:700 clamp(32px,3.2vw,58px)/1.05 var(--pixel);letter-spacing:-2px;color:#e7f2fb;transform-origin:right center}.impact-meter.wide-value .impact-value{font-size:clamp(24px,2.2vw,38px)}.impact-detail{display:flex;justify-content:flex-end;gap:12px;align-items:baseline;min-height:24px;margin-top:7px;padding-top:7px;border-top:1px solid #9bbbc443}.impact-detail b{font-size:19px;color:#edcf81}.impact-detail span{font-size:11px;color:#b8d2df}.impact-detail:has(b:empty):has(span:empty){visibility:hidden}.impact-meter.is-kill .impact-value{color:#ffe4a2}.impact-meter.is-ultimate .impact-caption{color:#e6ce86}.impact-pop .impact-value{animation:impact-number .24s ease-out}.impact-pop.is-kill .impact-detail b{animation:impact-kill .35s ease-out}@keyframes impact-number{0%{transform:scale(1.15);filter:brightness(1.65)}to{transform:scale(1);filter:none}}@keyframes impact-kill{0%{transform:translate(12px);opacity:.3}to{transform:none;opacity:1}}@media(max-width:760px){.impact-meter,body[data-camera=test] .impact-meter{right:16px;bottom:8px;max-width:160px}.impact-caption{font-size:8px;line-height:1.1;letter-spacing:1px;margin-bottom:2px}.impact-value{font-size:30px;line-height:1;letter-spacing:-1px}.impact-detail{margin-top:2px;padding-top:2px;gap:8px;min-height:16px;line-height:1.1}.impact-detail b{font-size:12px}.impact-detail span{font-size:9px}}@media(max-height:500px)and (orientation:landscape){.impact-meter,body[data-camera=test] .impact-meter{inset:4px auto auto 42%;transform:translate(-50%);max-width:150px}.impact-value,.impact-meter.wide-value .impact-value{font-size:26px}.impact-caption{font-size:7px;line-height:1;margin-bottom:2px}.impact-detail{margin-top:2px;padding-top:2px;min-height:14px}.impact-detail b{font-size:11px}.impact-detail span{font-size:9px}}html[data-motion=reduced] .impact-pop .impact-value,html[data-motion=reduced] .impact-pop.is-kill .impact-detail b{animation:none}@media(prefers-reduced-motion:reduce){html:not([data-motion=full]) .impact-pop .impact-value,html:not([data-motion=full]) .impact-pop.is-kill .impact-detail b{animation:none}}html body #modal:has(.settings-panel){width:min(560px,calc(100% - 24px));padding:0;border:0;border-radius:24px;background:linear-gradient(180deg,#fbfdff,#eef4fa);color:#27455c;box-shadow:0 30px 90px #06121f80,inset 0 0 0 1px #ffffffc0;overflow:hidden}html body #modal:has(.settings-panel)::backdrop{background:#081421b3;backdrop-filter:blur(6px)}html body #modal:has(.settings-panel) #modal-content{max-height:88dvh;overflow:auto;overscroll-behavior:contain;padding:24px 24px 22px}html body #modal:has(.settings-panel) .dialog-close{top:14px;right:14px;width:40px;height:40px;border-radius:50%;border:0;background:#e3edf6;color:#5b7c95;font-size:22px;box-shadow:none;z-index:3}html body #modal:has(.settings-panel) .dialog-close:hover{background:#d4e4f1;color:#27455c}.settings-panel .dialog-overline{font:700 11px var(--pixel);letter-spacing:4px;color:#4f86c6;margin:0 0 3px}.settings-panel .dialog-title{font-size:28px;font-weight:900;letter-spacing:-.5px;color:#1a3850;margin:0 0 16px}.settings-stack{display:grid;gap:10px}.settings-card{background:#fff;border:1px solid #d9e6f1;border-radius:16px;padding:13px 15px 14px;box-shadow:0 2px #d3e2ee}.settings-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:4px 12px;flex-wrap:wrap;margin-bottom:10px}.settings-card h3{font-size:15px;font-weight:800;color:#1c3a52;margin:0}.settings-card-head span{font-size:11px;color:#7892a6}.settings-card p{font-size:11px;line-height:1.7;color:#7b93a6;margin:9px 0 0}.settings-panel .motion-settings{padding:13px 15px 14px;margin:0;border:1px solid #d9e6f1}.settings-panel .motion-settings #motion-system-state{font-size:11px;color:#7892a6}.settings-panel .settings-seg{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px;padding:4px;margin:0;border-radius:12px;background:#e7eff7}.settings-panel .settings-seg button{min-height:40px;padding:8px 6px;border:0;border-radius:9px;background:transparent;color:#5d7990;font-size:13px;font-weight:700;box-shadow:none;transition:background .15s,color .15s,box-shadow .15s,transform .1s}.settings-panel .settings-seg button:hover:not(:disabled){background:#f6f9fc;color:#28577f;border:0}.settings-panel .settings-seg button[aria-pressed=true]{background:#fff;color:#1d4f86;box-shadow:0 2px 6px #2d5a8a26,inset 0 0 0 1.5px #5d93d6}.settings-panel .settings-seg button:active:not(:disabled){transform:scale(.97)}.settings-panel .settings-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.settings-panel .settings-buttons button{min-height:44px;padding:10px 14px;border:1px solid #d3e1ec;border-radius:12px;background:#f3f7fb;color:#2a4b64;font-size:13px;font-weight:700;box-shadow:0 2px #d3e1ec}.settings-panel .settings-buttons button:hover:not(:disabled){background:#e8f1f9;border-color:#9fc0de}.settings-panel .settings-buttons button.danger{color:#c0485a;border-color:#efc9cf;background:#fff6f7;box-shadow:0 2px #efd3d8}.settings-panel .settings-buttons button:disabled{opacity:.55}.settings-panel .settings-note{font-size:10px}.settings-panel .student-locked-note{margin-top:10px}@media(max-width:480px){html body #modal:has(.settings-panel) #modal-content{padding:20px 14px 16px}.settings-panel .dialog-title{font-size:24px;margin-bottom:12px}.settings-panel .settings-buttons{grid-template-columns:1fr}.settings-panel .settings-seg button{font-size:12px;min-height:44px}}.settings-panel .settings-buttons button.danger{grid-column:1/-1;margin-top:8px}.title-screen{--px:0;--py:0;position:fixed;inset:0;z-index:10000;overflow:hidden;background:#03050b;color:#fff;font-family:Noto Sans KR,sans-serif;cursor:pointer;user-select:none;-webkit-user-select:none;isolation:isolate}.title-screen.is-loading{cursor:progress}.title-bg{position:absolute;inset:-3%;z-index:0}.title-bg picture,.title-bg img{display:block;width:100%;height:100%}.title-bg img{object-fit:cover;object-position:58% 50%;filter:brightness(.55) saturate(1.15) contrast(1.06) hue-rotate(-6deg);transform:translate(calc(var(--px)*-18px),calc(var(--py)*-12px)) scale(1.06);animation:title-kenburns 38s ease-in-out infinite alternate}@keyframes title-kenburns{0%{scale:1}to{scale:1.07}}.title-rift{position:absolute;left:47%;top:46%;width:0;height:0;z-index:1;transform:translate(calc(var(--px)*-10px),calc(var(--py)*-8px))}.rift-core{position:absolute;left:-11px;top:-34vh;width:22px;height:68vh;background:linear-gradient(180deg,#0000 0,#9fb7ff 12%,#fff 48%,#c9b6ff 70%,#0000);clip-path:polygon(50% 0,70% 12%,38% 26%,74% 41%,34% 57%,66% 70%,42% 84%,50% 100%,58% 84%,30% 70%,62% 57%,22% 41%,58% 26%,26% 12%);filter:drop-shadow(0 0 8px #bcd0ff) drop-shadow(0 0 26px #7a8cff) drop-shadow(0 0 60px #7b5cff);animation:rift-pulse 2.6s ease-in-out infinite}.title-rift:before{content:"";position:absolute;left:-22vh;top:-42vh;width:44vh;height:84vh;border-radius:50%;background:radial-gradient(closest-side,#9fb4ff66,#6a4fe02e 42%,#0000 72%);filter:blur(4px);animation:rift-halo 2.6s ease-in-out infinite}.title-rift:after{content:"";position:absolute;left:-2px;top:-30vh;width:4px;height:60vh;background:linear-gradient(180deg,#0000,#fff 45% 55%,#0000);filter:blur(1px);opacity:.9}@keyframes rift-halo{0%,to{opacity:.75;transform:scaleX(1)}45%{opacity:1;transform:scaleX(1.25)}}@keyframes rift-pulse{0%,to{opacity:.9;transform:scaleX(1)}45%{opacity:1;transform:scaleX(1.35)}55%{opacity:.8;transform:scaleX(.9)}}.rift-ring{position:absolute;left:0;top:0;width:34vh;height:34vh;margin:-17vh 0 0 -17vh;border-radius:50%;border:2px solid #a9bfff88;box-shadow:0 0 18px #8aa4ff66,inset 0 0 18px #8aa4ff44;transform:rotateX(74deg) scale(.4);opacity:0;animation:rift-ring 6s linear infinite}.rift-ring.r2{animation-delay:-2s}.rift-ring.r3{animation-delay:-4s}@keyframes rift-ring{0%{transform:perspective(600px) rotateX(74deg) scale(.35);opacity:0}15%{opacity:.8}to{transform:perspective(600px) rotateX(74deg) scale(2.3);opacity:0}}.title-particles{position:absolute;inset:0;z-index:2;pointer-events:none}.title-particles i{position:absolute;left:var(--x);bottom:-10px;width:var(--s);height:var(--s);border-radius:50%;background:#dfe8ff;box-shadow:0 0 8px #9db4ff,0 0 16px #6f7dff;opacity:0;animation:title-mote var(--t) linear var(--d) infinite}@keyframes title-mote{0%{transform:translate(0);opacity:0}12%{opacity:.85}80%{opacity:.5}to{transform:translate(28px,-92vh);opacity:0}}.title-cast{position:absolute;inset:0;z-index:3;pointer-events:none}.title-cast:before{content:"";position:absolute;right:4%;bottom:0;width:min(62vw,900px);height:92vh;background:radial-gradient(50% 55% at 55% 45%,#6f86ff38,#5a3fd61a 45%,#0000 72%);filter:blur(6px)}.title-cast img{position:absolute;bottom:-2vh;height:min(96vh,1100px);width:auto;filter:drop-shadow(0 0 22px #7c95ff40) drop-shadow(0 16px 30px #000c)}.title-cast .title-cast-back{right:24%;height:min(88vh,1010px);filter:brightness(.78) saturate(.95) drop-shadow(0 0 20px #7c95ff33) drop-shadow(0 16px 30px #000c)!important;transform:translate(calc(var(--px)*10px),calc(var(--py)*6px));animation:title-cast-in 1.1s .15s cubic-bezier(.2,.8,.2,1) both}.title-cast .title-cast-front{right:7%;transform:translate(calc(var(--px)*22px),calc(var(--py)*10px));animation:title-cast-in 1.1s .3s cubic-bezier(.2,.8,.2,1) both}.title-cast .title-cast-single{right:5%}@keyframes title-cast-in{0%{opacity:0;translate:40px 0}to{opacity:1;translate:0 0}}.title-shade{position:absolute;inset:0;z-index:4;pointer-events:none;background:linear-gradient(90deg,#03050bf0 0,#03050bb8,#03050b33 52%,#0000 70%),linear-gradient(0deg,#03050be6 0,#0000 34%),radial-gradient(120% 80% at 60% 45%,#0000 40%,#02030880)}.title-logo-block{position:absolute;z-index:5;left:clamp(24px,7vw,120px);top:clamp(60px,17vh,200px);max-width:min(620px,52vw)}.title-kicker{font:700 12px Oxanium,Noto Sans KR,sans-serif;letter-spacing:.42em;color:#9fc2ff;margin:0 0 14px;animation:title-fade .8s .2s both}.title-logo{margin:0;font:800 clamp(64px,10.5vw,160px)/.84 Oxanium,"Noto Sans KR",sans-serif;letter-spacing:-.02em;font-style:italic;display:flex;flex-direction:column}.title-logo span{display:block;background-clip:text;-webkit-background-clip:text;color:transparent;padding-right:.08em}.tl-rift{background-image:linear-gradient(180deg,#fff 20%,#c3d6ff);filter:drop-shadow(0 0 18px #6f8cff88) drop-shadow(0 4px 0 #1b2c5c);animation:title-glitch 1.1s .35s steps(1) both}.tl-loop{background-image:linear-gradient(180deg,#f2ffc9 10%,#a6e34f);filter:drop-shadow(0 0 18px #9fdc4a66) drop-shadow(0 4px 0 #2b4210);margin-left:.34em;animation:title-glitch 1.1s .5s steps(1) both}@keyframes title-glitch{0%{opacity:0;clip-path:inset(0 0 100% 0)}10%{opacity:1;clip-path:inset(0 0 60% 0);transform:translate(-6px)}20%{clip-path:inset(40% 0 20% 0);transform:translate(5px)}30%{clip-path:inset(10% 0 45% 0);transform:translate(-3px)}42%{clip-path:inset(0);transform:none}to{opacity:1;clip-path:inset(0);transform:none}}.title-sub{margin-top:18px;font-size:clamp(14px,1.35vw,19px);font-weight:700;letter-spacing:.16em;color:#dbe6ff;text-shadow:0 2px 8px #000;animation:title-fade .8s .9s both}.title-sub b{color:#a6e34f;font-weight:800;margin:0 .3em}@keyframes title-fade{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.title-start{position:absolute;z-index:6;left:clamp(24px,7vw,120px);bottom:clamp(64px,13vh,150px);display:grid;justify-items:start;gap:12px}.title-progress{width:min(320px,70vw);height:22px;position:relative;display:grid;align-items:end}.title-progress i{position:absolute;left:0;bottom:0;height:2px;width:0;background:linear-gradient(90deg,#7c95ff,#bbef68);box-shadow:0 0 10px #9fb6ff;transition:width .2s}.title-progress:before{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#ffffff1f}.title-progress span{font:600 11px Oxanium,Noto Sans KR,sans-serif;letter-spacing:.2em;color:#9fb0d6;padding-bottom:8px}.title-screen.is-ready .title-progress{opacity:0;transition:opacity .4s}.title-touch{border:0;background:none;box-shadow:none;padding:0;color:#fff;text-align:left;display:grid;gap:6px;cursor:pointer}.title-touch:disabled{visibility:hidden;background:none}.title-touch:hover:not(:disabled){background:none}.title-touch:active:not(:disabled){transform:none}.title-touch span{font:700 clamp(18px,1.9vw,26px) Oxanium,sans-serif;letter-spacing:.38em;text-shadow:0 0 18px #8fa7ff,0 2px 6px #000;animation:title-touch 2.2s ease-in-out infinite}.title-touch small{font-size:12px;font-weight:700;color:#bbef68;letter-spacing:.12em}.title-touch:focus-visible,.title-screen .title-touch:focus-visible{outline:none!important}@keyframes title-touch{0%,to{opacity:1}50%{opacity:.35}}.title-save{font-size:12px;color:#aebbd6;letter-spacing:.06em;min-height:1em}.title-foot{position:absolute;z-index:6;left:clamp(24px,7vw,120px);right:clamp(16px,3vw,40px);bottom:clamp(16px,3vh,30px);display:flex;align-items:center;justify-content:space-between;font:600 11px Oxanium,Noto Sans KR,sans-serif;letter-spacing:.2em;color:#7d8aa8}.title-settings{font:700 13px Noto Sans KR,sans-serif;letter-spacing:.04em;color:#dfe8ff;background:#0d1426a8;border:1px solid #ffffff2e;border-radius:999px;padding:9px 16px;box-shadow:none;backdrop-filter:blur(6px)}.title-settings:hover:not(:disabled){background:#1a2440cc;border-color:#9fb6ff}.title-flash{position:absolute;inset:0;z-index:9;background:radial-gradient(circle at 61% 47%,#fff 0,#dfe6ff,#a9b8ff 60%,#0000);opacity:0;pointer-events:none}.title-screen.is-leaving{pointer-events:none}.title-screen.is-leaving .title-flash{animation:title-flash .82s ease-out forwards}.title-screen.is-leaving .title-bg,.title-screen.is-leaving .title-cast,.title-screen.is-leaving .title-rift{animation:title-dive .82s cubic-bezier(.5,0,.8,.2) forwards}.title-screen.is-leaving .title-logo-block,.title-screen.is-leaving .title-start,.title-screen.is-leaving .title-foot{transition:opacity .25s;opacity:0}@keyframes title-flash{0%{opacity:0}35%{opacity:.95}to{opacity:1}}@keyframes title-dive{to{transform:scale(1.35);filter:blur(3px)}}.title-afterglow{position:fixed;inset:0;z-index:10001;pointer-events:none;background:radial-gradient(circle at 55% 45%,#fff 0,#e3e9ff 45%,#b9c5ff);animation:title-afterglow .8s ease-out forwards}@keyframes title-afterglow{0%{opacity:1}to{opacity:0}}@media(max-aspect-ratio:4/5){.title-rift{left:50%;top:44%}.title-cast:before{right:-10%;width:120vw;height:80vh}.title-cast .title-cast-back{right:auto;left:calc(50% - 42vw);height:min(56vh,700px);bottom:4vh}.title-cast .title-cast-front{right:calc(50% - 40vw);height:min(64vh,800px);bottom:0}.title-cast .title-cast-single{right:auto;left:50%;translate:-50% 0;height:min(64vh,800px)}.title-shade{background:linear-gradient(180deg,#03050bee 0,#03050b99 22%,#0000 40%),linear-gradient(0deg,#03050bf5 0,#03050bcc 16%,#0000 38%)}.title-logo-block{left:0;right:0;top:clamp(40px,8vh,90px);max-width:none;text-align:center}.title-kicker{font-size:10px;letter-spacing:.3em;margin-bottom:10px}.title-logo{align-items:center;font-size:clamp(58px,19vw,110px)}.tl-loop{margin-left:.4em}.title-sub{font-size:13px;letter-spacing:.1em;margin-top:12px}.title-start{left:0;right:0;bottom:clamp(58px,9vh,110px);justify-items:center;text-align:center}.title-touch{text-align:center;justify-items:center}.title-foot{left:16px;right:16px}}@media(max-height:500px)and (min-aspect-ratio:4/5){.title-logo-block{top:32px}.title-logo{font-size:clamp(48px,9vw,86px)}.title-start{bottom:44px;gap:8px}.title-kicker{margin-bottom:8px}.title-sub{margin-top:10px}}@media(prefers-reduced-motion:reduce){html:not([data-motion=full]) .title-screen *{animation:none!important}}html[data-motion=reduced] .title-screen *{animation:none!important}html[data-motion=reduced] .title-afterglow{display:none}@media(prefers-reduced-motion:reduce){html:not([data-motion=full]) .title-afterglow{display:none}}.title-screen.has-keyart .title-bg img{object-position:62% 45%;filter:brightness(.78) saturate(1.08)}.title-screen.has-keyart .title-rift{left:64%;top:36%}.title-screen.has-keyart .rift-core,.title-screen.has-keyart .title-rift:after{display:none}.title-screen.has-keyart .title-cast:before{right:2%;width:min(58vw,880px)}.title-screen.has-keyart .title-cast .title-cast-single{right:1%;bottom:-3vh;height:min(100vh,1120px);width:auto;transform:translate(calc(var(--px)*16px),calc(var(--py)*8px));animation:title-cast-in 1.1s .2s cubic-bezier(.2,.8,.2,1) both}.title-screen.has-keyart .title-shade{background:linear-gradient(90deg,#03050bf2 0,#03050bb0 28%,#03050b22 55%,#0000 72%),linear-gradient(0deg,#03050bd9 0,#0000 30%)}@media(max-aspect-ratio:4/5){.title-screen.has-keyart .title-bg img{object-position:50% 40%}.title-screen.has-keyart .title-rift{left:50%;top:30%}.title-screen.has-keyart .title-cast .title-cast-single{right:auto;left:50%;translate:-50% 0;bottom:3vh;height:auto;width:min(112vw,760px)}.title-screen.has-keyart .title-shade{background:linear-gradient(180deg,#03050bee 0,#03050b88 22%,#0000 40%),linear-gradient(0deg,#03050bf5 0,#03050bc8 18%,#0000 40%)}}@media(max-height:500px)and (min-aspect-ratio:4/5){.title-screen.has-keyart .title-cast .title-cast-single{height:104vh;right:2%}}.title-emblem{display:block;width:clamp(56px,6.4vw,104px);height:auto;margin:0 0 10px -4px;filter:drop-shadow(0 0 16px #6f8cff88);animation:title-fade .8s .1s both}@media(max-aspect-ratio:4/5){.title-emblem{margin:0 auto 8px}}.title-screen.has-scene .title-bg{inset:0}.title-screen.has-scene .title-bg img{object-position:50% 0;filter:saturate(1.04) contrast(1.02);transform:none}.title-screen.has-scene .title-rift,.title-screen.has-scene .title-cast{display:none}.title-screen.has-scene .title-shade{background:linear-gradient(100deg,#03050bd0 0,#03050b70 24%,#03050b00 46%),linear-gradient(0deg,#03050bb8 0,#03050b00 24%)}.title-screen.has-scene .title-logo-block{top:clamp(28px,6vh,72px);max-width:min(440px,36vw)}.title-screen.has-scene .title-logo{font-size:clamp(52px,7.2vw,112px)}.title-screen.has-scene .title-emblem{width:clamp(44px,4.4vw,68px);height:auto}.title-screen.has-scene .title-start{bottom:clamp(48px,9vh,110px)}@media(max-aspect-ratio:4/5){.title-screen.has-scene .title-bg img{object-position:50% 62%}.title-screen.has-scene .title-logo-block{top:clamp(16px,3vh,40px);max-width:none}.title-screen.has-scene .title-logo{font-size:clamp(44px,13vw,84px)}.title-screen.has-scene .title-emblem{width:40px}.title-screen.has-scene .title-sub{display:none}.title-screen.has-scene .title-shade{background:linear-gradient(180deg,#03050bc8 0,#03050b60 20%,#03050b00 34%),linear-gradient(0deg,#03050bd8 0,#03050b00 24%)}}html body #modal:has(.gacha-reveal){width:min(980px,100vw);max-width:100vw;height:min(820px,100dvh);max-height:100dvh;padding:0;border:0;border-radius:22px;color:#eef2ff;background:radial-gradient(90% 70% at 50% 38%,#2a2f6b,#141a3c 45%,#070a18);box-shadow:0 30px 120px #000c,inset 0 0 0 1px #ffffff14;overflow:hidden}html body #modal:has(.gacha-reveal.tier-ready){background:radial-gradient(90% 70% at 50% 38%,#4a3d2e,#1d1b36 46%,#070a18)}html body #modal:has(.gacha-reveal)::backdrop{background:#02040acc;backdrop-filter:blur(6px)}html body #modal:has(.gacha-reveal) #modal-content{height:100%;max-height:none;overflow:hidden;padding:0}html body #modal:has(.gacha-reveal) .dialog-close{top:14px;right:14px;z-index:20;width:40px;height:40px;border-radius:50%;border:1px solid #ffffff30;background:#0b1024a8;color:#dfe6ff;box-shadow:none}html body #modal:has(.gacha-reveal[data-gacha-state=playing]) .dialog-close{visibility:hidden}.gacha-reveal{--gold:#ffd66b;--violet:#b9a8ff;--tier:var(--violet);--card-w:clamp(176px,31vh,284px);position:relative;height:100%;display:grid;grid-template-rows:minmax(0,1fr) auto;justify-items:center;align-items:center;padding:24px 22px 26px;text-align:center;isolation:isolate}.gacha-reveal.tier-ready{--tier:var(--gold)}.gacha-reveal:before{content:"";position:absolute;left:50%;top:62%;width:min(620px,90vw);height:120px;translate:-50% 0;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--tier) 34%,transparent),#0000);filter:blur(6px);z-index:-1}.gacha-stage{position:absolute;left:50%;top:40%;width:0;height:0;z-index:1;pointer-events:none}.gacha-rays{position:absolute;left:-60vmax;top:-60vmax;width:120vmax;height:120vmax;border-radius:50%;background:repeating-conic-gradient(from 0deg,color-mix(in srgb,var(--tier) 36%,transparent) 0 6deg,#0000 6deg 18deg);mask:radial-gradient(closest-side,#000 0,#000c 22%,#0000 70%);-webkit-mask:radial-gradient(closest-side,#000 0,#000c 22%,#0000 70%);opacity:0;animation:gacha-rays-in .6s 1.15s ease-out forwards,gacha-spin 24s linear infinite}@keyframes gacha-rays-in{to{opacity:.55}}@keyframes gacha-spin{to{rotate:360deg}}.gacha-motes i{position:absolute;left:-3px;top:-3px;width:6px;height:6px;border-radius:50%;background:#fff;box-shadow:0 0 10px var(--tier),0 0 20px var(--tier);opacity:0;transform:rotate(var(--a)) translate(var(--d));animation:gacha-mote var(--t) ease-in forwards}@keyframes gacha-mote{0%{opacity:0;transform:rotate(var(--a)) translate(var(--d))}30%{opacity:1}to{opacity:0;transform:rotate(var(--a)) translate(8px)}}.gacha-stone{position:absolute;left:-80px;top:-90px;width:160px;height:180px;display:grid;place-items:center;animation:gacha-stone-charge .85s cubic-bezier(.3,.7,.4,1) both,gacha-stone-burst .22s 1.15s ease-in forwards}.gacha-stone>svg:first-child,.gacha-stone>img{width:150px;height:150px;filter:drop-shadow(0 0 12px #b9b5ff) drop-shadow(0 0 34px #7d6cff)}@keyframes gacha-stone-charge{0%{transform:scale(.55) translateY(30px);opacity:0;filter:brightness(.8)}60%{opacity:1}to{transform:scale(1) translateY(0);filter:brightness(1.35)}}@keyframes gacha-stone-burst{to{transform:scale(1.35);opacity:0;filter:brightness(3)}}.gacha-reveal[data-gacha-phase=crack] .gacha-stone{animation:gacha-shake .3s linear both,gacha-stone-burst .22s .3s ease-in forwards}@keyframes gacha-shake{0%,to{transform:translate(0)}20%{transform:translate(-3px,1px)}40%{transform:translate(3px,-2px)}60%{transform:translate(-2px,-1px)}80%{transform:translate(2px,2px)}}.gacha-cracks{position:absolute;inset:14px;width:auto;height:auto;pointer-events:none}.gacha-cracks path{fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;filter:drop-shadow(0 0 4px var(--tier));stroke-dasharray:160;stroke-dashoffset:160;animation:gacha-crack .3s .85s ease-out forwards}@keyframes gacha-crack{to{stroke-dashoffset:0}}.gacha-ring{position:absolute;left:-60px;top:-60px;width:120px;height:120px;border-radius:50%;border:3px solid var(--tier);box-shadow:0 0 30px var(--tier),inset 0 0 20px var(--tier);opacity:0;animation:gacha-ring .7s 1.15s ease-out forwards}@keyframes gacha-ring{0%{opacity:1;transform:scale(.3)}to{opacity:0;transform:scale(5)}}.gacha-shards i{position:absolute;left:0;top:0;width:var(--s);height:calc(var(--s)*1.6);background:linear-gradient(135deg,#f3f1ff,#9b95e6 60%,#595ca0);clip-path:polygon(50% 0,100% 40%,70% 100%,0 70%);opacity:0;animation:gacha-shard .75s 1.15s cubic-bezier(.1,.7,.3,1) forwards}@keyframes gacha-shard{0%{opacity:1;transform:rotate(var(--a)) translate(10px) rotate(var(--r))}to{opacity:0;transform:rotate(var(--a)) translate(var(--d)) rotate(calc(var(--r) + 220deg))}}.gacha-flash{position:fixed;inset:-50vmax;background:radial-gradient(circle,#fff 0,#fff8 25%,#0000 60%);opacity:0;animation:gacha-flash .45s 1.12s ease-out forwards}@keyframes gacha-flash{0%{opacity:0}25%{opacity:1}to{opacity:0}}.gacha-card-wrap{grid-row:1;perspective:1100px;z-index:2;align-self:center;margin-top:-2vh}.gacha-card{position:relative;width:var(--card-w);aspect-ratio:2/3;transform-style:preserve-3d;transform:rotateY(180deg);animation:gacha-card-in .75s 1.3s cubic-bezier(.2,.9,.25,1) both,gacha-card-flip .38s 2.05s cubic-bezier(.4,0,.2,1) both}@keyframes gacha-card-in{0%{opacity:0;transform:scale(.15) rotateY(-900deg)}60%{opacity:1}to{opacity:1;transform:scale(1) rotateY(0)}}@keyframes gacha-card-flip{0%{transform:rotateY(0) scale(1)}50%{transform:rotateY(90deg) scale(1.08)}to{transform:rotateY(180deg) scale(1)}}.gacha-card-back,.gacha-card-front{position:absolute;inset:0;border-radius:16px;backface-visibility:hidden;-webkit-backface-visibility:hidden;overflow:hidden}.gacha-card-back{background:linear-gradient(160deg,#28306a,#161b44 55%,#0d1030);border:2px solid color-mix(in srgb,var(--tier) 70%,#fff 10%);box-shadow:0 0 28px color-mix(in srgb,var(--tier) 60%,transparent),inset 0 0 0 6px #0b0e26,inset 0 0 0 7px #fff2;display:grid;place-items:center}.gacha-card-back img{width:100%;height:100%;object-fit:cover}.gacha-crest{width:46%;aspect-ratio:1;border-radius:50%;border:3px solid color-mix(in srgb,var(--tier) 80%,#fff);box-shadow:0 0 18px var(--tier);position:relative;opacity:.9}.gacha-crest i{position:absolute;left:50%;top:-12%;width:5px;height:124%;translate:-50% 0;background:linear-gradient(180deg,#0000,#fff,#0000);box-shadow:0 0 12px var(--tier);rotate:14deg}.gacha-card-front{transform:rotateY(180deg);background:linear-gradient(180deg,#e9eefc,#c9d3ef);border:2px solid color-mix(in srgb,var(--tier) 80%,#fff);box-shadow:0 0 36px color-mix(in srgb,var(--tier) 70%,transparent),0 18px 40px #000a}.gacha-portrait{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 6%;transform:scale(1.02)}.gacha-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.gacha-plate{position:absolute;left:0;right:0;bottom:0;padding:26px 12px 11px;background:linear-gradient(180deg,#0000,#0b1030d9 42%,#0b1030);display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:8px;text-align:left;align-items:center}.gacha-attr{grid-row:1/3;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--g-attr);color:#10142e;font-weight:900;font-size:15px;box-shadow:0 0 12px var(--g-attr)}.gacha-plate strong{font-size:19px;font-weight:900;letter-spacing:.02em;color:#fff;line-height:1.1}.gacha-plate small{font-size:11px;color:#c4cdea;letter-spacing:.08em}.gacha-card:after{content:"";position:absolute;inset:0;border-radius:16px;background:linear-gradient(115deg,#0000 30%,#ffffff70,#0000 60%);background-size:260% 100%;background-position:120% 0;transform:rotateY(180deg) translateZ(1px);pointer-events:none;animation:gacha-shine 1.1s 2.45s ease-out both}@keyframes gacha-shine{0%{background-position:120% 0;opacity:1}80%{opacity:1}to{background-position:-60% 0;opacity:0}}.gacha-info{grid-row:2;z-index:3;display:grid;justify-items:center;gap:6px;max-width:560px;animation:gacha-info .5s 2.45s cubic-bezier(.2,.8,.2,1) both}@keyframes gacha-info{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}.gacha-info .dialog-overline{margin:0;color:var(--tier);letter-spacing:.4em}.gacha-name{margin:0;font-size:clamp(22px,3.2vw,30px);font-weight:900;color:#fff;text-shadow:0 0 18px color-mix(in srgb,var(--tier) 60%,transparent)}.gacha-name b{color:var(--tier)}.gacha-tag{display:inline-block;padding:4px 12px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.04em;color:#1b1406;background:var(--tier);box-shadow:0 0 16px color-mix(in srgb,var(--tier) 60%,transparent)}.gacha-reveal.tier-stored .gacha-tag{color:#15123a}.gacha-info .dialog-description{margin:4px 0 6px;font-size:12px;line-height:1.7;color:#c7cfea}.gacha-info .dialog-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0}.gacha-info .dialog-actions button{min-height:44px;border-radius:12px}.gacha-info .secondary-button{background:#ffffff12;border-color:#ffffff38;color:#e6ebff;padding:10px 16px}.gacha-info .secondary-button:hover:not(:disabled){background:#fff2;border-color:#fff8}.gacha-again small{display:block;font-size:10px;color:#b9c2e6;font-weight:600}.gacha-info .primary-button{padding:11px 30px;font-size:16px}.gacha-skip{position:absolute;inset:0;z-index:10;display:flex;align-items:flex-end;justify-content:flex-end;padding:0 22px 20px;background:none;border:0;box-shadow:none;border-radius:0;cursor:pointer}.gacha-skip:hover:not(:disabled){background:none}.gacha-skip:active:not(:disabled){transform:none}.gacha-skip span{font:700 12px Oxanium,Noto Sans KR,sans-serif;letter-spacing:.2em;color:#ffffffa0;padding:8px 14px;border-radius:999px;background:#0006;animation:gacha-skip-hint 1.6s .6s ease-in-out infinite}@keyframes gacha-skip-hint{0%,to{opacity:.5}50%{opacity:1}}.gacha-grid{grid-row:1;z-index:2;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;width:min(640px,100%);align-self:center;perspective:900px}.gacha-mini{position:relative;aspect-ratio:3/4;padding:0;border:0;background:none;box-shadow:none;border-radius:12px;transform-style:preserve-3d;transform:rotateY(180deg);animation:gacha-mini-in .45s calc(1.3s + var(--i)*40ms) cubic-bezier(.2,.9,.3,1) both,gacha-mini-flip .32s calc(1.7s + var(--i)*.14s) ease-in-out both}.gacha-mini:hover:not(:disabled){background:none}@keyframes gacha-mini-in{0%{opacity:0;transform:translateY(40px) scale(.4) rotateY(0)}to{opacity:1;transform:rotateY(0)}}@keyframes gacha-mini-flip{0%{transform:rotateY(0)}to{transform:rotateY(180deg)}}.gm-back,.gm-front{position:absolute;inset:0;border-radius:12px;backface-visibility:hidden;-webkit-backface-visibility:hidden;overflow:hidden}.gm-back{background:linear-gradient(160deg,#28306a,#10143a);border:2px solid #9f95ff88;box-shadow:inset 0 0 0 4px #0b0e26}.gm-back:after{content:"";position:absolute;left:50%;top:22%;width:4px;height:56%;translate:-50% 0;rotate:14deg;background:linear-gradient(180deg,#0000,#fff,#0000);box-shadow:0 0 10px #b9a8ff}.gm-front{transform:rotateY(180deg);background:linear-gradient(180deg,#f0f3ff,#cfd7f0);border:2px solid #b9a8ff;display:grid;grid-template-rows:1fr auto auto;justify-items:center;padding:8px 4px 6px}.gacha-mini.is-ready .gm-front{border-color:var(--gold);box-shadow:0 0 18px #ffd66b88}.gm-front img{width:78%;aspect-ratio:1;object-fit:cover;border-radius:50%;align-self:center;background:#dde4f5}.gm-front b{font-size:13px;color:#1b2446;font-weight:900}.gm-front small{font-size:10px;color:#6a7596}.gacha-mini.is-ready .gm-front small{color:#9a6a00;font-weight:800}.gacha-reveal.is-multi .gacha-info{animation-delay:3.3s}.gacha-reveal[data-gacha-state=done] .gacha-stage{display:none}.gacha-reveal[data-gacha-state=done] :is(.gacha-card,.gacha-info,.gacha-mini){animation:none}.gacha-reveal[data-gacha-state=done] .gacha-card{transform:rotateY(180deg)}.gacha-reveal[data-gacha-state=done] .gacha-card:after{animation:none;background-position:-60% 0;opacity:0}.gacha-reveal[data-gacha-state=done] .gacha-info{opacity:1;transform:none}.gacha-reveal[data-gacha-state=done] .gacha-mini{opacity:1;transform:rotateY(180deg)}@media(max-width:640px),(max-height:560px){html body #modal:has(.gacha-reveal){width:100vw;height:100dvh;border-radius:0}.gacha-reveal{padding:48px 14px 18px;--card-w:clamp(150px,34vh,210px)}.gacha-grid{gap:7px}.gm-front b{font-size:11px}.gm-front small{font-size:9px}.gacha-info .dialog-actions button{flex:1 1 auto}}@media(max-height:560px)and (min-width:641px){.gacha-reveal{grid-template-columns:1fr 1fr;grid-template-rows:1fr;padding:18px 28px;--card-w:clamp(130px,44vh,190px)}.gacha-card-wrap,.gacha-grid{grid-column:1;grid-row:1}.gacha-info{grid-column:2;grid-row:1}.gacha-stage{left:25%;top:50%}.gacha-grid{grid-template-columns:repeat(5,minmax(0,1fr));width:100%}}.memorial-pull-buttons{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.memorial-pull-controls .memorial-pull-buttons .primary-button{width:auto;flex:1 1 150px;max-width:250px}.memorial-pull-controls .memorial-pull-buttons .memorial-multi{background:linear-gradient(115deg,#d9b563,#b88a4c);border-color:#f3d995;box-shadow:0 4px #8a652a33}.memorial-pull-controls .memorial-pull-buttons .memorial-multi:disabled{background:linear-gradient(115deg,#c9ced8,#b6bcc8);border-color:#d6dbe3;color:#f4f6fa}html body #modal:has(.gacha-reveal){position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border-radius:0}html body #modal:has(.gacha-reveal)::backdrop{background:#05081ae6}.gacha-info .dialog-description,.gacha-info .gacha-name{text-wrap:balance}.gacha-info .dialog-actions{width:min(520px,100%)}.gacha-info .dialog-actions button{flex:1 1 0;min-width:0}.gacha-info .primary-button.gacha-again{padding:9px 14px;font-size:15px}.gacha-info .primary-button.gacha-again small{color:#2d3a14;font-weight:700}.gacha-rays{filter:blur(1.5px)}@keyframes gacha-rays-in{to{opacity:.32}}.gacha-new{position:absolute;top:10px;right:10px;padding:3px 8px;border-radius:6px;background:#ff5a6e;color:#fff;font:900 11px Oxanium,sans-serif;letter-spacing:.08em;box-shadow:0 0 12px #ff5a6e99;transform:rotate(6deg)}.gm-front .gacha-new{top:4px;right:4px;padding:1px 5px;font-size:9px;font-style:normal}.gacha-mini.is-ready .gm-front{background:linear-gradient(180deg,#fff7df,#f0d9a4)}.gacha-mini.is-stored .gm-front{background:linear-gradient(180deg,#f1eeff,#d8d0f5)}.gacha-card.has-frame .gacha-card-back,.gacha-card.has-frame .gacha-card-front{border:0;background:none;box-shadow:0 0 34px color-mix(in srgb,var(--tier) 55%,transparent),0 18px 40px #000a;border-radius:18px}.gacha-card.has-frame .gacha-card-back img{object-fit:contain}.gacha-card.has-frame .gacha-portrait{inset:6.7% 11.7% 29.6%;width:76.6%;height:63.7%;border-radius:10px;object-position:50% 4%;background:radial-gradient(circle at 50% 30%,#3a4290,#141a3c)}.gacha-card.has-frame .gacha-frame{z-index:1;object-fit:contain}.gacha-card.has-frame .gacha-plate{z-index:2;left:14%;right:14%;bottom:10%;height:17.5%;padding:0 6px;background:none;align-content:center}.gacha-card.has-frame .gacha-plate strong{font-size:clamp(15px,2.4vh,20px)}.gacha-card.has-frame .gacha-new{z-index:3;top:8.5%;right:13.5%}.gacha-stone>img{width:190px;height:190px;object-fit:contain}.gm-back{background:url(assets/gacha/card-back-v1.webp) center/cover no-repeat,linear-gradient(160deg,#28306a,#10143a);border:0}.gm-back:after{display:none}.memorial-room{background:linear-gradient(180deg,#f7fbffc4,#eef4fad9),url(assets/gacha/archive-bg-landscape-v1.webp) center 62%/cover no-repeat;border-radius:inherit}.memorial-summon{background:radial-gradient(ellipse at 50% 35%,#ffffffe6,#eef3fbb0)}html body #modal:has(.gacha-reveal){background:linear-gradient(180deg,#070a18d0,#0b1030e6 55%,#05070fef),url(assets/gacha/archive-bg-landscape-v1.webp) center 60%/cover no-repeat}html body #modal:has(.gacha-reveal.tier-ready){background:linear-gradient(180deg,#1a1308cc,#1b1830e3 55%,#05070fef),url(assets/gacha/archive-bg-landscape-v1.webp) center 60%/cover no-repeat}@media(max-aspect-ratio:4/5){.memorial-room{background-image:linear-gradient(180deg,#f7fbffc4,#eef4fad9),url(assets/gacha/archive-bg-portrait-v1.webp)}html body #modal:has(.gacha-reveal){background-image:linear-gradient(180deg,#070a18d0,#0b1030e6 55%,#05070fef),url(assets/gacha/archive-bg-portrait-v1.webp)}html body #modal:has(.gacha-reveal.tier-ready){background-image:linear-gradient(180deg,#1a1308cc,#1b1830e3 55%,#05070fef),url(assets/gacha/archive-bg-portrait-v1.webp)}}.gacha-card.has-frame .gacha-card-back,.gacha-card.has-frame .gacha-card-front{box-shadow:none;clip-path:inset(4.4% 7.8% 4.2% 7.8% round 5.5%)}.gacha-card-wrap:has(.has-frame){filter:drop-shadow(0 0 22px color-mix(in srgb,var(--tier) 55%,transparent)) drop-shadow(0 16px 30px #000a)}.gm-back{background-size:118% auto;background-position:50% 50%}.gacha-card.has-frame:after{clip-path:inset(4.4% 7.8% 4.2% 7.8% round 5.5%)}.kc-card{margin:10px 0 2px;padding:10px 11px 9px;border:1px solid #3a5270;border-radius:10px;background:linear-gradient(180deg,#101c2c,#0b1422);display:grid;gap:6px}.kc-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}.kc-head b{font-size:12px;font-weight:800;color:#e6f1ff;letter-spacing:.04em}.kc-head span{font-size:10px;color:#8ea3bb}.kc-table{width:100%;border-collapse:collapse;table-layout:fixed}.kc-table thead th{padding:0 2px 5px;text-align:center;vertical-align:bottom}.kc-table thead th:first-child{width:38%}.kc-enemy{display:block;width:21px;height:28px;margin:0 auto 2px;background-size:400% 200%;background-position:0 0;background-repeat:no-repeat;filter:drop-shadow(0 1px 2px #000a)}.kc-table thead b{display:block;font-size:10px;font-weight:700;color:#cfe0f5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kc-table thead small{display:block;font:600 9px var(--pixel);color:#8ea3bb}.kc-table tbody th{text-align:left;font-size:11px;font-weight:600;color:#a8bbd0;padding:4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kc-table tbody th b{color:#e6f1ff;font-weight:800;margin-right:2px}.kc-aoe{font-style:normal;color:#9fd2ff;margin-left:3px;font-size:10px}.kc-table td{text-align:center;padding:3px 2px;border-top:1px solid #ffffff0f;white-space:nowrap}.kc-table tr.is-up td,.kc-table tr.is-up th{background:#f6d66610}.kc-table td.is-up{background:linear-gradient(180deg,#f6d66630,#f6d6660c);box-shadow:inset 0 -2px #f6d666}.kc-pips{display:flex;justify-content:center;gap:3px;margin-bottom:2px}.kc-pips i{width:6px;height:6px;border-radius:50%;background:#dfe8f3;box-shadow:0 0 4px #9fb6ff66}.kc-pips i.lost{background:#f6d666;box-shadow:0 0 6px #f6d666;animation:kc-pip-lost 1.4s ease-in-out infinite}@keyframes kc-pip-lost{0%,to{opacity:1;transform:scale(1)}50%{opacity:.25;transform:scale(.6)}}.kc-n{font:600 10px Noto Sans KR,sans-serif;color:#8ea3bb}.kc-n b{font:800 14px var(--pixel);color:#e3ecf7;margin-right:1px}.kc-n s{font:600 10px var(--pixel);color:#7d8ea3;margin-right:3px}.kc-n s:after{content:"→";text-decoration:none;display:inline-block;margin-left:2px;color:#f6d666aa}td.is-up .kc-n b{color:#f6d666;text-shadow:0 0 8px #f6d66666}.kc-weak{font-style:normal;font-size:8px;color:#9fd2ff;margin-left:2px;vertical-align:super}.kc-legend{margin:0;font-size:9px;color:#6f8399;text-align:right}.kc-foot{margin:2px 0 0;font-size:11px;color:#9fb3c8;line-height:1.5}.kc-foot b{color:#bbef68;font-family:var(--pixel)}.kc-foot.is-up{color:#f6d666;font-weight:700}.kc-burst{position:fixed;left:50%;top:18%;z-index:9900;translate:-50% 0;pointer-events:none;min-width:min(420px,88vw);padding:16px 26px 14px;border-radius:14px;text-align:center;color:#fff;background:linear-gradient(180deg,#2a2208f2,#15110af2);border:1px solid #f6d666aa;box-shadow:0 0 0 1px #000,0 18px 60px #000c,0 0 40px #f6d66644;animation:kc-burst-in .42s cubic-bezier(.2,1.4,.4,1) both,kc-burst-out .4s 2.2s ease-in forwards}.kc-burst small{display:block;font:700 10px var(--pixel);letter-spacing:.5em;color:#f6d666}.kc-burst strong{display:block;font-size:34px;font-weight:900;letter-spacing:.06em;margin:2px 0 6px;background:linear-gradient(180deg,#fff6c9,#f6d666 60%,#d8a93a);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 2px 0 #5a4210)}.kc-burst ul{list-style:none;margin:0;padding:0;display:grid;gap:3px;font-size:13px;color:#f4ecd4}.kc-burst li b{color:#fff}.kc-burst s{color:#b5a67a}.kc-burst em{font-style:normal;font-weight:900;color:#f6d666;font-size:15px}.kc-burst p{margin:4px 0 0;font-size:11px;color:#c9b98a}.kc-burst:after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(110deg,#0000 30%,#fff5 48%,#0000 62%);background-size:260% 100%;animation:kc-shine 1s .25s ease-out both;pointer-events:none}@keyframes kc-burst-in{0%{opacity:0;transform:scale(1.35)}to{opacity:1;transform:scale(1)}}@keyframes kc-burst-out{to{opacity:0;transform:translateY(-12px)}}@keyframes kc-shine{0%{background-position:120% 0}to{background-position:-60% 0}}@media(max-width:560px){.kc-burst{top:12%;padding:12px 16px}.kc-burst strong{font-size:28px}.kc-burst ul{font-size:12px}}@media(prefers-reduced-motion:reduce){html:not([data-motion=full]) .kc-burst{animation:kc-burst-out .4s 2.2s ease-in forwards}html:not([data-motion=full]) .kc-burst:after{animation:none}}html[data-motion=reduced] .kc-burst{animation:kc-burst-out .4s 2.2s ease-in forwards!important}.sg-calc-dock{display:none}@media(min-width:900px)and (min-height:620px){.sg-calc-dock{display:block;position:absolute;left:12px;bottom:40px;width:min(340px,42%);z-index:6;pointer-events:none}.sg-calc-dock .kc-card{margin:0;background:linear-gradient(180deg,#0f1b2bf2,#0a1320f2);box-shadow:0 10px 30px #0008;backdrop-filter:blur(4px)}.sg-effect-hero .kc-card{display:none}}.kc-inline{margin:3px 0 0;font-size:11px;line-height:1.4;color:#9fb3c8}.kc-inline.is-up{color:#f6d666;font-weight:800}@media(max-width:760px){#tree-page .sg-purchase:has(.kc-inline) .sg-stop{display:none}#tree-page .sg-purchase .kc-inline{grid-row:3;grid-column:1;align-self:center;margin:0;font-size:10px;line-height:1.35}}.fx-join{--fx-color:#9fc2ff;position:fixed;inset:0;z-index:9600;pointer-events:none;overflow:hidden;display:grid;place-items:center;animation:fx-join-out .5s 2.5s ease-in forwards}.fx-join:before{content:"";position:absolute;inset:0;background:radial-gradient(70% 60% at 50% 55%,color-mix(in srgb,var(--fx-color) 30%,transparent),#060b18cc 70%);animation:fx-fade-in .3s ease-out both}.fx-join-rays{position:absolute;left:50%;top:52%;width:150vmax;height:150vmax;translate:-50% -50%;filter:blur(2px);opacity:.75;background:repeating-conic-gradient(from 0deg,color-mix(in srgb,var(--fx-color) 24%,transparent) 0 5deg,#0000 5deg 16deg);mask:radial-gradient(closest-side,#000 10%,#0000 62%);-webkit-mask:radial-gradient(closest-side,#000 10%,#0000 62%);animation:fx-spin 18s linear infinite,fx-fade-in .5s ease-out both}.fx-join-art{position:absolute;bottom:-4vh;left:50%;height:min(92vh,1000px);width:auto;translate:-50% 0;filter:drop-shadow(0 0 30px color-mix(in srgb,var(--fx-color) 60%,transparent)) drop-shadow(0 20px 40px #000c);animation:fx-join-art .7s cubic-bezier(.2,.9,.25,1) both}.fx-join-plate{position:absolute;left:50%;bottom:9vh;translate:-50% 0;min-width:min(420px,86vw);padding:14px 26px 13px;text-align:center;border-radius:16px;background:linear-gradient(180deg,#0e1730ee,#0a1024ee);border:1px solid color-mix(in srgb,var(--fx-color) 70%,#fff 10%);box-shadow:0 0 34px color-mix(in srgb,var(--fx-color) 45%,transparent),0 20px 50px #000b;animation:fx-plate .5s .35s cubic-bezier(.2,1.3,.4,1) both}.fx-join-plate small{display:block;font:700 11px Oxanium,sans-serif;letter-spacing:.5em;color:var(--fx-color)}.fx-join-plate strong{display:block;font-size:34px;font-weight:900;color:#fff;letter-spacing:.04em;margin:2px 0;text-shadow:0 0 16px color-mix(in srgb,var(--fx-color) 60%,transparent)}.fx-join-plate span{font-size:13px;color:#c9d4ee;font-weight:600}@keyframes fx-join-art{0%{opacity:0;translate:calc(-50% + 90px) 0;filter:brightness(3) drop-shadow(0 0 30px #fff)}to{opacity:1;translate:-50% 0}}@keyframes fx-plate{0%{opacity:0;transform:scale(1.4)}to{opacity:1;transform:none}}@keyframes fx-join-out{to{opacity:0}}@keyframes fx-fade-in{0%{opacity:0}}@keyframes fx-spin{to{rotate:360deg}}@media(max-width:640px){.fx-join-art{height:min(78vh,700px);bottom:6vh}.fx-join-plate{bottom:5vh}.fx-join-plate strong{font-size:28px}}.fx-sweep{position:fixed;inset:0;z-index:9400;pointer-events:none;background:linear-gradient(105deg,#0000 35%,#ffffff26 46%,#bfe0ff40,#ffffff26 54%,#0000 65%);background-size:250% 100%;animation:fx-sweep .5s ease-out forwards}@keyframes fx-sweep{0%{background-position:130% 0;opacity:1}to{background-position:-30% 0;opacity:.6}}.promotion-result{position:relative}.promotion-result img{animation:fx-promote-face .6s cubic-bezier(.2,1.3,.4,1) both}.promotion-result b{animation:fx-fade-in .4s .25s both}.promotion-result p{animation:fx-promote-stars .5s .35s cubic-bezier(.2,1.4,.4,1) both;color:#d9a41f;font-weight:800}.promotion-result:after{content:"";position:absolute;left:0;top:50%;width:120px;height:120px;margin-top:-60px;border-radius:50%;background:radial-gradient(closest-side,#ffe39a,#ffd06a55 45%,#0000 70%);pointer-events:none;animation:fx-promote-flash .8s ease-out both}@keyframes fx-promote-face{0%{transform:scale(.6) rotate(-6deg);filter:brightness(2.2)}to{transform:none;filter:none}}@keyframes fx-promote-stars{0%{opacity:0;transform:scale(1.6)}to{opacity:1;transform:none}}@keyframes fx-promote-flash{0%{opacity:0;transform:scale(.3)}30%{opacity:1}to{opacity:0;transform:scale(2.4)}}@media(prefers-reduced-motion:reduce){html:not([data-motion=full]) :is(.fx-join,.fx-join *,.fx-sweep,.promotion-result *,.promotion-result:after){animation:none!important}html:not([data-motion=full]) .fx-sweep{display:none}}html[data-motion=reduced] :is(.fx-join,.fx-join *,.promotion-result *,.promotion-result:after){animation:none!important}html[data-motion=reduced] .fx-sweep{display:none}.tut-layer{position:fixed;inset:0;z-index:9800;pointer-events:none;font-family:Noto Sans KR,sans-serif}.tut-dim{position:absolute;inset:0;background:#040a16a6;opacity:0;transition:opacity .25s}.tut-layer:is(.is-dialog,.is-spot) .tut-dim{opacity:1;pointer-events:auto}.tut-layer.is-spot.is-waiting .tut-dim{opacity:0;pointer-events:none}.tut-ring{position:absolute;display:none;border-radius:12px;border:2px solid #bbef68;box-shadow:0 0 0 3px #bbef6833,0 0 26px #bbef6888,inset 0 0 18px #bbef6844;animation:tut-ring 1.3s ease-in-out infinite}.tut-layer.is-spot:not(.is-waiting) .tut-ring{display:block}.tut-ring.is-nudge{animation:tut-nudge .35s ease-in-out 2}@keyframes tut-ring{0%,to{box-shadow:0 0 0 3px #bbef6833,0 0 18px #bbef6866}50%{box-shadow:0 0 0 7px #bbef6822,0 0 34px #bbef68aa}}@keyframes tut-nudge{0%,to{transform:none}30%{transform:translate(-5px)}70%{transform:translate(5px)}}.tut-finger{position:absolute;right:-18px;bottom:-30px;font-style:normal;font-size:30px;line-height:1;filter:drop-shadow(0 2px 3px #000a);transform:rotate(-20deg);animation:tut-finger .9s ease-in-out infinite}@keyframes tut-finger{0%,to{translate:0 0}50%{translate:-6px -8px}}.tut-caption{position:absolute;display:none;translate:-50% 0;padding:5px 12px;border-radius:999px;background:#bbef68;color:#142008;font-weight:900;font-size:13px;letter-spacing:.02em;box-shadow:0 6px 18px #0008;white-space:nowrap}.tut-caption:empty{display:none!important}.tut-layer.is-spot:not(.is-waiting) .tut-caption{display:block}.tut-guide{position:absolute;left:50%;translate:-50% 0;width:min(760px,calc(100vw - 20px));display:none;align-items:flex-end;gap:0}.tut-guide[data-place=bottom]{bottom:max(14px,env(safe-area-inset-bottom))}.tut-guide[data-place=top]{top:max(14px,env(safe-area-inset-top))}.tut-layer.is-spot .tut-guide[data-side=left]{left:16px;translate:none;width:min(520px,44vw)}.tut-layer.is-spot .tut-guide[data-side=right]{left:auto;right:16px;translate:none;width:min(520px,44vw)}.tut-layer.is-spot .tut-portrait{width:112px;height:144px}.tut-layer:not(.is-spot) .tut-ring2,.tut-layer.is-waiting .tut-ring2{display:none!important}.tut-ring2{position:absolute;display:none;border-radius:12px;border:2px dashed #f6d666cc;box-shadow:0 0 18px #f6d66655;pointer-events:none}.tut-ring[data-dir=down] .tut-finger{bottom:auto;top:-34px;right:-6px;transform:rotate(200deg)}body[data-section=battle] .tut-box{background:linear-gradient(180deg,#121b2ef0,#0c1322f2);border-color:#ffffff24;box-shadow:0 18px 50px #000c,inset 0 0 0 1px #ffffff10;color:#e8eef8}body[data-section=battle] .tut-name{color:#9fc2ff}body[data-section=battle] :is(.tut-hint,.tut-skip,.tut-name small){color:#9aabc4}.tut-guide:not(:empty){display:flex}.tut-layer.is-dialog .tut-guide{pointer-events:auto;cursor:pointer}.tut-layer.is-spot .tut-guide :is(.tut-skip){pointer-events:auto}.tut-portrait{flex:none;width:150px;height:190px;overflow:hidden;margin-right:-26px;z-index:1;align-self:flex-end;mask:linear-gradient(180deg,#000 78%,#0000);-webkit-mask:linear-gradient(180deg,#000 78%,#0000)}.tut-portrait img{width:100%;height:auto;display:block;transform:translateY(4%) scale(1.02);transform-origin:top center;filter:drop-shadow(0 6px 16px #0008)}.tut-box{flex:1;min-width:0;position:relative;padding:12px 16px 10px 34px;border-radius:18px;background:linear-gradient(180deg,#fbfdffef,#eef4faf0);border:1px solid #fff;box-shadow:0 18px 50px #000a,inset 0 0 0 1px #d6e4f0;color:#1c3a52}.tut-name{font-weight:900;font-size:15px;color:#2f6fb3;margin-bottom:4px}.tut-name small{font-size:11px;font-weight:700;color:#8aa3b8;margin-left:6px}.tut-text{margin:0;font-size:16px;line-height:1.55;font-weight:600;text-wrap:pretty}.tut-text.is-typing{animation:tut-in .32s ease-out both}@keyframes tut-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}.tut-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px}.tut-hint{font-size:11px;color:#7b93a6;font-weight:700;animation:tut-hint 1.2s ease-in-out infinite}@keyframes tut-hint{0%,to{opacity:.5}50%{opacity:1}}.tut-skip{font-size:11px;font-weight:700;color:#8aa3b8;background:none;border:0;box-shadow:none;padding:6px 4px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.tut-skip:hover:not(:disabled){background:none;color:#2f6fb3}.tut-confirm{justify-content:flex-end}.tut-confirm button{min-height:40px;padding:8px 16px;border-radius:10px;border:1px solid #cfdfeb;background:#fff;color:#2a4b64;font-weight:800;box-shadow:0 2px #d3e1ec}.tut-confirm button.is-skip{background:#2f6fb3;border-color:#2f6fb3;color:#fff;box-shadow:0 2px #1f4f86}.tut-tip{position:absolute;left:50%;top:max(72px,env(safe-area-inset-top));translate:-50% -20px;display:flex;align-items:center;gap:10px;max-width:min(560px,calc(100vw - 24px));padding:8px 16px 8px 8px;border-radius:999px;background:#0d1628e6;border:1px solid #9fc2ff55;box-shadow:0 12px 30px #0009;color:#eef3ff;font-size:13px;font-weight:700;opacity:0;transition:opacity .3s,translate .3s}.tut-tip.is-on{opacity:1;translate:-50% 0}.tut-tip img{width:38px;height:38px;border-radius:50%;object-fit:cover;object-position:50% 12%;background:#dfe9f5;flex:none}.tut-tip p{margin:0;line-height:1.45}.tut-inline{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:10px 12px;border-radius:14px;background:linear-gradient(90deg,#bbef6826,#bbef6808);border:1px solid #bbef6866;text-align:left}.tut-inline img{width:44px;height:44px;border-radius:50%;object-fit:cover;object-position:50% 12%;background:#dfe9f5;flex:none}.tut-inline p{margin:0;font-size:13px;line-height:1.5;color:inherit}.tut-inline b{display:block;font-size:11px;color:#bbef68}.tut-target{position:relative;outline:3px solid #bbef68!important;outline-offset:3px;animation:tut-target 1.1s ease-in-out infinite}@keyframes tut-target{0%,to{box-shadow:0 0 #bbef6866}50%{box-shadow:0 0 0 8px #bbef6800,0 0 24px #bbef6899}}@media(max-width:640px){.tut-portrait{width:104px;height:140px;margin-right:-18px}.tut-box{padding:11px 12px 10px 26px;border-radius:14px}.tut-text{font-size:14px;min-height:3em}.tut-caption{font-size:12px}}@media(prefers-reduced-motion:reduce){html:not([data-motion=full]) :is(.tut-ring,.tut-finger,.tut-text,.tut-hint,.tut-target){animation:none!important}}html[data-motion=reduced] :is(.tut-ring,.tut-finger,.tut-text,.tut-hint,.tut-target){animation:none!important}.lobby-illustration img{transform-origin:50% 100%;animation:polish-breathe 5.5s ease-in-out infinite}@keyframes polish-breathe{0%,to{scale:1 1;translate:0 0}50%{scale:1.004 1.008;translate:0 -2px}}.campus-lobby{position:relative}.campus-lobby:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;background:radial-gradient(3px 3px at 18% 70%,#fff9 50%,#0000),radial-gradient(2px 2px at 42% 30%,#fff8 50%,#0000),radial-gradient(3px 3px at 66% 62%,#fffa 50%,#0000),radial-gradient(2px 2px at 82% 24%,#fff7 50%,#0000),radial-gradient(2px 2px at 30% 48%,#fff6 50%,#0000);background-size:100% 100%;opacity:.7;animation:polish-motes 14s linear infinite}@keyframes polish-motes{0%{translate:0 12px;opacity:0}15%{opacity:.8}85%{opacity:.6}to{translate:18px -40px;opacity:0}}.nav-item.nav-expedition{position:relative;overflow:hidden;isolation:isolate}.nav-item.nav-expedition:after{content:"";position:absolute;inset:-20% -60%;pointer-events:none;background:linear-gradient(105deg,#0000 42%,#ffffff45,#0000 58%);translate:-60% 0;animation:polish-shine 4.2s ease-in-out infinite;z-index:2}@keyframes polish-shine{0%,62%{translate:-60% 0}to{translate:60% 0}}.nav-item:active:not(:disabled){scale:.97}.nav-item .nav-art img{transition:transform .18s cubic-bezier(.2,1.4,.4,1)}.nav-item:hover .nav-art img{transform:translateY(-3px) scale(1.06)}.primary-button{position:relative;overflow:hidden}.primary-button:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,#0000 35%,#fff5,#0000 65%);translate:-120% 0;transition:translate .5s ease}.primary-button:hover:not(:disabled):after{translate:120% 0}.primary-button:active:not(:disabled){scale:.98}.battle-result .dialog-title{animation:polish-slam .45s cubic-bezier(.2,1.4,.4,1) both}.battle-result.is-victory .dialog-title{text-shadow:0 0 22px #f0d69799}.battle-result .result-stats>*{animation:polish-rise .35s cubic-bezier(.2,.9,.3,1) both}.battle-result .result-stats>*:nth-child(2){animation-delay:.06s}.battle-result .result-stats>*:nth-child(3){animation-delay:.12s}.battle-result .result-loot>*{animation:polish-pop .42s cubic-bezier(.2,1.5,.4,1) both}.battle-result .result-loot>*:nth-child(1){animation-delay:.18s}.battle-result .result-loot>*:nth-child(2){animation-delay:.24s}.battle-result .result-loot>*:nth-child(3){animation-delay:.3s}.battle-result .result-loot>*:nth-child(4){animation-delay:.36s}.battle-result .result-loot>*:nth-child(5){animation-delay:.42s}.battle-result .result-loot>*:nth-child(n+6){animation-delay:.48s}.battle-result .result-notes{animation:polish-rise .4s .5s both}@keyframes polish-slam{0%{opacity:0;transform:scale(1.6);letter-spacing:.3em}to{opacity:1;transform:none}}@keyframes polish-rise{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes polish-pop{0%{opacity:0;transform:scale(.4)}70%{opacity:1;transform:scale(1.08)}to{opacity:1;transform:none}}#toast.show,#toast[data-show],#toast:not(:empty){animation:polish-toast .28s cubic-bezier(.2,1.3,.4,1)}@keyframes polish-toast{0%{opacity:0;translate:0 -8px}to{opacity:1;translate:0 0}}@media(prefers-reduced-motion:reduce){html:not([data-motion=full]) :is(.lobby-illustration img,.campus-lobby:after,.nav-item.nav-expedition:after,.battle-result .dialog-title,.battle-result .result-stats>*,.battle-result .result-loot>*,.battle-result .result-notes,#toast){animation:none!important}html:not([data-motion=full]) .campus-lobby:after{display:none}}html[data-motion=reduced] :is(.lobby-illustration img,.nav-item.nav-expedition:after,.battle-result .dialog-title,.battle-result .result-stats>*,.battle-result .result-loot>*,.battle-result .result-notes,#toast){animation:none!important}html[data-motion=reduced] .campus-lobby:after{display:none}[data-alert]{position:relative}[data-alert]:before{content:"";position:absolute;top:6px;right:8px;width:10px;height:10px;border-radius:50%;background:#ff5a6e;box-shadow:0 0 0 2px #fff,0 0 10px #ff5a6e;z-index:5;animation:polish-alert 1.6s ease-in-out infinite}@keyframes polish-alert{0%,to{scale:1}50%{scale:1.25}}@media(prefers-reduced-motion:reduce){html:not([data-motion=full]) [data-alert]:before{animation:none}}html[data-motion=reduced] [data-alert]:before{animation:none}.battle-result .result-navigation button{border:1px solid #ffffff2e;border-radius:999px;padding:7px 14px;background:#ffffff0a;min-height:34px}.battle-result .result-navigation button:hover:not(:disabled){background:#ffffff18;border-color:#fff5}.lock-icon{width:.95em;height:.95em;vertical-align:-.12em;display:inline-block}.dk-tag{display:inline-flex;align-items:center;gap:5px;padding:2px 9px 2px 6px;border-radius:999px;border:1px solid color-mix(in srgb,var(--deck-color) 55%,transparent);background:color-mix(in srgb,var(--deck-color) 14%,#0b1420);color:color-mix(in srgb,var(--deck-color) 75%,#fff);font-size:11px;font-weight:700;line-height:1.5;white-space:nowrap}.dk-tag i{font-style:normal;color:var(--deck-color)}.dk-tag.is-large{font-size:13px;padding:4px 12px 4px 8px}.dk-face{position:relative;display:inline-grid;justify-items:center;gap:2px;width:48px;font-size:10px;color:#cbd8e8}.dk-face img{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#1b2838;border:2px solid var(--hero-color)}.dk-face b{font-weight:600;white-space:nowrap}.dk-face small{position:absolute;top:24px;font-size:8.5px;color:#fff;background:#0b1420d9;padding:0 4px;border-radius:4px}.dk-face.is-locked img,.dk-face.is-ghost img{filter:grayscale(1) brightness(.6);border-style:dashed}.dk-face.is-small{width:38px}.dk-face.is-small img{width:32px;height:32px}.dk-empty,.dk-hint{color:#91a4b8;font-size:11.5px;margin:6px 0}.dk-lock{display:flex;align-items:center;gap:6px;color:#e6cf8e;font-size:11.5px;margin:4px 0 8px;padding:7px 10px;border:1px dashed #e6cf8e55;border-radius:8px}.dk-lock .lock-icon{width:13px;height:13px}.dk-panel{display:grid;grid-template-columns:1.1fr 1fr;gap:16px;margin:0 0 16px;padding:16px 18px;background:#111c2a;border:1px solid #3e5369}.dk-panel h3{margin:0 0 10px;font-size:14px;color:#dbe7ec;display:flex;align-items:baseline;gap:8px}.dk-panel h3 small{font-size:10.5px;color:#8ea2b6;font-weight:400}.dk-status{padding:10px 12px;border:1px solid #2d3e52;border-radius:10px;background:#0d1622;margin-bottom:8px}.dk-status header{display:flex;align-items:center;gap:10px}.dk-status header b{margin-left:auto;font-size:11.5px;color:#9fb1c4}.dk-status.is-complete{border-color:color-mix(in srgb,var(--deck-color) 70%,#fff0);background:linear-gradient(120deg,color-mix(in srgb,var(--deck-color) 14%,#0d1622),#0d1622 70%);box-shadow:0 0 18px color-mix(in srgb,var(--deck-color) 22%,transparent)}.dk-status.is-complete header b{color:var(--deck-color)}.dk-pips{display:inline-flex;gap:4px}.dk-pips i{width:14px;height:5px;border-radius:3px;background:#2d3e52}.dk-pips i.on{background:var(--deck-color)}.dk-faces,.dk-candidates{display:flex;gap:6px;align-items:center;margin-top:8px;flex-wrap:wrap}.dk-candidates small{font-size:10px;color:#8ea2b6;margin-right:2px}.dk-effects{margin:8px 0 0;padding-left:16px;font-size:11.5px;color:#dce6d2;line-height:1.7}.dk-link{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;padding:8px 10px;border:1px solid #2d3e52;border-radius:10px;background:#0d1622;margin-bottom:8px}.dk-link.is-active{border-color:#e6cf8e66;background:linear-gradient(120deg,#e6cf8e12,#0d1622 70%)}.dk-link b{display:block;font-size:12.5px;color:#f1e6c4}.dk-link small{display:block;font-size:10.5px;color:#9fb1c4;line-height:1.5}.dk-link:not(.is-active) b{color:#b8c4d2}.dk-pair{display:flex;align-items:center;gap:2px;margin:0}.dk-pair>i{font-style:normal;color:#e6cf8e;font-size:12px}.dk-guide{margin:0 0 18px;padding:16px 18px;background:#0d1723;border:1px solid #344860}.dk-guide-head h3{margin:0;font-size:15px;color:#dbe7ec}.dk-guide-head p{margin:4px 0 12px;font-size:11.5px;color:#91a4b8}.dk-dealers{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px}.dk-dealer{display:grid;justify-items:center;gap:3px;padding:6px 2px;border:1px solid #2d3e52;border-radius:10px;background:#101b29;color:#b8c6d6;font-size:10.5px;cursor:pointer}.dk-dealer img{width:36px;height:36px;border-radius:50%;object-fit:cover;border:2px solid transparent}.dk-dealer.is-current{border-color:var(--hero-color);background:color-mix(in srgb,var(--hero-color) 16%,#101b29);color:#fff}.dk-dealer.is-current img{border-color:var(--hero-color)}.dk-dealer.is-locked img{filter:grayscale(1) brightness(.65)}.dk-dealer:focus-visible{outline:2px solid #e6cf8e;outline-offset:2px}.dk-dealer-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0 10px;font-size:13px;color:#fff}.dk-dealer-summary>span{display:inline-flex;gap:6px}.dk-partner{font-size:11px;color:#e6cf8e}.dk-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}.dk-card{display:grid;gap:10px;padding:14px;border:1px solid color-mix(in srgb,var(--deck-color) 45%,#2d3e52);border-radius:12px;background:linear-gradient(160deg,color-mix(in srgb,var(--deck-color) 10%,#0e1826),#0c1420 60%)}.dk-card header{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;color:#9fb1c4}.dk-card header b{color:#fff}.dk-feel{margin:0;font-size:12px;color:#d6e0ea}.dk-lineup{display:flex;gap:8px}.dk-lineup .dk-face.is-dealer img{box-shadow:0 0 0 3px color-mix(in srgb,var(--deck-color) 45%,transparent)}.dk-lineup .dk-face.is-flex{opacity:.8}.dk-lineup .dk-face.is-flex:after{content:"자유";position:absolute;top:-4px;right:0;font-size:8.5px;color:#9fb1c4}.dk-card-body{display:grid;grid-template-columns:1fr 1fr;gap:10px;font-size:11px;color:#c3cfdc}.dk-card-body b{display:block;font-size:10.5px;color:var(--deck-color);margin-bottom:4px}.dk-card-body ul{margin:0;padding-left:15px;line-height:1.6}.dk-card-body p{margin:0 0 4px;line-height:1.5}.dk-card-body strong{color:#f1e6c4}.dk-card-body small{display:block;color:#91a4b8}.dk-use{min-height:40px;border:1px solid color-mix(in srgb,var(--deck-color) 60%,transparent);border-radius:9px;background:color-mix(in srgb,var(--deck-color) 18%,#0e1826);color:#fff;font-weight:700;font-size:12.5px;cursor:pointer}.dk-use:disabled{opacity:.55;cursor:default}.dk-student{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;padding:12px;border:1px solid #d4dde866;border-radius:12px;background:#ffffff0d}.dk-student b{display:block;font-size:11px;margin-bottom:5px;opacity:.8}.dk-student small{display:block;font-size:10.5px;opacity:.75;margin-top:5px;line-height:1.5}.dk-student>div>span{display:flex;gap:5px;flex-wrap:wrap}.dk-student strong{display:block;font-size:12.5px;margin-top:4px}.dk-student .dk-face{color:inherit}.link-tracker{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.dk-battle-deck{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:999px;border:1px solid var(--deck-color);background:color-mix(in srgb,var(--deck-color) 18%,#0a121dcc);color:#fff;font-size:11px;font-weight:700}.dk-battle-deck i{font-style:normal;color:var(--deck-color)}.dk-battle-deck small{font-size:9px;opacity:.75;font-weight:500}.dk-live{display:inline-flex;align-items:center;gap:6px;padding:2px 9px 2px 3px;border-radius:999px;border:1px solid #ffffff26;background:#0a121dcc;color:#cbd8e8;font-size:10.5px}.dk-live-pair{display:flex}.dk-live-pair img{width:22px;height:22px;border-radius:50%;object-fit:cover;border:1.5px solid #ffffff40;background:#1b2838}.dk-live-pair img+img{margin-left:-6px}.dk-live-pair img.is-primed{border-color:#e6cf8e;box-shadow:0 0 8px #e6cf8e}.dk-live b{display:block;font-size:10.5px;line-height:1.2}.dk-live small{display:block;font-size:9px;opacity:.8;line-height:1.2}.dk-live.is-primed{border-color:#e6cf8e;color:#fff4d4}.dk-live.is-queued{border-color:#fff;background:#e6cf8e33;color:#fff}.dk-live.is-cooldown{opacity:.7}.dk-live.is-down{opacity:.45}.lk-cutin{position:absolute;left:0;right:0;top:11%;height:clamp(150px,34%,290px);z-index:8;pointer-events:none;overflow:hidden;--d:calc(1.05s*var(--k,1))}.lk-band,.lk-lines{position:absolute;inset:0;clip-path:polygon(0 12%,100% 0,100% 88%,0 100%)}.lk-band{background:linear-gradient(90deg,color-mix(in srgb,var(--a) 58%,#050a14) 0,#050a14eb 36% 64%,color-mix(in srgb,var(--b) 58%,#050a14));box-shadow:inset 0 2px #ffffff30,inset 0 -2px #ffffff30;animation:lk-band var(--d) cubic-bezier(.2,.9,.25,1) both}.lk-lines{background:repeating-linear-gradient(100deg,transparent 0 26px,#ffffff16 26px 28px,transparent 28px 61px);mix-blend-mode:screen;animation:lk-band var(--d) cubic-bezier(.2,.9,.25,1) both,lk-lines var(--d) linear both}.lk-panel{position:absolute;top:0;bottom:0;width:47%;margin:0;overflow:hidden;animation-duration:var(--d);animation-fill-mode:both;animation-timing-function:cubic-bezier(.16,.9,.3,1)}.lk-panel img{position:absolute;left:50%;top:4%;height:235%;width:auto;max-width:none;transform:translate(-50%);filter:drop-shadow(0 6px 14px #0009)}.lk-panel:after{content:"";position:absolute;inset:0;pointer-events:none}.lk-a{left:0;clip-path:polygon(0 12%,100% 5%,80% 100%,0 100%);background:linear-gradient(120deg,color-mix(in srgb,var(--a) 40%,#0a1424),#0a142400 70%);animation-name:lk-in-a}.lk-b{right:0;clip-path:polygon(20% 0,100% 0,100% 88%,0 95%);background:linear-gradient(240deg,color-mix(in srgb,var(--b) 40%,#0a1424),#0a142400 70%);animation-name:lk-in-b}.lk-a:after{box-shadow:inset -3px 0 0 var(--a)}.lk-b:after{box-shadow:inset 3px 0 0 var(--b)}.lk-panel figcaption{position:absolute;bottom:10%;padding:2px 10px;font:800 13px/1.4 Noto Sans KR,sans-serif;color:#fff;background:#050a14b3;border-radius:4px}.lk-a figcaption{left:6%;border-left:3px solid var(--a)}.lk-b figcaption{right:6%;border-right:3px solid var(--b)}.lk-core{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;justify-items:center;gap:2px;text-align:center;white-space:nowrap;animation:lk-core var(--d) cubic-bezier(.2,.9,.25,1) both}.lk-core small{font:800 10px/1 Noto Sans KR,sans-serif;letter-spacing:.3em;color:#e6cf8e}.lk-core strong{font:900 italic clamp(22px,3.2vw,40px)/1.1 "Noto Sans KR",sans-serif;color:#fff;text-shadow:-2px 0 0 color-mix(in srgb,var(--a) 80%,transparent),2px 0 0 color-mix(in srgb,var(--b) 80%,transparent),0 0 18px #000,0 0 26px #e6cf8e66}.lk-core span{font-size:11px;color:#dce6f2;background:#050a14b3;padding:1px 8px;border-radius:999px}.lk-ring{position:absolute;left:50%;top:50%;width:150px;height:150px;margin:-75px 0 0 -75px;border-radius:50%;border:2px solid #e6cf8e;box-shadow:0 0 22px #e6cf8e88,inset 0 0 18px #e6cf8e55;opacity:0;animation:lk-ring var(--d) ease-out both;z-index:-1}.lk-flash{position:absolute;inset:0;background:radial-gradient(circle at 50% 50%,#fff 0,color-mix(in srgb,var(--a) 50%,var(--b)) 22%,transparent 60%);mix-blend-mode:screen;opacity:0;animation:lk-flash var(--d) ease-out both}@keyframes lk-band{0%{transform:scaleY(0);opacity:0}14%{transform:scaleY(1);opacity:1}84%{transform:scaleY(1);opacity:1}to{transform:scaleY(.2);opacity:0}}@keyframes lk-lines{0%{background-position:0 0}to{background-position:-240px 0}}@keyframes lk-in-a{0%{transform:translate(-105%);opacity:0}20%{transform:translate(0);opacity:1}82%{transform:translate(3%);opacity:1}to{transform:translate(-14%);opacity:0}}@keyframes lk-in-b{0%{transform:translate(105%);opacity:0}20%{transform:translate(0);opacity:1}82%{transform:translate(-3%);opacity:1}to{transform:translate(14%);opacity:0}}@keyframes lk-core{0%,16%{opacity:0;transform:translate(-50%,-50%) scale(1.6)}26%{opacity:1;transform:translate(-50%,-50%) scale(.96)}32%{transform:translate(-50%,-50%) scale(1)}84%{opacity:1}to{opacity:0;transform:translate(-50%,-50%) scale(1.04)}}@keyframes lk-ring{0%,18%{opacity:0;transform:scale(.3)}30%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.9)}}@keyframes lk-flash{0%,16%{opacity:0}21%{opacity:.9}40%{opacity:0}to{opacity:0}}.lk-cutin.is-reduced *{animation:lk-fade var(--d) ease-out both!important}.lk-cutin.is-reduced .lk-flash,.lk-cutin.is-reduced .lk-ring,.lk-cutin.is-reduced .lk-lines{display:none}@keyframes lk-fade{0%{opacity:0}15%{opacity:1}82%{opacity:1}to{opacity:0}}@media(max-width:760px){.dk-panel{grid-template-columns:1fr;padding:14px}.dk-dealers{grid-template-columns:repeat(5,minmax(0,1fr))}.dk-cards,.dk-card-body,.dk-student{grid-template-columns:1fr}.lk-cutin{top:17%;height:clamp(130px,28%,210px)}.lk-panel{width:52%}.lk-panel img{height:200%;top:14%}.lk-core strong{font-size:22px}.lk-core span{display:none}.lk-ring{width:110px;height:110px;margin:-55px 0 0 -55px}.lk-panel figcaption{font-size:11px}.dk-live span:not(.dk-live-pair) small{display:none}}.result-stats:has(>div:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}.dk-student-line{display:flex;flex-wrap:nowrap;gap:4px;align-items:center;margin:4px 0 1px;min-width:0;overflow:hidden}.dk-student-line .dk-tag{flex:none;font-size:10px;padding:0 7px 0 5px;background:color-mix(in srgb,var(--deck-color) 16%,#fff);border-color:color-mix(in srgb,var(--deck-color) 55%,#fff);color:color-mix(in srgb,var(--deck-color) 45%,#1e3446)}.dk-link-chip{flex:0 1 auto;min-width:0;display:inline-flex;align-items:center;gap:3px;padding:0 7px;border-radius:999px;border:1px solid #d8c48a;background:#fff8e6;color:#7a6330;font-size:10px;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dk-link-chip img{display:none}.dk-link-chip b{font-weight:700;overflow:hidden;text-overflow:ellipsis}@media(max-width:700px)and (max-height:700px){.student-profile .dk-student-line{display:none}}body[data-link-tracker=on] .timeline{translate:0 34px}.dk-link.is-active.is-chosen{border-color:#e6cf8e;box-shadow:0 0 0 1px #e6cf8e55}.dk-link:has(.dk-choose){grid-template-columns:auto 1fr auto}.dk-choose{min-height:36px;padding:4px 10px;border-radius:999px;border:1px solid #ffffff38;background:#ffffff10;color:#e7eef7;font-size:11.5px;font-weight:700;white-space:nowrap}.dk-choose[aria-pressed=true]{border-color:#e6cf8e;background:#e6cf8e26;color:#fff4d4}.dk-note{margin:0 0 8px;font-size:11px;color:#e6cf8e}.duo-button{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:4px 12px 4px 6px;border-radius:12px;border:1px solid #ffffff2e;background:linear-gradient(135deg,#1a2740e6,#0d1628e6);color:#dfe8f3;cursor:pointer;pointer-events:auto;overflow:hidden;box-shadow:none}.duo-button.hidden{display:none}.duo-button:before{content:"";position:absolute;left:0;top:0;bottom:0;width:var(--gauge,0%);background:linear-gradient(90deg,#e6cf8e22,#e6cf8e44);transition:width .3s}.duo-button>*{position:relative}.duo-faces{display:flex}.duo-faces img{width:30px;height:30px;border-radius:50%;object-fit:cover;border:2px solid #0d1628;background:#1b2838}.duo-faces img+img{margin-left:-8px}.duo-copy{display:grid;text-align:left;line-height:1.15}.duo-copy small{font-size:9.5px;color:#9fb1c4;letter-spacing:.04em}.duo-copy b{font-size:13px;color:#fff}.duo-copy kbd{font:inherit;padding:0 4px;border:1px solid #ffffff40;border-radius:3px}.duo-gauge{display:grid;gap:2px;min-width:54px}.duo-gauge i{display:block;height:4px;border-radius:2px;background:#ffffff1c;overflow:hidden;position:relative}.duo-gauge i:after{content:"";position:absolute;inset:0;width:var(--gauge,0%);background:#e6cf8e}.duo-gauge em{font-style:normal;font-size:10px;color:#e6cf8e;text-align:right}.duo-button.ready{border-color:#e6cf8e;background:linear-gradient(135deg,#6b5320,#3a2c10);color:#fff;box-shadow:0 0 0 2px #e6cf8e55,0 0 18px #e6cf8e66;animation:duo-pulse 1.1s ease-in-out infinite}.duo-button.ready .duo-gauge em{color:#fff}.duo-button.down{opacity:.5}.duo-button:disabled{cursor:default}@keyframes duo-pulse{50%{box-shadow:0 0 0 4px #e6cf8e33,0 0 26px #e6cf8e99}}html[data-motion=reduced] .duo-button.ready{animation:none}@media(max-width:700px){.duo-button{min-height:40px;padding:3px 9px 3px 4px;gap:6px}.duo-faces img{width:26px;height:26px}.duo-copy b{font-size:12px}.duo-gauge{min-width:40px}}#squad>.duo-button{position:absolute;z-index:6;left:0;bottom:calc(100% + 8px)}.student-sheet{display:contents}.student-detail.wardrobe-open .student-sheet>:is(.student-tabs,.student-tab-body){display:none}.student-skills-pane .dk-student,.student-sheet-handle{display:none}@media(max-width:700px){body[data-screen=students] #students-page{padding:6px 6px 0}#students-page .student-dossier{--sheet-h:43%;display:grid;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important;gap:6px!important;overflow:hidden;position:relative}#students-page .student-dossier:has(.student-sheet[data-sheet=full]){--sheet-h:84%}#students-page .student-dossier:has(.wardrobe-open){--sheet-h:50%}#students-page .student-sheet .student-costume-dock{flex:1;min-height:0;overflow-y:auto;margin:0;border-top:0}#students-page .student-dossier:has(.student-sheet[data-sheet=full]) :is(.student-representative,.student-art-view-button){opacity:0;pointer-events:none}#students-page .student-roster-panel{grid-column:1;grid-row:1}#students-page .student-art-stage{grid-column:1!important;grid-row:2!important;border-radius:18px;background:radial-gradient(ellipse at 50% 26%,#fffffff2,#e5f0f7 55%,#c8dbe8);min-height:0}#students-page .student-dossier:not(.student-focus) .student-art-frame{inset:2% auto auto 4%;width:124%;height:150%;transform:none}#students-page .student-dossier:not(.student-focus) .student-portrait{object-position:50% 0;filter:drop-shadow(0 10px 18px #3e678233)}#students-page .student-dossier:not(.student-focus) .student-representative{top:auto;right:auto;left:58px;bottom:calc(var(--sheet-h) + 10px);min-height:36px;padding:5px 10px;font-size:10.5px;border-radius:999px;transition:bottom .28s ease}#students-page .student-dossier:not(.student-focus) .student-art-view-button{top:auto;right:auto;left:8px;bottom:calc(var(--sheet-h) + 6px);transition:bottom .28s ease}#students-page .student-dossier:not(.student-focus) .student-talk-bubble{left:6%;right:22%;bottom:calc(var(--sheet-h) + 52px)}#students-page .student-recruit-badge{top:auto;bottom:calc(var(--sheet-h) + 52px);left:8px;right:auto;flex-direction:row}#students-page .student-detail{grid-column:1;grid-row:2;position:relative;z-index:4;display:block;overflow:visible;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;pointer-events:none}#students-page .student-detail>*,#students-page .student-sheet{pointer-events:auto}#students-page .student-profile{position:absolute;left:8px;top:8px;right:auto;max-width:46%;display:block;padding:6px 8px 8px;border-radius:12px;background:linear-gradient(100deg,#ffffffd9,#ffffffa6 70%,#fff0);box-shadow:none;border:0}#students-page .student-profile .dk-student-line{display:none}#students-page .student-identity h2{font-size:26px;line-height:1.05;letter-spacing:-.5px;text-shadow:0 1px 0 #fff}#students-page .student-identity .guild-eyebrow{font-size:10px}#students-page .promotion-stars{margin:2px 0 0;font-size:12px}#students-page .student-stats{display:flex!important;flex-wrap:wrap;gap:4px!important;margin-top:5px;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}#students-page .student-stats span{display:inline-flex!important;align-items:baseline;gap:4px!important;padding:2px 8px;border-radius:999px;background:#ffffffd9;border:1px solid #d6e5ef;font-size:9.5px!important;color:#5b7c92}#students-page .student-stats b{font-size:12px!important;color:#274a63}#students-page .student-shortcuts{position:absolute;right:8px;top:8px;display:flex!important;flex-direction:column;gap:6px!important;padding:0!important;background:none;border:0}#students-page .student-shortcut{width:48px;min-height:48px!important;padding:4px 0!important;border-radius:14px;background:#ffffffe0;border:1px solid #d6e5ef;box-shadow:0 4px 12px #3e67821f;font-size:9.5px!important;gap:1px!important}#students-page .student-shortcut svg{width:22px!important;height:22px!important}#students-page .student-sheet{position:absolute;left:0;right:0;bottom:0;height:var(--sheet-h);display:flex;flex-direction:column;background:#f7fbfe;border-radius:18px 18px 0 0;box-shadow:0 -10px 26px #2e4d6324;border:1px solid #fff;border-bottom:0;overflow:hidden;transition:height .28s cubic-bezier(.2,.9,.3,1)}#students-page .student-sheet-handle{all:unset;box-sizing:border-box;display:grid;place-items:center;flex:none;width:100%;height:22px;cursor:pointer}#students-page .student-sheet-handle:before,#students-page .student-sheet-handle:after{content:none!important}#students-page .student-sheet-handle i{display:block;width:42px;height:4px;border-radius:2px;background:#9fb6c6}#students-page .student-sheet-handle:focus-visible{outline:2px solid #659fc5;outline-offset:-2px}#students-page .student-tabs{flex:none;margin:0 10px}#students-page .student-tabs button{min-height:36px!important;font-size:12.5px!important}#students-page .student-tab-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}#students-page .student-tab-pane{height:auto!important;min-height:0;overflow:visible!important;padding:10px 12px 14px!important;gap:8px!important}#students-page .student-skill-grid{flex:none!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:auto!important;gap:6px!important}#students-page .student-skill-grid>button{flex-direction:row!important;justify-content:flex-start!important;text-align:left!important;padding:7px 8px!important;gap:8px!important;min-height:48px}#students-page .student-skill-grid b{font-size:12px!important}#students-page .student-skill-grid small{display:block!important;font-size:10px!important}#students-page .student-skill-grid .ability-icon{width:30px!important;height:30px!important}#students-page .student-gear-pane .equipment-slots{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-height:none!important;flex:none!important}#students-page .student-gear-pane .equipment-slots>button{min-height:92px}#students-page .student-memory-display{max-height:none}#students-page .student-promotion-actions{flex-direction:row!important;gap:6px!important}#students-page .student-promotion-actions .primary-button{flex:1!important;width:auto!important}#students-page .student-costume-dock{margin:0 10px}#students-page .student-skills-pane .dk-student{display:grid;grid-template-columns:1fr 1fr;margin-top:2px;padding:10px;border:1px solid #d8e6f0;background:#fff;color:#537e9b;border-radius:12px}#students-page .student-skills-pane .dk-student strong{color:#2f5a78}}@media(max-width:700px)and (max-height:700px){#students-page .student-dossier{--sheet-h:46%}#students-page .student-sheet .costume-options{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:minmax(0,1fr)!important;max-height:none!important;gap:6px!important}#students-page .student-sheet .costume-options>button{display:flex!important;flex-direction:column;padding:3px 4px!important;text-align:center!important}#students-page .student-sheet .costume-options small,#students-page .student-sheet .costume-panel-note,#students-page .student-sheet .costume-panel-heading small{display:none}#students-page .student-sheet .costume-options b{margin-top:2px!important;font-size:11px!important}#students-page .student-identity h2{font-size:22px}#students-page .student-shortcut{width:44px;min-height:44px!important}#students-page .student-shortcut span{display:none}#students-page .student-stats span{padding:1px 6px}}.ucs{position:fixed;inset:0;z-index:9850;overflow:hidden;background:#02050c;color:#fff;cursor:pointer;font-family:Noto Sans KR,sans-serif;-webkit-tap-highlight-color:transparent;user-select:none;animation:ucs-in calc(.2s*var(--k)) ease-out both}.ucs.is-out{pointer-events:none;animation:ucs-out var(--fade) ease-in forwards}.ucs-backdrop{position:absolute;inset:-8%;opacity:.85}.ucs-backdrop img{width:100%;height:100%;object-fit:cover;filter:blur(26px) brightness(.34) saturate(1.25)}.ucs:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse at 50% 50%,transparent 42%,#02050cc8 100%),linear-gradient(90deg,color-mix(in srgb,var(--hero-color) 24%,transparent),transparent 30% 70%,color-mix(in srgb,var(--hero-color) 24%,transparent))}.ucs-stage{position:absolute;z-index:2;left:50%;top:50%;width:min(100vw,177.68dvh);aspect-ratio:var(--ar);max-height:100dvh;transform:translate(-50%,-50%)}.ucs-cam{position:absolute;inset:0;overflow:hidden;background:#02050c}.ucs-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block;pointer-events:none;will-change:transform,opacity}.ucs-end{opacity:0}.ucs[data-phase=start] .ucs-start{animation:ucs-push calc(1s*var(--k)) cubic-bezier(.16,.8,.3,1) both}.ucs[data-phase=end] .ucs-start{opacity:0}.ucs[data-phase=end] .ucs-end{opacity:1;animation:ucs-punch calc(.26s*var(--k)) cubic-bezier(.2,.9,.2,1) both,ucs-drift calc(1.3s*var(--k)) linear calc(.26s*var(--k)) forwards}.ucs[data-phase=end] .ucs-cam{animation:ucs-shake calc(.24s*var(--k)) steps(6) 1}.ucs-lines{position:absolute;inset:-20%;pointer-events:none;opacity:0;mix-blend-mode:screen;background:repeating-conic-gradient(from 0deg at 50% 50%,transparent 0 4.6deg,#ffffff30 4.6deg 5deg,transparent 5deg 9deg);-webkit-mask:radial-gradient(circle at 50% 50%,transparent 34%,#000 62%);mask:radial-gradient(circle at 50% 50%,transparent 34%,#000 62%)}.ucs[data-phase=start] .ucs-lines{animation:ucs-lines calc(.95s*var(--k)) linear both}.ucs-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#02050cd9,#02050c66 22%,transparent 42%)}.ucs-edge{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 3px 0 var(--hero-color),inset 0 -3px 0 var(--hero-color),0 0 0 1px #ffffff12,0 28px 90px #000d}.ucs-flash{position:absolute;inset:0;z-index:3;pointer-events:none;opacity:0;background:radial-gradient(circle at 50% 50%,#fff 0,color-mix(in srgb,var(--hero-color) 70%,#fff) 34%,transparent 78%)}.ucs[data-phase=end]:not([data-kind=short]) .ucs-flash{animation:ucs-flash calc(.34s*var(--k)) ease-out both}.ucs[data-kind=short] .ucs-flash{animation:ucs-flash calc(.26s*var(--k)) ease-out both}.ucs-title{position:absolute;right:4%;bottom:7%;z-index:2;display:grid;justify-items:end;gap:4px;text-align:right;pointer-events:none;animation:ucs-title calc(.42s*var(--k)) cubic-bezier(.2,.9,.25,1) calc(90ms*var(--k)) both}.ucs-title small{font:800 clamp(10px,1.1vw,14px)/1.2 "Noto Sans KR",sans-serif;letter-spacing:.22em;color:color-mix(in srgb,var(--hero-color) 70%,#fff);text-shadow:0 1px 6px #000}.ucs-title strong{position:relative;font:900 clamp(26px,4.6vw,66px)/1.05 "Noto Sans KR",sans-serif;letter-spacing:-.01em;font-style:italic;padding:0 .1em .12em;text-shadow:0 2px 0 #02050c,0 0 24px color-mix(in srgb,var(--hero-color) 80%,transparent),0 6px 24px #000}.ucs-title strong:after{content:"";position:absolute;left:8%;right:0;bottom:0;height:4px;background:linear-gradient(90deg,transparent,var(--hero-color));transform:skew(-24deg)}.ucs-skip{position:absolute;z-index:4;top:max(14px,env(safe-area-inset-top));right:max(14px,env(safe-area-inset-right));min-height:40px;padding:0 14px;display:flex;align-items:center;gap:6px;border:1px solid #ffffff38;border-radius:999px;background:#02050c9c;color:#e8eef8;font:700 13px/1 Noto Sans KR,sans-serif;cursor:pointer;backdrop-filter:blur(6px);animation:ucs-fade calc(.3s*var(--k)) ease-out calc(.2s*var(--k)) both}.ucs-skip span{font-size:11px;letter-spacing:-.1em;color:var(--hero-color)}.ucs-skip:focus-visible{outline:2px solid var(--hero-color);outline-offset:2px}.ucs-paused{position:absolute;z-index:5;left:50%;top:50%;transform:translate(-50%,-50%);display:none;flex-direction:column;align-items:center;gap:6px;padding:16px 26px;border-radius:14px;background:#02050cd9;border:1px solid #ffffff2e;text-align:center}.ucs-paused b{font-size:18px}.ucs-paused span{font-size:12px;color:#b9c6d8}.ucs.is-paused .ucs-paused{display:flex}.ucs.is-frozen,.ucs.is-frozen *{animation-play-state:paused!important}.ucs.is-paused .ucs-skip{animation:none;opacity:1}.ucs.is-paused .ucs-stage{filter:brightness(.62) saturate(.8);transition:filter .2s}@keyframes ucs-in{0%{opacity:0}to{opacity:1}}@keyframes ucs-out{to{opacity:0}}@keyframes ucs-fade{0%{opacity:0}to{opacity:1}}@keyframes ucs-push{0%{opacity:0;transform:scale(1.13) translate(3.5%)}18%{opacity:1}to{opacity:1;transform:scale(1.035) translate(0)}}@keyframes ucs-punch{0%{transform:scale(1.15)}to{transform:scale(1)}}@keyframes ucs-drift{0%{transform:scale(1)}to{transform:scale(1.035)}}@keyframes ucs-shake{0%{transform:translate(0)}17%{transform:translate(-1.1%,.7%)}34%{transform:translate(.9%,-.8%)}51%{transform:translate(-.6%,.5%)}68%{transform:translate(.5%,-.3%)}85%{transform:translate(-.2%,.2%)}to{transform:translate(0)}}@keyframes ucs-lines{0%{opacity:0;transform:rotate(0)}25%{opacity:.8}80%{opacity:.55}to{opacity:0;transform:rotate(4deg)}}@keyframes ucs-flash{0%{opacity:.95}to{opacity:0}}@keyframes ucs-title{0%{opacity:0;transform:translate(46px) skew(-8deg)}to{opacity:1;transform:none}}.ucs[data-kind=reduced] :is(.ucs-frame,.ucs-cam,.ucs-lines,.ucs-flash){animation:none!important;transform:none}.ucs[data-kind=reduced] .ucs-flash,.ucs[data-kind=reduced] .ucs-lines{display:none}.ucs[data-kind=reduced] .ucs-start{opacity:1;transition:opacity calc(.32s*var(--k)) ease}.ucs[data-kind=reduced] .ucs-end{transition:opacity calc(.32s*var(--k)) ease}.ucs[data-kind=reduced][data-phase=end] .ucs-start{opacity:0}.ucs[data-kind=reduced] .ucs-title{animation:ucs-fade calc(.3s*var(--k)) ease-out both}@media(max-aspect-ratio:1/1){.ucs-stage{top:41%;width:100vw}.ucs-backdrop img{filter:blur(22px) brightness(.5) saturate(1.3)}.ucs-title{right:auto;left:0;bottom:auto;top:calc(100% + 18px);width:100%;justify-items:center;text-align:center;padding:0 18px;box-sizing:border-box}.ucs-title strong{font-size:clamp(26px,8.4vw,40px)}.ucs-title strong:after{left:14%;right:14%}.ucs-title small{font-size:11px}.ucs-shade{background:linear-gradient(0deg,#02050c80,transparent 30%)}@keyframes ucs-title{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}}:root{--rl-blue:#4a7fe6;--rl-blue-deep:#355fc4;--rl-blue-line:#86a9f2;--rl-lime:#bbef68;--rl-gold:#e6c878;--rl-danger:#e0566b;--rl-ink-0:#070d18;--rl-ink-1:#0e1726;--rl-ink-2:#15223a;--rl-ink-line:#2b3d55;--rl-ink-text:#e7eef7;--rl-ink-muted:#9fb1c4;--rl-paper:#f7fbfe;--rl-paper-2:#eaf3f9;--rl-paper-line:#cbdcea;--rl-paper-text:#1f3a52;--rl-paper-muted:#6a869a;--rl-radius:10px;--rl-radius-lg:14px;--rl-button-h:44px;--rl-sec-bg:#ffffff;--rl-sec-line:var(--rl-paper-line);--rl-sec-ink:#2c5878;--rl-sec-hover:#eef6fc}body[data-section=battle],body[data-screen=expedition] #modal,#party-page,#tree-page,#records-page,.gacha-reveal{--rl-sec-bg:#ffffff0f;--rl-sec-line:#ffffff33;--rl-sec-ink:var(--rl-ink-text);--rl-sec-hover:#ffffff1f}html body :is(.primary-button,.sg-buy:not([data-sg-requirement]),.dk-use){background:linear-gradient(135deg,var(--rl-blue),var(--rl-blue-deep))!important;border:1px solid var(--rl-blue-line)!important;color:#fff!important;border-radius:var(--rl-radius)!important;box-shadow:0 4px 14px #1d3f8a33,inset 0 1px #fff3!important;font-weight:800;min-height:var(--rl-button-h);text-shadow:0 1px 0 #1b3a7a66}html body :is(.primary-button,.sg-buy,.dk-use):hover:not(:disabled){filter:brightness(1.08)}html body :is(.primary-button,.sg-buy,.dk-use):disabled{background:#7d8ea3!important;border-color:#98a8ba!important;color:#eef2f6!important;box-shadow:none!important;filter:none;opacity:.7}html body :is(.secondary-button,.sg-buy[data-sg-requirement]){background:var(--rl-sec-bg)!important;border:1px solid var(--rl-sec-line)!important;color:var(--rl-sec-ink)!important;border-radius:var(--rl-radius)!important;box-shadow:none!important;min-height:var(--rl-button-h);font-weight:700}html body :is(.secondary-button,.sg-buy[data-sg-requirement]):hover:not(:disabled){background:var(--rl-sec-hover)!important}html body .text-button{background:none!important;border:0!important;box-shadow:none!important;color:var(--rl-blue)!important;border-radius:var(--rl-radius)}body[data-section=battle] .text-button,#party-page .text-button,#tree-page .text-button{color:#9dbcf7!important}html body :is(.settings-seg,.student-tabs){border-radius:var(--rl-radius)!important}html body .settings-seg button[aria-pressed=true],html body .student-tabs [aria-selected=true]{background:linear-gradient(135deg,var(--rl-blue),var(--rl-blue-deep))!important;color:#fff!important;border-color:var(--rl-blue-line)!important}#party-page :is(.formation-analysis,.dk-panel,.dk-guide){background:var(--rl-ink-1)!important;border-color:var(--rl-ink-line)!important;border-radius:var(--rl-radius-lg)}#party-page .operator-card{border-radius:var(--rl-radius-lg)}#party-page .operator-card button,#party-page .formation-slot button{border-radius:var(--rl-radius)}html body [data-alert]:before{background:var(--rl-danger)!important}html body .sg-node.is-ready{--sg-ready:var(--rl-lime)}#expedition-menu{display:none!important}html body[data-screen] .game-footer{position:relative;display:flex!important;align-items:center;gap:14px;height:84px;min-height:84px;padding:0 20px;background:linear-gradient(180deg,#101c2ef2,#0a1320fa);border-top:1px solid #ffffff1c;box-shadow:0 -8px 24px #0612241f}html body[data-screen] .game-footer :is(#side-best,#save-indicator){display:none}html body[data-screen]:not([data-screen=expedition]) .game-footer #retreat-button{display:none}html body[data-screen] .game-footer nav{display:flex;align-items:center;gap:6px;flex:1;height:100%;min-width:0;justify-content:flex-start}html body[data-screen] .game-footer .nav-item.nav-dest{position:relative;flex:0 0 78px;max-width:84px;min-width:0;height:68px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:4px;border:0;border-radius:12px;background:none;color:#b9c8d8;box-shadow:none;font-size:12px;font-weight:700;transform:none}html body[data-screen] .game-footer .nav-dest .nav-art,html body[data-screen] .game-footer .nav-dest .nav-art img{width:34px;height:34px;display:grid;place-items:center}html body[data-screen] .game-footer .nav-dest .nav-copy{display:block}html body[data-screen] .game-footer .nav-dest .nav-label{font-size:12px;letter-spacing:0}html body[data-screen] .game-footer .nav-dest:hover:not(:disabled){background:#ffffff10;color:#fff}html body[data-screen] .game-footer .nav-dest.active{background:#ffffff16;color:#fff;box-shadow:inset 0 -3px 0 var(--rl-lime,#bbef68)}html body[data-screen] .game-footer .nav-dest:after{content:none}.nav-svg{display:grid;place-items:center;width:34px;height:34px;font-style:normal}.nav-svg svg{width:30px;height:30px}html body[data-screen] .game-footer .nav-dest #upgrade-dot{position:absolute;top:8px;right:18px;width:8px;height:8px;border-radius:50%;background:var(--rl-lime,#bbef68);border:1px solid #0a1320}html body[data-screen] .game-footer .nav-dest[data-alert]:before{top:8px;right:18px;left:auto}html body[data-screen] .game-footer .nav-expedition,html body[data-screen] .game-footer .nav-expedition.active{margin-left:auto;flex:0 1 300px;max-width:320px;min-width:0;height:64px;display:flex;align-items:center;gap:12px;padding:8px 16px 8px 12px;border-radius:14px;border:1px solid var(--rl-blue-line,#86a9f2);background:linear-gradient(135deg,var(--rl-blue,#4a7fe6),var(--rl-blue-deep,#355fc4));color:#fff;box-shadow:0 6px 18px #1d3f8a55,inset 0 1px #fff3;text-align:left}html body[data-screen] .game-footer .nav-expedition:hover:not(:disabled){filter:brightness(1.08);background:linear-gradient(135deg,var(--rl-blue,#4a7fe6),var(--rl-blue-deep,#355fc4))}html body[data-screen] .game-footer .nav-expedition .nav-art,html body[data-screen] .game-footer .nav-expedition .nav-art img{display:block;width:44px;height:44px;flex:none}html body[data-screen] .game-footer .nav-expedition .nav-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;flex:1}html body[data-screen] .game-footer .nav-expedition .nav-copy>small{font-size:9px;letter-spacing:.18em;color:#dbe7ff;opacity:.85}html body[data-screen] .game-footer .nav-expedition .nav-label{font-size:21px;font-weight:900;letter-spacing:.02em;line-height:1.15;color:#fff}html body[data-screen] .game-footer .nav-expedition #nav-destination{font-size:11px;color:#e6eeff;opacity:.9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}html body[data-screen] .game-footer .nav-expedition .nav-forward{font-size:18px;color:#fff;flex:none}html body[data-screen] .game-footer .nav-expedition .nav-forward svg{width:22px;height:22px}html body[data-screen] .game-footer .nav-expedition.active:after{content:none}html body[data-screen=tree] .game-footer{display:flex!important}html body[data-screen=tree] .growth-back{display:none!important}html body[data-screen=expedition] .game-footer{position:absolute;left:auto;right:24px;bottom:22px;z-index:7;height:auto;min-height:0;padding:0;background:none;border:0;box-shadow:none;pointer-events:none}html body[data-screen=expedition] .game-footer nav{display:grid;grid-template-columns:repeat(6,46px);gap:6px;justify-content:end;align-items:stretch;pointer-events:none}html body[data-screen=expedition] .game-footer nav>*{pointer-events:auto}html body[data-screen=expedition] .game-footer .nav-item.nav-dest{flex:none;max-width:none;width:46px;height:52px;gap:2px;padding:3px 0;border:1px solid #ffffff24;border-radius:10px;background:#0b1422d9;color:#c9d6e4;font-size:10px}html body[data-screen=expedition] .game-footer .nav-dest .nav-art,html body[data-screen=expedition] .game-footer .nav-dest .nav-art img,html body[data-screen=expedition] .nav-svg{width:24px;height:24px}html body[data-screen=expedition] .nav-svg svg{width:22px;height:22px}html body[data-screen=expedition] .game-footer .nav-dest .nav-label{font-size:10px}html body[data-screen=expedition] .game-footer .nav-dest #upgrade-dot{top:4px;right:6px}html body[data-screen=expedition] .game-footer .nav-expedition{grid-column:1/-1;max-width:none;width:100%;height:58px}html body[data-screen=expedition] .game-footer .nav-expedition .nav-label{white-space:nowrap;font-size:19px}html body[data-screen=expedition] .game-footer .nav-expedition .nav-copy>small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}html body[data-screen=expedition] .game-footer #retreat-button{grid-column:1/3;align-self:stretch}html body[data-screen=expedition] .game-footer nav:has(#retreat-button:not(.hidden)) .nav-expedition{grid-column:3/-1}html body[data-screen=expedition]:not([data-battle-phase=ready]) .game-footer .nav-dest{display:none}html body[data-screen=expedition] .game-footer .nav-expedition.combat-hidden{display:none}#battle-menu-button{display:inline-flex;align-items:center;gap:5px}#battle-menu-button b{font-size:12px}body:not([data-battle-phase=running]):not([data-battle-phase=paused]):not([data-battle-phase=shop]) #battle-menu-button{display:none}.battle-menu{position:fixed;right:24px;top:72px;z-index:40;display:grid;grid-template-columns:repeat(3,78px);gap:8px;padding:12px;background:#0b1422f2;border:1px solid #ffffff26;border-radius:14px;box-shadow:0 14px 34px #000b}.battle-menu[hidden]{display:none}body:has(#battle-menu:not([hidden])) .battle-topbar{z-index:30!important}body:has(#battle-menu:not([hidden])) .battle-view-tools{visibility:hidden}.battle-menu-item{display:flex;flex-direction:column;align-items:center;gap:4px;min-height:64px;padding:6px 2px;border:1px solid #ffffff1c;border-radius:10px;background:#ffffff0a;color:#e7eef7;font-size:12px;font-weight:700;cursor:pointer}.battle-menu-item:hover{background:#ffffff18}.battle-menu-item .nav-art,.battle-menu-item .nav-art img{width:28px;height:28px;display:grid;place-items:center}.battle-menu-item .nav-svg,.battle-menu-item .nav-svg svg{width:26px;height:26px}@media(max-width:1100px){html body[data-screen] .game-footer{padding:0 12px;gap:8px}html body[data-screen] .game-footer .nav-item.nav-dest{flex-basis:64px}html body[data-screen] .game-footer .nav-expedition,html body[data-screen] .game-footer .nav-expedition.active{flex-basis:240px}}@media(max-width:700px){html body[data-screen] .game-footer{height:68px;min-height:68px;padding:0 6px;gap:4px}html body[data-screen] .game-footer nav{gap:2px}html body[data-screen] .game-footer .nav-item.nav-dest{flex:1 1 0;max-width:none;height:58px;border-radius:10px;font-size:10px}html body[data-screen] .game-footer .nav-dest .nav-art,html body[data-screen] .game-footer .nav-dest .nav-art img,html body[data-screen] .game-footer .nav-svg{width:26px;height:26px}html body[data-screen] .game-footer .nav-dest .nav-label{font-size:10px}html body[data-screen] .game-footer .nav-dest #upgrade-dot{right:10px;top:6px}html body[data-screen] .game-footer .nav-expedition,html body[data-screen] .game-footer .nav-expedition.active{flex:0 0 104px;height:56px;padding:6px 10px;gap:6px;border-radius:12px}html body[data-screen] .game-footer .nav-expedition .nav-art{display:none}html body[data-screen] .game-footer .nav-expedition .nav-copy>small{display:none}html body[data-screen] .game-footer .nav-expedition .nav-label{font-size:15px}html body[data-screen] .game-footer .nav-expedition #nav-destination{font-size:9px}html body[data-screen] .game-footer .nav-expedition .nav-forward{font-size:14px}html body[data-screen=expedition] .game-footer .nav-item.nav-dest{display:none}html body[data-screen=expedition] .game-footer nav{grid-template-columns:auto 190px}html body[data-screen=expedition] .game-footer .nav-expedition,html body[data-screen=expedition] .game-footer nav:has(#retreat-button:not(.hidden)) .nav-expedition{grid-column:2}html body[data-screen=expedition] .game-footer #retreat-button{grid-column:1}html body[data-screen=expedition] #battle-menu-button{display:inline-flex!important}.battle-menu{inset:auto 8px 88px;grid-template-columns:repeat(3,1fr)}}@media(min-width:1201px){html body[data-screen=expedition][data-battle-locked] .endless-hud{right:342px}}@media(min-width:761px)and (max-width:1200px){html body[data-screen=expedition][data-battle-locked] .endless-hud{right:320px;gap:10px}}@media(max-width:700px)and (max-height:700px){html body[data-screen] .game-footer{height:56px;min-height:56px}html body[data-screen] .game-footer .nav-item.nav-dest{height:50px;gap:1px}html body[data-screen] .game-footer .nav-dest .nav-art,html body[data-screen] .game-footer .nav-dest .nav-art img,html body[data-screen] .game-footer .nav-svg{width:22px;height:22px}html body[data-screen] .game-footer .nav-expedition,html body[data-screen] .game-footer .nav-expedition.active{height:48px}}.crt-layer{position:fixed;inset:0;pointer-events:none;z-index:2147483000;display:none;contain:strict}body[data-crt=on] .crt-layer{display:block}.crt-layer>i{position:absolute;inset:0;display:block}.crt-scan{background:repeating-linear-gradient(180deg,#0000 0 1px,#0000002e 1px 2px,#0000 2px 3px);opacity:var(--crt-scan,.55)}.crt-mask{background:repeating-linear-gradient(90deg,#ff2a3a 0 1px,#2aff6a 1px 2px,#2a6aff 2px 3px);mix-blend-mode:multiply;opacity:var(--crt-mask,.07)}.crt-vignette{background:radial-gradient(120% 100% at 50% 50%,#0000 58%,#00000030 82%,#0000008c);box-shadow:inset 0 0 0 1px #ffffff08,inset 0 0 90px #0006;border-radius:18px}.crt-roll{background:linear-gradient(180deg,#0000 0,#ffffff06 45%,#ffffff0b,#ffffff06 55%,#0000);height:18%;inset:-18% 0 auto;animation:crt-roll 14s linear infinite;mix-blend-mode:screen}.crt-grain{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");opacity:var(--crt-grain,.07);mix-blend-mode:overlay;animation:crt-grain .5s steps(4) infinite}.crt-flicker{background:#fff;opacity:0;mix-blend-mode:overlay;animation:crt-flicker 6s steps(1) infinite}@keyframes crt-roll{0%,72%{transform:translateY(0)}to{transform:translateY(680%)}}@keyframes crt-grain{0%{background-position:0 0}25%{background-position:-37px 21px}50%{background-position:48px -33px}75%{background-position:-19px -52px}to{background-position:0 0}}@keyframes crt-flicker{0%,to{opacity:0}37%{opacity:.018}38%{opacity:0}71%{opacity:.012}72%{opacity:0}}body[data-crt=on] :is(h1,h2,.brand,.title-logo,.gacha-name,.currency b,.stage-heading h1){text-shadow:.6px 0 #ff386033,-.6px 0 #2ad8ff33,0 0 10px #ffffff14}body:has(dialog[open]) .crt-roll{display:none}body[data-section=academy]:not([data-title]) .crt-layer{--crt-scan:.32;--crt-mask:.035;--crt-grain:.05}body[data-crt-level=strong][data-section=academy]:not([data-title]) .crt-layer{--crt-scan:.6;--crt-mask:.07}body[data-crt-level=strong] .crt-layer{--crt-scan:.9;--crt-mask:.12;--crt-grain:.11}body[data-crt-level=strong] .crt-vignette{background:radial-gradient(115% 95% at 50% 50%,#0000 50%,#00000040 78%,#000000b0)}@media(prefers-reduced-motion:reduce){html:not([data-motion=full]) :is(.crt-roll,.crt-flicker){display:none!important}html:not([data-motion=full]) .crt-grain{animation:none}}html[data-motion=reduced] :is(.crt-roll,.crt-flicker){display:none!important}html[data-motion=reduced] .crt-grain{animation:none}@media(prefers-reduced-motion:reduce){html[data-motion=full] .crt-grain{animation:crt-grain .5s steps(4) infinite}}@media print{.crt-layer{display:none!important}}.crt-layer::backdrop{background:none}body[data-crt=on] .scene-wrap:after{background:none}
