/* Atmospheric presentation. The printed product keeps its original artwork. */
.stage{transition:background .7s,border-color .7s;aspect-ratio:1.07}
.stage[data-theme="night"]{background:radial-gradient(ellipse at 52% 90%,#3a3935 0,transparent 52%),linear-gradient(155deg,#1c3945 0%,#102530 38%,#0b1721 77%,#19252b 100%);border-color:#35474a;box-shadow:0 26px 60px -30px #142b3b88}
.sky-glow{position:absolute;z-index:0;inset:-25%;pointer-events:none;opacity:0;background:radial-gradient(ellipse at 28% 20%,#76b1bb2b,transparent 33%),radial-gradient(ellipse at 67% 75%,#d9ac6525,transparent 36%);filter:blur(22px);animation:sky-drift 23s ease-in-out infinite alternate;transition:opacity .7s}
.stage[data-theme="night"] .sky-glow{opacity:1}
.moon{position:absolute;z-index:0;right:12%;top:22%;width:21px;height:21px;border-radius:50%;background:#fff3cf;box-shadow:0 0 22px 7px #ffedbf30,0 0 85px 28px #aad4e520;opacity:.72;transition:opacity .7s;pointer-events:none}
.stage[data-theme="day"] .moon{opacity:0}
.stage[data-effects="paused"] .sky-glow{animation-play-state:paused}
@keyframes sky-drift{from{transform:translate(-2%,-1%) rotate(-5deg)}to{transform:translate(3%,2%) rotate(8deg)}}
#atmosphere{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}
.poster{z-index:1;object-fit:contain}
model-viewer{z-index:2}
.stage-label{z-index:6;top:23px;letter-spacing:1.5px}
.stage[data-theme="night"] .stage-label{color:#d3bf93}
.scene-toolbar{position:absolute;z-index:6;top:47px;left:22px;right:22px;display:flex;gap:8px;align-items:center}
.scene-toolbar button{display:inline-flex;align-items:center;gap:7px;border:1px solid #d8d9cf;background:#ffffffa8;color:#456052;border-radius:30px;padding:9px 13px;font-size:10px;line-height:1.3;min-height:37px;backdrop-filter:blur(8px)}
.scene-toolbar button:hover{background:#fff}
.stage[data-theme="night"] .scene-toolbar button{border-color:#bed0cf2e;background:#d2e7e70d;color:#e5e6d7}
.stage[data-theme="night"] .scene-toolbar button:hover{background:#d2e7e722}
.scene-toolbar button span[aria-hidden]{font-size:15px;color:#c7a46a}
.stage[data-theme="night"] .load-status{color:#d3dcd9}
.load-status{top:89px;font-size:10px}
.stage[data-theme="night"] .explore{background:#f7edda;color:#233d36;border-color:#ffe5ae;box-shadow:0 0 35px #e7bb6022,0 8px 25px #0003}
.stage[data-theme="night"] .explore:hover{background:#fff5e1}
.stage[data-theme="night"] .activation p{color:#cbd6d2}
.stage[data-theme="night"] .controls{background:#132c35e8;border-color:#a4c7c233;box-shadow:0 7px 25px #0003}
.stage[data-theme="night"] .controls button{color:#f2e8d1}
.stage[data-theme="night"] .controls button:hover{background:#d8d7b71a}
.stage[data-theme="night"] .divider{border-color:#d8d7b72b}
@media(max-width:850px){.stage{aspect-ratio:.92}.scene-toolbar{left:15px;right:15px}.stage-label{letter-spacing:.8px}}
@media(max-width:600px){.stage{aspect-ratio:.91}.stage-label{top:19px;font-size:8px}.scene-toolbar{top:42px;gap:7px}.scene-toolbar button{padding:9px 11px;min-height:39px}.load-status{top:84px}.controls{bottom:13px}.moon{width:16px;height:16px;top:29%;right:13%}.caption{font-size:10px;line-height:1.7}}
@media(prefers-reduced-motion:reduce){.stage[data-effects="running"] .sky-glow{animation:sky-drift 23s ease-in-out infinite alternate!important}}

/* Morning atmosphere uses the same pause and visibility state as the snow. */
.stage[data-theme="day"]{background:linear-gradient(165deg,#dcebf1 0%,#eaf0ee 46%,#f5ead4 100%);border-color:#d3dfdb}
.day-sky{position:absolute;inset:0;z-index:0;pointer-events:none;opacity:0;transition:opacity .7s;overflow:hidden}
.stage[data-theme="day"] .day-sky{opacity:1}
.sun-halo{position:absolute;width:36px;height:36px;right:12%;top:22%;border-radius:50%;background:#fff5c9;box-shadow:0 0 24px 12px #ffe9a380,0 0 105px 55px #ffe4a04d}
.day-sky::before{content:"";position:absolute;inset:0;background:conic-gradient(from 75deg at 85% 24%,transparent 0deg 75deg,#fff8d832 79deg 88deg,transparent 93deg 116deg,#fff8d84d 120deg 129deg,transparent 133deg);filter:blur(9px)}
.cloud{position:absolute;width:37%;height:8%;border-radius:50%;background:#ffffff9c;filter:blur(9px);animation:cloud-drift var(--cloud-duration,32s) ease-in-out infinite alternate;animation-play-state:paused}
.cloud::before,.cloud::after{content:"";position:absolute;border-radius:50%;background:#ffffffba}
.cloud::before{width:48%;height:150%;left:18%;bottom:7%}.cloud::after{width:39%;height:120%;right:10%;bottom:3%}
.cloud-one{left:-8%;top:29%}.cloud-two{left:55%;top:15%;width:29%;height:5%;opacity:.65;--cloud-duration:43s;animation-delay:-13s}
@keyframes cloud-drift{from{transform:translateX(-10%)}to{transform:translateX(55%)}}
.stage[data-theme="day"][data-effects="running"] .cloud{animation-play-state:running}
@media(max-width:600px){.sun-halo{width:24px;height:24px;top:29%;right:13%}.cloud-one{top:33%}.cloud-two{top:24%}}
@media(prefers-reduced-motion:reduce){.stage[data-theme="day"][data-effects="running"] .cloud{animation:cloud-drift var(--cloud-duration,32s) ease-in-out infinite alternate!important}}

/* Touch and reading sizes for the sales page. */
.stage{aspect-ratio:1.05}
.stage-label{font-size:.75rem;top:20px;left:20px;right:12px;letter-spacing:.06em;line-height:1.4}
.scene-toolbar{top:47px;left:17px;right:17px;gap:8px}
.scene-toolbar button{font-size:.8125rem;min-height:44px;padding:9px 12px;line-height:1.4}
.load-status{top:96px;font-size:.8125rem}
.caption{font-size:.75rem;line-height:1.65}
@media(max-width:650px){.stage{aspect-ratio:.91}.stage-label{font-size:.6875rem;letter-spacing:.035em;top:17px;left:15px}.scene-toolbar{top:42px;left:12px;right:12px;gap:6px}.scene-toolbar button{font-size:.75rem;padding:9px 11px;min-height:44px}.load-status{top:88px;font-size:.75rem}.controls{bottom:14px;gap:0;padding:4px}.controls #rotate{font-size:.75rem;min-width:100px}.explore{font-size:.8125rem;padding:12px 17px}.activation p{font-size:.6875rem}.moon{top:29%}.caption{font-size:.75rem}.sun-halo{top:29%}}
@media(max-width:359px){.stage{aspect-ratio:.85}.stage-label{font-size:.625rem}.scene-toolbar button{font-size:.6875rem;padding-inline:10px}.controls #rotate{min-width:92px;padding-inline:7px}.controls button{min-width:44px}.controls .divider{margin-inline:2px}}
/* Leave room for wrapped labels and controls when the browser text is enlarged. */
.stage-label{font-size:.75rem;line-height:1.4}.scene-toolbar{top:calc(28px + 2rem);flex-wrap:wrap}.load-status{top:auto;bottom:86px}.controls #rotate{min-width:0}.caption{font-size:.75rem}
@media(max-width:650px){.stage-label{font-size:.6875rem}.scene-toolbar button{font-size:.75rem}.controls #rotate{min-width:0}.scene-toolbar{top:calc(28px + 2rem)}}
.stage{width:100%;min-width:0;max-width:100%}
.scene-toolbar button,.controls #rotate,.explore{font-size:.875rem}
