:root{color-scheme:light;--ink:#233d50;--muted:#607982;--cream:#fff9e9;--teal:#247b82;--yellow:#ffd779;--line:#ced9d1;--panel:#fff9ee;font-family:Trebuchet MS,Segoe UI,system-ui,sans-serif;color:var(--ink)}*{box-sizing:border-box}body{margin:0;overflow:hidden;background:#bce0db}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ef8b47;outline-offset:3px}input[type=checkbox]{accent-color:var(--teal);width:15px;height:15px}.hidden{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#game-canvas{position:fixed;top:0;right:0;bottom:0;left:0}#game-canvas canvas{display:block;width:100%;height:100%}.world-vignette{pointer-events:none;position:fixed;top:0;right:0;bottom:0;left:0;background:linear-gradient(#ffffff22,transparent 20%,transparent 75%,#31506320)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;overflow-y:auto;padding:24px 16px;background:#244a5a69;display:flex;align-items:flex-start;justify-content:center}.menu-panel{position:relative;width:min(1100px,100%);margin:auto;background:var(--cream);border:3px solid #fffdf1;border-radius:24px;padding:26px 32px;box-shadow:0 8px #3c697844,0 24px 70px #25495135}.eyebrow{text-align:center;margin:0 0 6px;font-size:10px;letter-spacing:.24em;color:var(--teal);font-weight:900}h1{text-align:center;font-size:clamp(30px,4.5vw,54px);letter-spacing:-.065em;margin:0;color:var(--ink);line-height:1.1;font-weight:1000}.title-3d{color:#e68d4e;text-shadow:0 3px #ffdfa0}.subtitle{text-align:center;margin:10px 0 20px;color:var(--muted);font-size:13px}.menu-section h2{font-size:11px;letter-spacing:.11em;color:var(--teal);margin:14px 0 8px;text-transform:uppercase}.menu-section h2 span{font-size:12px;letter-spacing:0;color:var(--muted);font-weight:600}.choice-row{display:flex;gap:10px}.choice{flex:1;background:#e9eee4;color:var(--ink);border:2px solid #d5dfd5;min-height:38px;border-radius:10px;font-size:12px;font-weight:800}.choice.active{background:#d8eee6;border-color:#4a9b91;color:#246b67}.arena-section h2{display:flex;justify-content:space-between}.map-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.map-card{text-align:left;position:relative;overflow:hidden;border:2px solid #d9ddd0;border-radius:14px;background:#fffdf4;padding:0 0 10px;color:var(--ink)}.map-card[aria-pressed=true]{border-color:#e9a653;box-shadow:0 3px #e9a653}.map-card[aria-pressed=true]:after{content:"✓";position:absolute;right:9px;top:8px;color:var(--ink);background:var(--yellow);width:24px;height:24px;display:grid;place-items:center;border-radius:50%;font-weight:900}.map-art{display:grid;place-items:center;position:relative;isolation:isolate;overflow:hidden;height:70px;font-size:36px;background:linear-gradient(160deg,#a3deeb 60%,#cce7b7 60%)}.map-art:before,.map-art:after{content:"";position:absolute;width:140px;height:50px;background:#96c6a2;border-radius:50% 50% 0 0;bottom:-14px;left:-10px;z-index:-1}.map-art:after{left:auto;right:-20px;background:#e7b4c0}.map-sunset .map-art{background:linear-gradient(160deg,#f4bea5 60%,#ffe0aa 60%)}.map-sunset .map-art:before{background:#d49d94}.map-sunset .map-art:after{background:#ecc7aa}.map-moon .map-art{background:linear-gradient(160deg,#667aa9 60%,#acb8cf 60%)}.map-moon .map-art:before{background:#92abb5}.map-moon .map-art:after{background:#b7acd0}.map-card b,.map-card small,.map-description{display:block;margin:4px 12px 0}.map-card b{font-size:14px}.map-card small{font-size:9px;letter-spacing:.12em;color:var(--teal);font-weight:800;margin-top:9px}.map-description{font-size:10px;color:var(--muted)}.menu-players{display:grid;grid-template-columns:1fr 1fr;gap:24px}.character-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.char-card{display:flex;align-items:center;gap:10px;text-align:left;background:#f1eee0;border:2px solid transparent;border-radius:12px;padding:9px;min-height:65px;color:var(--ink)}.char-card.selected{background:#fff0cc;border-color:#e8b566}.char-emoji{font-size:30px;filter:drop-shadow(0 2px 0 #fff)}.char-card b{display:block;font-size:12px}.char-card small{display:block;font-size:10px;line-height:1.35;color:var(--muted);margin-top:4px}.select-label{display:block;font-size:11px;color:var(--muted);margin:10px 0 5px}select{width:100%;padding:9px;border:1px solid #c5d4cb;border-radius:9px;background:#fffdf4;color:var(--ink)}.settings-row{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px 15px;font-size:11px;color:var(--muted);margin-top:15px}.settings-row>span{margin-right:auto;color:var(--teal);font-size:10px}.settings-row label{display:flex;gap:5px;align-items:center}.settings-row select{width:auto;padding:5px;font-size:11px}.primary-button{width:100%;border:2px solid #d99948;border-radius:12px;background:var(--yellow);color:var(--ink);font-size:16px;font-weight:950;padding:13px;margin-top:17px;box-shadow:0 4px #c69047}.primary-button:hover{background:#ffe393}.menu-footnote{text-align:center;font-size:10px;color:var(--muted);margin:14px 0 0}kbd{border:1px solid #a9bcb4;border-radius:4px;padding:1px 4px;font:inherit;font-size:.85em}.result-message{margin:14px auto 0;border:2px solid #e1b360;background:#fff0c4;padding:12px;border-radius:12px;text-align:center;font-weight:900;color:#855d22}.hud{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;padding:18px 26px;display:flex;flex-direction:column;gap:8px}.hud-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.player-panel{width:min(30%,300px);border:2px solid #fffdf1;border-radius:15px;background:#fff9eeef;padding:10px 14px;box-shadow:0 4px #3e737f33}.player-panel.active{border-color:#eeb65e;box-shadow:0 4px #d6a256}.player-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;font-weight:900;margin-bottom:7px}.player-meta strong{white-space:nowrap;font-size:11px;color:var(--teal)}.hp-track{height:11px;border-radius:20px;overflow:hidden;background:#dfe2d6}.hp-fill{height:100%;background:linear-gradient(90deg,#64bba0,#92d4a3);transition:width .25s}#p2-hp-fill{background:linear-gradient(90deg,#eaa27d,#edbd85)}.wind-card{min-width:140px;text-align:center;background:#fff9eeef;border:2px solid #fffdf1;border-radius:13px;padding:6px 12px;box-shadow:0 4px #3e737f22}.wind-title{display:block;font-size:9px;letter-spacing:.2em;font-weight:800;color:var(--muted)}.wind-card strong{font-size:23px}.wind-direction{font-size:27px;font-weight:900;color:#d9914a;margin-left:8px}.wind-help{display:block;font-size:8px;color:var(--muted)}.arena-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px}.arena-toolbar>span{background:#fff9eee0;padding:7px 11px;border-radius:20px;border:1px solid #fff}.arena-toolbar>div{display:flex;gap:5px;pointer-events:auto}.arena-toolbar button{background:#fff9eeef;color:var(--ink);border:1px solid #d4daca;border-radius:8px;padding:7px 12px;font-size:10px;min-height:32px}.center-notice{position:absolute;top:94px;left:25%;right:25%;text-align:center}.center-notice>span{display:inline-block;border-radius:20px;padding:7px 15px;background:#2c556bcf;color:#fff9ee;font-size:11px;font-weight:700}.bottom-panel{margin:auto auto 0;width:min(1260px,100%);display:grid;grid-template-columns:minmax(310px,.95fr) minmax(450px,1.45fr);gap:12px;pointer-events:auto;align-items:stretch}.arsenal-panel,.shoot-panel{background:var(--panel);border:2px solid #fffdf4;border-radius:17px;padding:13px 15px;box-shadow:0 5px #31586644,0 10px 35px #213e4d14}.console-title{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;letter-spacing:.08em;font-weight:900;color:var(--teal);min-height:19px}.console-title>span{letter-spacing:0;font-size:9px;color:var(--muted);font-weight:500}.console-title strong{font-size:22px;color:#c77c31;letter-spacing:-.04em}.weapon-options{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:6px}.game-option{border:1px solid #d4dace;background:#eff0e5;color:var(--ink);border-radius:10px;position:relative}.weapon-options .game-option{display:flex;align-items:center;text-align:left;gap:8px;min-height:55px;padding:6px 8px}.game-option.selected{background:#ffedc1;border-color:#dfa34b;box-shadow:inset 0 0 0 1px #e9b960}.weapon-key{position:absolute;left:4px;top:3px;color:#94a49d;font-size:8px}.weapon-icon{font-size:25px;width:32px;text-align:center;flex-shrink:0}.weapon-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.weapon-copy b{font-size:11px}.weapon-copy small{font-size:7px;letter-spacing:.1em;font-weight:800;color:var(--teal)}.weapon-copy>span{font-size:9px;color:var(--muted)}.ammo-count{margin-left:auto;font-size:10px;font-weight:900;color:var(--teal);white-space:nowrap}.weapon-detail{font-size:9px;line-height:1.4;color:var(--muted);margin:6px 0;min-height:24px}.powerup-options{display:flex;justify-content:space-between;gap:4px}.powerup-options .game-option{font-size:9px;padding:6px 7px;flex:1;white-space:nowrap}.used{text-decoration:line-through}.shoot-panel{display:grid;grid-template-columns:132px 1fr;gap:18px}.aim-panel{border-right:1px solid #dde0d2;padding-right:14px;min-width:0}.angle-dial{height:62px;position:relative;overflow:hidden;margin-top:7px;border-bottom:1px solid #bccdc3}.dial-ticks{position:absolute;width:104px;height:104px;border:2px solid #b1c9be;border-radius:50%;bottom:-52px;left:calc(50% - 52px);background:repeating-conic-gradient(from 0deg,#9bb9ad 0deg 1deg,transparent 1deg 10deg);mask:radial-gradient(transparent 44px,#000 45px)}#angle-needle{position:absolute;bottom:0;left:50%;width:46px;height:3px;transform-origin:0 center;background:#df9950;border-radius:4px}.dial-dot{position:absolute;bottom:-4px;left:calc(50% - 5px);width:10px;height:10px;border-radius:50%;background:#d89648}.angle-dial i{font-style:normal;position:absolute;bottom:5px;font-size:8px;color:var(--muted)}.angle-dial i:nth-of-type(1){right:3px}.angle-dial i:nth-of-type(2){right:19px;bottom:36px}.angle-dial i:nth-of-type(3){left:20px;bottom:43px}.aim-panel input{width:100%;margin:9px 0 0;height:12px;accent-color:#c98f48}.angle-presets{display:flex;justify-content:space-between;margin-top:2px;gap:2px}.angle-presets button{padding:4px 0;background:none;border:0;font-size:9px;color:var(--teal);min-width:18px}.power-panel{min-width:0}.power-panel .console-title{justify-content:flex-start}.power-panel .console-title strong{margin-left:auto}.console-title .raw-power{font-size:9px;color:var(--muted);letter-spacing:0}.power-track{position:relative;height:28px;border:2px solid #bfc8b6;border-radius:7px;overflow:visible;background:#e5e8d9;margin:8px 0 0}.power-fill{height:100%;width:50%;border-radius:4px;background:linear-gradient(90deg,#7dbda5,#c9cf7a,#f1bc66,#ee9970)}.ruler-lines{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:4px;background:repeating-linear-gradient(90deg,transparent 0 calc(5% - 1px),#4c665a50 calc(5% - 1px) 5%);pointer-events:none}.ruler-labels{display:flex;justify-content:space-between;font-size:8px;color:#60776c;margin-top:5px}.ruler-labels span{width:0;text-align:center;white-space:nowrap}.ruler-labels span:first-child{transform:translate(2px)}.ruler-labels span:last-child{transform:translate(-8px)}#previous-power{position:absolute;top:-6px;bottom:-3px;width:2px;background:#69648d;z-index:1}#previous-power:before{content:"▼";position:absolute;top:-9px;left:-4px;font-size:10px;color:#69648d}.shot-history{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 7px;color:var(--muted);font-size:9px}.shot-history label{display:flex;align-items:center;gap:3px;white-space:nowrap}.shot-history input{width:12px;height:12px}.throw-actions{display:grid;grid-template-columns:1fr;gap:8px}.charge-button{border:1px solid #b8cbbf;border-radius:9px;padding:11px 8px;font-size:10px;font-weight:900;touch-action:none;-webkit-user-select:none;user-select:none;min-height:41px}.charge-button{background:#e2eee6;color:#327974}.charge-button kbd{font-size:8px;margin-left:3px}.charge-button:active:not(:disabled){background:#c8e4d8}#aim-feedback{font-size:9px;color:var(--teal);margin:8px 0 0;line-height:1.3}#damage-layer{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:3}.damage-float{position:absolute;font-size:32px;color:#fff7d9;font-weight:1000;-webkit-text-stroke:2px #c36e4a;text-shadow:0 3px #984b3a;animation:damage-float .9s ease-out forwards}@keyframes damage-float{0%{transform:translate(-50%) scale(.6);opacity:1}20%{transform:translate(-50%,-20px) scale(1.15)}to{transform:translate(-50%,-70px);opacity:0}}@media (max-width:1000px){.hud{padding:12px}.bottom-panel{grid-template-columns:1fr 1.4fr;gap:8px}.arsenal-panel,.shoot-panel{padding:10px}.shoot-panel{grid-template-columns:105px 1fr;gap:10px}.weapon-options .game-option{gap:3px;padding:5px;min-height:51px}.weapon-icon{font-size:22px;width:26px}.weapon-copy b{font-size:10px}.weapon-copy>span{font-size:8px}.ammo-count{font-size:9px}.powerup-options .game-option{font-size:8px;padding:6px 3px}.shot-history,.charge-button{font-size:8px}.charge-button kbd{display:none}.menu-panel{padding:22px}}@media (max-width:720px){.modal-backdrop{padding:10px}.menu-panel{padding:18px 14px;border-radius:17px}.menu-players{grid-template-columns:1fr;gap:0}.map-options{gap:6px}.map-card b{font-size:11px}.map-card small{font-size:7px}.map-card b,.map-card small{margin-left:8px;margin-right:8px}.map-description{display:none}.map-art{height:56px;font-size:29px}.settings-row{gap:8px;font-size:10px}.settings-row>span{width:100%}.subtitle{font-size:11px}.hud{padding:8px;gap:6px}.hud-top{gap:6px}.player-panel{width:35%;padding:8px;min-width:0;border-radius:11px}.player-meta{flex-direction:column;align-items:flex-start;font-size:10px;gap:3px}.player-meta strong{font-size:10px}.hp-track{height:8px}.wind-card{min-width:0;width:28%;padding:6px 2px}.wind-card strong{font-size:19px}.wind-direction{font-size:22px;margin-left:3px}.wind-help{font-size:7px}.wind-title{font-size:8px}.arena-toolbar button{padding:6px 8px;min-height:33px;font-size:9px}.arena-toolbar>span{font-size:9px;padding:6px 8px}.center-notice{top:128px;left:12px;right:12px}.center-notice>span{font-size:10px;padding:6px 12px}.bottom-panel{grid-template-columns:1fr;gap:6px}.arsenal-panel{padding:8px 9px;border-radius:12px}.arsenal-panel>.console-title,.weapon-detail{display:none}.weapon-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0}.weapon-options .game-option{flex-direction:column;gap:2px;text-align:center;min-height:69px;padding:4px 3px}.weapon-icon{font-size:24px;width:auto}.weapon-copy small{display:none}.weapon-copy b{font-size:9px}.weapon-copy>span{font-size:7px}.ammo-count{position:absolute;top:4px;right:4px;font-size:8px}.weapon-key{display:none}.powerup-options{margin-top:5px;justify-content:center}.powerup-options .game-option{flex:initial;font-size:8px;padding:5px 9px}.shoot-panel{padding:9px 11px;border-radius:12px;grid-template-columns:81px 1fr;gap:11px}.aim-panel{padding-right:9px}.console-title{font-size:9px}.console-title strong{font-size:19px}.angle-dial{height:49px}.dial-ticks{width:78px;height:78px;bottom:-39px;left:calc(50% - 39px);mask:radial-gradient(transparent 31px,#000 32px)}#angle-needle{width:33px}.angle-dial i{font-size:7px}.angle-dial i:nth-of-type(2){right:6px;bottom:27px}.angle-dial i:nth-of-type(3){left:8px;bottom:35px}.angle-presets{flex-wrap:wrap;justify-content:center;gap:1px}.angle-presets button{font-size:8px;min-width:19px;padding:3px 0}.console-title .raw-power{display:none}.power-track{height:24px;margin-top:7px}.ruler-labels{font-size:7px}.ruler-labels span:nth-child(2n){visibility:hidden}.shot-history{font-size:7px;gap:3px;margin:3px 0 5px}.shot-history label{font-size:8px}.throw-actions{gap:5px;grid-template-columns:1fr}.charge-button{min-height:35px;padding:8px 3px}.charge-button{font-size:7px}#aim-feedback{font-size:8px;margin-top:6px}.power-panel .console-title strong{font-size:20px}}@media (max-height:500px) and (min-width:600px){.hud{padding:5px 9px}.hud-top{width:70%;margin:0 auto}.player-panel{padding:5px 8px}.player-meta{margin-bottom:4px;font-size:10px;flex-direction:row}.hp-track{height:7px}.wind-card{padding:3px 10px}.wind-card strong{font-size:18px}.wind-title{font-size:7px}.wind-help{display:none}.arena-toolbar{position:absolute;top:7px;left:9px;right:9px;pointer-events:none}.arena-toolbar>span{max-width:14%;padding:5px;font-size:9px}.arena-toolbar>div{flex-direction:column}.arena-toolbar button{padding:5px;min-height:27px;font-size:9px}.center-notice{display:none}.bottom-panel{grid-template-columns:.9fr 1.4fr;gap:7px}.arsenal-panel,.shoot-panel{padding:7px;border-radius:11px}.arsenal-panel>.console-title,.weapon-detail{display:none}.weapon-options{grid-template-columns:1fr 1fr;gap:3px}.weapon-options .game-option{flex-direction:row;min-height:38px;padding:3px;gap:4px}.weapon-icon{font-size:21px}.weapon-copy b{font-size:9px}.weapon-copy small,.weapon-key{display:none}.weapon-copy>span{font-size:8px}.ammo-count{position:static;margin-left:auto;font-size:8px}.powerup-options{gap:2px;margin-top:4px}.powerup-options .game-option{font-size:7px;flex:1;padding:4px 2px}.shoot-panel{grid-template-columns:75px 1fr;gap:8px}.aim-panel{padding-right:8px}.angle-dial{display:none}.angle-presets{flex-wrap:wrap}.angle-presets button{font-size:8px}.aim-panel input{margin:7px 0}.console-title{font-size:9px;min-height:14px}.console-title strong{font-size:17px}.power-track{height:19px;margin-top:4px}.ruler-labels{font-size:7px;margin-top:2px}.shot-history{font-size:7px;margin:1px 0 3px}.throw-actions{gap:4px}.charge-button{min-height:30px;padding:5px;font-size:8px}#aim-feedback{font-size:7px;margin-top:4px}}input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;height:24px;cursor:pointer;touch-action:pan-y}input[type=range]::-webkit-slider-runnable-track{height:5px;background:#c8d7ce;border:1px solid #9eb5a9;border-radius:9px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:18px;height:18px;margin-top:-7px;border:2px solid #fff9e9;border-radius:50%;background:var(--teal);box-shadow:0 1px 2px #25495155}#angle-slider::-webkit-slider-thumb{background:#c58c46}input[type=range]::-moz-range-track{height:5px;background:#c8d7ce;border:1px solid #9eb5a9;border-radius:9px}input[type=range]::-moz-range-thumb{width:15px;height:15px;border:2px solid #fff9e9;border-radius:50%;background:var(--teal)}.angle-presets button{min-height:24px}@media (max-height:500px) and (min-width:600px){input[type=range]{height:14px}.angle-presets button{min-height:20px}}@media (prefers-reduced-motion:reduce){*{transition:none!important}.damage-float{animation:none}}.throw-actions{margin-top:14px}.charge-button{width:100%;background:var(--yellow);border-color:#d9a451;color:#6a4b2d;box-shadow:0 3px #c69048;font-size:11px}.charge-button:active:not(:disabled){background:#ffe59e}.power-fill{width:0%}@media (max-width:720px){.charge-button{font-size:9px}}@media (max-height:500px) and (min-width:600px){.throw-actions{margin-top:7px}.charge-button{font-size:9px}}.damage-bonus{margin:8px 0 5px;color:#9b622b;font-size:10px;font-weight:800;line-height:1.4}@media (max-width:720px){.damage-bonus{font-size:9px;margin:7px 0 4px}}@media (max-height:500px) and (min-width:600px){.damage-bonus{font-size:8px;margin:5px 0 2px}}.turn-rule{text-align:center;font-size:12px;color:#7c4b28;font-weight:700;line-height:1.4;margin:8px 0 0}.match-readouts{display:flex;align-items:stretch;justify-content:center;gap:8px;min-width:0}.turn-timer{position:relative;display:grid;grid-template-columns:auto auto;align-items:center;gap:0 10px;min-width:145px;padding:7px 12px 11px;border:2px solid #fffdf1;border-radius:13px;background:#fff9ee;color:#246d71;box-shadow:0 4px #3e737f22;overflow:hidden}.timer-caption{grid-column:1/-1;font-size:10px;font-weight:900;letter-spacing:.06em}.turn-timer strong{font-size:30px;font-variant-numeric:tabular-nums;line-height:1.1}#turn-penalty{font-size:12px;font-weight:800;color:#815523;white-space:nowrap}.turn-time-track{position:absolute;inset:auto 0 0;height:4px;background:#e3e4d4}#turn-time-fill{display:block;width:100%;height:100%;background:#469b8c}.turn-timer.urgent{border-color:#ca6441;background:#fff0df;color:#a43d28}.turn-timer.urgent #turn-time-fill{background:#cc6041}.turn-timer.stopped{border-color:#c6d3cb}.arsenal-panel>.console-title{font-size:12px}.arsenal-panel>.console-title>span{font-size:11px}.weapon-options{gap:8px;margin-top:8px}.weapon-options .game-option{gap:10px;min-height:104px;padding:10px 10px 14px;border-width:2px;border-radius:13px}.weapon-icon{display:block;object-fit:contain;width:64px;height:64px;filter:drop-shadow(0 3px 0 #fff9)}.weapon-copy{gap:3px;line-height:1.2}.weapon-copy b{font-size:15px}.weapon-copy small{font-size:10px;letter-spacing:.03em}.weapon-copy>span{font-size:12px;color:#405b66}.weapon-stats strong{font-size:17px;color:#244d58}.weapon-key{font-size:11px;left:6px;top:4px;color:#536d70}.ammo-count{position:absolute;left:14px;right:auto;top:auto;bottom:4px;min-width:40px;padding:1px 5px;text-align:center;border:1px solid #a8c5b8;border-radius:5px;background:#fffdf0;font-size:12px;line-height:1.1;color:#2d6364}.weapon-detail{font-size:12px;line-height:1.35;margin:8px 0;min-height:32px}.powerup-options{gap:7px;margin-top:8px}.powerup-options .game-option{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:66px;padding:7px 6px;border-width:2px;border-radius:12px;white-space:normal;text-align:left}.powerup-icon{width:42px;height:42px;object-fit:contain;flex-shrink:0}.powerup-copy{display:flex;flex-direction:column;gap:4px;min-width:0;line-height:1.15}.powerup-copy b{font-size:14px}.powerup-copy>span{font-size:12px;color:#365d65;font-weight:700}.powerup-options .game-option.selected{background:#d9f0e8;border-color:#2a857a;box-shadow:inset 0 0 0 1px #63a995}.arsenal-panel .game-option:disabled{opacity:1;background:#e9ece5;color:#4e5c61}.arsenal-panel .game-option.selected:disabled{background:#ffedc1;border-color:#dfa34b}.arsenal-panel .game-option[data-exhausted=true] .weapon-icon,.powerup-options .used .powerup-icon{filter:grayscale(1);opacity:.6}.powerup-options .used{text-decoration:none}.powerup-options .used b{text-decoration:line-through}.damage-bonus{font-size:12px;color:#825021}.shot-history{font-size:11px}#aim-feedback{font-size:12px}.angle-presets button{font-size:11px}@media (max-width:1100px){.weapon-options .game-option{gap:6px;padding:9px 6px 15px;min-height:100px}.weapon-icon{width:50px;height:50px}.weapon-copy b{font-size:14px}.weapon-copy small{font-size:9px}.weapon-copy>span{font-size:11px}.ammo-count{left:10px;min-width:36px;font-size:11px}.powerup-icon{width:32px;height:32px}.powerup-copy b{font-size:12px}.powerup-copy>span{font-size:11px}.powerup-options .game-option{gap:4px;min-height:58px;padding:6px 4px}.match-readouts{gap:6px}.wind-card{min-width:100px}.turn-timer{min-width:110px;padding:6px 9px 10px;gap:0 5px}.timer-caption{font-size:9px}.turn-timer strong{font-size:25px}#turn-penalty{font-size:11px}}@media (max-width:720px){.match-readouts{width:30%;flex-direction:column;gap:4px}.match-readouts .wind-card{width:100%;min-width:0;padding:3px 2px}.match-readouts .wind-title{font-size:8px}.match-readouts .wind-card strong,.match-readouts .wind-direction{font-size:16px}.match-readouts .wind-help{display:none}.turn-timer{min-width:0;padding:3px 5px 7px;gap:0 3px;border-radius:9px}.timer-caption{font-size:8px;letter-spacing:0}.turn-timer strong{font-size:23px}#turn-penalty{font-size:11px}.arsenal-panel{padding:8px}.weapon-options{gap:4px;margin:0}.weapon-options .game-option{flex-direction:column;justify-content:flex-start;gap:2px;padding:6px 2px 5px;min-height:102px;border-radius:10px}.weapon-icon{width:42px;height:42px}.weapon-copy{gap:2px;width:100%}.weapon-copy b{display:flex;align-items:center;justify-content:center;min-height:28px;font-size:12px;line-height:1.15}.weapon-copy>span{font-size:11px}.weapon-copy small,.weapon-copy .weapon-range{display:none}.weapon-stats strong{font-size:13px}.ammo-count{min-width:0;left:auto;right:2px;top:2px;bottom:auto;font-size:11px;padding:1px 3px}.powerup-options{gap:4px;margin-top:6px}.powerup-options .game-option{flex:1;gap:3px;min-height:54px;padding:5px 3px;border-radius:9px}.powerup-icon{width:28px;height:28px}.powerup-copy{gap:3px}.powerup-copy b{font-size:12px}.powerup-copy>span{font-size:11px}.damage-bonus{font-size:11px;margin:7px 0 5px}.shot-history,.shot-history label{font-size:10px}#aim-feedback{font-size:11px}.angle-presets button{font-size:10px}}@media (max-height:500px) and (min-width:600px){.hud-top{width:76%;gap:6px}.match-readouts{gap:4px}.match-readouts .wind-card{min-width:68px;padding:3px 5px}.turn-timer{min-width:96px;padding:3px 6px 7px;gap:0 4px}.turn-timer strong{font-size:23px}.timer-caption{font-size:8px;letter-spacing:0}.weapon-options{gap:4px;margin:0}.weapon-options .game-option{flex-direction:row;gap:5px;min-height:66px;padding:5px 5px 9px}.weapon-icon{width:38px;height:38px}.weapon-copy b{font-size:12px}.weapon-copy>span{font-size:11px}.weapon-stats strong{font-size:13px}.weapon-copy small,.weapon-copy .weapon-range{display:none}.ammo-count{left:7px;right:auto;bottom:2px;top:auto;min-width:31px;font-size:10px;padding:0 2px}.powerup-options{margin-top:4px;gap:3px}.powerup-options .game-option{gap:2px;min-height:49px;padding:4px 2px}.powerup-icon{width:24px;height:24px}.powerup-copy b{font-size:12px}.powerup-copy>span{font-size:11px}.powerup-copy{gap:2px}.damage-bonus{font-size:11px;margin:6px 0 4px}.shot-history,.shot-history label{font-size:10px}#aim-feedback{font-size:11px}.angle-presets button{font-size:10px}}.campaign-description{font-size:13px;line-height:1.5;color:#456b70;margin:12px 0 0}#menu:not([data-play-mode=CAMPAIGN]) .campaign-description{display:none}#menu[data-play-mode=CAMPAIGN] .arena-section,#menu[data-play-mode=CAMPAIGN] .menu-players>section:nth-child(2){display:none}#menu[data-play-mode=CAMPAIGN] .menu-players{grid-template-columns:1fr}.char-emoji img{display:block;width:60px;height:60px;object-fit:contain;filter:drop-shadow(0 3px 2px #183a3b30)}#menu[data-play-mode=CAMPAIGN] #p1-characters{grid-template-columns:repeat(4,minmax(0,1fr))}.secondary-button{width:100%;min-height:44px;margin-top:14px;border:2px solid #83afa6;border-radius:12px;background:#e5f0e8;padding:10px;color:#285c61;font-weight:900}.secondary-button[hidden]{display:none}.combat-meta{display:flex;justify-content:space-between;gap:5px;margin:6px 0 4px;font-size:11px;color:#4a6474}.combat-meta b{color:#9e503e}.rage-track{height:6px;background:#dedbd5;border-radius:8px;overflow:hidden}.rage-track>div{height:100%;width:0;background:linear-gradient(90deg,#f29971,#e8bb67);transition:width .2s}.rage-ready .rage-track>div{background:linear-gradient(90deg,#be7bee,#ffc968)}.rage-ready .combat-meta b{color:#8545ac}.player-meta>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.center-notice{top:126px}.support-heading{display:flex;justify-content:space-between;gap:4px;font-size:10px;font-weight:900;color:#3a6d72;margin:5px 0 3px}.support-heading span{font-size:9px;font-weight:500}.powerup-options{overflow-x:auto;justify-content:flex-start;scroll-snap-type:x proximity;padding-bottom:3px;scrollbar-width:thin;scrollbar-color:#91b2a7 transparent}.powerup-options .game-option{flex:0 0 calc((100% - 14px)/3);scroll-snap-align:start;min-width:0}.throw-actions{grid-template-columns:minmax(0,1fr) minmax(90px,.55fr)}.ultimate-button{min-height:44px;border:2px solid #b7a3c7;border-radius:9px;background:#e8e1ec;color:#70478b;font-size:11px;font-weight:900;touch-action:manipulation}.ultimate-button:disabled{opacity:.7}.ultimate-button.ready{color:#fff7de;background:linear-gradient(130deg,#7556a0,#b75f8b);border-color:#edc47d;box-shadow:0 0 16px #bf8ce65c}.ultimate-button[aria-pressed=true]{background:linear-gradient(130deg,#b36184,#8b5c3d);outline:2px solid #f7cf7b}#stage-clear{z-index:15;background:#152b49b8;align-items:center}.reward-panel{max-width:760px;width:100%;margin:auto;padding:32px;border:2px solid #e4d8bb;border-radius:24px;background:#fff8e9;box-shadow:0 20px 70px #0e183d66;text-align:center}.reward-panel h2{font-size:clamp(24px,4vw,38px);letter-spacing:-.035em;margin:10px 0;color:#2b5c65}#next-stage-info{font-size:16px;font-weight:900;color:#77508b}#stage-supplies{font-size:13px;line-height:1.6;color:#526e70}.reward-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}.reward-card{display:flex;flex-direction:column;align-items:center;gap:12px;min-height:184px;padding:20px 12px;border:2px solid #d4d8c4;border-radius:16px;background:#eef0df;color:#244b57;transition:transform .15s,border-color .15s}.reward-card:hover{transform:translateY(-5px);border-color:#d69e4f;background:#fff0cf}.reward-card>span{font-size:40px}.reward-card b{font-size:18px}.reward-card small{font-size:13px;line-height:1.5}.checkpoint-help{font-size:11px;color:#617580;margin-top:20px}.ultimate-scene{position:fixed;top:0;right:0;bottom:0;left:0;z-index:4;pointer-events:none;visibility:hidden;opacity:0;overflow:hidden;--ult:#97fac0;transition:opacity .25s}.ultimate-scene.visible{visibility:visible;opacity:1}.ultimate-scene[data-character=shiba]{--ult:#b0e4ff}.ultimate-scene[data-character=tabby]{--ult:#c0acff}.ultimate-scene[data-character=duck]{--ult:#ffe084}.ultimate-sky{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(ellipse at 30% 38%,#1d354c55,#08152bd9);transition:opacity .5s}.ultimate-rays{position:absolute;top:-100%;right:-100%;bottom:-100%;left:-100%;background:repeating-conic-gradient(from 0deg at 44% 48%,transparent 0 14deg,#c1f8e60d 14deg 18deg);animation:ultimate-rays 16s linear infinite}.ultimate-portrait{position:absolute;left:-3%;top:6%;width:min(67vw,810px);height:75%;object-fit:contain;opacity:.9;filter:drop-shadow(0 0 28px var(--ult));transform:translate(-20%) scale(.85);transition:transform .55s cubic-bezier(.2,.7,.3,1),opacity .5s}.visible .ultimate-portrait{transform:translate(0) scale(1)}.ultimate-caption{position:absolute;left:48%;right:3%;top:31%;color:#fff8dc;text-shadow:0 3px 18px #000;transform:skewY(-3deg);transition:opacity .5s}.ultimate-caption>span{display:block;font-size:12px;letter-spacing:.28em;color:var(--ult);font-weight:900}.ultimate-caption>strong{display:block;font-size:clamp(28px,4.6vw,68px);line-height:1.03;margin:12px 0;letter-spacing:-.03em;text-transform:uppercase;-webkit-text-stroke:1px #fff1a166}.ultimate-caption>small{display:block;font-size:14px;line-height:1.6;color:var(--ult)}.ultimate-lightning{position:absolute;width:65%;height:52%;top:12%;right:0;background:var(--ult);clip-path:polygon(74% 0,58% 35%,71% 33%,42% 100%,52% 49%,39% 51%,59% 0);opacity:.14;filter:drop-shadow(0 0 12px var(--ult));animation:ultimate-lightning 1.3s ease-out}.ultimate-scene.flying .ultimate-portrait{opacity:.15;transform:translate(-8%) scale(1.08)}.ultimate-scene.flying .ultimate-caption{opacity:.15}.ultimate-scene.flying .ultimate-sky{opacity:.65}.ultimate-scene.impact .ultimate-lightning{animation:ultimate-impact .65s ease-out forwards}.ultimate-damage{font-size:46px;color:#fff4ad}@keyframes ultimate-rays{to{transform:rotate(360deg)}}@keyframes ultimate-lightning{0%,30%{opacity:0}45%{opacity:.55}to{opacity:.14}}@keyframes ultimate-impact{0%{opacity:.5;transform:scale(1)}to{opacity:0;transform:scale(1.8)}}.ultimate-scene.quiet *{animation:none!important;transition:none!important}.ultimate-scene.quiet .ultimate-lightning{display:none}@media (max-width:720px){#menu[data-play-mode=CAMPAIGN] #p1-characters{grid-template-columns:repeat(2,minmax(0,1fr))}.choice{font-size:11px;min-height:44px}.choice-row{gap:5px}.combat-meta{font-size:10px;margin:5px 0 3px}.rage-track{height:5px}.center-notice{top:162px}.player-meta>span{font-size:10px}.player-panel{padding:7px}.support-heading{font-size:9px;margin:4px 0 2px}.support-heading span{font-size:8px}.powerup-options .game-option{flex-basis:calc((100% - 8px)/3)}.ultimate-button{font-size:9px;padding:4px;line-height:1.3}.charge-button{font-size:9px;min-height:44px}.throw-actions{grid-template-columns:minmax(0,1fr) 84px;gap:5px}.reward-panel{padding:22px 14px}.reward-options{gap:7px}.reward-card{min-height:172px;padding:14px 7px;gap:10px}.reward-card b{font-size:14px}.reward-card small{font-size:12px}.reward-card>span{font-size:30px}.ultimate-portrait{left:-16%;top:12%;width:105%;height:48%}.ultimate-caption{left:8%;right:8%;top:44%}.ultimate-caption>strong{font-size:34px}.ultimate-caption>small{font-size:12px}.arena-toolbar>span{font-size:8px;padding:5px}.arena-toolbar button{padding:5px;font-size:9px}}@media (max-height:500px) and (min-width:600px){.combat-meta{margin:3px 0 2px;font-size:9px}.rage-track{height:4px}.player-meta>span{font-size:9px}.support-heading{display:none}.powerup-options .game-option{flex-basis:calc((100% - 6px)/3)}.ultimate-button{font-size:9px;min-height:38px}.charge-button{min-height:38px}.arena-toolbar>span{font-size:8px}.reward-panel{padding:16px 24px}.reward-panel h2{font-size:24px;margin:4px 0}.reward-options{margin-top:10px}.reward-card{min-height:114px;padding:8px;gap:5px}.reward-card>span{font-size:24px}#next-stage-info,#stage-supplies{margin:6px 0;font-size:12px}.checkpoint-help{margin:8px 0}.reward-panel .secondary-button{margin-top:4px;min-height:36px}.ultimate-portrait{top:0;height:90%;width:52%}.ultimate-caption{top:28%;left:49%}.ultimate-caption>strong{font-size:36px}}@media (prefers-reduced-motion:reduce){.ultimate-scene *{animation:none!important;transition:none!important}.reward-card:hover{transform:none}}.hud{z-index:5}#damage-layer{z-index:6}@media (min-width:721px) and (max-width:1100px) and (min-height:501px){.weapon-options{grid-template-columns:repeat(4,minmax(0,1fr))}.weapon-options .game-option{flex-direction:column;justify-content:flex-start;min-height:126px;padding:7px 3px 17px;text-align:center;gap:3px}.weapon-icon{width:38px;height:38px}.weapon-copy{gap:3px}.weapon-copy b{font-size:12px;min-height:29px;display:grid;place-items:center;line-height:1.2}.weapon-copy small,.weapon-copy .weapon-range{display:none}.ammo-count{left:10%;right:10%;bottom:4px}.weapon-stats strong{font-size:14px}.weapon-detail{min-height:32px;margin:6px 0}}.ultimate-scene{z-index:8}.ultimate-scene.flying{z-index:4}.bottom-panel>.arsenal-panel,.bottom-panel>.shoot-panel{min-width:0}.powerup-options{min-width:0;max-width:100%}@media (max-width:720px) and (max-height:700px){.center-notice{width:1px;height:1px;overflow:hidden;clip-path:inset(50%);left:0;right:auto}.arsenal-panel{padding:6px}.weapon-options .game-option{min-height:82px;padding:4px 2px;gap:1px}.weapon-icon{width:32px;height:32px}.weapon-copy b{min-height:25px}.weapon-copy{gap:1px}.powerup-options .game-option{min-height:48px;padding:4px 2px}.powerup-icon{width:25px;height:25px}.shoot-panel{padding:7px 9px;gap:9px}.damage-bonus{margin:4px 0;font-size:10px}.shot-history{margin:2px 0 4px;font-size:9px}.shot-history label{font-size:9px}.throw-actions{margin-top:6px}#aim-feedback{font-size:10px;margin-top:4px;line-height:1.2}}@media (max-height:500px) and (min-width:600px){.charge-button,.ultimate-button{min-height:44px}}.ultimate-scene:not(.visible) *{animation-play-state:paused!important}.championship{position:fixed;top:0;right:0;bottom:0;left:0;z-index:12;overflow:auto;background:radial-gradient(ellipse at 28% 45%,transparent 8%,#18213d55 60%,#121c39bd);color:#fff1cc;isolation:isolate}.char-card{position:relative}.roster-cup{position:absolute;right:5px;top:4px;font-size:9px;background:#ffe5a0;color:#7b562e;border:1px solid #dfb16a;border-radius:5px;padding:2px 4px}.championship:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1;background:linear-gradient(135deg,#0e24481a,#26385f55);pointer-events:none}.championship-rays{position:fixed;top:-100%;right:-100%;bottom:-100%;left:-100%;z-index:-1;background:repeating-conic-gradient(from 0deg at 43% 45%,transparent 0 18deg,#ffda8010 18deg 22deg);animation:champion-rays 45s linear infinite;pointer-events:none}.championship-heading{position:absolute;top:5%;left:4%;right:4%;text-align:center;pointer-events:none;text-shadow:0 3px 25px #172540}.championship-heading p{font-size:11px;font-weight:900;letter-spacing:.28em;color:#f5d99e;margin:0 0 9px}.championship-heading h2{font-size:clamp(36px,5.4vw,78px);margin:0;line-height:1;letter-spacing:-.035em;font-weight:1000;color:#ffe6a3;text-shadow:0 3px 0 #a76e43,0 0 32px #ffd26966}.championship-heading h2:focus{outline:none}.championship-heading>span{display:inline-block;font-size:12px;font-weight:900;letter-spacing:.2em;border:1px solid #e6bd6b88;border-radius:30px;padding:8px 16px;margin-top:16px;background:#20325177}.champion-hero-label{position:absolute;top:81%;left:5%;width:43%;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;text-shadow:0 3px 12px #15213c}.champion-hero-label b{font-size:25px;color:#ffe7ad}.champion-hero-label span{font-size:12px;letter-spacing:.15em;text-transform:uppercase}.champion-video-frame{position:absolute;left:5%;top:25%;width:43%;height:54%;border:1px solid #e1bd7399;border-radius:20px;overflow:hidden;background:#12213b;box-shadow:0 20px 60px #0e173d55}.champion-video-frame video{display:block;width:100%;height:100%;object-fit:contain}.champion-video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);min-height:48px;padding:12px 18px;border:1px solid #ffdf8e;border-radius:12px;background:linear-gradient(#ffe2a0,#eab65e);color:#4d3b2f;font-weight:900;white-space:nowrap}.championship-card{position:absolute;top:27%;right:6%;width:40%;max-width:570px;padding:28px;border:1px solid #e1bd7399;border-radius:23px;background:linear-gradient(135deg,#172f4bf5,#202c4fee);box-shadow:0 20px 60px #0e173d55}.champion-kicker{font-size:9px;letter-spacing:.18em;color:#dfba78;font-weight:900;margin:0 0 8px}.championship-card h3{font-size:clamp(23px,2.7vw,35px);margin:0;letter-spacing:-.035em;color:#fff3cd}#champion-summary{font-size:13px;line-height:1.6;color:#c3d7df;margin:12px 0 18px}.champion-rewards{display:flex;justify-content:space-between;gap:6px;border-top:1px solid #e8bf6b33;border-bottom:1px solid #e8bf6b33;padding:15px 0;margin-bottom:20px}.champion-rewards>span{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;font-size:25px;flex:1}.champion-rewards b{font-size:10px;color:#f2d799;font-weight:700}#champion-form>label{display:block;font-size:12px;font-weight:900;margin-bottom:8px;color:#ffe6ab}.champion-name-row{display:flex;gap:7px}#champion-name{min-width:0;width:100%;min-height:47px;border:1px solid #b4c9d3;border-radius:9px;background:#fff9e8;color:#273e50;padding:10px 12px;font-size:15px}#save-champion{min-height:47px;border:1px solid #f3cb70;border-radius:9px;background:linear-gradient(#ffe2a0,#eab65e);color:#4d3b2f;font-size:11px;font-weight:900;padding:8px 12px;white-space:nowrap}#save-champion:disabled{opacity:1;background:#8cc7b0;color:#163b3c;border-color:#9cd8b9}#champion-save-status{font-size:12px;font-weight:700;color:#a6e6c9;line-height:1.5;margin:10px 0 0}.local-history-note{font-size:10px;line-height:1.4;color:#afc5cc;margin:8px 0}.champion-recent{font-size:11px;line-height:1.7;color:#d5e6e7;overflow-wrap:anywhere}.championship-card .secondary-button{background:#ffffff0a;border-color:#b7c7cb55;color:#e6edf0;font-size:12px;min-height:40px;margin-top:16px}#history-dialog{z-index:20;background:#14223ac9;align-items:center}.history-panel{width:min(700px,100%);max-height:90dvh;overflow:auto;margin:auto;padding:28px;border:2px solid #f9e7b7;border-radius:22px;background:#fff9e9;color:#2c4b5c;text-align:center}.history-panel h2{font-size:26px;margin:8px 0 14px}.history-panel>p{font-size:12px;line-height:1.5;color:#627b7e}#history-list{list-style:none;margin:20px 0 0;padding:0;display:flex;flex-direction:column;gap:8px;text-align:left}#history-list li{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:9px;align-items:center;padding:12px;border:1px solid #d5dac9;border-radius:11px;background:#eef0e3}#history-list .history-medal{font-size:26px;text-align:center}#history-list b{display:block;font-size:15px;overflow-wrap:anywhere}#history-list small{display:block;font-size:11px;line-height:1.5;color:#5d777e}#history-list time{font-size:10px;color:#62787c}#history-list .history-empty{display:block;text-align:center;padding:25px;font-size:13px;line-height:1.6}@keyframes champion-rays{to{transform:rotate(360deg)}}.championship.quiet .championship-rays{animation:none}.championship.hidden .championship-rays{animation-play-state:paused}@media (max-width:720px){.champion-video-frame{left:12px;top:132px;width:calc(100% - 24px);height:224px;border-radius:14px}.championship-heading{top:25px;left:8px;right:8px}.championship-heading p{font-size:8px;letter-spacing:.17em}.championship-heading h2{font-size:37px}.championship-heading>span{font-size:9px;margin-top:12px;padding:6px 10px}.championship-card{position:relative;top:auto;right:auto;width:calc(100% - 24px);margin:415px 12px 20px;max-width:none;padding:20px;border-radius:17px}.champion-hero-label{top:367px;left:0;width:100%;gap:3px}.champion-hero-label b{font-size:19px}.champion-hero-label span{font-size:9px}.championship-card h3{font-size:26px}.champion-rewards{margin-bottom:16px;padding:12px 0}.champion-rewards b{font-size:9px}.champion-name-row{flex-direction:column}#champion-name{font-size:16px}#save-champion{font-size:12px}.history-panel{padding:20px 14px}#history-list li{grid-template-columns:30px minmax(0,1fr)}#history-list time{grid-column:2}}@media (max-height:600px) and (min-width:721px){.championship-heading{top:14px}.championship-heading h2{font-size:36px}.championship-heading p{font-size:8px;margin-bottom:4px}.championship-heading>span{margin-top:8px;padding:5px 10px;font-size:9px}.championship-card{top:115px;right:4%;width:44%;padding:16px}.championship-card h3{font-size:24px}#champion-summary{font-size:11px;margin:6px 0 10px}.champion-rewards{padding:7px 0;margin-bottom:10px}.champion-rewards>span{font-size:18px;gap:3px}.champion-kicker{font-size:8px}.champion-hero-label{top:83%;width:46%}.champion-hero-label b{font-size:18px}.champion-hero-label span{font-size:9px}.championship-card .secondary-button{margin-top:8px}#champion-form>label{font-size:11px}.champion-name-row{flex-direction:column}#champion-name,#save-champion{min-height:42px}.local-history-note{font-size:9px}}@media (prefers-reduced-motion:reduce){.championship-rays{animation:none}}.setup-view{min-height:100%;display:flex;align-items:center;justify-content:flex-end;padding:70px 5vw 28px}.setup-panel{width:min(620px,59vw);padding:25px 28px;background:#fffaf0f5;border:2px solid #fffdf3;border-radius:26px;box-shadow:0 10px #3c6e6b35,0 30px 80px #254a5430;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.setup-heading{display:flex;align-items:center;gap:14px;margin-bottom:20px}.setup-heading p{font-size:9px;letter-spacing:.16em;color:#648685;font-weight:900;margin:0 0 4px}.setup-heading h2{font-size:27px;margin:0;letter-spacing:-.045em}.back-button{width:44px;height:44px;border:1px solid #c4d4ca;border-radius:50%;background:#eaf0e5;color:#356565;font-size:25px}.setup-panel h3{display:flex;align-items:center;justify-content:space-between;font-size:13px;margin:18px 0 9px;color:#3b7275}.setup-panel h3 span{font-size:10px;font-weight:500;color:#7d8b80}.setup-panel .character-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.setup-panel .char-card{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;border:2px solid #d5dfd2;border-radius:14px;padding:10px 5px 8px;min-height:101px;background:#eef1e7;text-align:center;gap:5px}.setup-panel .char-card.selected{border-color:#dba548;background:#ffedbc;box-shadow:inset 0 0 0 1px #f6d385}.setup-panel .char-emoji{font-size:35px;line-height:1.2}.setup-panel .char-card b{font-size:12px;display:block}.setup-panel .char-card small{font-size:9px;display:block;margin-top:3px;color:#5e7874}.setup-panel .roster-cup{font-size:9px;right:2px;top:2px}.loadout-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.loadout-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:9px 3px;border:2px solid #d5dfd2;border-radius:13px;background:#eef1e7;color:#294e59;gap:4px;min-height:100px}.loadout-card.selected{border-color:#32968a;background:#dceee2}.loadout-card img{width:47px;height:47px;object-fit:contain}.loadout-card b{font-size:12px}.loadout-card small{font-size:10px;color:#526c6d}.setup-panel .map-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.setup-panel .map-card{display:flex;align-items:center;justify-content:center;gap:5px;min-height:45px;padding:6px;border:1px solid #cbd9cb;border-radius:10px;background:#eaf0e5;color:#456565}.setup-panel .map-card[aria-pressed=true]{border-color:#36978a;background:#d7ece0;box-shadow:inset 0 0 0 1px #36978a}.setup-panel .map-card .map-art{background:none;height:auto;font-size:21px;margin:0;display:block}.setup-panel .map-card b{font-size:10px;margin:0}.setup-panel .map-card small,.setup-panel .map-description{display:none}.setup-panel>.primary-button,.setup-panel>.secondary-button{width:100%;min-height:48px;margin-top:14px;font-size:13px;border-radius:12px}.setup-panel>.secondary-button{margin-top:8px;min-height:42px;font-size:12px}.online-lobby{margin-top:16px;border-top:1px solid #d8e0d0;padding-top:14px}.room-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:10px}.room-actions form{display:flex;gap:6px}.room-actions button{margin:0;white-space:nowrap;font-size:11px;min-height:46px;padding:8px 12px;border-radius:10px}.room-actions input{width:100%;min-width:0;border:1px solid #b7cec3;border-radius:10px;background:#fffdf5;padding:10px;text-transform:uppercase;letter-spacing:.07em;font-size:14px}.online-lobby p{font-size:12px;line-height:1.5;color:#477578;margin:10px 0 0}.room-waiting{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.room-waiting>span{font-size:9px;letter-spacing:.1em;width:100%}.room-waiting strong{font-size:27px;letter-spacing:.12em;color:#2a7d7b}.room-waiting button{border:1px solid #b8cdc0;border-radius:8px;background:#e7eee0;color:#386a67;font-size:11px;padding:10px;min-height:42px}#menu[data-play-mode=CAMPAIGN] .arena-section,#menu[data-play-mode=ONLINE] #start-button{display:none}#battle-console .weapon-options{display:flex;align-items:center;gap:16px}#battle-console .fixed-weapon{display:flex;align-items:center;gap:12px;min-width:0;flex:1}#battle-console .fixed-weapon img{width:47px;height:47px;object-fit:contain}#battle-console .fixed-weapon b{display:block;font-size:15px}#battle-console .fixed-weapon small{display:block;font-size:11px;color:#5e797a;margin-top:3px}#battle-console .weapon-fact{display:flex;flex-direction:column;gap:2px;font-size:11px;color:#557475;white-space:nowrap}#battle-console .weapon-fact b{font-size:16px;color:#37777b}#battle-console .weapon-lock{font-size:11px;color:#7e8c7f;margin-left:auto;white-space:nowrap}@media (max-width:1000px){.setup-panel{width:min(590px,65vw)}}@media (max-width:720px){.setup-view{padding:65px 12px 22px;align-items:flex-start}.setup-panel{width:100%;max-width:500px;margin:0 auto;padding:18px 14px;border-radius:21px}.setup-heading{margin-bottom:15px}.setup-heading h2{font-size:25px}.setup-panel h3{margin-top:14px}.setup-panel .char-card{min-height:89px;gap:3px}.setup-panel .char-card b,.loadout-card b{font-size:11px}.setup-panel .char-card small{font-size:8px}.setup-panel .char-emoji{font-size:29px}.setup-panel .character-grid,.loadout-options{gap:5px}.loadout-card{min-height:88px}.loadout-card img{width:41px;height:41px}.loadout-card small{font-size:9px}.setup-panel .map-card{gap:3px}.setup-panel .map-card b,.setup-panel h3 span{font-size:9px}.room-actions{grid-template-columns:1fr}#battle-console .weapon-options{gap:10px}#battle-console .fixed-weapon{gap:7px}#battle-console .fixed-weapon img{width:35px;height:35px}#battle-console .fixed-weapon b{font-size:13px}#battle-console .fixed-weapon small{font-size:10px}#battle-console .weapon-lock{display:none}#battle-console .weapon-fact b{font-size:13px}#battle-console .weapon-fact{font-size:10px}}@media (max-height:500px) and (min-width:600px){.setup-view{padding-top:60px}.setup-panel{width:min(620px,75vw);padding:17px 20px}.setup-panel .char-card{min-height:85px}}.setup-panel .map-card:after,.setup-panel .map-art:before,.setup-panel .map-art:after{display:none}#menu .setup-panel #p1-characters{grid-template-columns:repeat(4,minmax(0,1fr))}@media (max-width:720px){.setup-panel .map-card b{font-size:10px}}.home-screen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:5;overflow:auto;isolation:isolate;color:#f5f0ff}.home-screen[data-view=home]{background:#19142d}.home-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;overflow:hidden;z-index:-1;pointer-events:none;background:#211931}.home-backdrop img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;object-position:50% 48%;animation:poster-drift 22s ease-in-out infinite alternate;will-change:transform}.home-backdrop:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent 52%,#17132c26 68%,#100d298f 100%),linear-gradient(0deg,#15112640,transparent 22%)}@keyframes poster-drift{0%{transform:scale(1.015) translate(-.25%)}to{transform:scale(1.035) translate(.25%)}}.home-light{position:absolute;width:40vw;height:40vw;border-radius:50%;mix-blend-mode:screen;animation:arena-glow 5s ease-in-out infinite alternate;opacity:.16}.home-light-fire{left:15%;bottom:-10%;background:radial-gradient(ellipse,#ff902e80,transparent 65%)}.home-light-ice{right:18%;bottom:-10%;background:radial-gradient(ellipse,#40dcff80,transparent 65%);animation-delay:-2.5s}@keyframes arena-glow{to{opacity:.4;transform:scale(1.08)}}.home-sparks{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.home-sparks i{position:absolute;left:calc(var(--i)*6.1% + 2%);bottom:-12px;width:3px;height:3px;border-radius:50%;background:#ffd38a;box-shadow:0 0 8px #ff9c37;animation:arena-spark 7s linear infinite;animation-delay:calc(var(--i)*-.57s);opacity:0}.home-sparks i:nth-child(2n){background:#a8eaff;box-shadow:0 0 8px #57d8ff;width:2px;height:2px}@keyframes arena-spark{10%{opacity:.75}85%{opacity:.35}to{transform:translate(28px,-65vh);opacity:0}}.home-screen[data-view=home] .home-brand{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.sound-switch{position:fixed;top:24px;right:32px;z-index:2;display:flex;align-items:center;gap:8px;min-height:40px;padding:9px 13px;border:1px solid #f7edff38;border-radius:9px;background:#201831a8;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);color:#fff6e7;font-size:12px;font-weight:600;cursor:pointer}.sound-switch input{width:14px;height:14px;accent-color:#ebae58;margin:0}.home-view{min-height:100%;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;padding:24vh clamp(30px,5vw,100px) 3vh;gap:14px}.mode-heading{width:318px;margin:0;color:#f3d4a4;font-size:10px;font-weight:700;letter-spacing:.22em;text-shadow:0 1px 8px #0c081d}.mode-cards{display:flex;flex-direction:column;gap:17px;width:318px;max-width:100%}.home-screen>.result-message{position:absolute;top:18px;left:24px;max-width:min(560px,calc(100% - 220px));z-index:2;margin:0;border:1px solid #e4c49277;background:#241a36ef;color:#ffe5b9;font-size:13px;line-height:1.5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:10px;padding:12px 16px}.home-screen[data-view=setup] .home-backdrop{display:none}.home-screen[data-view=setup] .home-brand{position:absolute;left:5vw;top:10vh;width:28vw;text-align:center;pointer-events:none}.home-screen[data-view=setup] .home-brand p{font-size:8px;letter-spacing:.2em;color:#3f6e73}.home-screen[data-view=setup] .home-brand h1{font-size:clamp(30px,4.4vw,65px);line-height:1.05;color:#fff9de;text-shadow:0 3px #2c7076,0 6px #24565b;letter-spacing:-.055em}.home-brand em{font-style:normal;color:#ffcf70}.home-screen[data-view=setup] .sound-switch{border-color:#fff;background:#fff9eceb;color:#345d64}.setup-panel{color:#244851}.mode-card{position:relative;isolation:isolate;display:flex;align-items:center;gap:14px;width:100%;min-height:60px;padding:14px 18px;text-align:left;border:2px solid #ffe6a3;border-radius:11px;background:linear-gradient(180deg,#ffdc69,#ffb42b 18%,#ff9814 68%,#e97008);color:#fff9e5;box-shadow:inset 0 2px #fff7c9,inset 0 -3px #d85e0a,0 0 0 2px #783c29,0 7px 0 1px #8f3b1c,0 9px 0 2px #342034,0 15px 22px #10091d66;transition:transform .14s,box-shadow .14s,filter .14s;touch-action:manipulation;text-shadow:0 2px 0 #a44b17,0 1px 3px #81341280}.mode-card:before{content:"";position:absolute;inset:3px 3px auto;height:42%;border-radius:7px 7px 14px 14px;background:linear-gradient(180deg,#fff7c96b,#fff7c900);pointer-events:none;z-index:-1}.mode-card>svg,.mode-card>strong{position:relative}.mode-icon{width:24px;height:24px;flex-shrink:0;color:#fff2c7;filter:drop-shadow(0 2px 0 #b25619);stroke-width:1.9}.mode-card strong{font-size:16px;font-weight:900;letter-spacing:.015em;line-height:1.3;text-transform:uppercase;-webkit-text-stroke:.25px #99511c}.mode-arrow{width:17px;height:17px;flex-shrink:0;margin-left:auto;color:#fff2c7;filter:drop-shadow(0 2px 0 #a84c15);transition:transform .14s}.mode-card:hover{filter:brightness(1.09);transform:translateY(-2px);box-shadow:inset 0 2px #fff9d4,inset 0 -3px #d85e0a,0 0 0 2px #783c29,0 9px 0 1px #8f3b1c,0 11px 0 2px #342034,0 18px 26px #10091d77}.mode-card:hover .mode-arrow{transform:translate(2px)}.mode-card:active{transform:translateY(6px);filter:brightness(.98);box-shadow:inset 0 2px #ffeeb2,inset 0 -2px #cc5709,0 0 0 2px #783c29,0 1px 0 1px #8f3b1c,0 3px 0 2px #342034,0 6px 10px #10091d55}.mode-card:focus-visible{outline:3px solid #fff8da;outline-offset:6px}@media (min-aspect-ratio:2/1){.home-backdrop img{object-position:50% 58%}.home-view{padding-top:8vh}.mode-card{min-height:52px;padding-top:12px;padding-bottom:12px}.mode-cards{gap:13px}}@media (max-width:1000px) and (min-width:721px){.home-view{padding-right:28px}.mode-cards,.mode-heading{width:285px}.mode-card{min-height:57px;padding:13px 15px}.mode-card strong{font-size:15px}.home-backdrop img{object-position:43% 50%}.sound-switch{top:16px;right:22px}}@media (max-width:720px){.home-backdrop:before{content:"";position:absolute;top:-25px;right:-25px;bottom:-25px;left:-25px;background:linear-gradient(#21182e55,#19142df5 70%),url(/backgrounds/paw-battle-home-clean.webp) center/cover;filter:blur(18px)}.home-backdrop img{inset:auto;width:165%;max-width:none;height:auto;left:-32.5%;top:clamp(28px,7vh,64px);object-fit:contain;-webkit-mask-image:linear-gradient(transparent,#000 5%,#000 80%,transparent 100%);mask-image:linear-gradient(transparent,#000 5%,#000 80%,transparent 100%);object-position:center}.home-backdrop:after{background:linear-gradient(0deg,#15102777,transparent 55%)}.home-light{width:75vw;height:75vw;bottom:34%}.home-light-fire{left:-25%}.home-light-ice{right:-25%}.home-view{min-height:100%;padding:clamp(350px,56vh,475px) 24px 24px;align-items:center;justify-content:flex-start;gap:12px}.mode-cards,.mode-heading{width:100%;max-width:360px}.mode-heading{font-size:9px;letter-spacing:.2em;padding-left:2px}.mode-card{min-height:58px;padding:14px 16px;border-radius:9px;gap:13px}.mode-card strong{font-size:15px}.mode-cards{gap:13px}.mode-icon{width:23px;height:23px}.sound-switch{top:12px;right:14px;padding:8px 11px;min-height:36px;font-size:11px}.home-screen[data-view=setup] .home-brand{display:none}.home-screen>.result-message{top:57px;left:14px;right:14px;max-width:none;font-size:11px;padding:9px 12px}}@media (max-width:720px) and (max-height:700px){.home-view{padding-top:342px;padding-bottom:18px;gap:10px}.mode-card{min-height:54px;padding:12px 14px}.mode-cards{gap:13px}.mode-card strong{font-size:14px}.mode-heading{font-size:8px}.home-backdrop img{top:25px}}@media (max-height:500px) and (min-width:721px){.home-view{padding:72px 24px 18px;gap:10px}.mode-cards,.mode-heading{width:260px}.mode-card{min-height:51px;padding:11px 14px}.mode-card strong{font-size:14px}.mode-cards{gap:13px}.home-backdrop img{object-position:43% 51%}.sound-switch{top:10px;right:18px}}@media (prefers-reduced-motion:reduce){.home-backdrop img,.home-light,.home-sparks i{animation:none;will-change:auto}.home-sparks{display:none}.mode-card,.mode-arrow{transition:none}.mode-card:hover{transform:none}}.weapon-skill{flex:1;min-width:120px;max-width:430px;font-size:13px;line-height:1.35;color:#35626a}.poison-status{color:#7937a0;font-size:12px;font-weight:800;white-space:nowrap}.player-panel.poisoned{box-shadow:inset 0 -3px #b875cf,0 0 14px #8e47a633}.combat-meta{gap:8px}.combat-meta b{margin-left:auto}.boss-intent{border:1px solid #ecc58a!important;background:#fff5db!important;color:#755123;font-size:12px;font-weight:800;line-height:1.35}.boss-intent[data-stance=exposed]{background:#fff1e1!important;color:#af4824;border-color:#f0a966!important}.arena-toolbar{gap:6px;flex-wrap:wrap}.poison-damage{color:#df9bff;text-shadow:0 2px 3px #351440,1px 0 #351440,-1px 0 #351440}.damage-float.critical-damage{width:clamp(190px,23vw,270px);aspect-ratio:1661/947;text-align:center;line-height:1;white-space:nowrap;z-index:4;animation:critical-pop 1.65s ease-out forwards;text-shadow:none;transform:translate(-50%,-50%)}.critical-damage img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain}.critical-damage strong{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-7deg);font-size:clamp(34px,4vw,50px);font-weight:1000;color:#d71928;letter-spacing:-.04em;-webkit-text-stroke:1px #181019;text-shadow:2px 2px 0 #ffcd32}.critical-damage .critical-armor{position:absolute;left:50%;top:65%;transform:translate(-50%);font-size:13px;font-weight:900;color:#38202a}.damage-bonus.max-air{color:#a75300;text-shadow:0 0 8px #ffc55088}.poisoned .hp-track{outline:1px solid #af64d9;box-shadow:0 0 8px #ad55d950}@keyframes critical-pop{0%{opacity:0;transform:translate(-50%,-35%) scale(.7)}12%{opacity:1;transform:translate(-50%,-50%) scale(1.16)}25%{opacity:1;transform:translate(-50%,-55%) scale(1)}75%{opacity:1}to{opacity:0;transform:translate(-50%,-85%) scale(1)}}@media (prefers-reduced-motion:reduce){.damage-float.critical-damage{animation:none;transform:translate(-50%,-50%)}}.battle-result{white-space:pre-line;font-weight:800;color:#97611d;line-height:1.7}.home-screen>.result-message b,.home-screen>.result-message small{display:block;white-space:pre-line}.home-screen>.result-message small{margin-top:4px;color:#ffdb91}.daily-challenge{display:flex;flex-direction:column;gap:5px;width:100%;border:1px solid #d9bb77;border-radius:12px;padding:11px 14px;margin:0 0 17px;text-align:left;color:#ffe2a3;background:linear-gradient(125deg,#42314e,#302a43);cursor:pointer}.daily-challenge small{font-size:11px;line-height:1.5;color:#d7c8df}.daily-challenge[aria-pressed=true]{background:linear-gradient(125deg,#70502a,#463045);border-color:#ffc95d;box-shadow:inset 0 0 0 1px #ffc95d}.daily-challenge[hidden]{display:none}.setup-panel [inert]{opacity:.65}.career-stages{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:16px}.career-stages span{border:1px solid #e1cfa4;border-radius:7px;padding:8px 5px;text-align:center;font-size:12px;color:#836022;background:#fff6df}.achievement-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}.achievement{display:grid;grid-template-columns:33px 1fr;gap:4px 8px;border:1px solid #d4d8d0;border-radius:10px;padding:11px;color:#61716d;background:#f0f0e9}.achievement>span{grid-row:span 2;font-size:25px;filter:grayscale(1);opacity:.55}.achievement b{font-size:14px}.achievement small{font-size:12px;line-height:1.5}.achievement.earned{border-color:#d6aa54;background:#fff2c9;color:#755019}.achievement.earned>span{filter:none;opacity:1}@media (max-width:720px){.weapon-skill{min-width:0;font-size:11px;max-width:none}.poison-status{font-size:10px}.combat-meta{gap:4px}.combat-meta:has(.poison-status:not([hidden])){display:grid;grid-template-columns:1fr auto;gap:2px}.combat-meta:has(.poison-status:not([hidden])) .poison-status{grid-column:1/-1;grid-row:2}.combat-meta:has(.poison-status:not([hidden])) b{grid-column:2;grid-row:1;white-space:nowrap}.boss-intent{font-size:10px;max-width:100%;padding:4px 8px!important}.career-stages{grid-template-columns:repeat(2,1fr)}.achievement{padding:8px;grid-template-columns:25px 1fr;gap:3px 5px}.achievement>span{font-size:21px}.achievement b{font-size:12px}.achievement small{font-size:11px}.battle-result{font-size:13px}}@media (max-height:500px) and (min-width:600px){.arena-toolbar>.boss-intent{position:absolute;top:78px;left:50%;transform:translate(-50%);width:max-content;max-width:70%;font-size:9px;padding:3px 7px!important}.weapon-skill{font-size:11px}}#battle-console .angle-face{position:absolute!important;bottom:24px;left:50%;transform:translate(-50%);max-height:none!important}#battle-console{--dock-size:116px;--dial:94px;--slot:54px;--orb:88px;position:fixed;left:0;right:0;bottom:0;width:100%;height:calc(var(--dock-size) + env(safe-area-inset-bottom));padding:7px max(12px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));margin:0;display:grid;grid-template-columns:110px minmax(160px,1fr) auto var(--orb);gap:14px;align-items:center;pointer-events:auto;color:#f6e7cd;background:linear-gradient(180deg,#8d7970 0,#bca18a 3px,#392d2e 5px,#191e29 12px,#292a34 60%,#121720);border-top:3px solid #d5b187;box-shadow:0 -4px #352732,0 -8px 16px #1923394d;isolation:isolate}#battle-console:before{content:"";position:absolute;top:9px;right:5px;bottom:5px;left:5px;border:1px solid #706269;border-radius:12px;pointer-events:none;z-index:-1}#battle-console .aim-panel{height:100%;position:relative;display:flex;align-items:center;justify-content:center;padding:0 0 22px;border:0;min-width:0}#battle-console .angle-face{position:relative;width:var(--dial);height:var(--dial);max-height:100%;aspect-ratio:1;border-radius:50%;border:3px solid #c3c4c6;background:radial-gradient(circle at 40% 25%,#3c4354,#171b25 70%);box-shadow:0 0 0 2px #6d6570,0 0 0 4px #23252f,inset 0 0 0 3px #777782,inset 0 0 10px #000}#battle-console .angle-ticks{position:absolute;top:7px;right:7px;bottom:7px;left:7px;border-radius:50%;background:repeating-conic-gradient(#a6a3a0 0deg 1deg,transparent 1deg 10deg);mask:radial-gradient(transparent 60%,#000 62%)}#battle-console #angle-needle{display:block;position:absolute;left:50%;top:49%;width:38%;height:4px;border-radius:4px;background:linear-gradient(#ff9376,#ff4735);transform-origin:0 50%;box-shadow:0 0 5px #fa573475;pointer-events:none}#battle-console .angle-hub{position:absolute;left:calc(50% - 5px);top:calc(50% - 5px);width:10px;height:10px;background:#f6d3a0;border:2px solid #9c766a;border-radius:50%;pointer-events:none}#battle-console #angle-display{position:absolute;left:0;right:0;bottom:11%;text-align:center;color:#fff5d9;font-size:20px;font-weight:900;line-height:1;text-shadow:0 2px #070a12;pointer-events:none}#battle-console .angle-min,#battle-console .angle-max{position:absolute;top:35%;font-size:9px;color:#a8b5c6;pointer-events:none}#battle-console .angle-min{left:10%}#battle-console .angle-max{right:10%}#battle-console #angle-slider{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;padding:0;margin:0;opacity:0;cursor:ew-resize;touch-action:none}#battle-console .angle-face:focus-within{outline:3px solid #ffd887;outline-offset:4px}#battle-console .move-controls{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:4px;height:26px}#battle-console .move-controls button{width:28px;height:26px;min-height:26px;border:1px solid #988784;border-radius:5px;background:linear-gradient(#777985,#303641);color:#fff3d8;padding:0;font-size:11px;touch-action:none;-webkit-user-select:none;user-select:none}#battle-console .move-controls button:disabled{opacity:.45}#battle-console #move-budget{font-size:10px;font-weight:700;white-space:nowrap;color:#d2d7df}#battle-console .power-panel{display:block;min-width:0;padding:0 2px;align-self:center}#battle-console .power-heading{display:flex;align-items:center;gap:10px;height:28px;font-size:10px;white-space:nowrap;min-width:0;color:#b8b6c1}#battle-console .power-heading>b{font-size:11px;color:#ffbd85;letter-spacing:.06em}#battle-console #power-percent{font-size:18px;color:#fff1d7;margin-left:5px;font-variant-numeric:tabular-nums}#battle-console #last-shot{overflow:hidden;text-overflow:ellipsis;font-size:10px;color:#d0c5d1;margin-left:auto}#battle-console #weapon-options{display:flex;flex:0 0 auto;align-items:center;margin:0;padding:0;background:none;gap:0;min-width:0}#battle-console .fixed-weapon{display:flex;align-items:center;gap:4px;min-width:0;max-width:none}#battle-console .fixed-weapon img{width:27px;height:27px;object-fit:contain}#battle-console .fixed-weapon b{font-size:10px;color:#e6d0a8}#battle-console .fixed-weapon small{display:none}#battle-console .power-ruler{position:relative;padding-top:20px;margin:0 0 4px}#battle-console .power-track{height:35px;border:2px solid #afa7ac;border-radius:2px;margin:0;overflow:visible;background:linear-gradient(#adb1bb,#e0d9df 40%,#aaa3b1);box-shadow:0 0 0 2px #161c2c,inset 0 1px 4px #1c223375}#battle-console #power-fill{height:100%;width:0;border-radius:0;background:linear-gradient(0deg,#eb426e,#e05cdb 18%,#ff5969 55%,#ff633e);box-shadow:0 0 8px #ff527a80}#battle-console .ruler-lines{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:0;background:repeating-linear-gradient(90deg,transparent 0 calc(2% - 1px),#33364835 calc(2% - 1px) 2%),repeating-linear-gradient(90deg,transparent 0 calc(10% - 2px),#202b4bba calc(10% - 2px) 10%);pointer-events:none}#battle-console .ruler-labels{position:absolute;top:1px;left:0;right:0;display:flex;justify-content:space-between;margin:0;font-size:11px;line-height:1;color:#d6d1dc;font-weight:900;text-shadow:0 1px #11131e;pointer-events:none}#battle-console .ruler-labels span:nth-child(2n){visibility:visible}#battle-console .ruler-labels span:last-child{transform:translate(-11px)}#battle-console #previous-power{top:-10px;bottom:-3px;width:3px;background:#fff6ce;z-index:2;box-shadow:0 0 2px #2a1e28}#battle-console #previous-power:before{color:#ffe0b4;font-size:13px;top:-8px;left:-5px;text-shadow:0 1px 3px #231d31}#battle-console #charge-button{position:absolute;left:0;right:0;bottom:0;top:20px;display:grid;place-items:center;min-height:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;color:#412c42;opacity:1;touch-action:none;-webkit-user-select:none;user-select:none}#battle-console #charge-button span{font-size:10px;font-weight:900;letter-spacing:.05em;text-shadow:0 1px #fff7e5ad;pointer-events:none}#battle-console #charge-button kbd{font-size:9px;margin-left:8px;color:inherit;border:1px solid #715c73;border-radius:3px;padding:1px 4px}#battle-console #charge-button:disabled{cursor:default;color:#595a6d}#battle-console #charge-button:active:not(:disabled){box-shadow:inset 0 0 15px #ff879d77}#battle-console.charging #charge-button span{opacity:.35}#battle-console .powerup-options{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:5px;margin:0;padding:0;max-width:none;overflow:visible;min-width:0}#battle-console .powerup-options .game-option{position:relative;display:grid;place-items:center;flex:0 0 var(--slot);width:var(--slot);height:65px;min-height:0;padding:3px;border-radius:7px;border:2px solid #978277;background:linear-gradient(145deg,#e9d9a4,#b3a16d 47%,#72655b);box-shadow:inset 0 0 0 2px #352d32,0 3px #0e1420;color:#fff3d6;text-align:center;white-space:normal;text-decoration:none}#battle-console .powerup-options .game-option:disabled{opacity:1;filter:saturate(.35) brightness(.67);color:#e3d9d0}#battle-console .powerup-options .game-option.selected{border-color:#ffde79;box-shadow:0 0 0 2px #e98d46,0 0 12px #ffaf5070;filter:none}#battle-console .powerup-icon{width:35px;height:35px;object-fit:contain;filter:drop-shadow(0 1px 1px #3b2f33)}#battle-console .powerup-copy{display:contents}#battle-console .powerup-copy b{position:absolute;left:0;right:0;bottom:3px;font-size:9px;line-height:1;text-shadow:0 1px #181720;font-weight:800}#battle-console .powerup-copy>span{display:none}#battle-console .supply-count{position:absolute;right:2px;top:1px;background:#252333e6;color:#ffe9ab;border-radius:3px;min-width:16px;font-size:10px;line-height:15px;font-weight:900;padding:0 2px;z-index:1}#battle-console #ultimate-button{position:relative;width:var(--orb);height:var(--orb);min-height:0;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;border-radius:50%;border:4px solid #bbc0ca;background:radial-gradient(circle at 34% 25%,#55baff,#1267c3 50%,#132b65 80%);color:#cce6ff;box-shadow:0 0 0 2px #64626d,0 0 0 5px #29232e,inset 0 0 0 3px #4e72ad,inset 0 0 15px #052052;opacity:1;font-size:11px;font-weight:900;text-align:center;isolation:isolate}#battle-console #ultimate-button:before{content:"";position:absolute;top:-5px;right:-5px;bottom:-5px;left:-5px;border-radius:50%;background:conic-gradient(#ffc76c calc(var(--rage,0) * 1%),#4f5566 0);z-index:-1;mask:radial-gradient(transparent 63%,#000 65%)}#battle-console #ultimate-button strong{font-size:29px;line-height:1;color:#fff3cf;text-shadow:0 2px 2px #152a66}#battle-console #ultimate-button small{font-size:9px;line-height:1.3}#battle-console #ultimate-button:disabled{cursor:default}#battle-console #ultimate-button.ready{color:#fff5cc;border-color:#ffe1a4;box-shadow:0 0 0 3px #b98e65,0 0 22px #ffc15a90,inset 0 0 20px #e99e5b50}#battle-console #ultimate-button[aria-pressed=true]{background:radial-gradient(circle at 35% 25%,#ffde78,#d86a34 65%,#823d46)}@media (max-width:1100px){#battle-console{--dock-size:108px;--dial:82px;--slot:44px;--orb:76px;grid-template-columns:92px minmax(150px,1fr) auto var(--orb);gap:9px;padding-left:9px;padding-right:9px}#battle-console .powerup-options{gap:4px}#battle-console .powerup-options .game-option{height:59px}#battle-console .powerup-icon{width:32px;height:32px}#battle-console .fixed-weapon b{display:none}#battle-console .power-heading{gap:6px}#battle-console #ultimate-button strong{font-size:25px}}@media (max-width:900px){#battle-console{--dock-size:104px;--dial:76px;--slot:36px;--orb:68px;grid-template-columns:84px minmax(140px,1fr) auto var(--orb);gap:8px;padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}#battle-console .powerup-options{gap:3px}#battle-console .powerup-options .game-option{height:54px;padding:2px;border-width:1px}#battle-console .powerup-icon{width:28px;height:28px}#battle-console .powerup-copy b{font-size:8px;bottom:3px}#battle-console .power-heading{font-size:9px;height:24px}#battle-console #last-shot{font-size:9px}#battle-console .fixed-weapon img{width:24px;height:24px}#battle-console .power-track{height:31px}#battle-console .ruler-labels{font-size:10px}#battle-console #charge-button span{font-size:8px}#battle-console #charge-button kbd{display:none}#battle-console #angle-display{font-size:17px}#battle-console #ultimate-button strong{font-size:23px}#battle-console #ultimate-button{font-size:10px}#battle-console .move-controls button{width:26px}#battle-console #move-budget{font-size:9px}}@media (max-width:740px){#battle-console{--dock-size:98px;--dial:70px;--slot:31px;--orb:58px;grid-template-columns:76px minmax(125px,1fr) auto var(--orb);gap:6px;padding-left:6px;padding-right:6px}#battle-console #last-shot{font-size:8px;max-width:105px}#battle-console .powerup-options{gap:2px}#battle-console .powerup-options .game-option{height:51px}#battle-console .powerup-icon{width:25px;height:25px}#battle-console .powerup-copy b{font-size:7px}#battle-console .angle-face{border-width:2px}#battle-console #ultimate-button{border-width:3px}#battle-console #ultimate-button strong{font-size:21px}#battle-console .move-controls{gap:3px}#battle-console .move-controls button{width:23px}#battle-console .supply-count{font-size:9px;min-width:13px;line-height:13px}#battle-console .power-heading{gap:4px}#battle-console .power-heading>b{font-size:9px}#battle-console #power-percent{font-size:15px}#battle-console .fixed-weapon img{width:21px;height:21px}#battle-console #charge-button span{font-size:7px}#battle-console .ruler-labels{font-size:9px}}@media (max-height:350px){#battle-console{--dock-size:88px;--dial:60px;--orb:56px}#battle-console .power-heading{height:21px}#battle-console .powerup-options .game-option{height:48px}#battle-console .power-ruler{padding-top:17px}#battle-console #charge-button{top:17px}#battle-console .power-track{height:28px}}#game-shell{display:contents}#hud{padding-bottom:0}.battle-nav{display:flex;align-items:center;gap:8px;white-space:nowrap}.battle-minimap{display:inline-block;position:relative;width:110px;height:16px;border-bottom:3px solid #7fa995}.battle-minimap b{position:absolute;bottom:0;width:9px;height:9px;border:2px solid #fffdf0;border-radius:50%;transform:translate(-50%);background:#d99248;box-shadow:0 1px 2px #315866}.battle-minimap #mini-p2{background:#865995}.battle-sound{position:relative;display:grid;place-items:center;width:33px;height:33px;border:1px solid #d4daca;border-radius:8px;background:#fff9eeef;pointer-events:auto;cursor:pointer;font-weight:900;color:#7b768c}.battle-sound input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.battle-sound:has(input:checked){color:#ba733c}.battle-sound:has(input:focus-visible){outline:3px solid #ef8b47;outline-offset:2px}.battle-sound:has(input:not(:checked)):after{content:"";position:absolute;width:21px;height:2px;background:#a46a60;transform:rotate(-45deg);pointer-events:none}.wind-help{font-size:9px;color:#6c7588;letter-spacing:.04em}.wind-help b{color:#965d67;white-space:nowrap;font-size:11px;margin-left:4px}.guide-setting{position:fixed;right:15px;top:150px;border-radius:5px;background:#fff4db;padding:5px 8px;font-size:10px;pointer-events:auto;z-index:4;align-items:center;gap:5px}.guide-setting:not([hidden]){display:flex}.flight-indicator{position:fixed;z-index:4;transform:translate(-50%);padding:4px 8px;border-radius:20px;background:#fff1ceeb;border:1px solid #c1955b;font-size:11px;font-weight:900;color:#8a512d;white-space:nowrap;pointer-events:none;box-shadow:0 2px 5px #1d254329}.orientation-gate{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:15px;padding:32px;background:radial-gradient(ellipse at 50% 38%,#334975,#141d33 80%);color:#fff2d1}.orientation-gate[hidden]{display:none}.orientation-gate h2{font-size:clamp(19px,5vw,27px);margin:8px 0 0;letter-spacing:.05em}.orientation-gate p{max-width:290px;font-size:15px;line-height:1.6;margin:0;color:#c6d5eb}.orientation-gate small{font-size:11px;color:#9fadc5}.orientation-gate button{min-height:46px;padding:10px 22px;border:2px solid #ffe2a4;border-radius:12px;background:linear-gradient(#ffda8b,#df944b);color:#462e35;font-size:14px;font-weight:900;box-shadow:0 4px #8e5f4b;margin-top:8px}.rotate-phone{position:relative;width:76px;height:124px;display:grid;place-items:center;border:5px solid #f3d69f;border-radius:16px;color:#f3d69f;font-size:41px;transform:rotate(-90deg);box-shadow:0 0 40px #94c9ff2b}.rotate-phone:after{content:"";position:absolute;bottom:7px;width:20px;height:3px;border-radius:3px;background:#f3d69f}@media (orientation:landscape) and (max-height:600px){#hud{padding:5px max(8px,env(safe-area-inset-right)) 0 max(8px,env(safe-area-inset-left));gap:4px}#hud .hud-top{position:relative;width:min(66%,740px);margin:0 auto;gap:8px}#hud .player-panel{width:35%;padding:5px 8px;border-radius:9px}#hud .player-meta{flex-direction:row;gap:3px;font-size:10px;margin-bottom:4px}#hud .player-meta strong{font-size:9px}#hud .hp-track{height:6px}#hud .combat-meta{font-size:8px;margin-top:3px}#hud .rage-track{height:4px;margin-top:3px}#hud .match-readouts{display:flex;flex-direction:column;gap:2px;min-width:105px;width:30%}#hud .wind-card{min-width:0;width:100%;padding:2px 4px;border-radius:8px;display:grid;grid-template-columns:auto auto auto;align-items:center;gap:0 3px}#hud .wind-title{font-size:7px;letter-spacing:.05em}#hud .wind-card strong{font-size:16px;line-height:1}#hud .wind-direction{font-size:17px;margin-left:0;line-height:1}#hud .wind-help{display:block;grid-column:1/-1;font-size:7px;line-height:1.3}#hud .wind-help b{font-size:9px}#hud .turn-timer{padding:2px 4px;min-width:0;min-height:0;border-radius:6px;display:flex;align-items:center;justify-content:center;gap:6px}#hud .timer-caption{font-size:6px;line-height:1}#hud .turn-timer strong{font-size:16px;line-height:1}#hud #turn-penalty{font-size:8px}#hud .turn-time-track{display:none}#hud .arena-toolbar{position:absolute;top:6px;left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));align-items:flex-start;pointer-events:none;font-size:9px}#hud .arena-toolbar>span:first-child{width:15%;max-width:15%;padding:5px;font-size:8px;line-height:1.5}#hud .arena-toolbar>div{flex-direction:row;gap:3px;pointer-events:auto}#hud .arena-toolbar button{min-height:29px;padding:4px 6px;font-size:8px}.battle-sound{width:29px;height:29px}#hud #restart-button{font-size:0}#hud #restart-button:after{content:"↻";font-size:14px}#hud #menu-button{font-size:0}#hud #menu-button:after{content:"☰";font-size:14px}#hud #fullscreen-button{font-size:15px}#hud .battle-nav{position:absolute;top:37px;left:0;padding:3px 5px;gap:4px;font-size:8px;display:flex!important}#hud .battle-minimap{width:45px;height:12px}#hud .boss-intent{position:absolute;top:75px;left:0;max-width:190px!important;font-size:8px;padding:3px 5px}#hud .center-notice{display:block;top:77px!important;left:22%;right:22%}#hud .center-notice>span{font-size:9px;line-height:1.2;padding:4px 8px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#hud .guide-setting{right:10px;top:43px;font-size:9px;padding:4px}}@media (orientation:landscape) and (max-height:350px){#hud .center-notice{top:70px!important}#hud .player-panel{padding:4px 6px}#hud .hud-top{gap:5px}#hud .combat-meta{font-size:7px}#hud .boss-intent{top:68px;max-width:165px!important}#hud .battle-nav{top:35px}}@media (orientation:landscape) and (max-width:740px){#hud .hud-top{width:54%;margin-left:19%;margin-right:0;gap:5px}#hud .match-readouts{min-width:92px}#hud .player-meta,#hud .player-meta strong{font-size:8px}#hud .player-panel{padding:4px 5px}#hud .wind-help{font-size:6px}#hud .wind-help b{font-size:8px}}@media (orientation:landscape) and (max-width:740px) and (max-height:600px){.home-screen .home-view{min-height:100%;padding:48px 18px 14px;align-items:flex-end;justify-content:center;gap:8px}.home-screen .mode-cards,.home-screen .mode-heading{width:230px;max-width:44vw}.home-screen .mode-heading{font-size:8px;line-height:12px;letter-spacing:.16em}.home-screen .mode-cards{gap:9px}.home-screen .mode-card{min-height:44px;height:44px;padding:8px 12px;gap:9px}.home-screen .mode-card strong{font-size:12px}.home-screen .mode-icon{width:19px;height:19px}.home-screen .mode-arrow{width:13px}.home-screen .home-backdrop:before{display:none}.home-screen .home-backdrop img{right:0;bottom:0;left:0;top:0;width:100%;height:100%;object-fit:cover;object-position:42% 50%;-webkit-mask-image:none;mask-image:none}.home-screen .sound-switch{top:8px;right:14px;min-height:30px;padding:5px 8px;font-size:10px}.home-screen .setup-view{padding:48px 12px 16px;align-items:flex-start}.home-screen .setup-panel{width:80vw;max-width:570px;margin:0 0 0 auto;padding:14px 16px}.home-screen .setup-heading{margin-bottom:10px}.home-screen .setup-heading h2{font-size:21px}.home-screen .setup-panel .character-grid{gap:5px}.home-screen .setup-panel .char-card{min-height:76px;padding:6px 3px}.home-screen .loadout-card{min-height:75px}.home-screen .loadout-card img{width:33px;height:33px}}
