/* ========================================================
   SOCIETY V7 PRO — ULTRA TACTICAL & GRAPHIC CYBER OVERHAUL
   State-of-the-Art Visuals, Glassmorphism, Smooth 60FPS Micro-Animations
   ======================================================== */

:root {
  --pro-primary: #38bdf8;
  --pro-primary-rgb: 56, 189, 248;
  --pro-primary-hover: #7dd3fc;
  --pro-accent: #0ea5e9;
  --pro-glow: rgba(56, 189, 248, 0.35);
  --pro-glow-strong: rgba(56, 189, 248, 0.65);
  --pro-bg: #030712;
  --pro-card-bg: rgba(10, 18, 38, 0.72);
  --pro-card-border: rgba(56, 189, 248, 0.22);
  --pro-text: #f8fafc;
  --pro-text-muted: #94a3b8;
  --pro-danger: #f43f5e;
  --pro-danger-glow: rgba(244, 63, 94, 0.4);
  --pro-success: #10b981;
  --pro-warning: #f59e0b;
  --pro-glass-bg: rgba(8, 14, 28, 0.88);
}

/* ========================================================
   1. GLOBAL ATMOSPHERE & BACKGROUND GRAPHICS
   ======================================================== */
html {
  background-color: #030712 !important;
}

body {
  background-color: transparent !important;
  background-image: none !important;
  color: var(--pro-text) !important;
  overflow-x: hidden !important;
  min-height: 100vh !important;
  position: relative !important;
}

/* Fullscreen Cinematic Police Background across entire website */
body::before {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: -2 !important;
  background-image: url('assets/police-hero-bg.png') !important;
  background-position: center top !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  pointer-events: none !important;
  opacity: 1 !important;
  filter: brightness(1) contrast(1.05) saturate(1.1) !important;
}

/* Atmospheric subtle depth gradient: crystal clear over hero, softly transitions downwards */
body::after {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: -1 !important;
  background: linear-gradient(180deg, 
    rgba(3, 8, 20, 0.08) 0%, 
    rgba(3, 8, 20, 0.2) 550px, 
    rgba(2, 6, 16, 0.82) 1000px, 
    rgba(2, 6, 16, 0.96) 100%) !important;
  pointer-events: none !important;
}

.ambient, .ambient-one, .ambient-two,
.hero-reticle, .hero-stars, .hero-pointer-glow, .hero-sparks,
.hero-halo, .hero-halo-outer, #cyberTacticalCanvas {
  display: none !important;
}

/* Ambient glow orbs */
.ambient-one {
  display: block !important;
  position: fixed;
  top: -20%;
  left: 20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -2;
  animation: ambientFloat 14s ease-in-out infinite alternate;
}

.ambient-two {
  display: block !important;
  position: fixed;
  bottom: -20%;
  right: 15%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.14) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: -2;
  animation: ambientFloat 18s ease-in-out infinite alternate-reverse;
}

@keyframes ambientFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* Topbar sleek glassmorphic blur */
.topbar {
  background: rgba(4, 8, 20, 0.78) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.18) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6) !important;
}

.brand-label b {
  color: #ffffff !important;
  text-shadow: 0 0 15px var(--pro-primary);
  letter-spacing: 1px;
}

.brand-label small {
  color: var(--pro-primary) !important;
  letter-spacing: 2px !important;
  font-weight: 800 !important;
}

/* ========================================================
   2. HERO SECTION — CINEMATIC COMMAND CENTER
   ======================================================== */
.hero {
  position: relative !important;
  background: rgba(6, 14, 32, 0.6) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(56, 189, 248, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  overflow: hidden !important;
}

/* Inside the hero box: Server Wallpaper (society-wallpaper.webp) */
.hero-banner {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: url('assets/society-wallpaper.webp') !important;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  opacity: 0.55 !important;
  filter: saturate(1.25) brightness(0.92) contrast(1.1) !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* Atmospheric backdrop: keeps text on the right crystal clear and blends the society wallpaper */
.hero::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(270deg, 
    rgba(3, 8, 20, 0.88) 0%, 
    rgba(4, 10, 24, 0.58) 45%, 
    rgba(6, 14, 32, 0.25) 75%, 
    rgba(3, 8, 20, 0.7) 100%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* Subtle police emergency beacon reflection on hero perimeter */
@keyframes policeBeaconGlow {
  0% {
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8),
                inset 16px 0 50px rgba(239, 68, 68, 0.12),
                inset -16px 0 50px rgba(56, 189, 248, 0.12);
  }
  50% {
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8),
                inset 16px 0 50px rgba(56, 189, 248, 0.14),
                inset -16px 0 50px rgba(239, 68, 68, 0.14);
  }
  100% {
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8),
                inset 16px 0 50px rgba(239, 68, 68, 0.12),
                inset -16px 0 50px rgba(56, 189, 248, 0.12);
  }
}

/* Animated neon top border beam */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pro-primary), #ffffff, var(--pro-primary), transparent);
  animation: beamSlide 4s linear infinite;
  z-index: 5;
}

@keyframes beamSlide {
  0% { left: -100%; }
  100% { left: 100%; }
}

.hero .eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  color: var(--pro-primary) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2) !important;
}

.hero .eyebrow i {
  width: 8px;
  height: 8px;
  background: var(--pro-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--pro-primary);
  animation: pulseDot 1.6s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero h1 {
  font-family: 'Cairo', 'Outfit', sans-serif !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.8);
}

.hero h1 em {
  background: linear-gradient(135deg, #ffffff 0%, var(--pro-primary) 50%, #60a5fa 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: 0 0 30px var(--pro-glow);
  font-style: normal;
}

.hero p {
  color: #cbd5e1 !important;
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
}

/* Action buttons with rich tactile depth */
.button-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45), 0 0 15px rgba(56, 189, 248, 0.3) !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.button-primary:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 12px 35px rgba(2, 132, 199, 0.6), 0 0 25px var(--pro-primary) !important;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.button-secondary:hover {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: var(--pro-primary) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 15px var(--pro-glow) !important;
}

/* Hero Layout & Tactical Police Badge HUD */
.hero {
  min-height: 520px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Tactical HUD Corner Reticles (Image 1 Style) */
.hero-reticle {
  position: absolute !important;
  inset: 14px !important;
  pointer-events: none !important;
  z-index: 4 !important;
}

.hero-reticle span {
  position: absolute !important;
  width: 22px !important;
  height: 22px !important;
  border-color: rgba(56, 189, 248, 0.7) !important;
  border-style: solid !important;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5)) !important;
}

.hero-reticle span:nth-child(1) {
  top: 0 !important;
  right: 0 !important;
  border-width: 2px 2px 0 0 !important;
  border-top-right-radius: 4px !important;
}

.hero-reticle span:nth-child(2) {
  top: 0 !important;
  left: 0 !important;
  border-width: 2px 0 0 2px !important;
  border-top-left-radius: 4px !important;
}

.hero-reticle span:nth-child(3) {
  bottom: 0 !important;
  right: 0 !important;
  border-width: 0 2px 2px 0 !important;
  border-bottom-right-radius: 4px !important;
}

.hero-reticle span:nth-child(4) {
  bottom: 0 !important;
  left: 0 !important;
  border-width: 0 0 2px 2px !important;
  border-bottom-left-radius: 4px !important;
}

/* Tactical HUD Footer Tags (Image 1 Style) */
.hero-footer {
  position: absolute !important;
  bottom: 16px !important;
  left: 38px !important;
  right: 38px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  z-index: 4 !important;
  pointer-events: none !important;
  font-family: 'Outfit', 'Cairo', monospace !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 2.5px !important;
  color: rgba(148, 163, 184, 0.8) !important;
  text-transform: uppercase !important;
}

.hero-footer span:first-child::before {
  content: '⟦ ';
  color: #38bdf8;
}

.hero-footer span:first-child::after {
  content: ' ⟧';
  color: #38bdf8;
}

.hero-footer span:last-child::before {
  content: '⟦ ';
  color: #10b981;
}

.hero-footer span:last-child::after {
  content: ' ⟧';
  color: #10b981;
}

.hero-content {
  width: 58% !important;
  max-width: 720px !important;
  position: relative !important;
  z-index: 3 !important;
  padding: 65px 60px 65px 30px !important;
}

.hero-police-badge-card {
  position: absolute;
  left: 55px;
  top: 50%;
  transform: translateY(-50%);
  width: 290px;
  background: linear-gradient(135deg, rgba(6, 14, 32, 0.9) 0%, rgba(3, 8, 20, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 20px;
  padding: 24px 20px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 35px rgba(56, 189, 248, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-police-badge-card:hover {
  transform: translateY(-53%) scale(1.02);
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.85), 0 0 45px rgba(56, 189, 248, 0.35);
}

.police-badge-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, transparent 70%);
  top: 15%;
  border-radius: 50%;
  filter: blur(15px);
  pointer-events: none;
}

.police-star-emblem {
  position: relative;
  font-size: 2.2rem;
  color: #fbbf24;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.8), 0 0 40px rgba(251, 191, 36, 0.4);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.14) 0%, transparent 70%);
  border: 1px dashed rgba(251, 191, 36, 0.45);
  animation: starPulse 2.8s ease-in-out infinite;
}

.police-star-emblem::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-top-color: #38bdf8;
  border-right-color: transparent;
  animation: radarSpin 5s linear infinite;
}

@keyframes radarSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes starPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(245, 158, 11, 0.55), 0 0 15px rgba(56, 189, 248, 0.4);
  }
}

.police-crest-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: #ffffff;
}

.police-crest-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #38bdf8;
  margin-top: -6px;
}

.police-crest-divider {
  width: 65%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.6), transparent);
  margin: 4px 0;
}

.police-squads-count {
  font-size: 0.88rem;
  color: #e2e8f0;
}

.police-squads-count strong {
  color: #38bdf8;
}

.police-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #10b981;
}

.police-badge-status .badge-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 1.5s infinite;
}

.hero-detail {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: #94a3b8 !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  margin-top: 18px !important;
}

.hero-detail-line {
  display: inline-block !important;
  width: 40px !important;
  height: 1px !important;
  background: rgba(56, 189, 248, 0.5) !important;
}

@media (max-width: 1080px) {
  .hero-police-badge-card {
    display: none !important;
  }
  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 45px 25px !important;
  }
}

/* ========================================================
   3. STATS & OVERVIEW CARDS
   ======================================================== */
.stat-card {
  background: var(--pro-card-bg) !important;
  border: 1px solid var(--pro-card-border) !important;
  border-radius: 18px !important;
  padding: 18px 22px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--pro-primary) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7), 0 0 25px var(--pro-glow) !important;
}

.stat-icon {
  background: rgba(56, 189, 248, 0.14) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: var(--pro-primary) !important;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2) !important;
  border-radius: 12px !important;
}

.stat-card strong {
  color: #ffffff !important;
  font-family: 'Outfit', 'Cairo', sans-serif !important;
  font-size: 2rem !important;
  text-shadow: 0 0 15px var(--pro-glow);
}

.stat-note {
  background: rgba(8, 16, 36, 0.8) !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  border-radius: 18px !important;
  color: #cbd5e1 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
}

/* ========================================================
   4. VIOLATIONS SECTION & ADVANCED CARDS
   ======================================================== */
.finder {
  background: var(--pro-card-bg) !important;
  border: 1px solid var(--pro-card-border) !important;
  border-radius: 20px !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  padding: 22px !important;
}

.search-wrap {
  background: rgba(4, 9, 22, 0.85) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 14px !important;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.25s ease !important;
}

.search-wrap:focus-within {
  border-color: var(--pro-primary) !important;
  box-shadow: 0 0 20px var(--pro-glow), inset 0 2px 8px rgba(0, 0, 0, 0.6) !important;
}

.search-wrap input {
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 1.05rem !important;
}

.search-wrap input::placeholder {
  color: #64748b !important;
}

/* Filter pills */
.filters .filter {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  color: #cbd5e1 !important;
  font-weight: 700 !important;
  padding: 8px 16px !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.filters .filter:hover {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.filters .filter.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(14, 165, 233, 0.2)) !important;
  border-color: var(--pro-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 0 18px var(--pro-glow) !important;
}

.filters .filter.danger-filter.active {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.4), rgba(244, 63, 94, 0.2)) !important;
  border-color: var(--pro-danger) !important;
  box-shadow: 0 0 20px var(--pro-danger-glow) !important;
}

/* Favorites Filter Pill at Top */
.filters .filter[data-grade="favorites"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
  background: rgba(245, 158, 11, 0.08) !important;
  color: #e2e8f0 !important;
}

.filters .filter[data-grade="favorites"] .fav-star-icon {
  color: #fbbf24 !important;
  font-size: 14px !important;
  filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.7));
}

.filters .filter[data-grade="favorites"]:hover {
  background: rgba(245, 158, 11, 0.2) !important;
  border-color: rgba(245, 158, 11, 0.6) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3) !important;
}

.filters .filter[data-grade="favorites"].active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.45), rgba(217, 119, 6, 0.28)) !important;
  border-color: #f59e0b !important;
  color: #ffffff !important;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

.fav-count-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(245, 158, 11, 0.35) !important;
  border: 1px solid rgba(245, 158, 11, 0.65) !important;
  color: #fef08a !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  padding: 1px 8px !important;
  border-radius: 99px !important;
  margin-right: 3px !important;
  line-height: 1.2 !important;
}

/* Violation Rules Cards */
.rules-cards {
  gap: 16px !important;
}

.rule-card {
  background: linear-gradient(145deg, rgba(10, 18, 38, 0.8), rgba(6, 12, 26, 0.9)) !important;
  border: 1px solid rgba(56, 189, 248, 0.18) !important;
  border-radius: 16px !important;
  padding: 18px 20px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.rule-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.rule-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 25px var(--pro-glow) !important;
}

.rule-card:hover::before {
  opacity: 1;
}

/* Danger / Grade 7 card with glowing hazard aura */
.rule-card.rule-danger {
  border-color: rgba(244, 63, 94, 0.35) !important;
  background: linear-gradient(145deg, rgba(28, 10, 16, 0.85), rgba(12, 4, 8, 0.95)) !important;
}

.rule-card.rule-danger:hover {
  border-color: var(--pro-danger) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 25px var(--pro-danger-glow) !important;
}

.rule-category {
  background: rgba(56, 189, 248, 0.12) !important;
  color: var(--pro-primary) !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  border-radius: 8px !important;
  padding: 4px 10px !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px;
}

.rule-danger .rule-category {
  background: rgba(244, 63, 94, 0.15) !important;
  color: #ff6b8b !important;
  border-color: rgba(244, 63, 94, 0.35) !important;
}

.rule-code {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 5px 12px !important;
  font-family: 'Outfit', monospace !important;
  font-weight: 800 !important;
  transition: all 0.2s ease !important;
}

.rule-code:hover {
  background: var(--pro-primary) !important;
  color: #030712 !important;
  border-color: var(--pro-primary) !important;
  box-shadow: 0 0 15px var(--pro-primary) !important;
  transform: scale(1.05) !important;
}

/* Card Top Actions: Code + Star side-by-side */
.rule-top-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Star Button - Default State (Unstarred) */
.star-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 30px !important;
  min-width: 32px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
  color: #94a3b8 !important; /* Muted slate/grey */
  font-size: 16px !important;
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  user-select: none !important;
  outline: none !important;
}

.star-btn:hover {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  color: #fbbf24 !important;
  transform: scale(1.08) !important;
}

/* ACTIVE / STARRED STATE: BRIGHT GLOWING GOLDEN YELLOW */
.star-btn.is-starred {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.32), rgba(217, 119, 6, 0.22)) !important;
  border: 1px solid #f59e0b !important;
  color: #fbbf24 !important; /* BRIGHT GOLDEN YELLOW */
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.55), inset 0 0 8px rgba(245, 158, 11, 0.25) !important;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.85) !important;
  transform: scale(1.04) !important;
}

.star-btn.is-starred:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.45), rgba(217, 119, 6, 0.35)) !important;
  border-color: #fbbf24 !important;
  color: #fef08a !important;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.75), inset 0 0 10px rgba(245, 158, 11, 0.4) !important;
  transform: scale(1.14) !important;
}

.star-btn:active {
  transform: scale(0.92) !important;
}

.star-btn .star-icon {
  display: inline-block;
  line-height: 1;
}

.star-btn.is-starred .star-icon {
  color: #fbbf24 !important;
}

.rule-card p {
  color: #e2e8f0 !important;
  font-size: 0.98rem !important;
  line-height: 1.8 !important;
}

/* ========================================================
   5. PENALTY CALCULATOR — TACTICAL MATRIX HUD
   ======================================================== */
.penalty-calculator {
  background: linear-gradient(135deg, rgba(10, 20, 44, 0.85) 0%, rgba(6, 12, 28, 0.95) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(56, 189, 248, 0.1) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

.calc-controls select {
  background: #060b1b !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5) !important;
}

.calc-grade {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  color: #cbd5e1 !important;
  font-weight: 800 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.calc-grade:hover {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.calc-grade.selected {
  background: linear-gradient(135deg, #0284c7, #0369a1) !important;
  border-color: var(--pro-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 0 18px var(--pro-glow) !important;
}

.calc-outcome {
  background: linear-gradient(135deg, rgba(8, 16, 36, 0.95), rgba(4, 9, 22, 0.98)) !important;
  border: 1px solid var(--pro-primary) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 25px var(--pro-glow), inset 0 0 15px rgba(56, 189, 248, 0.08) !important;
}

.calc-outcome strong {
  font-size: 1.35rem !important;
  color: #ffffff !important;
  text-shadow: 0 0 20px var(--pro-glow);
}

.calc-outcome strong.critical-result {
  color: #ff6b8b !important;
  text-shadow: 0 0 20px rgba(244, 63, 94, 0.6) !important;
}

.calc-outcome strong.discretion-result {
  color: #fcd34d !important;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.5) !important;
}

/* Penalties table overflow */
.table-overflow {
  background: rgba(6, 12, 26, 0.85) !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  border-radius: 18px !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6) !important;
}

.penalties-table thead th {
  background: rgba(14, 26, 56, 0.9) !important;
  color: var(--pro-primary) !important;
  font-weight: 800 !important;
}

/* Penalty severity cell styling in table */
.penalties-table td.penalty-critical {
  color: #ff6b8b !important;
  font-weight: 800 !important;
  background: rgba(244, 63, 94, 0.08) !important;
}

.penalties-table td.penalty-demotion {
  color: #fb923c !important;
  font-weight: 800 !important;
  background: rgba(249, 115, 22, 0.08) !important;
}

.penalties-table td.penalty-discretion {
  color: #7dd3fc !important;
  font-weight: 800 !important;
  background: rgba(56, 189, 248, 0.06) !important;
}

.penalties-table td.penalty-high {
  color: #facc15 !important;
  font-weight: 900 !important;
  font-family: 'Outfit', 'Cairo', sans-serif !important;
  letter-spacing: 0.5px;
}

.penalties-table td.penalty-medium {
  color: #38bdf8 !important;
  font-weight: 900 !important;
  font-family: 'Outfit', 'Cairo', sans-serif !important;
  letter-spacing: 0.5px;
}

.penalties-table td.penalty-low {
  color: #4ade80 !important;
  font-weight: 900 !important;
  font-family: 'Outfit', 'Cairo', sans-serif !important;
  letter-spacing: 0.5px;
}

/* Calculator Outcome Highlights */
.calc-outcome strong.demotion-result,
.mp-selected strong.mp-demotion {
  color: #fb923c !important;
  text-shadow: 0 0 16px rgba(251, 146, 60, 0.6) !important;
}

.calc-outcome strong.percentage-result,
.mp-selected strong.mp-percentage {
  color: #38bdf8 !important;
  font-family: 'Outfit', 'Cairo', sans-serif !important;
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.6) !important;
}

.mp-step.penalty-demotion {
  border-color: rgba(249, 115, 22, 0.4) !important;
}
.mp-step.penalty-demotion .mp-step-outcome {
  color: #fb923c !important;
}

.mp-step.penalty-high .mp-step-outcome {
  color: #facc15 !important;
}

.mp-step.penalty-medium .mp-step-outcome {
  color: #38bdf8 !important;
}

.mp-step.penalty-low .mp-step-outcome {
  color: #4ade80 !important;
}

/* ========================================================
   6. PERMISSIONS & PROMOTIONS — TACTICAL DEPTH
   ======================================================== */
.permission-card {
  background: var(--pro-card-bg) !important;
  border: 1px solid var(--pro-card-border) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.permission-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--pro-primary) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7), 0 0 25px var(--pro-glow) !important;
}

.permission-id {
  background: rgba(56, 189, 248, 0.15) !important;
  color: var(--pro-primary) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  border-radius: 8px !important;
  font-family: 'Outfit', monospace !important;
  font-weight: 900 !important;
}

.permission-action.permission-dismiss {
  background: rgba(244, 63, 94, 0.2) !important;
  color: #ff6b8b !important;
  border: 1px solid rgba(244, 63, 94, 0.4) !important;
}

.permission-action.permission-action-special {
  background: rgba(168, 85, 247, 0.2) !important;
  color: #c084fc !important;
  border: 1px solid rgba(168, 85, 247, 0.4) !important;
}

.permission-card.card-high-command {
  background: linear-gradient(140deg, rgba(32, 22, 10, 0.85), rgba(12, 16, 28, 0.9)) !important;
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.12) !important;
}

.permission-card.card-high-command:hover {
  border-color: #fbbf24 !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 158, 11, 0.3) !important;
}

.permission-card.card-high-command .permission-id {
  background: rgba(245, 158, 11, 0.2) !important;
  color: #fbbf24 !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
}

.permission-card.card-high-command .permission-type {
  color: #f59e0b !important;
  font-weight: 800 !important;
}

.staff-course {
  background: linear-gradient(135deg, rgba(28, 20, 8, 0.9), rgba(16, 12, 4, 0.95)) !important;
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  border-radius: 18px !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.2) !important;
}

.staff-course .course-icon {
  background: rgba(245, 158, 11, 0.2) !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.3) !important;
}

/* Promotions Browser */
.promotions-hero {
  background: linear-gradient(135deg, rgba(8, 18, 40, 0.85), rgba(4, 10, 24, 0.95)) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 20px !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6) !important;
}

.promotion-browser {
  background: var(--pro-card-bg) !important;
  border: 1px solid var(--pro-card-border) !important;
  border-radius: 20px !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

.promotion-tab {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  color: #cbd5e1 !important;
  font-weight: 700 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.promotion-tab:hover {
  background: rgba(56, 189, 248, 0.14) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.promotion-tab.is-active {
  background: linear-gradient(135deg, #0284c7, #0369a1) !important;
  border-color: var(--pro-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px var(--pro-glow) !important;
}

.promotion-detail {
  background: linear-gradient(135deg, rgba(6, 14, 32, 0.9), rgba(4, 8, 20, 0.95)) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(56, 189, 248, 0.06) !important;
}

.promotion-req {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 14px !important;
  transition: all 0.2s ease !important;
}

.promotion-req:hover {
  background: rgba(56, 189, 248, 0.1) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  transform: translateY(-2px) !important;
}

/* ========================================================
   BILINGUAL RANKS — ENGLISH PRIMARY + ARABIC CLARIFICATION
   ======================================================== */
.rank-name-bilingual {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.25;
  text-align: right;
  vertical-align: middle;
}

.rank-en {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  color: #ffffff;
  direction: ltr !important;
  text-align: left;
  display: inline-block;
  font-size: 0.98em;
}

.rank-ar {
  font-family: 'Cairo', sans-serif !important;
  font-size: 0.8em !important;
  font-weight: 600 !important;
  color: var(--pro-primary, #38bdf8) !important;
  opacity: 0.95;
  letter-spacing: normal;
  direction: rtl !important;
  display: inline-block;
}

/* In cards, badges and buttons */
.rank-cell {
  align-items: center !important;
}

.rank-cell .rank-name-bilingual {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rank-cell .rank-en {
  font-size: 0.96rem;
  color: #f8fafc;
}

.rank-cell .rank-ar {
  font-size: 0.8rem;
  color: #38bdf8;
}

.permission-card h3 .rank-name-bilingual {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.permission-card h3 .rank-en {
  font-size: 1.15rem;
  color: #f8fafc;
}

.permission-card h3 .rank-ar {
  font-size: 0.86rem;
  color: #38bdf8;
}

.permission-target {
  font-size: 0.88rem !important;
}

.permission-target .rank-name-bilingual {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.permission-target .rank-en {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
}

.permission-target .rank-ar {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* ========================================================
   PROMOTIONS TABS & CELLS RESTRUCTURING (Request 4 / Image 4)
   ======================================================== */
.promotion-rank-tabs {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-bottom: 24px !important;
  width: 100% !important;
}

@media (max-width: 1100px) {
  .promotion-rank-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .promotion-rank-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  .promotion-rank-tabs {
    grid-template-columns: 1fr !important;
  }
}

.promotion-tab {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  padding: 12px 14px !important;
  min-height: 86px !important;
  border-radius: 12px !important;
  background: rgba(12, 22, 45, 0.75) !important;
  border: 1px solid rgba(56, 189, 248, 0.18) !important;
  position: relative !important;
  overflow: visible !important;
  text-align: right !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all 0.22s ease !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
  white-space: normal !important;
}

.promotion-tab:hover {
  background: rgba(18, 32, 65, 0.9) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(56, 189, 248, 0.15) !important;
}

.promotion-tab.is-active {
  background: linear-gradient(135deg, rgba(8, 35, 75, 0.95) 0%, rgba(3, 20, 48, 0.98) 100%) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.35), inset 0 0 15px rgba(56, 189, 248, 0.15) !important;
  transform: translateY(-2px) !important;
}

.promotion-tab-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.promotion-tab-num {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  font-size: 0.8rem !important;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  padding: 2px 7px !important;
  border-radius: 5px !important;
  display: inline-block !important;
}

.promotion-tab.is-active .promotion-tab-num {
  background: #38bdf8 !important;
  color: #040814 !important;
  border-color: #38bdf8 !important;
}

.promotion-tab-step {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
}

.promotion-tab.is-active .promotion-tab-step {
  color: #93c5fd !important;
}

.promotion-tab .promotion-tab-text {
  width: 100% !important;
  overflow: visible !important;
}

.promotion-tab .rank-name-bilingual {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
  text-align: right !important;
  width: 100% !important;
  overflow: visible !important;
  white-space: normal !important;
}

.promotion-tab .rank-en {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.35 !important;
}

.promotion-tab .rank-ar {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
  white-space: normal !important;
  line-height: 1.3 !important;
}

.promotion-tab.is-active .rank-ar {
  color: #7dd3fc !important;
}

.promotion-current h4 .rank-name-bilingual {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.promotion-current h4 .rank-en {
  font-size: 1.85rem;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.promotion-current h4 .rank-ar {
  font-size: 1.05rem;
  color: var(--pro-primary);
}

.promotion-requirement-heading strong .rank-name-bilingual {
  display: inline-flex;
  flex-direction: row;
  gap: 6px;
  align-items: baseline;
}

.promotion-requirement-heading strong .rank-en {
  font-size: 1.05rem;
}

.promotion-requirement-heading strong .rank-ar {
  font-size: 0.9rem;
}

/* Mobile rank buttons */
.mp-rank .rank-name-bilingual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.mp-rank .rank-en {
  font-size: 0.8rem;
}

.mp-rank .rank-ar {
  font-size: 0.72rem;
}

/* Footnotes & aside badges */
.penalty-footnote .rank-name-bilingual,
.staff-course .rank-name-bilingual {
  display: inline-flex;
  flex-direction: row;
  gap: 6px;
  align-items: baseline;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  margin: 0 4px;
  vertical-align: middle;
}

.penalty-footnote .rank-en,
.staff-course .rank-en {
  font-size: 0.92em;
  color: #ffffff;
  font-weight: 700;
}

.penalty-footnote .rank-ar,
.staff-course .rank-ar {
  font-size: 0.82em;
  color: var(--pro-primary);
  font-weight: 600;
}

#calculatorContext .rank-name-bilingual,
#mobilePenaltyContext .rank-name-bilingual {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
}

/* ========================================================
   RANKS HIERARCHY GRID (17 OFFICIAL RANKS)
   ======================================================== */
.ranks-hierarchy-block {
  margin-top: 36px;
  background: linear-gradient(135deg, rgba(8, 16, 36, 0.95), rgba(4, 10, 24, 0.98)) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 20px !important;
  padding: 28px !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(56, 189, 248, 0.08) !important;
}

.ranks-hierarchy-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ranks-hierarchy-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ranks-hierarchy-icon {
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.ranks-hierarchy-title h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.ranks-hierarchy-title p {
  color: #94a3b8;
  font-size: 0.88rem;
  margin: 4px 0 0 0;
}

.ranks-count-badge {
  background: rgba(56, 189, 248, 0.15);
  color: var(--pro-primary);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
}

.chain-tier-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chain-tier-btn {
  background: #0d1527;
  color: #94a3b8;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 8px;
  padding: 7px 15px;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chain-tier-btn:hover {
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-1px);
}

.chain-tier-btn.active {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.ranks-hierarchy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.rank-hierarchy-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rank-hierarchy-card:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.15);
}

.rh-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rh-level {
  font-family: 'Outfit', monospace;
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--pro-primary);
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.rh-tier {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

.rh-body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rh-badge {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.rh-info .rank-name-bilingual {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rh-info .rank-en {
  font-size: 1rem;
  font-weight: 800;
  color: #f8fafc;
}

.rh-info .rank-ar {
  font-size: 0.82rem;
  color: var(--pro-primary);
}

/* ========================================================
   GOLD SUPREME LEADERSHIP CARDS (Request 3 / Image 3)
   High Commander [19] & Commander [18]
   ======================================================== */
.rank-hierarchy-card.card-gold-command,
.rank-hierarchy-card[data-level="19"],
.rank-hierarchy-card[data-level="18"] {
  background: linear-gradient(135deg, rgba(45, 30, 8, 0.95) 0%, rgba(26, 17, 3, 0.98) 100%) !important;
  border: 1.5px solid #fbbf24 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.38), inset 0 1px 0 rgba(254, 240, 138, 0.4), inset 0 0 15px rgba(245, 158, 11, 0.15) !important;
  position: relative !important;
  overflow: hidden !important;
}

.rank-hierarchy-card.card-gold-command::before,
.rank-hierarchy-card[data-level="19"]::before,
.rank-hierarchy-card[data-level="18"]::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #fef08a, #f59e0b, #d97706);
}

.rank-hierarchy-card.card-gold-command:hover,
.rank-hierarchy-card[data-level="19"]:hover,
.rank-hierarchy-card[data-level="18"]:hover {
  transform: translateY(-4px) scale(1.015) !important;
  border-color: #fef08a !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), 0 0 35px rgba(245, 158, 11, 0.55), inset 0 0 20px rgba(245, 158, 11, 0.25) !important;
}

.rank-hierarchy-card.card-gold-command .rh-level,
.rank-hierarchy-card[data-level="19"] .rh-level,
.rank-hierarchy-card[data-level="18"] .rh-level {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%) !important;
  color: #040814 !important;
  font-weight: 900 !important;
  border: 1px solid #fef08a !important;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.5) !important;
}

.rank-hierarchy-card.card-gold-command .rh-tier,
.rank-hierarchy-card[data-level="19"] .rh-tier,
.rank-hierarchy-card[data-level="18"] .rh-tier {
  color: #fde047 !important;
  font-weight: 700 !important;
}

.rank-hierarchy-card.card-gold-command .rh-info .rank-en,
.rank-hierarchy-card[data-level="19"] .rh-info .rank-en,
.rank-hierarchy-card[data-level="18"] .rh-info .rank-en {
  color: #ffffff !important;
  font-weight: 900 !important;
  text-shadow: 0 0 14px rgba(251, 191, 36, 0.5) !important;
}

.rank-hierarchy-card.card-gold-command .rh-info .rank-ar,
.rank-hierarchy-card[data-level="19"] .rh-info .rank-ar,
.rank-hierarchy-card[data-level="18"] .rh-info .rank-ar {
  color: #fbbf24 !important;
  font-weight: 800 !important;
}

.rank-hierarchy-card.card-gold-command .rh-badge,
.rank-hierarchy-card[data-level="19"] .rh-badge,
.rank-hierarchy-card[data-level="18"] .rh-badge {
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.9)) !important;
}

/* Highlight Command Staff and General */
.rank-hierarchy-card[data-level="17"],
.rank-hierarchy-card[data-level="16"] {
  border-color: rgba(245, 158, 11, 0.45);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(255, 255, 255, 0.02));
}

.rank-hierarchy-card[data-level="17"] .rh-level,
.rank-hierarchy-card[data-level="16"] .rh-level {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.35);
}

/* ========================================================
   7. LSPD RULES & REGULATIONS SECTION
   ======================================================== */
.lspd-rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.lspd-rule-card {
  background: var(--pro-card-bg);
  border: 1px solid var(--pro-card-border);
  border-radius: 16px;
  padding: 22px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.lspd-rule-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pro-primary), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.lspd-rule-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--pro-primary-rgb), 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 25px var(--pro-glow);
}

.lspd-rule-card:hover::before {
  opacity: 1;
}

.lspd-rule-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.lspd-rule-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(var(--pro-primary-rgb), 0.14);
  border: 1px solid rgba(var(--pro-primary-rgb), 0.3);
  color: var(--pro-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(var(--pro-primary-rgb), 0.2);
}

.lspd-rule-head h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
}

.lspd-rule-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

.lspd-motto-banner {
  margin-top: 36px;
  background: linear-gradient(135deg, rgba(8, 16, 36, 0.95), rgba(12, 24, 52, 0.98));
  border: 1px solid var(--pro-primary);
  border-radius: 18px;
  padding: 24px 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.75), 0 0 35px var(--pro-glow);
  position: relative;
  overflow: hidden;
}

.lspd-motto-banner strong {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: #ffffff;
  text-shadow: 0 0 20px var(--pro-primary);
  font-family: 'Outfit', 'Cairo', sans-serif;
}

.lspd-motto-star {
  color: var(--pro-primary);
  font-size: 1.35rem;
  filter: drop-shadow(0 0 8px var(--pro-primary));
}

/* ========================================================
   8. ENHANCED FLOATING SIDEBAR (QUICK RAIL)
   ======================================================== */
.quick-rail {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.quick-rail a {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  color: #94a3b8 !important;
  border-radius: 14px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
}

.rail-svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.85;
  transition: transform 0.22s, stroke 0.22s, filter 0.22s;
  pointer-events: none;
}

.quick-rail a:hover {
  background: rgba(var(--pro-primary-rgb), 0.16) !important;
  border-color: rgba(var(--pro-primary-rgb), 0.45) !important;
  color: #ffffff !important;
  transform: scale(1.08) !important;
}

.quick-rail a:hover .rail-svg {
  transform: scale(1.12);
  filter: drop-shadow(0 0 6px var(--pro-primary));
}

.quick-rail a.active {
  background: linear-gradient(135deg, rgba(var(--pro-primary-rgb), 0.28), rgba(var(--pro-primary-rgb), 0.12)) !important;
  border-color: var(--pro-primary) !important;
  color: var(--pro-primary) !important;
  box-shadow: 0 0 20px var(--pro-glow), inset 0 0 10px rgba(var(--pro-primary-rgb), 0.18) !important;
}

.quick-rail a.active::before {
  content: '';
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 3.5px;
  height: 22px;
  border-radius: 4px;
  background: var(--pro-primary);
  box-shadow: 0 0 14px var(--pro-primary);
}

.quick-rail a.active .rail-svg {
  filter: drop-shadow(0 0 8px var(--pro-primary));
}

.quick-rail .rail-label {
  position: absolute !important;
  left: calc(100% + 14px) !important;
  top: 50% !important;
  transform: translateY(-50%) translateX(-6px) !important;
  padding: 7px 16px !important;
  background: #090f24 !important;
  border: 1px solid var(--pro-primary) !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), 0 0 18px var(--pro-glow) !important;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s !important;
  z-index: 10000 !important;
}

.quick-rail .rail-label::after {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #090f24;
}

.quick-rail a:hover .rail-label,
.quick-rail a:focus-visible .rail-label {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(-50%) translateX(0) !important;
}

/* Mobile dock SVGs */
.dock-svg {
  width: 19px;
  height: 19px;
  stroke-width: 2;
  margin-bottom: 2px;
}

/* Toast alert notification */
.toast {
  background: rgba(9, 15, 36, 0.94) !important;
  border: 1px solid var(--pro-primary) !important;
  border-radius: 14px !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px var(--pro-glow) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  backdrop-filter: blur(16px) !important;
}

/* ========================================================
   8. TACTICAL TELEMETRY & TOPBAR HUD
   ======================================================== */
.tactical-telemetry {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: auto;
  margin-left: 20px;
}

.telemetry-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.2);
}

.telemetry-beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: beaconPulse 1.8s infinite ease-in-out;
}

@keyframes beaconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

.telemetry-label {
  font-family: 'Outfit', monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #a7f3d0;
}

.telemetry-time {
  font-family: 'Outfit', monospace;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--pro-primary);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 5px 12px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.telemetry-sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--pro-primary);
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Outfit', monospace;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.telemetry-sound-toggle:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--pro-primary);
  box-shadow: 0 0 15px var(--pro-glow);
  transform: translateY(-1px);
}

.sound-bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 12px;
}

.sound-bars i {
  display: block;
  width: 2.5px;
  background: var(--pro-primary);
  border-radius: 1px;
  animation: soundWave 1.2s infinite ease-in-out alternate;
}

.sound-bars i:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.sound-bars i:nth-child(2) { height: 90%; animation-delay: 0.3s; }
.sound-bars i:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.sound-bars i:nth-child(4) { height: 100%; animation-delay: 0.4s; }

@keyframes soundWave {
  0% { height: 25%; }
  100% { height: 100%; }
}

.telemetry-sound-toggle.is-muted {
  border-color: rgba(244, 63, 94, 0.4);
  color: #f43f5e;
}

.telemetry-sound-toggle.is-muted .sound-bars i {
  background: #f43f5e;
  animation: none;
  height: 25% !important;
}

@media (max-width: 820px) {
  .tactical-telemetry {
    display: none !important;
  }
}

/* ========================================================
   9. HERO ADVANCED GRAPHICS & HOLOGRAPHIC CHROME
   ======================================================== */
.hero h1 em {
  background: linear-gradient(90deg, #ffffff 0%, var(--pro-primary) 30%, #93c5fd 50%, var(--pro-primary) 70%, #ffffff 100%) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: chromeShine 6s linear infinite !important;
}

@keyframes chromeShine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Single hero crest glow - no duplicate rotating elements */
.hero-art::after {
  content: none !important;
  display: none !important;
}

.hero-halo-outer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  border: 1px dotted rgba(56, 189, 248, 0.35);
  border-radius: 50%;
  animation: radarSpin 10s linear infinite;
  pointer-events: none;
}

/* Button laser sweep shimmer */
.button-primary {
  position: relative;
  overflow: hidden;
}

.button-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(30deg);
  transition: all 0.6s ease;
  pointer-events: none;
}

.button-primary:hover::after {
  left: 130%;
}

/* ========================================================
   10. VIOLATION CARDS — COLOR-CODED GRAPHIC IDENTITIES
   ======================================================== */
.rule-card {
  position: relative !important;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(56, 189, 248, 0.14) 0%, transparent 60%),
              linear-gradient(145deg, rgba(10, 18, 38, 0.88), rgba(6, 12, 26, 0.96)) !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, box-shadow 0.25s !important;
  will-change: transform;
}

/* Grade 1: Sky Cyan */
.rule-card.grade-1 {
  border-color: rgba(56, 189, 248, 0.25) !important;
}
.rule-card.grade-1 .rule-category {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
}

/* Grade 2: Sapphire Azure */
.rule-card.grade-2 {
  border-color: rgba(59, 130, 246, 0.25) !important;
}
.rule-card.grade-2 .rule-category {
  background: rgba(59, 130, 246, 0.15) !important;
  color: #60a5fa !important;
  border-color: rgba(59, 130, 246, 0.4) !important;
}

/* Grade 3: Emerald Jade */
.rule-card.grade-3 {
  border-color: rgba(16, 185, 129, 0.25) !important;
}
.rule-card.grade-3 .rule-category {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #34d399 !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
}

/* Grade 4: Amber Gold */
.rule-card.grade-4 {
  border-color: rgba(245, 158, 11, 0.3) !important;
}
.rule-card.grade-4 .rule-category {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #fbbf24 !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
}

/* Grade 5: Sunset Orange */
.rule-card.grade-5 {
  border-color: rgba(249, 115, 22, 0.35) !important;
}
.rule-card.grade-5 .rule-category {
  background: rgba(249, 115, 22, 0.18) !important;
  color: #fb923c !important;
  border-color: rgba(249, 115, 22, 0.45) !important;
}

/* Grade 6: Ruby Alert */
.rule-card.grade-6 {
  border-color: rgba(239, 68, 68, 0.38) !important;
}
.rule-card.grade-6 .rule-category {
  background: rgba(239, 68, 68, 0.18) !important;
  color: #f87171 !important;
  border-color: rgba(239, 68, 68, 0.5) !important;
}

/* Grade 7: ULTRA HAZARD CRITICAL ALERT */
.rule-card.grade-7,
.rule-card.rule-danger {
  border: 1.5px solid rgba(244, 63, 94, 0.65) !important;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(244, 63, 94, 0.2) 0%, transparent 60%),
              linear-gradient(145deg, rgba(32, 10, 18, 0.92), rgba(16, 4, 10, 0.98)) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(244, 63, 94, 0.25) !important;
}

.rule-card.grade-7::after,
.rule-card.rule-danger::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(45deg, #f43f5e, #f43f5e 10px, #180509 10px, #180509 20px);
}

.rule-card.grade-7 .rule-category,
.rule-card.rule-danger .rule-category {
  background: rgba(244, 63, 94, 0.25) !important;
  color: #ff859d !important;
  border: 1px solid #f43f5e !important;
  font-weight: 900 !important;
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.4) !important;
  animation: hazardPulse 2.4s infinite ease-in-out;
}

@keyframes hazardPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

/* Copy button burst */
.rule-code {
  position: relative;
  transition: all 0.2s ease !important;
}

.rule-code:hover {
  background: rgba(56, 189, 248, 0.18) !important;
  border-color: var(--pro-primary) !important;
  box-shadow: 0 0 15px var(--pro-glow) !important;
  transform: translateY(-1px);
}

.copy-success-burst {
  animation: copyBurst 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
  background: rgba(16, 185, 129, 0.25) !important;
  border-color: #10b981 !important;
  color: #a7f3d0 !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.6) !important;
}

@keyframes copyBurst {
  0% { transform: scale(0.92); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ========================================================
   11. GENERAL RULES & ARMORY BALANCED GRIDS
   ======================================================== */
.lspd-rules-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 20px !important;
  margin-top: 24px !important;
}

.lspd-rules-grid .lspd-rule-card:nth-child(1),
.lspd-rules-grid .lspd-rule-card:nth-child(2),
.lspd-rules-grid .lspd-rule-card:nth-child(3) {
  grid-column: span 2 !important;
}

.lspd-rules-grid .lspd-rule-card:nth-child(4),
.lspd-rules-grid .lspd-rule-card:nth-child(5) {
  grid-column: span 3 !important;
}

.lspd-card-tag {
  display: inline-block;
  font-family: 'Outfit', monospace;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--pro-primary);
  margin-bottom: 4px;
}

.lspd-card-commander {
  border-color: rgba(56, 189, 248, 0.45) !important;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.15), transparent 70%),
              linear-gradient(145deg, rgba(12, 22, 48, 0.92), rgba(6, 12, 28, 0.98)) !important;
}

.lspd-card-commander .lspd-rule-icon {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(14, 165, 233, 0.1)) !important;
  border-color: var(--pro-primary) !important;
  box-shadow: 0 0 20px var(--pro-glow) !important;
}

/* Armory 4-column balanced grid */
.lspd-armory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.armory-card {
  border-color: rgba(245, 158, 11, 0.28) !important;
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.1), transparent 70%),
              linear-gradient(145deg, rgba(18, 16, 28, 0.9), rgba(8, 8, 18, 0.96)) !important;
}

.armory-card:hover {
  border-color: rgba(245, 158, 11, 0.6) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(245, 158, 11, 0.25) !important;
}

.armory-icon {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2) !important;
}

.armory-tag {
  color: #fbbf24 !important;
}

@media (max-width: 1024px) {
  .lspd-armory-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 860px) {
  .lspd-rules-grid {
    grid-template-columns: 1fr !important;
  }
  .lspd-rules-grid .lspd-rule-card {
    grid-column: span 1 !important;
  }
  .lspd-armory-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ========================================================
   12. MOTTO BANNER WITH POLICE BEACON LIGHTS
   ======================================================== */
.lspd-motto-banner {
  position: relative !important;
  overflow: hidden !important;
  padding: 30px 40px !important;
  border: 1.5px solid var(--pro-primary) !important;
  background: linear-gradient(135deg, rgba(8, 16, 38, 0.96) 0%, rgba(14, 26, 60, 0.98) 100%) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.25) !important;
}

.motto-beacon {
  position: absolute;
  top: 0;
  width: 90px;
  height: 100%;
  pointer-events: none;
}

.motto-beacon-left {
  left: 0;
  background: radial-gradient(circle at left, rgba(56, 189, 248, 0.5) 0%, transparent 70%);
  animation: beaconPoliceBlue 1.3s infinite alternate ease-in-out;
}

.motto-beacon-right {
  right: 0;
  background: radial-gradient(circle at right, rgba(244, 63, 94, 0.5) 0%, transparent 70%);
  animation: beaconPoliceRed 1.3s infinite alternate-reverse ease-in-out;
}

@keyframes beaconPoliceBlue {
  0% { opacity: 0.15; filter: blur(4px); }
  100% { opacity: 0.95; filter: blur(10px); }
}

@keyframes beaconPoliceRed {
  0% { opacity: 0.15; filter: blur(4px); }
  100% { opacity: 0.95; filter: blur(10px); }
}

.motto-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.motto-sub {
  font-family: 'Outfit', monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--pro-primary);
  opacity: 0.85;
}

.motto-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 2.1rem !important;
  font-weight: 900 !important;
  letter-spacing: 4px !important;
  color: #ffffff !important;
  text-shadow: 0 0 30px var(--pro-glow-strong), 0 5px 20px rgba(0, 0, 0, 0.8);
}

@media (max-width: 640px) {
  .motto-title {
    font-size: 1.4rem !important;
    letter-spacing: 2px !important;
  }
}

/* ========================================================
   13. SILKY SMOOTH SCROLL REVEAL ANIMATIONS
   ======================================================== */
html {
  scroll-behavior: smooth !important;
}

.tactical-reveal-target {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transition-delay: var(--reveal-delay, 0ms) !important;
  will-change: opacity, transform;
}

.tactical-reveal-target.tactical-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}



/* ========================================================
   BASIC MILITARY DARK BACKGROUND (REPLACING HOLOGRAPHIC)
   ======================================================== */
body {
  background-color: #080c14 !important;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(30, 58, 138, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, #090d16 0%, #06090f 100%) !important;
  background-size: 100% 100% !important;
  background-attachment: fixed !important;
  color: var(--pro-text) !important;
  overflow-x: hidden !important;
}

.ambient, .ambient-one, .ambient-two,
.hero-reticle, .hero-stars, .hero-pointer-glow, .hero-sparks,
.hero-halo, .hero-halo-outer, #cyberTacticalCanvas {
  display: none !important;
}

/* ========================================================
   HEADER BRAND LOGO & HERO PNG FIX (IMAGE 4)
   ======================================================== */
.brand-image {
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  background: #0d1527 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45) !important;
  animation: none !important;
  transform: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.brand-image img, .brand-static-logo {
  width: 42px !important;
  height: 42px !important;
  object-fit: contain !important;
  animation: none !important;
  transform: none !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5)) !important;
}

.brand:hover .brand-image {
  transform: translateY(-1px) !important;
  border-color: var(--pro-primary) !important;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.25) !important;
}

.hero-art {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  pointer-events: none !important;
}

.hero-art img.hero-static-crest {
  width: 100% !important;
  max-width: 400px !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.8)) !important;
  animation: none !important;
}

.closing-icon img, .footer-brand img {
  object-fit: contain !important;
  animation: none !important;
}

/* ========================================================
   REMOVE TELEMETRY & AUDIO TOGGLE (IMAGE 2)
   ======================================================== */
.tactical-telemetry, #tacticalTelemetry {
  display: none !important;
}

/* ========================================================
   ENHANCED PENALTIES TABLE (IMAGE 1 REFINEMENT)
   ======================================================== */
.tactical-penalties-wrapper {
  background: #090e1a !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65) !important;
  overflow-x: auto !important;
}

.refined-military-table {
  width: 100% !important;
  min-width: 1100px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
  text-align: center !important;
}

.refined-military-table thead th {
  background: #0d162a !important;
  color: #7dd3fc !important;
  padding: 18px 12px !important;
  font-weight: 800 !important;
  border-bottom: 2px solid rgba(56, 189, 248, 0.3) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.04) !important;
  vertical-align: middle !important;
}

.refined-military-table thead th.th-rank-head {
  text-align: right !important;
  padding-right: 20px !important;
  width: 220px !important;
  min-width: 220px !important;
  background: #0f1a33 !important;
  position: sticky !important;
  right: 0 !important;
  z-index: 5 !important;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.5) !important;
}

.th-main-text {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.th-sub-code {
  display: block;
  font-family: 'Outfit', monospace;
  font-size: 0.72rem;
  color: #38bdf8;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-top: 2px;
}

.refined-military-table tbody tr {
  background: #0a0f1d;
  transition: background 0.18s ease;
}

.refined-military-table tbody tr:nth-child(even) {
  background: #0d1426;
}

.refined-military-table tbody tr:hover {
  background: rgba(30, 58, 138, 0.3) !important;
}

.refined-military-table tbody tr:hover th.rank-row-th {
  background: #15223f !important;
}

.refined-military-table th.rank-row-th {
  position: sticky !important;
  right: 0 !important;
  z-index: 4 !important;
  background: #0d1528 !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12) !important;
  border-left: 1px solid rgba(56, 189, 248, 0.18) !important;
  padding: 16px 18px !important;
  text-align: right !important;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.5) !important;
}

.refined-military-table td.penalty-td {
  padding: 14px 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.04) !important;
  vertical-align: middle !important;
}

.rank-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-family: 'Outfit', monospace;
  font-weight: 900;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.rank-title {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.rank-title .rank-en {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.rank-title .rank-ar {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 2px;
}

/* Tactical Sanction Badges / Pills */
.sanction-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: normal;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.sanction-pill .pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* 1. Dismissal / Termination (فصل) */
.pill-danger {
  background: rgba(239, 68, 68, 0.18) !important;
  color: #fca5a5 !important;
  border-color: rgba(239, 68, 68, 0.45) !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}
.pill-danger .pill-dot {
  background: #ef4444;
  box-shadow: 0 0 6px #ef4444;
}

/* 2. Demotion (كسر رتبة / تنزيل رتبة) */
.pill-demote {
  background: rgba(249, 115, 22, 0.18) !important;
  color: #fdba74 !important;
  border-color: rgba(249, 115, 22, 0.45) !important;
}
.pill-demote .pill-dot {
  background: #f97316;
}

/* 3. Rehab & Points Deduction (إعادة تأهيل + خصم) */
.pill-warning {
  background: rgba(245, 158, 11, 0.16) !important;
  color: #fcd34d !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
}
.pill-warning .pill-dot {
  background: #f59e0b;
}

/* 4. Exemption (إعفاء) */
.pill-alert {
  background: rgba(244, 63, 94, 0.15) !important;
  color: #fda4af !important;
  border-color: rgba(244, 63, 94, 0.35) !important;
}
.pill-alert .pill-dot {
  background: #f43f5e;
}

/* 5. Warnings */
.pill-warn-high {
  background: rgba(251, 146, 60, 0.16) !important;
  color: #fed7aa !important;
  border-color: rgba(251, 146, 60, 0.4) !important;
}
.pill-warn-high .pill-dot {
  background: #fb923c;
}

.pill-warn-mid {
  background: rgba(56, 189, 248, 0.14) !important;
  color: #bae6fd !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
}
.pill-warn-mid .pill-dot {
  background: #38bdf8;
}

.pill-warn-low {
  background: rgba(14, 165, 233, 0.12) !important;
  color: #e0f2fe !important;
  border-color: rgba(14, 165, 233, 0.3) !important;
}
.pill-warn-low .pill-dot {
  background: #0ea5e9;
}

/* 6. Verbal Warning (تنبيه شفهي) */
.pill-verbal {
  background: rgba(148, 163, 184, 0.12) !important;
  color: #cbd5e1 !important;
  border-color: rgba(148, 163, 184, 0.3) !important;
}
.pill-verbal .pill-dot {
  background: #94a3b8;
}

/* 7. Discretion Severe (تقديرية وتصل إلى الفصل) */
.pill-discretion-high {
  background: rgba(168, 85, 247, 0.16) !important;
  color: #e9d5ff !important;
  border-color: rgba(168, 85, 247, 0.4) !important;
}
.pill-discretion-high .pill-dot {
  background: #a855f7;
  box-shadow: 0 0 6px #a855f7;
}

/* 8. Command Directive (تقديرية وترفع لرئاسة الشؤون والاقسام) */
.pill-command {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(168, 85, 247, 0.22)) !important;
  color: #ffffff !important;
  border: 1px solid rgba(168, 85, 247, 0.5) !important;
  padding: 10px 24px !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.4px !important;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.25) !important;
}
.pill-command .pill-dot {
  background: #fbbf24;
  box-shadow: 0 0 6px #fbbf24;
}

.penalty-cell-command {
  background: #0e172e !important;
  padding: 18px 20px !important;
}

/* Table Legend Bar */
.penalties-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  background: #0b1120;
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-top: none;
  border-radius: 0 0 16px 16px;
  padding: 12px 20px;
  margin-top: -2px;
}

.legend-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 700;
}

.legend-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: 'Outfit', monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #cbd5e1;
  font-weight: 600;
}

.legend-dismissal i { background: #ef4444; width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.legend-demote i { background: #f97316; width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.legend-rehab i { background: #f59e0b; width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.legend-warning i { background: #38bdf8; width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.legend-verbal i { background: #94a3b8; width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.legend-command i { background: #a855f7; width: 7px; height: 7px; border-radius: 50%; display: inline-block; }

/* ========================================================
   RADIO CODES & DISPATCH SYSTEM STYLES (IMAGE 5)
   ======================================================== */
.radio-section {
  position: relative;
}

.btn-hero-radio {
  background: rgba(56, 189, 248, 0.12) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}

.btn-hero-radio:hover {
  background: rgba(56, 189, 248, 0.22) !important;
  border-color: var(--pro-primary) !important;
}

.stat-card-radio .stat-icon {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
}

.radio-finder {
  background: #0b1122;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 24px;
}

.radio-search-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.radio-search-wrap {
  flex: 1;
  min-width: 280px;
}

.radio-view-toggles {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #070d1a;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 10px;
  padding: 4px;
}

.radio-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: #94a3b8;
  border: none;
  border-radius: 7px;
  padding: 7px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.radio-toggle-btn.active {
  background: #172749;
  color: #38bdf8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.radio-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.radio-filter-btn {
  background: #0d1527;
  color: #94a3b8;
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 8px;
  padding: 7px 15px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.radio-filter-btn:hover {
  border-color: #38bdf8;
  color: #ffffff;
}

.radio-filter-btn.active {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38bdf8;
  color: #38bdf8;
}

.radio-filter-danger.active {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #fca5a5;
}

/* Radio Favorites Filter Button */
.radio-fav-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.radio-fav-filter:hover {
  background: rgba(245, 158, 11, 0.16);
  border-color: #f59e0b;
  color: #ffffff;
}

.radio-fav-filter.active {
  background: rgba(245, 158, 11, 0.22);
  border-color: #f59e0b;
  color: #fbbf24;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
}

.radio-badge-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.radio-star-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #64748b;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.radio-star-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
  color: #fbbf24;
  transform: scale(1.1);
}

.radio-star-btn.is-starred {
  background: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

.table-code-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.table-star-btn {
  width: 26px;
  height: 26px;
  min-width: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #64748b;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.table-star-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
  color: #fbbf24;
  transform: scale(1.1);
}

.table-star-btn.is-starred {
  background: rgba(245, 158, 11, 0.22);
  border-color: #f59e0b;
  color: #fbbf24;
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.radio-results-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 0 4px;
  color: #94a3b8;
  font-size: 0.86rem;
  font-weight: 600;
}

/* Radio Cards Grid */
.radio-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 16px;
}

.radio-code-card {
  background: #0b1122;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.radio-code-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.65), 0 0 20px rgba(56, 189, 248, 0.15);
}

.radio-code-card.priority-critical {
  border-color: rgba(239, 68, 68, 0.35);
}
.radio-code-card.priority-critical:hover {
  border-color: #ef4444;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.65), 0 0 20px rgba(239, 68, 68, 0.25);
}

.radio-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.radio-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #101c36;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 8px;
  padding: 5px 14px;
  font-family: 'Outfit', monospace;
  font-weight: 900;
  font-size: 1.15rem;
  color: #38bdf8;
  letter-spacing: 1px;
}

.priority-critical .radio-badge {
  background: #2b1218;
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

.radio-priority-tag {
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 6px;
  padding: 3px 9px;
  text-transform: uppercase;
}

.priority-tag-critical { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.4); }
.priority-tag-danger { background: rgba(249, 115, 22, 0.18); color: #fdba74; border: 1px solid rgba(249, 115, 22, 0.4); }
.priority-tag-warning { background: rgba(245, 158, 11, 0.16); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.35); }
.priority-tag-success { background: rgba(16, 185, 129, 0.16); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.35); }
.priority-tag-info { background: rgba(56, 189, 248, 0.14); color: #7dd3fc; border: 1px solid rgba(56, 189, 248, 0.3); }
.priority-tag-status { background: rgba(148, 163, 184, 0.14); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.3); }

.radio-pronounce-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #080d19;
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px dashed rgba(56, 189, 248, 0.2);
}

.radio-mic-icon {
  font-size: 1rem;
}

.radio-pronounce-text {
  font-size: 0.85rem;
  color: #94a3b8;
}

.radio-pronounce-text strong {
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 800;
  margin-right: 4px;
}

.radio-meaning-box {
  background: rgba(14, 22, 40, 0.6);
  border-radius: 8px;
  padding: 10px 12px;
}

.radio-meaning-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.radio-meaning-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
  margin: 0;
}

.radio-example-box {
  background: #080c18;
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 8px;
  padding: 10px 12px;
}

.radio-example-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 700;
}

.radio-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
}

.radio-copy-btn:hover {
  background: #38bdf8;
  color: #060a14;
}

.radio-example-code {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #f87171;
  background: transparent;
  padding: 0;
  line-height: 1.5;
  font-family: inherit;
}

.example-empty {
  padding: 8px 12px;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.04);
}

.example-empty-text {
  font-size: 0.78rem;
  color: #64748b;
  font-style: italic;
}

/* Radio Military Spreadsheet Table (Image 5 representation) */
.radio-sheet-block {
  background: #0b1122;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
}

.radio-sheet-title {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0e172e;
  padding: 14px 20px;
  border-bottom: 2px solid rgba(56, 189, 248, 0.25);
}

.sheet-title-highlight {
  background: #141f3b;
  border-bottom-color: rgba(239, 68, 68, 0.35);
}

.sheet-title-badge {
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 6px;
  padding: 2px 8px;
  font-family: 'Outfit', monospace;
  font-size: 0.75rem;
  font-weight: 800;
}

.radio-sheet-title h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.radio-military-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
}

.radio-military-table thead th {
  background: #0d1529;
  color: #7dd3fc;
  padding: 14px 16px;
  font-size: 0.88rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.radio-military-table tbody tr {
  background: #090e1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s ease;
}

.radio-military-table tbody tr:nth-child(even) {
  background: #0c1222;
}

.radio-military-table tbody tr:hover {
  background: rgba(30, 58, 138, 0.25);
}

.code-col-th {
  padding: 12px 16px;
  width: 140px;
}

.table-code-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #101c36;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 6px;
  padding: 4px 12px;
  font-family: 'Outfit', monospace;
  font-weight: 800;
  font-size: 0.95rem;
  color: #38bdf8;
}

.imp-badge {
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  background: #241117;
}

.pronounce-td {
  padding: 12px 16px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #e2e8f0;
}

.meaning-td {
  padding: 12px 16px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.example-td {
  padding: 12px 16px;
}

.table-example-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #060913;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 6px 10px;
}

.table-example-text {
  font-size: 0.88rem;
  font-weight: 800;
  color: #f87171; /* Highlighted in red like Image 5 */
}

.table-copy-icon {
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 4px;
  padding: 4px;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.table-copy-icon:hover {
  background: #38bdf8;
  color: #060a14;
}

.table-empty-dash {
  color: #64748b;
  font-weight: 700;
  padding-right: 12px;
}

@media (max-width: 768px) {
  .radio-cards-grid {
    grid-template-columns: 1fr;
  }
  .radio-search-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ========================================================
   POLICE SQUADS SECTION (فرق الشرطة الميدانية الأربعة)
   ======================================================== */
.squads-section {
  padding-top: 80px;
}

.squads-container-block {
  background: var(--pro-card-bg);
  border: 1px solid var(--pro-card-border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.squads-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.squads-head-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.squads-head-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.squads-head-title h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px;
}

.squads-head-title p {
  color: #94a3b8;
  font-size: 0.92rem;
  margin: 0;
}

.squads-stats-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  color: #38bdf8;
  font-weight: 800;
  font-size: 0.88rem;
}

.squad-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.squad-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
}

.squad-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-2px);
}

.squad-tab-btn.active {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

.squad-color-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.squad-roster-toggle {
  margin-right: auto;
  background: rgba(147, 51, 234, 0.12);
  border-color: rgba(147, 51, 234, 0.35);
  color: #c084fc;
}

.squad-roster-toggle:hover {
  background: rgba(147, 51, 234, 0.22);
  border-color: #a855f7;
  color: #e9d5ff;
}

.squad-roster-toggle.active {
  background: rgba(147, 51, 234, 0.3);
  border-color: #a855f7;
  color: #f3e8ff;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.4);
}

/* Clickable Overview Stat Cards - 5 Columns Balanced */
.overview {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-top: 24px !important;
}

@media (max-width: 1200px) {
  .overview {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .overview {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 500px) {
  .overview {
    grid-template-columns: 1fr !important;
  }
}

a.stat-card.stat-link {
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer;
  display: flex;
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

a.stat-card.stat-link:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--pro-primary-rgb), 0.65) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(var(--pro-primary-rgb), 0.25) !important;
}

.squads-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.squad-excel-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(147, 51, 234, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #e9d5ff;
  padding: 8px 16px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.22s ease;
}

.squad-excel-toggle-btn:hover,
.squad-excel-toggle-btn.active {
  background: rgba(147, 51, 234, 0.3);
  border-color: #c084fc;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.35);
  color: #ffffff;
}

.squads-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
}

@media (max-width: 1040px) {
  .squads-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}

/* Squad Tactical Card - Elite Cockpit HUD Design */
.squad-card {
  background: linear-gradient(145deg, rgba(12, 22, 44, 0.94) 0%, rgba(6, 11, 24, 0.98) 100%) !important;
  border: 1.5px solid var(--squad-border, rgba(56, 189, 248, 0.28)) !important;
  border-radius: 20px !important;
  padding: 24px !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 15px rgba(0, 0, 0, 0.5) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.squad-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  height: 3.5px !important;
  background: var(--squad-color, #38bdf8) !important;
  box-shadow: 0 0 16px var(--squad-color, #38bdf8) !important;
}

.squad-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--squad-color, #38bdf8) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 30px var(--squad-glow, rgba(56, 189, 248, 0.3)) !important;
}

/* Squad Color Themes */
/* Squad Alpha (Presidential Flagship - Spans Full Width Across Top) */
.squad-card.squad-alpha {
  grid-column: 1 / -1 !important;
  --squad-color: #fbbf24;
  --squad-bg: rgba(251, 191, 36, 0.12);
  --squad-border: rgba(251, 191, 36, 0.45);
  --squad-glow: rgba(251, 191, 36, 0.35);
  background: linear-gradient(145deg, rgba(20, 26, 52, 0.96) 0%, rgba(8, 12, 28, 0.98) 100%) !important;
  border: 1.5px solid rgba(251, 191, 36, 0.45) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(251, 191, 36, 0.15) !important;
}

.squad-card.squad-alpha .squad-task-cards {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

@media (max-width: 900px) {
  .squad-card.squad-alpha .squad-task-cards {
    grid-template-columns: 1fr !important;
  }
}

.squad-card.squad-bravo {
  --squad-color: #38bdf8;
  --squad-bg: rgba(56, 189, 248, 0.12);
  --squad-border: rgba(56, 189, 248, 0.38);
  --squad-glow: rgba(56, 189, 248, 0.35);
}

.squad-card.squad-charlie {
  --squad-color: #f59e0b;
  --squad-bg: rgba(245, 158, 11, 0.12);
  --squad-border: rgba(245, 158, 11, 0.38);
  --squad-glow: rgba(245, 158, 11, 0.35);
}

.squad-card.squad-delta {
  --squad-color: #f43f5e;
  --squad-bg: rgba(244, 63, 94, 0.12);
  --squad-border: rgba(244, 63, 94, 0.38);
  --squad-glow: rgba(244, 63, 94, 0.35);
}

.squad-card.squad-echo {
  --squad-color: #10b981;
  --squad-bg: rgba(16, 185, 129, 0.12);
  --squad-border: rgba(16, 185, 129, 0.38);
  --squad-glow: rgba(16, 185, 129, 0.35);
}

/* 1. Callsign Cluster & Top Bar */
.squad-card-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
}

.squad-callsign-cluster {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: var(--squad-bg, rgba(56, 189, 248, 0.12)) !important;
  border: 1px solid var(--squad-border, rgba(56, 189, 248, 0.4)) !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  direction: ltr !important;
}

.squad-radar-icon {
  font-size: 0.85rem !important;
}

.squad-callsign-text {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 900 !important;
  font-size: 0.92rem !important;
  color: var(--squad-color, #38bdf8) !important;
  letter-spacing: 0.8px !important;
}

.squad-freq-chip {
  background: rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 6px !important;
  padding: 1px 7px !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #cbd5e1 !important;
}

.squad-status-badge {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: #cbd5e1 !important;
  font-family: 'Cairo', 'Tajawal', sans-serif !important;
}

/* 2. Squad Emblem, Title & Tactical Role */
.squad-card-head {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 14px !important;
}

.squad-emblem-box {
  width: 52px !important;
  height: 52px !important;
  background: var(--squad-bg, rgba(2, 6, 23, 0.85)) !important;
  border: 1.5px solid var(--squad-border, rgba(56, 189, 248, 0.4)) !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.6rem !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.squad-identity h4 {
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  margin: 0 0 4px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.squad-en-name {
  font-family: 'Outfit', sans-serif !important;
  color: #94a3b8 !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
}

.squad-role-tag {
  display: inline-block !important;
  color: var(--squad-color, #38bdf8) !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  background: rgba(255, 255, 255, 0.04) !important;
  padding: 2px 10px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* 3. Regional Sectors Bar (Los Santos, Sandy Shores, Paleto Bay) */
.squad-sectors-strip {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  background: rgba(2, 6, 18, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  padding: 8px 12px !important;
  margin-bottom: 14px !important;
}

.squad-sectors-label {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: #94a3b8 !important;
  white-space: nowrap !important;
}

.squad-sectors-pills {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.squad-sector-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 6px !important;
  padding: 3px 9px !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  color: #f1f5f9 !important;
  transition: all 0.2s ease !important;
}

.squad-sector-pill:hover {
  border-color: var(--squad-color, #38bdf8) !important;
  color: #ffffff !important;
  background: var(--squad-bg, rgba(56, 189, 248, 0.16)) !important;
}

/* 4. Tactical Summary Box */
.squad-summary-box {
  background: rgba(4, 12, 30, 0.78) !important;
  border-right: 4px solid var(--squad-color, #38bdf8) !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  margin-bottom: 18px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 0 16px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.25s ease !important;
}

.squad-summary {
  color: #f8fafc !important;
  font-size: 1.06rem !important;
  font-weight: 600 !important;
  line-height: 1.85 !important;
  letter-spacing: 0.15px !important;
  margin: 0 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
}

/* 5. Tasks Matrix (Numbered Tactical Points 01, 02, 03) */
.squad-tasks-matrix {
  margin-bottom: 16px !important;
}

.squad-block-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #38bdf8 !important;
  margin: 0 0 12px !important;
  letter-spacing: 0.3px !important;
}

.squad-task-cards {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.squad-task-card {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 11px !important;
  padding: 11px 15px !important;
  transition: all 0.2s ease !important;
}

.squad-task-card:hover {
  background: rgba(255, 255, 255, 0.065) !important;
  border-color: var(--squad-border, rgba(56, 189, 248, 0.45)) !important;
  transform: translateX(-3px) !important;
}

.task-num-badge {
  background: var(--squad-bg, rgba(56, 189, 248, 0.18)) !important;
  border: 1px solid var(--squad-border, rgba(56, 189, 248, 0.45)) !important;
  color: var(--squad-color, #38bdf8) !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  flex-shrink: 0 !important;
  margin-top: 3px !important;
}

.task-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.task-title {
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: 0.2px !important;
}

.task-desc {
  font-size: 0.94rem !important;
  color: #e2e8f0 !important;
  line-height: 1.65 !important;
  font-weight: 500 !important;
}

/* 6. Realtime Status & Authority Footer */
.squad-card-foot {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: auto !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  gap: 12px !important;
}

.squad-status-indicator {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  color: #34d399 !important;
  font-family: 'Outfit', 'Cairo', sans-serif !important;
}

.status-live-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 10px #10b981 !important;
  animation: livePulse 2s infinite ease-in-out !important;
}

.squad-cert-stamp {
  background: var(--squad-bg, rgba(56, 189, 248, 0.1)) !important;
  border: 1px solid var(--squad-border, rgba(56, 189, 248, 0.35)) !important;
  color: var(--squad-color, #38bdf8) !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
}

.squad-radio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.squad-code-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #cbd5e1;
}

.squad-leadership-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.squad-leader-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.squad-leader-label {
  color: #94a3b8;
  font-weight: 700;
}

.squad-leader-val {
  color: #ffffff;
  font-weight: 800;
}

.squad-color-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 8px 12px;
  margin-top: 14px;
  font-size: 0.82rem;
}

.squad-color-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: var(--squad-color, #38bdf8);
}

.squad-color-chip .squad-color-dot {
  background: var(--squad-color, #38bdf8);
  box-shadow: 0 0 8px var(--squad-color, #38bdf8);
}

/* Squads Roster Table (Excel style from Image 2) */
.squads-roster-wrap {
  margin-top: 24px;
  background: #060913;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.squads-roster-header {
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.squads-roster-header h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin: 0;
}

.squads-roster-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: right;
  min-width: 1000px;
}

.squads-roster-table th {
  padding: 12px 14px;
  font-weight: 800;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.squads-roster-table th.th-squad-bravo {
  background: #0c2340 !important;
  color: #38bdf8 !important;
  border-bottom: 2px solid #38bdf8 !important;
  font-size: 1rem;
}

.squads-roster-table th.th-squad-charlie {
  background: #2e1d08 !important;
  color: #fbbf24 !important;
  border-bottom: 2px solid #f59e0b !important;
  font-size: 1rem;
}

.squads-roster-table th.th-squad-delta {
  background: #2f0d14 !important;
  color: #f87171 !important;
  border-bottom: 2px solid #ef4444 !important;
  font-size: 1rem;
}

.squads-roster-table th.th-squad-echo {
  background: #062b1b !important;
  color: #34d399 !important;
  border-bottom: 2px solid #10b981 !important;
  font-size: 1rem;
}

.roster-subhead-row th {
  background: #090f1f !important;
  color: #94a3b8 !important;
  font-weight: 700;
}

.squads-roster-table td {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
}

.squads-roster-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.roster-role-leader {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  font-weight: 800;
  border-radius: 4px;
  padding: 3px 8px;
  display: inline-block;
}

.roster-role-member {
  color: #94a3b8;
}

@media (max-width: 900px) {
  .squads-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========================================================
   LSPD OPERATIONAL CODEX & REGULATIONS (لوائح فرق الشرطة)
   ======================================================== */

.regulations-section {
  position: relative;
  margin-top: 40px;
}

/* Official Rights Banner */
.lspd-codex-rights-banner {
  background: linear-gradient(135deg, rgba(8, 22, 55, 0.92) 0%, rgba(6, 14, 32, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.lspd-codex-rights-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #38bdf8, #3b82f6);
}

.rights-icon-badge {
  font-size: 2.8rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 14px;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rights-content {
  flex: 1;
}

.rights-tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.rights-pill-live {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.rights-pill-org {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
}

.rights-pill-squads {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
}

.rights-content h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
  letter-spacing: 0.5px;
}

.rights-content p {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

.rights-badge-seal {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(3, 7, 18, 0.6) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  padding: 12px 18px;
  text-align: center;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rights-badge-seal span {
  font-size: 0.68rem;
  letter-spacing: 2px;
  color: #94a3b8;
  font-weight: 800;
}

.rights-badge-seal strong {
  font-size: 1.4rem;
  color: #38bdf8;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 1px;
}

.rights-badge-seal small {
  font-size: 0.65rem;
  color: #10b981;
  font-weight: 800;
  letter-spacing: 1px;
}

/* Tabs Bar */
.codex-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: rgba(7, 14, 30, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 24px;
}

.codex-tab-btn {
  flex: 1;
  min-width: 170px;
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.codex-tab-btn:hover {
  background: rgba(56, 189, 248, 0.08);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.2);
}

.codex-tab-btn.active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25) 0%, rgba(30, 58, 138, 0.4) 100%);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.25);
}

.codex-tab-btn .tab-emoji {
  font-size: 1.15rem;
}

/* Panels */
.codex-panels-container {
  min-height: 400px;
}

.codex-tab-panel {
  display: block;
}

.codex-tab-panel[hidden] {
  display: none !important;
}

/* Panel Header Toolbar */
.panel-header-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.panel-header-search {
  flex: 1;
  min-width: 280px;
}

.panel-header-search .search-wrap {
  display: flex;
  align-items: center;
  background: rgba(10, 18, 38, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 9px;
  padding: 4px 14px;
}

.panel-header-search input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  padding: 8px 10px;
  width: 100%;
}

.articles-cat-filters, .fines-cat-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.art-cat-btn, .fine-cat-btn {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.art-cat-btn:hover, .fine-cat-btn:hover {
  background: rgba(56, 189, 248, 0.12);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.3);
}

.art-cat-btn.active, .fine-cat-btn.active {
  background: #38bdf8;
  color: #040814;
  border-color: #38bdf8;
  font-weight: 800;
}

.articles-count-pill, .fines-count-badge {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-inline-start: auto;
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.article-card {
  background: linear-gradient(180deg, rgba(11, 20, 42, 0.82) 0%, rgba(7, 14, 30, 0.88) 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.article-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.15);
}

.article-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.art-num-badge {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 3px 8px;
  border-radius: 6px;
}

.art-cat-tag {
  font-size: 0.74rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
}

.article-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.article-card-text {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin: 0 0 16px 0;
  flex: 1;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 12px;
  margin-top: auto;
}

.art-copy-btn {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.18s ease;
}

.art-copy-btn:hover {
  background: #38bdf8;
  color: #040814;
}

.art-org-tag {
  font-size: 0.68rem;
  color: #64748b;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5px;
  font-weight: 700;
}

/* Category Accent Borders */
.article-card.cat-citizens { border-right: 3px solid #38bdf8; }
.article-card.cat-firearms { border-right: 3px solid #ef4444; }
.article-card.cat-rp { border-right: 3px solid #f59e0b; }
.article-card.cat-tactical { border-right: 3px solid #10b981; }
.article-card.cat-discipline { border-right: 3px solid #a855f7; }

/* Station Rules Grid */
.station-rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 20px;
}

.station-rule-card {
  background: linear-gradient(135deg, rgba(12, 22, 45, 0.85) 0%, rgba(8, 14, 30, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.station-rule-card.card-parking { border-top: 3px solid #38bdf8; }
.station-rule-card.card-shooting { border-top: 3px solid #ef4444; }
.station-rule-card.card-arrest { border-top: 3px solid #f59e0b; }
.station-rule-card.card-citizen { border-top: 3px solid #10b981; }

.station-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
}

.station-card-icon {
  font-size: 1.8rem;
}

.station-card-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 4px;
}

.station-card-badge.badge-danger { color: #f87171; background: rgba(239, 68, 68, 0.15); }
.station-card-badge.badge-warning { color: #fbbf24; background: rgba(245, 158, 11, 0.15); }
.station-card-badge.badge-success { color: #34d399; background: rgba(16, 185, 129, 0.15); }

.station-card-head h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.station-rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.station-rules-list li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #cbd5e1;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

.station-rules-list li strong {
  color: #ffffff;
  display: block;
  margin-bottom: 2px;
}

/* Radio Protocols Section */
.radio-protocol-intro {
  background: linear-gradient(135deg, rgba(8, 26, 60, 0.75) 0%, rgba(4, 12, 28, 0.85) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.protocol-intro-content h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.protocol-intro-content p {
  font-size: 0.88rem;
  color: #94a3b8;
  margin: 0;
}

.protocol-dispatch-tester {
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(56, 189, 248, 0.4);
  padding: 8px 14px;
  border-radius: 8px;
}

.dispatch-test-label {
  font-size: 0.75rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 2px;
}

.protocol-dispatch-tester code {
  color: #38bdf8;
  font-family: 'Outfit', monospace;
  font-size: 0.86rem;
  font-weight: 700;
}

.protocol-category-block {
  margin-bottom: 28px;
}

.protocol-cat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.protocol-cat-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.protocol-cat-badge.badge-warning { color: #fbbf24; background: rgba(245, 158, 11, 0.15); border-color: rgba(245, 158, 11, 0.3); }
.protocol-cat-badge.badge-cyan { color: #34d399; background: rgba(16, 185, 129, 0.15); border-color: rgba(16, 185, 129, 0.3); }

.protocol-cat-title h5 {
  font-size: 1.05rem;
  color: #ffffff;
  margin: 0;
}

.protocol-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
}

.protocol-item-card {
  background: rgba(11, 20, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.protocol-item-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(14, 26, 54, 0.85);
  transform: translateY(-2px);
}

.protocol-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.protocol-code-badge {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  padding: 3px 8px;
  border-radius: 6px;
}

.protocol-name {
  font-size: 0.95rem;
  color: #ffffff;
}

.protocol-dispatch-phrase {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 8px;
}

.phrase-label {
  font-size: 0.72rem;
  color: #94a3b8;
  display: block;
}

.phrase-text {
  color: #f8fafc;
  font-size: 0.85rem;
  line-height: 1.4;
  display: block;
}

.protocol-note {
  font-size: 0.78rem;
  color: #f59e0b;
  margin-bottom: 8px;
}

.protocol-desc-text {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 8px 0;
}

.protocol-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.protocol-copy-btn {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.protocol-copy-btn:hover {
  background: #38bdf8;
  color: #040814;
}

.protocol-scope-tag {
  font-size: 0.65rem;
  color: #64748b;
  font-family: 'Outfit', sans-serif;
}

/* Leave & Resignation Section */
.leave-regulations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
}

.leave-card {
  background: linear-gradient(135deg, rgba(12, 22, 45, 0.85) 0%, rgba(8, 14, 30, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.leave-card-ban { border-top: 3px solid #ef4444; }
.leave-card-max { border-top: 3px solid #f59e0b; }
.leave-card-conditions { border-top: 3px solid #38bdf8; }
.leave-card-retract { border-top: 3px solid #a855f7; }

.leave-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.leave-icon {
  font-size: 1.8rem;
}

.leave-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 4px;
}

.leave-badge.badge-danger { color: #f87171; background: rgba(239, 68, 68, 0.15); }
.leave-badge.badge-warning { color: #fbbf24; background: rgba(245, 158, 11, 0.15); }
.leave-badge.badge-primary { color: #38bdf8; background: rgba(56, 189, 248, 0.15); }
.leave-badge.badge-secondary { color: #c084fc; background: rgba(168, 85, 247, 0.15); }

.leave-card-header h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.leave-card-body p {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 0 14px 0;
}

.leave-penalty-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 8px;
  padding: 12px;
}

.penalty-box-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #f87171;
  display: block;
  margin-bottom: 8px;
}

.penalty-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.penalty-pill {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}

.pill-money { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.35); }
.pill-jail { background: rgba(56, 189, 248, 0.2); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.35); }
.pill-dismissal { background: rgba(239, 68, 68, 0.25); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }

.leave-notice-box {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.leave-notice-box p {
  margin: 0;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.leave-req-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.leave-req-list li {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px 12px;
}

.req-number {
  background: #38bdf8;
  color: #040814;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 0.8rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.leave-req-list strong {
  font-size: 0.88rem;
  color: #ffffff;
  display: block;
}

.leave-req-list p {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 2px 0 0 0;
}

.retract-step {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.retract-step-badge {
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 4px;
}

.retract-step-badge.badge-danger {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.retract-step strong {
  color: #ffffff;
  font-size: 0.92rem;
  display: block;
  margin-bottom: 2px;
}

.retract-step p {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 0;
}

/* Major Felonies Grid */
.major-felonies-block {
  margin-bottom: 30px;
}

.felonies-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 10px;
  padding: 14px 20px;
}

.felonies-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.felonies-icon {
  font-size: 1.6rem;
}

.felonies-title h4 {
  font-size: 1.15rem;
  color: #f87171;
  margin: 0 0 2px 0;
}

.felonies-title p {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin: 0;
}

.felonies-pill {
  background: #ef4444;
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
}

.felonies-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.major-felony-card {
  background: linear-gradient(180deg, rgba(30, 15, 25, 0.85) 0%, rgba(18, 8, 14, 0.9) 100%);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.major-felony-card:hover {
  border-color: rgba(239, 68, 68, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.15);
}

.felony-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.felony-icon {
  font-size: 1.4rem;
}

.felony-seq {
  font-family: 'Outfit', sans-serif;
  color: #f87171;
  font-size: 0.8rem;
  font-weight: 800;
}

.major-felony-card h5 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.major-felony-card p {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0 0 10px 0;
  flex: 1;
}

.felony-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
  padding: 3px 6px;
  border-radius: 4px;
  text-align: center;
}

/* Fines Registry Table */
.fines-table-block {
  background: rgba(10, 18, 38, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.fines-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.fines-search-wrap {
  flex: 1;
  min-width: 260px;
}

.fines-search-wrap .search-wrap {
  display: flex;
  align-items: center;
  background: rgba(6, 12, 26, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 8px;
  padding: 4px 12px;
}

.fines-search-wrap input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 8px 10px;
  width: 100%;
}

.fines-registry-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 750px;
}

.fines-registry-table th {
  background: rgba(8, 20, 48, 0.85);
  color: #38bdf8;
  font-weight: 800;
  padding: 12px 14px;
  text-align: right;
  border-bottom: 2px solid rgba(56, 189, 248, 0.3);
}

.fines-registry-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
}

.fine-row:hover td {
  background: rgba(56, 189, 248, 0.04);
}

.fine-name-cell strong {
  color: #ffffff;
}

.fine-cat-pill {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
}

.fine-cat-pill.pill-traffic { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.fine-cat-pill.pill-security { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.fine-cat-pill.pill-felony { background: rgba(239, 68, 68, 0.18); color: #f87171; }

.fine-jail-val.zero-jail { color: #64748b; }
.fine-jail-val.has-jail { color: #38bdf8; font-weight: 800; }

.fine-money-val {
  color: #fbbf24;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5px;
}

.fine-extra-action {
  font-size: 0.82rem;
  color: #94a3b8;
}

.fine-copy-row-btn {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
}

.fine-copy-row-btn:hover {
  background: #38bdf8;
  color: #040814;
}

@media (max-width: 900px) {
  .lspd-codex-rights-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .rights-badge-seal {
    width: 100%;
    margin-top: 10px;
  }
  .station-rules-grid, .leave-regulations-grid {
    grid-template-columns: 1fr;
  }
  .codex-tab-btn {
    min-width: 140px;
    font-size: 0.84rem;
  }
}

/* ========================================================
   MOBILE PERFECTION & RESPONSIVE TOUCH ENGINE (<= 780px)
   ======================================================== */
@media (max-width: 780px) {
  html, body {
    overflow-x: hidden !important;
  }

  body {
    padding-bottom: 78px !important;
  }

  .container {
    width: calc(100% - 24px) !important;
    margin-inline: auto !important;
  }

  /* Topbar Mobile Touch Optimization */
  .topbar {
    min-height: 64px !important;
    height: auto !important;
  }

  .nav-inner {
    height: 64px !important;
  }

  .mobile-nav:not([hidden]) {
    display: flex !important;
    flex-direction: column !important;
    background: rgba(6, 12, 28, 0.98) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-top: 1px solid rgba(56, 189, 248, 0.25) !important;
    padding: 12px 18px 18px !important;
    gap: 4px !important;
    max-height: 75vh !important;
    overflow-y: auto !important;
  }

  .mobile-nav a {
    padding: 11px 14px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #cbd5e1 !important;
    border-radius: 8px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.2s ease !important;
  }

  .mobile-nav a:hover,
  .mobile-nav a:active {
    background: rgba(56, 189, 248, 0.14) !important;
    color: #38bdf8 !important;
    padding-right: 18px !important;
  }

  .brand-image {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
  }

  .brand-image img {
    width: 38px !important;
    height: 38px !important;
  }

  .brand-label b {
    font-size: 18px !important;
  }

  .brand-label small {
    font-size: 8px !important;
  }

  .mobile-menu-button {
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    background: rgba(14, 26, 54, 0.85) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
  }

  /* Hero Mobile Layout - Sleek, Compact, Centered */
  .hero {
    min-height: auto !important;
    margin-top: 14px !important;
    border-radius: 18px !important;
    padding: 24px 16px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(56, 189, 248, 0.15) !important;
  }

  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    text-align: center !important;
    z-index: 3 !important;
  }

  .hero .eyebrow {
    font-size: 0.76rem !important;
    padding: 5px 12px !important;
    margin: 0 auto 10px !important;
    display: inline-flex !important;
    line-height: 1.3 !important;
  }

  .hero-br {
    display: none !important;
  }

  .hero h1 {
    font-size: clamp(22px, 6.6vw, 30px) !important;
    line-height: 1.35 !important;
    letter-spacing: -0.5px !important;
    margin: 6px 0 10px !important;
    text-align: center !important;
  }

  .hero p {
    font-size: 0.86rem !important;
    line-height: 1.7 !important;
    margin: 0 auto 10px !important;
    max-width: 95% !important;
    color: #cbd5e1 !important;
    text-align: center !important;
  }

  .hero-police-badge-card,
  .hero-footer,
  .hero-detail,
  .hero-overline {
    display: none !important;
  }

  .hero-reticle {
    inset: 8px !important;
  }

  .hero-reticle span {
    width: 14px !important;
    height: 14px !important;
  }

  /* Overview Stats Cards - Sleek 2-column Grid */
  .overview {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-top: 14px !important;
  }

  .stat-card {
    padding: 12px 14px !important;
    min-height: 76px !important;
    gap: 12px !important;
    border-radius: 14px !important;
  }

  .stat-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 18px !important;
    border-radius: 10px !important;
  }

  .stat-card strong {
    font-size: 1.45rem !important;
  }

  .stat-card div span {
    font-size: 9.5px !important;
    line-height: 1.4 !important;
    margin-top: 2px !important;
  }

  /* Section Headings on Mobile */
  .section {
    padding-top: 48px !important;
  }

  .section-heading {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    margin-bottom: 16px !important;
  }

  .section-heading h2 {
    font-size: 22px !important;
    line-height: 1.35 !important;
  }

  .section-heading p {
    font-size: 11px !important;
    line-height: 1.65 !important;
  }

  .section-identity {
    display: none !important;
  }

  .section-kicker {
    font-size: 9.5px !important;
    margin-bottom: 4px !important;
  }

  /* Squads Grid & Cards on Mobile */
  .squads-grid {
    gap: 16px !important;
  }

  .squad-card {
    padding: 16px !important;
  }

  /* Ranks Hierarchy Grid on Mobile */
  .ranks-tier-group {
    padding: 14px !important;
    margin-bottom: 14px !important;
  }

  .ranks-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .rank-item-card {
    padding: 12px 14px !important;
  }

  /* Violations & Finder Search on Mobile */
  .finder {
    padding: 14px !important;
    border-radius: 14px !important;
  }

  .finder-top {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .search-wrap {
    min-height: 48px !important;
    padding: 0 12px !important;
  }

  .search-wrap input,
  .fines-search-wrap input {
    font-size: 16px !important; /* Prevents iOS auto-zoom */
  }

  .search-wrap kbd {
    display: none !important;
  }

  .filters {
    gap: 6px !important;
    margin-top: 10px !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    padding-bottom: 6px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .filter {
    padding: 6px 12px !important;
    font-size: 10.5px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .rules-cards {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .rule-card {
    padding: 14px 16px !important;
    min-height: auto !important;
  }

  /* Radio Codes Grid on Mobile */
  .radio-codes-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* Tables Overflow on Mobile */
  .table-overflow {
    border-radius: 10px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* Notes & Closing Panel on Mobile */
  .notes-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .closing-panel {
    flex-direction: column !important;
    text-align: center !important;
    padding: 18px 14px !important;
    gap: 12px !important;
  }

  .closing-icon {
    width: 60px !important;
    height: 60px !important;
  }

  .closing-panel a {
    align-self: center !important;
  }

  /* Footer on Mobile */
  .footer-inner {
    flex-direction: column !important;
    text-align: center !important;
    padding: 20px 10px !important;
    gap: 12px !important;
  }

  .footer-brand {
    justify-content: center !important;
  }

  /* CRITICAL: MOBILE BOTTOM DOCK 6-COLUMN FIX */
  .mobile-dock {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 100 !important;
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 2px !important;
    align-items: center !important;
    padding: 5px 3px calc(5px + env(safe-area-inset-bottom, 0px)) !important;
    min-height: 54px !important;
    height: auto !important;
    background: rgba(5, 11, 24, 0.96) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-top: 1px solid rgba(56, 189, 248, 0.3) !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.85) !important;
  }

  .mobile-dock a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    padding: 4px 1px !important;
    border-radius: 10px !important;
    color: #94a3b8 !important;
    text-decoration: none !important;
    min-height: 44px !important;
    border: 1px solid transparent !important;
    transition: all 0.2s ease !important;
  }

  .mobile-dock a .dock-svg {
    width: 17px !important;
    height: 17px !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    margin: 0 !important;
  }

  .mobile-dock a small {
    font-size: 9.5px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  .mobile-dock a.active,
  .mobile-dock a:active {
    background: rgba(56, 189, 248, 0.16) !important;
    color: #38bdf8 !important;
    border-color: rgba(56, 189, 248, 0.35) !important;
  }
}
/* ========================================================
   DYNAMIC RAID SQUADS & UNIFIED TACTICAL DOCTRINE
   ======================================================== */
.squads-container-block {
  background: rgba(8, 14, 30, 0.78) !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  border-radius: 22px !important;
  padding: 22px !important;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(56, 189, 248, 0.08) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}

/* 1. Dynamic Controls & Filter Tabs */
.squads-dynamic-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.squads-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.squad-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 24, 48, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 7px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.squad-tab-btn:hover {
  background: rgba(22, 38, 74, 0.85);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.4);
}

.squad-tab-btn.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22) 0%, rgba(14, 28, 64, 0.8) 100%);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
}

.tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.squads-quick-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.radar-live-blip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 1.4s infinite ease-in-out;
}

/* 2. Compact Raid Squads Deck */
.raid-squads-deck {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.raid-card {
  background: linear-gradient(145deg, rgba(14, 24, 50, 0.85) 0%, rgba(8, 14, 32, 0.95) 100%);
  border: 1px solid var(--squad-border, rgba(56, 189, 248, 0.25));
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  outline: none;
}

.raid-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--squad-color, #38bdf8);
  box-shadow: 0 0 10px var(--squad-color, #38bdf8);
}

.raid-card:hover,
.raid-card.active-focus {
  transform: translateY(-3px);
  border-color: var(--squad-color, #38bdf8);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.65), 0 0 22px var(--squad-glow, rgba(56, 189, 248, 0.3));
}

.raid-card.dimmed {
  opacity: 0.35;
  filter: grayscale(0.6);
  transform: scale(0.98);
}

.raid-card.squad-bravo {
  --squad-color: #38bdf8;
  --squad-border: rgba(56, 189, 248, 0.35);
  --squad-glow: rgba(56, 189, 248, 0.3);
}

.raid-card.squad-charlie {
  --squad-color: #f59e0b;
  --squad-border: rgba(245, 158, 11, 0.35);
  --squad-glow: rgba(245, 158, 11, 0.3);
}

.raid-card.squad-delta {
  --squad-color: #ef4444;
  --squad-border: rgba(239, 68, 68, 0.35);
  --squad-glow: rgba(239, 68, 68, 0.3);
}

.raid-card.squad-echo {
  --squad-color: #10b981;
  --squad-border: rgba(16, 185, 129, 0.35);
  --squad-glow: rgba(16, 185, 129, 0.3);
}

.raid-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.raid-badge {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 0.88rem;
  color: var(--squad-color, #38bdf8);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--squad-border, rgba(56, 189, 248, 0.25));
  padding: 3px 8px;
  border-radius: 6px;
}

.raid-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Outfit', monospace;
  font-size: 0.72rem;
  font-weight: 800;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 7px;
  border-radius: 12px;
}

.raid-title {
  font-size: 1.12rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 4px;
}

.raid-sub {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 600;
  margin: 0 0 12px;
}

.raid-tags-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}

.raid-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  line-height: 1.3;
}

.raid-tag.radio-tag {
  color: var(--squad-color, #38bdf8);
  border-color: var(--squad-border, rgba(56, 189, 248, 0.25));
  font-family: 'Outfit', monospace;
  font-weight: 800;
}

/* 3. Unified Raid Protocol Box */
.raid-unified-protocol-box {
  background: rgba(6, 12, 28, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  padding: 18px 22px;
}

.protocol-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.protocol-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.protocol-shield-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #38bdf8;
  flex-shrink: 0;
}

.protocol-title-group h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.protocol-title-group p {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 2px 0 0;
}

.protocol-live-tag {
  font-size: 0.74rem;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
}

.protocol-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.protocol-task-item {
  background: rgba(14, 24, 48, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: border-color 0.2s ease;
}

.protocol-task-item:hover {
  border-color: rgba(56, 189, 248, 0.35);
}

.task-step-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
  padding: 2px 7px;
  border-radius: 6px;
  flex-shrink: 0;
}

.task-item-content strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.task-item-content p {
  font-size: 0.78rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0;
  font-weight: 500;
}

/* Responsive for Raid Squads */
@media (max-width: 1200px) {
  .raid-squads-deck {
    grid-template-columns: repeat(2, 1fr);
  }
  .protocol-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .squads-container-block {
    padding: 14px !important;
  }
  .squads-dynamic-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .squads-filter-group {
    overflow-x: auto;
    padding-bottom: 4px;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .squads-filter-group::-webkit-scrollbar {
    display: none;
  }
  .squad-tab-btn {
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  .squads-quick-status-chip {
    font-size: 0.74rem;
    padding: 5px 10px;
  }
  .raid-squads-deck {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .raid-card {
    padding: 14px;
  }
  .protocol-cards-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .raid-unified-protocol-box {
    padding: 14px;
  }
  .protocol-title-group h4 {
    font-size: 0.92rem;
  }
}




/* === APPENDED PYRAMID AND V8 STYLES === */
/* ========================================================
   INTERACTIVE COMMAND PYRAMID (الهرم القيادي التفاعلي)
   ======================================================== */
.ranks-hierarchy-pyramid-wrap {
  width: 100% !important;
  margin: 28px 0 !important;
  box-sizing: border-box !important;
}

.command-pyramid-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 26px !important;
  width: 100% !important;
}

.pyramid-visual-stack {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 980px !important;
  margin: 0 auto !important;
}

.pyramid-tier-step {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px 24px !important;
  border-radius: 18px !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  cursor: pointer !important;
  position: relative !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  user-select: none !important;
}

.pyramid-tier-step:hover {
  transform: translateY(-3px) scale(1.015) !important;
}

.pyramid-tier-step.pyr-gold {
  background: linear-gradient(135deg, rgba(20, 16, 6, 0.88) 0%, rgba(35, 27, 8, 0.75) 100%) !important;
  border: 1px solid rgba(250, 204, 21, 0.45) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(254, 240, 138, 0.25) !important;
}
.pyramid-tier-step.pyr-gold.active {
  border-color: #facc15 !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 35px rgba(250, 204, 21, 0.35) !important;
}

.pyramid-tier-step.pyr-purple {
  background: linear-gradient(135deg, rgba(16, 12, 28, 0.88) 0%, rgba(28, 20, 52, 0.75) 100%) !important;
  border: 1px solid rgba(192, 132, 252, 0.45) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(233, 213, 255, 0.2) !important;
}
.pyramid-tier-step.pyr-purple.active {
  border-color: #c084fc !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 35px rgba(192, 132, 252, 0.35) !important;
}

.pyramid-tier-step.pyr-senior {
  background: linear-gradient(135deg, rgba(18, 14, 10, 0.88) 0%, rgba(36, 26, 16, 0.75) 100%) !important;
  border: 1px solid rgba(251, 146, 60, 0.45) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(254, 215, 170, 0.2) !important;
}
.pyramid-tier-step.pyr-senior.active {
  border-color: #fb923c !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 35px rgba(251, 146, 60, 0.35) !important;
}

.pyramid-tier-step.pyr-field {
  background: linear-gradient(135deg, rgba(8, 16, 30, 0.88) 0%, rgba(14, 28, 54, 0.75) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(186, 230, 253, 0.2) !important;
}
.pyramid-tier-step.pyr-field.active {
  border-color: #38bdf8 !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 35px rgba(56, 189, 248, 0.35) !important;
}

.pyramid-tier-step.pyr-base {
  background: linear-gradient(135deg, rgba(10, 14, 24, 0.88) 0%, rgba(16, 24, 40, 0.75) 100%) !important;
  border: 1px solid rgba(148, 163, 184, 0.45) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(226, 232, 240, 0.2) !important;
}
.pyramid-tier-step.pyr-base.active {
  border-color: #e2e8f0 !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 255, 255, 0.25) !important;
}

.tier-step-content {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  justify-content: space-between !important;
}

.tier-step-content .step-icon {
  font-size: 1.5rem !important;
}

.tier-step-content .step-title {
  font-size: 1.12rem !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  flex: 1 !important;
  text-align: right !important;
  margin-right: 8px !important;
}

.tier-step-content .step-levels {
  font-family: 'Outfit', monospace !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: #cbd5e1 !important;
  background: rgba(255, 255, 255, 0.08) !important;
  padding: 4px 12px !important;
  border-radius: 100px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* Pyramid Dossier Card */
.pyramid-spotlight-dossier {
  width: 100% !important;
  max-width: 980px !important;
  margin: 0 auto !important;
}

.pyr-dossier-card {
  padding: 24px 28px !important;
  border-radius: 20px !important;
  background: rgba(8, 12, 22, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: blur(16px) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important;
}

.pyr-dossier-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  margin-bottom: 12px !important;
}

.pyr-dossier-header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.pyr-dossier-badge {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
}

.pyr-dossier-header h4 {
  font-size: 1.35rem !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  margin: 0 !important;
}

.pyr-dossier-levels {
  font-family: 'Outfit', monospace !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.12) !important;
  padding: 3px 10px !important;
  border-radius: 100px !important;
}

.pyr-filter-grid-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  padding: 10px 18px !important;
  border-radius: 12px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.22s ease !important;
}
.pyr-filter-grid-btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.pyr-dossier-desc {
  font-size: 0.98rem !important;
  line-height: 1.75 !important;
  color: #cbd5e1 !important;
  margin: 0 0 16px 0 !important;
}

.pyr-ranks-chips {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-top: 14px !important;
}

.chips-title {
  display: block !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
  margin-bottom: 8px !important;
}

.chips-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.pyr-rank-chip {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #e2e8f0 !important;
  padding: 6px 14px !important;
  border-radius: 100px !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}
.pyr-rank-chip:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: #ffffff !important;
}

/* ========================================================
   VIOLATIONS ON-DEMAND CATEGORY BROWSING
   ======================================================== */
.violation-category-cards-grid,
.radio-category-cards-grid,
.articles-category-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
  margin-top: 20px !important;
  margin-bottom: 24px !important;
}

.radio-cards-view-wrap,
.articles-cards-view-wrap {
  width: 100% !important;
  display: block !important;
}

/* Category specific border glow accents on hover */
.vcat-radio-code:hover,
.vcat-art-citizens:hover {
  border-color: rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(56, 189, 248, 0.22) !important;
}

.vcat-radio-zero:hover,
.vcat-art-rp:hover {
  border-color: rgba(52, 211, 153, 0.45) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(52, 211, 153, 0.22) !important;
}

.vcat-radio-ten:hover,
.vcat-art-tactical:hover {
  border-color: rgba(96, 165, 250, 0.45) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(96, 165, 250, 0.22) !important;
}

.vcat-art-discipline:hover {
  border-color: rgba(251, 191, 36, 0.45) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(251, 191, 36, 0.22) !important;
}

.vcat-radio-emergency:hover,
.vcat-art-firearms:hover {
  border-color: rgba(239, 68, 68, 0.5) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(239, 68, 68, 0.25) !important;
}

.vcat-card {
  background: rgba(9, 13, 24, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 18px !important;
  padding: 22px !important;
  backdrop-filter: blur(14px) !important;
  cursor: pointer !important;
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.vcat-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(56, 189, 248, 0.18) !important;
}

.vcat-card-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 14px !important;
}

.vcat-icon {
  font-size: 1.8rem !important;
}

.vcat-pill {
  font-family: 'Outfit', monospace !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.12) !important;
  padding: 4px 12px !important;
  border-radius: 100px !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
}

.vcat-card-body .vcat-title {
  display: block !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  margin-bottom: 6px !important;
}

.vcat-card-body .vcat-desc {
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
  color: #94a3b8 !important;
  margin: 0 0 16px 0 !important;
}

.vcat-card-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-top: 14px !important;
}

.vcat-tag {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #fbbf24 !important;
}

.vcat-arrow {
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  color: #38bdf8 !important;
  transition: transform 0.2s ease !important;
}

.vcat-card:hover .vcat-arrow {
  transform: translateX(-4px) !important;
}

.grade-focus-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  padding: 16px 22px !important;
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  margin-bottom: 24px !important;
}

.back-to-categories-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  padding: 8px 16px !important;
  border-radius: 10px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.back-to-categories-btn:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: #ffffff !important;
}

.grade-focus-title {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
.grade-focus-title strong {
  font-size: 1.15rem !important;
  color: #ffffff !important;
}
.focus-badge {
  font-size: 0.8rem !important;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.12) !important;
  padding: 3px 10px !important;
  border-radius: 100px !important;
}

/* High Command Promotion Styling */
.promotion-high-command-box {
  padding: 24px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, rgba(20, 16, 6, 0.85) 0%, rgba(35, 27, 8, 0.72) 100%) !important;
  border: 1px solid rgba(250, 204, 21, 0.45) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6) !important;
}

.hc-badge-strip {
  display: flex !important;
  gap: 16px !important;
  align-items: flex-start !important;
  margin-bottom: 18px !important;
}
.hc-icon {
  font-size: 2rem !important;
}
.hc-badge-strip strong {
  display: block !important;
  font-size: 1.1rem !important;
  color: #facc15 !important;
  margin-bottom: 6px !important;
}
.hc-badge-strip p {
  font-size: 0.92rem !important;
  color: #cbd5e1 !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

.hc-appointment-rule {
  border-top: 1px solid rgba(250, 204, 21, 0.2) !important;
  padding-top: 14px !important;
}
.hc-appointment-rule .rule-lbl {
  display: block !important;
  font-size: 0.8rem !important;
  color: #facc15 !important;
  font-weight: 700 !important;
  margin-bottom: 6px !important;
}
.hc-appointment-rule p {
  font-size: 0.94rem !important;
  color: #ffffff !important;
  margin: 0 !important;
}

.high-command-table-pill {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 12px 18px !important;
  border-radius: 12px !important;
  background: rgba(250, 204, 21, 0.08) !important;
  border: 1px solid rgba(250, 204, 21, 0.3) !important;
  color: #fde047 !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
}
.hc-crown-tag {
  font-weight: 800 !important;
  color: #facc15 !important;
  font-size: 0.92rem !important;
}

/* ========================================================
   SOCIETY V8 PRO - DISTINGUISHED PYRAMID RANK CARDS (IMAGE 1)
   ======================================================== */
.pyr-distinguished-ranks-wrap {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
}

.pyr-distinguished-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.pyr-distinguished-header .dist-icon {
  font-size: 1.3rem;
}

.pyr-distinguished-header strong {
  font-size: 0.98rem;
  color: #f1f5f9;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.pyr-distinguished-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.pyr-dist-rank-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.75), rgba(30, 41, 59, 0.55));
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  padding: 14px 16px;
  position: relative;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.pyr-dist-rank-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(56, 189, 248, 0.2);
}

.pyr-dist-rank-card.pyr-gold {
  border-color: rgba(250, 204, 21, 0.35);
  background: linear-gradient(145deg, rgba(30, 27, 15, 0.8), rgba(20, 22, 35, 0.7));
}

.pyr-dist-rank-card.pyr-gold:hover {
  border-color: #fde047;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45), 0 0 20px rgba(250, 204, 21, 0.25);
}

.dist-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.dist-badge-icon {
  font-size: 1.35rem;
}

.dist-level-tag {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5px;
}

.pyr-dist-rank-card.pyr-gold .dist-level-tag {
  background: rgba(250, 204, 21, 0.15);
  border-color: rgba(250, 204, 21, 0.4);
  color: #fde047;
}

.dist-card-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dist-rank-ar {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.dist-rank-en {
  font-size: 0.78rem;
  color: #94a3b8;
  font-family: 'Outfit', sans-serif;
}

.dist-card-role {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 10px 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* ========================================================
   SOCIETY V8 PRO - RADIO CATEGORY CARDS (IMAGE 2 MATCH)
   ======================================================== */
.radio-category-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
  margin-bottom: 25px;
}

.radio-category-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(2, 6, 23, 0.88));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  padding: 22px 20px;
  position: relative;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.radio-category-card:hover {
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.2);
}

.rc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.rc-count-pill {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.rc-icon {
  font-size: 1.6rem;
}

.rc-card-titles h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
  line-height: 1.35;
}

.rc-card-titles p {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 16px;
}

.rc-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rc-tag {
  font-size: 0.76rem;
  color: #cbd5e1;
  font-weight: 600;
}

.rc-action-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.radio-back-categories-btn {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #f8fafc;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.radio-back-categories-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #38bdf8;
  transform: translateX(2px);
}

/* ========================================================
   SOCIETY V8 PRO - DUAL TRACK TOGGLE FOR PENALTIES (NO STACKING)
   ======================================================== */
.penalties-track-switcher {
  display: flex;
  gap: 12px;
  margin: 20px 0 25px;
}

.penalties-track-switcher .penalty-track-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.75), rgba(2, 6, 23, 0.85));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: right;
}

.penalties-track-switcher .penalty-track-btn:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.penalties-track-switcher .penalty-track-btn.active {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.22);
}

.penalties-track-switcher .penalty-track-btn.active#btnPenaltyOfficers {
  border-color: #fde047;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.25);
}



/* ==========================================================================
   SOCIETY LSPD V8 PRO - 4 MAJOR SECTIONS ELEVATION & REDESIGN
   1. Command Hierarchy Deck (Removed Pyramid Stack)
   2. Modern Authority Console & 3-Card Dossier HUD
   3. Dual-Track Promotions Terminal with Glassmorphic Metric Cards
   4. Tactical Codex Articles Cards Grid
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. COMMAND HIERARCHY DECK (No more trapezoid pyramids)
   -------------------------------------------------------------------------- */
.ranks-hierarchy-block {
  background: linear-gradient(180deg, rgba(11, 19, 38, 0.85) 0%, rgba(6, 11, 24, 0.92) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  border-radius: 20px !important;
  padding: 24px !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5) !important;
}

.command-deck-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Command Tiers Navigation Bar */
.command-tiers-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  width: 100%;
}

@media (max-width: 1024px) {
  .command-tiers-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .command-tiers-nav {
    grid-template-columns: 1fr;
  }
}

.command-tier-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: right;
  position: relative;
  overflow: hidden;
}

.command-tier-nav-btn::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: transparent;
  transition: all 0.22s ease;
}

.command-tier-nav-btn:hover {
  background: rgba(22, 36, 68, 0.85);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

.command-tier-nav-btn.active {
  background: linear-gradient(160deg, rgba(17, 34, 68, 0.95), rgba(8, 18, 40, 0.98));
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
  transform: translateY(-2px);
}

.command-tier-nav-btn.tier-gold.active {
  border-color: #fbbf24;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.25);
}
.command-tier-nav-btn.tier-gold::before { background: #fbbf24; }

.command-tier-nav-btn.tier-purple.active {
  border-color: #c084fc;
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.25);
}
.command-tier-nav-btn.tier-purple::before { background: #c084fc; }

.command-tier-nav-btn.tier-senior.active {
  border-color: #f59e0b;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
}
.command-tier-nav-btn.tier-senior::before { background: #f59e0b; }

.command-tier-nav-btn.tier-field.active {
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}
.command-tier-nav-btn.tier-field::before { background: #38bdf8; }

.command-tier-nav-btn.tier-nco.active {
  border-color: #34d399;
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.25);
}
.command-tier-nav-btn.tier-nco::before { background: #34d399; }

.tier-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.tier-nav-icon {
  font-size: 1.25rem;
}

.tier-nav-level {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.command-tier-nav-btn.active .tier-nav-level {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
}

.tier-nav-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.3;
}

.tier-nav-count {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

.command-tier-nav-btn.active .tier-nav-count {
  color: #94a3b8;
}

/* Spotlight Dossier for the active tier */
.command-spotlight-card {
  background: linear-gradient(160deg, rgba(13, 22, 44, 0.9), rgba(6, 12, 26, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.command-spotlight-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.spotlight-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.spotlight-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.spotlight-titles h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.spotlight-titles p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
}

.spotlight-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spotlight-badge-levels {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

.spotlight-mandate-box {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 3px solid #38bdf8;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 22px;
}

.spotlight-mandate-box p {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
}

/* Roster Cards inside spotlight */
.command-roster-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #e2e8f0;
  margin-bottom: 14px;
}

.command-roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.roster-rank-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.2s ease;
  position: relative;
}

.roster-rank-card:hover {
  background: rgba(22, 34, 62, 0.85);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

.roster-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.roster-badge-icon {
  font-size: 1.4rem;
}

.roster-level-tag {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.76rem;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.roster-card-titles {
  margin-bottom: 8px;
}

.roster-rank-ar {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.roster-rank-en {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 600;
}

.roster-rank-role {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 8px;
}

/* --------------------------------------------------------------------------
   2. AUTHORITY MATRIX HUD & 3-CARD DOSSIER (Image 2 Redesign)
   -------------------------------------------------------------------------- */
.authority-rank-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  justify-content: center !important;
  margin: 20px 0 24px !important;
  width: 100% !important;
}

.auth-rank-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 16px !important;
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  border-radius: 10px !important;
  color: #cbd5e1 !important;
  font-family: inherit !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  white-space: nowrap !important;
}

.auth-rank-pill:hover {
  background: rgba(22, 36, 68, 0.9) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.auth-rank-pill.active {
  background: linear-gradient(135deg, rgba(8, 40, 85, 0.95), rgba(4, 20, 50, 0.98)) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.3) !important;
  transform: translateY(-2px) !important;
}

.auth-rank-pill.pill-gold-tier.active {
  border-color: #fbbf24 !important;
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.3) !important;
}

.auth-rank-pill.pill-purple-tier.active {
  border-color: #c084fc !important;
  box-shadow: 0 0 16px rgba(192, 132, 252, 0.3) !important;
}

.pill-icon {
  font-size: 1.1rem !important;
}

.pill-level-badge {
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  padding: 2px 6px !important;
  border-radius: 5px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
}

.auth-rank-pill.active .pill-level-badge {
  background: rgba(56, 189, 248, 0.25) !important;
  color: #38bdf8 !important;
}

/* Dossier Spotlight HUD */
.authority-dossier-spotlight {
  background: linear-gradient(180deg, rgba(11, 20, 42, 0.88) 0%, rgba(6, 12, 26, 0.95) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 18px !important;
  padding: 26px !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.55) !important;
}

.dossier-header-panel {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-bottom: 22px !important;
}

.dossier-identity {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.dossier-large-badge {
  width: 58px !important;
  height: 58px !important;
  border-radius: 14px !important;
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 2rem !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15) !important;
}

.dossier-titles h3 {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 6px 0 !important;
}

.dossier-titles p {
  font-size: 0.88rem !important;
  color: #94a3b8 !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

.dossier-meta {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.dossier-tier-tag {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  padding: 5px 12px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.dossier-level-badge {
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  padding: 5px 12px !important;
  border-radius: 8px !important;
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
}

/* 3-Card Dossier Grid */
.dossier-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 18px !important;
  margin-bottom: 20px !important;
}

@media (max-width: 960px) {
  .dossier-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

.dossier-card {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.75) 0%, rgba(7, 13, 26, 0.85) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  padding: 18px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.22s ease !important;
}

.dossier-card:hover {
  border-color: rgba(56, 189, 248, 0.35) !important;
  transform: translateY(-2px) !important;
}

.card-warnings {
  border-top: 3px solid #f59e0b !important;
}

.card-dismissal {
  border-top: 3px solid #ef4444 !important;
}

.card-admin {
  border-top: 3px solid #38bdf8 !important;
}

.dossier-card-head {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.dossier-card-icon {
  font-size: 1.25rem !important;
}

.dossier-card-title {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.authority-items-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  flex: 1 !important;
}

.auth-item-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  padding: 8px 12px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 8px !important;
}

.auth-action-pill {
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  width: fit-content !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
}

.auth-action-warn {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

.auth-action-dismiss {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

.auth-target-text {
  font-size: 0.82rem !important;
  color: #cbd5e1 !important;
  line-height: 1.45 !important;
}

.auth-no-perm {
  font-size: 0.85rem !important;
  color: #94a3b8 !important;
  background: rgba(239, 68, 68, 0.08) !important;
  border: 1px dashed rgba(239, 68, 68, 0.25) !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

.auth-desc-p {
  font-size: 0.82rem !important;
  color: #cbd5e1 !important;
  line-height: 1.55 !important;
}

/* Oversight Reporting Banner */
.card-oversight {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-right: 4px solid #38bdf8 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
}

/* --------------------------------------------------------------------------
   3. PROMOTIONS METRICS TERMINAL (Image 3 Redesign)
   -------------------------------------------------------------------------- */
.promotion-browser {
  background: linear-gradient(180deg, rgba(11, 20, 42, 0.85) 0%, rgba(6, 12, 26, 0.92) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  border-radius: 20px !important;
  padding: 24px !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5) !important;
}

/* Dual Track Switcher */
.promotions-track-switcher {
  display: flex !important;
  gap: 14px !important;
  margin-bottom: 22px !important;
}

@media (max-width: 768px) {
  .promotions-track-switcher {
    flex-direction: column !important;
  }
}

.promo-track-btn {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 16px 20px !important;
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
  border-radius: 14px !important;
  cursor: pointer !important;
  transition: all 0.22s ease !important;
  text-align: right !important;
}

.promo-track-btn:hover {
  background: rgba(22, 36, 68, 0.88) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  transform: translateY(-2px) !important;
}

.promo-track-btn.active {
  background: linear-gradient(145deg, rgba(16, 36, 75, 0.95), rgba(7, 18, 42, 0.98)) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25) !important;
  transform: translateY(-2px) !important;
}

.promo-track-btn.active#promoTrackOfficers {
  border-color: #fbbf24 !important;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.25) !important;
}

.track-badge-icon {
  font-size: 1.8rem !important;
}

.track-btn-copy {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.track-btn-copy strong {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.track-btn-copy small {
  font-size: 0.76rem !important;
  color: #94a3b8 !important;
}

.track-count-badge {
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
}

.promo-track-btn.active .track-count-badge {
  background: rgba(56, 189, 248, 0.2) !important;
  color: #38bdf8 !important;
}

/* Rank Tabs (Horizontal / Grid Layout) */
.promotion-rank-tabs {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
  gap: 10px !important;
  margin-bottom: 24px !important;
}

.promotion-tab {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
  padding: 12px 14px !important;
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-align: right !important;
}

.promotion-tab:hover {
  background: rgba(22, 36, 68, 0.9) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  transform: translateY(-2px) !important;
}

.promotion-tab.is-active {
  background: linear-gradient(145deg, rgba(14, 38, 78, 0.95), rgba(6, 18, 42, 0.98)) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25) !important;
  transform: translateY(-2px) !important;
}

.promotion-tab-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.promo-badge-icon {
  font-size: 1.15rem !important;
}

.promo-tab-level {
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  padding: 2px 6px !important;
  border-radius: 5px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
}

.promotion-tab.is-active .promo-tab-level {
  background: rgba(56, 189, 248, 0.22) !important;
  color: #38bdf8 !important;
}

.promo-tab-ar {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.3 !important;
}

.promo-tab-en {
  font-size: 0.74rem !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.promotion-tab.is-active .promo-tab-en {
  color: #7dd3fc !important;
}

/* ==========================================================================
   PROMOTION DETAIL DOSSIER // TACTICAL CYBER REDESIGN (ALL RANKS)
   Full-width balanced glassmorphic command dossier with zero empty voids
   ========================================================================== */
.promotion-detail {
  display: flex !important;
  flex-direction: column !important;
  gap: 22px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: linear-gradient(145deg, rgba(10, 18, 38, 0.96) 0%, rgba(6, 11, 25, 0.98) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  border-radius: 18px !important;
  padding: 28px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(56, 189, 248, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  position: relative !important;
  overflow: hidden !important;
}

.promotion-detail::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, #38bdf8, #818cf8, transparent) !important;
  pointer-events: none !important;
}

/* Dossier Header */
.promo-detail-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.16) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.promo-detail-titles {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.promo-detail-badge {
  width: 58px !important;
  height: 58px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(14, 165, 233, 0.05)) !important;
  border: 1.5px solid rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25), inset 0 0 12px rgba(56, 189, 248, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 2rem !important;
  flex-shrink: 0 !important;
}

.promo-detail-name {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.promo-title-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.promo-detail-name h4 {
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
  letter-spacing: -0.3px !important;
}

.promo-level-pill {
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  padding: 3px 9px !important;
  border-radius: 6px !important;
  background: rgba(56, 189, 248, 0.18) !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
  color: #38bdf8 !important;
}

.promo-cat-pill {
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #cbd5e1 !important;
}

.promo-cat-pill.cat-enlisted {
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  background: rgba(56, 189, 248, 0.1) !important;
}

.promo-cat-pill.cat-nco {
  color: #34d399 !important;
  border-color: rgba(52, 211, 153, 0.35) !important;
  background: rgba(52, 211, 153, 0.1) !important;
}

.promo-cat-pill.cat-field {
  color: #60a5fa !important;
  border-color: rgba(96, 165, 250, 0.35) !important;
  background: rgba(96, 165, 250, 0.1) !important;
}

.promo-cat-pill.cat-senior {
  color: #c084fc !important;
  border-color: rgba(192, 132, 252, 0.35) !important;
  background: rgba(192, 132, 252, 0.1) !important;
}

.promo-cat-pill.cat-staff {
  color: #fbbf24 !important;
  border-color: rgba(251, 191, 36, 0.35) !important;
  background: rgba(251, 191, 36, 0.1) !important;
}

.promo-cat-pill.cat-highcommand {
  color: #f59e0b !important;
  border-color: rgba(245, 158, 11, 0.45) !important;
  background: rgba(245, 158, 11, 0.15) !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2) !important;
}

.promo-subtitle {
  font-size: 0.88rem !important;
  color: #94a3b8 !important;
  margin: 0 !important;
  font-weight: 500 !important;
}

.promo-detail-status-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.promo-status-badge {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  padding: 7px 16px !important;
  border-radius: 9px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.promo-status-badge.status-standard {
  background: rgba(56, 189, 248, 0.14) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #38bdf8 !important;
}

.promo-status-badge.status-academy {
  background: rgba(52, 211, 153, 0.14) !important;
  border: 1px solid rgba(52, 211, 153, 0.35) !important;
  color: #34d399 !important;
}

.promo-status-badge.status-sovereign {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(245, 158, 11, 0.08)) !important;
  border: 1px solid rgba(251, 191, 36, 0.45) !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.2) !important;
}

.promo-status-badge.status-gateway {
  background: rgba(168, 85, 247, 0.15) !important;
  border: 1px solid rgba(168, 85, 247, 0.4) !important;
  color: #c084fc !important;
}

/* 3 Balanced Symmetrical KPI Metric Cards Grid */
.promo-kpi-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 18px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 820px) {
  .promo-kpi-grid {
    grid-template-columns: 1fr !important;
  }
}

.promo-kpi-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 18px !important;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.75), rgba(9, 16, 32, 0.88)) !important;
  border: 1px solid rgba(56, 189, 248, 0.18) !important;
  border-radius: 14px !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  min-height: 120px !important;
}

.promo-kpi-card:hover {
  background: linear-gradient(145deg, rgba(20, 32, 60, 0.9), rgba(12, 22, 45, 0.95)) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.15) !important;
}

.kpi-card-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 8px !important;
}

.kpi-card-icon {
  font-size: 1.35rem !important;
  line-height: 1 !important;
}

.kpi-card-label {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
}

.kpi-card-val {
  font-family: 'Outfit', 'Cairo', sans-serif !important;
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
  margin: 4px 0 !important;
}

.kpi-card-val.val-amber { color: #fbbf24 !important; }
.kpi-card-val.val-cyan { color: #38bdf8 !important; }
.kpi-card-val.val-emerald { color: #34d399 !important; }

.kpi-card-sub {
  font-size: 0.74rem !important;
  color: #64748b !important;
  line-height: 1.3 !important;
}

/* Operational Mission & Sovereign Decree Panel */
.promo-mission-panel {
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px !important;
  padding: 16px 20px !important;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(9, 16, 32, 0.8)) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  border-right: 4px solid #38bdf8 !important;
  border-radius: 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.promo-mission-panel.promo-mission-sovereign {
  border-right-color: #fbbf24 !important;
  background: linear-gradient(135deg, rgba(30, 24, 10, 0.7), rgba(15, 12, 5, 0.85)) !important;
  border-color: rgba(251, 191, 36, 0.3) !important;
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.1) !important;
}

.promo-mission-icon {
  font-size: 1.6rem !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.promo-mission-content {
  flex: 1 !important;
}

.promo-mission-header {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin-bottom: 4px !important;
}

.promo-mission-tag {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  padding: 2px 8px !important;
  border-radius: 5px !important;
  background: rgba(56, 189, 248, 0.18) !important;
  color: #38bdf8 !important;
}

.promo-mission-tag.promo-tag-gold {
  background: rgba(251, 191, 36, 0.2) !important;
  color: #fbbf24 !important;
}

.promo-mission-title {
  font-size: 0.96rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.promo-mission-desc {
  font-size: 0.84rem !important;
  color: #94a3b8 !important;
  margin: 4px 0 0 0 !important;
  line-height: 1.55 !important;
}

/* Footer Panel: Criteria Checklist & Operational Directive */
.promo-footer-panel {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.promo-criteria-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding: 14px 18px !important;
  background: rgba(15, 23, 42, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.promo-criteria-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: #cbd5e1 !important;
  padding: 5px 12px !important;
  border-radius: 7px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.pill-check {
  color: #34d399 !important;
  font-weight: 900 !important;
}

.promo-operational-brief {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 14px 18px !important;
  background: linear-gradient(135deg, rgba(16, 26, 52, 0.5), rgba(10, 18, 36, 0.7)) !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  border-radius: 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.brief-header {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.85rem !important;
  color: #38bdf8 !important;
}

.brief-icon {
  font-size: 1rem !important;
}

.brief-text {
  font-size: 0.86rem !important;
  color: #e2e8f0 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* Light Theme Adaptations */
[data-theme="light"] .promotion-detail {
  background: #ffffff !important;
  border-color: rgba(203, 213, 225, 0.9) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .promo-detail-head {
  border-bottom-color: rgba(203, 213, 225, 0.8) !important;
}

[data-theme="light"] .promo-detail-name h4 {
  color: #0f172a !important;
}

[data-theme="light"] .promo-subtitle {
  color: #64748b !important;
}

[data-theme="light"] .promo-kpi-card {
  background: #f8fafc !important;
  border-color: rgba(203, 213, 225, 0.8) !important;
}

[data-theme="light"] .promo-kpi-card:hover {
  background: #f1f5f9 !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .kpi-card-val {
  color: #0f172a !important;
}

[data-theme="light"] .promo-mission-panel {
  background: #f8fafc !important;
  border-color: rgba(203, 213, 225, 0.8) !important;
}

[data-theme="light"] .promo-mission-title {
  color: #0f172a !important;
}

[data-theme="light"] .promo-mission-desc {
  color: #475569 !important;
}

[data-theme="light"] .promo-criteria-wrap {
  background: #f1f5f9 !important;
  border-color: rgba(203, 213, 225, 0.8) !important;
}

[data-theme="light"] .promo-criteria-pill {
  background: #ffffff !important;
  border-color: rgba(203, 213, 225, 0.9) !important;
  color: #334155 !important;
}

[data-theme="light"] .promo-operational-brief {
  background: #f8fafc !important;
  border-color: rgba(203, 213, 225, 0.8) !important;
}

[data-theme="light"] .brief-text {
  color: #334155 !important;
}

/* --------------------------------------------------------------------------
   4. TACTICAL CODEX ARTICLES CARDS GRID (Image 4 Redesign)
   -------------------------------------------------------------------------- */
.articles-cards-container {
  margin-top: 20px !important;
}

.articles-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 18px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.article-card {
  background: linear-gradient(160deg, rgba(13, 22, 44, 0.85) 0%, rgba(7, 13, 28, 0.92) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  border-radius: 14px !important;
  padding: 20px 22px !important;
  display: flex !important;
  flex-direction: column !important;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35) !important;
  list-style: none !important;
}

.article-card:hover {
  border-color: rgba(56, 189, 248, 0.5) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.2) !important;
}

.article-card-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
  gap: 8px !important;
}

.art-num-badge {
  background: rgba(56, 189, 248, 0.15) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #38bdf8 !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
}

.art-cat-tag {
  font-size: 0.74rem !important;
  color: #94a3b8 !important;
  background: rgba(255, 255, 255, 0.05) !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  white-space: nowrap !important;
}

.art-copy-btn {
  background: rgba(56, 189, 248, 0.1) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  color: #38bdf8 !important;
  font-family: inherit !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  padding: 4px 9px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  transition: all 0.18s ease !important;
}

.art-copy-btn:hover {
  background: #38bdf8 !important;
  color: #040814 !important;
}

.article-card-title {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.4 !important;
}

.article-card-text {
  font-size: 0.88rem !important;
  color: #cbd5e1 !important;
  line-height: 1.65 !important;
  margin: 0 0 16px 0 !important;
  flex: 1 !important;
}

.article-card-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
  padding-top: 10px !important;
  margin-top: auto !important;
}

.art-org-tag {
  font-size: 0.7rem !important;
  color: #64748b !important;
  font-family: 'Outfit', sans-serif !important;
  letter-spacing: 0.5px !important;
}

/* Category Accent Borders */
.article-card.cat-citizens { border-right: 3px solid #38bdf8 !important; }
.article-card.cat-firearms { border-right: 3px solid #ef4444 !important; }
.article-card.cat-rp { border-right: 3px solid #a855f7 !important; }
.article-card.cat-tactical { border-right: 3px solid #f59e0b !important; }
.article-card.cat-discipline { border-right: 3px solid #10b981 !important; }


    /* ==========================================================================
       CYBER-TACTICAL LUXURY CONTROL SYSTEM (V8.5 PRO)
       Elite styling for all control bars, segmented switches, filter pills, 
       and count chips across the entire portal.
       ========================================================================== */
    
    /* Global Base Reset for Filter Buttons & Tabs */
    .squad-tab-btn,
    .auth-filter-pill,
    .promo-track-btn,
    .art-cat-btn,
    .radio-filter-btn,
    .penalty-track-btn,
    .filter {
      background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(20, 32, 60, 0.75) 100%) !important;
      border: 1px solid rgba(148, 163, 184, 0.18) !important;
      color: #cbd5e1 !important;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
      border-radius: 12px !important;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
      backdrop-filter: blur(8px) !important;
      -webkit-backdrop-filter: blur(8px) !important;
    }

    .squad-tab-btn:hover,
    .auth-filter-pill:hover,
    .promo-track-btn:hover,
    .art-cat-btn:hover,
    .radio-filter-btn:hover,
    .penalty-track-btn:hover,
    .filter:hover {
      background: linear-gradient(145deg, rgba(28, 42, 74, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
      border-color: rgba(56, 189, 248, 0.45) !important;
      color: #ffffff !important;
      transform: translateY(-2px) !important;
      box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), 0 0 15px rgba(56, 189, 248, 0.18) !important;
    }

    .squad-tab-btn.active,
    .auth-filter-pill.active,
    .art-cat-btn.active,
    .radio-filter-btn.active,
    .filter.active {
      background: linear-gradient(135deg, rgba(56, 189, 248, 0.22) 0%, rgba(14, 165, 233, 0.12) 100%) !important;
      border-color: #38bdf8 !important;
      color: #ffffff !important;
      box-shadow: 0 0 20px rgba(56, 189, 248, 0.32), 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    }

    /* 1. SECTION 3: AUTHORITY CONTROLS BAR (DIRECT FIX FOR SCREENSHOT) */
    .authority-controls-bar {
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: 20px !important;
      padding: 16px 22px !important;
      background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(20, 32, 60, 0.92) 100%) !important;
      border: 1px solid rgba(56, 189, 248, 0.24) !important;
      border-radius: 18px !important;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
      backdrop-filter: blur(16px) !important;
      -webkit-backdrop-filter: blur(16px) !important;
      margin-bottom: 20px !important;
      flex-wrap: wrap !important;
    }

    .authority-selector-label {
      display: flex !important;
      flex-direction: column !important;
      gap: 6px !important;
      text-align: right !important;
      flex: 1 1 340px !important;
    }

    .auth-label-badge {
      display: inline-flex !important;
      align-items: center !important;
      gap: 8px !important;
      padding: 3px 12px !important;
      background: rgba(56, 189, 248, 0.12) !important;
      border: 1px solid rgba(56, 189, 248, 0.3) !important;
      border-radius: 20px !important;
      width: fit-content !important;
    }

    .auth-pulse-dot {
      width: 8px !important;
      height: 8px !important;
      background: #38bdf8 !important;
      border-radius: 50% !important;
      box-shadow: 0 0 10px #38bdf8, 0 0 20px rgba(56, 189, 248, 0.6) !important;
      animation: pulseRadar 2s infinite ease-in-out !important;
    }

    @keyframes pulseRadar {
      0%, 100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.3); opacity: 0.6; }
    }

    .auth-badge-text {
      font-family: 'Outfit', 'Cairo', sans-serif !important;
      font-size: 11px !important;
      font-weight: 700 !important;
      color: #7dd3fc !important;
      letter-spacing: 0.5px !important;
    }

    .auth-label-text {
      display: flex !important;
      flex-direction: column !important;
      gap: 3px !important;
    }

    .auth-bar-title {
      margin: 0 !important;
      font-family: 'Cairo', 'Tajawal', sans-serif !important;
      font-size: 18px !important;
      font-weight: 800 !important;
      color: #ffffff !important;
      letter-spacing: -0.3px !important;
    }

    .auth-bar-subtitle {
      margin: 0 !important;
      font-size: 12.5px !important;
      line-height: 1.5 !important;
      color: #94a3b8 !important;
      font-weight: 500 !important;
    }

    /* Segmented Control Switches */
    .authority-view-switch,
    .radio-view-toggles,
    .articles-view-toggles {
      display: inline-flex !important;
      align-items: center !important;
      gap: 4px !important;
      padding: 4px !important;
      background: rgba(10, 16, 30, 0.85) !important;
      border: 1px solid rgba(148, 163, 184, 0.18) !important;
      border-radius: 14px !important;
      box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4) !important;
    }

    .auth-view-btn,
    .radio-toggle-btn {
      display: inline-flex !important;
      align-items: center !important;
      gap: 8px !important;
      padding: 9px 18px !important;
      background: transparent !important;
      border: 1px solid transparent !important;
      border-radius: 10px !important;
      color: #94a3b8 !important;
      font-family: 'Cairo', 'Tajawal', sans-serif !important;
      font-size: 13px !important;
      font-weight: 700 !important;
      cursor: pointer !important;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
      white-space: nowrap !important;
    }

    .auth-view-btn:hover,
    .radio-toggle-btn:hover {
      color: #f1f5f9 !important;
      background: rgba(255, 255, 255, 0.06) !important;
    }

    .auth-view-btn.active,
    .radio-toggle-btn.active {
      background: linear-gradient(135deg, rgba(56, 189, 248, 0.22) 0%, rgba(14, 165, 233, 0.12) 100%) !important;
      border: 1px solid rgba(56, 189, 248, 0.6) !important;
      color: #ffffff !important;
      box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    }

    .view-btn-icon {
      font-size: 14px !important;
      line-height: 1 !important;
    }

    /* 2. TIER FILTER PILLS (SECTION 3 DIRECT FIX) */
    .authority-tier-filter-pills {
      display: flex !important;
      flex-wrap: wrap !important;
      gap: 10px !important;
      align-items: center !important;
      margin: 16px 0 20px 0 !important;
    }

    .auth-filter-pill {
      display: inline-flex !important;
      align-items: center !important;
      gap: 10px !important;
      padding: 10px 18px !important;
      border-radius: 12px !important;
      font-family: 'Cairo', 'Tajawal', sans-serif !important;
      font-size: 13.5px !important;
      font-weight: 700 !important;
      cursor: pointer !important;
    }

    .filter-cnt {
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      padding: 2px 9px !important;
      min-width: 24px !important;
      height: 20px !important;
      background: rgba(255, 255, 255, 0.08) !important;
      border: 1px solid rgba(255, 255, 255, 0.12) !important;
      border-radius: 12px !important;
      font-family: 'Outfit', sans-serif !important;
      font-size: 11.5px !important;
      font-weight: 800 !important;
      color: #94a3b8 !important;
      transition: all 0.2s ease !important;
    }

    .auth-filter-pill.active .filter-cnt {
      background: rgba(56, 189, 248, 0.25) !important;
      border-color: rgba(56, 189, 248, 0.5) !important;
      color: #ffffff !important;
    }

    /* High Command Gold Tier */
    .auth-filter-pill.pill-gold-tier.active {
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(20, 18, 15, 0.95) 100%) !important;
      border-color: #f59e0b !important;
      color: #fbbf24 !important;
      box-shadow: 0 0 22px rgba(245, 158, 11, 0.35), 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    }
    .auth-filter-pill.pill-gold-tier.active .filter-cnt {
      background: rgba(245, 158, 11, 0.25) !important;
      border-color: rgba(245, 158, 11, 0.5) !important;
      color: #fbbf24 !important;
    }

    /* Command General Purple Tier */
    .auth-filter-pill.pill-purple-tier.active {
      background: linear-gradient(135deg, rgba(168, 85, 247, 0.22) 0%, rgba(22, 15, 30, 0.95) 100%) !important;
      border-color: #a855f7 !important;
      color: #c084fc !important;
      box-shadow: 0 0 22px rgba(168, 85, 247, 0.35), 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    }
    .auth-filter-pill.pill-purple-tier.active .filter-cnt {
      background: rgba(168, 85, 247, 0.25) !important;
      border-color: rgba(168, 85, 247, 0.5) !important;
      color: #c084fc !important;
    }

    /* Senior Officers Amber Tier */
    .auth-filter-pill.pill-amber-tier.active {
      background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(25, 18, 15, 0.95) 100%) !important;
      border-color: #f97316 !important;
      color: #fdba74 !important;
      box-shadow: 0 0 22px rgba(249, 115, 22, 0.35), 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    }
    .auth-filter-pill.pill-amber-tier.active .filter-cnt {
      background: rgba(249, 115, 22, 0.25) !important;
      border-color: rgba(249, 115, 22, 0.5) !important;
      color: #fdba74 !important;
    }

    /* Field Officers Cyan Tier */
    .auth-filter-pill.pill-cyan-tier.active {
      background: linear-gradient(135deg, rgba(14, 165, 233, 0.2) 0%, rgba(15, 25, 35, 0.95) 100%) !important;
      border-color: #0ea5e9 !important;
      color: #7dd3fc !important;
      box-shadow: 0 0 22px rgba(14, 165, 233, 0.35), 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    }
    .auth-filter-pill.pill-cyan-tier.active .filter-cnt {
      background: rgba(14, 165, 233, 0.25) !important;
      border-color: rgba(14, 165, 233, 0.5) !important;
      color: #7dd3fc !important;
    }

    /* 3. RANK SELECTION PILLS (INDIVIDUAL RANKS ROW) */
    .authority-rank-pills {
      display: flex !important;
      flex-wrap: wrap !important;
      gap: 10px !important;
      margin-bottom: 22px !important;
    }

    .auth-rank-pill {
      display: inline-flex !important;
      align-items: center !important;
      gap: 8px !important;
      padding: 8px 14px !important;
      background: rgba(15, 23, 42, 0.75) !important;
      border: 1px solid rgba(148, 163, 184, 0.16) !important;
      border-radius: 11px !important;
      color: #cbd5e1 !important;
      font-family: 'Cairo', 'Tajawal', sans-serif !important;
      font-size: 13px !important;
      font-weight: 700 !important;
      cursor: pointer !important;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    }

    .auth-rank-pill:hover {
      transform: translateY(-2px) !important;
      background: rgba(30, 41, 59, 0.9) !important;
      border-color: rgba(56, 189, 248, 0.4) !important;
      color: #ffffff !important;
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35) !important;
    }

    .pill-level-badge {
      display: inline-block !important;
      padding: 2px 7px !important;
      background: rgba(255, 255, 255, 0.08) !important;
      border: 1px solid rgba(255, 255, 255, 0.12) !important;
      border-radius: 6px !important;
      font-family: 'Outfit', sans-serif !important;
      font-size: 11px !important;
      font-weight: 800 !important;
      color: #94a3b8 !important;
      letter-spacing: 0.5px !important;
    }

    .auth-rank-pill.active {
      background: linear-gradient(135deg, rgba(56, 189, 248, 0.22) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
      border-color: #38bdf8 !important;
      color: #ffffff !important;
      box-shadow: 0 0 16px rgba(56, 189, 248, 0.35) !important;
    }

    .auth-rank-pill.active .pill-level-badge {
      background: #0284c7 !important;
      border-color: #38bdf8 !important;
      color: #ffffff !important;
    }

    .auth-rank-pill.pill-gold-tier.active {
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(20, 15, 10, 0.95) 100%) !important;
      border-color: #f59e0b !important;
      color: #fbbf24 !important;
      box-shadow: 0 0 18px rgba(245, 158, 11, 0.35) !important;
    }
    .auth-rank-pill.pill-gold-tier.active .pill-level-badge {
      background: #b45309 !important;
      border-color: #f59e0b !important;
      color: #fef3c7 !important;
    }

    .auth-rank-pill.pill-purple-tier.active {
      background: linear-gradient(135deg, rgba(168, 85, 247, 0.22) 0%, rgba(22, 15, 30, 0.95) 100%) !important;
      border-color: #a855f7 !important;
      color: #c084fc !important;
      box-shadow: 0 0 18px rgba(168, 85, 247, 0.35) !important;
    }
    .auth-rank-pill.pill-purple-tier.active .pill-level-badge {
      background: #7e22ce !important;
      border-color: #a855f7 !important;
      color: #f3e8ff !important;
    }

    /* 4. CAREER PATH & PENALTIES DUAL TRACK SWITCHERS */
    .promotions-track-switcher,
    .penalties-track-switcher {
      display: grid !important;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
      gap: 16px !important;
      margin-bottom: 24px !important;
    }

    .promo-track-btn,
    .penalty-track-btn {
      display: flex !important;
      align-items: center !important;
      gap: 16px !important;
      padding: 16px 20px !important;
      background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(20, 32, 60, 0.9) 100%) !important;
      border: 1px solid rgba(148, 163, 184, 0.18) !important;
      border-radius: 16px !important;
      color: #cbd5e1 !important;
      cursor: pointer !important;
      text-align: right !important;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
      position: relative !important;
      overflow: hidden !important;
    }

    .promo-track-btn:hover,
    .penalty-track-btn:hover {
      transform: translateY(-2px) !important;
      border-color: rgba(56, 189, 248, 0.45) !important;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.15) !important;
    }

    .promo-track-btn.active,
    .penalty-track-btn.active {
      background: linear-gradient(135deg, rgba(56, 189, 248, 0.18) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
      border-color: #38bdf8 !important;
      color: #ffffff !important;
      box-shadow: 0 0 24px rgba(56, 189, 248, 0.3), 0 8px 24px rgba(0, 0, 0, 0.4) !important;
    }

    #promoTrackOfficers.active,
    #btnPenaltyOfficers.active {
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(20, 15, 10, 0.95) 100%) !important;
      border-color: #f59e0b !important;
      color: #fbbf24 !important;
      box-shadow: 0 0 24px rgba(245, 158, 11, 0.35), 0 8px 24px rgba(0, 0, 0, 0.4) !important;
    }

    .track-badge-icon {
      font-size: 26px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
    }

    .track-btn-copy strong {
      display: block !important;
      font-family: 'Cairo', 'Tajawal', sans-serif !important;
      font-size: 15px !important;
      font-weight: 800 !important;
      color: #ffffff !important;
      margin-bottom: 4px !important;
    }

    .track-btn-copy small {
      display: block !important;
      font-size: 12px !important;
      color: #94a3b8 !important;
      line-height: 1.4 !important;
    }

    .track-count-badge {
      margin-right: auto !important;
      padding: 4px 10px !important;
      background: rgba(255, 255, 255, 0.08) !important;
      border: 1px solid rgba(255, 255, 255, 0.14) !important;
      border-radius: 20px !important;
      font-family: 'Outfit', sans-serif !important;
      font-size: 11.5px !important;
      font-weight: 800 !important;
      color: #94a3b8 !important;
      white-space: nowrap !important;
    }

    .promo-track-btn.active .track-count-badge,
    .penalty-track-btn.active .track-count-badge {
      background: rgba(56, 189, 248, 0.25) !important;
      border-color: rgba(56, 189, 248, 0.5) !important;
      color: #ffffff !important;
    }

    #promoTrackOfficers.active .track-count-badge,
    #btnPenaltyOfficers.active .track-count-badge {
      background: rgba(245, 158, 11, 0.25) !important;
      border-color: rgba(245, 158, 11, 0.5) !important;
      color: #fbbf24 !important;
    }

    /* 5. FAVORITES & SPECIALIZED GRADE CAPSULES */
    .fav-filter.active,
    .radio-filter-btn[data-cat="favorites"].active,
    .art-cat-btn[data-cat="favorites"].active {
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(20, 15, 10, 0.95) 100%) !important;
      border-color: #f59e0b !important;
      color: #fbbf24 !important;
      box-shadow: 0 0 20px rgba(245, 158, 11, 0.35) !important;
    }

    .filter[data-grade="7"].danger-filter.active {
      background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(30, 10, 10, 0.95) 100%) !important;
      border-color: #ef4444 !important;
      color: #fca5a5 !important;
      box-shadow: 0 0 20px rgba(239, 68, 68, 0.35) !important;
    }



    /* Refined Radio & Articles Filters Bar Layout */
    .radio-filters,
    .articles-filters {
      display: flex !important;
      flex-wrap: wrap !important;
      align-items: center !important;
      gap: 10px !important;
      margin-top: 18px !important;
      padding-top: 18px !important;
      border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .radio-filter-btn,
    .art-cat-btn {
      display: inline-flex !important;
      align-items: center !important;
      gap: 8px !important;
      padding: 9px 16px !important;
      border-radius: 12px !important;
      font-size: 13px !important;
      font-weight: 700 !important;
      cursor: pointer !important;
    }

    .radio-filter-btn .filter-cnt,
    .art-cat-btn .filter-cnt {
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      padding: 2px 8px !important;
      min-width: 22px !important;
      height: 19px !important;
      background: rgba(255, 255, 255, 0.08) !important;
      border: 1px solid rgba(255, 255, 255, 0.12) !important;
      border-radius: 12px !important;
      font-family: 'Outfit', sans-serif !important;
      font-size: 11px !important;
      font-weight: 800 !important;
      color: #94a3b8 !important;
    }

    .radio-filter-btn.active .filter-cnt,
    .art-cat-btn.active .filter-cnt {
      background: rgba(56, 189, 248, 0.25) !important;
      border-color: rgba(56, 189, 248, 0.5) !important;
      color: #ffffff !important;
    }

    /* Violations Grade Buttons (Grade 1 - 7 Cyber Accents) */
    .filters#gradeFilters {
      display: flex !important;
      flex-wrap: wrap !important;
      gap: 8px !important;
      align-items: center !important;
      margin-top: 16px !important;
    }

    .filter {
      padding: 8px 16px !important;
      border-radius: 11px !important;
      font-size: 13px !important;
      font-weight: 700 !important;
    }

    .filter[data-grade="1"].active {
      background: linear-gradient(135deg, rgba(56, 189, 248, 0.25) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
      border-color: #38bdf8 !important;
      color: #7dd3fc !important;
      box-shadow: 0 0 16px rgba(56, 189, 248, 0.35) !important;
    }

    .filter[data-grade="2"].active {
      background: linear-gradient(135deg, rgba(20, 184, 166, 0.25) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
      border-color: #14b8a6 !important;
      color: #5eead4 !important;
      box-shadow: 0 0 16px rgba(20, 184, 166, 0.35) !important;
    }

    .filter[data-grade="3"].active {
      background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
      border-color: #10b981 !important;
      color: #6ee7b7 !important;
      box-shadow: 0 0 16px rgba(16, 185, 129, 0.35) !important;
    }

    .filter[data-grade="4"].active {
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
      border-color: #f59e0b !important;
      color: #fcd34d !important;
      box-shadow: 0 0 16px rgba(245, 158, 11, 0.35) !important;
    }

    .filter[data-grade="5"].active {
      background: linear-gradient(135deg, rgba(249, 115, 22, 0.25) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
      border-color: #f97316 !important;
      color: #fdba74 !important;
      box-shadow: 0 0 16px rgba(249, 115, 22, 0.35) !important;
    }

    .filter[data-grade="6"].active {
      background: linear-gradient(135deg, rgba(244, 63, 94, 0.25) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
      border-color: #f43f5e !important;
      color: #fda4af !important;
      box-shadow: 0 0 16px rgba(244, 63, 94, 0.35) !important;
    }

    .filter[data-grade="7"].active {
      background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(30, 10, 10, 0.95) 100%) !important;
      border-color: #ef4444 !important;
      color: #fca5a5 !important;
      box-shadow: 0 0 20px rgba(239, 68, 68, 0.4) !important;
    }




    /* ==========================================================================
       COMPLETE SYSTEM-WIDE UI/GUI/UX OVERHAUL (V9.5 PRO)
       Luxury Glassmorphic Segmented Switches, Tables, Legends, and HUD Bars
       ========================================================================== */

    /* 1. PROMOTIONS BROWSER HEAD & VIEW SWITCH (FIX FOR USER SCREENSHOT) */
    .promotion-browser-head {
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: 20px !important;
      padding: 16px 22px !important;
      background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(20, 32, 60, 0.92) 100%) !important;
      border: 1px solid rgba(56, 189, 248, 0.24) !important;
      border-radius: 18px !important;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
      backdrop-filter: blur(16px) !important;
      -webkit-backdrop-filter: blur(16px) !important;
      margin-bottom: 22px !important;
      flex-wrap: wrap !important;
    }

    .promo-head-copy {
      display: flex !important;
      flex-direction: column !important;
      gap: 4px !important;
      text-align: right !important;
    }

    .promotion-browser-label {
      display: inline-flex !important;
      align-items: center !important;
      gap: 8px !important;
      font-family: 'Outfit', 'Cairo', sans-serif !important;
      font-size: 11px !important;
      font-weight: 700 !important;
      color: #7dd3fc !important;
      letter-spacing: 0.5px !important;
      background: rgba(56, 189, 248, 0.1) !important;
      border: 1px solid rgba(56, 189, 248, 0.25) !important;
      border-radius: 20px !important;
      padding: 3px 10px !important;
      width: fit-content !important;
    }

    #promoBrowserHeading {
      margin: 0 !important;
      font-family: 'Cairo', 'Tajawal', sans-serif !important;
      font-size: 18px !important;
      font-weight: 800 !important;
      color: #ffffff !important;
      letter-spacing: -0.3px !important;
    }

    /* Segmented Capsule View Switch */
    .promotion-view-switch {
      display: inline-flex !important;
      align-items: center !important;
      gap: 4px !important;
      padding: 4px !important;
      background: rgba(10, 16, 30, 0.85) !important;
      border: 1px solid rgba(148, 163, 184, 0.18) !important;
      border-radius: 14px !important;
      box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4) !important;
    }

    .promo-view-btn {
      display: inline-flex !important;
      align-items: center !important;
      gap: 8px !important;
      padding: 9px 18px !important;
      background: transparent !important;
      border: 1px solid transparent !important;
      border-radius: 10px !important;
      color: #94a3b8 !important;
      font-family: 'Cairo', 'Tajawal', sans-serif !important;
      font-size: 13px !important;
      font-weight: 700 !important;
      cursor: pointer !important;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
      white-space: nowrap !important;
    }

    .promo-view-btn:hover {
      color: #f1f5f9 !important;
      background: rgba(255, 255, 255, 0.06) !important;
    }

    .promo-view-btn.active {
      background: linear-gradient(135deg, rgba(56, 189, 248, 0.22) 0%, rgba(14, 165, 233, 0.12) 100%) !important;
      border: 1px solid rgba(56, 189, 248, 0.6) !important;
      color: #ffffff !important;
      box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    }

    /* View Containers */
    .promotion-cards-view-wrap {
      display: flex !important;
      flex-direction: column !important;
      gap: 20px !important;
    }

    .promotion-table-wrap {
      background: rgba(15, 23, 42, 0.8) !important;
      border: 1px solid rgba(56, 189, 248, 0.2) !important;
      border-radius: 16px !important;
      padding: 20px !important;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
      overflow: hidden !important;
    }

    .promotion-matrix-table {
      width: 100% !important;
      border-collapse: collapse !important;
      text-align: right !important;
    }

    .promotion-matrix-table th {
      background: rgba(20, 32, 60, 0.9) !important;
      color: #7dd3fc !important;
      padding: 14px 16px !important;
      font-size: 13px !important;
      font-weight: 800 !important;
      border-bottom: 2px solid rgba(56, 189, 248, 0.3) !important;
    }

    .promotion-matrix-table td {
      padding: 12px 16px !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
      color: #cbd5e1 !important;
      font-size: 13px !important;
    }

    .promotion-matrix-table tr:hover td {
      background: rgba(56, 189, 248, 0.06) !important;
      color: #ffffff !important;
    }

    /* 2. AUTHORITY MATRIX VIEW (SECTION 3) */
    .authority-matrix-table-wrap {
      background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(10, 16, 30, 0.95)) !important;
      border: 1px solid rgba(56, 189, 248, 0.22) !important;
      border-radius: 18px !important;
      padding: 20px !important;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45) !important;
      margin-top: 15px !important;
    }

    .matrix-filter-bar {
      display: flex !important;
      justify-content: space-between !important;
      align-items: center !important;
      flex-wrap: wrap !important;
      gap: 12px !important;
      padding-bottom: 16px !important;
      margin-bottom: 16px !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .matrix-filter-title {
      display: flex !important;
      align-items: center !important;
      gap: 10px !important;
      color: #ffffff !important;
      font-weight: 800 !important;
      font-size: 15px !important;
    }

    .matrix-dir-badge {
      display: inline-flex !important;
      align-items: center !important;
      gap: 6px !important;
      padding: 4px 12px !important;
      background: rgba(56, 189, 248, 0.1) !important;
      border: 1px solid rgba(56, 189, 248, 0.25) !important;
      border-radius: 20px !important;
      font-size: 12px !important;
      color: #7dd3fc !important;
    }

    .authority-matrix-table {
      width: 100% !important;
      border-collapse: collapse !important;
      text-align: right !important;
    }

    .authority-matrix-table th {
      background: rgba(20, 32, 60, 0.95) !important;
      color: #7dd3fc !important;
      padding: 14px 16px !important;
      font-size: 13px !important;
      font-weight: 800 !important;
      border-bottom: 2px solid rgba(56, 189, 248, 0.3) !important;
    }

    .authority-matrix-table td {
      padding: 12px 16px !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
      color: #cbd5e1 !important;
      font-size: 13px !important;
    }

    .authority-matrix-table tr:hover td {
      background: rgba(56, 189, 248, 0.06) !important;
      color: #ffffff !important;
    }

    /* 3. CHAIN OF COMMAND HEADER ACTIONS */
    .chain-header-actions {
      display: flex !important;
      align-items: center !important;
      gap: 12px !important;
    }

    .ranks-count-badge {
      display: inline-flex !important;
      align-items: center !important;
      gap: 8px !important;
      padding: 6px 14px !important;
      background: rgba(56, 189, 248, 0.1) !important;
      border: 1px solid rgba(56, 189, 248, 0.25) !important;
      border-radius: 20px !important;
      font-size: 12.5px !important;
      font-weight: 700 !important;
      color: #7dd3fc !important;
    }

    /* 4. PENALTIES SEVERITY LEGEND CARDS */
    .legend-cards-grid {
      display: grid !important;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
      gap: 12px !important;
      margin: 20px 0 !important;
    }

    .legend-card {
      padding: 14px 18px !important;
      background: rgba(15, 23, 42, 0.8) !important;
      border: 1px solid rgba(148, 163, 184, 0.18) !important;
      border-radius: 14px !important;
      transition: all 0.2s ease !important;
    }

    .legend-card:hover {
      transform: translateY(-2px) !important;
      border-color: rgba(56, 189, 248, 0.4) !important;
    }

    .legend-card.leg-low { border-right: 4px solid #38bdf8 !important; }
    .legend-card.leg-medium { border-right: 4px solid #f59e0b !important; }
    .legend-card.leg-high { border-right: 4px solid #f97316 !important; }
    .legend-card.leg-critical { border-right: 4px solid #ef4444 !important; }
    .legend-card.leg-demotion { border-right: 4px solid #dc2626 !important; }

    .legend-header {
      display: flex !important;
      justify-content: space-between !important;
      align-items: center !important;
      margin-bottom: 6px !important;
      font-weight: 800 !important;
      color: #ffffff !important;
      font-size: 14px !important;
    }

    .penalty-table-header-bar {
      display: flex !important;
      justify-content: space-between !important;
      align-items: center !important;
      padding: 14px 20px !important;
      background: linear-gradient(135deg, rgba(20, 32, 60, 0.9), rgba(15, 23, 42, 0.95)) !important;
      border: 1px solid rgba(56, 189, 248, 0.22) !important;
      border-radius: 14px !important;
      color: #ffffff !important;
      font-weight: 800 !important;
    }

    /* 5. REGULATIONS TREE & BRANCH CARDS */
    .tree-branch-card {
      background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(10, 16, 30, 0.95)) !important;
      border: 1px solid rgba(148, 163, 184, 0.18) !important;
      border-radius: 16px !important;
      padding: 20px !important;
      transition: all 0.25s ease !important;
    }

    .tree-branch-card:hover {
      transform: translateY(-2px) !important;
      border-color: rgba(56, 189, 248, 0.4) !important;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4) !important;
    }

    .tree-header {
      display: flex !important;
      align-items: center !important;
      gap: 12px !important;
      margin-bottom: 12px !important;
    }

    .tree-header-info h4 {
      margin: 0 !important;
      color: #ffffff !important;
      font-weight: 800 !important;
    }

    .tree-branch-card.branch-firearms { border-top: 3px solid #ef4444 !important; }
    .tree-branch-card.branch-rights { border-top: 3px solid #38bdf8 !important; }
    .tree-branch-card.branch-service { border-top: 3px solid #10b981 !important; }
    .tree-branch-card.branch-station { border-top: 3px solid #f59e0b !important; }

    /* 6. FLOATING CONTROLS & PALETTE */
    .back-to-top {
      position: fixed !important;
      bottom: 28px !important;
      left: 28px !important;
      z-index: 999 !important;
      width: 44px !important;
      height: 44px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 58, 138, 0.85)) !important;
      border: 1px solid rgba(56, 189, 248, 0.4) !important;
      border-radius: 12px !important;
      color: #38bdf8 !important;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45) !important;
      cursor: pointer !important;
      transition: all 0.25s ease !important;
    }

    .back-to-top:hover {
      transform: translateY(-3px) !important;
      box-shadow: 0 12px 30px rgba(56, 189, 248, 0.35) !important;
      background: #0284c7 !important;
      color: #ffffff !important;
    }




/* ==========================================================================
   MASTER UI OVERHAUL (V100.0) — HERO COMMAND CENTER, AUDIO DOCK & TOAST
   ========================================================================== */

/* 1. HERO LIVE OPERATIONS TICKER */
.hero-live-ticker {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 8px 16px !important;
  margin-top: 20px !important;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(20, 32, 60, 0.92)) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  max-width: 820px !important;
}

.ticker-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 4px 12px !important;
  background: rgba(239, 68, 68, 0.15) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  border-radius: 20px !important;
  white-space: nowrap !important;
}

.ticker-badge strong {
  font-family: 'Cairo', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  color: #fca5a5 !important;
}

.ticker-beacon {
  width: 7px !important;
  height: 7px !important;
  background: #ef4444 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 10px #ef4444, 0 0 18px rgba(239, 68, 68, 0.8) !important;
  animation: pulseRadar 1.5s infinite ease-in-out !important;
}

.ticker-marquee-track {
  flex: 1 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  position: relative !important;
}

.ticker-content {
  display: inline-block !important;
  font-family: 'Tajawal', 'Cairo', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #e2e8f0 !important;
  letter-spacing: 0.2px !important;
}

/* 2. HERO QUICK ACTION COMMAND PILLS */
.hero-quick-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
  margin-top: 18px !important;
}

.hero-action-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 18px !important;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(20, 32, 60, 0.75) 100%) !important;
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
  border-radius: 12px !important;
  color: #cbd5e1 !important;
  font-family: 'Cairo', 'Tajawal', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

.hero-action-pill:hover {
  transform: translateY(-2px) !important;
  background: linear-gradient(145deg, rgba(28, 42, 74, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(56, 189, 248, 0.2) !important;
}

.hero-action-pill.primary-pill {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22) 0%, rgba(14, 165, 233, 0.12) 100%) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.3) !important;
}

.hero-action-pill .pill-ico {
  font-size: 15px !important;
  line-height: 1 !important;
}

/* 3. FLOATING TACTICAL DOCK (AUDIO TOGGLE) */
.floating-tactical-dock {
  position: fixed !important;
  bottom: 28px !important;
  right: 28px !important;
  z-index: 998 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.dock-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 18px !important;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(20, 32, 60, 0.95) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: 14px !important;
  color: #ffffff !important;
  font-family: 'Cairo', 'Tajawal', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.dock-action-btn:hover {
  transform: translateY(-2px) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.3) !important;
}

.dock-action-btn.is-muted {
  border-color: rgba(148, 163, 184, 0.25) !important;
  color: #94a3b8 !important;
}

.dock-action-btn.is-muted .audio-wave-anim i {
  animation: none !important;
  height: 3px !important;
  background: #64748b !important;
}

.audio-wave-anim {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2.5px !important;
  height: 14px !important;
}

.audio-wave-anim i {
  display: inline-block !important;
  width: 2.5px !important;
  height: 12px !important;
  background: #38bdf8 !important;
  border-radius: 2px !important;
  animation: waveBars 1.2s infinite ease-in-out !important;
}

.audio-wave-anim i:nth-child(1) { animation-delay: 0.1s !important; height: 8px !important; }
.audio-wave-anim i:nth-child(2) { animation-delay: 0.3s !important; height: 14px !important; }
.audio-wave-anim i:nth-child(3) { animation-delay: 0.2s !important; height: 10px !important; }
.audio-wave-anim i:nth-child(4) { animation-delay: 0.4s !important; height: 6px !important; }

@keyframes waveBars {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* 4. TACTICAL TOAST NOTIFICATION */
.tactical-toast {
  position: fixed !important;
  bottom: 84px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(20px) scale(0.95) !important;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(20, 35, 65, 0.98)) !important;
  border: 1px solid #10b981 !important;
  border-radius: 14px !important;
  padding: 12px 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #ffffff !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.3) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 10000 !important;
}

.tactical-toast.is-visible {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(0) scale(1) !important;
}

.toast-icon {
  width: 20px !important;
  height: 20px !important;
  background: rgba(16, 185, 129, 0.2) !important;
  border: 1px solid #10b981 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #10b981 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}



/* ==========================================================================
   V200 NEXT-GEN POLICE COMMAND OS — MASTER UI/GUI/UX UPGRADE
   ========================================================================== */

/* -------------------------------------------------------------
   1. TOPBAR ACTIONS DOCK & TACTICAL SEARCH
   ------------------------------------------------------------- */
.topbar-actions-dock {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 16px;
}

.nav-tactical-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 9999px;
  padding: 6px 14px;
  color: #e2e8f0;
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-tactical-search:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: #38bdf8;
  color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.3);
}

.nav-tactical-search kbd {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.7rem;
  color: #94a3b8;
  font-family: monospace;
}

.nav-system-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 9999px;
  padding: 5px 12px;
  color: #10b981;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.status-radar-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: radarDotPulse 1.8s infinite;
}

@keyframes radarDotPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #10b981; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

@media (max-width: 992px) {
  .topbar-actions-dock {
    display: none;
  }
}

/* -------------------------------------------------------------
   2. TACTICAL RADAR HUD WIDGET IN HERO SECTION
   ------------------------------------------------------------- */
.tactical-radar-hud {
  margin: 16px auto;
  padding: 14px;
  background: rgba(4, 11, 22, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(56, 189, 248, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 260px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.tactical-radar-hud::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
}

.tactical-radar-hud.pinging {
  border-color: #10b981;
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.5), inset 0 0 25px rgba(16, 185, 129, 0.2);
}

/* Circular Radar Scope */
.radar-scope {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, rgba(2, 6, 23, 0.95) 75%);
  border: 2px solid rgba(56, 189, 248, 0.4);
  position: relative;
  box-shadow: inset 0 0 25px rgba(56, 189, 248, 0.15), 0 0 15px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.radar-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.22);
}

.radar-ring.ring-1 { width: 38%; height: 38%; }
.radar-ring.ring-2 { width: 68%; height: 68%; }
.radar-ring.ring-3 { width: 95%; height: 95%; border-style: solid; border-color: rgba(56, 189, 248, 0.35); }

.radar-axis-x {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: rgba(56, 189, 248, 0.2);
}

.radar-axis-y {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: rgba(56, 189, 248, 0.2);
}

/* Rotating Radar Beam */
.radar-sweep-beam {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(56, 189, 248, 0.45) 0deg, rgba(16, 185, 129, 0.15) 30deg, transparent 75deg);
  animation: radarRotate 3.6s linear infinite;
  pointer-events: none;
}

@keyframes radarRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Radar Blips for the 4 Squads */
.radar-blip {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  pointer-events: auto;
  cursor: pointer;
}

.radar-blip::after {
  content: '';
  position: absolute;
  top: -3px; left: -3px; right: -3px; bottom: -3px;
  border-radius: 50%;
  border: 1px solid currentColor;
  animation: blipWave 1.8s ease-out infinite;
}

@keyframes blipWave {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.8); opacity: 0; }
}

.radar-blip.blip-bravo {
  top: 28%; left: 65%;
  background: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.radar-blip.blip-charlie {
  top: 68%; left: 72%;
  background: #f59e0b;
  color: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.radar-blip.blip-delta {
  top: 40%; left: 24%;
  background: #ef4444;
  color: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

.radar-blip.blip-echo {
  top: 75%; left: 35%;
  background: #a855f7;
  color: #a855f7;
  box-shadow: 0 0 8px #a855f7;
}

/* Radar Telemetry Readout */
.radar-telemetry {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(0, 0, 0, 0.45);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.telemetry-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #94a3b8;
}

.tel-val.green-pulse {
  color: #10b981;
  font-weight: 700;
}

/* Radar Ping Button */
.radar-ping-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(16, 185, 129, 0.15));
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 10px;
  padding: 7px 12px;
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.radar-ping-btn:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(16, 185, 129, 0.3));
  border-color: #38bdf8;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

.radar-ping-btn:active {
  transform: translateY(0) scale(0.98);
}

/* -------------------------------------------------------------
   3. SECTION 05: SPD TACTICAL SQUADS DUAL-VIEW HUB
   ------------------------------------------------------------- */
.squads-view-switch-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  background: rgba(15, 23, 42, 0.7);
  padding: 10px 18px;
  border-radius: 16px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
}

.squads-view-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #f1f5f9;
}

.squads-segmented-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(2, 6, 23, 0.8);
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.squad-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: none;
  padding: 7px 16px;
  border-radius: 9999px;
  color: #94a3b8;
  font-size: 0.82rem;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.squad-view-btn:hover {
  color: #fff;
}

.squad-view-btn.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(2, 132, 199, 0.45));
  border: 1px solid rgba(56, 189, 248, 0.6);
  color: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.3);
}

/* 4-Squad Tactical Cards Deck */
.squads-tactical-deck-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  margin-top: 14px !important;
}

@media (max-width: 1280px) {
  .squads-tactical-deck-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }
}

@media (max-width: 680px) {
  .squads-tactical-deck-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

.squad-tactical-card {
  background: rgba(11, 20, 38, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 20px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.squad-tactical-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.5);
}

/* Squad Themes */
.squad-tactical-card.squad-bravo-theme {
  border-color: rgba(56, 189, 248, 0.35);
}
.squad-tactical-card.squad-bravo-theme:hover {
  border-color: #38bdf8;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.3);
}

.squad-tactical-card.squad-charlie-theme {
  border-color: rgba(245, 158, 11, 0.35);
}
.squad-tactical-card.squad-charlie-theme:hover {
  border-color: #f59e0b;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 158, 11, 0.3);
}

.squad-tactical-card.squad-delta-theme {
  border-color: rgba(239, 68, 68, 0.35);
}
.squad-tactical-card.squad-delta-theme:hover {
  border-color: #ef4444;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(239, 68, 68, 0.3);
}

.squad-tactical-card.squad-echo-theme {
  border-color: rgba(168, 85, 247, 0.35);
}
.squad-tactical-card.squad-echo-theme:hover {
  border-color: #a855f7;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(168, 85, 247, 0.3);
}

.squad-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.squad-emblem-box {
  width: 52px;
  height: 52px;
  background: rgba(2, 6, 23, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.05);
}

.squad-identity {
  flex: 1;
}

.squad-radio-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.5);
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  margin-bottom: 6px;
}

.squad-title-ar {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #f8fafc;
}

.squad-title-en {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 2px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5px;
}

.squad-mission-box {
  background: rgba(2, 6, 23, 0.5);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mission-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-bottom: 4px;
}

.mission-text {
  margin: 0;
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.6;
}

.squad-specs-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 5px;
}

.spec-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.spec-chip {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.6);
  color: #e2e8f0;
}

.spec-chip.fleet-chip {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.25);
  color: #bae6fd;
}

.spec-chip.armory-chip {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
  color: #fde68a;
}

.squad-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
}

.squad-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #10b981;
  font-weight: 700;
}

.status-live-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.squad-dispatch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(2, 132, 199, 0.3));
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 10px;
  padding: 8px 14px;
  color: #38bdf8;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.squad-dispatch-btn:hover {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff;
  border-color: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

/* Luxury Squads Table */
.squads-table-lux-wrap {
  overflow-x: auto;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 18px;
  padding: 8px;
  backdrop-filter: blur(14px);
}

.luxury-squads-table th {
  background: rgba(2, 6, 23, 0.85);
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 14px 16px;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.luxury-squads-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.tbl-squad-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tbl-emblem {
  font-size: 1.4rem;
}

.tbl-radio-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  margin-left: 6px;
}

.tbl-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #10b981;
  font-size: 0.8rem;
  font-weight: 600;
}

.live-dot-green {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
}

.tbl-call-btn {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 8px;
  padding: 5px 12px;
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tbl-call-btn:hover {
  background: #0284c7;
  color: #fff;
}

/* -------------------------------------------------------------
   4. MILITARY TACTICAL DOSSIER HOLOGRAM MODAL
   ------------------------------------------------------------- */
.military-dossier-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.military-dossier-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.military-dossier-backdrop {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(18px) saturate(160%);
}

.military-dossier-window {
  position: relative;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(8, 14, 28, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 24px;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 45px rgba(56, 189, 248, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.military-dossier-modal-overlay.is-open .military-dossier-window {
  transform: scale(1) translateY(0);
}

.dossier-close-x {
  position: absolute;
  top: 18px; left: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.dossier-close-x:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #ef4444;
  transform: rotate(90deg);
}

.military-dossier-scroll {
  overflow-y: auto;
  padding: 30px;
  max-height: calc(90vh - 40px);
}

/* Modal Dossier Card Contents */
.modal-dossier-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-dossier-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.dossier-holo-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(2, 6, 23, 0.9) 80%);
  border: 2px solid rgba(56, 189, 248, 0.6);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.35);
  flex-shrink: 0;
}

.holo-icon {
  font-size: 2.5rem;
}

.dossier-level-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.dossier-level-pill {
  background: #0284c7;
  color: #fff;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
}

.dossier-tier-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}

.dossier-status-live {
  color: #10b981;
  font-size: 0.75rem;
  font-weight: 700;
}

.dossier-rank-title-ar {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffffff;
}

.dossier-rank-title-en {
  font-size: 0.92rem;
  color: #94a3b8;
  margin-top: 4px;
}

.dossier-rank-title-en span {
  color: #38bdf8;
  font-family: monospace;
  font-weight: 700;
  margin-right: 6px;
}

/* 3-Cell KPI Grid */
.dossier-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.dossier-kpi-cell {
  background: rgba(2, 6, 23, 0.6);
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dossier-kpi-cell small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
}

.dossier-kpi-cell strong {
  color: #f1f5f9;
  font-size: 0.95rem;
}

/* Dossier Sections */
.dossier-section-block {
  background: rgba(2, 6, 23, 0.45);
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.block-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.block-desc {
  margin: 0;
  color: #e2e8f0;
  font-size: 0.92rem;
  line-height: 1.7;
}

.block-sub-desc {
  margin: 8px 0 0;
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.6;
}

/* Two Col Specs (Weapons + Fleet) */
.dossier-specs-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .dossier-specs-two-col {
    grid-template-columns: 1fr;
  }
}

.dossier-spec-box {
  background: rgba(2, 6, 23, 0.55);
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 10px;
}

.spec-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dossier-tag {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dossier-tag.weapon-tag {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fde68a;
}

.dossier-tag.fleet-tag {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  color: #bae6fd;
}

/* Auth Powers Block */
.auth-powers-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.power-item {
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.power-item strong {
  color: #f8fafc;
}

.power-dot {
  width: 6px;
  height: 6px;
  background: #38bdf8;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 2px;
}

.power-dot.danger {
  background: #ef4444;
}

/* Dossier Footer Actions */
.modal-dossier-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.dossier-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dossier-action-btn.print-btn {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

.dossier-action-btn.print-btn:hover {
  background: #0284c7;
  color: #fff;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

.dossier-action-btn.copy-btn {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
}

.dossier-action-btn.copy-btn:hover {
  background: #10b981;
  color: #fff;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
}

.dossier-action-btn.close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
}

.dossier-action-btn.close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}

/* -------------------------------------------------------------
   5. RANK CARDS INSPECT BUTTONS
   ------------------------------------------------------------- */
.roster-rank-card, .rank-card, .cascade-rank-item {
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
}

.roster-inspect-btn, .rank-inspect-btn {
  margin-top: 10px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px dashed rgba(56, 189, 248, 0.35);
  border-radius: 8px;
  padding: 5px 10px;
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.roster-rank-card:hover .roster-inspect-btn,
.rank-card:hover .rank-inspect-btn {
  background: rgba(56, 189, 248, 0.25);
  border-style: solid;
  color: #fff;
}

.auth-inspect-dossier-btn {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 8px;
  padding: 4px 12px;
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right: 8px;
}

.auth-inspect-dossier-btn:hover {
  background: #0284c7;
  color: #fff;
}

/* -------------------------------------------------------------
   6. PRINT STYLES FOR OFFICIAL MILITARY DOSSIER
   ------------------------------------------------------------- */
@media print {
  body * {
    visibility: hidden;
  }
  #militaryDossierModal, #militaryDossierModal * {
    visibility: visible;
  }
  #militaryDossierModal {
    position: absolute;
    left: 0; top: 0; width: 100%; height: auto;
    background: #fff !important;
    padding: 0 !important;
  }
  .military-dossier-backdrop, .dossier-close-x, .modal-dossier-foot {
    display: none !important;
  }
  .military-dossier-window {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    border: 2px solid #000 !important;
    max-width: 100% !important;
  }
  .dossier-rank-title-ar, .block-desc, .dossier-kpi-cell strong {
    color: #000 !important;
  }
  .dossier-kpi-cell, .dossier-section-block, .dossier-spec-box {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
  }
}


/* ==========================================================================
   MASTER GRAPHIC & VISUAL UI/GUI OVERHAUL (V300 AAA CINEMATIC LUXURY)
   ========================================================================== */

/* -------------------------------------------------------------
   1. GLOBAL ATMOSPHERE & AMBIENT DEPTH
   ------------------------------------------------------------- */
body {
  background-color: #040711 !important;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(14, 165, 233, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(99, 102, 241, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 50% 70%, rgba(245, 158, 11, 0.04) 0%, transparent 55%) !important;
  background-attachment: fixed !important;
}

/* -------------------------------------------------------------
   2. SECTION 04: AUTHORITY & DISCIPLINARY POWERS (COMPLETE REDESIGN)
   ------------------------------------------------------------- */
.authority-console-wrapper {
  background: linear-gradient(155deg, rgba(13, 22, 40, 0.88) 0%, rgba(6, 11, 22, 0.96) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  border-top: 1px solid rgba(56, 189, 248, 0.5) !important;
  border-radius: 26px !important;
  padding: 28px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 30px rgba(56, 189, 248, 0.08) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
}

/* Controls Bar */
.authority-controls-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding-bottom: 22px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin-bottom: 22px !important;
  flex-wrap: wrap !important;
}

.auth-label-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  padding: 4px 12px !important;
  border-radius: 9999px !important;
  font-size: 0.76rem !important;
  color: #38bdf8 !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
}

.auth-pulse-dot {
  width: 7px !important;
  height: 7px !important;
  background: #38bdf8 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 10px #38bdf8 !important;
  animation: radarDotPulse 1.8s infinite !important;
}

.auth-bar-title {
  margin: 0 !important;
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  color: #f8fafc !important;
  letter-spacing: -0.5px !important;
}

.auth-bar-subtitle {
  margin: 5px 0 0 !important;
  font-size: 0.86rem !important;
  color: #94a3b8 !important;
  line-height: 1.6 !important;
}

/* Tier Filter Tabs (5 Command Tiers + All) */
.authority-tier-filter-pills {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin-bottom: 20px !important;
  padding: 6px !important;
  background: rgba(2, 6, 23, 0.75) !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.auth-filter-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  padding: 8px 16px !important;
  border-radius: 12px !important;
  color: #94a3b8 !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.auth-filter-pill:hover {
  color: #f1f5f9 !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.auth-filter-pill .filter-cnt {
  background: rgba(0, 0, 0, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 2px 8px !important;
  border-radius: 9999px !important;
  font-size: 0.74rem !important;
}

/* Active Tier Filter Pill States */
.auth-filter-pill.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(2, 132, 199, 0.45)) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35) !important;
}

.auth-filter-pill.pill-gold-tier.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(180, 83, 9, 0.45)) !important;
  border-color: #f59e0b !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.35) !important;
}

.auth-filter-pill.pill-purple-tier.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(126, 34, 206, 0.45)) !important;
  border-color: #a855f7 !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.35) !important;
}

.auth-filter-pill.pill-cyan-tier.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(2, 132, 199, 0.45)) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35) !important;
}

.auth-filter-pill.pill-emerald-tier.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(5, 150, 105, 0.45)) !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35) !important;
}

.auth-filter-pill.pill-slate-tier.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(67, 56, 202, 0.45)) !important;
  border-color: #818cf8 !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.35) !important;
}

/* Rank Buttons Grid (Replaces the ugly cramped buttons in Image 3) */
.authority-rank-pills {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)) !important;
  gap: 10px !important;
  margin-bottom: 26px !important;
}

.auth-rank-pill {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.8), rgba(9, 14, 26, 0.9)) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 14px !important;
  padding: 10px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  color: #cbd5e1 !important;
  font-family: inherit !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.auth-rank-pill:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.15) !important;
}

.auth-rank-pill .pill-icon {
  font-size: 1.15rem !important;
}

.auth-rank-pill .pill-name {
  flex: 1 !important;
  text-align: right !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.auth-rank-pill .pill-level-badge {
  background: rgba(0, 0, 0, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  font-size: 0.72rem !important;
  color: #94a3b8 !important;
  font-family: monospace !important;
  font-weight: 800 !important;
}

/* Active Pill Glow States */
.auth-rank-pill.active {
  transform: translateY(-2px) scale(1.02) !important;
  color: #ffffff !important;
}

.auth-rank-pill.pill-gold-tier.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(180, 83, 9, 0.5)) !important;
  border-color: #f59e0b !important;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}
.auth-rank-pill.pill-gold-tier.active .pill-level-badge {
  background: #f59e0b !important;
  color: #000 !important;
  border-color: #f59e0b !important;
}

.auth-rank-pill.pill-purple-tier.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(126, 34, 206, 0.5)) !important;
  border-color: #a855f7 !important;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}
.auth-rank-pill.pill-purple-tier.active .pill-level-badge {
  background: #a855f7 !important;
  color: #fff !important;
  border-color: #a855f7 !important;
}

.auth-rank-pill.pill-cyan-tier.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(2, 132, 199, 0.5)) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}
.auth-rank-pill.pill-cyan-tier.active .pill-level-badge {
  background: #38bdf8 !important;
  color: #000 !important;
  border-color: #38bdf8 !important;
}

.auth-rank-pill.pill-emerald-tier.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(5, 150, 105, 0.5)) !important;
  border-color: #10b981 !important;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}
.auth-rank-pill.pill-emerald-tier.active .pill-level-badge {
  background: #10b981 !important;
  color: #000 !important;
  border-color: #10b981 !important;
}

.auth-rank-pill.pill-slate-tier.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(67, 56, 202, 0.5)) !important;
  border-color: #818cf8 !important;
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}
.auth-rank-pill.pill-slate-tier.active .pill-level-badge {
  background: #818cf8 !important;
  color: #fff !important;
  border-color: #818cf8 !important;
}

/* -------------------------------------------------------------
   3. THE SPOTLIGHT DOSSIER CARD (COMPLETE VISUAL UPGRADE)
   ------------------------------------------------------------- */
.authority-dossier-spotlight {
  display: flex !important;
  flex-direction: column !important;
  gap: 22px !important;
}

/* Header Panel */
.dossier-header-panel {
  background: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.12), transparent 50%),
              linear-gradient(145deg, rgba(17, 26, 46, 0.9), rgba(8, 14, 26, 0.95)) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  border-top: 1px solid rgba(56, 189, 248, 0.6) !important;
  border-radius: 20px !important;
  padding: 24px 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  flex-wrap: wrap !important;
}

.dossier-identity {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
}

.dossier-large-badge {
  width: 76px !important;
  height: 76px !important;
  border-radius: 20px !important;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(2, 6, 23, 0.9) 75%) !important;
  border: 2px solid rgba(56, 189, 248, 0.6) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.3), inset 0 0 15px rgba(56, 189, 248, 0.15) !important;
  flex-shrink: 0 !important;
  position: relative !important;
}

.badge-emblem-char {
  font-size: 2.6rem !important;
}

.dossier-rank-top-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 6px !important;
  flex-wrap: wrap !important;
}

.dossier-level-pill {
  background: linear-gradient(135deg, #0284c7, #0369a1) !important;
  color: #fff !important;
  font-weight: 800 !important;
  padding: 3px 10px !important;
  border-radius: 6px !important;
  font-size: 0.78rem !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4) !important;
}

.dossier-tier-tag {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 3px 10px !important;
  border-radius: 6px !important;
  font-size: 0.78rem !important;
  color: #e2e8f0 !important;
  font-weight: 700 !important;
}

.dossier-live-tag {
  color: #10b981 !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
}

.auth-rank-name-main {
  margin: 0 !important;
  font-size: 1.85rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  letter-spacing: -0.5px !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

.auth-rank-scope-p {
  margin: 6px 0 0 !important;
  font-size: 0.9rem !important;
  color: #94a3b8 !important;
  max-width: 650px !important;
  line-height: 1.6 !important;
}

/* Dossier Meta Action Button */
.auth-inspect-dossier-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(2, 132, 199, 0.35)) !important;
  border: 1px solid rgba(56, 189, 248, 0.5) !important;
  border-radius: 12px !important;
  padding: 10px 18px !important;
  color: #38bdf8 !important;
  font-size: 0.86rem !important;
  font-weight: 800 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.auth-inspect-dossier-btn:hover {
  background: linear-gradient(135deg, #0284c7, #0369a1) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4) !important;
}

/* 3-Card Executive Grid (Cards Below Ranks) */
.dossier-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)) !important;
  gap: 18px !important;
}

.dossier-card {
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.8), rgba(8, 14, 28, 0.92)) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(12px) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.dossier-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
}

/* Card Themes */
.dossier-card.card-warnings {
  border-top: 3px solid #f59e0b !important;
}
.dossier-card.card-warnings:hover {
  border-color: rgba(245, 158, 11, 0.4) !important;
  border-top-color: #f59e0b !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.15) !important;
}

.dossier-card.card-dismissal {
  border-top: 3px solid #ef4444 !important;
}
.dossier-card.card-dismissal:hover {
  border-color: rgba(239, 68, 68, 0.4) !important;
  border-top-color: #ef4444 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(239, 68, 68, 0.15) !important;
}

.dossier-card.card-admin {
  border-top: 3px solid #38bdf8 !important;
}
.dossier-card.card-admin:hover {
  border-color: rgba(56, 189, 248, 0.4) !important;
  border-top-color: #38bdf8 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.15) !important;
}

.dossier-card-head {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.card-head-ico-box {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.15rem !important;
}

.warn-ico-box {
  background: rgba(245, 158, 11, 0.18) !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
}

.dismiss-ico-box {
  background: rgba(239, 68, 68, 0.18) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
}

.admin-ico-box {
  background: rgba(56, 189, 248, 0.18) !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
}

.dossier-card-title {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #f1f5f9 !important;
}

/* Authority Items List & Rows */
.authority-items-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.auth-item-row {
  background: rgba(2, 6, 23, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
}

.auth-item-row:hover {
  background: rgba(2, 6, 23, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

.auth-row-warn {
  border-left: 3px solid #f59e0b !important;
}

.auth-row-warn-final {
  border-left: 3px solid #ea580c !important;
  background: rgba(234, 88, 12, 0.08) !important;
}

.auth-row-dismiss {
  border-left: 3px solid #ef4444 !important;
}

.auth-row-admin {
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

.auth-item-badge {
  display: inline-block !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
}

.auth-item-details {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.auth-item-action {
  color: #f8fafc !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
}

.auth-item-target {
  color: #94a3b8 !important;
  font-size: 0.82rem !important;
  line-height: 1.5 !important;
}

.auth-item-target strong {
  color: #cbd5e1 !important;
}

.auth-star-bullet {
  color: #38bdf8 !important;
  font-size: 0.85rem !important;
  margin-top: 1px !important;
}

.auth-admin-text {
  color: #e2e8f0 !important;
  font-size: 0.86rem !important;
  line-height: 1.6 !important;
}

.auth-no-perm {
  background: rgba(2, 6, 23, 0.4) !important;
  border: 1px dashed rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  padding: 14px !important;
  color: #64748b !important;
  font-size: 0.82rem !important;
  line-height: 1.6 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Direct Reporting Oversight Banner */
.card-oversight {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.85), rgba(7, 12, 24, 0.95)) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 14px !important;
  padding: 16px 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

.oversight-icon-shield {
  font-size: 1.8rem !important;
  flex-shrink: 0 !important;
}

.oversight-info-block {
  flex: 1 !important;
}

.oversight-title {
  display: block !important;
  color: #cbd5e1 !important;
  font-size: 0.84rem !important;
  margin-bottom: 2px !important;
}

.auth-desc-p {
  margin: 0 !important;
  color: #94a3b8 !important;
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
}

.supervisor-highlight {
  color: #ffffff !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
  text-decoration-color: #38bdf8 !important;
}

/* -------------------------------------------------------------
   4. POLISH FOR OTHER SECTIONS (CHAIN, SQUADS, PROMOTIONS)
   ------------------------------------------------------------- */
.command-tier-nav-btn {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(9, 14, 26, 0.9)) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.command-tier-nav-btn.active {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.3) !important;
  transform: translateY(-2px) !important;
}

.rank-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.82), rgba(8, 14, 28, 0.92)) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 20px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.rank-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.15) !important;
}


/* ==========================================================================
   GOD TIER MASTERPIECE ARCHITECTURE (الترقية الشاملة للدرجة الفائقة)
   Unified Aesthetics, Zero-Glitch Layouts, AAA Roleplay Tactical HUD
   ========================================================================== */

/* 1. Global Container & Anti-Overflow Hardening */
html, body {
  overflow-x: clip !important;
  max-width: 100vw !important;
}

/* Custom Tactical Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #040711;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0284c7, #38bdf8);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
}

/* 2. Section 01: General Rules & Armory (قواعد القطاع والعتاد) */
.lspd-rules-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 20px !important;
  margin-top: 24px !important;
}
.lspd-rules-grid .lspd-rule-card:nth-child(1),
.lspd-rules-grid .lspd-rule-card:nth-child(2),
.lspd-rules-grid .lspd-rule-card:nth-child(3) {
  grid-column: span 2 !important;
}
.lspd-rules-grid .lspd-rule-card:nth-child(4),
.lspd-rules-grid .lspd-rule-card:nth-child(5) {
  grid-column: span 3 !important;
}
@media (max-width: 1024px) {
  .lspd-rules-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .lspd-rules-grid .lspd-rule-card:nth-child(1),
  .lspd-rules-grid .lspd-rule-card:nth-child(2),
  .lspd-rules-grid .lspd-rule-card:nth-child(3),
  .lspd-rules-grid .lspd-rule-card:nth-child(4),
  .lspd-rules-grid .lspd-rule-card:nth-child(5) {
    grid-column: span 1 !important;
  }
}
@media (max-width: 640px) {
  .lspd-rules-grid {
    grid-template-columns: 1fr !important;
  }
}

.lspd-rule-card {
  background: linear-gradient(145deg, rgba(14, 23, 45, 0.82), rgba(7, 12, 24, 0.92)) !important;
  border: 1px solid rgba(56, 189, 248, 0.16) !important;
  border-radius: 18px !important;
  padding: 24px !important;
  backdrop-filter: blur(14px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}
.lspd-rule-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(56, 189, 248, 0.2) !important;
}

.lspd-rule-head {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin-bottom: 14px !important;
}

.lspd-rule-icon {
  width: 48px !important;
  height: 48px !important;
  background: rgba(2, 6, 23, 0.8) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #38bdf8 !important;
  flex-shrink: 0 !important;
  box-shadow: inset 0 0 10px rgba(56, 189, 248, 0.1) !important;
}

.lspd-card-tag {
  font-family: 'Outfit', monospace !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  color: #38bdf8 !important;
  text-transform: uppercase !important;
  display: block !important;
  margin-bottom: 4px !important;
}

.lspd-rule-card h3 {
  margin: 0 !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.lspd-rule-card p {
  margin: 0 !important;
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
  color: #94a3b8 !important;
}

/* 3. Section 05: Squads Division Master Grid (الفرق الأربع في صف متوازن) */
.squads-container-block {
  width: 100% !important;
  margin-top: 18px !important;
}

.squads-tactical-deck-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
}

@media (max-width: 1320px) {
  .squads-tactical-deck-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }
}

@media (max-width: 700px) {
  .squads-tactical-deck-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

.squad-tactical-card {
  background: linear-gradient(160deg, rgba(13, 22, 44, 0.88), rgba(6, 11, 24, 0.96)) !important;
  border-radius: 20px !important;
  padding: 24px !important;
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: blur(16px) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Squad Themes Individual Styling */
.squad-tactical-card.squad-bravo-theme {
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
}
.squad-tactical-card.squad-bravo-theme:hover {
  border-color: #ef4444 !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), 0 0 30px rgba(239, 68, 68, 0.3) !important;
}

.squad-tactical-card.squad-charlie-theme {
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
}
.squad-tactical-card.squad-charlie-theme:hover {
  border-color: #f59e0b !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), 0 0 30px rgba(245, 158, 11, 0.3) !important;
}

.squad-tactical-card.squad-delta-theme {
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
}
.squad-tactical-card.squad-delta-theme:hover {
  border-color: #38bdf8 !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), 0 0 30px rgba(56, 189, 248, 0.3) !important;
}

.squad-tactical-card.squad-echo-theme {
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
}
.squad-tactical-card.squad-echo-theme:hover {
  border-color: #a855f7 !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), 0 0 30px rgba(168, 85, 247, 0.3) !important;
}

.squad-card-head {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.squad-emblem-box {
  width: 52px !important;
  height: 52px !important;
  background: rgba(2, 6, 23, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.8rem !important;
  flex-shrink: 0 !important;
}

.squad-radio-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(0, 0, 0, 0.5) !important;
  padding: 4px 10px !important;
  border-radius: 9999px !important;
  font-size: 0.78rem !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  margin-bottom: 6px !important;
}

.squad-title-ar {
  margin: 0 !important;
  font-size: 1.22rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.squad-title-en {
  display: block !important;
  font-size: 0.78rem !important;
  color: #94a3b8 !important;
  font-family: 'Outfit', sans-serif !important;
}

.squad-mission-box {
  background: rgba(3, 7, 18, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
}

.squad-mission-box .mission-label {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.82rem !important;
  color: #cbd5e1 !important;
  margin-bottom: 4px !important;
}

.squad-mission-box .mission-text {
  margin: 0 !important;
  font-size: 0.86rem !important;
  line-height: 1.55 !important;
  color: #94a3b8 !important;
}

.squad-specs-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.spec-section .spec-label {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.8rem !important;
  color: #cbd5e1 !important;
  margin-bottom: 6px !important;
}

.spec-chips-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.spec-chip {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  display: inline-block !important;
}

.fleet-chip {
  background: rgba(56, 189, 248, 0.1) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  color: #38bdf8 !important;
}

.armory-chip {
  background: rgba(245, 158, 11, 0.1) !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  color: #fbbf24 !important;
}

.squad-card-foot {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: auto !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.squad-status-indicator {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #10b981 !important;
}

.status-live-dot {
  width: 8px !important;
  height: 8px !important;
  background: #10b981 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 8px #10b981 !important;
}

.squad-dispatch-btn {
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #38bdf8 !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  padding: 7px 14px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.squad-dispatch-btn:hover {
  background: #38bdf8 !important;
  color: #020617 !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4) !important;
}

/* 4. Section 06: Radio Codes (أكواد العمليات) */
.radio-codes-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 18px !important;
  margin-top: 20px !important;
}

.radio-code-card {
  background: linear-gradient(150deg, rgba(14, 23, 44, 0.82), rgba(6, 11, 24, 0.94)) !important;
  border: 1px solid rgba(56, 189, 248, 0.16) !important;
  border-radius: 16px !important;
  padding: 20px !important;
  backdrop-filter: blur(14px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.radio-code-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.18) !important;
}

/* 5. Section 08: Penalties Calculator & Tables (الجزاءات والعقوبات) */
.penalty-headline {
  background: linear-gradient(135deg, rgba(14, 23, 45, 0.85), rgba(7, 12, 24, 0.95)) !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  border-radius: 16px !important;
  padding: 18px 24px !important;
  margin-bottom: 24px !important;
}

.penalty-calculator {
  background: linear-gradient(145deg, rgba(13, 22, 44, 0.85), rgba(6, 11, 24, 0.95)) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  border-radius: 20px !important;
  padding: 24px !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(16px) !important;
  margin-bottom: 24px !important;
}

.penalties-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: rgba(9, 14, 28, 0.8) !important;
}

.penalties-table thead th {
  background: rgba(14, 26, 56, 0.95) !important;
  color: #38bdf8 !important;
  font-weight: 800 !important;
  padding: 16px !important;
  font-size: 0.95rem !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2) !important;
}

.penalties-table tbody td {
  padding: 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  color: #cbd5e1 !important;
}

.penalties-table tbody tr:hover {
  background: rgba(56, 189, 248, 0.06) !important;
}

/* 6. Section 09: Violations Grid (مصفوفة المخالفات والغرامات) */
.violation-category-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 20px !important;
  margin-top: 20px !important;
}

.vcat-card {
  background: linear-gradient(150deg, rgba(14, 23, 44, 0.85), rgba(7, 12, 24, 0.95)) !important;
  border: 1px solid rgba(56, 189, 248, 0.18) !important;
  border-radius: 18px !important;
  padding: 22px !important;
  backdrop-filter: blur(14px) !important;
  cursor: pointer !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}
.vcat-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(56, 189, 248, 0.2) !important;
}

.violation-card {
  background: linear-gradient(150deg, rgba(13, 22, 42, 0.85), rgba(7, 12, 24, 0.94)) !important;
  border: 1px solid rgba(56, 189, 248, 0.16) !important;
  border-radius: 16px !important;
  padding: 20px !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.violation-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.18) !important;
}

/* Ensure Seamless Transitions & Active States */
.filter.active {
  background: linear-gradient(135deg, #0284c7, #0369a1) !important;
  color: #ffffff !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4) !important;
}



/* ==========================================================================
   GOD-TIER V450 OVERHAUL:
   1. GRADE 7 GRAND EXECUTIVE BANNER (IMAGE 2 FIX - PERFECT 3+3+1 SYMMETRY)
   2. DISCORD COMMUNITY SPOTLIGHT & LUXURY FOOTER (IMAGE 1 FIX - SEAMLESS DOCKING)
   3. REFINED AUTHORITY & WARNING POWERS HUD MATRIX
   4. AUDIO SYSTEM PERMANENT SUPPRESSION DOCK HIDE
   ========================================================================== */

/* 1. AUDIO SYSTEM SUPPRESSION (SHIIL AL-SAWT) */
#floatingTacticalDock,
.floating-tactical-dock,
.audio-dock-btn,
#floatingAudioToggle,
.audio-wave-anim {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

/* 2. SECTION 09: GRADE CATEGORIES 3x2 + 1 GRAND EXECUTIVE BANNER */
@media (min-width: 1024px) {
  .violation-category-cards-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 22px !important;
  }
}

.vcat-card.vcat-supreme-banner {
  grid-column: 1 / -1 !important;
  background: radial-gradient(circle at 100% 0%, rgba(225, 29, 72, 0.22) 0%, transparent 60%),
              radial-gradient(circle at 0% 100%, rgba(244, 63, 94, 0.12) 0%, transparent 50%),
              linear-gradient(135deg, rgba(20, 10, 20, 0.95) 0%, rgba(10, 15, 30, 0.98) 100%) !important;
  border: 1px solid rgba(244, 63, 94, 0.45) !important;
  border-radius: 22px !important;
  padding: 30px 36px !important;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(225, 29, 72, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin-top: 6px !important;
}

.vcat-card.vcat-supreme-banner:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(244, 63, 94, 0.75) !important;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.9), 0 0 50px rgba(225, 29, 72, 0.35) !important;
}

.supreme-banner-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 20px !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.supreme-badge-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  background: rgba(225, 29, 72, 0.16) !important;
  border: 1px solid rgba(244, 63, 94, 0.35) !important;
}

.supreme-beacon {
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background: #f43f5e !important;
  box-shadow: 0 0 12px #f43f5e, 0 0 24px #f43f5e !important;
}

.supreme-kicker {
  font-family: 'Outfit', 'Cairo', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  color: #fda4af !important;
  letter-spacing: 0.5px !important;
}

.supreme-count-pill {
  padding: 6px 16px !important;
  border-radius: 999px !important;
  background: rgba(244, 63, 94, 0.25) !important;
  border: 1px solid rgba(244, 63, 94, 0.5) !important;
  color: #ffffff !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
}

.supreme-banner-body {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
  margin-bottom: 24px !important;
}

.supreme-icon-box {
  width: 68px !important;
  height: 68px !important;
  border-radius: 18px !important;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.3) 0%, rgba(15, 23, 42, 0.8) 100%) !important;
  border: 1px solid rgba(244, 63, 94, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 2.2rem !important;
  flex-shrink: 0 !important;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.3) !important;
}

.supreme-title {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 8px 0 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6) !important;
}

.supreme-desc {
  font-size: 0.95rem !important;
  color: #cbd5e1 !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

.supreme-banner-footer {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

.supreme-tags {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.supreme-tag {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
}

.supreme-tag-danger {
  background: rgba(225, 29, 72, 0.2) !important;
  border: 1px solid rgba(244, 63, 94, 0.4) !important;
  color: #fecdd3 !important;
}

.supreme-tag-dark {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(148, 163, 184, 0.25) !important;
  color: #e2e8f0 !important;
}

.supreme-tag-alert {
  background: rgba(245, 158, 11, 0.18) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  color: #fef3c7 !important;
}

.supreme-action-arrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #e11d48, #be123c) !important;
  color: #ffffff !important;
  padding: 10px 22px !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  font-size: 0.88rem !important;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.4) !important;
  transition: all 0.2s ease !important;
}

.vcat-card.vcat-supreme-banner:hover .supreme-action-arrow {
  transform: translateX(-4px) !important;
  box-shadow: 0 8px 25px rgba(225, 29, 72, 0.6) !important;
}

/* 3. SECTION 09 BOTTOM PADDING & SEAMLESS TRANSITION TO FOOTER */
.violations-section {
  padding-bottom: 90px !important;
  position: relative !important;
  z-index: 5 !important;
}

/* 4. DISCORD COMMUNITY SPOTLIGHT CARD (ELEVATED LUXURY DESIGN) */
.footer-discord-spotlight {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;
  padding: 34px 44px !important;
  border-radius: 24px !important;
  background: radial-gradient(circle at 100% 0%, rgba(88, 101, 242, 0.18) 0%, transparent 55%),
              radial-gradient(circle at 0% 100%, rgba(56, 189, 248, 0.12) 0%, transparent 45%),
              linear-gradient(135deg, rgba(13, 19, 36, 0.95) 0%, rgba(7, 10, 20, 0.98) 100%) !important;
  border: 1px solid rgba(88, 101, 242, 0.3) !important;
  border-top: 1px solid rgba(88, 101, 242, 0.6) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(88, 101, 242, 0.12) !important;
  margin-bottom: 45px !important;
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

.footer-discord-spotlight::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #5865F2, #38bdf8, transparent);
}

.discord-spotlight-content {
  flex: 1 1 auto !important;
  max-width: 680px !important;
}

.discord-badge-live {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: 'Outfit', 'Cairo', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: #c7d2fe !important;
  letter-spacing: 1.2px !important;
  margin-bottom: 8px !important;
  background: rgba(88, 101, 242, 0.12) !important;
  border: 1px solid rgba(88, 101, 242, 0.28) !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
}

.discord-beacon {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #5865F2 !important;
  box-shadow: 0 0 10px #5865F2 !important;
  animation: pulse-beacon 1.8s infinite ease-in-out !important;
}

@keyframes pulse-beacon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
}

.discord-spotlight-title {
  font-size: 1.6rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  margin: 0 0 8px 0 !important;
  letter-spacing: -0.3px !important;
}

.discord-spotlight-desc {
  font-size: 0.95rem !important;
  color: #94a3b8 !important;
  margin: 0 !important;
  line-height: 1.65 !important;
}

.discord-action-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

.discord-join-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 15px 30px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.98rem !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 25px rgba(88, 101, 242, 0.45) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.discord-join-btn:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 15px 35px rgba(88, 101, 242, 0.65) !important;
  background: linear-gradient(135deg, #6775f5 0%, #5865F2 100%) !important;
  color: #ffffff !important;
}

.discord-join-btn .arrow-ico {
  transition: transform 0.2s ease !important;
}

.discord-join-btn:hover .arrow-ico {
  transform: translateX(-4px) !important;
}

.discord-aux-status {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.76rem !important;
  color: #64748b !important;
  font-family: 'Outfit', 'Cairo', sans-serif !important;
}

.aux-pulse-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 6px #10b981 !important;
}

@media (max-width: 900px) {
  .footer-discord-spotlight {
    flex-direction: column !important;
    text-align: center !important;
    gap: 24px !important;
    padding: 28px 20px !important;
  }
}

/* 5. GRAND FOOTER GRID & METRICS (BALANCED 3-COLUMN LUXURY MATRIX) */
.grand-society-footer {
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.98) 0%, rgba(3, 5, 12, 1) 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 60px 0 35px 0 !important;
  position: relative !important;
  z-index: 10 !important;
}

.footer-grid-info {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1fr !important;
  gap: 36px !important;
  margin-bottom: 40px !important;
  padding-bottom: 35px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

@media (max-width: 980px) {
  .footer-grid-info {
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
  }
  .footer-brand-column {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 600px) {
  .footer-grid-info {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }
}

.footer-brand-column {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.footer-brand {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.footer-brand-logo-frame {
  width: 54px !important;
  height: 54px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
}

.footer-brand-logo-frame img {
  width: 44px !important;
  height: 44px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.35)) !important;
}

.footer-brand-text strong {
  display: block !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  letter-spacing: -0.2px !important;
  line-height: 1.3 !important;
}

.footer-brand-text small {
  display: block !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #38bdf8 !important;
  letter-spacing: 1px !important;
  margin-top: 2px !important;
}

.footer-rights-statement {
  font-size: 0.9rem !important;
  color: #94a3b8 !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  max-width: 420px !important;
}

.footer-server-status {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  width: fit-content !important;
  font-size: 0.8rem !important;
}

.footer-server-status .status-indicator {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #10b981 !important;
  font-weight: 700 !important;
}

.footer-server-status .status-pulse {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 8px #10b981 !important;
}

.footer-server-status .status-sep {
  color: #475569 !important;
}

.footer-server-status .status-tag {
  color: #94a3b8 !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.75rem !important;
}

/* Nav Columns Styling */
.footer-col-nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.footer-col-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 6px 0 !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.col-title-icon {
  font-size: 1rem !important;
}

.footer-links-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.footer-link-item {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.88rem !important;
  color: #94a3b8 !important;
  text-decoration: none !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.footer-link-item .link-arrow {
  color: #475569 !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
}

.footer-link-item:hover {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.06) !important;
  transform: translateX(-4px) !important;
}

.footer-link-item:hover .link-arrow {
  color: #38bdf8 !important;
  transform: translateX(-2px) !important;
}

/* Footer Bottom Strip (Balanced 3-Section Flex) */
.footer-bottom-strip {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 0.84rem !important;
  color: #64748b !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

.footer-bottom-right p {
  margin: 0 !important;
  color: #64748b !important;
}

.back-to-top-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}

.back-to-top-btn:hover {
  background: rgba(56, 189, 248, 0.1) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  color: #38bdf8 !important;
  transform: translateY(-2px) !important;
}

.footer-creator-credit {
  font-size: 0.74rem !important;
  color: #64748b !important;
}

.creator-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.creator-name {
  color: #94a3b8 !important;
  font-weight: 700 !important;
}

/* 6. REFINED AUTHORITY & WARNING POWERS HUD MATRIX (SECTION 03) */
.auth-quick-summary-bar {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  margin: 20px 0 24px 0 !important;
}

@media (max-width: 900px) {
  .auth-quick-summary-bar {
    grid-template-columns: 1fr !important;
  }
}

.summary-pill-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 16px 20px !important;
  border-radius: 16px !important;
  backdrop-filter: blur(12px) !important;
  transition: all 0.25s ease !important;
}

.warn-scope-pill {
  background: radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.14) 0%, rgba(15, 23, 42, 0.9) 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.08) !important;
}

.final-scope-pill {
  background: radial-gradient(circle at 100% 0%, rgba(239, 68, 68, 0.14) 0%, rgba(15, 23, 42, 0.9) 100%) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.08) !important;
}

.dismiss-scope-pill {
  background: radial-gradient(circle at 100% 0%, rgba(225, 29, 72, 0.14) 0%, rgba(15, 23, 42, 0.9) 100%) !important;
  border: 1px solid rgba(225, 29, 72, 0.35) !important;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.08) !important;
}

.summary-pill-item .pill-kicker {
  font-family: 'Outfit', 'Cairo', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.warn-scope-pill .pill-kicker { color: #fcd34d !important; }
.final-scope-pill .pill-kicker { color: #fca5a5 !important; }
.dismiss-scope-pill .pill-kicker { color: #fda4af !important; }

.summary-pill-item .pill-val {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.4 !important;
}

.dossier-card.card-warnings {
  border-color: rgba(245, 158, 11, 0.35) !important;
  background: linear-gradient(150deg, rgba(20, 24, 40, 0.92) 0%, rgba(10, 15, 28, 0.96) 100%) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(245, 158, 11, 0.25) !important;
}

.dossier-card.card-dismissal {
  border-color: rgba(225, 29, 72, 0.35) !important;
  background: linear-gradient(150deg, rgba(26, 16, 28, 0.92) 0%, rgba(12, 10, 20, 0.96) 100%) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(225, 29, 72, 0.25) !important;
}

.dossier-card.card-admin {
  border-color: rgba(56, 189, 248, 0.35) !important;
  background: linear-gradient(150deg, rgba(14, 25, 45, 0.92) 0%, rgba(8, 14, 28, 0.96) 100%) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(56, 189, 248, 0.25) !important;
}

.auth-legal-escalation-note {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  background: rgba(245, 158, 11, 0.1) !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  color: #fde68a !important;
  font-size: 0.8rem !important;
  margin-top: 14px !important;
}

.auth-dismissal-warning-note {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  background: rgba(225, 29, 72, 0.1) !important;
  border: 1px solid rgba(225, 29, 72, 0.25) !important;
  color: #fecdd3 !important;
  font-size: 0.8rem !important;
  margin-top: 14px !important;
}


/* ========================================================
   SECTION 03: 4-COLUMN MILITARY RANK CARDS (IMAGE 3 MATCH)
   ======================================================== */
.authority-rank-pills {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  margin-bottom: 28px !important;
}

@media (max-width: 1200px) {
  .authority-rank-pills {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 850px) {
  .authority-rank-pills {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 520px) {
  .authority-rank-pills {
    grid-template-columns: 1fr !important;
  }
}

.authority-rank-card {
  background: linear-gradient(135deg, rgba(14, 22, 42, 0.85) 0%, rgba(7, 12, 24, 0.95) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.18) !important;
  border-radius: 16px !important;
  padding: 16px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  overflow: hidden !important;
  text-align: right !important;
}

.authority-rank-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.65), 0 0 20px rgba(56, 189, 248, 0.2) !important;
}

.authority-rank-card .rh-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
}

.authority-rank-card .rh-tier {
  font-size: 0.72rem !important;
  color: #94a3b8 !important;
  font-weight: 700 !important;
  font-family: 'Cairo', sans-serif !important;
  letter-spacing: 0.2px !important;
}

.authority-rank-card .rh-level {
  font-family: 'Outfit', monospace !important;
  font-weight: 900 !important;
  font-size: 0.85rem !important;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.12) !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
}

.authority-rank-card .rh-body {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.authority-rank-card .rh-badge {
  font-size: 1.55rem !important;
  flex-shrink: 0 !important;
}

.authority-rank-card .rank-name-bilingual {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.authority-rank-card .rank-en {
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.02rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.2px !important;
}

.authority-rank-card .rank-ar {
  font-family: 'Cairo', sans-serif !important;
  font-size: 0.82rem !important;
  color: #38bdf8 !important;
  font-weight: 700 !important;
}

/* GOLD SUPREME LEADERSHIP CARDS (High Command) */
.authority-rank-card.card-gold-command {
  background: linear-gradient(135deg, rgba(42, 28, 8, 0.95) 0%, rgba(20, 14, 4, 0.98) 100%) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.45) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.25) !important;
}

.authority-rank-card.card-gold-command .rh-tier {
  color: #fcd34d !important;
}

.authority-rank-card.card-gold-command .rh-level {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%) !important;
  color: #040814 !important;
  font-weight: 900 !important;
  border-color: #fef08a !important;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.4) !important;
}

.authority-rank-card.card-gold-command .rank-ar {
  color: #fcd34d !important;
}

/* ACTIVE SELECTED CARD STATE (IDENTICAL TO IMAGE 3) */
.authority-rank-card.active {
  border: 2px solid #f59e0b !important;
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.55), inset 0 0 18px rgba(245, 158, 11, 0.2) !important;
  transform: translateY(-4px) scale(1.02) !important;
  background: linear-gradient(135deg, rgba(50, 32, 8, 0.97) 0%, rgba(25, 16, 4, 0.99) 100%) !important;
  z-index: 2 !important;
}

.authority-rank-card.active .rh-level {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%) !important;
  color: #000000 !important;
  font-weight: 900 !important;
  border-color: #fef08a !important;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.6) !important;
}

.authority-rank-card.active .rank-ar {
  color: #fbbf24 !important;
}


/* TACTICAL COMMAND NAVBAR PERFECTION FIX - ENLARGED & CRYSTAL CLEAR */
.topbar {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 74px !important;
  min-height: 74px !important;
  max-height: 74px !important;
  margin-top: 0 !important;
  z-index: 10000 !important;
  background: rgba(5, 10, 24, 0.92) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-bottom: 1.5px solid rgba(56, 189, 248, 0.28) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(56, 189, 248, 0.08) !important;
  pointer-events: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.nav-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  height: 100% !important;
  max-height: 74px !important;
  width: 100% !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

/* Brand Enhancement */
.brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  transition: transform 0.2s ease !important;
  flex-shrink: 0 !important;
}

.brand:hover {
  transform: translateY(-1px) !important;
}

.brand-image {
  width: 52px !important;
  height: 52px !important;
  border-radius: 13px !important;
  border: 1.5px solid rgba(56, 189, 248, 0.4) !important;
  background: #0b1324 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55), 0 0 14px rgba(56, 189, 248, 0.2) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.brand-image img,
.brand-static-logo {
  width: 44px !important;
  height: 44px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6)) !important;
}

.brand-label {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  line-height: 1.15 !important;
}

.brand-label b {
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  letter-spacing: 1.2px !important;
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.75), 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.brand-label small {
  font-size: 9.5px !important;
  font-weight: 800 !important;
  color: #38bdf8 !important;
  letter-spacing: 2px !important;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.4) !important;
}

/* Tactical Command Navigation Dock */
.desktop-nav,
.direct-tactical-nav {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  height: 50px !important;
  max-height: 50px !important;
  padding: 4px 8px !important;
  box-sizing: border-box !important;
  background: rgba(7, 13, 27, 0.84) !important;
  border: 1.5px solid rgba(56, 189, 248, 0.3) !important;
  border-radius: 999px !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.08), 0 6px 26px rgba(0, 0, 0, 0.55), 0 0 16px rgba(56, 189, 248, 0.12) !important;
  backdrop-filter: blur(18px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
  direction: rtl !important;
  margin: 0 !important;
}

/* Reset & Direct Link Styling */
.desktop-nav a,
.desktop-nav button,
.nav-direct-link {
  all: unset !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  line-height: 40px !important;
  padding: 0 13px !important;
  border-radius: 999px !important;
  font-family: 'Cairo', 'Tajawal', 'Segoe UI', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  color: #cbd5e1 !important;
  background: transparent !important;
  border: 1.5px solid transparent !important;
  cursor: pointer !important;
  user-select: none !important;
  text-decoration: none !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
}

.desktop-nav a::after,
.desktop-nav a::before,
.desktop-nav a.active::after,
.desktop-nav a.nav-active::after,
.nav-direct-link::after,
.nav-direct-link::before {
  display: none !important;
  content: none !important;
}

/* SVG Icons in Nav - Clear and Crisp */
.nav-direct-svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  stroke: currentColor !important;
  color: #7dd3fc !important;
  margin-left: 3px !important;
  transition: transform 0.2s ease, filter 0.2s ease, color 0.2s ease !important;
}

/* Hover State */
.desktop-nav a:hover,
.nav-direct-link:hover {
  color: #ffffff !important;
  background: rgba(56, 189, 248, 0.16) !important;
  border-color: rgba(56, 189, 248, 0.42) !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 3px 12px rgba(56, 189, 248, 0.18) !important;
}

.desktop-nav a:hover .nav-direct-svg,
.nav-direct-link:hover .nav-direct-svg {
  color: #38bdf8 !important;
  transform: scale(1.12) !important;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.75)) !important;
}

/* Active Selected State - Prominent & Glowing */
.desktop-nav a.active,
.desktop-nav a.nav-active,
.nav-direct-link.active,
.nav-direct-link.nav-active {
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.42) 0%, rgba(2, 132, 199, 0.58) 100%) !important;
  border: 1.5px solid #38bdf8 !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.75) !important;
}

.desktop-nav a.active .nav-direct-svg,
.desktop-nav a.nav-active .nav-direct-svg,
.nav-direct-link.active .nav-direct-svg,
.nav-direct-link.nav-active .nav-direct-svg {
  color: #ffffff !important;
  transform: scale(1.08) !important;
  filter: drop-shadow(0 0 7px #38bdf8) !important;
}

/* Responsive Scaling for All Desktop Resolutions */
@media (max-width: 1380px) {
  .nav-inner {
    padding: 0 16px !important;
    gap: 12px !important;
  }
  .desktop-nav,
  .direct-tactical-nav {
    height: 46px !important;
    max-height: 46px !important;
    padding: 3px 6px !important;
    gap: 3px !important;
  }
  .desktop-nav a,
  .desktop-nav button,
  .nav-direct-link {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    line-height: 38px !important;
    padding: 0 10px !important;
    font-size: 12.5px !important;
    gap: 5px !important;
  }
  .nav-direct-svg {
    width: 15px !important;
    height: 15px !important;
  }
}

@media (max-width: 1200px) {
  .nav-inner {
    padding: 0 12px !important;
    gap: 8px !important;
  }
  .desktop-nav,
  .direct-tactical-nav {
    height: 44px !important;
    max-height: 44px !important;
    padding: 2px 4px !important;
    gap: 2px !important;
  }
  .desktop-nav a,
  .desktop-nav button,
  .nav-direct-link {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    line-height: 36px !important;
    padding: 0 8px !important;
    font-size: 11.5px !important;
    gap: 4px !important;
  }
  .nav-direct-svg {
    width: 14px !important;
    height: 14px !important;
  }
  .brand-label b {
    font-size: 19px !important;
  }
}

@media (max-width: 1080px) {
  .desktop-nav,
  .direct-tactical-nav {
    display: none !important;
  }
  .mobile-menu-button {
    display: flex !important;
  }
}

/* 4-COLUMN MILITARY RANK CARDS PERFECTION */
/* ========================================================
   SECTION 02: 4-COLUMN MILITARY RANK CARDS (IMAGE 3 MATCH)
   ======================================================== */
.authority-rank-pills {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
  margin: 20px 0 28px !important;
  width: 100% !important;
  direction: rtl !important;
  box-sizing: border-box !important;
}

@media (max-width: 1100px) {
  .authority-rank-pills {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

@media (max-width: 580px) {
  .authority-rank-pills {
    grid-template-columns: 1fr !important;
  }
}

.authority-rank-card {
  background: linear-gradient(135deg, rgba(14, 22, 42, 0.88) 0%, rgba(7, 12, 24, 0.96) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 112px !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45) !important;
  overflow: hidden !important;
  text-align: center !important;
}

.authority-rank-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65), 0 0 20px rgba(56, 189, 248, 0.2) !important;
}

.authority-rank-card .rh-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  margin-bottom: 8px !important;
  direction: rtl !important;
}

.authority-rank-card .rh-tier {
  font-size: 0.72rem !important;
  color: #94a3b8 !important;
  font-weight: 700 !important;
  font-family: 'Cairo', sans-serif !important;
  letter-spacing: 0.2px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.authority-rank-card .rh-level {
  font-family: 'Outfit', monospace !important;
  font-weight: 900 !important;
  font-size: 0.95rem !important;
  width: 34px !important;
  height: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  background: rgba(30, 41, 59, 0.85) !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(148, 163, 184, 0.25) !important;
  flex-shrink: 0 !important;
}

.authority-rank-card .rh-body {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  gap: 3px !important;
  margin: auto 0 !important;
}

.authority-rank-card .rank-name-bilingual {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  width: 100% !important;
}

.authority-rank-card .rank-en {
  font-family: 'Outfit', 'Cairo', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
  letter-spacing: 0.3px !important;
  text-align: center !important;
}

.authority-rank-card .rank-ar {
  font-size: 0.85rem !important;
  color: #94a3b8 !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

/* Gold High Command Cards (Image 3) */
.authority-rank-card.card-gold-command {
  background: linear-gradient(135deg, rgba(38, 26, 8, 0.92) 0%, rgba(20, 14, 4, 0.98) 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.5) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 15px rgba(245, 158, 11, 0.15) !important;
}

.authority-rank-card.card-gold-command .rh-tier {
  color: #fcd34d !important;
}

.authority-rank-card.card-gold-command .rh-level {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%) !important;
  color: #040814 !important;
  font-weight: 900 !important;
  border: 1px solid #fef08a !important;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.35) !important;
}

.authority-rank-card.card-gold-command .rank-ar {
  color: #fbbf24 !important;
}

/* Active Selected State */
.authority-rank-card.active {
  border: 2px solid #38bdf8 !important;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.5), inset 0 0 15px rgba(56, 189, 248, 0.2) !important;
  transform: translateY(-4px) scale(1.02) !important;
  background: linear-gradient(135deg, rgba(14, 38, 70, 0.95) 0%, rgba(8, 20, 40, 0.98) 100%) !important;
  z-index: 2 !important;
}

.authority-rank-card.active .rh-level {
  background: #38bdf8 !important;
  color: #040814 !important;
  font-weight: 900 !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6) !important;
}

.authority-rank-card.active .rank-ar {
  color: #38bdf8 !important;
}

.authority-rank-card.card-gold-command.active {
  border: 2px solid #fbbf24 !important;
  box-shadow: 0 0 35px rgba(251, 191, 36, 0.6), inset 0 0 18px rgba(251, 191, 36, 0.25) !important;
  background: linear-gradient(135deg, rgba(50, 32, 8, 0.97) 0%, rgba(25, 16, 4, 0.99) 100%) !important;
}

.authority-rank-card.card-gold-command.active .rh-level {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%) !important;
  color: #000000 !important;
  font-weight: 900 !important;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.7) !important;
}

.authority-rank-card.card-gold-command.active .rank-ar {
  color: #fbbf24 !important;
}



/* ========================================================
   OFFICIAL DISCIPLINARY WARNING ROLES DECK (SERVER ALIGNED)
   ======================================================== */
.official-warnings-deck {
  background: radial-gradient(120% 120% at 50% 0%, rgba(16, 22, 36, 0.85) 0%, rgba(4, 6, 12, 0.96) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top: 1px solid rgba(239, 68, 68, 0.45) !important;
  border-radius: 20px !important;
  padding: 24px !important;
  margin: 28px 0 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(239, 68, 68, 0.06) !important;
  position: relative !important;
  overflow: hidden !important;
}

.official-warnings-deck::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, #ef4444, #f59e0b, #38bdf8, transparent) !important;
}

.warnings-deck-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  margin-bottom: 22px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.warnings-deck-title {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.warnings-deck-badge-icon {
  font-size: 1.8rem !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.15) !important;
}

.warnings-deck-title h4 {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 4px 0 !important;
}

.warnings-deck-title p {
  font-size: 0.82rem !important;
  color: #94a3b8 !important;
  margin: 0 !important;
}

.warnings-status-pill {
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.1) !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  letter-spacing: 0.3px !important;
}

.warnings-roles-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
}

@media (max-width: 1024px) {
  .warnings-roles-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .warnings-roles-grid {
    grid-template-columns: 1fr !important;
  }
}

.warning-role-card {
  background: rgba(11, 17, 33, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 18px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
}

.warning-role-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5) !important;
}

.warning-role-card.role-verbal {
  border-top: 3px solid #10b981 !important;
}
.warning-role-card.role-verbal:hover {
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12) !important;
}

.warning-role-card.role-written-1 {
  border-top: 3px solid #38bdf8 !important;
}
.warning-role-card.role-written-1:hover {
  border-color: rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.12) !important;
}

.warning-role-card.role-written-2 {
  border-top: 3px solid #f59e0b !important;
}
.warning-role-card.role-written-2:hover {
  border-color: rgba(245, 158, 11, 0.4) !important;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.12) !important;
}

.warning-role-card.role-written-3 {
  border-top: 3px solid #ef4444 !important;
}
.warning-role-card.role-written-3:hover {
  border-color: rgba(239, 68, 68, 0.4) !important;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.15) !important;
}

.warning-role-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 8px !important;
}

.warning-discord-role {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
}

.warning-discord-role .role-shield-icon {
  font-size: 0.95rem !important;
}

.warning-discord-role .role-no-icon {
  font-size: 0.95rem !important;
}

.warning-discord-role .role-title {
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: 0.2px !important;
}

.warning-step-badge {
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  color: #94a3b8 !important;
  background: rgba(255, 255, 255, 0.05) !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.warning-step-badge.badge-critical {
  color: #f87171 !important;
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.25) !important;
}

.warning-role-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.warning-meta-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.warning-meta-item .meta-label {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
}

.warning-meta-item .meta-val {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #e2e8f0 !important;
}

.warning-meta-item .meta-val.val-green { color: #34d399 !important; }
.warning-meta-item .meta-val.val-cyan { color: #38bdf8 !important; }
.warning-meta-item .meta-val.val-amber { color: #fbbf24 !important; }
.warning-meta-item .meta-val.val-rose { color: #f87171 !important; }

.warning-meta-item .meta-desc {
  font-size: 0.78rem !important;
  line-height: 1.55 !important;
  color: #94a3b8 !important;
}


/* --- POLISHED FOOTER SERVER STATUS & SYSTEM BADGE --- */
.footer-server-status {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 14px !important;
  padding: 6px 14px !important;
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(56, 189, 248, 0.18) !important;
  border-radius: 999px !important;
  font-size: 0.8rem !important;
  color: #94a3b8 !important;
}

.footer-server-status .status-indicator {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #38bdf8 !important;
  font-weight: 700 !important;
}

.footer-server-status .status-pulse {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 8px #10b981 !important;
}

.footer-server-status .status-sep {
  color: #475569 !important;
}

.footer-server-status .status-tag {
  color: #cbd5e1 !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
}

.footer-sys-badge {
  font-size: 0.8rem !important;
  color: #64748b !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 5px 12px !important;
  border-radius: 8px !important;
}


/* ========================================================
   UPGRADED RADIO CODE CARDS (TACTICAL COMMS TERMINAL UI)
   ======================================================== */
.radio-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)) !important;
  gap: 20px !important;
}

@media (max-width: 768px) {
  .radio-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

.radio-code-card {
  background: radial-gradient(130% 120% at 50% 0%, rgba(18, 26, 46, 0.9) 0%, rgba(6, 10, 20, 0.98) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 18px !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 20px rgba(56, 189, 248, 0.03) !important;
  position: relative !important;
  overflow: hidden !important;
}

.radio-code-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.6), transparent) !important;
  opacity: 0.5 !important;
  transition: opacity 0.3s ease !important;
}

.radio-code-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  border-top-color: #38bdf8 !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 35px rgba(56, 189, 248, 0.16) !important;
}

.radio-code-card:hover::before {
  opacity: 1 !important;
}

/* Critical Priority (Code 3, 10-99) */
.radio-code-card.priority-critical {
  background: radial-gradient(130% 120% at 50% 0%, rgba(38, 14, 20, 0.9) 0%, rgba(10, 6, 12, 0.98) 100%) !important;
  border-color: rgba(239, 68, 68, 0.35) !important;
  border-top-color: rgba(239, 68, 68, 0.6) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(239, 68, 68, 0.08) !important;
}
.radio-code-card.priority-critical::before {
  background: linear-gradient(90deg, transparent, #ef4444, transparent) !important;
}
.radio-code-card.priority-critical:hover {
  border-color: #ef4444 !important;
  border-top-color: #f87171 !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 40px rgba(239, 68, 68, 0.28) !important;
}

/* Medium Priority (Code 2) */
.radio-code-card.theme-medium {
  border-top-color: rgba(245, 158, 11, 0.4) !important;
}
.radio-code-card.theme-medium:hover {
  border-color: rgba(245, 158, 11, 0.6) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 30px rgba(245, 158, 11, 0.18) !important;
}

/* High / Covert Priority (Code 5) */
.radio-code-card.theme-high {
  border-top-color: rgba(168, 85, 247, 0.4) !important;
}
.radio-code-card.theme-high:hover {
  border-color: rgba(168, 85, 247, 0.6) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 30px rgba(168, 85, 247, 0.18) !important;
}

/* Card Top Bar */
.radio-card-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.radio-badge-group {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.radio-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(2, 132, 199, 0.08)) !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  border-radius: 10px !important;
  padding: 6px 14px !important;
  font-family: 'Outfit', monospace !important;
  font-weight: 900 !important;
  font-size: 1.18rem !important;
  color: #38bdf8 !important;
  letter-spacing: 0.8px !important;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.12) !important;
}

.priority-critical .radio-badge {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(185, 28, 28, 0.12)) !important;
  border-color: rgba(239, 68, 68, 0.55) !important;
  color: #fca5a5 !important;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.22) !important;
}

.theme-medium .radio-badge {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(180, 83, 9, 0.08)) !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  color: #fbbf24 !important;
}

.theme-high .radio-badge {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(126, 34, 206, 0.08)) !important;
  border-color: rgba(168, 85, 247, 0.5) !important;
  color: #c084fc !important;
}

.radio-badge-pulse {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: currentColor !important;
  box-shadow: 0 0 8px currentColor !important;
}

.radio-star-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  width: 34px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  color: #94a3b8 !important;
}

.radio-star-btn:hover {
  background: rgba(251, 191, 36, 0.15) !important;
  border-color: #fbbf24 !important;
  color: #fbbf24 !important;
  transform: scale(1.08) !important;
}

.radio-star-btn.is-starred {
  background: rgba(251, 191, 36, 0.2) !important;
  border-color: #fbbf24 !important;
  color: #fbbf24 !important;
}

/* Priority Tag */
.radio-priority-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
  padding: 5px 11px !important;
  letter-spacing: 0.3px !important;
}

.radio-priority-tag .tag-status-dot {
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: currentColor !important;
}

.priority-tag-critical { background: rgba(239, 68, 68, 0.18) !important; color: #fca5a5 !important; border: 1px solid rgba(239, 68, 68, 0.45) !important; }
.priority-tag-danger { background: rgba(249, 115, 22, 0.16) !important; color: #fdba74 !important; border: 1px solid rgba(249, 115, 22, 0.4) !important; }
.priority-tag-warning { background: rgba(245, 158, 11, 0.15) !important; color: #fcd34d !important; border: 1px solid rgba(245, 158, 11, 0.38) !important; }
.priority-tag-success { background: rgba(16, 185, 129, 0.15) !important; color: #6ee7b7 !important; border: 1px solid rgba(16, 185, 129, 0.38) !important; }
.priority-tag-info { background: rgba(56, 189, 248, 0.14) !important; color: #7dd3fc !important; border: 1px solid rgba(56, 189, 248, 0.35) !important; }
.priority-tag-status { background: rgba(148, 163, 184, 0.12) !important; color: #cbd5e1 !important; border: 1px solid rgba(148, 163, 184, 0.28) !important; }

/* Headline Tactical Title */
.radio-card-headline {
  margin: 2px 0 0 0 !important;
}

.radio-code-name {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  letter-spacing: -0.2px !important;
}

/* Pronounce Row */
.radio-pronounce-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  background: rgba(8, 14, 28, 0.85) !important;
  border-radius: 10px !important;
  padding: 8px 14px !important;
  border: 1px solid rgba(56, 189, 248, 0.18) !important;
  flex-wrap: wrap !important;
}

.pronounce-lead {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.radio-mic-icon {
  font-size: 0.95rem !important;
}

.pronounce-label {
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
}

.pronounce-value {
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: #38bdf8 !important;
  font-family: 'Outfit', sans-serif !important;
}

/* Meaning Box */
.radio-meaning-box {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.radio-meaning-head {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.meaning-indicator-dot {
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: #38bdf8 !important;
}

.radio-meaning-label {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
}

.radio-meaning-text {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #e2e8f0 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* Example / Dispatch Terminal Box */
.radio-example-box {
  background: rgba(6, 10, 20, 0.95) !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.radio-example-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.example-head-title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.75rem !important;
  color: #94a3b8 !important;
  font-weight: 700 !important;
}

.radio-signal-ico {
  font-size: 0.85rem !important;
}

.radio-copy-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: rgba(56, 189, 248, 0.12) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: 6px !important;
  padding: 4px 10px !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.radio-copy-btn:hover {
  background: #38bdf8 !important;
  color: #060a14 !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4) !important;
  transform: translateY(-1px) !important;
}

.radio-example-code-wrap {
  padding: 4px 0 0 0 !important;
}

.radio-example-code {
  display: block !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #bae6fd !important;
  background: transparent !important;
  padding: 0 !important;
  line-height: 1.6 !important;
  font-family: inherit !important;
}

.example-empty {
  padding: 4px 0 !important;
}

.example-empty-text {
  font-size: 0.76rem !important;
  color: #64748b !important;
  font-style: italic !important;
}


/* --- CREATOR SIGNATURE CREDIT (AfterYou - FRAMELESS & COMPACT) --- */
.footer-creator-credit {
  display: inline-flex !important;
  align-items: center !important;
}

.creator-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-family: 'Outfit', -apple-system, sans-serif !important;
  font-size: 0.72rem !important; /* Made smaller as requested */
  color: #64748b !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  letter-spacing: 0.2px !important;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  transition: color 0.2s ease !important;
  user-select: none !important;
}

.creator-badge:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
  color: #94a3b8 !important;
}

.creator-heart {
  display: inline-block !important;
  font-size: 0.75rem !important;
  line-height: 1 !important;
  filter: grayscale(100%) opacity(0.65) !important;
  color: #94a3b8 !important;
  animation: none !important;
}

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.creator-name {
  color: #38bdf8 !important;
  font-weight: 700 !important;
  font-size: 0.72rem !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  letter-spacing: 0.3px !important;
}

/* --- V7 PROMOTIONS NOTICES ENHANCED 6-PILLAR GRID --- */
.promotions-notices {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-top: 24px !important;
}

@media (max-width: 1100px) {
  .promotions-notices {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.promotions-notice {
  position: relative !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px !important;
  padding: 22px 20px !important;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(10, 17, 30, 0.85) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.16) !important;
  border-radius: 14px !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.45) !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow: hidden !important;
}

.promotions-notice::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), transparent) !important;
  opacity: 0.4 !important;
  transition: opacity 0.28s ease !important;
}

.promotions-notice:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 14px 32px -6px rgba(14, 165, 233, 0.2) !important;
}

.promotions-notice:hover::before {
  opacity: 1 !important;
}

.promo-notice-symbol {
  width: 48px !important;
  height: 48px !important;
  flex: 0 0 48px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: 12px !important;
  background: rgba(14, 165, 233, 0.12) !important;
  color: #38bdf8 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.15) !important;
  transition: all 0.28s ease !important;
}

.promotions-notice:hover .promo-notice-symbol {
  transform: scale(1.08) !important;
  border-color: rgba(56, 189, 248, 0.7) !important;
  background: rgba(14, 165, 233, 0.22) !important;
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.35) !important;
}

.promo-notice-kicker {
  display: inline-block !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  color: #38bdf8 !important;
  text-transform: uppercase !important;
  margin-bottom: 4px !important;
}

.promotions-notice h3 {
  font-size: 14.5px !important;
  font-weight: 900 !important;
  color: #f8fafc !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.4 !important;
}

.promotions-notice p {
  color: #94a3b8 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.8 !important;
  margin: 0 !important;
}

.promotions-notice.notice-reset {
  border-color: rgba(245, 158, 11, 0.25) !important;
}

.promotions-notice.notice-reset::before {
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.6), transparent) !important;
}

.promotions-notice.notice-reset .promo-notice-symbol {
  border-color: rgba(245, 158, 11, 0.45) !important;
  background: rgba(245, 158, 11, 0.12) !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.2) !important;
}

.promotions-notice.notice-reset:hover {
  border-color: rgba(245, 158, 11, 0.55) !important;
  box-shadow: 0 14px 32px -6px rgba(245, 158, 11, 0.22) !important;
}

.promotions-notice.notice-reset .promo-notice-kicker {
  color: #fbbf24 !important;
}

@media (max-width: 1024px) {
  .promotions-notices {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .promotions-notices {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}


/* --- CLEAN SQUAD CARD ENHANCEMENTS (NO TOP BADGES, NO TASK LISTS) --- */
.squad-card-top {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin-bottom: 14px !important;
}

.squad-card-foot {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin-top: auto !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.squad-tasks-matrix,
.squad-tasks-list,
.squad-block-title,
.squad-status-badge,
.squad-cert-stamp {
  display: none !important;
}


.squad-card-top,
.squad-callsign-cluster {
  display: none !important;
}


/* --- REFINED OPERATIONS & COMMUNICATIONS HUB (MODERATE & SLEEK) --- */
.footer-discord-spotlight {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  padding: 24px 32px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(10, 16, 30, 0.92) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.5) !important;
  margin-bottom: 35px !important;
  position: relative !important;
  overflow: hidden !important;
}

.footer-discord-spotlight::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), transparent) !important;
}

.discord-spotlight-title {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #f8fafc !important;
  margin: 0 0 6px 0 !important;
}

.discord-spotlight-desc {
  font-size: 0.88rem !important;
  color: #94a3b8 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.discord-join-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 11px 22px !important;
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%) !important;
  border: 1px solid rgba(129, 140, 248, 0.35) !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.discord-join-btn:hover {
  transform: translateY(-2px) !important;
  background: linear-gradient(135deg, #4338ca 0%, #2563eb 100%) !important;
  border-color: rgba(129, 140, 248, 0.6) !important;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45) !important;
}

.footer-rights-statement {
  font-size: 0.88rem !important;
  color: #94a3b8 !important;
  line-height: 1.7 !important;
  margin: 0 0 14px 0 !important;
}

.footer-bottom-strip {
  padding-top: 20px !important;
  font-size: 0.8rem !important;
  color: #64748b !important;
}


/* --- ULTRA LUXURY FOOTER REFINEMENTS (TASK 4 & 5) --- */
.grand-society-footer {
  background: linear-gradient(180deg, #040814 0%, #02040a 100%) !important;
  border-top: 1px solid rgba(56, 189, 248, 0.2) !important;
  box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.6) !important;
  padding: 50px 0 25px 0 !important;
}

.footer-discord-spotlight {
  background: linear-gradient(135deg, rgba(14, 22, 41, 0.85) 0%, rgba(7, 12, 24, 0.95) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 18px !important;
  padding: 24px 30px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  margin-bottom: 35px !important;
}

.footer-link-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 0.87rem !important;
  color: #94a3b8 !important;
  text-decoration: none !important;
  padding: 7px 12px !important;
  border-radius: 8px !important;
  transition: all 0.22s ease !important;
  background: transparent !important;
  border-right: 2px solid transparent !important;
}

.footer-link-item .link-item-icon {
  font-size: 0.95rem !important;
  opacity: 0.75 !important;
  transition: transform 0.2s ease, opacity 0.2s ease !important;
}

.footer-link-item:hover {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.04) !important;
  border-right-color: #38bdf8 !important;
  transform: translateX(-4px) !important;
}

.footer-link-item:hover .link-item-icon {
  opacity: 1 !important;
  transform: scale(1.15) !important;
}

.creator-badge {
  font-size: 0.65rem !important;
  opacity: 0.8 !important;
  transition: opacity 0.2s ease !important;
}
.creator-badge:hover {
  opacity: 1 !important;
}


/* --- MOBILE THERMAL & HARDWARE ACCELERATION OPTIMIZATION --- */
@media (max-width: 850px) {
  .hero-banner {
    filter: saturate(1.1) brightness(0.95) !important;
  }
  .card, .dash-panel, .stat-card, .rule-card {
    will-change: auto !important;
  }
}


/* ========================================================
   ARCHITECTURAL RESILIENCE & ZERO-LAG ENGINE
   content-visibility: auto skips layout/paint of offscreen sections
   Cuts memory by ~70% and prevents any scroll freezing or stutter
   ======================================================== */
.section,
.overview,
.promotions-section,
.authority-dossier-spotlight,
.tactical-penalties-wrapper,
.violations-section,
.police-squads-section,
.radio-codes-section,
.station-rules-section {
  content-visibility: auto !important;
  contain-intrinsic-size: 1px 800px !important;
}

/* Smooth Hardware Acceleration Defaults */
img, svg, canvas {
  image-rendering: -webkit-optimize-contrast;
}


/* ========================================================
   TACTICAL MILITARY VECTOR ICONS SYSTEM (ZERO CARTOON EMOJIS)
   Pure military SVGs seamlessly integrated with site UI
   ======================================================== */
.tac-ico {
  display: inline-block !important;
  vertical-align: middle !important;
  width: 1.15em !important;
  height: 1.15em !important;
  line-height: 1 !important;
  position: relative !important;
  top: -0.06em !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease, filter 0.2s ease !important;
}

.tac-ico-gold {
  color: #f59e0b !important;
  fill: currentColor !important;
  filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.4)) !important;
}

.tac-ico-cyan {
  color: #38bdf8 !important;
  fill: currentColor !important;
  filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.4)) !important;
}

.tac-ico-emerald {
  color: #10b981 !important;
  fill: currentColor !important;
  filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.4)) !important;
}

.tac-ico-crimson {
  color: #ef4444 !important;
  fill: currentColor !important;
  filter: drop-shadow(0 0 5px rgba(239, 68, 68, 0.4)) !important;
}

.tac-ico-amber {
  color: #f59e0b !important;
  fill: currentColor !important;
  filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.4)) !important;
}

.squad-emblem-box .tac-ico {
  width: 32px !important;
  height: 32px !important;
}

.filter-ico .tac-ico {
  width: 16px !important;
  height: 16px !important;
}

.pyramid-rank-badge .tac-ico,
.dossier-holo-badge .tac-ico {
  width: 24px !important;
  height: 24px !important;
}


/* ========================================================
   HERO BLUE DISCORD ACTION BUTTON
   ======================================================== */
.hero-actions-row {
  margin-top: 24px !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.hero-discord-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 13px 26px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%) !important;
  color: #ffffff !important;
  font-family: 'Cairo', 'Tajawal', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.02rem !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45), 0 0 15px rgba(56, 189, 248, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  position: relative !important;
  overflow: hidden !important;
}

.hero-discord-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.hero-discord-btn:hover::before {
  left: 140%;
}

.hero-discord-btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%) !important;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.65), 0 0 25px rgba(56, 189, 248, 0.45) !important;
  color: #ffffff !important;
}

.hero-discord-btn:active {
  transform: translateY(0) scale(0.99) !important;
}

.hero-discord-btn .discord-svg-icon {
  flex-shrink: 0 !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
  transition: transform 0.25s ease !important;
}

.hero-discord-btn:hover .discord-svg-icon {
  transform: rotate(-8deg) scale(1.1) !important;
}

.hero-discord-btn .discord-arrow {
  flex-shrink: 0 !important;
  transition: transform 0.25s ease !important;
}

.hero-discord-btn:hover .discord-arrow {
  transform: translateX(-4px) !important;
}

@media (max-width: 850px) {
  .hero-actions-row {
    justify-content: center !important;
    margin-top: 20px !important;
  }
  
  .hero-discord-btn {
    width: 100% !important;
    max-width: 280px !important;
    justify-content: center !important;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
  }
}


/* =========================================================================
   ELITE MOBILE APP-GRADE TACTICAL DESIGN SYSTEM (V620)
   Custom-engineered for ultra-smooth smartphone touch UX
   ========================================================================= */

/* Prevent any accidental horizontal scroll/jitter on touch devices */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* -------------------------------------------------------------------------
   1. MOBILE BOTTOM APP DOCK (شريط التنقل السفلي التكتيكي)
   ------------------------------------------------------------------------- */
.mobile-bottom-dock {
  display: none;
}

@media (max-width: 850px) {
  /* Give body enough clearance so bottom dock never overlaps footer content */
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mobile-bottom-dock {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99990 !important;
    background: rgba(4, 9, 22, 0.92) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border-top: 1px solid rgba(56, 189, 248, 0.28) !important;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.65), 0 -1px 0 rgba(255, 255, 255, 0.08) inset !important;
    padding: 6px 10px calc(8px + env(safe-area-inset-bottom, 0px)) 10px !important;
    justify-content: space-around !important;
    align-items: center !important;
    touch-action: manipulation !important;
  }

  .dock-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    padding: 6px 10px !important;
    border-radius: 12px !important;
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    min-width: 58px !important;
    position: relative !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .dock-item .dock-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease !important;
  }

  .dock-item .dock-icon svg {
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
  }

  .dock-item:active {
    transform: scale(0.92) !important;
  }

  .dock-item.active,
  .dock-item.is-current {
    color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.12) !important;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2) inset !important;
  }

  .dock-item.active .dock-icon,
  .dock-item.is-current .dock-icon {
    transform: translateY(-2px) !important;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.6)) !important;
  }

  .dock-item.active::after,
  .dock-item.is-current::after {
    content: '' !important;
    position: absolute !important;
    top: 2px !important;
    width: 14px !important;
    height: 3px !important;
    background: #38bdf8 !important;
    border-radius: 99px !important;
    box-shadow: 0 0 8px #38bdf8 !important;
  }

  .dock-item.dock-menu-trigger {
    color: #f59e0b !important;
  }
  .dock-item.dock-menu-trigger:active {
    background: rgba(245, 158, 11, 0.15) !important;
  }
}

/* -------------------------------------------------------------------------
   2. SLIDE-OVER TACTICAL COMMAND DRAWER (درج العمليات التكتيكي للجوال)
   ------------------------------------------------------------------------- */
.mobile-drawer-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: flex !important;
  justify-content: flex-end !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mobile-drawer-overlay.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.mobile-drawer-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(2, 6, 23, 0.78) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.mobile-drawer-panel {
  position: relative !important;
  width: 100% !important;
  max-width: 330px !important;
  height: 100% !important;
  background: linear-gradient(180deg, rgba(8, 16, 36, 0.98) 0%, rgba(4, 9, 22, 0.99) 100%) !important;
  border-left: 1px solid rgba(56, 189, 248, 0.35) !important;
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.85), -2px 0 0 rgba(255, 255, 255, 0.06) inset !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translateX(100%) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 2 !important;
  padding-top: env(safe-area-inset-top, 12px) !important;
  padding-bottom: env(safe-area-inset-bottom, 12px) !important;
}

[dir="rtl"] .mobile-drawer-panel {
  border-left: none !important;
  border-right: 1px solid rgba(56, 189, 248, 0.35) !important;
  box-shadow: 15px 0 45px rgba(0, 0, 0, 0.85) !important;
  transform: translateX(-100%) !important;
}

.mobile-drawer-overlay.is-open .mobile-drawer-panel {
  transform: translateX(0) !important;
}

.mobile-drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 18px 20px 14px 20px !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.18) !important;
}

.drawer-brand {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.drawer-logo {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.4)) !important;
}

.drawer-brand-text {
  display: flex !important;
  flex-direction: column !important;
}

.drawer-brand-text strong {
  font-family: 'Outfit', 'Cairo', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: 0.5px !important;
}

.drawer-brand-text span {
  font-size: 0.68rem !important;
  color: #38bdf8 !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
}

.drawer-close-btn {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  color: #cbd5e1 !important;
  font-size: 1.1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.drawer-close-btn:active {
  background: rgba(239, 68, 68, 0.2) !important;
  color: #ef4444 !important;
  transform: scale(0.92) !important;
}

.drawer-status-strip {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 20px !important;
  background: rgba(56, 189, 248, 0.08) !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12) !important;
  font-size: 0.72rem !important;
  color: #7dd3fc !important;
  font-weight: 600 !important;
}

.drawer-status-pulse {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 8px #10b981 !important;
  animation: statusPulseAnim 2s infinite ease-in-out !important;
}

.mobile-drawer-content {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 14px 16px 20px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.drawer-nav-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.drawer-group-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 0 4px 4px 4px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.drawer-links-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.drawer-link-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  background: rgba(15, 23, 42, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  text-decoration: none !important;
  color: #e2e8f0 !important;
  transition: all 0.2s ease !important;
}

.drawer-link-item:hover,
.drawer-link-item:active {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  transform: translateX(-3px) !important;
}

.drawer-link-icon {
  width: 22px !important;
  height: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.drawer-link-text {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.25 !important;
}

.drawer-link-text strong {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
}

.drawer-link-text small {
  font-size: 0.68rem !important;
  color: #94a3b8 !important;
}

.drawer-actions-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.drawer-action-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 12px 18px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  cursor: pointer !important;
  text-decoration: none !important;
  border: none !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
}

.drawer-action-btn.primary {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25) 0%, rgba(2, 132, 199, 0.4) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  color: #38bdf8 !important;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.2) !important;
}

.drawer-action-btn.discord {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4) !important;
}

.drawer-action-btn:active {
  transform: scale(0.97) !important;
}

.mobile-drawer-footer {
  padding: 12px 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  text-align: center !important;
}

.drawer-credit {
  font-size: 0.65rem !important;
  color: #64748b !important;
  letter-spacing: 0.5px !important;
}


/* -------------------------------------------------------------------------
   3. BOTTOM SHEET MODAL ADAPTATION FOR SMARTPHONES (سجلات منبثقة من الأسفل)
   ------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .military-dossier-modal-overlay {
    align-items: flex-end !important;
    padding: 0 !important;
  }

  .military-dossier-window {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 88vh !important;
    border-radius: 26px 26px 0 0 !important;
    border-bottom: none !important;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.85), 0 0 35px rgba(56, 189, 248, 0.2) !important;
    transform: translateY(100%) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .military-dossier-modal-overlay.is-open .military-dossier-window {
    transform: translateY(0) !important;
  }

  /* Sheet Drag Handle Indicator */
  .military-dossier-window::before {
    content: '' !important;
    display: block !important;
    width: 44px !important;
    height: 4px !important;
    background: rgba(148, 163, 184, 0.45) !important;
    border-radius: 99px !important;
    margin: 10px auto 4px auto !important;
  }

  .dossier-kpi-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .dossier-specs-two-col {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .modal-dossier-foot {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .dossier-action-btn {
    width: 100% !important;
    justify-content: center !important;
  }
}


/* -------------------------------------------------------------------------
   4. HORIZONTAL SWIPEABLE TOUCH CHIPS & CAROUSELS (أشرطة تمرير أفقية انسيابية)
   ------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Scrollable tabs without awkward vertical breaking */
  .squads-filter-group,
  .authority-rank-pills,
  .penalty-grade-selector,
  .promotion-rank-tabs,
  .filter-pills-row,
  .radio-priority-filters {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 6px 8px 10px 8px !important;
    gap: 8px !important;
    scroll-snap-type: x proximity !important;
  }

  .squads-filter-group::-webkit-scrollbar,
  .authority-rank-pills::-webkit-scrollbar,
  .penalty-grade-selector::-webkit-scrollbar,
  .promotion-rank-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .squad-filter-pill,
  .auth-rank-pill,
  .promo-tab-btn,
  .grade-select-pill {
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
    white-space: nowrap !important;
  }
}


/* -------------------------------------------------------------------------
   5. SMARTPHONE RESPONSIVE REFINEMENTS (HERO, CARDS & TOUCH TARGETS)
   ------------------------------------------------------------------------- */
@media (max-width: 600px) {
  .hero {
    padding: 24px 14px !important;
    min-height: auto !important;
  }

  .hero-banner {
    min-height: 260px !important;
    border-radius: 20px !important;
  }

  #hero-title {
    font-size: clamp(1.85rem, 8vw, 2.5rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
  }

  .hero p {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
  }

  .hero-discord-btn {
    width: 100% !important;
    padding: 14px 20px !important;
    justify-content: center !important;
    font-size: 0.96rem !important;
  }

  /* Rank cards on phones */
  .ranks-grid-4col {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .rank-tactical-card {
    padding: 16px 14px !important;
    border-radius: 18px !important;
  }

  /* Radio codes grid */
  .radio-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .radio-code-card {
    padding: 14px !important;
  }

  /* Touch minimum sizing */
  button, .btn, a.btn, .drawer-link-item, .dock-item {
    min-height: 44px !important;
  }
}


/* ========================================================
   TACTICAL TELEMETRY HUD STRIP (شريط مؤشرات المنظومة)
   ======================================================== */
.tactical-hud-strip {
  margin: 18px auto 30px auto !important;
  position: relative !important;
  z-index: 5 !important;
}

.hud-strip-inner {
  background: linear-gradient(135deg, rgba(8, 16, 36, 0.88) 0%, rgba(4, 9, 22, 0.95) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  border-radius: 18px !important;
  padding: 12px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 25px rgba(56, 189, 248, 0.12) inset !important;
}

.hud-telemetry-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 14px !important;
  background: rgba(56, 189, 248, 0.08) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  border-radius: 10px !important;
  flex-shrink: 0 !important;
}

.hud-beacon-live {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 8px #10b981 !important;
  animation: statusPulseAnim 2s infinite ease-in-out !important;
}

.hud-beacon-txt {
  font-family: 'Outfit', 'Cairo', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #38bdf8 !important;
  letter-spacing: 0.5px !important;
}

.hud-metrics-carousel {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  flex: 1 1 auto !important;
}

.hud-metric-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 6px 14px !important;
  background: rgba(15, 23, 42, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
  transition: all 0.2s ease !important;
}

.hud-metric-pill:hover {
  border-color: rgba(56, 189, 248, 0.4) !important;
  background: rgba(56, 189, 248, 0.1) !important;
  transform: translateY(-2px) !important;
}

.hud-pill-data {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.2 !important;
}

.hud-pill-data strong {
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.hud-pill-data small {
  font-size: 0.65rem !important;
  color: #94a3b8 !important;
}

@media (max-width: 850px) {
  .tactical-hud-strip {
    margin: 12px 14px 20px 14px !important;
  }

  .hud-strip-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 10px 12px !important;
    border-radius: 16px !important;
    gap: 10px !important;
  }

  .hud-telemetry-badge {
    justify-content: center !important;
    padding: 5px 10px !important;
  }

  .hud-metrics-carousel {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding-bottom: 2px !important;
    justify-content: flex-start !important;
    gap: 8px !important;
  }

  .hud-metrics-carousel::-webkit-scrollbar {
    display: none !important;
  }

  .hud-metric-pill {
    flex-shrink: 0 !important;
    padding: 6px 12px !important;
  }
}
