.stage::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: var(--reaction-accent, #8f79de);
}

.reaction-picker {
  border: 0;
  padding: 0;
  margin: 0 0 24px;
}

.reaction-picker legend {
  padding: 0;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
}

.duo-reaction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.duo-reaction-choice {
  --reaction-accent: #8f79de;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 70px;
  padding: 11px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  background: white;
  text-align: left;
}

.duo-reaction-choice:last-child {
  grid-column: 1 / -1;
}

.duo-reaction-choice:hover:not(:disabled) {
  border-color: var(--reaction-accent);
  background: color-mix(in srgb, var(--reaction-accent) 10%, white);
  box-shadow: 0 0 0 1px var(--reaction-accent);
}

.choice {
  width: 100%;
  background: white;
  text-align: left;
  min-height: 76px;
}

.choice:hover:not(:disabled) {
  background: #eee7ff;
  border-color: var(--purple);
}

.choice small { font-size: 14px; line-height: 1.4; }
.reaction-choice-copy small { font-size: 14px; }

@media (max-width: 740px) {
  .topbar { min-height: 64px; padding-block: 12px; }
  .stage { min-height: 0; padding: 12px 20px; }
  .scene { min-height: 110px; height: 130px; overflow: hidden; }
  .scene canvas { height: 130px; width: 100%; max-height: 130px; }
  .stage-caption { font-size: 18px; margin-bottom: 0; letter-spacing: -.4px; }
  .controls { padding: 20px; }
  .steps { margin-bottom: 16px; }
  .lead { margin-bottom: 16px; line-height: 1.45; }
  .choice { min-height: 76px; }
  body[data-view="done"] .scene { height: 190px; }
  body[data-view="done"] .scene canvas { height: 190px; max-height: 190px; }
}

.duo-reaction-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.duo-reaction-choice:focus-within {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

.reaction-symbol {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--reaction-accent) 18%, white);
  color: #3f344a;
  font-size: 22px;
  font-weight: 800;
}

.reaction-choice-copy {
  min-width: 0;
}

.reaction-choice-copy b {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.reaction-choice-copy small {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.controls h1:focus { outline: none; }

.pilot-links{display:flex;flex-wrap:wrap;gap:12px 24px;margin:16px 0;align-items:center}.pilot-links a{display:inline-flex;align-items:center;min-height:44px;color:inherit;text-decoration:underline;text-underline-offset:3px;font-size:14px}.pilot-summary{max-width:520px;line-height:1.6;font-size:15px;color:#625b70}footer .pilot-links{flex-basis:100%}
