/* Media library surfaces and responsive space for all five destinations. */
.media-destinations{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.media-destination{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:54px;padding:12px 20px;background:#ffffffdc;border:1px solid #1919161c;border-radius:4px;font-size:17px;font-weight:500;transition:background .2s,border-color .2s}
.media-destination:hover{background:#fff7ec;border-color:#f8901955}.media-destination span{font-size:22px;color:var(--orange)}
.library-intro{font-size:16px;line-height:1.6;color:#68685f;margin:-12px 0 28px;max-width:620px}
.image-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px}
.library-image,.library-video{min-width:0}.library-preview{display:block;width:100%;padding:0;border:1px solid #e9e7e1;border-radius:12px;overflow:hidden;background:#f4f3ef;aspect-ratio:4/5}
.library-preview img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}.library-preview:hover img{transform:scale(1.025)}
.library-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;font-size:13px;color:#68685f;flex-wrap:wrap}.library-caption h3{font-size:17px;font-weight:500;color:#191916;margin:0}.library-caption a{display:inline-flex;align-items:center;min-height:44px;color:#914700;text-decoration:underline;text-underline-offset:4px;font-size:14px}
.video-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.video-frame{position:relative;background:#e6e4e1;border-radius:12px;overflow:hidden;aspect-ratio:4/5}.video-frame video{display:block;width:100%;height:100%;object-fit:contain}.video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:1px solid #fff9;background:#ffffffdf;backdrop-filter:blur(12px);border-radius:40px;padding:15px 20px;display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:14px;min-height:48px}.video-play[hidden]{display:none}.video-play span{color:#d47100}.video-status{font-size:13px;line-height:1.5;color:#68685f;margin:0}
.arc-controls button{width:36px;height:36px}.arc-controls{gap:5px}.scene-controls .text-button{min-height:44px;display:flex;align-items:center}#replay{margin-right:0}
.close-button{width:44px;height:44px;flex-shrink:0}.panel-content{min-width:0}.panel-content h2{overflow-wrap:break-word}.studio-layout>*{min-width:0}input,select{max-width:100%}.photo-toolbar button{min-width:44px}
.hero-video-error{position:absolute;right:5%;bottom:255px;z-index:3;max-width:300px;padding:12px 16px;background:#ffffffdb;border:1px solid #e1ded7;border-radius:8px;font-size:13px;color:#655d53;line-height:1.5}.hero-video-error[hidden]{display:none}
@media(min-width:801px){
 .stage{--scene-height:clamp(810px,calc(100svh - 156px),1200px);height:calc(var(--scene-height) + 110px);max-height:none}
 .performance{height:var(--scene-height);bottom:auto}.destinations{top:calc(var(--scene-height)*.4)}
 .hero-caption{bottom:auto;top:calc(var(--scene-height)*.5)}
}
@media(min-width:1601px){.destinations{max-width:430px;width:30%}.media-destination{min-height:56px}}
@media(max-width:1000px){.image-library{grid-template-columns:repeat(2,minmax(0,1fr))}.video-library{grid-template-columns:1fr}}
@media(max-width:800px){
 .stage{height:auto;min-height:0;padding-top:475px;padding-bottom:24px;display:grid;grid-template-columns:minmax(0,1fr)}
 .hero-caption,.destinations{position:relative;grid-column:1;grid-row:1;top:auto;bottom:auto;left:auto;right:auto;width:auto;max-width:none;margin:6px 7% 0}
 .hero-caption{align-self:start}.destinations{align-self:start}.stage:not(.explored) .destinations{display:none}.stage.explored .hero-caption{display:none}
 .stage-bottom{position:relative;grid-row:2;left:auto;right:auto;bottom:auto;margin:16px 7% 0;gap:12px}
 .media-destination{min-height:54px;font-size:16px;padding:12px 18px}.destination small{font-size:12px}.hero-video-error{top:355px;bottom:auto;right:6%;left:6%;max-width:none}
 #panel{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:16px}.panel-bar{padding:12px 18px}.panel-content{padding:24px 18px 30px}
 .panel-content h2{font-size:clamp(30px,7.5vw,44px)}.library-intro{font-size:14px}.image-library{gap:14px 10px}.library-caption{font-size:12px;gap:0;padding:6px 0}.library-caption a{font-size:13px}.library-preview{border-radius:8px}
 .arc-controls button{width:40px;height:40px}.arc-gallery{height:228px}.arc-controls{bottom:0}.photo-area{height:min(61svh,620px)}
 input[type=number],select{font-size:16px}.reward-stats{grid-template-columns:1fr;gap:18px}.reward-stats>div{display:flex;justify-content:space-between;gap:14px}.reward-stats span{margin:0}.reward-total>div{flex-wrap:wrap;gap:10px}.reward-total b{font-size:20px}
}
@media(max-width:360px){.header{padding-inline:5%}.brand.logo-ready img{width:130px}.buy-button{padding:12px 16px;gap:20px}.media-destinations{gap:8px}.media-destination{padding:12px;font-size:15px}.social-links a{gap:12px}#panel .social-links strong{font-size:17px}.panel-content{padding-inline:14px}.arc-count{min-width:36px}.arc-controls{gap:3px}.photo-toolbar{gap:4px}.photo-toolbar [data-photo-download]{flex-basis:100%}}
@media(hover:none){.stage.explored .destination:hover{transform:none}.library-preview:hover img{transform:none}}
@media(prefers-reduced-motion:reduce){.library-preview img,.media-destination{transition:none}}

.video-frame .video-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.video-frame .video-poster[hidden]{display:none}.video-meta{font-size:13px;color:#68685f;margin:0 0 6px}.video-library{grid-template-columns:repeat(3,minmax(0,1fr))}.video-play:focus-visible{outline:3px solid var(--orange);outline-offset:4px}@media(max-width:1000px){.video-library{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.video-library{grid-template-columns:1fr}}

@media(min-width:1601px){.destination{min-height:76px;padding:12px 23px}}

/* Keep the original frame's headroom on wide desktop screens. */
@media(min-width:801px){#greeting-video,#performance-video{object-position:center top}}
/* Draw controls instead of relying on platform-specific emoji glyphs. */
.ui-icon{display:inline-block;width:1em;height:1em;flex:none;vertical-align:-.125em;pointer-events:none}
.primary .ui-icon,.dest-arrow .ui-icon,.media-destination .ui-icon{width:20px;height:20px}
.arc-controls .ui-icon,.photo-toolbar .ui-icon{width:20px;height:20px}
.arc-view-hint .ui-icon{width:10px;height:10px}
#replay{gap:5px}#replay[hidden]{display:none}
