@font-face{font-family:Russo One;font-style:normal;font-weight:400;font-display:swap;src:url(/demos/survival-shooter/fonts/russo-one-latin.woff2)format("woff2")}*{box-sizing:border-box;margin:0;padding:0}html,body{background:#070d12;height:100%;overflow:hidden}body{color:#fff;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;overscroll-behavior:none;font-family:Russo One,Arial Black,system-ui,sans-serif}button{cursor:pointer;border:0;font-family:inherit}.stage{background:radial-gradient(#16323f 0%,#070d12 70%);justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.phone{touch-action:none;background:#0d4d66;width:100vw;height:100dvh;position:relative;overflow:hidden}@media (min-aspect-ratio:4/5){.phone{aspect-ratio:9/19.5;width:auto;max-width:100vw;height:min(100dvh,940px);box-shadow:0 0 60px #0009}}@media (min-aspect-ratio:4/5) and (min-height:640px){.phone{border:6px solid #1a1f24;border-radius:28px;height:min(96dvh,940px)}}@media (min-aspect-ratio:4/5) and (max-height:820px){.phone{aspect-ratio:9/16}}.rotate-hint{display:none}@media (orientation:landscape) and (max-height:520px) and (pointer:coarse){.phone{display:none}.rotate-hint{color:#dfe8ef;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:20px;font-size:16px;display:flex;position:fixed;inset:0}.rotate-phone{border:4px solid #ffd36b;border-radius:10px;width:46px;height:80px;animation:1.8s ease-in-out infinite rot}}@keyframes rot{0%,30%{transform:rotate(-90deg)}60%,to{transform:rotate(0)}}.ui-area{z-index:5;pointer-events:none;top:env(safe-area-inset-top,0px);bottom:env(safe-area-inset-bottom,0px);left:env(safe-area-inset-left,0px);right:env(safe-area-inset-right,0px);position:absolute}.ui{transform-origin:0 0;pointer-events:none;position:absolute;top:0;left:0}.ui button,.ui .overlay{pointer-events:auto}.game-canvas{touch-action:none;display:block;position:absolute;inset:0}.topbar,.subbar,.vip,.side,.bottombar,.progress-wrap,.weapon-chip,.kills-chip,.boss-top,.toasts{pointer-events:none;z-index:5;position:absolute}.topbar{align-items:flex-start;gap:6px;display:flex;top:8px;left:8px;right:8px}.avatar{background:linear-gradient(#7d858d,#3b4148);border:2px solid #c9ced3;border-radius:8px;flex:none;justify-content:center;align-items:center;width:46px;height:46px;display:flex;position:relative}.avatar-bar{background:#1b1f23;border-radius:3px;height:5px;position:absolute;bottom:-7px;left:-2px;right:-2px;overflow:hidden}.avatar-bar span{background:#3cd34a;height:100%;display:block}.pills{flex:1;gap:4px;min-width:0;display:flex}.pill{background:#0a121ab8;border:1px solid #ffffff1f;border-radius:11px;flex:1;align-items:center;gap:3px;min-width:0;height:22px;padding:0 6px 0 3px;display:flex}.pill b{white-space:nowrap;text-overflow:ellipsis;font-size:10px;font-weight:400;overflow:hidden}.pill:first-child{flex:1.3}.pill.gem{padding-right:20px;position:relative}.pill .plus{text-align:center;color:#fff;background:#f39c1f;border-radius:4px;width:16px;height:16px;font-size:13px;line-height:16px;position:absolute;right:2px}.subbar{justify-content:space-between;align-items:center;display:flex;top:34px;left:62px;right:8px}.mini-icons{gap:4px;display:flex}.mini{background:#0a121ab3;border:1px solid #ffffff26;border-radius:5px;justify-content:center;align-items:center;width:20px;height:20px;font-size:12px;display:flex}.mini.bolt{background:#b53a12}.coins-pill{background:#0a121ab8;border-radius:11px;align-items:center;gap:4px;padding:2px 8px 2px 3px;font-size:11px;display:flex}.coins-pill b{color:#ffe08a;font-weight:400}.vip{color:#fff;clip-path:polygon(50% 0,100% 28%,100% 100%,0 100%,0 28%);text-shadow:0 1px #8a4b00;background:linear-gradient(#ffd34d,#e08a12);justify-content:center;align-items:flex-end;width:40px;height:34px;padding-bottom:2px;font-size:9px;display:flex;top:64px;left:10px}.progress-wrap{flex-direction:column;align-items:center;gap:4px;display:flex;top:66px;left:60px;right:60px}.stage-label{text-shadow:0 2px #0009;letter-spacing:1px;font-size:13px}.progress{background:#0000008c;border:1px solid #ffffff40;border-radius:6px;width:100%;height:10px;position:relative}.progress-fill{background:linear-gradient(90deg,#3cd34a,#b7f04a);border-radius:6px;height:100%;transition:width .1s linear}.progress-skull{position:absolute;top:-6px;right:-12px}.pause-btn{z-index:6;background:#0a121ab8;border:1px solid #ffffff40;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;display:flex;position:absolute;top:62px;right:10px}.mute-btn{z-index:11;background:#0a121ab8;border:1px solid #ffffff40;border-radius:10px;justify-content:center;align-items:center;width:34px;height:34px;display:flex;position:absolute;top:100px;left:10px}.weapon-chip{background:#0a121ab3;border:1px solid #7dff4d59;border-radius:12px;align-items:center;gap:6px;padding:3px 10px;font-size:11px;display:flex;top:104px;left:50%;transform:translate(-50%)}.tier{gap:2px;display:flex}.tier i{background:#fff3;border-radius:1px;width:5px;height:9px}.tier i.on{background:#7dff4d}.kills-chip{background:#0a121ab3;border-radius:10px;align-items:center;gap:4px;padding:3px 8px;font-size:12px;display:flex;top:140px;left:10px}.boss-top{color:#ff6b6b;align-items:center;gap:6px;font-size:11px;animation:1s infinite pulse;display:flex;top:132px;left:40px;right:40px}.boss-track{background:#0009;border:1px solid #ff646480;border-radius:4px;flex:1;height:8px;overflow:hidden}.boss-track div{background:linear-gradient(90deg,#ff2b2b,#ff7a3b);height:100%;transition:width .1s}@keyframes pulse{50%{opacity:.7}}.side{flex-direction:column;gap:8px;display:flex}.top-r{opacity:.95;top:104px;right:8px}.bottom-l{bottom:96px;left:8px}.bottom-r{bottom:82px;right:8px}.round{background:radial-gradient(circle at 35% 30%,#6b737b,#2d3238);border:2px solid #ffffff59;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;display:flex;position:relative;box-shadow:0 2px 4px #00000080}.round.gold{background:radial-gradient(circle at 35% 30%,#ffd86b,#b7741a);border-color:#ffe9a8}.badge{background:#e2352c;border:1px solid #fff;border-radius:8px;justify-content:center;align-items:center;min-width:15px;height:15px;font-size:9px;display:flex;position:absolute;top:-3px;right:-3px}.bottombar{background:linear-gradient(#0a0e128c,#0a0e12eb);align-items:center;gap:8px;height:52px;padding:0 8px;display:flex;bottom:0;left:0;right:0}.s-badge{color:#3a2508;clip-path:polygon(50% 0,100% 18%,92% 82%,50% 100%,8% 82%,0 18%);background:linear-gradient(#ffd86b,#c47f12);flex:none;justify-content:center;align-items:center;width:38px;height:40px;font-size:22px;display:flex}.chat{color:#e8e8e8;flex:1;min-width:0;font-family:system-ui,sans-serif;font-size:11px;line-height:15px}.chat div{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chat em{color:#ffd36b;font-style:normal}.globe{background:radial-gradient(#ffe39a,#b07a1c);border:2px solid #ffe9a8;border-radius:50%;flex:none;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.toasts{z-index:8;flex-direction:column;align-items:center;gap:6px;display:flex;top:34%;left:0;right:0}.toast{letter-spacing:1px;text-shadow:0 2px #0009;background:linear-gradient(90deg,#0000,#000000a6 20% 80%,#0000);border-radius:6px;padding:6px 22px;font-size:22px;animation:1.8s forwards toastIn}.toast.good{color:#7dff4d}.toast.bad{color:#ff5a5a}.toast.boss{color:#ff3b3b;font-size:28px}.toast.weapon{color:#8dff5a}@keyframes toastIn{0%{opacity:0;transform:scale(2)}12%{opacity:1;transform:scale(1)}80%{opacity:1}to{opacity:0;transform:translateY(-20px)}}.overlay{z-index:10;flex-direction:column;align-items:center;display:flex;position:absolute;inset:0}.overlay.dim{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0000008c;justify-content:center}.menu>:not(.logo){max-width:460px}.menu{background:linear-gradient(#0000 30%,#040a10d1 62%);justify-content:flex-end;padding:0 14px 72px}.logo{text-align:center;animation:3s ease-in-out infinite float;position:absolute;top:120px;left:0;right:0}.logo-top{white-space:nowrap;letter-spacing:2px;text-shadow:0 5px #0000008c;font-size:46px;line-height:1}.logo-top .red{background:linear-gradient(#ffd36b,#e07b16);color:#0000;-webkit-text-stroke:2px #fff;-webkit-background-clip:text;background-clip:text}.logo-top .blue{background:linear-gradient(#b6ff7a,#2f9e3a);color:#0000;-webkit-text-stroke:2px #fff;-webkit-background-clip:text;background-clip:text;font-size:64px}.logo-sub{letter-spacing:4px;color:#ffd36b;text-shadow:0 2px #000000b3;margin-top:6px;font-size:16px}@keyframes float{50%{transform:translateY(-6px)}}.stage-card{background:linear-gradient(135deg,#1e3c5ae6,#0f1928e6);border:1px solid #7fd0ff66;border-radius:12px;width:100%;margin-bottom:10px;padding:10px 14px}.stage-card-title{font-size:20px}.stage-card-meta{color:#cfe6f5;justify-content:space-between;margin-top:4px;font-family:system-ui,sans-serif;font-size:12px;display:flex}.stage-card-meta span{align-items:center;gap:4px;display:flex}.upgrades{grid-template-columns:repeat(3,1fr);gap:6px;width:100%;margin-bottom:12px;display:grid}.upg{color:#fff;text-align:center;background:linear-gradient(#2c3e55,#1a2534);border:1px solid #ffffff2e;border-radius:10px;padding:8px 6px;transition:transform .1s}.upg:active{transform:scale(.96)}.upg.disabled{opacity:.55}.upg-name{font-size:12px}.upg-lvl{color:#7fd0ff;font-size:10px}.upg-desc{color:#c9d4de;min-height:26px;margin:4px 0 6px;font-family:system-ui,sans-serif;font-size:10px}.upg-cost{color:#ffe08a;background:#00000059;border-radius:6px;justify-content:center;align-items:center;gap:3px;padding:3px 0;font-size:11px;display:flex}.battle{color:#fff;letter-spacing:2px;text-shadow:0 2px #9a4b00;background:linear-gradient(#ffcf3f,#f08a12);border:2px solid #ffe9a8;border-radius:14px;width:100%;height:58px;font-size:26px;animation:1.6s ease-in-out infinite glow;box-shadow:0 5px #9a4b00,0 8px 18px #00000080}.battle:active{transform:translateY(3px);box-shadow:0 2px #9a4b00}.battle.small{height:50px;margin-top:14px;font-size:20px;animation:none}@keyframes glow{50%{filter:brightness(1.12)}}.hint{color:#aac0cf;text-align:center;margin-top:10px;font-family:system-ui,sans-serif;font-size:11px}.panel{text-align:center;background:linear-gradient(#22344a,#121c28);border:2px solid #7fd0ff59;border-radius:16px;width:82%;max-width:380px;padding:22px 18px 18px;box-shadow:0 10px 40px #0009}.panel-title{margin-bottom:6px;font-size:28px}.ghost{color:#dfe8ef;background:#ffffff14;border:1px solid #fff3;border-radius:12px;width:100%;height:42px;margin-top:10px;font-size:14px}.result{padding-top:34px;position:relative}.ribbon{letter-spacing:2px;text-shadow:0 3px #00000080;clip-path:polygon(0 0,100% 0,95% 50%,100% 100%,0 100%,5% 50%);justify-content:center;align-items:center;height:48px;font-size:28px;display:flex;position:absolute;top:-22px;left:-14px;right:-14px}.result.win .ribbon{background:linear-gradient(#ffcf3f,#e0790f)}.result.lose .ribbon{background:linear-gradient(#ff5a5a,#a3131a)}.stars{letter-spacing:6px;color:#ffffff26;margin-bottom:6px;font-size:40px}.stars .on{color:#ffd34d;text-shadow:0 0 12px #ffc83cb3}.stats{font-family:system-ui,sans-serif;font-size:13px}.stats div{border-bottom:1px solid #ffffff14;justify-content:space-between;padding:6px 4px;display:flex}.stats span{color:#a9bccb}.stats b{align-items:center;gap:4px;display:flex}.stats .reward b{color:#ffe08a}#nl-badge-frame{display:none!important}
