:root{color-scheme:dark;font-family:"Segoe UI","Arial Hebrew",Arial,sans-serif;color:#effffb;background:#064b60;font-synthesis:none}*{box-sizing:border-box}html,body,#stage{width:100%;height:100%;margin:0;overflow:hidden}#stage{position:fixed;inset:0;touch-action:none}canvas{display:block;width:100%;height:100%;outline:none}button,a,input,select{-webkit-tap-highlight-color:transparent}button,select,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #f6df9a;outline-offset:5px}button:disabled{opacity:.45;cursor:not-allowed}button{color:inherit;border:0}a{color:inherit;text-decoration:none}.topbar{position:fixed;z-index:3;left:40px;right:40px;top:30px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;transition:opacity .7s}.topbar>*{pointer-events:auto}.brand{display:flex;gap:13px;align-items:center;text-shadow:0 2px 12px #00354c70}.brand-mark{font-size:42px;font-weight:300;line-height:1;color:#d6f8ee}.brand b{display:block;font-size:22px;letter-spacing:.01em;font-weight:500}.brand small{display:block;font-size:10px;letter-spacing:.25em;margin-top:4px;opacity:.8}.top-actions{display:flex;align-items:center;gap:22px}.edition{font-size:11px;letter-spacing:.2em;opacity:.7}.icon-button{background:#073a4a55;border:1px solid #d4f9ed30;border-radius:50%;width:44px;height:44px;font-size:23px;backdrop-filter:blur(12px)}.welcome{position:fixed;right:max(6vw,32px);bottom:17vh;z-index:3;max-width:530px;text-shadow:0 2px 22px #002c3b88;transition:opacity .8s,transform .8s;pointer-events:auto}.eyebrow{font-size:14px;letter-spacing:.13em;color:#e4ebc7;margin:0 0 20px}.welcome h1{font-size:clamp(44px,5.1vw,78px);font-weight:350;line-height:1.08;letter-spacing:-.045em;margin:0 0 24px}.welcome-copy{font-size:19px;line-height:1.7;font-weight:350;color:#e0f1e9;max-width:480px}.welcome-actions{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap}.primary,.secondary{padding:15px 24px;min-height:52px;border-radius:5px;font-size:16px;box-shadow:0 4px 20px #03232e20}.primary{background:#e5edd0;color:#163e44;display:flex;gap:26px;align-items:center}.primary:hover{background:#f4f4de}.secondary{background:#063f4a70;border:1px solid #ddf4e74d;backdrop-filter:blur(12px)}.secondary:hover{background:#145365a0}.welcome-hint{font-size:13px;line-height:1.65;color:#cbe4da;opacity:.8;margin-top:22px}.welcome-hint span{font-size:11px;letter-spacing:.03em}.toolbar{position:fixed;bottom:38px;left:50%;transform:translateX(-50%);z-index:4;display:flex;align-items:center;gap:2px;padding:5px;background:#032f3f68;border:1px solid #d2efe529;border-radius:8px;backdrop-filter:blur(18px);box-shadow:0 5px 25px #003b4520;white-space:nowrap;transition:opacity .7s}.toolbar button{background:transparent;border-radius:4px;padding:11px 18px;min-height:44px;color:#deefe8;font-size:14px;font-weight:400}.toolbar button:hover{background:#d5f6e719}.toolbar button[aria-pressed=true]{background:#e1f3d629;color:#f8edc8}.bottom-note{position:fixed;left:40px;bottom:44px;display:flex;flex-direction:column;gap:5px;font-size:12px;opacity:.65;z-index:2}.bottom-note span[lang=en]{font-size:9px;letter-spacing:.18em}.settings{position:fixed;z-index:7;left:30px;top:90px;width:min(365px,calc(100vw - 30px));max-height:calc(100dvh - 120px);overflow:auto;padding:24px;background:#073542ed;border:1px solid #94bcb04f;backdrop-filter:blur(24px);border-radius:12px;box-shadow:0 14px 50px #001f3470}.settings header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.settings h2{font-size:23px;font-weight:400;margin:0}.settings header button{background:transparent;font-size:28px;width:30px;height:35px}.settings label{display:block;font-size:15px;margin:22px 0 10px}.settings select{appearance:none;width:100%;padding:12px;background:#164955;border:1px solid #9ac2b54a;border-radius:5px;font-size:15px}.settings input[type=range]{width:100%;accent-color:#dbeabb}.settings input[type=checkbox]{accent-color:#dbeabb;width:16px;height:16px;vertical-align:middle;margin-left:8px}.control-copy{border-top:1px solid #b3d7cf26;margin-top:23px;padding-top:22px;font-size:14px;line-height:1.65;color:#c8dfd6}.control-copy p{margin:5px 0 16px}.control-copy b{font-weight:500;color:#eff5e2}.render-note{font-size:12px;line-height:1.65;color:#a9c6bf}.other-edition{display:block;margin-top:18px;padding-top:18px;border-top:1px solid #b3d7cf26;font-size:14px;color:#e5e9bc}#notice{position:fixed;left:50%;top:110px;transform:translateX(-50%);z-index:10;background:#053644de;color:#e9f4d7;border:1px solid #aacac14d;backdrop-filter:blur(18px);padding:12px 20px;border-radius:6px;font-size:15px;opacity:0;transition:opacity .4s;pointer-events:none;max-width:min(540px,90vw);text-align:center}#notice.visible{opacity:1}#diagnostics{position:fixed;bottom:8px;left:12px;direction:ltr;text-align:left;font-size:12px;padding:6px 9px;z-index:8;line-height:1.5;background:#002b3cc9;color:#e4f6db;border-radius:3px;white-space:pre-line;font-family:monospace}#show-ui{position:fixed;bottom:18px;right:20px;z-index:5;opacity:.45;background:#063d4b55;padding:10px 16px;border-radius:5px;font-size:13px}#show-ui:hover{opacity:1}#touch-controls{display:none;position:fixed;left:20px;bottom:110px;z-index:4;gap:8px}#touch-controls button{background:#05374b77;border:1px solid #d6ede538;border-radius:50%;width:52px;height:52px;font-size:18px;backdrop-filter:blur(10px)}#loading{position:fixed;inset:0;z-index:20;background:radial-gradient(ellipse at 50% 40%,#1f7b87,#052e48);display:flex;flex-direction:column;align-items:center;justify-content:center;transition:opacity 1s}#loading p{font-size:20px;font-weight:300;letter-spacing:.03em}#loading small{font-size:12px;opacity:.5;letter-spacing:.07em}.loading-orb{display:block;width:48px;height:48px;border:1px solid #b8edce78;border-radius:50%;box-shadow:0 0 40px #b8edce30}body.exploring .welcome{opacity:0;transform:translateY(20px);pointer-events:none}body.clean .topbar,body.clean .welcome,body.clean .toolbar,body.clean .bottom-note,body.clean #touch-controls{opacity:0;pointer-events:none}body.immersed .topbar,body.immersed .welcome,body.immersed .toolbar,body.immersed .settings,body.immersed .bottom-note,body.immersed #touch-controls{display:none!important}[hidden]{display:none!important}@media(max-width:900px){.bottom-note{display:none}.topbar{left:24px;right:24px;top:24px}.welcome{bottom:20vh;right:6vw}.toolbar{bottom:24px}.toolbar button{padding:11px 13px}.edition{font-size:10px}.top-actions{gap:12px}}@media(max-width:600px){.topbar{top:19px;left:20px;right:20px}.brand b{font-size:19px}.brand-mark{font-size:36px}.brand small{font-size:8px}.edition{display:none}.welcome{right:25px;left:25px;bottom:22vh}.welcome h1{font-size:46px}.welcome-copy{font-size:17px}.eyebrow{font-size:12px;margin-bottom:15px}.welcome-actions{margin-top:20px}.welcome-hint{font-size:11px}.toolbar{width:calc(100% - 24px);justify-content:space-around;bottom:20px}.toolbar button{font-size:12px;padding:11px 8px}.settings{left:15px;top:80px}#touch-controls{display:flex}body:not(.exploring) #touch-controls{display:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}.welcome,.topbar,.toolbar{transition:none}}
