:root {
  color-scheme: light;
  font-family: 'Creek Sans', 'Creek UI', -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  --paper: #e5e9e1;
  --forest: #3c5848;
  --muted: #819083;
  --glass-ink: #f2f5eb;
  --ease: cubic-bezier(.22, .68, .19, 1);
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { color: var(--forest); background: var(--paper); }
button { color: inherit; font: inherit; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:disabled { cursor: default; opacity: .45; }
button:focus-visible { outline: 1px solid rgba(249, 253, 237, .9); outline-offset: 5px; }
svg { display: block; flex-shrink: 0; }
#viewport { position: fixed; inset: 0; }
#viewport canvas { display: block; width: 100%; height: 100%; outline: none; touch-action: none; }

/* Journey, seasons and a quiet sound toggle rest above the landscape. */
.interface { position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity 1s var(--ease); }
.scene-ready .interface { opacity: 1; }
.topbar { position: absolute; top: max(38px, env(safe-area-inset-top)); left: max(48px, env(safe-area-inset-left)); right: max(48px, env(safe-area-inset-right)); display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.scene-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; color: #f2f4e9; text-shadow: 0 2px 20px rgba(15, 40, 27, .25); user-select: none; }
.scene-brand-title { font-family: 'Creek Song', serif; font-size: 46px; font-weight: 400; line-height: .95; letter-spacing: .045em; }
.scene-brand-english { font-family: 'Creek Sans', sans-serif; font-size: 8px; font-weight: 400; line-height: 1.5; letter-spacing: .24em; opacity: .8; }
.glass { border: 1px solid rgba(243, 249, 231, .30); background: rgba(34, 54, 40, .30); box-shadow: inset 0 1px 0 rgba(255, 255, 246, .08), 0 6px 26px rgba(10, 30, 19, .075); -webkit-backdrop-filter: blur(22px) saturate(.9); backdrop-filter: blur(22px) saturate(.9); }
.scene-actions { display: flex; align-items: center; gap: 4px; max-width: 100%; padding: 4px; border-radius: 24px; pointer-events: auto; color: var(--glass-ink); }
.journey-tools { display: flex; align-items: center; gap: 4px; }
.weather-switch { display: flex; min-width: 0; gap: 2px; padding: 0; border-radius: 18px; color: var(--glass-ink); }
.weather-switch button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 52px; min-height: 50px; padding: 6px 7px; border-radius: 17px; background: transparent; opacity: .86; transition: opacity .3s, background .4s, box-shadow .4s; }
.weather-switch button svg { width: 19px; height: 19px; }
.weather-switch button span { font-family: 'Creek UI', sans-serif; font-size: 11px; font-weight: 400; line-height: 1.3; letter-spacing: .1em; padding-left: .1em; }
.weather-switch button:hover { opacity: 1; background: rgba(245, 251, 233, .065); }
.weather-switch button.is-active { opacity: 1; background: rgba(245, 251, 233, .15); box-shadow: inset 0 0 0 1px rgba(249, 253, 240, .11), 0 1px 7px rgba(8, 30, 19, .04); }
.journey-controls { display: flex; align-items: center; flex-shrink: 0; }
.tour-button { --tour-light-radius: 17px; --tour-light-ink: #e2ead8; position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; min-width: 136px; padding: 10px 13px; border-radius: 17px; color: var(--glass-ink); background-color: rgba(226, 238, 215, .025); background-image: linear-gradient(145deg, rgba(226, 238, 215, .04), transparent); transition: background-color .5s, box-shadow .5s; }
.tour-button:hover { background-color: rgba(238, 246, 229, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 246, .10); }
.tour-button:active { background-color: rgba(238, 246, 229, .13); }
/* A masked conic beam keeps the glass face clear while the light circles its edge. */
@property --tour-light-angle { syntax: '<angle>'; initial-value: 0deg; inherits: true; }
body[data-weather="overcast"] .tour-button { --tour-light-ink: #dce6e3; }
body[data-weather="dusk"] .tour-button { --tour-light-ink: #eee2cf; }
body[data-weather="winter"] .tour-button { --tour-light-ink: #e3f0f6; }
.tour-button::before { content: ''; position: absolute; inset: 0; box-sizing: border-box; border: 1px solid rgba(229, 239, 219, .09); border-radius: inherit; opacity: 0; pointer-events: none; transition: opacity .6s ease; }
:root:not([data-page-hidden="true"]) body.scene-ready #interface:not([inert]) #tour-toggle[data-tour-state="idle"]:not(:disabled)::before { opacity: 1; }
.tour-light { --tour-light-head: #fffef1; position: absolute; inset: -.5px; border-radius: calc(var(--tour-light-radius) + .5px); opacity: 0; pointer-events: none; transition: opacity .7s var(--ease); animation: tour-light-orbit 4.8s linear -.8s infinite paused; }
.tour-light-breath { position: absolute; inset: 0; border-radius: inherit; opacity: .72; animation: tour-light-breathe 6.8s ease-in-out -.8s infinite paused; }
.tour-light-ring { position: absolute; inset: 0; padding: 1.25px; border-radius: inherit; background: conic-gradient(from var(--tour-light-angle), transparent 0deg 65deg, color-mix(in srgb, var(--tour-light-ink) 8%, transparent) 88deg, color-mix(in srgb, var(--tour-light-ink) 35%, transparent) 122deg, color-mix(in srgb, var(--tour-light-ink) 65%, transparent) 146deg, color-mix(in srgb, var(--tour-light-head) 85%, transparent) 154deg, transparent 167deg 224deg, color-mix(in srgb, var(--tour-light-ink) 10%, transparent) 244deg, color-mix(in srgb, var(--tour-light-ink) 45%, transparent) 278deg, var(--tour-light-ink) 300deg, var(--tour-light-head) 319deg, transparent 332deg); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.tour-light-halo { position: absolute; inset: -1px; border-radius: calc(var(--tour-light-radius) + 1.5px); filter: blur(2.1px); opacity: .6; }
.tour-light-halo .tour-light-ring { padding: 2.5px; }
:root:not([data-page-hidden="true"]) body.scene-ready #interface:not([inert]) #tour-toggle[data-tour-state="idle"]:not(:disabled) .tour-light { opacity: 1; }
:root:not([data-page-hidden="true"]) body.scene-ready #interface:not([inert]) #tour-toggle[data-tour-state="idle"]:not(:disabled) :is(.tour-light, .tour-light-breath) { animation-play-state: running; }
@keyframes tour-light-orbit { from { --tour-light-angle: 0deg; } to { --tour-light-angle: 360deg; } }
@keyframes tour-light-breathe { 0%, 100% { opacity: .66; } 38% { opacity: 1; } 72% { opacity: .82; } }
#tour-label { font-family: 'Creek UI', sans-serif; font-size: 13px; font-weight: 400; line-height: 1.5; letter-spacing: .10em; padding-left: .10em; white-space: nowrap; }
.tour-icon, .tour-icon svg { width: 18px; height: 18px; }
.tour-pause { display: none; }
.tour-button.is-running .tour-play { display: none; }
.tour-button.is-running .tour-pause { display: block; }
.tour-accent { width: 8px; height: 1px; margin-left: 3px; background: currentColor; opacity: .35; }
.scene-ready .topbar { animation: appear-down 1.15s var(--ease) .1s both; }
.audio-toggle { display: grid; place-items: center; flex-shrink: 0; width: 44px; min-height: 50px; padding: 10px; border-radius: 17px; color: var(--glass-ink); background: transparent; opacity: .86; transition: background .3s, opacity .3s; }
.audio-toggle:hover { background-color: rgba(245, 251, 233, .065); opacity: 1; }
.audio-toggle svg { width: 19px; height: 19px; }
.audio-slash, .audio-toggle[data-muted="true"] .audio-waves { display: none; }
.audio-toggle[data-muted="true"] .audio-slash { display: block; }
.reset-view { display: grid; place-items: center; flex-shrink: 0; width: 44px; min-height: 50px; padding: 10px; border-radius: 17px; color: var(--glass-ink); background: transparent; opacity: .86; transition: background .3s, opacity .3s; }
.reset-view:hover { background: rgba(245, 251, 233, .065); opacity: 1; }
.reset-view svg { width: 19px; height: 19px; }

/* A moving typographic poster: the slash is the axis, the words are the image. */
.status-screen { position: fixed; inset: 0; z-index: 5; opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.status-screen.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-screen { --loading-progress: 0; display: block; overflow: hidden; isolation: isolate; background: #1b3027; color: #fff; }
.loading-backdrop { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #1b3027; }
.loading-backdrop-poster, .loading-backdrop-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.07); }
.loading-backdrop-poster { opacity: 1; }
.loading-backdrop-video { opacity: 0; transition: opacity 2s ease; }
.loading-screen.is-video-ready .loading-backdrop-video, .loading-backdrop.is-video-ready .loading-backdrop-video { opacity: 1; }
.loading-backdrop-shade { position: absolute; inset: 0; background: rgba(17, 32, 25, .34); }
.poster-topline { position: absolute; z-index: 3; top: max(45px, env(safe-area-inset-top)); left: 4.5%; right: 4.5%; display: flex; align-items: center; justify-content: space-between; gap: 30px; font-size: 11px; line-height: 1.5; font-weight: 400; letter-spacing: .13em; animation: poster-appear .9s var(--ease) .05s both; }
.poster-topline-title { display: flex; align-items: center; gap: 18px; white-space: nowrap; font-family: 'Creek UI', sans-serif; letter-spacing: .1em; }
.poster-cross { position: relative; display: block; width: 13px; height: 13px; flex-shrink: 0; }
.poster-cross::before, .poster-cross::after { position: absolute; content: ''; background: currentColor; }
.poster-cross::before { top: 6px; left: 0; width: 13px; height: 1px; }
.poster-cross::after { top: 0; left: 6px; width: 1px; height: 13px; }
.poster-geometry { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.poster-diagonal { position: absolute; top: 59%; left: 34%; width: 60%; height: 1px; color: #fff; background: currentColor; opacity: .24; transform: rotate(-27deg); transform-origin: left center; animation: poster-axis-breathe 24s ease-in-out infinite; }
.poster-diagonal::after { content: ''; position: absolute; inset: -4px 0 auto; height: 9px; background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 42px); opacity: .5; }
.poster-diagonal i, .poster-diagonal b { position: absolute; top: -2px; width: 5px; height: 5px; background: transparent; border: 1px solid currentColor; border-radius: 50%; }
.poster-diagonal i { left: 0; }
.poster-diagonal b { right: 0; }
.poster-guide { position: absolute; left: 39%; top: 16%; height: 10%; color: #fff; opacity: .62; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.poster-guide::after { content: ''; height: 64px; width: 1px; background: currentColor; opacity: .25; }
.poster-guide span { font-size: 10px; letter-spacing: .12em; white-space: nowrap; writing-mode: vertical-rl; }
.poster-orbit { position: absolute; width: clamp(245px, 25vw, 390px); aspect-ratio: 1; right: -3%; top: 7%; color: #fff; animation: poster-orbit-breathe 30s ease-in-out infinite; }
.poster-orbit-art { width: 100%; height: 100%; overflow: visible; }
.poster-orbit-outline { stroke: currentColor; stroke-width: .55; opacity: .32; }
.poster-orbit-inner { stroke: currentColor; stroke-width: .5; opacity: .18; }
.poster-orbit-axis { stroke: currentColor; stroke-width: .6; opacity: .4; }
.poster-progress-arc { stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-dasharray: calc(var(--loading-display-progress, var(--loading-progress)) * 100) 100; opacity: .54; }
.poster-orbit-motion { position: absolute; inset: 6.8%; border-radius: 50%; opacity: .7; animation: poster-orbit-turn 48s linear infinite; }
.poster-orbit-motion i { position: absolute; top: -3px; left: calc(50% - 3px); width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.poster-orbit-center { position: absolute; top: 50%; left: 50%; font-size: 17px; font-weight: 300; line-height: 1; transform: translate(-50%, -50%); opacity: .45; }
.poster-watermark { position: absolute; left: 5.5%; bottom: 9%; font-size: clamp(60px, 9vw, 130px); font-weight: 300; line-height: 1; letter-spacing: -.06em; color: #fff; opacity: .045; user-select: none; }
.poster-edge-note { position: absolute; right: 3.6%; top: 51%; font-size: 10px; line-height: 1.5; letter-spacing: .17em; color: #fff; opacity: .66; writing-mode: vertical-rl; }
.poster-registration { position: absolute; right: 4.5%; bottom: 12%; color: #fff; opacity: .42; }
.loading-title { position: absolute; z-index: 2; top: 49%; left: 9%; width: 26%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9.6px; margin: 0; transform: translateY(-50%); color: #fff; font-family: 'Creek Song', serif; font-weight: 400; }
.title-character { display: block; font-size: clamp(144px, 14vw, 208px); font-weight: 400; line-height: .94; letter-spacing: 0; transform: scaleX(.88); }
.title-character-first { animation: poster-character-in 1.2s var(--ease) .08s both; }
.title-character-last { animation: poster-character-in 1.2s var(--ease) .32s both; }
.title-divider { display: block; font-family: Georgia, serif; font-size: clamp(65.6px, 6.4vw, 92.8px); font-weight: 400; line-height: .72; transform: scaleX(.7); opacity: .85; animation: poster-slash-in 1.3s var(--ease) .18s both; }
.loading-brand-english { position: absolute; z-index: 3; left: 47%; right: 9%; top: 32%; font-family: 'Creek Sans', sans-serif; font-weight: 300; animation: poster-appear 1.25s var(--ease) .28s both; }
.poster-kicker { width: fit-content; margin: 0 0 22px; padding: 3px 8px 3px 0; font-size: 11px; font-weight: 400; line-height: 1.5; letter-spacing: .24em; }
.poster-english-lines { display: flex; flex-direction: column; align-items: flex-start; gap: 7.2px; font-family: 'Creek Display', serif; font-size: clamp(44.8px, 6.4vw, 96px); font-weight: 300; line-height: .96; letter-spacing: .01em; }
.poster-english-lines span { display: block; padding: 0 .11em .05em 0; }
.loading-invitation { width: fit-content; margin: 29px 0 0; padding-right: 12px; font-family: 'Creek UI', sans-serif; font-size: 14px; font-weight: 400; line-height: 1.8; letter-spacing: .21em; }
.loading-progress { position: absolute; z-index: 3; left: 45%; right: 9%; bottom: 14%; animation: poster-appear 1.3s var(--ease) .5s both; }
.loading-progress-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 0 21px; font-size: 11px; font-weight: 400; line-height: 1.5; letter-spacing: .16em; color: #fff; opacity: .82; }
.poster-progress-chevron { font-family: 'Creek Sans', sans-serif; font-size: 19px; font-weight: 300; line-height: 1; }
.loading-track { position: relative; width: 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .19); box-shadow: 0 1px 7px rgba(7, 24, 15, .12); }
.loading-track::before { content: ''; position: absolute; inset: -5px 0 auto; height: 13px; background: linear-gradient(currentColor, currentColor) left center / 1px 13px no-repeat, linear-gradient(currentColor, currentColor) right center / 1px 13px no-repeat, repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 5%) left center / 100% 5px no-repeat; opacity: .34; }
.loading-track::after { content: ''; position: absolute; top: -9.5px; left: calc(var(--loading-display-progress, var(--loading-progress)) * 100%); width: 22px; height: 22px; margin-left: -11px; border: 1px solid rgba(255, 255, 255, .62); border-radius: 50%; opacity: .6; animation: progress-ripple 3.2s ease-out infinite; pointer-events: none; }
.loading-fill { position: relative; display: block; width: calc(var(--loading-display-progress, var(--loading-progress)) * 100%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgba(255, 255, 255, .48), rgba(255, 255, 255, .95) 76%, #fff); box-shadow: 0 0 13px rgba(238, 255, 229, .24); }
.loading-fill::before { content: ''; position: absolute; inset: -1px 0; border-radius: inherit; background: linear-gradient(100deg, transparent 12%, rgba(255, 255, 255, .96) 50%, transparent 84%); background-size: 240% 100%; animation: progress-waterlight 4.2s ease-in-out infinite; opacity: .75; }
.loading-fill::after { position: absolute; right: -3px; top: -1.5px; width: 6px; height: 6px; content: ''; background: #fff; box-shadow: 0 0 7px rgba(255, 255, 255, .8), 0 0 18px rgba(240, 255, 231, .36); border-radius: 50%; }
.loading-progress.is-complete .loading-track::after { animation: none; opacity: 0; transition: opacity .55s ease, transform .55s ease; transform: scale(.6); }
.loading-progress.is-complete .loading-fill::before { animation: none; opacity: 0; transition: opacity .55s ease; }
.loading-progress.is-complete .loading-fill { box-shadow: 0 0 12px rgba(243, 255, 236, .28); transition: box-shadow .55s ease; }
.loading-detail { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-top: 25px; }
#loading-message { flex: 1; min-width: 0; max-width: calc(100% - 108px); margin: 0; font-family: 'Creek UI', sans-serif; font-size: 16px; font-weight: 500; line-height: 1.8; letter-spacing: .05em; color: #fff; opacity: 1; overflow-wrap: anywhere; text-shadow: 0 2px 18px rgba(6, 23, 14, .28); }
.loading-message-copy { display: inline; }
.loading-message-bracket { display: inline-block; margin-inline: .12em; font-family: 'Creek Sans', sans-serif; font-weight: 400; opacity: .9; }
.loading-message-char { display: inline-block; opacity: 1; animation: loading-character-in .7s var(--ease) var(--char-delay, 0ms) both; }
.loading-message-tail { display: inline-block; white-space: nowrap; }
.loading-message-dots { display: inline-block; min-width: 1.05em; letter-spacing: .04em; opacity: 1; animation: loading-dots-breathe 2.4s ease-in-out var(--char-delay, 0ms) infinite; }
.loading-percentage { display: flex; align-items: baseline; flex-shrink: 0; margin: 0; color: #fff; font-family: 'Creek Display', serif; font-size: 48px; font-weight: 300; line-height: 1.05; font-variant-numeric: tabular-nums; }
#loading-percent { display: inline-block; min-width: 3ch; text-align: right; letter-spacing: -.01em; }
.percent-sign { margin-left: 6px; font-family: 'Creek Sans', sans-serif; font-size: 13px; font-weight: 400; opacity: .8; }
.loading-status { min-height: 1.8em; margin: 12px 0 0; color: rgba(255, 255, 255, .88); font-family: 'Creek UI', sans-serif; font-size: 11px; line-height: 1.8; letter-spacing: .035em; text-align: right; overflow-wrap: anywhere; text-shadow: 0 1px 12px rgba(6, 23, 14, .35); }
.loading-footer { position: absolute; z-index: 3; left: 4.5%; right: 4.5%; bottom: max(36px, calc(env(safe-area-inset-bottom) + 18px)); display: flex; align-items: center; justify-content: space-between; gap: 35px; color: #fff; font-family: 'Creek Sans', 'Creek UI', sans-serif; font-size: 11px; font-weight: 400; line-height: 1.5; letter-spacing: .11em; animation: poster-appear 1.2s var(--ease) .6s both; }
.loading-footer span:first-child { white-space: nowrap; }
.loading-footer-line { flex: 1; max-width: 110px; height: 1px; background: currentColor; opacity: .25; }
.loading-footer span:last-child { text-align: right; }
.loading-screen.is-hidden *, .loading-screen.is-hidden *::before, .loading-screen.is-hidden *::after { animation-play-state: paused !important; }
.loading-screen.is-progress-paused .loading-track::after, .loading-screen.is-progress-paused .loading-fill::before, .loading-screen.is-progress-paused .loading-message-char, .loading-screen.is-progress-paused .loading-message-dots { animation-play-state: paused !important; }

/* Recovery uses the same quiet paper and typography. */
.error-screen { display: flex; align-items: center; justify-content: center; background: #e5e9e1; padding: 36px; }
.error-card { width: min(100%, 360px); }
.error-brand { display: block; margin-bottom: 12px; font-family: 'Creek Song', serif; font-weight: 400; font-size: 66px; line-height: 1; letter-spacing: .02em; }
.eyebrow { margin: 0 0 42px; font-family: 'Creek Sans', sans-serif; font-size: 9px; letter-spacing: .24em; color: #7a8e7a; }
.error-card h2 { margin: 0 0 16px; font-family: 'Creek UI', sans-serif; font-size: 21px; font-weight: 400; line-height: 1.6; letter-spacing: .06em; }
#error-message { margin: 0; font-family: 'Creek UI', sans-serif; font-size: 12px; line-height: 1.9; color: #596e58; overflow-wrap: anywhere; }
.reload-button { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 35px; min-height: 46px; padding: 0 22px; border: 1px solid rgba(63, 94, 65, .24); border-radius: 26px; background: transparent; font-family: 'Creek UI', sans-serif; font-size: 12px; letter-spacing: .08em; transition: background .3s; }
.reload-button:hover { background: rgba(242, 247, 234, .6); }
.reload-button:focus-visible { outline-color: #6f8b70; }
.reload-button svg { width: 16px; height: 16px; }
.error-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.error-actions .reload-button { margin-top: 0; gap: 14px; padding-inline: 18px; }
#error-hint { margin: 12px 0 0; font-size: 12px; line-height: 1.9; color: #596e58; }
#error-reference { margin: 12px 0 0; font-size: 10px; line-height: 1.6; color: #819083; overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@keyframes poster-appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes poster-character-in { from { opacity: 0; transform: translateY(18px) scaleX(.88); } to { opacity: 1; transform: translateY(0) scaleX(.88); } }
@keyframes poster-slash-in { from { opacity: 0; transform: translateY(12px) scaleX(.7); } to { opacity: .85; transform: translateY(0) scaleX(.7); } }
@keyframes poster-axis-breathe { 0%, 100% { opacity: .18; } 50% { opacity: .3; } }
@keyframes poster-orbit-breathe { 0%, 100% { opacity: .58; } 50% { opacity: .82; } }
@keyframes poster-orbit-turn { to { transform: rotate(360deg); } }
@keyframes progress-waterlight { 0%, 10% { background-position: 140% 0; opacity: 0; } 30%, 66% { opacity: .75; } 90%, 100% { background-position: -100% 0; opacity: 0; } }
@keyframes progress-ripple { 0%, 12% { transform: scale(.36); opacity: .62; } 78%, 100% { transform: scale(1.4); opacity: 0; } }
@keyframes loading-character-in { 0% { opacity: 0; transform: translateY(.45em) scale(.94); } 72% { opacity: 1; transform: translateY(-.035em) scale(1.02); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes loading-dots-breathe { 0%, 100% { opacity: .4; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-1px); } }
@keyframes appear-down { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1700px) {
  .topbar { top: max(48px, env(safe-area-inset-top)); left: max(64px, env(safe-area-inset-left)); right: max(64px, env(safe-area-inset-right)); }
  .loading-title { left: 11%; width: 23%; }
  .poster-topline { top: 52px; }
  .loading-progress { bottom: 14%; }
}
@media (min-width: 1001px) and (min-height: 501px) and (max-height: 850px) {
  .loading-brand-english { top: 26%; }
  .loading-progress { bottom: 12%; }
}
@media (min-width: 1001px) and (min-height: 501px) and (max-height: 700px) {
  .poster-english-lines { font-size: clamp(44.8px, 9.6vh, 67.2px); }
}
@media (max-width: 1000px) {
  .topbar { top: max(30px, env(safe-area-inset-top)); left: max(32px, env(safe-area-inset-left)); right: max(32px, env(safe-area-inset-right)); }
  .loading-title { left: 6%; width: 30%; }
  .title-character { font-size: clamp(120px, 14.8vw, 144px); }
  .title-divider { font-size: 64px; }
  .poster-english-lines { font-size: clamp(36.8px, 6.08vw, 60.8px); }
  .loading-brand-english { left: 46%; right: 8%; }
  .loading-progress { left: 44%; right: 9%; }
  .poster-guide { left: 37%; }
  .poster-edge-note { right: 3%; }
  .poster-orbit { right: -8%; top: 8%; }
}
@media (max-width: 600px) {
  .audio-toggle, .reset-view { min-height: 44px; border-radius: 15px; }
  .topbar { top: max(23px, env(safe-area-inset-top)); left: max(24px, env(safe-area-inset-left)); right: max(24px, env(safe-area-inset-right)); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 10px; row-gap: 12px; }
  .scene-brand { gap: 7px; padding-top: 3px; }
  .scene-brand-title { font-size: 36px; }
  .scene-brand-english { font-size: 6.5px; letter-spacing: .19em; }
  .scene-actions { display: contents; }
  .journey-tools, .weather-switch { border: 1px solid rgba(243, 249, 231, .30); background: rgba(34, 54, 40, .30); box-shadow: inset 0 1px 0 rgba(255, 255, 246, .08), 0 6px 26px rgba(10, 30, 19, .075); -webkit-backdrop-filter: blur(22px) saturate(.9); backdrop-filter: blur(22px) saturate(.9); pointer-events: auto; color: var(--glass-ink); }
  .journey-tools { grid-column: 2; grid-row: 1; gap: 3px; padding: 3px; border-radius: 20px; }
  .weather-switch { grid-column: 1 / -1; grid-row: 2; gap: 2px; padding: 3px; border-radius: 20px; }
  .weather-switch button { flex: 1; width: auto; min-height: 44px; padding: 4px; gap: 4px; border-radius: 15px; }
  .weather-switch button svg { width: 18px; height: 18px; }
  .weather-switch button span { font-size: 10px; }
  .tour-button { --tour-light-radius: 15px; min-height: 44px; min-width: 108px; padding: 9px 10px; gap: 8px; border-radius: 15px; }
  #tour-label { font-size: 12px; letter-spacing: .04em; padding-left: .04em; }
  .tour-icon, .tour-icon svg { width: 18px; height: 18px; }
  .tour-accent { display: none; }
  .poster-topline { top: max(28px, env(safe-area-inset-top)); left: 22px; right: 22px; gap: 16px; font-size: 10px; letter-spacing: .04em; }
  .poster-topline-title { gap: 11px; letter-spacing: .03em; }
  .poster-topline-title .poster-cross { width: 9px; height: 9px; }
  .poster-topline-title .poster-cross::before { width: 9px; top: 4px; }
  .poster-topline-title .poster-cross::after { height: 9px; left: 4px; }
  .loading-title { left: 3%; top: 45%; width: 38%; gap: 7.2px; }
  .title-character { font-size: clamp(88px, 24vw, 105.6px); }
  .title-divider { font-size: 51.2px; }
  .loading-brand-english { left: 47%; right: 6%; top: 34%; }
  .poster-kicker { margin-bottom: 19px; padding-right: 0; font-size: 10px; letter-spacing: .06em; }
  .poster-english-lines { gap: 5.6px; font-size: clamp(24px, 7.68vw, 35.2px); letter-spacing: .01em; }
  .loading-invitation { margin-top: 24px; padding-right: 5px; font-size: 12px; letter-spacing: .12em; }
  .loading-progress { left: 43%; right: 7%; bottom: 18.5%; }
  .loading-progress-heading { margin-bottom: 20px; font-size: 11px; letter-spacing: .04em; }
  .poster-progress-chevron { font-size: 17px; }
  .loading-detail { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 22px; }
  #loading-message { max-width: 100%; min-height: 3.4em; font-size: 14px; line-height: 1.7; letter-spacing: .02em; }
  .loading-percentage { align-self: flex-end; font-size: 42px; }
  .percent-sign { font-size: 12px; }
  .poster-diagonal { left: 37%; top: 59%; width: 84%; transform: rotate(-31deg); }
  .poster-diagonal::after { background-size: auto; background-image: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 30px); }
  .poster-guide { left: 46%; top: 13%; gap: 17px; }
  .poster-guide span { font-size: 10px; letter-spacing: .08em; }
  .poster-guide::after { height: 32px; }
  .poster-orbit { width: 190px; right: -22%; top: 10%; }
  .poster-orbit-center { font-size: 14px; }
  .poster-watermark { left: 4%; bottom: 10%; font-size: 64px; }
  .poster-edge-note { right: 20px; top: 33%; font-size: 10px; letter-spacing: .08em; }
  .poster-registration { right: 23px; bottom: 10.7%; width: 9px; height: 9px; }
  .poster-registration::before { width: 9px; top: 4px; }
  .poster-registration::after { height: 9px; left: 4px; }
  .loading-footer { left: 22px; right: 22px; bottom: max(27px, calc(env(safe-area-inset-bottom) + 15px)); gap: 18px; font-size: 10px; letter-spacing: .02em; }
  .loading-footer-line { max-width: 25px; }
}
@media (max-width: 360px) {
  .topbar { left: max(18px, env(safe-area-inset-left)); right: max(18px, env(safe-area-inset-right)); column-gap: 8px; row-gap: 10px; }
  .scene-brand-title { font-size: 32px; }
  .scene-brand-english { font-size: 6px; }
  .tour-button { min-width: 76px; padding-inline: 8px; }
  .tour-icon { display: none; }
  .poster-topline { left: 18px; right: 18px; gap: 10px; font-size: 10px; }
  .poster-topline-title { gap: 8px; }
  .poster-kicker { font-size: 10px; }
  .loading-progress-heading { font-size: 11px; }
  .loading-footer { left: 18px; right: 18px; gap: 12px; font-size: 10px; }
  .poster-guide span { display: none; }
  .poster-edge-note { display: none; }
}
@media (max-height: 650px) and (max-width: 600px) {
  .poster-topline { top: 20px; }
  .loading-title { top: 47%; gap: 4.8px; }
  .title-character { font-size: clamp(72.8px, 18.4vh, 96px); }
  .title-divider { font-size: 40px; }
  .loading-brand-english { top: 25%; }
  .poster-kicker { margin-bottom: 13px; }
  .loading-invitation { margin-top: 18px; }
  .loading-progress { bottom: 17%; }
  .loading-progress-heading { margin-bottom: 12px; }
  .loading-detail { gap: 12px; margin-top: 17px; }
  #loading-message { min-height: 1.7em; }
  .loading-percentage { font-size: 38px; }
  .poster-guide { top: 12%; }
  .poster-orbit { top: 3%; }
  .loading-footer { bottom: 20px; }
}
@media (max-width: 600px) and (min-height: 660px) {
  .loading-progress { left: 8%; right: 8%; bottom: 17%; }
  .loading-progress-heading { margin-bottom: 21px; }
  .loading-detail { flex-direction: row; align-items: baseline; gap: 20px; margin-top: 25px; }
  #loading-message { max-width: none; min-height: 1.7em; }
  .loading-percentage { align-self: auto; }
}
@media (max-height: 500px) and (min-width: 601px) {
  .audio-toggle, .reset-view { min-height: 44px; border-radius: 15px; }
  .topbar { top: max(21px, env(safe-area-inset-top)); left: max(28px, env(safe-area-inset-left)); right: max(28px, env(safe-area-inset-right)); }
  .scene-brand-title { font-size: 34px; }
  .scene-brand-english { font-size: 6px; }
  .scene-actions { gap: 3px; padding: 3px; border-radius: 20px; }
  .weather-switch { gap: 2px; border-radius: 18px; }
  .weather-switch button { width: 44px; min-height: 44px; padding: 4px; gap: 3px; border-radius: 15px; }
  .weather-switch button svg { width: 17px; height: 17px; }
  .weather-switch button span { font-size: 9px; }
  .tour-button { --tour-light-radius: 15px; min-height: 44px; min-width: 116px; padding: 9px 10px; gap: 6px; border-radius: 15px; }
  #tour-label { font-size: 11px; }
  .tour-icon, .tour-icon svg { width: 18px; height: 18px; }
  .poster-topline { top: 20px; left: 4.5%; right: 4.5%; }
  .loading-title { top: 48%; left: 10%; width: 24%; gap: 4.8px; }
  .title-character { font-size: clamp(64px, 17.6vh, 88px); }
  .title-divider { font-size: 33.6px; }
  .loading-brand-english { top: 24%; left: 47%; right: 9%; }
  .poster-kicker { font-size: 10px; margin-bottom: 11px; letter-spacing: .1em; }
  .poster-english-lines { font-size: clamp(28.8px, 4.64vw, 46.4px); gap: 3.2px; }
  .loading-invitation { margin-top: 13px; font-size: 12px; }
  .loading-progress { bottom: 15%; left: 44%; right: 9%; }
  .loading-progress-heading { font-size: 11px; margin-bottom: 15px; }
  .loading-detail { gap: 20px; margin-top: 17px; }
  #loading-message { max-width: calc(100% - 86px); font-size: 14px; line-height: 1.7; }
  .loading-percentage { font-size: 34px; }
  .percent-sign { font-size: 11px; }
  .poster-guide { left: 38%; top: 20%; gap: 13px; }
  .poster-guide span { display: none; }
  .poster-guide::after { height: 35px; }
  .poster-orbit { width: 210px; top: -17%; right: -4%; }
  .poster-edge-note { right: 3.5%; top: 40%; font-size: 10px; }
  .poster-watermark { bottom: 13%; font-size: 65px; }
  .poster-registration { bottom: 12%; }
  .loading-footer { bottom: 18px; font-size: 10px; }
}
@media (min-width: 601px) and (max-width: 760px) {
  .topbar { left: max(24px, env(safe-area-inset-left)); right: max(24px, env(safe-area-inset-right)); gap: 16px; }
  .scene-brand-title { font-size: 38px; }
  .tour-button { min-width: 108px; padding-inline: 10px; }
  #tour-label { font-size: 11px; }
  .weather-switch button { width: 44px; padding-inline: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .tour-light { display: none; }
  .loading-backdrop-video { display: none; }
}
