html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #251810;
}
#app {
  padding: 0;
}
.exploration-shell {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
}
.exploration-header {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 8px 16px;
  background: #191c30;
}
.exploration-header > strong {
  letter-spacing: 0.08em;
  white-space: nowrap;
}
#audio-toggle {
  min-height: 36px;
  white-space: nowrap;
  font-size: .82rem;
}
#exploration-hud {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}
.mini-resource {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 10px;
  text-transform: capitalize;
  flex: 1;
  font-size: 1rem;
}
.mini-resource progress {
  grid-column: 1 / -1;
  height: 6px;
  color: #ffcd79;
}
.mini-resource:nth-child(3) progress {
  color: #8cdaf4;
}
.mini-resource:nth-child(4) progress {
  color: #91dfba;
}
.sol-badge {
  color: #ffd08a;
  white-space: nowrap;
}
.resource-danger {
  color: #ff9c87;
}
.crew-picker {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 6px;
}
.crew-picker button {
  padding: 4px 12px;
  min-height: 44px;
}
.crew-picker [aria-pressed="true"] {
  background: #ffd08a;
  color: #271b23;
}
.map-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
#expedition-map {
  display: block;
  max-height: 100%;
  max-width: 100%;
  width: min(100vw, calc((100dvh - 245px) * 1.4286));
  height: auto;
  aspect-ratio: 320 / 224;
  image-rendering: pixelated;
  border: 3px solid #f58a1f;
  touch-action: none;
  background: #a9552a;
}
#expedition-map:focus-visible {
  outline: 2px solid #8cdaf4;
  outline-offset: -5px;
}
.game-message {
  padding: 4px 16px;
  background: #191c30;
}
.game-message p {
  margin: 0;
  font-size: 1rem;
  min-height: 26px;
}
.exploration-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: #101323;
}
.direction-pad {
  display: grid;
  grid-template-columns: repeat(3, 48px);
  grid-template-rows: repeat(2, 44px);
  gap: 3px;
}
.direction-pad button {
  padding: 0;
  text-align: center;
  min-height: 44px;
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.direction-pad button:first-child {
  grid-column: 2;
}
.direction-pad button:nth-child(2) {
  grid-column: 1;
}
.control-help {
  color: #b7bdd5;
}
.decision-overlay {
  position: absolute;
  top: 90px;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, calc(100% - 24px));
  overflow: auto;
  box-shadow: 0 0 0 100vmax #080b14b0;
  z-index: 10;
}
.decision-overlay.is-idle {
  display: none;
}
.decision-overlay h2 {
  font-size: 1.3rem;
}
.decision-overlay .choice-list {
  margin: 12px 0;
}
.decision-overlay .science-explanation {
  margin: 12px 0;
}
@media (max-width: 700px) {
  .exploration-header {
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 10px;
  }
  .exploration-header > strong {
    font-size: 1rem;
  }
  #exploration-hud {
    flex-basis: 100%;
    gap: 10px;
  }
  .mini-resource {
    font-size: 1rem;
  }
  .control-help {
    display: none;
  }
  .exploration-controls {
    gap: 5px;
    padding: 6px;
  }
  .exploration-controls > button {
    padding: 8px;
    max-width: 100px;
  }
  .crew-picker {
    gap: 4px;
  }
  .crew-picker button {
    padding: 4px 8px;
  }
  .game-message {
    max-height: 80px;
    overflow: auto;
  }
  .decision-overlay {
    top: 110px;
    bottom: 110px;
    padding: 18px;
  }
  .sol-badge {
    font-size: 1rem;
  }
}

/* Main-game accessibility and decision overlays. */
html,
body {
  overflow: auto;
}
.exploration-shell {
  height: auto;
  min-height: 100dvh;
}
.map-stage {
  height: max(224px, calc(100dvh - 270px));
  flex: none;
}
.mini-resource {
  grid-template-columns: 24px minmax(0, 1fr) auto;
}
.mini-resource .resource-icon {
  width: 24px;
  height: 24px;
}
.exploration-header {
  flex-wrap: wrap;
}
#exploration-hud {
  min-width: 0;
  flex-wrap: wrap;
}
.mini-resource {
  min-width: 140px;
}
.decision-overlay {
  position: fixed;
  transform: none;
  inset: 16px;
  margin: auto;
  width: min(600px, calc(100% - 32px));
  height: fit-content;
  max-height: calc(100dvh - 32px);
  box-shadow: none;
  color: #eeeef7;
}
.decision-overlay::backdrop {
  background: #080b14bd;
}
.decision-overlay:not([open]) {
  display: none;
}
.decision-overlay .panel {
  border: 0;
  padding: 0;
  box-shadow: none;
}
.decision-overlay h1 {
  font-size: 2rem;
}
.control-help {
  white-space: normal;
}
@media (max-width: 700px) {
  .control-help {
    display: block;
    font-size: 1rem;
    flex-basis: 100%;
    text-align: center;
  }
  .exploration-controls {
    flex-wrap: wrap;
  }
  #expedition-map {
    width: 100%;
    height: auto;
    max-height: 100%;
  }
  .mini-resource {
    min-width: 100px;
  }
  .mini-resource strong {
    font-size: 1rem;
  }
}

.crew-picker button {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.crew-portrait {
  display: block;
  width: 32px;
  height: 32px;
  background: url("assets/images/characters/astronauts/crew-helmet-sprites-1x.png")
    0 calc(32px * var(--crew-row)) / 384px 128px;
  image-rendering: pixelated;
}
.astronaut-selection {
  border: 0;
  margin: 18px 0;
  padding: 0;
}
.language-selection {
  border: 0;
  margin: 12px 0;
  padding: 0;
}
.language-selection legend {
  margin-bottom: 8px;
  font-weight: 700;
}
.language-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.language-options button[aria-pressed="true"] {
  background: #ffd08a;
  color: #271b23;
  outline: 3px solid #fff3aa;
}
.astronaut-selection legend {
  margin-bottom: 10px;
  font-weight: 700;
}
.astronaut-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.astronaut-option {
  display: flex;
  min-width: 0;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.astronaut-option[aria-pressed="true"] {
  background: #ffd08a;
  color: #271b23;
  outline: 3px solid #fff3aa;
}
.mini-resource progress {
  grid-column: 1 / -1;
}
@media (max-width: 700px) {
  .astronaut-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .crew-picker button {
    flex: 1;
    min-width: 0;
    padding: 4px;
    font-size: 1rem;
  }
  .crew-portrait {
    flex-shrink: 0;
  }
  .crew-picker {
    width: 100%;
  }
  .map-stage {
    min-height: 224px;
  }
}
/* Let enlarged content scroll in the document, rather than nested body scrollers. */
html {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}
body {
  height: auto;
  min-height: 100dvh;
  overflow: visible;
}
.map-stage {
  height: auto;
  min-height: 224px;
  flex: 1;
}
@media (max-width: 700px) {
  .crew-picker {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Keep enlarged HUD labels and action names from colliding. */
.mini-resource {
  min-width: min(100%, 10rem);
}
.mini-resource > span {
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .mini-resource {
    min-width: min(100%, 10rem);
  }
  .exploration-controls > button {
    max-width: none;
    min-width: min(100%, 8rem);
    flex: 1;
  }
}

/* A wide, responsive playfield, with camera resolution matched to its size. */
.exploration-shell {
  display: grid;
  grid-template-rows: auto minmax(224px, 1fr) auto auto;
  height: 100dvh;
  min-height: 100dvh;
}
.map-stage {
  position: relative;
  width: 100%;
  min-height: 224px;
  height: auto;
  overflow: hidden;
}
#expedition-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  box-sizing: border-box;
}
#expedition-fullscreen {
  white-space: nowrap;
  min-height: 44px;
  padding: 6px 12px;
}
@media (max-width: 700px) {
  .control-help {
    display: none;
  }
  .exploration-controls > button {
    min-width: 0;
    max-width: none;
  }
  .crew-picker {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .crew-picker button {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 700px) and (min-resolution: 1dppx) {
  .crew-picker {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr));
  }
}

.exploration-header > strong {white-space:normal;overflow-wrap:anywhere;min-width:0}

/* Use the supplied Mars landscape for briefing and terminal scenes only. */
.decision-overlay:is([data-scene="welcome"], [data-scene="victory"], [data-scene="defeat"])::backdrop {
  background: linear-gradient(#14162666, #141626aa), url("assets/images/environment/mars/landscape-3x.png") center / cover;
  image-rendering: pixelated;
}
.decision-overlay:is([data-scene="welcome"], [data-scene="victory"], [data-scene="defeat"])::before {
  content: "";
  display: block;
  height: clamp(96px, 18dvh, 160px);
  margin-bottom: 20px;
  border-radius: 12px;
  border: 1px solid #80606b;
  background: #673f55 url("assets/images/environment/mars/landscape-3x.png") center 58% / cover;
  image-rendering: pixelated;
}

/* Spec 013: a short, child-safe bridge before the emergency decision. */
.decision-overlay[data-scene="warning"]::backdrop {
  background: radial-gradient(circle, #b8423677, #100f20e8);
}
.event-warning { text-align: center; display: grid; gap: 14px; justify-items: center; }
.event-warning > * { margin: 0; }
.event-warning-signal {
  width: 72px; height: 72px; border: 4px solid #ffd08a; border-radius: 50%;
  box-shadow: 0 0 0 0 #ffd08a88; animation: event-warning-pulse 1.8s ease-out infinite;
}
.event-warning[data-warning-theme="radio"] .event-warning-signal { border-color: #c6adff; box-shadow: 0 0 0 0 #c6adff88; }
@keyframes event-warning-pulse { 65% { box-shadow: 0 0 0 24px transparent; transform: scale(1.08); } 100% { box-shadow: 0 0 0 0 transparent; } }


/* Keep the release identifier visible but unobtrusive in the game dashboard. */
.app-version {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1;
  white-space: nowrap;
  opacity: 0.8;
}

/* Spec 010: optional, feature-flagged introduction before astronaut selection. */
.intro-video-screen {
  display: grid;
  gap: 12px;
}
.intro-video-screen > * {
  margin-top: 0;
  margin-bottom: 0;
}
#intro-video {
  display: block;
  width: 100%;
  max-height: min(52dvh, 420px);
  object-fit: contain;
  aspect-ratio: 16 / 9;
  border: 1px solid #80606b;
  border-radius: 12px;
  background: #080b14;
}
.intro-video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.intro-video-actions button,
#intro-again {
  min-height: 44px;
  font-size: 1rem;
}
.intro-video-status:not(:empty) {
  padding: 10px;
  border-left: 4px solid #ffd08a;
  background: #271b23;
}
@media (max-width: 700px) {
  #intro-video {
    max-height: 38dvh;
  }
  .intro-video-actions button {
    flex: 1 1 10rem;
  }
}

/* Spec 009: changing resources and routine work remain visible during exploration. */
.survival-meter {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  border-radius: 6px;
  background: #0e1224;
}
.survival-meter i {
  display: block;
  height: 100%;
  background: #ffd08a;
  transition: width .35s ease;
}
[data-resource="oxygen"] .survival-meter i { background: #8cdaf4; }
[data-resource="shielding"] .survival-meter i { background: #91dfba; }
.game-message #survival-advice, .game-message #survival-deltas {
  min-height: 0;
  color: #fff0c4;
}
#survival-work label { font-size: 1rem; }
#survival-work progress { height: 8px; }
.game-message:has(#survival-work:not([hidden])) { overflow: visible; max-height: none; }
#survival-deltas { font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .survival-meter i { transition: none; }
  .event-warning-signal { animation: none; }
}
@media (max-width: 700px) {
  .app-version { font-size: 0.65rem; }
}


/* Complete event experience: reusable visual identities for warning, decision and feedback. */
.event-panel {
  --event-accent: #ffd08a;
  --event-accent-soft: #ffd08a33;
  --event-surface: #271b23;
  display: grid;
  gap: 14px;
}
.event-panel[data-event-theme="solar-flare"] { --event-accent: #ffd36e; --event-accent-soft: #ffb34733; --event-surface: #3a201c; }
.event-panel[data-event-theme="cme"] { --event-accent: #ff9a6b; --event-accent-soft: #ff6f6138; --event-surface: #39202a; }
.event-panel[data-event-theme="particles"] { --event-accent: #ffe7a3; --event-accent-soft: #fff2b833; --event-surface: #302635; }
.event-panel[data-event-theme="shock"] { --event-accent: #c7b3ff; --event-accent-soft: #9f8cff33; --event-surface: #20203a; }
.event-panel[data-event-theme="dust"] { --event-accent: #e8a36f; --event-accent-soft: #c66a3738; --event-surface: #3a271d; }
.event-panel[data-event-theme="greenhouse"] { --event-accent: #9fdfb0; --event-accent-soft: #73c98a33; --event-surface: #1f342a; }

.decision-overlay[data-scene="warning"] {
  border-color: var(--event-accent, #ffd08a);
}
.event-cue {
  font-size: 1.08rem;
  line-height: 1.45;
}
.event-panel-heading {
  display: flex;
  gap: 14px;
  align-items: center;
}
.event-panel-heading > div { min-width: 0; }
.event-panel-heading h1 { margin: 4px 0 0; }
.event-visual {
  position: relative;
  width: min(38vw, 180px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--event-accent);
  background:
    radial-gradient(circle at 50% 45%, var(--event-accent-soft), transparent 42%),
    linear-gradient(145deg, var(--event-surface), #0e1120);
  box-shadow: inset 0 0 32px #0006, 0 10px 28px #0005;
}
.event-visual--compact {
  width: 78px;
  min-width: 78px;
  border-radius: 18px;
}
.event-visual-core {
  position: relative;
  z-index: 2;
  width: 46%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #16131a;
  background: var(--event-accent);
  font-size: clamp(1.6rem, 8vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 22px var(--event-accent-soft);
}
.event-visual--compact .event-visual-core { font-size: 1.7rem; }
.event-visual-orbit {
  position: absolute;
  width: 70%;
  height: 34%;
  border: 2px solid var(--event-accent);
  border-radius: 50%;
  opacity: .8;
  animation: event-orbit 3.4s linear infinite;
}
.event-visual-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--event-accent);
  box-shadow: 0 0 12px var(--event-accent);
  animation: event-particle 1.8s ease-in-out infinite alternate;
}
.event-visual-particle--one { left: 18%; top: 24%; }
.event-visual-particle--two { right: 16%; top: 38%; animation-delay: .3s; }
.event-visual-particle--three { left: 36%; bottom: 16%; animation-delay: .6s; }

[data-event-theme="dust"] .event-visual-orbit {
  width: 110%;
  height: 16%;
  border-style: dashed;
  transform: rotate(-8deg);
}
[data-event-theme="dust"] .event-visual-particle {
  width: 12px; height: 5px; border-radius: 3px;
}
[data-event-theme="greenhouse"] .event-visual-core { border-radius: 48% 48% 58% 42%; }
[data-event-theme="shock"] .event-visual-orbit { border-style: dotted; }
[data-event-theme="particles"] .event-visual-particle { width: 5px; height: 5px; }

.event-choice-list {
  display: grid;
  gap: 10px;
  padding: 0;
}
.event-choice-list li { list-style: none; }
.event-choice-list button {
  width: 100%;
  min-height: 52px;
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  align-items: center;
  gap: 10px;
  text-align: left;
  border-color: var(--event-accent);
}
.choice-number {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--event-accent-soft);
  color: var(--event-accent);
  font-weight: 800;
}
.event-hint,
.event-shazer-feedback {
  padding: 12px 14px;
  border-left: 4px solid var(--event-accent);
  background: var(--event-accent-soft);
  border-radius: 6px;
}
.event-resource-deltas {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(120px,1fr));
  gap: 8px;
  margin: 0;
}
.event-resource-delta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--event-accent);
  border-radius: 10px;
  background: #101323;
}
.event-resource-delta strong {
  color: var(--event-accent);
  font-size: 1.15rem;
}

@keyframes event-orbit {
  to { transform: rotate(360deg); }
}
@keyframes event-particle {
  from { transform: translateY(-4px) scale(.9); opacity: .55; }
  to { transform: translateY(5px) scale(1.15); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .event-visual-orbit,
  .event-visual-particle { animation: none; }
}
@media (max-width: 520px) {
  .event-panel-heading { align-items: flex-start; }
  .event-visual--compact { width: 64px; min-width: 64px; }
  .event-resource-deltas { grid-template-columns: 1fr; }
}


/* Victory celebration and cinematic credits. */
.decision-overlay:is([data-scene="ending-celebration"], [data-scene="ending-credits"], [data-scene="ending-complete"]) {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  border-color: #ffd08a;
  background: #101323;
}
.decision-overlay:is([data-scene="ending-celebration"], [data-scene="ending-credits"], [data-scene="ending-complete"])::backdrop {
  background:
    radial-gradient(circle at 50% 30%, #8f4d3166, #080b14ee 68%),
    url("assets/images/environment/mars/landscape-3x.png") center / cover;
}
.victory-celebration,
.credits-complete {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}
.victory-celebration > *,
.credits-complete > * {
  margin: 0;
}
.celebration-poster,
.credits-final-poster {
  display: block;
  width: min(100%, 520px);
  max-height: 48dvh;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid #ffd08a88;
  box-shadow: 0 18px 50px #0008;
}
.celebration-poster {
  animation: celebration-poster-in 900ms cubic-bezier(.2,.9,.25,1) both;
}
.celebration-shazer {
  position: absolute;
  right: 4%;
  top: 4%;
  width: 72px;
  height: 72px;
  background: url("assets/images/characters/shazer/shazer-sprites-1x.png") 0 0 / 864px 72px;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 10px #0008);
  animation: celebration-shazer-flight 3.2s ease-in-out infinite alternate;
}
.celebration-stars {
  position: absolute;
  inset: -10px;
  pointer-events: none;
  background-image:
    radial-gradient(circle, #fff3aa 0 2px, transparent 3px),
    radial-gradient(circle, #8cdaf4 0 2px, transparent 3px),
    radial-gradient(circle, #91dfba 0 1px, transparent 2px);
  background-size: 86px 86px, 122px 122px, 62px 62px;
  background-position: 0 0, 25px 31px, 44px 10px;
  opacity: .7;
  animation: celebration-stars-rise 4.8s linear infinite;
}
.victory-celebration h1,
.credits-complete h1 {
  color: #fff0c4;
  text-shadow: 0 2px 16px #f58a1f66;
}
.celebration-next,
.credits-first-view {
  color: #b7bdd5;
  font-size: .95rem;
}
.movie-credits {
  display: grid;
  gap: 12px;
}
.credits-viewport {
  position: relative;
  height: min(72dvh, 680px);
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(#080b14ee, #101323dd),
    url("assets/images/environment/mars/landscape-3x.png") center / cover;
  border: 1px solid #80606b;
}
.credits-roll {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 14dvh 8% 24dvh;
  text-align: center;
  animation: movie-credits-roll 28s linear forwards;
  will-change: transform;
}
.credits-roll h1 {
  margin: 24px 0 4px;
  color: #fff3aa;
  letter-spacing: .08em;
}
.credits-roll section {
  margin: 64px auto;
}
.credits-roll h2 {
  margin: 0 0 8px;
  color: #ffd08a;
  font-size: 1.15rem;
  letter-spacing: .12em;
}
.credits-roll p {
  margin: 0;
  font-size: 1.05rem;
}
.credits-subtitle {
  color: #b7bdd5;
}
.credits-poster {
  display: block;
  width: min(78%, 460px);
  max-height: 50dvh;
  margin: 0 auto 34px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 16px 48px #0009;
}
.credits-thanks {
  padding-top: 32px;
}
#credits-skip {
  justify-self: center;
}
.credits-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.credits-actions button {
  text-align: center;
  min-width: min(100%, 180px);
}
@keyframes celebration-poster-in {
  from { opacity: 0; transform: scale(.88) translateY(18px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes celebration-shazer-flight {
  from { transform: translate(-22px, 8px) rotate(-5deg); }
  to { transform: translate(14px, -12px) rotate(5deg); }
}
@keyframes celebration-stars-rise {
  to { background-position: 0 -86px, 25px -91px, 44px -52px; }
}
@keyframes movie-credits-roll {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-100% - 100dvh)); }
}
@media (max-width: 700px) {
  .decision-overlay:is([data-scene="ending-celebration"], [data-scene="ending-credits"], [data-scene="ending-complete"]) {
    inset: 8px;
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
  }
  .celebration-poster,
  .credits-final-poster {
    max-height: 40dvh;
  }
  .celebration-shazer {
    width: 56px;
    height: 56px;
    background-size: 672px 56px;
  }
  .credits-viewport {
    height: 70dvh;
  }
  .credits-roll {
    padding-left: 5%;
    padding-right: 5%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .celebration-poster,
  .celebration-shazer,
  .celebration-stars,
  .credits-roll {
    animation: none;
  }
  .credits-viewport {
    overflow-y: auto;
  }
  .credits-roll {
    position: static;
    transform: none;
  }
}
