:root { color-scheme: light; font-family: ui-rounded, 'SF Pro Rounded', 'Avenir Next', system-ui, sans-serif; color: #fffef4; background: #80bfea; }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
body { position: relative; }
.panorama { position: absolute; inset: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior: none; -webkit-overflow-scrolling: touch; }
.panorama::-webkit-scrollbar { display: none; }
.panorama:focus-visible { outline: 3px solid #fffef4; outline-offset: -5px; }
.world { position: relative; width: max(100vw, 177.6833svh); height: 100svh; }
.scene { position: absolute; width: 100%; aspect-ratio: 1672 / 941; top: 50%; transform: translateY(-50%); overflow: hidden; isolation: isolate; }
.landscape { display: block; width: 100%; height: 100%; user-select: none; pointer-events: none; }
.life-layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.definitions { position: absolute; }
/* Clouds stay above the tallest building and dissolve before the canopy. */
.sky { position: absolute; inset: 0; pointer-events: none; mask-image: linear-gradient(90deg, #000 0%, #000 54%, transparent 65%); -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 54%, transparent 65%); }
.cloud-track { position: absolute; left: 0; width: 100%; animation: drift 170s linear infinite; will-change: transform; }
.cloud-track svg { display: block; width: 18%; height: auto; }
.cloud-a { top: 2%; opacity: .83; animation-delay: -57s; }
.cloud-b { top: 7%; opacity: .68; animation-duration: 215s; animation-delay: -98s; }
.cloud-b svg { width: 13%; }
.cloud-c { top: 12.5%; opacity: .52; animation-duration: 260s; animation-delay: -103s; }
.cloud-c svg { width: 8%; }
.cloud-d { top: .4%; opacity: .74; animation-duration: 195s; animation-delay: -11s; }
.cloud-d svg { width: 12%; }
@keyframes drift { from { transform: translateX(-22%); } to { transform: translateX(105%); } }
.shimmer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.glint { stroke-width: 1.2; opacity: 0; animation: glimmer 7s ease-in-out infinite; }
.g2 { animation-delay: -2.7s; }
.g3 { animation-delay: -5s; }
@keyframes glimmer { 0%, 100% { opacity: 0; transform: translateX(-3px); } 45% { opacity: .55; } 80% { opacity: 0; transform: translateX(4px); } }
.signature { position: fixed; top: max(30px, env(safe-area-inset-top)); left: max(34px, env(safe-area-inset-left)); display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 27px; letter-spacing: -.8px; line-height: 1.05; text-shadow: 0 1px 12px #245e7030; pointer-events: none; }
.asterisk { font-size: 38px; line-height: 1; font-weight: 400; }
.byline { display: block; font-size: 10px; font-weight: 500; letter-spacing: 1.2px; margin-top: 6px; }
.scene-footer { position: fixed; bottom: max(26px, env(safe-area-inset-bottom)); left: max(30px, env(safe-area-inset-left)); right: max(30px, env(safe-area-inset-right)); display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; }
.glass { background: #173a2ca8; border: 1px solid #ffffff38; box-shadow: 0 3px 14px #14312812; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fffef4; border-radius: 999px; }
.location { display: flex; align-items: center; gap: 8px; padding: 12px 17px; font-size: 12px; letter-spacing: .2px; white-space: nowrap; }
.location svg { width: 17px; height: 17px; }
.location-detail { opacity: .8; }
.motion-toggle { width: 44px; height: 44px; display: grid; place-items: center; padding: 11px; cursor: pointer; pointer-events: auto; transition: background .2s; }
.motion-toggle:hover { background: #173a2cdd; }
.motion-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.motion-toggle svg { width: 20px; height: 20px; }
.play-icon { display: none; }
body.paused .pause-icon { display: none; }
body.paused .play-icon { display: block; }
body.paused .cloud-track, body.paused .glint { animation-play-state: paused; }
.explore-hint { display: none; font-size: 11px; text-shadow: 0 1px 5px #173a2c; white-space: nowrap; }
@media (max-aspect-ratio: 1/1) {
  .signature { top: max(24px, env(safe-area-inset-top)); left: 22px; font-size: 24px; }
  .scene-footer { left: 18px; right: 18px; bottom: max(20px, env(safe-area-inset-bottom)); flex-wrap: wrap; }
  .location { padding: 11px 13px; font-size: 11px; }
  .location-detail { display: none; }
  .explore-hint { display: block; }
  .world { cursor: grab; }
  .world:active { cursor: grabbing; }
}
@media (prefers-reduced-motion: reduce) {
  body:not(.motion-enabled) .cloud-track, body:not(.motion-enabled) .glint { animation-play-state: paused; }
  .motion-toggle { transition: none; }
}
