.cd-page{--cd-green:oklch(36% .075 163);--cd-ink:oklch(24% .025 163);--cd-red:oklch(49% .16 21);--cd-line:oklch(88% .015 163);--cd-soft:oklch(96% .015 163);color:var(--cd-ink);background:oklch(99% .003 163);min-height:100vh;font-family:Inter Variable,Inter,sans-serif}.cd-page *{box-sizing:border-box}.cd-page button,.cd-page a,.cd-page input{touch-action:manipulation}.cd-page button{cursor:pointer}.cd-page button:disabled{opacity:.5;cursor:not-allowed}.cd-page :focus-visible{outline:3px solid var(--cd-red);outline-offset:4px}.cd-page h1,.cd-page h2,.cd-page h3{text-wrap:balance}.cd-header{border-bottom:1px solid var(--cd-line);align-items:center;gap:32px;max-width:1240px;margin:auto;padding:22px 32px;display:flex}.cd-brand{white-space:nowrap;align-items:center;gap:10px;font-size:19px;font-weight:750;display:flex}.cd-header nav{gap:26px;margin-left:auto;font-size:13px;font-weight:600;display:flex}.cd-header-end{align-items:center;gap:12px;display:flex}.cd-login{border:1px solid var(--cd-line);border-radius:7px;align-items:center;gap:8px;max-width:160px;padding:10px 14px;font-size:13px;display:flex;overflow:hidden}.cd-hero{text-align:center;max-width:850px;margin:auto;padding:60px 24px 38px}.cd-season{color:var(--cd-red);justify-content:center;align-items:center;gap:8px;margin-bottom:20px;font-size:13px;font-weight:650;display:flex}.cd-hero h1{letter-spacing:-.04em;margin:0 0 22px;font-size:64px;font-weight:750;line-height:1.08}.cd-hero h1 span{color:var(--cd-green)}.cd-hero>p{color:oklch(43% .02 163);max-width:590px;margin:auto;font-size:16px;line-height:1.75}.cd-hero-meta{flex-wrap:wrap;justify-content:center;gap:22px;margin-top:24px;font-size:12px;display:flex}.cd-hero-meta span{align-items:center;gap:6px;display:flex}.cd-studio{border:1px solid var(--cd-line);background:#fff;border-radius:14px;grid-template-columns:1.05fr 1fr;max-width:1120px;margin:0 auto 80px;scroll-margin-top:20px;display:grid;overflow:hidden}.cd-editor{align-self:center;padding:30px}.cd-section-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.cd-section-top h2{letter-spacing:-.025em;font-size:21px;font-weight:700}.cd-credit{color:var(--cd-green);white-space:nowrap;background:oklch(94% .05 140);border-radius:5px;padding:6px 9px;font-size:11px;font-weight:700}.cd-selected{border:1px solid var(--cd-line);border-radius:8px;align-items:center;gap:13px;margin:24px 0;padding:12px;display:flex}.cd-selected img{object-fit:cover;border-radius:4px;width:44px;height:58px}.cd-selected div{gap:5px;display:grid}.cd-selected strong{font-size:14px}.cd-selected span{color:oklch(45% .025 163);font-size:12px}.cd-selected a{margin-left:auto;padding:10px}.cd-editor h3{font-size:14px;font-weight:650}.cd-hint{color:oklch(44% .025 163);margin:8px 0 18px;font-size:12px;line-height:1.65}.cd-photo-grid{gap:12px;display:grid}.cd-photo-slot{min-width:0;position:relative}.cd-role{align-items:center;gap:6px;min-height:32px;margin-bottom:6px;font-size:11px;font-weight:600;display:flex}.cd-role b{background:var(--cd-green);color:#fff;border-radius:50%;flex:none;place-items:center;width:20px;height:20px;display:grid}.cd-upload{background:var(--cd-soft);cursor:pointer;text-align:center;border:1px dashed oklch(69% .05 163);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:10px;height:158px;display:flex;position:relative;overflow:hidden}.cd-upload span{font-size:12px;font-weight:600}.cd-upload small{padding:0 8px;font-size:9px;line-height:1.5}.cd-upload input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.cd-upload:focus-within{outline:3px solid var(--cd-red);outline-offset:3px}.cd-upload img{object-fit:contain;width:100%;height:100%}.cd-replace{background:var(--cd-green);color:#fff;width:100%;padding:6px;position:absolute;bottom:0}.cd-remove{background:#fff;border-radius:50%;padding:5px;position:absolute;top:44px;right:5px}.cd-consent{align-items:flex-start;gap:8px;margin:20px 0;font-size:11px;line-height:1.5;display:flex}.cd-consent input{accent-color:var(--cd-green);flex:none;width:15px;height:15px}.cd-primary{background:var(--cd-green);color:#fff;border-radius:8px;justify-content:center;align-items:center;gap:10px;min-height:50px;font-size:14px;font-weight:650;display:flex}.cd-generate{width:100%}.cd-generate>svg:last-child{margin-left:auto}.cd-generate>svg:first-child{margin-right:auto}.cd-generate{padding:12px 17px}.cd-private{text-align:center;color:oklch(45% .025 163);margin:12px 0 0;font-size:10px}.cd-preview{background:oklch(92% .035 163);flex-direction:column;align-items:center;gap:15px;padding:22px 25px 16px;display:flex}.cd-preview-top,.cd-preview-bottom{justify-content:space-between;align-items:center;width:100%;font-size:11px;font-weight:600;display:flex}.cd-preview video{aspect-ratio:9/16;object-fit:contain;background:oklch(20% .015 163);border-radius:8px;width:auto;max-width:100%;height:480px}.cd-preview-bottom a{align-items:center;gap:8px;display:flex}.cd-preview-empty{text-align:center;place-content:center;gap:20px;height:480px;display:grid}.cd-preview-empty svg{margin:auto}.cd-gallery,.cd-how,.cd-faq{max-width:1120px;margin:0 auto 80px;scroll-margin-top:25px}.cd-gallery-heading{justify-content:space-between;align-items:end;gap:25px;margin-bottom:24px;display:flex}.cd-gallery h2,.cd-how h2,.cd-faq h2{letter-spacing:-.03em;font-size:30px;font-weight:700;line-height:1.2}.cd-gallery-heading p{color:oklch(43% .025 163);margin-top:12px;font-size:13px;line-height:1.6}.cd-filters{flex:none;gap:4px;display:flex}.cd-filters button{border-radius:6px;padding:8px 12px;font-size:12px}.cd-filters button[aria-pressed=true]{background:var(--cd-green);color:#fff}.cd-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;display:grid}.cd-template-video{position:relative}.cd-template-video video{aspect-ratio:9/13;object-fit:cover;background:var(--cd-soft);border-radius:9px;width:100%}.cd-template-video>span{color:#fff;background:oklch(20% .02 163);border-radius:4px;padding:4px 7px;font-size:10px;position:absolute;top:8px;right:8px}.cd-template-info{justify-content:space-between;align-items:center;gap:8px;margin-top:13px;display:flex}.cd-template-info h3{font-size:14px;font-weight:650}.cd-template-info>span{white-space:nowrap;align-items:center;gap:4px;font-size:10px;display:flex}.cd-source{color:oklch(43% .025 163);margin:8px 0 13px;font-size:10px}.cd-source a{text-underline-offset:3px;text-decoration:underline}.cd-select{border:1px solid var(--cd-line);border-radius:6px;justify-content:center;align-items:center;gap:9px;width:100%;padding:10px 12px;font-size:12px;display:flex}.cd-select:hover{background:var(--cd-soft)}.cd-how{border-top:1px solid var(--cd-line);padding-top:48px}.cd-how>div{grid-template-columns:repeat(3,1fr);gap:50px;margin-top:34px;display:grid}.cd-how article>span{color:var(--cd-red);font-size:13px;font-weight:750}.cd-how h3{margin:12px 0;font-size:17px;font-weight:650}.cd-how p{color:oklch(43% .025 163);font-size:13px;line-height:1.8}.cd-faq{grid-template-columns:.8fr 1.2fr;gap:60px;display:grid}.cd-faq details{border-bottom:1px solid var(--cd-line);padding:18px 0}.cd-faq summary{cursor:pointer;font-size:14px;font-weight:600}.cd-faq p{color:oklch(43% .025 163);margin-top:12px;font-size:13px;line-height:1.8}.cd-footer{border-top:1px solid var(--cd-line);justify-content:space-between;gap:30px;max-width:1184px;margin:auto;padding:32px;display:flex}.cd-footer p{margin-top:12px;font-size:12px}.cd-footer>div:last-child{flex-wrap:wrap;align-content:center;gap:20px;max-width:350px;font-size:12px;display:flex}.cd-footer>div:last-child span{color:oklch(43% .025 163);width:100%;font-size:10px}.cd-library{max-width:1120px;min-height:65vh;margin:55px auto}.cd-library h1{margin-bottom:16px;font-size:36px;font-weight:700}.cd-library>p{margin-bottom:30px}.cd-result-card video{border-radius:8px;width:100%}.cd-result-card small{font-size:10px}.cd-result-status{background:var(--cd-soft);border-radius:8px;min-height:200px;padding:24px;font-size:13px}.cd-result-status button{margin-top:15px;text-decoration:underline}.cd-text-link{align-items:center;gap:8px;padding:12px 0;font-size:12px;display:flex}.cd-spin{animation:1s linear infinite cd-spin}@keyframes cd-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.cd-spin{animation:none}}@media (width<=1180px){.cd-studio,.cd-gallery,.cd-how,.cd-faq,.cd-library{margin-left:28px;margin-right:28px}.cd-header{gap:20px}.cd-header nav{gap:16px}.cd-section-top{flex-wrap:wrap}.cd-gallery-grid{gap:14px}.cd-template-info{flex-direction:column;align-items:start}}@media (width<=760px){.cd-header{flex-wrap:wrap;gap:14px;padding:16px 20px}.cd-brand{font-size:16px}.cd-header-end{margin-left:auto}.cd-header nav{border-top:1px solid var(--cd-line);order:3;justify-content:center;width:100%;padding-top:14px}.cd-login{padding:8px;font-size:11px}.cd-hero{padding-top:38px}.cd-hero h1{font-size:43px}.cd-hero>p{font-size:14px}.cd-hero-meta{gap:14px;font-size:10px}.cd-studio{grid-template-columns:1fr;margin:0 16px 55px}.cd-editor{padding:22px}.cd-preview{padding:20px}.cd-preview video{height:380px}.cd-gallery,.cd-how,.cd-faq,.cd-library{margin-bottom:55px;margin-left:20px;margin-right:20px}.cd-gallery-heading{display:block}.cd-filters{margin-top:20px}.cd-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.cd-gallery h2,.cd-how h2,.cd-faq h2{font-size:26px}.cd-how>div{grid-template-columns:1fr;gap:25px}.cd-how h3{margin:6px 0}.cd-faq{grid-template-columns:1fr;gap:18px}.cd-footer{flex-direction:column;padding:25px 20px}.cd-role{font-size:10px}.cd-upload{height:140px}.cd-upload small{font-size:8px}.cd-hero h1{letter-spacing:-.035em}}@media (width<=380px){.cd-hero h1{font-size:36px}.cd-editor{padding:16px}.cd-header-end{gap:2px}.cd-brand{font-size:14px}.cd-header{padding:14px}.cd-photo-grid{gap:7px}}
