@font-face{font-family:"Tilt Neon";src:url("/api.php?action=asset&file=fonts%2Ftilt-neon.woff2&release=scripturecade-0.30.71") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Manrope;src:url("/api.php?action=asset&file=fonts%2Fmanrope-latin-variable.woff2&release=scripturecade-0.30.71") format('woff2');font-weight:200 800;font-display:swap}
@font-face{font-family:Literata;src:url("/api.php?action=asset&file=fonts%2Fliterata-latin-variable.woff2&release=scripturecade-0.30.71") format('woff2');font-weight:200 900;font-display:swap}
:root{color-scheme:only light!important;--ink:#303553;--muted:#4e5074}
body,body *,body *::before,body *::after{color-scheme:light!important;color-scheme:only light!important;box-sizing:border-box}
html,body{margin:0;min-height:100%;width:100%;overscroll-behavior:none;background:#c1b0df;color:var(--ink)}
body{font:500 16px/1.4 Manrope,system-ui,sans-serif;background:linear-gradient(180deg,#dcc2e3 0%,#b6a3d8 36%,#9c99cf 72%,#8d94ca 100%);height:var(--fl-viewport-height,100svh);overflow:hidden}
.atmosphere{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.atmosphere svg{display:block;width:100%;height:100%}
.atmosphere-far{fill:#8587bf;opacity:.24}
.atmosphere-left{fill:#8c83ba;opacity:.22}
.atmosphere-right{fill:#7f88b9;opacity:.24}
.chooser{position:relative;z-index:1;height:var(--fl-viewport-height,100svh);max-width:1400px;margin:auto;display:flex;flex-direction:column;padding:max(16px,env(safe-area-inset-top)) max(28px,env(safe-area-inset-right)) max(22px,env(safe-area-inset-bottom)) max(28px,env(safe-area-inset-left))}
header{display:flex;align-items:center;justify-content:space-between;flex:none;height:56px;gap:20px;z-index:2}
.wordmark{display:block;width:clamp(175px,33vw,265px);aspect-ratio:281.685/57.412;flex:none;background:currentColor;mask:url("/api.php?action=asset&file=flipture%2Ffliptures-wordmark.svg&release=scripturecade-0.30.71") center/contain no-repeat;-webkit-mask:url("/api.php?action=asset&file=flipture%2Ffliptures-wordmark.svg&release=scripturecade-0.30.71") center/contain no-repeat}
.paths{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:650;white-space:nowrap}
.paths i{width:23px;height:23px;background:currentColor;mask:url("/api.php?action=asset&file=flipture%2Fpath.svg&release=scripturecade-0.30.71") center/contain no-repeat;-webkit-mask:url("/api.php?action=asset&file=flipture%2Fpath.svg&release=scripturecade-0.30.71") center/contain no-repeat}
.world{position:relative;flex:1;min-height:0;width:100%;isolation:isolate}
#scene{position:fixed;inset:0;width:100vw;height:var(--fl-viewport-height,100svh);z-index:0;display:block;touch-action:none;cursor:grab;-webkit-tap-highlight-color:transparent;outline:none}
#scene.is-dragging{cursor:grabbing}
.selection{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;pointer-events:none}
.footer-nav{align-self:center;position:relative;z-index:2;display:flex;justify-content:center;align-items:center;gap:10px;min-height:44px;margin-bottom:12px;flex:none;font-size:14px;font-weight:600;color:#272b4d}
.nav-pill{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:44px;padding:0 18px;border-radius:999px;background:#777dad99;border-top:#ffffff7a 1px solid;white-space:nowrap}
.nav-paths{width:44px;height:44px;padding:0;border-radius:50%}
.nav-paths i{display:block;width:25px;height:25px;background:currentColor;mask:url("/api.php?action=asset&file=flipture%2Fpath.svg&release=scripturecade-0.30.71") center/contain no-repeat;-webkit-mask:url("/api.php?action=asset&file=flipture%2Fpath.svg&release=scripturecade-0.30.71") center/contain no-repeat}
.nav-scripturecade i{display:block;width:clamp(100px,29vw,138px);aspect-ratio:1001.27/172.01;background:currentColor;mask:url("/api.php?action=asset&file=art%2Fwordmark.svg&release=scripturecade-0.30.71") center/contain no-repeat;-webkit-mask:url("/api.php?action=asset&file=art%2Fwordmark.svg&release=scripturecade-0.30.71") center/contain no-repeat}
.accessible-choices{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.accessible-choices a{font:600 16px Manrope,system-ui,sans-serif;border:0;outline:none;background:transparent;color:var(--ink)}
.world.is-fallback #scene{display:none}
.world.is-fallback .accessible-choices{inset:10% 5% 20%;width:auto;height:auto;clip-path:none;overflow:visible;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.world.is-fallback .accessible-choices a{border-radius:24px;background:#d4c6e9;padding:20px;font:400 20px "Tilt Neon",sans-serif;text-transform:uppercase}
.world.is-fallback .accessible-choices a[aria-current=true],.world.is-fallback .accessible-choices a:focus-visible{background:#5d5f9b;color:#fff3d8}
@media(min-width:850px){.chooser{padding-left:64px;padding-right:64px}header{height:64px}.world{max-width:1050px;margin:auto}}
@media(max-width:500px){.chooser{padding:max(20px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left))}header{height:48px}.wordmark{width:180px}.paths{font-size:15px;gap:7px}.paths i{width:25px;height:25px}}
@media(max-height:600px){.chooser{padding-top:12px;padding-bottom:10px}header{height:40px}.wordmark{width:170px}.paths{font-size:14px}}
.brand-accessible{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

@media(max-width:360px){.footer-nav{font-size:13px;gap:8px}.nav-scripturecade{padding:0 16px}.paths{font-size:13px}.paths i{width:22px;height:22px}}
@media(max-width:600px){.atmosphere-far{display:none}.atmosphere-left{opacity:.18}.atmosphere-right{opacity:.20}}
.chooser-haze{position:fixed;inset:0;z-index:1;visibility:hidden;pointer-events:none;overflow:hidden}
.chooser-haze-bank{position:absolute;inset:0;background:linear-gradient(180deg,rgba(161,157,211,0) 0px,rgba(161,157,211,0) var(--haze-start),rgba(176,168,220,.02) var(--haze-whisper),rgba(169,164,214,.24) var(--haze-soft),rgba(170,166,216,.78) var(--haze-middle),rgba(161,159,210,.96) var(--haze-deep),rgba(153,156,204,.99) var(--haze-full),rgba(147,153,203,1) var(--haze-solid),#9098ca 100%)}
.chooser-haze-light{position:absolute;left:var(--haze-light-x,0px);top:var(--haze-light-y,0px);width:var(--haze-light-width,0px);height:var(--haze-light-height,0px);transform:translate(-50%,-50%);opacity:var(--haze-light-opacity,0);background:radial-gradient(ellipse closest-side,rgba(255,226,180,.82) 0%,rgba(248,196,146,.34) 36%,rgba(248,196,146,0) 100%)}
.chooser-haze-bank{-webkit-mask-image:var(--haze-openings);mask-image:var(--haze-openings);-webkit-mask-composite:source-in;mask-composite:intersect}
.world.is-fallback .chooser-haze{display:none}

/* Home-only presentation is removed before the game is mounted. */
a.nav-pill{color:inherit;text-decoration:none;outline:none;-webkit-tap-highlight-color:transparent;transition:background .16s ease,color .16s ease}
a.nav-pill:is(:hover,:focus-visible){background:#4f588ee6;color:#fff7df}
.accessible-choices a{text-decoration:none;display:flex;align-items:center;justify-content:center;text-align:center}
.accessible-choices a img{max-width:54px;max-height:54px}
.fl-home-empty{color:#303553;text-align:center}
.world.is-fallback .accessible-choices{overflow:auto}
@media(prefers-reduced-motion:reduce){a.nav-pill{transition:none}}

.world.is-fallback .accessible-choices a{flex-direction:column;gap:10px}.whirly-fallback-icon{display:block}.whirly-fallback-icon img{display:block;width:54px;height:54px;object-fit:contain}
