@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--bg:#f8f7f4;--white:#fff;--ink:#242329;--muted:#8a8791;--purple:#7853e9;--purple-dark:#6540d1;--line:#e9e6e2;--lavender:#f0ebfd;--sidebar:224px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a,select{cursor:pointer}button{color:inherit}button{border:0;background:none}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button:focus-visible,a:focus-visible,label:has(input:focus-visible),select:focus-visible{outline:3px solid #ba9ff7;outline-offset:4px}input:focus-visible{outline:none}[hidden]{display:none!important}.sprite{position:absolute;width:0;height:0;overflow:hidden}.sidebar{width:var(--sidebar);position:fixed;inset:0 auto 0 0;background:white;border-right:1px solid var(--line);padding:34px 20px 18px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;font-family:Manrope,sans-serif;font-weight:800;font-size:31px;letter-spacing:-1.8px;gap:9px;margin:0 9px}.brand-mark{background:var(--purple);color:white;width:31px;height:34px;border-radius:10px 10px 10px 3px;font-size:27px;letter-spacing:-7px;line-height:30px;padding-right:8px;transform:rotate(-7deg)}.brand-mark span{font-size:19px}.brand-dot{font-size:19px;color:var(--purple);align-self:start;margin:3px 0 0 -7px}.workspace-label{font-size:9px;font-weight:700;letter-spacing:1.8px;color:#aaa5b2;margin:44px 12px 16px}nav{display:grid;gap:5px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:13px 12px;text-align:left;border-radius:8px;font-size:12px;color:#77737e;white-space:nowrap}.nav-item.active{background:var(--lavender);color:#7050d0;font-weight:650}.nav-item:hover{background:#f6f4fa}.nav-count{margin-left:auto;font-size:10px;background:#fff;border-radius:4px;padding:2px 5px}.new-video{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:12px;font-size:12px;font-weight:600;margin-top:21px}.new-video svg:first-child{color:var(--purple);width:17px}.new-video svg:last-child{margin-left:auto;width:16px}.new-video:hover{border-color:var(--purple)}.sidebar-bottom{margin-top:auto}.credit-box{padding:18px 13px;border-radius:10px;background:#f8f6fc;border:1px solid #eee9f7;margin-bottom:22px}.credit-box>div{display:flex;align-items:center;gap:6px;font-size:10px;color:#8e849f}.credit-box strong{font-size:20px;color:var(--ink)}.credit-orb{color:var(--purple);font-size:18px}.credit-box p{font-size:10px;color:#aaa2b4;margin:9px 0 15px}.text-button{color:var(--purple);font-weight:550;font-size:12px;padding:0}.credit-box .text-button{display:flex;justify-content:space-between;width:100%}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:22px 0 0;margin-top:16px}.avatar{height:32px;width:32px;border-radius:50%;background:#f1e7da;color:#a1835e;display:grid;place-items:center;font-weight:700;font-size:13px}.profile div{display:grid;gap:4px}.profile strong{font-size:11px;font-weight:600}.profile div>span{color:#a29da8;font-size:9px}.profile-dot{width:6px;height:6px;background:#a1b999;border-radius:50%;margin-left:auto}.app-shell{margin-left:var(--sidebar)}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 46px;background:var(--bg)}.breadcrumb{display:flex;gap:14px;font-size:11px;color:#9a959f}.breadcrumb strong{font-weight:500;color:#5b5663}.breadcrumb>span{color:#c8c2cc}.topbar-right{display:flex;align-items:center;gap:24px}.prototype-indicator{display:flex;align-items:center;gap:6px;font-size:10px;color:#948c9f}.prototype-indicator i{height:5px;width:5px;background:#bcaacb;border-radius:50%}.credit-pill{display:flex;align-items:center;gap:7px;border:1px solid #ded7ec;border-radius:25px;padding:8px 10px 8px 14px;color:var(--purple);font-size:12px}.credit-word{font-size:10px;color:#8a8196}.plus{border-radius:50%;background:#ede7fb;width:20px;height:20px;display:grid;place-items:center;font-size:15px;margin-left:5px}main{max-width:1550px;margin:auto;padding:44px 46px 0}.page-heading{display:flex;justify-content:space-between;align-items:center}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:700;color:#96909e}h1{font-family:Manrope,sans-serif;font-size:clamp(28px,3.05vw,47px);font-weight:650;line-height:1.25;letter-spacing:-1.9px;margin:15px 0 12px}h1 span{color:var(--purple)}.page-heading p{font-size:13px;color:#8a8491;margin:0}.heading-doodle{font-size:92px;line-height:1;color:#c2b4e4;margin:0 24px;transform:rotate(-15deg)}.demo-note{display:flex;align-items:center;gap:9px;font-size:10px;color:#a19aa9;margin:29px 0 28px;padding:0 0 18px;border-bottom:1px solid var(--line)}.note-dot{height:4px;width:4px;border-radius:50%;background:#b8adc7;flex-shrink:0}.demo-note button{margin-left:auto;font-size:10px;color:#776b8a;white-space:nowrap}.demo-note button span{margin-left:8px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:27px}.filter-tabs{display:flex;gap:6px}.filter{padding:10px 18px;border-radius:7px;font-size:12px;color:#89818e}.filter.active{background:#29252f;color:#fff}.filter:hover:not(.active){background:#eeebe6}.filter span{font-size:10px;margin-left:5px}.tools{display:flex;align-items:center;gap:14px}.search{display:flex;align-items:center;gap:8px;border:1px solid #e5e1dc;border-radius:7px;background:#fff;padding:9px 11px}.search svg{width:15px;color:#a39ba8}.search input{width:135px;border:0;background:transparent;font-size:10px;color:#615967}.search input::placeholder{color:#aaa2b0}.search kbd{font-family:inherit;color:#b9b1c0;font-size:10px;background:#f7f5f9;border:1px solid #eae5ed;width:16px;text-align:center;border-radius:3px}select{background:transparent;color:#8c8492;border:0;font-size:10px;max-width:105px;padding:8px}.section-caption{display:flex;justify-content:space-between;align-items:center;margin:0 0 17px}.section-caption>span:first-child{font-size:12px;font-weight:600}.section-caption>span:last-child{color:#b0a9b7;letter-spacing:1.3px;font-size:8px}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 22px}.template-card{min-width:0;animation:enter .55s both}.template-card:nth-child(2){animation-delay:.07s}.template-card:nth-child(3){animation-delay:.14s}.template-card:nth-child(4){animation-delay:.1s}.template-card:nth-child(5){animation-delay:.17s}.template-card:nth-child(6){animation-delay:.24s}.poster{position:relative;border-radius:12px;overflow:hidden;aspect-ratio:4/4.8;background:#ddd7e7;isolation:isolate}.poster img{width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.7,.2,1)}.poster::after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,rgba(19,14,28,.62));pointer-events:none;z-index:0}.poster:hover img{transform:scale(1.06)}.poster-open{position:absolute;inset:0;width:100%;z-index:1}.poster-top{position:absolute;z-index:2;top:14px;left:14px;right:14px;display:flex;justify-content:space-between;align-items:start;pointer-events:none}.template-badge{color:#fff;font-size:8px;background:#ffffff28;backdrop-filter:blur(12px);padding:6px 9px;border:1px solid #ffffff36;border-radius:5px;font-weight:600;letter-spacing:.6px}.template-badge.featured{background:#e3f4bd;border-color:transparent;color:#425b26}.save-button{background:#ffffff29;backdrop-filter:blur(14px);width:30px;height:30px;border:1px solid #ffffff30;border-radius:50%;display:grid;place-items:center;color:#fff;pointer-events:auto}.save-button svg{width:14px}.save-button.saved svg{fill:white}.poster-play{z-index:1;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:48px;width:48px;border-radius:50%;background:#ffffff26;backdrop-filter:blur(8px);border:1px solid #ffffff5c;display:grid;place-items:center;color:#fff;pointer-events:none;transition:background .25s,transform .25s}.poster-play svg{width:17px;fill:white;stroke-width:0;margin-left:3px}.poster:hover .poster-play{background:#ffffff50;transform:translate(-50%,-50%) scale(1.08)}.poster-bottom{position:absolute;bottom:17px;left:17px;right:17px;color:white;z-index:1;pointer-events:none}.poster-bottom .poster-category{font-size:8px;letter-spacing:1.4px;opacity:.8}.poster-bottom h2{font-family:Manrope,sans-serif;font-size:27px;letter-spacing:-1px;font-weight:700;margin:5px 0 8px}.poster-bottom .poster-meta{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#ffffffbd}.duration{background:#ffffff20;padding:4px 6px;border-radius:4px;font-size:8px}.template-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 1px 0}.template-caption>span{font-size:10px;color:#918a96}.use-template{display:flex;align-items:center;gap:7px;color:#6c4fbb;font-size:10px;font-weight:600;padding:3px 0}.use-template svg{width:13px;height:13px}.bottom-prompt{padding:35px 0;display:flex;align-items:center;justify-content:space-between;margin-top:34px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.bottom-prompt span{font-size:8px;color:#a59baa;letter-spacing:1.5px}.bottom-prompt h2{font-family:Manrope,sans-serif;font-size:23px;font-weight:500;letter-spacing:-.8px;margin:8px 0 0}.round-arrow{width:46px;height:46px;border:1px solid #d9d2e3;border-radius:50%;color:var(--purple);display:grid;place-items:center;transition:background .2s,transform .2s}.round-arrow:hover{background:var(--lavender);transform:rotate(-25deg)}footer{display:flex;gap:22px;align-items:center;padding:27px 0;font-size:9px;color:#aaa1ad}footer .footer-brand{font-family:Manrope,sans-serif;color:#77707c;font-size:16px;font-weight:750;letter-spacing:-.8px}footer button{font-size:9px;color:#a299a8;margin-left:auto}.empty-state{text-align:center;padding:70px 20px 90px;color:#817889}.empty-state>svg{width:40px;height:40px;color:#b3a6ca}.empty-state h2{font-size:23px;color:var(--ink);font-family:Manrope,sans-serif;letter-spacing:-.7px;font-weight:600}.empty-state p{font-size:12px;margin-bottom:25px}.empty-state .primary{display:inline-flex}.empty-art{position:relative;width:95px;height:115px;border:1px solid #e2d7f6;background:#efe8fc;color:#b7a0e8;border-radius:14px;display:grid;place-items:center;font-size:28px;margin:0 auto 35px;transform:rotate(-8deg)}.empty-art span{position:absolute;right:-23px;top:-12px;font-size:52px;color:var(--purple)}.library-info{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#928899;margin:10px 0 28px}.library-info .text-button{font-size:10px}.library-card{background:none}.library-card video{width:100%;aspect-ratio:9/13;object-fit:cover;background:#29252f;border-radius:12px}.library-card h3{margin:13px 0 5px;font-size:14px}.library-card p{font-size:10px;color:#99909f;margin:5px 0 14px}.library-actions{display:flex;align-items:center;gap:14px}.library-actions a,.library-actions button{font-size:11px;color:var(--purple);display:flex;gap:6px;align-items:center}.library-actions svg{width:14px;height:14px}.library-actions button{margin-left:auto;color:#a69aaa}.primary{background:var(--purple);border-radius:8px;color:white;padding:14px 20px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:12px;font-weight:550;transition:background .2s,transform .2s}.primary:hover{background:var(--purple-dark);transform:translateY(-1px)}.primary:disabled{opacity:.5;cursor:wait;transform:none}.primary svg{width:17px}.secondary{border:1px solid var(--line);border-radius:8px;padding:12px;font-size:12px;width:100%;display:flex;justify-content:center;gap:15px}.icon-button{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;color:#8d8399;background:#f7f5f9}.icon-button:hover{background:#eae4f4}.icon-button svg{width:17px}.muted{color:#968b9f;font-size:12px;line-height:1.6}dialog{border:0;padding:0;color:var(--ink);max-height:94svh;box-shadow:0 25px 120px #21132b30}dialog::backdrop{background:#221a30a6;backdrop-filter:blur(5px)}dialog[open]{animation:dialog-enter .25s ease both}.creator-dialog{width:850px;max-width:calc(100vw - 32px);border-radius:18px;overflow:auto}.creator-layout{display:grid;grid-template-columns:.9fr 1.1fr;min-height:650px}.creator-preview{position:relative;background:#b9a1d7;isolation:isolate;overflow:hidden;min-height:100%}.creator-preview>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.creator-preview::after{content:'';position:absolute;inset:30% 0 0;background:linear-gradient(transparent,#1f132ddd);z-index:0}.preview-top{position:absolute;top:23px;left:23px;right:23px;display:flex;justify-content:space-between;z-index:1}.tag{font-size:8px;padding:6px 8px;color:#fff;background:#ffffff30;backdrop-filter:blur(9px);border:1px solid #ffffff30;border-radius:5px;letter-spacing:.6px}.preview-bottom{position:absolute;bottom:34px;left:28px;right:20px;color:white;z-index:1}.preview-bottom>span{font-size:8px;letter-spacing:1.6px}.preview-bottom h2{font-family:Manrope,sans-serif;font-size:34px;letter-spacing:-1.3px;margin:10px 0}.preview-bottom p{font-size:11px;color:#ffffff9c}.preview-play{position:absolute;left:50%;top:47%;transform:translate(-50%,-50%);height:65px;width:65px;display:grid;place-items:center;border:1px solid #ffffff70;background:#ffffff25;border-radius:50%;color:white;z-index:1;font-size:20px;padding-left:4px;backdrop-filter:blur(6px)}.creator-content{padding:53px 33px 30px;position:relative;background:#fff}.close-creator{position:absolute;top:16px;right:16px}.creator-content h2{font-family:Manrope,sans-serif;font-size:25px;letter-spacing:-.9px;line-height:1.3;font-weight:650;margin:12px 0 10px}.creator-content .muted{margin:0 0 22px}.selected-template{display:flex;align-items:center;gap:10px;padding:13px;background:#f8f6fc;border-radius:8px;margin-bottom:19px}.selected-template>svg{color:#aa94d5;width:19px}.selected-template>span{display:grid;gap:5px}.selected-template strong{font-size:11px;font-weight:600}.selected-template small{font-size:9px;color:#a196aa}.selected-template button{margin-left:auto;font-size:10px}.upload-area{display:flex;align-items:center;flex-direction:column;border:1px dashed #d4c7e7;border-radius:10px;padding:23px 10px;background:#fdfbff;cursor:pointer;text-align:center;transition:border .2s,background .2s}.upload-area:hover,.upload-area.dragover{background:#f1eafb;border-color:var(--purple)}.upload-area input{position:absolute;width:1px;height:1px;opacity:0}.upload-symbol{background:#f0e9fb;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:var(--purple);margin-bottom:13px}.upload-symbol svg{width:17px}.upload-area strong{font-size:11px;font-weight:550}.upload-area small{font-size:9px;color:#a298ad;margin-top:7px}.local-note{font-size:9px;color:#b4a8c0;margin-top:15px}.sample-button{width:100%;padding:14px 0;font-size:9px;color:#a59aac}.sample-button strong{color:var(--purple);font-weight:500;margin-left:3px}.form-error{font-size:10px;color:#b84258;min-height:0;line-height:1.5;margin:0 0 10px}.consent{display:flex;gap:8px;align-items:flex-start;font-size:10px;color:#998fa2;line-height:1.5;cursor:pointer}.consent input{accent-color:var(--purple);margin:0;flex-shrink:0;height:14px;width:14px}.generation-summary{display:flex;align-items:center;justify-content:space-between;margin:23px 0 13px;font-size:10px;color:#9f93aa}.generation-summary strong{color:#7e6a9b;font-size:11px;font-weight:550}.generate-button{width:100%;gap:9px}.generate-button>span:last-child{margin-left:auto}.generation-disclaimer{font-size:9px;color:#aaa0b3;line-height:1.65;text-align:center;margin:13px 0 0}.uploaded-preview{display:flex;align-items:center;gap:13px;border:1px solid #e6dff0;border-radius:10px;padding:17px;background:#fcfaff;min-height:155px}.uploaded-preview>img{width:77px;height:105px;object-fit:cover;border-radius:7px}.uploaded-preview>div{display:grid;gap:8px;min-width:0}.uploaded-preview strong{font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:130px}.uploaded-preview span{font-size:9px;color:#a398ad}.uploaded-preview button{font-size:10px;text-align:left}.upload-check{color:#9982bd;width:18px;margin-left:auto}.processing{min-height:500px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.processing-orbit{font-size:80px;color:var(--purple);animation:orbit 7s linear infinite;margin-bottom:35px}.processing h2{font-size:25px}.processing p{font-size:11px;color:#978aa2}.processing progress{width:100%;height:5px;border:0;border-radius:5px;accent-color:var(--purple);margin:25px 0 22px}.processing progress::-webkit-progress-bar{background:#eee7f8;border-radius:5px}.processing progress::-webkit-progress-value{background:var(--purple);border-radius:5px}.processing .muted{font-size:9px}.result .success-label{font-size:8px;letter-spacing:1px;color:#8a749e;display:flex;align-items:center;gap:6px}.success-label svg{width:14px}.result h2{font-size:27px;margin:12px 0 16px}.result video{width:100%;max-height:275px;aspect-ratio:9/13;background:#201928;border-radius:9px}.result .primary{margin:18px 0 9px}.small-dialog{width:460px;max-width:calc(100vw - 32px);border-radius:17px;padding:35px;overflow:auto}.close-small{position:absolute;top:15px;right:15px}.modal-spark{color:var(--purple);font-size:52px;display:block;line-height:1;margin-bottom:24px}.small-dialog h2{font-family:Manrope,sans-serif;font-size:27px;line-height:1.3;letter-spacing:-1px;margin:13px 0 10px}.credit-options{display:grid;gap:10px;margin:23px 0}.credit-options button{display:grid;text-align:left;border:1px solid #e8e2ed;padding:15px;border-radius:9px;gap:8px}.credit-options button.chosen{border-color:var(--purple);background:#f7f3ff}.credit-options button>span{font-size:10px;color:#877b93;display:flex;align-items:center;justify-content:space-between}.credit-options b{font-size:7px;color:var(--purple);background:#e9e0fc;padding:4px 5px;border-radius:3px;letter-spacing:.6px}.credit-options strong{font-size:23px;font-weight:600}.credit-options small{font-size:11px;color:#9c8daa;font-weight:400}.credit-options em{font-size:9px;color:#ac9eb7;font-style:normal}.small-dialog>.primary{width:100%}.small-dialog>.primary span{margin-left:auto}.info-dialog h3{font-size:13px;font-weight:650;margin:23px 0 6px}.info-dialog p{font-size:12px;line-height:1.8;color:#968a9f}.info-dialog .primary{margin-top:25px;width:100%}.toast{position:fixed;left:calc(50% + 80px);bottom:30px;transform:translate(-50%,20px);background:#2b2334;color:#fff;border-radius:9px;font-size:12px;padding:14px 23px;z-index:100;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;max-width:calc(100vw - 40px);box-shadow:0 10px 30px #25113720}.toast.show{opacity:1;transform:translate(-50%,0)}@keyframes enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes dialog-enter{from{opacity:0;transform:translateY(12px) scale(.99)}to{opacity:1;transform:none}}@keyframes orbit{to{transform:rotate(360deg)}}@media(min-width:1500px){.poster{aspect-ratio:4/4.5}main{padding-top:50px}.page-heading{margin-bottom:8px}.template-grid{gap:30px}.sidebar{padding-top:38px}}@media(max-width:1100px){:root{--sidebar:195px}.sidebar{padding:30px 14px 18px}.brand{font-size:28px}.nav-item{font-size:11px;gap:9px}.workspace-label{font-size:8px;letter-spacing:1.2px}.topbar{padding:0 28px}main{padding:35px 28px 0}h1{font-size:32px;letter-spacing:-1.3px}.heading-doodle{font-size:70px;margin:0 8px}.template-grid{gap:25px 15px}.poster-bottom h2{font-size:22px}.poster-bottom{left:13px;right:13px}.tools{gap:3px}.search input{width:104px}.demo-note{font-size:9px}.demo-note button{font-size:9px}.search kbd{display:none}.template-caption>span{font-size:9px}.use-template{font-size:9px}}@media(max-width:850px){:root{--sidebar:76px}.sidebar{padding:25px 12px}.brand{font-size:0;margin:0 auto}.brand-mark{font-size:27px}.brand-dot,.workspace-label,.nav-count,.new-video,.credit-box,.profile,.sidebar-bottom{display:none}nav{margin-top:38px;gap:13px}.nav-item{font-size:0;justify-content:center;padding:13px}.nav-item svg{width:20px}.topbar{height:68px;padding:0 24px}main{padding:32px 24px 0}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 18px}.poster{aspect-ratio:4/4.8}.page-heading h1{font-size:32px;max-width:430px}.heading-doodle{font-size:60px}.demo-note{align-items:start;line-height:1.5}.demo-note button{display:none}.note-dot{margin-top:5px}.section-caption>span:last-child{font-size:7px}.poster-bottom h2{font-size:27px}.tools select{display:none}.filter{padding:10px 13px}.creator-dialog{width:760px}.creator-content{padding:52px 25px 25px}.creator-layout{grid-template-columns:.85fr 1.15fr}.toast{left:50%}}@media(max-width:570px){:root{--sidebar:0px}.sidebar{position:static;inset:auto;width:100%;height:66px;padding:0 18px;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid var(--line)}.brand{margin:0 auto 0 0;font-size:26px;gap:8px}.brand-mark{width:27px;height:30px;font-size:24px;line-height:27px;letter-spacing:-6px}.brand-mark span{font-size:17px}.brand-dot{display:inline;font-size:16px}.sidebar nav{display:flex;gap:2px;margin:0}.nav-item{padding:10px;border-radius:7px}.nav-item svg{width:18px;height:18px}.topbar{height:52px;padding:0 19px}.breadcrumb{font-size:9px;gap:8px}.prototype-indicator{font-size:8px}.topbar-right{gap:10px}.credit-pill{padding:4px 6px 4px 9px;font-size:10px;gap:5px}.credit-word{display:none}.plus{height:17px;width:17px;font-size:12px;margin:0}main{padding:28px 19px 0}.page-heading{align-items:start}.eyebrow{font-size:7px;letter-spacing:1.4px}h1,.page-heading h1{font-size:31px;letter-spacing:-1.3px;max-width:300px;line-height:1.22;margin:13px 0}h1 span{display:block}.page-heading p{font-size:10px}.heading-doodle{font-size:50px;margin-top:24px;margin-right:0}.demo-note{margin:22px 0 18px;padding-bottom:15px;font-size:8px}.toolbar{flex-wrap:wrap;gap:12px;margin-bottom:22px}.filter-tabs{gap:3px}.filter{font-size:10px;padding:9px 12px}.search{padding:8px;width:124px}.search input{font-size:9px;width:90px}.search svg{width:13px}.template-grid{gap:25px 12px}.poster{border-radius:9px;aspect-ratio:3/4.25}.poster-top{top:9px;left:9px;right:9px}.template-badge{font-size:6px;padding:5px 6px;letter-spacing:.3px}.save-button{height:24px;width:24px}.save-button svg{width:12px;height:12px}.poster-play{width:36px;height:36px}.poster-play svg{width:13px}.poster-bottom{left:10px;right:10px;bottom:12px}.poster-bottom h2{font-size:19px;letter-spacing:-.7px;margin:5px 0 7px}.poster-category{font-size:6px!important;letter-spacing:1px!important}.poster-meta{font-size:7px!important}.duration{font-size:6px;padding:3px 4px}.template-caption{align-items:start;padding-top:10px;gap:4px;flex-direction:column}.template-caption>span{font-size:8px}.use-template{font-size:9px}.section-caption{margin-bottom:13px}.section-caption>span:first-child{font-size:11px}.section-caption>span:last-child{font-size:6px;letter-spacing:.7px}.bottom-prompt{margin-top:28px;padding:25px 0;gap:20px}.bottom-prompt span{font-size:6px;letter-spacing:1px}.bottom-prompt h2{font-size:18px;max-width:230px;line-height:1.5}.round-arrow{width:37px;height:37px;flex-shrink:0}.round-arrow svg{width:18px}footer{flex-wrap:wrap;gap:8px 15px;padding:22px 0}footer>span{font-size:8px}footer>button{font-size:8px}.creator-dialog{max-width:calc(100vw - 20px);border-radius:13px;max-height:94svh}.creator-layout{display:block;min-height:0}.creator-preview{height:160px;min-height:0}.creator-preview>img{object-position:50% 35%}.preview-top{top:12px;left:15px;right:15px}.preview-top .tag:last-child{margin-right:35px}.preview-bottom{left:18px;bottom:15px}.preview-bottom>span{font-size:6px}.preview-bottom h2{font-size:23px;margin:5px 0}.preview-bottom p,.preview-play{display:none}.creator-content{padding:25px}.close-creator{position:fixed;top:10px;right:10px;z-index:3;background:#ffffffc9}.creator-content h2{font-size:23px}.creator-content .muted{font-size:11px;margin-bottom:17px}.selected-template{margin-bottom:14px}.upload-area{padding:18px 10px}.upload-symbol{margin-bottom:10px}.local-note{margin-top:10px}.generation-summary{margin-top:18px}.generation-disclaimer{font-size:8px}.small-dialog{padding:30px 25px}.small-dialog h2{font-size:25px}.processing{min-height:390px}.result video{max-height:260px}.library-info{font-size:9px;gap:10px}.empty-state{padding:55px 10px}.empty-state h2{font-size:21px}.library-card h3{font-size:12px}.library-actions{gap:5px}.library-actions a,.library-actions button{font-size:9px}.library-actions svg{width:12px}.toast{bottom:20px;font-size:10px;width:max-content;max-width:calc(100vw - 30px)}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Playable template previews: controls sit above the photographic overlay. */
.creator-preview>video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#17121f;z-index:2}
.creator-preview.video-active::after{display:none}
.creator-preview.video-active>.preview-bottom{display:none}
.creator-preview.video-active>.preview-top{z-index:3;pointer-events:none}
.preview-play{cursor:pointer;padding:0 0 0 3px;z-index:4;transition:background .2s,transform .2s}
.preview-play svg{width:22px;height:22px;fill:white;stroke:none}
.preview-play:hover{background:#ffffff50;transform:translate(-50%,-50%) scale(1.06)}
.preview-play:disabled{opacity:.55;cursor:wait}
.preview-footnote{position:absolute;top:61px;left:23px;right:15px;z-index:3;color:#ffffffc9;font-size:9px;pointer-events:none}
.preview-status{position:absolute;top:calc(47% + 49px);left:20px;right:20px;z-index:4;color:#fff;font-size:11px;text-align:center;text-shadow:0 1px 5px #000}
@media(max-width:570px){.creator-preview{height:230px}.creator-preview.video-active>.preview-top{opacity:0}.preview-play{display:grid;width:48px;height:48px;top:50%;left:75%}.preview-play svg{width:18px;height:18px}.creator-preview.video-active .preview-play{left:50%}.preview-footnote{top:10px;left:15px;font-size:8px}.preview-status{top:calc(50% + 31px);font-size:9px}.preview-bottom{right:25%}}
.preview-controls{position:absolute;z-index:5;bottom:18px;left:16px;right:16px;display:flex;align-items:center;gap:9px;padding:9px 10px;border:1px solid #ffffff25;border-radius:9px;background:#20192bd9;backdrop-filter:blur(12px);color:#fff}
.preview-controls button{color:inherit;padding:4px;font-size:12px;min-width:24px;min-height:28px}
.preview-controls #mute-preview{font-size:9px;min-width:42px;color:#d8cfe5}
.preview-controls>span{font-size:9px;white-space:nowrap;color:#d8cfe5;font-variant-numeric:tabular-nums}
.preview-controls input{accent-color:#bca4ff;min-width:25px;flex:1;width:100%;height:3px;cursor:pointer}
@media(max-width:570px){.preview-controls{bottom:10px;left:10px;right:10px;padding:6px 8px}.preview-controls button{min-height:28px}}
