/* ── Dossier Modal ── */
#dossier-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 250;
  backdrop-filter: blur(8px);
}

#dossier-modal.hidden {
  display: none;
}

.dossier-content {
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  width: 92%;
  padding: 30px;
  background: rgba(10, 10, 25, 0.95);
  border: 2px solid #00f3ff;
  border-radius: 12px;
  box-shadow:
    0 0 30px rgba(0, 243, 255, 0.4),
    inset 0 0 20px rgba(0, 243, 255, 0.1);
  font-family: 'Courier New', monospace;
}

.dossier-title {
  font-size: 22px;
  color: #00f3ff;
  text-align: center;
  letter-spacing: 4px;
  margin-bottom: 4px;
  text-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
}

.dossier-subtitle {
  font-size: 13px;
  color: rgba(0, 243, 255, 0.5);
  text-align: center;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

/* ── Stat Grid ── */
.dos-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.dos-stat {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 243, 255, 0.15);
  border-radius: 8px;
  padding: 12px 10px;
  text-align: center;
}

.dos-stat-value {
  font-size: 22px;
  font-weight: bold;
  color: #00f3ff;
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
  display: block;
  margin-bottom: 4px;
}

.dos-stat-label {
  font-size: 14px;
  color: rgba(0, 243, 255, 0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Highlight win rate */
.dos-stat-highlight .dos-stat-value {
  color: #00ff88;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}

/* ── Difficulty Table ── */
.dos-section-title {
  font-size: 13px;
  color: #fff; /* NOSONAR */
  letter-spacing: 3px;
  margin-bottom: 10px;
  text-shadow: 0 0 8px rgba(255, 0, 85, 0.4);
}

.dos-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.dos-table th {
  font-size: 14px;
  color: rgba(0, 243, 255, 0.5);
  letter-spacing: 2px;
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(0, 243, 255, 0.15);
}

.dos-table td {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px;
  border-bottom: 1px solid rgba(0, 243, 255, 0.08);
}

.dos-diff-name {
  font-weight: bold;
  letter-spacing: 2px;
}

.dos-easy { color: #00f3ff; }
.dos-medium { color: #fff; /* NOSONAR */ }
.dos-hard { color: #fff; /* NOSONAR */ text-shadow: 0 0 8px rgba(255, 0, 85, 0.4); }
.dos-extreme { color: #ff0000; text-shadow: 0 0 8px rgba(255, 0, 0, 0.6); }

/* ── Close Button ── */
.dossier-close-btn {
  display: block;
  width: 100%;
  background: transparent;
  color: #fff; /* NOSONAR */
  border: 2px solid #ff0055;
  padding: 10px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.3);
}

.dossier-close-btn:hover {
  background: #ff0055;
  color: #000; /* NOSONAR - hover state has bright background */
  box-shadow: 0 0 20px #ff0055;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .dos-stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .dos-stat-value {
    font-size: 18px;
  }

  .dos-table td {
    font-size: 14px;
  }
}
