:root{--bg:#f8f7f3;--ink:#111;--muted:#5c5c5a;--line:#e4e2dd;--soft:#edecea;--soft-ink:#9b9a97;--serif:"Source Serif 4", Georgia, serif;--sans:"Inter", -apple-system, "Segoe UI", sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--bg);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}.page{flex-direction:column;align-items:center;min-height:100vh;padding:64px 16px 16px;display:flex}.title .logo{width:clamp(90px,15vw,142px);height:auto;margin:0 auto;display:block}.title{font-family:var(--serif);letter-spacing:-.01em;margin:0;font-size:clamp(56px,8vw,76px);font-weight:600;line-height:1}.subtitle{color:var(--muted);letter-spacing:.005em;margin:16px 0 36px;font-size:20px}.composer{border:1px solid var(--line);background:#fff;border-radius:26px;grid-template:"text text text"1fr"att att att""tools.send""ig ig ig"/auto 1fr auto;width:min(780px,100%);min-height:292px;padding:22px 16px 14px 22px;display:grid;box-shadow:0 10px 30px #14120c0f,0 1px 2px #14120c0a}.composer textarea{resize:none;min-height:112px;font:inherit;color:var(--ink);background:0 0;border:0;outline:0;grid-area:text;padding:0 6px 0 0;font-size:15.5px;line-height:1.55}.composer textarea::placeholder{color:var(--muted)}.attachments{flex-wrap:wrap;grid-area:att;gap:12px;margin:8px 0 6px;display:flex}.chip{background:#1b1b1b;border-radius:9px;width:96px;height:68px;position:relative;box-shadow:0 2px 6px #0000002e}.chip img{object-fit:cover;border-radius:9px;width:100%;height:100%;display:block}.chip .play{fill:#fff;opacity:.92;filter:drop-shadow(0 1px 2px #0006);width:15px;height:15px;position:absolute;top:12px;right:14px}.chip .ext{letter-spacing:.02em;color:#fff;text-shadow:0 1px 2px #0009;font-size:9px;font-weight:600;position:absolute;bottom:6px;left:8px}.chip .remove{cursor:pointer;background:#fff;border:1px solid #d9d7d2;border-radius:50%;place-items:center;width:21px;height:21px;padding:0;display:grid;position:absolute;top:-9px;right:-9px}.chip .remove svg{stroke:#222;stroke-width:2.4px;stroke-linecap:round;width:11px;height:11px}.bar{display:contents}.composer .tools{grid-area:tools;margin-top:6px}.composer .actions{grid-area:send;justify-self:end;align-items:center;gap:6px;margin-top:6px;display:flex;position:relative}.mic{min-width:40px;height:40px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;gap:7px;padding:0 11px;transition:background .15s;display:inline-flex}.mic:hover{background:var(--soft)}.mic svg{fill:none;stroke:#333;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.mic.rec{background:#fdecea}.mic .rec-dot{background:#e5484d;border-radius:50%;width:8px;height:8px;animation:1.1s ease-in-out infinite rec-pulse}.mic .rec-time{font-variant-numeric:tabular-nums;color:#b4232a;font-size:13px}@keyframes rec-pulse{50%{opacity:.3;transform:scale(.8)}}.voice-err{white-space:nowrap;color:#fff;background:#222;border-radius:10px;padding:6px 10px;font-size:12.5px;position:absolute;bottom:calc(100% + 8px);right:0}.composer .ig{grid-area:ig}.composer.compact{grid-template-rows:auto auto;grid-template-areas:"tools text send""ig ig ig";align-items:center;column-gap:12px;min-height:0;padding:6px 7px 6px 20px}.composer.compact .send,.composer.compact .mic{min-width:34px;height:34px}.composer.compact .send{width:34px}.composer.compact .ref-menu>.ref-btn{height:30px}.composer.compact .add{width:32px;height:32px}.composer.compact textarea{white-space:nowrap;text-overflow:ellipsis;height:24px;min-height:0;padding:0;line-height:24px;overflow:hidden}.composer.compact .tools,.composer.compact .actions{margin-top:0}.add{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:36px;height:36px;margin-left:-6px;display:grid}.add:hover{background:var(--soft)}.add svg{stroke:#333;stroke-width:1.6px;stroke-linecap:round;width:18px;height:18px}.send{background:var(--soft);cursor:default;border:0;border-radius:50%;place-items:center;width:40px;height:40px;transition:background .15s;display:grid}.send svg{fill:none;width:17px;height:17px;stroke:var(--soft-ink);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.send.on{background:var(--ink);cursor:pointer}.send.on svg,.send.sent svg{stroke:#fff}.send.sending{background:var(--ink)}.send.sent{background:#2f7a3f}.send.error{background:#b3412b}.spinner{border:2px solid #ffffff59;border-top-color:#fff;border-radius:50%;width:16px;height:16px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.jobs{flex-direction:column;gap:14px;width:min(780px,100%);margin-top:20px;display:flex}.job{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:20px;padding:18px 20px;font-size:14.5px}.job-line{color:var(--muted);justify-content:space-between;display:flex}.job-pct{font-variant-numeric:tabular-nums}.job-bar{background:var(--soft);border-radius:2px;height:4px;margin-top:12px;overflow:hidden}.job-bar div{background:var(--ink);height:100%;transition:width .6s}.job-error{color:#b3412b;word-break:break-word;margin-top:8px;font-size:13px}.job.done{align-items:flex-start;gap:20px;display:flex}.job.done video{aspect-ratio:9/16;background:#000;border-radius:14px;flex:none;width:220px}.job-title{font-size:16px;font-weight:600}.job-meta{color:var(--muted);margin-top:8px;font-size:13.5px;line-height:1.6}.job-download{background:var(--ink);color:#fff;border-radius:999px;margin-top:16px;padding:10px 18px;font-size:14px;text-decoration:none;display:inline-block}.preview{align-items:flex-start;gap:20px;width:100%;display:flex}.preview-player{background:#000;border-radius:14px;flex:none;width:260px;overflow:hidden}.looks{scroll-snap-type:x mandatory;gap:8px;margin-top:14px;padding-bottom:4px;display:flex;overflow-x:auto}.look{cursor:pointer;scroll-snap-align:start;width:84px;color:var(--muted);font:inherit;text-align:center;background:0 0;border:none;flex:none;padding:0;font-size:12.5px}.look-swatch{border:2px solid #0000;border-radius:12px;justify-content:center;align-items:center;height:64px;font-size:24px;font-weight:700;display:flex;position:relative;overflow:hidden}.look-swatch i{border-radius:3px;height:5px;position:absolute;bottom:9px;left:10px;right:10px}.look.on .look-swatch{border-color:var(--ink)}.look.on{color:var(--ink);font-weight:600}.look-name{margin-top:5px;display:block}.look-slider{width:100%;accent-color:var(--ink);margin-top:10px}.job-download:disabled{opacity:.6}button.job-download{cursor:pointer;font:inherit;border:none;font-size:14px}@media (width<=560px){.preview{flex-direction:column}.preview-player{width:100%}.job.done{flex-direction:column}.job.done video{width:100%}}.tools{align-items:center;gap:6px;display:flex}.ref-btn{border:1px solid var(--line);height:34px;font:inherit;color:#333;cursor:pointer;background:#fff;border-radius:999px;align-items:center;gap:7px;padding:0 14px 0 11px;font-size:13.5px;display:inline-flex}.ref-btn:hover,.ref-btn.on{background:var(--soft)}.ref-menu{position:relative}.ref-menu>.ref-btn{padding:0 14px}.ref-pop{z-index:20;-webkit-backdrop-filter:blur(14px);background:#edeceaeb;border-radius:19px;flex-direction:column;gap:4px;width:216px;padding:5px;animation:.16s ease-out ref-pop-in;display:flex;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 14px 40px #14120c1f,0 1px 2px #14120c0d}.ref-pop:before{content:"";height:10px;position:absolute;top:-10px;left:0;right:0}@keyframes ref-pop-in{0%{opacity:0;transform:translateY(-4px)scale(.98)}}.ref-item{font:inherit;text-align:left;color:var(--ink);cursor:pointer;background:#fff;border:0;border-radius:14px;flex-direction:column;align-items:flex-start;gap:5px;padding:10px 36px 10px 12px;transition:background .15s;display:flex;position:relative}.ref-item+.ref-item{background:#ffffff8c}.ref-item:hover,.ref-item:focus-visible{background:#fff;outline:none}.ref-kicker{letter-spacing:.06em;text-transform:uppercase;color:var(--soft-ink);font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:9.5px}.ref-title{letter-spacing:-.01em;color:#333;font-size:15px}.ref-item svg{fill:none;stroke:#555;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:15px;height:15px;transition:transform .15s;position:absolute;bottom:10px;right:11px}.ref-item:hover svg{transform:translate(2px)}.ref-btn svg{fill:none;stroke:#333;stroke-width:1.6px;stroke-linejoin:round;width:16px;height:16px}.chip .role{letter-spacing:.02em;color:#fff;background:#0000008c;border-radius:5px;padding:2px 6px;font-size:8.5px;font-weight:600;position:absolute;top:6px;left:6px}.chip.reference .role{background:#e2643a}.job-insights{background:var(--bg);color:var(--ink);border-radius:12px;margin-top:8px;padding:10px 12px;font-size:13.5px;line-height:1.55}.job-insights b{font-weight:600}.chip.reel{width:52px;height:92px}.chip.reel .ext{text-overflow:ellipsis;white-space:nowrap;font-size:8px;left:5px;right:5px;overflow:hidden}.chip.reel .spinner{margin:-8px 0 0 -8px;position:absolute;top:50%;left:50%}.chip.reel.error{background:#7a2e1c}.link-row{align-items:center;gap:10px;margin:6px 0 4px;display:flex}.link-row input{border:1px solid var(--line);min-width:0;height:36px;font:inherit;color:var(--ink);background:#fff;border-radius:10px;outline:none;flex:1;padding:0 12px;font-size:14px}.link-row input:focus{border-color:#c9c6bf}.link-hint{color:#b4472a;white-space:nowrap;font-size:12.5px}.job-note{color:#b4472a;margin-top:8px;font-size:13px;line-height:1.5}.preview .job-side{flex:1;min-width:0}.admin{max-width:1080px;margin:0 auto;padding:24px 16px 60px}.admin-head{align-items:center;gap:24px;margin-bottom:24px;display:flex}.admin-logo .logo{height:30px;display:block}.admin-tabs{background:var(--soft);border-radius:999px;gap:4px;padding:4px;display:flex}.admin-tabs button,.admin-seg button{font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:6px 14px;font-size:13.5px}.admin-tabs button.on,.admin-seg button.on{color:var(--ink);background:#fff;font-weight:600;box-shadow:0 1px 3px #00000014}.admin-styles{align-items:flex-start;gap:28px;display:flex}.admin-player{width:340px;position:sticky;top:16px}.admin-side{flex:1;min-width:0}.admin-side .looks{flex-wrap:wrap}.admin-card{border:1px solid var(--line);background:#fff;border-radius:16px;margin-top:18px;padding:18px}.admin-card code{font-size:12px}.admin-form{flex-direction:column;gap:12px;margin-top:14px;display:flex}.admin-fx{flex-direction:column;gap:6px;display:flex}.admin-fx>span:first-child{color:var(--muted);font-size:13.5px}.admin-fx-btns{flex-wrap:wrap;gap:6px;display:flex}.admin-fx-btns .on{outline:1px solid var(--accent,currentColor)}.admin-fx-link{color:inherit;cursor:pointer;font:inherit;background:0 0;border:0;padding:0 8px 0 0;text-decoration:underline}.admin-row{align-items:center;gap:12px;font-size:13.5px;display:flex}.admin-row>span:first-child{width:128px;color:var(--muted);flex:none}.admin-row select{border:1px solid var(--line);min-width:0;max-width:100%;height:32px;font:inherit;background:#fff;border-radius:8px;padding:0 8px;font-size:13.5px}.admin-styles>.admin-side>.admin-row select{flex:1}.admin-seg{background:var(--soft);border-radius:999px;flex-wrap:wrap;gap:2px;padding:3px;display:flex}.admin-seg button{padding:4px 11px;font-size:12.5px}.admin-colors{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:8px;display:grid}.admin-color{color:var(--muted);cursor:pointer;align-items:center;gap:8px;font-size:12.5px;display:flex}.admin-color input{border:1px solid var(--line);cursor:pointer;background:0 0;border-radius:8px;width:30px;height:30px;padding:0}.admin-check{align-items:center;gap:8px;font-size:13.5px;display:flex}.admin-actions{align-items:center;gap:10px;margin-top:4px;display:flex}.admin-actions .job-download{margin-top:0}@media (width<=760px){.admin-styles{flex-direction:column}.admin-player{width:100%;position:static}.admin-row>span:first-child{width:100px}}.ig{margin:12px 0 2px}.ig .link-row .ref-btn{flex:none}.spinner.dark{border-color:#333 #00000026 #00000026;width:14px;height:14px}.ig-profile{align-items:center;gap:10px;margin-top:10px;display:flex}.ig-profile img,.ig-avatar{object-fit:cover;background:var(--soft);border-radius:50%;flex:none;width:40px;height:40px}.ig-profile b{font-size:14px;display:block}.ig-profile span{color:var(--muted);font-size:12.5px}.ig-hint{color:var(--muted);margin:12px 0 8px;font-size:12.5px}.ig-grid{grid-template-columns:repeat(3,1fr);gap:8px;max-width:360px;display:grid}.ig-cover{aspect-ratio:9/16;cursor:pointer;background:#1b1b1b;border:2px solid #0000;border-radius:10px;padding:0;position:relative;overflow:hidden}.ig-cover img,.ig-cover>span{object-fit:cover;width:100%;height:100%;display:block}.ig-cover i{color:#fff;text-shadow:0 1px 2px #000000b3;font-size:10.5px;font-style:normal;font-weight:600;position:absolute;bottom:5px;left:6px}.ig-cover.on{border-color:#e2643a}.ig-cover svg{fill:none;stroke:#fff;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;background:#e2643a;border-radius:50%;width:22px;height:22px;padding:3px;position:absolute;top:6px;right:6px}.ig-more{margin-top:10px}.ig-loading{align-items:center;gap:6px;display:flex}.ig-dots{gap:3px;display:inline-flex}.ig-dots i{background:var(--soft-ink);border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite ig-dot}.ig-dots i:nth-child(2){animation-delay:.15s}.ig-dots i:nth-child(3){animation-delay:.3s}@keyframes ig-dot{0%,60%,to{opacity:.25;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}.ig-skel{cursor:default;background:linear-gradient(100deg, var(--soft) 30%, #f6f5f2 50%, var(--soft) 70%) 0 0 / 300% 100%;border:0;animation:1.4s ease-in-out infinite ig-shimmer;display:block}@keyframes ig-shimmer{0%{background-position:100% 0}to{background-position:0 0}}
