/* Go/No-Go — test-specific overrides */
:root { --test-accent: #059669; }

/* ── STIMULUS PANEL ── */
.gng-panel {
  border-radius: 22px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  padding: 40px 24px;
}

.gng-panel[data-state="waiting"]      { background: #f5f7fa; border: 2.5px dashed #d8dfe6; }
.gng-panel[data-state="go"]           { background: #ecfdf5; border: 2.5px solid #6ee7b7; }
.gng-panel[data-state="nogo"]         { background: #fef2f2; border: 2.5px solid #fca5a5; }
.gng-panel[data-state="hit"]          { background: #ecfdf5; border: 2.5px solid #34d399; cursor: default; }
.gng-panel[data-state="correct-hold"] { background: #ecfdf5; border: 2.5px solid #34d399; cursor: default; }
.gng-panel[data-state="miss"]         { background: #fef2f2; border: 2.5px solid #f87171; cursor: default; }
.gng-panel[data-state="false-alarm"]  { background: #fffbeb; border: 2.5px solid #fbbf24; cursor: default; }

/* ── SHAPES ── */
.gng-shape {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  animation: shapePop 0.2s cubic-bezier(0.34,1.56,0.64,1) both;
}

.gng-go {
  background: #22c55e;
  border: 4px solid #16a34a;
  box-shadow: 0 6px 24px rgba(34,197,94,0.3);
}

.gng-nogo {
  background: #ef4444;
  border: 4px solid #dc2626;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(239,68,68,0.3);
}

@keyframes shapePop {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ── CROSSHAIR ── */
.gng-plus {
  font-family: 'Manrope', sans-serif;
  font-size: 48px;
  font-weight: 300;
  color: #d1d5db;
  line-height: 1;
}

/* ── STATUS ── */
.gng-status {
  font-family: 'Manrope', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: #1a2e3b;
  line-height: 1;
  pointer-events: none;
}

.gng-panel[data-state="go"] .gng-status           { color: #059669; }
.gng-panel[data-state="nogo"] .gng-status          { color: #dc2626; }
.gng-panel[data-state="hit"] .gng-status           { color: #059669; }
.gng-panel[data-state="correct-hold"] .gng-status  { color: #059669; }
.gng-panel[data-state="miss"] .gng-status          { color: #dc2626; }
.gng-panel[data-state="false-alarm"] .gng-status   { color: #d97706; }

.gng-sub {
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #9ca3af;
  pointer-events: none;
}

/* ── LEGEND ── */
.gng-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 0 4px;
}

.gng-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Lexend', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}

.gng-legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.gng-legend-dot.go { background: #22c55e; }
.gng-legend-dot.nogo { background: #ef4444; border-radius: 4px; }

/* ── SCORE RANGE TABLE (reuse) ── */
.rt-range-table { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.rt-range-row { display: grid; grid-template-columns: 10px 100px 1fr auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px; font-family: 'Lexend', sans-serif; font-size: 13px; }
.rt-range-dot { width: 10px; height: 10px; border-radius: 50%; }
.rt-range-label { font-weight: 700; color: #1a2e3b; }
.rt-range-val { color: #5a7285; }
.rt-range-pct { font-weight: 700; text-align: right; }
.rt-range-row.elite  { background: #f0fdf4; } .rt-range-row.elite  .rt-range-dot { background: #2ecc71; } .rt-range-row.elite  .rt-range-pct { color: #2ecc71; }
.rt-range-row.fast   { background: #f0f9ff; } .rt-range-row.fast   .rt-range-dot { background: #0ea5e9; } .rt-range-row.fast   .rt-range-pct { color: #0ea5e9; }
.rt-range-row.avg    { background: #fafafa; } .rt-range-row.avg    .rt-range-dot { background: #f5a623; } .rt-range-row.avg    .rt-range-pct { color: #f5a623; }
.rt-range-row.slow   { background: #fef2f1; } .rt-range-row.slow   .rt-range-dot { background: #e74c3c; } .rt-range-row.slow   .rt-range-pct { color: #e74c3c; }

@media (max-width: 480px) {
  .gng-shape { width: 80px; height: 80px; }
  .gng-status { font-size: 28px; }
  .gng-panel { min-height: 260px; padding: 28px 16px; }
}
