:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#eef4ff;background:#070b14;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(ellipse at 75% -10%,#102b50 0,transparent 42%),#070b14}button,input,textarea,select{font:inherit}.shell{max-width:1440px;margin:0 auto;padding:0 28px}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #1b2b42}.brand{display:flex;align-items:center;gap:12px;color:#f5f8ff;text-decoration:none;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:700;letter-spacing:.08em}.brand b{color:#69b3ff;font-size:11px;margin-left:5px}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:linear-gradient(145deg,#65b7ff,#1552a5);color:#06101e;font-size:20px;box-shadow:0 0 25px #238bff55}.status,.local-tag,.preview-label{font-size:10px;letter-spacing:.14em;color:#8da2bf}.status i{display:inline-block;width:7px;height:7px;background:#48d6a0;border-radius:50%;margin-right:8px;box-shadow:0 0 10px #48d6a0}.hero{padding:52px 0 36px;max-width:760px}.eyebrow{font-size:11px;letter-spacing:.24em;color:#68b5ff;font-weight:700}.hero h1{font-family:Space Grotesk,sans-serif;font-size:clamp(42px,7vw,76px);line-height:.98;letter-spacing:-.06em;margin:16px 0}.hero h1 span{color:#68b5ff}.hero p{color:#91a4bf;font-size:16px;line-height:1.6;max-width:600px;margin:0}.workspace{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(420px,1.1fr);gap:18px;align-items:start}.panel{background:linear-gradient(160deg,#101a2b,#0b1220);border:1px solid #1b2c45;border-radius:20px;padding:24px;box-shadow:0 22px 70px #0003}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.panel-heading>div{display:flex;align-items:center;gap:12px}.step{font-size:11px;color:#66b4ff;border:1px solid #28588a;padding:5px 7px;border-radius:7px}h2{font-family:Space Grotesk,sans-serif;font-size:19px;margin:0}label{display:block;color:#aabbd1;font-size:12px;font-weight:600;margin:0 0 17px}input:not(.color-input),textarea,select{display:block;width:100%;margin-top:8px;border:1px solid #263a56;border-radius:10px;background:#08111f;color:#f2f7ff;padding:12px 13px;outline:none}input:focus,textarea:focus,select:focus{border-color:#398fe3;box-shadow:0 0 0 3px #398fe322}textarea{resize:vertical;min-height:64px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.style-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px}.style-choice{border:1px solid #263a56;background:#0a1423;color:#b6c6dc;border-radius:10px;padding:10px 5px;font-size:11px;cursor:pointer}.style-choice.selected{border-color:#4ca6ff;color:#fff;background:#142b45}.style-swatch{display:block;height:22px;border-radius:6px;margin-bottom:7px;background:radial-gradient(circle,#368fff,#0c1930)}.style-swatch.minimal{background:linear-gradient(135deg,#35445b,#0c1421)}.style-swatch.neon{background:linear-gradient(135deg,#8b5cff,#09c6db)}.color-row{display:flex;align-items:center;gap:12px;margin-top:8px}.color-input{width:42px;height:34px;border:0;background:transparent;padding:0}.color-row span{font-size:11px;color:#8195b0;letter-spacing:.1em}.actions{display:grid;gap:9px;margin-top:22px}.primary,.secondary{width:100%;border-radius:11px;padding:14px;font-weight:700;cursor:pointer}.primary{border:0;color:#06101e;background:linear-gradient(100deg,#67c0ff,#3989ed);box-shadow:0 8px 25px #258cff25}.primary span{float:right}.secondary{border:1px solid #2b4566;background:#101e31;color:#c5d5e9}.notice{font-size:11px;color:#7f98b7;min-height:18px;margin:12px 0 0}.preview-stage{display:flex;justify-content:center;align-items:center;min-height:450px;background:radial-gradient(ellipse,#142640,#080e19 72%);border:1px solid #1b2c45;border-radius:15px;padding:20px;overflow:hidden}.player-frame{width:min(100%,310px);aspect-ratio:9/16;border:1px solid #29415f;border-radius:12px;overflow:hidden;background:#050912;box-shadow:0 18px 50px #0008}.player-frame.ratio-16-9{width:100%;aspect-ratio:16/9}.player-frame.ratio-1-1{width:min(100%,390px);aspect-ratio:1/1}.preview-meta{display:flex;justify-content:space-between;color:#8094b0;font-size:10px;letter-spacing:.08em;margin:12px 2px 22px}.pipeline{border-top:1px solid #1c2d45;padding-top:18px}.pipeline-title{font-size:10px;color:#7187a4;letter-spacing:.18em;margin-bottom:12px}.pipeline-steps{display:flex;align-items:center;justify-content:space-between;color:#536984;font-size:11px}.pipeline-steps i{font-style:normal;color:#405a78}.pipeline-steps .done{color:#73c4ff}.render-note{margin-top:18px;padding:13px;border:1px solid #314663;border-radius:10px;background:#0a1422;color:#8fa4bf;font-size:11px;line-height:1.55}.render-note b{color:#c6d9f0}footer{display:flex;justify-content:space-between;padding:25px 2px 34px;color:#60758f;font-size:9px;letter-spacing:.12em}@media(max-width:900px){.workspace{grid-template-columns:1fr}.hero{padding-top:38px}.preview-panel{order:-1}.preview-stage{min-height:380px}.player-frame{width:min(100%,250px)}}@media(max-width:520px){.shell{padding:0 14px}.topbar{height:62px}.brand{font-size:12px}.status{font-size:8px}.hero{padding:36px 0 26px}.hero p{font-size:14px}.panel{padding:17px;border-radius:16px}.workspace{gap:12px}.preview-stage{min-height:320px;padding:12px}.player-frame{width:min(100%,205px)}.player-frame.ratio-16-9{width:100%}.preview-meta{font-size:9px}footer{font-size:8px;gap:12px;flex-wrap:wrap}}.active-scene-title{display:flex;align-items:center;justify-content:space-between;margin:5px 0 15px;padding:10px 12px;border:1px solid #244467;border-radius:9px;background:#0d1b2c;color:#79bdff;font-size:10px;letter-spacing:.13em}.active-scene-title b{color:#d8eaff;font-size:11px}.scene-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:6px 0 18px}.compact{padding:10px 5px;font-size:10px}button:disabled{opacity:.35;cursor:not-allowed}.danger{border:1px solid #673746;background:#28131c;color:#ff9daf;border-radius:11px;font-weight:700;cursor:pointer}.timeline-ruler{display:flex;justify-content:space-between;color:#7187a4;font-size:9px;margin:15px 0 6px}.timeline-track{display:flex;gap:5px;min-height:74px;padding:8px;border:1px solid #233955;border-radius:10px;background:#08111f;overflow-x:auto}.timeline-clip{min-width:76px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:8px;padding:9px;border:1px solid #314763;border-top:3px solid;border-radius:7px;background:#13243a;color:#c8d8ec;text-align:left;overflow:hidden;cursor:pointer}.timeline-clip.selected{background:#1b3655;outline:1px solid #65b5ff;box-shadow:0 0 16px #2c8ce833}.timeline-clip b{font-size:10px;line-height:1.3;max-height:2.6em;overflow:hidden}.timeline-clip small{font-size:9px;color:#8da6c3}.track-label{margin:8px 0 5px;color:#7fa8d4;font-size:9px;letter-spacing:.15em}.empty-track{display:flex;align-items:center;gap:8px;min-height:34px;margin-top:5px;padding:8px 10px;border:1px dashed #263a56;border-radius:7px;color:#657b98;font-size:9px;letter-spacing:.1em}.empty-track span{color:#77baff;font-size:14px}@media(max-width:520px){.scene-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.timeline-track{min-height:68px}.timeline-clip{min-width:84px}}.upload-control{display:block;margin:14px 0;padding:13px;border:1px dashed #3b5d82;border-radius:10px;background:#0b1727;color:#9fc8f0;font-size:11px;cursor:pointer}.upload-control input{margin-top:9px;font-size:11px}.audio-controls{display:grid;gap:8px;margin:10px 0 16px;padding:12px;border:1px solid #263a56;border-radius:10px;background:#0a1423}.audio-controls label{margin:0}.audio-controls input[type=range]{padding:0}.audio-file{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#c5d5e9;font-size:11px}.media-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-8px 0 16px;padding:10px;border:1px solid #263a56;border-radius:10px;background:#0a1423}.media-file{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#c5d5e9;font-size:11px}
