@import url('style-v3.css?v=4');
:root{--gold:#f2bc65;--red:#ec665d}body{background:#080d12;overflow-x:hidden}.game-header{height:74px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 3%;border-bottom:1px solid #ffffff15;background:#080d13;position:relative;z-index:10}.game-logo{font-size:23px;font-weight:900;letter-spacing:4px;line-height:1;color:#e4e8e0;white-space:nowrap}.game-logo>span{color:var(--gold)}.game-logo small{display:block;font-size:8px;letter-spacing:2px;font-weight:500;color:#879ba7;margin-top:7px}.header-progress{display:flex;gap:18px;align-items:center;font-size:11px;color:#9faeaf;letter-spacing:2px}.header-progress b{color:var(--gold);font-size:16px;font-weight:500;font-variant-numeric:tabular-nums}.header-buttons{display:flex;gap:8px}.header-buttons button,.battle-controls button{background:#111c2599;border:1px solid #ffffff24;border-radius:3px;color:#c8d5d8;padding:10px 15px;font:inherit;font-size:12px}.header-buttons button:hover,.battle-controls button:hover{border-color:var(--gold);color:var(--gold)}main.game-shell{max-width:none;padding:0;margin:0}.world-screen{height:calc(100svh - 74px);min-height:630px;position:relative;overflow:hidden;isolation:isolate;background:#101e29}.world-art{position:absolute;inset:0;background:url('world-map.webp') center/cover;z-index:-3;filter:saturate(.85) brightness(.85)}.world-shade{position:absolute;inset:0;background:linear-gradient(180deg,#020910dc 0%,#050e1444 26%,#050b1020 55%,#050b10ed 100%);z-index:-2}.world-screen:after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at center,transparent 25%,#0007 100%);z-index:-1}.world-heading{position:absolute;top:32px;left:4%;pointer-events:none}.world-heading>p{font-size:9px;color:#e7b96a;letter-spacing:3px;margin:0 0 10px}.world-heading h1{font-size:clamp(34px,4.2vw,62px);font-weight:900;letter-spacing:-1px;margin:0 0 12px;text-shadow:0 4px 20px #000}.world-heading h1 em{color:#e9c98e;font-weight:700}.world-heading>span{font-size:12px;color:#b4c1c0;text-shadow:0 2px 8px #000}.map-space{position:absolute;inset:110px 5% 140px}.map-space svg{position:absolute;width:100%;height:100%;overflow:visible}.route-line{fill:none;stroke:#a4b5ba66;stroke-width:2;stroke-dasharray:5 8;vector-effect:non-scaling-stroke}.route-line.cleared{stroke:#75cdb1;stroke-dasharray:none;stroke-width:3}.route-line.current{stroke:var(--gold);stroke-width:3;filter:drop-shadow(0 0 5px #eab35a88)}#world-nodes{position:absolute;inset:0}.world-node{position:absolute;transform:translate(-50%,-50%);border:0;background:none;padding:0;display:flex;align-items:center;justify-content:center;width:60px;height:60px;cursor:pointer;color:white;isolation:isolate}.node-portrait{position:absolute;inset:3px;border:2px solid #b6c8cd77;border-radius:50%;background:#0b1722;overflow:hidden;box-shadow:0 5px 18px #000b}.node-portrait img{width:120%;height:100%;object-fit:contain;margin-left:-10%;filter:drop-shadow(0 0 5px #000)}.node-label{position:absolute;top:66px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:10px;letter-spacing:1px;padding:5px 8px;border-radius:2px;background:#06101be8;border:1px solid #ffffff28;box-shadow:0 3px 15px #0008}.node-index{position:absolute;right:-3px;bottom:-2px;border-radius:50%;width:21px;height:21px;display:grid;place-items:center;background:#11222f;border:1px solid #77919d;color:#bdd0d6;font-size:9px;z-index:1}.world-node.current .node-portrait{border-color:var(--gold);box-shadow:0 0 0 5px #edb56a22,0 0 30px #edb56a66}.world-node.current:before{content:'';position:absolute;inset:-6px;border:1px solid #edb56a77;border-radius:50%;animation:world-pulse 2s infinite}.world-node.current .node-label{color:#f5d294;border-color:#edb56a88;background:#2c2419ee}.world-node.cleared .node-index{color:#10241b;background:#8cd5b8;border-color:#bcefd7;font-weight:700}.world-node.cleared .node-portrait{border-color:#86d1b3}.world-node.locked .node-portrait{filter:brightness(.5) grayscale(.8)}.world-node.locked{opacity:.8}.world-node.boss{width:75px;height:75px}.world-node.boss .node-portrait{border-color:#b97eb5;border-radius:16px}.world-node.boss .node-label{top:81px;color:#dca4d9}.world-node.final .node-portrait{border-color:#ed7871}.world-node.final .node-label{color:#f1aaa4}.world-node.current.boss .node-portrait{border-color:var(--gold)}#map-traveler{position:absolute;left:0;top:0;transform:translate(-50%,-50%);color:#fff1ac;text-shadow:0 0 12px #ffdb66;font-size:24px;transition:left 2.2s cubic-bezier(.4,0,.3,1),top 2.2s cubic-bezier(.4,0,.3,1);pointer-events:none;z-index:4}.hero-dock{position:absolute;left:4%;bottom:26px;display:flex;align-items:center;gap:18px;min-width:245px;filter:drop-shadow(0 3px 10px #000)}.hero-portrait{width:140px;height:115px}.hero-portrait img{width:100%;height:100%;object-fit:contain}.hero-dock small{font-size:8px;color:#d5b984;letter-spacing:2px}.hero-dock strong{display:block;font-size:30px;font-weight:700;letter-spacing:3px;margin:5px 0 8px}.hero-dock button{border:0;border-bottom:1px solid #b4c2c455;background:transparent;padding:0 0 5px;color:#b3c3c7;font:inherit;font-size:10px}.challenge-dock{position:absolute;right:4%;bottom:31px;max-width:390px;width:36%}.challenge-meta{display:flex;align-items:center;gap:12px;margin-bottom:13px;flex-wrap:wrap}.challenge-meta>span{font-size:8px;letter-spacing:1px;color:var(--gold)}.challenge-meta b{font-size:18px;letter-spacing:2px}.challenge-meta small{width:100%;font-size:11px;color:#aebdbe}.arcade-primary{border:1px solid #ffdc9e;background:linear-gradient(110deg,#f4c57f,#df9b49);color:#211c17;font:inherit;font-size:16px;font-weight:800;letter-spacing:2px;min-height:51px;padding:12px 28px;border-radius:3px;box-shadow:0 5px 28px #e4a85133;cursor:pointer}.arcade-primary:hover{filter:brightness(1.08)}.challenge-dock>.arcade-primary{width:100%}.challenge-dock p{font-size:9px;color:#91a6ad;margin:11px 0 0;letter-spacing:.3px;line-height:1.6}.journey-toast{position:absolute;top:35%;left:50%;transform:translate(-50%,-50%);text-align:center;background:linear-gradient(90deg,#0b162b00,#07101ceb 18%,#07101ceb 82%,#0b162b00);padding:27px 70px;min-width:480px;pointer-events:none;z-index:8}.journey-toast small{color:var(--gold);font-size:10px;letter-spacing:3px}.journey-toast strong{display:block;font-size:36px;font-weight:800;letter-spacing:5px;margin:9px 0 12px}.journey-toast>span{color:#c0ced0;font-size:12px}.game-about{padding:20px 4%;background:#080e15;display:flex;align-items:center;gap:25px;border-top:1px solid #ffffff10;color:#647a86}.game-about h2{font-size:11px;white-space:nowrap;font-weight:500;margin:0}.game-about p{font-size:9px;line-height:1.8;margin:0;max-width:850px}.game-about>span{font-size:8px;margin-left:auto;white-space:nowrap;letter-spacing:1px}
body[data-screen=map] #arena{display:none}body[data-screen=battle] #world{display:none}body[data-screen=battle] .game-about{display:none}body[data-screen=battle]{height:100svh;overflow:hidden}#arena{height:calc(100svh - 74px);min-height:360px;display:flex;flex-direction:column;border:0;border-radius:0;box-shadow:none}.arena-top{background:#080f17;height:32px;flex-shrink:0;padding:0 3%;font-size:10px}.arena-top #timer{display:none}.arena-top .conditions{letter-spacing:2px}.stage{flex:1;min-height:0;aspect-ratio:auto!important;max-height:none!important;isolation:isolate}canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}.hud{top:25px;left:4%;right:4%;grid-template-columns:1fr 95px 1fr;gap:32px}.fighter-hud .hp-track{height:12px;box-shadow:0 1px 4px #000;transform:skewX(-12deg)}.hud-name b{font-size:28px;font-weight:800;letter-spacing:4px}.hud-name strong{font-size:16px}.fighter-hud .hud-name{font-weight:700;text-shadow:0 2px 6px #000}.hud-detail{font-size:8px;letter-spacing:.5px}.versus{font-style:normal;font-size:37px;color:#ffe3ad;line-height:1;text-shadow:0 3px 8px #000}.versus small{font-size:9px;margin-top:11px;color:#d5c29d;letter-spacing:2px}.sub-track{height:3px;max-width:40%;margin-top:7px}.rage-track{height:4px;margin-top:3px;max-width:40%}.cyan .sub-track,.cyan .rage-track{margin-left:auto}.battle-controls{display:flex;align-items:center;justify-content:center;gap:9px;min-height:49px;background:#080e15;border-top:1px solid #ffffff14;flex-shrink:0;padding:6px}.battle-controls button{font-size:11px;padding:7px 15px}.stage-bottom{font-size:9px;left:4%;right:4%}.stage-bottom>span:last-child{display:none}.center-message h2{font-size:clamp(32px,4.8vw,64px);letter-spacing:5px}.center-message{background:linear-gradient(0deg,#040a1040,#030b13b8 50%,#07162633)}.center-message .primary{height:52px;font-size:14px;min-width:240px}.fight-call{font-size:43px;font-style:italic;top:31%;font-weight:900;letter-spacing:6px}.super-title{top:24%;font-size:21px}
dialog{color:#e2e9e6;max-height:90svh;border:1px solid #536571;background:#0c1721;border-radius:7px;padding:0;box-shadow:0 30px 120px #000b}dialog:not([open]){display:none}dialog::backdrop{background:#02070cce;backdrop-filter:blur(9px)}.system-dialog{width:min(840px,94vw)}.dialog-heading{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;background:#0d1924f7;padding:22px 28px;border-bottom:1px solid #35434d}.dialog-heading small{font-size:8px;letter-spacing:2px;color:#c5a876}.dialog-heading h2{font-size:23px;font-weight:600;letter-spacing:2px;margin:5px 0 0}.dialog-heading button{border:1px solid #465762;background:none;color:#b7c8ce;font-size:18px;width:34px;height:34px;border-radius:3px;cursor:pointer}.settings-content{padding:4px 28px 25px}.setting-group{padding:21px 0;border-bottom:1px solid #293b48}.setting-group:last-child{border:0}.setting-group h3,.setting-group summary{font-size:13px;font-weight:600;color:#d9d8c8;margin:0 0 16px;cursor:pointer}.setting-group summary{margin:0}.setting-group[open] summary{margin-bottom:20px}.setting-group p{font-size:10px;line-height:1.9;color:#899fa9;margin:14px 0 0}.setting-line{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin:15px 0;color:#b9c8cc;gap:20px}.setting-line select{font-size:11px;padding:9px 12px;max-width:70%}.system-dialog .transport{border:1px solid #334552;border-radius:4px;flex-wrap:wrap;padding:10px}.system-dialog .transport button{font-size:12px}.system-dialog .dashboard{display:block;margin:12px 0 0}.system-dialog .panel{padding:19px}.system-dialog .panel+.panel{border-left:0;border-top:1px solid #30414c}.system-dialog .matchmaker{margin:16px 0;padding:16px}.system-dialog .matchmaker-head{display:block}.system-dialog .matchmaker h2{display:none}.system-dialog .selection-grid{grid-template-columns:1fr 20px 1fr}.system-dialog .selection-grid>button{grid-column:1/4}.system-dialog .mode-switch{margin-top:10px}.setting-action{border:1px solid #6b7366;background:#ffffff05;padding:11px 16px;color:#d9c69f;font:inherit;font-size:11px;cursor:pointer}.attribute-summary{font-size:11px;line-height:1.9;color:#95a9b3;border:1px solid #344550;padding:13px}.hero-dialog{width:min(1000px,95vw)}.hero-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:20px 25px}.hero-choice{border:1px solid #344957;background:radial-gradient(ellipse at 50% 60%,#223544,#101d28 75%);border-radius:4px;padding:10px 12px 15px;color:#dce5e2;text-align:left;cursor:pointer;position:relative;overflow:hidden}.hero-choice img{width:100%;height:155px;object-fit:contain;filter:drop-shadow(0 6px 6px #0008)}.hero-choice>span{display:block;font-size:20px;letter-spacing:2px;font-weight:700}.hero-choice small{display:block;font-size:9px;letter-spacing:1px;color:var(--species);font-weight:400;margin-top:6px}.hero-choice.selected{border-color:var(--species);box-shadow:inset 0 0 0 1px var(--species),0 0 20px #0008}.hero-choice:hover img{transform:scale(1.04);transition:transform .2s}.hero-confirm{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:0 25px 25px}.hero-confirm>p{font-size:11px;line-height:1.8;color:#9eb1ba;max-width:500px}.hero-confirm .arcade-primary{font-size:13px;white-space:nowrap}.new-region{animation:region-reveal .7s ease-out}@keyframes world-pulse{50%{transform:scale(1.13);opacity:.3}}@keyframes region-reveal{from{filter:brightness(2)}to{filter:brightness(1)}}
@media(max-width:900px){.header-progress{font-size:9px;letter-spacing:1px;gap:10px}.world-heading h1{font-size:43px}.hero-dock{gap:8px;min-width:220px}.hero-portrait{width:115px}.challenge-dock{width:42%;max-width:360px}.challenge-meta b{font-size:16px}.challenge-meta>span{font-size:7px}.hud{gap:20px;grid-template-columns:1fr 65px 1fr}.hud-name small{display:none}.hud-name b{font-size:24px}.game-about>span{display:none}}
@media(max-width:640px){.game-header{height:63px;padding:0 14px;gap:8px}.game-logo{font-size:19px;letter-spacing:2px}.game-logo small{font-size:6px;letter-spacing:1.3px}.header-progress{gap:6px;font-size:8px;letter-spacing:0}.header-progress b{font-size:12px}.header-progress>span{display:none}.header-buttons{gap:5px}.header-buttons button{padding:8px 10px;font-size:15px}.header-buttons button span{display:none}.world-screen{height:calc(100svh - 63px);min-height:620px}.world-art{background-position:53% center}.world-heading{top:25px;left:19px}.world-heading>p{font-size:7px;letter-spacing:1.6px;margin-bottom:10px}.world-heading h1{font-size:36px;letter-spacing:-1px;line-height:1.2;margin:0 0 10px}.world-heading h1 em{display:inline}.world-heading>span{font-size:10px}.map-space{inset:130px 26px 185px}.world-node{width:43px;height:43px}.node-label{display:none;font-size:8px;letter-spacing:0;top:48px;padding:4px 6px}.world-node.current .node-label,.world-node.boss .node-label{display:block}.node-index{width:17px;height:17px;font-size:7px}.world-node.boss{width:54px;height:54px}.world-node.boss .node-label{top:60px;font-size:7px}.world-node.boss .node-portrait{border-radius:12px}.world-node.current:before{inset:-4px}.hero-dock{left:15px;bottom:125px;gap:9px;min-width:0}.hero-portrait{width:82px;height:70px}.hero-dock small{font-size:6px;letter-spacing:1px}.hero-dock strong{font-size:21px;letter-spacing:2px;margin:4px 0 6px}.hero-dock button{font-size:9px;padding-bottom:3px}.challenge-dock{right:15px;left:15px;bottom:20px;width:auto;max-width:none;display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;align-items:center}.challenge-meta{gap:4px;margin:0;display:block}.challenge-meta>span{display:block;font-size:7px;margin-bottom:5px}.challenge-meta b{font-size:16px;letter-spacing:1px;display:block;margin-bottom:5px}.challenge-meta small{display:block;font-size:9px}.challenge-dock>.arcade-primary{min-height:48px;letter-spacing:1px;font-size:13px;padding:10px}.challenge-dock>p{grid-column:1/3;margin:0;font-size:8px;line-height:1.5}.journey-toast{min-width:0;width:100%;padding:23px 25px;top:34%}.journey-toast strong{font-size:28px;letter-spacing:3px}.journey-toast small{font-size:8px;letter-spacing:2px}.journey-toast>span{font-size:10px}#arena{height:calc(100svh - 63px);min-height:300px}.arena-top{height:26px;padding:0 12px;font-size:8px;letter-spacing:.5px}.arena-top .conditions{font-size:7px;display:block;letter-spacing:0}.hud{top:15px;left:13px;right:13px;grid-template-columns:1fr 47px 1fr;gap:10px}.hud-name{font-size:7px}.hud-name b{font-size:19px;letter-spacing:1px;margin:0 3px}.hud-name strong{font-size:10px}.fighter-hud .hp-track{height:8px;margin-top:8px}.versus{font-size:29px;padding-top:2px}.versus small{font-size:7px;letter-spacing:.7px;margin-top:8px}.hud-detail{font-size:7px;gap:4px}.sub-track{max-width:60%;margin-top:6px;height:2px}.rage-track{max-width:60%;height:3px}.battle-controls{min-height:45px;gap:6px}.battle-controls button{font-size:10px;padding:7px 10px}.fight-call{font-size:31px;letter-spacing:4px;top:32%}.stage-bottom{font-size:7px;bottom:12px;left:13px;right:13px}.super-title{top:25%;font-size:15px;letter-spacing:1px}.center-message h2{font-size:32px;letter-spacing:2px}.center-message p{font-size:10px;line-height:1.8}.game-about{display:block;padding:17px 18px}.game-about h2{font-size:10px;margin-bottom:7px}.game-about p{font-size:8px;color:#5f7684}.dialog-heading{padding:18px 20px}.dialog-heading h2{font-size:20px}.settings-content{padding:2px 18px 20px}.setting-group{padding:18px 0}.setting-line{font-size:11px}.system-dialog .transport{justify-content:center;gap:5px}.system-dialog .transport-options{flex-wrap:wrap}.hero-grid{grid-template-columns:1fr 1fr;padding:15px;gap:8px}.hero-choice{padding:8px 10px 12px}.hero-choice img{height:115px}.hero-choice>span{font-size:19px}.hero-choice small{font-size:8px}.hero-confirm{padding:0 16px 20px;display:block}.hero-confirm p{font-size:10px;margin:4px 0 15px}.hero-confirm .arcade-primary{width:100%;min-height:46px}}
@media(max-height:520px) and (min-width:641px){.game-header{height:49px}.game-logo{font-size:18px}.game-logo small{display:none}#arena{height:calc(100svh - 49px)}.arena-top{height:22px}.hud{top:10px}.hud-name b{font-size:20px}.fighter-hud .hp-track{height:7px}.hud-detail{display:none}.battle-controls{min-height:38px}.battle-controls button{padding:5px 12px;font-size:10px}.versus{font-size:25px}.versus small{margin-top:6px;font-size:7px}.super-title{top:24%;font-size:15px}.stage-bottom{bottom:9px;font-size:7px}}
@media(prefers-reduced-motion:reduce){.world-node.current:before{animation:none}#map-traveler{transition:none}.new-region{animation:none}}
.map-space svg{z-index:1;pointer-events:none}.map-space #world-nodes{z-index:2}.route-line{stroke:#e4cf9c9c;stroke-width:2.6;filter:drop-shadow(0 1px 3px #000)}.route-line.cleared{stroke:#8ee6bd;stroke-width:3}.route-line.current{stroke:#ffdb86;stroke-width:3.5;filter:drop-shadow(0 0 5px #eab35a88)}
@media(max-width:640px){.world-art{background-image:url('world-map-mobile.webp');background-position:center center}}
