:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0b1018;--surface:#141d29;--line:#344150;--text:#e6edf3;--muted:#a0aebd;--accent:#91dec9}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}*{box-sizing:border-box}html,body{background:var(--bg);min-height:100%;color:var(--text);margin:0;font-family:Arial,Malgun Gothic,sans-serif}button,input{font:inherit}button{background:var(--accent);color:#10221e;cursor:pointer;border:1px solid #6ba99c;border-radius:7px;padding:9px 15px;font-weight:700}button:hover:not(:disabled){filter:brightness(1.1)}button:disabled{opacity:.5;cursor:default}button:focus-visible,input:focus-visible,summary:focus-visible{outline-offset:2px;outline:2px solid #dcfff2}small{color:var(--muted)}.secondary-button{color:var(--text);background:#1b2b35;border-color:#536a75}.unsupported-size{display:none}.diagnostics,.test-state{width:1px;height:1px;overflow:hidden;position:absolute!important;left:-10000px!important}body:has(.match-shell){overflow:hidden}.arena:focus{outline:none}.lobby-shell{max-width:1180px;min-height:100dvh;margin:auto;padding:28px 24px 44px}.lobby-header{border-bottom:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;padding-bottom:18px;font-size:13px;display:flex}.lobby-header strong{color:#fff;letter-spacing:-.055em;font:900 26px/1 Arial,sans-serif}.lobby-content{grid-template-columns:minmax(250px,.8fr) minmax(450px,1.2fr);align-items:center;gap:48px;min-height:calc(100dvh - 120px);display:grid}.lobby-intro>span{color:var(--accent);font-size:12px}.lobby-intro h1{letter-spacing:-.045em;margin:18px 0;font-size:clamp(42px,5vw,74px);line-height:1.12}.lobby-intro p{color:var(--muted);max-width:340px;line-height:1.7}.lobby-panel{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:20px}.lobby-join-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.entry-option{border:1px solid var(--line);background:#101923;border-radius:10px;flex-direction:column;gap:12px;min-width:0;padding:18px;display:flex}.entry-option>strong{font-size:19px}.entry-option label{color:var(--muted);gap:8px;font-size:12px;display:grid}.entry-option input{background:var(--bg);width:100%;min-width:0;color:var(--text);border:1px solid #4c606b;border-radius:6px;padding:10px}.entry-option button{margin-top:auto}.entry-option small{font-size:11px}.lobby-loadout{border-top:1px solid var(--line);gap:12px;margin-top:16px;padding-top:16px;display:grid}.lobby-loadout>div:first-child{align-items:center;gap:12px;display:flex}.lobby-loadout .lobby-kit{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;display:grid}.lobby-kit>span{border:1px solid var(--line);text-align:center;border-radius:7px;flex-direction:column;align-items:center;gap:3px;min-width:0;padding:7px 3px;display:flex}.lobby-kit small{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:10px;overflow:hidden}.lobby-loadout>button{justify-self:start}.lobby-status{min-height:20px;color:var(--muted);font-size:13px}.dev-connect{color:var(--muted);border-color:var(--line);background:0 0;padding:5px 8px;font-size:11px}.match-shell{background:#090f17;grid-template-rows:48px minmax(0,1fr) 96px;width:100%;min-width:0;height:100dvh;display:grid;overflow:hidden}.match-shell>*{min-width:0;min-height:0}.match-header{border-bottom:1px solid var(--line);background:var(--surface);grid-template-columns:115px minmax(160px,1fr) 120px minmax(160px,1fr) 115px;align-items:center;gap:10px;padding:0 14px;display:grid}.match-logo{letter-spacing:-.05em;color:#fff;font-size:19px}.team-frame{min-width:0}.player-frame{grid-template-columns:14px auto minmax(35px,1fr) auto;align-items:center;gap:7px;height:39px;font-size:12px;display:grid}.player-frame>div:nth-child(2){white-space:nowrap;display:grid}.player-frame>div:nth-child(2)>span{color:var(--muted);font-size:11px}.player-frame small{white-space:nowrap;font-size:10px}.player-mark{color:#65bbff;font-size:14px}.hp-track{background:#334150;border-radius:5px;height:6px;overflow:hidden}.hp-track i{background:#6fc7b9;height:100%;display:block}.match-clock{text-align:center;display:grid}.match-clock b{font-size:22px;line-height:1}.match-clock small{font-size:10px}.header-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.header-actions button{color:var(--text);border-color:var(--line);background:#1d2b35;padding:5px 9px;font-size:12px}.connection-dot{background:#82dab6;border-radius:50%;width:8px;height:8px}.arena-viewport{isolation:isolate;background:#080d15;place-items:center;min-width:0;min-height:0;display:grid;position:relative;overflow:hidden}.arena{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;inset:0;overflow:hidden}.arena canvas{display:block}.match-overlay{z-index:5;pointer-events:none;place-items:center;display:grid;position:absolute}.waiting-overlay,.result-overlay{pointer-events:auto;background:#0c1521ed;border:1px solid #597f80;border-radius:11px;flex-direction:column;align-items:stretch;gap:10px;width:min(440px,100% - 32px);max-height:calc(100% - 32px);padding:16px;display:flex;inset:auto 16px 16px auto;overflow:auto;box-shadow:0 14px 35px #0009}.waiting-heading{justify-content:space-between;align-items:center;display:flex}.waiting-heading span{color:var(--accent);font-size:11px}.waiting-heading strong{font-size:18px}.ready-players{grid-template-columns:1fr 1fr;gap:8px;display:grid}.ready-players span{border:1px solid var(--line);color:var(--muted);border-radius:6px;padding:7px 9px;font-size:12px}.ready-players .is-ready{color:#d6fff1;border-color:var(--accent)}.waiting-invite,.waiting-actions,.result-actions{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.waiting-invite{border-top:1px solid var(--line);justify-content:space-between;padding-top:8px;font-size:12px}.waiting-invite b{letter-spacing:.12em;font-size:15px}.waiting-invite button,.waiting-actions button,.result-actions button{padding:7px 10px;font-size:12px}.waiting-actions{justify-content:flex-end}.opponent-kit{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;font-size:11px;display:flex}.opponent-kit>span{border:1px solid var(--line);border-radius:5px;align-items:center;gap:3px;padding:3px 5px;display:inline-flex}.waiting-overlay>small{font-size:11px}.result-overlay{text-align:center;align-items:center;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.result-overlay h2{margin:0;font-size:32px}.result-overlay p{color:var(--muted);margin:0}.result-overlay>span{color:var(--accent);font-size:12px}.countdown-overlay,.start-overlay{inset:0}.countdown-overlay span,.start-overlay span{color:#f4fff9;text-shadow:0 4px 30px #000,0 0 22px #8fe2c9;font-size:clamp(72px,14vw,170px);font-weight:900;animation:.3s ease-out cue}.start-overlay span{font-size:clamp(44px,8vw,90px)}@keyframes cue{0%{opacity:.2;transform:scale(.75)}to{opacity:1;transform:scale(1)}}.match-notice{z-index:7;pointer-events:none;background:#172c32ed;border:1px solid #608f87;border-radius:6px;max-width:70%;padding:7px 12px;font-size:12px;position:absolute;top:12px;left:50%;transform:translate(-50%)}.skillbar{border-top:1px solid var(--line);background:var(--surface);grid-template-columns:110px minmax(0,1fr) 110px;align-items:center;gap:12px;padding:5px 18px;display:grid}.skillbar-slots{justify-content:center;gap:8px;min-width:0;display:flex}.skill-tile{text-align:center;background:#0e1721;border:1px solid #425664;border-radius:7px;flex:0 92px;grid-template-rows:44px 16px 14px;align-content:center;place-items:center;min-width:64px;height:83px;padding:4px 2px 3px;display:grid;position:relative;overflow:hidden}.skill-tile.utility-start{margin-left:16px}.skill-tile.disabled{opacity:.65}.skill-key{font-size:12px;font-weight:800;position:absolute;top:3px;left:7px}.skill-label{white-space:nowrap;text-overflow:ellipsis;max-width:90%;font-size:11px;overflow:hidden}.skill-state{color:var(--muted);font-size:10px}.cooldown-shade{pointer-events:none;background:#08101899;position:absolute;inset:0}.selected-status,.match-network{color:var(--muted);font-size:11px}.match-network{text-align:right}.skill-icon{color:#9fe4d5;flex:none;display:inline-block}.empty-icon{font-size:21px;line-height:1}.icon-fire{color:#ffad76}.icon-ice{color:#9adff9}.icon-heavy{color:#f5d389}.icon-bounce{color:#c7a9f7}.icon-barrier{color:#9ec7ff}.icon-flash{color:#f4d780}.icon-cleanse{color:#bcebd3}.dialog-backdrop{z-index:50;background:#02070dd9;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.dialog-panel{background:#121e2a;border:1px solid #607785;border-radius:12px;flex-direction:column;width:min(1050px,100%);min-height:0;max-height:calc(100dvh - 32px);display:flex;overflow:hidden;box-shadow:0 20px 70px #000c}.dialog-title{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;height:58px;padding:0 20px;display:flex}.dialog-title h2{margin:0;font-size:22px}.dialog-title button{color:var(--text);border-color:var(--line);background:0 0;padding:6px 10px;font-size:12px}.dialog-tabs{flex:none;gap:8px;padding:12px 20px 0;display:flex}.dialog-tabs button{color:var(--muted);border-color:var(--line);background:#1b2a36}.dialog-tabs button[aria-selected=true]{color:#e5fff4;border-color:var(--accent);background:#23483f}.dialog-message{border:1px solid #789589;border-radius:6px;margin:5px 20px;padding:7px 10px;font-size:12px}.equipment-tab,.controls-tab{min-height:0;padding:14px 20px 20px;overflow:auto}.slot-strip{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;display:grid}.slot-strip button{min-width:0;color:var(--text);border-color:var(--line);background:#0e1721;align-items:center;gap:5px;padding:8px;display:flex}.slot-strip button.active{border-color:var(--accent);background:#1a3837}.slot-strip button.pending-target{box-shadow:inset 0 0 0 2px #d5bb74}.slot-strip button b{color:var(--accent)}.slot-strip button span{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.slot-strip button small{font-size:9px}.library-grid{grid-template-columns:minmax(250px,1fr) minmax(280px,1.1fr);gap:16px;margin-top:16px;display:grid}.skill-library,.skill-detail{border:1px solid var(--line);background:#0e1721;border-radius:9px;min-width:0;padding:14px}.skill-library h3,.skill-detail h3{margin:0 0 7px}.skill-library p,.skill-detail p{color:var(--muted);font-size:12px;line-height:1.5}.library-list{gap:6px;display:grid}.library-list button{text-align:left;width:100%;color:var(--text);border-color:var(--line);background:#182633;align-items:center;gap:9px;padding:7px;display:flex}.library-list button.active{border-color:var(--accent);background:#22403c}.library-list button span:nth-child(2){flex:1;display:grid}.library-list button small,.library-list button>span:last-child{font-size:10px}.detail-heading{align-items:center;gap:12px;display:flex}.detail-heading h3{font-size:21px}.detail-facts{flex-wrap:wrap;gap:6px;display:flex}.detail-facts span{border:1px solid var(--line);border-radius:5px;padding:5px 7px;font-size:11px}.skill-preview{border:1px solid var(--line);background:linear-gradient(90deg,#182a3b 50%,#322632 50%);border-radius:7px;height:98px;margin:12px 0 8px;position:relative;overflow:hidden}.preview-player{background:#79c9fa;border:2px solid #fff;border-radius:50%;width:13px;height:13px;position:absolute;top:44%;left:20%}.preview-wall{border-left:2px solid #a0aebd;height:100%;position:absolute;top:0;right:9%}.preview-effect{color:#e8f3ff;border:2px solid;border-radius:50%;width:15px;height:15px;position:absolute;top:44%;left:25%}.skill-preview.playing .preview-effect{animation:.8s ease-out both shot}.preview-ricochet_orb.playing .preview-effect{animation:1.1s ease-in-out both bounce}.preview-flash.playing .preview-effect{animation:.55s steps(2,end) both flash}.preview-barrier.playing .preview-effect,.preview-cleanse.playing .preview-effect{animation:.7s ease-out both pulse}.equip-actions{gap:8px;margin-top:10px;display:flex}.skill-detail>small{margin-top:7px;font-size:10px;display:block}.opponent-summary{color:var(--muted);margin-top:12px;font-size:12px}.opponent-summary>div{flex-wrap:wrap;gap:8px;margin-top:7px;display:flex}.controls-tab>p{color:var(--muted);margin-top:0;font-size:13px}.control-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:9px;display:flex}.control-row>span{align-items:center;gap:9px;display:flex}.control-row b{width:20px}.control-row button{min-width:75px;color:var(--text);border-color:var(--line);background:#243340;padding:7px}.control-row button.switch-on{border-color:var(--accent);background:#275d4b}.settings-dialog{width:min(560px,100%)}.settings-body{color:var(--muted);padding:20px;font-size:13px;overflow:auto}.settings-body details{border-top:1px solid var(--line);margin-top:16px;padding-top:12px}.settings-body output,.settings-body p{overflow-wrap:anywhere}.playing-warning{color:#f0d6ae;background:#30281d;border:1px solid #b0936e;padding:10px}@keyframes shot{to{left:85%;transform:scale(1.2)}}@keyframes bounce{50%{left:85%}to{top:68%;left:48%}}@keyframes flash{to{opacity:.3;left:72%}}@keyframes pulse{to{opacity:0;transform:scale(3.4)}}@media (prefers-reduced-motion:reduce){.skill-preview.playing .preview-effect{animation:none;left:66%}.countdown-overlay span,.start-overlay span{animation:none}}@media (max-width:1100px){.match-header{grid-template-columns:85px minmax(120px,1fr) 75px minmax(120px,1fr) 80px;gap:5px;padding:0 8px}.player-frame small{display:none}.skillbar{grid-template-columns:60px minmax(0,1fr) 60px;gap:5px;padding:5px 7px}.skillbar-slots{gap:5px}.skill-tile.utility-start{margin-left:8px}}@media (max-width:700px){.lobby-content{grid-template-columns:1fr;align-items:start;gap:20px;padding-top:40px}.lobby-join-grid{grid-template-columns:1fr}.lobby-kit{grid-template-columns:repeat(3,minmax(0,1fr))!important}.library-grid{grid-template-columns:1fr}.slot-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.dialog-backdrop{padding:0}.dialog-panel{border-radius:0;max-height:100dvh}.match-header .hp-track{display:none}.match-header{grid-template-columns:75px 1fr 65px 1fr 65px}.skillbar{grid-template-columns:0 minmax(0,1fr) 0}.selected-status,.match-network{display:none}.skill-tile{min-width:43px}.skill-tile svg{width:31px;height:31px}.skill-tile.utility-start{margin-left:4px}}@media (max-width:1023px),(max-height:639px){.unsupported-size{z-index:45;text-align:center;color:#f4dfbb;pointer-events:none;background:#332a20;border:1px solid #997858;border-radius:5px;padding:5px;font-size:11px;display:block;position:fixed;bottom:102px;left:8px;right:8px}}.skill-tile.basic-tile{flex-basis:82px;grid-template-rows:36px 16px 12px 10px;margin-right:16px}.basic-cooldown{color:var(--muted);font-size:9px}.slot-strip{grid-template-columns:repeat(7,minmax(0,1fr))}.basic-mode{border:1px solid var(--line);border-radius:8px;flex-wrap:wrap;gap:20px;margin-bottom:15px;padding:12px;display:flex}.basic-mode label{align-items:center;gap:7px;font-size:13px;display:flex}.basic-mode input{width:auto;margin:0}.basic-mode legend{color:var(--accent);font-size:13px}.lobby-kit{grid-template-columns:repeat(7,minmax(0,1fr))}@media (max-width:700px){.slot-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.skill-tile.basic-tile{margin-right:6px}}.slot-strip button small{white-space:nowrap;flex:none}.lobby-notice{color:var(--muted);margin:6px 0;font-size:12px;line-height:1.6}.icon-rain{color:#ffbb68}.recast-ready .skill-state{color:#ffe3a3;z-index:2;font-size:10px}.recast-cooldown{color:#b7c4cc;z-index:2;font-size:9px;position:absolute;top:3px;right:5px}.preview-firework_rain .preview-effect{clip-path:polygon(100% 50%,50% 10%,55% 37%,0 30%,15% 50%,0 70%,55% 63%,50% 90%);width:24px;height:16px;box-shadow:none;background:#ffc276;border-radius:0}.preview-firework_rain.playing .preview-effect{animation:1.6s ease-out forwards preview-rain}@keyframes preview-rain{0%{top:60%;left:16%;transform:rotate(-25deg)}55%{top:22%;left:62%;transform:rotate(-25deg)}56%{transform:rotate(90deg)}to{opacity:0;top:85%;left:62%;transform:rotate(90deg)}}.hp-track{position:relative}.hp-track i,.hp-track .hp-damage-trail{height:100%;display:block;position:absolute;top:0;left:0}.hp-track .hp-damage-trail{opacity:.65;background:#e9d6a4}.audio-settings label{align-items:center;gap:12px;margin:8px 0;display:flex}.audio-settings input[type=range]{flex:1;min-width:100px}.audio-settings button[aria-pressed=true]{color:#edfff7;background:#315c52}.preview-ice_shard .preview-effect{color:#b9eeff;border-radius:0;width:8px;height:22px;transform:rotate(45deg)}.preview-ice_shard.playing .preview-player{box-shadow:0 0 0 2px #b9eeff}.match-shell{background:#294239}.match-header,.skillbar{background:#182932;border-color:#64756f}.match-logo{color:#f3f1e7;letter-spacing:.02em}.match-clock{border-left:1px solid #667870;border-right:1px solid #667870;padding:4px 8px}.match-clock b{color:#f3f1e7}.match-clock small{color:#b5c4ba}.match-header .hp-track{background:#36494e;border:1px solid #71827b;height:7px}.match-header .hp-track i{background:#7fbdb0}.match-header>.team-frame:nth-child(4) .hp-track i{background:#d39189}.match-header .player-mark{color:#7fbdb0}.match-header>.team-frame:nth-child(4) .player-mark{color:#d39189}.match-header .header-actions button{background:#253942;border-color:#6c7b75}.skill-tile{background:#172831;border-color:#6a7c79;border-radius:6px}.skill-tile.selected{border-color:#a6dbc1;box-shadow:inset 0 0 0 1px #a6dbc1}.skill-state,.match-network,.selected-status{color:#b4c3bf}.touch-prototype .unsupported-size{display:none}.touch-prototype .match-header{grid-template-columns:64px minmax(110px,1fr) 64px minmax(110px,1fr) 64px;gap:8px;padding:0 8px}.touch-prototype .player-frame{grid-template-columns:8px auto minmax(30px,1fr);gap:5px;height:32px;font-size:10px}.touch-prototype .player-frame>div:nth-child(2){gap:5px;display:flex}.touch-prototype .player-frame small{display:none}.touch-prototype .hp-track{height:7px;display:block}.touch-prototype .match-clock{border:0;padding:0}.touch-prototype .match-clock b{font-size:21px}.touch-prototype .match-clock small{display:none}.touch-prototype .header-actions button{min-height:32px;padding:5px 8px}.touch-prototype .connection-dot{width:5px;height:5px}.touch-prototype .arena,.touch-skill,.touch-cancel{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.touch-controls{z-index:6;pointer-events:none;grid-template-columns:56px 56px;gap:6px;display:grid;position:absolute;bottom:14px;right:4px}.touch-skill{color:#e6fff4;pointer-events:auto;background:#152a32eb;border:1px solid #7e9d97;flex-direction:column;justify-content:center;align-items:center;gap:0;width:56px;height:56px;padding:2px;display:flex;position:relative;overflow:hidden}.touch-skill svg,.touch-skill span{pointer-events:none;z-index:1}.touch-skill span{font-size:11px;line-height:14px}.touch-skill.selected{border-color:#cbfff0;box-shadow:inset 0 0 0 2px #9bd7c5}.touch-skill.recast{color:#ffe4b0;border-color:#ffc777}.touch-skill:disabled{opacity:.45}.touch-basic{flex-direction:row;grid-column:span 2;gap:10px;width:118px;height:60px}.touch-basic span{font-size:15px}.touch-cooldown{pointer-events:none;background:#08101877;position:absolute;inset:0}.touch-cancel{z-index:6;color:#ffd6d2;text-align:center;pointer-events:none;background:#40232de6;border:1px dashed #dbafae;border-radius:8px;place-items:center;width:100px;min-height:56px;font-size:11px;display:grid;position:absolute;bottom:14px;left:12px}.touch-presets{flex-wrap:wrap;align-items:center;gap:7px;margin-top:8px;display:flex}.touch-presets>span{color:var(--muted);font-size:11px}.touch-presets button{min-height:40px;padding:7px 10px;font-size:12px}.touch-instructions{color:var(--muted);font-size:12px;line-height:1.6}.touch-prototype .waiting-overlay{gap:6px;width:min(480px,100% - 260px);max-height:calc(100% - 12px);padding:10px;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.touch-prototype .waiting-actions button,.touch-prototype .waiting-invite button,.touch-prototype .result-actions button{min-height:40px;padding:7px 10px}.touch-prototype .opponent-kit{display:none}.touch-prototype .waiting-heading strong{font-size:16px}.touch-prototype .match-notice{max-width:65%;padding:4px 8px;font-size:11px;top:4px}.touch-prototype .lobby-shell{max-width:950px;padding:10px 16px 20px}.touch-prototype .lobby-header{padding-bottom:8px}.touch-prototype .lobby-header strong{font-size:20px}.touch-prototype .lobby-content{grid-template-columns:minmax(100px,.3fr) minmax(400px,1fr);gap:20px;min-height:0;padding-top:14px}.touch-prototype .lobby-intro h1{margin:12px 0;font-size:30px}.touch-prototype .lobby-intro p{font-size:12px}.touch-prototype .lobby-panel{padding:12px}.touch-prototype .entry-option{gap:8px;padding:10px}.touch-prototype .entry-option>strong{font-size:16px}.touch-prototype .entry-option button{min-height:44px}.touch-prototype .lobby-loadout{gap:7px;margin-top:10px;padding-top:10px}.touch-prototype .lobby-kit>span{padding:4px}.touch-prototype .lobby-loadout>div:first-child small{display:none}.touch-prototype .lobby-status{margin-bottom:0;font-size:11px}.touch-prototype .dialog-title{height:44px;padding:0 12px}.touch-prototype .dialog-title button{min-height:36px}.touch-prototype .dialog-tabs{padding:6px 12px 0}.touch-prototype .dialog-tabs button{min-height:40px;padding:6px 12px}.touch-prototype .equipment-tab,.touch-prototype .controls-tab{padding:10px 12px}.touch-prototype .settings-body{padding:12px}.touch-prototype .settings-body button{min-height:40px}.rotate-notice{z-index:60;text-align:center;background:#10202cf7;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:24px;display:flex;position:fixed;inset:0}.rotate-notice span,.rotate-notice small{color:var(--muted)}@media (max-width:700px){.touch-prototype .lobby-content{grid-template-columns:1fr}.touch-prototype .lobby-intro{display:none}.touch-prototype .lobby-join-grid{grid-template-columns:1fr 1fr}}.touch-prototype{--touch-safe-top:env(safe-area-inset-top);--touch-safe-right:env(safe-area-inset-right);--touch-safe-bottom:env(safe-area-inset-bottom);--touch-safe-left:env(safe-area-inset-left)}.touch-prototype .match-shell{padding:var(--touch-safe-top) var(--touch-safe-right) var(--touch-safe-bottom) var(--touch-safe-left);grid-template-rows:48px minmax(0,1fr)}.touch-prototype .match-header{border:0;box-shadow:inset 0 -1px #64756f}.touch-prototype .player-frame{grid-template-columns:8px auto minmax(30px,1fr) auto;height:44px;font-size:12px}.touch-prototype .player-frame>div:nth-child(2)>span{font-size:11px}.touch-prototype .player-frame small{white-space:normal;color:#b9cbc4;max-width:86px;font-size:11px;line-height:13px;display:block}.touch-prototype .player-frame small[data-active=true]{color:#e0faff;background:#2d4e58;border:1px solid #75acb9;border-radius:4px;padding:3px}.touch-prototype .header-actions button{width:56px;min-height:48px;padding:6px}.touch-prototype .connection-dot{display:none}.touch-prototype .touch-presets button,.touch-prototype .waiting-actions button,.touch-prototype .waiting-invite button,.touch-prototype .result-actions button{min-height:48px}.touch-prototype .lobby-shell{padding:max(10px,var(--touch-safe-top)) max(16px,var(--touch-safe-right)) max(20px,var(--touch-safe-bottom)) max(16px,var(--touch-safe-left))}.touch-prototype .lobby-loadout>button,.touch-prototype .entry-option button,.touch-prototype .entry-option input{min-height:48px}.touch-prototype .lobby-kit{grid-template-columns:repeat(7,minmax(0,1fr))}.touch-prototype .dialog-backdrop{padding:max(6px,var(--touch-safe-top)) max(6px,var(--touch-safe-right)) max(6px,var(--touch-safe-bottom)) max(6px,var(--touch-safe-left))}.touch-prototype .dialog-panel{max-height:calc(100dvh - max(6px,var(--touch-safe-top)) - max(6px,var(--touch-safe-bottom)))}.touch-prototype .dialog-title{height:48px}.touch-prototype .dialog-title button,.touch-prototype .dialog-tabs button,.touch-prototype .slot-strip button,.touch-prototype .library-list button,.touch-prototype .equip-actions button,.touch-prototype .control-row button,.touch-prototype .settings-body button{min-height:48px}.touch-prototype .slot-strip{grid-template-columns:repeat(7,minmax(0,1fr))}.touch-prototype .slot-strip button{gap:3px;padding:5px}.touch-prototype .slot-strip button small{display:none}.touch-prototype .audio-settings label{min-height:48px}.touch-prototype .audio-settings input[type=range]{height:48px}.touch-controls{bottom:20px;right:16px}.touch-prototype .arena-viewport{container:touch-arena/size}.touch-prototype .arena{width:calc(100% - 150px);right:150px}.touch-controls .touch-cancel{width:118px;min-height:48px;bottom:calc(100% + 6px);left:auto;right:0}@container touch-arena (max-height:327px){.touch-prototype .arena{width:calc(100% - 212px);right:212px}.touch-controls{grid-template-columns:repeat(3,56px);bottom:12px}.touch-controls .touch-cancel{width:56px;height:56px;min-height:56px;padding:4px;position:static}}.touch-prototype .match-header{grid-template-columns:64px minmax(110px,1fr) 64px minmax(110px,1fr) 128px}.touch-prototype .header-actions .fullscreen-button{width:64px;padding:4px;font-size:11px}.lobby-header-actions,.display-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.touch-prototype .fullscreen-button,.display-actions button{min-width:64px;min-height:48px}.rotate-notice{padding:max(12px,var(--touch-safe-top)) max(16px,var(--touch-safe-right)) max(12px,var(--touch-safe-bottom)) max(16px,var(--touch-safe-left));gap:10px;overflow:auto}.rotate-notice p{max-width:480px;color:var(--muted);margin:0;font-size:12px;line-height:1.5}html:fullscreen{background:var(--bg);width:100%;height:100%}html:fullscreen{background:var(--bg);width:100%;height:100%}.rotate-notice{justify-content:safe center}.touch-prototype .arena{width:100%;height:100%;inset:0}.touch-prototype .match-header{background:#13252bd9;grid-template-columns:48px minmax(110px,1fr) 48px minmax(110px,1fr) 104px;gap:6px;padding:0 8px}.touch-prototype .match-logo{font-size:11px}.touch-prototype .header-actions{gap:4px}.touch-prototype .header-actions .fullscreen-button{word-break:keep-all;line-height:1.2}.touch-prototype .header-actions button,.touch-prototype .header-actions .fullscreen-button{background:#182e3466;width:48px;min-width:48px;height:48px;padding:1px;font-size:10px}.touch-controls{background:0 0;grid-template-columns:repeat(4,52px);gap:6px;padding:0;bottom:12px;right:12px}.touch-skill,.touch-controls .touch-basic{background:#1328328c;border-color:#99b4ad99;border-radius:50%;flex-direction:column;grid-column:auto;gap:0;width:52px;height:52px}.touch-controls .touch-basic span{font-size:11px}.touch-skill svg{width:25px;height:25px}.touch-controls .touch-cancel{pointer-events:auto;background:#3b232d99;border-radius:24px;width:104px;height:48px;min-height:48px;position:absolute;bottom:calc(100% + 8px);left:auto;right:0}.touch-aim-hint{z-index:6;color:#cef2e6;pointer-events:none;background:#112831b3;border-radius:16px;padding:5px 9px;font-size:11px;position:absolute;top:8px;left:50%;transform:translate(-50%)}.fullscreen-feedback{background:#392e23ed;border:1px solid #b39a72;border-radius:8px;align-items:center;gap:10px;padding:8px 10px;font-size:12px;display:flex}.fullscreen-feedback button{color:#fff;background:#403b30;flex:none;min-width:48px;min-height:48px;padding:6px}.match-shell .fullscreen-feedback{z-index:9;max-width:min(380px,100% - 260px);position:absolute;bottom:12px;left:12px}@container touch-arena (max-height:327px){.touch-prototype .arena{width:100%;height:100%;inset:0}.touch-controls{grid-template-columns:repeat(4,48px);gap:6px;bottom:10px;right:10px}.touch-skill,.touch-controls .touch-basic{width:48px;height:48px}.touch-controls .touch-cancel{width:104px;height:48px;min-height:48px;position:absolute;bottom:calc(100% + 8px);right:0}}
