/* Keep the introductory line grouped with its title, away from navigation. */
.sky-intro{top:clamp(172px,22vh,250px);width:min(1100px,88vw);max-width:88vw}
.sky-intro .eyebrow{margin:0 0 12px;font-size:13px;line-height:1.5;letter-spacing:.13em}
.sky-intro h1{line-height:1.09;text-wrap:balance}
.sky-intro h1 em{display:block;margin-top:.08em}
.sky-intro #enter{margin-top:32px;text-decoration:none}
.sky-intro #enter span{text-decoration:none}
.site-header .wordmark,.ground-view .site-header .wordmark{opacity:1;visibility:visible;transform:translateY(0);transition:color .8s ease,opacity .5s ease-in-out,transform .5s ease-in-out,visibility 0s linear}
.site-header.logo-away .wordmark{opacity:0;transform:translateY(calc(-100% - var(--header-inset,28px) - 16px));visibility:hidden;pointer-events:none;transition-delay:0s,0s,0s,.5s}
.place-caption{top:var(--place-label-top,160px);max-width:calc(100vw - 40px)}
.place-caption h2{white-space:normal;line-height:1.35}
html:lang(zh) .sky-intro .eyebrow{font-size:13px;letter-spacing:.16em;margin-bottom:14px}
html:lang(zh) .sky-intro h1{font-size:clamp(36px,4.1vw,64px);font-weight:500;line-height:1.4;letter-spacing:.045em}
html:lang(zh) .sky-intro h1 em{font-style:normal;font-weight:400;font-size:.72em;line-height:1.5;letter-spacing:.055em;margin-top:.2em}
html:lang(zh) .sky-intro #enter{letter-spacing:.06em}
@media(max-width:1100px){
 .sky-intro{top:clamp(166px,17vw,188px);text-shadow:0 2px 12px #14384b66}
 .sky-intro #enter{padding:10px 18px;border:1px solid #d7bd7b;border-radius:30px;background:#214b48f5;color:#fff5df;text-shadow:none}
}
@media(max-width:600px){
 .sky-intro{top:clamp(144px,18vh,164px);width:90vw;max-width:90vw;text-shadow:0 2px 12px #14384b66}
 .sky-intro .eyebrow{font-size:11px;line-height:1.5;letter-spacing:.09em;margin-bottom:10px}
 .sky-intro h1{font-size:clamp(32px,8.5vw,39px);line-height:1.15}
 .sky-intro #enter{margin-top:20px;font-size:15px;padding:10px 18px;border:1px solid #d7bd7b;border-radius:30px;background:#214b48f5;color:#fff5df;text-shadow:none}
 html:lang(zh) .sky-intro .eyebrow{font-size:12px;margin-bottom:12px}
 html:lang(zh) .sky-intro h1{font-size:clamp(27px,7.7vw,33px);line-height:1.4;letter-spacing:.025em}
 html:lang(zh) .sky-intro h1 em{font-size:.76em;line-height:1.55;letter-spacing:.02em;margin-top:.25em}
 .place-caption{left:20px;top:var(--place-label-top,150px);padding:7px 13px}
 .place-caption h2{font-size:17px}
}
@media(max-height:520px) and (min-width:601px){
 body:not(.ground-view) .scene-object:is([data-asset="23_santa_hot_air_balloon"],[data-asset="Moon_Crescent"]){opacity:0;pointer-events:none}
 .sky-intro{top:128px}
 .sky-intro h1{font-size:36px;line-height:1.1}
 .sky-intro .eyebrow{font-size:11px;margin-bottom:8px}
 .sky-intro #enter{margin-top:16px}
 html:lang(zh) .sky-intro h1{font-size:34px;line-height:1.25}
}
@media(prefers-reduced-motion:reduce){.site-header .wordmark,.ground-view .site-header .wordmark,.site-header.logo-away .wordmark{transition:none}}

/* Keep narrow-phone instructions readable without crowding their artwork. */
@media(max-width:420px){
 .online-photobooth .opb-viewfinder:has(.opb-camera-placeholder:not([hidden])){min-height:240px;aspect-ratio:auto}
 .online-photobooth .opb-camera-placeholder:not([hidden]){height:auto;min-height:230px}
}
@media(max-width:380px){
 #explore-dialog #explore-list{grid-template-columns:minmax(0,1fr)}
}

/* Grid children may shrink to the dialog width instead of their text's intrinsic width. */
.online-photobooth .opb-layout,
.online-photobooth .opb-studio,
.online-photobooth .opb-preview,
.online-photobooth .opb-frame,
.online-photobooth .opb-frame-copy{min-width:0;max-width:100%}
.online-photobooth .opb-frame-copy{overflow-wrap:anywhere}
.online-photobooth .opb-source-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
.online-photobooth .opb-source-actions>.opb-button{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:760px){
 .online-photobooth .opb-layout{grid-template-columns:minmax(0,1fr)}
}
