/* Five native world links: transparent over the photograph; their hit areas stay still. */
body.motion-home .r-world-room{--portal-ink:#111;--portal-ring:rgba(17,17,17,.8);--portal-light:rgba(255,255,255,.8)}
@media(min-width:701px){
 body.motion-home .r-world-room .r-world-item[data-world-index="2"]{left:20%}
 body.motion-home .r-world-room .r-world-item[data-world-index="4"]{left:80%}
}
body.motion-home .r-world-room .r-world-circle{transition:background-color 140ms ease-out,color 140ms ease-out,border-color 140ms ease-out!important}
body.motion-home .r-world-room .r-world-label{transition:background-color 140ms ease-out,color 140ms ease-out}
body.motion-home .r-world-room .portal-on-image .r-world-label,
html:not(.m-on) body.motion-home .r-world-room .r-world-label{background:transparent;color:var(--portal-ink);text-shadow:0 1px 1px var(--portal-light),0 0 7px var(--portal-light)}
body.motion-home .r-world-room .portal-on-image .r-world-circle,
body.motion-home .r-world-room .portal-on-image .r-world-link:is(:hover,:focus-visible,.story-magnetic-engaged) .r-world-circle,
html:not(.m-on) body.motion-home .r-world-room .r-world-circle{background:transparent;color:var(--portal-ink);border-color:var(--portal-ring);box-shadow:0 0 0 1px rgba(255,255,255,.42);text-shadow:0 1px 2px var(--portal-light)}
body.motion-home .r-world-room .r-world-circle:before{content:"";position:absolute;inset:-7px;border:1px solid currentColor;border-radius:46% 54% 58% 42% / 54% 43% 57% 46%;opacity:.6;pointer-events:none}
.m-on body.motion-home .r-world-room.portal-in-view .r-world-circle:before{animation:portal-contour 5.6s ease-in-out infinite alternate;animation-delay:var(--portal-phase,0s)}
body.motion-home .r-world-room .r-world-item:nth-child(2){--portal-phase:-1.1s}
body.motion-home .r-world-room .r-world-item:nth-child(3){--portal-phase:-2.3s}
body.motion-home .r-world-room .r-world-item:nth-child(4){--portal-phase:-3.6s}
body.motion-home .r-world-room .r-world-item:nth-child(5){--portal-phase:-4.8s}
body.motion-home .r-world-room .portal-on-image .r-world-circle:after{border-color:var(--portal-ink);border-right-color:transparent;border-bottom-color:transparent}
body.motion-home .r-world-room .portal-on-image .r-world-link:focus-visible .r-world-circle{outline:2px solid var(--portal-ink);outline-offset:9px;box-shadow:0 0 0 2px var(--portal-light)}
@keyframes portal-contour{0%{transform:rotate(-12deg) scale(.97,1.025)}50%{transform:rotate(9deg) scale(1.035,.975)}100%{transform:rotate(23deg) scale(.98,1.03)}}
@media(prefers-reduced-motion:reduce){body.motion-home .r-world-room .r-world-circle:before{animation:none!important}body.motion-home .r-world-room .r-world-circle,body.motion-home .r-world-room .r-world-label{transition:none!important}}
/* A glyph-sized light edge keeps the requested dark type legible on leaves and doors. */
body.motion-home .r-world-room .portal-on-image .r-world-label,
html:not(.m-on) body.motion-home .r-world-room .r-world-label{-webkit-text-stroke:1px rgba(255,255,255,.8);paint-order:stroke fill;text-shadow:0 1px 2px rgba(255,255,255,.85)}
body.motion-home .r-world-room .portal-on-image .r-world-circle:before,
html:not(.m-on) body.motion-home .r-world-room .r-world-circle:before{color:rgba(255,255,255,.95);opacity:.85}

