* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #000; color: #e8e8e8; font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; user-select: none; }
#app canvas { display: block; position: fixed; left: 0; top: 0; width: 100vw !important; height: 100vh !important; }
#hud, #app, #markers { overflow: hidden; }
#hud { contain: strict; }
html, body { position: fixed; inset: 0; }
.hidden { display: none !important; }
:root { --acc: #d4f24a; --acc2: #ffb400; --ally: #4fb4ff; --enemy: #ff4a3d; --panel: rgba(12, 14, 16, 0.78); }

/* 加载 */
#loading { position: fixed; inset: 0; background: radial-gradient(ellipse at center, #1b1f22 0%, #050606 70%); display: flex; align-items: center; justify-content: center; z-index: 100; }
.load-inner { width: 520px; text-align: center; }
.logo { display: flex; flex-direction: column; align-items: center; margin-bottom: 40px; }
.logo .l1 { font-size: clamp(44px, 6.2vw, 86px); font-weight: 900; letter-spacing: 6px; line-height: 1.3; color: #fff; text-shadow: 0 0 40px rgba(212, 242, 74, .35); max-width: 90vw; text-align: center; }
.load-bar { height: 3px; background: #222; overflow: hidden; }
#loadFill { height: 100%; width: 0; background: var(--acc); transition: width .2s; }
#loadText { margin-top: 14px; font-size: 13px; color: #999; letter-spacing: 2px; }
.load-tip { margin-top: 60px; font-size: 13px; color: #666; }

/* 菜单 */
#menu { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
#menu > .screen { position: absolute; inset: 0; pointer-events: auto; display: flex; }
.screen.dim { background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.1) 100%); }
.screen.solid { background: rgba(6, 8, 9, .9); backdrop-filter: blur(6px); }
.menu-left { padding: 90px 0 0 80px; width: 520px; display: flex; flex-direction: column; }
.menu-title { font-size: 28px; font-weight: 800; letter-spacing: 2px; line-height: 1.5; color: #fff; }
.menu-sub { font-size: 90px; color: var(--acc); letter-spacing: 6px; margin: 10px 0 50px; line-height: 1.15; max-width: 92vw; word-break: break-all; font-weight: 800; }
.topscroll { position: absolute; top: 0; left: 0; right: 0; height: 64px; overflow: hidden; display: flex; align-items: center; pointer-events: none; border-bottom: 1px solid rgba(255,255,255,.06); }
.topscroll-track { display: inline-block; white-space: nowrap; font-size: 24px; font-weight: 800; color: var(--acc); letter-spacing: 2px; animation: topscroll 30s linear infinite; }
@keyframes topscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mbtn { display: flex; align-items: center; gap: 16px; width: 380px; padding: 16px 22px; margin-bottom: 8px; background: rgba(255,255,255,.04); border-left: 3px solid transparent; cursor: pointer; transition: all .15s; }
.mbtn:hover { background: rgba(255,255,255,.12); border-left-color: var(--acc); padding-left: 30px; }
.mbtn .mt { font-size: 22px; font-weight: 700; letter-spacing: 4px; }
.mbtn .md { font-size: 12px; color: #9a9a9a; margin-top: 2px; }
.mbtn .ico { font-size: 24px; width: 30px; text-align: center; opacity: .8; }
.menu-foot { margin-top: auto; padding-bottom: 30px; font-size: 12px; color: #666; line-height: 1.8; }
.player-card { position: absolute; top: 30px; right: 40px; display: flex; align-items: center; gap: 14px; background: var(--panel); padding: 10px 18px; border-top: 2px solid var(--acc); }
.player-card .lvl { font-size: 28px; font-weight: 900; color: var(--acc); }
.player-card .xpbar { width: 160px; height: 4px; background: #333; margin-top: 4px; }
.player-card .xpbar div { height: 100%; background: var(--acc); }
.btn { background: var(--acc); color: #111; border: none; padding: 14px 34px; font-size: 16px; font-weight: 800; letter-spacing: 3px; cursor: pointer; font-family: inherit; transition: filter .15s, transform .1s; }
.btn:hover { filter: brightness(1.15); }
.btn:active { transform: scale(.98); }
.btn.ghost { background: rgba(255,255,255,.08); color: #ddd; border: 1px solid rgba(255,255,255,.2); }
.btn.small { padding: 8px 18px; font-size: 13px; }
.back { position: absolute; left: 40px; bottom: 30px; }
.hdr { font-size: 30px; font-weight: 900; letter-spacing: 6px; }
.hdr small { display: block; font-size: 12px; color: var(--acc); letter-spacing: 5px; font-weight: 400; margin-top: 4px; }
.panel { background: var(--panel); border: 1px solid rgba(255,255,255,.06); padding: 18px; }

/* 战役 */
.brief { margin: auto 0 auto 80px; width: 640px; }
.brief .op { font-size: 13px; color: var(--acc); letter-spacing: 6px; }
.brief h1 { font-size: 54px; letter-spacing: 8px; margin: 6px 0 16px; }
.brief p { color: #bbb; line-height: 1.9; font-size: 15px; margin-bottom: 16px; }
.brief .meta { display: flex; gap: 30px; margin: 20px 0; font-size: 13px; color: #999; }
.brief .meta b { display: block; color: #fff; font-size: 16px; margin-top: 4px; }
.diffs { display: flex; gap: 10px; margin: 20px 0 30px; }
.diff { flex: 1; padding: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); cursor: pointer; }
.diff.sel { border-color: var(--acc); background: rgba(212,242,74,.1); }
.diff b { display: block; font-size: 16px; margin-bottom: 4px; }
.diff span { font-size: 12px; color: #999; }

/* 多人大厅 */
.lobby { padding: 50px 60px 30px; width: 100%; height: 100%; display: flex; flex-direction: column; box-sizing: border-box; }
.lobby-body { display: flex; gap: 30px; margin-top: 26px; flex: 1; min-height: 0; }
.lobby-body > .lobby-col:first-child { flex: 1.7; min-width: 0; }
.lobby-col { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.sect-t { font-size: 12px; color: #888; letter-spacing: 4px; margin: 8px 0 4px; }
.modes { display: flex; gap: 10px; }
.mode { width: 200px; padding: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); cursor: pointer; }
.mode.sel { border-color: var(--acc); background: rgba(212,242,74,.1); }
.mode b { font-size: 18px; display: block; margin-bottom: 6px; }
.mode span { font-size: 12px; color: #999; line-height: 1.6; }
.maps { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 14px; flex: 1; min-height: 0; }
.mapc { position: relative; cursor: pointer; border: 2px solid transparent; overflow: hidden; min-height: 200px; }
.mapc.sel { border-color: var(--acc); }
.mapc .mapart { position: absolute; inset: 0; transform: scale(1.4); }
.mapc .mapinfo { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.mapc .mapinfo b { font-size: 26px; letter-spacing: 3px; }
.mapc .mapinfo span { display: block; font-size: 13px; color: #ccc; }
.opts { display: grid; grid-template-columns: 110px 1fr; gap: 10px 14px; align-items: center; font-size: 14px; }
.seg { display: flex; }
.seg div { padding: 7px 14px; background: rgba(255,255,255,.06); cursor: pointer; font-size: 13px; border: 1px solid rgba(255,255,255,.08); }
.seg div.sel { background: var(--acc); color: #111; font-weight: 700; }
.lobby-foot { display: flex; gap: 12px; justify-content: flex-end; margin-top: 20px; }
.lobby-body > .lobby-col:last-child > .panel { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.lobby-body > .lobby-col:last-child > .panel .opts { flex: 1; align-content: center; }
.modes { display: flex; gap: 10px; }
.modes .mode { flex: 1; display: flex; flex-direction: column; justify-content: center; }

/* 装备 */
.loadout { padding: 50px 60px; width: 100%; display: flex; flex-direction: column; }
.classes { display: flex; flex-direction: column; gap: 6px; width: 240px; }
.cls { padding: 14px 18px; background: rgba(255,255,255,.05); cursor: pointer; border-left: 3px solid transparent; font-weight: 700; letter-spacing: 2px; }
.cls.sel { background: rgba(212,242,74,.12); border-left-color: var(--acc); }
.cls small { display: block; font-weight: 400; color: #888; font-size: 11px; margin-top: 3px; letter-spacing: 0; }
.cls-detail { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: min-content; gap: 12px; align-content: start; overflow-y: auto; }
.slotc { height: auto; }
.slotc { background: rgba(255,255,255,.05); padding: 14px 18px; cursor: pointer; border: 1px solid rgba(255,255,255,.07); transition: border-color .15s; min-height: 86px; }
.slotc:hover { border-color: var(--acc); }
.slotc .sl { font-size: 11px; color: #888; letter-spacing: 3px; }
.slotc .sv { font-size: 20px; font-weight: 800; margin-top: 6px; }
.slotc .ss { font-size: 12px; color: #aaa; margin-top: 4px; }
.slotc.wide { grid-column: span 2; }
.perkrow { display: flex; gap: 8px; margin-top: 8px; }
.perkpill { padding: 6px 10px; background: rgba(212,242,74,.12); border: 1px solid rgba(212,242,74,.35); font-size: 13px; }
.picker { position: absolute; inset: 0; background: rgba(4,5,6,.94); z-index: 5; padding: 50px 60px; display: flex; flex-direction: column; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-top: 20px; overflow-y: auto; }
.pick { background: rgba(255,255,255,.05); padding: 16px; cursor: pointer; border: 1px solid rgba(255,255,255,.08); }
.pick:hover { border-color: var(--acc); }
.pick.sel { border-color: var(--acc); background: rgba(212,242,74,.1); }
.pick b { font-size: 17px; display: block; }
.pick span { font-size: 12px; color: #999; display: block; margin-top: 6px; line-height: 1.6; }
.pick .cat { font-size: 11px; color: var(--acc); letter-spacing: 2px; }
.perk-cols { display: flex; gap: 20px; margin-top: 16px; }
.perk-col { flex: 1; display: flex; flex-direction: column; gap: 8px; }

/* 枪匠 */
.gunsmith { width: 100%; display: flex; }
.gs-left { width: 300px; padding: 40px 0 40px 40px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.gs-slot { padding: 11px 16px; background: rgba(10,12,14,.75); cursor: pointer; border-left: 3px solid transparent; }
.gs-slot.sel { border-left-color: var(--acc); background: rgba(212,242,74,.14); }
.gs-slot.dis { opacity: .3; pointer-events: none; }
.gs-slot .k { font-size: 11px; color: #888; letter-spacing: 3px; }
.gs-slot .v { font-size: 15px; font-weight: 700; margin-top: 2px; }
.gs-slot .v.none { color: #666; font-weight: 400; }
.gs-right { position: absolute; right: 40px; top: 40px; width: 360px; display: flex; flex-direction: column; gap: 6px; max-height: calc(100% - 300px); overflow-y: auto; }
.gs-att { padding: 12px 16px; background: rgba(10,12,14,.78); cursor: pointer; border: 1px solid transparent; }
.gs-att:hover { border-color: rgba(255,255,255,.3); }
.gs-att.sel { border-color: var(--acc); }
.gs-att b { font-size: 15px; }
.gs-att .fx { font-size: 12px; margin-top: 5px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.fx .pro { color: #8fe36a; } .fx .con { color: #ff6b5b; } .fx .neu { color: #9cc9ff; }
.gs-title { position: absolute; top: 40px; left: 50%; transform: translateX(-50%); text-align: center; }
.gs-title .n { font-size: 40px; font-weight: 900; letter-spacing: 6px; }
.gs-title .c { font-size: 12px; color: var(--acc); letter-spacing: 6px; }
.gs-title .cnt { font-size: 13px; color: #aaa; margin-top: 6px; }
.gs-stats { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); width: 640px; background: rgba(10,12,14,.8); padding: 16px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 30px; }
.stat { font-size: 12px; }
.stat .bar { height: 5px; background: #2a2a2a; margin-top: 4px; position: relative; }
.stat .bar .b0 { position: absolute; left: 0; top: 0; bottom: 0; background: #ddd; }
.stat .bar .bd { position: absolute; top: 0; bottom: 0; }
.gs-camos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.camo { width: 44px; height: 44px; cursor: pointer; border: 2px solid transparent; }
.camo.sel { border-color: var(--acc); }
.gs-foot { position: absolute; right: 40px; bottom: 30px; display: flex; gap: 10px; }

/* 设置 */
.settings { margin: auto; width: 620px; }
.set-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 15px; }
.set-row input[type=range] { width: 260px; accent-color: #d4f24a; }
.set-row .val { width: 50px; text-align: right; color: var(--acc); font-weight: 700; }
.keys { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 30px; font-size: 13px; color: #aaa; }
.keys b { color: #fff; display: inline-block; min-width: 76px; }

/* 暂停 */
.pause { margin: auto; text-align: center; }
.pause .mbtn { margin: 0 auto 8px; }

/* 结算 */
.results { margin: auto; width: 900px; text-align: center; }
.results .big { font-size: 80px; font-weight: 900; letter-spacing: 16px; }
.results .big.win { color: var(--acc); }
.results .big.lose { color: var(--enemy); }
.res-stats { display: flex; justify-content: center; gap: 40px; margin: 30px 0; }
.res-stats div { font-size: 13px; color: #999; }
.res-stats b { display: block; font-size: 34px; color: #fff; }

/* HUD */
#hud { position: fixed; inset: 0; pointer-events: none; z-index: 10; }
#vignette { position: absolute; inset: 0; opacity: 0; background: radial-gradient(ellipse at center, transparent 35%, rgba(140, 0, 0, .55) 80%, rgba(90,0,0,.9) 100%); }
#flashOverlay { position: absolute; inset: 0; background: #fff; opacity: 0; }
#fade { position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity 1s; }
#crosshair { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
#crosshair i { position: absolute; background: rgba(255,255,255,.9); box-shadow: 0 0 2px #000; }
#crosshair .ct, #crosshair .cb { width: 2px; height: 9px; left: -1px; }
#crosshair .cl, #crosshair .cr { width: 9px; height: 2px; top: -1px; }
#hitmarker { position: absolute; left: 50%; top: 50%; opacity: 0; }
#hitmarker i { position: absolute; width: 2px; height: 10px; background: #fff; box-shadow: 0 0 2px #000; }
#hitmarker i:nth-child(1) { transform: translate(-8px,-14px) rotate(-45deg); }
#hitmarker i:nth-child(2) { transform: translate(6px,-14px) rotate(45deg); }
#hitmarker i:nth-child(3) { transform: translate(-8px,4px) rotate(45deg); }
#hitmarker i:nth-child(4) { transform: translate(6px,4px) rotate(-45deg); }
#hitmarker.kill i { background: #ff3b30; }
#scope { position: absolute; inset: 0; }
.scope-hole { position: absolute; left: 50%; top: 50%; width: 88vh; height: 88vh; transform: translate(-50%,-50%); border-radius: 50%; box-shadow: 0 0 0 200vmax #000, inset 0 0 60px 30px rgba(0,0,0,.9); }
.scope-h { position: absolute; left: calc(50% - 44vh); width: 88vh; top: 50%; height: 1px; background: #000; }
.scope-v { position: absolute; top: 6vh; height: 88vh; left: 50%; width: 1px; background: #000; }
.scope-dot { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; background: #f22; border-radius: 50%; }
#scope.acog .scope-hole { width: 70vh; height: 70vh; box-shadow: 0 0 0 200vmax #060606, inset 0 0 50px 25px rgba(0,0,0,.95); }
#scope.acog .scope-h, #scope.acog .scope-v { display: none; }
#scope.acog .scope-dot { width: 0; height: 0; background: none; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 12px solid #ff4020; margin: 0 -7px; border-radius: 0; filter: drop-shadow(0 0 3px #f40); }
#scope.thermal .scope-hole { width: 72vh; height: 72vh; }
#scope.thermal .scope-h, #scope.thermal .scope-v { background: rgba(255,255,255,.6); }
#nvgFrame { position: absolute; inset: 0; box-shadow: inset 0 0 20vh 8vh rgba(0,0,0,.95); border-radius: 30%; }
#dmgDirs { position: absolute; left: 50%; top: 50%; }
.dmgdir { position: absolute; width: 160px; height: 160px; left: -80px; top: -80px; }
.dmgdir::before { content: ''; position: absolute; left: 50%; top: -90px; width: 90px; height: 40px; margin-left: -45px; background: radial-gradient(ellipse at bottom, rgba(255,40,30,.9), transparent 70%); border-radius: 50% 50% 0 0; }
#markers { position: absolute; inset: 0; }
.marker { position: absolute; transform: translate(-50%, -100%); text-align: center; font-size: 12px; font-weight: 700; text-shadow: 0 0 3px #000; white-space: nowrap; }
.marker .dia { width: 22px; height: 22px; margin: 0 auto 2px; border: 2px solid var(--acc2); transform: rotate(45deg); display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.3); }
.marker .dia span { transform: rotate(-45deg); font-size: 12px; }
.marker.flag .dia { border-radius: 50%; transform: none; width: 28px; height: 28px; }
.marker.flag .dia span { transform: none; font-size: 14px; }
.marker.ally .dia { border-color: var(--ally); color: var(--ally); }
.marker.enemy .dia { border-color: var(--enemy); color: var(--enemy); }
.marker.neutral .dia { border-color: #fff; }
#compass { position: absolute; top: 18px; left: 50%; width: 460px; margin-left: -230px; height: 26px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
#compassStrip { position: absolute; top: 0; height: 26px; white-space: nowrap; font-size: 12px; font-weight: 700; }
#compassStrip span { position: absolute; top: 4px; transform: translateX(-50%); color: #ddd; text-shadow: 0 0 3px #000; }
#compassStrip span.minor { color: #888; font-size: 10px; top: 6px; }
.compass-tick { position: absolute; left: 50%; bottom: 0; width: 2px; height: 6px; background: var(--acc); }
#minimapWrap { position: absolute; left: 24px; top: 24px; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.4); }
#minimap { width: 220px; height: 220px; display: block; }
#mmLabel { position: absolute; left: 0; bottom: -20px; font-size: 11px; color: #ccc; letter-spacing: 2px; }
#scorebar { position: absolute; top: 52px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; font-weight: 800; }
.sb-team { min-width: 90px; padding: 5px 12px; font-size: 20px; text-align: center; }
.sb-team.a { background: rgba(79,180,255,.25); border-bottom: 3px solid var(--ally); }
.sb-team.b { background: rgba(255,74,61,.25); border-bottom: 3px solid var(--enemy); }
.sb-time { font-size: 16px; background: rgba(0,0,0,.5); padding: 5px 12px; }
.sb-flags { display: flex; gap: 6px; }
.sb-flag { width: 30px; height: 30px; border: 2px solid #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; background: rgba(0,0,0,.4); position: relative; overflow: hidden; }
.sb-flag.A { border-color: var(--ally); color: var(--ally); }
.sb-flag.B { border-color: var(--enemy); color: var(--enemy); }
#killfeed { position: absolute; right: 24px; top: 24px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.kf { background: rgba(0,0,0,.55); padding: 5px 10px; font-size: 13px; display: flex; gap: 8px; align-items: center; animation: kfIn .2s; }
.kf .w { color: #aaa; font-size: 11px; border: 1px solid #555; padding: 0 5px; }
.kf .A { color: var(--ally); } .kf .B { color: var(--enemy); } .kf .me { color: var(--acc); }
@keyframes kfIn { from { transform: translateX(30px); opacity: 0; } }
#objective { position: absolute; left: 24px; top: 270px; max-width: 360px; }
.obj-t { font-size: 11px; letter-spacing: 4px; color: var(--acc2); }
.obj-d { font-size: 16px; font-weight: 700; margin-top: 4px; text-shadow: 0 0 4px #000; }
.obj-s { font-size: 13px; color: #ccc; margin-top: 2px; }
#ammoBox { position: absolute; right: 40px; bottom: 36px; text-align: right; }
#weaponName { font-size: 14px; letter-spacing: 3px; color: #ddd; text-shadow: 0 0 3px #000; }
.ammo-row { font-weight: 800; text-shadow: 0 0 4px #000; }
#ammoMag { font-size: 44px; }
#ammoMag.low { color: var(--enemy); }
#ammoRes { font-size: 18px; color: #aaa; margin-left: 6px; }
#equipRow { display: flex; gap: 14px; justify-content: flex-end; font-size: 13px; margin-top: 4px; color: #ddd; }
#equipRow span b { color: var(--acc); margin-left: 3px; }
#healthBox { position: absolute; left: 50%; bottom: 30px; width: 240px; margin-left: -120px; height: 5px; background: rgba(0,0,0,.5); }
#healthFill { height: 100%; width: 100%; background: #eee; transition: width .1s; }
#healthFill.low { background: var(--enemy); }
#streaks { position: absolute; right: 40px; bottom: 150px; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.stk { display: flex; align-items: center; gap: 8px; font-size: 12px; background: rgba(0,0,0,.45); padding: 4px 10px; color: #aaa; }
.stk .ic { font-size: 18px; filter: grayscale(1); opacity: .5; }
.stk.ready { color: #111; background: var(--acc); font-weight: 800; }
.stk.ready .ic { filter: none; opacity: 1; }
.stk .k { font-weight: 800; }
#popups { position: absolute; left: 50%; top: 58%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pop { font-size: 16px; font-weight: 800; text-shadow: 0 0 4px #000; animation: popIn .25s ease-out; letter-spacing: 2px; }
.pop.medal { font-size: 22px; color: var(--acc2); }
@keyframes popIn { from { transform: scale(1.6); opacity: 0; } }
#prompt { position: absolute; left: 50%; top: 62%; transform: translateX(-50%); font-size: 15px; background: rgba(0,0,0,.55); padding: 6px 16px; display: none; }
#prompt b { color: var(--acc); border: 1px solid var(--acc); padding: 0 6px; margin-right: 6px; }
#progress { position: absolute; left: 50%; top: 66%; width: 240px; margin-left: -120px; height: 6px; background: rgba(0,0,0,.6); display: none; }
#progressFill { height: 100%; width: 0; background: var(--acc); }
#subtitles { position: absolute; left: 50%; bottom: 110px; transform: translateX(-50%); text-align: center; max-width: 70%; font-size: 19px; text-shadow: 0 0 4px #000, 0 0 8px #000; }
#subtitles .sp { color: var(--acc2); font-weight: 800; margin-right: 8px; }
#announce { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); text-align: center; font-size: 30px; font-weight: 900; letter-spacing: 6px; text-shadow: 0 0 8px #000; opacity: 0; transition: opacity .3s; white-space: nowrap; }
#announce small { display: block; font-size: 14px; letter-spacing: 3px; color: #ccc; font-weight: 400; margin-top: 4px; }
#enemyName { position: absolute; left: 50%; top: calc(50% - 50px); transform: translateX(-50%); font-size: 14px; font-weight: 700; color: var(--enemy); text-shadow: 0 0 3px #000; }
#alertEdge { position: absolute; inset: 0; opacity: 0; box-shadow: inset 0 0 80px 10px rgba(255,180,0,.7); transition: opacity .2s; }
#fps { position: absolute; right: 8px; bottom: 6px; font-size: 11px; color: #8f8; }
#deathScreen { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14vh; background: radial-gradient(ellipse at center, transparent 30%, rgba(60,0,0,.6)); }
.death-inner { text-align: center; }
.death-title { font-size: 44px; font-weight: 900; letter-spacing: 10px; color: var(--enemy); }
#killerInfo { font-size: 18px; margin-top: 10px; }
#killerInfo b { color: var(--enemy); }
#respawnText { margin-top: 14px; color: #bbb; }
.death-btns { margin-top: 16px; pointer-events: auto; }
#scoreboard { position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 30; width: 820px; background: rgba(8,10,12,.9); padding: 20px; }
.sbt { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 14px; }
.sbt th { text-align: left; font-size: 11px; color: #888; letter-spacing: 2px; padding: 6px 10px; font-weight: 400; }
.sbt td { padding: 6px 10px; border-top: 1px solid rgba(255,255,255,.05); }
.sbt tr.me td { background: rgba(212,242,74,.12); color: var(--acc); font-weight: 700; }
.sbt.A th:first-child { color: var(--ally); } .sbt.B th:first-child { color: var(--enemy); }
.sbt tr.dead td { opacity: .5; }
#clickToPlay { position: fixed; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.35); font-size: 22px; letter-spacing: 6px; cursor: pointer; }
.kbd { display: inline-block; border: 1px solid #888; padding: 0 6px; font-size: 12px; border-radius: 2px; margin: 0 2px; }
::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-thumb { background: #444; }
