:root{--brand-red: #b01c2e;--brand-red-dark: #8a1523;--brand-red-hi: #e0334a;--navy: #1b2a4e;--navy-2: #24365f;--ink: #141820;--paper: #f5f6f8;--silver: #c5ccd3;--good: #2e9d4f;--gold: #ffc940;--warn: #e65100;--font: system-ui, -apple-system, "PingFang HK", "Noto Sans HK", "Noto Sans CJK HK", sans-serif;--safe-t: env(safe-area-inset-top);--safe-b: env(safe-area-inset-bottom);--safe-l: env(safe-area-inset-left);--safe-r: env(safe-area-inset-right);color-scheme:dark}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}input,textarea{user-select:text;-webkit-user-select:text}html,body{margin:0;height:100%;overflow:hidden;font-family:var(--font);background:var(--ink);color:var(--paper);touch-action:none}#app{position:relative;width:100%;height:100%;touch-action:none}#game-canvas{display:block;width:100%;height:100%;touch-action:none}#ui-root,#hud{position:absolute;inset:0;pointer-events:none}#hud>*{pointer-events:auto}button{touch-action:manipulation;font:inherit;color:inherit;cursor:pointer;border:none}.ico{width:24px;height:24px;flex:none;display:inline-block;vertical-align:middle;overflow:visible}.ico.xs{width:14px;height:14px}.ico.sm{width:20px;height:20px}.ico.lg{width:34px;height:34px}.ico.xl{width:54px;height:54px}.ico .w{fill:var(--ico-w, #fff)}.ico .ws{stroke:var(--ico-w, #fff)}.icon-btn,.tile,.howto-icons,.setting,.bar-title,.meter-icon,.drag-hint{--ico-w: #1b2a4e;--ico-ink: #5ad2ff}.ico .wt{fill:var(--ico-text, var(--brand-red))}.ico .k{fill:var(--ico-ink, #1a1d22)}.ico .ks{stroke:var(--ico-ink, #1a1d22)}.ico .a{fill:var(--ico-accent, var(--brand-red))}.ico .as{stroke:var(--ico-accent, var(--brand-red))}.kind-stench{color:#8bc34a}.kind-family{color:#f08a3c}.kind-brat{color:#f06aa8}.kind-couple{color:#ff4f8b}.kind-angry{color:#ff5252}.kind-luggage{color:#c08a64}.backdrop{position:absolute;inset:0;background-color:#0d1220;background-size:cover;background-position:62% center;pointer-events:none!important}.backdrop:after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,#0a0e188c,#0a0e1826 30%,#0a0e18bf 62%,#0a0e18f5)}@media (max-aspect-ratio: 4/5){.backdrop{filter:blur(1.5px) saturate(1.1);transform:scale(1.04)}#hud[data-screen=levels] .backdrop,#hud[data-screen=legend] .backdrop,#hud[data-screen=skills] .backdrop{filter:blur(6px) brightness(.7)}}#hud[data-screen=levels] .backdrop:after,#hud[data-screen=legend] .backdrop:after,#hud[data-screen=skills] .backdrop:after{background:#0a0e18b8}.top-bar{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:max(10px,var(--safe-t)) max(12px,var(--safe-r)) 8px max(12px,var(--safe-l));z-index:5}.bar-right{display:flex;gap:8px;align-items:center}.bar-title{display:flex;align-items:center;gap:8px;font-weight:800;font-size:18px;letter-spacing:.02em;margin-right:auto}.icon-btn{display:inline-flex;align-items:center;justify-content:center;background:#141a289e;border:1.5px solid rgba(255,255,255,.18)!important;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:#fff;border-radius:14px;padding:8px;min-width:44px;min-height:44px}.icon-btn .ico{width:26px;height:26px}.icon-btn:active{transform:scale(.94);background:#b01c2e99}.chip{display:inline-flex;align-items:center;gap:5px;padding:6px 12px;border-radius:999px;background:#141a28b3;border:1.5px solid rgba(255,255,255,.16);font-weight:800;font-variant-numeric:tabular-nums}.points-chip{color:var(--gold)}.points-chip b{color:#fff}.title-screen{position:absolute;inset:0;display:flex;flex-direction:column;z-index:10}.title-main{margin-top:auto;width:min(440px,100%);align-self:center;padding:0 max(18px,var(--safe-l)) max(18px,calc(var(--safe-b) + 10px)) max(18px,var(--safe-r));display:flex;flex-direction:column;gap:12px;min-height:0;max-height:calc(100% - 72px - env(safe-area-inset-top,0px));overflow:auto}.logo{display:flex;align-items:center;gap:14px}.logo-icon{width:84px;height:84px;border-radius:22px;box-shadow:0 8px 24px #00000080,0 0 0 3px #ffffffe6}.wordmark{display:flex;flex-direction:column;line-height:1}.wordmark b{font-size:46px;font-weight:900;letter-spacing:.04em;text-shadow:0 3px 0 var(--brand-red-dark),0 6px 18px rgba(0,0,0,.6)}.wordmark span{margin-top:6px;align-self:flex-start;background:var(--brand-red);padding:4px 10px;border-radius:8px;font-weight:900;font-size:14px;letter-spacing:.18em}.tagline{margin:0;color:#e7ebf0;font-weight:600;text-shadow:0 2px 8px rgba(0,0,0,.7)}.howto-icons{display:flex;gap:8px}.howto-icons span{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 6px;border-radius:12px;background:#ffffff14;border:1px solid rgba(255,255,255,.1);font-size:12px;font-weight:700}.howto-icons .ico{width:22px;height:22px}.char-pick{display:flex;flex-direction:column;gap:6px}.char-pick-title{margin:0;font-size:13px;font-weight:800;letter-spacing:.06em;color:#ffc940}.char-pick-row{display:flex;gap:8px}.char-opt{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 4px 7px;border-radius:14px;color:#fff;background:#1b2a4eeb;border:1.5px solid rgba(255,255,255,.28)!important;box-shadow:0 6px 16px #0000004d}.char-opt .face{position:relative;width:100%;height:52px;border-radius:10px;overflow:hidden;box-shadow:0 0 0 1px #ffffff4d}.char-opt img{width:100%;height:100%;object-fit:cover;object-position:center 18%;display:block}.char-opt b{font-size:13px;font-weight:900;line-height:1.15;text-align:center;max-width:100%}.char-opt small{font-size:11px;font-weight:900;line-height:1.2;color:#1a1204;background:#ffc940;border-radius:999px;padding:2px 8px}.char-opt.on{border-color:#ffc940!important;box-shadow:0 0 0 1px #ffc940,0 6px 16px #0000004d}.char-opt.on .face{box-shadow:0 0 0 2px #ffc940}.char-opt.on small{color:#ffc940;background:transparent;padding:2px 0}.char-opt.locked .face{filter:grayscale(.45)}.char-opt .face .ico{position:absolute;right:2px;bottom:2px;width:14px;height:14px;color:#fff}.char-opt:active{transform:scale(.97)}.play-big{display:flex;align-items:center;gap:14px;width:100%;min-height:72px;padding:12px 20px;border-radius:20px;color:#fff;background:linear-gradient(180deg,var(--brand-red-hi),var(--brand-red) 55%,var(--brand-red-dark));box-shadow:0 6px #5e0e18,0 12px 28px #00000080,inset 0 1px #ffffff59;text-align:left}.play-big:active{transform:translateY(4px);box-shadow:0 2px #5e0e18,0 6px 16px #00000080}.play-big .ico.lg{width:44px;height:44px;padding:8px;border-radius:50%;background:#fff;color:var(--brand-red)}.play-txt{display:flex;flex-direction:column;gap:2px}.play-txt b{font-size:24px;font-weight:900;letter-spacing:.04em}.play-txt small{font-size:13px;opacity:.9;display:flex;align-items:center;gap:6px;font-weight:700}.line-dot{display:inline-block;width:10px;height:10px;border-radius:50%;box-shadow:0 0 0 2px #fff}.menu-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.tile{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 6px 10px;border-radius:16px;background:#1b2a4ed9;border:1.5px solid rgba(255,255,255,.14)!important;font-size:13px;font-weight:800;min-height:84px}.tile>.ico{width:34px;height:34px}.tile em{position:absolute;top:6px;right:8px;font-style:normal;font-size:11px;opacity:.85;display:flex;align-items:center;gap:2px;color:var(--gold)}.tile em .starter-chip{font-size:9px;line-height:1.05;max-width:4.8em;text-align:right;white-space:normal}.tile:active{transform:scale(.96);background:var(--navy-2)}.settings-row{display:flex;gap:8px;flex-wrap:wrap}.setting{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 10px;border-radius:12px;background:#ffffff12;border:1px solid rgba(255,255,255,.14)!important;font-size:13px;font-weight:700;color:var(--silver)}.setting.on{color:#fff;border-color:#ffc94099!important}.setting.on .ico{color:var(--gold)}.settings-row .setting[data-act=restore]{flex:1 1 100%}.sfx-note,.howto{margin:0;font-size:12px;opacity:.7;line-height:1.45;text-align:center}.sub-screen{position:absolute;inset:0;display:flex;flex-direction:column;z-index:10}.sub-screen>.top-bar{position:relative;background:linear-gradient(to bottom,#0a0e18e6,#0a0e1800)}.sub-body{flex:1;overflow:auto;padding:4px max(14px,var(--safe-r)) max(18px,calc(var(--safe-b) + 12px)) max(14px,var(--safe-l));width:min(720px,100%);align-self:center;display:flex;flex-direction:column;gap:12px;touch-action:pan-y}.level-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}.lv-card{--line: var(--brand-red);position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;align-items:center;gap:4px 10px;min-height:74px;padding:10px 10px 10px 16px;border-radius:16px;text-align:left;background:linear-gradient(180deg,#fff,#e9edf2);color:#18202e;box-shadow:0 4px #9aa3ad,0 8px 18px #00000059;overflow:hidden}.lv-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:7px;background:var(--line)}.lv-swatch{position:absolute;right:0;top:0;bottom:0;width:10px;background:var(--station, var(--line));box-shadow:inset 1px 0 #0000001f;opacity:.95}.lv-card.finale .lv-swatch{opacity:.7}.lv-card:active{transform:translateY(3px);box-shadow:0 1px #9aa3ad,0 4px 10px #00000059}.lv-badge{position:relative;grid-row:span 2;display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:46px;padding-bottom:8px!important;padding:0 6px;border-radius:12px;background:var(--navy);color:#fff;font-weight:900;font-size:17px;font-variant-numeric:tabular-nums}.lv-badge.sm{grid-row:auto;padding-bottom:0!important;min-width:26px;height:24px;font-size:13px;border-radius:8px}.lv-station{display:flex;flex-direction:column;min-width:0;line-height:1.15}.lv-station b{font-size:17px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lv-station small{font-size:11px;font-weight:700;opacity:.55;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lv-station b.wrap{font-size:14px;line-height:1.05;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.lv-station b.wrap-s{font-size:13px;letter-spacing:-.2px}.lv-card.done:not(.boss):not(.exam) .lv-station b{padding-right:22px}.lv-station small.fit-l{font-size:10px}.lv-station small.fit-xl{font-size:9.5px;letter-spacing:-.2px}.lv-meta{display:flex;gap:10px;font-size:12px;font-weight:800;color:#4a5568;font-variant-numeric:tabular-nums}.lv-meta span{display:inline-flex;align-items:center;gap:3px}.lv-badge .lv-lines{position:absolute;left:0;right:0;bottom:4px;display:flex;justify-content:center;gap:2px}.lv-lines i{width:7px;height:7px;border-radius:50%;box-shadow:0 0 0 1px #fff}.lv-state{position:absolute;top:8px;right:8px}.lv-card.done .lv-state{color:#fff;background:var(--good);border-radius:50%;width:26px;height:26px;display:flex;align-items:center;justify-content:center}.lv-card.done .lv-state .ico{width:16px;height:16px}.lv-card.finale{grid-column:1 / -1;min-height:96px;color:#fff;background-size:cover;background-position:center 30%;box-shadow:0 4px #5e0e18,0 8px 22px #00000080,inset 0 0 0 2px var(--gold)}.lv-card.finale .lv-badge{background:var(--brand-red)}.lv-card.finale .lv-meta{color:#fff}.lv-card.finale .lv-state{color:var(--gold)}.lv-finale{position:absolute;top:10px;right:40px;font-size:12px;font-weight:900;letter-spacing:.1em;color:var(--gold);text-transform:uppercase}.level-teaser{text-align:center;font-size:12px;opacity:.55;padding:8px;border:1px dashed rgba(255,255,255,.2);border-radius:10px}.legend-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}.legend-card{display:flex;align-items:center;gap:10px;padding:8px 10px 8px 8px;border-radius:16px;background:linear-gradient(180deg,#fffffff5,#e9edf2f5);color:#18202e;box-shadow:0 4px 14px #00000059}.legend-card.k-hero{box-shadow:0 0 0 2px #5ad2ff,0 4px 14px #00000059}.legend-txt{display:flex;flex-direction:column;gap:3px;min-width:0}.legend-txt b{font-size:15px;font-weight:900;display:flex;align-items:center;gap:4px}.legend-txt small{font-size:11.5px;line-height:1.3;color:#4a5568;font-weight:600}.portrait{flex:none;width:64px;height:64px;border-radius:14px;background-color:#dfe4ea;background-repeat:no-repeat;background-size:800% 100%}.portrait.portrait-one{background-size:cover;background-position:center 18%}.portrait.lg{width:112px;height:112px;border-radius:50%;background-color:#fff;box-shadow:0 0 0 4px #5ad2ff,0 10px 26px #00000080}.overlay{position:absolute;inset:0;background:#080c148c;z-index:20;pointer-events:auto}.panel{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(400px,calc(100% - 28px - var(--safe-l) - var(--safe-r)));max-height:min(86vh,680px,calc(100% - 24px - var(--safe-t) - var(--safe-b)));overflow:auto;background:linear-gradient(180deg,#fff,#eef1f5);color:#18202e;border-radius:24px;padding:18px 16px;box-shadow:0 0 0 4px var(--brand-red),0 18px 50px #0000008c;z-index:10;text-align:center}.panel h2{margin:4px 0 6px;font-size:26px;font-weight:900}.panel .howto{color:#4a5568;opacity:1}.panel-title{display:flex;align-items:center;justify-content:center;gap:8px}.primary{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:52px;margin-top:12px;padding:12px;border-radius:16px;background:linear-gradient(180deg,var(--brand-red-hi),var(--brand-red) 60%,var(--brand-red-dark));color:#fff;font-weight:900;font-size:18px;box-shadow:0 4px #5e0e18}.primary:active{transform:translateY(3px);box-shadow:0 1px #5e0e18}.round-row{display:flex;justify-content:center;gap:10px;margin-top:14px}.round-btn{display:flex;flex-direction:column;align-items:center;gap:4px;width:72px;background:none;color:var(--navy)}.round-btn .ico{width:54px;height:54px;padding:13px;border-radius:50%;background:var(--navy);color:#fff;--ico-text: var(--navy);box-shadow:0 3px #0d1630}.round-btn small{font-size:11px;font-weight:800}.round-btn:active .ico{transform:translateY(2px);box-shadow:0 1px #0d1630}.end-hero{position:relative;display:flex;justify-content:center;margin-top:-2px}.end-portrait{position:relative;width:112px;height:112px;border-radius:50%;object-fit:cover;object-position:center 18%;background:#152238;box-shadow:0 0 0 4px #5ad2ff,0 10px 26px #00000080}.end-portrait.who-mage{background:#1a1030;box-shadow:0 0 0 4px #b388ff,0 10px 26px #00000080}.end-portrait.who-tech{background:#0d1410;box-shadow:0 0 0 4px #ffb03a,0 10px 26px #00000080}.end-hero .burst{position:absolute;inset:-16px;z-index:-1;background:repeating-conic-gradient(from 0deg,rgba(255,201,64,.5) 0 10deg,transparent 10deg 20deg);border-radius:50%;mask:radial-gradient(circle,#000 40%,transparent 70%);-webkit-mask:radial-gradient(circle,#000 40%,transparent 70%);animation:spin 9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.end-icon{position:relative;display:inline-flex;color:var(--navy)}.lose-ico{color:var(--brand-red)}.lose-ico .x{position:absolute;right:-8px;bottom:-4px;color:#fff;background:var(--brand-red);border-radius:50%;padding:4px;display:flex}.lose-ico .x .ico{width:18px;height:18px}.end-station{margin:0 0 4px;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:800;color:#4a5568}.end-station .lv-badge{box-shadow:inset 0 -3px 0 var(--line)}.bonus{display:inline-flex;align-items:center;gap:6px;margin:6px 0 0;padding:6px 14px;border-radius:999px;background:#fff6d6;color:#8a5a00;font-weight:900}.bonus .ico{color:#f5a400}.courtesy-chip{display:flex;align-items:flex-start;gap:8px;margin:10px auto 0;max-width:92%;padding:8px 12px;border-radius:14px;background:#eef3fb;color:#1b2a4e;text-align:left;box-shadow:inset 0 0 0 1px #1b2a4e14}.courtesy-chip>.ico{flex-shrink:0;margin-top:2px;color:#2f6fed}.courtesy-lines{display:flex;flex-direction:column;gap:2px;min-width:0}.courtesy-lbl{font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;opacity:.55}.courtesy-zh{font-size:13px;font-weight:800;line-height:1.25}.courtesy-en{font-size:11px;font-weight:600;line-height:1.3;opacity:.75}.points{margin:0 0 8px}.skills-panel{text-align:left}.skill-branch{margin:12px 0 0;padding:12px;border-radius:16px;background:#fffffff2;color:#18202e;box-shadow:0 4px 14px #00000040}.skills-panel .skill-branch{box-shadow:0 0 0 1px #d5dae0}.skill-head{display:flex;align-items:center;gap:12px}.skill-ico{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:16px;color:#fff;flex:none}.skill-ico .ico{width:34px;height:34px}.b-str .skill-ico{background:linear-gradient(180deg,#ff8a3d,#d84315);--ico-ink: #7a2a08}.b-spd .skill-ico{background:linear-gradient(180deg,#4fd2f0,#0288d1)}.b-wis .skill-ico,.b-sta .skill-ico{background:linear-gradient(180deg,#66bb6a,#2e7d32);--ico-ink: #1b5e20}.skill-txt strong{font-size:17px;font-weight:900}.skill-prog{font-size:12px;color:#5b6573;font-weight:700}.spend-btn{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;gap:2px;min-width:48px;height:48px;padding:0 8px;border-radius:14px;flex:none;font-size:15px;font-weight:900;color:#fff;background:linear-gradient(180deg,var(--brand-red-hi),var(--brand-red));box-shadow:0 3px #5e0e18}.spend-btn .plus{font-size:24px;line-height:1}.spend-btn .ico{color:var(--gold)}.spend-btn:disabled{opacity:.35;cursor:not-allowed;box-shadow:none}.skill-bar{margin-top:10px;height:12px;background:#e3e7ec;border-radius:999px;overflow:hidden}.skill-bar i{display:block;height:100%;background:linear-gradient(90deg,#ffd54f,var(--brand-red));border-radius:inherit}.ult{margin-top:8px;display:flex;align-items:center;gap:6px;font-size:12px;font-weight:800;color:#8a94a3}.ult.on{color:#b07800}.ult.on .ico{color:var(--good)}.sub-screen .howto{color:#dfe4ea}.fx-vignette{position:absolute;inset:0;pointer-events:none;z-index:1;--g: 0;--r: 0;--b: 0;--f: 0;background:radial-gradient(ellipse at center,transparent 42%,rgba(120,190,50,calc(var(--g) * .6)) 100%),radial-gradient(ellipse at center,transparent 38%,rgba(255,30,40,calc(var(--r) * .6)) 100%),radial-gradient(ellipse at center,transparent 48%,rgba(70,255,215,calc(var(--b) * .5)) 100%),rgba(255,255,255,calc(var(--f) * .5))}.joy{--r: 60px;position:absolute;left:0;top:0;width:0;height:0;pointer-events:none;z-index:3;opacity:0;transition:opacity .12s ease}.joy.idle{opacity:.34}.joy.on{opacity:.9}.joy.idle.over-exit{opacity:.16}.joy.on.over-exit{opacity:.42}.joy.idle:before,.joy.on:before{border:3px solid rgba(255,255,255,.92);background:radial-gradient(circle,#0c121c47,#0c121c8c);box-shadow:0 2px 10px #0006}.joy:before{content:"";position:absolute;left:calc(var(--r) * -1);top:calc(var(--r) * -1);width:calc(var(--r) * 2);height:calc(var(--r) * 2);border-radius:50%;border:2px solid rgba(255,255,255,.35);background:radial-gradient(circle,#ffffff14,#ffffff05)}.joy-knob{position:absolute;left:-26px;top:-26px;width:52px;height:52px;border-radius:50%;background:#4fc3f7d9;box-shadow:0 0 16px #4fc3f799}#hud>.play-hud{pointer-events:none}.play-hud{position:absolute;inset:0;z-index:5}.play-hud button{pointer-events:auto}.hud-stack{position:absolute;top:max(10px,calc(env(safe-area-inset-top) + 6px));left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));max-width:560px;margin:0 auto;display:flex;flex-direction:column;align-items:stretch;gap:8px;pointer-events:none;z-index:6}.hud-stack .pause-btn{pointer-events:auto}.hud-top{position:relative;top:auto;left:auto;right:auto;max-width:none;margin:0;display:flex;flex-direction:column;gap:6px;padding:6px 8px 8px;border-radius:14px;background:linear-gradient(to bottom,#1a1d22bf,#1a1d2259)}.hud-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.station-chip{background:var(--brand-red);padding:4px 12px;border-radius:999px;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pause-btn{padding:4px 10px;flex:none}.meters{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:6px 10px;align-items:center}.meter{display:flex;align-items:center;gap:6px}.door-meter,.stam-meter{grid-column:1}.meter.timer{grid-column:2;grid-row:1 / span 2;flex-direction:column;gap:0}.meter-icon{font-size:15px;width:20px;text-align:center}.meter-bar{position:relative;flex:1;height:12px;background:#ffffff1f;border-radius:999px;overflow:hidden}.meter-bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--brand-red),#ff6b7a);border-radius:inherit;transition:width .12s linear}.meter-bar .tick{position:absolute;top:2px;bottom:2px;width:2px;margin-left:-1px;background:#ffffff59}.door-meter.pulse .meter-bar{box-shadow:0 0 0 2px #69f0ae,0 0 14px #69f0ae}.door-meter.pulse .meter-bar i{background:linear-gradient(90deg,#2e7d32,#69f0ae)}.meter-bar.stamina i{background:linear-gradient(90deg,#1565c0,#4fc3f7)}.stam-meter.low .meter-bar.stamina i{background:linear-gradient(90deg,#e65100,#ffb74d)}.stam-meter.winded .meter-bar{animation:pulse .35s ease infinite alternate}.stam-meter.winded .meter-bar.stamina i{background:#e53935}.noise-chip{margin-left:auto;flex:none;transform:scale(.6);opacity:0;pointer-events:none;display:inline-flex;align-items:center;gap:3px;padding:3px 9px 3px 4px;border-radius:999px;background:#ff8f00;color:#fff;font-size:12px;font-weight:900;line-height:1;white-space:nowrap;box-shadow:0 2px 6px #00000059,0 0 0 2px #ffffffd9;transition:opacity .15s,transform .15s}.hud-row .station-chip{min-width:0}.noise-chip .ico{width:16px;height:16px;color:#fff;--ico-ink: #ff8f00;--ico-w: #ff8f00}.noise-chip.on{opacity:1;transform:scale(1);animation:noise-shake .3s ease-in-out infinite alternate}.stam-meter.noisy .meter-bar{animation:noise-pulse .32s ease-in-out infinite alternate}.stam-meter.noisy:not(.winded) .meter-bar.stamina i{background:linear-gradient(90deg,#e65100,#ffb300)}@keyframes noise-pulse{0%{box-shadow:0 0 0 1px #ff8f0080}to{box-shadow:0 0 0 2px #ffb300,0 0 12px #ff8f00}}@keyframes noise-shake{0%{transform:rotate(-4deg)}to{transform:rotate(4deg)}}.timer-val{font-variant-numeric:tabular-nums;font-weight:800;font-size:22px;min-width:56px;text-align:center}.timer.urgent .timer-val{color:#ff8a80;animation:pulse .6s ease infinite alternate}.timer.critical .timer-val{color:#ff1744;animation:pulse .2s ease infinite alternate;transform:scale(1.15)}@keyframes pulse{0%{opacity:1}to{opacity:.5}}.drag-hint{position:absolute;left:50%;bottom:34%;font-size:38px;transform:translate(-50%);animation:hint 1.1s ease-in-out infinite;opacity:.85;transition:opacity .4s ease;pointer-events:none;z-index:8}.drag-hint.gone{opacity:0;animation:none}@keyframes hint{0%{transform:translate(-50%,30px)}60%{transform:translate(-50%,-30px)}to{transform:translate(-50%,-30px);opacity:0}}.hud-actions{position:absolute;right:max(14px,env(safe-area-inset-right));bottom:max(22px,calc(env(safe-area-inset-bottom) + 14px));display:flex;align-items:flex-end;gap:10px}.ult-col{display:flex;flex-direction:column;gap:8px;margin-bottom:6px}.ult-col.mage-cast{display:grid;grid-auto-flow:column;grid-template-rows:repeat(3,44px);grid-auto-columns:44px;gap:6px}.ult-col.mage-cast .skill-use{width:44px;height:44px}.skill-use,.shove-btn{--cd: 0;position:relative;font:inherit;border:none;cursor:pointer;color:#fff;touch-action:none}.skill-use{width:50px;height:50px;font-size:22px;border-radius:50%;background:#ffffff24}.skill-use.dim{opacity:.3}.skill-use.cooling:after,.shove-btn.cooling:after{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(rgba(0,0,0,.6) calc(var(--cd) * 360deg),transparent 0)}.skill-use.active{background:#ffb300;box-shadow:0 0 18px #ffb300}.shove-btn{--charge: 0;width:86px;height:86px;font-size:38px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#e53950,var(--brand-red) 60%,var(--brand-red-dark));box-shadow:0 6px 18px #00000073,0 0 0 calc(var(--charge) * 10px) #ffb3008c;transform:scale(calc(1 - var(--charge) * .08));transition:box-shadow .05s linear}.shove-btn.charging{background:radial-gradient(circle at 40% 35%,#ffca28,#ff8f00 60%,#e65100)}.shove-btn:active{filter:brightness(1.15)}@keyframes teach-pulse{0%,to{box-shadow:0 6px #5e0e18,0 0 #ffd54f8c}50%{box-shadow:0 6px #5e0e18,0 0 0 10px #ffd54f2e;transform:scale(1.06)}}.shove-btn.teach{animation:teach-pulse .9s ease-in-out infinite}.skill-use.teach{animation:teach-pulse-spell .62s ease-in-out infinite;z-index:2}.skill-use .spell-teach{position:absolute;left:0;right:0;bottom:1px;font-size:8px;font-weight:900;line-height:1;text-align:center;color:#04221c;letter-spacing:-.03em;pointer-events:none}.skill-use.teach .ico{width:20px;height:20px;margin-top:-7px}@keyframes teach-pulse-spell{0%,to{box-shadow:0 0 0 3px #fff59d,0 0 14px #ffd54ff2;transform:scale(1.05)}50%{box-shadow:0 0 0 8px #ffd54f,0 0 26px #ffec8ce6;transform:scale(1.16)}}.teach-chip{transition:opacity .35s ease}.teach-chip.gone{opacity:0;pointer-events:none}.hud-top{background:linear-gradient(to bottom,#0e1422d1,#0e142280);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.station-chip{--line: var(--brand-red);display:inline-flex;align-items:center;gap:8px;padding:3px 12px 3px 4px;background:#fff;color:#18202e;box-shadow:inset 4px 0 0 var(--line);font-weight:900}.station-chip .lv-badge.sm{margin-left:6px}.pause-btn .ico{width:22px;height:22px}.meter-icon{display:inline-flex;width:22px;justify-content:center;flex:none}.meter-icon .ico{width:20px;height:20px}.meter-label{flex:none;font-size:10px;font-weight:800;line-height:1;letter-spacing:0;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.8)}.door-meter .meter-icon{color:#ff6b7a;--ico-accent: #ffd54f}.door-meter .meter-label{color:#ffc1cb}.stam-meter .meter-icon{color:#4fc3f7}.stam-meter .meter-label{color:#b3e5fc}.mana-meter{grid-column:1}.mana-meter .meter-icon{color:#ce93d8}.mana-meter .meter-label{color:#e1bee7}.coin-chip .meter-label{color:#ffe0a3;font-size:11px;text-shadow:none}.timer .meter-icon{color:#fff;--ico-ink: #18202e}.drag-hint{color:#fff;filter:drop-shadow(0 4px 8px rgba(0,0,0,.6))}.drag-hint .ico{width:54px;height:54px}.skill-use .ico{width:26px;height:26px}.skill-use.ult-str:not(.dim){background:linear-gradient(180deg,#ff8a3d,#d84315);--ico-ink: #7a2a08}.skill-use.ult-spd:not(.dim){background:linear-gradient(180deg,#4fd2f0,#0288d1)}.skill-use.ult-wis:not(.dim),.skill-use.ult-sta:not(.dim),.skill-use.act-leap:not(.dim),.skill-use.act-wind:not(.dim){background:linear-gradient(180deg,#66bb6a,#2e7d32);--ico-ink: #1b5e20}.skill-use.act-leap:not(.dim){background:linear-gradient(180deg,#4fd2f0,#0288d1);--ico-ink: #0b3a5a}.shove-btn .ico{width:46px;height:46px;--ico-ink: var(--brand-red-dark)}.shove-btn{box-shadow:0 6px #5e0e18,0 10px 22px #00000073,0 0 0 calc(var(--charge) * 10px) #ffb3008c}.shove-btn.charging .ico{--ico-ink: #8a3d00}.toast{position:absolute;left:50%;bottom:max(24px,calc(var(--safe-b) + 16px));transform:translate(-50%);max-width:calc(100% - 32px);padding:10px 14px;border-radius:12px;background:#14161af0;border:1px solid var(--brand-red);font-size:14px;z-index:50;pointer-events:none;transition:opacity .5s ease}.toast.gone{opacity:0}.arrival-banner{position:absolute;left:50%;bottom:max(28px,calc(var(--safe-b) + 20px));transform:translate(-50%);width:min(440px,calc(100% - 32px - var(--safe-l) - var(--safe-r)));z-index:30;pointer-events:none;text-align:center;background:#0e121ceb;color:#fff;border:1px solid var(--brand-red);border-radius:16px;padding:12px 16px 14px;box-shadow:0 10px 28px #00000073}.arrival-banner b{display:block;font-size:22px;line-height:1.25}.arrival-banner p{margin:6px 0 0;font-size:14px;line-height:1.35}.arrival-banner .arrival-en{margin-top:2px;color:#ffffffc7}@media (min-aspect-ratio: 4/3){.title-main{margin:auto auto max(24px,var(--safe-b)) max(40px,var(--safe-l));align-self:flex-start}.backdrop{background-position:center}}@media (prefers-reduced-motion: reduce){.end-hero .burst{animation:none}}.intro-overlay{background:#080c168c;backdrop-filter:blur(2px)}.intro-card{max-width:340px;width:min(92vw,340px);text-align:center;padding:20px 18px 18px}.intro-kicker{display:inline-flex;align-items:center;gap:6px;margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#b01c2e}.intro-hero{display:flex;justify-content:center;margin:4px 0 8px}.intro-hero .portrait.lg{width:112px;height:112px;border-radius:20px}.intro-other{margin:-4px 0 12px;font-size:13px;color:#6b7280;font-weight:600}.intro-beats{list-style:none;margin:0 0 16px;padding:0;text-align:left;display:grid;gap:8px}.intro-beats li{background:#f3f5f8;border-radius:12px;padding:10px 12px;font-size:14px;color:#1f2937;line-height:1.35}.intro-beats li.intro-tip{display:flex;align-items:center;gap:8px;background:#fff3cd;color:#7a4d00;font-weight:700}.tip-chip{position:absolute;left:max(10px,env(safe-area-inset-left));top:calc(108px + env(safe-area-inset-top,0px));bottom:auto;transform:none;display:inline-flex;align-items:flex-start;gap:6px;padding:7px 12px;border-radius:14px;background:#0e121cd1;color:#fff;font-size:11px;font-weight:700;line-height:1.3;pointer-events:none;z-index:5;max-width:86vw;white-space:normal;overflow:visible;text-overflow:unset;word-break:normal;overflow-wrap:anywhere}.door-banner{position:relative;left:auto;top:auto;transform:none;align-self:center;display:inline-flex;flex-direction:column;align-items:center;gap:4px;padding:8px 14px 10px;border-radius:14px;background:#0c1018e6;border:1px solid rgba(255,255,255,.14);color:#fff;font-weight:800;pointer-events:none;z-index:6;box-shadow:0 8px 24px #00000059;animation:doorBannerIn .35s ease-out}.door-banner-zh{font-size:14px;letter-spacing:.04em;line-height:1.2}.door-banner-en{font-size:11px;font-weight:700;opacity:.88;letter-spacing:.02em;line-height:1.2}.door-icons{display:inline-flex;gap:8px;margin-top:2px}.door-ico{position:relative;width:28px;height:28px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center}.door-ico .ico{width:22px;height:22px}.door-ico.open{background:#22ee6638;--ico-ink: #1db954}.door-ico.shut{background:#ff303038;--ico-ink: #ff4040}.door-ico.shut b{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#ff5050;font-size:20px;font-weight:900;line-height:1;text-shadow:0 1px 2px #000}@keyframes doorBannerIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.lv-card.locked{opacity:.34;filter:grayscale(.85) brightness(.62);box-shadow:inset 0 0 0 2px #0006}.lv-card.locked:after{content:"🔒";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:22px;filter:drop-shadow(0 2px 4px #000);pointer-events:none}.lv-card.locked .lv-state{color:#fff}.legend-txt .linkish{display:inline-flex;align-items:center;gap:4px;margin-top:6px;padding:4px 8px;border:0;border-radius:8px;background:#eef1f6;color:#b01c2e;font-size:11px;font-weight:700;cursor:pointer}.drag-hint.ftue-ghost{display:flex;flex-direction:column;align-items:center;gap:6px;animation:ftue-nudge 1.1s ease-in-out infinite}.drag-hint .ghost-hand{width:56px;height:56px;border-radius:50%;background:radial-gradient(circle at 30% 30%,#fff,#dfe6f0 55%,#9aa7b8);box-shadow:0 8px 20px #00000059,inset 0 0 0 3px #b01c2e59;position:relative}.drag-hint .ghost-hand:after{content:"";position:absolute;left:50%;top:58%;width:18px;height:28px;margin-left:-9px;border-radius:9px 9px 12px 12px;background:#b01c2e;transform:rotate(-25deg);box-shadow:10px -4px 0 -2px #b01c2e}.drag-hint .ghost-exit{width:40px;height:40px;border-radius:10px;background:#1db954;display:grid;place-items:center;box-shadow:0 0 14px #1db954d9;animation:ftue-exit-pulse 1.6s ease-in-out infinite}.drag-hint .ghost-exit .ico{width:26px;height:26px;--ico-ink: #fff}.drag-hint .ghost-label{font-size:17px;font-weight:900;line-height:1.2;color:#fff;text-align:center;max-width:230px;padding:6px 12px;border-radius:12px;background:#040e0af0;border:2px solid #3dff8a;text-shadow:0 1px 3px #000,0 0 8px rgba(0,0,0,.85);box-shadow:0 4px 14px #0000008c;position:relative;z-index:9}@keyframes ftue-nudge{0%,to{transform:translate(-10px,10px);opacity:.95}50%{transform:translate(-38px,-36px);opacity:1}}@keyframes ftue-exit-pulse{0%,to{box-shadow:0 0 10px #1db9548c;transform:scale(1)}50%{box-shadow:0 0 22px #1db954;transform:scale(1.08)}}.lv-body{gap:8px;padding-top:0}.lv-sticky{position:sticky;top:0;z-index:4;display:flex;flex-direction:column;gap:6px;margin:0 calc(-1*max(14px,var(--safe-l)));padding:4px max(14px,var(--safe-l)) 8px;background:linear-gradient(to bottom,#0a0e18f5 78%,#0a0e1800)}.loadout-strip.pre-level{position:static;padding:0;background:none}.lv-jump{display:flex;gap:3px;overflow-x:auto;padding-inline-end:2px;scroll-padding-inline:4px;scrollbar-width:none;touch-action:pan-x}.lv-jump::-webkit-scrollbar{display:none}.lv-jump button{flex:1 1 0;min-width:26px;min-height:30px;padding:0 2px;border-radius:9px;font-size:12px;font-weight:900;color:#fff;background:#ffffff1f;border:1px solid rgba(255,255,255,.16);font-variant-numeric:tabular-nums}.lv-jump button[data-jump="100"]{flex-grow:1.25;min-width:30px;background:linear-gradient(180deg,#ffd54f,#ffb300);color:#2a1d00;border-color:transparent}.lv-act{grid-column:1 / -1;display:flex;align-items:baseline;justify-content:space-between;margin:6px 2px -2px;font-size:13px;font-weight:900;color:#fff;opacity:.9;border-bottom:1px solid rgba(255,255,255,.14);padding-bottom:3px}.lv-act small{font-size:11px;opacity:.7;font-variant-numeric:tabular-nums}.lv-act:first-child{margin-top:0}.lv-exam{position:absolute;right:6px;top:6px;padding:1px 6px;border-radius:999px;font-size:10px;font-weight:900;color:#fff;background:#7d499d}.lv-card.boss{box-shadow:inset 0 0 0 2px #ffcc338c}.lv-boss{position:absolute;right:0;top:0;display:inline-flex;align-items:center;gap:3px;max-width:58%;padding:1px 8px 2px 6px;border-radius:0 12px 0 10px;font-size:9.5px;font-weight:900;color:#2a1a00;background:linear-gradient(180deg,#ffe082,#ffb300);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lv-boss .ico{flex:none;width:12px;height:12px;color:#6b4a00}.lv-card.boss .lv-station{padding-top:5px}.lv-card.boss .lv-state,.lv-card.exam .lv-state{top:auto;bottom:8px}.lv-card.boss.done .lv-state{color:#2a1a00;background:linear-gradient(180deg,#ffe082,#ffb300);box-shadow:0 0 0 2px #ffffffd9}.lv-card.boss.done .lv-state .ico{color:#2a1a00}.boss-cut{position:absolute;inset:0;z-index:40;pointer-events:auto;cursor:pointer;overflow:hidden;touch-action:none}.boss-cut .lb{position:absolute;left:0;right:0;height:13%;background:#05060a;animation:boss-lb var(--dur) ease-in-out both}.boss-cut .lb-top{top:0;transform-origin:top}.boss-cut .lb-bot{bottom:0;transform-origin:bottom}@keyframes boss-lb{0%{transform:scaleY(0)}14%,86%{transform:scaleY(1)}to{transform:scaleY(0)}}.boss-card{position:absolute;left:50%;bottom:calc(13% + 18px);width:min(92vw,420px);padding:12px 18px 14px;border-radius:18px;text-align:center;color:#fff8e6;background:linear-gradient(180deg,#18120aeb,#0c0a08db);border:2px solid #ffcc33;box-shadow:0 0 0 4px color-mix(in srgb,var(--acc) 55%,transparent),0 14px 40px #0000008c;transform:translate(-50%);animation:boss-card var(--dur) cubic-bezier(.2,.9,.25,1.2) both}.boss-cut.short .boss-card{animation-name:boss-card-short}@keyframes boss-card{0%,18%{opacity:0;transform:translate(-50%) scale(1.6) rotate(-4deg)}30%{opacity:1;transform:translate(-50%) scale(.94) rotate(1deg)}36%,86%{opacity:1;transform:translate(-50%) scale(1) rotate(0)}to{opacity:0;transform:translate(-50%) scale(.96)}}@keyframes boss-card-short{0%,8%{opacity:0;transform:translate(-50%) scale(1.3)}22%,82%{opacity:1;transform:translate(-50%) scale(1)}to{opacity:0;transform:translate(-50%) scale(.96)}}.boss-kicker{display:inline-flex;align-items:center;gap:6px;margin:0 0 2px;padding:2px 10px 2px 6px;border-radius:999px;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#2a1a00;background:linear-gradient(180deg,#ffe082,#ffb300)}.boss-kicker .ico{width:16px;height:16px;color:#6b4a00}.boss-zh{margin:4px 0 0;font-size:clamp(34px,11vw,48px);line-height:1.08;font-weight:900;letter-spacing:.04em;color:#fff;text-shadow:0 3px 0 color-mix(in srgb,var(--acc) 70%,#000),0 0 18px color-mix(in srgb,var(--acc) 60%,transparent)}.boss-en{margin:2px 0 6px;font-size:15px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;color:#fc3}.boss-tagline{margin:0;font-size:14px;font-weight:700;line-height:1.35;color:#f3e7cf}.boss-counter{display:inline-flex;align-items:center;gap:5px;margin:8px 0 0;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:800;color:#fff;background:#ffffff1f}.boss-counter .ico{width:13px;height:13px;color:#fc3}.boss-crowns{display:flex;justify-content:center;gap:6px;margin-top:8px}.boss-crowns span .ico{width:20px;height:20px;color:var(--acc);filter:drop-shadow(0 1px 0 rgba(0,0,0,.6))}.boss-skip{position:absolute;right:12px;bottom:calc(6.5% - 14px);display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:4px 12px;border:0;border-radius:999px;font-size:12px;font-weight:800;color:#ffffffd9;background:#ffffff1f;animation:boss-skip var(--dur) linear both}.boss-skip .ico{width:12px;height:12px}@keyframes boss-skip{0%,12%{opacity:0}20%,90%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion: reduce){.boss-card,.boss-cut .lb{animation-timing-function:linear}}.char-select .char-body{display:flex;flex-direction:column;gap:10px;padding-bottom:12px}.char-stack{display:flex;flex-direction:column;gap:10px}.char-row{display:flex;align-items:stretch;gap:12px;background:linear-gradient(165deg,#1e2434f5,#121622fa);border:2px solid rgba(255,255,255,.12);border-radius:16px;padding:10px;box-shadow:0 8px 22px #00000052;min-height:132px}.char-row.selected{border-color:#5ad2ff;box-shadow:0 0 0 2px #5ad2ff59,0 8px 22px #00000052}.char-row.char-mage.selected{border-color:#b388ff;box-shadow:0 0 0 2px #b388ff66,0 8px 22px #00000052}.char-row.coming{opacity:.72;filter:grayscale(.35)}.char-port-wrap{flex:0 0 112px;width:112px;height:126px;border-radius:14px;overflow:hidden;background:#0e1520;box-shadow:inset 0 0 0 1px #ffffff14}.char-port-img{width:112px;height:126px;object-fit:cover;display:block}.char-port-fallback{display:grid;place-items:center;width:112px;height:126px}.char-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.char-name{margin:0;font-size:1.15rem;line-height:1.2}.char-other{margin:0;opacity:.65;font-size:.8rem}.char-styles{display:flex;gap:8px;margin:4px 0}.char-styles .ico{width:22px;height:22px}.char-pitch{margin:0 0 6px;font-size:.88rem;opacity:.9;flex:1}.char-actions{display:flex;flex-direction:column;gap:6px}.char-actions .primary{padding:8px 12px;font-size:.9rem}.char-footer{display:flex;flex-direction:column;gap:8px;padding:2px 0 8px}.char-footer .primary,.char-footer .ghost{width:100%}.char-chip{display:inline-flex;align-items:center;gap:4px;background:#ffffff14;border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:4px 10px;color:inherit;font:inherit;font-size:.8rem}.meter.mana-meter .meter-bar{background:#643ca040}.meter.mana-meter .meter-bar>i{background:linear-gradient(90deg,#7e57c2,#ce93d8)}.meter.mana-meter.denied{animation:pulse-deny .35s ease}.meter.mana-meter.low .meter-bar>i{background:linear-gradient(90deg,#ab47bc,#f48fb1)}@keyframes pulse-deny{50%{filter:brightness(1.6)}}.skill-use.el-wind{color:#00332e;background:linear-gradient(180deg,#a7ffeb,#00695c);--ico-ink: #004d40;box-shadow:inset 0 0 0 2px #1de9b6}.skill-use.el-grav{color:#3e1f00;background:linear-gradient(180deg,#ffb74d,#ef6c00);--ico-ink: #e65100}.skill-use.el-fire{color:#fff;background:linear-gradient(180deg,#ff3d00,#c62828);--ico-ink: #3e0000}.skill-use.el-ice{color:#fff;background:linear-gradient(180deg,#64b5f6,#0d47a1);--ico-ink: #002171;box-shadow:inset 0 0 0 2px #90caf9}.skill-use.el-volt{color:#1a1200;background:linear-gradient(180deg,#ffee58,#fbc02d);--ico-ink: #5d4037}.skill-use.el-iw{color:#00363a;background:linear-gradient(135deg,#1e88e5 40%,#26a69a);--ico-ink: #006064;box-shadow:inset 0 0 0 3px #ffe082}.skill-use.el-ig{color:#fff;background:linear-gradient(135deg,#fb8c00,#1e88e5);--ico-ink: #4a148c}.skill-use.el-wg{color:#1b2e0a;background:linear-gradient(135deg,#26a69a,#fb8c00);--ico-ink: #33691e}.skill-use.ult-str.ult-mage:not(.dim){background:linear-gradient(180deg,#b2dfdb,#00897b)!important;--ico-ink: #004d40;color:#00332e}.skill-use.ult-mage.ult-sta:not(.dim){background:linear-gradient(180deg,#42a5f5,#1565c0);--ico-ink: #0d47a1;color:#fff}.skill-use.ult-mage.ult-spd:not(.dim){background:linear-gradient(180deg,#ffb74d,#ef6c00);--ico-ink: #e65100;color:#3e1f00}.skill-use.cooling{opacity:1}.skill-use.ult-mage{width:58px;height:58px;box-shadow:0 0 0 3px #ffd54f,0 0 12px #ffd54f8c;background:linear-gradient(180deg,#ffe082,#ff8f00);color:#3e2723}.constellation.mage .b-spd .skill-ico{background:linear-gradient(180deg,#ffb74d,#ef6c00);color:#3e1f00;--ico-ink: #e65100}.constellation.mage .b-sta .skill-ico{background:linear-gradient(180deg,#42a5f5,#1565c0);color:#fff;--ico-ink: #0d47a1}.tip-chip{left:max(10px,env(safe-area-inset-left));right:auto;top:calc(102px + env(safe-area-inset-top,0px));bottom:auto;transform:none;max-width:min(320px,calc(100vw - 96px));z-index:9}.tip-chip.tip-under-meters{position:relative;inset:auto;transform:none;align-self:flex-start;max-width:min(320px,88vw);margin-top:2px;z-index:9;background:#080c14eb;box-shadow:0 4px 12px #00000073;white-space:normal;overflow:visible}.tip-chip.teach-chip{z-index:9;background:#080c14f0;border:1px solid rgba(90,210,255,.35);white-space:normal;overflow:visible}.tip-chip>span{flex:1 1 auto;min-width:0}.tip-chip>.ico{flex-shrink:0;margin-top:1px}.skill-use.ult-mage{width:62px!important;height:62px!important;box-shadow:0 0 0 3px #ffd54f,0 0 14px #ffd54fa6!important;background:linear-gradient(180deg,#ffe082,#ff8f00)!important;color:#3e2723!important;transform:scale(1.08)}.char-prog{margin:6px 0 4px}.char-prog-meta{display:flex;justify-content:space-between;gap:8px;font-size:11px;opacity:.85}.char-prog-bar{height:6px;border-radius:99px;background:#ffffff1f;overflow:hidden;margin-top:4px}.char-prog-bar>i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#5ad2ff,#b388ff)}.char-row.char-mage .char-prog-bar>i{background:linear-gradient(90deg,#26a69a,#1e88e5 50%,#fb8c00)}.char-row.char-hero .char-prog-bar>i{background:linear-gradient(90deg,#ff8a3d,#5ad2ff)}.char-chip.who{display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 4px;max-width:min(52vw,200px);flex-shrink:1}.char-chip.who img{width:28px;height:32px;border-radius:6px;object-fit:cover}.char-chip.who span{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15;min-width:0}.char-chip.who b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:9em}.char-chip.who .chip-prog{font-size:11px;font-weight:800;color:#ffc940;opacity:1}.char-style-ico{display:inline-flex}.char-style-ico.tint-fire{color:#e53935;--ico-ink: #e53935}.char-style-ico.tint-ice{color:#1e88e5;--ico-ink: #1e88e5}.char-style-ico.tint-volt{color:#fbc02d;--ico-ink: #fbc02d}.char-style-ico.tint-wind{color:#26a69a;--ico-ink: #00897b}.char-style-ico.tint-grav{color:#fb8c00;--ico-ink: #ef6c00}.workshop-body{display:flex;flex-direction:column;gap:10px;padding-bottom:18px}.workshop-top{display:flex;justify-content:space-between;align-items:baseline;font-variant-numeric:tabular-nums}.workshop-tabs{display:flex;gap:6px}.workshop-tabs button,.bag-actions button,.shop-actions button,.bag-tools button,.set-btn,.tray-item{min-height:44px}.workshop-tabs button{flex:1;border:0;border-radius:999px;background:#ffffff14;color:inherit;font:inherit}.workshop-tabs button.on,.tray-item.on,.set-btn.on,.bag-tools .on{background:#ffb03a;color:#1b1408}.tray-item.on .ico{color:#1b1408}.tray-item.on .shape i.on{background:#1b1408}.tray-item.on .shape i:not(.on){background:#1b140838}.bag-grid{display:grid;grid-template-columns:repeat(var(--cols),minmax(52px,64px));gap:6px;justify-content:center}.bag-cell{position:relative;aspect-ratio:1;border-radius:10px;border:1px dashed rgba(255,255,255,.28);background:#ffffff0a;color:inherit;display:grid;place-items:center;padding:0}.cell-n{position:absolute;right:3px;bottom:2px;font-size:11px;font-style:normal;font-weight:800;line-height:1.2;color:#1b1408;background:#ffffffc7;border-radius:4px;padding:0 3px}.bag-cell .ico,.tray-item .ico{width:28px;height:28px}.shop-card header .ico{width:32px;height:32px}.ico.it-shoes{color:#4fc3f7}.ico.it-gloves{color:#ff8a65}.ico.it-head{color:#81c784}.ico.it-gadget{color:#ffd54f}.ico.it-core{color:#ce93d8}.ico.it-consumable{color:#f48fb1}.bag-cell.filled{border-style:solid;background:#ffb03a38}.bag-cell.filled.p0{background:#ffb03a66;border-color:#ffb03a}.bag-cell.filled.p1{background:#4fc3f757;border-color:#4fc3f7}.bag-cell.filled.p2{background:#81c78457;border-color:#81c784}.bag-cell.filled.p3{background:#ff8a6557;border-color:#ff8a65}.bag-cell.filled.p4{background:#ce93d85c;border-color:#ce93d8}.bag-cell.filled.p5{background:#ffd54f52;border-color:#ffd54f}.bag-cell.on{outline:2px solid #fff;outline-offset:1px}.bag-cell.clash{outline:2px solid #ff8a65}.tray{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:8px;padding-bottom:4px}.tray>.sfx-note{grid-column:1 / -1}.tray-item .name{font-weight:800;line-height:1.2;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.tray-copy,.shop-copy{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;flex:1 1 auto}.tray-blurb{display:block;font-size:11px;font-weight:700;line-height:1.25;opacity:.78;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.tray-item.on .tray-blurb{opacity:.9;color:#1b1408}.shop-id .shop-copy{min-width:0}.shop-id .tray-blurb{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.gear-kind{font-style:normal;font-size:10px;font-weight:800;line-height:1.2;padding:1px 6px;border-radius:999px;background:#ffffff24}.gear-use{font-size:12px;font-weight:600;line-height:1.35;opacity:.92}.gear-slot{grid-column:1 / -1;margin:10px 0 0;font-size:13px;font-weight:900}.gear-slot small{display:block;margin-top:2px;font-size:12px;font-weight:600;opacity:.75}.shop-card header .gear-kind{margin-left:auto}.tray-item.on .gear-kind{background:#1b14081f;color:#1b1408}.tray-item.on .gear-use,.tray-item.on .tier-job{color:#1b1408;opacity:1}.tray-item,.set-btn{display:flex;flex-direction:column;align-items:flex-start;gap:4px;border:0;border-radius:12px;background:#ffffff14;color:inherit;padding:8px 10px;font:inherit;min-width:0}.tray-item small,.set-btn small{opacity:.75}.bag-actions,.bag-tools,.shop-actions,.set-row{display:flex;flex-wrap:wrap;gap:8px}.shop-actions{flex-direction:column;align-items:stretch}.shop-actions .primary{margin-top:4px}.shop-actions .ghost{align-self:flex-start;width:auto;padding:8px 16px;border-radius:12px;background:#ffffff24}.shop-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:8px;align-items:start}.shop-list>.sfx-note,.shop-list>.primary{grid-column:1 / -1}.shop-card{background:#ffffff0f;border-radius:14px;padding:10px 12px}.shop-card header{display:flex;align-items:center;gap:8px}.shop-card p{margin:4px 0;font-size:13px;opacity:.9}.shop-card p.shop-lock{color:#ffb74d;font-weight:700;opacity:1}.workshop .primary.is-locked{opacity:.45;box-shadow:none}.workshop .primary.is-earn{opacity:.78;box-shadow:none}.starter-ready{margin:0;padding:8px 10px;border-radius:10px;background:#ffb03a2e;color:#ffe0a3;font-size:13px;font-weight:800;line-height:1.35}.coin-chip,.trial-banner{display:inline-flex;align-items:center;gap:6px;background:#ffb03a29;border-radius:999px;padding:4px 8px;font-size:12px}.trial-banner{background:#5ad2ff29}.cons-row{display:flex;gap:4px;justify-content:flex-end}.place-hint{margin:0;font-size:13px;opacity:.8}.place-hint.warn{color:#ffb74d;opacity:1;font-weight:700}.shape{display:inline-grid;grid-template-columns:repeat(var(--sw),9px);grid-template-rows:repeat(var(--sh),9px);gap:2px;vertical-align:middle}.shape i{display:block;width:9px;height:9px;border-radius:2px;background:#ffffff29}.shape i.on{background:#ffb03a}.piece-size,.shop-size{display:flex;align-items:center;gap:6px;font-size:12px}.shop-size{margin:6px 0}.shape-arrow{opacity:.7}.bag-tools .shape{margin-left:6px}.bag-tools .ghost{align-items:flex-start;text-align:left;max-width:100%}.bag-tools .tier-job{display:block;margin-top:2px}.tier-sizes{display:flex;flex-direction:column;align-items:stretch;gap:6px;width:100%}.tier-size{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0;max-width:none}.tier-size b{font-size:15px;font-variant-numeric:tabular-nums;line-height:1.1}.tier-size small{font-size:10px;line-height:1.15;opacity:.8}.tier-job{flex:1 1 7em;font-style:normal;font-size:11px;font-weight:700;line-height:1.25;opacity:.95}.tier-size[data-tier-pick]{cursor:pointer}.tier-size.locked{opacity:.45}.tier-size.nofit b,.tier-size.nofit small{color:#ffb74d}.tier-size.on b,.tier-size.on small{color:#ffb03a}.workshop.sub-screen{overflow:hidden;height:100%}.workshop>.top-bar{flex:0 0 auto;padding-top:max(2px,env(safe-area-inset-top,0px));padding-bottom:0}.workshop .bar-title{font-size:15px;gap:4px}.workshop .bar-title .ico{width:18px;height:18px}.workshop .icon-btn{min-width:36px;min-height:36px;padding:4px;border-radius:10px}.workshop .bar-stat{font-size:13px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}.workshop .help-btn{font-size:18px;font-weight:900;line-height:1}.workshop .help-btn.on{background:#ffb03a;color:#1b1408}.workshop .workshop-body{position:relative;flex:1 1 auto;overflow:hidden;min-height:0;gap:4px;padding-top:2px;padding-bottom:max(4px,var(--safe-b))}.workshop .workshop-tabs{flex:0 0 auto}.workshop .workshop-tabs button{min-height:32px;padding:4px 8px;font-size:13px}.help-pop{position:absolute;z-index:6;top:36px;left:0;right:0;padding:8px 10px;border-radius:12px;background:#0e121cf5;border:1px solid rgba(255,255,255,.2);font-size:12px;line-height:1.35;max-height:46%;overflow:auto}.help-pop p{margin:0 0 4px}.fit-stage{flex:0 0 auto;display:flex;justify-content:center}.bag-cluster{display:grid;grid-template-columns:48px auto 48px;gap:8px;align-items:center;width:max-content;max-width:100%}.slot-col,.slot-row{display:flex;gap:4px}.slot-col{display:grid;grid-template-rows:repeat(3,44px);align-content:center;justify-items:center;gap:4px}.slot-row{flex:0 0 auto;justify-content:space-between;align-items:center}.slot-ico{width:44px;height:44px;aspect-ratio:1;border:0;border-radius:14px;background:#ffffff14;color:inherit;display:grid;place-items:center;padding:0}.slot-row .slot-ico{width:44px;height:44px}.slot-ico .ico{width:26px;height:26px}.slot-ico.on{background:#ffb03a}.slot-ico.on .ico{color:#1b1408}.slot-ico.has{box-shadow:inset 0 -3px #ffb03a}.slot-ico.on.has{box-shadow:inset 0 -3px #1b1408}.bag-wrap{min-width:0;min-height:0;display:grid;place-items:center}.workshop .bag-grid{--cell: 52px;width:calc(var(--cell) * var(--cols) + (var(--cols) - 1) * 4px);height:auto;aspect-ratio:var(--cols) / var(--rows);gap:4px;grid-template-columns:repeat(var(--cols),minmax(0,1fr));grid-template-rows:repeat(var(--rows),minmax(0,1fr))}.workshop .bag-cell{aspect-ratio:auto;width:100%;height:100%;min-width:0;min-height:0}.workshop .bag-cell .ico{width:22px;height:22px}.fit-dock{position:relative;flex:0 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:6px;z-index:2}.dock-title{margin:0;font-size:12px;font-weight:800;opacity:.8}.item-row{display:flex;flex-direction:column;gap:6px;min-width:0}.item-line{display:flex;gap:6px;align-items:stretch;min-width:0}.item-line .take-off{flex:0 0 auto;align-self:stretch}.item-row .tray-item{flex:0 0 auto;width:100%;min-width:0;flex-direction:row;align-items:flex-start;gap:8px;min-height:44px;padding:6px 10px}.item-row .tray-item .ico{margin-top:2px}.item-line .tray-item{width:auto;flex:1 1 auto}.item-row .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:800}.item-row .ico{width:26px;height:26px;flex:0 0 auto}.fit-dock .shape{grid-template-columns:repeat(var(--sw),12px);grid-template-rows:repeat(var(--sh),12px)}.fit-dock .shape i{width:12px;height:12px}.size-row{display:flex;min-width:0}.size-row .tier-sizes{flex-direction:row;flex-wrap:nowrap;gap:4px;width:100%}.size-row .tier-size{flex:1 1 0;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:2px;border-radius:10px;background:#ffffff14}.size-row .tier-size small{font-size:10px;white-space:nowrap}.fit-dock .size-row .tier-size{min-height:52px;gap:2px;padding:4px 2px}.fit-dock .size-row .tier-size small{font-size:12px}button.tier-size{border:0;color:inherit;font:inherit;cursor:pointer}.size-row .tier-size.on{outline:2px solid #ffb03a}.workshop .place-hint{font-size:12px;line-height:1.25}.workshop .bag-actions{flex:0 0 auto;flex-wrap:wrap;gap:4px}.workshop .bag-actions button{flex:0 0 auto}.workshop .bag-actions button,.workshop .more-btn,.workshop .shop-buy button{min-height:32px;padding:2px 8px;font-size:12px}.workshop .ghost.icon-act{background:#ffffff1a}.workshop .bag-actions .icon-act,.workshop .more-btn.icon-act,.workshop .shop-buy .icon-act,.workshop .item-line .icon-act{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:44px;min-height:44px;padding:4px;border-radius:12px;line-height:1}.workshop .icon-act .ico{width:26px;height:26px}.workshop .icon-act b{font-size:14px;font-weight:800;font-variant-numeric:tabular-nums}.workshop .primary.icon-act{padding:4px 10px}.workshop .more-btn.on{background:#ffb03a;color:#1b1408}.workshop .more-btn.on .ico{transform:rotate(180deg)}.workshop [data-act=bag-rec],.workshop [data-sell]{color:#ffd54f}.workshop .primary{width:auto;margin-top:0;min-height:32px;padding:2px 10px;font-size:13px;border-radius:12px;box-shadow:0 2px #5e0e18}.workshop .primary.icon-act{min-height:44px;padding:4px 10px}.more-btn{align-self:flex-start}.gear-more{font-size:12px;line-height:1.35;background:#0e121cf5;border:1px solid rgba(255,255,255,.16);border-radius:10px;padding:6px 8px}.gear-more p{margin:0 0 4px}.gear-more .gear-kind{margin-right:6px}.fit-dock .gear-more{position:absolute;left:0;right:0;bottom:calc(100% + 4px);z-index:5;max-height:min(34vh,160px);overflow:auto;box-shadow:0 8px 24px #00000073}.shop-fit{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:2px}.shop-row{flex:0 0 auto;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"id buy" "size size" "more more";gap:1px 6px;align-items:center}.shop-id{grid-area:id;display:flex;align-items:center;gap:4px;min-width:0;font-size:13px}.shop-id b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shop-id .ico{width:20px;height:20px;flex:0 0 auto}.shop-row .size-row{grid-area:size}.shop-buy{grid-area:buy;display:flex;gap:4px;justify-content:flex-end;flex-wrap:nowrap;width:max-content;max-width:100%}.shop-row .gear-more{grid-area:more;position:static;max-height:none;box-shadow:none}.set-fit{flex:1;display:flex;align-items:center;min-height:0}.set-fit .set-row{width:100%}.set-fit .set-btn{flex:1;align-items:center}.tray-item.on .tier-size b,.tray-item.on .tier-size small{color:#1b1408;opacity:1}.tray-item.on .tier-size.locked{opacity:.5}.tray-item.on .tier-size.nofit b{color:#8a3b12}.sp-drip{margin:2px 0 0;padding:4px 10px;border-radius:999px;background:#0e121cb8;border:1px solid rgba(255,201,64,.35);color:#ffc940;font-size:11px;font-weight:800;letter-spacing:.01em;display:inline-flex;align-items:center;gap:4px;align-self:center}.sp-drip .ico{width:12px;height:12px;color:#ffc940}.title-main .sp-drip{margin-top:6px}.sp-drip-end{color:#5a6a80;font-weight:700}.skills-screen .sub-body.skills-body,.skills-panel .skills-body{flex:1;min-height:0;display:flex;flex-direction:column;gap:6px;width:100%;max-width:none;padding-bottom:max(10px,calc(var(--safe-b) + 6px));overflow:auto;touch-action:pan-y}.skill-howto{flex:none;margin:0;font-size:10px;line-height:1.25;opacity:.7;max-height:5.4em;overflow:hidden}.constellation{position:relative;flex:1 1 auto;width:100%;min-height:0;height:auto;margin:0;display:flex;flex-direction:column;align-items:stretch;gap:6px;overflow:hidden;touch-action:pan-y}.cst-core{position:relative;left:auto;top:auto;transform:none;align-self:center;width:56px;height:56px;border-radius:50%;background:linear-gradient(160deg,#1f2937,#0f172a);color:#fff;display:grid;place-items:center;box-shadow:0 0 0 3px #b01c2e,0 6px 18px #00000073;z-index:3;flex:none}.cst-core .ico{width:26px;height:26px}.cst-core b{position:absolute;bottom:5px;font-size:12px;font-weight:900;color:#ffd54f}.cst-arms{flex:1 1 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;min-height:0;align-items:stretch;overflow:hidden}.cst-arm{position:relative;left:auto;top:auto;width:auto;height:auto;transform:none;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;min-height:0;overflow:hidden;padding:6px 4px;border-radius:18px;background:#0e121c8c;border:1.5px solid rgba(255,255,255,.1);z-index:1}.b-str.cst-arm{border-color:#ff8a3d8c;background:#ff8a3d14}.b-spd.cst-arm{border-color:#4fd2f08c;background:#4fd2f014}.b-sta.cst-arm{border-color:#66bb6a8c;background:#66bb6a14}.cst-arm-line{position:relative;left:auto;top:auto;width:3px;height:10px;transform:none;flex:none;border-radius:2px;opacity:.95}.b-str .cst-arm-line{background:linear-gradient(to bottom,#ff8a3d,transparent)}.b-spd .cst-arm-line{background:linear-gradient(to bottom,#4fd2f0,transparent)}.b-sta .cst-arm-line{background:linear-gradient(to bottom,#66bb6a,transparent)}.cst-nodes{position:relative;left:auto;top:auto;transform:none;width:100%;height:auto;flex:1 1 auto;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;padding:2px 0;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin}.cst-node{position:relative;left:auto;top:auto;transform:none;border:0;background:transparent;padding:0;width:100%;display:flex;flex-direction:column;align-items:center;gap:3px;color:#c5ccd3;pointer-events:auto;cursor:pointer}.cst-node.ult{top:auto;bottom:auto;margin-top:2px}.cst-dot{width:40px;height:40px;border-radius:50%;background:#3a4250;display:grid;place-items:center;box-shadow:0 0 0 2px #ffffff38,0 2px 8px #00000059;flex:none;--ico-w: #3a4250}.cst-dot>.ico{width:22px;height:22px}.cst-node.major .cst-dot{width:40px;height:40px}.cst-node.compact .cst-dot{width:36px;height:36px}.cst-node.compact .cst-dot>.ico{width:20px;height:20px}.cst-node.on .cst-dot{background:linear-gradient(180deg,#fff59d,#ffb300);color:#5d4037;--ico-w: #ffb300}.cst-node.next .cst-dot{box-shadow:0 0 0 3px #ffb03a,0 2px 8px #00000059}.b-str .cst-node.on .cst-dot{background:linear-gradient(180deg,#ff8a3d,#d84315);color:#fff;--ico-ink: #7a2a08;--ico-w: #e25a22}.b-spd .cst-node.on .cst-dot{background:linear-gradient(180deg,#4fd2f0,#0288d1);color:#fff;--ico-w: #19a4cc}.b-sta .cst-node.on .cst-dot{background:linear-gradient(180deg,#66bb6a,#2e7d32);color:#fff;--ico-ink: #1b5e20;--ico-w: #43a047}.constellation.mage .b-str.cst-arm{border-color:#00897bb3;background:#00897b1f}.constellation.mage .b-spd.cst-arm{border-color:#ef6c00b3;background:#ef6c001f}.constellation.mage .b-sta.cst-arm{border-color:#1e88e599;background:#1e88e51f}.constellation.mage .b-str .cst-arm-line{background:linear-gradient(to bottom,#26a69a,transparent)}.constellation.mage .b-spd .cst-arm-line{background:linear-gradient(to bottom,#ef6c00,transparent)}.constellation.mage .b-sta .cst-arm-line{background:linear-gradient(to bottom,#42a5f5,transparent)}.constellation.mage .b-str .cst-node.on .cst-dot{background:linear-gradient(180deg,#b2dfdb,#00897b);color:#00332e;--ico-ink: #004d40;--ico-w: #26a69a}.constellation.mage .b-spd .cst-node.on .cst-dot{background:linear-gradient(180deg,#ffb74d,#ef6c00);color:#3e1f00;--ico-ink: #e65100;--ico-w: #fb8c00}.constellation.mage .b-sta .cst-node.on .cst-dot{background:linear-gradient(180deg,#42a5f5,#1565c0);color:#fff;--ico-ink: #0d47a1;--ico-w: #1e88e5}.cst-dot{position:relative}.cst-ctr{position:absolute;right:-7px;bottom:-5px;width:19px;height:19px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#3f51b5;--ico-ink: #fff;box-shadow:0 0 0 1.5px #1b2230,0 1px 3px #0006}.cst-ctr .ico{width:13px;height:13px}.cst-node:not(.on) .cst-ctr{opacity:.8}.cst-node.selected .cst-dot{box-shadow:0 0 0 3px #ffd54f,0 0 14px #ffd54f8c}.cst-node.selected .cst-label{background:#ffd54f2e;border-color:#ffd54f8c}.cst-label{display:flex;flex-direction:column;align-items:center;gap:0;width:100%;max-width:none;padding:2px 2px 3px;border-radius:8px;background:#080c148c;border:1px solid rgba(255,255,255,.08);text-align:center;line-height:1.15;text-shadow:none;white-space:normal;font-size:10px;font-weight:800;color:#e8edf4}.cst-en{font-size:10.5px;font-weight:900;color:#fff;letter-spacing:.01em}.cst-zh{font-size:11px;font-weight:900;color:#ffd54f}.cst-node.compact .cst-en{font-size:10px}.cst-node.compact .cst-zh{font-size:10.5px}.cst-node.ult .cst-dot{width:42px;height:42px;border-radius:12px}.cst-node.ult .cst-en{color:#ffd54f}.cst-arm-head{position:relative;left:auto;top:auto;transform:none;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;align-items:center;column-gap:6px;row-gap:2px;width:100%;text-align:left;flex:none;color:#fff}.cst-arm-head .skill-ico{grid-row:1 / span 2;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:#fff}.cst-arm-head .skill-ico .ico{width:22px;height:22px}.cst-arm-head strong{font-size:12px;font-weight:900;line-height:1.1}.cst-arm-head .skill-prog{font-size:9px;font-weight:700;color:#c5ccd3;grid-column:2}.cst-arm-head .spend-btn{grid-column:1 / -1;margin:8px 0 4px;min-width:100%;width:100%;min-height:44px;height:auto;padding:6px 4px;border-radius:14px;position:relative;z-index:2;touch-action:manipulation;box-sizing:border-box;white-space:normal}.cst-arm-head .spend-btn .plus,.cst-arm-head .spend-btn .learn-lbl{display:block;width:100%;font-size:11px;line-height:1.15;font-weight:900;text-align:center;white-space:normal;overflow:hidden}.cst-detail{flex:none;display:none;flex-direction:column;gap:2px;margin:0 2px;padding:8px 10px;border-radius:14px;background:#0e121ceb;border:1.5px solid rgba(255,213,79,.55);box-shadow:0 6px 16px #00000059;color:#fff;text-align:left;z-index:4}.cst-detail.on{display:flex}.cst-detail-names{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}.cst-detail-ico{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#243044;color:#ffd54f;--ico-w: #243044;flex:none}.cst-detail-ico .ico{width:22px;height:22px}.cst-detail-en{font-size:14px;font-weight:900}.cst-detail-zh{font-size:14px;font-weight:900;color:#ffd54f}.cst-detail-tip{margin:0;font-size:12px;font-weight:700;line-height:1.3;color:#e7ebf0}.cst-detail-kind{display:none}.cst-detail-foot{display:flex}.cst-detail-ctr{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;margin-top:3px;font-size:11px;font-weight:800}.cst-detail-ctr .ctr-lbl{color:#ffd54f;text-transform:uppercase;letter-spacing:.04em;font-size:10px}.cst-detail-ctr .ctr-kind{display:inline-flex;align-items:center;gap:4px;padding:2px 8px 2px 3px;border-radius:999px;background:#fff;color:#1b2230}.cst-detail-ctr .ctr-kind .ico{width:16px;height:16px;color:#3f51b5;--ico-ink: #fff}.skills-panel{width:min(100%,calc(100% - 12px));max-height:min(96vh,calc(100% - 8px - var(--safe-t) - var(--safe-b)));left:50%;top:50%;display:flex;flex-direction:column}.skills-panel .skills-body{flex:1;min-height:0;overflow:auto;touch-action:pan-y}.skills-panel .constellation{color:#18202e}.skills-panel .cst-arm{background:#ffffffeb;color:#18202e}.skills-panel .cst-arm-head{color:#18202e}.skills-panel .cst-arm-head .skill-prog{color:#5b6573}.skills-panel .cst-label{background:#f3f5f8;border-color:#d5dae0;color:#18202e}.skills-panel .cst-en{color:#18202e}.skills-panel .cst-zh{color:#b07800}.skills-panel .cst-node:not(.on){color:#243044}.skills-panel .cst-node:not(.on) .cst-dot{--ico-w: #d5dae0}.skills-panel .cst-dot{background:#d5dae0;box-shadow:0 0 0 2px #fff,0 2px 6px #0003}.skills-panel .cst-detail-ico{background:#1b2433;color:#e8a317;--ico-w: #1b2433}.skills-panel .cst-detail{background:#fff8e6;border-color:#e0a800;color:#18202e}.skills-panel .cst-detail-en{color:#18202e}.skills-panel .cst-detail-zh{color:#8a5a00}.skills-panel .cst-detail-tip{color:#4a5568}.spell-wheel{position:relative;width:min(100%,500px,58vh);aspect-ratio:1;margin:6px auto;flex:none;container-type:inline-size;color:#ffffffd1}.spell-spokes{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.spell-hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:13%;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 40% 35%,#31405c,#121826 70%);border:1px solid rgba(255,255,255,.4);box-shadow:0 0 0 4px #ffffff0f;font-size:clamp(9px,3.2cqi,14px);font-weight:900;letter-spacing:.04em;z-index:1;pointer-events:none}.spell-ray-label{position:absolute;z-index:2;max-width:20%;padding:1px 4px;border-radius:8px;background:#080c16b8;font-size:clamp(8px,2.5cqi,12px);font-weight:900;line-height:1.05;text-align:center;pointer-events:none;transform:translate(-50%,-50%)}.spell-ray-label.line-i{color:#90caf9}.spell-ray-label.line-w{color:#80cbc4}.spell-ray-label.line-g{color:#ffcc80}.spell-ray-label.line-iw{color:#4dd0e1}.spell-ray-label.line-ig{color:#ce93d8}.spell-ray-label.line-wg{color:#a5d6a7}.spell-wheel .spell-node{position:absolute;width:7.6%;height:7.6%;min-width:0;min-height:0;transform:translate(-50%,-50%);border-radius:50%;border:1px solid rgba(255,255,255,.28);background:#080c14b8;color:inherit;padding:0;display:flex;align-items:center;justify-content:center;z-index:1}.spell-wheel .spell-node.ready{border-color:#fff;box-shadow:0 0 0 2px #ffffff73}.spell-wheel .spell-node.locked{opacity:.48}.spell-wheel .spell-node.selected{outline:2px solid #ffe082;outline-offset:1px;z-index:3}.spell-wheel .spell-dot{position:relative;display:inline-flex;align-items:center;justify-content:center}.spell-wheel .spell-node .ico{width:5cqi;height:5cqi}.spell-wheel .spell-pair{display:flex;align-items:center}.spell-wheel .spell-pair .ico{width:3.1cqi;height:3.1cqi}.spell-star{position:absolute;top:-1px;right:-3px;font-style:normal;font-size:2.5cqi;line-height:1;color:#ffe082}.spell-wheel .line-w{--ico-ink: #00695c}.spell-wheel .line-i{--ico-ink: #0d47a1}.spell-wheel .line-g{--ico-ink: #e65100}.spell-wheel .line-iw{--ico-ink: #00838f}.spell-wheel .line-ig{--ico-ink: #6a1b9a}.spell-wheel .line-wg{--ico-ink: #558b2f}.spell-wheel .line-w.on{background:linear-gradient(180deg,#b2dfdb,#00897b);color:#00332e}.spell-wheel .line-i.on{background:linear-gradient(180deg,#42a5f5,#1565c0);color:#fff}.spell-wheel .line-g.on{background:linear-gradient(180deg,#ffb74d,#ef6c00);color:#3e1f00}.spell-wheel .line-iw{--tilt: 90deg;--c1: #1e88e5;--c2: #26a69a}.spell-wheel .line-wg{--tilt: 210deg;--c1: #26a69a;--c2: #fb8c00}.spell-wheel .line-ig{--tilt: 330deg;--c1: #fb8c00;--c2: #1e88e5}.spell-wheel .spell-node.mix{background:linear-gradient(var(--tilt),color-mix(in srgb,var(--c1) 55%,#121820),color-mix(in srgb,var(--c2) 55%,#121820))}.spell-wheel .spell-node.mix.on{background:linear-gradient(var(--tilt),var(--c1),var(--c2));color:#fff}.cst-detail-why{font-size:12px;font-weight:800;color:#ffe082}.spell-learn{margin-top:6px;align-self:flex-start;min-height:36px;padding:6px 18px;border:0;border-radius:999px;background:#ffd54f;color:#1b2230;font-weight:900;font-size:14px}.spell-learn:disabled{background:#ffffff29;color:#ffffff8c}.skills-panel .spell-learn:disabled{background:#eceff3;color:#8b93a0}.skills-panel .spell-wheel{color:#18202e}.skills-panel .spell-hub{background:radial-gradient(circle at 40% 35%,#fff,#e7ebf2 70%);color:#18202e;border-color:#c5ccd6}.skills-panel .spell-ray-label{background:#ffffffe0}.skills-panel .spell-ray-label.line-i{color:#1565c0}.skills-panel .spell-ray-label.line-w{color:#00695c}.skills-panel .spell-ray-label.line-g{color:#e65100}.skills-panel .spell-ray-label.line-iw{color:#00838f}.skills-panel .spell-ray-label.line-ig{color:#6a1b9a}.skills-panel .spell-ray-label.line-wg{color:#558b2f}.skills-panel .spell-wheel .spell-node:not(.on){background:#f3f5f8;color:#18202e;border-color:#d5dae0}.skills-panel .spell-wheel .spell-node.mix:not(.on){background:linear-gradient(var(--tilt),color-mix(in srgb,var(--c1) 28%,#fff),color-mix(in srgb,var(--c2) 28%,#fff))}.skills-panel .spell-wheel .spell-node.locked{opacity:.72}.skills-panel .cst-detail-why{color:#8a5a00}@media (max-aspect-ratio: 4/5){.skills-screen .skills-body{padding-left:max(6px,var(--safe-l));padding-right:max(6px,var(--safe-r))}.cst-arms{gap:16px}.cst-nodes{gap:4px}.cst-en{font-size:11px}.cst-zh{font-size:12px}}@media (max-height: 700px){.cst-nodes{gap:6px}.cst-arm-head .skill-ico{width:36px;height:36px}.cst-label{display:flex}}.loadout-strip{flex:none;display:flex;align-items:center;gap:6px;min-width:0}.loadout-strip .lo-lbl{flex:none;display:inline-flex;opacity:.75;color:#ffd54f}.loadout-strip .lo-lbl .ico{width:18px;height:18px}.lo-slots{flex:1 1 auto;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:3px;border-radius:14px;background:#080c16b8;border:1px solid rgba(255,255,255,.12)}.lo-slot{min-width:0;min-height:40px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:3px 2px;border-radius:11px;background:transparent;color:#ffffffc7;line-height:1.05}.lo-slot b{font-size:12px;font-weight:900;white-space:nowrap}.lo-slot small{font-size:10px;font-weight:700;opacity:.8;white-space:nowrap;font-variant-numeric:tabular-nums}.lo-slot .lo-ult{font-style:normal;color:#ffd54f;margin-left:2px}.lo-slot.on{background:linear-gradient(180deg,#ffe082,#ffc107);color:#2a1d00;box-shadow:0 2px #a07800}.lo-slot.on small{opacity:.9}.lo-slot.on .lo-ult{color:#8a5a00}.lo-btn{flex:none;min-height:40px;display:inline-flex;align-items:center;gap:4px;padding:0 10px 0 8px;border-radius:12px;font-size:12px;font-weight:900;white-space:nowrap;color:#fff;background:#080c16b8;border:1.5px solid rgba(255,255,255,.22)}.lo-btn .ico{width:16px;height:16px}.lo-reset{border-color:#ff8a80b3;color:#ffd0cb}.lo-edit{border-color:#ffd54fb3;color:#ffe9a8}.loadout-strip.pre-level{position:sticky;top:0;z-index:3;padding:4px 0 6px;background:linear-gradient(to bottom,#0a0e18f2 70%,#0a0e1800)}.end-panel .loadout-strip{margin-top:10px}.end-panel .loadout-strip .lo-lbl{color:var(--navy, #1b2a4e)}.end-panel .lo-slots{background:#1b2a4e}.confirm-veil{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:24px;background:#04070e9e;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}.confirm-card{width:min(320px,100%);padding:18px 16px 14px;border-radius:20px;text-align:center;background:linear-gradient(180deg,#fff,#eef1f5);color:#18202e;box-shadow:0 0 0 3px #ff8a80,0 18px 50px #0000008c}.confirm-ico{display:inline-flex;padding:10px;border-radius:50%;background:#ffebee;color:#c62828}.confirm-ico .ico{width:30px;height:30px}.confirm-card h3{margin:8px 0 6px;font-size:18px;font-weight:900}.confirm-card p{margin:0 0 12px;font-size:13px;line-height:1.45;opacity:.85}.confirm-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.confirm-row button{min-height:46px;margin:0;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:14px;font-weight:900;font-size:15px}.confirm-row .ghost{background:#e3e8ef;color:#1b2a4e;box-shadow:0 3px #a9b3c0}.confirm-row .primary{width:auto}.confirm-row .primary[disabled]{opacity:.45}.confirm-row .ico{width:16px;height:16px}
