/* Clip progress: a gradient bar (no percentage) that glides forward, and the full-screen "making your clip" layer. */
.story-progress{margin:0 0 22px}
.shards-bar{position:relative;height:10px;border-radius:999px;background:#ece6fa;overflow:hidden;box-shadow:inset 0 1px 2px #2b1a5214}
/* The gradient spans the whole bar and is revealed from the left, so its colour shifts as the clip progresses. */
.shards-bar>i{position:absolute;inset:0;border-radius:inherit;background:var(--shards-gradient,linear-gradient(115deg,#0759e9 0%,#7024e9 60%,#b926bc 100%));clip-path:inset(0 100% 0 0 round 999px)}
.shards-bar>i:after{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(100deg,transparent 0 38%,#ffffff66 50%,transparent 62%) 0 0/220% 100% no-repeat;animation:shards-sheen 2.4s linear infinite}
@keyframes shards-sheen{from{background-position:160% 0}to{background-position:-60% 0}}
.story-progress-label{display:block;margin-top:12px;font-size:13px;color:var(--muted);text-align:center}
.story-progress-figure{display:none}
body.busy{overflow:hidden}
.shards-busy{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:24px;background:rgba(22,18,38,.64);backdrop-filter:blur(7px) saturate(.75);-webkit-backdrop-filter:blur(7px) saturate(.75);animation:shards-fade .35s ease-out}
.shards-busy-inner{display:flex;flex-direction:column;align-items:center;width:min(520px,100%);text-align:center}
.shards-busy-logo{display:block;width:min(48vh,400px);max-width:86vw;height:auto;margin:0 0 6px;filter:drop-shadow(0 22px 44px #6a3be055)}
.shards-busy .story-progress{width:min(440px,84vw);margin:0}
.shards-busy .shards-bar{height:12px;background:#ffffff1c;box-shadow:inset 0 0 0 1px #ffffff12,0 0 30px #7024e933}
.shards-busy .story-progress-label{color:#f4f0ff;font-size:16px;font-weight:600;letter-spacing:-.1px;margin-top:20px}
.shards-busy-note{color:#c9c1e4;font-size:13px;line-height:1.5;margin:8px 0 0;max-width:380px}
.shards-busy-hide{margin-top:28px;padding:6px 10px;border:0;background:none;color:#b3aad3;font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:3px;cursor:pointer;border-radius:6px}
.shards-busy-hide:hover{color:#fff}.shards-busy-hide:focus-visible{outline:2px solid #fff;outline-offset:2px}
@keyframes shards-fade{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.shards-bar>i:after,.shards-busy{animation:none}}
/* Context page: one form, readable width. */
.context-form{max-width:760px}.context-form .helper{margin:6px 0 0;font-size:12px}
/* Retention: originals are deleted after 24 hours; exported clips are kept. */
.keep-note{margin:10px 0 0;font-size:12px;line-height:1.5;color:var(--muted)}
.focus-drop .keep-note{margin:8px 0 0;font-size:11px}
.studio-keep{text-align:center;margin:-12px auto 20px;max-width:560px}
.pg-export .keep-note{margin:6px 0 8px}
/* Plans: chosen through Stripe Checkout; there is no free trial. */
.focus-home.choosing{max-width:1000px}
.plans-pick{margin-top:0;align-items:stretch}
.plan-card{display:flex;flex-direction:column;border-radius:16px;padding:26px 24px;background:#fff}
.plan-card .price{font-size:34px;font-weight:600;letter-spacing:-1px;margin:10px 0 4px}
.plan-card .plan-list{flex:1;margin:16px 0 22px}
.plan-card .plan-list li:before{color:#7024e9}
.plan-card .btn{width:100%;padding:12px}
.plan-card.current{border-color:#c9b5f3;box-shadow:0 0 0 3px #7024e914}
.plans-note{text-align:center;margin:18px 0 0;font-size:12px;color:var(--muted)}
.plans-note code{font-size:11px;background:#f3effc;padding:2px 6px;border-radius:5px}
.plan-current{display:flex;justify-content:space-between;align-items:center;gap:20px}
.plan-current h2{font-size:22px;margin:4px 0}
.plan-current p{margin:0;font-size:13px}
.meters{grid-template-columns:repeat(4,1fr)}
.meters .meter{height:6px;border-radius:4px;background:#eee8fa;overflow:hidden;margin:10px 0 8px}
.meters .meter i{display:block;height:100%;width:0;background:var(--shards-gradient);border-radius:4px}
@media(max-width:850px){.meters{grid-template-columns:1fr}.meters .summary{display:block}.plan-current{flex-direction:column;align-items:flex-start}}
/* Video type: talking (story from what is said) or visual (strongest moments on screen). */
.story-kind{padding:0;border:0;margin:0 0 24px}
.story-kind legend{font-size:12px;margin-bottom:12px;color:var(--muted)}
.story-kind-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.story-kind-option{position:relative;margin:0;font-weight:400;cursor:pointer}
.story-kind-option input{position:absolute;top:0;left:0;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}
.story-kind-option span{display:block;height:100%;padding:14px 16px;border-radius:12px;border:1px solid #e3e9f2;background:#fff;color:var(--ink)}
.story-kind-option b{display:block;font-size:14px;font-weight:600;margin-bottom:4px}
.story-kind-option small{display:block;font-size:11px;line-height:1.45;color:var(--muted)}
.story-kind-option input:checked+span{border-color:#7024e9;background:#f6f1ff;box-shadow:0 0 0 3px #7024e914}
.story-kind-option input:focus-visible+span{outline:2px solid #7024e9;outline-offset:3px}
.story-kind-option input:disabled+span{opacity:.45;cursor:not-allowed}
.story-kind .helper{margin-top:8px}
@media(max-width:620px){.story-kind-options{grid-template-columns:1fr}}

/* "See analysis checks" under a stopped clip */
.analysis-checks ul{margin:8px 0 0;padding-left:18px}.analysis-checks li{margin:4px 0;line-height:1.45}.analysis-checks .helper{display:block}
