/* Button Mashing — test-specific overrides */
:root { --test-accent: #f43f5e; }

/* ── MASH AREA ── */
.mash-arena {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px 24px;
  background: #fff1f2;
  border: 2.5px solid #fda4af;
  border-radius: 22px;
  min-height: 320px;
}

.mash-stats {
  display: flex;
  gap: 32px;
  align-items: center;
}

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

.mash-stat-val {
  font-family: 'Manrope', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: #1a2e3b;
}

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

/* ── MASH BUTTON ── */
.mash-btn {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  border: none;
  color: white;
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.06s, box-shadow 0.06s;
  box-shadow: 0 6px 24px rgba(244,63,94,0.3);
}

.mash-btn:hover { transform: scale(1.03); }
.mash-btn:active, .mash-btn.mash-hit {
  transform: scale(0.93);
  box-shadow: 0 2px 8px rgba(244,63,94,0.4);
}

.mash-btn.mash-active {
  animation: mash-pulse 0.3s infinite alternate;
}

@keyframes mash-pulse {
  from { box-shadow: 0 6px 24px rgba(244,63,94,0.3); }
  to   { box-shadow: 0 6px 36px rgba(244,63,94,0.5); }
}

/* ── STATUS ── */
.mash-status {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #1a2e3b;
  min-height: 32px;
  text-align: center;
}

/* ── PROGRESS ── */
.mash-progress {
  width: 100%;
  max-width: 300px;
  height: 8px;
  background: #fecdd3;
  border-radius: 4px;
  overflow: hidden;
}

.mash-progress-fill {
  height: 100%;
  background: #f43f5e;
  border-radius: 4px;
  transition: width 0.05s linear;
}

/* ── SCORE RANGE TABLE ── */
.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) {
  .mash-btn { width: 150px; height: 150px; font-size: 18px; }
  .mash-arena { min-height: 280px; padding: 24px 16px; }
}
