/* Reload community: the ported panel (public/partials/reload.html, tools/port-reload.mjs) finished for the dark band, spec §6.5.
   Rules are scoped under #reload so they beat the panel's own .rld rules and base.css `.section--dark a`. */
#reload .load-error { color: var(--color-on-dark-2); }
#reload .rld { width: 87.5%; max-width: var(--content-max); margin-inline: auto; }
#reload .rld-card { overflow: visible; border: 0; box-shadow: none; background: none; border-radius: 0; }
#reload .rld-head { justify-content: center; gap: var(--space-4); padding: 0 0 var(--space-12); cursor: default; user-select: auto; text-align: center; }
#reload .rld-mark { width: calc(var(--fs-chapter) * .75); height: auto; aspect-ratio: 1; }
#reload .rld-title { font-size: var(--fs-chapter); line-height: var(--lh-chapter); font-weight: 600; margin: 0; }
#reload .rld-body { padding: 0; }
#reload .rld-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#reload .rld-foot { justify-content: center; margin-top: var(--space-12); padding: var(--space-6) 0 0; background: none; text-align: center; font-size: var(--fs-lead); line-height: var(--lh-lead); }
#reload .rld-foot .rld-cmd { font-size: inherit; }

@media not ((hover: hover) and (pointer: fine)) { #reload .rld-cat:hover, #reload .rld-cat:hover .rld-cm { transform: none; } } /* spec §4: lifts on fine pointers only */

#reload .rld-cmd { vertical-align: middle; }
#reload .rld-copy { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-inline: var(--space-2) var(--space-1); padding: 0; border: 0; border-radius: var(--radius-pill); background: var(--color-dark-raised); color: var(--color-on-dark-2); vertical-align: middle; cursor: pointer; }
#reload .rld-copy:hover { color: var(--color-on-dark); }

/* Two columns from 1069px: left = mascot stage + intro + 4 features, right = how-to steps + tips (wrappers added by reload.js). */
@media (min-width: 1069px) {
  #reload .rld-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-12) var(--gutter); }
  #reload .rld-a { grid-column: 1 / span 6; }
  #reload .rld-b { grid-column: 7 / span 6; }
  #reload .rld-b > .rld-sec:first-child { margin-top: 0; }
}

/* The original 12 s scene loops while visible. JS pauses it for background tabs,
   off-screen content and the user's pause button. Reduced motion uses the still logo. */
#reload .rld-stage * { animation-play-state: paused; }
#reload.rld-is-playing .rld-stage * { animation-play-state: running; }
#reload.rld-is-still .rld-stage :is(.rld-cam, .rld-flash, .rld-fade) { display: none; }
#reload.rld-is-still .rld-stage .rld-still { display: block; }
/* Feature mascots retain their single blink and share the scene's pause state. */
#reload .rld-ceyes { animation-iteration-count: 1; animation-play-state: paused; }
#reload.rld-is-playing .rld-ceyes { animation-play-state: running; }
#reload .rld-motion-controls { display: flex; justify-content: flex-end; margin-top: var(--space-3); }
#reload .rld-motion-toggle { min-height: var(--space-12); padding: var(--space-2) var(--space-4); border: 1px solid var(--color-on-dark-2); border-radius: var(--radius-pill); background: var(--color-dark); color: var(--color-on-dark); font-size: var(--fs-caption); cursor: pointer; }
#reload .rld-motion-toggle[hidden] { display: none; }
