:root{--background:#f3f4f7;--foreground:#181a20;--primary:#c6153e;--border:#dfe2e8}*{box-sizing:border-box}body{margin:0;background:#f3f4f7;color:#181a20;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;font-size:14px}button,input,textarea{font:inherit}button{cursor:pointer}.studio{min-height:100vh}.topbar{height:64px;background:#fff;border-bottom:1px solid #dfe2e8;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 18px}.brand,.actions,.project,.modebar,.modebar button,.topbar button{display:flex;align-items:center}.brand{gap:9px;font-weight:750;font-size:16px}.mark{width:34px;height:34px;border-radius:9px;background:#c6153e;color:#fff;display:grid;place-items:center}.draft{font-size:11px;color:#727989;background:#eef0f4;border-radius:99px;padding:4px 8px}.project{flex-direction:column}.project small{color:#858b98;font-size:11px}.actions{justify-content:flex-end;gap:6px}.topbar button{height:36px;border:1px solid #d8dce3;background:#fff;border-radius:8px;padding:0 10px;gap:6px}.topbar svg,.modebar svg{width:17px}.topbar .dark{background:#17191f;color:#fff}.modebar{height:48px;background:#fff;border-bottom:1px solid #dfe2e8;padding:0 18px;gap:6px}.modebar>span{flex:1}.modebar button{height:48px;border:0;background:transparent;color:#636b79;gap:7px;padding:0 13px;border-bottom:2px solid transparent}.modebar button.active{color:#c6153e;border-color:#c6153e;font-weight:700}.modebar .ai{height:34px;border-radius:8px;background:#fff0f4;color:#b81239;font-weight:700}.workspace{height:calc(100vh - 366px);min-height:420px;display:grid;grid-template-columns:240px minmax(460px,1fr) 250px;border-bottom:1px solid #d9dde5}.assets,.props{background:#fff;padding:14px;border-right:1px solid #dfe2e8;overflow:auto}.props{border-right:0;border-left:1px solid #dfe2e8}.tabs{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #e4e6eb;margin:-5px 0 14px}.tabs button{border:0;background:#fff;padding:10px 2px;color:#777e8a;border-bottom:2px solid transparent}.tabs button.active{color:#c6153e;border-color:#c6153e;font-weight:700}.upload{width:100%;height:38px;border:1px solid #c6153e;color:#c6153e;background:#fff5f7;border-radius:8px;display:flex;gap:7px;align-items:center;justify-content:center;font-weight:700}.upload svg{width:17px}.search{height:36px;border:1px solid #dfe2e8;border-radius:8px;margin:11px 0;padding:9px 11px;color:#a1a6b0}.eyebrow{font-size:10px;letter-spacing:.12em;color:#7b8290;font-weight:800;margin:16px 0 9px}.asset-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.asset{min-height:92px;background:#f7f8fa;border:1px solid #e1e4e9;border-radius:9px;padding:8px}.asset small,.cloth-wrap span{display:block;font-size:10px;color:#686f7b;margin-top:5px}.bucket{margin:auto;background:#c6153e;color:#fff;width:52px;height:53px;display:grid;place-items:center;font-size:7px;font-weight:800;clip-path:polygon(7% 0,93% 0,84% 100%,16% 100%)}.cloth-wrap{text-align:center}.cloth{margin:auto;width:63px;height:44px;border-radius:6px 11px 5px 9px;transform:skew(-5deg) rotate(-3deg);box-shadow:inset -8px -6px 12px #0002}.content{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.content button{height:54px;background:#fff;border:1px solid #dfe2e8;border-radius:8px;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;font-size:10px;color:#5b6370}.content svg{width:17px}.stage{background:#e9ebf0;display:flex;flex-direction:column;min-width:0}.stage-head{height:42px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;color:#69717e;font-size:12px}.stage-head button{border:0;background:transparent;display:flex;gap:5px;color:#69717e}.stage-head svg{width:15px}.zoom{background:#fff;border:1px solid #d8dce3;border-radius:7px;padding:5px 9px}.frame{flex:1;min-height:0;display:grid;place-items:center;padding:10px 24px}.canvas{width:min(100%,800px);aspect-ratio:16/9;background:#fff;box-shadow:0 8px 30px #20242b1f;position:relative;overflow:hidden}.training-head{height:42px;background:#c6153e;color:#fff;padding:0 16px;display:flex;align-items:center;justify-content:space-between;font-size:13px}.training-head b{font-size:8px;line-height:.9;text-align:center;border:1px solid #fff8;padding:4px}.center{height:calc(100% - 42px);display:flex;flex-direction:column;align-items:center;justify-content:center}.center h1,.rule h1{font-size:clamp(24px,3.2vw,46px);margin:0;color:#bd163e;letter-spacing:-.04em}.center p,.rule p{color:#737985;font-size:13px}.center em,.rule em{font-style:normal;font-size:9px;letter-spacing:.16em;font-weight:800;color:#c6153e;background:#fff0f4;padding:5px 8px;border-radius:99px;margin-bottom:10px}.selected{position:relative;border:1.5px solid #4b8ef7;padding:4px 16px}.selected i{position:absolute;top:-20px;left:-1px;background:#4b8ef7;color:#fff;font-size:9px;padding:2px 5px;border-radius:3px}.cloth-row{display:flex;gap:28px;margin-top:22px}.cloth-row .cloth{width:74px;height:52px}.cloth-row span{font-size:12px;color:#343943}.center footer{position:absolute;bottom:18px;left:26px;right:26px;border-top:1px solid #e4e6ea;padding-top:10px;display:flex;align-items:center;gap:8px;color:#69717e;font-size:11px}.center footer b{background:#c6153e;color:#fff;border-radius:99px;padding:4px 7px}.rule{height:calc(100% - 42px);display:flex;align-items:center;justify-content:center;gap:12%;padding:40px}.rule>div{max-width:55%}.rule>.cloth-wrap .cloth{width:140px;height:105px}.rule strong{display:inline-flex;align-items:center;gap:7px;background:#e9f8ed;color:#19823a;border-radius:8px;padding:8px 10px;margin-top:10px}.rule svg{width:16px}.quiz>div{display:flex;gap:10px;margin-top:25px}.quiz button{min-width:100px;padding:10px;border:1px solid #dfe2e8;border-radius:8px;background:#fff}.quiz .right{background:#e9f8ed;border-color:#8ed29e;color:#197536;display:flex;align-items:center;justify-content:center;gap:5px}.play{position:absolute;inset:calc(50% - 27px);width:54px;height:54px;border:0;border-radius:50%;background:#161920d9;color:#fff;display:grid;place-items:center;opacity:0;transition:.2s}.play svg{width:31px}.canvas:hover .play{opacity:1}.player{height:43px;display:flex;align-items:center;gap:10px;padding:0 18px;color:#68707d;font-size:11px}.player button{border:0;background:transparent}.player>div{flex:1;height:4px;background:#ced2da;border-radius:4px}.player i{display:block;height:100%;background:#c6153e}.props label{display:block;color:#6d7481;font-size:11px;font-weight:700;margin:15px 0 6px}.props-title{display:flex;justify-content:space-between;border-bottom:1px solid #e1e4e9;padding-bottom:12px}.props-title div{display:flex;flex-direction:column}.props-title small{font-size:10px;color:#858b96}.props-title>svg{width:17px}.props textarea,.props input,.select,.time{border:1px solid #dfe2e8;border-radius:7px;background:#fff;padding:8px;width:100%;color:#333943}.split{display:grid;grid-template-columns:1.4fr .7fr;gap:9px}.select,.time{height:35px;display:flex;align-items:center;justify-content:space-between}.select svg,.time svg{width:14px}.format{display:flex;margin-top:10px}.format button{width:38px;height:34px;border:1px solid #dfe2e8;background:#fff;margin-right:-1px}.format span{display:inline-block;width:17px;height:17px;border-radius:50%;background:#bd163e}.time{font-size:12px;justify-content:flex-start;gap:6px}.position{display:grid;grid-template-columns:1fr 1fr;gap:7px}.props hr{border:0;border-top:1px solid #e3e5ea;margin:18px 0}.layers{border:0;background:transparent;width:100%;display:flex;align-items:center;gap:7px}.layers svg:last-child{margin-left:auto}.timeline{height:254px;background:#fff;padding:12px 18px}.timeline>header{display:flex;justify-content:space-between}.timeline>header>div{display:flex;gap:9px;align-items:baseline}.timeline header small{color:#858b96;font-size:11px}.timeline header button{height:33px;border:1px solid #dfe2e8;background:#fff;border-radius:7px;display:flex;align-items:center;gap:5px}.timeline svg{width:16px}.scene-strip{display:flex;gap:10px;overflow-x:auto;padding:10px 2px}.scene{min-width:144px;width:144px;border:0;background:transparent;padding:0;text-align:left;position:relative}.scene.active .thumb{outline:2px solid #c6153e;outline-offset:2px}.scene>i{position:absolute;z-index:2;background:#1b1e24;color:#fff;width:19px;height:19px;border-radius:50%;font-size:10px;display:grid;place-items:center;top:5px;left:5px}.thumb{height:70px;border:1px solid #dfe2e8;background:#f9fafb;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;position:relative}.thumb:before{content:"";height:8px;position:absolute;top:0;left:0;right:0;background:var(--accent)}.thumb span{width:34px;height:5px;background:var(--accent);opacity:.3}.thumb b{font-size:8px;margin-top:5px;max-width:90%;text-align:center}.scene footer{display:flex;justify-content:space-between;margin-top:6px;gap:7px}.scene footer span{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scene footer small{color:#858b96}.add-scene{min-width:100px;height:70px;border:1px dashed #bdc2cc;background:#fafbfc;border-radius:7px;color:#7a818d;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:10px}.tracks{display:grid;grid-template-columns:85px 1fr;gap:6px 10px;border-top:1px solid #e4e6ea;padding-top:8px}.tracks>span{display:flex;gap:6px;align-items:center;color:#68707c;font-size:10px}.bars{display:flex;gap:2px}.bars i{height:11px;border-radius:2px;opacity:.8}.wave{height:13px;overflow:hidden;color:#7e64cf;letter-spacing:3px;line-height:12px}.toast{position:fixed;right:18px;bottom:18px;background:#191c22;color:#fff;padding:11px 15px;border-radius:9px;display:flex;align-items:center;gap:8px;box-shadow:0 8px 30px #0003;z-index:50}.toast svg{width:17px}@media(max-width:1000px){.workspace{grid-template-columns:200px 1fr}.props{display:none}.topbar{grid-template-columns:1fr 1fr}.project{display:none}.cloth-row{gap:12px}}@media(max-width:720px){.topbar{height:auto;padding:10px;grid-template-columns:1fr}.actions{margin-top:8px;justify-content:flex-start;overflow:auto}.modebar{overflow:auto}.modebar button{white-space:nowrap}.workspace{height:auto;display:flex;flex-direction:column}.assets{order:2}.stage{min-height:410px;order:1}.timeline{height:auto}}
