/* Motion recovery is shown only when playback needs an explicit action. */
.motion-retry{position:fixed;bottom:max(18px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:40;min-height:48px;padding:12px 22px;border:1px solid #f6eed655;border-radius:100px;background:#26231e;color:#fff4dd;font:600 13px Body,sans-serif;box-shadow:0 5px 25px #0003;white-space:nowrap}
.motion-retry[hidden]{display:none}
.motion-retry:focus-visible{outline:3px solid #f77d25;outline-offset:3px}
.motion-retry-compact{left:auto;right:16px;transform:none;min-height:44px;padding:10px 16px;font-size:12px}
/* Explicit playback restores the runway, while decorative motion still follows
   the device preference. Ordinary laptop layout is unchanged. */
.motion-system-reduced.motion-enabled .runway{height:610px}
.motion-system-reduced.motion-enabled .runway-person{width:590px;left:50%;bottom:15px;visibility:hidden;transform:translateX(-50%);will-change:transform}
.motion-reduced .runway{height:430px}
.motion-reduced .runway-person{width:42%;left:-2%;bottom:20px;visibility:visible;opacity:1;transform:none;will-change:auto}
.motion-reduced .runway-1{left:29%}.motion-reduced .runway-2{left:60%}
@media(min-width:761px) and (max-width:1100px){.motion-system-reduced.motion-enabled .runway{height:570px}}
@media(min-width:761px) and (max-width:1000px){.motion-system-reduced.motion-enabled .runway-person{width:540px}}
.hero-base[hidden],.hero-foreground[hidden]{display:none!important}
/* The native mobile film needs no packed RGB/alpha texture or GPU overlay. */
.hero-film.mobile-hero #family-film{width:100%;height:100%;opacity:1;object-fit:fill}
video[data-motion="playing"]~.screen-play,video[data-motion="playing"]~.big-play{opacity:0}
.screen-play,.big-play{transition:opacity .25s}
.cast-video{pointer-events:none}
.screen-progress{animation-play-state:paused}
.playlist-screen:has(video[data-motion="playing"]) .screen-progress{animation-play-state:running}
@media(max-width:760px){
 .motion-system-reduced.motion-enabled .runway{height:485px}
 .motion-system-reduced.motion-enabled .runway-person{width:455px;bottom:20px}
 .record-scene{grid-template-columns:minmax(0,1fr)}
 .record-copy{min-width:0;container-type:inline-size}
 .record-copy h3{font-size:17vw;font-size:19.5cqi;white-space:nowrap;max-width:100%}
 /* Reserve the script's space in the flow, independent of Safari's toolbar
    height. The native mobile film can no longer rise through the title. */
 .v2 .hero{min-height:0;height:auto;max-height:none;padding-bottom:28px}
 .v2 .hero-film:not(canvas){position:relative;bottom:auto;height:auto;aspect-ratio:1.788;margin-top:max(60px,16vw)}
 .v2 .live{padding-bottom:35px}
 .portal-object.deck{height:clamp(158px,48.4vw,200px);left:36%}
 .portal-object.landscape-phone{width:min(62%,240px);left:34%}
 .portal-object.phone{width:clamp(118px,36vw,142px);height:auto;aspect-ratio:142/250}
 .show-scene{min-height:0;padding-top:38px;display:flex;flex-direction:column;align-items:center}
 .show-scene h2{align-self:stretch;font-size:clamp(37px,9.9vw,75px)}
 .show-scene h2>span{margin-top:13px}
 .show-cast{position:relative;inset:auto;width:126%;max-width:none;margin:18px -13% -3%;mask-image:linear-gradient(transparent,black 8%,black 96%,transparent);-webkit-mask-image:linear-gradient(transparent,black 8%,black 96%,transparent)}
 .show-ticket{position:relative;inset:auto;flex-shrink:0;transform:rotate(-5deg);margin:20px auto 31px;max-width:100%;min-height:145px}
 @media(hover:hover) and (pointer:fine){.show-ticket:hover{transform:rotate(-3deg)}}
 .trailer-link{position:relative;inset:auto;transform:none;min-height:44px}
 .menu-trigger,.header .music-trigger{min-width:44px;min-height:44px}
 .profile-info .social-buttons a{min-height:44px}
 .playlist-caption h3{font-size:clamp(25px,7.5vw,36px)}
 .episode-name{font-size:10px;line-height:1.45;-webkit-line-clamp:3;min-height:43px}
 .latest-label{font-size:10px}
 .play-all{font-size:11px}
 .v2 .family{padding-top:130px}
 .back-home,.dialog-close{min-height:44px;min-width:44px}
 .viewer-controls{flex-wrap:wrap;gap:14px}
 .viewer-controls button,.print-color-controls button{min-height:44px;min-width:44px}
 .email-row input{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.screen-play,.big-play{transition:none}}

.trailer-status{padding:14px 20px;margin:0;background:#24231f;color:#fff3dd;text-align:center;font:13px/1.5 Body,sans-serif}

/* The same emphasis as desktop hover, selected by scroll only on touch devices. */
.show-playlist.is-scroll-active{transform:rotate(0) translateY(-5px)}
.show-playlist.is-scroll-active .big-play{scale:1.14}
.show-playlist.is-scroll-active .episode-rail img{filter:none}
.record-player.is-scroll-active .record-disc{transform:translateX(28%)}
.show-ticket.is-scroll-active{transform:rotate(-3deg) translateY(-8px)}
.portal.is-scroll-active .portal-object{translate:0 -12px}
.portal.is-scroll-active .portal-cue{background:#f3f0e7;color:#102733;rotate:8deg}
/* Explicit playback also restores the announcement ribbon on reduced-motion
   devices. Until the visitor chooses playback, the manual ribbon stays usable. */
@media(prefers-reduced-motion:reduce){
 .motion-enabled .news-track{animation:news-flow 36s linear infinite!important}
 .motion-enabled .news-ribbon .news-window{overflow:hidden}
 .motion-enabled .news-group[aria-hidden]{display:flex}
}

/* Give touch visitors time to see each object's reveal in the reading area. */
@media (hover:none) and (pointer:coarse){
 .record-player .record-disc{transition:transform .95s cubic-bezier(.25,.1,.25,1)}
 .record-player.is-scroll-active .record-disc{transform:translateX(33%)}
 .portal .portal-object{transition-duration:.8s;transition-timing-function:cubic-bezier(.25,.1,.25,1)}
 .portal.is-scroll-active .portal-object{translate:0 -16px}
 .show-playlist,.show-ticket,.show-playlist .big-play,.portal .portal-cue{transition-duration:.8s;transition-timing-function:cubic-bezier(.25,.1,.25,1)}
 .show-playlist.is-scroll-active{transform:rotate(0) translateY(-9px)}
 .show-playlist.is-scroll-active .big-play{scale:1.18}
}
@media (prefers-reduced-motion:reduce){
 .record-player .record-disc,.portal .portal-object,.show-playlist,.show-ticket,.show-playlist .big-play,.portal .portal-cue{transition:none}
}

/* Touch reveals follow the same explicit playback choice as films/books. */
html.motion-enabled .record-player .record-disc{transition:transform .95s cubic-bezier(.25,.1,.25,1)!important}
html.motion-enabled .portal .portal-object{transition:transform .8s cubic-bezier(.25,.1,.25,1),translate .8s cubic-bezier(.25,.1,.25,1)!important}
html.motion-enabled :is(.show-playlist,.show-ticket,.show-playlist .big-play,.portal .portal-cue){transition:transform .8s,translate .8s,scale .8s,filter .8s!important}
html.motion-reduced :is(.record-player .record-disc,.portal .portal-object,.show-playlist,.show-ticket,.show-playlist .big-play,.portal .portal-cue){transition:none!important}
