/* Content-sized download step; the existing breakdown keeps its own full-height layout. */
.trends-capture[hidden]{display:none!important}
.trends-video-dialog.is-capturing{width:min(880px,calc(100% - 32px));height:fit-content;min-height:0;max-height:calc(100dvh - 32px)}
.is-capturing .trends-dialog-scroll{flex:0 1 auto;min-height:0}
.is-capturing .trends-dialog-layout,.is-capturing .trends-dialog-footer{display:none}
.trends-capture{--capture-ink:var(--purple);--capture-muted:#6b6073;display:grid;grid-template-columns:.85fr 1.15fr;background:var(--white);color:var(--capture-ink);font-family:var(--body)}
.trends-capture-preview{padding:2rem;background:radial-gradient(ellipse at 50% 35%,#e3c9fa90,transparent 70%),#f2ecf7;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:.85rem;overflow:hidden}
.trends-capture-format{font-size:.65rem;font-weight:600;letter-spacing:.1em}
.trends-capture-art{display:block;width:min(100%,220px);height:auto;align-self:center;margin:.3rem 0;transform:rotate(-7deg)}
.trends-capture-preview h3{font:600 1.85rem/1.06 var(--body);letter-spacing:-.05em;margin:0}
.trends-capture-includes{font-size:.82rem;line-height:1.55;color:var(--capture-muted);max-width:27ch}
.trends-capture-source{margin-top:.35rem;padding-top:1rem;border-top:1px solid #dcd0e5;width:100%;display:grid;gap:.3rem}
.trends-capture-creator{font-size:.76rem;font-weight:600;overflow-wrap:anywhere}
.trends-capture-edition{font-size:.7rem;color:var(--capture-muted)}
.trends-capture-content{padding:.75rem 2rem 1.65rem;min-width:0}
.trends-capture-back{display:inline-flex;align-items:center;gap:.3rem;min-height:44px;color:var(--capture-muted);font:inherit;font-size:.75rem;text-align:left;margin-bottom:.6rem;cursor:pointer}
.trends-capture-back svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.trends-capture-titlebar{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.trends-capture-content h2{font:600 clamp(2rem,3.1vw,2.65rem)/1.03 var(--body);letter-spacing:-.06em;margin:0 0 .65rem}
.trends-capture-content h2 span{color:#7925a4}
.trends-capture-mobile-art{display:none}
.trends-capture-intro{color:var(--capture-muted);font-size:.85rem;line-height:1.5;margin-bottom:1.1rem;max-width:35ch}
.trends-capture-form{display:grid;gap:.8rem}
.trends-capture-form>label:not(.trends-capture-permission){font-size:.75rem;font-weight:600;display:grid;gap:.35rem}
.trends-capture-form input:not([type=checkbox]){width:100%;min-width:0;min-height:48px;background:var(--white);border:1px solid #9c86ae;border-radius:10px;padding:.7rem .85rem;font:inherit;font-size:1rem;color:var(--capture-ink);box-sizing:border-box}
.trends-capture-form input::placeholder{color:#807188}
.trends-capture-permission{display:flex;align-items:flex-start;gap:.65rem;font-size:.75rem;line-height:1.5;font-weight:400;padding-top:.1rem;cursor:pointer}
.trends-capture-permission input{width:20px;height:20px;flex:none;accent-color:var(--capture-ink);margin-top:.12rem}
.trends-capture-permission small{display:block;font-size:.69rem;color:var(--capture-muted);margin-top:.2rem}
.trends-capture-privacy{color:var(--capture-muted);font-size:.7rem;line-height:1.5}
.trends-capture-privacy a{color:var(--capture-ink);text-decoration:underline;text-underline-offset:3px}
.trends-capture-submit{display:flex;justify-content:space-between;align-items:center;gap:.7rem;min-height:52px;border-radius:var(--r-pill);background:var(--neon);color:var(--capture-ink);font:600 .9rem var(--body);padding:.9rem 1.2rem;cursor:pointer;transition:background-color 160ms,transform 160ms}
.trends-capture-submit svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.trends-capture-submit:hover{background:#b9ff29}
.trends-capture-submit:active{transform:scale(.985)}
.trends-capture-submit:disabled{cursor:wait;opacity:.65}
.trends-capture-status{font-size:.75rem;color:#8b213d;line-height:1.5}
.trends-capture-status:empty{display:none}
.trends-capture :focus-visible{outline:3px solid #9c46d0;outline-offset:3px}
.is-capturing .trends-video-heading{padding:.35rem 1.5rem;flex:none}
.is-capturing .dialog-kicker{display:none}
@media(max-width:650px){.trends-video-dialog.is-capturing{width:calc(100% - 16px);max-width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.trends-capture{grid-template-columns:1fr}.trends-capture-preview{display:none}.trends-capture-content{padding:.25rem 1.2rem 1.3rem}.trends-capture-content h2{font-size:2rem;letter-spacing:-.055em}.trends-capture-mobile-art{display:block;width:64px;height:64px;flex:none;margin-bottom:.65rem}.trends-capture-intro{font-size:.82rem;margin-bottom:1rem}.trends-capture-back{margin-bottom:.5rem}.trends-capture-form{gap:.8rem}}
@media(prefers-reduced-motion:reduce){.trends-capture-submit{transition:none}}
