* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #000; font-family: 'Segoe UI', Roboto, Arial, sans-serif; color: #fff; user-select: none; }
#game canvas { display: block; }
.hidden { display: none !important; }
#labels { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.tag { position: absolute; transform: translate(-50%, -100%); text-align: center; font-size: 12px; font-weight: 700; text-shadow: 0 1px 2px #000; white-space: nowrap; }
.tag .bar { width: 56px; height: 5px; background: rgba(0,0,0,.55); margin: 2px auto 0; border: 1px solid rgba(255,255,255,.4); }
.tag .bar i { display: block; height: 100%; background: #ff3b3b; }
.tag.friend .bar i { background: #6dff7a; }
.tag.rob { color: #ffad5c; } .tag.pol { color: #7fb2ff; }
.dmg { position: absolute; transform: translate(-50%, -50%); color: #ff2b2b; font-weight: 900; font-size: 20px; text-shadow: 0 0 3px #000, 0 2px 2px #000; font-style: italic; }
.dmg.head { color: #ffd23f; font-size: 25px; }
#hud { position: fixed; inset: 0; pointer-events: none; }
#minimap { position: absolute; left: 18px; top: 18px; width: 200px; height: 200px; border-radius: 6px; border: 2px solid rgba(255,255,255,.35); background: rgba(0,0,0,.3); box-shadow: 0 2px 10px rgba(0,0,0,.4); }
#topcenter { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
#compass { width: 460px; height: 38px; }
#score { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.tix { display: flex; flex-direction: column; align-items: center; width: 110px; font-weight: 800; text-shadow: 0 1px 3px #000; }
.tix span:nth-child(2) { font-size: 26px; line-height: 26px; }
.tname { font-size: 11px; letter-spacing: 2px; opacity: .9; }
.tix.rob { color: #ffad5c; } .tix.pol { color: #7fb2ff; }
.tbar { width: 100%; height: 4px; background: rgba(0,0,0,.5); margin-top: 3px; }
.tbar i { display: block; height: 100%; width: 100%; }
.rob .tbar i { background: #ff8a2b; } .pol .tbar i { background: #3d8bff; }
#flags { display: flex; gap: 8px; }
.flag { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 17px; border: 2px solid rgba(255,255,255,.85); background: rgba(40,40,40,.6); position: relative; text-shadow: 0 1px 2px #000; }
.flag.rob { background: #ff8a2b; } .flag.pol { background: #3d8bff; }
.flag.contested { animation: pulse .6s infinite alternate; }
@keyframes pulse { from { box-shadow: 0 0 0 0 rgba(255,255,255,.8); } to { box-shadow: 0 0 0 5px rgba(255,255,255,0); } }
#capture { margin-top: 10px; text-align: center; font-weight: 800; letter-spacing: 2px; font-size: 13px; text-shadow: 0 1px 2px #000; }
.capbar { width: 220px; height: 7px; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.5); margin-top: 4px; }
.capbar i { display: block; height: 100%; width: 0; background: #ff8a2b; }
#crosshair { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.ch { position: absolute; background: #fff; box-shadow: 0 0 2px #000; }
.ch.t, .ch.b { width: 2px; height: 9px; left: -1px; } .ch.l, .ch.r { height: 2px; width: 9px; top: -1px; }
.dot { position: absolute; width: 3px; height: 3px; left: -1.5px; top: -1.5px; background: #fff; border-radius: 50%; box-shadow: 0 0 2px #000; }
#hitmarker { position: absolute; left: 50%; top: 50%; opacity: 0; }
#hitmarker i { position: absolute; width: 2px; height: 9px; background: #fff; left: -1px; top: -4.5px; box-shadow: 0 0 2px #000; }
#hitmarker i:nth-child(1) { transform: rotate(45deg) translateY(-9px); } #hitmarker i:nth-child(2) { transform: rotate(135deg) translateY(-9px); }
#hitmarker i:nth-child(3) { transform: rotate(225deg) translateY(-9px); } #hitmarker i:nth-child(4) { transform: rotate(315deg) translateY(-9px); }
#hitmarker.kill i { background: #ff3030; }
#dmgdir { position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; margin: -110px; border-radius: 50%; border-top: 6px solid rgba(255,40,40,.85); opacity: 0; filter: blur(1px); }
#vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(255,0,0,0) 55%, rgba(200,0,0,.65) 100%); opacity: 0; }
#adsvig { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,0) 60%, rgba(0,0,0,.35) 100%); opacity: 0; }
#msg { position: absolute; top: 28%; left: 50%; transform: translateX(-50%); font-size: 22px; font-weight: 900; letter-spacing: 3px; text-shadow: 0 2px 6px #000; text-align: center; }
#bottomleft { position: absolute; left: 18px; bottom: 18px; width: 330px; }
#killfeed { display: flex; flex-direction: column; gap: 3px; margin-bottom: 10px; }
.kf { background: rgba(0,0,0,.45); padding: 4px 8px; font-size: 13px; border-left: 3px solid #fff; transition: opacity .5s; }
.kf b.rob { color: #ffad5c; } .kf b.pol { color: #7fb2ff; } .kf .by { opacity: .75; font-size: 11px; }
#squad { background: rgba(0,0,0,.4); padding: 6px 8px; border-radius: 4px; }
.sq { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; height: 21px; }
.sq .n { width: 120px; color: #ffcf9e; } .sq.me .n { color: #fff; }
.sq .hb { flex: 1; height: 6px; background: rgba(255,255,255,.15); } .sq .hb i { display: block; height: 100%; background: #6dff7a; }
.sq.down .n { color: #888; text-decoration: line-through; } .sq.down .hb i { background: #555; }
.sq .st { width: 64px; font-size: 10px; text-align: right; color: #ff6b6b; }
#bottomright { position: absolute; right: 18px; bottom: 18px; width: 330px; text-align: right; text-shadow: 0 1px 3px #000; }
#health { display: flex; align-items: center; gap: 8px; justify-content: flex-end; font-weight: 900; font-size: 22px; }
.hpbar { width: 200px; height: 9px; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.4); } .hpbar i { display: block; height: 100%; width: 100%; background: #6dff7a; }
#ammo { margin-top: 6px; } #wName { font-size: 12px; letter-spacing: 2px; opacity: .85; }
#mag { font-size: 44px; line-height: 44px; } #reserve { font-size: 20px; opacity: .8; margin-left: 4px; }
#slots { display: flex; gap: 5px; justify-content: flex-end; margin-top: 6px; }
.slot { white-space: nowrap; background: rgba(0,0,0,.45); padding: 5px 7px; font-size: 11px; font-weight: 700; border: 1px solid rgba(255,255,255,.2); }
.slot em { font-style: normal; opacity: .6; margin-right: 4px; } .slot.active { border-color: #ffad5c; background: rgba(255,138,43,.35); }
.slot.empty { opacity: .4; }
#dead { position: absolute; top: 35%; left: 50%; transform: translateX(-50%); text-align: center; text-shadow: 0 2px 6px #000; }
#dead .big { font-size: 44px; font-weight: 900; color: #ff5252; letter-spacing: 6px; }
#deadBy { font-size: 16px; margin-top: 4px; } #respawnT { font-size: 20px; margin-top: 10px; font-weight: 700; }
#scoreboard { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: rgba(10,15,25,.85); padding: 18px; border-radius: 8px; min-width: 620px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 11px; letter-spacing: 2px; opacity: .7; padding: 4px 6px; }
td { padding: 4px 6px; border-top: 1px solid rgba(255,255,255,.08); }
tr.rob td:first-child { color: #ffad5c; font-weight: 700; } tr.pol td:first-child { color: #7fb2ff; font-weight: 700; }
tr.me td { background: rgba(255,255,255,.08); }
.overlay { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at center, rgba(0,20,40,.55), rgba(0,10,25,.85)); z-index: 10; }
.panel { background: rgba(8,16,30,.82); border: 1px solid rgba(255,255,255,.15); border-radius: 14px; padding: 30px 38px; max-width: 760px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.panel.small { padding: 24px 50px; }
.logo { font-size: 50px; font-weight: 900; letter-spacing: 4px; font-style: italic; background: linear-gradient(180deg, #fff, #bfe6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo span { background: linear-gradient(180deg, #ffcf3f, #ff7a1a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { letter-spacing: 4px; font-size: 13px; opacity: .8; margin-top: 2px; }
.brief { font-size: 15px; line-height: 1.5; opacity: .92; margin: 18px 0; } .o { color: #ffad5c; }
.controls { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 26px; text-align: left; font-size: 14px; margin: 0 auto 20px; max-width: 560px; }
kbd { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-bottom-width: 3px; border-radius: 4px; padding: 1px 6px; font-family: inherit; font-size: 12px; font-weight: 700; margin-right: 4px; }
button { pointer-events: auto; background: linear-gradient(180deg, #ffb347, #ff7a1a); border: 0; color: #1a1a1a; font-weight: 900; font-size: 20px; letter-spacing: 4px; padding: 13px 60px; border-radius: 8px; cursor: pointer; box-shadow: 0 6px 20px rgba(255,122,26,.4); }
button:hover { filter: brightness(1.1); } button:disabled { filter: grayscale(1); opacity: .5; cursor: wait; }
.note { font-size: 12px; opacity: .6; margin-top: 14px; }
#loading { font-size: 12px; opacity: .7; margin-top: 8px; }

:root { --sl: env(safe-area-inset-left, 0px); --sr: env(safe-area-inset-right, 0px); --st: env(safe-area-inset-top, 0px); --sb: env(safe-area-inset-bottom, 0px); }
html, body { overscroll-behavior: none; -webkit-touch-callout: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; touch-action: none; position: fixed; inset: 0; width: 100%; }
canvas { touch-action: none; }
.touchctl, .touchonly { display: none; }
body.touch-device .touchctl { display: grid; } body.touch-device .touchonly { display: flex; } body.touch-device .keyctl { display: none; }
.settings { margin: 12px auto 4px; display: flex; flex-direction: column; gap: 8px; align-items: center; font-size: 13px; }
.settings .row { display: flex; gap: 8px; align-items: center; }
.settings .row > span:first-child { min-width: 86px; text-align: right; opacity: .8; }
.qbtn, .aabtn { box-shadow: none; font: inherit; font-weight: 800; padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; letter-spacing: 1px; margin: 0; }
.qbtn.on, .aabtn.on { background: #ff8a2b; border-color: #ff8a2b; color: #111; }
.sens { width: 150px; accent-color: #ff8a2b; }
#rotate { display: none; position: fixed; inset: 0; z-index: 100; background: #0b1a26; color: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 14px; font-size: 20px; font-weight: 800; text-align: center; padding: 20px; }
#rotate small { font-weight: 400; opacity: .7; font-size: 14px; }
#rotate .phone { width: 46px; height: 80px; border: 4px solid #ff8a2b; border-radius: 10px; animation: rot 1.8s ease-in-out infinite; }
@keyframes rot { 0%, 20% { transform: rotate(0); } 60%, 100% { transform: rotate(-90deg); } }
@media (orientation: portrait) { body.touch-device #rotate { display: flex; } }

#touch { position: fixed; inset: 0; z-index: 5; touch-action: none; }
#lookZone { position: absolute; inset: 0; }
#stickZone { position: absolute; left: 0; top: 25%; bottom: 0; width: 42%; }
#stickBase { position: absolute; left: calc(26px + var(--sl)); bottom: calc(22px + var(--sb)); width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.06), rgba(255,255,255,.16)); border: 2px solid rgba(255,255,255,.35); pointer-events: none; opacity: .55; transition: opacity .15s; }
#stickBase.active { opacity: 1; transition: none; }
#stickBase.sprint { border-color: #ff8a2b; box-shadow: 0 0 14px rgba(255,138,43,.6); }
#stickKnob { position: absolute; left: 36px; top: 36px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.75); box-shadow: 0 2px 8px rgba(0,0,0,.4); }
#sprintHint { position: absolute; display: none; font-size: 10px; font-weight: 900; letter-spacing: 2px; color: #ff8a2b; text-shadow: 0 1px 3px #000; pointer-events: none; }
.tb { position: absolute; width: 54px; height: 54px; border-radius: 50%; background: rgba(0,0,0,.38); border: 2px solid rgba(255,255,255,.5); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; color: #fff; line-height: 1; box-shadow: 0 2px 8px rgba(0,0,0,.3); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.tb small { font-size: 8px; letter-spacing: 1px; margin-top: 2px; opacity: .85; }
.tb b { position: absolute; right: -4px; top: -4px; background: #ff8a2b; color: #111; font-size: 10px; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.tb.on { background: rgba(255,138,43,.65); border-color: #ffb070; }
.tb.toggled { background: rgba(255,138,43,.45); border-color: #ff8a2b; }
.tb.sm { width: 46px; height: 46px; font-size: 12px; }
.tb.tiny { width: 36px; height: 36px; font-size: 14px; border-radius: 9px; }
.tb.big { width: 80px; height: 80px; font-size: 15px; background: rgba(210,40,40,.5); border-color: rgba(255,200,200,.7); letter-spacing: 1px; }
.tb.big.on { background: rgba(255,60,40,.8); }
.tb.dim { opacity: .35; }
#tFire { right: calc(92px + var(--sr)); bottom: calc(58px + var(--sb)); }
#tJump { right: calc(16px + var(--sr)); bottom: calc(16px + var(--sb)); }
#tAds { right: calc(16px + var(--sr)); bottom: calc(84px + var(--sb)); font-size: 13px; }
#tCrouch { right: calc(184px + var(--sr)); bottom: calc(12px + var(--sb)); }
#tReload { right: calc(190px + var(--sr)); bottom: calc(78px + var(--sb)); }
#tSwap { right: calc(18px + var(--sr)); bottom: calc(152px + var(--sb)); }
#tNade { right: calc(82px + var(--sr)); bottom: calc(150px + var(--sb)); }
#tMed { right: calc(142px + var(--sr)); bottom: calc(136px + var(--sb)); }
#tPause { left: calc(112px + var(--sl)); top: calc(8px + var(--st)); }
#tFull { left: calc(154px + var(--sl)); top: calc(8px + var(--st)); }
#tScore { left: calc(196px + var(--sl)); top: calc(8px + var(--st)); }
body.touchmode #minimap { left: calc(8px + var(--sl)); top: calc(8px + var(--st)); width: 96px; height: 96px; }
body.touchmode #topcenter { top: calc(4px + var(--st)); transform: translateX(-50%) scale(.62); transform-origin: top center; }
body.touchmode #bottomright { bottom: auto; top: calc(6px + var(--st)); right: calc(8px + var(--sr)); transform: scale(.58); transform-origin: top right; }
body.touchmode #slots { display: none; }
body.touchmode #bottomleft { left: calc(8px + var(--sl)); top: calc(112px + var(--st)); bottom: auto; transform: scale(.55); transform-origin: top left; }
body.touchmode #squad { display: none; }
body.touchmode #msg { font-size: 15px; top: 24%; }
body.touchmode #scoreboard { transform: translate(-50%,-50%) scale(.6); }
body.touchmode #dead .big { font-size: 34px; }
body.touchmode #capture { transform: scale(.8); }
@media (max-height: 500px) { .panel { padding: 12px 18px; max-height: 92vh; overflow: auto; -webkit-overflow-scrolling: touch; touch-action: pan-y; } .logo { font-size: 28px; } .sub { font-size: 12px; } .controls { font-size: 11px; gap: 3px 14px; } .brief { font-size: 12px; margin: 6px 0; } #play, #resume, #again { padding: 10px 28px; font-size: 16px; } .settings { margin: 6px auto 2px; gap: 5px; } #endTable { transform: scale(.8); transform-origin: top center; } }
@media (max-width: 800px) { .panel { padding: 14px; max-height: 94vh; overflow: auto; touch-action: pan-y; } .logo { font-size: 30px; } .controls { font-size: 12px; } .brief { font-size: 13px; margin: 8px 0; } }
@media (max-height: 430px) { body.touch-device .brief, body.touch-device .sub { display: none; } body.touch-device .logo { font-size: 24px; } body.touch-device .controls { font-size: 10.5px; gap: 2px 12px; margin-bottom: 8px; } body.touch-device .settings { font-size: 12px; } body.touch-device .qbtn, body.touch-device .aabtn { padding: 4px 10px; } }
@media (max-height: 430px) { .credits { display: none; } }

#scope { position: absolute; inset: 0; opacity: 0; pointer-events: none; display: flex; align-items: center; justify-content: center; }
#scope .lens { position: relative; width: min(92vh, 92vw); height: min(92vh, 92vw); border-radius: 50%; box-shadow: 0 0 0 200vmax #000, inset 0 0 40px 18px rgba(0,0,0,.85); }
#scope i { position: absolute; background: #000; }
#scope .h { left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; } #scope .v { top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; }
#scope .h::after { content: ''; } #scope .dot { left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #e0261b; box-shadow: 0 0 4px #ff4030; }
#scope .mil { width: 10px; height: 2px; left: 50%; margin-left: -5px; } #scope .m1 { top: 56%; } #scope .m2 { top: 62%; } #scope .m3 { top: 68%; width: 16px; margin-left: -8px; } #scope .m4 { top: 74%; }
body.scoped #crosshair { display: none; }

#gate { z-index: 101; background: radial-gradient(ellipse at center, #0d2a44, #04101e); }
html.gated #rotate { display: none !important; }
.gatepanel { width: min(92vw, 420px); padding: 28px 26px; }
#gatePw { display: block; width: 100%; box-sizing: border-box; margin: 20px 0 6px; padding: 14px 16px; font-size: 22px; font-family: inherit; font-weight: 700; letter-spacing: 2px; text-align: center; color: #fff; background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.25); border-radius: 10px; outline: none; -webkit-user-select: text; user-select: text; touch-action: manipulation; -webkit-appearance: none; appearance: none; }
#gatePw:focus { border-color: #ffad5c; box-shadow: 0 0 0 3px rgba(255,138,43,.25); }
#gateMsg { min-height: 20px; font-size: 14px; font-weight: 700; color: #ff6b5c; margin-bottom: 12px; }
#gateBtn { width: 100%; touch-action: manipulation; }
.shake { animation: shake .45s cubic-bezier(.36,.07,.19,.97); }
@keyframes shake { 10%,90% { transform: translateX(-2px); } 20%,80% { transform: translateX(5px); } 30%,50%,70% { transform: translateX(-10px); } 40%,60% { transform: translateX(10px); } }
@media (max-height: 500px) { .gatepanel { padding: 14px 20px; } #gatePw { margin: 10px 0 4px; padding: 10px 14px; } #gateMsg { margin-bottom: 6px; } }

/* ---- v6: menu, settings, interactions, vehicles, heist ---- */
.panel.menu { width: min(96vw, 720px); }
.logo.sm { font-size: 34px; margin-bottom: 8px; }
.chips { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 8px 0; }
.chips .cl { width: 54px; text-align: right; font-size: 11px; letter-spacing: 2px; opacity: .7; font-weight: 800; }
.cg { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.chip { box-shadow: none; font: inherit; font-size: 13px; font-weight: 800; letter-spacing: 1px; padding: 8px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; touch-action: manipulation; }
.chip.on { background: #ff8a2b; border-color: #ff8a2b; color: #111; }
.chip.pol.on { background: #3d8bff; border-color: #3d8bff; color: #fff; }
.clsdesc { font-size: 12px; opacity: .8; min-height: 16px; margin: 2px 0 4px; }
.menubtns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
button.ghost { background: rgba(255,255,255,.1); color: #fff; box-shadow: none; border: 1px solid rgba(255,255,255,.3); padding: 13px 26px; font-size: 16px; }
.closeBtn { margin-top: 12px; }
#settings, #controls { z-index: 30; }
.settings .row .gap { width: 14px; min-width: 0 !important; }
.msens, .fovr, .volr { width: 150px; accent-color: #ff8a2b; }
.invbtn { box-shadow: none; font: inherit; font-weight: 800; padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; letter-spacing: 1px; margin: 0; }
.invbtn.on { background: #ff8a2b; border-color: #ff8a2b; color: #111; }
.brief b.p { color: #7fb2ff; }
.endsub { font-size: 18px; letter-spacing: 3px; color: #fff; -webkit-text-fill-color: #fff; font-style: normal; }
#ixPrompt { position: absolute; left: 50%; top: 62%; transform: translateX(-50%); text-align: center; text-shadow: 0 1px 3px #000; font-weight: 800; font-size: 15px; letter-spacing: 1px; }
#ixPrompt.locked #ixLabel { color: #ff6b5c; } #ixPrompt.locked .ixbar { display: none; }
.ixbar { width: 180px; height: 6px; margin: 5px auto 0; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.5); }
.ixbar i { display: block; height: 100%; width: 0; background: #ffd23f; }
#vehHud { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); text-align: center; font-weight: 900; text-shadow: 0 1px 3px #000; }
#vehSeat { font-size: 11px; letter-spacing: 2px; opacity: .85; } #vehSpd { font-size: 26px; }
.vhp { width: 180px; height: 7px; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.5); margin: 3px auto 0; } .vhp i { display: block; height: 100%; background: #6dff7a; }
#killcam { position: absolute; top: 14%; left: 50%; transform: translateX(-50%); background: rgba(200,20,20,.55); padding: 6px 16px; border-radius: 4px; font-size: 14px; letter-spacing: 2px; }
#recap { font-size: 13px; margin-top: 6px; opacity: .9; }
#recap .rc { display: inline-block; background: rgba(0,0,0,.45); padding: 4px 10px; margin: 2px; border-radius: 4px; }
#dead.downed .big { color: #ffb347; }
#respawnT b.g { color: #6dff7a; } #respawnT b.r { color: #ff5252; } #respawnT small { font-size: 13px; opacity: .85; font-weight: 600; }
#heistObj { display: flex; flex-direction: column; align-items: center; min-width: 250px; background: rgba(0,0,0,.4); padding: 4px 10px; border-radius: 6px; text-shadow: 0 1px 2px #000; }
#hoTitle { font-size: 11px; letter-spacing: 2px; color: #ffd23f; } #hoLine { font-size: 13px; font-weight: 700; }
.hobar { display: block; width: 100%; height: 4px; background: rgba(255,255,255,.15); margin-top: 3px; } .hobar i { display: block; height: 100%; width: 0; background: #ffd23f; }
.kf.down { border-left-color: #ffb347; } .kf.cuff { border-left-color: #7fb2ff; } .kf.veh { border-left-color: #ff5252; }
.tag.isdown { color: #ffd23f !important; } .tag.carry .nm::after { content: ' $'; color: #ffd23f; }
#tInteract { right: calc(150px + var(--sr)); bottom: calc(196px + var(--sb)); width: 62px; height: 62px; font-size: 22px; background: rgba(255,210,63,.35); border-color: #ffd23f; }
#tInteract small { font-size: 7.5px; max-width: 58px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#tBrake { display: none; right: calc(92px + var(--sr)); bottom: calc(58px + var(--sb)); background: rgba(40,40,40,.55); border-color: rgba(255,255,255,.7); }
body.driving #tBrake { display: flex; }
body.driving #tFire, body.driving #tAds, body.driving #tJump, body.driving #tCrouch, body.driving #tReload, body.driving #tNade, body.driving #tMed, body.driving #tSwap { display: none; }
body.driving #tInteract { right: calc(16px + var(--sr)); bottom: calc(160px + var(--sb)); }
body.touchmode #vehHud { transform: translateX(-50%) scale(.7); transform-origin: bottom center; bottom: 4px; }
body.touchmode #ixPrompt { top: 58%; font-size: 13px; }
body.touchmode #heistObj { min-width: 300px; }
body.touchmode #killcam { transform: translateX(-50%) scale(.8); }
@media (max-height: 500px) { .chips { margin: 4px 0; } .chip { padding: 6px 10px; font-size: 12px; } .menubtns { margin-top: 6px; } button.ghost { padding: 10px 16px; font-size: 13px; } .logo.sm { font-size: 24px; } }
@media (max-height: 430px) { body.touch-device .menu .brief { display: block; font-size: 11px; margin: 4px 0; line-height: 1.35; } }
/* pursuit: drive-by layout (fire / reload / swap stay; brake takes the jump slot; no exiting) */
body.pursuit #tJump, body.pursuit #tCrouch, body.pursuit #tNade, body.pursuit #tMed, body.pursuit #tInteract { display: none !important; }
body.pursuit.driving #tFire, body.pursuit.driving #tReload, body.pursuit.driving #tSwap { display: flex; }
body.pursuit.driving #tBrake { right: calc(16px + var(--sr)); bottom: calc(16px + var(--sb)); }
body.pursuit.driving #tFire { right: calc(100px + var(--sr)); bottom: calc(70px + var(--sb)); }
.sq.more { font-size: 10px; opacity: .7; padding-left: 6px; }
/* v7: nitro + unstuck (driving) */
#tBoost, #tFlip { display: none; }
body.driving #tBoost { display: flex; right: calc(16px + var(--sr)); bottom: calc(72px + var(--sb)); background: rgba(255,120,30,.45); border-color: #ffb070; }
body.driving.boostcd #tBoost { opacity: .35; }
body.pursuit.driving #tBoost { bottom: calc(104px + var(--sb)); }
body.driving.canflip #tFlip { display: flex; flex-direction: row; gap: 6px; left: 50%; right: auto; top: calc(96px + env(safe-area-inset-top, 0px)); bottom: auto; transform: translateX(-50%); width: auto; height: 46px; padding: 0 18px; border-radius: 23px; background: rgba(255,210,63,.75); border-color: #fff; color: #111; font-size: 20px; animation: flipPulse 1s ease-in-out infinite; }
body.driving.canflip #tFlip small { font-size: 12px; margin: 0; }
@keyframes flipPulse { 50% { transform: translateX(-50%) scale(1.08); } }
