@import"https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&display=swap";*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{min-height:100vh;background:linear-gradient(145deg,#0a0b10,#12141f 40%,#0d0f18);color:#e0e4ec;font-family:DM Sans,Segoe UI,sans-serif;overflow-x:hidden}body.modal-open{overflow:hidden}header{padding:16px 28px;border-bottom:1px solid #1a1d2e;display:flex;align-items:center;gap:14px;background:#0a0b10d9;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);position:sticky;top:0;z-index:100}.logo{width:34px;height:34px;border-radius:9px;background:linear-gradient(135deg,#6366f1,#a78bfa);display:flex;align-items:center;justify-content:center;font-size:17px;color:#fff;flex-shrink:0}.header-title{font-size:17px;font-weight:700;letter-spacing:-.02em;background:linear-gradient(135deg,#e0e4ec,#818cf8);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.header-sub{font-size:10px;color:#555b72;font-family:DM Mono,monospace;letter-spacing:.06em}.header-spacer{flex:1}.top-nav{display:flex;gap:8px;align-items:center}.top-nav-link{border:1px solid #2a2f45;background:#ffffff0a;color:#a0a8b8;border-radius:8px;padding:7px 10px;font-size:11px;font-family:DM Mono,monospace;text-transform:uppercase;letter-spacing:.06em;cursor:pointer;transition:border-color .2s,color .2s,background .2s;text-decoration:none;display:inline-flex;align-items:center}.top-nav-link:hover{border-color:#6366f1;color:#e0e4ec;background:#6366f114}.top-nav-source{padding:6px 8px;font-size:10px}@media(max-width:860px){header{flex-wrap:wrap;align-items:flex-start}.header-spacer{display:none}.top-nav{width:100%}}.layout{display:grid;grid-template-columns:310px 1fr;gap:20px;padding:20px;min-height:calc(100vh - 68px)}.sidebar{display:flex;flex-direction:column;gap:14px;overflow-y:auto;max-height:calc(100vh - 108px);scrollbar-width:thin;scrollbar-color:#1e2235 transparent}.panel{background:#121423d9;border:1px solid #1e2235;border-radius:12px;padding:16px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.section-title{font-family:DM Mono,monospace;font-size:10px;color:#6366f1;text-transform:uppercase;letter-spacing:.12em;margin-bottom:10px;padding-bottom:7px;border-bottom:1px solid #1e2235}select,input[type=number],input[type=text],input[type=color],textarea{background:#1a1d2e;border:1px solid #2a2f45;color:#e0e4ec;border-radius:7px;padding:7px 10px;font-size:12px;font-family:DM Mono,monospace;outline:none;transition:border-color .2s;width:100%}select:focus,input[type=number]:focus,input[type=text]:focus,input[type=color]:focus,textarea:focus{border-color:#6366f1}select{cursor:pointer}input[type=color]{padding:3px;height:35px;cursor:pointer}textarea{resize:vertical;min-height:120px;line-height:1.4}input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:5px;border-radius:3px;background:#1e2235;outline:none}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;border-radius:50%;background:#6366f1;cursor:pointer;box-shadow:0 0 6px #6366f180}.slider-row{margin-bottom:10px}.slider-header{display:flex;justify-content:space-between;margin-bottom:3px}.slider-label{font-size:11px;color:#a0a8b8;font-family:DM Mono,monospace;text-transform:uppercase;letter-spacing:.04em}.slider-value{font-size:11px;color:#e0e4ec;font-family:DM Mono,monospace;font-weight:500}.btn{padding:9px 16px;border:none;border-radius:9px;cursor:pointer;font-family:DM Mono,monospace;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.07em;transition:all .2s;display:inline-flex;align-items:center;gap:6px;text-decoration:none}.btn-primary{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;box-shadow:0 3px 14px #6366f14d}.btn-primary:hover{transform:translateY(-1px);box-shadow:0 5px 20px #6366f166}.btn-primary:disabled{opacity:.35;cursor:not-allowed;transform:none}.btn-stop{background:linear-gradient(135deg,#ef4444,#f97316);color:#fff;box-shadow:0 3px 14px #ef44444d}.btn-record{background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;box-shadow:0 3px 14px #dc26264d}.btn-ghost{background:#ffffff0d;color:#a0a8b8;border:1px solid #2a2f45}.btn-ghost:hover{background:#ffffff1a;color:#e0e4ec}.btn-row{display:flex;gap:7px;flex-wrap:wrap}.btn-row .btn{flex:1;justify-content:center;min-width:0}.drop-zone{border:2px dashed #2a2f45;border-radius:10px;padding:28px 16px;text-align:center;cursor:pointer;transition:all .3s;display:flex;flex-direction:column;align-items:center;justify-content:center}.drop-zone:hover,.drop-zone.dragover{border-color:#6366f1;background:#6366f10d}.drop-icon{font-size:26px;margin-bottom:6px;opacity:.4}.drop-text{font-size:12px;color:#555b72}.drop-text.active{color:#818cf8}.drop-hint{font-size:10px;color:#3a3f55;margin-top:3px}.info-box{margin-top:10px;padding:9px;background:#0d0f18;border-radius:7px}.info-line{font-size:11px;font-family:DM Mono,monospace}.info-dim{color:#555b72}.info-accent{color:#818cf8}.info-muted{color:#3a3f55}.badge{display:inline-block;padding:2px 7px;border-radius:5px;font-size:10px;font-family:DM Mono,monospace;background:#6366f126;color:#818cf8}.badge-live{background:#ef444426;color:#f87171;animation:pulse-badge 1.2s infinite}.badge-rec{background:#dc262633;color:#fca5a5;animation:pulse-badge .8s infinite}@keyframes pulse-badge{0%,to{opacity:1}50%{opacity:.6}}.canvas-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}.canvas-frame{background:#0000004d;border-radius:12px;padding:14px;border:1px solid #1a1d2e;max-width:100%;overflow:auto}.canvas-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}#display-canvas{background:#000;border-radius:6px;max-width:100%;height:auto;transition:box-shadow .5s}#display-canvas.live{box-shadow:0 0 36px #6366f126}#display-canvas.recording{box-shadow:0 0 36px #dc262640}.empty-state{position:absolute;text-align:center;color:#2a2f45;pointer-events:none}.empty-icon{font-size:44px;margin-bottom:10px;opacity:.4}.empty-title{font-size:15px;font-weight:600}.empty-sub{font-size:11px;margin-top:4px;color:#1e2235}.color-swatches{display:flex;gap:3px;margin-bottom:10px}.color-swatch{flex:1;height:22px;border-radius:5px}.row{display:flex;gap:7px}.row>*{flex:1}.color-row input[type=color]{flex:0 0 56px}.check-row{display:flex;align-items:center;gap:8px;margin-top:8px;margin-bottom:8px;-webkit-user-select:none;user-select:none}.check-row input[type=checkbox]{width:14px;height:14px;accent-color:#6366f1;cursor:pointer}.check-row label{font-size:11px;color:#a0a8b8;font-family:DM Mono,monospace;letter-spacing:.03em;cursor:pointer}.field-label{font-size:10px;color:#555b72;font-family:DM Mono,monospace;text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px}.mt-sm{margin-top:10px}.hidden{display:none}.settings-json{font-size:11px}.info-overlay{position:fixed;inset:0;z-index:500;background:#02040ab3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:20px}.info-overlay.hidden{display:none}.info-panel{width:min(780px,100%);max-height:calc(100vh - 40px);overflow:auto;border:1px solid #2a2f45;border-radius:14px;background:linear-gradient(180deg,#111526,#0c111f);padding:18px}.info-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:12px;border-bottom:1px solid #202744;margin-bottom:12px}.info-guide{display:grid;gap:10px}.info-guide-item{border:1px solid #222944;border-radius:10px;padding:10px 12px;font-size:12px;line-height:1.45;color:#aeb8ca;display:grid;gap:4px}.info-guide-item strong{color:#e5ebf8;font-size:12px}.info-guide-item code{background:#6366f11f;border:1px solid #30365a;border-radius:5px;padding:0 4px;color:#c8d1ee}.progress-bar{height:4px;background:#1e2235;border-radius:2px;margin-top:8px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#ef4444,#f97316);border-radius:2px;transition:width .3s}.input-tabs{display:flex;gap:0;margin-bottom:12px;border:1px solid #2a2f45;border-radius:8px;overflow:hidden}.input-tab{flex:1;padding:7px 10px;border:none;background:#ffffff08;color:#555b72;font-family:DM Mono,monospace;font-size:11px;text-transform:uppercase;letter-spacing:.05em;cursor:pointer;transition:background .2s,color .2s}.input-tab:not(:last-child){border-right:1px solid #2a2f45}.input-tab:hover{background:#6366f10f;color:#a0a8b8}.input-tab.active{background:#6366f11f;color:#818cf8}
