:root { font-family: Arial, sans-serif; color: #222b36; color-scheme: light; --entry-background: linear-gradient(180deg, #91d5f5 0%, #d9f0fc 52%, #ffffff 100%); }
* { box-sizing: border-box; }
body { margin: 0; background: #e7edf2; }
a, button { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.navigation { position: fixed; z-index: 10; top: max(14px, env(safe-area-inset-top)); left: 14px; }
.space-menu summary { display: inline-flex; align-items: center; list-style: none; user-select: none; }
.space-menu summary::-webkit-details-marker { display: none; }
.space-menu-links { display: flex; flex-direction: column; gap: 7px; width: min(240px, calc(100vw - 28px)); margin-top: 10px; padding: 12px; color: #000; background: #fffffff0; border: 1px solid #ffffffb8; border-radius: 24px; box-shadow: 0 8px 35px #182a3f20; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.space-menu-links a { display: block; }
.navigation .pill { color: #000; border: 1px solid #ffffffb8; border-radius: 999px; background: #ffffffed; box-shadow: 0 2px 15px #182a3f0d; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.navigation .pill:hover, .navigation .pill[aria-current="page"] { background: #000; color: #fff; }
.pill { pointer-events: auto; border: 1px solid #ffffffb8; background: #ffffffed; border-radius: 999px; padding: 10px 15px; font: inherit; font-size: 13px; cursor: pointer; box-shadow: 0 2px 15px #182a3f0d; }
.pill:focus-visible { outline: 3px solid #3975e2; outline-offset: 3px; }
.loading { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px; background: var(--entry-background); color: #000; text-align: center; opacity: 1; transition: opacity 550ms ease; }
.loading.is-leaving { opacity: 0; pointer-events: none; }
.entry-brand { position: absolute; top: max(24px, env(safe-area-inset-top)); left: max(24px, env(safe-area-inset-left)); text-align: left; font-family: "Arial Black", Arial, sans-serif; font-size: clamp(32px, 5vw, 56px); font-weight: 900; line-height: .9; letter-spacing: .04em; text-shadow: 0 1px 0 #ffffff80; }
.entry-brand span { display: block; margin-top: 18px; font-family: Arial, sans-serif; font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; }
.loading-center { width: min(100%, 460px); }
.loading p { line-height: 1.5; margin: 0; font-size: clamp(19px, 3vw, 28px); text-transform: uppercase; }
.loading-dots { display: inline-flex; gap: 5px; margin-left: 10px; vertical-align: middle; }
.loading-dots i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: loading-dot 2.1s infinite ease-in-out; }
.loading-dots i:nth-child(2) { animation-delay: .32s; }
.loading-dots i:nth-child(3) { animation-delay: .64s; }
.loading progress { display: block; appearance: none; width: 100%; height: 2px; margin-top: 26px; border: 0; background: #00000020; color: #000; }
.loading progress::-webkit-progress-bar { background: #00000020; }
.loading progress::-webkit-progress-value { background: #000; transition: width .3s ease; }
.loading progress::-moz-progress-bar { background: #000; }
.loading button { margin-top: 24px; color: #000; border-color: #000; background: transparent; }
@keyframes loading-dot { 0%, 100% { opacity: .2; } 35% { opacity: 1; } 55% { opacity: .3; } }
.space-intro { box-sizing: border-box; width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; color: #000; background: var(--entry-background); border: 0; border-radius: 24px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 16px 80px #00003335; }
.space-intro[open] { animation: entry-arrive 700ms both; }
.space-intro[open].is-leaving { animation: entry-leave 350ms both; }
.space-intro.is-leaving::backdrop { animation: entry-leave 350ms both; }
.space-intro::backdrop { background: #00003324; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: entry-backdrop 550ms both; }
.entry-eyebrow { font-size: 11px; line-height: 1.5; text-transform: uppercase; letter-spacing: 2px; }
.space-intro h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; font-weight: 400; letter-spacing: -1.5px; margin: 20px 0; }
.entry-divider { height: 1px; background: currentColor; margin: 24px 0; opacity: .7; }
.space-intro p { font-size: 14px; line-height: 1.55; }
.entry-actions { display: flex; justify-content: center; margin-top: 24px; }
.space-intro .pill { min-width: 140px; color: #000; background: #ffffffb8; border: 1px solid #000; box-shadow: none; }
.space-intro .pill:hover { background: white; border-color: #000; }
.intro-instructions { margin-top: 20px; }
.intro-instructions p { margin: 12px 0 0; font-size: 13px; text-align: center; }
.touch-arrows { display: grid; grid-template-columns: repeat(3, 44px); gap: 3px; justify-content: center; }
.touch-arrows span { display: grid; place-items: center; height: 44px; border: 1px solid #00000030; border-radius: 9px; color: #000; background: #ffffffb8; font: 32px/1 Arial, sans-serif; }
.touch-arrows span:first-child { grid-column: 2; }
.touch-arrows span:nth-child(2) { grid-column: 1; }
.vr-sticks { display: flex; justify-content: center; gap: 44px; }
.vr-sticks span { display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid #000; border-radius: 50%; color: #000; }
.intro-vr-status:empty { display: none; }
body[data-entry="loading"] .navigation, body[data-entry="loading"] .movement,
body[data-entry="error"] .navigation, body[data-entry="error"] .movement { visibility: hidden; }
body:not(.ready) .a-enter-vr, body:not(.ready) .a-enter-ar { display: none !important; }
body:not([data-input="vr"]) .a-enter-vr, body:not([data-input="vr"]) .a-enter-ar { display: none !important; }
@keyframes entry-arrive { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes entry-backdrop { from { opacity: 0; } to { opacity: 1; } }
@keyframes entry-leave { from { opacity: 1; } to { opacity: 0; } }
[hidden] { display: none !important; }
.movement { position: fixed; z-index: 12; right: 14px; bottom: 90px; display: grid; grid-template-columns: repeat(3, 40px); gap: 5px; }
.movement button { padding: 0; width: 40px; height: 40px; touch-action: none; user-select: none; }
.movement button:first-child { grid-column: 2; }
.movement button:nth-child(2) { grid-column: 1; }
.movement button:nth-child(5) { grid-column: 1; }
body.immersive .navigation, body.immersive .movement { display: none; }
@media (hover: hover) and (pointer: fine) { .movement { display: none; } }
@media (max-width: 600px) {
  .navigation { left: 10px; }
  .pill { font-size: 12px; padding: 9px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .loading, .loading progress::-webkit-progress-value { transition: none; }
  .loading-dots i, .space-intro[open], .space-intro[open].is-leaving, .space-intro::backdrop { animation: none; }
}
