.hero.sports-ready { background-image: var(--sport-background); }
.hero.sports-ready .hero-copy { z-index: 3; }
.playfield { position: absolute; z-index: 2; left: 47%; right: 2%; top: 32%; bottom: 96px; overflow: hidden; touch-action: pan-y; }
.playfield[hidden], .sports-selector[hidden] { display: none; }
.playfield:focus-visible { outline: 3px solid var(--blue); outline-offset: -4px; }
.hero.sports-ready .scene-note { pointer-events: none; z-index: 3; }
.athlete { position: absolute; width: 220px; height: 220px; transform-origin: center bottom; pointer-events: none; }
.runner-sprite { width: 100%; height: 100%; background: var(--player-sheet) 0 0 / 400% 200% no-repeat; }
.athlete::after { content: ''; position: absolute; left: 26%; bottom: 6%; width: 48%; height: 5%; background: #14231c33; border-radius: 50%; z-index: -1; }
.hockey-stick { display: none; position: absolute; width: 5px; height: 58%; left: 60%; top: 33%; background: #f4d66b; border: 1px solid var(--ink); transform: rotate(-10deg); transform-origin: top center; border-radius: 2px; }
.hockey-stick::after { content: ''; position: absolute; bottom: -4px; right: -1px; width: 22px; height: 10px; border: 4px solid #f4d66b; border-top: 0; border-radius: 0 0 12px 12px; }
[data-sport='hockey'] .hockey-stick { display: none; }
.sport-ball { position: absolute; width: 32px; height: 32px; pointer-events: none; filter: drop-shadow(0 3px 2px #14231c66); z-index: 4; }
.sport-ball svg { width: 100%; height: 100%; display: block; }
.sports-selector { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; padding: 18px 5%; background: white; border-top: 2px solid var(--ink); }
#scene-title { min-width: 110px; font-size: 18px; }
#scene-play { margin-left: auto; min-height: 44px; padding: 10px 16px; background: white; color: var(--ink); border: 1px solid var(--ink); border-radius: 4px; font-weight: 700; cursor: pointer; }
#scene-play:hover { background: var(--lime); }
#scene-play:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
#scene-play:disabled { cursor: default; }
.sport-options { display: flex; flex-wrap: wrap; padding: 0; margin: 0; border: 0; gap: 4px; }
.sport-options label { position: relative; cursor: pointer; }
.sport-options input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.sport-options span { display: block; padding: 12px 14px; border-bottom: 3px solid transparent; font-size: 14px; font-weight: 700; }
.sport-options input:checked + span { border-color: var(--blue); color: var(--blue); background: #edf1ff; }
.sport-options input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 1px; }
.sport-rotation { display: flex; gap: 8px; align-items: center; font-size: 12px; cursor: pointer; min-height: 44px; }
.sport-rotation input { width: 18px; height: 18px; accent-color: var(--blue); }
.sport-rotation input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sports-scope { width: 100%; margin: 0; font-size: 11px; color: #4b5c50; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .playfield.pointer-active { cursor: none; }
}
@media (max-width: 1000px) {
  .playfield { left: 0; right: 0; top: auto; height: 245px; bottom: 55px; }
  .hero.sports-ready { background-size: auto 310px; }
  .sports-selector { padding: 12px 22px; gap: 8px 20px; }
  .sport-options { width: 100%; justify-content: space-between; gap: 0; }
  .sport-options span { padding: 12px 6px; font-size: 12px; }
}
@media (max-width: 1000px) and (max-height: 740px) {
  .playfield { height: 170px; bottom: 42px; }
  .hero.sports-ready { background-size: auto 220px; }
}
@media (max-width: 559px) and (max-height: 740px) {
  .hero.sports-ready { min-height: 474px; }
}
@media (min-width: 560px) and (max-width: 1000px) and (max-height: 500px) {
  .playfield { left: 55%; height: 170px; bottom: 40px; }
  .hero.sports-ready { background-size: auto 255px; }
}
@media (prefers-reduced-motion: reduce) {
  .playfield.pointer-active { cursor: default; }
}
