/* Button Mashing — test-specific overrides */
:root { --test-accent: #d9465a; }
.t-intro-icon::before {
  content: 'touch_app';
}


/* ── MASH AREA ── */
.mash-arena {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px 24px;
  background: color-mix(in srgb, var(--test-accent) 4%, var(--color-surface-container-low));
  border: 2.5px solid color-mix(in srgb, var(--test-accent) 25%, var(--color-outline));
  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: var(--text);
}

.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, var(--test-accent), #c22c3f);
  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(217,70,90,0.25);
}

.mash-btn:hover { transform: scale(1.03); }
.mash-btn:active, .mash-btn.mash-hit {
  transform: scale(0.93);
  box-shadow: 0 2px 8px rgba(217,70,90,0.3);
}

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

@keyframes mash-pulse {
  from { box-shadow: 0 6px 24px rgba(217,70,90,0.25); }
  to   { box-shadow: 0 6px 36px rgba(217,70,90,0.4); }
}

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

/* ── PROGRESS ── */
.mash-progress {
  width: 100%;
  max-width: 300px;
  height: 8px;
  background: var(--color-outline);
  border-radius: 4px;
  overflow: hidden;
}

.mash-progress-fill {
  height: 100%;
  background: var(--test-accent);
  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: var(--text); }
.rt-range-val { color: var(--text-muted); }
.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; }
}
