/* The card's orbit transform remains owned by the sphere and cinematic journey. */
.sphere-stage.has-sphere-controls { min-height: 460px; }
.has-sphere-controls .sphere { top: calc(50% - 30px); }
.has-sphere-controls .orbit-outline { top: calc(50% - 30px); }
.has-sphere-controls::before { bottom: 65px; }
.sphere-controls { position: absolute; inset: auto 0 0; z-index: 4; display: flex; align-items: center; gap: 18px; min-height: 67px; padding: 12px 0 0; border-top: 1px solid #bfc9b870; cursor: default; transition: opacity .2s ease; }
.sphere-controls.is-unavailable { opacity: 0; pointer-events: none; }
.sphere-caption { flex: 1; min-width: 0; color: var(--ink, #202721); }
.sphere-selection-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 14px/1.5 var(--sans, sans-serif); letter-spacing: .015em; }
.sphere-selection-details { margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--dim, #656c61); font: 11px/1.6 var(--sans, sans-serif); }
.sphere-caption.has-selection .sphere-selection-title { color: var(--accent-ink, #00624f); }
.sphere-motion-toggle { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 104px; min-height: 44px; padding: 10px 12px; border: 1px solid #afbdab; border-radius: 2px; background: #f3f1e9ed; color: var(--ink, #202721); font: 11px/1.4 var(--sans, sans-serif); touch-action: manipulation; }
.sphere-motion-toggle:hover { background: #e5ecdd; border-color: var(--accent, #00715d); }
.sphere-motion-toggle:focus-visible { outline: 2px solid var(--accent, #00715d); outline-offset: 4px; }
.sphere-motion-toggle:disabled { cursor: default; opacity: .7; }
.sphere-motion-icon { display: block; width: 8px; height: 10px; border-inline: 2px solid currentColor; }
.sphere-motion-toggle.is-paused .sphere-motion-icon { width: 0; height: 0; border: 5px solid transparent; border-left: 7px solid currentColor; border-right: 0; }
.sphere-card.is-inspected { outline: 2px solid var(--accent, #00715d); outline-offset: 3px; box-shadow: 0 3px 5px #20342d1c, 0 18px 34px -9px #20342d65; }
.sphere-card.is-inspected img { transform: scale(1.035); filter: saturate(1.03) contrast(1.02); }
.sphere.is-keyboard-aligning { transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
@media (max-width: 1100px) and (min-width: 761px) {
  .sphere-stage.has-sphere-controls { min-height: 390px; }
}
@media (max-width: 760px) {
  .hero { grid-template-rows: auto auto minmax(365px, 41vw) auto; }
  .sphere-stage.has-sphere-controls { min-height: 365px; }
  .has-sphere-controls .sphere, .has-sphere-controls .orbit-outline { top: calc(50% - 32px); }
  .sphere-controls { min-height: 65px; gap: 12px; padding-top: 10px; }
  .sphere-selection-title { font-size: 13px; }
  .sphere-selection-details { font-size: 11px; }
  .sphere-motion-toggle { min-width: 97px; padding-inline: 10px; }
}
@media (max-width: 360px) {
  .sphere-controls { gap: 8px; }
  .sphere-motion-toggle { min-width: 88px; padding-inline: 7px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .sphere.is-keyboard-aligning, .sphere-controls { transition: none; }
  .sphere-card.is-inspected img { transform: none; }
}
