/* Target Shooter — test-specific overrides */
:root { --test-accent: #06b6d4; }
.t-intro-icon::before {
  content: 'track_changes';
}

.t-shell { max-width: 900px; }

/* ── ARENA ── */
.ts-arena {
  position: relative;
  width: 100%;
  min-height: 480px;
  background: color-mix(in srgb, var(--test-accent) 5%, #ffffff);
  border: 1.5px solid var(--color-outline);
  border-radius: 0;
  overflow: hidden;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: background-color 0.2s, border-color 0.2s;
}

html.dark .ts-arena {
  background: color-mix(in srgb, var(--test-accent) 4%, var(--color-surface-container-low)) !important;
  border-color: var(--color-outline) !important;
  border-radius: 0 !important;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

/* ── TARGET (crosshair style like aim trainer) ── */
.ts-target {
  position: absolute;
  border-radius: 50%;
  background: transparent;
  border: 3.5px solid #06b6d4;
  box-shadow: 0 0 0 3px rgba(6,182,212,0.15);
  cursor: pointer;
  pointer-events: auto;
}

/* Crosshair vertical */
.ts-target::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 2.5px; height: 50%;
  background: #06b6d4;
  transform: translate(-50%, -50%);
  border-radius: 2px;
  pointer-events: none;
}

/* Crosshair horizontal */
.ts-target::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 50%; height: 2.5px;
  background: #06b6d4;
  transform: translate(-50%, -50%);
  border-radius: 2px;
  pointer-events: none;
}

.ts-target:hover {
  box-shadow: 0 0 0 5px rgba(6,182,212,0.3);
}

.ts-target.ts-hit {
  opacity: 0 !important;
  border-color: #2ecc71;
  box-shadow: 0 0 0 8px rgba(46,204,113,0.3);
  transition: opacity 0.15s, box-shadow 0.15s;
  pointer-events: none;
}

/* ── STATUS ROW ── */
.ts-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 4px;
}

.ts-stat {
  text-align: center;
}

.ts-stat-val {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
}

.ts-stat-lbl {
  font-family: 'Lexend', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── PROGRESS ── */
.ts-progress {
  width: 100%;
  height: 6px;
  background: #ccfbf1;
  border-radius: 3px;
  overflow: hidden;
}

.ts-progress-fill {
  height: 100%;
  background: #06b6d4;
  border-radius: 3px;
  transition: width 0.05s linear;
}

/* ── SCORE RANGE TABLE ── */

@media (max-width: 480px) {
  .ts-arena { min-height: 360px; }
}
