@font-face{font-family:Barlow;src:url('/vr/fonts/barlow-condensed-500.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:Barlow;src:url('/vr/fonts/barlow-condensed-700.woff2') format('woff2');font-weight:700;font-display:swap}
:root{color-scheme:dark;--bg:#09151a;--panel:#102126;--ink:#f5f0df;--muted:#a7bbb8;--line:#ffffff18;--accent:#c7e5ac;--sat:env(safe-area-inset-top,0px);--sab:env(safe-area-inset-bottom,0px);font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;overscroll-behavior:none}body{background:radial-gradient(ellipse at 50% 25%,#1a353c 0,transparent 62%),var(--bg)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:disabled{opacity:.3;cursor:default}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button{touch-action:manipulation}a{color:inherit;text-decoration:none}button:focus:not(:focus-visible),canvas:focus:not(:focus-visible){outline:none}[hidden]{display:none!important}
.topbar{height:calc(72px + var(--sat));padding:var(--sat) 32px 0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px}.wordmark{font:500 25px/1 Georgia,serif;letter-spacing:-1px}.quiet{background:transparent;border:1px solid var(--line);border-radius:8px;min-height:42px;padding:9px 13px;font-size:13px}.quiet:hover{background:#ffffff0a}.tools{display:flex;gap:8px}.workspace{max-width:1320px;margin:auto;display:grid;grid-template-columns:230px minmax(0,1fr) 210px;gap:48px;padding:25px 32px 12px;align-items:center;min-height:calc(100dvh - 72px - var(--sat))}.shelf{align-self:center}.shelf-intro{font:400 28px/1.22 Georgia,serif;letter-spacing:-.7px;margin:0 0 29px;color:#d4e0d1}.world-link{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center;width:100%;border:0;border-bottom:1px solid var(--line);padding:14px 8px;text-align:left;background:transparent;color:var(--muted);border-radius:5px}.world-link .world-art{width:44px;height:53px;object-fit:cover;border-radius:5px;filter:saturate(.55);opacity:.6}.world-link b{display:block;font:500 21px/1.1 Georgia,serif;letter-spacing:-.3px}.world-link small{font-size:10px;letter-spacing:.09em;display:block;margin-top:6px;text-transform:uppercase}.world-link.active{color:var(--ink);background:#ffffff07}.world-link.active img{opacity:1;filter:none}.world-link:hover{background:#ffffff0b}.back-link{font-size:12px;color:var(--muted);display:block;margin-top:24px}.back-link:hover{color:var(--ink)}.player{width:100%;max-width:460px;justify-self:center}.game-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:12px}.game-heading p{font-size:10px;letter-spacing:.15em;color:var(--muted);margin:0 0 5px}.game-heading h1{font:400 29px/1 Georgia,serif;letter-spacing:-.8px;margin:0}#metric{font-family:Barlow,system-ui,sans-serif;font-size:17px;color:var(--accent);text-align:right;max-width:45%}.stage{position:relative;width:100%;aspect-ratio:420/680;max-height:calc(100dvh - 250px - var(--sat) - var(--sab));overflow:hidden;border:1px solid #ffffff23;border-radius:14px;background:#11262d;box-shadow:0 20px 90px #0005;isolation:isolate}.stage canvas{width:100%;height:100%;object-fit:contain;display:block;touch-action:none;user-select:none;-webkit-user-select:none}.screen-overlay{position:absolute;inset:0;background:linear-gradient(0deg,#071419f0 0,#071419a8 43%,#07141908 85%);display:flex;align-items:flex-end;justify-content:center;padding:32px 29px;text-align:left}.screen-overlay.sheet{background:linear-gradient(0deg,#071419fc 0,#071419f6 60%,#07141900 100%)}.screen-overlay.solid{align-items:center;background:#071419ed;backdrop-filter:blur(9px)}.intro-content,.dialog-content{width:100%}.chapter{font-family:Barlow,system-ui,sans-serif;text-transform:uppercase;font-size:12px;letter-spacing:.17em;color:var(--accent);margin:0 0 10px}.screen-overlay h2{font:400 43px/.98 Georgia,serif;letter-spacing:-1.5px;margin:0 0 15px}.pitch{font-size:16px;line-height:1.45;max-width:28ch;margin:0 0 21px}.how{border-left:1px solid #c8e4a75c;padding-left:12px;margin-bottom:22px;color:#d1ded8;font-size:12px;line-height:1.5}.how p{margin:6px 0}.primary{background:var(--accent);border:1px solid var(--accent);color:#112019;border-radius:8px;width:100%;padding:14px 16px;font-size:15px;font-weight:650;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px}.primary:hover{filter:brightness(1.07)}.secondary{background:transparent;border:1px solid #ffffff3b;border-radius:8px;min-height:46px;width:100%;margin-top:10px;font-size:14px;padding:12px}.text-button{border:0;background:none;padding:10px 6px;min-height:38px;font-size:12px;color:var(--muted);text-decoration:underline;text-underline-offset:4px}.text-button:hover{color:var(--ink)}.small{color:var(--muted);font-size:10px;line-height:1.4;min-height:12px;margin:11px 0 0}.dialog-content>p:not(.chapter):not(.score){color:var(--muted);line-height:1.5;font-size:15px}.score{font:400 44px Georgia,serif;color:var(--accent);margin:18px 0}.game-footer{min-height:76px;padding:12px 2px 0;text-align:center}.game-footer>p{font-size:12px;line-height:1.4;color:#c3d4cf;margin:0;min-height:32px}.footer-actions{display:flex;gap:16px;justify-content:center}.about-world>p:first-child{font:400 25px/1.35 Georgia,serif;letter-spacing:-.6px;color:#b9cec8}.about-world>span{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--accent);line-height:1.7}.note{font-size:12px;line-height:1.8;color:#6e8e8f;margin-top:56px}dialog{border:1px solid #405955;border-radius:16px;background:#102126;color:var(--ink);width:min(94vw,480px);max-height:calc(95dvh - var(--sat) - var(--sab));padding:24px;box-shadow:0 20px 90px #0009}dialog::backdrop{background:#021015dc;backdrop-filter:blur(8px)}dialog h2{font:400 30px Georgia,serif;letter-spacing:-.8px;margin:0 0 18px}dialog p{font-size:15px;line-height:1.6;color:var(--muted)}.picker-top{display:flex;align-items:center;justify-content:space-between}.picker-top h2{margin:0}.picker-top+.world-link{margin-top:12px}#toast{position:fixed;z-index:20;left:50%;bottom:calc(24px + var(--sab));transform:translateX(-50%);width:max-content;max-width:90vw;background:#d1e4c0;color:#14261d;padding:13px 18px;border-radius:8px;font-size:13px;box-shadow:0 8px 30px #0004}
@media(min-width:1100px){.player{width:min(460px,calc((100dvh - 250px - var(--sat) - var(--sab)) * .61765))}}
@media(max-width:1099px){.workspace{grid-template-columns:190px minmax(0,1fr);gap:28px;max-width:850px}.about-world{display:none}.player{max-width:430px}.stage{max-height:none}.topbar{height:calc(62px + var(--sat));padding-inline:24px}.workspace{min-height:calc(100dvh - 62px - var(--sat))}}
@media(max-width:650px){.topbar{height:calc(54px + var(--sat));padding-inline:12px;gap:6px}.wordmark{display:none}.quiet{min-height:36px;padding:8px 10px;font-size:12px}.tools{gap:6px}.workspace{display:block;padding:10px 12px calc(4px + var(--sab));min-height:0}.shelf{display:none}.player{max-width:440px;margin:auto}.game-heading{margin-bottom:10px;min-height:36px}.game-heading h1{font-size:24px}.game-heading p{font-size:9px;margin-bottom:3px}.stage{aspect-ratio:420/680;max-height:calc(100dvh - 176px - var(--sat) - var(--sab));border-radius:10px;width:100%;background:#102126}.game-footer{min-height:58px;padding-top:8px}.game-footer>p{font-size:11px;min-height:28px}.text-button{font-size:11px;min-height:30px;padding:6px}.screen-overlay{padding:23px}.screen-overlay h2{font-size:38px}.pitch{font-size:14px;margin-bottom:15px}.how{font-size:11px;margin-bottom:15px}.primary{min-height:45px;padding:12px 14px;font-size:14px}.small{font-size:9px;margin-top:8px}.chapter{font-size:11px}.footer-actions{gap:18px}#metric{font-size:16px}.world-link{padding:12px 4px}dialog .world-link .world-art{height:42px}dialog .world-link b{font-size:20px}}
@media(max-height:590px) and (orientation:landscape){.topbar{height:44px;padding-top:0}.workspace{display:flex;justify-content:center;padding:8px 18px;gap:28px}.shelf{display:block;width:180px}.shelf-intro,.shelf .back-link{display:none}.world-link{padding:5px 3px;grid-template-columns:30px 1fr;gap:8px}.world-link .world-art{width:30px;height:32px}.world-link b{font-size:16px}.world-link small{font-size:8px;margin-top:3px}.player{width:calc((100dvh - 135px) * .61765);margin:0}.game-heading{min-height:20px;margin-bottom:6px}.game-heading h1{font-size:17px}.game-heading p{display:none}.stage{max-height:calc(100dvh - 135px)}.game-footer{padding-top:4px}.game-footer>p{font-size:9px;min-height:22px}.screen-overlay{padding:13px}.screen-overlay h2{font-size:25px;margin-bottom:8px}.chapter,.how,.small{display:none}.pitch{font-size:11px;margin-bottom:10px}.primary{font-size:12px;min-height:34px;padding:8px}.secondary{font-size:11px;min-height:32px;padding:8px}.dialog-content>p:not(.chapter):not(.score){font-size:11px}.score{font-size:25px;margin:8px 0}#metric{font-size:11px}.footer-actions{gap:8px}.text-button{font-size:9px;padding:4px}.about-world{display:block;width:190px}.about-world>p:first-child{font-size:21px}.note{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.world-art{display:block;background-image:url(./assets/worlds-atlas.webp);background-size:300% 200%}

@media(max-width:650px) and (max-height:720px) and (orientation:portrait){.screen-overlay{padding:16px}.screen-overlay h2{font-size:30px;margin-bottom:10px}.pitch{font-size:12px;margin-bottom:10px}.how{font-size:10px;margin-bottom:10px}.chapter{font-size:10px;margin-bottom:7px}.small{font-size:8px}.primary{min-height:42px}}
