:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; overflow: hidden; background: #050814; color: #f5f7ff; }
a-scene { position: fixed; inset: 0; }
.hud { position: fixed; z-index: 5; inset: 0; pointer-events: none; padding: max(22px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.brand { font-size: 14px; letter-spacing: .2em; font-weight: 600; display: flex; align-items: center; gap: 9px; text-shadow: 0 1px 12px #000; }
.brand b { color: #83d8ff; font-weight: 700; }.brand-mark { color: #ffd66b; font-size: 22px; }
.icon-button, .zoom button, .close { pointer-events: auto; border: 1px solid #ffffff40; color: white; background: #0c1326c9; backdrop-filter: blur(12px); cursor: pointer; }
.icon-button { position: absolute; top: max(19px, env(safe-area-inset-top)); right: 20px; width: 34px; height: 34px; border-radius: 50%; font: 600 16px Georgia; }
.hint { align-self: center; margin-top: auto; margin-bottom: 86px; max-width: 290px; padding: 11px 16px; border: 1px solid #ffffff25; background: #081025b8; border-radius: 30px; font-size: 12px; line-height: 1.35; text-align: center; color: #d4dcf0; backdrop-filter: blur(12px); }.pulse { display:inline-block; width:7px; height:7px; margin-right:6px; background:#73dcac; border-radius:50%; box-shadow:0 0 0 5px #73dcac26; }
.zoom { pointer-events: auto; align-self: center; display:flex; align-items:center; gap:17px; padding:6px; border-radius:30px; background:#081025c9; border:1px solid #ffffff25; backdrop-filter:blur(12px); }.zoom button { width:34px; height:34px; border-radius:50%; font-size:21px; line-height:1; }.zoom span { min-width:28px; text-align:center; font-size:12px; color:#d4dcf0; }
.modal-backdrop { position: fixed; z-index: 10; inset: 0; display:grid; place-items:center; padding:24px; background:#02040bcc; backdrop-filter:blur(8px); }.modal-backdrop[hidden] { display:none; }.modal { position:relative; max-width:410px; padding:32px 28px 26px; border:1px solid #ffffff24; border-radius:24px; background:linear-gradient(150deg,#121d3a,#080d1c); box-shadow:0 24px 80px #0008; line-height:1.55; color:#cbd4e8; }.modal h1 { margin:0 0 14px; font:600 27px Georgia,serif; color:#fff; letter-spacing:-.03em; }.modal p { font-size:14px; margin:0 0 20px; }.eyebrow { color:#83d8ff; font-size:10px!important; font-weight:700; letter-spacing:.18em; }.close { position:absolute; top:14px; right:14px; border-radius:50%; width:30px; height:30px; font-size:22px; line-height:1; }.modal hr { border:0; border-top:1px solid #ffffff1c; margin:22px 0; }.modal a { color:#83d8ff; }.credit { font-size:12px!important; }.made-by { margin-bottom:0!important; color:#8996b3; font-size:12px!important; }
.hud { padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-right)); }
.hud::before, .hud::after { content:""; pointer-events:none; position:absolute; left:0; right:0; z-index:-1; }
.hud::before { top:0; height:150px; background:linear-gradient(180deg,#050814d9,transparent); }.hud::after { bottom:0; height:190px; background:linear-gradient(0deg,#050814d9,transparent); }
.brand { color:#f7f8ff; font-size:13px; letter-spacing:.24em; text-transform:uppercase; }.brand-mark { color:#ffd66b; filter:drop-shadow(0 0 8px #ffd66b66); }
.icon-button { bottom:calc(18px + env(safe-area-inset-bottom)); top:auto; right:max(18px, env(safe-area-inset-right)); width:48px; height:48px; border-radius:50%; background:#192947e8; border-color:#ffefaa66; color:#ffefaa; font-size:19px; box-shadow:0 10px 32px #0007; }
.zoom { align-self:flex-end; margin-top:auto; margin-right:54px; margin-bottom:0; height:48px; gap:10px; padding:6px; background:#192947e8; border-color:#ffefaa66; box-shadow:0 8px 30px #0006; }.zoom button { width:36px; height:36px; border-color:#ffefaa66; color:#ffefaa; }.zoom span { color:#fff2b0; font-weight:600; }
.modal-backdrop { display:flex; align-items:stretch; justify-content:flex-end; padding:0; background:#05081488; backdrop-filter:blur(18px); }.modal { display:flex; flex-direction:column; width:min(420px,92vw); max-width:none; height:100%; overflow:auto; border-radius:16px 0 0 16px; background:linear-gradient(155deg,#1d3154ef,#0b1428f2); box-shadow:-22px 0 70px #0008; animation:slide-in .28s ease-out both; }.modal .close { width:40px; height:40px; display:grid; place-items:center; font-family:Arial,sans-serif; font-size:25px; line-height:1; color:#fff2b0; }.modal-footer { margin-top:auto; text-align:center; border-top:1px solid #ffefaa26; padding-top:18px; }
@keyframes slide-in { from { opacity:0; transform:translateX(100%); } to { opacity:1; transform:translateX(0); } }
@media (max-width:599px) { .zoom { margin-right:62px; }.modal { width:calc(100vw - 8px); } }
.modal { display:flex; flex-direction:column; }
.modal-footer { margin-top:auto; padding-top:18px; border-top:1px solid #ffffff1c; text-align:center; font-size:13px; }.modal-footer p { margin:0 0 8px; }.modal-footer .credit { font-size:13px!important; }.modal-footer a { color:#ffefaa; }
.how-to { padding:14px 16px; border:1px solid #ffefaa26; border-radius:12px; background:#ffefaa0d; }.how-to strong { color:#ffefaa; font-size:11px; letter-spacing:.1em; }.how-to a { color:#9bdcf0; }
.language-toggle { display:flex; gap:4px; position:absolute; right:68px; top:20px; pointer-events:auto; padding:3px; border:1px solid #ffefaa45; border-radius:999px; background:#192947e8; }.language-toggle button { border:0; border-radius:999px; background:transparent; color:#9baac4; cursor:pointer; font:700 10px Inter,sans-serif; padding:6px 9px; }.language-toggle button[aria-pressed="true"] { background:#ffefaa; color:#16213a; }
.a-enter-vr, .a-enter-ar { display:none !important; }
@media (min-width: 600px) { .hud { padding-left:32px; padding-right:32px; }.modal { padding:38px 34px 30px; } }
