*{box-sizing:border-box;user-select:none;margin:0;padding:0}html,body{color:#f3f4f6;background:#111827;width:100%;height:100%;font-family:Inter,system-ui,-apple-system,sans-serif;overflow:hidden}#gameCanvas{cursor:grab;width:100%;height:100%;display:block}#gameCanvas:active{cursor:grabbing}.hud{z-index:20;pointer-events:none;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px;display:flex;position:fixed;top:12px;left:12px;right:12px}.hud-card{pointer-events:auto;backdrop-filter:blur(10px);background:#0f172ad6;border:1px solid #ffffff24;border-radius:14px;max-width:520px;padding:10px 14px;box-shadow:0 10px 28px #00000073}.hud-title{color:#fde68a;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:3px;font-size:14px;font-weight:700;display:flex}.net-status-inline{color:#34d399;margin-bottom:4px;font-size:11.5px;font-weight:600}.hud-sub{color:#cbd5e1;font-size:12px;line-height:1.4}.badge-ok{color:#10b981;background:#10b98126;border:1px solid #10b98159;border-radius:999px;padding:2px 7px;font-size:11px;font-weight:600;display:none}.hud-actions{pointer-events:auto;flex-wrap:wrap;gap:8px;display:flex}.mission-strip{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin-top:2px;display:flex}.mission-pill{color:#fde68a;background:#f59e0b38;border:1px solid #fbbf248c;border-radius:999px;padding:3px 10px;font-size:11.5px;font-weight:800}.mission-pill.carrying{color:#a7f3d0;background:#10b98147;border-color:#34d399;box-shadow:0 0 12px #10b98173}.cataclysm-pill{color:#ffedd5;background:#f9731647;border:1px solid #fb923c;border-radius:999px;padding:3px 10px;font-size:11.5px;font-weight:800;display:none}.cataclysm-pill.active{align-items:center;gap:4px;display:inline-flex}.ability-hud{z-index:22;pointer-events:auto;backdrop-filter:blur(8px);cursor:pointer;background:#0f172ae0;border:1px solid #fbbf2473;border-radius:14px;align-items:center;gap:10px;padding:7px 14px;display:flex;position:fixed;bottom:52px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #00000080}.ability-key{color:#111827;background:linear-gradient(135deg,#f59e0b,#d97706);border-radius:7px;padding:3px 9px;font-size:13px;font-weight:900}.ability-hud.cooldown .ability-key{color:#94a3b8;background:#334155}.ability-info{flex-direction:column;gap:2px;display:flex}.ability-name{color:#f8fafc;font-size:12px;font-weight:800}.ability-bar-bg{background:#ffffff24;border-radius:999px;width:150px;height:5px;overflow:hidden}.ability-bar-fill{background:linear-gradient(90deg,#34d399,#fbbf24);width:100%;height:100%;transition:width .1s linear}button{cursor:pointer;border:1px solid #ffffff29;border-radius:10px;padding:8px 13px;font-family:inherit;font-size:12.5px;font-weight:600;transition:transform .12s,background .15s,border-color .15s}button:active{transform:scale(.97)}.photo-btn{color:#111827;background:linear-gradient(135deg,#f59e0b,#d97706);border-color:#fbbf24}.photo-btn:hover{background:linear-gradient(135deg,#fbbf24,#f59e0b)}.save-btn{color:#fff;background:linear-gradient(135deg,#10b981,#059669);border-color:#34d399}.save-btn:hover{background:linear-gradient(135deg,#34d399,#10b981)}.sec-btn{color:#e2e8f0;background:#1e293be6}.sec-btn:hover{background:#334155f2;border-color:#ffffff4d}.zone-pill{z-index:20;pointer-events:none;color:#f8fafc;white-space:nowrap;background:#0f172ad9;border:1px solid #ffffff26;border-radius:999px;padding:6px 16px;font-size:12.5px;position:fixed;bottom:14px;left:50%;transform:translate(-50%);box-shadow:0 6px 20px #0006}.modal-backdrop{z-index:50;backdrop-filter:blur(6px);background:#030712c2;justify-content:center;align-items:center;padding:16px;display:none;position:fixed;inset:0}.modal-backdrop.open{display:flex}.modal-window{background:#1e293b;border:1px solid #ffffff29;border-radius:18px;width:100%;max-width:880px;max-height:92vh;padding:18px 20px;overflow-y:auto;box-shadow:0 24px 60px #000000a6}.modal-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.modal-head h2{color:#fde68a;font-size:17px}.modal-sub{color:#cbd5e1;margin-bottom:14px;font-size:12.5px;line-height:1.45}.slots-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;display:grid}.slot-card{background:#0f172aa6;border:1px solid #ffffff1a;border-radius:12px;flex-direction:column;gap:8px;padding:12px;display:flex}.slot-title{color:#f8fafc;font-size:13px;font-weight:700}.slot-desc{color:#94a3b8;font-size:11.5px;line-height:1.35}.slot-controls{flex-direction:column;gap:6px;margin-top:auto;display:flex}.slot-controls input[type=file]{color:#cbd5e1;width:100%;font-size:11.5px}.slot-controls select{color:#f3f4f6;background:#0f172a;border:1px solid #fff3;border-radius:8px;width:100%;padding:5px 8px;font-size:12px}.thumbs{flex-wrap:wrap;align-items:center;gap:8px;min-height:74px;display:flex}.thumb-item{color:#cbd5e1;cursor:pointer;background:#0000005c;border:1px solid #ffffff1f;border-radius:9px;align-items:center;gap:7px;padding:5px 8px;font-size:11px;transition:border-color .15s;display:flex}.thumb-item:hover,.thumb-item.active{background:#fbbf241f;border-color:#fbbf24}.thumb-item img{object-fit:cover;background:#0f172a;border:1px solid #ffffff47;border-radius:6px;flex-shrink:0;width:64px;height:64px}.tune-panel{background:#0f172ac7;border:1px solid #fbbf244d;border-radius:12px;flex-direction:column;gap:8px;margin-top:12px;padding:11px 13px;display:none}.tune-panel.open{display:flex}.tune-grid{grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:8px 12px;display:grid}.tune-grid label{color:#cbd5e1;flex-direction:column;gap:3px;font-size:11px;display:flex}.tune-grid input[type=range]{accent-color:#f59e0b;cursor:pointer;width:100%}.modal-foot{border-top:1px solid #ffffff1a;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:16px;padding-top:12px;display:flex}#modalStatus{color:#6ee7b7;font-size:12.5px;font-weight:500}.lobby-backdrop{z-index:60;backdrop-filter:blur(8px);background:radial-gradient(circle,#0f172a94,#030712db);justify-content:center;align-items:center;padding:16px;display:none;position:fixed;inset:0}.lobby-backdrop.open{display:flex}.lobby-window{background:#111827f0;border:1px solid #ffffff2e;border-radius:20px;width:100%;max-width:940px;max-height:93vh;padding:20px 22px;overflow-y:auto;box-shadow:0 28px 70px #000000b8}.lobby-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.lobby-header h1{color:#fde68a;margin-bottom:4px;font-size:20px}.lobby-header p{color:#cbd5e1;font-size:12.5px;line-height:1.45}.heroes-grid{grid-template-columns:repeat(auto-fit,minmax(195px,1fr));gap:12px;margin-bottom:14px;display:grid}.hero-card{cursor:pointer;text-align:center;background:#1e293bc7;border:2px solid #ffffff1f;border-radius:16px;flex-direction:column;align-items:center;gap:6px;padding:12px;transition:transform .14s,border-color .16s,background .16s,box-shadow .16s;display:flex;position:relative}.hero-card:hover{border-color:#fbbf248c;transform:translateY(-2px)}.hero-card.selected{background:linear-gradient(#f59e0b33,#1e293beb);border-color:#fbbf24;box-shadow:0 0 0 3px #fbbf2438,0 12px 26px #00000073}.hero-preview-wrap{background:repeating-conic-gradient(#ffffff0f 0% 25%,#0f172a80 0% 50%) 50%/16px 16px;border:1px solid #ffffff1f;border-radius:12px;justify-content:center;align-items:flex-end;width:112px;height:128px;padding:4px;display:flex;overflow:hidden}.hero-preview-wrap img{object-fit:contain;filter:drop-shadow(0 4px 8px #0000008c);max-width:100%;max-height:100%}.hero-name{color:#f8fafc;font-size:15px;font-weight:800}.hero-scale{color:#93c5fd;font-size:11.5px;font-weight:600}.hero-perk{color:#cbd5e1;min-height:28px;font-size:11px;line-height:1.3}.frames-mini{gap:4px;margin-top:2px;display:flex}.frames-mini img{object-fit:contain;background:#0f172abf;border:1px solid #ffffff24;border-radius:5px;width:28px;height:28px}.upload-section{background:#0f172ab8;border:1px solid #ffffff1f;border-radius:14px;margin-bottom:12px;padding:12px 15px}.upload-section-title{color:#fde68a;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;font-size:13.5px;font-weight:700;display:flex}.upload-section-sub{color:#94a3b8;margin-bottom:10px;font-size:11.5px;line-height:1.4}.upload-rows{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;display:grid}.upload-row{background:#1e293bbf;border:1px solid #ffffff1a;border-radius:10px;flex-direction:column;gap:6px;padding:9px 10px;display:flex}.upload-row-top{justify-content:space-between;align-items:center;gap:6px;display:flex}.upload-row-name{color:#f1f5f9;font-size:12.5px;font-weight:700}.loaded-pill{color:#94a3b8;background:#64748b40;border:1px solid #94a3b840;border-radius:999px;padding:2px 7px;font-size:10.5px;font-weight:700}.loaded-pill.ready{color:#34d399;background:#10b9812e;border-color:#10b98173}.file-btn-label{text-align:center;cursor:pointer;color:#bfdbfe;background:#3b82f638;border:1px solid #60a5fa66;border-radius:8px;padding:6px 10px;font-size:11.5px;font-weight:600;transition:background .15s;display:inline-block}.file-btn-label:hover{background:#3b82f65c}.file-btn-label input{display:none}.lb-table-wrap{overflow-x:auto}.lb-table{border-collapse:collapse;color:#e2e8f0;width:100%;font-size:12px}.lb-table th,.lb-table td{text-align:left;border-bottom:1px solid #ffffff14;padding:6px 8px}.lb-table th{color:#94a3b8;text-transform:uppercase;font-size:11px;font-weight:700}.lb-table td.num,.lb-table th.num{text-align:center;font-variant-numeric:tabular-nums}.lb-mini{background:#0f172ab3;border:1px solid #ffffff1a;border-radius:12px;margin-top:6px;padding:8px 10px}.net-section{background:#0f172ac7;border:1px solid #38bdf859;border-radius:14px;margin-bottom:12px;padding:12px 15px}.net-row{flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px;display:flex}.room-code-box{letter-spacing:1.5px;color:#7dd3fc;background:#020617cc;border:1px dashed #38bdf8;border-radius:10px;padding:6px 12px;font-size:14px;font-weight:900}.room-code-input{color:#f8fafc;letter-spacing:2px;text-align:center;background:#0f172a;border:1px solid #ffffff40;border-radius:10px;width:112px;padding:7px 10px;font-size:14px;font-weight:800}.hero-card.net-taken{opacity:.55;cursor:not-allowed;border-color:#f43f5e73}.taken-tag{color:#fda4af;background:#f43f5e40;border:1px solid #f43f5e80;border-radius:999px;padding:2px 7px;font-size:10px;font-weight:800;position:absolute;top:8px;right:8px}.me-tag{color:#6ee7b7;background:#10b98147;border:1px solid #34d39999;border-radius:999px;padding:2px 7px;font-size:10px;font-weight:800;position:absolute;top:8px;right:8px}.bot-tag{color:#94a3b8;background:#64748b40;border:1px solid #94a3b84d;border-radius:999px;padding:2px 6px;font-size:10px;font-weight:700;position:absolute;top:8px;left:8px}.lobby-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.play-btn{color:#fff;background:linear-gradient(135deg,#10b981,#059669);border:1px solid #34d399;border-radius:12px;padding:10px 24px;font-size:14px;font-weight:800;box-shadow:0 8px 22px #10b98159}.play-btn:hover{background:linear-gradient(135deg,#34d399,#10b981)}.round-bar{pointer-events:auto;backdrop-filter:blur(10px);background:#0f172ae0;border:1px solid #ffffff2e;border-radius:16px;flex-direction:column;align-items:center;gap:6px;min-width:310px;padding:8px 14px;display:flex;box-shadow:0 12px 30px #00000080}.round-top-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.round-timer{font-variant-numeric:tabular-nums;color:#f8fafc;letter-spacing:.5px;background:#020617a6;border:1px solid #ffffff24;border-radius:10px;padding:2px 11px;font-size:22px;font-weight:900}.round-phase-pill{color:#7dd3fc;background:#38bdf833;border:1px solid #38bdf873;border-radius:999px;padding:4px 11px;font-size:12px;font-weight:800}.round-phase-pill.overdrive{color:#fda4af;background:#f43f5e42;border-color:#fb7185;animation:.9s infinite alternate pulseOverdrive;box-shadow:0 0 16px #f43f5e73}@keyframes pulseOverdrive{0%{transform:scale(1)}to{transform:scale(1.04)}}.roles-strip{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.role-chip{color:#e2e8f0;background:#1e293be6;border:1px solid #ffffff24;border-radius:999px;align-items:center;gap:5px;padding:3px 9px;font-size:11px;font-weight:700;display:flex}.role-chip.survivor{color:#a7f3d0;border-color:#34d39973}.role-chip.bubbled{color:#e0f2fe;background:#0ea5e93d;border-color:#38bdf8}.role-chip.catcher{color:#f5d0fe;background:#d946ef3d;border-color:#e879f9;box-shadow:0 0 10px #d946ef59}.center-banner{z-index:45;pointer-events:none;opacity:0;text-align:center;background:linear-gradient(135deg,#0f172af0,#1e1b4bf0);border:2px solid #fbbf24bf;border-radius:20px;max-width:min(92vw,660px);padding:16px 28px;transition:opacity .28s,transform .28s;position:fixed;top:22%;left:50%;transform:translate(-50%,-50%)scale(.92);box-shadow:0 20px 55px #000000b3,0 0 32px #ec489959}.center-banner.show{opacity:1;transform:translate(-50%,-50%)scale(1)}.center-banner.overdrive-alert{background:linear-gradient(135deg,#450a0af2,#4c0519f2);border-color:#fb7185;box-shadow:0 20px 60px #000c,0 0 42px #f43f5ea6}.center-banner-title{color:#fde68a;letter-spacing:.3px;margin-bottom:4px;font-size:23px;font-weight:900}.center-banner-sub{color:#f1f5f9;font-size:13.5px;font-weight:600;line-height:1.4}.result-backdrop{z-index:58;backdrop-filter:blur(7px);background:#030712c2;justify-content:center;align-items:center;padding:16px;display:none;position:fixed;inset:0}.result-backdrop.open{display:flex}.result-card{text-align:center;background:#111827f2;border:2px solid #fbbf2480;border-radius:22px;width:100%;max-width:520px;max-height:92vh;padding:24px;overflow-y:auto;box-shadow:0 25px 70px #000000bf}.result-title{color:#fde68a;margin-bottom:8px;font-size:26px;font-weight:900}.result-desc{color:#cbd5e1;margin-bottom:16px;font-size:13.5px;line-height:1.5}.result-roles{flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:14px;display:flex}.awards-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin-bottom:14px;display:grid}.award-card{background:linear-gradient(145deg,#1e293beb,#0f172aeb);border:1px solid #fbbf2473;border-radius:14px;flex-direction:column;align-items:center;gap:3px;padding:9px 10px;display:flex;box-shadow:0 6px 18px #00000059}.award-icon{font-size:22px}.award-title{color:#fde68a;font-size:11.5px;font-weight:800}.award-winner{color:#f8fafc;font-size:12px;font-weight:700}.award-stat{color:#94a3b8;font-size:10.5px}.touch-controls{z-index:28;pointer-events:none;display:none;position:fixed;inset:0}.touch-controls.active{display:block}.joy-zone{pointer-events:auto;touch-action:none;background:radial-gradient(circle,#0f172a52,#0f172a9e);border:2px solid #ffffff47;border-radius:50%;justify-content:center;align-items:center;width:138px;height:138px;display:flex;position:fixed;bottom:18px;left:18px;box-shadow:0 8px 26px #0000006b,inset 0 0 18px #38bdf829}.joy-stick{pointer-events:none;background:linear-gradient(135deg,#fbbf24e0,#f59e0bd9);border:2px solid #ffffffbf;border-radius:50%;width:58px;height:58px;transition:transform 60ms ease-out;transform:translate(0);box-shadow:0 6px 16px #00000080}.touch-actions{pointer-events:none;align-items:flex-end;gap:14px;display:flex;position:fixed;bottom:18px;right:18px}.touch-btn{pointer-events:auto;touch-action:none;color:#fff;text-align:center;border:2px solid #ffffff8c;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;font-weight:900;transition:transform 80ms;display:flex;position:relative;overflow:hidden;box-shadow:0 10px 28px #00000085}.touch-btn:active,.touch-btn.pressed{transform:scale(.92)}.touch-btn-crouch{background:radial-gradient(circle at 30% 30%,#475569e6,#1e293beb);width:54px;height:54px;font-size:9.5px;line-height:1.1}.touch-btn-crouch.active{background:radial-gradient(circle at 30% 30%,#38bdf8,#0284c7);border-color:#bae6fd}.touch-btn-jump{background:radial-gradient(circle at 30% 30%,#34d399,#059669);width:78px;height:78px;font-size:10.5px;line-height:1.15}.touch-btn-super{color:#111827;background:radial-gradient(circle at 30% 30%,#fbbf24,#d97706);width:68px;height:68px;font-size:10.5px;line-height:1.15}.touch-btn-super.cooldown{color:#cbd5e1;background:#1e293bdb;border-color:#94a3b873}.super-ring-svg{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;transform:rotate(-90deg)}.super-ring-circle{fill:none;stroke:#38bdf8;stroke-width:4.5px;stroke-dasharray:208;stroke-dashoffset:0;transition:stroke-dashoffset .1s linear}.mobile-menu-btn{display:none}body.touch-active .ability-hud{display:none!important}@media (width<=860px),(height<=520px){.desktop-only,.zone-pill,.ability-hud{display:none!important}.hud{flex-direction:column;align-items:stretch;gap:4px;top:6px;left:6px;right:6px}.round-bar{min-width:unset;background:#0f172ab8;border-color:#ffffff1f;border-radius:12px;gap:4px;width:100%;padding:5px 8px}.round-top-row{flex-wrap:nowrap;justify-content:space-between;gap:6px;width:100%}.round-timer{border-radius:7px;padding:2px 7px;font-size:15px}.round-phase-pill{white-space:nowrap;text-overflow:ellipsis;max-width:42vw;padding:3px 8px;font-size:10.5px;overflow:hidden}.mission-pill{white-space:nowrap;padding:3px 7px;font-size:10.5px}.mission-strip{gap:4px;margin-top:0}.cataclysm-pill{padding:2px 8px;font-size:10.5px}.roles-strip{flex-wrap:nowrap;justify-content:center;gap:4px;width:100%;overflow-x:auto}.role-chip{white-space:nowrap;gap:3px;padding:2px 6px;font-size:10px}.mobile-menu-btn{border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;padding:4px 10px;font-size:15px;line-height:1;display:inline-flex}.hud-actions{z-index:40;backdrop-filter:blur(12px);background:#0f172af2;border:1px solid #ffffff2e;border-radius:14px;flex-direction:column;align-items:stretch;gap:6px;min-width:190px;padding:10px;display:none;position:fixed;top:54px;right:8px;box-shadow:0 16px 40px #000000b3}.hud-actions.menu-open{display:flex}.hud-actions button{text-align:left;width:100%;padding:9px 12px;font-size:13px}.center-banner{border-radius:14px;max-width:90vw;padding:10px 16px;top:22%}.center-banner-title{font-size:16px}.center-banner-sub{font-size:11.5px}.joy-zone{opacity:.84;width:118px;height:118px;bottom:14px;left:12px}.joy-stick{width:48px;height:48px}.touch-actions{opacity:.88;gap:10px;bottom:14px;right:12px}.touch-btn-jump{width:72px;height:72px}.touch-btn-super{width:64px;height:64px}.touch-btn-crouch{width:50px;height:50px}}
