.choice-card {
  position: relative;
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgb(255 255 255 / 42%);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.choice-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-card:hover {
  transform: translateY(-2px);
}

.choice-card:has(input:focus-visible) {
  outline: 3px solid #4867ff;
  outline-offset: 3px;
}

.choice-card:has(input:checked) {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.choice-card:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.choice-card__index {
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", monospace;
  font-size: 9px;
}

.choice-card strong {
  margin-top: auto;
  font-size: 19px;
  letter-spacing: -0.04em;
}

.choice-card small {
  min-height: 54px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.choice-card:has(input:checked) small {
  color: #aaa9a4;
}

.choice-card__mark {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 10px;
  height: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.choice-card:has(input:checked) .choice-card__mark {
  border-color: var(--acid);
  background: var(--acid);
}

.choice-card--compact {
  min-height: 150px;
}

.choice-card--compact strong {
  font-size: 16px;
}

.choice-card--compact small {
  min-height: 0;
}
