/* 1-back CPT on coloured shapes. Red and blue stay apart for the common
   colour-vision types, and shape is the second cue. No transition: the
   stimulus is fully drawn on the frame its onset is timed from. */

.qb-shape { display: inline-block; width: 28px; height: 28px; flex: none; }
.qb-shape.circle { border-radius: 50%; }
.qb-shape.square { border-radius: 3px; }
.qb-shape.red { background: #d62828; }
.qb-shape.blue { background: #1f5fd6; }

.qb-example { margin: 4px 0 12px; }
.qb-example-row { display: flex; gap: 14px; align-items: center; padding: 10px 14px; border-radius: 10px; background: var(--surface-2); width: max-content; max-width: 100%; }
.qb-example-row .is-target { outline: 3px solid var(--accent); outline-offset: 4px; }
.qb-example figcaption { margin-top: 6px; color: var(--text-soft); font-size: 14px; }

.qb-mode { margin: 14px 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; }
.qb-mode legend { padding: 0 4px; font-weight: 700; }
.qb-mode > label { display: flex; gap: 8px; align-items: baseline; margin: 6px 0; cursor: pointer; }
.qb-mode input { accent-color: var(--accent-strong); }
.qb-camera { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.qb-camera[hidden] { display: none; }
.qb-camera p { margin: 0 0 8px; font-size: 14.5px; }
.qb-privacy { padding: 8px 10px; border-left: 3px solid var(--accent); background: var(--surface-2); }
.qb-camera-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.qb-preview { width: 160px; height: 120px; object-fit: cover; border-radius: 8px; background: #000; transform: scaleX(-1); }
.qb-preview[hidden] { display: none; }
.qb-camera-status { color: var(--text-soft); font-size: 14px; min-height: 1.4em; }

.qb-stage { padding-top: 52px; }
.qb-stim { width: 140px; height: 140px; visibility: hidden; }
.qb-stim.circle, .qb-stim.square { visibility: visible; }
