:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#05070d;--panel:#101727;--panel-border:#23314a;--text:#dbe6ff;--muted:#8ea1c2;--accent:#53a9ff;--mode-web:#53a9ff;--mode-search:#64e29b;--mode-genai:#c98bff;--ok:#64e29b;--warning:#b5becd;--error:#ff6b7a}*{box-sizing:border-box}[hidden]{display:none!important}html,body,#app{background:radial-gradient(circle at 20% -20%, #1d365f 0%, var(--bg) 45%);width:100%;height:100dvh;color:var(--text);margin:0;font-family:IBM Plex Sans,Segoe UI,sans-serif}#app{grid-template-rows:auto 1fr auto;display:grid}.toolbar{-webkit-backdrop-filter:blur(14px)saturate(115%);padding:10px 12px;padding-top:max(10px, env(safe-area-inset-top,0px));padding-left:max(12px, env(safe-area-inset-left,0px));padding-right:max(12px, env(safe-area-inset-right,0px));z-index:30;background:linear-gradient(#0a111d6b,#0a111d38);border-bottom:1px solid #23314abf;gap:8px;display:grid;position:relative}@supports not ((-webkit-backdrop-filter:blur(2px)) or (backdrop-filter:blur(2px))){.toolbar{border-bottom-color:var(--panel-border);background:linear-gradient(#0a111deb,#0a111db8)}}.toolbar-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.toolbar-row-small label{color:var(--muted);align-items:center;gap:6px;font-size:.9rem;display:inline-flex}.build-label{color:var(--muted);letter-spacing:.03em;white-space:nowrap;margin-left:auto;font-size:.82rem}input[type=text],input[type=number]{color:var(--text);background:#0b1321;border:1px solid #2c4064;border-radius:6px;padding:7px 10px}input[type=text]{flex:1;min-width:300px}input[type=number]{width:90px}.omnibar{background:#0b1321;border:1px solid #2c4064;border-radius:8px;flex:360px;grid-template-columns:minmax(180px,1fr) auto;align-items:stretch;min-width:min(100%,320px);display:grid;overflow:hidden}.omnibar input[type=text]{background:0 0;border:0;border-radius:0;width:100%;min-width:0}@media (pointer:coarse){.omnibar input[type=text]{font-size:16px}}.mode-toggle{border-left:1px solid #2c4064;grid-auto-columns:42px;grid-auto-flow:column;display:inline-grid}.mode-toggle-btn{width:42px;min-width:42px;color:var(--muted);background:#111a2b;border:0;border-left:1px solid #8ea1c229;border-radius:0;justify-content:center;align-items:center;padding:0;line-height:1;display:inline-flex}.mode-toggle-btn:first-child{border-left:0}.mode-toggle-btn.active{box-shadow:inset 0 -3px}.mode-toggle-btn.mode-web{color:var(--mode-web)}.mode-toggle-btn.mode-search{color:var(--mode-search)}.mode-toggle-btn.mode-genai{color:var(--mode-genai)}.mode-toggle-btn.is-unconfigured{color:#7b8498;background:#151923}.mode-toggle-btn[hidden]{display:none}.mode-icon{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px;display:block}.mode-icon-fill{fill:currentColor;stroke:none}input.load-error{border-color:var(--error);color:var(--error)}input.load-muted{color:var(--muted);border-color:#4c596d}button{color:#fff;cursor:pointer;background:linear-gradient(#3b80ca,#2b609e);border:1px solid #2d5f9a;border-radius:7px;padding:8px 12px}button:hover{filter:brightness(1.08)}button.secondary{background:linear-gradient(#263242,#18212e);border-color:#4a5a76}.bookmark-picker,.shortcut-picker{position:relative}.bookmark-menu,.shortcuts-menu{z-index:20;border:1px solid var(--panel-border);overscroll-behavior:contain;background:#070c14fa;border-radius:7px;width:min(380px,100vw - 24px);max-height:360px;padding:6px;position:absolute;top:calc(100% + 6px);right:0;overflow:auto;box-shadow:0 14px 32px #00000061}.shortcuts-menu{width:min(460px,100vw - 24px)}.language-menu{width:max-content;min-width:150px;max-width:calc(100vw - 24px)}.language-menu-item{display:block}.language-menu-item[aria-checked=true]{font-weight:700}.bookmark-menu-item{width:100%;color:var(--text);text-align:left;background:0 0;border:0;border-radius:5px;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:8px;padding:7px 8px;display:grid}.bookmark-menu-item:hover,.bookmark-menu-item:focus-visible{filter:none;background:#172238;outline:none}.bookmark-menu-item:disabled{opacity:.45;cursor:default;background:0 0}.bookmark-mode{color:var(--muted);text-transform:uppercase;font-size:.72rem}.bookmark-mode-0{color:var(--mode-web)}.bookmark-mode-1{color:var(--mode-search)}.bookmark-mode-2{color:var(--mode-genai)}.bookmark-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.shortcut-menu-item{color:var(--text);grid-template-columns:86px minmax(0,1fr);align-items:center;gap:10px;padding:7px 8px;display:grid}@media (width>=640px){.shortcut-menu-item{grid-template-columns:136px minmax(0,1fr)}}.shortcut-key{color:var(--accent);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.78rem}.shortcut-label{color:var(--muted)}.shortcut-intro{color:var(--muted);margin:2px 8px 8px;font-size:.78rem;line-height:1.5}.shortcut-copyright{border-top:1px solid var(--panel-border);color:var(--muted);margin:10px 8px 6px;padding-top:8px;font-size:.72rem}.shortcut-intro a{color:var(--mode-web,#6aa9ff)}.shortcut-intro a.shortcut-github{text-decoration:none}.shortcut-github span{text-decoration:underline}.shortcut-github svg{vertical-align:-.2em;fill:currentColor;width:1.15em;height:1.15em;margin-left:.35em}.shortcut-build{color:var(--muted);letter-spacing:.02em;opacity:.8;margin:0 8px 6px;font-size:.64rem}.shortcut-section-title{border-top:1px solid var(--panel-border);color:var(--text);letter-spacing:.08em;text-transform:uppercase;margin:10px 8px 4px;padding-top:8px;font-size:.72rem;font-weight:600}.shortcut-reveal-btn{text-align:left;background:#18212e;border-color:#4a5a76;width:calc(100% - 16px);margin:8px}.shortcut-reveal-btn:after{content:"+";float:right}.shortcut-reveal-btn[aria-expanded=true]:after{content:"-"}.shortcut-advanced{padding-bottom:4px}.help-btn{width:38px;min-width:38px;padding:8px 0;font-weight:700}.nav-btn{justify-content:center;align-items:center;width:32px;min-width:32px;min-height:36px;padding:0;line-height:1;display:inline-flex}.nav-btn:disabled{opacity:.38;cursor:default}.nav-btn:disabled:hover{filter:none}.nav-icon{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;display:block}.controller-map{padding:4px 6px 6px}.controller-map-svg{width:100%;max-width:100%;height:auto;display:block}.cm-art{fill:none;stroke:var(--muted);stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round}.cm-head{fill:var(--muted);letter-spacing:.1em;font-family:IBM Plex Sans,Segoe UI,sans-serif;font-size:42px;font-weight:600}.cm-marker{fill:#0b1321d9;stroke:var(--accent);stroke-width:3px}.cm-marker-num{fill:var(--accent);font-family:IBM Plex Sans,Segoe UI,sans-serif;font-size:30px;font-weight:700}.cm-legend{grid-template-columns:1fr 1fr;gap:4px 14px;margin-top:6px;display:grid}.cm-legend-head{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:4px;font-size:.78rem;font-weight:600}.cm-legend-row{align-items:baseline;gap:6px;margin-bottom:3px;font-size:.82rem;line-height:1.35;display:flex}.cm-legend-num{border:1.5px solid var(--accent);width:16px;height:16px;color:var(--accent);border-radius:50%;flex:none;justify-content:center;align-self:center;align-items:center;font-size:.68rem;font-weight:700;display:inline-flex}.cm-legend-key{color:var(--accent);white-space:nowrap;font-weight:600}.cm-legend-label{color:var(--muted)}.toolbar-row-meta{color:var(--muted);font-size:.86rem}#status-label.ok{color:var(--ok)}#status-label.warning{color:var(--warning)}#status-label.error{color:var(--error)}.canvas-shell{min-height:0;position:relative}#scene-canvas{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}#scene-canvas.sphere-dragging{cursor:grabbing}.touch-chord-ring{z-index:7;pointer-events:none;will-change:transform;width:44px;height:44px;margin:-22px 0 0 -22px;position:absolute;top:0;left:0}.touch-chord-ring-track{fill:#070c148c;stroke:#c98bff38;stroke-width:4px}.touch-chord-ring-arc{fill:none;stroke:var(--mode-genai);stroke-width:4px;stroke-linecap:round;stroke-dasharray:113.097;stroke-dashoffset:113.097px;transform-box:fill-box;transform-origin:50%;transform:rotate(-90deg)}.status-footer{z-index:6;width:min(840px,100% - 28px);min-height:32px;color:var(--text);text-align:center;pointer-events:none;background:#070c14d1;border:1px solid #53a9ff6b;border-radius:8px;justify-content:center;align-items:center;padding:6px 14px;font-size:.88rem;font-weight:600;line-height:1.3;display:flex;position:absolute;bottom:12px;left:50%;transform:translate(-50%);box-shadow:0 10px 26px #00000047}.update-toast{z-index:45;max-width:min(460px,100% - 28px);color:var(--text);background:#070c14eb;border:1px solid #53a9ff6b;border-radius:8px;align-items:center;gap:10px;padding:10px 12px 10px 14px;font-size:.88rem;line-height:1.3;display:flex;position:absolute;bottom:56px;right:14px;box-shadow:0 10px 26px #00000047}.update-toast button{color:var(--text);font:inherit;cursor:pointer;background:0 0;border:1px solid #53a9ff6b;border-radius:6px;flex:none;padding:5px 10px}.update-toast button.primary{background:#53a9ff3d}.status-footer a{color:var(--mode-web,#6aa9ff);pointer-events:auto}.start-panel{z-index:5;pointer-events:none;gap:14px;max-width:980px;margin:0 auto;display:grid;position:absolute;top:clamp(18px,8vh,72px);left:clamp(14px,5vw,56px);right:clamp(14px,5vw,56px)}.start-panel h1{letter-spacing:0;text-shadow:0 2px 18px #000000a6;margin:0;font-size:clamp(1.25rem,3vw,2rem);font-weight:650}.start-grid{pointer-events:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.start-tile{border:1px solid var(--panel-border);min-height:132px;color:var(--text);text-align:left;background:#0b1321e0;border-radius:8px;grid-template-rows:auto minmax(0,1fr) auto;align-items:start;gap:9px;padding:14px;display:grid;box-shadow:0 16px 44px #00000047}.start-tile:hover,.start-tile:focus-visible{filter:none;outline-offset:2px;background:#141f34f0;outline:2px solid}.start-tile-0{color:var(--mode-web)}.start-tile-1{color:var(--mode-search)}.start-tile-2{color:var(--mode-genai)}.start-tile-mode{color:currentColor;letter-spacing:.08em;text-transform:uppercase;font-size:.72rem;font-weight:700}.start-tile-title{color:var(--text);overflow-wrap:anywhere;font-size:1.05rem;font-weight:650;line-height:1.18}.start-tile-value{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.78rem;line-height:1.3;overflow:hidden}.toolbar-break{display:none}@media (width<=760px) and (orientation:portrait){.toolbar-break{flex-basis:100%;height:0;margin:0;display:block}.omnibar{flex:auto;min-width:0}}@media (width<=760px){.nav-btn{width:40px;min-width:40px;min-height:40px}.nav-icon{width:20px;height:20px}.toolbar{-webkit-backdrop-filter:none;border-bottom-color:var(--panel-border);background:linear-gradient(#0a111deb,#0a111db8);position:relative}.bookmark-picker,.shortcut-picker{position:static}.bookmark-menu,.shortcuts-menu{width:auto;max-height:min(56vh,380px);top:calc(100% + 6px);left:12px;right:12px;overflow:auto}.omnibar{flex-basis:200px;grid-template-columns:minmax(0,1fr) auto;min-width:0}.mode-toggle-btn{min-height:40px}.start-grid{grid-template-columns:1fr}}.results-shell{border-top:1px solid var(--panel-border);padding-bottom:env(safe-area-inset-bottom,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px);background:#070c14eb}.results-header{display:flex}.results-toggle{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;background:0 0;border:0;border-radius:0;align-items:center;gap:8px;min-height:34px;padding:7px 12px;font-size:.78rem;display:inline-flex}.results-toggle:hover,.results-toggle:focus-visible{filter:none;color:var(--text);background:#172238b3}.results-chevron{width:10px;line-height:1;transition:transform .12s;display:inline-block}.results-chevron:before{content:"▾"}.results-shell.is-collapsed .results-chevron{transform:rotate(-90deg)}.results-count{color:var(--accent);font-variant-numeric:tabular-nums}.results{max-height:180px;color:var(--muted);padding:0 12px 10px;font-size:.84rem;line-height:1.4;overflow:auto}.results:not(:empty){height:180px}.results a{color:var(--accent)}.result-row{flex-wrap:wrap;align-items:baseline;gap:4px;display:flex}.result-row.is-selected .result-name{color:#fff}.result-row>a,.result-row>span:not(.result-actions){overflow-wrap:anywhere;min-width:0}.result-actions{visibility:hidden;gap:6px;margin-left:auto;display:inline-flex}.result-row:hover .result-actions,.result-row:focus-within .result-actions{visibility:visible}@media (hover:none){.result-actions{visibility:visible}}.result-actions button,.result-download{border:1px solid var(--panel-border);color:var(--accent);background:0 0;border-radius:4px;padding:0 8px;font-size:.76rem}@media (width<=900px) and (orientation:landscape){.toolbar{padding:5px max(10px, env(safe-area-inset-right,0px)) 5px max(10px, env(safe-area-inset-left,0px));gap:5px}.toolbar-row{gap:6px}.toolbar .secondary:not(.nav-btn){padding:6px 10px}.results{max-height:110px}.results:not(:empty){height:110px}}#settings-btn{min-width:40px;padding:8px 11px;font-size:1.05rem;line-height:1}.settings-overlay{z-index:40;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#03060cb8;justify-content:center;align-items:flex-start;padding:5vh 16px;display:flex;position:fixed;inset:0;overflow-y:auto}.settings-dialog{border:1px solid var(--panel-border);background:var(--panel);border-radius:12px;gap:16px;width:min(720px,100%);padding:18px 20px 22px;display:grid;box-shadow:0 24px 64px #0000008c}.settings-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.settings-header h2{margin:0;font-size:1.15rem;font-weight:600}.settings-close{min-width:34px;padding:6px 10px;line-height:1}.settings-section{border:1px solid var(--panel-border);background:#070c1466;border-radius:9px;gap:12px;padding:14px 14px 16px;display:grid}.settings-section>h3{align-items:center;gap:8px;margin:0;font-size:.98rem;font-weight:600;display:flex}.settings-field{gap:5px;display:grid}.settings-field>label{color:var(--muted);align-items:center;gap:8px;font-size:.82rem;display:flex}.settings-field-row{flex-wrap:wrap;gap:12px;display:flex}.settings-field-row .settings-field{flex:1;min-width:130px}.settings-field-row.is-aligned{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:0 12px;display:grid}.settings-field-row.is-aligned .settings-field{grid-row:span 3;grid-template-rows:subgrid;row-gap:5px;min-width:0}.settings-field-row.is-aligned .settings-field>label{align-items:flex-end}.settings-subsection{gap:12px;display:grid}.settings-advanced>summary{cursor:pointer;color:var(--muted);font-size:.86rem;font-weight:600}.settings-advanced[open]>summary{margin-bottom:12px}details.settings-section:not([open]){gap:0}.settings-field input[type=text],.settings-field input[type=password],.settings-field input[type=number],.settings-field select{width:100%;min-width:0;color:var(--text);background:#0b1321;border:1px solid #2c4064;border-radius:6px;padding:7px 10px}.settings-checkbox{color:var(--text);align-items:center;gap:8px;font-size:.88rem;display:inline-flex}.settings-source-tag{text-transform:uppercase;letter-spacing:.04em;border:1px solid var(--panel-border);color:var(--muted);border-radius:999px;padding:1px 6px;font-size:.68rem}.settings-source-tag.source-env{color:var(--accent);border-color:var(--accent)}.settings-reset-btn{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0 2px;font-size:.9rem;line-height:1}.settings-reset-btn:hover,.settings-reset-btn:focus-visible{color:var(--text);filter:none}.settings-source-tag.source-override{color:var(--ok);border-color:var(--ok)}.settings-hint{color:var(--muted);font-size:.78rem;line-height:1.4}.settings-info-btn{border:1px solid var(--panel-border);color:var(--accent);background:#18212e;border-radius:50%;width:22px;height:22px;padding:0;font-size:.8rem;line-height:1}.settings-tip{border:1px solid var(--panel-border);color:var(--muted);background:#070c14b3;border-radius:7px;padding:10px 12px;font-size:.8rem;line-height:1.45}.settings-test-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.settings-test-btn{background:linear-gradient(#263242,#18212e);border-color:#4a5a76;padding:6px 12px;font-size:.85rem}.settings-test-btn.stage-ok{border-color:var(--ok);color:var(--ok);background:linear-gradient(#1c3b2b,#12281d)}.settings-test-btn.stage-error{border-color:var(--error);color:var(--error);background:linear-gradient(#3b1c22,#281216)}.settings-test-btn.stage-running{opacity:.7}.settings-test-status{color:var(--muted);min-height:1.2em;font-size:.8rem}.settings-test-status:empty,.settings-thumbs:empty{display:none}.settings-test-status.ok{color:var(--ok)}.settings-test-status.error{color:var(--error)}.settings-thumbs{flex-wrap:wrap;gap:8px;display:flex}.settings-thumbs img{object-fit:cover;border:1px solid var(--panel-border);background:#0b1321;border-radius:6px;width:84px;height:84px}.settings-footer{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.settings-footer .settings-status{color:var(--muted);margin-right:auto;font-size:.82rem}.settings-footer .settings-status.ok{color:var(--ok)}.settings-footer .settings-status.error{color:var(--error)}.settings-admin-token{border-top:1px solid var(--panel-border);padding-top:12px}.favorites-dialog{width:min(880px,100%)}.favorites-list{gap:8px;display:grid}.favorites-row{grid-template-columns:96px minmax(0,1fr) minmax(0,2fr) auto auto;align-items:center;gap:6px;display:grid}.favorites-row input[type=text],.favorites-row select{width:100%;min-width:0;color:var(--text);background:#0b1321;border:1px solid #2c4064;border-radius:6px;padding:6px 8px}.favorites-start{white-space:nowrap;font-size:.8rem}.favorites-actions,.favorites-tools{gap:4px;display:flex}.favorites-tools{flex-wrap:wrap;gap:8px}.favorites-icon-btn{min-width:30px;padding:5px 8px;line-height:1}.favorites-empty{color:var(--muted);margin:0}@media (width<=640px){.favorites-row{border-bottom:1px solid var(--panel-border);grid-template-columns:96px minmax(0,1fr);padding-bottom:8px}}.vr-unavailable-overlay{align-items:center;padding:6vh 16px}.vr-unavailable-dialog{gap:12px;width:min(460px,100%)}.vr-unavailable-body{color:var(--muted);gap:10px;font-size:.88rem;line-height:1.5;display:grid}.vr-unavailable-body p{margin:0}#VRButton{display:none!important}.sphere-onboarding{pointer-events:none;border:1px solid var(--panel-border,#23314a);-webkit-backdrop-filter:blur(8px);width:fit-content;max-width:min(92vw,460px);color:var(--text,#e8eefc);z-index:25;background:#070c14db;border-radius:12px;gap:6px;margin-inline:auto;padding:14px 18px;font-size:14px;line-height:1.35;transition:opacity .2s ease-out;animation:.32s ease-out sphere-onboarding-in;display:grid;position:absolute;bottom:8%;left:0;right:0}@keyframes sphere-onboarding-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media (width>=640px) and (height>=560px){.sphere-onboarding{animation-name:sphere-onboarding-in-centred;top:50%;bottom:auto;transform:translateY(-50%)}}@keyframes sphere-onboarding-in-centred{0%{opacity:0;transform:translateY(calc(8px - 50%))}to{opacity:1;transform:translateY(-50%)}}@media (prefers-reduced-motion:reduce){.sphere-onboarding{animation:none}}.sphere-onboarding-row{grid-template-columns:minmax(96px,auto) 1fr;align-items:baseline;gap:10px;display:grid}.sphere-onboarding-key{color:var(--accent,#7aa2f7);font-weight:600}.sphere-onboarding-more{border-top:1px solid var(--panel-border,#23314a);opacity:.75;margin-top:4px;padding-top:8px;font-size:13px}.settings-textarea{width:100%;min-width:0;color:var(--text);font:inherit;resize:vertical;background:#0b1321;border:1px solid #2c4064;border-radius:6px;padding:7px 10px;line-height:1.5}.settings-warning{color:#f2b86b}.submit-field{color:var(--muted);gap:4px;font-size:.82rem;display:grid}.submit-field input,.submit-field select{width:100%}.submit-message{min-height:1.3em;color:var(--muted);margin:0;font-size:.85rem}@media (hover:none) and (pointer:coarse){#app:has(#bookmarks-menu:not([hidden]),#shortcuts-menu:not([hidden]),#language-menu:not([hidden])):after{content:"";z-index:29;-webkit-backdrop-filter:blur(2px);background:#03060cb8;position:fixed;inset:0}}
