*{box-sizing:border-box;margin:0;padding:0}html,body,#app{color:#fff;touch-action:none;-webkit-user-select:none;user-select:none;background:#0f172a;width:100%;height:100%;font-family:Poppins,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow:hidden}#game-canvas{z-index:0;width:100%;height:100%;display:block;position:fixed;top:0;left:0}.game-nav-fixed{z-index:100;-webkit-backdrop-filter:blur(12px);background:#0f172ab3;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;padding:.75rem 1rem;display:flex;position:fixed;top:0;left:0;right:0}.back-btn{color:#e2e8f0;background:#ffffff14;border-radius:999px;align-items:center;gap:.5rem;padding:.5rem .85rem;font-size:.9rem;font-weight:500;text-decoration:none;transition:all .2s;display:inline-flex}.back-btn:hover{color:#fff;background:#ffffff29;transform:translate(-2px)}.back-btn i{font-size:.8rem}.nav-right{align-items:center;gap:.75rem;display:flex}.lang-switcher{background:#ffffff14;border-radius:999px;gap:.35rem;padding:.25rem;display:flex}.lang-btn{color:#cbd5e1;cursor:pointer;background:0 0;border:none;border-radius:999px;align-items:center;gap:.3rem;padding:.35rem .7rem;font-size:.8rem;font-weight:500;transition:all .2s;display:inline-flex}.lang-btn.active{color:#38bdf8;background:#38bdf833}.lang-btn:hover:not(.active){color:#fff}.hud{z-index:50;pointer-events:none;width:calc(100% - 2rem);max-width:720px;position:fixed;top:64px;left:50%;transform:translate(-50%)}.hud-panel{-webkit-backdrop-filter:blur(12px);background:#0f172aa6;border:1px solid #ffffff14;border-radius:16px;grid-template-columns:repeat(3,1fr);gap:.5rem;padding:.65rem;display:grid;box-shadow:0 10px 30px #00000040}.hud-item{background:#ffffff0d;border-radius:12px;align-items:center;gap:.5rem;padding:.4rem .5rem;display:flex}.hud-item i{color:#38bdf8;text-align:center;width:18px;font-size:.9rem}.hud-item>div{flex-direction:column;min-width:0;display:flex}.hud-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.03em;font-size:.65rem}.hud-value{color:#fff;font-size:.95rem;font-weight:700}.message{z-index:80;color:#fff;pointer-events:none;background:linear-gradient(135deg,#4facfe 0%,#00f2fe 100%);border-radius:999px;padding:.75rem 1.5rem;font-size:1rem;font-weight:700;animation:.4s slideDownFade;position:fixed;top:140px;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #0000004d}.message.hidden{display:none}.message.success{background:linear-gradient(135deg,#4facfe 0%,#00f2fe 100%)}.message.warning{background:linear-gradient(135deg,#fa709a 0%,#fee140 100%)}.game-controls{z-index:50;gap:.75rem;display:flex;position:fixed;bottom:1.25rem;left:50%;transform:translate(-50%)}.control-btn{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#e2e8f0;cursor:pointer;background:#0f172abf;border:1px solid #ffffff1a;border-radius:999px;align-items:center;gap:.5rem;padding:.65rem 1.1rem;font-size:.85rem;font-weight:600;transition:all .2s;display:inline-flex}.control-btn:hover{color:#fff;background:#38bdf833;transform:translateY(-2px)}.control-btn i{color:#38bdf8}.overlay{z-index:200;-webkit-backdrop-filter:blur(8px);pointer-events:none;background:#0f172ad9;justify-content:center;align-items:center;transition:opacity .3s;display:flex;position:fixed;inset:0}.overlay.hidden{opacity:0}.overlay-content{pointer-events:auto;text-align:center;background:#1e293bcc;border:1px solid #ffffff1a;border-radius:24px;width:calc(100% - 2rem);max-width:420px;padding:2rem;box-shadow:0 25px 60px #0006}.overlay-icon{margin-bottom:.5rem;font-size:4rem}.overlay-content h1{background:linear-gradient(135deg,#38bdf8 0%,#818cf8 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin-bottom:.35rem;font-size:1.8rem;font-weight:800}.overlay-subtitle{color:#94a3b8;margin-bottom:1.25rem;font-size:.95rem}.overlay-rules{text-align:left;margin-bottom:1.5rem;list-style:none}.overlay-rules li{color:#e2e8f0;align-items:center;gap:.6rem;padding:.5rem 0;font-size:.9rem;display:flex}.overlay-rules li i{text-align:center;color:#38bdf8;width:20px}.overlay-rules li.mobile-rule,.overlay-rules li.mobile-rule i{color:#facc15}.btn-primary{color:#fff;cursor:pointer;background:linear-gradient(135deg,#38bdf8 0%,#818cf8 100%);border:none;border-radius:999px;justify-content:center;align-items:center;gap:.5rem;padding:.85rem 2rem;font-size:1rem;font-weight:700;transition:all .2s;display:inline-flex;box-shadow:0 10px 25px #38bdf859}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 14px 35px #38bdf873}.crosshair{z-index:45;pointer-events:none;justify-content:center;align-items:center;width:24px;height:24px;display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.crosshair-dot{background:#ffffffe6;border-radius:50%;width:4px;height:4px;box-shadow:0 0 4px #00000080}.crosshair-ring{border:1.5px solid #fff9;border-radius:50%;width:18px;height:18px;position:absolute}.hp-item>div,.leader-item>div{width:100%}.hp-bar,.leader-bar{background:#00000059;border-radius:999px;width:100%;height:6px;margin:.25rem 0;overflow:hidden}.hp-fill{background:linear-gradient(90deg,#22c55e 0%,#4ade80 100%);border-radius:999px;width:100%;height:100%;transition:width .15s}.leader-hp-fill{background:linear-gradient(90deg,#f59e0b 0%,#facc15 100%);border-radius:999px;width:100%;height:100%;transition:width .15s}.weapon-hint{z-index:60;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#e2e8f0;pointer-events:none;background:#0f172ab3;border:1px solid #ffffff1a;border-radius:999px;align-items:center;gap:.4rem;padding:.5rem .85rem;font-size:.8rem;display:flex;position:fixed;bottom:1.25rem;right:1.25rem}.weapon-hint .key{color:#38bdf8;background:#ffffff1f;border-radius:6px;justify-content:center;align-items:center;min-width:22px;height:22px;padding:0 .35rem;font-weight:700;display:inline-flex}.weapon-hint .sep{color:#64748b;margin:0 .1rem}.overlay-rules kbd{color:#fff;background:#ffffff1a;border:1px solid #ffffff26;border-radius:5px;justify-content:center;align-items:center;min-width:24px;height:22px;margin:0 .1rem;padding:0 .35rem;font-family:inherit;font-size:.75rem;font-weight:700;display:inline-flex}.overlay-content .game-controls{margin-top:1.25rem;position:static;transform:none}#result-icon{margin-bottom:.5rem;font-size:4rem}.touch-controls{z-index:40;pointer-events:none;display:none;position:fixed;inset:0}.touch-controls.active{display:block}.joystick{pointer-events:auto;width:170px;height:170px;transition:opacity .15s;position:absolute;bottom:24px;left:24px}.joystick.active .joystick-ring{background:#0f172a73;border-color:#38bdf88c}.joystick-ring{background:#0f172a59;border:2px solid #ffffff40;border-radius:50%;transition:border-color .15s,background .15s;position:absolute;inset:0}.joystick-knob{background:#38bdf899;border:2px solid #fff6;border-radius:50%;width:66px;height:66px;margin:-33px 0 0 -33px;transition:transform 50ms linear;position:absolute;top:50%;left:50%;box-shadow:0 4px 15px #0000004d}.look-area{pointer-events:auto;width:60%;height:100%;position:absolute;top:0;right:0}.action-buttons{pointer-events:auto;flex-direction:column;align-items:flex-end;gap:12px;display:flex;position:absolute;bottom:24px;right:24px}.touch-btn{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;pointer-events:auto;-webkit-user-select:none;user-select:none;touch-action:none;background:#0f172ab3;border:2px solid #ffffff26;border-radius:50%;min-width:72px;min-height:72px;padding:0 1rem;font-size:.85rem;font-weight:700;box-shadow:0 4px 15px #00000040}.touch-btn:active{background:#38bdf880;transform:scale(.95)}.touch-btn.attack{background:#dc2626b3;width:110px;height:110px;font-size:1rem}.touch-btn.attack:active{background:#f87171cc}.touch-btn.camera{background:#0f172ab3;width:56px;min-width:56px;height:56px;min-height:56px;padding:0;font-size:1.1rem}.touch-btn.camera:active{background:#38bdf880}.mobile-weapon-hint{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#e2e8f0;pointer-events:none;background:#0f172ab3;border:1px solid #ffffff1a;border-radius:999px;align-items:center;gap:.35rem;padding:.35rem .7rem;font-size:.75rem;font-weight:600;display:flex}.mobile-weapon-hint i{color:#38bdf8;font-size:.7rem}.touch-controls.active~.weapon-hint{display:none}.forward-hud-arrow{z-index:46;color:#facc15;text-shadow:0 0 6px #facc15b3;pointer-events:none;justify-content:center;align-items:center;width:28px;height:28px;font-size:1.1rem;transition:opacity .15s;display:flex;position:fixed;top:0;left:0}.forward-hud-arrow.hidden{opacity:0}@keyframes slideDownFade{0%{opacity:0;transform:translate(-50%)translateY(-20px)}to{opacity:1;transform:translate(-50%)translateY(0)}}@media (width<=640px){.hud-panel{grid-template-columns:repeat(3,1fr);gap:.4rem;padding:.5rem}.hud-item{gap:.35rem;padding:.35rem}.hud-item i{font-size:.75rem}.hud-label{font-size:.55rem}.hud-value{font-size:.8rem}.back-btn span,.lang-text{display:none}.overlay-content{padding:1.5rem}.overlay-content h1{font-size:1.5rem}.control-btn{padding:.55rem .9rem;font-size:.8rem}}@media (width>=641px) and (width<=900px){.hud-panel{grid-template-columns:repeat(6,1fr)}}@media (width>=901px){.hud-panel{grid-template-columns:repeat(6,1fr)}}
