:root{--bg:#17151B;--bg-raised:#1D1A21;--surface-1:#1A171E;--surface:#221F27;--surface-2:#2B2731;--surface-3:#363039;--surface-hover:#2F2A35;--border:rgba(244,236,220,.09);--border-strong:rgba(244,236,220,.2);--overlay:rgba(14,12,16,.94);--text:#F4ECDD;--text-dim:#A79E93;--text-faint:#6E655C;--paper:#F1E8D6;--paper-raised:#F8F2E6;--paper-ink:#221C17;--paper-ink-dim:#5B5148;--coral:#E14B33;--coral-hover:#F35F42;--coral-soft:rgba(225,75,51,.15);--coral-text:#FF9C81;--violet:#3E6FE0;--violet-soft:rgba(62,111,224,.16);--violet-text:#A9C6FF;--success:#57B57E;--danger:#FF5470;--danger-soft:rgba(255,84,112,.14);--radius-sm:8px;--radius-md:14px;--radius-lg:22px;--sidebar-w:248px}*{box-sizing:border-box;margin:0;padding:0}html,body{background:var(--bg);overflow-x:hidden}body{color:var(--text);font-family:IBM Plex Sans,sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased}h1,h2,h3,.display{font-family:Big Shoulders Display,sans-serif;font-weight:700;letter-spacing:0;text-transform:none}.mono,.frame-count{font-family:IBM Plex Mono,monospace;font-variant-numeric:tabular-nums}a{color:inherit;text-decoration:none}button,input,textarea,select{font-family:inherit}::selection{background:var(--coral-soft);color:var(--text)}.wrap{max-width:1180px;margin:0 auto;padding:0 32px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--violet);outline-offset:2px}@media (prefers-reduced-motion: reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}.btn-primary{background:var(--coral);color:#fff3ee;font-weight:600;font-size:14.5px;padding:11px 20px;border-radius:var(--radius-sm);border:none;cursor:pointer;transition:background .15s ease}.btn-primary:hover{background:var(--coral-hover)}.btn-primary:disabled{opacity:.5;cursor:default}.btn-secondary{background:var(--violet-soft);color:var(--violet-text);font-weight:600;font-size:14.5px;padding:11px 20px;border-radius:var(--radius-sm);border:1px solid transparent;cursor:pointer;transition:background .15s ease}.btn-secondary:hover{background:#8a63f242}.btn-ghost{border:1px solid var(--border-strong);color:var(--text);font-weight:600;font-size:14.5px;padding:11px 20px;border-radius:var(--radius-sm);background:transparent;cursor:pointer;transition:border-color .15s ease}.btn-ghost:hover{border-color:var(--text-dim)}.btn-danger{background:transparent;color:var(--danger);border:1px solid rgba(255,84,112,.35);font-size:13px;padding:6px 12px;border-radius:6px;cursor:pointer}.error-banner{background:var(--danger-soft);border:1px solid rgba(255,84,112,.35);color:#ffc2ce;border-radius:var(--radius-sm);padding:10px 13px;font-size:13.5px;margin:4px 0 10px}nav.topnav{position:sticky;top:0;z-index:40;background:#0a0a0cd9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}nav.topnav .wrap{display:flex;align-items:center;justify-content:space-between;height:64px}.logo{font-family:Big Shoulders Display,sans-serif;font-size:19px;font-weight:700;display:flex;align-items:center;gap:9px}.logo-mark{width:22px;height:22px;border-radius:6px;background:linear-gradient(135deg,var(--coral),var(--violet));display:inline-block;flex-shrink:0}.app-shell{display:grid;grid-template-columns:var(--sidebar-w) 1fr;min-height:100vh;transition:grid-template-columns .18s ease}.app-sidebar{background:var(--bg-raised);border-right:1px solid var(--border);padding:18px 12px 16px;position:sticky;top:0;height:100vh;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:18px}.sidebar-head{display:flex;align-items:center;justify-content:space-between;padding:6px 4px 10px}.app-sidebar .logo{padding:0 6px}.sidebar-toggle-btn{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:28px;height:28px;padding:0;border:none;border-radius:7px;background:transparent;color:var(--text-dim);cursor:pointer;transition:background .12s ease,color .12s ease}.sidebar-toggle-btn:hover{background:var(--surface);color:var(--text)}.nav-group{display:flex;flex-direction:column;gap:2px}.sidebar-nav{flex:1;min-height:0;overflow-y:auto}.sidebar-footer{display:flex;flex-direction:column;gap:2px;padding-top:12px;border-top:1px solid var(--border)}.nav-group-label{font-size:11.5px;color:var(--text-faint);padding:10px 10px 6px;white-space:nowrap}.nav-item{display:flex;align-items:center;gap:11px;padding:9px 10px;border-radius:var(--radius-sm);font-size:14px;color:var(--text-dim);font-weight:500;cursor:pointer;position:relative;transition:background .12s ease,color .12s ease}.nav-item svg{flex-shrink:0;width:18px;height:18px}.nav-item-label{white-space:nowrap}.nav-item:hover{background:var(--surface);color:var(--text)}.nav-item.active{background:var(--coral-soft);color:var(--coral-text)}.nav-item .soon{margin-left:auto;font-size:10.5px;color:var(--text-faint)}.app-main{min-width:0;display:flex;flex-direction:column}.app-topbar{position:sticky;top:0;z-index:30;background:#0a0a0cd9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--border);height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;gap:16px}.app-topbar .title{font-family:IBM Plex Sans,sans-serif;font-size:15.5px;font-weight:600}.credits-pill{display:flex;align-items:center;gap:7px;background:var(--surface);border:1px solid var(--border);border-radius:100px;padding:6px 13px;font-size:13px;color:var(--text-dim);white-space:nowrap}.credits-pill strong{color:var(--text);font-weight:600}.app-content{flex:1;padding:32px 28px 90px}.app-shell.sidebar-collapsed{grid-template-columns:var(--sidebar-w-collapsed,68px) 1fr}.app-shell.sidebar-collapsed .sidebar-head{justify-content:center}.app-shell.sidebar-collapsed .logo-text,.app-shell.sidebar-collapsed .nav-group-label,.app-shell.sidebar-collapsed .nav-item-label,.app-shell.sidebar-collapsed .nav-item .soon{display:none}.app-shell.sidebar-collapsed .app-sidebar .logo{padding:0}.app-shell.sidebar-collapsed .nav-item{justify-content:center;padding:9px}.bottom-nav{display:none}@media (max-width:900px){.app-shell,.app-shell.sidebar-collapsed{grid-template-columns:1fr}.app-sidebar{display:none}.app-content{padding:20px 16px 96px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:50;background:#0e0d11f0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--border);padding:8px 6px calc(8px + env(safe-area-inset-bottom))}.bottom-nav a{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10.5px;color:var(--text-faint);padding:4px 2px}.bottom-nav a svg{width:20px;height:20px}.bottom-nav a.active{color:var(--coral-text)}}.page{padding:0}.page-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:28px;flex-wrap:wrap;gap:16px}.section-head{display:flex;align-items:baseline;justify-content:space-between;margin:36px 0 16px}.section-head h2{font-size:18px}.section-head .see-all{font-size:13px;color:var(--text-dim)}.section-head .see-all:hover{color:var(--text)}.hero-card{background:linear-gradient(135deg,#e14b331f,#3e6fe01a),var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:40px 36px;display:flex;flex-direction:column;gap:18px;margin-bottom:8px}.hero-card h1{font-family:Big Shoulders Display,sans-serif;font-weight:700;font-size:clamp(28px,4.6vw,42px);line-height:1.02;max-width:640px}.hero-card p{color:var(--text-dim);font-size:15px;max-width:520px}@media (max-width:600px){.hero-card{padding:26px 22px}}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:6px}.stat-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin:28px 0}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:16px 18px}.stat-card .label{font-size:12.5px;color:var(--text-dim);margin-bottom:6px}.stat-card .value{font-family:IBM Plex Mono,monospace;font-size:22px;font-weight:600}.stat-card .sub{font-size:12px;color:var(--text-faint);margin-top:4px}.tool-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.tool-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:16px;display:flex;flex-direction:column;gap:10px;cursor:pointer;transition:border-color .15s ease,background .15s ease}.tool-card:hover{border-color:var(--border-strong);background:var(--surface-hover)}.tool-card .icon-wrap{width:34px;height:34px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:var(--violet-soft);color:var(--violet-text)}.tool-card .icon-wrap svg{width:18px;height:18px}.tool-card .name{font-size:13.5px;font-weight:600}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}.project-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;cursor:pointer;transition:border-color .15s ease}.project-card:hover{border-color:var(--border-strong)}.project-thumb{height:112px;background:linear-gradient(135deg,var(--surface-2),var(--bg-raised));display:flex;align-items:center;justify-content:center;color:var(--text-faint);border-bottom:1px solid var(--border)}.project-thumb svg{width:26px;height:26px}.project-card .body{padding:14px 16px}.project-card h3{font-size:15px;margin-bottom:5px;font-weight:600}.project-card .meta{font-size:12.5px;color:var(--text-dim)}.project-card .meta .aspect-tag{background:var(--surface-2);color:var(--text-dim);padding:2px 7px;border-radius:5px;font-size:11px;margin-right:7px}.new-project-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:150px;border:1px dashed var(--border-strong);border-radius:var(--radius-md);color:var(--text-dim);font-weight:600;cursor:pointer;transition:border-color .15s,color .15s}.new-project-card:hover{color:var(--text);border-color:var(--coral)}.new-project-card svg{width:22px;height:22px}input,textarea,select{background:var(--bg-raised);border:1px solid var(--border-strong);color:var(--text);border-radius:7px;padding:9px 11px;font-size:14px;min-width:0}input:focus,textarea:focus,select:focus{border-color:var(--violet)}input::placeholder,textarea::placeholder{color:var(--text-faint)}label{font-size:12.5px;color:var(--text-dim);margin-bottom:4px;display:block}.btn-ghost:disabled,.btn-secondary:disabled{opacity:.45;cursor:default}.form-row>*{min-width:0}input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;padding:0;height:20px;cursor:pointer}input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:var(--surface-3)}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin-top:-7px;width:18px;height:18px;border-radius:50%;background:var(--coral);border:2px solid #1A0E08;box-shadow:0 1px 3px #0006}input[type=range]::-moz-range-track{height:4px;border-radius:2px;background:var(--surface-3)}input[type=range]::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:var(--coral);border:2px solid #1A0E08}input[type=range]:disabled{opacity:.4;cursor:default}input[type=checkbox]{accent-color:var(--coral);cursor:pointer}.form-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:22px;margin-bottom:24px;display:flex;flex-direction:column;gap:12px;max-width:480px}.form-card input,.form-card textarea,.form-card select{width:100%}.form-row{display:flex;gap:10px}.editor-layout{display:grid;grid-template-columns:300px 1fr 300px;gap:24px;align-items:start}@media (max-width:1200px){.editor-layout{grid-template-columns:260px 1fr 260px;gap:16px}}@media (max-width:900px){.editor-layout{grid-template-columns:1fr}}.lib-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:6px;max-height:220px;overflow-y:auto}.lib-picker-thumb{border:1px solid var(--border);border-radius:6px;overflow:hidden;padding:0;background:var(--surface-1);cursor:pointer}.lib-picker-thumb:disabled{cursor:default;opacity:.6}.lib-picker-thumb img{width:100%;height:48px;object-fit:cover;display:block}.lib-picker-thumb span{font-size:9.5px;display:block;padding:2px 3px;color:var(--text-dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:20px}.panel h3{font-size:15px;margin-bottom:14px}.char-card{display:flex;gap:12px;padding:10px;border-radius:8px;border:1px solid var(--border);margin-bottom:10px}.char-thumb{width:52px;height:52px;border-radius:7px;background:var(--surface-2);object-fit:cover;flex-shrink:0}.char-info{flex:1;min-width:0}.char-info .name{font-weight:600;font-size:14px}.char-info .prompt{font-size:12px;color:var(--text-dim);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene-block{border:1px solid var(--border);border-radius:var(--radius-md);padding:18px;margin-bottom:18px;background:var(--surface)}.scene-block .scene-title{font-size:16px;font-weight:600;margin-bottom:4px}.scene-bg-preview{width:100%;height:120px;border-radius:8px;background:var(--surface-2);object-fit:cover;margin:12px 0}.clip-row{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:7px;background:var(--bg-raised);border:1px solid var(--border);margin-bottom:8px;font-size:13px}.clip-tag{font-size:11px;background:var(--surface-2);color:var(--text-dim);padding:3px 8px;border-radius:5px}.placeholder-note{font-size:11.5px;color:var(--violet-text);margin-top:6px}.empty-note{color:var(--text-dim);font-size:13.5px;padding:20px 0;text-align:center}.coming-soon{border:1px dashed var(--border-strong);border-radius:var(--radius-lg);padding:64px 32px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;max-width:520px;margin:40px auto}.coming-soon .icon-wrap{width:52px;height:52px;border-radius:14px;background:var(--violet-soft);color:var(--violet-text);display:flex;align-items:center;justify-content:center}.coming-soon .icon-wrap svg{width:26px;height:26px}.coming-soon h2{font-size:20px}.coming-soon p{color:var(--text-dim);font-size:14px;max-width:380px}.hero{padding:64px 0 72px;border-bottom:1px solid var(--border);overflow:hidden}.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);gap:48px;align-items:center}.hero-title{font-size:clamp(38px,6vw,64px);line-height:.98;margin-bottom:20px}.hero-sub{font-size:16.5px;color:var(--text-dim);max-width:480px;margin-bottom:30px}.hero-illustration{width:100%;height:auto;justify-self:center}@media (max-width:860px){.hero{padding:44px 0 48px}.hero-grid{grid-template-columns:1fr;gap:32px;text-align:left}.hero-illustration{max-width:340px;order:-1}}.landing-footer{border-top:1px solid var(--border);padding:28px 0 40px}.landing-footer .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.text-faint{color:var(--text-faint);font-size:13px}.logo-mark.small{width:16px;height:16px;border-radius:4px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.spin{animation:spin .8s linear infinite}.image-editor-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:500;background:var(--overlay);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;flex-direction:column;color:var(--text)}.image-editor-topbar{height:62px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 14px;background:#0e0d11f5;border-bottom:1px solid var(--border);flex-shrink:0}.ie-title-group,.ie-top-actions,.ie-tool-group{display:flex;align-items:center;gap:8px}.ie-title-group>div{display:flex;flex-direction:column}.ie-title-group strong{font-size:14px}.ie-title-group span{font-size:10.5px;color:var(--text-faint);margin-top:1px}.ie-icon{width:38px!important;height:38px!important;padding:0!important;display:flex;align-items:center;justify-content:center}.ie-save{min-height:38px!important;padding:0 14px!important;display:flex;align-items:center;gap:7px}.image-editor-body{display:grid;grid-template-columns:minmax(0,1fr) 340px;min-height:0;flex:1}.ie-stage-wrap{min-width:0;display:flex;flex-direction:column;background:#090a0d}.ie-stage-toolbar{min-height:54px;padding:8px 12px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:10px;background:#0d0e12}.ie-zoom{font-size:11px;color:var(--text-dim);min-width:42px;text-align:center}.ie-canvas-area{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.ie-canvas-area.checker{background-color:#17181d;background-image:linear-gradient(45deg,#25272e 25%,transparent 25%),linear-gradient(-45deg,#25272e 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#25272e 75%),linear-gradient(-45deg,transparent 75%,#25272e 75%);background-size:28px 28px;background-position:0 0,0 14px,14px -14px,-14px 0}.ie-canvas-area.solid{background:#0a0b0e}.ie-stage{position:relative;max-width:88%;max-height:86%;display:flex;align-items:center;justify-content:center;touch-action:none}.ie-canvas{display:block;max-width:min(62vw,780px);max-height:72vh;width:auto;height:auto;transform-origin:center center;box-shadow:0 24px 70px #0000008c;transition:filter .08s ease}.ie-before-badge{position:absolute;top:12px;left:12px;display:flex;align-items:center;gap:6px;padding:6px 9px;border-radius:7px;background:#090a0dcc;border:1px solid var(--border-strong);font-size:10px;color:#ddd}.ie-crop-box{position:absolute;border:1.5px dashed var(--coral);box-shadow:0 0 0 9999px #0000007a;pointer-events:none}.ie-handle{position:absolute;width:14px;height:14px;background:var(--coral);border:2px solid #fff;border-radius:4px;z-index:4;touch-action:none}.ie-handle.tl,.ie-handle.br{cursor:nwse-resize}.ie-bottom-bar{height:58px;border-top:1px solid var(--border);display:flex;align-items:center;gap:7px;padding:8px 12px;background:#0d0e12}.ie-bottom-spacer{flex:1}.ie-sidebar{background:var(--bg-raised);border-left:1px solid var(--border);overflow:auto;padding:16px}.ie-panel-title{display:flex;justify-content:space-between;margin-bottom:15px}.ie-panel-title>div{display:flex;flex-direction:column}.ie-panel-title strong{font-size:13px}.ie-panel-title span{font-size:10px;color:var(--text-faint);margin-top:3px}.ie-panel-title.compact{margin-bottom:10px}.ie-control{margin:0 0 14px}.ie-control label{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--text-dim);margin-bottom:6px}.ie-control label strong{font-weight:500;color:var(--text);font-variant-numeric:tabular-nums}.ie-control input[type=range]{width:100%;accent-color:var(--coral);height:18px}.ie-grid-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px}.ie-preset-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:12px}.ie-chip-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.ie-color-row{display:grid;grid-template-columns:1fr 42px 76px;gap:8px;align-items:center;margin:8px 0 13px;font-size:11px;color:var(--text-dim)}.ie-color-row input[type=color]{width:42px;height:32px;border:1px solid var(--border-strong);border-radius:7px;padding:2px;background:var(--surface)}.ie-color-row code{font-size:10px;color:var(--text-faint)}.ie-toggle{display:flex;align-items:center;justify-content:space-between;padding:11px 12px;background:var(--surface);border:1px solid var(--border);border-radius:9px;margin-bottom:14px;font-size:12px}.ie-toggle input{accent-color:var(--coral);width:17px;height:17px}.ie-info{font-size:10.5px;line-height:1.55;color:var(--text-faint);padding:10px 11px;border:1px solid var(--border);background:var(--surface);border-radius:8px}.ie-readout{font-size:10.5px;color:var(--text-faint);padding:9px 0}.ie-panel-divider{height:1px;background:var(--border);margin:18px 0 14px}.ie-output-card{display:flex;justify-content:space-between;gap:8px;padding:10px 11px;border:1px solid var(--border);background:var(--surface);border-radius:8px;font-size:10px;color:var(--text-faint)}.ie-output-card strong{color:var(--text);font-weight:500}.image-editor-overlay button:disabled{opacity:.4;cursor:not-allowed}@media (max-width:900px){.image-editor-topbar{height:56px}.ie-top-actions button:not(.ie-save){font-size:0;min-width:38px;padding:0}.image-editor-body{grid-template-columns:1fr}.ie-sidebar{position:absolute;z-index:8;right:0;top:56px;bottom:58px;width:min(92vw,340px);box-shadow:-20px 0 60px #00000080}.ie-canvas{max-width:84vw;max-height:65vh}.ie-stage-toolbar{overflow-x:auto}.ie-stage-toolbar>.ie-tool-group:first-child{flex-shrink:0}.ie-bottom-bar{overflow-x:auto}.ie-sidebar{scrollbar-width:thin}}@media (max-width:560px){.ie-title-group span{display:none}.ie-top-actions{gap:4px}.ie-top-actions button{min-width:34px}.ie-save{padding:0 10px!important}.ie-stage-toolbar{padding:7px}.ie-sidebar{width:94vw}.ie-canvas{max-width:88vw;max-height:60vh}}.scene-workspace{min-width:0}.scene-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px;margin-bottom:8px;background:var(--surface);border:1px solid var(--border);border-radius:10px;position:sticky;top:8px;z-index:10}.scene-tool-group{display:flex;gap:4px;align-items:center;flex-wrap:wrap}.scene-tool{display:inline-flex;align-items:center;gap:5px;border:1px solid transparent;background:transparent;color:var(--text-dim);border-radius:7px;padding:6px 8px;font-size:10px;cursor:pointer}.scene-tool:hover{background:var(--surface-2);color:var(--text)}.scene-tool.active{background:var(--coral-soft);color:var(--coral-text);border-color:#ff6a3d47}.scene-tool span{white-space:nowrap}.safe-icon{font-size:14px}.scene-tool-actions{justify-content:flex-end}.scene-grid-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px);background-size:10% 10%}.scene-safe-area{position:absolute;top:5%;right:5%;bottom:5%;left:5%;border:1px dashed rgba(255,255,255,.45);z-index:21;pointer-events:none}.scene-safe-area:before{content:"";position:absolute;top:5%;right:5%;bottom:5%;left:5%;border:1px dashed rgba(255,255,255,.22)}.scene-safe-area span{position:absolute;top:5px;left:6px;font-size:8px;color:#ddd;background:#0008;padding:3px 5px;border-radius:4px}.scene-safe-area i{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid rgba(255,106,61,.18)}.scene-center-x,.scene-center-y{position:absolute;z-index:22;pointer-events:none;background:var(--coral);opacity:.55}.scene-center-x{left:50%;top:0;bottom:0;width:1px}.scene-center-y{top:50%;left:0;right:0;height:1px}.scene-onion-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;pointer-events:none;transform:scale(1) rotate(0)}.scene-timeline-tools{display:flex;align-items:center;gap:8px;margin-top:10px;padding:7px 9px;background:var(--surface);border:1px solid var(--border);border-radius:8px}.scene-timeline-left{display:flex;gap:3px}.scene-time-readout{font-size:11px;font-variant-numeric:tabular-nums;color:var(--text);margin-left:auto}.scene-time-readout span{color:var(--text-faint)}.scene-timeline-zoom{display:flex;align-items:center;gap:5px;margin-left:10px;color:var(--text-faint)}.scene-timeline-zoom input{width:80px}.scene-active-btn{color:var(--coral)!important;background:var(--coral-soft)!important}.scene-inspector-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.scene-inspector-title h3{margin:0}.scene-inspector-title span{display:block;color:var(--text-faint);font-size:10px;margin-top:2px}.scene-control-card,.scene-inspector-card{border:1px solid var(--border);background:var(--surface-2);border-radius:9px;padding:11px;margin-bottom:14px}.scene-inspector-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;font-size:11px;color:var(--text)}.scene-inspector-card-head span{display:flex;align-items:center;gap:5px}.scene-inspector-card-head small{font-size:9px;color:var(--text-faint)}.scene-control-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.scene-control-grid label{font-size:10px;color:var(--text-dim)}.scene-control-grid select{width:100%;margin-top:5px;font-size:11px}.scene-feature-list{display:flex;flex-direction:column;gap:4px;margin-top:9px}.scene-feature-list button{display:flex;align-items:center;gap:7px;background:transparent;border:0;border-top:1px solid var(--border);padding:8px 2px;color:var(--text-dim);font-size:10.5px;text-align:left;cursor:pointer}.scene-feature-list button b{margin-left:auto;color:var(--coral);font-size:9px}.scene-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.scene-quick-grid button{border:1px solid var(--border);background:var(--surface);color:var(--text-dim);border-radius:6px;padding:7px 6px;font-size:10px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:4px}.scene-quick-grid button:hover{color:var(--text);border-color:var(--border-strong);background:var(--surface-hover)}@media (max-width:900px){.scene-toolbar{position:static;overflow-x:auto;justify-content:flex-start}.scene-tool{flex:0 0 auto}.scene-tool-actions{margin-left:auto}.scene-timeline-tools{flex-wrap:wrap}.scene-time-readout{margin-left:auto}.scene-inspector{order:3}}:root{--content-max:1440px;--sidebar-width:224px}html,body,#root{min-width:320px;min-height:100%}body{overflow-x:hidden}button,a,input,select,textarea{touch-action:pan-x pan-y}.app-shell{grid-template-columns:var(--sidebar-width) minmax(0,1fr);min-height:100dvh}.app-sidebar{min-width:0;padding:14px 10px;gap:10px;z-index:40}.sidebar-nav{min-height:0;overflow:auto;padding-right:2px}.nav-group{margin-bottom:12px}.nav-group-label{font-size:10px;letter-spacing:.1em;padding:6px 10px}.nav-item{min-height:40px}.app-topbar{height:58px;padding:0 clamp(14px,2.5vw,32px);position:sticky;top:0;z-index:30}.topbar-left{display:flex;align-items:center;gap:10px;min-width:0}.app-topbar .title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-menu-btn{display:none}.app-content{width:100%;max-width:var(--content-max);margin:auto;padding:24px clamp(14px,2.5vw,32px) 72px}.bottom-nav,.mobile-nav-overlay{display:none}.panel,.form-card,.stat-card,.tool-card,.project-card,.scene-block{max-width:100%}input,select,textarea{max-width:100%;box-sizing:border-box}.editor-layout{min-width:0}.editor-layout>*{min-width:0}.scene-timeline-tools,.scene-toolbar{overflow-x:auto}.scene-toolbar>*{flex-shrink:0}@media (max-width:1100px){.app-shell{grid-template-columns:200px minmax(0,1fr)}.tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.editor-layout{grid-template-columns:minmax(180px,230px) minmax(0,1fr) minmax(180px,230px)}}@media (max-width:900px){.app-shell,.app-shell.sidebar-collapsed{display:block}.app-sidebar{display:none}.app-main{min-height:100dvh}.mobile-menu-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text)}.bottom-nav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:50;min-height:62px;padding:6px 4px calc(6px + env(safe-area-inset-bottom));background:#0e0d11f7;border-top:1px solid var(--border);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.bottom-nav a{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;color:var(--text-faint);text-decoration:none}.bottom-nav a.active{color:var(--text)}.mobile-nav-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#00000094;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.mobile-drawer{width:min(86vw,330px);height:100%;background:var(--bg-raised);border-right:1px solid var(--border);padding:14px 10px calc(14px + env(safe-area-inset-bottom));display:flex;flex-direction:column;box-shadow:20px 0 60px #0006}.mobile-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:4px 4px 14px;border-bottom:1px solid var(--border);margin-bottom:12px}.mobile-drawer-nav{overflow:auto;min-height:0}.mobile-drawer .sidebar-logout{margin-top:auto}.app-content{padding:16px 14px 88px}.editor-layout{grid-template-columns:1fr;gap:12px}.scene-inspector{max-height:none!important}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.app-topbar{height:54px;padding:0 10px}.app-content{padding:12px 10px 86px}.credits-pill{padding:6px 9px}.credits-pill span{display:none}.stat-row{grid-template-columns:1fr 1fr}.tool-grid{gap:8px}.project-grid{grid-template-columns:1fr 1fr}.project-thumb{height:100px}.hero-card{padding:22px 18px}.form-row{flex-direction:column;align-items:stretch}.form-row>*{width:100%!important}.scene-toolbar{gap:4px}.scene-tool{min-width:36px}.scene-tool span{display:none}.scene-timeline-tools{padding:6px}}@media (max-width:420px){.project-grid,.stat-row{grid-template-columns:1fr}.tool-grid{grid-template-columns:1fr 1fr}}.scene-quick-dock{margin-top:9px;border:1px solid var(--border);background:#121116f5;border-radius:10px;box-shadow:0 8px 30px #0000003d;overflow:hidden}.scene-quick-dock-scroll{display:flex;align-items:stretch;gap:2px;padding:6px;overflow-x:auto;scrollbar-width:thin}.scene-dock-item{flex:0 0 auto;min-width:70px;border:1px solid transparent;background:transparent;color:var(--text-faint);border-radius:8px;padding:7px 8px 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:9.5px;cursor:pointer;white-space:nowrap;transition:background .12s ease,color .12s ease,border-color .12s ease,transform .12s ease}.scene-dock-item:hover{background:var(--surface-2);color:var(--text);border-color:var(--border)}.scene-dock-item.active{background:var(--coral-soft);color:var(--coral-text);border-color:#ff6a3d40}.scene-dock-icon{width:30px;height:27px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:var(--surface-2);color:inherit;position:relative}.scene-dock-ai-badge{position:absolute;top:-5px;right:-6px;background:linear-gradient(135deg,#6a5cff,#a25cff);color:#fff;font-size:6.5px;font-weight:700;line-height:1;padding:2px 3px;border-radius:5px;letter-spacing:.2px;box-shadow:0 1px 3px #0006}.scene-dock-item.active .scene-dock-icon{background:#ff6a3d24}.scene-effects-popover{position:relative;margin-top:7px;padding:9px;border:1px solid var(--border-strong);border-radius:10px;background:var(--surface);box-shadow:0 16px 50px #0000006b;z-index:25}.scene-effects-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;font-size:11px}.scene-effects-grid{display:grid;grid-template-columns:repeat(5,minmax(70px,1fr));gap:6px}.scene-effects-grid button{border:1px solid var(--border);background:var(--surface-2);color:var(--text-dim);border-radius:7px;padding:7px 5px;font-size:9.5px;cursor:pointer}.scene-effects-grid button:hover{border-color:var(--border-strong);color:var(--text)}.scene-asset-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;background:#030305c2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:18px}.scene-asset-modal{width:min(1100px,96vw);height:min(820px,92vh);display:flex;flex-direction:column;background:var(--bg-raised);border:1px solid var(--border-strong);border-radius:16px;box-shadow:0 30px 100px #000000a6;overflow:hidden}.scene-asset-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-bottom:1px solid var(--border)}.scene-asset-title{display:flex;align-items:center;gap:7px;font-size:15px;font-weight:650}.scene-asset-subtitle{font-size:10.5px;color:var(--text-faint);margin-top:3px}.scene-asset-search{margin:12px 14px 8px;height:38px;display:flex;align-items:center;gap:8px;padding:0 11px;background:var(--surface);border:1px solid var(--border);border-radius:9px;color:var(--text-faint)}.scene-asset-search input{border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:var(--text);width:100%;font-size:12px;padding:0!important}.scene-asset-categories{display:flex;gap:6px;padding:0 14px 10px;overflow-x:auto;scrollbar-width:thin}.scene-asset-categories button{flex:0 0 auto;display:flex;align-items:center;gap:5px;border:1px solid var(--border);background:var(--surface);color:var(--text-dim);border-radius:100px;padding:6px 9px;font-size:10px;cursor:pointer;white-space:nowrap}.scene-asset-categories button:hover{color:var(--text);border-color:var(--border-strong)}.scene-asset-categories button.active{background:var(--coral-soft);border-color:#ff6a3d47;color:var(--coral-text)}.scene-asset-body{flex:1;min-height:0;overflow:auto;padding:4px 14px 14px}.scene-asset-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.scene-asset-card{min-width:0;text-align:left;border:1px solid var(--border);background:var(--surface);border-radius:9px;padding:6px;color:var(--text);cursor:pointer;transition:transform .12s ease,border-color .12s ease,background .12s ease}.scene-asset-card:hover{transform:translateY(-2px);border-color:var(--border-strong);background:var(--surface-hover)}.scene-asset-card:disabled{opacity:.5;cursor:default;transform:none}.scene-asset-thumb{position:relative;aspect-ratio:1/1;overflow:hidden;border-radius:6px;background:var(--surface-2);display:flex;align-items:center;justify-content:center}.scene-asset-thumb img{width:100%;height:100%;object-fit:cover;display:block}.scene-asset-thumb>span:not(.scene-asset-plus){color:var(--text-faint)}.scene-asset-plus{position:absolute;right:5px;bottom:5px;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#0a0a0cd1;color:var(--text);border:1px solid var(--border)}.scene-asset-name{font-size:10.5px;font-weight:600;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene-asset-meta{font-size:8.5px;color:var(--text-faint);margin-top:2px;text-transform:capitalize;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene-asset-empty{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:var(--text-faint);font-size:11px;text-align:center}.scene-asset-empty strong{color:var(--text);font-size:13px}.scene-asset-empty .btn-secondary{margin-top:7px;font-size:11px;padding:7px 11px}.scene-asset-footer{display:flex;justify-content:space-between;gap:10px;padding:8px 14px;border-top:1px solid var(--border);font-size:9.5px;color:var(--text-faint)}@media (max-width:900px){.scene-asset-overlay{padding:0;align-items:flex-end}.scene-asset-modal{width:100%;height:92vh;border-radius:15px 15px 0 0}.scene-asset-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.scene-dock-item{min-width:66px}}@media (max-width:600px){.scene-quick-dock{border-radius:9px}.scene-quick-dock-scroll{padding:5px}.scene-dock-item{min-width:62px;padding:6px 6px 5px;font-size:8.5px}.scene-dock-icon{width:28px;height:25px}.scene-effects-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.scene-asset-head{padding:12px}.scene-asset-subtitle{display:none}.scene-asset-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.scene-asset-body{padding:3px 10px 12px}.scene-asset-categories{padding-left:10px;padding-right:10px}.scene-asset-search{margin-left:10px;margin-right:10px}}.animation-studio-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px;padding:10px 12px;background:var(--surface);border:1px solid var(--border);border-radius:11px;box-shadow:0 8px 28px #00000029}.studio-header-main{display:flex;align-items:center;gap:18px;min-width:0;flex:1}.studio-title-stack{min-width:0}.studio-kicker{display:block;font-size:8px;letter-spacing:.16em;color:var(--text-faint);margin-bottom:3px}.studio-title-row{display:flex;align-items:center;gap:8px;min-width:0}.studio-project-select,.studio-scene-name{border:0!important;background:transparent!important;box-shadow:none!important;padding:2px 0!important;height:auto!important;font-size:13px!important;font-weight:650;color:var(--text);outline:none!important;min-width:0}.studio-project-select{max-width:190px}.studio-scene-name{width:min(220px,24vw)}.studio-divider{color:var(--text-faint);font-size:12px}.studio-header-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.studio-control{display:flex;align-items:center;gap:5px;color:var(--text-faint);font-size:9px}.studio-control span{white-space:nowrap}.studio-control input,.studio-control select{height:28px!important;min-width:52px;width:auto;padding:4px 7px!important;font-size:10px!important}.studio-control select{min-width:66px}.studio-control em{font-style:normal}.studio-header-actions{display:flex;align-items:center;gap:5px;flex-shrink:0}.studio-save-state{display:inline-flex;align-items:center;gap:5px;font-size:9px;color:var(--text-faint);padding:0 6px;white-space:nowrap}.studio-save-dot{width:6px;height:6px;border-radius:50%;background:currentColor}.studio-save-state.saving{color:#d7a85b}.studio-save-state.error{color:#e87979}.studio-action-btn{height:30px!important;width:auto!important;min-width:30px!important;padding:0 8px!important;display:inline-flex;align-items:center;justify-content:center;gap:5px}.studio-action-btn span{font-size:9px}.studio-export-btn{height:30px!important;padding:0 11px!important;font-size:10px!important;display:inline-flex;align-items:center;gap:5px}.studio-render-result{display:flex;align-items:center;gap:6px;margin:-6px 0 10px;padding:7px 10px;border:1px solid rgba(92,190,130,.25);background:#5cbe8214;border-radius:8px;font-size:10px;color:var(--text-dim)}.studio-render-result a{color:var(--text);text-decoration:none;margin-left:auto}.scene-asset-generator{margin:10px 14px 9px;padding:10px 11px;border:1px solid rgba(255,106,61,.22);background:linear-gradient(100deg,#ff6a3d1a,#685adc1a);border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:10px}.scene-asset-generator>div{display:flex;flex-direction:column;min-width:0}.scene-asset-generator strong{font-size:11px}.scene-asset-generator span{font-size:9px;color:var(--text-faint);margin-top:2px}.scene-asset-generator button{font-size:9px!important;padding:6px 9px!important;white-space:nowrap;display:inline-flex;align-items:center;gap:5px}@media (max-width:900px){.animation-studio-header{align-items:flex-start;flex-direction:column;gap:9px}.studio-header-main{width:100%;justify-content:space-between;gap:10px}.studio-header-actions{width:100%;justify-content:flex-end}.studio-save-state{margin-right:auto}.studio-scene-name{width:min(42vw,220px)}.studio-header-controls{justify-content:flex-end}.scene-asset-generator{margin-left:10px;margin-right:10px}}@media (max-width:600px){.animation-studio-header{padding:8px 9px;margin-bottom:10px}.studio-kicker{font-size:7px}.studio-project-select{max-width:120px;font-size:11px!important}.studio-scene-name{width:32vw;font-size:11px!important}.studio-header-controls{gap:4px}.studio-control span{display:none}.studio-control input,.studio-control select{height:26px!important;min-width:48px}.studio-action-btn span{display:none}.studio-action-btn{padding:0 7px!important}.studio-export-btn{padding:0 9px!important}.scene-asset-generator{align-items:flex-start}.scene-asset-generator span{max-width:180px}}.animation-studio-header{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.scene-workspace{position:relative;min-width:0}.scene-workspace>.panel{border-color:var(--border-strong);box-shadow:0 18px 55px #00000038}.scene-toolbar{box-shadow:0 6px 22px #00000024}.scene-timeline-tools{box-shadow:0 8px 28px #00000029}.scene-quick-dock{position:sticky;bottom:8px;z-index:35;box-shadow:0 14px 42px #0000005c;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.scene-quick-dock-scroll{scroll-behavior:smooth;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.scene-dock-item{min-width:76px;min-height:58px}.scene-dock-item:active{transform:scale(.97)}.scene-dock-icon{box-shadow:inset 0 0 0 1px #ffffff06}.scene-asset-card:active{transform:scale(.98)}.scene-asset-modal{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}@media (max-width:900px){.animation-studio-header{position:sticky;top:6px;z-index:45;box-shadow:0 10px 35px #00000052}.editor-layout{gap:10px}.editor-layout>.panel:first-child{order:2}.scene-workspace{order:1}.editor-layout>.scene-inspector{order:3}.scene-workspace>.panel{border-radius:12px}.scene-toolbar{position:sticky;top:0;z-index:30;background:#121116f0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.scene-quick-dock{bottom:70px;margin-left:-2px;margin-right:-2px;border-radius:12px}.scene-dock-item{min-width:72px;min-height:60px;font-size:9px}.scene-dock-icon{width:31px;height:29px}.scene-timeline-tools{position:sticky;bottom:138px;z-index:28;background:#121116f0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}}@media (max-width:600px){.animation-studio-header{top:4px;border-radius:10px}.studio-header-main{align-items:flex-start}.studio-title-row{max-width:100%;overflow:hidden}.studio-project-select{max-width:105px!important}.studio-scene-name{max-width:34vw!important}.studio-header-actions{gap:4px}.scene-toolbar{margin-left:-1px;margin-right:-1px}.scene-toolbar .scene-tool{padding:6px 7px}.scene-timeline-tools{bottom:142px;gap:5px}.scene-timeline-left{overflow-x:auto;flex-shrink:0}.scene-time-readout{font-size:10px}.scene-timeline-zoom{min-width:90px}.scene-quick-dock{bottom:68px}.scene-quick-dock-scroll{gap:1px;padding:5px 4px}.scene-dock-item{min-width:68px;min-height:57px;padding:5px}.scene-dock-icon{width:29px;height:27px}}@media (max-width:420px){.studio-header-controls{display:none}.studio-title-row{gap:5px}.studio-project-select{max-width:88px!important}.studio-scene-name{width:30vw!important}.studio-save-state{font-size:8px}.scene-timeline-tools{bottom:138px}.scene-dock-item{min-width:64px}}.scene-selection-dock .scene-selection-item.danger,.scene-selection-dock .scene-selection-item.danger .scene-dock-icon{color:#ff7b7b}.scene-selection-dock .scene-dock-item:hover{background:var(--surface-2)}.scene-editor-active .bottom-nav{display:none!important}@media (max-width:900px){.scene-editor-active .app-content{padding:0 6px 6px!important;overflow:hidden}.scene-editor-active .animation-studio-header{margin:0 0 4px!important;padding:5px 7px!important;border-radius:6px!important;box-shadow:none!important;position:relative!important;top:auto!important}.scene-editor-active .studio-kicker{display:none}.scene-editor-active .studio-header-main{min-height:27px}.scene-editor-active .studio-project-select{max-width:125px!important;height:27px!important}.scene-editor-active .studio-scene-name{width:125px!important;height:27px!important}.scene-editor-active .studio-header-controls{display:flex!important}.scene-editor-active .studio-control input,.scene-editor-active .studio-control select{height:25px!important}.scene-editor-active .studio-header-actions .studio-save-state,.scene-editor-active .studio-header-actions .studio-action-btn span{display:none}.scene-editor-active .studio-export-btn{font-size:10px!important;padding:5px 8px!important}.scene-editor-active .editor-layout{display:block!important;min-height:0!important}.scene-editor-active .editor-layout>.panel:first-child,.scene-editor-active .editor-layout>.scene-inspector{display:none!important}.scene-editor-active .scene-workspace{width:100%!important;display:flex!important;flex-direction:column!important;min-height:0}.scene-editor-active .scene-toolbar{margin:0 0 4px!important;padding:3px 4px!important;border-radius:5px!important;position:relative!important;top:auto!important;box-shadow:none!important;min-height:31px}.scene-editor-active .scene-tool{padding:5px 6px!important;font-size:9px!important}.scene-editor-active .scene-tool-actions{margin-left:auto;flex-wrap:nowrap}.scene-editor-active .scene-tool-actions .scene-tool:nth-child(n+3){display:none}.scene-editor-active .scene-workspace>.panel{width:100%!important;max-height:calc(100vh - 315px)!important;min-height:240px!important;border-radius:2px!important;box-shadow:none!important}.scene-editor-active .scene-quick-dock{margin:3px 0 0!important;border-radius:5px!important;box-shadow:none!important;position:relative!important;bottom:auto!important}.scene-editor-active .scene-quick-dock-scroll{padding:3px!important;gap:0!important}.scene-editor-active .scene-dock-item{min-width:64px!important;padding:4px 5px!important;font-size:8px!important}.scene-editor-active .scene-dock-icon{width:26px!important;height:22px!important}.scene-editor-active .scene-selection-dock .scene-dock-item{min-width:68px!important}.scene-editor-active .scene-timeline-tools{margin-top:3px!important;padding:4px 5px!important;border-radius:5px!important}.scene-editor-active .scene-time-readout{font-size:9px!important}.scene-editor-active .scene-timeline-zoom{display:none}}@media (max-width:600px){.scene-editor-active .studio-header-controls .studio-control:nth-child(2){display:none}.scene-editor-active .studio-header-controls .studio-control:nth-child(3){display:none}.scene-editor-active .scene-tool span{display:none}.scene-editor-active .scene-tool{padding:5px 7px!important}.scene-editor-active .scene-tool-actions .scene-tool:nth-child(1),.scene-editor-active .scene-tool-actions .scene-tool:nth-child(2){display:none}.scene-editor-active .scene-workspace>.panel{max-height:calc(100vh - 285px)!important}.scene-editor-active .scene-timeline-tools .scene-timeline-left button{width:25px!important;height:25px!important}}.library-category-strip{display:flex!important;gap:6px!important;overflow-x:auto;padding-bottom:7px;scrollbar-width:none}.library-category-strip>button{flex:0 0 auto!important;min-width:92px!important;text-align:left!important;background:#1c1e22!important;border:1px solid #2b2e34!important;border-radius:6px!important;padding:7px 8px!important}.library-category-strip>button.btn-secondary{background:#30245a!important;border-color:#57448c!important}.library-category-strip strong{font-size:10px!important}.library-category-strip span{font-size:8px!important}.library-category-strip+.editor-layout{grid-template-columns:210px minmax(0,1fr)!important;gap:10px!important}.library-category-strip+.editor-layout .panel{border-radius:7px}.scene-editor-active .app-topbar{display:none}.scene-editor-active .app-content{padding:0 5px 5px!important}.scene-editor-active .app-shell{grid-template-columns:0 1fr}.scene-editor-active .app-sidebar{display:none}.scene-editor-active .scene-toolbar{background:#18191c!important;border:1px solid #282a2e!important;border-radius:3px!important;box-shadow:none!important}.scene-editor-active .scene-workspace>.panel{border-color:#282a2e!important}.scene-editor-active .scene-quick-dock{background:#18191c!important;border-color:#292b30!important}.scene-editor-active .scene-dock-item{color:#858890!important}.scene-editor-active .scene-dock-item.active{color:#b8d0ff!important;background:#4b7ff01f!important}.scene-editor-active .scene-selection-item.danger{color:#ff747b!important}.scene-editor-active .scene-timeline-tools{background:#18191c!important;border-color:#292b30!important}.scene-asset-overlay{background:#07080ac7;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.scene-asset-modal{background:#17181b;border:1px solid #303238;border-radius:9px;box-shadow:0 25px 80px #000000a6}.scene-asset-head{padding:11px 13px}.scene-asset-title{font-size:12px}.scene-asset-subtitle{font-size:9px}.scene-asset-generator{margin:8px 10px;padding:9px 10px;background:linear-gradient(100deg,#4549aa,#4143a0);border:0;border-radius:7px}.scene-asset-generator strong{font-size:10px}.scene-asset-generator span{font-size:8px;color:#d4d5ee}.scene-asset-generator button{background:#fff;color:#333;border:0;padding:6px 8px!important}.scene-asset-search{height:32px;margin:8px 10px 7px;background:#15171a;border-color:#292c31}.scene-asset-categories{padding:0 10px 7px}.scene-asset-categories button{font-size:9px;padding:5px 8px;background:#1d1f23}.scene-asset-categories button.active{background:#2e2550;color:#d5c6ff;border-color:#57448b}.scene-asset-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.scene-asset-card{background:#191a1d;border-color:#292b30;border-radius:6px;padding:5px}.scene-asset-card:hover{border-color:#45484f}.scene-asset-thumb{border-radius:4px}.scene-asset-name{font-size:9px!important}.scene-asset-meta{font-size:8px!important}@media (max-width:900px){.app-shell,.app-shell.sidebar-collapsed{grid-template-columns:1fr}.app-sidebar{display:none}.app-content{padding:10px 8px 72px}.bottom-nav{display:flex;background:#f8f8f8;border-top:1px solid #ddd;box-shadow:0 -2px 10px #0000001f;padding:5px 3px calc(5px + env(safe-area-inset-bottom))}.bottom-nav a{color:#777;font-size:9px}.bottom-nav a.active{color:#222}.bottom-nav a svg{width:18px;height:18px}.editor-layout{grid-template-columns:1fr!important;gap:9px!important}.editor-layout>.panel{order:initial!important}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.scene-asset-modal{width:100%;height:100%;border-radius:0}.scene-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.scene-asset-body{padding:2px 10px 12px}.scene-editor-active .bottom-nav{display:none!important}}@media (min-width:901px){.bottom-nav{display:none!important}}@media (max-width:1100px) and (pointer:coarse){html,body,#root{width:100%;max-width:100%;overflow-x:hidden}.app-shell{display:block!important;min-height:100dvh;background:#151617}.app-sidebar{display:none!important}.app-main{width:100%!important;min-width:0!important;height:100dvh;background:#151617}.app-topbar{display:none!important}.app-content{width:100%!important;max-width:none!important;margin:0!important;padding:0 0 58px!important;overflow-x:hidden}body.scene-editor-active{overflow:hidden}body.scene-editor-active .app-content{height:100dvh!important;padding:0!important;overflow:hidden!important}.scene-editor-active .animation-studio-header{display:flex!important;position:relative!important;top:auto!important;z-index:100!important;height:43px!important;min-height:43px!important;margin:0!important;padding:5px 9px!important;border:0!important;border-bottom:1px solid #292b30!important;border-radius:0!important;background:#17181b!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}.scene-editor-active .studio-kicker{display:none!important}.scene-editor-active .studio-header-main{display:flex!important;align-items:center!important;width:auto!important;min-width:0!important;flex:1!important;gap:7px!important}.scene-editor-active .studio-title-stack{min-width:0!important;overflow:hidden!important}.scene-editor-active .studio-title-row{height:30px!important;gap:5px!important;white-space:nowrap!important}.scene-editor-active .studio-project-select{width:88px!important;max-width:88px!important;height:29px!important;font-size:11px!important}.scene-editor-active .studio-scene-name{width:100px!important;max-width:100px!important;height:29px!important;font-size:11px!important}.scene-editor-active .studio-header-controls{display:none!important}.scene-editor-active .studio-header-actions{width:auto!important;display:flex!important;gap:3px!important;margin-left:auto!important}.scene-editor-active .studio-save-state{display:none!important}.scene-editor-active .studio-action-btn{width:30px!important;min-width:30px!important;height:29px!important;padding:0!important}.scene-editor-active .studio-action-btn span{display:none!important}.scene-editor-active .studio-export-btn{height:29px!important;padding:0 8px!important;font-size:9px!important}.scene-editor-active .editor-layout{display:block!important;width:100%!important;height:calc(100dvh - 43px)!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}.scene-editor-active .editor-layout>.panel:first-child,.scene-editor-active .scene-inspector{display:none!important}.scene-editor-active .scene-workspace{display:flex!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;flex-direction:column!important;gap:0!important;overflow:hidden!important}.scene-editor-active .scene-toolbar{order:1!important;display:flex!important;flex:0 0 34px!important;height:34px!important;min-height:34px!important;width:100%!important;margin:0!important;padding:2px 5px!important;border:0!important;border-bottom:1px solid #25272b!important;border-radius:0!important;background:#18191c!important;position:relative!important;top:auto!important;z-index:50!important;box-shadow:none!important;overflow:hidden!important}.scene-editor-active .scene-tool-group{flex-wrap:nowrap!important;overflow:hidden!important;gap:1px!important}.scene-editor-active .scene-tool{height:29px!important;min-width:29px!important;padding:5px 7px!important;border-radius:4px!important;font-size:9px!important;flex:0 0 auto!important}.scene-editor-active .scene-tool svg{width:13px!important;height:13px!important}.scene-editor-active .scene-tool span{display:none!important}.scene-editor-active .scene-tool-actions{margin-left:auto!important;flex-shrink:0!important}.scene-editor-active .scene-tool-actions .scene-tool:nth-child(n+3){display:none!important}.scene-editor-active .scene-workspace>.panel{order:2!important;display:block!important;flex:0 1 auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important}.scene-editor-active .scene-workspace>.panel>div:first-child{max-width:none}.scene-editor-active .scene-quick-dock{order:3!important;position:relative!important;bottom:auto!important;z-index:55!important;flex:0 0 60px!important;height:60px!important;width:100%!important;margin:0!important;border:0!important;border-top:1px solid #2a2c31!important;border-radius:0!important;background:#18191c!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}.scene-editor-active .scene-quick-dock-scroll{height:100%!important;padding:4px 3px!important;gap:0!important;overflow-x:auto!important;overflow-y:hidden!important}.scene-editor-active .scene-dock-item{min-width:64px!important;width:64px!important;height:52px!important;min-height:52px!important;padding:3px 2px!important;border-radius:5px!important;font-size:8px!important;flex:0 0 64px!important}.scene-editor-active .scene-dock-icon{width:25px!important;height:23px!important;margin-bottom:2px!important}.scene-editor-active .scene-selection-dock .scene-dock-item{min-width:67px!important;width:67px!important;flex-basis:67px!important}.scene-editor-active .scene-timeline-tools{order:4!important;position:relative!important;bottom:auto!important;z-index:45!important;flex:0 0 38px!important;height:38px!important;min-height:38px!important;width:100%!important;margin:0!important;padding:4px 7px!important;border:0!important;border-top:1px solid #292b30!important;border-radius:0!important;background:#15171a!important;box-shadow:none!important;overflow:hidden!important}.scene-editor-active .scene-timeline-left{gap:1px!important}.scene-editor-active .scene-timeline-left button{width:27px!important;height:27px!important;padding:0!important}.scene-editor-active .scene-time-readout{font-size:9px!important;margin-left:auto!important;white-space:nowrap!important}.scene-editor-active .scene-timeline-zoom{display:none!important}.scene-editor-active .scene-workspace>div[style*="Camera cuts"]{display:none!important}.scene-editor-active .scene-workspace>.animation-timeline,.scene-editor-active .scene-workspace>.audio-timeline{max-height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;border:0!important}.scene-editor-active .scene-workspace>div[style*="Playback + scrub"]{display:none!important}.scene-editor-active .scene-asset-overlay{padding:0!important;align-items:flex-end!important}.scene-editor-active .scene-asset-modal{width:100%!important;height:94dvh!important;max-height:94dvh!important;border-radius:14px 14px 0 0!important}.scene-editor-active .scene-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.scene-editor-active .scene-asset-card{min-width:0!important}}@media (max-width:700px) and (pointer:coarse){.app-shell{display:block!important}.app-sidebar{display:none!important}.app-main{width:100%!important;min-width:0!important}.app-topbar{display:flex!important;height:42px!important}.mobile-menu-btn{display:inline-flex!important}.app-content{width:100%!important;padding:10px 10px 66px!important}.editor-layout{grid-template-columns:1fr!important;width:100%!important;min-width:0!important}.editor-layout>*{width:100%!important;min-width:0!important}.bottom-nav{display:flex!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;height:58px!important;z-index:9999!important}}@media (min-width:701px) and (max-width:1100px) and (pointer:coarse){.app-sidebar{display:none!important}.app-shell{display:block!important}.app-main{width:100%!important}.app-content{width:100%!important;max-width:none!important}.scene-editor-active .bottom-nav{display:none!important}}html,body,#root,button,a,img,svg,.app-shell,.scene-workspace,.scene-canvas,.scene-asset-modal{-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none}input,textarea,select,[contenteditable=true]{-webkit-user-select:text!important;user-select:text!important;-webkit-touch-callout:default}html,body,#root{touch-action:pan-x pan-y;overscroll-behavior-x:none}img,canvas{-webkit-user-drag:none;user-drag:none}button,.scene-dock-item,.scene-tool,.scene-asset-card{touch-action:pan-x pan-y}.scene-asset-category-wrap{display:inline-flex;align-items:center;gap:2px}.scene-asset-category-wrap>button:first-child{border-radius:7px 0 0 7px}.scene-asset-upload-btn{width:26px!important;min-width:26px!important;padding:0!important;border-radius:0 7px 7px 0!important;color:var(--violet-text)!important}.scene-asset-upload-btn:hover{background:var(--violet-soft)!important}.scene-asset-card{background:var(--surface-1);border:1px solid var(--border);border-radius:10px;padding:0;overflow:hidden;text-align:left}.scene-asset-card:hover{border-color:var(--border-strong)}.scene-asset-thumb{position:relative;aspect-ratio:16/10;background:var(--surface-2);overflow:hidden}.scene-asset-thumb img{width:100%;height:100%;object-fit:contain;display:block}.scene-asset-plus{position:absolute;right:7px;bottom:7px;width:30px;height:30px;border:1px solid rgba(255,255,255,.2);border-radius:8px;background:var(--coral);color:#160b07;display:flex;align-items:center;justify-content:center;box-shadow:0 5px 18px #00000059}.scene-asset-plus:disabled{opacity:.45}.scene-asset-name{padding:8px 9px 2px;font-size:11.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scene-asset-meta{padding:0 9px 9px;font-size:9.5px;color:var(--text-faint)}.scene-asset-uploading,.scene-asset-error{margin:8px 0;padding:8px 10px;border-radius:8px;font-size:11px}.scene-asset-uploading{background:var(--violet-soft);color:var(--violet-text);display:flex;align-items:center;gap:7px}.scene-asset-error{background:var(--danger-soft);color:#ffc2ce}@media (max-width:700px) and (pointer:coarse){.scene-asset-modal{width:100%!important;height:94dvh!important;max-height:94dvh!important}.scene-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.scene-asset-categories{overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:4px}.scene-asset-category-wrap{flex:0 0 auto}}html,body{-webkit-text-size-adjust:100%}body.scene-editor-active,body.scene-editor-active #root{-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important}.scene-editor-active *{-webkit-tap-highlight-color:transparent}.scene-editor-active .scene-workspace,.scene-editor-active .scene-workspace>.panel,.scene-editor-active .scene-workspace>.panel>div{-webkit-user-select:none!important;user-select:none!important}.scene-editor-active .scene-workspace>.panel>div[style*=aspect-ratio]{touch-action:none!important;overscroll-behavior:contain!important;isolation:isolate}.scene-editor-active .scene-workspace img,.scene-editor-active .scene-workspace canvas{-webkit-user-drag:none!important;-webkit-user-select:none!important;user-select:none!important;pointer-events:none}.scene-context-toolbar{position:absolute;left:50%;bottom:10px;transform:translate(-50%);z-index:80;display:flex;align-items:center;gap:4px;max-width:calc(100% - 16px);overflow-x:auto;padding:5px;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:#111214f0;box-shadow:0 12px 32px #00000073;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);scrollbar-width:none}.scene-context-toolbar::-webkit-scrollbar{display:none}.scene-context-toolbar button,.scene-transform-popover button{flex:0 0 auto;min-width:54px;min-height:34px;border:1px solid #30333a;border-radius:7px;background:#202226;color:#dfe1e6;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:5px 8px;font-size:9px;cursor:pointer;touch-action:pan-x pan-y}.scene-context-toolbar button:hover{background:#292c32;border-color:#4a4e57}.scene-context-toolbar button.danger{color:#ff7d85;border-color:#ff6b7340}.scene-transform-popover{position:absolute;left:50%;bottom:56px;transform:translate(-50%);z-index:90;width:min(360px,calc(100% - 24px));padding:9px;border:1px solid #34373e;border-radius:10px;background:#121316f7;box-shadow:0 18px 50px #0000008c;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.scene-transform-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;font-size:11px}.scene-transform-head button{min-width:28px;width:28px;padding:0}.scene-transform-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.scene-transform-actions button{min-width:0}@media (max-width:700px) and (pointer:coarse){.scene-context-toolbar{left:6px;right:6px;bottom:8px;transform:none;max-width:none;border-radius:9px}.scene-context-toolbar button{min-width:58px;min-height:38px;font-size:8px}.scene-transform-popover{bottom:58px;width:calc(100% - 16px)}}@media (max-width:1100px) and (pointer:coarse){body.scene-editor-active .scene-workspace{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;overflow:hidden!important}body.scene-editor-active .scene-workspace>.panel{order:2!important;flex:0 0 auto!important;width:78vw!important;max-width:620px!important;min-width:0!important;align-self:center!important;height:auto!important;max-height:none!important;aspect-ratio:16/9!important;overflow:hidden!important}body.scene-editor-active .scene-camera-cuts{order:3!important;flex:0 0 34px!important;min-height:34px!important;margin:2px 0 0!important;overflow:hidden!important}body.scene-editor-active .scene-camera-cuts>div:first-child{margin-bottom:3px!important}body.scene-editor-active .scene-camera-cuts>div:nth-child(2){height:22px!important}body.scene-editor-active .animation-timeline{order:4!important;flex:0 0 72px!important;height:72px!important;min-height:72px!important;margin:2px 0 0!important;overflow:auto!important;border-radius:5px!important}body.scene-editor-active .animation-timeline>div{min-height:0!important}body.scene-editor-active .animation-timeline .empty-note{padding:8px!important}body.scene-editor-active .audio-timeline{order:5!important;flex:0 0 62px!important;height:62px!important;min-height:62px!important;margin:2px 0 0!important;overflow:auto!important;border-radius:5px!important}body.scene-editor-active .audio-timeline>div{min-height:0!important}body.scene-editor-active .audio-timeline .empty-note{padding:8px!important}body.scene-editor-active .scene-timeline-tools{order:6!important;flex:0 0 36px!important;height:36px!important;min-height:36px!important;margin:2px 0 0!important;padding:3px 5px!important}body.scene-editor-active .scene-quick-dock{order:8!important;flex:0 0 60px!important;height:60px!important;min-height:60px!important;width:100%!important;margin:0!important;position:relative!important;bottom:auto!important;border-top:1px solid #2a2c31!important;border-bottom:0!important;border-radius:0!important;z-index:100!important}body.scene-editor-active .scene-quick-dock-scroll{height:100%!important;overflow-x:auto!important;overflow-y:hidden!important;padding:4px 3px!important;gap:0!important}body.scene-editor-active .scene-dock-item{flex:0 0 70px!important;min-width:70px!important;width:70px!important;height:52px!important;min-height:52px!important;padding:3px 2px!important;font-size:8px!important}body.scene-editor-active .scene-dock-item:nth-child(-n+4){order:-1!important}body.scene-editor-active .scene-history-toolbar{order:9!important;flex:0 0 0!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important}body.scene-editor-active .scene-playback{order:6!important;display:flex!important;flex:0 0 44px!important;height:44px!important;min-height:44px!important;margin:2px 0 0!important;padding:0 6px!important}body.scene-editor-active .scene-timeline-tools{order:7!important}body.scene-editor-active .scene-workspace>.animation-timeline,body.scene-editor-active .scene-workspace>.audio-timeline{max-height:none!important;visibility:visible!important}@media (max-width:600px){body.scene-editor-active .scene-workspace>.panel{width:72vw!important;max-width:none!important}body.scene-editor-active .animation-timeline{flex-basis:68px!important;height:68px!important;min-height:68px!important}body.scene-editor-active .audio-timeline{flex-basis:56px!important;height:56px!important;min-height:56px!important}}}.animora-mark{width:24px;height:24px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#5b7cff,#8a63f2);color:#fff;font-size:14px;font-weight:800}.animora-word{font-family:Big Shoulders Display,sans-serif;font-weight:700;color:#f4f5fb;letter-spacing:-.03em}.studio-shell .app-sidebar{display:none}.studio-shell{grid-template-columns:1fr!important;background:#080b12}.studio-shell .app-content{padding:0!important;max-width:none!important}.studio-shell .app-main{min-width:0;width:100%}.studio-shell .animation-studio-header{min-height:54px;margin:0;padding:7px 14px;border-radius:0;background:#0d1420;border:0;border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 6px 24px #00000047;position:relative;z-index:80}.studio-shell .studio-kicker{font-size:7px;letter-spacing:.18em;color:#737d91}.studio-shell .studio-title-row{gap:7px}.studio-shell .studio-project-select,.studio-shell .studio-scene-name{color:#e9edf7!important;font-size:12px!important}.studio-shell .studio-header-actions{gap:6px}.studio-shell .studio-action-btn{height:32px}.studio-shell .studio-export-btn{background:#5b55f6!important;color:#fff!important;border-radius:7px!important;height:32px}@media (max-width:900px) and (orientation:landscape) and (pointer:coarse){html,body,#root{width:100vw!important;height:100dvh!important;overflow:hidden!important;background:#080b12!important}.studio-shell{display:grid!important;grid-template-columns:1fr!important;width:100vw!important;height:100dvh!important;min-width:0!important;overflow:hidden!important}.studio-shell .app-main{width:100vw!important;height:100dvh!important;min-height:0!important;overflow:hidden!important}.studio-shell .animation-studio-header{height:48px!important;min-height:48px!important;padding:5px 9px!important;overflow:hidden!important}.studio-shell .studio-header-main{gap:10px!important;min-width:0!important}.studio-shell .studio-header-controls{display:none!important}.studio-shell .studio-title-stack{min-width:0!important}.studio-shell .studio-title-row{max-width:38vw!important;white-space:nowrap!important}.studio-shell .studio-project-select{max-width:115px!important}.studio-shell .studio-scene-name{width:90px!important}.studio-shell .studio-header-actions{flex-shrink:0!important}.studio-shell .studio-save-state{font-size:9px!important}.studio-shell .studio-action-btn{width:31px!important;padding:0!important}.studio-shell .studio-action-btn span{display:none!important}.studio-shell .studio-export-btn{padding:0 9px!important;font-size:10px!important}.studio-shell .editor-layout{display:grid!important;grid-template-columns:205px minmax(0,1fr) 255px!important;gap:0!important;width:100%!important;height:calc(100dvh - 48px)!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;align-items:stretch!important}.studio-shell .editor-layout>.panel:first-child{display:block!important;order:initial!important;width:auto!important;height:100%!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;border-radius:0!important;border-top:0!important;border-bottom:0!important;border-left:0!important;padding:10px!important;background:#0e1521!important}.studio-shell .scene-workspace{order:initial!important;width:auto!important;height:100%!important;min-width:0!important;min-height:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;gap:0!important;background:#080d15!important}.studio-shell .scene-inspector{display:block!important;order:initial!important;width:auto!important;height:100%!important;max-height:none!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;border-radius:0!important;border-top:0!important;border-bottom:0!important;border-right:0!important;padding:10px!important;background:#0e1521!important}.studio-shell .scene-toolbar{flex:0 0 42px!important;height:42px!important;min-height:42px!important;margin:0!important;border-radius:0!important;padding:4px 7px!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:space-between!important;background:#101823!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.07)!important}.studio-shell .scene-toolbar .scene-tool{height:32px!important;min-width:34px!important;padding:0 7px!important;font-size:9px!important;gap:4px!important}.studio-shell .scene-toolbar .scene-tool span{display:inline!important}.studio-shell .scene-workspace>.panel{flex:0 0 auto!important;width:calc(100% - 18px)!important;max-height:calc(100dvh - 325px)!important;margin:9px!important;border-radius:7px!important;background:#05070b!important;border:1px solid #242d3b!important;box-shadow:0 12px 30px #00000047!important}.studio-shell .scene-quick-dock,.studio-shell .scene-history-toolbar,.studio-shell .scene-camera-cuts,.studio-shell .scene-playback{display:none!important}.studio-shell .scene-timeline-tools{flex:0 0 32px!important;height:32px!important;margin:0!important;border-radius:0!important;padding:3px 8px!important;background:#0d1420!important;border-left:0!important;border-right:0!important}.studio-shell .scene-timeline-tools .scene-time-readout{font-size:9px!important}.studio-shell .scene-timeline-tools input{height:14px!important}.studio-shell .scene-workspace .animation-timeline,.studio-shell .scene-workspace .audio-timeline{min-height:0!important}.studio-shell .scene-inspector-title{margin-bottom:8px!important;padding-bottom:7px!important;border-bottom:1px solid rgba(255,255,255,.07)!important}.studio-shell .scene-inspector-title h3{font-size:13px!important}.studio-shell .scene-control-card,.studio-shell .scene-inspector-card{padding:8px!important;margin-bottom:8px!important;border-radius:7px!important}.studio-shell .scene-quick-grid{gap:4px!important}.studio-shell .scene-quick-grid button{padding:5px 4px!important;font-size:9px!important}.studio-shell .bottom-nav{display:none!important}}@media (min-width:901px) and (max-width:1200px) and (pointer:coarse) and (orientation:landscape){.studio-shell .app-sidebar{display:none!important}.studio-shell{grid-template-columns:1fr!important}.studio-shell .editor-layout{grid-template-columns:225px minmax(0,1fr) 280px!important;gap:0!important}.studio-shell .bottom-nav{display:none!important}}@media (max-width:900px) and (orientation:landscape) and (pointer:coarse){.studio-shell .animation-studio-header{height:40px!important;min-height:40px!important}.studio-shell .editor-layout{height:calc(100dvh - 40px)!important}.studio-shell .scene-toolbar{flex-basis:34px!important;height:34px!important;min-height:34px!important}.studio-shell .scene-workspace>.panel{max-height:calc(100dvh - 186px)!important;min-height:0!important;aspect-ratio:16/9!important}.studio-shell .scene-workspace .animation-timeline{display:block!important;flex:0 0 58px!important;height:58px!important;min-height:58px!important;max-height:58px!important;overflow:auto!important;margin:2px 0 0!important;border-radius:4px!important}.studio-shell .scene-workspace .audio-timeline{display:block!important;flex:0 0 44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;overflow:auto!important;margin:2px 0 0!important;border-radius:4px!important}.studio-shell .scene-timeline-tools{flex:0 0 28px!important;height:28px!important;min-height:28px!important;padding:2px 6px!important}.studio-shell .scene-workspace .animation-timeline,.studio-shell .scene-workspace .audio-timeline,.studio-shell .scene-timeline-tools{order:initial!important}}.sev2-rail,.sev2-leftpanel,.sev2-topbar-name-text,.sev2-scene-controls,.sev2-right-tabs,.sev2-zoom-select,.sev2-tl-tabs{display:none}@media (min-width:901px){.sev2-mobile-only-dock{display:block}.sev2-legacy-add-panel,.sev2-rail,.sev2-leftpanel,.sev2-zoom-select{display:none!important}.sev2-topbar-name-text{display:inline!important}.sev2-scene-controls,.sev2-right-tabs{display:flex!important}.scene-editor-v2{--sev2-bg:#000000;--sev2-panel:#0a0a0a;--sev2-panel2:#0f0f0f;--sev2-border:rgba(255,255,255,.08);--sev2-accent:#7c6ff0;--sev2-accent2:#22c3d6;--sev2-text-dim:#8b8d9c;background:#000!important}.scene-editor-v2{background:var(--sev2-bg);display:flex;flex-direction:column;min-height:100vh}.sev2-topbar{display:flex;align-items:center;gap:18px;padding:10px 18px;background:var(--sev2-panel);border-bottom:1px solid var(--sev2-border);flex:0 0 auto}.sev2-topbar-logo{display:flex;align-items:center;gap:8px;font-weight:800;font-size:15px;color:#fff;text-decoration:none}.sev2-topbar-logo .sev2-mark{width:26px;height:26px;border-radius:7px;background:linear-gradient(135deg,var(--sev2-accent),var(--sev2-accent2));display:flex;align-items:center;justify-content:center;font-size:13px;color:#fff}.sev2-project-pill{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--sev2-text-dim);background:transparent;border:none;cursor:pointer;padding:0}.sev2-project-pill select{background:transparent!important;border:none!important;color:var(--sev2-text-dim)!important;font-size:13px!important;padding:0!important;height:auto!important;box-shadow:none!important}.sev2-undo-redo{display:flex;align-items:center;gap:4px}.sev2-icon-btn{width:30px;height:30px;border-radius:8px;border:none;background:transparent;color:var(--sev2-text-dim);display:flex;align-items:center;justify-content:center;cursor:pointer}.sev2-icon-btn:hover{background:#ffffff0f;color:#fff}.sev2-icon-btn:disabled{opacity:.35;cursor:default}.sev2-saved{display:flex;flex-direction:column;gap:0;font-size:11px;color:#8b8d9c;line-height:1.25}.sev2-saved b{display:flex;align-items:center;gap:5px;color:#57d38c;font-size:12px;font-weight:600}.sev2-saved b .dot{width:6px;height:6px;border-radius:50%;background:#57d38c}.sev2-saved.saving b{color:#d7a85b}.sev2-saved.saving b .dot{background:#d7a85b}.sev2-saved.error b{color:#e87979}.sev2-saved.error b .dot{background:#e87979}.sev2-topbar-actions{margin-left:auto;display:flex;align-items:center;gap:9px}.sev2-btn-outline{border:1px solid var(--sev2-border);background:transparent;color:#fff;border-radius:8px;padding:8px 14px;font-size:12.5px;display:inline-flex;gap:6px;align-items:center;cursor:pointer}.sev2-btn-outline:hover{background:#ffffff0d}.sev2-btn-solid{border:none;background:linear-gradient(135deg,var(--sev2-accent),var(--sev2-accent2));color:#fff;border-radius:8px;padding:8px 15px;font-size:12.5px;font-weight:600;display:inline-flex;gap:6px;align-items:center;cursor:pointer;box-shadow:0 4px 14px #7c6ff059}.sev2-btn-solid:disabled{opacity:.6;cursor:default}.sev2-avatar{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#3a3d4d,#22242e);display:flex;align-items:center;justify-content:center;font-size:12px;color:#fff;font-weight:700;flex:0 0 auto}.sev2-body{display:flex;flex:1;min-height:0}.sev2-rail{width:150px;flex:0 0 150px;background:var(--sev2-panel);border-right:1px solid var(--sev2-border);display:flex;flex-direction:column;align-items:stretch;padding:10px 6px;gap:2px;overflow-y:auto;position:relative}.sev2-rail-btn{display:flex;flex-direction:row;align-items:center;gap:9px;padding:9px 10px;background:transparent;border:none;border-radius:8px;color:var(--sev2-text-dim);cursor:pointer;font-size:11.5px;line-height:1.1;text-align:left}.sev2-rail-btn:hover{color:#fff;background:#7c6ff014}.sev2-rail-btn.active{color:#fff;background:linear-gradient(90deg,#7c6ff038,#22c3d624);box-shadow:inset 2px 0 0 var(--sev2-accent)}.sev2-leftpanel{position:absolute;left:150px;top:0;bottom:0;width:320px;z-index:40;background:var(--sev2-panel);border-right:1px solid var(--sev2-border);box-shadow:12px 0 28px #00000073;overflow:hidden;display:flex;flex-direction:column}.sev2-leftpanel:empty{display:none!important}.sev2-leftpanel .scene-asset-overlay{position:static!important;background:none!important;padding:0!important;height:100%;display:flex}.sev2-leftpanel .scene-asset-modal{width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;border-radius:0!important;border:none!important;box-shadow:none!important}.scene-editor-v2 .editor-layout{display:flex!important;align-items:stretch;gap:0!important;min-height:calc(100vh - 96px);position:relative}.scene-editor-v2 .scene-quick-dock{background:#000000f7!important;border-color:var(--sev2-border)!important}.scene-editor-v2 .scene-workspace{flex:1;min-width:0;padding:0!important;background:#000}.scene-editor-v2 .panel{background:#0a0a0a!important;border-color:var(--sev2-border)!important}.scene-editor-v2 .scene-control-card,.scene-editor-v2 .scene-inspector-card{background:#0f0f0f!important;border-color:var(--sev2-border)!important}.scene-editor-v2 .scene-quick-grid button{background:#0a0a0a!important}.scene-editor-v2 .scene-inspector{width:340px!important;flex:0 0 340px!important;background:#0a0a0a!important}.sev2-workspace{flex:1;min-width:0;display:flex;flex-direction:column}.scene-editor-v2 .scene-toolbar{display:flex;align-items:center;gap:5px;padding:8px 14px;background:var(--sev2-panel2);border-bottom:1px solid var(--sev2-border);flex-wrap:wrap}.scene-editor-v2 .scene-tool{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:8px;border:1px solid transparent;background:transparent;color:var(--sev2-text-dim);font-size:12px;cursor:pointer;white-space:nowrap}.scene-editor-v2 .scene-tool:hover{color:#fff}.scene-editor-v2 .scene-tool.active{background:#7c6ff02e;color:#fff;border-color:#7c6ff066}.sev2-zoom-select{margin-left:auto;display:inline-block}.sev2-zoom-select select{background:var(--sev2-panel)!important;border:1px solid var(--sev2-border)!important;color:#fff!important;border-radius:8px!important;font-size:12px!important;padding:6px 10px!important;height:auto!important}.sev2-right{width:340px;flex:0 0 340px;background:var(--sev2-panel);border-left:1px solid var(--sev2-border);display:flex;flex-direction:column;overflow:hidden}.sev2-right-tabs{display:flex;border-bottom:1px solid var(--sev2-border);flex:0 0 auto}.sev2-right-tab{flex:1;padding:12px 0;text-align:center;font-size:12px;color:var(--sev2-text-dim);background:transparent;border:none;cursor:pointer;border-bottom:2px solid transparent}.sev2-right-tab:hover{color:#fff}.sev2-right-tab.active{color:#fff;border-bottom-color:var(--sev2-accent);font-weight:600}.sev2-right-body{flex:1;overflow-y:auto;padding:14px}.sev2-tl-tabs{display:flex;align-items:center;gap:18px;padding:9px 16px;border-top:1px solid var(--sev2-border);border-bottom:1px solid var(--sev2-border);background:var(--sev2-panel2);flex:0 0 auto}.sev2-tl-tab{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--sev2-text-dim);background:none;border:none;cursor:pointer;padding:5px 2px;border-bottom:2px solid transparent}.sev2-tl-tab:hover{color:#fff}.sev2-tl-tab.active{color:#fff;border-bottom-color:var(--sev2-accent);font-weight:600}.sev2-tl-transport{display:flex;align-items:center;gap:10px;margin-left:auto;font-size:11px;color:var(--sev2-text-dim)}.scene-editor-v2 .scene-layer-track[data-track-type=character] .scene-layer-clip{background:linear-gradient(90deg,#7c6ff0,#22c3d6)!important;border-color:#9d93f4!important}.scene-editor-v2 .scene-layer-track[data-track-type=prop] .scene-layer-clip,.scene-editor-v2 .scene-layer-track[data-track-type=text] .scene-layer-clip{background:#2f6bff!important;border-color:#5085ff!important}.scene-editor-v2 .scene-layer-track-label{background:var(--sev2-panel)!important;border-color:var(--sev2-border)!important}.scene-editor-v2 .scene-layer-timeline-ruler,.scene-editor-v2 .scene-layer-track-body{background:var(--sev2-bg)!important}.scene-editor-v2 .scene-audio-clip{background:linear-gradient(90deg,#0f9b8e,#14b8a6)!important}}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(circle at 50% 0%,rgba(62,111,224,.12),transparent 55%)}.auth-card{width:100%;max-width:360px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:32px 28px;display:flex;flex-direction:column;gap:14px}.auth-logo{display:flex;align-items:center;justify-content:center;gap:8px;font-family:Big Shoulders Display,sans-serif;font-size:24px;font-weight:700;color:var(--text)}.auth-subtitle{text-align:center;color:var(--text-dim);font-size:13.5px;margin:-6px 0 4px}.auth-field{display:flex;flex-direction:column}.auth-password-wrap{position:relative}.auth-password-wrap input{padding-right:38px}.auth-eye-btn{position:absolute;right:6px;top:50%;transform:translateY(-50%);background:transparent;border:none;color:var(--text-faint);cursor:pointer;padding:6px;display:flex;align-items:center;border-radius:6px}.auth-eye-btn:hover{color:var(--text-dim)}.auth-error{color:var(--danger);font-size:13px;margin:0}.auth-submit{width:100%;display:flex;align-items:center;justify-content:center;gap:8px}.auth-switch{width:100%}.auth-spin{animation:auth-spin-rotate .8s linear infinite}@keyframes auth-spin-rotate{to{transform:rotate(360deg)}}.auth-tagline{display:flex;align-items:center;justify-content:center;gap:6px;color:var(--text-faint);font-size:11.5px;margin-top:6px}.auth-forgot-link{align-self:flex-end;background:transparent;border:none;color:var(--text-dim);font-size:12.5px;cursor:pointer;padding:0;margin-top:-4px}.auth-forgot-link:hover{color:var(--violet)}.auth-forgot-panel{display:flex;flex-direction:column;gap:14px}.auth-coming-soon{display:flex;gap:10px;align-items:flex-start;background:var(--bg-raised);border:1px solid var(--border);border-radius:var(--radius-md);padding:14px;color:var(--text-dim);font-size:13px;line-height:1.5}.auth-coming-soon svg{flex-shrink:0;color:var(--text-faint);margin-top:1px}
