:root{font-family:DM Sans,system-ui,sans-serif;color:#253c32;background:#f5f6f0;font-synthesis:none;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;background:#345c49;color:#fff;border:1px solid transparent;border-radius:9px;padding:12px 18px;font-weight:600;transition:background .15s}button:hover{background:#244834}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}h1,h2,h3{font-family:Manrope,system-ui,sans-serif;letter-spacing:-.04em}h1{font-size:46px;line-height:1.15;font-weight:600;margin:10px 0 18px}h2{font-size:26px;font-weight:600}h3{font-size:17px;margin:0 0 15px}p{line-height:1.6}.muted{color:#728076}.quiet{color:#849087;font-size:12px}.eyebrow{font-size:10px;letter-spacing:.18em;font-weight:700;color:#788675}.brand{font-family:Manrope,sans-serif;font-size:28px;letter-spacing:-.07em;font-weight:800;white-space:nowrap}.brand span{color:#94a762;font-size:30px;margin:0 1px}label{display:block;font-size:12px;font-weight:600;margin:20px 0 10px}input:not([type=color]):not([type=checkbox]),select{display:block;width:100%;border:1px solid #dce2d8;border-radius:8px;padding:12px 14px;background:#fafbf7;color:#263e32;outline:none;margin-top:8px}input:focus,select:focus{border-color:#6a906f!important;box-shadow:0 0 0 3px #84a58122}input[type=color]{display:block;border:1px solid #dce2d8;border-radius:6px;background:none;width:100%;height:36px;margin-top:8px}.subtle{background:#edf1e8;color:#3d5b48;border-color:#dce4d7}.subtle:hover{background:#e0e8d9}.danger{color:#985548}.text-button{background:none;color:#4d6c56;padding:10px 0;font-size:12px}.text-button:hover{background:none;text-decoration:underline}[hidden]{display:none!important}.welcome{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:32px 16px;background:#090f14;color:#d7e1e6;font-family:Lucida Console,Monaco,monospace;color-scheme:dark}.auth-card{width:100%;max-width:400px;padding:24px;background:#121c24;border:1px solid #536773;box-shadow:4px 4px #000}.auth-card:has(.auth-titlebar){padding:0}.auth-titlebar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;background:#243642;border-bottom:1px solid #536773}.auth-brand{font-weight:700;letter-spacing:.12em}.auth-titlebar span{font-size:10px;color:#a9bec9;letter-spacing:.06em}.auth-content{padding:24px}.auth-card h1,.auth-card h2{font-family:inherit;letter-spacing:0;font-weight:400;margin:0 0 20px}.auth-card h1{font-size:20px}.auth-card h2{font-size:15px}.auth-card label{margin:16px 0 10px;font-weight:400}.auth-card input:not([type=color]):not([type=checkbox]){background:#090f14;color:#edf3f6;border:1px solid #536773;border-radius:0;padding:10px}.auth-card input::placeholder{color:#93a5b0}.auth-card button{border-radius:0;border:1px solid #78929f;background:#2d4655;color:#edf3f6;padding:10px 12px;font-weight:400}.auth-card button:hover{background:#3d5e70}.auth-card form button{width:100%;margin-top:12px}.auth-card .text-button{background:transparent;border-color:transparent;padding:8px 0;font-size:12px;color:#b1cedd}.auth-card :is(input,button,a):focus-visible{outline:2px solid #a9d9f0;outline-offset:3px;box-shadow:none}.auth-card hr{border:0;border-top:1px solid #364a58;margin:22px 0}.auth-card .quiet{color:#a6b8c2;font-size:11px;margin-bottom:0}.auth-card [role=alert]{color:#ffac9f;font-size:12px;margin:10px 0 0;overflow-wrap:anywhere}.auth-card [role=alert]:empty{display:none}header{height:82px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e1e7dc;background:#fbfcf7;gap:22px}.account{display:flex;gap:20px;align-items:center;font-size:12px}.account button{padding:8px 12px}.spaces-shell{min-height:100vh;min-height:100dvh;background:#090f14;color:#d7e1e6;font-family:Lucida Console,Monaco,monospace;color-scheme:dark}.spaces-shell header{height:64px;background:#121c24;border-bottom:1px solid #536773}.spaces-shell :is(h1,h2,h3){font-family:inherit;font-weight:400;letter-spacing:0}.spaces-shell .muted{color:#a6b8c2}.spaces-shell button{border-radius:0;border:1px solid #78929f;background:#2d4655;color:#edf3f6;font-weight:400}.spaces-shell button:hover{background:#3d5e70}.spaces-shell :is(button,input,a):focus-visible{outline:2px solid #a9d9f0;outline-offset:3px;box-shadow:none}.dashboard{max-width:1300px;padding:40px 5%;margin:auto}.page-title{display:flex;justify-content:space-between;align-items:center;gap:24px}.page-title h1{font-size:28px;margin:0 0 10px}.page-title .muted{font-size:12px;margin:0}.page-title form{display:flex;gap:10px;align-items:center;max-width:100%}.spaces-shell .page-title input{margin-top:0;width:220px;max-width:100%;background:#090f14;color:#edf3f6;border:1px solid #536773;border-radius:0}.spaces-shell input::placeholder{color:#93a5b0}.page-title button{white-space:nowrap}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:36px 0 16px;padding-bottom:12px;border-bottom:1px solid #364a58}.section-title h2{font-size:14px;margin:0}.section-title span{font-size:11px;color:#a6b8c2}.scene-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.scene-entry{display:flex;flex-direction:column;min-width:0;gap:8px}.scene-entry .scene-card{width:100%;flex:1}.spaces-shell .delete-space{align-self:flex-end;background:transparent;border-color:#70504e;color:#ffac9f;font-size:11px;padding:6px 10px}.spaces-shell .delete-space:hover{background:#3b2528}.spaces-shell .scene-card{text-align:left;padding:0;background:#121c24;border:1px solid #536773;color:#d7e1e6;overflow-wrap:anywhere}.spaces-shell .scene-card:hover{background:#1c2d38;border-color:#a9d9f0}.card-content{padding:20px}.badge{font-size:10px;letter-spacing:.1em;color:#a9d9f0}.card-content h3{font-size:19px;margin:12px 0}.card-content p{font-size:11px;color:#a6b8c2;margin:0}.card-content .card-footer{display:flex;justify-content:space-between;gap:12px;margin-top:24px;padding-top:12px;border-top:1px solid #364a58;color:#d7e1e6}.empty{padding:28px;border:1px dashed #536773;grid-column:1/-1}.empty p{color:#a6b8c2;margin-bottom:0}.spaces-shell #home-message{color:#ffac9f;overflow-wrap:anywhere}.spaces-shell #home-message:empty{display:none}.spaces-shell .account{min-width:0;gap:12px}.spaces-shell .account>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spaces-shell .account button{flex-shrink:0}.studio{height:100vh;display:flex;flex-direction:column}.studio header{height:66px;flex-shrink:0;padding:0 24px}.studio .brand{font-size:24px}.studio-title{flex:1;display:flex;gap:14px;align-items:center}.studio-title span{font-size:10px;text-transform:uppercase;background:#e9eee3;border-radius:5px;padding:4px 7px;letter-spacing:.08em}.tools{display:flex;gap:20px;align-items:center;height:65px;padding:10px 24px;background:#f9faf5;border-bottom:1px solid #e0e7d9;flex-shrink:0}.segmented{display:flex;background:#e9eee3;border-radius:9px;padding:4px}.segmented button{padding:8px 14px;background:transparent;color:#65765f;font-size:12px}.segmented button.active{background:#fffefa;box-shadow:0 1px 5px #2c46221c;color:#294831}.edit-tools{display:flex;gap:6px}.edit-tools button{padding:8px 12px;font-size:11px}#saved-state{margin-left:auto}.studio-body{flex:1;display:flex;min-height:0}.viewport{position:relative;flex:1;min-width:0;background:#e8ede6}#world,#map{display:block;width:100%;height:100%;position:absolute;inset:0}#map{cursor:crosshair;touch-action:none}.view-hint{position:absolute;bottom:20px;left:50%;transform:translate(-50%);background:#fdfef6e8;border:1px solid #d5dfcf;border-radius:8px;padding:10px 15px;font-size:11px;color:#566a50;white-space:nowrap;pointer-events:none}.crosshair{position:absolute;left:50%;top:50%;color:#fff8;pointer-events:none}.notice{position:absolute;top:16px;left:20px;right:20px;background:#fffdf0e8;border-radius:8px;color:#6b623d;padding:10px 15px;font-size:12px;pointer-events:none}.notice:empty{display:none}aside{width:280px;background:#fcfdf8;border-left:1px solid #dfe5d9;overflow-y:auto;flex-shrink:0}.aside-section{padding:22px;border-bottom:1px solid #e7ebdf}.aside-section h3{font-size:14px;margin-bottom:12px}.aside-section p{font-size:12px}.aside-section label{margin-top:14px}.aside-section button{font-size:11px;padding:8px 10px}.aside-section select{font-size:11px}.aside-section .check{display:flex;align-items:center;gap:5px;line-height:1.5}.voice-actions{display:flex;gap:6px}#people{list-style:none;padding:0;margin:0}#people li{font-size:12px;margin:10px 0;display:flex;align-items:center;gap:10px}#people i{width:10px;height:10px;border-radius:50%;display:inline-block}#people-count{float:right;color:#87997b;font-size:12px}#home-message{color:#9f5b3a}@media(max-width:900px){.page-title{align-items:start;flex-direction:column}.scene-grid{grid-template-columns:repeat(2,1fr)}.studio header{padding:0 12px}.tools{padding:8px;gap:8px}.edit-tools{gap:3px}.edit-tools button{padding:8px}aside{width:230px}.view-hint{white-space:normal;width:90%;text-align:center}}@media(max-width:650px){.scene-grid{grid-template-columns:1fr}.page-title form{flex-wrap:wrap}.section-title span,.studio-title span,.studio .brand,#saved-state{display:none}.tools{height:auto;flex-wrap:wrap}.studio-body{flex-direction:column}.viewport{min-height:55vh}aside{width:100%;border-left:0;display:flex;overflow:auto;min-height:200px}.aside-section{min-width:230px}.studio{height:auto;min-height:100vh}}.live-toggle{display:flex;align-items:center;gap:.4rem;margin:0;white-space:nowrap}.live-toggle input{width:auto;margin:0}#map{touch-action:none}.editor-properties>button{margin:.25rem .25rem 0 0}#texture-preview canvas{width:80px;height:80px;border:1px solid #bac9b6;border-radius:6px}.texture-atlas{width:min(760px,90vw);max-height:85vh;border:1px solid #bac9b6;border-radius:14px;background:#f8faf4;color:#243b30;padding:24px}.texture-atlas::backdrop{background:#182e29aa}.texture-atlas header{padding:0;display:flex;justify-content:space-between}.atlas-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:12px;margin:20px 0}.atlas-tile{display:flex;flex-direction:column;gap:6px;background:#e3eadf;color:#243b30;padding:8px;min-width:0}.atlas-tile img,.atlas-tile canvas{width:100%;height:88px;object-fit:contain}.atlas-tile span{overflow-wrap:anywhere}.texture-atlas section{border-top:1px solid #bac9b6;padding-top:16px}#texture-preview img{width:80px;height:80px;object-fit:contain}.view-hint{max-width:calc(100% - 32px);width:max-content;white-space:normal;text-align:center}.studio.retro-editor{color-scheme:dark;color:#c7d3dd;background:#11171d;font-family:SFMono-Regular,Menlo,Consolas,monospace}.retro-editor header,.retro-editor .tools,.retro-editor aside{background:#1a232d;border-color:#3b4a59}.retro-editor .viewport{background:#090e13}.retro-editor h3,.retro-editor .brand{font-family:inherit;letter-spacing:0}.retro-editor .brand,.retro-editor .brand span{color:#83d9c1}.retro-editor .aside-section{border-color:#34404b}.retro-editor .quiet,.retro-editor .muted,.retro-editor .eyebrow,.retro-editor .studio-title span{color:#a4b5c3}.retro-editor button,.retro-editor button.subtle{border-radius:1px;border:1px solid #526373;border-top-color:#7b8b98;border-left-color:#7b8b98;background:#293744;color:#dbe5ec;box-shadow:1px 1px #05090d;transition:none}.retro-editor button:hover{background:#3b5062;color:#fff}.retro-editor button.active,.retro-editor #save{background:#23493e;color:#a0f4bd}.retro-editor button.danger{color:#ff8fa0}.retro-editor input,.retro-editor select{background:#0d151c;border:1px solid #526373;border-radius:1px;color:#e1eaf0;accent-color:#7ed9aa}.retro-editor .segmented{background:#111920;border-radius:1px}.retro-editor .view-hint,.retro-editor .notice{color:#b8d2dc;background:#14212bee;border:1px solid #405566;border-radius:1px}.retro-editor .view-hint{white-space:normal;width:max-content;max-width:calc(100% - 32px)}.retro-editor :focus-visible{outline:2px solid #ffd166;outline-offset:2px}.texture-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px}.texture-actions button{margin:0}#surface-controls details{margin:12px 0}#surface-controls summary{cursor:pointer}.studio.retro-editor input:not([type=checkbox]):not([type=color]){background:#0d151c;color:#e1eaf0;border:1px solid #526373;border-radius:1px}.retro-editor .studio-title span{background:#293744;border-radius:1px}.retro-editor .tools{gap:8px}.retro-editor .tools button{padding:9px 10px;font-size:12px;white-space:nowrap}.texture-atlas{background:#121c24;color:#d7e1e6;border-color:#536773;border-radius:0;font-family:Lucida Console,Monaco,monospace;color-scheme:dark}.texture-atlas header{background:#121c24;border-color:#364a58;height:auto;padding-bottom:12px}.texture-atlas h2{font:inherit;font-size:20px;letter-spacing:0;margin:0}.texture-atlas p{font-size:12px;color:#a6b8c2}.texture-atlas .atlas-grid{max-height:28vh;overflow:auto;padding:3px}.texture-atlas button{border-radius:0;background:#2d4655;color:#edf3f6;border:1px solid #536773}.texture-atlas button:hover{background:#3d5e70}.texture-atlas section{border-color:#364a58}.texture-atlas input:not([type=color]):not([type=checkbox]),.texture-atlas select{border-radius:0;background:#090f14;color:#edf3f6;border:1px solid #536773}.texture-atlas [data-paste]{margin-left:10px}.texture-atlas :is(button,input,select):focus-visible{outline:2px solid #a9d9f0;outline-offset:2px}
