/* ═══ M-WCST ═════════════════════════════════════════════════════════════════ */
/* .screen--wcst.screen--center: mismo ajuste que .screen--tol — .screen--center fija
   min-height:80vh, y cuando el contenido real es más bajo que eso el bloque queda
   centrado dentro de ese 80vh pero el 20vh restante se ve como espacio muerto abajo. */
.screen--wcst.screen--center { min-height: calc(100vh - 42px); }
.screen--wcst { width: 100%; max-width: 720px; }
.wcst-panel { display: flex; flex-direction: column; align-items: center; gap: 26px; width: 100%; }

.wcst-header { display: flex; justify-content: center; }
.wcst-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-soft); font-size: .82rem; font-weight: 500;
  box-shadow: 0 1px 2px rgba(15, 30, 45, .05);
}
.wcst-chip strong { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }

.wcst-stimulus-block, .wcst-response-block {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.wcst-board-label {
  margin: 0; font-weight: 700; font-size: .76rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-soft);
}
.wcst-stimulus-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.wcst-stimulus {
  cursor: pointer;
  border-radius: var(--radius);
  border: 2px solid transparent;
  box-shadow: 0 2px 10px rgba(15, 30, 45, .06);
  transition: border-color 120ms, transform 80ms, box-shadow 120ms;
  outline: none;
}
.wcst-stimulus:hover, .wcst-stimulus:focus {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(15, 30, 45, .1);
}
.wcst-stimulus:active { transform: translateY(0); }
.wcst-card-svg { display: block; }
.wcst-response-card {
  background: var(--paper); border-radius: var(--radius);
  padding: 10px; box-shadow: 0 2px 10px rgba(15, 30, 45, .06);
}
.wcst-feedback { min-height: 1.5em; font-weight: 600; text-align: center; transition: color 200ms; }
.wcst-feedback--ok  { color: var(--ok); }
.wcst-feedback--no  { color: var(--danger); }

/* Las 4 cartas guía se generan a 128px fijos desde JS (WCST_STIMULUS_SIZE,
   helpers/tests/wcst.js) — 4×128 + 3×16 de gap ≈ 560px, no entra en una fila
   en un celular. .wcst-stimulus-row ya tiene flex-wrap, así que no desborda,
   pero envolver a 2×2 no es lo ideal. El SVG tiene viewBox, así que un ancho
   por CSS lo escala correctamente sin tocar el JS. */
@media (max-width: 460px) {
  .wcst-stimulus-row { gap: 8px; }
  .wcst-stimulus .wcst-card-svg { width: min(20vw, 84px); height: min(20vw, 84px); }
  .wcst-response-card .wcst-card-svg { width: min(28vw, 110px); height: min(28vw, 110px); }
}
