#mainMenuScreen {
  background: radial-gradient(circle at 62% 48%, rgba(15, 23, 42, 0.14) 0%, rgba(6, 9, 15, 0.92) 88%) !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}
.lobbyCard { display: none !important; }

#odTopNav {
  height: 78px;
  background: linear-gradient(180deg, rgba(8, 11, 18, 0.98) 0%, rgba(13, 18, 28, 0.94) 100%);
  border-bottom: 1.5px solid rgba(56, 189, 248, 0.38);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(32px, env(safe-area-inset-left));
  z-index: 55;
}
.odBrandCluster { display: flex; align-items: center; gap: 14px; }
.odGameLogoImg {
  height: 52px;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.45));
  transition: transform 0.2s ease, filter 0.2s ease;
  cursor: pointer;
  user-select: none;
}
.odGameLogoImg:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 22px rgba(56, 189, 248, 0.8));
}
.odLogoBadge {
  display: none;
}
.odNavTabs { display: flex; gap: 6px; height: 100%; }
.odTabBtn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1.6px;
  padding: 0 20px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-transform: uppercase;
}
.odTabBtn:hover { color: #fff; background: rgba(255,255,255,0.04); }
.odTabBtn.active {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
  background: linear-gradient(0deg, rgba(56, 189, 248, 0.20) 0%, transparent 100%);
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.65);
}

.odTopRightProfile { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.miniCallingCard {
  width: 270px;
  height: 58px;
  border-radius: 8px;
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 20px rgba(0,0,0,0.85);
  overflow: hidden;
  position: relative;
}
.miniCallingCard canvas.ccCanvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}
.miniCallingCard .ccContent {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.mccName {
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.8px;
  text-shadow: 0 2px 6px #000;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mccTitle {
  font-size: 9px;
  font-weight: 900;
  color: #38bdf8;
  letter-spacing: 1px;
  text-shadow: 0 1px 4px #000;
}
.mccSub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 900;
  color: #fde047;
  text-shadow: 0 1px 3px #000;
}
.odRankIconWrap {
  display: inline-flex;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
}

#odMainStage {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 28px max(36px, env(safe-area-inset-left));
  pointer-events: none;
  position: relative;
  overflow-y: auto;
}
.odStageTab { display: none; width: 100%; height: 100%; justify-content: space-between; align-items: flex-end; }
.odStageTab.active { display: flex; }

.odFullGridStage {
  width: 100%;
  max-width: 1380px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  pointer-events: auto;
  align-items: stretch;
}

.odLeftDock { width: clamp(420px, 34vw, 520px); max-width: 94vw; display: flex; flex-direction: column; gap: 14px; pointer-events: auto; }
.odRightDock { width: clamp(360px, 28vw, 450px); max-width: 94vw; display: flex; flex-direction: column; gap: 14px; pointer-events: auto; }

.odDockBox {
  background: rgba(11, 15, 24, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid #38bdf8;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.85);
}
.dockLabel {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #38bdf8;
  margin-bottom: 10px;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.playlistGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.modeCard {
  background: rgba(20, 27, 42, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  padding: 12px 13px;
  cursor: pointer;
  transition: all 0.14s ease;
  position: relative;
}
.modeCard:hover { border-color: rgba(56, 189, 248, 0.6); transform: translateY(-2px); }
.modeCard.selected {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.45), rgba(126, 34, 206, 0.30));
  border-color: #38bdf8;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
}
.modeCard.locked {
  opacity: 0.52;
  border-color: rgba(244, 63, 94, 0.4);
  background: rgba(15, 18, 26, 0.9);
}
.modeCard strong { display: block; font-size: 13px; font-weight: 900; color: #fff; letter-spacing: 0.8px; margin-bottom: 2px; }
.modeCard span { font-size: 11px; color: #94a3b8; font-weight: 700; display: block; }
.modeCard.selected span { color: #bae6fd; }

.cardPreviewBox {
  height: 48px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  margin-bottom: 6px;
  border: 1px solid rgba(255,255,255,0.25);
}
.cardPreviewBox canvas { width: 100%; height: 100%; display: block; }

#odDeployBtn {
  width: 100%;
  background: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
  color: #070a12;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  border: 2px solid #bae6fd;
  padding: 18px 22px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.55);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.12s ease;
}
#odDeployBtn:hover { transform: scale(1.02); }

.statBarRow { margin-bottom: 10px; }
.statBarHeader { display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; color: #e2e8f0; margin-bottom: 4px; }
.statBarTrack { width: 100%; height: 8px; background: rgba(255,255,255,0.12); border-radius: 4px; overflow: hidden; }
.statBarFill { height: 100%; background: linear-gradient(90deg, #38bdf8, #a855f7); transition: width 0.25s ease; }

.challengeCard {
  background: rgba(18, 25, 38, 0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 11px 13px;
  margin-bottom: 9px;
}
.challengeCard.done { border-color: #4ade80; background: rgba(20, 83, 45, 0.38); }
.chHead { display: flex; justify-content: space-between; font-size: 13px; font-weight: 900; color: #fff; }
.chDesc { font-size: 11px; color: #94a3b8; margin: 4px 0 7px 0; }

.roadmapItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  border-radius: 7px;
  background: rgba(18, 25, 38, 0.85);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 800;
}
.roadmapItem.unlocked {
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(20, 83, 45, 0.25);
  color: #f8fafc;
}
.roadmapItem.locked { color: #64748b; }

.emblemBtn {
  background: rgba(20, 27, 42, 0.9);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 7px;
  font-size: 20px;
  padding: 6px 0;
  cursor: pointer;
  flex: 1;
  text-align: center;
}
.emblemBtn.selected {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.25);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.titleSelectBtn {
  background: rgba(20, 27, 42, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  padding: 7px 10px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  color: #cbd5e1;
  letter-spacing: 0.8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.14s ease;
}
.titleSelectBtn:hover { border-color: #38bdf8; }
.titleSelectBtn.selected {
  border-color: #fbbf24;
  background: rgba(251, 191, 36, 0.2);
  color: #fef08a;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.35);
}
.titleSelectBtn.locked {
  opacity: 0.5;
  border-color: rgba(244, 63, 94, 0.35);
  cursor: not-allowed;
}

.odSubTabBar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  background: rgba(15, 23, 42, 0.95);
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  width: fit-content;
  pointer-events: auto !important;
  position: relative;
  z-index: 50;
}
.odSubTabBtn {
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 9px 18px;
  border-radius: 7px;
  cursor: pointer !important;
  transition: all 0.16s ease;
  display: flex;
  align-items: center;
  gap: 7px;
  pointer-events: auto !important;
  position: relative;
  z-index: 51;
  user-select: none;
  -webkit-user-select: none;
}
.odSubTabBtn span {
  pointer-events: none;
}
.odSubTabBtn:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.08);
}
.odSubTabBtn.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.4), rgba(56, 189, 248, 0.3));
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.28);
}
.barracksSubSection, .armorySubSection {
  display: none;
  width: 100%;
  pointer-events: auto !important;
}
.barracksSubSection.active, .armorySubSection.active {
  display: block;
}
.masteryCard {
  background: rgba(20, 27, 42, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  padding: 13px 15px;
  transition: all 0.14s ease;
}
.masteryCard:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(26, 36, 56, 0.92);
}

.showcaseWatermark { position: absolute; top: 22px; right: 38px; text-align: right; pointer-events: none; }
.showcaseWatermark h3 { font-size: 26px; font-weight: 900; letter-spacing: 2px; color: #f8fafc; text-shadow: 0 3px 12px #000; }
.showcaseWatermark p { font-size: 12px; font-weight: 800; color: #38bdf8; letter-spacing: 1.5px; }

.odInput {
  background: #070a10; border: 1.5px solid rgba(56, 189, 248, 0.5); border-radius: 7px;
  color: #fff; font-size: 14px; font-weight: 900; padding: 10px 12px; outline: none; width: 100%;
  text-transform: uppercase; user-select: text !important; -webkit-user-select: text !important;
  touch-action: manipulation !important;
}

@media (max-width: 900px) {
  #odTopNav { height: 52px; padding: 0 10px; }
  .odGameTitle { display: none; }
  .odTabBtn { font-size: 10px; padding: 0 8px; }
  .miniCallingCard { width: 155px; height: 42px; padding: 4px 6px; }
  .mccName { font-size: 10px; }
  .mccTitle { display: none; }
  #odMainStage { flex-direction: column; align-items: stretch; justify-content: flex-end; padding: 10px; gap: 8px; }
  .odLeftDock, .odRightDock { width: 100%; max-width: 100%; }
  .odFullGridStage { grid-template-columns: 1fr; gap: 10px; }
  .showcaseWatermark { display: none; }
}


/* IN-GAME HUD PANELS - TACTICAL MODERN DESIGN */
#modeHudPanel {
  position: fixed;
  top: calc(max(14px, env(safe-area-inset-top)) + 132px);
  left: max(18px, env(safe-area-inset-left));
  background: rgba(10, 14, 22, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 3px solid #38bdf8;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  padding: 8px 14px 9px;
  z-index: 12;
  pointer-events: none;
  min-width: 172px;
  background: rgba(6, 11, 18, 0.90);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.8), inset 0 1px rgba(255, 255, 255, 0.05);
  font-family: 'Rajdhani', sans-serif;
}
@media (max-width: 960px), (max-height: 540px) {
  #modeHudPanel {
    top: calc(max(6px, env(safe-area-inset-top)) + 70px) !important;
    left: max(8px, env(safe-area-inset-left)) !important;
    min-width: 116px !important;
    padding: 4px 8px 5px !important;
  }
  #modeHudPanel .mTitle {
    font-size: 8.5px !important;
    margin-bottom: 3px !important;
    padding-bottom: 2px !important;
    letter-spacing: 1px !important;
  }
  #modeHudPanel .teamScoreRow {
    gap: 8px !important;
    min-height: 14px !important;
    margin-bottom: 2px !important;
  }
  #modeHudPanel .allyTxt, #modeHudPanel .enemyTxt {
    font-size: 8.5px !important;
    gap: 4px !important;
  }
  #allyScoreVal, #enemyScoreVal {
    font-size: 12px !important;
  }
  #domFlagsHud { margin-top: 3px !important; gap: 4px !important; }
  .flagBadge { width: 19px !important; height: 19px !important; font-size: 9.5px !important; }
}
.mTitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #f59e0b;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  white-space: nowrap;
}
.teamScoreRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
  min-height: 20px;
}
.teamScoreRow:last-of-type {
  margin-bottom: 0;
}
.allyTxt, .enemyTxt {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.allyTxt {
  color: #94a3b8;
}
.allyTxt::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: #38bdf8;
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.8);
}
.enemyTxt {
  color: #94a3b8;
}
.enemyTxt::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: #ef4444;
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.8);
}
#allyScoreVal, #enemyScoreVal {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: right;
}
#allyScoreVal {
  color: #38bdf8;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.45);
}
#enemyScoreVal {
  color: #ef4444;
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.45);
}

/* SECONDARY CAMERA VIEW TOGGLE PILL - REPOSITIONED NON-OVERLAPPING */
#hudBtnCamView {
  position: fixed;
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + 106px);
  left: max(20px, env(safe-area-inset-left));
  z-index: 22;
  background: rgba(10, 14, 22, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #94a3b8;
  padding: 3px 10px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: auto;
  text-transform: uppercase;
  transition: all 0.15s ease;
}
#hudBtnCamView:hover {
  border-color: #f59e0b;
  color: #fff;
  background: rgba(18, 24, 36, 0.95);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}
@media (max-width: 960px), (max-height: 540px) {
  #hudBtnCamView {
    top: calc(max(6px, env(safe-area-inset-top)) + 128px) !important;
    bottom: auto !important;
    left: max(8px, env(safe-area-inset-left)) !important;
    z-index: 22 !important;
    font-size: 8.5px !important;
    padding: 2px 7px !important;
  }
}

#domFlagsHud { display: none; gap: 6px; margin-top: 6px; justify-content: center; }
.flagBadge {
  width: 26px; height: 26px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid #94a3b8;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 4px);
}
.flagBadge.ally {
  border-color: #38bdf8;
  background: rgba(2, 132, 199, 0.85);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}
.flagBadge.enemy {
  border-color: #ef4444;
  background: rgba(220, 38, 38, 0.85);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

#killfeedContainer {
  position: fixed;
  top: calc(max(14px, env(safe-area-inset-top)) + 46px);
  right: max(18px, env(safe-area-inset-right));
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 12;
  pointer-events: none;
  align-items: flex-end;
}
.kfItem {
  background: rgba(10, 14, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 3px solid #38bdf8;
  padding: 4px 12px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: 0.8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7);
  animation: kfSlideIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes kfSlideIn { from { transform: translateX(30px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

#bigAmmoWidget {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  right: max(20px, env(safe-area-inset-right));
  background: rgba(10, 14, 22, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-right: 3px solid #f59e0b;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
  padding: 8px 16px 10px;
  z-index: 12;
  pointer-events: none;
  min-width: 170px;
  text-align: right;
  background: rgba(6, 11, 18, 0.92);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), inset 0 1px rgba(255, 255, 255, 0.05);
}
@media (max-width: 680px) {
  #bigAmmoWidget {
    bottom: max(10px, env(safe-area-inset-bottom));
    right: max(10px, env(safe-area-inset-right));
    min-width: auto;
    padding: 6px 12px 8px;
  }
}
#bigAmmoNums {
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
#bigAmmoNums.lowAmmo {
  color: #ef4444;
  text-shadow: 0 0 16px rgba(239, 68, 68, 0.7);
  animation: lowPulse 0.35s infinite alternate;
}
#bigAmmoSub {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.8px;
  margin-top: 4px;
  text-transform: uppercase;
}
#magBulletBarBg {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  margin-top: 6px;
  overflow: hidden;
}
#magBulletBarFill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}
@keyframes lowPulse { from { opacity: 1; transform: scale(1); } to { opacity: 0.55; transform: scale(1.05); } }

#inGameXpStrip {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(8, 12, 18, 0.95);
  z-index: 25;
  pointer-events: none;
}
#inGameXpFill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #38bdf8, #f59e0b, #10b981);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
  transition: width 0.25s ease;
}

#knifeSlashOverlay {
  position: fixed; top: 50%; left: 50%; width: 260px; height: 4px;
  background: linear-gradient(90deg, transparent, #ffffff, #f59e0b, transparent);
  transform: translate(-50%, -50%) rotate(-18deg) scaleX(0); opacity: 0; pointer-events: none; z-index: 18;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.6); transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

#objProgressWrap {
  position: fixed; top: 62%; left: 50%; transform: translateX(-50%); width: 240px;
  background: rgba(10, 14, 22, 0.94); border: 1px solid #f59e0b;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
  padding: 8px 14px;
  z-index: 15; display: none; text-align: center; pointer-events: auto; cursor: pointer;
  box-shadow: 0 12px 32px rgba(0,0,0,0.8), 0 0 16px rgba(245, 158, 11, 0.25);
}
#objProgressLabel {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #fbbf24;
  letter-spacing: 1.5px;
  margin-bottom: 5px;
  text-transform: uppercase;
}
#objProgressBarBg {
  width: 100%; height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  overflow: hidden;
}
#objProgressBarFill {
  width: 0%; height: 100%;
  background: linear-gradient(90deg, #f59e0b, #10b981);
}

#bombTimerBox {
  position: fixed; top: calc(max(10px, env(safe-area-inset-top)) + 48px); left: 50%; transform: translateX(-50%);
  background: rgba(190, 18, 60, 0.94); border: 2px solid #fda4af; padding: 4px 14px; border-radius: 8px;
  font-size: 13px; font-weight: 900; color: #fff; letter-spacing: 1.5px; z-index: 14; display: none;
}

#challengeToast {
  position: fixed; top: 78px; left: 50%; transform: translateX(-50%) translateY(-20px);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(88, 28, 135, 0.96));
  border: 2px solid #38bdf8; border-radius: 10px; padding: 10px 22px;
  font-size: 13px; font-weight: 900; color: #fff; letter-spacing: 1.2px;
  z-index: 70; opacity: 0; pointer-events: none; transition: all 0.25s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.85);
}
#challengeToast.show { opacity: 1; transform: translateX(-50%) translateY(0); }


/* Concept-match pass: open tactical HUD layout, angular cyan accents, and live battlefield visibility. */
#mainMenuScreen {
  background:
    linear-gradient(90deg, rgba(3, 8, 13, 0.92) 0%, rgba(3, 8, 13, 0.78) 30%, rgba(3, 8, 13, 0.45) 57%, rgba(3, 8, 13, 0.18) 100%),
    linear-gradient(0deg, rgba(2, 7, 11, 0.58), transparent 38%, rgba(2, 7, 11, 0.22));
}
#odTopNav {
  height: 86px;
  flex: 0 0 86px;
  padding: 0 clamp(22px, 3.2vw, 58px);
  background: linear-gradient(180deg, rgba(4, 10, 15, 0.96), rgba(5, 12, 18, 0.82));
  border-bottom: 1px solid rgba(56, 189, 248, 0.34);
  box-shadow: 0 8px 32px rgba(0,0,0,0.24);
}
.odBrandCluster { gap: 12px; min-width: 245px; }
.odNavTabs { gap: 2px; }
.odTabBtn {
  position: relative;
  padding: 0 clamp(11px, 1.45vw, 23px);
  color: #9aaab6;
  font-size: 11px;
  letter-spacing: 1.35px;
}
.odTabBtn.active {
  color: #dffaff;
  border-bottom-color: #22d3ee;
  background: linear-gradient(0deg, rgba(8, 145, 178, 0.22), transparent 76%);
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.55);
}
.odTopRightProfile { min-width: 245px; justify-content: flex-end; }
.miniCallingCard {
  width: 250px;
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 2px;
  background: rgba(3, 10, 16, 0.7);
  box-shadow: none;
}
#odMainStage {
  align-items: flex-end;
  padding: 22px clamp(24px, 4vw, 72px) 34px;
  overflow: auto;
  scrollbar-color: rgba(56, 189, 248, 0.55) rgba(3, 8, 13, 0.45);
}
.odStageTab { align-items: flex-end; gap: clamp(20px, 4vw, 72px); }
.odLeftDock { width: clamp(455px, 37vw, 610px); gap: 12px; }
.odRightDock { width: clamp(330px, 27vw, 430px); gap: 12px; }
.odDockBox {
  position: relative;
  background: linear-gradient(135deg, rgba(5, 15, 22, 0.94), rgba(8, 16, 24, 0.90));
  border: 1px solid rgba(127, 173, 194, 0.26);
  border-left: 1px solid rgba(56, 189, 248, 0.54);
  border-radius: 0;
  padding: 17px 19px;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.38), inset 0 1px rgba(255,255,255,0.04);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.odDockBox::before {
  content: ""; position: absolute; top: 0; left: 0; width: 42px; height: 2px;
  background: #38bdf8; box-shadow: 0 0 12px rgba(56,189,248,.75);
  pointer-events: none;
}
.dockLabel {
  color: #67e8f9;
  font-size: 10px;
  letter-spacing: 1.65px;
  margin-bottom: 11px;
}
.playlistGrid { gap: 8px; }
.modeCard {
  min-height: 72px;
  padding: 13px 13px 12px 16px;
  background: linear-gradient(110deg, rgba(10, 24, 33, 0.88), rgba(7, 14, 21, 0.72));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.modeCard::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: rgba(148, 163, 184, 0.25); transition: background .15s ease;
}
.modeCard:hover { border-color: rgba(56, 189, 248, 0.55); transform: translateX(2px); }
.modeCard.selected {
  background: linear-gradient(105deg, rgba(8, 91, 119, 0.46), rgba(8, 19, 29, 0.84));
  border-color: rgba(56, 189, 248, 0.86);
  box-shadow: inset 0 0 24px rgba(34, 211, 238, 0.08), 0 0 18px rgba(8, 145, 178, 0.12);
}
.modeCard.selected::before { background: #22d3ee; box-shadow: 0 0 12px rgba(34,211,238,.8); }
.modeCard strong { font-size: 12px; letter-spacing: 1px; }
.modeCard span { font-size: 10px; color: #9bacb8; }
.modeCard.selected span { color: #b8e9f4; }
.selectorGroup { gap: 7px; }
.selBtn {
  min-height: 54px;
  padding: 8px;
  background: rgba(3, 11, 17, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0;
  color: #cbd5e1;
  letter-spacing: 1px;
}
.selBtn.selected {
  background: linear-gradient(180deg, rgba(8, 145, 178, 0.27), rgba(8, 30, 43, 0.62));
  border-color: #38bdf8;
  box-shadow: inset 0 0 14px rgba(34, 211, 238, 0.08), 0 0 12px rgba(14, 165, 233, 0.14);
  color: #ecfeff;
}
.selBtn small { color: #8799a7; }
#odDeployBtn {
  min-height: 66px;
  padding: 14px 21px;
  background: linear-gradient(100deg, #22d3ee 0%, #0ea5e9 54%, #0369a1 100%);
  color: #03131c;
  border: 1px solid #a5f3fc;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.25);
  letter-spacing: 2px;
}
#odDeployBtn:hover { transform: translateY(-2px); filter: brightness(1.12); box-shadow: 0 0 28px rgba(34, 211, 238, 0.36); }
#odDeployBtn span:first-child { font-size: 16px; }
#odDeployBtn span:last-child { color: #e0faff; }
.statBarHeader { color: #dce8ef; font-size: 10px; letter-spacing: .5px; }
.statBarTrack { height: 5px; border-radius: 0; background: rgba(148, 163, 184, 0.18); }
.statBarFill { background: linear-gradient(90deg, #22d3ee, #0284c7); }
.showcaseWatermark { top: 27px; right: clamp(28px, 4vw, 72px); }
.showcaseWatermark h3 { font-size: clamp(19px, 2vw, 26px); letter-spacing: 2.5px; }
.showcaseWatermark p { color: #8bdcf0; font-size: 9px; letter-spacing: 1.6px; }
.odSubTabBar { background: rgba(4, 13, 20, 0.92); border: 1px solid rgba(56, 189, 248, 0.3); border-radius: 0; }
.odSubTabBtn { border-radius: 0; }
.odSubTabBtn.active { background: rgba(8, 145, 178, 0.2); border-color: #38bdf8; color: #a5f3fc; box-shadow: inset 0 -2px #22d3ee; }
.challengeCard, .roadmapItem, .masteryCard, .titleSelectBtn, .emblemBtn {
  border-radius: 0;
}
.challengeCard, .masteryCard { background: rgba(5, 15, 22, 0.86); border-color: rgba(148, 163, 184, 0.2); }
.odInput { border-radius: 0; }
@media (max-width: 1100px) {
  #odTopNav { height: 68px; flex-basis: 68px; padding: 0 18px; }
  .odBrandCluster { min-width: auto; }
  .odGameLogoImg { height: 44px; max-width: 180px; }
  .odTopRightProfile { min-width: auto; }
  .miniCallingCard { width: 190px; }
  #odMainStage { padding: 18px 22px 24px; }
  .odLeftDock { width: min(55vw, 570px); }
  .odRightDock { width: min(38vw, 380px); }
  .odTabBtn { padding: 0 10px; font-size: 10px; }
}

/* TABLET & MOBILE (< 900px) */
/* SMARTPHONE ORIENTATION HELPER */
#odOrientationNotice {
  display: none;
}

/* DEDICATED WEAPONS / GUNSMITH TAB RESPONSIVE LAYOUT */
#stageTab-weapons {
  align-items: flex-start !important;
  padding-top: 8px !important;
  height: 100% !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
}
#stageTab-weapons .odLeftDock {
  max-height: calc(100vh - 115px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(56, 189, 248, 0.55) rgba(10, 18, 28, 0.6) !important;
  padding-right: 6px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
#stageTab-weapons .odLeftDock::-webkit-scrollbar {
  width: 5px;
}
#stageTab-weapons .odLeftDock::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.55);
  border-radius: 4px;
}
#stageTab-weapons .odSubTabBar {
  position: sticky !important;
  top: 0 !important;
  z-index: 12 !important;
  background: rgba(5, 12, 19, 0.96) !important;
  padding: 4px 0 8px !important;
  margin-bottom: 4px !important;
  backdrop-filter: blur(10px) !important;
}
#stageTab-weapons #odGunGroup,
#stageTab-weapons #odSecondaryGroup {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px !important;
}
#stageTab-weapons #odPrimaryCamoGroup,
#stageTab-weapons #odSecondaryCamoGroup {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px !important;
}
#stageTab-weapons #odGunGroup .modeCard,
#stageTab-weapons #odSecondaryGroup .modeCard,
#stageTab-weapons #odPrimaryCamoGroup .modeCard,
#stageTab-weapons #odSecondaryCamoGroup .modeCard,
#stageTab-weapons #odCamoGroup .modeCard {
  min-height: 48px !important;
  padding: 8px 10px !important;
}
#stageTab-weapons .modeCard strong {
  font-size: 11px !important;
  letter-spacing: 0.5px !important;
  line-height: 1.2 !important;
}
#stageTab-weapons .modeCard span {
  font-size: 9.5px !important;
  line-height: 1.2 !important;
}
#stageTab-weapons #odCamoGunTabs {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 5px !important;
  margin-bottom: 10px !important;
}
#stageTab-weapons #odCamoGunTabs .odSubTabBtn {
  padding: 6px 3px !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  border-radius: 4px !important;
}
#stageTab-weapons .odRightDock {
  max-height: calc(100vh - 115px) !important;
  overflow-y: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(56, 189, 248, 0.55) rgba(10, 18, 28, 0.6) !important;
}

/* TABLET & MOBILE RESPONSIVE ADAPTATIONS */
@media (max-width: 960px), (max-height: 540px) {
  .tabPrefix { display: none !important; }
  .tabMusicText { display: none !important; }
  #odTopAccountBtnLabel { display: none !important; }
  #odLobbyCreditsBadge, .showcaseWatermark { display: none !important; }
  .odBrandCluster, .odTopRightProfile { min-width: 0 !important; }
  #odMainStage { align-items: flex-start !important; justify-content: flex-start !important; }
  .odStageTab { align-items: flex-start !important; justify-content: flex-start !important; }
  .odFullGridStage, .odBarracksWrap { margin: 0 auto !important; }

  #odTopNav {
    height: 48px !important;
    flex-basis: 48px !important;
    padding-left: max(10px, env(safe-area-inset-left)) !important;
    padding-right: max(10px, env(safe-area-inset-right)) !important;
    gap: 6px !important;
  }
  .odBrandCluster .odAuthorBadge { display: none !important; }
  .odGameLogoImg { height: 28px !important; max-width: 112px !important; }
  .odNavTabs {
    height: 36px !important;
    gap: 3px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .odNavTabs::-webkit-scrollbar { display: none !important; }
  .odTabBtn {
    padding: 0 9px !important;
    font-size: 10px !important;
    letter-spacing: 0.7px !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }
  #odSwitchAccountBtn {
    padding: 0 8px !important;
    margin-left: 2px !important;
    flex: 0 0 auto !important;
  }
  #odQuickMusicBtn {
    padding: 0 8px !important;
    margin-left: 2px !important;
    flex: 0 0 auto !important;
  }
  .miniCallingCard {
    width: 122px !important;
    height: 34px !important;
    padding: 3px 6px !important;
  }
  .miniCallingCard .mccTitle { display: none !important; }
  .miniCallingCard .mccName { font-size: 9.5px !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
  .miniCallingCard .mccSub { font-size: 8px !important; }

  /* Compact Armory & Barracks sub-tabs so buttons stay single-line */
  #stageTab-weapons .odSubTabBar,
  #stageTab-barracks .odSubTabBar {
    position: static !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 4px !important;
    padding: 4px 5px !important;
  }
  #stageTab-weapons .odSubTabBar::-webkit-scrollbar,
  #stageTab-barracks .odSubTabBar::-webkit-scrollbar { display: none !important; }
  #stageTab-weapons .odSubTabBtn,
  #stageTab-barracks .odSubTabBtn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 6px 10px !important;
    font-size: 9.5px !important;
    letter-spacing: 0.6px !important;
  }

  /* Compact in-game HUD overlays on phones */
  #killfeedContainer {
    top: calc(max(6px, env(safe-area-inset-top)) + 34px) !important;
    right: max(8px, env(safe-area-inset-right)) !important;
    gap: 3px !important;
  }
  .kfItem {
    font-size: 9px !important;
    padding: 2px 7px !important;
  }
  #objProgressWrap {
    top: 56% !important;
    width: min(210px, 70vw) !important;
    padding: 5px 10px !important;
  }
  #bombTimerBox {
    top: calc(max(6px, env(safe-area-inset-top)) + 36px) !important;
    font-size: 10px !important;
    padding: 3px 10px !important;
  }
  #challengeToast {
    top: calc(max(6px, env(safe-area-inset-top)) + 44px) !important;
    font-size: 10.5px !important;
    padding: 6px 14px !important;
    max-width: 86vw !important;
    text-align: center !important;
    border-width: 1.5px !important;
  }

  /* Compact After Action Report & Final Killcam on Phones */
  .odAarCard { padding: 16px 14px !important; }
  .odAarOutcome { font-size: 30px !important; letter-spacing: 3px !important; }
  .odAarSub { font-size: 9.5px !important; letter-spacing: 1.5px !important; }
  .odAarScoreRow { gap: 16px !important; margin: 10px 0 !important; padding: 8px 12px !important; }
  .odAarTeamScore { font-size: 24px !important; }
  .odAarStatsGrid { gap: 7px !important; margin-bottom: 12px !important; }
  .odAarStatBox { padding: 7px !important; }
  .odAarStatVal { font-size: 15px !important; }
  .odAarBonusBanner { font-size: 11px !important; padding: 7px !important; margin-bottom: 12px !important; }
  .odAarBtnReturn { padding: 10px 18px !important; font-size: 13px !important; }

  .fkcLetterboxTop { height: 50px !important; min-height: 50px !important; }
  .fkcLetterboxBtm { height: 68px !important; min-height: 68px !important; }
  .fkcTitle { font-size: 16px !important; letter-spacing: 2.5px !important; }
  .fkcSub { font-size: 9px !important; letter-spacing: 1.5px !important; }
  .fkcBottomContent { flex-wrap: wrap !important; gap: 6px !important; justify-content: center !important; margin-top: 4px !important; }
  .fkcKillfeedBar { padding: 4px 10px !important; gap: 8px !important; }
  .fkcKillerName, .fkcVictimName { font-size: 12px !important; }
  .fkcWepBadge { font-size: 10px !important; padding: 2px 6px !important; }
  .fkcSkipBtn { padding: 4px 10px !important; font-size: 10px !important; }
}

/* PHONE PORTRAIT (< 680px and portrait) */
@media (max-width: 680px) and (orientation: portrait) {
  #odOrientationNotice {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
    background: linear-gradient(90deg, rgba(2, 132, 199, 0.95), rgba(14, 165, 233, 0.95)) !important;
    color: #f0fdf4 !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    padding: 4px 10px !important;
    text-align: center !important;
    z-index: 60 !important;
    cursor: pointer !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.45) !important;
  }
  #challengeToast {
    top: calc(max(6px, env(safe-area-inset-top)) + 106px) !important;
  }
  #killfeedContainer {
    top: calc(max(6px, env(safe-area-inset-top)) + 132px) !important;
  }
  #mainMenuScreen {
    height: 100dvh !important;
    height: 100vh !important;
    overflow: hidden !important;
  }
  #odTopNav {
    height: auto !important;
    flex-basis: auto !important;
    min-height: 46px !important;
    flex-wrap: wrap !important;
    padding-top: max(6px, env(safe-area-inset-top)) !important;
    padding-left: max(8px, env(safe-area-inset-left)) !important;
    padding-right: max(8px, env(safe-area-inset-right)) !important;
    padding-bottom: 4px !important;
    gap: 5px !important;
  }
  .odBrandCluster {
    flex: 1 1 auto !important;
  }
  .odGameLogoImg {
    height: 24px !important;
    max-width: 102px !important;
  }
  .odTopRightProfile {
    flex: 0 0 auto !important;
  }
  .miniCallingCard {
    width: 128px !important;
    height: 30px !important;
  }
  .odNavTabs {
    order: 3 !important;
    width: 100% !important;
    height: 32px !important;
  }
  #odMainStage {
    display: block !important;
    flex: 1 1 0% !important;
    min-height: 0 !important;
    padding: 8px 10px 22px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .odStageTab { height: auto !important; }
  .odStageTab.active {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    height: auto !important;
  }
  .odLeftDock, .odRightDock {
    width: 100% !important;
    max-width: 100% !important;
    gap: 10px !important;
  }
  #stageTab-weapons { padding-top: 0 !important; }
  #stageTab-weapons .odLeftDock,
  #stageTab-weapons .odRightDock {
    max-height: none !important;
    overflow-y: visible !important;
    padding-right: 0 !important;
  }
  #stageTab-weapons #odCamoGunTabs {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .odFullGridStage {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    grid-template-columns: 1fr !important;
  }
  .odDockBox {
    padding: 11px !important;
    clip-path: none !important;
    border-radius: 8px !important;
  }
  #odModeGrid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }
  .modeCard {
    min-height: 46px !important;
    padding: 6px 8px !important;
  }
  #odDeployBtn {
    min-height: 46px !important;
    padding: 10px 14px !important;
    width: 100% !important;
  }
  #odDeployBtn span:first-child { font-size: 13px !important; }

  /* Responsive Barracks, Identity, MP & Account Modal in Portrait */
  .odRecordsKpiGrid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .odRecordsKpiGrid .odDockBox { padding: 10px 8px !important; }
  .odRecordsKpiGrid .odDockBox > div:nth-child(2) { font-size: 22px !important; }
  #barracksWeaponMasteryList { grid-template-columns: 1fr !important; gap: 8px !important; }
  #barracksAvatarGroup { grid-template-columns: repeat(3, 1fr) !important; }
  #barracksEmblemGrid { grid-template-columns: repeat(3, 1fr) !important; max-height: 190px !important; }
  #odCardGroup { grid-template-columns: 1fr !important; max-height: 210px !important; }
  .odIdentityInputRow { flex-wrap: wrap !important; }
  .odClanTagWrap { width: 78px !important; }
  .odCallsignWrap { flex: 1 1 140px !important; min-width: 120px !important; }
  #btnSaveIdentity { width: 100% !important; justify-content: center !important; height: 36px !important; }
  #operatorViewerContainer { height: 240px !important; }
  .mpModeGrid, .mpStageGrid, .mpSquadGrid { grid-template-columns: 1fr !important; gap: 10px !important; }
  .mpRoomCodeVal { font-size: 24px !important; letter-spacing: 2px !important; }

  #odAccountModal { padding: 10px !important; }
  .odAccModalBox { padding: 14px !important; border-radius: 10px !important; max-height: 92dvh !important; }
  .odAccGrid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; margin: 12px 0 14px !important; }
  .odAccCard { padding: 10px 8px !important; min-height: 120px !important; }
  .odAccCard > div:first-of-type { width: 40px !important; height: 40px !important; margin-bottom: 6px !important; }
  .odAccCardNew { min-height: 120px !important; }
  .odAccCardNew > div:first-of-type { width: 34px !important; height: 34px !important; font-size: 18px !important; margin-bottom: 6px !important; }
  .odAvatarGrid { grid-template-columns: repeat(3, 1fr) !important; gap: 6px !important; margin: 10px 0 14px !important; }
  .odAvatarPickItem { padding: 6px 4px !important; }
  .odAvatarPickItem > div:first-child { width: 34px !important; height: 34px !important; }
}

/* PHONE LANDSCAPE (< 540px height) — OPTIMIZED FOR IPHONE NOTCH & DYNAMIC ISLAND */
@media (max-height: 540px) and (orientation: landscape) {
  #odOrientationNotice { display: none !important; }
  #mainMenuScreen {
    height: 100dvh !important;
    height: 100vh !important;
    overflow: hidden !important;
  }
  #odTopNav {
    height: 38px !important;
    flex-basis: 38px !important;
    min-height: 38px !important;
    flex-wrap: nowrap !important;
    padding-top: max(2px, env(safe-area-inset-top)) !important;
    padding-bottom: 2px !important;
    padding-left: max(12px, env(safe-area-inset-left)) !important;
    padding-right: max(12px, env(safe-area-inset-right)) !important;
    gap: 6px !important;
  }
  .odBrandCluster { flex: 0 0 auto !important; min-width: 0 !important; }
  .odBrandCluster .odAuthorBadge { display: none !important; }
  .odGameLogoImg { height: 22px !important; max-width: 88px !important; }
  .odNavTabs {
    order: 2 !important;
    width: auto !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 2px !important;
  }
  .odNavTabs::-webkit-scrollbar { display: none !important; }
  .odTabBtn {
    font-size: 9.5px !important;
    padding: 0 7px !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-weight: 800 !important;
  }
  #odSwitchAccountBtn {
    padding: 0 7px !important;
    flex: 0 0 auto !important;
  }
  .odTopRightProfile {
    order: 3 !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }
  .miniCallingCard {
    width: 132px !important;
    height: 26px !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
  }
  .miniCallingCard .mccTitle { display: none !important; }
  .miniCallingCard .mccName { font-size: 8.5px !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
  .miniCallingCard .mccSub { font-size: 7.5px !important; }

  #odMainStage {
    flex: 1 1 0% !important;
    align-items: stretch !important;
    height: calc(100% - 38px) !important;
    padding-top: 4px !important;
    padding-bottom: max(6px, env(safe-area-inset-bottom)) !important;
    padding-left: max(12px, env(safe-area-inset-left)) !important;
    padding-right: max(12px, env(safe-area-inset-right)) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  .odStageTab.active#stageTab-play {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 8px !important;
    height: 100% !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
  }
  .odStageTab.active#stageTab-play .odLeftDock {
    width: 53% !important;
    max-width: 53% !important;
    flex: 1 1 53% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow-y: auto !important;
    min-height: 0 !important;
    gap: 4px !important;
  }
  .odStageTab.active#stageTab-play .odRightDock {
    width: 47% !important;
    max-width: 47% !important;
    flex: 1 1 47% !important;
    overflow-y: auto !important;
    min-height: 0 !important;
    gap: 5px !important;
  }
  .odDockBox {
    padding: 6px 9px !important;
    border-radius: 6px !important;
    clip-path: none !important;
  }
  .dockLabel {
    font-size: 9px !important;
    margin-bottom: 3px !important;
  }
  #odModeGrid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4px !important;
  }
  .modeCard {
    min-height: 32px !important;
    padding: 4px 7px !important;
    border-radius: 4px !important;
  }
  .modeCard strong { font-size: 9.5px !important; line-height: 1.1 !important; margin-bottom: 1px !important; }
  .modeCard span {
    font-size: 7.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  #stageTab-play #odDiffGroup .selBtn {
    min-height: 32px !important;
    padding: 3px 4px !important;
    font-size: 9.5px !important;
  }
  #stageTab-play #odDiffGroup .selBtn small { font-size: 7px !important; margin-top: 1px !important; }
  #odDeployBtn {
    min-height: 36px !important;
    padding: 6px 11px !important;
    margin-top: 0 !important;
    border-radius: 6px !important;
    width: 100% !important;
    background: linear-gradient(135deg, #22d3ee, #0284c7) !important;
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.4) !important;
  }
  #odDeployBtn span:first-child { font-size: 11.5px !important; letter-spacing: 1px !important; }
  #odDeployBtn span:last-child { font-size: 9px !important; }
  #odPlayMpPromo {
    margin-top: 0 !important;
    padding: 5px 9px !important;
  }
  .odPlayMpSub { display: none !important; }

  /* ARMORY / GUNSMITH SIDE-BY-SIDE IN LANDSCAPE */
  .odStageTab.active:not(#stageTab-play):not(#stageTab-weapons) {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    height: auto !important;
  }
  #stageTab-weapons.active {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 8px !important;
    height: 100% !important;
    padding-top: 2px !important;
    overflow: hidden !important;
  }
  #stageTab-weapons .odLeftDock {
    width: 58% !important;
    max-width: 58% !important;
    flex: 0 0 58% !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow-y: auto !important;
    padding-top: 2px !important;
    padding-right: 4px !important;
    gap: 6px !important;
  }
  #stageTab-weapons .odRightDock {
    width: 40% !important;
    max-width: 40% !important;
    flex: 1 1 40% !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow-y: auto !important;
    padding-right: 2px !important;
  }
  #stageTab-weapons .odSubTabBar {
    padding: 3px 4px 5px !important;
    margin-bottom: 2px !important;
  }
  #stageTab-weapons .odSubTabBtn {
    padding: 4px 8px !important;
    font-size: 9px !important;
  }
  #armoryWeaponStatsBox, #armoryGloveStatsBox { padding: 8px 10px !important; }
  #gsStatTitle, #gsGloveTitle { font-size: 15px !important; margin-bottom: 3px !important; }
  #gsStatDesc, #gsGloveDesc { font-size: 10px !important; margin-bottom: 8px !important; line-height: 1.3 !important; }
  #backToPlayFromArmory { padding: 8px 10px !important; font-size: 11px !important; }
  #odGunGroup, #odSecondaryGroup {
    grid-template-columns: 1fr 1fr !important;
    gap: 5px !important;
  }
  #odPrimaryCamoGroup, #odSecondaryCamoGroup, #odCamoGroup, #odGloveGroup {
    grid-template-columns: 1fr 1fr !important;
    gap: 5px !important;
  }

  /* CHALLENGES / BARRACKS / SETTINGS / MP IN LANDSCAPE */
  .odFullGridStage {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .odRecordsKpiGrid { grid-template-columns: repeat(4, 1fr) !important; gap: 6px !important; }
  .odRecordsKpiGrid .odDockBox > div:nth-child(2) { font-size: 18px !important; }
  #operatorViewerContainer { height: 185px !important; }
  .mpModeGrid, .mpStageGrid, .mpSquadGrid { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .mpRoomCodeVal { font-size: 20px !important; letter-spacing: 2px !important; }

  /* ACCOUNT MODAL IN PHONE LANDSCAPE */
  #odAccountModal {
    padding: 6px max(14px, env(safe-area-inset-right)) 6px max(14px, env(safe-area-inset-left)) !important;
  }
  .odAccModalBox {
    padding: 10px 14px !important;
    max-height: 96vh !important;
    border-radius: 8px !important;
  }
  .odAccGrid {
    grid-template-columns: repeat(auto-fill, minmax(125px, 1fr)) !important;
    gap: 8px !important;
    margin: 8px 0 10px !important;
  }
  .odAccCard {
    padding: 8px 6px !important;
    min-height: 110px !important;
  }
  .odAccCard > div:first-of-type {
    width: 34px !important;
    height: 34px !important;
    margin-bottom: 4px !important;
  }
  .odAccCardNew {
    min-height: 110px !important;
  }
  .odAvatarGrid {
    grid-template-columns: repeat(auto-fill, minmax(75px, 1fr)) !important;
    gap: 6px !important;
    margin: 8px 0 10px !important;
  }
  .odAvatarPickItem {
    padding: 4px !important;
  }
  .odAvatarPickItem > div:first-child {
    width: 30px !important;
    height: 30px !important;
  }
}


/* Final Killcam Styles */
#odFinalKillcamLayer {
  position: fixed; inset: 0; pointer-events: none; z-index: 100050;
  display: none; flex-direction: column; justify-content: space-between;
  font-family: 'Montserrat', -apple-system, sans-serif;
}
.fkcLetterboxTop {
  height: 14vh; min-height: 80px; background: rgba(0,0,0,0.92);
  border-bottom: 2px solid rgba(239,68,68,0.7);
  box-shadow: 0 4px 20px rgba(239,68,68,0.3);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.fkcTitleRow {
  display: flex; align-items: center; gap: 12px;
}
.fkcRecDot {
  width: 14px; height: 14px; border-radius: 50%; background: #ef4444;
  box-shadow: 0 0 12px #ef4444; animation: fkcBlink 0.8s infinite;
}
@keyframes fkcBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}
.fkcTitle {
  font-size: 26px; font-weight: 900; letter-spacing: 5px; color: #fff;
  text-shadow: 0 0 15px rgba(239,68,68,0.8);
}
.fkcSub {
  font-size: 11px; letter-spacing: 3px; color: #94a3b8; font-family: monospace; margin-top: 4px;
}
.fkcLetterboxBtm {
  height: 18vh; min-height: 110px; background: rgba(0,0,0,0.94);
  border-top: 2px solid rgba(56,189,248,0.5);
  box-shadow: 0 -4px 25px rgba(0,0,0,0.8);
  display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative;
}
.fkcTimeline {
  width: 100%; height: 5px; background: rgba(255,255,255,0.15);
  position: absolute; top: 0; left: 0; overflow: hidden;
}
#fkcProgressFill {
  width: 0%; height: 100%; background: linear-gradient(90deg, #38bdf8, #818cf8, #fbbf24);
  box-shadow: 0 0 12px #38bdf8;
}
.fkcBottomContent {
  display: flex; align-items: center; justify-content: space-between;
  width: 90%; max-width: 1050px; margin-top: 8px;
}
.fkcKillfeedBar {
  display: flex; align-items: center; gap: 16px;
  background: rgba(15,23,42,0.9); border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 20px; border-radius: 6px; box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.fkcKillerName {
  color: #38bdf8; font-weight: 800; font-size: 16px; letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(56,189,248,0.6);
}
.fkcWepBadge {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3);
  color: #f8fafc; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 4px;
  letter-spacing: 1.5px;
}
.fkcVictimName {
  color: #f43f5e; font-weight: 800; font-size: 16px; letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(244,63,94,0.6);
}
.fkcControlsRow {
  display: flex; align-items: center; gap: 16px;
}
.fkcTimeDisplay {
  color: #94a3b8; font-size: 12px; font-family: monospace; letter-spacing: 1px;
}
.fkcSkipBtn {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f8fafc; font-size: 12px; font-weight: 800; letter-spacing: 2px;
  padding: 7px 18px; border-radius: 4px; cursor: pointer; pointer-events: auto;
  transition: all 0.2s ease;
}
.fkcSkipBtn:hover {
  background: rgba(56, 189, 248, 0.25); border-color: #38bdf8; color: #38bdf8;
  transform: translateY(-1px);
}

/* Match Complete Modal Styles */
#odMatchCompleteModal {
  position: fixed; inset: 0; z-index: 100000;
  background: rgba(3, 7, 18, 0.96);
  display: none; align-items: center; justify-content: center;
  font-family: 'Montserrat', -apple-system, sans-serif;
  animation: odModalFadeIn 0.35s ease-out;
}
@keyframes odModalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.odAarCard {
  width: 90%; max-width: 620px; background: linear-gradient(180deg, rgba(30,41,59,0.95), rgba(15,23,42,0.98));
  border: 1px solid rgba(56,189,248,0.5);
  box-shadow: 0 0 40px rgba(56,189,248,0.25);
  border-radius: 12px; padding: 28px 32px; text-align: center; color: #fff;
}
.odAarOutcome {
  font-size: 52px; font-weight: 900; letter-spacing: 6px; line-height: 1.1; margin: 0;
}
.odAarOutcome.win {
  color: #38bdf8; text-shadow: 0 0 25px rgba(56,189,248,0.7);
}
.odAarOutcome.loss {
  color: #ef4444; text-shadow: 0 0 25px rgba(239,68,68,0.7);
}
.odAarSub {
  font-size: 12px; letter-spacing: 3px; color: #94a3b8; font-family: monospace; margin-top: 6px;
}
.odAarScoreRow {
  display: flex; align-items: center; justify-content: center; gap: 32px;
  margin: 24px 0; padding: 14px 20px; background: rgba(0,0,0,0.45); border-radius: 8px;
}
.odAarTeam {
  display: flex; flex-direction: column; align-items: center;
}
.odAarTeamName {
  font-size: 13px; font-weight: 800; letter-spacing: 1.5px;
}
.odAarTeamScore {
  font-size: 38px; font-weight: 900; line-height: 1.1;
}
.odAarStatsGrid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px;
}
.odAarStatBox {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px; padding: 10px;
}
.odAarStatLbl {
  font-size: 10px; color: #64748b; letter-spacing: 1px; font-family: monospace;
}
.odAarStatVal {
  font-size: 20px; font-weight: 800; color: #f8fafc; margin-top: 2px;
}
.odAarBonusBanner {
  background: linear-gradient(90deg, rgba(251,191,36,0.15), rgba(251,191,36,0.3), rgba(251,191,36,0.15));
  border: 1px solid #fbbf24; border-radius: 6px; padding: 10px; margin-bottom: 24px;
  color: #fde047; font-weight: 900; font-size: 15px; letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(251,191,36,0.6);
}
.odAarBtnReturn {
  background: linear-gradient(135deg, #0284c7, #0369a1); color: #fff;
  border: 1px solid #38bdf8; border-radius: 6px; padding: 14px 36px;
  font-size: 16px; font-weight: 900; letter-spacing: 3px; cursor: pointer;
  transition: all 0.2s ease; box-shadow: 0 4px 18px rgba(2,132,199,0.4);
  width: 100%;
}
.inspectPresetBtn {
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #e2e8f0;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.inspectPresetBtn:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
}

/* LOCAL ACCOUNT & WHO'S PLAYING MODAL */
#odAccountModal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: radial-gradient(circle at 50% 35%, rgba(15, 23, 42, 0.96) 0%, rgba(3, 7, 18, 0.99) 100%);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  user-select: none;
  box-sizing: border-box;
  font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.odAccModalBox {
  background: rgba(10, 15, 26, 0.96);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(56, 189, 248, 0.15);
  max-width: 820px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px 32px;
  position: relative;
  box-sizing: border-box;
}
.odAccGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
  margin: 20px 0 24px;
}
.odAccCard {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(8, 12, 22, 0.95) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  padding: 18px 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.odAccCard:hover {
  border-color: #38bdf8;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.3);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
}
.odAccCard.active {
  border-color: #fbbf24;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}
.odAccCard .delBtn {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.15s, background 0.15s;
}
.odAccCard .delBtn:hover {
  opacity: 1;
  background: rgba(239, 68, 68, 0.4);
  color: #fff;
}
.odAccCardNew {
  border: 2px dashed rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.2s ease;
}
.odAccCardNew:hover {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.25);
  transform: translateY(-4px);
}
.odAvatarGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  margin: 16px 0 22px;
}
.odAvatarPickItem {
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 8px;
  background: rgba(15, 23, 42, 0.6);
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.odAvatarPickItem:hover {
  border-color: rgba(56, 189, 248, 0.7);
  background: rgba(56, 189, 248, 0.12);
  transform: scale(1.03);
}
.odAvatarPickItem.selected {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.22);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}
.odEmblemVaultGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.odEmblemItem {
  position: relative;
  background: rgba(15, 23, 42, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  user-select: none;
}
.odEmblemItem:hover {
  border-color: rgba(56, 189, 248, 0.7);
  background: rgba(56, 189, 248, 0.12);
  transform: translateY(-2px);
}
.odEmblemItem.selected {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.22);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
}
.odEmblemItem.locked {
  opacity: 0.5;
  filter: grayscale(0.5);
  border-color: rgba(255, 255, 255, 0.06);
}
.odEmblemItem.locked:hover {
  border-color: rgba(239, 68, 68, 0.6);
  background: rgba(239, 68, 68, 0.08);
  opacity: 0.8;
}
.odEmblemItem .emblemIconWrap {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.odEmblemItem .emblemName {
  font-size: 10px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.odEmblemItem .emblemCat {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 1px 5px;
  border-radius: 3px;
  text-transform: uppercase;
}
.odEmblemItem .emblemStatus {
  font-size: 9px;
  font-weight: 800;
  margin-top: 1px;
}
.odBtnPermUnlock {
  transition: all 0.15s ease;
}
.odBtnPermUnlock:hover {
  background: rgba(251, 191, 36, 0.4) !important;
  transform: scale(1.02);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}
