/* Stroop Test — test-specific overrides */
:root { --test-accent: #c92a2a; }
.t-intro-icon::before {
  content: 'palette';
}


/* ── WORD DISPLAY ── */
.stroop-word-box {
  position: relative;
  min-height: 280px !important;
  background: var(--color-surface-container-low);
  border: 2.5px dashed var(--color-outline-variant);
  border-radius: 22px;
  margin-bottom: 24px;
  overflow: hidden;
}

.stroop-word {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.stroop-feedback {
  position: absolute;
  bottom: 46px;
  left: 12px;
  right: 12px;
  text-align: center;
  font-family: 'Lexend', sans-serif;
  font-size: 15px;
  font-weight: 700;
  min-height: 24px;
}

/* ── HINT ── */
.stroop-hint {
  position: absolute;
  bottom: 22px;
  left: 12px;
  right: 12px;
  text-align: center;
  font-family: 'Lexend', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* ── COLOR BUTTONS ── */
.stroop-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}

.stroop-btn {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.stroop-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.stroop-btn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ── SCORE RANGE TABLE ── */

@media (max-width: 480px) {
  .stroop-word { font-size: clamp(36px, 8vw, 56px); }
  .stroop-word-box { min-height: 320px; }
  .stroop-buttons { gap: 8px; }
  .stroop-btn {
    width: 58px;
    height: 58px;
    font-size: 11px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }
}

/* score range table styled globally, dark overrides not needed */
