@font-face{font-family:Bitcount Grid Double;src:url(https://cdn.jsdelivr.net/fontsource/fonts/bitcount-grid-double:vf@latest/latin-wght-normal.woff2) format("woff2-variations");font-weight:100 900;font-style:normal;font-display:swap}@font-face{font-family:Geist Sans;src:url(https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Geist Sans;src:url(https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Medium.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Geist Sans;src:url(https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-SemiBold.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Geist Mono;src:url(https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-mono/GeistMono-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}:root{--green: #7be660}*{margin:0;padding:0;box-sizing:border-box}body{background:#000;color:#ededed;font-family:Geist Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;min-height:100vh;font-size:14px;line-height:1.5}.layout{display:flex;min-height:100vh}.layout.centered{align-items:center;justify-content:center;padding:48px}.layout.centered .pane-left{border-right:none;padding:48px;flex:0 0 auto;min-height:auto;justify-content:center}.layout.centered .pane-right{display:none}.pane{flex:1;min-width:0}.pane-left{display:flex;flex-direction:column;justify-content:space-between;border-right:1px solid #111;padding:48px 48px 24px;max-width:520px}.pane-left-inner{display:flex;flex-direction:column}.pane-right{flex:1;padding:48px;overflow-y:auto}.header{margin-bottom:32px}.header-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.header h1{font-family:Bitcount Grid Double,monospace;font-size:28px;font-weight:300;color:#ededed;letter-spacing:1px;letter-spacing:-.02em}.header p{color:#555;margin-top:6px;font-size:14px;line-height:1.5}.new-chat-btn{padding:5px 14px;border:1px solid #333;border-radius:6px;background:transparent;color:#888;font-size:12px;font-weight:500;font-family:Geist Mono,monospace;cursor:pointer;transition:all .15s;white-space:nowrap;flex-shrink:0}.new-chat-btn:hover{background:#1a1a1a;border-color:#555;color:#ededed}.debug-toggle{align-self:flex-start;background:transparent;border:none;color:#333;font-size:12px;font-family:Geist Mono,monospace;padding:0;cursor:pointer;transition:color .15s}.debug-toggle:hover{color:#666}.debug-toggle.active{color:var(--green)}.mode-toggle{display:flex;gap:0;margin-bottom:16px}.mode-btn{flex:1;padding:8px 0;background:transparent;border:1px solid #1a1a1a;color:#555;font-size:13px;font-weight:500;cursor:pointer;font-family:inherit;transition:all .15s}.mode-btn:first-child{border-radius:8px 0 0 8px}.mode-btn:last-child{border-radius:0 8px 8px 0;border-left:none}.mode-btn.active{background:#ededed;color:#000;border-color:#ededed}.mode-btn:not(.active):hover{color:#999;border-color:#333}.tabs{display:flex;gap:0;margin-bottom:20px;border-bottom:1px solid #1a1a1a}.tab{position:relative;padding:8px 16px 8px 0;background:transparent;border:none;color:#555;font-size:13px;font-weight:500;cursor:pointer;margin-bottom:-1px;transition:color .15s;font-family:inherit}.tab:after{content:"";position:absolute;bottom:-1px;left:-4px;right:12px;height:2px;background:transparent;transition:background .15s}.tab:hover{color:#999}.tab.active{color:#ededed}.tab.active:after{background:var(--green)}.input-area{margin-bottom:16px}.textarea-container{position:relative}.input-area textarea{width:100%;background:#0a0a0a;border:1px solid #1a1a1a;border-radius:8px;color:#ededed;font-size:14px;padding:12px 48px 12px 14px;resize:vertical;min-height:80px;font-family:inherit;outline:none;transition:border-color .15s}.input-area textarea:focus{border-color:#333}.input-area textarea::placeholder{color:#444}.upload-icon-btn{position:absolute;top:10px;right:10px;background:transparent;border:1px solid #1a1a1a;border-radius:6px;color:#555;font-size:18px;padding:6px 10px;cursor:pointer;transition:all .15s;line-height:1}.upload-icon-btn:hover{background:#111;border-color:#333;color:#ededed}.file-list-compact{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;margin-bottom:10px;align-items:center}.file-chip-compact{display:flex;align-items:center;gap:6px;padding:4px 8px;background:#111;border:1px solid #1a1a1a;border-radius:6px;font-size:12px;font-family:Geist Mono,monospace}.file-chip-compact .file-name{color:#999;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-chip-compact .file-size{color:#444}.file-chip-compact .file-remove{background:none;border:none;color:#555;cursor:pointer;font-size:14px;padding:0 2px;line-height:1;transition:color .15s}.file-chip-compact .file-remove:hover{color:#e44}.clear-files-compact{background:none;border:none;color:#444;cursor:pointer;font-size:11px;font-family:Geist Mono,monospace;text-decoration:underline;text-decoration-color:#222;text-underline-offset:2px;transition:color .15s;padding:0}.clear-files-compact:hover{color:#ededed}.examples{display:flex;gap:4px 0;flex-wrap:wrap;margin-top:10px}.examples button{background:transparent;border:none;color:#444;font-size:13px;padding:3px 0;margin-right:14px;cursor:pointer;transition:color .15s;font-family:inherit;text-decoration:underline;text-decoration-color:#1a1a1a;text-underline-offset:3px}.examples button:hover{color:#ededed;text-decoration-color:#555}.upload-area{margin-bottom:16px}.drop-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:120px;border:1px dashed #333;border-radius:8px;background:#0a0a0a;cursor:pointer;transition:all .15s;padding:24px}.drop-zone:hover,.drop-zone.drag-over{border-color:#555;background:#111}.drop-zone.has-files{min-height:60px;padding:16px}.drop-icon{font-size:20px;color:#444}.drop-text{font-size:13px;color:#888}.drop-hint{font-size:11px;color:#444;font-family:Geist Mono,monospace}.file-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;align-items:center}.file-chip{display:flex;align-items:center;gap:6px;padding:4px 8px;background:#111;border:1px solid #1a1a1a;border-radius:6px;font-size:12px;font-family:Geist Mono,monospace}.file-name{color:#999;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-size{color:#444}.file-remove{background:none;border:none;color:#555;cursor:pointer;font-size:14px;padding:0 2px;line-height:1;transition:color .15s}.file-remove:hover{color:#e44}.clear-files{background:none;border:none;color:#444;cursor:pointer;font-size:11px;font-family:Geist Mono,monospace;text-decoration:underline;text-decoration-color:#222;text-underline-offset:2px;transition:color .15s;padding:0}.clear-files:hover{color:#ededed}.generate-btn{width:100%;padding:0;height:40px;font-size:14px;font-weight:500;border:none;border-radius:8px;cursor:pointer;background:#ededed;color:#000;transition:background .15s;font-family:inherit}.generate-btn:hover{background:#fff}.generate-btn:disabled{opacity:.3;cursor:not-allowed}.empty-state{display:flex;align-items:center;justify-content:center;height:100%;min-height:300px}.empty-state p{color:#333;font-size:14px}.progress{margin-bottom:32px}.step{display:flex;align-items:flex-start;gap:12px;border-left:2px solid #1a1a1a;padding:10px 0 10px 14px;transition:border-color .2s}.step.active{border-left-color:#ededed}.step.done{border-left-color:var(--green)}.step.error{border-left-color:#e00}.step-icon{width:18px;height:18px;display:flex;align-items:center;justify-content:center;font-size:12px;flex-shrink:0;color:#333;font-family:Geist Mono,monospace}.step.active .step-icon{color:#ededed}.step.done .step-icon{color:var(--green)}.step.error .step-icon{color:#e00}.step-text{font-size:13px;color:#555}.step.active .step-text{color:#ededed}.step.done .step-text{color:#888}.step-detail{font-size:12px;color:#444;margin-top:2px;font-family:Geist Mono,monospace}@keyframes spin{to{transform:rotate(360deg)}}.spinner{display:inline-block;width:14px;height:14px;border:1.5px solid #222;border-top-color:#ededed;border-radius:50%;animation:spin .7s linear infinite}.video-preview{margin-bottom:24px}.video-preview-header{display:flex;align-items:center;justify-content:space-between;width:100%;padding:8px 0;background:transparent;border:none;cursor:pointer;font-family:inherit}.video-preview-label{font-size:11px;font-weight:500;color:#888;text-transform:uppercase;letter-spacing:.05em;font-family:Geist Mono,monospace}.video-preview-toggle{font-size:11px;color:#444;font-family:Geist Mono,monospace;transition:color .15s}.video-preview-header:hover .video-preview-toggle{color:#888}.video-preview-player{margin-top:8px;border:1px solid #1a1a1a;border-radius:8px;overflow:hidden;background:#0a0a0a}.video-preview-player video{display:block;width:100%;max-height:400px;object-fit:contain;background:#000}.video-preview.collapsed{margin-bottom:16px}.video-loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:48px 16px;color:#888;font-size:13px}.debug-section{margin-top:8px;display:none}.debug-section.active{display:block}.debug-panel{padding:0 0 20px;margin-bottom:0}.debug-panel+.debug-panel{border-top:1px solid #111;padding-top:20px}.debug-panel h3{color:#444;font-size:11px;font-weight:500;margin-bottom:8px;text-transform:uppercase;letter-spacing:.05em;font-family:Geist Mono,monospace}.debug-panel .content{color:#777;font-size:13px;line-height:1.6;white-space:pre-wrap;word-break:break-word;max-height:200px;overflow-y:auto;font-family:Geist Mono,monospace}.debug-panel video{width:100%;max-width:600px;border-radius:6px;margin-top:8px}.file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:4px;margin-top:8px}.file-item{display:block;padding:4px 0;background:transparent;border:none;font-family:Geist Mono,monospace;font-size:11px;color:#555;word-break:break-all;text-decoration:none;transition:color .15s}.file-item:hover{color:#ededed}.file-category{margin-top:14px}.file-category h4{color:#444;font-size:11px;margin-bottom:6px;font-weight:500;font-family:Geist Mono,monospace;text-transform:uppercase;letter-spacing:.05em}.result{display:none}.result.active{display:block}.result-links{display:flex;gap:16px;margin-top:12px;flex-wrap:wrap}.result-links a{padding:0;background:transparent;border:none;color:#555;text-decoration:underline;text-decoration-color:#222;text-underline-offset:3px;font-size:13px;transition:color .15s}.result-links a:hover{color:#ededed;text-decoration-color:#555}.result-add-to-gallery{padding:6px 12px;background:#1a1a1a;border:1px solid #333;border-radius:6px;color:var(--green);font-size:13px;cursor:pointer;transition:background .15s,border-color .15s}.result-add-to-gallery:hover{background:#222;border-color:#444}.result-gallery-toast{margin-top:12px;padding:8px 12px;background:#1a2a1a;border:1px solid #2a3a2a;border-radius:6px;color:var(--green);font-size:13px}.result-name-dialog-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:9998;padding:24px;animation:fadeIn .15s}.result-name-dialog{background:#111;border:1px solid #2a2a2a;border-radius:12px;padding:24px;min-width:320px;max-width:100%;box-shadow:0 24px 48px #00000080}.result-name-dialog-title{font-size:16px;font-weight:600;color:#ededed;margin:0 0 16px}.result-name-dialog-input{width:100%;box-sizing:border-box;padding:10px 14px;margin-bottom:20px;background:#0a0a0a;border:1px solid #2a2a2a;border-radius:8px;color:#ededed;font-size:14px;outline:none;transition:border-color .15s}.result-name-dialog-input:focus{border-color:var(--green)}.result-name-dialog-input::placeholder{color:#555}.result-name-dialog-actions{display:flex;gap:12px;justify-content:flex-end}.result-name-dialog-cancel,.result-name-dialog-confirm{padding:8px 16px;border-radius:6px;font-size:13px;cursor:pointer;transition:background .15s,border-color .15s}.result-name-dialog-cancel{background:transparent;border:1px solid #333;color:#888}.result-name-dialog-cancel:hover{background:#1a1a1a;color:#ccc}.result-name-dialog-confirm{background:var(--green);border:1px solid var(--green);color:#000}.result-name-dialog-confirm:hover{filter:brightness(1.1)}.splat-container{width:100%;height:500px;border:1px solid #1a1a1a;border-radius:8px;background:#0a0a0a;overflow:hidden;position:relative}.splat-viewer-wrapper{position:relative;width:100%;height:100%}.splat-viewer-canvas{width:100%;height:100%;background:#111}.splat-viewer-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:10px;background:#000c;color:#ededed;font-size:13px}.splat-viewer-hud{position:absolute;top:10px;left:10px;display:flex;align-items:center;gap:8px;background:#0a0a0ad9;border:1px solid #1a1a1a;border-radius:6px;padding:4px 10px;font-size:11px;font-family:Geist Mono,monospace;color:#888;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.splat-viewer-dot{width:6px;height:6px;border-radius:50%;background:var(--green);flex-shrink:0}.splat-viewer-sep{color:#333}.splat-viewer-controls-hint{position:absolute;bottom:10px;right:10px;font-size:10px;font-family:Geist Mono,monospace;color:#444;text-transform:uppercase;letter-spacing:.04em;background:#0a0a0ab3;border:1px solid #1a1a1a;border-radius:6px;padding:4px 10px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.splat-fetch-loading{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:10px;color:#888;font-size:13px}.splat-fetch-error{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#e00;font-size:13px}.stream-error{display:flex;align-items:center;gap:10px;padding:10px 14px;margin-bottom:16px;border:1px solid #3a1111;border-radius:8px;background:#ee00000f;color:#e44;font-size:13px}.error-icon{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#ee000026;color:#e44;font-size:12px;font-weight:700;flex-shrink:0}.retry-btn{margin-left:auto;padding:4px 14px;border:1px solid #333;border-radius:6px;background:transparent;color:#ededed;font-size:12px;font-family:inherit;cursor:pointer;transition:background .15s,border-color .15s;white-space:nowrap}.retry-btn:hover{background:#1a1a1a;border-color:#555}.home-page{min-height:100vh;background:#000;display:flex;flex-direction:column;position:relative;overflow:hidden;z-index:0}.home-bg-video{position:fixed;top:0;left:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none}.home-bg-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#000c;z-index:0;pointer-events:none}.home-page>*:not(.home-bg-video):not(.home-bg-overlay){position:relative;z-index:1}.home-nav{display:flex;justify-content:center;gap:0;border-bottom:1px solid #1a1a1a;padding:24px 0 0;background:transparent}.home-nav-btn{padding:12px 32px;background:transparent;border:none;border-bottom:2px solid transparent;color:#555;font-family:Bitcount Grid Double,monospace;font-weight:300;font-size:16px;cursor:pointer;transition:all .2s;margin-bottom:-1px}.home-nav-btn:hover{color:#999}.home-nav-btn.active{color:#ededed;border-bottom-color:var(--green)}.create-view{flex:1;display:flex;min-height:calc(100vh - 65px)}.create-content{flex:1;max-width:800px;padding:80px 48px;display:flex;flex-direction:column;gap:24px;margin:0 auto}.create-header{margin-bottom:16px}.create-header h1{font-family:Bitcount Grid Double,monospace;font-size:36px;font-weight:300;color:#ededed;letter-spacing:1px;margin-bottom:12px;letter-spacing:-.02em}.create-header p{font-size:16px;color:#666;line-height:1.6}.create-debug-toggle{align-self:flex-start;margin-top:8px;padding:8px 16px;border:1px solid #222;border-radius:6px;background:transparent;color:#555;font-size:12px;font-family:Geist Mono,monospace;cursor:pointer;transition:all .15s;text-transform:uppercase;letter-spacing:.05em}.create-debug-toggle:hover{background:#111;border-color:#333;color:#ededed}.create-debug-toggle.active{background:#7be6601a;border-color:var(--green);color:var(--green)}.create-examples{flex-shrink:0;width:320px;padding:80px 48px 80px 24px;border-left:1px solid #1a1a1a;display:flex;flex-direction:column;gap:16px}.create-examples-header{font-size:11px;font-weight:500;color:#666;text-transform:uppercase;letter-spacing:.05em;font-family:Geist Mono,monospace}.create-examples-grid{display:flex;flex-direction:column;gap:12px}.create-example-item{position:relative;border:1px solid #1a1a1a;border-radius:8px;overflow:hidden;background:#0a0a0a;aspect-ratio:16 / 9;transition:border-color .3s}.create-example-item.clickable{cursor:pointer}.create-example-item.clickable:hover{border-color:#333}.create-example-item img{width:100%;height:100%;object-fit:cover;display:block}.create-example-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(transparent 40%,#000c);display:flex;align-items:flex-end;padding:10px;opacity:0;transition:opacity .3s}.create-example-item.clickable:hover .create-example-overlay{opacity:1}.create-example-name{font-size:12px;font-weight:500;color:#ededed}.create-view-all{margin-top:8px;padding:8px 16px;background:transparent;border:1px solid #1a1a1a;border-radius:6px;color:#555;font-size:12px;font-family:Geist Mono,monospace;cursor:pointer;transition:all .15s}.create-view-all:hover{background:#111;border-color:#333;color:#ededed}.gallery-view{flex:1;padding:48px;max-width:1600px;margin:0 auto;width:100%}.gallery-header{margin-bottom:32px;text-align:center}.gallery-header h2{font-family:Bitcount Grid Double,monospace;font-size:28px;font-weight:300;color:#ededed;margin-bottom:8px;letter-spacing:-.02em}.gallery-header p{font-size:14px;color:#666}.gallery-full-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px}.gallery-cell{position:relative;border:1px solid #1a1a1a;border-radius:12px;overflow:hidden;background:#0a0a0a;transition:border-color .3s;aspect-ratio:16 / 9}.gallery-cell-item{cursor:pointer}.gallery-cell-item:hover{border-color:#333}.gallery-cell-empty{display:flex;align-items:center;justify-content:center;min-height:200px}.gallery-cell-add{display:flex;align-items:center;justify-content:center;cursor:pointer;border-style:dashed;border-color:#2a2a2a;transition:border-color .2s,background .2s}.gallery-cell-add:hover{border-color:#444;background:#0f0f0f}.gallery-add-content{display:flex;flex-direction:column;align-items:center;gap:12px;color:#444;transition:color .2s}.gallery-cell-add:hover .gallery-add-content{color:var(--green)}.gallery-add-icon{font-size:36px;font-weight:300;line-height:1}.gallery-add-text{font-size:12px;font-family:Geist Mono,monospace;text-transform:uppercase;letter-spacing:.05em}.gallery-preview-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#111}.gallery-placeholder-label{font-size:14px;font-family:Geist Mono,monospace;color:#333;text-transform:uppercase;letter-spacing:.1em}.coming-soon{color:#333;font-size:12px;font-family:Geist Mono,monospace;text-transform:uppercase;letter-spacing:.05em}.gallery-preview{position:relative;width:100%;height:100%}.gallery-preview img{width:100%;height:100%;object-fit:cover;display:block}.gallery-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to top,rgba(0,0,0,.9) 0%,transparent 50%);display:flex;flex-direction:column;justify-content:flex-end;padding:16px;opacity:0;transition:opacity .3s}.gallery-cell-item:hover .gallery-overlay{opacity:1}.gallery-name{font-size:16px;font-weight:600;color:#ededed;margin-bottom:4px}.gallery-action{font-size:11px;font-family:Geist Mono,monospace;color:var(--green);text-transform:uppercase;letter-spacing:.05em}.gallery-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000f2;display:flex;align-items:center;justify-content:center;z-index:9999;padding:40px;animation:fadeIn .2s}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.gallery-modal-content{position:relative;width:100%;max-width:1200px;height:90vh;display:flex;flex-direction:column;background:#0a0a0a;border:1px solid #1a1a1a;border-radius:12px;overflow:hidden}.gallery-modal-close{position:absolute;top:16px;right:16px;width:36px;height:36px;border:1px solid #333;border-radius:8px;background:#0a0a0ae6;color:#888;font-size:20px;font-weight:300;cursor:pointer;transition:background .2s,border-color .2s,color .2s;z-index:10;display:flex;align-items:center;justify-content:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.gallery-modal-close:hover{background:#1a1a1a;border-color:#555;color:#ededed}.gallery-modal-header{padding:20px 24px;border-bottom:1px solid #1a1a1a}.gallery-modal-header h2{font-size:18px;font-weight:600;color:#ededed}.gallery-modal-viewer{flex:1;position:relative;overflow:hidden}.gallery-modal-loading,.gallery-modal-error{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;font-size:13px}.gallery-modal-loading{color:#888}.gallery-modal-error{color:#e44}.gallery-modal-hint{padding:12px 24px;border-top:1px solid #1a1a1a;font-size:10px;font-family:Geist Mono,monospace;color:#444;text-align:center;text-transform:uppercase;letter-spacing:.05em}@media(max-width:768px){.layout{flex-direction:column}.pane-left{max-width:none;border-right:none;border-bottom:1px solid #111;padding:32px 20px 24px}.pane-right{padding:24px 20px 48px}.create-view{flex-direction:column}.create-content{padding:40px 24px;max-width:100%}.create-header h1{font-size:24px}.create-header p{font-size:14px}.create-examples{width:100%;padding:24px;border-left:none;border-top:1px solid #1a1a1a}.gallery-view{padding:24px}.gallery-header h2{font-size:22px}.gallery-full-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}.gallery-modal-overlay{padding:20px}.gallery-modal-content{height:85vh}}
