.app-shell > .panel.choice-quiz {
  max-width: 900px !important;
  padding: clamp(16px, 3vw, 34px);
  color: var(--ink-strong, #102b4e);
  border-top-color: color-mix(in srgb, var(--bq-mode-accent) 62%, #d9e5f1);
}

.choice-quiz[hidden], .choice-quiz [hidden], .choice-result[hidden] { display: none !important; }

.choice-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-bottom: 14px;
}

.choice-heading h1 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: clamp(21px, 3.6vw, 32px);
  font-weight: 900;
  line-height: 1.2;
}

.choice-mode-icon { width: clamp(30px, 5vw, 42px); height: auto; aspect-ratio: 1; object-fit: contain; }
#choice-quiz-count { margin-inline-start: auto; font-size: clamp(13px, 2vw, 17px); font-variant-numeric: tabular-nums; }

.choice-intro {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 13px;
  min-height: clamp(125px, 24vh, 210px);
  text-align: center;
}

.choice-intro p { margin: 0; font-weight: 700; }
.choice-primary { min-height: 47px; min-width: min(100%, 186px); }

.choice-meter { display: flex; align-items: center; gap: 12px; min-height: 25px; }

#choice-quiz-progress {
  display: block;
  flex: 1;
  min-width: 0;
  height: 8px;
  overflow: hidden;
  appearance: none;
  border: 0;
  border-radius: 8px;
  background: #dae8f5;
  color: #2386e4;
}
#choice-quiz-progress::-webkit-progress-bar { background: #dae8f5; }
#choice-quiz-progress::-webkit-progress-value { background: #2386e4; border-radius: 8px; }
#choice-quiz-progress::-moz-progress-bar { background: #2386e4; border-radius: 8px; }

.choice-streak {
  flex: none;
  color: #ce203c;
  font-size: clamp(14px, 2.6vw, 17px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.choice-streak[data-level="2"] { font-size: clamp(16px, 3vw, 20px); }
.choice-streak[data-level="3"] { font-size: clamp(19px, 3.4vw, 24px); }

@media (prefers-reduced-motion: no-preference) {
  .choice-streak[data-pulse] { animation: choice-streak-pulse .3s ease-out both; }
  @keyframes choice-streak-pulse {
    0% { transform: scale(.86); opacity: .5; }
    55% { transform: scale(1.08); opacity: 1; }
    100% { transform: none; opacity: 1; }
  }
}

#choice-quiz-prompt {
  display: block;
  align-content: center;
  min-height: 3.5em;
  margin: 5px 0 16px;
  font-size: clamp(17px, 3vw, 26px);
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
  line-break: strict;
}

.choice-phrase {
  display: inline-block;
  max-inline-size: 100%;
  vertical-align: baseline;
  overflow-wrap: anywhere;
  line-break: strict;
}

.choice-player-name { color: #0d57a9; }

#choice-quiz-prompt:focus, #choice-quiz-review-title:focus { outline: 0; }

#choice-quiz-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.choice-quiz .choice-option {
  display: inline-block;
  min-width: 0;
  min-height: clamp(49px, 7.4vw, 62px);
  width: 100%;
  padding: 10px 13px;
  overflow-wrap: anywhere;
  white-space: normal;
  border: 2px solid #aac5e6;
  border-radius: 12px;
  background: #f2f8ff;
  color: #17385e;
  box-shadow: 0 3px 0 #d4e3f3;
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 800;
  line-height: 1.35;
}

@media (hover: hover) {
  .choice-quiz .choice-option:not(:disabled):hover { border-color: #2689e9; background: #e3f2ff; }
}
.choice-quiz .choice-option:focus-visible { outline: 2px solid #166bd0; outline-offset: 3px; }
.choice-quiz .choice-option:disabled { opacity: 1; transform: none; }
.choice-quiz .choice-option:disabled:not([data-feedback]) { box-shadow: none; color: #4f647e; }
.choice-quiz .choice-option[data-feedback="correct"] { border-color: #218855; background: #e3f7ec; color: #146041; box-shadow: 0 3px 0 #bddfcc; }
.choice-quiz .choice-option[data-feedback="incorrect"] { border-color: #cf4258; background: #ffedf0; color: #9e2a40; box-shadow: 0 3px 0 #ffd3da; }

.choice-standings {
  max-inline-size: 100%;
  inline-size: fit-content;
  margin-block-start: 10px;
  font-size: .79rem;
  color: #274768;
}
.choice-standings > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 36px;
  padding: 4px 9px;
  border-radius: 7px;
  color: #2d5d8c;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.choice-standings > summary::-webkit-details-marker { display: none; }
.choice-standings > summary::after {
  content: '';
  inline-size: 6px;
  block-size: 6px;
  border-inline-end: 1.8px solid currentColor;
  border-block-end: 1.8px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
}
.choice-standings[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.choice-standings > summary:is(:active, :focus-visible) { background: #eaf3fc; }
@media (hover: hover) {
  .choice-standings > summary:hover { background: #eaf3fc; }
}
.choice-standings-body {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 16px;
  width: 280px;
  max-width: 100%;
  padding: 8px 12px 10px;
  border: 1px solid #d3e0ef;
  border-radius: 9px;
  background: #fff;
}
.choice-standings-season { grid-column: 1 / -1; font-size: .7rem; color: #506a84; }
.choice-standings-body h3 { margin: 0 0 2px; font-size: 1em; }
.choice-standings-body ul { padding: 0; margin: 0; list-style: none; }
.choice-standings-body li { display: flex; align-items: baseline; gap: 6px; line-height: 1.55; }
.choice-standings-rank { flex: 0 0 2.1em; font-weight: 700; font-variant-numeric: tabular-nums; }

.choice-feedback {
  display: flex;
  align-items: baseline;
  gap: 6px 12px;
  margin: 14px 0 10px;
  color: #344f6a;
  line-height: 1.5;
  font-size: clamp(13px, 2vw, 16px);
}
.choice-feedback strong { flex: none; font-size: 1.15em; font-weight: 900; }
.choice-feedback > span { min-width: 0; }
.choice-feedback[data-feedback="correct"] strong { color: #146041; }
.choice-feedback[data-feedback="incorrect"] strong { color: #9e2a40; }
#choice-quiz-next { display: flex; margin-inline-start: auto; }

.choice-result { scroll-margin-top: 10px; }
.choice-result .result-answer-card__group-title { justify-self: start; text-align: start; }
.choice-result .result-answer-card__facts { display: block; }
.choice-review { display: grid; gap: 8px; width: 100%; padding: 0; margin: 0; list-style: none; text-align: start; }
.choice-review-item { display: grid; gap: 5px; border: 1px solid #cfdeed; border-inline-start-width: 4px; border-radius: 8px; background: #fff; padding: 8px 10px; overflow-wrap: anywhere; }
.choice-review-item[data-feedback="correct"] { border-inline-start-color: #218855; }
.choice-review-item[data-feedback="incorrect"] { border-inline-start-color: #cf4258; }
.choice-review-item h3 { margin: 0; font-size: .95rem; line-height: 1.4; }
.choice-review-item h3 b { color: #155ca7; }
.choice-review-item dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 11px; margin: 0; }
.choice-review-item dt { font-size: .74rem; color: #506780; }
.choice-review-item dd { margin: 0; font-size: .85rem; font-weight: 750; }
.choice-review-item p { margin: 0; color: #435e79; font-size: .78rem; line-height: 1.45; }

@media (max-width: 580px) and (orientation: portrait) {
  #choice-quiz-options { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  #choice-quiz-prompt { min-height: 3em; }
  #choice-quiz-next { width: 100%; }
}

@media (max-width: 900px) {
  .choice-result .result-summary-card { grid-row: 1; }
}
