/* ODV Tactical Landing Page - Ultra Simple 100vh Layout & D3 ORBAT Org Chart */

:root {
  --bg-black: #000000;
  --text-white: #ffffff;
  --text-muted: #888888;
  --text-dim: #555555;
  --accent-amber: #ffb700;
  --accent-cyan: #00f0ff;
  --accent-green: #00ff88;
  --accent-purple: #a855f7;
  --border-subtle: rgba(255, 255, 255, 0.1);
  
  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden; /* Strictly no scrollbar */
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

/* Ambient Background Glow with Pulsing Spotlight */
.bg-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.015) 45%, transparent 75%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
  animation: ambientSpotlight 8s ease-in-out infinite alternate;
}

@keyframes ambientSpotlight {
  0% { opacity: 0.7; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1.03); }
}

/* Fullscreen Grid Layout */
.screen-container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 48px;
  position: relative;
  z-index: 2;
}

/* Top Header with Entrance Animation */
.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: fadeInUpBlur 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand:hover .brand-logo-img {
  transform: rotate(-10deg) scale(1.1);
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.08em;
  color: #fff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-orbat-link {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  padding: 8px 16px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-orbat-link i {
  transition: transform 0.3s ease;
}

.btn-orbat-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 183, 0, 0.5);
  color: var(--accent-amber);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 183, 0, 0.15);
}

.btn-orbat-link:hover i {
  transform: rotate(15deg) scale(1.15);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-amber);
  background: rgba(255, 183, 0, 0.08);
  border: 1px solid rgba(255, 183, 0, 0.25);
  padding: 6px 14px;
  border-radius: 4px;
  letter-spacing: 0.1em;
}

.status-dot {
  position: relative;
  width: 6px;
  height: 6px;
  background-color: var(--accent-amber);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-amber);
}

.status-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 1px solid var(--accent-amber);
  border-radius: 50%;
  animation: statusPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes statusPing {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Main Center Content */
.main-content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
}

.content-box {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Official ODV Patch Emblem with Floating Levitation & Radial Glow */
.emblem-container {
  position: relative;
  width: 110px;
  height: 110px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUpBlur 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.emblem-glow {
  position: absolute;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.5; }
  100% { transform: scale(1.25); opacity: 0.9; }
}

.hero-patch-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.8));
  animation: emblemFloat 6s ease-in-out infinite alternate;
}

@keyframes emblemFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
  100% { transform: translateY(-3px) rotate(-1deg); }
}

.system-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.2em;
  margin-bottom: 10px;
  animation: fadeInUpBlur 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.main-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #fff;
  animation: fadeInUpBlur 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.title-highlight {
  color: #ffffff;
  text-shadow: 0 0 35px rgba(255, 255, 255, 0.25);
  animation: titleGlow 5s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.15); }
  100% { text-shadow: 0 0 45px rgba(255, 255, 255, 0.45); }
}

.main-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
  animation: fadeInUpBlur 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.action-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  animation: fadeInUpBlur 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #ffffff;
  color: #000000;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

/* Dynamic Shimmer Light Sweep on Download Button */
.btn-download::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 70%
  );
  transform: rotate(30deg);
  animation: shineSweep 4s ease-in-out infinite;
}

@keyframes shineSweep {
  0% { transform: translateX(-100%) rotate(30deg); }
  25%, 100% { transform: translateX(100%) rotate(30deg); }
}

.btn-download:hover {
  background: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 40px rgba(255, 255, 255, 0.4);
}

.btn-secondary-orbat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secondary-orbat:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 183, 0, 0.5);
  color: var(--accent-amber);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 30px rgba(255, 183, 0, 0.15);
}

.build-info {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 6px 16px;
  border-radius: 100px;
  animation: fadeInUpBlur 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

.build-info strong {
  color: var(--text-muted);
}

.sep {
  opacity: 0.3;
}

.text-amber {
  color: var(--accent-amber);
}

/* Bottom Footer with Entrance Animation */
.bottom-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  animation: fadeInUpBlur 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-right {
  display: flex;
  gap: 20px;
}

.footer-right a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-right a:hover {
  color: #fff;
}

/* Interactive D3.js ORBAT Modal Overlay */
.orbat-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.orbat-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.orbat-modal-container {
  width: 95vw;
  height: 90vh;
  background: #080a10;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 183, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.orbat-modal-overlay.active .orbat-modal-container {
  transform: scale(1);
}

/* Modal Header (Topnav with Integrated Sitrep) */
.orbat-modal-header {
  min-height: 56px;
  padding: 6px 20px;
  background: rgba(12, 16, 24, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  z-index: 10;
}

/* Embedded Deployment Sitrep in Topnav */
.orbat-topnav-sitrep {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 183, 0, 0.25);
  border-radius: 6px;
  padding: 4px 12px;
  margin: 0;
  max-width: 740px;
  flex: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: none;
}

.sitrep-topnav-intel {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sitrep-details-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.orbat-topnav-sitrep .sitrep-op-title {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.03em;
  margin: 0;
}

.orbat-topnav-sitrep .sitrep-theater-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: #00ff88;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.orbat-topnav-sitrep .sitrep-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-muted);
}

.orbat-topnav-sitrep .sitrep-countdown {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.orbat-topnav-sitrep .countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 2px 5px;
  min-width: 28px;
}

.orbat-topnav-sitrep .count-val {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.orbat-topnav-sitrep .count-lbl {
  font-size: 6px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 1px;
}

.orbat-modal-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #fff;
}

.orbat-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-amber);
  background: rgba(255, 183, 0, 0.1);
  border: 1px solid rgba(255, 183, 0, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
}

.orbat-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-1px);
}

.btn-icon.close-btn:hover {
  background: rgba(255, 51, 102, 0.2);
  color: #ff3366;
  border-color: rgba(255, 51, 102, 0.4);
}

.orbat-canvas-wrap {
  flex: 1;
  position: relative;
  background: #030304;
  overflow: hidden;
}

.orbat-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Modal Footer */
.orbat-modal-footer {
  height: 48px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legend-items {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-color {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}

.hint-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

/* D3 Tree Node Elements & Animated Energy Flow Links */
.node-link {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1.5px;
  stroke-dasharray: 6 3;
  animation: flowLinks 20s linear infinite;
}

@keyframes flowLinks {
  to {
    stroke-dashoffset: -100;
  }
}

.node-group {
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.node-card {
  fill: #0c0e17;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1px;
  rx: 8px;
  ry: 8px;
  transition: all 0.3s ease;
}

.node-group:hover .node-card {
  stroke: var(--accent-amber);
  fill: #141724;
  filter: drop-shadow(0 4px 15px rgba(255, 183, 0, 0.25));
}

.node-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  fill: #ffffff;
}

.node-subtitle {
  font-family: var(--font-mono);
  font-size: 10px;
  fill: #aaaaaa;
}

.node-subinfo {
  font-family: var(--font-mono);
  font-size: 9px;
  fill: #666666;
}

.node-status-line {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  fill: var(--accent-amber);
}

/* Keyframes for Entrance Animations */
@keyframes fadeInUpBlur {
  0% {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (max-width: 768px) {
  .screen-container { padding: 20px; }
  .emblem-container { width: 90px; height: 90px; margin-bottom: 10px; }
  .main-title { font-size: 32px; }
  .main-subtitle { font-size: 13px; }
  .btn-download { padding: 12px 20px; font-size: 13px; }
  .deployment-sitrep { max-width: 100%; padding: 12px 14px; }
  .orbat-modal-container { width: 98vw; height: 96vh; }
  .legend-items { display: none; }
  .dossier-drawer { width: 100vw; max-width: 100vw; }
}

/* ============================================================
   FEATURE 6: Tactical Background Video B-Roll
   ============================================================ */
.broll-viewport {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: #050608;
}

.broll-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.25) contrast(1.25) saturate(0.55);
  transform: scale(1.02);
  transition: opacity 0.5s ease;
}

.broll-scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.22),
    rgba(0, 0, 0, 0.22) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
}

.broll-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 35%, rgba(0, 0, 0, 0.85) 90%),
              linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.95) 100%);
  pointer-events: none;
}



/* ============================================================
   FEATURE 2: Next Deployment Sitrep & Countdown Widget
   ============================================================ */
.deployment-sitrep {
  width: 100%;
  max-width: 640px;
  background: rgba(10, 14, 20, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 183, 0, 0.22);
  border-radius: 8px;
  padding: 12px 18px;
  margin-top: 16px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 183, 0, 0.04);
  transition: all 0.3s ease;
  animation: fadeInUpBlur 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.deployment-sitrep:hover {
  border-color: rgba(255, 183, 0, 0.45);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 183, 0, 0.08);
}

.sitrep-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.sitrep-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-amber);
}

.pulse-beacon {
  width: 7px;
  height: 7px;
  background: var(--accent-amber);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-amber);
  animation: pulseBeacon 2s infinite;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--accent-amber); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.sitrep-countdown {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 3px 6px;
  min-width: 36px;
}

.count-val {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.count-lbl {
  font-size: 7px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.count-sep {
  font-weight: 700;
  color: var(--accent-amber);
  font-size: 12px;
  opacity: 0.7;
}

.sitrep-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}

.sitrep-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sitrep-op-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-transform: uppercase;
}

.sitrep-theater-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-green);
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.25);
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.sitrep-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.sitrep-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ============================================================
   FEATURE 3: Tactical Operator Dossier Slide-Over Drawer
   ============================================================ */
.dossier-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 90vw;
  height: 100vh;
  background: rgba(8, 10, 14, 0.96);
  backdrop-filter: blur(24px);
  border-left: 1px solid rgba(255, 183, 0, 0.3);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(255, 183, 0, 0.1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dossier-drawer.open {
  transform: translateX(0);
}

.dossier-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.dossier-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.dossier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
}

.dossier-classification {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dossier-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.dossier-close:hover {
  background: rgba(255, 51, 102, 0.2);
  border-color: #ff3366;
  color: #ff3366;
}

.dossier-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dossier-profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.dossier-avatar-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.dossier-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
  border: 2px solid rgba(255, 183, 0, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.dossier-status-pill {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: #00ff88;
  color: #000;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.dossier-profile-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dossier-callsign {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.dossier-rank {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-amber);
  font-weight: 600;
}

.dossier-tags {
  display: flex;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.dossier-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #dddddd;
}

.dossier-tag.amber {
  background: rgba(255, 183, 0, 0.1);
  border-color: rgba(255, 183, 0, 0.3);
  color: var(--accent-amber);
}

.dossier-section-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}

.dossier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dossier-metric {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#dossier-office-metric {
  grid-column: span 2;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.metric-value-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
}

.metric-sf-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.metric-flag-icon {
  width: 16px;
  height: 11px;
  object-fit: cover;
  border-radius: 1px;
}

.metric-value-text {
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
}

.metric-value-text.mono {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.dossier-bio-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: #cccccc;
  max-height: 180px;
  overflow-y: auto;
}

.dossier-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.btn-dossier-copy {
  background: rgba(255, 183, 0, 0.1);
  border: 1px solid rgba(255, 183, 0, 0.3);
  color: var(--accent-amber);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-dossier-copy:hover {
  background: rgba(255, 183, 0, 0.2);
  border-color: var(--accent-amber);
  color: #fff;
}
