/* Targeted visual layer: keeps the existing layout and brand typography. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.quick-practice {
  background: none;
  border: 0;
  color: #c6b2e1;
  margin-left: 16px;
  padding: 15px 0;
  font-size: 14px;
  min-height: 48px;
}
.quick-practice:hover {
  color: #f4c5e7;
}
:root {
  --bg: #070b1a;
  --panel: #10172a;
  --line: #26314b;
  --muted: #a0aec5;
  --pink: #f18cce;
  --purple: #8b5cf6;
  --blue: #3b82f6;
  --green: #61e6ac;
  --red: #ff8494;
  --brand-gradient: linear-gradient(115deg, #7c3aed, #a83ddd 58%, #dc388c);
}
body {
  background:
    radial-gradient(ellipse at 65% 6%, #7c3aed1c, transparent 42%),
    radial-gradient(ellipse at 0% 55%, #3b82f60c, transparent 45%), var(--bg);
  color: #f8fafc;
}
button,
a {
  transition:
    transform 0.15s,
    background 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
button:active,
a.primary:active {
  transform: scale(0.975);
}
.primary {
  background: var(--brand-gradient);
  color: white;
  box-shadow: 0 6px 30px #7c3aed25;
  border: 1px solid #ce83ff4d;
  min-height: 50px;
}
.primary:hover {
  box-shadow: 0 8px 32px #a83ddd45;
  filter: brightness(1.1);
}
.brand b {
  background: var(--brand-gradient);
  color: white;
}
.intro h1 em,
.page-head h1 em {
  background: linear-gradient(110deg, #ad87ff, #f078c9);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.intro .primary {
  min-width: 220px;
}
nav a.active {
  color: white;
  position: relative;
}
nav a.active:after {
  content: "";
  position: absolute;
  height: 2px;
  left: 0;
  right: 0;
  bottom: -14px;
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  border-radius: 2px;
}
.daily-banner {
  background: linear-gradient(105deg, #29174699, #131d34);
  border-color: #7952a16b;
  box-shadow: 0 12px 40px #0002;
}
.calendar {
  background: #8b5cf61c;
  border-color: #895ad58f;
  color: #d9b4ff;
}
.metrics .streak {
  color: #f9a2cf !important;
}
.outline {
  border-color: #69498c;
  background: #ad78f80a;
  color: #f4e7ff;
  min-height: 46px;
}
.outline:hover {
  background: #8b5cf61f;
  border-color: #bf88fa;
}
.sport.live {
  background: linear-gradient(125deg, #342050, #171e35);
  border-color: #9960d8;
}
.sport.live:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px #7c3aed22;
}
.sport-icon {
  color: #bb96ff;
}
.demo-card {
  background: radial-gradient(ellipse at 50% 40%, #6f388a70, transparent 80%), #11192b;
  border-color: #955caa80;
}
.demo-card:nth-child(2) {
  background: radial-gradient(ellipse at 50% 40%, #3357a170, transparent 80%), #11192b;
  border-color: #536bae80;
}
.vs {
  background: linear-gradient(135deg, #9861ee, #e865b4);
  color: #fff;
  box-shadow: 0 0 24px #b36bff32;
  font-style: italic;
}
.mode {
  position: relative;
  padding: 20px 14px;
  min-height: 160px;
  text-align: left;
  background: linear-gradient(145deg, #151d33, #0d1427);
  border-color: #29344d;
}
.mode b {
  font-size: 25px;
  text-transform: uppercase;
}
.mode small {
  font-size: 13px;
  line-height: 1.45;
  max-width: 145px;
}
.mode-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #8b5cf61b;
  color: #c7a8ff;
  border-radius: 8px;
  margin-bottom: 15px;
  font-weight: 800;
}
.mode:hover:not(.selected) {
  border-color: #745197;
  transform: translateY(-2px);
}
.selected {
  border-color: #bc7ef2 !important;
  background: linear-gradient(130deg, #51256e80, #35255280) !important;
  color: #fce9ff !important;
  box-shadow: inset 0 0 25px #9d58e51a;
}
.mode.selected:after {
  content: "✓";
  position: absolute;
  right: 12px;
  top: 14px;
  color: #f4b4ed;
  font-size: 16px;
}
.difficulty-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.difficulty-options button {
  text-align: left;
  padding: 15px 12px;
}
.difficulty-options b {
  display: block;
  margin: 5px 0 7px;
}
.difficulty-options small {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: #a6b3c9;
}
.difficulty-meter {
  font-size: 12px;
  letter-spacing: 2px;
  color: #c698ff;
}
.difficulty-meter i {
  font-style: normal;
  color: #3b415a;
}
.difficulty-options button:disabled:not(.selected) {
  opacity: 0.6;
}
.stat-options {
  gap: 8px;
}
.stat-options button {
  flex: 0 1 auto;
  padding: 11px 16px;
  min-height: 44px;
}
.playing {
  padding-top: 28px;
}
.scorebar {
  max-width: 910px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 20px;
  min-height: 42px;
}
.game-context {
  font-size: 13px;
}
.score-number {
  display: inline-block;
  color: white;
  font-size: 19px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.score-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
}
.streak-chip {
  display: inline-flex;
  gap: 5px;
  padding: 7px 10px;
  border: 1px solid #a74e9a55;
  border-radius: 8px;
  background: #ad347d16;
  color: #f6a7d4;
  font-weight: 700;
  min-width: 49px;
}
.question-count {
  font-size: 12px;
  white-space: nowrap;
}
.scorebar .back {
  min-height: 44px;
  padding-left: 0;
  font-size: 13px;
}
.progress {
  max-width: 910px;
  margin: 12px auto 22px;
  height: 4px;
}
.progress div {
  background: linear-gradient(90deg, #7c3aed, #dc4aac 72%, #5795ff);
  box-shadow: 0 0 12px #bc56e0;
  transition: width 0.22s ease-out;
}
.question {
  margin-bottom: 22px;
}
.question h1 {
  font-size: 26px;
  margin: 10px 0 5px;
  color: #abb6cc;
}
.question h2 {
  font-size: 48px;
  text-transform: uppercase;
}
.question .eyebrow {
  font-size: 11px;
}
.question p {
  font-size: 12px;
  margin: 9px 0;
  color: #a4b2c8;
}
.arena {
  max-width: 910px;
  gap: 32px;
}
.athlete {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 435px;
  padding: 0 25px 22px;
  border-radius: 17px;
  background:
    radial-gradient(ellipse at 50% 38%, #673b926b, transparent 65%),
    linear-gradient(155deg, #1a2039, #0e1527);
  border: 1px solid #72559180;
  box-shadow: 0 15px 40px #0002;
  isolation: isolate;
}
.athlete:nth-child(3),
.athlete:nth-child(2) {
  background:
    radial-gradient(ellipse at 50% 38%, #345b9b6b, transparent 65%),
    linear-gradient(155deg, #17253e, #0e1527);
  border-color: #50699980;
}
.athlete:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, #b482ff13, transparent 50%);
  pointer-events: none;
}
.athlete:hover:not(:disabled) {
  transform: translateY(-4px);
  border-color: #cf9cff;
  box-shadow: 0 16px 45px #7c3aed20;
}
.athlete:active:not(:disabled) {
  transform: scale(0.98);
}
.card-topline {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
  padding-top: 9px;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #b3bed4;
  z-index: 2;
}
.choice-badge {
  font-size: 10px;
  letter-spacing: 1px;
  color: #cab8e4;
}
.athlete.was-picked .choice-badge {
  color: white;
}
.athlete.winner .choice-badge {
  color: var(--green);
}
.athlete.wrong .choice-badge {
  color: var(--red);
}
.athlete-image {
  width: 100%;
  height: 242px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  isolation: isolate;
}
.athlete-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.16s ease;
  z-index: 1;
}
.athlete-image.image-loaded img {
  opacity: 1;
}
.athlete-image:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 26%;
  background: linear-gradient(transparent, #11192b);
  z-index: 2;
  pointer-events: none;
}
.image-placeholder {
  position: absolute;
  inset: 14% 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #9b7bc940;
  border-radius: 50%;
  background: radial-gradient(ellipse at 35% 25%, #7943b34d, #23457830 70%);
  box-shadow: inset 0 0 35px #a86fe416;
  transition: opacity 0.12s;
}
.image-placeholder span {
  font:
    800 82px/0.95 "Barlow Condensed",
    sans-serif;
  color: #c9b2ec;
  letter-spacing: 1px;
}
.image-placeholder small {
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 13px;
  color: #a994cd;
}
.image-loaded .image-placeholder {
  opacity: 0;
}
.hero-photo {
  height: 190px;
  margin: 6px auto 0;
}
.hero-photo:after {
  background: linear-gradient(transparent, #141a2b);
  height: 12%;
}
.hero-photo .image-placeholder span {
  font-size: 70px;
}
.athlete-details {
  position: relative;
  z-index: 3;
  min-height: 66px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 100%;
}
.athlete h3 {
  font-size: 36px;
  line-height: 1.02;
  margin: 2px 0 9px;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.athlete small {
  font-size: 12px;
  color: #aebbd1;
}
.athlete-details small span {
  padding: 0 7px;
  color: #6b7791;
}
.value {
  min-height: 70px;
  margin: 7px 0 0;
  font-size: 47px;
  line-height: 1;
  color: #e4c3ff;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}
.value small {
  display: block;
  font:
    600 10px "DM Sans",
    sans-serif;
  letter-spacing: 1.8px;
  margin-top: 9px;
  color: #bea6d6;
}
.value-reveal {
  animation: value-rise 0.22s ease-out;
}
.winner {
  border: 1px solid #5de2a9 !important;
  box-shadow:
    0 0 0 1px #5de2a92a,
    0 0 35px #4ee9a326 !important;
  background: radial-gradient(ellipse at 50% 40%, #1684543f, transparent 80%), #111d2c !important;
}
.winner .value {
  color: #7ef3bb;
}
.wrong {
  border: 1px solid #fb7185 !important;
  box-shadow: 0 0 28px #fa47621c !important;
  animation: shake 0.24s;
}
.was-picked:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  animation: result-flash 0.25s ease-out;
}
.winner.was-picked:after {
  background: #54e5a90c;
}
.wrong:after {
  background: #ff52790d;
}
.feedback {
  max-width: 910px;
  height: 83px;
  margin: auto;
  padding: 15px 0;
}
.feedback-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.feedback b {
  font-size: 17px;
  margin: 0;
}
.feedback #next {
  min-height: 38px;
  padding: 8px 18px;
  color: #bdc7da;
}
.record-inline,
.close-call {
  font-size: 12px;
  color: #f6a7de;
  background: #b44ab11a;
  padding: 5px 10px;
  border-radius: 5px;
}
.record-inline {
  animation: best-pulse 0.4s ease-out;
}
.round-enter {
  animation: round-in 0.18s ease-out;
}
.score-bump,
.streak-pulse {
  animation: score-bump 0.25s ease-out;
}
.summary {
  background:
    radial-gradient(ellipse at 50% 0, #62287225, transparent 65%),
    linear-gradient(145deg, #151d33, #0e1425);
  max-width: 600px;
  padding: 28px 35px;
  border-color: #73498580;
  box-shadow: 0 25px 70px #0003;
}
.record-summary {
  border-color: #db79d9;
  box-shadow: 0 0 45px #ad52e41a;
}
.record-banner {
  color: #f9b1dd;
  font-size: 13px;
  letter-spacing: 1.6px;
  font-weight: 800;
  background: linear-gradient(100deg, #8b5cf623, #ec489923);
  border: 1px solid #da74d23a;
  border-radius: 7px;
  padding: 11px;
  margin: 20px 0 0;
  animation: best-pulse 0.45s ease-out;
}
.bigscore {
  margin: 16px 0 5px;
  color: #f2dbff;
  font-size: 98px;
}
.score-denominator {
  font-size: 36px;
  color: #8f9eb8;
}
.summary > p {
  font-size: 14px;
  margin-bottom: 15px;
}
.results {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  letter-spacing: 0;
  margin: 20px auto;
  max-width: 440px;
}
.result-tile {
  aspect-ratio: 1;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 16px;
}
.tile-correct {
  color: #8bf4bf;
  background: #1b664044;
  border: 1px solid #57d9934a;
}
.tile-wrong {
  color: #ffa6b5;
  background: #772d413b;
  border: 1px solid #fc748642;
}
.summary-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #2e3551;
  border-bottom: 1px solid #2e3551;
  padding: 18px 0;
  margin: 20px 0;
}
.summary-metrics strong {
  display: block;
  font-size: 23px;
}
.summary-metrics span {
  display: block;
  font-size: 11px;
  color: #a4b1c6;
  margin-top: 6px;
}
.summary .share-primary {
  width: 100%;
  margin: 0;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 1px;
}
.share-primary span {
  font-size: 20px;
}
.summary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.summary-actions .outline {
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.summary-links {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #a7b6cb;
  margin-top: 22px;
}
.summary-links a {
  min-height: 35px;
  display: flex;
  align-items: center;
}
.stat-card {
  background: linear-gradient(145deg, #151d33, #0f1526);
}
.stat-card strong {
  color: #d8b8fc;
}
.how-steps {
  padding: 0;
  list-style: none;
  counter-reset: steps;
  display: grid;
  gap: 12px;
  margin: 20px 0 35px;
}
.how-steps li {
  counter-increment: steps;
  padding: 17px;
  background: #131c31;
  border: 1px solid #2f3a55;
  border-radius: 10px;
  display: flex;
  gap: 15px;
  align-items: center;
}
.how-steps li:before {
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex-shrink: 0;
  background: #8b5cf627;
  color: #d5b5fa;
  border-radius: 7px;
  font-weight: 800;
}
.data-details {
  margin-bottom: 30px;
}
.data-details > summary {
  cursor: pointer;
  padding: 16px 0;
  color: #c8b5e2;
  border-bottom: 1px solid #29334a;
}
.data-details p {
  font-size: 14px;
}
.data-details h2 {
  font-size: 20px;
}
@keyframes round-in {
  from {
    opacity: 0.4;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes value-rise {
  from {
    opacity: 0.3;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes score-bump {
  40% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes best-pulse {
  40% {
    box-shadow: 0 0 22px #ec48994a;
    transform: scale(1.025);
  }
  100% {
    transform: none;
  }
}
@keyframes result-flash {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@media (max-width: 700px) {
  header {
    padding: 0 18px;
    height: 65px;
  }
  .brand {
    font-size: 20px;
  }
  nav {
    gap: 14px;
  }
  .home-top {
    gap: 6px;
  }
  .intro h1 {
    font-size: 68px;
  }
  .hero-photo {
    height: 145px;
  }
  .demo-card {
    padding: 12px 8px;
  }
  .demo-card h3 {
    font-size: 24px;
  }
  .demo-card p {
    font-size: 11px;
  }
  .demo-card .eyebrow {
    font-size: 10px;
    letter-spacing: 1.7px;
  }
  .demo-card .mystery {
    font-size: 30px;
  }
  .home-top {
    margin-bottom: 35px;
  }
  .metrics {
    margin-right: 0;
  }
  .daily-banner {
    gap: 12px;
  }
  .daily-copy {
    min-width: 200px;
  }
  .daily-copy h3 {
    font-size: 16px;
  }
  .section-title span {
    font-size: 10px;
  }
  .mode {
    min-height: 133px;
    padding: 14px;
  }
  .mode-symbol {
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
  }
  .mode b {
    font-size: 24px;
  }
  .mode small {
    font-size: 12px;
    max-width: none;
  }
  .difficulty-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .difficulty-options button {
    padding: 12px;
  }
  .difficulty-options b {
    font-size: 14px;
    margin: 4px 0;
  }
  .difficulty-options small {
    font-size: 11px;
  }
  .stat-options button {
    padding: 10px 13px;
    font-size: 12px;
  }
  .setup .label {
    margin-top: 23px;
  }
  .playing {
    padding: 12px 15px 15px;
    min-height: calc(100svh - 65px);
  }
  .scorebar {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    row-gap: 3px;
    max-width: 500px;
  }
  .scorebar .back {
    font-size: 11px;
    min-height: 33px;
    padding: 6px 0;
  }
  .scorebar .game-context {
    font-size: 11px;
    text-align: right;
  }
  .question-count {
    font-size: 10px;
    align-self: center;
  }
  .score-cluster {
    justify-content: flex-end;
    gap: 9px;
  }
  .score-number {
    font-size: 16px;
  }
  .streak-chip {
    padding: 4px 7px;
    font-size: 12px;
    min-width: 43px;
  }
  .progress {
    margin: 10px auto 16px;
  }
  .question {
    margin-bottom: 16px;
  }
  .question h1 {
    font-size: 19px;
    margin: 7px 0 5px;
  }
  .question h2 {
    font-size: 34px;
    line-height: 1;
  }
  .question .eyebrow {
    font-size: 10px;
    letter-spacing: 1.6px;
  }
  .question p {
    font-size: 10px;
    line-height: 1.3;
    margin: 9px 0 0;
  }
  .arena {
    grid-template-columns: 1fr;
    gap: 17px;
    max-width: 500px;
  }
  .athlete {
    display: grid;
    grid-template-columns: 40% 1fr;
    grid-template-rows: 27px 1fr auto;
    align-items: center;
    min-height: 171px;
    height: 171px;
    padding: 0 14px 13px;
    column-gap: 9px;
    text-align: left;
    overflow: hidden;
  }
  .card-topline {
    grid-column: 2;
    grid-row: 1;
    min-height: 0;
    padding: 0;
    font-size: 9px;
    letter-spacing: 1px;
  }
  .choice-badge {
    font-size: 8px;
    letter-spacing: 0.4px;
  }
  .athlete-image {
    grid-row: 1 / 4;
    grid-column: 1;
    height: 164px;
    width: calc(100% + 22px);
    margin-left: -14px;
    align-self: end;
  }
  .athlete-image img {
    object-position: center bottom;
  }
  .athlete-image:after {
    height: 13%;
  }
  .athlete-details {
    grid-row: 2;
    grid-column: 2;
    min-height: 0;
    align-self: end;
    max-width: 100%;
  }
  .athlete h3 {
    font-size: 29px;
    line-height: 0.98;
    margin: 0 0 8px;
  }
  .athlete-details small {
    font-size: 10px;
    line-height: 1.3;
  }
  .athlete-details small span {
    padding: 0 3px;
  }
  .value {
    grid-row: 3;
    grid-column: 2;
    align-items: flex-start;
    min-height: 38px;
    font-size: 33px;
    line-height: 1;
    margin: 8px 0 0;
  }
  .value small {
    font-size: 8px;
    letter-spacing: 0.8px;
    margin-top: 5px;
  }
  .image-placeholder {
    inset: 23% 10% 17%;
    border-radius: 15px;
  }
  .image-placeholder span {
    font-size: 54px;
  }
  .image-placeholder small {
    font-size: 7px;
    letter-spacing: 1px;
    margin-top: 10px;
  }
  .arena .vs {
    top: 50%;
    height: 37px;
    width: 37px;
    font-size: 14px;
    border-width: 5px;
    box-shadow: 0 0 15px #bb6be82b;
  }
  .feedback {
    height: 70px;
    padding: 13px 0;
  }
  .feedback b {
    font-size: 15px;
  }
  .feedback-line {
    gap: 8px;
  }
  .record-inline,
  .close-call {
    font-size: 10px;
    padding: 4px 6px;
  }
  .feedback #next {
    font-size: 11px;
    padding: 6px 14px;
    min-height: 32px;
  }
  .summary {
    padding: 24px 20px;
  }
  .summary .eyebrow {
    font-size: 10px;
  }
  .page-head {
    margin: 6px 0 23px;
  }
  .page-head h1 {
    font-size: 47px;
  }
  .bigscore {
    font-size: 86px;
  }
  .score-denominator {
    font-size: 27px;
  }
  .summary-metrics strong {
    font-size: 19px;
  }
  .summary-metrics span {
    font-size: 10px;
  }
  .results {
    gap: 5px;
  }
  .result-tile {
    font-size: 13px;
  }
  .record-banner {
    font-size: 11px;
  }
  .hero-photo {
    grid-row: auto;
    grid-column: auto;
    margin: 0;
    width: 100%;
    height: 145px;
  }
  .hero-photo .image-placeholder {
    inset: 15%;
  }
  .hero-photo .image-placeholder span {
    font-size: 62px;
  }
  footer {
    padding: 20px 18px;
  }
  body:has(.playing) footer {
    display: none;
  }
}
@media (max-width: 350px) {
  header {
    padding: 0 12px;
  }
  nav {
    gap: 10px;
    font-size: 11px;
  }
  .brand {
    font-size: 18px;
  }
  .playing {
    padding-left: 12px;
    padding-right: 12px;
  }
  .athlete h3 {
    font-size: 26px;
  }
  .athlete {
    grid-template-columns: 38% 1fr;
    padding-right: 11px;
  }
  .question h2 {
    font-size: 31px;
  }
  .summary {
    padding: 22px 15px;
  }
  .summary-metrics strong {
    font-size: 17px;
  }
}
@media (max-width: 700px) {
  .value:not(.value-reveal) small {
    display: none;
  }
  .value-reveal small {
    font-size: 10px;
  }
  .athlete-details small {
    font-size: 11px;
  }
  .card-topline {
    font-size: 10px;
  }
  .choice-badge {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Fast milestone feedback within the existing violet/pink identity. */
.heat-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  margin-left: 7px;
}
.heat-1 {
  border-color: #8b5cf680;
}
.heat-2 {
  background: #7c3aed30;
  box-shadow: 0 0 16px #8b5cf622;
}
.heat-3 {
  background: linear-gradient(110deg, #7c3aed40, #ec489930);
  box-shadow: 0 0 20px #ec489925;
}
.heat-4 {
  background: linear-gradient(110deg, #7c3aed60, #ec489940);
  box-shadow: 0 0 22px #ec489938;
  color: #fff;
}
.choice-insight:not([hidden]) {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 10px auto;
  font-size: 13px;
  color: #cbd5e1;
  animation: insight-in 0.16s ease-out;
}
.choice-insight strong {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #c4b5fd;
}
.choice-insight small {
  color: #94a3b8;
  font-size: 11px;
}
.perfect-summary {
  position: relative;
  overflow: hidden;
  border-color: #b075f2;
  background: radial-gradient(ellipse at 50% 0%, #7c3aed38, transparent 65%), #10172a;
  box-shadow:
    0 0 42px #8b5cf61c,
    0 0 80px #ec489911;
  animation: perfect-arrival 0.55s ease-out;
}
.flawless-emblem {
  color: #e9d5ff;
  font-size: 42px;
  line-height: 1;
  margin: 14px auto 6px;
  text-shadow: 0 0 22px #ec4899;
}
.perfect-summary .flawless {
  letter-spacing: 0.18em;
  color: #f5d0fe;
}
.perfect-summary .personal-best {
  font-size: 11px;
  margin-top: 6px;
  color: #c4b5fd;
}
@keyframes perfect-arrival {
  from {
    box-shadow: 0 0 70px #ec48994d;
    transform: translateY(5px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes insight-in {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 600px) {
  .heat-label {
    font-size: 8px;
    margin-left: 4px;
  }
  .choice-insight small {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .perfect-summary,
  .choice-insight:not([hidden]) {
    animation: none;
  }
}
