*{box-sizing:border-box}html,body{color:#eefaff;background:#0c141c;width:100%;height:100%;margin:0;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow:hidden}button{font:inherit;cursor:pointer;color:inherit;border:0}button:focus-visible{outline-offset:4px;outline:2px solid #62eaf3}[hidden]{display:none!important}#game{touch-action:none;user-select:none;background:#344b60;width:min(100vw,56.25dvh);height:100dvh;margin:auto;position:relative;overflow:hidden}#arena{width:100%;height:100%;display:block;position:absolute;inset:0}#labels{pointer-events:none;position:absolute;inset:0;overflow:hidden}.unit-label{text-shadow:0 1px 3px #000;white-space:nowrap;flex-direction:column;align-items:center;font-size:13px;font-weight:800;display:flex;position:absolute;transform:translate(-50%,-100%)}.unit-label .bar{background:#182331;border:1px solid #121c26;border-radius:2px;width:36px;height:5px;overflow:hidden}.unit-label .bar i{background:#fa6b68;height:100%;display:block}.unit-label.self .bar i{background:#abed68}.unit-label small{letter-spacing:1px;font-size:8px}.hud{left:14px;right:14px;top:max(15px,env(safe-area-inset-top));pointer-events:none;justify-content:space-between;align-items:flex-start;display:flex;position:absolute}.hud button{pointer-events:auto}.player-stat{align-items:center;gap:7px;display:flex}.player-icon{color:#6bedf4;background:#213849c9;border-radius:50%;place-items:center;width:31px;height:31px;font-size:23px;display:grid}.player-stat div{flex-direction:column;display:flex}.player-stat small,.meters small{letter-spacing:1.2px;color:#d1e3ec;font-size:9px;font-weight:750}.player-stat strong{font-size:22px;line-height:1.1}.timer{text-align:center;background:#182635c9;border-radius:18px;min-width:107px;padding:8px 15px;box-shadow:inset 0 1px #e7faff30}.timer strong{letter-spacing:1px;font-variant-numeric:tabular-nums;font-size:20px;display:block}.timer small{color:#d6e8ee;letter-spacing:1px;margin-top:3px;font-size:9px;display:block}.timer b{color:#6febf2}.header-actions{gap:5px;display:flex}.header-actions button{background:#1c2e3ecd;border-radius:8px;min-width:29px;height:29px;font-size:11px;font-weight:700}.header-actions #pause{font-size:19px}.rank{pointer-events:none;background:#152637bb;border-radius:9px;width:82px;padding:8px 9px;position:absolute;top:91px;right:14px}.rank>small{letter-spacing:.6px;color:#d5e7ed;font-size:8px;font-weight:750;display:block}.rank ol{margin:5px 0 0;padding:0;list-style:none}.rank li{justify-content:space-between;align-items:center;padding:2px 0;font-size:10px;display:flex}.rank li.self{color:#60e6ef}.rank .rank-name{text-overflow:ellipsis;max-width:45px;overflow:hidden}.controls{bottom:max(18px,env(safe-area-inset-bottom));pointer-events:none;flex-direction:column;align-items:center;display:flex;position:absolute;left:22px;right:22px}.core-hint{letter-spacing:1.4px;color:#8fe3ec;text-shadow:0 1px 8px #182e41;margin:0 0 12px;font-size:11px;font-weight:750}.input-hint{letter-spacing:.65px;color:#e1edf3;text-shadow:0 1px 4px #14212d;margin:9px 0 13px;font-size:9px}#joystick{pointer-events:auto;touch-action:none;cursor:grab;background:#b9e2f20e;border:2px solid #d9f5ff66;border-radius:50%;width:104px;height:104px;position:relative;box-shadow:0 0 30px #091e3124}#joystick.active{background:#9debf124;border-color:#73e4ed}#knob{pointer-events:none;background:linear-gradient(140deg,#bed2dfd9,#708c9cd9);border:1px solid #d3efffa6;border-radius:50%;width:49px;height:49px;position:absolute;top:26px;left:26px;box-shadow:0 4px 12px #091e313b}.north,.south{color:#d2eafb87;font-size:17px;position:absolute;left:44px}.north{top:2px}.south{bottom:0}.meters{justify-content:space-between;gap:28px;width:100%;display:flex}.meters>div{text-align:center;width:46%}.meter{background:#172736c9;border:1px solid #d1e8f66b;border-radius:9px;height:9px;margin:5px 0;overflow:hidden}.meter i{border-radius:8px;height:100%;display:block}.amber i{background:linear-gradient(90deg,#e9ab45,#f7d971)}.cyan i{background:linear-gradient(90deg,#39d8e8,#9bf3f3)}.meters span{font-variant-numeric:tabular-nums;font-size:10px;font-weight:650}.overlay{backdrop-filter:blur(3px);z-index:20;background:linear-gradient(#0e1c3066,#0b192dde);justify-content:center;align-items:center;padding:26px;display:flex;position:absolute;inset:0}.sheet{width:100%;max-width:330px}.eyebrow{letter-spacing:2px;color:#6ee3ea;font-size:9px;font-weight:700}.sheet h1{letter-spacing:-1.5px;margin:14px 0;font-size:38px;line-height:1.08}.sheet>p{color:#c3d6e2;white-space:pre-line;font-size:13px;line-height:1.65}.rules{margin:25px 0}.rules p{color:#dce9ef;align-items:center;gap:13px;font-size:11px;line-height:1.5;display:flex}.rules span{color:#71d6df;letter-spacing:1px;font-size:10px}.rules b{font-weight:500}.primary{color:#0f2a38;letter-spacing:1.2px;background:#65e4e9;border-radius:6px;width:100%;padding:15px;font-size:12px;font-weight:850;box-shadow:0 7px 26px #21dbe528}.secondary{color:#c3d6e2;background:0 0;width:100%;padding:15px;font-size:11px}.footnote{text-align:center;color:#8da7b7;margin-top:16px;font-size:9px;display:block}#toast{text-align:center;pointer-events:none;letter-spacing:.3px;text-shadow:0 2px 5px #081a28;color:#c2f8ed;opacity:0;font-size:12px;font-weight:700;transition:opacity .15s;position:absolute;top:22%;left:12px;right:12px}#toast.show{opacity:1}#error{color:#ffd3d5;white-space:pre-wrap;z-index:40;background:#2a111c;padding:20px;font-size:12px;position:absolute;inset:20% 18px auto}@media (height<=640px){#joystick{width:84px;height:84px}#knob{top:16px;left:16px}.north,.south{left:34px}.core-hint{margin-bottom:5px}.controls{bottom:12px}.input-hint{margin:5px 0 8px}.sheet h1{font-size:30px}.rules{margin:15px 0}}@media (prefers-reduced-motion:reduce){#toast{transition:none}}.hud{z-index:30}.header-actions button:disabled{opacity:.4;cursor:default}.overlay{padding-top:90px;padding-bottom:max(22px,env(safe-area-inset-bottom))}.sheet{touch-action:pan-y;scrollbar-width:thin;max-height:100%;overflow-y:auto}.menu-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;display:grid}.menu-actions .secondary{background:#21354899;border:1px solid #607b8b66;border-radius:6px;padding:12px 6px}.skin-card,.setting-card{text-align:left;background:#233a4d;border:1px solid #597184;border-radius:8px;width:100%;margin:12px 0;padding:18px 14px;font-size:12px;display:block}.skin-card{border-left:8px solid var(--skin)}.skin-card[aria-pressed=true]{background:#324d61;border-top-color:#67e5eb;border-bottom-color:#67e5eb;border-right-color:#67e5eb}.record-grid{grid-template-columns:1fr 1fr;gap:10px;margin:20px 0;display:grid}.record-grid div{background:#21384b;border-radius:6px;padding:12px}.record-grid small{color:#a9c6d7;font-size:9px;display:block}.record-grid strong{margin-top:5px;font-size:24px;display:block}.run-list{touch-action:pan-y;max-height:170px;padding:0;list-style:none;overflow-y:auto}.run-list li{color:#c4dbe8;border-bottom:1px solid #425b6d;padding:10px 0;font-size:11px;line-height:1.6}#menu-content>p{color:#a9c6d7;font-size:12px}#training-progress{pointer-events:none;background:#142d40dd;border-radius:8px;padding:8px 12px;position:absolute;top:90px;left:14px;right:14px}#training-progress p{color:#d4e6f0;margin:5px 0;font-size:10px}#training-progress .done{color:#70e7cf}#game{touch-action:auto}#arena{touch-action:none}.sheet,.run-list{overscroll-behavior:contain}.home-stats{color:#ffcf74;background:#152c3e;border-radius:6px;margin:12px 0 0;padding:12px;font-size:12px}.fan-next{color:#a6c7d6;margin:8px 0 18px;font-size:10px}.skin-card:disabled,.primary:disabled{opacity:.5;cursor:default}.mission-list p{border-bottom:1px solid #425b6d;padding-bottom:10px;font-size:11px;line-height:1.5}#battle-objective{color:#ffd077;pointer-events:none;background:#142c40bb;border-radius:5px;padding:7px 9px;font-size:9px;position:absolute;top:165px;left:14px}#training-progress .current{color:#ffd26c;font-weight:800}#guide-visual{color:#a6d4e7;background:#112c3deb;border-radius:8px;justify-content:space-between;align-items:center;gap:5px;padding:10px;font-size:9px;display:flex;position:absolute;top:205px;left:14px;right:14px}#guide-visual b{color:#ffd06c;font-size:21px}#skip-guide{background:#314959;border-radius:5px;padding:7px;font-size:9px}.guide-focus{border-color:#ffe09a!important;box-shadow:0 0 0 8px #65e4e933,0 0 30px #65e4e944!important}.nickname-input{color:#e9f8ff;width:100%;font:inherit;user-select:text;touch-action:auto;background:#162e40;border:1px solid #567389;border-radius:6px;padding:12px;font-size:12px}#battle-objective{white-space:pre-line;line-height:1.7}.garage-row{align-items:stretch;gap:6px;margin:12px 0;display:flex}.garage-row .skin-card{flex:1;margin:0}.preview-button{color:#a1e7ed;background:#1c3648;border-radius:6px;padding:10px;font-size:9px}.machine-preview{color:var(--skin);text-align:center;letter-spacing:5px;background:#162e40;border-radius:10px;margin:18px 0;padding:28px 0;font-size:64px}#showcase{z-index:4;pointer-events:none;text-align:center;text-shadow:0 2px 8px #10242e;flex-direction:column;display:flex;position:absolute;top:17%;left:22px;right:22px}#showcase small{color:#b1d3c9;letter-spacing:2px;font-size:9px}#showcase strong{letter-spacing:4px;margin:7px 0 4px;font-size:28px}#showcase span{letter-spacing:2px;color:#ffd48f;font-size:10px}#game[data-scene=home] .overlay,#game[data-scene=garage] .overlay,#game[data-scene=machine] .overlay{backdrop-filter:none;padding:0 16px max(16px,env(safe-area-inset-bottom));pointer-events:none;background:linear-gradient(#0000 36%,#112932cc 65%,#0e202a 100%);align-items:flex-end}#game[data-scene=home] .sheet,#game[data-scene=garage] .sheet,#game[data-scene=machine] .sheet{pointer-events:auto;box-shadow:none;background:0 0;border:0;border-radius:0;width:100%;padding:12px 0 0}#game[data-scene=home] #overlay-title{letter-spacing:3px;font-size:26px;position:absolute;top:45px;left:24px}#game[data-scene=home] .eyebrow{position:absolute;top:24px;left:25px}#game[data-scene=home] #overlay-copy,#game[data-scene=home] .footnote{display:none}#game[data-scene=home] .home-stats{color:#ffe1aa;text-align:center;margin:0 0 6px;font-size:11px}#game[data-scene=home] .fan-next{text-align:center;margin:0 0 12px;font-size:10px}#game[data-scene=home] #start{color:#1c3037;letter-spacing:2px;background:#ffc365;border-radius:14px;min-height:50px;font-size:15px;box-shadow:0 5px #8a6739}#game[data-scene=home] .menu-actions{grid-template-columns:repeat(5,1fr);gap:5px;margin-top:16px;display:grid}#game[data-scene=home] .menu-actions button{background:#314851;border:1px solid #607777;border-radius:10px;padding:10px 2px;font-size:9px}#game[data-scene=garage] .sheet{height:48%;overflow-y:auto}#game[data-scene=garage] #showcase,#game[data-scene=machine] #showcase{top:9%}#game[data-scene=garage] #overlay-copy{margin:6px 0;font-size:11px}#game[data-scene=garage] #menu-content{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:none;display:grid;overflow:visible}#game[data-scene=garage] #menu-content>p{grid-column:1/-1;margin:2px 0;font-size:10px}#game[data-scene=garage] .garage-row{flex-direction:column;gap:3px;min-width:0;display:flex}#game[data-scene=garage] .skin-card{text-align:center;min-height:124px;box-shadow:none;background:#2a4149;border:1px solid #66837e;border-radius:12px;flex-direction:column;padding:4px;font-size:9px;line-height:1.4;display:flex}#game[data-scene=garage] .skin-card img{aspect-ratio:160/140;object-fit:contain;border-radius:8px;width:100%;margin-bottom:4px}#game[data-scene=garage] .skin-card:disabled{opacity:.65}#game[data-scene=garage] .skin-card[aria-pressed=true]{border:2px solid #ffd084}#game[data-scene=garage] .preview-button{background:#3d5960;border-radius:8px;width:100%;padding:6px;font-size:9px}#game[data-scene=machine] .sheet{max-height:34%}#game[data-scene=machine] #overlay-copy{font-size:11px}#game[data-scene=machine] .shell-family{color:#ffd084;font-weight:700}#game[data-scene=garage] .eyebrow,#game[data-scene=machine] .eyebrow{display:none}#game[data-scene=garage] h1,#game[data-scene=machine] h1{margin:0;font-size:20px}@media (height<=700px){#game[data-scene=home] .sheet{max-height:38%}#game[data-scene=home] .menu-actions button{padding:8px 1px;font-size:8px}#game[data-scene=home] #start{min-height:42px}#showcase strong{font-size:23px}}#scene-back{top:max(18px,env(safe-area-inset-top));z-index:31;background:#29454e;border:1px solid #6d8a86;border-radius:10px;padding:10px 12px;font-size:11px;position:absolute;left:18px}#game:not([data-scene=battle]) .hud{justify-content:flex-end}#game[data-scene=garage] #home,#game[data-scene=machine] #home{display:none}#game[data-scene=home] .menu-actions{gap:6px;margin-top:18px}#game[data-scene=home] .menu-actions button{background:linear-gradient(#3b5865,#243d49);border:1px solid #688791;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:76px;padding:10px 3px 8px;display:flex;position:relative;box-shadow:0 3px #102734}#game[data-scene=home] .menu-actions svg{color:#d6e8e9;filter:drop-shadow(0 2px #132e39);width:30px;height:30px}#game[data-scene=home] .menu-actions button:first-child svg{color:#ffc66c}#game[data-scene=home] .menu-actions button:nth-child(2) svg{color:#8be6db}#game[data-scene=home] .menu-actions button:nth-child(3){background:linear-gradient(#46677b,#25495f);border-color:#80b9c9}#game[data-scene=home] .menu-actions button:nth-child(3) svg{color:#9edef1}#game[data-scene=home] .menu-actions button:nth-child(4) svg{color:#ffd584}#game[data-scene=home] .menu-actions button span{letter-spacing:0;align-items:center;min-height:22px;font-size:9px;line-height:1.25;display:flex}.resource-strip{justify-content:center;gap:10px;margin:0 0 8px;display:flex}.resource-strip>div{color:#ffe0a7;background:#1f3741;border:1px solid #59747c;border-radius:30px;justify-content:center;align-items:center;gap:7px;min-width:78px;padding:5px 9px;font-size:14px;font-weight:800;display:flex}.resource-strip svg{color:#ffc261;width:21px;height:21px}.resource-strip>div:nth-child(2) svg{color:#88d9cf}#minimap{pointer-events:none;opacity:.85;border:1px solid #a3c7cf88;border-radius:8px;width:72px;height:72px;position:absolute;top:84px;right:14px}#game[data-scene=battle] .controls{bottom:16px}#game[data-scene=battle] .core-hint{display:none}#game[data-scene=battle] .input-hint{margin:6px 0 10px;font-size:8px}#game[data-scene=battle] #joystick{width:88px;height:88px}#game[data-scene=battle] #knob{width:43px;height:43px;top:21px;left:21px}#game[data-scene=battle] .north,#game[data-scene=battle] .south{left:36px}.mission-chest{background:radial-gradient(#66533a,#1c3545);border-radius:14px;justify-content:center;padding:20px;display:flex}.mission-chest svg{color:#ffd08a;filter:drop-shadow(0 6px #121e29);width:80px;height:80px}.mission-meter{background:#142735;border-radius:4px;height:6px;margin-top:8px;overflow:hidden}.mission-meter i{background:#67ddcf;height:100%;display:block}.record-grid svg{color:#f9c775;width:28px;height:28px;margin-bottom:6px}@media (height<=700px){#game[data-scene=home] .sheet{max-height:43%}#game[data-scene=home] .menu-actions{margin-top:10px}#game[data-scene=home] .menu-actions button{min-height:67px;padding:6px 2px}#game[data-scene=home] .menu-actions svg{width:25px;height:25px}#game[data-scene=home] .menu-actions button span{font-size:8px}.resource-strip>div{padding:4px 7px;font-size:11px}#game[data-scene=home] .fan-next{margin-bottom:7px}#showcase{top:16%}}#minimap{top:185px}#music-toggle{color:#9be9df;background:#183643;border-radius:9px;min-width:30px;min-height:30px;font-size:17px}#game[data-scene=battle] #battle-objective{color:#ffdc91;border:1px solid #ffd07755;border-radius:12px;padding:6px 10px;font-size:10px;line-height:1.1;top:90px}#hunt-progress{pointer-events:none;color:#ffdc91;letter-spacing:.4px;background:#142c40bb;border:1px solid #ffd07744;border-radius:10px;width:122px;padding:7px 10px;font-size:10px;position:absolute;top:123px;left:14px}#hunt-progress[hidden]{display:none}.hunt-stages{gap:4px;margin-top:6px;display:flex}.hunt-stages i{background:linear-gradient(90deg,#ffd077 var(--fill,0%),#fff2 var(--fill,0%));border-radius:4px;flex:1;height:4px}#hunt-progress.active{border-color:#ffd077;box-shadow:0 0 18px #ffc75644}#game #joystick{z-index:8;pointer-events:none;margin:0;display:none;position:absolute;transform:translate(-50%,-50%)}#game #joystick.active{display:block}#game[data-input=running]{touch-action:none}.unit-label small{text-overflow:ellipsis;white-space:nowrap;max-width:100px;display:block;overflow:hidden}.rank{width:146px;max-width:45%}.rank li{gap:7px;min-width:0}.rank .rank-name{white-space:nowrap;flex:1;min-width:0;max-width:none}.rank li b{font-variant-numeric:tabular-nums;flex:none}.unit-label.self{gap:3px;min-width:86px}.unit-label .unit-status{background:#162836df;border:1px solid #c7dfef66;border-radius:5px;align-items:center;gap:7px;padding:2px 6px;display:flex}.unit-label .level{color:#ffdc81;font-size:10px}.unit-label.self .bar{border-color:#c6d7e75e;width:80px;height:6px}.unit-label.self .growth i{background:linear-gradient(90deg,#edb94f,#ffe28b)}.unit-label.self .stamina i{background:#77efbc}.unit-label.self.dashing .stamina i{background:#ff6a66}.unit-label.self.release-pending .stamina{outline-offset:2px;outline:2px solid #f2f9ff}.unit-label.self .stamina{height:7px}.icon-button{justify-content:center;align-items:center;gap:9px;display:flex}.icon-button svg{flex:none;width:21px;height:21px}#overlay-emblem{color:#ffd17d;background:linear-gradient(145deg,#ffd17d25,#65e4e912);border:1px solid #ffd17d55;border-radius:20px;place-items:center;width:64px;height:64px;margin:0 auto 16px;display:grid;box-shadow:0 8px 24px #0003}#overlay-emblem svg{width:36px;height:36px}#game[data-scene=home] #overlay-emblem,#game[data-scene=garage] #overlay-emblem,#game[data-scene=machine] #overlay-emblem{display:none}#game[data-overlay=paused] .sheet h1{text-align:center;margin:0 0 22px;font-size:26px}#game[data-scene=home] .menu-actions svg{width:28px;height:28px}#game[data-scene=home] .menu-actions button{min-height:72px;padding:8px 2px}#rank-open{pointer-events:auto;color:#d0e4ee;background:0 0;align-items:center;gap:5px;padding:0 0 5px;font-size:10px;display:flex}#rank-open svg{color:#ffd17d;width:15px;height:15px}.stat-tile{background:#213b4f;border:1px solid #58768c55;border-radius:12px;grid-template-columns:28px 1fr;gap:4px 9px;margin:10px 0;padding:13px;display:grid}.stat-tile svg{color:#ffd17d;grid-row:span 2;align-self:center;width:25px;height:25px}.stat-tile strong{font-variant-numeric:tabular-nums;font-size:23px}.stat-tile small{color:#adc6d5;font-size:9px}.result-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:15px 0;display:grid}.result-grid .stat-tile{flex-direction:column;align-items:center;gap:8px;padding:13px 7px;display:flex}.result-grid .stat-tile:only-child{grid-column:1/-1;padding:22px}.result-grid .stat-tile:only-child strong{font-size:44px}.setting-card.icon-button{border-radius:14px;justify-content:flex-start;min-height:56px}.setting-card svg{color:#83a0b3}.setting-card.enabled svg{color:#75edcc}.machine-rarity{color:#ffd17d;align-items:center;gap:8px;margin:10px 0;font-size:17px;display:flex}.machine-rarity svg,.mission-list svg{color:#ffd17d;flex:none;width:22px;height:22px}.mission-list svg{vertical-align:middle;margin-right:7px}#game[data-scene=leaderboard] .overlay{backdrop-filter:blur(8px);background:linear-gradient(160deg,#0c2134f2,#102f40f5);padding:76px 20px 22px}#game[data-scene=leaderboard] .sheet{width:100%;max-width:380px}#game[data-scene=leaderboard] h1{text-align:center;margin:0 0 16px;font-size:24px}#game[data-scene=leaderboard] #overlay-emblem{width:52px;height:52px;margin-bottom:12px}.board-tabs,.board-filters{gap:6px;margin:10px 0;display:flex}.board-tab{color:#9bb6c9;background:#1f394d;border:1px solid #536f8355;border-radius:10px;flex:1;padding:10px 6px;font-size:10px}.board-tab[aria-pressed=true]{color:#ffd17d;background:#ffd17d16;border-color:#ffd17d99}.board-caption{text-align:center;letter-spacing:1px;color:#849dab!important;margin:14px 0!important;font-size:9px!important}.leaderboard-list{touch-action:pan-y;scrollbar-width:thin;max-height:38vh;margin:12px 0;padding:0;list-style:none;overflow-y:auto}.board-row{background:#1a3346;border:1px solid #57708433;border-radius:12px;align-items:center;gap:10px;margin:6px 0;padding:12px 9px;display:flex}.board-position{color:#98b2c4;font-variant-numeric:tabular-nums;min-width:22px;font-size:13px}.board-row>svg{color:#bcd2df;background:#335266;border-radius:9px;flex:none;width:28px;height:28px;padding:4px}.board-row>div{flex:1;min-width:0}.board-row>div strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.board-row small{color:#91abbc;margin-top:3px;font-size:8px;display:block}.board-score{color:#e2eef6;font-variant-numeric:tabular-nums;font-size:14px}.board-row.podium{background:linear-gradient(100deg,#5d4933aa,#243e51);border-color:#e2b97844}.board-row.podium .board-position,.board-row.podium>svg{color:#ffd17d}.board-empty{text-align:center;color:#a2bdce;padding:25px 14px}.board-empty>svg{color:#ffd17d66;width:70px;height:70px}.board-empty p{font-size:12px;line-height:1.5}@media (height<=700px){.leaderboard-list{max-height:30vh}#overlay-emblem{width:48px;height:48px;margin-bottom:10px}#game[data-overlay=paused] .sheet h1{margin-bottom:12px}}#game[data-scene=home] .menu-actions button span{min-height:0;font-size:10px}.header-actions button{place-items:center;display:grid;position:relative}.header-actions .muted{color:#7797aa}.header-actions .muted:after{content:"";background:#d99a8b;width:20px;height:2px;position:absolute;transform:rotate(-45deg)}.setting-card.icon-button:after{content:"";background:radial-gradient(circle at 9px 9px,#90a7b9 5px,#0000 6px),#132a3a;border-radius:20px;flex:none;width:32px;height:18px;margin-left:auto}.setting-card.icon-button.enabled:after{background:radial-gradient(circle at 23px 9px,#153e3c 5px,#0000 6px),#70e6c6}#toast.icon-button{gap:6px}.run-list li{background:#1a3346;border:1px solid #58768c44;border-radius:10px;margin:7px 0;padding:10px 12px}.run-list li>small{color:#8dacbd;font-size:9px}.run-stats{justify-content:space-between;gap:8px;margin-top:5px;display:flex}.run-stats span{align-items:center;gap:5px;font-size:12px;font-weight:700;display:flex}.run-stats svg{color:#ffd17d;width:15px;height:15px}#game[data-scene=home] .menu-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}#game[data-scene=home] .menu-actions button{flex-direction:column;gap:6px;min-height:68px;padding:8px 3px}#game[data-scene=home] .menu-actions button span{overflow-wrap:normal;font-size:9px}#game[data-overlay=paused] #menu-actions{grid-template-columns:1fr 1fr}#game[data-scene=settings] .overlay{backdrop-filter:blur(8px);background:linear-gradient(160deg,#0c2134f2,#102f40f5);padding:70px 24px 24px}#game[data-scene=settings] .sheet{width:100%;max-width:380px}#game[data-scene=settings] h1{text-align:center;margin:0 0 18px;font-size:24px}#game[data-scene=settings] #overlay-emblem{width:52px;height:52px;margin-bottom:12px}.setting-heading{letter-spacing:1px;font-weight:700;color:#91acbf!important;margin:18px 0 9px!important;font-size:10px!important}.name-row{align-items:stretch;gap:7px;display:flex}.name-row input{flex:1;min-width:0}.name-save{color:#83ebd5;background:#37586b;border-radius:9px;place-items:center;min-width:46px;padding:10px;display:grid}.name-save span{display:none}.name-save:disabled{opacity:.4}.language-options{gap:7px;display:flex}.language-option{color:#9cb7ca;background:#1c3548;border:1px solid #536e82;border-radius:10px;flex:1;padding:13px;font-size:13px;font-weight:700}.practice-entry,.board-records{color:#acc7d9;background:#1c3548;border:1px solid #526f8555;border-radius:10px;width:100%;padding:12px;font-size:11px}.board-records{margin:8px 0}#scene-back{z-index:25;min-height:40px}@media (height<=700px){#game[data-scene=settings] .overlay{padding-top:60px}#game[data-scene=settings] #overlay-emblem{display:none}.setting-heading{margin-top:12px!important}.setting-card{margin:8px 0;padding:12px}}.game-icon{filter:drop-shadow(0 3px #0b1e3099)drop-shadow(0 1px 3px #0004);overflow:visible}button{-webkit-tap-highlight-color:transparent;transition:filter .15s,box-shadow .15s}button:not(:disabled):hover{filter:brightness(1.1)}button:disabled{filter:saturate(.5);cursor:default}#game[data-scene=home] #overlay-title{letter-spacing:1px;color:#ffe8a8;text-shadow:0 2px #b06e35,0 5px #122d3b,2px 5px #122d3b,-2px 5px #122d3b,0 8px 15px #0007;-webkit-text-stroke:.7px #17303e;font-size:29px;font-weight:950;transform:rotate(-2deg)}#showcase strong{text-shadow:0 3px #254350,0 5px 8px #0007;font-weight:900}.resource-strip{gap:8px;margin-bottom:11px}.resource-strip>div{color:#fff0b8;background:linear-gradient(#3b6470,#203c4c);border:2px solid #152f3d;border-radius:10px;min-width:86px;padding:4px 10px;font-size:16px;box-shadow:inset 0 2px #82b5b466,0 3px #0c2532}.resource-strip svg{width:29px;height:29px}#game[data-scene=home] .menu-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:16px}#game[data-scene=home] .menu-actions>button{flex-direction:row;grid-column:span 1;gap:10px;min-height:66px}#game[data-scene=home] .menu-actions button{background:linear-gradient(160deg,#658990,#344f65 57%,#23384d);border:2px solid #152e3d;border-radius:16px 16px 11px 11px;gap:4px;min-height:78px;padding:7px 3px 10px;position:relative;box-shadow:inset 0 3px #b4d5cb66,inset 0 -3px #142d42,0 5px #0a2332}#game[data-scene=home] .menu-actions button:first-child{background:linear-gradient(145deg,#91794d,#4f4950 64%,#283c4d)}#game[data-scene=home] .menu-actions button:nth-child(3){background:linear-gradient(145deg,#5c6c9a,#364864 64%,#243749)}#game[data-scene=home] .menu-actions svg{filter:drop-shadow(0 4px #0b1e3070);width:41px;height:41px}#game[data-scene=home] .menu-actions button span{color:#fff1c9;text-shadow:0 2px #122b3e;letter-spacing:.2px;font-size:11px;font-weight:850}.primary,#game[data-scene=home] #start{isolation:isolate;color:#493224;text-shadow:0 1px #fff0b2;background:linear-gradient(#ffe59a 0%,#ffc05c 42%,#f39a40 100%);border:2px solid #492c25;border-radius:14px;min-height:54px;font-size:14px;font-weight:950;position:relative;overflow:hidden;box-shadow:inset 0 3px #fff6c4,inset 0 -3px #d77b34,0 6px #7a462e,0 9px 16px #0004}.primary:before{content:"";z-index:-1;pointer-events:none;background:linear-gradient(115deg,#0000 43%,#fff8dcaa 48%,#0000 53%);animation:5.5s ease-in-out infinite launch-shine;position:absolute;inset:-70% -30%;transform:translate(-80%)}.primary svg{width:26px;height:26px}#game[data-scene=home] .sheet{max-height:43%}#game[data-scene=home] .fan-next{color:#c9e4de;text-shadow:0 1px #102a34;font-size:10px}#scene-back,.header-actions button{color:#ffebb9;background:linear-gradient(#688794,#355268);border:2px solid #163242;border-radius:11px;font-weight:800;box-shadow:inset 0 2px #badad377,0 3px #0b2535}#scene-back svg{width:22px;height:22px}.header-actions button{min-width:38px;min-height:38px}.header-actions button svg{width:25px;height:25px}#overlay-emblem{box-shadow:none;background:0 0;border:0;border-radius:0;width:83px;height:83px}#overlay-emblem svg{width:75px;height:75px;animation:3.2s ease-in-out infinite badge-float}#game[data-scene=settings] #overlay-emblem,#game[data-scene=leaderboard] #overlay-emblem{width:75px;height:75px}#game[data-scene=settings] #overlay-emblem svg,#game[data-scene=leaderboard] #overlay-emblem svg{width:70px;height:70px}.sheet h1{text-shadow:0 3px #10253a,0 5px 10px #0005;color:#fff1c7;letter-spacing:.5px;font-weight:950}#game:is([data-scene=leaderboard],[data-scene=settings]) .overlay{background:radial-gradient(at 50% 12%,#2e5674ee,#10283cf5 68%)}#game[data-scene=battle][data-overlay=paused] .overlay{background:radial-gradient(at 50% 45%,#24486288,#091f32c9)}#game[data-overlay=paused] .secondary,.practice-entry,.board-records,.preview-button{color:#e6f3ef;background:linear-gradient(#527486,#2b495f);border:2px solid #142f40;border-radius:11px;font-weight:800;box-shadow:inset 0 2px #94b8bb55,0 3px #0c2637}#game[data-overlay=paused] .secondary svg{width:28px;height:28px}#game[data-overlay=paused] #home{box-shadow:none;color:#acc4cc;background:0 0;border:0;font-size:11px}.setting-card.icon-button{background:linear-gradient(115deg,#355773,#243c55);border:2px solid #183244;border-radius:14px;min-height:59px;font-weight:850;box-shadow:inset 0 2px #668a9c66,0 3px #0f2538}.setting-card.icon-button svg{width:30px;height:30px}.setting-card.icon-button:after{box-sizing:content-box;border:2px solid #102b3c;box-shadow:inset 0 2px 3px #0006}.language-option{color:#adc8d4;background:linear-gradient(#416482,#28435d);border:2px solid #152f42;font-weight:850;box-shadow:inset 0 2px #7896ac55,0 3px #102535}.language-option[aria-pressed=true]{color:#493622;background:linear-gradient(#ffe397,#f9b75c);border-color:#7e5838;box-shadow:inset 0 2px #fff2b2,0 3px #62442d}.nickname-input{background:#173448;border:2px solid #102c3e;box-shadow:inset 0 2px 4px #0005}.name-save{background:linear-gradient(#87dcb9,#35a79d);border:2px solid #153544;box-shadow:inset 0 2px #c7f4da,0 3px #184d50}.board-tab{color:#aac3d6;background:linear-gradient(#42617d,#2a425c);border:2px solid #173047;font-weight:850;box-shadow:inset 0 2px #7796ac44,0 3px #102638}.board-tab[aria-pressed=true]{color:#fff6d7;background:linear-gradient(#e4b864,#a7783d);border-color:#644c31;box-shadow:inset 0 2px #fff0a955,0 3px #4b382a}.board-tab svg{width:23px;height:23px}.board-row{background:linear-gradient(110deg,#2d4b66,#243b53);border:2px solid #142d42;border-radius:12px;position:relative;box-shadow:inset 0 2px #7b9da533,0 3px #0d2434}.board-row.podium{background:linear-gradient(110deg,#786443,#394760);border-color:#c79b56;box-shadow:inset 0 2px #ffe0a555,0 3px #483629}.board-row.podium:nth-child(2){background:linear-gradient(110deg,#607b8c,#33465b);border-color:#93b6c6}.board-row.podium:nth-child(3){background:linear-gradient(110deg,#855744,#394154);border-color:#c58a63}.board-row>svg{background:0 0;border:0;width:37px;height:37px;padding:0}.board-position{color:#ffe7a6;text-shadow:0 2px #132e41;min-width:25px;font-weight:950}.board-row.self{background:linear-gradient(110deg,#326f72,#2c475c);border-color:#67dfc7}.board-score{color:#fff1bd;text-shadow:0 2px #123043}.stat-tile,.record-grid>div{background:linear-gradient(#365574,#243b56);border:2px solid #173047;border-radius:12px;box-shadow:inset 0 2px #96bac344,0 3px #102537}.stat-tile svg{width:33px;height:33px}.result-grid .stat-tile svg{width:48px;height:48px}.result-grid .stat-tile strong{color:#ffe2a0;text-shadow:0 2px #725329;font-size:28px}.result-grid .stat-tile:only-child svg{width:65px;height:65px}.record-grid svg{width:37px;height:37px}.mission-chest svg{filter:drop-shadow(0 8px 9px #0005);width:112px;height:112px;animation:3.5s ease-in-out infinite chest-ready}#game[data-scene=garage] .skin-card{background:linear-gradient(#557681,#2b465c);border:2px solid #294654;border-radius:13px;box-shadow:inset 0 2px #b5d1c955,0 3px #172c40}#game[data-scene=garage] .skin-card[aria-pressed=true]{background:linear-gradient(#9f8b5c,#4c5865);border:2px solid #ffd379;box-shadow:0 0 13px #ffcb5944,inset 0 2px #ffe5a077}#game[data-scene=garage] .preview-button svg{width:17px;height:17px}#toast{background:linear-gradient(#4d6c82,#2c455f);border:2px solid #173046;border-radius:12px;font-weight:850;box-shadow:0 4px #0b2135}#toast svg{width:26px;height:26px}@keyframes launch-shine{0%,55%{transform:translate(-80%)}75%,to{transform:translate(80%)}}@keyframes badge-float{0%,to{transform:translateY(0)rotate(-3deg)}50%{transform:translateY(-4px)rotate(3deg)}}@keyframes chest-ready{0%,75%,to{transform:translateY(0)rotate(0)}80%{transform:translateY(-3px)rotate(-6deg)}87%{transform:translateY(-3px)rotate(5deg)}93%{transform:translateY(0)rotate(-2deg)}}@media (height<=700px){#game[data-scene=home] .menu-actions button{min-height:75px}#game[data-scene=home] .menu-actions svg{width:38px;height:38px}#game[data-scene=home] .sheet{max-height:46%}#game[data-scene=settings] #overlay-emblem{display:none}#game[data-scene=leaderboard] #overlay-emblem{width:55px;height:55px}#game[data-scene=leaderboard] #overlay-emblem svg{width:50px;height:50px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}#guide-visual{background:linear-gradient(150deg,#213e4c,#112b3b);border:2px solid #526d73;border-radius:16px;grid-template-columns:95px 1fr auto;gap:8px;min-height:82px;padding:8px;display:grid;top:190px;box-shadow:0 5px #0b2130,0 12px 20px #0003}#guide-illustration svg{width:95px;height:60px;display:block}.guide-path{stroke:#ffcf77;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round;fill:none}.guide-finger{animation:1.8s ease-in-out infinite guide-drag}.guide-rear{transform-origin:91px 64px;animation:1.3s ease-in-out infinite guide-core}.guide-copy strong{color:#f1f6df;font-size:12px;line-height:1.45;display:block}#guide-pips{gap:5px;margin-bottom:7px;display:flex}#guide-pips i{background:#52717b;border-radius:3px;width:12px;height:5px}#guide-pips i.done{background:#78d8be}#guide-pips i.current{background:#ffd479;box-shadow:0 0 6px #ffd47966}#skip-guide{align-self:start;padding:6px;font-size:10px}@keyframes guide-drag{0%,to{transform:translateY(4px)}50%{transform:translateY(-11px)}}@keyframes guide-core{50%{transform:scale(1.2)}}@media (prefers-reduced-motion:reduce){.guide-finger,.guide-rear{animation:none}}#room-status{color:#ace5e9;pointer-events:none;font-size:11px;font-weight:800;position:absolute;top:122px;left:18px}.friends-list{gap:10px;margin:14px 0;display:grid}.friend-card{text-align:left;background:linear-gradient(140deg,#244457,#102334);border:2px solid #496875;border-radius:12px;align-items:center;gap:8px;padding:10px;display:flex}.friend-card>.game-icon{flex:none;width:48px}.friend-card>div:first-of-type{flex:1}.friend-name{margin:0;font-size:15px;font-weight:900}.friend-presence{color:#aad6de;margin:4px 0;font-size:11px}.friend-card>div:last-child{gap:5px;display:flex}.friend-card button{min-height:38px;padding:7px;font-size:10px}.friend-card button .game-icon{width:24px;height:24px}.friend-remove span{display:none}.unit-label.friend small{color:#d4baff;text-shadow:0 2px 3px #160c2d}@media (height<=700px){#game[data-scene=home] .menu-actions{gap:8px;margin-top:12px}#game[data-scene=home] .menu-actions>button{min-height:62px}#game[data-scene=home] .menu-actions>button:nth-child(n+4){min-height:52px}#game[data-scene=home] .menu-actions svg{width:32px;height:32px}}#lobby-settings{z-index:15;top:max(16px,env(safe-area-inset-top));color:#e2efda;background:linear-gradient(145deg,#557889,#233f56);border:2px solid #99c8c7;border-radius:14px;justify-content:center;align-items:center;width:48px;height:48px;padding:8px;display:flex;position:absolute;right:16px;box-shadow:inset 0 2px #d2ecec66,0 4px #0c2537}#lobby-settings svg{width:30px;height:30px}#lobby-settings span,#lobby-settings[hidden]{display:none}@media (height<=700px){#game[data-scene=home] .sheet{max-height:48%}}#game[data-scene=home] .sheet{flex-shrink:0;max-height:none;overflow:visible}#game[data-scene=home] .overlay{overflow:hidden}@media (height<=700px){#game[data-scene=home] .menu-actions>button:nth-child(n){gap:8px;min-height:56px;padding:6px}#game[data-scene=home] .menu-actions svg{width:28px;height:28px}#game[data-scene=home] .resource-strip,#game[data-scene=home] .fan-next{margin-bottom:8px}}@media (height<=560px){#game[data-scene=home] .menu-actions>button:nth-child(n),#game[data-scene=home] #start{min-height:44px}#game[data-scene=home] .resource-strip>div{min-width:72px;padding:2px 8px;font-size:12px}#game[data-scene=home] .resource-strip svg{width:23px;height:23px}#game[data-scene=home] .menu-actions{gap:7px;margin-top:10px}}#gm-unlock{z-index:16;left:12px;top:max(12px,env(safe-area-inset-top));touch-action:manipulation;background:0 0;border:0;width:48px;height:48px;padding:0;position:absolute}#gm-open{z-index:35;color:#ffd27a;background:#213b48;border:1px solid #a9a279;border-radius:8px;padding:7px;font-size:12px;font-weight:900;position:absolute;top:68px;left:14px}#gm-dialog{inset:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));z-index:60;pointer-events:auto;background:#0e2537f5;border:2px solid #718d90;border-radius:16px;flex-direction:column;gap:10px;padding:15px;display:flex;position:absolute;overflow:hidden;box-shadow:0 12px 60px #000b}#gm-dialog header{justify-content:space-between;align-items:center;display:flex}#gm-dialog header strong{color:#ffd174;font-size:22px}#gm-dialog header button{padding:0 10px;font-size:24px}#gm-dialog small{color:#a8c5ce;font-size:11px}.gm-commands{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.gm-commands button{background:#2c4c62;border:1px solid #587987;border-radius:8px;min-height:34px;padding:5px;font-size:11px}#gm-dialog form{gap:6px;display:flex}#gm-dialog input{color:#e3f5f6;user-select:text;background:#152e43;border:1px solid #5d8192;border-radius:6px;flex:1;min-width:0;padding:8px}#gm-dialog form button{background:#aa793d;border-radius:6px;padding:8px}#gm-output{user-select:text;white-space:pre-wrap;word-break:break-word;background:#091b2a;border-radius:8px;flex:1;min-height:0;margin:0;padding:10px;font-size:11px;line-height:1.6;overflow:auto}#gm-fps{z-index:36;color:#86edbd;pointer-events:none;font:11px monospace;position:absolute;top:72px;left:70px}#gm-unlock[hidden],#gm-open[hidden],#gm-dialog[hidden],#gm-fps[hidden]{display:none}.friend-badge{color:#fff;background:#e95047;border:2px solid #ffe8bd;border-radius:10px;min-width:18px;height:18px;padding:1px 4px;font-size:11px;line-height:14px;position:absolute;top:3px;right:5px}.friend-card[data-presence=online] .friend-presence{color:#82e8a2}.friend-card[data-presence=playing] .friend-presence{color:#ffd17d}.friend-sync-status{color:#9cc5d2;margin:0;font-size:10px}#social-notice{z-index:45;top:max(76px,env(safe-area-inset-top));color:#fff4da;background:linear-gradient(135deg,#254555,#142d3e);border:2px solid #e7b96b;border-radius:12px;align-items:center;gap:8px;padding:10px;display:flex;position:absolute;left:12px;right:12px;box-shadow:0 5px #0b1b27}#social-notice[hidden]{display:none}#social-notice>.game-icon{flex:none;width:32px}#social-notice p{flex:1;margin:0;font-size:12px}#social-notice button{min-height:32px;padding:6px;font-size:10px}#social-notice button .game-icon{width:20px;height:20px}.social-dismiss{box-shadow:none;background:0 0;border:0;font-size:20px!important}#social-notice{top:max(100px,env(safe-area-inset-top))}#social-notice .social-accept{color:#3b2918;background:linear-gradient(#ffe79a,#ffb44c);border:2px solid #fff0bf;border-radius:8px;font-weight:900;box-shadow:0 3px #825027}#social-notice .social-dismiss{color:#fff4da}
