*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{color:#fff;overscroll-behavior:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:#000;height:100%;margin:0;font-family:system-ui,-apple-system,Hiragino Sans,sans-serif;overflow:hidden}#stage{place-items:center;display:grid;position:fixed;inset:0}#game{touch-action:none;display:block}#game,#game3d{grid-area:1/1}#mute{top:calc(env(safe-area-inset-top) + 8px);color:#fff;z-index:3;background:#00000059;border:1px solid #ffffff40;border-radius:50%;width:36px;height:36px;font-size:16px;position:absolute;right:10px}#pause{top:calc(env(safe-area-inset-top) + 8px);color:#fff;letter-spacing:1px;z-index:3;background:#00000059;border:1px solid #ffffff40;border-radius:50%;width:36px;height:36px;font-size:12px;font-weight:900;position:absolute;right:54px}#mute.off{opacity:.4;text-decoration:line-through}.screen{text-align:center;z-index:2;background:radial-gradient(#140a3c8c,#000c);flex-direction:column;justify-content:safe center;align-items:center;gap:12px;padding:24px 16px;display:flex;position:absolute;inset:0;overflow-y:auto}.hidden{display:none}.kicker{letter-spacing:.3em;color:#7ff6ff;margin:0;font-size:12px}h1{letter-spacing:.04em;background:linear-gradient(#e9ffff,#4ff3ff 60%,#b86bff);color:#0000;filter:drop-shadow(0 0 12px #4ff3ff80);-webkit-background-clip:text;background-clip:text;margin:0;font-size:56px;font-weight:900;line-height:.95}h2{margin:0;font-size:36px;font-weight:900}.lead{color:#d8dcff;margin:8px 0;font-size:15px;line-height:1.7}.score{font-variant-numeric:tabular-nums;margin:0;font-size:30px;font-weight:800}.hi{color:#ffe56b;min-height:1em;margin:0;font-size:13px}.hint{color:#9aa0c8;margin:0;font-size:12px}button.primary,button.ghost{cursor:pointer;border-radius:999px;min-width:220px;padding:14px 24px;font-size:16px;font-weight:800}button.primary{color:#06122a;background:linear-gradient(90deg,#4ff3ff,#b86bff);border:none;animation:1.6s ease-in-out infinite pulse;box-shadow:0 0 24px #4ff3ff73}button.ghost{color:#fff;background:0 0;border:1px solid #ffffff59}@keyframes pulse{50%{transform:scale(1.04)}}.select-title{font-size:24px}.chars{gap:12px;width:min(100%,340px);display:grid}.char{text-align:left;color:#fff;cursor:pointer;font:inherit;background:#0a081ebf;border:1px solid #ffffff2e;border-radius:16px;grid-template-columns:72px 1fr;align-items:center;gap:12px;padding:12px;display:grid}.char:focus-visible,.char:hover{border-color:var(--accent,#ff9a3c);box-shadow:0 0 18px color-mix(in srgb, var(--accent,#ff9a3c) 45%, transparent)}.char img{border:2px solid var(--accent,#ff9a3c);background:#141838;border-radius:14px;width:72px;height:72px}.char-name{margin:0;font-size:18px;font-weight:900}.char-role{color:#c8cdf0;margin:2px 0 6px;font-size:12px}.stats{color:#9aa0c8;grid-template-columns:auto 1fr;gap:2px 8px;font-size:11px;display:grid}.pips{align-items:center;gap:3px;display:flex}.pips i{background:#ffffff26;border-radius:2px;width:12px;height:6px}.pips i.on{background:var(--accent,#ff9a3c)}.char-special{color:#ffe56b;grid-column:1/-1;margin:0;font-size:12px}.world-tabs{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.world-tab{color:#fff;min-width:48px;font:inherit;cursor:pointer;background:#0a081ebf;border:1px solid #ffffff40;border-radius:999px;padding:8px 10px;font-size:13px;font-weight:800}.world-tab.on{background:#4ff3ff2e;border-color:#4ff3ff;box-shadow:0 0 12px #4ff3ff59}.world-tab:disabled{opacity:.45;cursor:default}.world-name{font-size:18px}.stage-grid{gap:8px;width:min(100%,340px);display:grid}.stage-btn{color:#fff;font:inherit;text-align:left;cursor:pointer;background:#0a081ebf;border:1px solid #ffffff2e;border-radius:14px;grid-template-columns:52px 1fr auto;align-items:center;gap:10px;padding:12px 14px;display:grid}.stage-btn:not(:disabled):hover,.stage-btn:focus-visible{border-color:#4ff3ff}.stage-btn.boss{border-color:#ff4f6d99}.stage-btn:disabled{opacity:.4;cursor:default}.stage-no{font-variant-numeric:tabular-nums;font-size:18px;font-weight:900}.stage-boss{color:#c8cdf0;font-size:13px}.stage-best{color:#9aa0c8;font-variant-numeric:tabular-nums;font-size:12px}.stage-btn.cleared .stage-best{color:#ffe56b}.row{gap:8px;display:flex}button.ghost.small{min-width:0;padding:10px 16px;font-size:13px}.account{color:#c8cdf0;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 10px;margin-top:8px;font-size:12px;display:flex}.account .points{color:#ffe56b;font-variant-numeric:tabular-nums}.account button{color:#fff;cursor:pointer;background:0 0;border:1px solid #ffffff59;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:700}.login-form{flex-direction:column;align-items:center;gap:10px;width:min(300px,100%);display:flex}.login-form input{color:#fff;-webkit-user-select:text;user-select:text;background:#00000073;border:1px solid #ffffff4d;border-radius:10px;width:100%;padding:12px 14px;font-size:16px}.login-error{color:#ff8a8a;min-height:1em;margin:0;font-size:13px}.login-link{color:#7ff6ff;font-size:13px}.brief-tag{color:#7ff6ff;letter-spacing:.1em;border:1px solid #7ff6ff;border-radius:999px;margin:4px 0 0;padding:3px 12px;font-size:12px;font-weight:800}.brief-box{text-align:left;background:#0a0e24cc;border:1px solid #7ff6ff80;border-radius:14px;align-items:flex-start;gap:12px;width:min(92%,420px);margin:16px 0 10px;padding:12px;display:flex}.brief-box img{object-fit:cover;border-radius:12px;flex:none;width:56px;height:56px}.brief-who{color:#7ff6ff;margin:0 0 4px;font-size:11px;font-weight:800}.brief-lines{white-space:pre-line;margin:0;font-size:14px;line-height:1.7}.brief-goal{color:#ffe56b;margin:4px 0 18px;font-size:15px;font-weight:800}.rank{letter-spacing:.04em;text-shadow:0 0 18px;margin:0;font-size:54px;font-weight:900;line-height:1}.rank small{letter-spacing:.1em;text-shadow:none;color:#cfd8ff;margin-top:4px;font-size:12px;display:block}.debrief{text-align:left;background:#0a0e24b3;border-left:3px solid #7ff6ff;width:min(92%,420px);margin:10px 0 0;padding:10px 14px;font-size:13px;line-height:1.7}.stage-tag{color:#7ff6ff;letter-spacing:.06em;font-size:10px;font-weight:700;display:block}.stage-map{background:radial-gradient(circle at 50% 30%,#4ff3ff14,#0a081e99);border:1px solid #ffffff1f;border-radius:18px;width:min(100%,340px);height:min(54vh,400px);margin:6px 0;position:relative}.stage-map svg{width:100%;height:100%;position:absolute;inset:0}.stage-map polyline{fill:none;stroke:#7ff6ff8c;stroke-width:2.4px;stroke-dasharray:3 5;stroke-linecap:round;vector-effect:non-scaling-stroke}.map-node{color:#fff;font:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:center;gap:4px;padding:0;display:flex;position:absolute;transform:translate(-50%,-50%)}.map-dot{background:#0a0e28e6;border:2px solid #4ff3ff;border-radius:50%;place-items:center;width:38px;height:38px;font-size:15px;font-weight:900;display:grid;box-shadow:0 0 12px #4ff3ff66}.map-node.cleared .map-dot{color:#ffe56b;border-color:#ffe56b;box-shadow:0 0 12px #ffe56b66}.map-node.boss .map-dot{border-color:#ff4f6d;width:48px;height:48px;box-shadow:0 0 16px #ff4f6d8c}.map-node.locked{opacity:.45;cursor:default}.map-label{text-align:center;color:#c8cdf0;text-shadow:0 1px 3px #000;white-space:nowrap;font-size:10px;line-height:1.35}.map-label b{color:#fff}.map-pilot{object-fit:cover;pointer-events:none;z-index:2;border:2px solid #fff;border-radius:50%;width:34px;height:34px;margin:-17px 0 0 -17px;transition:left .34s ease-in-out,top .34s ease-in-out;position:absolute;box-shadow:0 0 10px #000000b3}.map-pilot.hop{animation:.34s ease-in-out map-hop}@keyframes map-hop{50%{transform:translateY(-9px)scale(1.12)}}.stage-map.space{touch-action:pan-y;background:#04030f;width:min(100%,420px);height:auto;overflow:hidden}.sm-view{width:100%;height:min(46vh,400px);position:relative}.sm-canvas{width:100%;height:100%;display:block;position:absolute;inset:0}.sm-labels{pointer-events:none;position:absolute;inset:0;overflow:hidden}.sm-label{color:#c8cdf0;text-shadow:0 1px 3px #000,0 0 6px #000;white-space:nowrap;opacity:.85;flex-direction:column;align-items:center;gap:1px;font-size:10px;line-height:1.2;display:flex;position:absolute;top:0;left:0}.sm-label b{color:#fff;font-size:13px}.sm-far .sm-label span{display:none}.sm-far .sm-label b{font-size:11px}.sm-label.cleared b{color:var(--rank,#ffe56b)}.sm-label.boss b{color:#ff7a8a}.sm-label.locked{opacity:.45}.sm-label.on{opacity:1}.sm-label.on b{text-shadow:0 0 8px #4ff3ff}.sm-card{text-align:left;background:#080a20c7;border:1px solid #7ff6ff80;border-radius:14px;margin:0 8px 8px;padding:10px 12px;position:relative}.sm-title{margin:0;font-size:15px;font-weight:900}.sm-sub{color:#c8cdf0;margin:3px 0 0;font-size:12px}.sm-tag{color:#7ff6ff;border:1px solid #7ff6ff;border-radius:999px;margin-right:6px;padding:1px 8px;font-size:11px;font-weight:800;display:inline-block}.sm-row{justify-content:space-between;align-items:center;gap:10px;margin-top:8px;display:flex}.sm-best{color:#ffe56b;font-size:12px}button.sm-go{min-width:0;padding:10px 26px;font-size:15px}#stages.map-full{background:#04030f;justify-content:flex-start;align-items:stretch;gap:0;padding:0;overflow:hidden}#stages.map-full .stage-map.space{z-index:0;border:0;border-radius:0;width:100%;height:100%;margin:0;position:absolute;inset:0}#stages.map-full .sm-view{height:100%;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#0000 0 96px,#000 170px calc(100% - 215px),#0000 calc(100% - 150px));mask-image:linear-gradient(#0000 0 96px,#000 170px calc(100% - 215px),#0000 calc(100% - 150px))}#stages.map-full .sm-card{left:10px;right:10px;bottom:calc(env(safe-area-inset-bottom) + 62px);background:#080a20d1;max-width:400px;margin:0 auto;position:absolute}#stages.map-full>.kicker,#stages.map-full>.world-tabs,#stages.map-full>.world-name{z-index:2;text-shadow:0 1px 6px #000;position:relative}#stages.map-full>.kicker{margin-top:calc(env(safe-area-inset-top) + 14px);text-align:left;padding-left:14px}#stages.map-full>.world-tabs{justify-content:flex-start;padding:8px 100px 0 12px}#stages.map-full>.world-name{text-align:left;margin-top:8px;padding-left:14px;font-size:17px}#stages.map-full>.hint{display:none}#stages.map-full>.row{z-index:2;left:12px;bottom:calc(env(safe-area-inset-bottom) + 12px);gap:6px;position:absolute}#stages.map-full>.row button.ghost.small{white-space:nowrap;padding:9px 12px;font-size:12px}#stages.map-full>.account{z-index:2;right:12px;bottom:calc(env(safe-area-inset-bottom) + 12px);justify-content:flex-end;max-width:96px;margin:0;position:absolute}#stages.map-full>.account span:not(.points),.map-corner{display:none}#stages.map-full>.map-corner{z-index:3;pointer-events:none;display:block;position:absolute;inset:0}#stages.map-full>.map-corner button{pointer-events:auto;position:absolute}#stages.map-full>.map-corner #to-top{top:calc(env(safe-area-inset-top) + 8px);right:54px}#stages.map-full>.map-corner #view-zoom{top:calc(env(safe-area-inset-top) + 52px);right:12px}#stages.map-full>.map-corner button.ghost.small{white-space:nowrap;background:#080a20b3;padding:8px 12px;font-size:12px}.char-name small{opacity:.7;font-size:.7em;font-weight:400}.sm-label.spy b,.map-node.spy .map-label b{color:#ff9a52}.sm-label.spy span{color:#ff9a52;font-weight:700}.map-node.spy .map-dot{box-shadow:0 0 0 3px #ff9a5299,0 0 18px #ff9a52b3}.sm-banner{white-space:nowrap;letter-spacing:.18em;color:#cfe0ff;text-shadow:0 0 10px #4ff3ffb3,0 1px 4px #000;pointer-events:none;font-size:12px;font-weight:800;position:absolute;top:0;left:0}.sm-label.gate b{color:#ff9a52}.char.locked{opacity:.5;filter:grayscale(.9);cursor:default}.char.locked img{filter:brightness(.35)}
