.ad-library-link{display:inline-flex;align-items:center;gap:12px;margin:20px auto 6px;padding:11px 18px;border:1px solid #ded7ef;border-radius:100px;font-size:14px;font-weight:650;text-decoration:none;background:#fff;color:#5134a9}.ad-library-link span{background:#f1ebff;border-radius:20px;padding:1px 8px;font-size:12px}.ad-card-remix{position:absolute;z-index:5;bottom:16px;left:14px;right:14px;border:1px solid #ffffff70;border-radius:10px;background:#fff;color:#302140;padding:12px;font-family:inherit;font-weight:650;font-size:14px;line-height:1.2;cursor:pointer;box-shadow:0 6px 20px #0002}.real-ad-credit{bottom:75px!important}.real-ad-player video{padding-bottom:54px}.real-ad-player .real-ad-fallback{bottom:75px}.ad-dialog .ad-inspect-actions .ad-primary{background:#683ce5;color:white}
.remix-dialog{box-sizing:border-box;width:min(1060px,94vw);max-height:92dvh;padding:0;border:1px solid #e6e1ee;border-radius:24px;background:#fff;color:#252031;box-shadow:0 30px 120px #1b0d5240;font:15px/1.5 Inter,system-ui,sans-serif;overflow:hidden}.remix-dialog *{box-sizing:border-box}.remix-dialog::backdrop{background:#1a122b99;backdrop-filter:blur(7px)}.remix-dialog button,.remix-dialog input,.remix-dialog select,.remix-dialog textarea{font:inherit}.remix-header{display:flex;align-items:center;justify-content:space-between;padding:21px 28px;border-bottom:1px solid #eee9f4;gap:20px}.remix-header span{font-size:10px;letter-spacing:1.5px;color:#7e65a1;font-weight:700}.remix-header h2{font-size:25px;letter-spacing:-.8px;margin:4px 0 0}.remix-close{width:36px;height:36px;border:1px solid #e8e0ef;border-radius:50%;background:#fff;color:#655473;cursor:pointer;font-size:24px!important;line-height:1}.remix-layout{display:grid;grid-template-columns:280px minmax(0,1fr);max-height:calc(92dvh - 100px);overflow:auto}.remix-reference{padding:25px;background:linear-gradient(145deg,#f3effc,#fbfaff);border-right:1px solid #e9e3f1}.remix-reference-media{position:relative;aspect-ratio:4/5;overflow:hidden;border-radius:14px;box-shadow:0 12px 30px #39224715}.remix-reference-media img{width:100%;height:100%;object-fit:cover}.remix-reference-media>div{position:absolute;inset:auto 0 0;padding:28px 16px 14px;background:linear-gradient(transparent,#110925cb);color:white;display:grid;gap:4px}.remix-reference-media span{font-size:9px;letter-spacing:1px}.remix-reference-media strong{font-size:22px}.remix-reference h3{font-size:18px;line-height:1.35;letter-spacing:-.3px;margin:22px 0 10px}.remix-reference p{font-size:13px;color:#756b85;line-height:1.7}.remix-reference>a{color:#7258a5;font-size:12px;text-underline-offset:4px}.remix-form{padding:23px 30px 27px;min-width:0}.remix-steps{display:flex;gap:24px;padding:0;margin:0 0 28px;list-style:none;color:#9c94a7;font-size:12px}.remix-steps li{display:flex;gap:8px;align-items:center}.remix-steps b{display:grid;place-items:center;width:23px;height:23px;border:1px solid #e0d9e9;border-radius:50%;font-weight:500}.remix-steps [aria-current]{color:#653bc9}.remix-steps [aria-current] b{background:#6a40e8;border-color:#6a40e8;color:white}.remix-form h3{font-size:21px;letter-spacing:-.5px;margin:0 0 8px}.remix-form p{color:#83758e;font-size:13px;margin:0 0 20px}.remix-fields{display:grid;grid-template-columns:1fr 1fr;gap:17px 16px}.remix-fields label:first-child{grid-column:1/-1}.remix-form label{display:grid;gap:7px;font-size:12px;font-weight:600;color:#5e506d}.remix-form input:not([type=file]),.remix-form select,.remix-form textarea{width:100%;padding:11px 12px;border:1px solid #e0d9e9;background:#fff;border-radius:9px;font-size:14px;color:#372947;outline:none;min-width:0}.remix-form input:focus,.remix-form textarea:focus,.remix-form select:focus{border-color:#9075d6;box-shadow:0 0 0 3px #8457e610}.remix-form textarea{resize:vertical;min-height:80px;line-height:1.5}.remix-upload{padding:16px;border:1px dashed #d8cee8;background:#fcfaff;border-radius:12px;margin-top:19px}.remix-upload small{font-size:11px;color:#8b7a9d;font-weight:400}.remix-upload input[type=file]{width:100%;font-size:12px}.remix-upload input::file-selector-button{border:0;padding:8px 11px;border-radius:7px;background:#eee8f9;color:#5b398f;cursor:pointer;margin-right:12px}.remix-upload img{height:80px;max-width:120px;object-fit:contain;border-radius:8px}.remix-footer{margin-top:24px;padding-top:21px;border-top:1px solid #eee8f4;display:flex;flex-wrap:wrap;gap:10px}.remix-footer button{padding:12px 17px;border-radius:10px;font-size:13px;font-weight:650;cursor:pointer}.remix-submit{flex:1;background:#6b3dea;color:white;border:1px solid #6b3dea;box-shadow:0 5px 12px #6b3dea1f}.remix-back{background:#fff;border:1px solid #e1d9ed;color:#725d87}.remix-footer small{flex-basis:100%;font-size:11px;color:#92809e;line-height:1.6}.remix-form p.remix-error{color:#a03047;margin:12px 0 0}.remix-hooks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:14px 0 18px}.remix-hooks button{padding:13px 12px;border:1px solid #e6dfed;background:#fff;border-radius:10px;text-align:left;font-size:12px;color:#6d5b80;line-height:1.5;cursor:pointer;overflow-wrap:anywhere}.remix-hooks button[aria-pressed=true]{color:#5b2db5;border-color:#a58bdd;background:#f7f2ff;box-shadow:0 0 0 1px #a58bdd}.remix-custom-hook{margin-bottom:17px}.remix-format{margin-bottom:24px}.remix-story-heading small{display:block;color:#a08bac;font-size:11px;margin-bottom:14px}.remix-scenes{display:grid;gap:14px}.remix-scenes label>span{display:flex;align-items:center;gap:8px}.remix-scenes b{font-size:10px;font-weight:600;color:#936fbc}.remix-dialog [hidden]{display:none!important}.remix-dialog button:focus-visible{outline:3px solid #b6a1ec;outline-offset:3px}
@media(max-width:720px){.remix-dialog{width:96vw;border-radius:17px;max-height:95dvh}.remix-layout{grid-template-columns:1fr;max-height:calc(95dvh - 92px)}.remix-header{padding:18px 20px}.remix-header h2{font-size:22px}.remix-reference{display:grid;grid-template-columns:60px 1fr;gap:5px 14px;padding:14px 20px;border-right:0;border-bottom:1px solid #eee6f5}.remix-reference-media{grid-row:1/4;width:60px;height:74px;aspect-ratio:auto}.remix-reference-media>div{display:none}.remix-reference h3{font-size:14px;margin:0;align-self:end}.remix-reference p{display:none}.remix-reference>a{font-size:11px}.remix-form{padding:22px 20px}.remix-fields{gap:14px}.remix-steps{gap:17px;font-size:11px;margin-bottom:22px}.remix-hooks{grid-template-columns:1fr}.remix-hooks button{padding:10px 13px}.remix-footer{position:sticky;bottom:-23px;background:#fff;padding:16px 0 8px;z-index:1}.remix-form h3{font-size:19px}.remix-footer small{font-size:10px}}@media(prefers-reduced-motion:reduce){.remix-dialog *{scroll-behavior:auto!important}}

.rf-sidebar nav a.rf-inspiration-link{display:flex;align-items:center;gap:11px;padding:11px 13px;border-radius:10px;color:inherit;text-decoration:none;font-size:13px;font-weight:500}.rf-sidebar nav a.rf-inspiration-link:hover{background:#ede7f8}.rf-inspiration-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}

.remix-analysis{padding:20px;border:1px solid #e5dcf4;border-radius:15px;background:#faf7ff;margin-bottom:25px}
.remix-form .remix-analysis h3{font-size:17px;margin:0 0 12px}
.remix-analysis-heading{display:flex;align-items:center;gap:8px;font-size:12px;color:#7756a3;margin-bottom:8px}
.remix-status-dot{flex:0 0 7px;width:7px;height:7px;border-radius:50%;background:#8e66d3}
.remix-status-dot.is-working{animation:remix-pulse 1.5s ease-in-out infinite}
.remix-status-dot.is-ready{background:#2b926a}.remix-status-dot.is-failed{background:#b65562}
.remix-analysis h4{margin:9px 0 7px;font-size:17px;line-height:1.4;overflow-wrap:anywhere}
.remix-form .remix-analysis p{margin:8px 0 12px;line-height:1.65;color:#71617e;overflow-wrap:anywhere}
.remix-analysis-actions{display:flex;flex-wrap:wrap;gap:8px}
.remix-analysis-actions button{border:1px solid #dccbed;border-radius:8px;color:#6d4895;background:white;padding:8px 10px;font-size:11px;cursor:pointer;text-align:left}
.remix-analysis-actions [data-analysis-manual]{border-color:transparent;background:transparent;color:#8b7599;text-decoration:underline;text-underline-offset:3px}
.remix-analysis-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:15px 0}
.remix-analysis-stats span{display:flex;flex-direction:column;gap:2px;font-size:10px;line-height:1.5;color:#92819e}
.remix-analysis-stats b{font-size:20px;font-weight:600;color:#573870;font-variant-numeric:tabular-nums}
.remix-source-frames{display:flex;gap:9px;overflow-x:auto;padding:0 0 9px;scrollbar-width:thin;scrollbar-color:#d7c7e7 transparent}
.remix-source-frames figure{flex:0 0 79px;margin:0;background:#eee6f5;border-radius:8px;overflow:hidden}
.remix-source-frames img{display:block;width:79px;height:106px;object-fit:contain;background:#1c1526}
.remix-source-frames figcaption{font-size:10px;padding:5px 7px;font-variant-numeric:tabular-nums;color:#775b8b}
.remix-form .remix-analysis .remix-audio-note{padding:10px 12px;background:#efe8f7;border-radius:8px;color:#695277;font-size:11px;margin:9px 0}
.remix-analysis-content>small{font-size:10px;color:#9b8aa4;line-height:1.6;display:block}
.remix-source-notes{display:grid;gap:12px;margin:17px 0 0;padding-top:15px;border-top:1px solid #e7deef;font-size:12px}
.remix-source-notes dt{font-size:10px;font-weight:650;letter-spacing:.2px;color:#8a6b9e;margin-bottom:3px}
.remix-source-notes dd{margin:0;line-height:1.6;color:#6c577c;overflow-wrap:anywhere}
.remix-form .remix-analysis-status{font-size:12px;margin-bottom:8px}
.remix-output-options{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:0 0 22px}
.remix-output-options .remix-format{margin:0}
.remix-scene-card{border:1px solid #e9e0ef;background:#fff;border-radius:13px;padding:16px;min-width:0}
.remix-scene-card>header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px}
.remix-scene-card h4{margin:0;color:#6d458d;font-size:13px;font-weight:600}
.remix-scene-card>header>span{background:#f4effa;border-radius:20px;color:#8959a7;padding:3px 9px;font-size:11px;font-variant-numeric:tabular-nums}
.remix-scene-evidence{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;margin-bottom:15px;padding-bottom:13px;border-bottom:1px solid #f1eaf5}
.remix-scene-evidence figure{margin:0;align-self:start;overflow:hidden;border-radius:7px;background:#f5eff9}
.remix-scene-evidence img{display:block;width:76px;height:96px;object-fit:contain;background:#1c1526}
.remix-scene-evidence figcaption{padding:3px 7px;font-size:10px;color:#92799f;font-variant-numeric:tabular-nums}
.remix-source-time{font-size:9px;letter-spacing:.3px;color:#9c80af;font-variant-numeric:tabular-nums}
.remix-form .remix-scene-evidence p{font-size:11px;line-height:1.6;color:#89748f;margin:4px 0;overflow-wrap:anywhere}
.remix-scene-evidence b{font-weight:550;color:#725281}.remix-scene-evidence small{font-size:10px;line-height:1.5;color:#9c839d;display:block;margin-top:7px}
.remix-scene-card .remix-transition{grid-template-columns:1fr minmax(100px,135px);align-items:center;font-size:11px;margin-top:12px}
.remix-transition select{font-size:12px;padding:7px 10px}
.remix-submit:disabled{cursor:wait;background:#baabd7;border-color:#baabd7;box-shadow:none}
@keyframes remix-pulse{50%{opacity:.25;box-shadow:0 0 0 4px #8e66d312}}
@media(max-width:720px){.remix-analysis{padding:16px;margin-bottom:21px}.remix-analysis h4{font-size:15px}.remix-analysis-stats b{font-size:18px}.remix-source-frames figure{flex-basis:68px}.remix-source-frames img{width:68px;height:90px}.remix-scene-card{padding:13px}.remix-output-options{gap:10px}.remix-scene-evidence{grid-template-columns:60px minmax(0,1fr);gap:10px}.remix-scene-evidence img{width:60px;height:80px}.remix-analysis-actions button{min-height:38px}}
@media(prefers-reduced-motion:reduce){.remix-status-dot.is-working{animation:none}}

/* Keep the completed analysis compact; the full source notes stay available on demand. */
.remix-analysis[data-state=ready]{position:relative;padding:14px 16px;margin-bottom:20px}
.remix-form .remix-analysis[data-state=ready] h3{font-size:15px;line-height:21px;margin-bottom:6px}
.remix-form .remix-analysis .remix-analysis-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-height:34px;font-size:12px;line-height:17px;margin:0 0 8px}
.remix-analysis[data-state=ready] .remix-analysis-stats{margin:0 0 8px;gap:10px}
.remix-analysis[data-state=ready] .remix-analysis-stats span{flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:4px;font-size:10px;line-height:15px}
.remix-analysis[data-state=ready] .remix-analysis-stats b{font-size:12px;line-height:15px}
.remix-analysis[data-state=ready] .remix-source-frames{gap:7px;padding-bottom:4px;margin-bottom:5px}
.remix-analysis[data-state=ready] .remix-source-frames figure{flex-basis:46px;border-radius:5px}
.remix-analysis[data-state=ready] .remix-source-frames img{width:46px;height:52px}
.remix-analysis[data-state=ready] .remix-source-frames figcaption{font-size:9px;line-height:12px;padding:1px 4px}
.remix-analysis-details>summary{cursor:pointer;font-size:11px;line-height:18px;color:#6d4895;border-radius:4px}
.remix-analysis-details>summary>span{text-decoration:underline;text-underline-offset:3px}
.remix-analysis-details>summary>small{float:right;margin-left:12px;font-size:10px;color:#796786;text-decoration:none}
.remix-analysis-details>summary:focus-visible{outline:3px solid #b6a1ec;outline-offset:3px}
.remix-analysis-details[open]>summary{margin-bottom:12px}
.remix-analysis-expanded{border-top:1px solid #e7deef;padding-top:3px}
.remix-analysis-expanded>small{font-size:10px;line-height:1.6;color:#8d779c;display:block}
.remix-analysis[data-state=ready] .remix-analysis-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:520px){.remix-analysis[data-state=ready]{padding:12px}.remix-analysis-details>summary>small{float:none;display:block;margin:3px 0 0}.remix-analysis[data-state=ready] .remix-analysis-stats{gap:7px}.remix-analysis[data-state=ready] .remix-analysis-stats span{display:block}.remix-analysis[data-state=ready] .remix-analysis-stats b{margin-right:4px}}
