/* Fold7 and smaller screens: keep the desktop composition intact. */
@media(max-width:800px){
 #details.facts-story{height:740svh;min-height:740svh}
 /* Follow the visible browser height when Samsung Internet hides its toolbars. */
 #details .facts-stage{height:100dvh;min-height:0}
 #details .facts-window,#details .facts-track{height:100%;min-height:0;flex:none}
 #details .facts-window{width:100%}
 #details .facts-track{gap:10vw;width:650%}
 #details .fact-scene{width:calc(100% / 6.5);padding:120px 24px 150px}
 #details .fact-statement{font-size:clamp(28px,6.2vw,46px);width:100%;transform:translateY(-3svh)!important;gap:8px}
 #details .fact-statement>span{white-space:normal;max-width:100%;text-wrap:balance}
 #details .fact-script{height:1.7em;max-width:90%;margin:4px 0;flex-shrink:0}
 #details .fact-description,#details .fact-launch .fact-description{font-size:16px;line-height:1.5;white-space:normal;width:min(100%,580px);max-width:100%;margin:20px 0 0;text-wrap:balance}
 #details .fact-description br{display:block}
 #details .fact-intro h2{font-size:clamp(32px,6.6vw,50px)!important;line-height:1.2;max-width:100%}
 #details .fact-backdrop,#details .fact-hockey .fact-backdrop,#details .fact-art .fact-backdrop{font-size:29.4vw;left:50%;bottom:-.21em;transform:translateX(-50%);line-height:1;letter-spacing:-.07em}
 #details .fact-intro .fact-backdrop{left:4%;transform:none}
 #details .cosmonaut-sticker,#details .earth-sticker,#details .palette-sticker,#details .tram-sticker,#details .fact-hockey .hockey-sticker{left:6%;top:9%;width:29%;height:23%;max-width:29%;max-height:23%}
 #details .rocket-sticker,#details .sensor-sticker,#details .goal-sticker,#details .art-sticker{right:5%;bottom:5%;width:30%;height:24%;max-width:30%;max-height:24%}
 #details .fact-space .flag-photo-sticker{width:33%;max-width:220px;bottom:4%}
 #achievements{gap:14px}
 #moments .photo-stack>.memory-photo:last-child{grid-column:auto;width:100%!important;justify-self:stretch}
 #you .contribution-inner{gap:32px;padding:80px 24px}
 #you .people-logo-stage{width:85vw;height:17.063vw;flex-shrink:0}
 #you .celebration-copy{font-size:17px!important}
}
@media(max-width:420px){
 #details .fact-statement{font-size:28px;gap:5px}
 #details .fact-description,#details .fact-launch .fact-description{font-size:15px;margin-top:16px}
 #details .fact-scene{padding:105px 20px 135px}
 #you .contribution-inner{gap:28px;padding:72px 18px}
}
@media(max-width:800px) and (prefers-reduced-motion:reduce){
 #details.facts-story{height:auto;min-height:0}
 #details .facts-track{width:100%;gap:0}
 #details .fact-scene{width:100%;min-height:680px}
}

/* Give the mobile geography section a full screen and breathing room below the map. */
@media(max-width:800px){
 #geography{min-height:100dvh;height:auto;padding-top:88px;padding-bottom:max(88px,10svh);display:flex;flex-direction:column;justify-content:center;gap:0}
 #geography #map{flex-shrink:0}
}
