/* Coordinates and bitmaps from recovered playGui.gui (800 x 600).
   Browser layout/input, radar projection and result dialog are explicit adapters. */
#originalHud[hidden], #originalHud [hidden] { display:none!important; }
/* Keep the complete map unobstructed even in a narrow viewport. */
#originalHud.map-overview #hudRadar,#originalHud.map-overview #hudPlayers,
#originalHud.map-overview #hudCenterPrint,#originalHud.map-overview #hudRoundPrint {display:none!important;}
#originalHud { position:fixed; width:800px; height:600px; transform-origin:top left; pointer-events:none; z-index:3; font:14px Arial,sans-serif; color:white; }
#originalHud * { box-sizing:border-box; }
#originalHud .original { position:absolute; margin:0; }
#originalHud .frame { width:800px; pointer-events:none; }
#originalHud .top { top:0; height:40px; }
#originalHud .bottom { top:529px; height:72px; }
#originalHud button, #originalHud input { pointer-events:auto; touch-action:none; }
#originalHud button { font:12px Arial,sans-serif; padding:6px 10px; margin:0; min-height:29px; }
#originalHud button:disabled { opacity:.5; cursor:default; }
#originalHud button:focus-visible, #originalHud input:focus-visible { outline:3px solid #8fd9f4; outline-offset:2px; }
#originalHud .score { top:10px; width:53px; height:28px; text-align:center; color:#000; font-size:22px; font-weight:bold; }
#hudScoreHuman { left:9px; } #hudScoreBot { left:97px; }
#hudBalance { left:170px; top:15px; width:138px; height:18px; overflow:hidden; }
#hudBalanceFill { width:50%; height:18px; background:url(equilibrioprogress.png) left center/138px 18px no-repeat; }
#hudBroadcast { left:330px; top:7px; width:345px; height:28px; text-align:center; color:#051d35; font-weight:bold; font-size:12px; }
#hudClock { left:716px; top:0; width:48px; height:38px; font: bold 32px/38px Arial,sans-serif; text-align:right; color:#000; }
#hudPower { left:116px; top:560px; width:320px; height:28px; overflow:hidden; }
#hudPowerFill { height:28px; width:0; background:url(powerbar.png) left top/320px 28px no-repeat; }
#hudLastPower { top:0; height:28px; width:2px; background:white; box-shadow:0 0 2px black; }
#hudPowerText { left:116px; top:533px; width:320px; text-align:center; font-size:11px; color:#e8f5ff; text-shadow:0 1px black; }
#originalHud .angle { left:51px; width:43px; height:18px; background:transparent; border:0; color:#051423; font-size:12px; text-align:right; padding:0 2px; }
#hudPitch { top:553px; } #hudYaw { top:576px; }
#hudInventory { left:456px; top:552px; display:flex; gap:0; }
#originalHud .weapon { width:34px; height:41px; padding:0; border:0; border-radius:0; background-size:34px 41px; position:relative; }
#originalHud .weapon[aria-pressed=true] { outline:2px solid #8fd9f4; outline-offset:-2px; }
#originalHud .weapon span { position:absolute; left:2px; top:0; font-size:10px; color:white; text-shadow:1px 1px black; }
#originalHud .weapon .weaponAmmo { left:auto; right:2px; top:auto; bottom:1px; font-size:9px; color:#c8ff00; }
#originalHud .weapon[data-empty=true] .weaponAmmo { color:#ff5a5a; }
#hudWeapon0 { background-image:url(weapons/assaultrifle_n.png); }
#hudWeapon0[aria-pressed=true] { background-image:url(weapons/assaultrifle_d.png); }
#hudWeapon1 { background-image:url(weapons/singlecannon_n.png); }
#hudWeapon1[aria-pressed=true] { background-image:url(weapons/singlecannon_d.png); }
#hudAmmo { left:540px; top:563px; font-size:11px; color:#ddd; }
#hudMountedName { left:449px; top:513px; width:346px; text-align:right; color:#dfff70; text-shadow:0 1px 2px black; }
#hudRadar { left:661px; top:52px; width:128px; height:128px; }
#hudRadar img { position:absolute; width:128px; height:128px; }
#hudRadar .radar-point { position:absolute; width:7px; height:7px; border:1px solid white; border-radius:50%; transform:translate(-50%,-50%); }
#hudRadarHuman { background:#f04e4e; left:64px; top:64px; } #hudRadarBot { background:#fff; }
#hudWind { left:707px; top:412px; width:81px; text-align:center; color:#c8ff00; text-shadow:0 2px 3px black; }
#hudWindModel { font-size:32px; line-height:32px; }
#hudWindSpeed { font-size:19px; font-weight:bold; } #hudWindUnit { font-size:12px; }
#hudPlayers { left:8px; top:52px; width:170px; background:url(hudfill.png); border:1px solid #7198ad; padding:7px; font-size:12px; text-shadow:0 1px black; }
#hudPlayers table { width:100%; border-collapse:collapse; }
#hudPlayers td, #hudPlayers th { padding:3px 2px; text-align:right; font-size:11px; }
#hudPlayers td:first-child,#hudPlayers th:first-child { text-align:left; }
#hudPlayers tr[data-active=true] { color:#ffed83; }
#hudPlayers caption { font-weight:bold; margin-bottom:4px; }
#hudNotice { left:200px; top:63px; width:400px; text-align:center; text-shadow:0 2px 3px #000; font-size:17px; font-weight:bold; }
#hudActions { left:12px; top:480px; display:flex; gap:5px; }
#hudMenu { left:12px; top:439px; }
#hudHelp { left:12px; top:515px; font-size:10px; text-shadow:0 1px black; }
#originalHud .pawn-label { transform:translate(-50%,-100%); width:100px; text-align:center; font-size:11px; text-shadow:0 1px 3px #000; }
#originalHud .pawn-label progress { display:block; width:50px; height:6px; margin:2px auto; accent-color:#30ed72; }
.original-hud #hud,.original-hud #fps { display:none; }
.original-hud #play { display:none; z-index:5; top:45px; bottom:80px; }
.original-hud.hud-menu-open #play { display:block; box-shadow:0 8px 32px #0009; }
.original-hud #canvas { inset:auto; }
#hudCloseMenu { display:none; } .original-hud #hudCloseMenu { display:block; }
#audioControls { position:fixed; right:12px; top:95px; z-index:4; background:#14202bcc; border-radius:6px; padding:4px 8px; font-size:11px; pointer-events:auto; }
#audioControls[hidden] { display:none; }
#audioControls input { width:75px; vertical-align:middle; }
#audioControls label { margin-left:8px; }
#audioStatus { margin-left:6px; }
.original-hud #audioControls { position:absolute; left:205px; top:439px; right:auto; }
@media(max-width:700px) { .original-hud #play { top:5px; bottom:5px; left:5px; width:min(280px,calc(100vw - 35px)); } }

/* Screenshot/GUI fidelity pass: relative rectangles scale by axis, glyphs do not. */
#originalHud canvas { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); pointer-events:none; }
#originalHud .bitmap-text { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
#hudClock canvas { left:auto; right:0; transform:translateY(-50%); }
#hudScoreHuman { color:red; } #hudScoreBot { color:white; }
#originalHud .angle { left:54px; width:36px; height:14px; color:transparent; }
#originalHud .angle:focus { color:#000; }
#hudPitch,#hudPitchGlyphs { top:556px; } #hudYaw,#hudYawGlyphs { top:578px; }
#originalHud .angle-readout { left:54px; width:36px; height:14px; pointer-events:none; }
#originalHud .angle-readout canvas { left:auto; right:0; transform:translateY(-50%); }
#hudPlayers { left:0; top:39px; width:160px; height:190px; padding:2px; border:1px solid #b7c1c4; background:url(hudfill.png); text-shadow:none; overflow:hidden; }
#hudPlayers table { width:calc(156px * var(--sx) / var(--text-scale)); transform:scale(calc(var(--text-scale) / var(--sx)),calc(var(--text-scale) / var(--sy))); transform-origin:top left; }
#hudPlayers th,#hudPlayers td { text-align:left; font:12px Arial,sans-serif; padding:2px 1px; }
#hudPlayers th { color:#ff0; font-weight:normal; }
#hudPlayers #hudRowHuman { color:red; } #hudPlayers #hudRowBot { color:white; }
#hudCenterPrint,#hudRoundPrint { pointer-events:none; }
#hudReadyText,#hudReadyName { position:absolute; left:0; width:100%; height:50%; }
#hudReadyText { top:0; } #hudReadyName { top:50%; }
#hudChat { left:19px; top:445px; width:435px; height:80px; padding:2px; background:url(hudfill.png); overflow:hidden; }
#hudChat>div { width:calc(431px * var(--sx) / var(--text-scale)); height:calc(15px * var(--text-scale) / var(--sy)); color:#e9d591; font:12px Arial,sans-serif; transform:scale(calc(var(--text-scale) / var(--sx)),calc(var(--text-scale) / var(--sy))); transform-origin:top left; white-space:nowrap; }
#hudWind { left:707px; top:389px; width:81px; height:131px; text-shadow:none; }
#originalHud #hudWindModel { position:absolute; top:12px; left:0; transform:none; width:81px; height:81px; font-size:48px; line-height:81px; }
#hudWindSpeed { position:absolute; left:14px; top:88px; width:53px; height:23px; }
#hudWindUnit { position:absolute; left:16px; top:111px; width:50px; height:16px; }
#originalHud:not(.assisted-controls) #hudActions,
#originalHud:not(.assisted-controls) #hudHelp,
#originalHud:not(.assisted-controls) #hudNotice,
#originalHud:not(.assisted-controls) #hudAmmo,
#originalHud:not(.assisted-controls) #hudPowerText { display:none; }
#originalHud:not(.assisted-controls) #hudMenu { left:0; top:529px; width:103px; height:17px; min-height:0; padding:0; font-size:9px; background:#a1a4aa; color:#111; border:1px solid #555; border-radius:0; }
#originalHud.assisted-controls #hudChat { display:none; }
.original-hud #play #audioControls { position:static; display:block; margin:8px 0; padding:5px 0; background:none; }
.original-hud #play #audioControls label { display:block; margin:6px 0; }
.original-hud #play #audioStatus { display:block; margin:5px 0; }
#originalHud .pawn-label { font-size:12px; }
#originalHud .pawn-label span { display:block; transform:scale(calc(var(--text-scale) / var(--sx)),calc(var(--text-scale) / var(--sy))); transform-origin:center bottom; }
#hudPawn0 { color:red; } #hudPawn1 { color:white; }
#originalHud .pawn-label progress { width:calc(32px * var(--text-scale) / var(--sx)); height:calc(4px * var(--text-scale) / var(--sy)); border:1px solid red; border-radius:0; accent-color:lime; }
#originalHud .pawn-label progress {width:44px;height:6px;border:1px solid #112d19;appearance:none;background:#6e1b1b;}
#originalHud progress::-webkit-progress-bar {background:#711f24;}
#originalHud progress::-webkit-progress-value {background:linear-gradient(#d8ff90,#63b32c);}
#originalHud .weapon[aria-pressed=true] {outline:none;}
#originalHud progress::-webkit-progress-bar {background:#253a2b;}
#originalHud progress::-webkit-progress-value {background:linear-gradient(#b0f16d,#449e27);}
#originalHud .pawn-label progress {border:1px solid #ced7c3;box-shadow:0 1px 2px #000;}
/* Results share the native menu's metal frame, blue panels and compact footer. */
#hudResult {box-sizing:border-box;width:760px;height:440px;padding:6px;transform-origin:top left;pointer-events:auto;z-index:1;display:grid;grid-template-rows:28px 62px minmax(0,1fr) 26px;gap:6px;border:0;border-radius:0;background:#080b0d url(menu/main_menu/bg_menu_main.png) center/100% 100% no-repeat;color:#00283d;font:12px/1.35 Arial,sans-serif;text-align:center;}
#hudResult[hidden],#hudResult [hidden] {display:none!important;}
#originalHud[data-phase=finished]::after {content:"";position:absolute;inset:0;background:#03080e66;pointer-events:none;}
#hudResult h2,#hudResult h3,#hudResult p {margin:0;}
#hudResult .resultHeader,#hudResult .resultFooter {display:flex;align-items:center;background:linear-gradient(#e2e3e9,#989da8);border:1px outset #dce1e8;}
#hudResult .resultHeader {gap:9px;padding:0 8px;text-align:left;}
#hudResult .resultHeaderLabel {display:flex;align-items:center;font-weight:bold;}
#originalHud #hudResultHeader canvas {position:static;transform:none;max-width:100%;max-height:16px;object-fit:contain;}
#hudResultMode {margin-left:auto;font-size:10px;}
#hudResult .resultVents {width:19px;height:14px;background:radial-gradient(#34424f 1px,transparent 1px) 0 0/3px 3px;}
#hudResult .resultBanner,#hudResult .resultAvatar,#hudResult .resultScoreboard,#hudResult .resultRewardsPanel {min-width:0;box-sizing:border-box;border:3px ridge #b8c6db;background:linear-gradient(110deg,#009ee7,#008acd);}
#hudResult .resultBanner {display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;}
#hudResultTitle {height:29px;display:flex;align-items:center;justify-content:center;font:bold 24px Arial,sans-serif;}
#originalHud #hudResultTitle canvas {position:static;transform:none;max-width:100%;max-height:28px;object-fit:contain;}
#hudResultSubtitle {display:block;max-width:95%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;}
#hudResult .resultBody {display:grid;grid-template-columns:188px minmax(0,1fr);gap:6px;min-height:0;}
#hudResult h3 {height:25px;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;margin:0 8px;padding:0 2px;border-bottom:1px solid #005b87;font-size:11px;font-weight:bold;}
#originalHud #hudResult h3 canvas {position:static;max-width:100%;max-height:15px;object-fit:contain;transform:none;}
#hudResult .resultAvatar {display:flex;flex-direction:column;}
#hudResult .resultPortraitFrame {position:relative;flex:1;min-height:0;margin:7px 8px 0;border:1px inset #52bcde;background:#007dab;}
#originalHud #hudWinnerPortrait {position:absolute;inset:0;width:100%;height:100%;transform:none;pointer-events:auto;touch-action:none;cursor:grab;}
#originalHud #hudWinnerPortrait:active {cursor:grabbing;}
#hudResultGuildAvatar {position:absolute;inset:0;margin:auto;width:120px;height:120px;object-fit:contain;image-rendering:pixelated;border:2px ridge #a4d4e7;background:#007ca3;}
#hudResult .resultAvatarPlate {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:48px;padding:3px 7px;box-sizing:border-box;}
#hudResultWinnerName {max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;}
#hudResultModel {font-size:10px;}
#hudResult .resultDetails {display:grid;grid-template-rows:130px minmax(0,1fr);gap:6px;min-height:0;}
#hudResult .resultTeams {display:grid;grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr);height:76px;align-items:center;padding:0 8px;}
#hudResult .resultTeam {min-width:0;display:flex;flex-direction:column;align-items:center;}
#hudResult .resultTeam>span {max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:bold;}
#hudResult .resultRed>span {color:#690d18;}
#hudResult .resultWhite>span {color:#edf8ff;}
#hudResult .resultTeam strong {font:bold 27px/1.1 Arial,sans-serif;font-variant-numeric:tabular-nums;}
#hudResult .resultTeam small {max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;}
#hudResult .resultVersus {font-size:20px;color:#00587f;}
#hudResult #hudResultInfo {height:19px;line-height:19px;border-top:1px solid #006b98;font-size:10px;}
#hudResult .resultRewardGrid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));height:calc(100% - 25px);}
#hudResult .resultReward {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:5px;}
#hudResult .resultReward+.resultReward {border-left:1px solid #006b98;}
#hudResult .resultReward strong {font-size:21px;font-variant-numeric:tabular-nums;white-space:nowrap;}
#hudResult .resultReward small {font-size:10px;}
#hudResult .resultFooter {gap:0;min-width:0;}
#hudResult #hudResultRewards {flex:1;min-width:0;padding:0 7px;text-align:left;font-size:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
#hudResult .resultActions {display:flex;height:100%;}
#originalHud #hudResult button {position:relative;width:137px;height:100%;min-height:0;padding:0;border:0;border-left:1px solid #687581;border-radius:0;background:transparent;color:#07253a;font:bold 10px Arial,sans-serif;box-shadow:inset 1px 1px #ffffff77;cursor:pointer;}
#originalHud #hudResult button:hover {background:linear-gradient(#ffffff66,#6cafd733);}
#originalHud #hudResult button:active {box-shadow:inset 1px 1px 2px #34445f80;}
#originalHud #hudResult button:focus-visible {outline:2px solid #eefaff;outline-offset:-3px;}
#originalHud #hudResult button canvas {position:static;max-width:94%;max-height:14px;object-fit:contain;transform:none;}
#hudResult .resultAccessible {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
#hudGuildResultMembers {height:calc(100% - 25px);display:flex;flex-direction:column;justify-content:center;padding:2px 8px;box-sizing:border-box;}
.guildResultMember {display:flex;align-items:center;gap:7px;min-height:24px;text-align:left;border-bottom:1px solid #0073a055;}
.guildResultMember:last-child {border-bottom:0;}
.guildResultMember img {width:20px;height:20px;object-fit:contain;image-rendering:pixelated;}
.guildResultMember span {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.guildResultMember small {margin-left:auto;font-size:8px;color:#00567b;}

/* REA MainChatHud (#hudChat) & MessageHud (#hudMessageFrame at 103, 529, 694×17) */
#originalHud #hudChat {
  left:19px;top:445px;width:435px;height:80px;padding:3px 5px;
  background:url(hudfill.png);border:1px solid #b7c1c4;
  overflow-x:hidden;overflow-y:auto;pointer-events:auto;
  scrollbar-width:thin;scrollbar-color:#7895aa #10202d;
}
#originalHud #hudChat>div {
  width:100%;height:auto;min-height:14px;transform:none;
  background:transparent;text-shadow:none;
  font:12px/15px Arial,sans-serif;color:rgb(44,172,181);white-space:normal;overflow-wrap:anywhere;
}
#originalHud #hudChat .hudChat-all,
#originalHud #hudChat .hudChat-all strong,
#originalHud #hudChat .hudChat-all span {
  color:rgb(255,245,19);background:transparent;text-shadow:none;font-weight:normal;
}
#originalHud #hudChat .hudChat-team,
#originalHud #hudChat .hudChat-team strong,
#originalHud #hudChat .hudChat-team span {
  color:rgb(77,253,95);background:transparent;text-shadow:none;font-weight:normal;
}

#originalHud #hudChatToggle {
  left:103px;top:529px;width:694px;height:17px;min-height:0;padding:0 8px;
  background:transparent;color:#000000;text-align:left;
  border:0;border-radius:0;font:bold 10px/17px Arial,sans-serif;
  text-shadow:none;box-shadow:none;cursor:text;
}
#originalHud #hudChatToggle:hover {color:#000000;background:transparent;text-shadow:none;}

#originalHud #hudMessageFrame {
  left:103px;top:529px;width:694px;height:17px;
  display:flex;align-items:center;gap:4px;padding:0 8px;
  background:transparent;border:0;box-shadow:none;pointer-events:auto;
}
#originalHud #hudMessagePrefix {
  height:17px;min-height:0;padding:0;border:0;
  background:transparent;color:rgb(255,245,19);font:bold 11px/17px Arial,sans-serif;
  text-shadow:none;box-shadow:none;cursor:pointer;flex:none;
}
#originalHud #hudMessagePrefix:hover {background:transparent;text-shadow:none;}
#originalHud #hudMessagePrefix[data-scope=team] {color:rgb(77,253,95);background:transparent;text-shadow:none;}
#originalHud #hudMessageInput {
  flex:1;min-width:0;height:17px;min-height:0;padding:0 4px;border:0;
  background:transparent;color:rgb(255,245,19);font:11px/17px Arial,sans-serif;
  text-shadow:none;outline:none;
}
#originalHud #hudMessageFrame[data-scope=team] #hudMessageInput {color:rgb(77,253,95);}
#originalHud #hudMessageInput::placeholder {color:#000000;opacity:.75;text-shadow:none;}
#originalHud #hudMessageSend,#originalHud #hudMessageClose {display:none;}

/* Classic Weapon Zoom Reticle (#hudScopeOverlay, R) & First-Person / Tactical Badge (#hudViewBadge, E / Ctrl+1-8 / Tab) */
#originalHud #hudScopeOverlay {
  inset:40px 0 71px 0;pointer-events:none;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
}
#originalHud #hudScopeOverlay .scopeVignette {
  position:absolute;inset:0;
  background:radial-gradient(circle at 50% 48%,transparent 24%,#020a1288 58%,#010509dd 90%);
}
#originalHud #hudScopeOverlay .scopeReticle {
  position:relative;width:196px;height:196px;object-fit:contain;opacity:.92;
  filter:drop-shadow(0 0 6px #00d9ff88);
}
#originalHud #hudScopeOverlay .scopeSpot {
  position:absolute;width:28px;height:28px;object-fit:contain;opacity:.95;
}
#originalHud #hudScopeOverlay .scopeReadout {
  position:absolute;bottom:14px;left:50%;transform:translateX(-50%);
  padding:2px 10px;background:#061826d9;border:1px solid #4cc9ff99;
  color:#9ef0ff;font:bold 10px/15px monospace;letter-spacing:.6px;white-space:nowrap;
}

#originalHud #hudViewBadge {
  left:50%;top:46px;transform:translateX(-50%);
  padding:0;background:transparent;border:0;box-shadow:none;
  color:#ffffff;font:bold 12px/16px Arial,sans-serif;letter-spacing:.5px;
  text-shadow:0 1px 3px rgba(0,0,0,.92),0 0 2px rgba(0,0,0,.95);
  pointer-events:none;white-space:nowrap;z-index:2;
}

#originalHud #hudVoicerBadge {
  left:19px;top:418px;width:22px;height:22px;
  padding:0;background:transparent;border:0;box-shadow:none;
  display:flex;align-items:center;justify-content:center;
  pointer-events:auto;cursor:pointer;z-index:2;
}
#originalHud #hudVoicerBadge svg {
  display:block;width:22px;height:22px;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.75));
  transition:transform .1s ease, filter .1s ease;
}
#originalHud #hudVoicerBadge.mic-talking svg {
  filter:drop-shadow(0 0 6px #4dfd5f) drop-shadow(0 0 10px #4dfd5f);
  transform:scale(1.22);
}

#originalHud .pawn-label.active-char span {
  text-decoration:underline;filter:drop-shadow(0 0 4px #ffe45e);
}
body.original-hud {
  background:radial-gradient(ellipse at 50% 35%,#192a3d,#080c12 75%);
}
#originalHud {
  overflow:hidden;
  box-shadow:0 12px 48px #000d;
}
#originalHud canvas {
  max-width:100%;max-height:100%;object-fit:contain;
}
body.first-person-mode #canvas,body.weapon-zoom-mode #canvas {
  transition:transform 180ms ease-out;
}

#hudDrones { position:absolute; left:456px; top:528px; display:flex; gap:6px; align-items:center; z-index:10; pointer-events:auto; }
.drone-badge { display:inline-flex; align-items:center; gap:4px; background:rgba(8,18,32,0.88); border:1px solid #38bdf8; border-radius:4px; padding:2px 7px; font-family:'Ozone',sans-serif; font-size:10px; color:#e0f2fe; text-shadow:0 1px 2px #000; box-shadow:0 0 6px rgba(56,189,248,0.35); }
.drone-badge .drone-name { color:#7dd3fc; }
.drone-badge .drone-buff { color:#4ade80; font-weight:bold; }
/* Netplay: waiting for the other player, connection and desync notices. */
#netplayStatus { position:fixed; left:50%; top:52px; transform:translateX(-50%); z-index:40; padding:4px 12px; background:#061826e6; border:1px solid #4cc9ff; color:#e0f2fe; font:bold 12px/16px Arial,sans-serif; pointer-events:none; }
#netplayStatus[hidden] { display:none; }
#netplayEnded { position:fixed; inset:0; z-index:60; display:grid; place-items:center; background:#000a; }
#netplayEnded > div { max-width:min(420px,calc(100vw - 32px)); padding:16px 18px; background:#061826; border:1px solid #4cc9ff; color:#e0f2fe; font:13px/18px Arial,sans-serif; text-align:center; }
#netplayEnded strong { display:block; font-size:15px; margin-bottom:6px; }
#netplayEnded button { margin-top:10px; padding:6px 14px; background:#0b3b5c; color:#fff; border:1px solid #4cc9ff; cursor:pointer; font:bold 12px Arial,sans-serif; }
