@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#0a0b0d;--surface:#131418;--raised:#1b1c21;--border:rgba(255,255,255,.12);--pink:#ff4fa3;--muted:#a6a7b0;font-family:Inter,system-ui,sans-serif;color:#fff;background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:0;color:inherit;background:transparent;font-weight:700;transition:transform .15s}button:active:not(:disabled){transform:scale(.97)}button:disabled{cursor:not-allowed;opacity:.42}button:focus-visible,input:focus-visible,select:focus-visible,.feed:focus-visible{outline:2px solid #fff;outline-offset:2px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2{font-family:Archivo,Inter,sans-serif;letter-spacing:-.055em;line-height:1.02;font-weight:900}em{font-style:normal;background:linear-gradient(180deg,#fff 5%,#9195a0 95%);background-clip:text;-webkit-background-clip:text;color:transparent}p{color:var(--muted);line-height:1.55;font-size:14px}small,.fine{font-size:11px;color:var(--muted);line-height:1.5}.stage{height:100dvh;min-height:380px;display:flex;align-items:center;justify-content:center;gap:clamp(30px,8vw,110px);padding:12px;background:radial-gradient(ellipse at 70% 45%,#202127 0,#0a0b0d 62%)}.intro{width:300px;max-width:35vw;display:grid;gap:16px}.wordmark{font-family:Archivo,Inter,sans-serif;font-size:28px;font-weight:900;letter-spacing:-2px;white-space:nowrap}.wordmark span{color:#a9aab3;margin-left:3px}.wordmark sup{font-size:9px;vertical-align:top;margin-left:4px}.intro>.wordmark{font-size:36px;margin-bottom:10px}.intro h1{font-size:clamp(34px,4vw,55px)}.eyebrow,.intro small{font-size:10px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:#aaa}.jump{display:grid;gap:4px}.jump button{text-align:left;border:1px solid transparent;padding:10px 12px;border-radius:9px;font-size:13px;color:#b4b5bd}.jump button:hover,.jump button.active{background:var(--raised);color:white;border-color:var(--border)}.secondary{border:1px solid var(--border);background:var(--surface);color:#fff;border-radius:12px;padding:12px}.reset{text-align:left;font-size:12px}.device{width:min(400px,calc((100dvh - 24px)*.48));height:min(864px,calc(100dvh - 24px));border:1px solid #555861;border-radius:48px;background:#050506;box-shadow:0 30px 100px #000b,inset 0 0 0 5px #15161a;position:relative;padding:9px;overflow:hidden;display:flex;flex-direction:column}.statusbar{height:35px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 22px;font-size:11px;font-weight:700;position:relative}.statusbar i{width:29%;height:23px;background:#000;border-radius:30px;position:absolute;left:50%;transform:translateX(-50%);border:1px solid #191a1e}.homebar{height:20px;display:grid;place-items:center;flex:none}.homebar:after{content:"";width:33%;height:4px;border-radius:4px;background:#c5c5c9}.app{position:relative;flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;background:var(--bg);border-radius:24px}header{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;z-index:4;flex:none;background:var(--bg);border-bottom:1px solid var(--border)}header .wordmark{font-size:23px}.locale{display:flex;gap:5px}select{border:1px solid var(--border);background:var(--surface);color:#fff;border-radius:8px;padding:6px;font-size:11px}.notice{position:absolute;z-index:8;top:57px;left:10px;right:10px;padding:10px;background:#22232b;border:1px solid var(--border);border-radius:10px;font-size:12px}main{min-height:0;flex:1;position:relative;overflow:hidden}main section{height:100%}.feed-page{position:relative}.segments{position:absolute;top:12px;left:50%;transform:translateX(-50%);display:flex;z-index:3;padding:3px;background:#111216bb;border:1px solid var(--border);border-radius:30px;white-space:nowrap;backdrop-filter:blur(12px)}.segments button{font-size:11px;padding:8px 12px;border-radius:30px;color:#ddd}.segments button[aria-pressed=true]{background:#fff;color:#111}.feed{height:100%;overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:none;overscroll-behavior:contain}.feed::-webkit-scrollbar{display:none}.slide{height:100%;min-height:310px;scroll-snap-align:start;scroll-snap-stop:always;position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;padding:16px 14px 18px;overflow:hidden;background:var(--art)}.slide:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#0007,transparent 26%,transparent 36%,#0009 69%,#09090bf5 95%)}.placeholder{position:absolute;top:37%;left:50%;transform:translate(-50%,-50%);color:#ffffff2d;font-family:Archivo,sans-serif;font-size:clamp(35px,8vh,80px);font-weight:900;letter-spacing:-.08em;line-height:.9;text-transform:uppercase;text-align:center;width:85%;pointer-events:none;overflow-wrap:anywhere}.art-label{position:absolute;top:calc(37% + 90px);left:50%;transform:translateX(-50%);font-size:9px;letter-spacing:.12em;color:#ffffff70;text-align:center;white-space:nowrap}.rail{position:absolute;right:12px;bottom:190px;display:grid;justify-items:center;gap:14px}.rail button{display:grid;justify-items:center;gap:5px;font-size:10px;text-shadow:0 1px 5px #000}.rail i,.round{display:grid;place-items:center;width:41px;height:41px;background:#18191d99;border:1px solid #ffffff35;border-radius:50%;font-style:normal;font-size:21px}.rail svg,nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.slide-info{z-index:1;display:grid;gap:7px;padding-right:55px}.slide-info h2{font-size:clamp(27px,4.8vh,48px);text-transform:uppercase;overflow-wrap:anywhere}.slide-info p{font-size:12px;color:#efeff2;line-height:1.35}.meta{font-size:10px;color:#d4d4dc}.tags{display:flex;align-items:center;gap:8px}.badge{font-size:9px;letter-spacing:.04em;font-weight:800;border-radius:5px;background:#fff;color:#111;padding:4px 6px;width:max-content}.badge.exclusive{background:var(--pink);color:#111}.primary{border-radius:12px;background:#fff;color:#0b0b0e;min-height:47px;padding:12px 14px;width:100%;display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:800}.slide>.primary{z-index:1;margin-top:13px}.progress{position:absolute;bottom:0;left:0;height:2px;background:#ffffff35;width:100%;overflow:hidden}.progress:after{content:"";display:block;height:100%;width:0;background:white}.slide.inview .progress:after{animation:progress var(--duration) linear forwards}@keyframes progress{to{width:100%}}.hint{position:absolute;top:65px;left:50%;transform:translateX(-50%);font-size:10px;color:#fff;background:#0005;padding:7px 10px;border-radius:20px;white-space:nowrap;animation:hint 1.7s infinite}@keyframes hint{50%{opacity:.5;translate:0 4px}}.feed.grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:58px 10px 12px;scroll-snap-type:none;align-content:start}.feed.grid .slide{height:210px;min-height:0;border-radius:12px;padding:9px;scroll-snap-align:none;cursor:pointer}.feed.grid .slide-info{padding:0}.feed.grid h2{font-size:18px}.feed.grid .rail,.feed.grid .slide-info p,.feed.grid .primary,.feed.grid .progress,.feed.grid .hint,.feed.grid .art-label{display:none}.feed.grid .placeholder{font-size:35px}.feed.grid .meta{font-size:9px}.page{overflow:auto;padding:20px 15px;display:flex;flex-direction:column;gap:14px}.page h1{font-size:32px}.page h2{font-size:26px}.page .big{font-size:43px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.balance{border:1px solid var(--border);border-radius:30px;padding:7px 12px;font-size:12px}.packs{display:grid;gap:9px}.pack{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid var(--border);padding:12px;background:var(--surface);border-radius:13px;width:100%}.pack.selected{border-color:#fff;background:var(--raised)}.radio{width:17px;height:17px;border:1px solid #777;border-radius:50%;flex:none}.selected .radio{box-shadow:inset 0 0 0 4px var(--raised);background:white;border-color:white}.pack .price{margin-left:auto;font-weight:800;font-size:20px;white-space:nowrap}.pack-content{display:grid;gap:5px}.pack-content small{font-size:10px}.account-card{display:flex;align-items:center;justify-content:space-between;padding:14px;border:1px solid var(--border);background:var(--surface);border-radius:13px}.account-card strong{display:block;font-size:26px}.account-card button{font-size:11px;border-radius:8px;background:white;color:#000;padding:10px}.avatar{background:var(--raised);border:1px solid var(--border);width:72px;height:72px;display:grid;place-items:center;border-radius:50%;font-size:28px;font-weight:800}.page form{display:grid;gap:8px}.page input{background:var(--surface);border:1px solid var(--border);color:#fff;padding:12px;border-radius:10px;width:100%}.page label{font-size:12px}.collage{display:grid;grid-template-columns:1fr 1fr;gap:8px}.collage div{height:85px;border-radius:10px;border:1px solid var(--border);padding:10px;font-weight:900;font-size:20px;background:linear-gradient(140deg,#41434d,#17181e);display:grid;align-content:space-between}.collage div:last-child{grid-column:span 2;height:110px;background:linear-gradient(150deg,#3f3a4d,#191a20)}.collage span{font-size:11px;font-weight:500}.steps{font-size:12px;padding-left:22px;display:grid;gap:12px;color:#ddd}.jobs{display:grid;grid-template-columns:1fr 1fr;gap:10px}.job{border:1px solid var(--border);border-radius:12px;background:var(--surface);padding:16px;min-height:120px;display:grid;align-content:end;gap:8px}.jobs>.empty{grid-column:span 2;border:1px dashed var(--border);border-radius:14px;padding:35px 12px;text-align:center}.jobs .failed{border-color:var(--pink)}nav{height:64px;flex:none;display:flex;align-items:center;gap:3px;padding:5px 6px;background:var(--bg);border-top:1px solid var(--border);z-index:4}nav button{display:grid;justify-items:center;align-content:center;gap:3px;flex:1;min-width:0;font-size:9px;font-weight:600;color:#b8b8bf;height:54px;border-radius:11px;padding:3px 0}nav button.active{background:var(--raised);color:white}nav button i{display:grid;place-items:center}nav button small{font-size:8px;line-height:1;max-width:100%;white-space:nowrap}nav .studio-tab i{background:#fff;color:#111;border-radius:20px;width:40px;height:24px}nav .studio-tab svg{height:15px}.sheet{position:absolute;inset:auto 0 0;width:100%;max-width:100%;max-height:92%;margin:0;padding:12px 15px 20px;border:1px solid var(--border);border-radius:22px 22px 0 0;background:var(--surface);color:white;overflow:auto}.sheet[open]{display:grid;gap:14px;animation:enter .2s ease-out}.sheet::backdrop{background:#000a}.handle{height:4px;background:#65656e;border-radius:9px;width:32px;margin:auto}.sheet-head{display:flex;gap:10px;align-items:center}.sheet-head h2{font-size:21px}.sheet-head p{font-size:11px}.thumb{width:50px;height:66px;flex:none;border:1px solid var(--border);border-radius:9px;background:var(--art,#34343a)}.sheet-head .round{margin-left:auto;flex:none;width:32px;height:32px}.sheet h3{font-size:14px}.slots{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}.slot{flex:0 0 43%;min-height:160px;aspect-ratio:3/4;scroll-snap-align:start;border:1px dashed #60616a;border-radius:12px;position:relative;overflow:hidden;display:grid;align-content:center;justify-items:center;text-align:center;gap:8px;background:#1b1c21;padding:10px}.slot:only-child{flex-basis:100%;height:200px;aspect-ratio:auto}.slot input{position:absolute;width:1px;height:1px;opacity:0}.slot label{cursor:pointer;display:grid;gap:5px;justify-items:center;font-size:12px;font-weight:700}.slot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.slot .remove{position:absolute;top:6px;right:6px;background:#000a;border-radius:50%;width:28px;height:28px;font-size:18px}.slot .slot-name{z-index:1;background:#000a;border-radius:6px;padding:5px;font-size:10px}.slot .change{z-index:1;position:absolute;bottom:7px;background:white;color:#111;border-radius:6px;padding:6px 10px}.consent{display:flex;align-items:center;gap:9px;font-size:11px;color:#ddd}.consent input{accent-color:white}#generate{justify-content:space-between}#genCost{background:#ddd;padding:5px 8px;border-radius:8px;font-size:11px}@keyframes enter{from{transform:translateY(35px);opacity:.5}}[hidden]{display:none!important}
@media(max-width:560px){.stage{padding:0;display:block;background:var(--bg)}.intro,.statusbar,.homebar{display:none}.device{width:100%;height:100dvh;border:0;border-radius:0;padding:0;box-shadow:none}.app{border-radius:0;padding-top:env(safe-area-inset-top)}nav{height:calc(64px + env(safe-area-inset-bottom));padding-bottom:calc(5px + env(safe-area-inset-bottom))}.slide-info h2{font-size:44px}.sheet{padding-bottom:calc(20px + env(safe-area-inset-bottom))}}@media(max-height:660px) and (min-width:561px){.intro{gap:8px}.intro h1{font-size:32px}.intro>.wordmark{margin:0}.jump button{padding:6px}.device{border-radius:32px}.statusbar{height:27px}.homebar{height:14px}.slide-info h2{font-size:28px}.slide-info p{font-size:10px}.rail{bottom:160px}.rail i{width:33px;height:33px}.slide{padding:10px;min-height:0}.slide>.primary{min-height:37px;margin-top:8px}.page{padding:14px 10px}.placeholder{font-size:40px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.sheet{position:fixed;left:var(--sheet-left,0px);right:auto;bottom:var(--sheet-bottom,0px);width:var(--sheet-width,100%);max-height:var(--sheet-height,92dvh);max-width:none}#slotError{color:var(--pink)}.slot:focus-within{outline:2px solid white;outline-offset:-2px}.slot .slot-name{pointer-events:none}.slot label{position:relative;z-index:2}.slot .change{position:absolute}.slot .remove{z-index:3}.page .secondary.primary{color:white;background:var(--surface)}
/* Full web application, not a simulated phone. K4K white primary action. */
:root{--bg:#101012;--surface:#19191d;--raised:#26262b}
.stage{background:#101012;position:relative;padding:16px 0 16px 88px;gap:0;min-height:0;height:100dvh;overflow:hidden}
.device{border:0;border-radius:20px;padding:0;box-shadow:none;background:none;width:min(calc((100dvh - 32px)*.5625),calc(100vw - 240px),520px);height:min(calc(100dvh - 32px),calc((100vw - 240px)*1.77778),924px);overflow:visible}
.app{border-radius:20px;overflow:hidden;background:var(--bg)}
header{height:48px;background:transparent;border:0;position:absolute;top:0;left:0;right:0;justify-content:center;pointer-events:none}
header .wordmark{pointer-events:auto;font-size:25px;text-shadow:0 2px 12px #0008}
header .locale{position:absolute;right:10px;top:10px;pointer-events:auto;gap:3px}
.locale select{background:#18181dd9;border-color:#ffffff20;font-size:10px;padding:5px 4px}
.segments{top:52px;background:transparent;border:0;backdrop-filter:none;padding:0;gap:20px;border-radius:0}
.segments button{padding:4px 0 9px;font-size:14px;border-radius:0;position:relative;text-shadow:0 1px 7px #0008}
.segments button[aria-pressed=true]{background:transparent;color:white}
.segments button[aria-pressed=true]:after{content:"";position:absolute;width:22px;height:3px;bottom:0;left:50%;transform:translateX(-50%);background:white;border-radius:8px}
.slide{padding:16px 16px 17px;min-height:0}
.slide:before{background:linear-gradient(180deg,#0008,transparent 22%,transparent 50%,#0004 69%,#000c 100%)}
.slide-info{gap:5px;padding-right:0}.slide-info h2{font-size:26px;text-transform:none;letter-spacing:-.045em}
.slide-info h2 em{background:none;color:white}.slide-info h2 em.highlight{background:var(--pink);color:#101012;padding:2px 5px;border-radius:6px;display:inline-block;transform:rotate(-3deg)}
.slide-info p{font-size:12px}.meta{font-size:11px}.tags .eyebrow{display:none}
.slide>.primary{min-height:48px;border-radius:40px;margin-top:12px;font-size:14px}
.hint{top:94px}.art-label{top:55%}.feed.grid{padding-top:90px}.feed.grid .slide{height:220px}.feed.grid .slide-info h2{font-size:19px}
.notice{top:88px}.page{padding-top:64px}
.desktop-controls{display:none}
nav .nav-logo{display:none}
@media(min-width:761px){
.stage{--player-w:min(calc((100dvh - 32px)*.5625),calc(100vw - 240px),520px)}
nav{position:fixed;left:0;top:0;bottom:0;height:100dvh;width:88px;flex-direction:column;align-items:center;gap:12px;justify-content:flex-start;background:#101012;border:0;padding:23px 12px;z-index:9}
nav .nav-logo{display:grid;place-items:center;width:32px;height:32px;background:white;color:#101012;border-radius:9px;font:900 14px Archivo,sans-serif;letter-spacing:-1px;margin-bottom:15px}
nav button{flex:0 0 62px;width:64px;height:62px;font-size:11px;color:#a7a7ac;border-radius:10px;gap:7px}
nav button.active{background:transparent;color:white;font-weight:800}
nav button i svg{width:24px;height:24px}
nav .studio-tab i{width:52px;height:36px;border-radius:10px;box-shadow:0 4px 0 #a5a5a8}
nav .studio-tab svg{width:20px;height:20px}
nav button small{font-size:9px}
.rail{display:none}
.desktop-controls{display:flex;position:absolute;left:calc(50% + 44px + var(--player-w)/2 + 24px);top:16px;bottom:16px;width:54px;flex-direction:column;justify-content:flex-end;align-items:center;padding-bottom:74px;pointer-events:none;z-index:3}
.desktop-controls .arrows{position:absolute;top:22%;display:grid;gap:12px}
.desktop-controls .side-actions{display:grid;gap:20px;justify-items:center}
.desktop-controls button{pointer-events:auto;display:grid;justify-items:center;gap:7px;font-size:11px;font-weight:700;min-width:48px;padding:0}
.desktop-controls button>i,.desktop-controls .arrows button{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:#26262b;font-style:normal}
.desktop-controls .arrows button:disabled{opacity:.35}
.desktop-controls svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
}
@media(max-width:760px){.stage{display:block;padding:0}.device{width:100%;height:100dvh;border-radius:0}.app{border-radius:0;padding-top:env(safe-area-inset-top)}header{top:env(safe-area-inset-top)}nav{height:calc(64px + env(safe-area-inset-bottom));padding-bottom:calc(5px + env(safe-area-inset-bottom));background:#101012}.slide-info{padding-right:48px}.slide-info h2{font-size:32px}.rail{bottom:180px}.rail i{width:42px;height:42px}.slide>.primary{border-radius:32px}.page{padding-top:64px}.desktop-controls{display:none!important}}
@media(min-width:761px) and (max-height:600px){.desktop-controls{padding-bottom:20px}.desktop-controls .side-actions{gap:10px}.desktop-controls .arrows{top:15%}.desktop-controls button>i,.desktop-controls .arrows button{width:36px;height:36px}.slide-info h2{font-size:23px}.slide>.primary{min-height:36px}.hint{display:none}}

.slide video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;background:#101012}.slide video.landscape{object-fit:contain}.slide .placeholder,.slide .art-label{pointer-events:none}.desktop-controls button[aria-pressed=true] i{background:#fff;color:#111}

/* V0.8.6: original footage in the immersive discovery feed. */
.preview-slide{background:#101012}.preview-slide video{object-fit:contain}.preview-slide video.landscape{object-fit:contain}.preview-slide:before{background:linear-gradient(180deg,#0005,transparent 20%,transparent 60%,#09090bba 83%,#09090bf2 100%)}.preview-slide .slide-info h2{font-size:clamp(25px,4.6vh,42px);text-transform:none;letter-spacing:-.045em}.preview-slide .slide-info p{max-width:32ch}.feed.grid .preview-slide video{object-fit:contain}.feed.grid .preview-slide .slide-info h2{font-size:18px}.feed.grid .preview-slide .slide-info{padding:0}.preview-detail{position:fixed;inset:0;margin:auto;width:min(94vw,420px);max-height:92dvh;overflow:auto;background:#151517;color:#fff;border:1px solid #333;border-radius:18px;padding:0;z-index:20}.preview-detail::backdrop{background:#000b;backdrop-filter:blur(5px)}.preview-detail video{display:block;width:100%;height:min(48dvh,360px);object-fit:contain;background:#000}.preview-content{padding:20px;display:grid;gap:10px}.preview-content h2{font-size:28px;letter-spacing:-.04em}.preview-content p{margin:0;color:#bdbdc6}.preview-close{position:absolute;top:12px;right:12px;z-index:1;background:#000a}.preview-review{padding:13px;background:#202024;border:1px solid #38383e;border-radius:12px;display:grid;gap:6px;font-size:13px}.preview-detail .primary:disabled{opacity:.4;cursor:not-allowed}@media(prefers-reduced-motion:reduce){.preview-slide.inview .progress:after{animation:none}}

/* V0.8.7 — full-width light video library, independently scoped to Videos. */
body.library-view{color-scheme:light;background:#f7f7f5;color:#111216}
.library-view .stage{background:#f7f7f5}
.library-view .app{background:#f7f7f5;color:#111216;border-radius:0}
.library-view .device{width:100%;height:100%;border-radius:0}
.library-view header{display:none}
.library-view .notice{top:12px;left:auto;right:16px;max-width:290px;background:#fff;color:#45454b;border:1px solid #dededb;font-size:11px}
.library-view nav{background:#fff;color:#777984;border-color:#e3e3df}
.library-view nav button{color:#686a76;background:transparent}
.library-view nav button.active{color:#101012;font-weight:800;background:transparent}
.library-view nav button.active i{background:#121215;color:#fff;border-radius:999px;width:46px;height:29px}
.library-view nav .studio-tab i{background:#121215;color:#fff;box-shadow:0 4px 0 #9e9ea3}
.library-view nav .nav-logo{background:#101012;color:#fff}
.library-view nav button small{color:#686a76}
.library-view button:focus-visible{outline-color:#111216}
.library-page{position:relative;padding:20px 20px 0!important;display:flex;flex-direction:column;gap:0;background-color:#f7f7f5;background-image:radial-gradient(#e9e9e5 .7px,transparent .7px);background-size:24px 24px;overflow:auto}
.library-page .library-title{font-size:27px;letter-spacing:-.055em;line-height:1.15;color:#111216;flex:none}
.library-state,.library-member{position:relative;flex:1;min-height:0;display:flex;flex-direction:column}
.library-center{position:absolute;top:47%;left:50%;transform:translate(-50%,-50%);width:min(100%,540px);text-align:center;padding:0 12px}
.library-collage{display:flex;justify-content:center;align-items:center;margin:0 auto 25px;width:min(100%,450px);height:110px}
.library-collage video{display:block;background:linear-gradient(135deg,#b6b6be,#7b7c86);object-fit:cover;width:33%;height:84px;border-radius:15px;border:3px solid white;box-shadow:0 8px 26px #0002;opacity:.66;pointer-events:none}
.library-collage video:nth-child(1){transform:translateX(10px)}
.library-collage video:nth-child(2){z-index:1;opacity:1;width:42%;height:104px;border-radius:18px;flex-shrink:0;box-shadow:0 12px 30px #0003}
.library-collage video:nth-child(3){transform:translateX(-10px)}
.library-page h2{font-size:22px;letter-spacing:-.045em;color:#111216;line-height:1.2}
.library-center p{font-size:14px;color:#636570;margin:6px auto 0;line-height:1.5}
.library-bottom{position:relative;margin-top:auto;display:flex;justify-content:center;padding:18px 0 40px}
.library-cta{min-height:44px;min-width:178px;max-width:100%;padding:11px 22px;border:1px solid #dcdcd8;border-radius:999px;background:#fff;color:#141418;font-size:13px;font-weight:700;white-space:normal}
.library-cta:hover{background:#efefed}
.library-empty-icon{display:grid;place-items:center;margin:0 auto 20px;width:88px;height:68px;border-radius:16px;background:white;border:1px solid #e0e0dc;color:#777;font-size:34px}
.library-jobs{margin-top:24px;display:grid;gap:10px}
.library-jobs .job{background:#fff;border-color:#dededb;color:#111216}
.library-jobs .job small{color:#686a76}
@media(min-width:761px){.library-view .stage{padding:0 0 0 88px}.library-view nav{border-right:1px solid #e3e3df}.library-view .app{height:100%}.library-view .device{height:100%;max-height:none}.library-page{padding:18px 18px 0!important}}
@media(max-width:760px){.library-view .stage{padding:0}.library-page{padding:20px 16px 0!important}.library-page .library-title{font-size:25px}.library-center{top:44%}.library-collage{height:93px;max-width:330px;margin-bottom:20px}.library-collage video{height:66px}.library-collage video:nth-child(2){height:84px}.library-page h2{font-size:20px}.library-center p{font-size:13px}.library-bottom{padding-bottom:22px}.library-view nav{border-top:1px solid #e3e3df}.library-view .notice{top:50px}}

/* V0.8.8 — local-first creation and contextual credit preview */
.creation-dialog{color-scheme:light;position:fixed;inset:0;margin:auto;width:min(94vw,470px);max-height:94dvh;overflow:auto;padding:20px;background:#f7f7f5;color:#111216;border:1px solid #deded9;border-radius:22px;box-shadow:0 18px 70px #0007}
.creation-dialog::backdrop{background:#0009;backdrop-filter:blur(3px)}
.creation-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}
.creation-kicker{font-size:10px;color:#73747d;letter-spacing:.11em;font-weight:800}
.creation-head h2{font-size:28px;margin:5px 0}.creation-head p,.creation-dialog p{font-size:13px;color:#636570}.creation-close{flex:none;width:36px;height:36px;display:grid;place-items:center;background:white;border:1px solid #ddd;border-radius:50%;font-size:24px;color:#111}
#creationPhotos,#creationCredits{display:grid;gap:13px}.creation-dialog label{font-size:13px;color:#111216}.creation-dialog select{background:white;color:#111;border:1px solid #ccc;min-height:38px;font-size:14px}
.creation-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.creation-slot{min-width:0;padding:12px;display:grid;gap:8px;background:#fff;border:1px solid #ddd;border-radius:14px}.creation-slot input{position:absolute;width:1px;height:1px;opacity:0}.creation-slot:focus-within{outline:2px solid #111}.creation-slot img{width:100%;aspect-ratio:3/4;object-fit:contain;background:#eee;border-radius:8px}.creation-slot small{color:#686a76;overflow-wrap:anywhere}.creation-add{padding:14px 8px;border:1px dashed #bbb;border-radius:10px;text-align:center;cursor:pointer;font-weight:700}
.creation-primary,.creation-secondary{border-radius:999px;min-height:44px;padding:10px 16px;font-size:13px;font-weight:750}.creation-primary{background:#111216;color:white;width:100%}.creation-secondary{border:1px solid #d6d6d1;background:white;color:#111216}.creation-primary:disabled{opacity:.46}.creation-dialog button:focus-visible,.creation-dialog select:focus-visible{outline-color:#111216}.creation-consent{display:flex;align-items:flex-start;gap:8px}.creation-consent input{accent-color:#111216;flex:none}.creation-privacy{font-size:12px!important;color:#686a76!important}#creationError{color:#9b2638;min-height:0}#creationError:empty{display:none}
.creation-summary{background:white;border:1px solid #ddd;border-radius:14px;padding:13px;display:grid;gap:5px}.creation-packs{display:grid;gap:9px}.creation-pack{background:#fff;color:#111216;text-align:left;border:1px solid #ddd;border-radius:14px;padding:13px;display:grid;gap:5px}.creation-pack.selected{border:2px solid #111216;background:#f0f0ed}.creation-pack-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:17px}.creation-pack small{color:#656670}.creation-recommended{font-weight:750;color:#111!important}.creation-footer{position:sticky;bottom:-20px;background:#f7f7f5;padding:8px 0 12px;display:grid;gap:8px}.resume-creation{display:grid;gap:8px;padding:12px;border:1px solid #555;border-radius:12px}
@media(max-width:480px){.creation-dialog{width:100%;max-width:none;max-height:96dvh;inset:auto 0 0;border-radius:20px 20px 0 0;padding:16px 16px calc(16px + env(safe-area-inset-bottom))}.creation-footer{bottom:-16px}}


/* Customer library — dark portrait cards and immersive delivery. */
body.library-view{color-scheme:dark;background:#0c0d0f;color:#fff}
.library-view .stage,.library-view .app{background:#0c0d0f;color:#fff}
.library-view .library-page{background:linear-gradient(150deg,#191a1d 0,#0c0d0f 32%);padding:22px 16px 20px!important;gap:0}
.library-view .library-title{font-size:clamp(28px,5.3vw,40px);font-weight:900;color:white;letter-spacing:-.045em;line-height:1.1;margin:0 0 16px}
.library-chevron{font-size:.6em;vertical-align:middle}.library-storage-note{color:#a1a1aa;font-size:13px;line-height:1.5;margin:0 0 15px}.library-storage-note>span:first-child{font-size:20px;margin-right:5px;vertical-align:middle}.library-update{font-size:12px;color:#a1a1aa;margin:0 0 8px}.library-update:empty{display:none}
.library-view .library-jobs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;align-content:start;max-width:920px}
.library-view .library-card{width:100%;position:relative;aspect-ratio:9/16;overflow:hidden;background:linear-gradient(150deg,#292a2e,#141518 45%);border:1px solid #414247;border-radius:20px;isolation:isolate;text-align:left;padding:0;color:#fff}
.library-view .library-card video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;background:#17181a;z-index:-1}
.library-view .library-card:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#000b,transparent 30%);z-index:-1}
.library-card-title{position:absolute;bottom:15px;left:13px;right:10px;display:flex;align-items:center;gap:9px;font-size:clamp(12px,3vw,17px);font-weight:800;overflow-wrap:anywhere;color:#bcbcc3}
.library-card.ready .library-card-title{color:#fff}.library-play{background:white;border-radius:6px;color:#101012;display:grid;place-items:center;width:26px;height:26px;flex:none;font-size:13px}.library-card-state{position:absolute;top:12px;left:12px;right:auto;max-width:calc(100% - 24px);display:flex;align-items:center;gap:8px;border-radius:12px;background:#0d0e10c9;border:1px solid #45464a;padding:9px 11px;font-weight:750;font-size:12px;line-height:1.2}.library-spinner{width:17px;height:17px;border:2px solid #fff;border-right-color:transparent;border-radius:50%;animation:library-spin 1s linear infinite;flex:none}
@keyframes library-spin{to{transform:rotate(360deg)}}.library-card.failed .library-card-state{color:#ffb6b6}.library-card.uncertain .library-card-state{color:#f2d5a5}.library-view .library-card:disabled{opacity:1;cursor:default}
.library-view .library-center h2{color:#fff}.library-view .library-center p{color:#b4b4bd}.library-view .library-empty-icon{background:#232429;color:#bbb;border-color:#414247}.library-view .library-cta{background:white;color:#101012;border:0}.library-view nav{background:#0c0d0f;border-color:#292a2e;color:#b4b4bd}.library-view nav button{color:#a8a8b0}.library-view nav button.active{color:#fff;background:linear-gradient(145deg,#33343a,#1b1c20);border:1px solid #3d3e43;border-radius:16px}.library-view nav button.active i{background:transparent;color:white}.library-view nav .studio-tab i{background:white;color:#101012;box-shadow:0 4px 0 #a9a9ae}.library-view nav button small{color:#a8a8b0}.library-view .notice{background:#1d1e20;color:#eee;border-color:#414247}.library-view button:focus-visible{outline-color:white}
.customer-video{position:fixed;inset:0;margin:auto;padding:0;width:min(100vw,560px);max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;background:#090a0c;color:#fff;overflow:hidden;isolation:isolate;color-scheme:dark}
.customer-video::backdrop{background:#000e}.customer-video>video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:-2}.customer-video:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#000a 0%,transparent 23%,transparent 58%,#000c 83%,#090a0c 100%);z-index:-1;pointer-events:none}
.customer-video-top{position:absolute;top:calc(20px + env(safe-area-inset-top));left:20px;right:20px;display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.customer-video-top small{letter-spacing:.17em;color:#d0d0d5;font-size:11px;font-weight:750}.customer-video-top h2{margin:4px 0 0;font-size:22px;font-weight:850;overflow-wrap:anywhere}.customer-video-actions{display:flex;gap:8px;flex:none}.customer-video-actions button{border:1px solid #626269;border-radius:13px;width:46px;height:46px;background:#111318bd;color:#fff;font-size:26px;display:grid;place-items:center}.customer-video-again{position:absolute;right:19px;bottom:39%;display:grid;justify-items:center;gap:6px;color:white;font-weight:700;background:none}.customer-video-again>span{background:#15171bc9;width:52px;height:52px;border:1px solid #626269;border-radius:50%;font-size:28px;display:grid;place-items:center}.customer-video-bottom{position:absolute;left:20px;right:20px;bottom:calc(18px + env(safe-area-inset-bottom));display:grid;gap:12px}.customer-video-kicker{background:#fff;color:#0a0a0a;justify-self:start;padding:5px 9px;border-radius:5px;font-weight:900;letter-spacing:.1em;font-size:10px}.customer-video-bottom h2{font-size:clamp(31px,7vw,49px);font-weight:900;letter-spacing:-.035em;line-height:1;margin:0}.customer-video-bottom p{font-size:14px;color:#bbb;margin:0}.customer-video-bottom #customerVideoMessage:empty{display:none}.customer-video-bottom button{width:100%;background:white;color:#111;border-radius:17px;padding:19px 12px;font-size:17px;font-weight:850;box-shadow:0 4px 0 #aaa}.customer-video-bottom button:disabled{opacity:.6}
@media(min-width:761px){.library-view .library-jobs{grid-template-columns:repeat(auto-fill,minmax(170px,215px));gap:16px}.library-view .library-page{padding:30px!important}.customer-video{height:min(94dvh,920px);width:min(calc(94dvh * .5625),520px);border-radius:22px}.library-view nav{border-right:1px solid #292a2e}}
@media(prefers-reduced-motion:reduce){.library-spinner{animation:none}}
