/**
 * THE 88TH FLOOR: SMART TOWER LOCKDOWN
 * Cyber-Luxury Aesthetics & Minigames Visual Styling
 * Designed for High-Contrast Luxury Noir, Glassmorphism, and Immersive Play
 */

/* ============================================================================
   1. CYBER-LUXURY TOKENS & ELEVATED PALETTE
   ============================================================================ */
:root {
  --neon-fuchsia: #ff007f;
  --neon-fuchsia-glow: rgba(255, 0, 127, 0.45);
  --color-gold-champagne-glow: rgba(255, 208, 116, 0.45);
  --glass-surface-dense: rgba(10, 16, 32, 0.82);
  --glass-border-glow: rgba(0, 229, 255, 0.28);
}

/* ============================================================================
   3. OPERATIONS CONSOLE: TABS & HEADER
   ============================================================================ */
.console-tabs-nav {
  display: flex;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: rgba(6, 11, 24, 0.85);
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
  overflow-x: auto;
}

.console-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.console-tab-btn:hover {
  background: rgba(0, 229, 255, 0.12);
  border-color: var(--color-cyan);
  color: var(--color-text-main);
}

.console-tab-btn.active {
  background: rgba(0, 229, 255, 0.18);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  box-shadow: 0 0 10px var(--color-cyan-glow);
  font-weight: 700;
}

/* ============================================================================
   4. MINIGAMES HUB STYLING (DECRYPTION MODULES)
   ============================================================================ */
.module-nav-bar {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
  overflow-x: auto;
}

.module-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: rgba(14, 24, 46, 0.7);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 4px;
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.module-nav-btn.active {
  background: rgba(0, 229, 255, 0.2);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

.module-nav-btn.completed {
  border-color: rgba(0, 255, 136, 0.4);
  color: var(--color-emerald-acid);
}

.minigame-card {
  background: rgba(11, 18, 36, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.minigame-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.65rem;
}

.mod-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-cyan);
  letter-spacing: 0.08em;
}

.mod-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-text-main);
  margin-top: 0.15rem;
}

.mod-instructions {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  margin-bottom: 1rem;
  line-height: 1.45;
}

.status-pill {
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-pill.success {
  background: rgba(0, 255, 136, 0.15);
  color: var(--color-emerald-acid);
  border: 1px solid rgba(0, 255, 136, 0.35);
}

.status-pill.pending {
  background: rgba(255, 170, 0, 0.15);
  color: var(--color-gold);
  border: 1px solid rgba(255, 170, 0, 0.35);
}

/* Module 1: Word Search */
.m1-layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .m1-layout {
    grid-template-columns: 1fr;
  }
}

.m1-grid {
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  overscroll-behavior: contain;
}

.m1-cell {
  aspect-ratio: 1;
  background: rgba(14, 22, 44, 0.75);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 4px;
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.m1-cell:hover {
  background: rgba(0, 229, 255, 0.2);
  border-color: var(--color-cyan);
  transform: scale(1.05);
}

.m1-cell.selected {
  background: rgba(255, 0, 127, 0.35);
  border-color: var(--neon-fuchsia);
  color: #fff;
  box-shadow: 0 0 10px var(--neon-fuchsia-glow);
}

.m1-cell.permanently-found {
  background: rgba(0, 255, 136, 0.25);
  border-color: var(--color-emerald-acid);
  color: var(--color-emerald-acid);
  box-shadow: 0 0 8px var(--color-emerald-glow);
}

.target-words-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.5rem 0;
}

.word-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-dim);
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
}

.word-item.found {
  color: var(--color-emerald-acid);
  text-decoration: line-through;
  background: rgba(0, 255, 136, 0.08);
}

.m1-intel-box {
  background: rgba(4, 8, 18, 0.8);
  border: 1px dashed rgba(0, 229, 255, 0.25);
  border-radius: 6px;
  padding: 0.75rem;
}

.m1-intel-box .intel-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-gold);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.25rem;
}

.m1-intel-box .intel-text {
  font-size: 0.78rem;
  color: var(--color-text-dim);
  line-height: 1.4;
}

.clue-btn-action {
  padding: 0.65rem 1.15rem;
  background: linear-gradient(135deg, rgba(0,229,255,0.2), rgba(0,229,255,0.05));
  border: 1px solid var(--color-cyan);
  border-radius: var(--radius-sm);
  color: var(--color-cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.clue-btn-action:hover {
  background: var(--color-cyan);
  color: #040711;
  box-shadow: 0 0 15px var(--color-cyan-glow);
}

.clue-btn-subtle {
  padding: 0.45rem 0.85rem;
  background: rgba(255, 170, 0, 0.08);
  border: 1px dashed rgba(255, 170, 0, 0.35);
  border-radius: var(--radius-sm);
  color: var(--color-gold);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.clue-btn-subtle:hover {
  background: rgba(255, 170, 0, 0.18);
  border-style: solid;
}

/* Module 2: Crossword */
.m2-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .m2-layout {
    grid-template-columns: 1fr;
  }
}

.cw-cell-blocked {
  width: 32px;
  height: 32px;
  background: rgba(4, 7, 16, 0.7);
  border-radius: 2px;
}

.cw-cell-input {
  width: 32px;
  height: 32px;
  background: rgba(14, 25, 48, 0.95);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 3px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  outline: none;
  transition: all 0.15s ease;
}

.cw-cell-input:focus {
  border-color: var(--neon-fuchsia);
  box-shadow: 0 0 8px var(--neon-fuchsia-glow);
  background: rgba(255, 0, 127, 0.15);
}

.cw-cell-input.cw-correct {
  border-color: var(--color-emerald-acid);
  color: var(--color-emerald-acid);
  background: rgba(0, 255, 136, 0.12);
}

.cw-cell-input.cw-error {
  border-color: var(--color-crimson);
  background: rgba(255, 42, 85, 0.25);
  animation: shakeError 0.4s ease;
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.cw-clue-item {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  color: var(--color-text-dim);
  line-height: 1.35;
}

.cw-clue-num {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--color-gold);
  min-width: 24px;
}

/* Module 3: Oscilloscope */
.m3-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 850px) {
  .m3-layout {
    grid-template-columns: 1fr;
  }
}

.m3-sync-gauge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.m3-canvas-wrap canvas {
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  cursor: crosshair;
}

.slider-control-group {
  margin-bottom: 0.85rem;
}

.slider-control-group label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-cyan);
  margin-bottom: 0.35rem;
}

.slider-control-group input[type="range"] {
  width: 100%;
  accent-color: var(--color-cyan);
  touch-action: pan-x;
  height: 28px;
  cursor: pointer;
}

/* Module 4: Circuit 3x3 */
.m4-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media (max-width: 850px) {
  .m4-layout {
    grid-template-columns: 1fr;
  }
}

.circuit-board-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.circuit-entry-label, .circuit-exit-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.circuit-entry-label {
  color: var(--color-crimson);
}

.circuit-exit-label {
  color: var(--color-cyan);
}

.circuit-tile {
  width: 80px;
  height: 80px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--color-cyan);
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.circuit-tile.energized {
  color: var(--color-emerald-acid);
  filter: drop-shadow(0 0 6px var(--color-emerald-glow));
}

.circuit-svg {
  width: 100%;
  height: 100%;
}

/* Module 5: Alibi Matrix — finalist interrogation cards use
   .finalist-interrogation-card (see below); .f-pass-tag is still live there. */
.f-pass-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-dim);
}

.f-pass-tag.vip {
  background: rgba(255, 208, 116, 0.15);
  color: var(--color-gold-champagne);
  border: 1px solid rgba(255, 208, 116, 0.3);
}

.m5-detail-card {
  background: rgba(6, 12, 26, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.m5-dossier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.75rem;
  margin-bottom: 0.85rem;
}

.m5-section {
  margin-bottom: 0.85rem;
}

.sec-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--color-gold);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.2rem;
}

.sec-quote {
  font-size: 0.82rem;
  font-style: italic;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 0.75rem;
  border-left: 2px solid var(--color-cyan);
  border-radius: 0 4px 4px 0;
}

.sec-anomaly {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  line-height: 1.4;
}

.sec-anomaly.critical-flaw {
  color: var(--neon-fuchsia);
  font-weight: 600;
  background: rgba(255, 0, 127, 0.08);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  border: 1px dashed var(--neon-fuchsia);
}

.elevator-log-box {
  background: rgba(4, 8, 18, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 6px;
  padding: 0.75rem;
  margin-top: 0.5rem;
}

.m5-culprit-identified-banner {
  background: rgba(255, 0, 127, 0.12);
  border: 1px solid var(--neon-fuchsia);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 0, 127, 0.3); }
  50% { box-shadow: 0 0 25px rgba(255, 0, 127, 0.7); }
}

/* ============================================================================
   5. ODOMETER COUNTER & ARREST ACTION
   ============================================================================ */
.odometer-counter-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(4, 7, 16, 0.85);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 0, 127, 0.3);
}

.odometer-counter-wrap.pulse-down {
  animation: counterFlash 0.6s ease;
}

@keyframes counterFlash {
  0% { border-color: var(--neon-fuchsia); box-shadow: 0 0 20px var(--neon-fuchsia-glow); }
  100% { border-color: rgba(255, 0, 127, 0.3); box-shadow: none; }
}

.odometer-digits {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--neon-fuchsia);
  letter-spacing: 0.05em;
}

.btn-emit-warrant {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #ff007f, #d81b60);
  border: 1px solid #ff77a9;
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 0 25px var(--neon-fuchsia-glow);
  transition: all 0.25s ease;
  animation: pulseGlow 1.8s infinite;
}

.btn-emit-warrant:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(255, 0, 127, 0.9);
}

/* ============================================================================
   6. INCIDENT DOSSIER TAB CONTENT
   ============================================================================ */
.dossier-narrative-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0.5rem 0;
}

/* ============================================================================
   HEADER NAV DRAWER BUTTONS (CASE DOSSIER & FUNNEL PROGRESS)
   ============================================================================ */
.header-nav-drawers {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 0.5rem;
}

.funnel-badge-counter {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-gold);
  background: rgba(255, 184, 0, 0.12);
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid rgba(255, 184, 0, 0.25);
}

/* ============================================================================
   SLIDE-OVER DRAWER (CASE DOSSIER & EVIDENCE)
   ============================================================================ */
.slide-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 6, 12, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overscroll-behavior: contain;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.slide-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(480px, 94vw);
  background: rgba(12, 15, 24, 0.96);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 20px 0 50px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.slide-drawer-overlay.active .slide-drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.1rem 1.25rem;
  background: rgba(8, 11, 18, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.drawer-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 700;
}

.drawer-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* ============================================================================
   FUNNEL PROGRESS MODAL
   ============================================================================ */
.modal-box.funnel-modal-box {
  max-width: 540px;
  background: rgba(14, 18, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.modal-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
}

/* ============================================================================
   CALIBRATED ULTRA-LUXURY CASE CARD & PRESS FLASH (NO CYAN FATIGUE)
   ============================================================================ */
.case-card-luxury {
  background: rgba(15, 18, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  position: relative;
  overflow: visible;
  height: auto;
  min-height: auto;
}

.case-card-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold-champagne), transparent);
}

.case-card-luxury h3,
.case-story-title,
.press-headline {
  line-height: 1.25 !important;
  overflow: visible !important;
  padding-bottom: 0.5rem !important;
  margin-bottom: 0.4rem;
  word-break: break-word;
}

.dossier-stamp-top {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(255, 0, 85, 0.12);
  border: 1px solid rgba(255, 0, 85, 0.4);
  color: #ff3366;
  margin-bottom: 0.5rem;
}

.press-flash-card {
  background: linear-gradient(145deg, rgba(16, 20, 32, 0.9) 0%, rgba(10, 13, 22, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  position: relative;
  overflow: visible;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.press-flash-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff0055, var(--color-gold), transparent);
}

.press-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.press-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ff3366;
  background: rgba(255, 0, 85, 0.12);
  border: 1px solid rgba(255, 0, 85, 0.35);
  padding: 2px 8px;
  border-radius: 4px;
}

.press-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff0055;
  box-shadow: 0 0 8px #ff0055;
  animation: pulseBeacon 1.4s infinite alternate;
}

.press-timestamp {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #94a3b8;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.press-headline {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--color-gold-champagne);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.press-excerpt {
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.press-footer-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #64748b;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 0.45rem;
  margin-top: 0.45rem;
}

.victim-dossier-card {
  background: rgba(14, 18, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  position: relative;
  overflow: visible;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.victim-dossier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff0055, #ffd074, transparent);
}

.victim-photo-wrapper {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  margin-bottom: 0.85rem;
}

.victim-photo-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: 50% 25%;
  display: block;
  filter: contrast(1.1) brightness(0.95);
}

.victim-status-stamp {
  position: absolute;
  bottom: 12px;
  right: 10px;
  transform: rotate(-6deg);
  background: rgba(10, 10, 18, 0.85);
  border: 2px solid #FF0055;
  color: #FF0055;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 3px;
  text-shadow: 0 0 8px rgba(255, 0, 85, 0.9);
  box-shadow: 0 0 16px rgba(255, 0, 85, 0.5), inset 0 0 8px rgba(255, 0, 85, 0.25);
  pointer-events: none;
  text-transform: uppercase;
}

.victim-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

@media (max-width: 480px) {
  .victim-meta-grid {
    grid-template-columns: 1fr;
  }
}

.victim-meta-pill {
  background: rgba(8, 11, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 2px solid var(--color-gold);
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.victim-meta-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--color-gold-champagne);
  letter-spacing: 0.05em;
  font-weight: 700;
  text-transform: uppercase;
}

.victim-meta-val {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  color: #f8fafc;
}

/* ============================================================================
   COLLAPSIBLE ACCORDIONS (CALIBRATED MONOCHROME SMOKE)
   ============================================================================ */
.accordion-item {
  background: rgba(14, 18, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.accordion-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.accordion-header {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: rgba(8, 12, 20, 0.75);
  border: none;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  text-align: left;
  transition: background 0.2s ease;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.accordion-header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #e2e8f0;
}

.accordion-chevron {
  font-size: 0.85rem;
  color: #94a3b8;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  line-height: 1;
}

.accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
  color: var(--color-gold-champagne);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.open .accordion-body {
  max-height: 600px;
}

.accordion-content {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(6, 9, 16, 0.6);
}

.autopsy-data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.autopsy-data-item {
  background: rgba(4, 7, 14, 0.7);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  border-left: 2px solid var(--color-gold);
}

.concierge-note-paper {
  background: rgba(20, 17, 14, 0.9);
  border: 1px solid rgba(255, 208, 116, 0.25);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  font-family: 'Georgia', serif;
  font-style: italic;
  color: #f1e6d0;
  line-height: 1.6;
  position: relative;
}

/* ============================================================================
   7. SUSPECT CARD REDACTION STAMP
   ============================================================================ */
.suspect-card.eliminated {
  position: relative;
  overflow: hidden;
}

.suspect-card.eliminated::after {
  content: 'CLEARED';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: rgba(255, 42, 85, 0.85);
  border: 2px solid rgba(255, 42, 85, 0.85);
  padding: 2px 14px;
  border-radius: 4px;
  pointer-events: none;
  letter-spacing: 0.15em;
  background: rgba(14, 20, 36, 0.85);
  box-shadow: 0 0 15px rgba(255, 42, 85, 0.5);
  animation: stampRedacted 0.25s ease-out;
}

@keyframes stampRedacted {
  0% { transform: translate(-50%, -50%) rotate(-18deg) scale(2.2); opacity: 0; }
  100% { transform: translate(-50%, -50%) rotate(-18deg) scale(1); opacity: 1; }
}

/* ============================================================================
   8. MODAL OVERLAYS & DIALOGS
   ============================================================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 4, 8, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.modal-box {
  width: 100%;
  max-width: 560px;
  background: rgba(11, 19, 38, 0.96);
  border: 1px solid var(--color-cyan);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.35);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.modal-box.error {
  border-color: var(--color-crimson);
  box-shadow: 0 0 40px var(--color-crimson-glow);
}

/* ============================================================================
   CROSSWORD FORENSIC WORD BANK & SWIPE CONTROLS (M2)
   ============================================================================ */
.m2-word-bank-container {
  background: rgba(8, 14, 28, 0.7);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.word-bank-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.word-bank-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--neon-fuchsia);
  background: rgba(255, 0, 127, 0.12);
  border: 1px solid rgba(255, 0, 127, 0.35);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.word-bank-hint {
  font-size: 0.72rem;
  color: var(--color-text-dim);
  font-family: var(--font-mono);
}

.word-chips-rack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.word-chip-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  background: rgba(14, 25, 48, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-sm);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.word-chip-btn:hover {
  background: rgba(0, 229, 255, 0.18);
  border-color: var(--color-cyan);
  box-shadow: 0 0 12px var(--color-cyan-glow);
  transform: translateY(-1px);
}

.word-chip-btn:active {
  transform: scale(0.96);
}

.word-chip-btn.placed {
  opacity: 0.45;
  border-color: rgba(0, 255, 136, 0.3);
  color: var(--color-emerald-acid);
  text-decoration: line-through;
  pointer-events: none;
}

.chip-clue-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--color-cyan);
  background: rgba(0, 229, 255, 0.15);
  padding: 1px 5px;
  border-radius: 3px;
  margin-right: 0.45rem;
}

.chip-word-text {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #f8fafc;
}

.chip-slide-icon {
  margin-left: 0.45rem;
  font-size: 0.72rem;
  color: var(--neon-fuchsia);
  opacity: 0.85;
}

.cw-cell-input {
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.cw-cell-input.cw-highlight-slot {
  border-color: var(--neon-fuchsia) !important;
  background: rgba(255, 0, 127, 0.18) !important;
  box-shadow: 0 0 10px var(--neon-fuchsia-glow);
}

.cw-cell-input.cw-cell-flash {
  animation: cellFlashGreen 0.45s ease-out;
}

@keyframes cellFlashGreen {
  0% { background: rgba(0, 255, 136, 0.6); transform: scale(1.1); }
  100% { background: rgba(14, 25, 48, 0.95); transform: scale(1); }
}

/* ============================================================================
   ACOUSTIC WIRETAP AUDIO PLAYER & WAVEFORM (M5)
   ============================================================================ */
.m5-wiretap-container {
  background: rgba(4, 8, 18, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.m5-wiretap-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-play-wiretap {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.2), rgba(0, 229, 255, 0.15));
  border: 1px solid var(--neon-fuchsia);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-play-wiretap:hover {
  background: rgba(255, 0, 127, 0.35);
  box-shadow: 0 0 12px var(--neon-fuchsia-glow);
}

.btn-play-wiretap.playing {
  animation: pulseGlow 1s infinite alternate;
  border-color: var(--color-emerald-acid);
  color: var(--color-emerald-acid);
}

.wiretap-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.wiretap-waveform-canvas {
  width: 100%;
  height: 38px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: block;
}

/* ============================================================================
   ACTIVE-ONLY SUSPECT FILTER TOGGLE & EMPTY STATE
   ============================================================================ */
.btn-filter-active-only {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: rgba(14, 24, 46, 0.6);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-sm);
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-filter-active-only:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

.btn-filter-active-only.active {
  background: rgba(0, 255, 136, 0.15);
  border-color: var(--color-emerald-acid);
  color: var(--color-emerald-acid);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.25);
}

.suspect-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(8, 12, 22, 0.5);
}

/* ============================================================================
   SUSPECT MONITOR PAGINATION BAR
   ============================================================================ */
.pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 1rem;
  background: rgba(4, 7, 16, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.page-btn {
  background: rgba(14, 24, 46, 0.7);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-sm);
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.page-btn:hover:not(:disabled) {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--color-cyan);
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.06);
  color: #475569;
}

/* ============================================================================
   PATCH V9: PROGRESSIVE FORENSIC EVIDENCE LOCKER & TABS
   ============================================================================ */
.evidence-tabs-bar {
  display: flex;
  gap: 0.35rem;
  padding: 0.6rem 1.25rem 0.5rem;
  background: rgba(6, 9, 16, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  flex-shrink: 0;
  -webkit-overflow-scrolling: touch;
}

.evidence-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  background: rgba(14, 24, 46, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm, 4px);
  color: var(--color-text-dim, #94a3b8);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  user-select: none;
}

.evidence-tab-btn:hover:not(.locked) {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.4);
  color: #fff;
}

.evidence-tab-btn.active {
  background: rgba(0, 229, 255, 0.18);
  border-color: var(--color-cyan, #00e5ff);
  color: var(--color-cyan, #00e5ff);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
}

.evidence-tab-btn.locked {
  opacity: 0.55;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(8, 12, 22, 0.4);
}

.tab-badge-num {
  background: rgba(0, 0, 0, 0.4);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: var(--color-gold);
}

.tab-lock-icon {
  font-size: 0.7rem;
}

.tab-shake-error {
  animation: tabShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  border-color: #ff2a55 !important;
}

@keyframes tabShake {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(3px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

.unlocked-glow {
  animation: tabGlowPulse 1.8s infinite alternate;
}

@keyframes tabGlowPulse {
  0% { border-color: rgba(0, 229, 255, 0.35); box-shadow: 0 0 4px rgba(0, 229, 255, 0.2); }
  100% { border-color: var(--color-cyan); box-shadow: 0 0 14px rgba(0, 229, 255, 0.5); }
}

/* Glowing Notification Badge on [📁 CASE DOSSIER] */
.evidence-new-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 800;
  color: #fff;
  background: var(--neon-fuchsia, #ff007f);
  padding: 2px 7px;
  border-radius: 10px;
  margin-left: 0.45rem;
  letter-spacing: 0.06em;
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.7);
}

.pulse-badge {
  animation: badgePulse 1.3s infinite ease-in-out;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 8px rgba(255, 0, 127, 0.6); }
  50% { transform: scale(1.08); box-shadow: 0 0 16px rgba(255, 0, 127, 0.95); }
}

/* Evidence Panes & Lock Placeholders */
.evidence-pane {
  display: none;
  flex-direction: column;
  gap: 1.1rem;
}

.evidence-pane.active {
  display: flex;
}

.evidence-lock-placeholder {
  background: rgba(8, 12, 22, 0.85);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md, 8px);
  padding: 2.75rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.lock-shield-icon {
  font-size: 2.2rem;
  filter: drop-shadow(0 0 12px rgba(255, 42, 85, 0.45));
}

.lock-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ff2a55;
  letter-spacing: 0.06em;
  margin: 0;
}

.lock-desc {
  font-size: 0.78rem;
  color: var(--color-text-dim);
  line-height: 1.5;
  max-width: 320px;
  margin: 0;
}

/* ============================================================================
   TAB 2: LEAKED CHAT LOG (SIGNAL CYBERPUNK PHONE UI)
   ============================================================================ */
.signal-phone-wrapper {
  background: #080c16;
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.65), inset 0 0 20px rgba(0, 229, 255, 0.04);
}

.signal-phone-header {
  background: rgba(12, 18, 32, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.65rem 0.85rem;
}

.signal-status-bar {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--color-text-dim);
  margin-bottom: 0.4rem;
}

.signal-contact-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.signal-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.signal-name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}

.signal-state {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--neon-fuchsia);
  letter-spacing: 0.04em;
}

.signal-chat-body {
  padding: 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: radial-gradient(circle at center, rgba(14, 24, 46, 0.35) 0%, rgba(4, 7, 16, 0.92) 100%);
}

.signal-date-separator {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--color-text-dim);
  margin-bottom: 0.25rem;
}

.signal-date-separator span {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 10px;
}

.signal-bubble {
  max-width: 85%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.4;
  position: relative;
}

.signal-bubble.incoming {
  align-self: flex-start;
  background: rgba(18, 28, 52, 0.92);
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-bottom-left-radius: 2px;
  color: #e2e8f0;
}

.signal-bubble.outgoing {
  align-self: flex-end;
  background: rgba(60, 16, 45, 0.88);
  border: 1px solid rgba(255, 0, 127, 0.35);
  border-bottom-right-radius: 2px;
  color: #fff;
}

.bubble-text {
  margin: 0;
}

.bubble-time {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--color-text-dim);
  text-align: right;
  margin-top: 0.35rem;
}

.signal-forensic-callout {
  margin: 0.75rem 0.85rem;
  padding: 0.75rem 0.9rem;
  background: rgba(6, 11, 24, 0.92);
  border-left: 3px solid var(--color-cyan);
  border-radius: 4px;
}

.signal-forensic-callout .callout-badge {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--color-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.signal-forensic-callout p {
  margin: 0;
  font-size: 0.75rem;
  color: #cbd5e1;
  line-height: 1.45;
}

/* ============================================================================
   TAB 3: INTERNAL EMAIL ARCHIVE (SQC SECURE QUANTUM MAIL UI)
   ============================================================================ */
.sqc-email-wrapper {
  background: #080b14;
  border: 1px solid rgba(255, 184, 0, 0.25);
  border-radius: 8px;
  overflow: hidden;
}

.sqc-email-header {
  background: rgba(22, 18, 10, 0.85);
  border-bottom: 1px solid rgba(255, 184, 0, 0.15);
  padding: 0.75rem 1rem;
}

.sqc-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.sqc-brand {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.05em;
}

.sqc-badge-sec {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  background: rgba(255, 42, 85, 0.15);
  border: 1px solid #ff2a55;
  color: #ff2a55;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 700;
}

.sqc-fields {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.sqc-label {
  color: var(--color-text-dim);
  margin-right: 0.4rem;
}

.sqc-val {
  color: #e2e8f0;
}

.sqc-val.bold-sub {
  color: #fff;
  font-weight: bold;
}

.sqc-email-body {
  padding: 1rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.sqc-email-body p {
  margin: 0 0 0.75rem 0;
}

.sqc-signoff {
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.75rem;
  font-style: italic;
}

.sqc-crypto-footer {
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--color-text-dim);
  text-align: center;
}

/* ============================================================================
   TAB 4: CCTV FRAME & NETWORK PACKET TRACE
   ============================================================================ */
.cctv-frame-box {
  background: #03060c;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.cctv-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(4, 8, 16, 0.95);
  padding: 0.45rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.65rem;
}

.cctv-rec-dot {
  color: #ff2a55;
  font-weight: bold;
  animation: recDotPulse 1s infinite alternate;
}

@keyframes recDotPulse {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.cctv-cam-id {
  color: var(--color-cyan);
  font-weight: 700;
}

.cctv-timecode {
  color: var(--color-gold);
}

.cctv-viewport-sim {
  position: relative;
  height: 150px;
  background: radial-gradient(circle at 60% 50%, #0d1e2e 0%, #03060d 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.cctv-hud-reticle {
  position: absolute;
  top: 20%;
  right: 22%;
  pointer-events: none;
  border: 1px dashed var(--neon-fuchsia);
  padding: 4px;
  border-radius: 4px;
  z-index: 3;
}

.reticle-box {
  background: rgba(255, 0, 127, 0.15);
}

.reticle-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--neon-fuchsia);
  font-weight: bold;
}

.cctv-visual-art {
  text-align: center;
  z-index: 1;
}

.hooded-figure {
  font-size: 2.6rem;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
}

.terminal-glow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-cyan);
  margin-top: 0.25rem;
}

.cctv-packet-dump {
  padding: 0.65rem 0.85rem;
  background: #020408;
  border-top: 1px solid rgba(0, 229, 255, 0.15);
}

.packet-dump-header {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--color-emerald-acid, #00ff88);
  font-weight: bold;
  margin-bottom: 0.35rem;
}

.packet-lines {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.packet-lines code {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #a7f3d0;
  line-height: 1.35;
}

/* ============================================================================
   FORENSIC PHOTO EVIDENCE TAGS (A-01, A-02 OVERLAYS)
   ============================================================================ */
.victim-photo-wrapper {
  position: relative;
  overflow: hidden;
}

.evidence-photo-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  pointer-events: none;
  z-index: 3;
}

.evidence-photo-tag .tag-anchor {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(4, 7, 16, 0.9);
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
  box-shadow: 0 0 8px rgba(255, 184, 0, 0.45);
}

.evidence-photo-tag .tag-desc {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.75);
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.tag-flute {
  top: 36%;
  left: 8%;
}

.tag-body {
  bottom: 24%;
  right: 12%;
}

/* ============================================================================
   MODULE 5: INTERROGATION MATRIX CARDS & STAMPS
   ============================================================================ */
.finalist-interrogation-card {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.finalist-interrogation-card:hover {
  border-color: rgba(0, 229, 255, 0.5) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.finalist-interrogation-card.selected {
  border-color: var(--color-cyan) !important;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.3);
}

.finalist-interrogation-card.disproved {
  opacity: 0.65;
  filter: grayscale(40%);
  background: rgba(22, 8, 14, 0.78) !important;
}

.finalist-interrogation-card.culprit-convicted {
  border-color: var(--color-gold) !important;
  box-shadow: 0 0 25px rgba(255, 184, 0, 0.5);
  opacity: 1 !important;
  filter: none !important;
}

.stamp-alibi-disproved {
  animation: stampSlam 0.32s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stamp-culprit-guilty {
  animation: stampSlam 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes stampSlam {
  0% { transform: translate(-50%, -50%) scale(2.2) rotate(22deg); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1) rotate(-14deg); opacity: 1; }
}

.evidence-choice-label {
  transition: all 0.15s ease;
}

.evidence-choice-label:hover {
  background: rgba(0, 229, 255, 0.08) !important;
  border-color: rgba(0, 229, 255, 0.3) !important;
}

.evidence-choice-label:has(input:checked) {
  background: rgba(0, 229, 255, 0.16) !important;
  border-color: var(--color-cyan) !important;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.25);
}

.btn-cross-examine-action {
  transition: all 0.2s ease;
}

.btn-cross-examine-action:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
}


