:root{color-scheme:dark;--bg:#151515;--side:#101010;--panel:#1c1c1c;--line:#303030;--dim:#aaa6a2;--orange:#ff783c;--text:#f4f0ec;font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;color:var(--text);background:var(--bg);min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.42;cursor:default}button:focus-visible,a:focus-visible,:is(input,select,textarea):focus-visible{outline:2px solid var(--orange);outline-offset:3px}button svg,.brand svg,.section-title svg,.upload svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}.symbols,[hidden]{display:none!important}.side{position:fixed;inset:0 auto 0 0;width:228px;background:var(--side);border-right:1px solid #282828;padding:27px 17px 16px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:0 6px;color:inherit;text-decoration:none;font-size:20px;font-weight:800;letter-spacing:.02em}.logo{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:var(--orange);color:#170c07}.logo svg{width:23px;height:23px}.brand small,.profile small{display:block;font-size:9px;margin-top:4px;letter-spacing:.08em;color:#aaa6a2;font-weight:650}.nav-label{margin:42px 10px 12px;color:#a29b96;font-size:13px}.nav{display:flex;align-items:center;gap:11px;width:100%;padding:12px;color:#b5afaa;border:1px solid transparent;background:none;border-radius:9px;text-align:left;font-size:14px;margin-bottom:5px}.nav:hover,.nav.active{color:var(--orange);background:#2b1c16;border-color:#422619}.side-bottom{margin-top:auto}.profile{border-top:1px solid #292929;display:flex;align-items:center;gap:10px;padding:17px 7px 0;font-size:13px}.profile span{background:#3b251b;color:#ff9565;border-radius:50%;width:33px;height:33px;display:grid;place-items:center}.profile small{font-size:11px;letter-spacing:0}main{margin-left:228px}header{height:65px;border-bottom:1px solid #292929;display:flex;justify-content:space-between;align-items:center;padding:0 36px;color:#a39d98;font-size:14px;background:#161616}header strong{color:#efebe7;font-weight:600}header b{margin:0 9px;color:#615b57}.subtle{border:1px solid #393633;background:#242321;border-radius:8px;color:#eee8e4;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;font-size:13px}.subtle:hover:enabled{background:#35251d;border-color:#71482f}.subtle svg{width:16px;height:16px}.workspace{max-width:1350px;margin:auto;padding:32px 36px 40px}.intro{margin-bottom:26px}.eyebrow{color:#f88a57;font-size:11px;font-weight:750;letter-spacing:.15em;display:flex;align-items:center;gap:8px}.eyebrow span{width:13px;height:2px;background:var(--orange)}h1{margin:12px 0 8px;font-size:clamp(29px,3.5vw,46px);line-height:1.15;letter-spacing:-.04em}h1 span{color:var(--orange);padding-left:3px}p{color:var(--dim);margin:0;line-height:1.5}.intro p{font-size:15px}.columns{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:20px;align-items:stretch}.panel{background:var(--panel);border:1px solid var(--line);border-radius:15px;min-width:0}.section-title{display:flex;align-items:center;gap:11px;padding:17px 20px;border-bottom:1px solid #303030;min-height:75px}.section-title i{display:grid;place-items:center;width:37px;height:37px;border-radius:9px;background:#38251d;color:var(--orange);flex:none}.section-title h2{font-size:17px;margin:0 0 4px}.section-title p{font-size:13px}.badge{margin-left:auto;border:1px solid #66412f;background:#35241c;color:#ffac86;padding:3px 9px;border-radius:5px;font-size:12px;white-space:nowrap}form{padding:17px 20px 19px;position:relative}label{display:block;margin:0 0 7px;font-size:14px;font-weight:650}label em{color:var(--orange);font-style:normal}.optional{color:var(--dim);font-size:12px;font-weight:400;margin-left:7px}input:not([type=file],[type=range]),textarea,select{width:100%;display:block;border:1px solid #393939;border-radius:8px;background:#171717;color:var(--text);padding:10px 11px;font-size:14px}input::placeholder,textarea::placeholder{color:#928b85}#name{margin-bottom:15px}textarea{height:78px;resize:vertical}.count{display:block;text-align:right;color:#a49d96;font-size:11px;margin:4px 0 9px}.upload{position:relative;min-height:91px;border:1px dashed #51443b;background:#201b18;border-radius:9px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;text-align:center;padding:8px 12px;color:#dad0c9}.upload:hover,.upload:focus-within,.upload.drag{border-color:var(--orange)}.upload svg{color:var(--orange)}.upload input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.upload strong{font-size:13px;max-width:100%;overflow-wrap:anywhere}.upload small{color:var(--dim);font-size:11px}.selects{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.selects select{appearance:none;background:#171717 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23c9c2bc' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;padding-right:29px}.primary{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;border:none;border-radius:8px;background:var(--orange);color:#221008;padding:11px;font-size:15px;font-weight:800}.primary:hover{background:#ff915e}.status{font-size:12px;margin-top:7px;color:#ffad86}.status:empty{display:none}.preview-panel{display:flex;flex-direction:column}.stage{margin:14px 16px 0;background:#121212;border:1px solid #282828;border-radius:9px;display:grid;place-items:center;padding:11px;flex:1}.screen{width:min(100%,204px);aspect-ratio:9/16;position:relative;border-radius:8px;overflow:hidden;background:#312019}.screen canvas{width:100%;height:100%;display:block}.play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);border:1px solid #ffffff70;background:#1513119c;color:white;border-radius:50%;width:48px;height:48px;display:grid;place-items:center;backdrop-filter:blur(4px)}.play svg{fill:currentColor}.play.playing{opacity:0}.screen:hover .play,.play:focus-visible{opacity:1}.transport{display:flex;align-items:center;gap:9px;margin:10px 17px;color:#b4aba4;font-size:11px;font-variant-numeric:tabular-nums}.transport input{flex:1;min-width:0;accent-color:var(--orange);height:12px}.preview-footer{padding:10px 16px;border-top:1px solid #303030;display:flex;align-items:center;justify-content:space-between;color:#b4aba4;font-size:12px;gap:4px}.preview-footer b{margin:0 4px}.script-panel{margin-top:20px}.script-panel ol{padding:0 30px 0 46px;line-height:1.6}.script-panel li{padding:4px}.project-list{display:grid;gap:12px}.project{display:flex;justify-content:space-between;align-items:center;padding:18px;gap:10px}.project h2{font-size:16px;margin:0 0 4px}.project p{font-size:13px}dialog{max-width:440px;border:1px solid var(--line);border-radius:14px;color:var(--text);background:var(--panel);padding:22px}dialog::backdrop{background:#0009}dialog h2{margin-top:0}dialog p+p{margin-top:10px}dialog form{padding:15px 0 0}
@media(max-width:1000px){.side{width:187px}main{margin-left:187px}.workspace,header{padding-left:22px;padding-right:22px}}
@media(max-width:850px){.columns{grid-template-columns:1fr}.screen{width:min(100%,225px)}}
@media(max-width:600px){.side{position:static;width:auto;padding:12px;flex-direction:row;align-items:center;justify-content:space-between;gap:7px}.brand{font-size:16px;gap:7px;padding:0}.brand small,.side-bottom,.nav-label{display:none}.logo{width:30px;height:30px}.logo svg{width:17px;height:17px}nav{display:flex;gap:3px}.nav{padding:7px;margin:0;font-size:12px;white-space:nowrap}.nav svg{display:none}main{margin-left:0}header{height:48px;padding:0 13px}.workspace{padding:23px 12px}.section-title,form{padding-left:13px;padding-right:13px}}
.api-settings{margin-bottom:20px}.api-settings summary{padding:13px 20px;cursor:pointer;font-size:14px;color:#f5c0a6}.api-settings>div{padding:0 20px 15px}.api-settings p,.field-note{font-size:13px;margin:7px 0 15px}.copy-columns{align-items:start}.copy-columns input[type=file]{width:100%;font-size:13px}.copy-columns input::file-selector-button{background:#28211e;color:var(--text);border:1px solid #523d32;border-radius:6px;padding:5px 9px;margin-right:7px;cursor:pointer}.copy-label{margin-top:14px}.copy-columns textarea#original-copy,.copy-columns textarea#rewritten-copy{height:auto;min-height:112px}.copy-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
@media(max-width:600px){.side{flex-wrap:wrap}.side nav{margin-left:auto}}
