/* Only the prepared-test screen owns this choice; player styles stay isolated. */
.test-interface-choice {
  min-width: 0;
  max-width: 760px;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  color: #f7f7f4;
}
.test-interface-choice > legend {
  display: block;
  margin: 0 0 13px;
  padding: 0;
  color: #e5e7e6;
  font: 550 14px/1.5 Inter, system-ui, sans-serif;
  letter-spacing: -.01em;
}
.test-interface-choice .interface-choice-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.test-interface-choice .interface-choice-option {
  display: block;
  position: relative;
  min-width: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.test-interface-choice .interface-choice-option > input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}
.test-interface-choice .interface-choice-card {
  --character-glow: #17392b;
  display: flex;
  align-items: center;
  position: relative;
  min-width: 0;
  min-height: 190px;
  height: 100%;
  padding: 18px 23px 18px 15px;
  gap: 19px;
  border: 1px solid #2b302d;
  border-radius: 18px;
  background: radial-gradient(ellipse at 23% 82%, color-mix(in srgb, var(--character-glow) 45%, transparent), transparent 66%), #090c0b;
  box-shadow: inset 0 1px 0 #ffffff04;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.test-interface-choice .interface-choice-card[data-interface-mode="nta"] {
  --character-glow: #453018;
}
.test-interface-choice .interface-choice-character {
  display: block;
  flex: 0 1 160px;
  width: 160px;
  height: 160px;
  min-width: 0;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
  transition: transform .3s ease;
}
.test-interface-choice .interface-choice-copy {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}
.test-interface-choice .interface-choice-copy > strong {
  display: block;
  color: #f7f8f5;
  font: 650 22px/1.3 Inter, system-ui, sans-serif;
  letter-spacing: -.04em;
}
.test-interface-choice .interface-choice-check {
  display: inline-grid;
  position: absolute;
  top: 15px;
  right: 15px;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid #4c514d;
  border-radius: 50%;
  color: transparent;
  font: 750 12px/1 Inter, system-ui, sans-serif;
}
.test-interface-choice .interface-choice-option:hover .interface-choice-card {
  border-color: #747a72;
}
.test-interface-choice .interface-choice-option:hover [data-interface-mode="helium"] .interface-choice-character {
  transform: translateY(-3px);
}
.test-interface-choice input:checked + .interface-choice-card {
  border-color: #f3a065;
  box-shadow: inset 0 0 0 1px #f3a06526, 0 4px 24px #0002;
}
.test-interface-choice input:checked + .interface-choice-card .interface-choice-check {
  background: #f3a065;
  border-color: #f3a065;
  color: #190f08;
}
.test-interface-choice input:focus-visible + .interface-choice-card {
  outline: 3px solid #ffd0aa;
  outline-offset: 4px;
}
.test-interface-choice input:disabled + .interface-choice-card {
  opacity: .65;
  cursor: wait;
}
@media (max-width: 900px) {
  .test-interface-choice .interface-choice-card {
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 17px 13px 19px;
  }
  .test-interface-choice .interface-choice-character {
    flex: 0 0 auto;
    width: 145px;
    height: 145px;
  }
  .test-interface-choice .interface-choice-copy { flex: 0 0 auto; }
  .test-interface-choice .interface-choice-copy > strong { font-size: 20px; }
}
@media (max-width: 540px) {
  .test-interface-choice { margin-bottom: 22px; }
  .test-interface-choice .interface-choice-options { gap: 12px; }
  .test-interface-choice .interface-choice-card {
    min-height: 186px;
    padding: 18px 8px 16px;
    border-radius: 15px;
  }
  .test-interface-choice .interface-choice-character {
    width: min(128px, 100%);
    height: 128px;
  }
  .test-interface-choice .interface-choice-copy > strong { font-size: 18px; }
  .test-interface-choice .interface-choice-check {
    top: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .test-interface-choice .interface-choice-card,
  .test-interface-choice .interface-choice-character { transition: none; }
  .test-interface-choice .interface-choice-option:hover .interface-choice-character { transform: none; }
}
@media (forced-colors: active) {
  .test-interface-choice .interface-choice-card { border-color: ButtonText; }
  .test-interface-choice input:checked + .interface-choice-card { outline: 2px solid Highlight; }
  .test-interface-choice input:checked + .interface-choice-card .interface-choice-check {
    background: Highlight;
    color: HighlightText;
    forced-color-adjust: none;
  }
}
