/* ==========================================================
   DETECTIVE STYLES: «СВОИ ЛЮДИ // ТЕНЕВОЙ ДЕТЕКТИВ»
   Atmospheric Neo-Noir Cyber-Investigation Bureau
   Dossiers, Classified Stamps, Evidence Board & Wiretaps
   ========================================================== */

:root {
  --noir-bg: #07080d;
  --noir-surface: #0d1018;
  --noir-folder: #121622;
  --noir-folder-hover: #181d2d;
  --noir-dossier: #0f131f;

  --amber-gold: #f59e0b;
  --amber-dim: #b45309;
  --amber-glow: rgba(245, 158, 11, 0.25);

  --detective-red: #ef4444;
  --detective-red-dim: rgba(239, 68, 68, 0.15);
  --detective-cyan: #38bdf8;
  --detective-green: #10b981;

  --stamp-red: #e11d48;
  --stamp-green: #059669;

  --noir-border: #1e2536;
  --noir-border-light: #2c364e;
}

/* Viewport */
.detective-viewport {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--noir-bg);
  position: relative;
  z-index: 5;
}

/* Desk Ambient Lighting */
.detective-viewport::before {
  content: "";
  position: fixed;
  top: 0;
  left: 20%;
  width: 60%;
  height: 350px;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Top Control Bureau Header */
.detective-bureau-header {
  background: var(--noir-surface);
  border-bottom: 1px solid var(--noir-border);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}

.bureau-brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bureau-seal {
  width: 34px;
  height: 34px;
  border: 1px solid var(--amber-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-gold);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 0 14px var(--amber-glow);
  background: rgba(245, 158, 11, 0.08);
}

.bureau-title {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
}

.bureau-title span {
  color: var(--amber-gold);
}

.classified-stamp-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--stamp-red);
  border: 1px solid var(--stamp-red);
  padding: 2px 7px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(225, 29, 72, 0.08);
  transform: rotate(-1.5deg);
  display: inline-flex;
}

/* Bureau HUD Metrics */
.bureau-hud {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bureau-metric-box {
  background: var(--noir-folder);
  border: 1px solid var(--noir-border);
  border-radius: var(--radius-xs);
  padding: 5px 14px;
  display: flex;
  flex-direction: column;
}

.bureau-metric-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bureau-metric-val {
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
}

.rank-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--amber-dim);
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
}

/* Detective Investigation Desk Grid */
.investigation-desk {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 24px 40px;
  flex: 1;
  display: grid;
  grid-template-columns: 320px 1fr 360px;
  gap: 22px;
}

/* Left Column: Dossier Archives */
.dossier-archive-col {
  background: var(--noir-surface);
  border: 1px solid var(--noir-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dossier-col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--noir-border);
}

.dossier-col-header span {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--amber-gold);
  text-transform: uppercase;
}

.dossier-cards-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  flex: 1;
}

.dossier-file-card {
  background: var(--noir-folder);
  border: 1px solid var(--noir-border);
  border-left: 3px solid var(--text-muted);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.dossier-file-card:hover {
  background: var(--noir-folder-hover);
  border-color: var(--noir-border-light);
  transform: translateX(3px);
}

.dossier-file-card.active {
  border-left-color: var(--amber-gold);
  border-color: var(--amber-dim);
  background: rgba(245, 158, 11, 0.08);
  box-shadow: 0 0 16px var(--amber-glow);
}

.dossier-case-num {
  font-size: 0.65rem;
  color: var(--amber-gold);
  font-weight: 700;
}

.dossier-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.dossier-suspect {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.dossier-status-pill {
  font-size: 0.65rem;
  margin-top: 4px;
  font-weight: 700;
}

/* Central Workspace: Investigation Board & Intercept */
.investigation-center-board {
  background: var(--noir-surface);
  border: 1px solid var(--noir-border);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.board-top-banner {
  padding: 14px 20px;
  background: var(--noir-folder);
  border-bottom: 1px solid var(--noir-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.case-main-tag {
  display: flex;
  align-items: center;
  gap: 12px;
}

.case-badge-pill {
  font-size: 0.72rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--amber-gold);
  color: var(--amber-gold);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  font-weight: 800;
}

.case-headline {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

/* Suspect & Intercept Section */
.intercept-feed-wrap {
  flex: 1;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  background: #090b12;
}

.suspect-profile-strip {
  background: var(--noir-dossier);
  border: 1px solid var(--noir-border);
  border-radius: var(--radius-xs);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.suspect-info-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.suspect-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  border: 2px solid var(--noir-border);
}

.suspect-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.suspect-handle {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.suspect-ip-tag {
  font-size: 0.7rem;
  color: var(--amber-gold);
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid var(--amber-dim);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

/* Intercepted Dialogue */
.intercept-dialogue-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.intercept-msg-card {
  max-width: 82%;
  padding: 14px 18px;
  background: var(--noir-folder);
  border: 1px solid var(--noir-border);
  border-radius: var(--radius-xs);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-main);
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.intercept-msg-time {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 6px;
  display: block;
}

/* Fake Link Clue Card */
.fake-link-clue {
  margin-top: 10px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px dashed var(--amber-gold);
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fake-link-clue-label {
  font-size: 0.68rem;
  color: var(--amber-gold);
  font-weight: 700;
}

.fake-link-clue-url {
  font-size: 0.82rem;
  color: #fff;
  text-decoration: underline;
  word-break: break-all;
}

/* Wiretap Reel-to-Reel Recorder (Case 6) */
.wiretap-recorder-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  text-align: center;
  background: radial-gradient(circle at 50% 25%, rgba(225, 29, 72, 0.14) 0%, #090b12 75%);
}

.wiretap-reels-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

.tape-reel {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 3px solid var(--amber-gold);
  background: #11141e;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin 3s linear infinite;
  box-shadow: 0 0 16px var(--amber-glow);
}

.tape-reel::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amber-gold);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================
   EVIDENCE VISUAL CARDS & FORENSIC DIAGRAMS
   ========================================================== */

.evidence-visual-card {
  margin: 14px 0 16px;
  background: var(--noir-folder);
  border: 1px solid var(--noir-border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.evidence-visual-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
}

.evidence-visual-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber-gold), transparent);
}

.ev-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--noir-border);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.ev-warning-note {
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(239, 68, 68, 0.08);
  border-left: 3px solid var(--detective-red);
  font-size: 0.75rem;
  color: #fca5a5;
  line-height: 1.4;
  border-radius: var(--radius-xs);
}

/* 1. Transit Diagram (Case 1) */
.transit-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 4px;
}

.diagram-node {
  flex: 1;
  background: var(--noir-surface);
  border: 1px solid var(--noir-border);
  border-radius: var(--radius-xs);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.diagram-node:hover {
  transform: translateY(-2px);
  border-color: var(--amber-gold);
}

.node-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.node-title {
  font-size: 0.68rem;
  color: var(--text-secondary);
  font-weight: 600;
  white-space: nowrap;
}

.node-sum {
  font-size: 0.8rem;
  font-weight: 800;
}

.node-victim .node-sum {
  color: #fca5a5;
}

.node-target.active-target {
  border-color: var(--amber-gold);
  background: rgba(245, 158, 11, 0.06);
  box-shadow: 0 0 16px var(--amber-glow);
}

.node-target.active-target .node-title {
  color: var(--amber-gold);
}

.node-target.active-target .node-sum {
  color: #fde68a;
}

.node-criminal .node-sum {
  color: var(--detective-cyan);
}

.diagram-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  color: var(--amber-gold);
  font-family: var(--font-mono);
  font-weight: 700;
  min-width: 50px;
}

.arrow-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--amber-gold), var(--detective-green));
  position: relative;
}

.arrow-line::after {
  content: "▶";
  position: absolute;
  right: -3px;
  top: -6px;
  font-size: 8px;
  color: var(--detective-green);
  animation: arrowGlide 1.5s infinite linear;
}

.arrow-line.red-arrow {
  background: linear-gradient(90deg, var(--amber-gold), var(--detective-red));
}

.arrow-line.red-arrow::after {
  color: var(--detective-red);
}

@keyframes arrowGlide {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* 2. Tournament Poster (Case 2) */
.tournament-poster {
  background: linear-gradient(135deg, #0e1222 0%, #17112e 100%);
  border-color: #6366f1;
}

.tournament-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ev-trophy {
  font-size: 2.2rem;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.5));
  animation: trophyFloat 3s ease-in-out infinite;
}

@keyframes trophyFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.tournament-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tournament-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #a5b4fc;
  letter-spacing: 0.06em;
}

.tournament-prize {
  font-size: 1.05rem;
  font-weight: 900;
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.phish-detector-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-xs);
  color: #fca5a5;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.popup-simulation {
  background: #090c16;
  border: 1px dashed #6366f1;
  border-radius: var(--radius-xs);
  padding: 10px 14px;
}

.popup-bar {
  font-size: 0.78rem;
  font-weight: 800;
  color: #c7d2fe;
}

.popup-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* 3. Delivery Invoice (Case 3) */
.delivery-invoice {
  background: #0d121c;
  border-color: #1e3a5f;
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--noir-border);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.invoice-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--noir-surface);
  border: 1px solid var(--noir-border);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  margin-bottom: 12px;
}

.item-pic {
  font-size: 1.8rem;
}

.item-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.item-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.item-price {
  font-size: 0.82rem;
  color: var(--detective-green);
  font-weight: 800;
}

.fake-form-mockup {
  background: #090b12;
  border: 1px solid var(--noir-border);
  border-radius: var(--radius-xs);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fake-form-title {
  font-size: 0.7rem;
  color: var(--amber-gold);
  font-weight: 800;
  margin-bottom: 4px;
}

.fake-input-tag {
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: var(--noir-surface);
  border: 1px solid var(--noir-border);
  border-radius: 4px;
  padding: 6px 10px;
}

.fake-input-tag.red-alert {
  border-color: var(--detective-red);
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  font-weight: 800;
  animation: alertPulse 1.8s infinite ease-in-out;
}

@keyframes alertPulse {
  0%, 100% {
    box-shadow: 0 0 0 rgba(239, 68, 68, 0);
    border-color: rgba(239, 68, 68, 0.5);
  }
  50% {
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.4);
    border-color: var(--detective-red);
  }
}

/* 4. Prize Box (Case 4) */
.prize-box {
  background: linear-gradient(135deg, #13120e 0%, #1f1807 100%);
  border-color: #b45309;
}

.prize-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--amber-gold);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.prize-hero-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.prize-badge-gold {
  font-size: 2.2rem;
  filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.5));
}

.prize-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.prize-status {
  font-size: 0.75rem;
  margin-top: 3px;
}

.toll-demand-strip {
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed var(--amber-gold);
  border-radius: var(--radius-xs);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 700;
}

.fine-print {
  font-size: 0.68rem;
  color: var(--detective-red);
}

/* 5. Crypto Exchange (Case 5) */
.crypto-exchange {
  background: #09101b;
  border-color: #0369a1;
}

.crypto-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--detective-cyan);
  border-bottom: 1px solid var(--noir-border);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.crypto-rate-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.crypto-badge {
  background: #0284c7;
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
}

.chart-mockup {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 50px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-xs);
  padding: 8px 14px;
  border-bottom: 2px solid var(--noir-border-light);
}

.chart-bar {
  flex: 1;
  background: #0284c7;
  border-radius: 2px 2px 0 0;
  animation: barPulse 2.5s infinite ease-in-out;
}

.chart-bar:nth-child(2) { animation-delay: 0.3s; }
.chart-bar:nth-child(3) { animation-delay: 0.6s; }
.chart-bar:nth-child(4) { animation-delay: 0.9s; }

@keyframes barPulse {
  0%, 100% { opacity: 0.7; transform: scaleY(0.9); }
  50% { opacity: 1; transform: scaleY(1.05); }
}

/* 6. Police Dossier & Oscilloscope (Case 6) */
.police-dossier {
  background: #140d11;
  border-color: #881337;
}

.police-badge-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.police-emblem {
  font-size: 1.8rem;
}

.police-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.police-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
}

.police-sub {
  font-size: 0.7rem;
  font-weight: 700;
}

.audio-wiretap-visualizer {
  background: #090608;
  border: 1px solid #4c0519;
  border-radius: var(--radius-xs);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.audio-oscilloscope {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  width: 100%;
}

.audio-wave-bar {
  width: 6px;
  background: var(--detective-red);
  border-radius: 3px;
  animation: soundWave 1.2s ease-in-out infinite alternate;
}

.audio-wave-bar:nth-child(1) { animation-delay: 0.1s; }
.audio-wave-bar:nth-child(2) { animation-delay: 0.25s; }
.audio-wave-bar:nth-child(3) { animation-delay: 0.4s; }
.audio-wave-bar:nth-child(4) { animation-delay: 0.15s; }
.audio-wave-bar:nth-child(5) { animation-delay: 0.35s; }
.audio-wave-bar:nth-child(6) { animation-delay: 0.5s; }
.audio-wave-bar:nth-child(7) { animation-delay: 0.2s; }

@keyframes soundWave {
  0% { transform: scaleY(0.25); opacity: 0.4; }
  100% { transform: scaleY(1); opacity: 1; }
}

.rec-blinker {
  font-size: 0.72rem;
  color: var(--detective-red);
  font-weight: 800;
  letter-spacing: 0.06em;
  animation: blinkRec 1s steps(2, start) infinite;
}

@keyframes blinkRec {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}

/* Right Column: Detective Action Console */
.detective-action-col {
  background: var(--noir-surface);
  border: 1px solid var(--noir-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dossier-evidence-summary {
  background: var(--noir-folder);
  border: 1px solid var(--noir-border);
  border-radius: var(--radius-xs);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.evidence-header {
  font-size: 0.72rem;
  color: var(--amber-gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.crime-article-tag {
  font-size: 0.84rem;
  font-weight: 800;
  color: #fca5a5;
  line-height: 1.4;
}

.detective-buttons-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.btn-detective-action {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-detective-action .action-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-detective-action .action-key {
  font-size: 0.7rem;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xs);
}

/* Button Variants */
.btn-detective-intercept {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
}
.btn-detective-intercept:hover {
  background: rgba(16, 185, 129, 0.28);
  border-color: var(--detective-green);
  color: #fff;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
  transform: translateY(-2px);
}

.btn-detective-sanction {
  background: rgba(225, 29, 72, 0.14);
  border-color: rgba(225, 29, 72, 0.45);
  color: #fda4af;
}
.btn-detective-sanction:hover {
  background: rgba(225, 29, 72, 0.26);
  border-color: var(--stamp-red);
  color: #fff;
  box-shadow: 0 4px 20px rgba(225, 29, 72, 0.3);
  transform: translateY(-2px);
}

.btn-detective-expert {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fde68a;
}
.btn-detective-expert:hover {
  background: rgba(245, 158, 11, 0.24);
  border-color: var(--amber-gold);
  color: #fff;
  box-shadow: 0 4px 20px var(--amber-glow);
  transform: translateY(-2px);
}

/* ==========================================================
   MODAL WINDOWS (Evidence Dossier & Verdict Feedback)
   ========================================================== */
.noir-modal-card {
  width: 100%;
  max-width: 620px;
  background: var(--noir-dossier);
  border: 1px solid var(--noir-border-light);
  border-radius: var(--radius-sm);
  padding: 26px;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9);
}

.noir-modal-stamp {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 3px 10px;
  border: 2px dashed var(--stamp-red);
  color: var(--stamp-red);
  text-transform: uppercase;
  transform: rotate(3deg);
  background: rgba(225, 29, 72, 0.08);
}

.noir-modal-stamp.success {
  border-color: var(--stamp-green);
  color: var(--stamp-green);
  background: rgba(5, 150, 105, 0.08);
  transform: rotate(-3deg);
}

/* Responsive */
@media (max-width: 1024px) {
  .investigation-desk {
    grid-template-columns: 1fr;
    padding: 12px;
  }
  .dossier-archive-col {
    display: none;
  }
  .detective-bureau-header {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .bureau-brand-wrap .bureau-title {
    font-size: 0.8rem;
  }
  .bureau-brand-wrap .bureau-seal {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
  .board-top-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .transit-diagram {
    flex-direction: column;
    gap: 12px;
  }
  .diagram-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }
  .arrow-line {
    width: 26px;
  }
  .tournament-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .suspect-profile-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .suspect-ip-tag {
    align-self: flex-start;
  }
  .detective-hud-group {
    width: 100%;
    justify-content: space-between;
  }
}
