:root{font-family:Inter,Avenir,Helvetica,Arial,sans-serif;font-size:16px;line-height:24px;font-weight:400;color:#0f0f0f;background-color:#f6f6f6;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}body{margin:0}.screen{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}.screen-editor{height:100vh;height:100dvh}.screen-library{align-items:center;justify-content:center;text-align:center;gap:1rem;border:3px dashed transparent;transition:border-color .15s,background-color .15s}.screen-library--dragging{border-color:#396cd8;background-color:#eef2fd}.error-text{color:#c62828}.project-list{list-style:none;padding:0;margin:1rem 0 0;width:min(480px,90vw);display:flex;flex-direction:column;gap:.5rem}.project-list-item{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left}.project-updated{font-size:.8em;color:#666}.editor-toolbar,.viewer-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem 1rem;border-bottom:1px solid #e0e0e0;background-color:#fff}.editor-toolbar-actions{display:flex;align-items:center;gap:.5rem}.viewer-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:600}@media(max-width:480px){.editor-toolbar,.viewer-header{padding:.5rem .75rem}}.editor-body{flex:1;display:flex;min-height:0}.editor-viewport,.viewer-viewport{flex:1;position:relative;overflow:hidden;background-color:#1a1a1a}.splat-scene{position:absolute;inset:0}.share-panel{position:relative}.share-popover{position:absolute;top:calc(100% + .5rem);right:0;width:min(320px,90vw);background-color:#fff;border-radius:10px;box-shadow:0 4px 16px #0003;padding:1rem;display:flex;flex-direction:column;gap:1rem;z-index:10;text-align:left}.share-section{display:flex;flex-direction:column;gap:.5rem}.share-section h3{margin:0;font-size:.95em}.share-hint{margin:0;font-size:.8em;color:#666}.share-result{display:flex;gap:.75rem;align-items:center}.share-result-details{display:flex;flex-direction:column;gap:.5rem;min-width:0;flex:1}.share-result-details input{width:100%;box-sizing:border-box;font-size:.8em}.standalone-status{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;text-align:center;padding:1.5rem;color:#f6f6f6;background-color:#1a1a1a}.standalone-status-detail{color:#b8b8b8;font-size:.9em;max-width:32rem}.editor-overlay{position:absolute;inset:0;overflow:hidden;pointer-events:none}.waypoint-preview{position:absolute;right:12px;bottom:12px;width:min(280px,45%);aspect-ratio:14 / 9;outline:2px solid rgba(255,255,255,.9);box-shadow:0 2px 12px #00000080;z-index:2;pointer-events:auto}.waypoint-preview-label{position:absolute;left:0;top:0;padding:2px 6px;font-size:11px;color:#fff;background-color:#0000008c}.wp-dot,.wp-eye,.wp-handle{position:absolute;left:0;top:0;box-sizing:border-box;border-radius:50%;pointer-events:none}.wp-dot{width:36px;height:36px;border:3px solid #ffffff;background-color:#ffffff4d;box-shadow:0 0 6px #00000080}.wp-dot--selected{border-color:#3aa0ff;background-color:#3aa0ff4d}.wp-dot--connecting{border-color:#ffb020;background-color:#ffb0204d}.wp-dot-arrow{position:absolute;left:-3px;top:-3px;width:36px;height:36px;fill:#ffbf1a;stroke:#5c3d00;stroke-width:1.5}.wp-eye{width:10px;height:10px;background-color:#fff;box-shadow:0 0 3px #0009}.wp-eye--selected{background-color:#3aa0ff}.wp-eye--connecting{background-color:#ffb020}.wp-handle{width:12px;height:12px;background-color:#ffbf1a;box-shadow:0 0 3px #0009}.waypoint-menu{position:absolute;z-index:3;min-width:150px;display:flex;flex-direction:column;padding:4px;background-color:#fff;border:1px solid #d0d0d0;border-radius:6px;box-shadow:0 4px 16px #0000004d;pointer-events:auto}.waypoint-menu button{text-align:left;border:none;box-shadow:none;background:transparent;padding:8px 10px}.waypoint-menu button:hover{background-color:#f0f0f0}.waypoint-menu .waypoint-menu-danger{color:#c0271a}.viewer-dots{position:absolute;inset:0;overflow:hidden;pointer-events:none}.viewer-dot{position:absolute;left:0;top:0;width:44px;height:44px;padding:0;border-radius:50%;border:3px solid rgba(255,255,255,.95);background-color:#ffffff59;box-shadow:0 0 8px #00000080;cursor:pointer;pointer-events:auto}.viewer-dot:hover{background-color:#fff9}.viewer-motion-blur{position:absolute;inset:0;pointer-events:none}.viewer-motion-blur--active{animation:motion-blur-pulse .65s ease-out}@keyframes motion-blur-pulse{0%{-webkit-backdrop-filter:blur(0px);backdrop-filter:blur(0px)}25%{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}to{-webkit-backdrop-filter:blur(0px);backdrop-filter:blur(0px)}}.editor-sidebar{width:320px;flex:none;overflow-y:auto;background-color:#fff;border-left:1px solid #e0e0e0;padding:1rem;display:flex;flex-direction:column;gap:1.25rem}.sidebar-section{display:flex;flex-direction:column;gap:.5rem;padding-bottom:1.25rem;border-bottom:1px solid #eee}.sidebar-section:last-child{border-bottom:none;padding-bottom:0}.sidebar-section h3{margin:0;font-size:.95em}.sidebar-section--hint{color:#333}.sidebar-section p{margin:0}.sidebar-hint{font-size:.85em;color:#666}.sidebar-field{display:flex;flex-direction:column;gap:.25rem;font-size:.9em}.sidebar-actions{display:flex;gap:.5rem;flex-wrap:wrap}.splat-scene-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#f6f6f6;background-color:#00000059;pointer-events:none;text-align:center;padding:0 1rem}input,button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;color:#0f0f0f;background-color:#fff;transition:border-color .25s;box-shadow:0 2px 2px #0003;cursor:pointer;outline:none}button:hover{border-color:#396cd8}button:active{border-color:#396cd8;background-color:#e8e8e8}.roam-boundary-glow{position:absolute;inset:0;pointer-events:none;opacity:0;box-shadow:inset 0 0 90px 30px #ffffff8c;transition:opacity .12s linear}.roam-guide{position:absolute;left:50%;bottom:1.5rem;transform:translate(-50%);display:flex;align-items:center;gap:1rem;max-width:calc(100% - 2rem);padding:.75rem 1rem;border-radius:10px;background:#000000b3;color:#fff;font-size:.9rem}.roam-guide p{margin:0}.roam-debug{position:absolute;top:.75rem;right:.75rem;width:280px;padding:.75rem;border-radius:8px;background:#000000c7;color:#fff;font-size:.8rem;display:flex;flex-direction:column;gap:.5rem;max-height:calc(100% - 1.5rem);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box}.roam-debug h3{margin:0;font-size:.85rem}.roam-debug label{display:flex;flex-direction:column;gap:.2rem}.roam-debug dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:.15rem .5rem}.roam-debug dt{color:#aaa}.roam-debug dd{margin:0}.mode-switch{display:inline-flex;border:1px solid #8aa4ff;border-radius:6px;overflow:hidden}.mode-switch button{border:0;border-radius:0;background:transparent;color:#cfd8ff;font-weight:400;padding:6px 12px;cursor:pointer}.mode-switch button+button{border-left:1px solid #8aa4ff}.mode-switch button.mode-switch-active{background:#4f6bff;color:#fff;font-weight:700}.mode-badge,.mode-note{position:absolute;left:12px;background:#0009;color:#fff;padding:4px 10px;border-radius:4px;font-size:13px;pointer-events:none;z-index:5}.mode-badge{top:12px;font-weight:700}.mode-note{top:46px}.roam-debug-group{border:1px solid rgba(255,255,255,.25);margin:8px 0;padding:6px 8px}.roam-debug-group label{display:block;margin:4px 0}.roam-debug-group>summary{cursor:pointer;font-weight:600;-webkit-user-select:none;user-select:none}.roam-debug>*{flex-shrink:0}.reveal-panel summary{cursor:pointer}.reveal-panel-fields{display:flex;flex-direction:column;gap:.6rem;margin-top:.5rem}.reveal-panel-fields label{display:flex;flex-direction:column;gap:.2rem;font-size:.85rem}.reveal-panel-fields label:has(>input[type=checkbox]){flex-direction:row;align-items:center;gap:.4rem}.share-trigger{display:flex;align-items:center;gap:.6rem}.share-summary{font-size:.75rem;opacity:.75;white-space:nowrap}.reveal-nav{display:flex;align-items:center;justify-content:space-between;gap:.5rem;font-size:.85rem}.build-stamp{position:fixed;right:6px;bottom:4px;z-index:5;font:10px/1 monospace;color:#ffffff8c;pointer-events:none}.viewer-viewport,.viewer-viewport canvas{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.touch-joystick{position:absolute;bottom:max(28px,calc(env(safe-area-inset-bottom) + 16px));width:124px;height:124px;border-radius:50%;background:#ffffff24;border:2px solid rgba(255,255,255,.38);display:flex;align-items:center;justify-content:center;touch-action:none;z-index:6}.touch-joystick-active{background:#ffffff38}.touch-joystick-knob{width:54px;height:54px;border-radius:50%;background:#ffffff80;box-shadow:0 1px 6px #00000059;pointer-events:none}.touch-hint{position:absolute;left:50%;top:4.5rem;transform:translate(-50%);max-width:calc(100% - 2rem);padding:.6rem .9rem;border-radius:999px;background:#000000b3;color:#fff;font-size:.9rem;text-align:center;pointer-events:none;z-index:7}.roam-debug{touch-action:pan-y}.touch-joystick-left{left:max(20px,calc(env(safe-area-inset-left) + 12px))}.touch-joystick-right{right:max(20px,calc(env(safe-area-inset-right) + 12px))}@media(max-height:460px){.touch-joystick{width:104px;height:104px;bottom:max(16px,calc(env(safe-area-inset-bottom) + 8px))}.touch-joystick-knob{width:46px;height:46px}.touch-hint{top:3.2rem}}
