/* v1.18 first person as the captain (js/fps.js): the tactical HUD steps aside, the 3D world fills the stage */
body.fps-on #hud > *:not(#toast) { display: none !important; }
body.fps-on #game, body.fps-on .kit-credit { visibility: hidden; }
body.fps-on #toast { bottom: 132px; z-index: 30; }
#fps-root { position: absolute; inset: 0; z-index: 20; cursor: crosshair; user-select: none; -webkit-user-select: none; touch-action: none; font-family: "IBM Plex Mono", monospace; color: #CFE8D4; outline: none; }
#fps-root.hidden { display: none; }
#fps-root .hidden { display: none !important; }
.fps-cross { position: absolute; left: 50%; top: 50%; width: 0; height: 0; --g: 9px; pointer-events: none; transition: opacity 0.08s; }
.fps-cross i { position: absolute; background: rgba(243,246,242,0.92); box-shadow: 0 0 2px rgba(0,0,0,0.9); }
.fps-cross i:nth-child(1), .fps-cross i:nth-child(2) { width: 2px; height: 9px; left: -1px; }
.fps-cross i:nth-child(1) { bottom: var(--g); } .fps-cross i:nth-child(2) { top: var(--g); }
.fps-cross i:nth-child(3), .fps-cross i:nth-child(4) { height: 2px; width: 9px; top: -1px; }
.fps-cross i:nth-child(3) { right: var(--g); } .fps-cross i:nth-child(4) { left: var(--g); }
.fps-hit { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; opacity: 0; pointer-events: none;
  background: linear-gradient(45deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%) no-repeat, linear-gradient(-45deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%) no-repeat;
  -webkit-mask: radial-gradient(circle, transparent 5px, #000 6px); mask: radial-gradient(circle, transparent 5px, #000 6px); }
.fps-hit.on { opacity: 1; } .fps-hit.head { filter: drop-shadow(0 0 3px #F2B544) sepia(1) saturate(6) hue-rotate(-10deg); } .fps-hit.kill { opacity: 1; transform: scale(1.35); filter: drop-shadow(0 0 4px #ff5a46) sepia(1) saturate(8) hue-rotate(-40deg); }
.fps-dot { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #ff3b2f; box-shadow: 0 0 4px 1px rgba(255,60,40,0.85), 0 0 0 7px rgba(255,59,47,0.0), 0 0 0 8px rgba(255,80,60,0.55); opacity: 0; pointer-events: none; }
.fps-scope { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 50%, transparent 0, transparent min(36vh, 36vw), #000 calc(min(36vh, 36vw) + 2px));
  -webkit-mask: none; }
.fps-scope::before, .fps-scope::after { content: ""; position: absolute; background: rgba(0,0,0,0.85); }
.fps-scope::before { left: 50%; top: calc(50% - min(36vh, 36vw)); width: 1.5px; height: calc(2 * min(36vh, 36vw)); margin-left: -0.75px; }
.fps-scope::after { top: 50%; left: calc(50% - min(36vh, 36vw)); height: 1.5px; width: calc(2 * min(36vh, 36vw)); margin-top: -0.75px; }
.fps-compass { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 360px; height: 30px; pointer-events: none; }
.fps-tl { position: absolute; top: 12px; left: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; pointer-events: none; width: min(380px, 40vw); }
.fps-top { display: flex; flex-direction: column; gap: 4px; font-size: 11px; letter-spacing: 0.06em; pointer-events: none; }
.fps-top span { display: block; background: rgba(6,10,8,0.6); padding: 3px 8px; }
.fps-top .good { color: #7CFF9A; } .fps-top .bad { color: #ff6a55; } .fps-top .obj { color: #E8E2CF; font-family: "Barlow Condensed", sans-serif; font-size: 14px; letter-spacing: 0.02em; }
.fps-squad { display: flex; flex-direction: column; gap: 3px; font-size: 10px; pointer-events: none; }
.fps-squad .fps-ord { color: #F2B544; letter-spacing: 0.08em; margin-bottom: 2px; background: rgba(6,10,8,0.6); padding: 2px 6px; }
.fps-squad div:not(.fps-ord) { display: grid; grid-template-columns: 70px 54px 64px; align-items: center; gap: 6px; background: rgba(6,10,8,0.45); padding: 2px 6px; }
.fps-squad b { font-family: "Barlow Condensed", sans-serif; font-size: 13px; color: #F3F6F2; font-weight: 700; }
.fps-squad span { height: 4px; background: rgba(255,255,255,0.14); } .fps-squad span i { display: block; height: 100%; background: #7CFF9A; }
.fps-squad em { font-style: normal; color: #8EA091; } .fps-squad .down b { color: #8a8a8a; text-decoration: line-through; } .fps-squad .down em { color: #ff6a55; }
.fps-bl { position: absolute; left: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.fps-bl canvas { width: 168px; height: 168px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(124,255,154,0.35); }
.fps-hp b { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 15px; color: #F3F6F2; letter-spacing: 0.04em; }
.fps-hp span { display: block; width: 168px; height: 6px; background: rgba(255,255,255,0.14); } .fps-hp i { display: block; height: 100%; background: #7CFF9A; transition: width 0.2s; } .fps-hp i.low { background: #ff5a46; }
.fps-br { position: absolute; right: 18px; bottom: 16px; text-align: right; pointer-events: none; }
.fps-ammo b { font-family: "Barlow Condensed", sans-serif; font-size: 46px; line-height: 1; color: #F3F6F2; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }
.fps-ammo small { font-size: 16px; margin-left: 6px; color: #8EA091; }
.fps-gear { font-size: 11px; letter-spacing: 0.06em; color: #F2B544; margin-top: 2px; }
.fps-hint { position: absolute; left: 50%; top: calc(50% + 46px); transform: translateX(-50%); background: rgba(6,10,8,0.7); border: 1px solid rgba(124,255,154,0.4); padding: 4px 10px; font-size: 11px; letter-spacing: 0.06em; color: #7CFF9A; pointer-events: none; white-space: nowrap; }
.fps-cmd { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(6,10,8,0.88); border: 1px solid rgba(124,255,154,0.45); padding: 10px; display: flex; flex-direction: column; gap: 4px; min-width: 260px; }
.fps-cmdh { font-size: 10px; letter-spacing: 0.12em; color: #8EA091; margin-bottom: 4px; }
.fps-cmd button { display: flex; align-items: center; gap: 10px; background: rgba(124,255,154,0.06); border: 1px solid rgba(124,255,154,0.2); color: #F3F6F2; font: 600 15px "Barlow Condensed", sans-serif; letter-spacing: 0.04em; padding: 8px 10px; text-align: left; cursor: pointer; min-height: 44px; }
.fps-cmd button:hover { background: rgba(124,255,154,0.16); } .fps-cmd kbd { font: 600 11px "IBM Plex Mono", monospace; color: #0B0F0C; background: #7CFF9A; padding: 1px 6px; }
.fps-bigmap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(720px, 86vh, 92vw); height: min(720px, 86vh, 92vw); pointer-events: none; }
.fps-pause { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(4,7,5,0.55); cursor: pointer; }
.fps-pause div { text-align: center; } .fps-pause h2 { font: 700 48px "Barlow Condensed", sans-serif; letter-spacing: 0.08em; color: #F3F6F2; margin: 0 0 8px; }
.fps-pause p { margin: 4px; font-size: 12px; color: #CFE8D4; } .fps-pause kbd { font: 600 11px "IBM Plex Mono", monospace; border: 1px solid rgba(207,232,212,0.5); padding: 0 5px; }
.fps-touch { display: none; }
#fps-root.touch .fps-touch { display: block; }
#fps-root.touch { cursor: default; }
.fps-stick { position: absolute; left: 34px; bottom: 34px; width: 120px; height: 120px; border-radius: 50%; background: rgba(6,10,8,0.35); box-shadow: inset 0 0 0 2px rgba(124,255,154,0.35); }
.fps-stick.live { bottom: auto; }
.fps-stick i { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(124,255,154,0.35); box-shadow: 0 0 0 2px rgba(124,255,154,0.6); }
.fps-tbtns { position: absolute; right: 16px; bottom: 16px; display: grid; grid-template-columns: repeat(3, 64px); gap: 8px; }
.fps-tbtns button { height: 52px; background: rgba(6,10,8,0.55); border: 1px solid rgba(124,255,154,0.45); color: #F3F6F2; font: 700 12px "Barlow Condensed", sans-serif; letter-spacing: 0.06em; border-radius: 8px; touch-action: none; }
.fps-tbtns button.big { grid-row: span 2; height: 112px; border-radius: 50%; background: rgba(232,74,52,0.35); border-color: rgba(255,120,100,0.7); font-size: 15px; }
.fps-tbtns button.on { background: rgba(124,255,154,0.35); }
#fps-root.touch .fps-br { bottom: 196px; right: 18px; } #fps-root.touch .fps-ammo b { font-size: 30px; } #fps-root.touch .fps-bl canvas { width: 96px; height: 96px; } #fps-root.touch .fps-bl { left: auto; right: 12px; top: 10px; bottom: auto; align-items: flex-end; } #fps-root.touch .fps-hp b { font-size: 12px; text-align: right; }
#fps-root.touch .fps-compass { top: 8px; } #fps-root.touch .fps-tl { width: min(300px, 38vw); }
#fps-root.touch .fps-hp span { width: 96px; } #fps-root.touch .fps-squad { display: none; } #fps-root.touch .fps-compass { width: 240px; }
@media (max-width: 640px) { .fps-compass { width: 240px; } .fps-top { max-width: 60vw; } .fps-squad { display: none; } .fps-ammo b { font-size: 34px; } }
