:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#191820;background:#f4f2f7;font-synthesis:none;text-rendering:optimizeLegibility;--ink:#17161d;--muted:#6c6974;--line:#dedbe5;--violet:#7451e8;--violet-2:#8c6cf2;--dark:#0a0b0f;--panel:#13151b;--white:#faf9fc}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}:focus-visible{outline:3px solid #9c83ff;outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.button{border:1px solid transparent;border-radius:12px;min-height:42px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;color:inherit;background:transparent}.button.primary{background:var(--violet);color:#fff;box-shadow:0 8px 20px #7451e838}.button.primary:hover{background:#6541df}.button.subtle{background:#fff;border-color:var(--line)}.button.subtle:hover{border-color:#b8b3c3}.button.compact{min-height:36px;padding:0 12px;font-size:.84rem}.button.large{min-height:52px;padding:0 22px}.button.full{width:100%}.button.danger-quiet{color:#a5394b}.icon-button{border:1px solid var(--line);background:#fff;border-radius:10px;width:36px;height:36px;display:inline-grid;place-items:center;color:#5b5765}.icon-button:hover{color:var(--violet);border-color:#b5a7ee}.icon-button.danger:hover{color:#b12b43;border-color:#e9abb5}.eyebrow{text-transform:uppercase;letter-spacing:.17em;font-size:.7rem;font-weight:800;color:var(--violet);margin:0 0 9px}.notice{border-radius:13px;padding:13px 16px;margin:10px 0}.notice.error{background:#fff0f2;color:#8b2637;border:1px solid #f3c4cc}.library-shell{width:min(1180px,calc(100% - 48px));margin:auto;min-height:100dvh}.library-header{height:84px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-weight:850;font-size:1.16rem;letter-spacing:-.03em}.brand-mark{width:29px;height:29px;border:2px solid var(--violet);border-radius:50%;display:grid;place-items:center;position:relative}.brand-mark:before,.brand-mark:after{content:"";position:absolute;background:var(--violet)}.brand-mark:before{width:2px;height:35px}.brand-mark:after{height:2px;width:35px}.brand-mark span{width:8px;height:8px;border-radius:50%;background:var(--violet);box-shadow:0 0 0 4px #e9e3ff;z-index:1}.hero{display:grid;grid-template-columns:1.45fr .65fr;align-items:end;gap:60px;padding:74px 0 66px}.hero h1{font-size:clamp(2.7rem,6vw,5.3rem);line-height:.97;letter-spacing:-.065em;margin:0;color:#19171f}.hero h1 span{color:var(--violet)}.hero-copy{max-width:540px;font-size:1.08rem;line-height:1.7;color:var(--muted);margin:26px 0 0}.privacy-card{background:#eae5f7;border:1px solid #d8d0ef;border-radius:20px;padding:24px;display:flex;gap:18px;align-items:center}.privacy-card p{margin:0;color:#5b5668;font-size:.88rem;line-height:1.55}.privacy-card strong{color:#282433}.privacy-orbit{flex:0 0 auto;width:52px;height:52px;border:1px solid #a897db;border-radius:50%;display:grid;place-items:center}.privacy-orbit span{width:15px;height:15px;background:var(--violet);border-radius:50%;box-shadow:0 0 0 6px #7451e821}.library-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:48px}.search{height:48px;flex:1;max-width:520px;display:flex;align-items:center;gap:11px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:0 15px;color:#817c8a}.search:focus-within{border-color:#9881ea;box-shadow:0 0 0 3px #7451e81a}.search input{border:0;outline:0;background:transparent;width:100%;color:var(--ink)}.toolbar-actions{display:flex;gap:10px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:20px}.section-heading h2{font-size:1.8rem;letter-spacing:-.04em;margin:0}.section-heading>span{font-size:.82rem;color:var(--muted)}.script-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.script-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:transform .2s,border-color .2s,box-shadow .2s}.script-card:hover{transform:translateY(-3px);border-color:#c8bde8;box-shadow:0 16px 36px #241d3314}.script-main{display:block;border:0;background:transparent;text-align:left;width:100%;padding:24px 22px 12px;color:inherit}.card-index{font-size:.68rem;letter-spacing:.14em;color:#a19ca9}.script-main h3{font-size:1.14rem;letter-spacing:-.025em;margin:18px 0 9px}.script-main p{height:66px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;color:var(--muted);font-size:.84rem;line-height:1.55;margin:0;white-space:pre-line}.script-meta,.script-date{padding:0 22px;display:flex;align-items:center;gap:14px;font-size:.74rem;color:#7b7682}.script-meta span{display:flex;align-items:center;gap:5px}.script-date{margin-top:8px}.card-actions{display:flex;gap:7px;padding:18px 22px 22px;margin-top:6px;border-top:1px solid #eeecf1}.card-actions .button{margin-right:auto}.empty-state{background:#fff;border:1px dashed #c9c3d3;border-radius:20px;text-align:center;padding:70px 20px}.empty-icon{width:62px;height:62px;margin:auto;border-radius:18px;background:#eee9fb;color:var(--violet);display:grid;place-items:center}.empty-state h3{font-size:1.3rem;margin:18px 0 8px}.empty-state p{color:var(--muted);margin:0 0 22px}.library-footer{margin-top:70px;padding:25px 0 35px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#8c8792;font-size:.75rem}.editor-shell{min-height:100dvh;background:#eeecf2}.editor-header{height:70px;padding:0 max(24px,calc((100vw - 1100px)/2));display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border-bottom:1px solid var(--line);background:#f7f6f9e6;position:sticky;top:0;z-index:3;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.save-state{font-size:.77rem;color:#77717f}.save-state:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#53a26f;margin-right:8px}.save-state.saving:before{background:#d7a637}.save-state.error{color:#a63548}.save-state.error:before{background:#c73b52}.editor-actions{display:flex;justify-content:flex-end;gap:8px}.editor-paper{width:min(860px,calc(100% - 34px));margin:34px auto 70px;background:#fff;min-height:calc(100dvh - 130px);border:1px solid #dedbe4;border-radius:18px;box-shadow:0 24px 70px #231e2d14;padding:clamp(30px,7vw,76px)}.title-input{display:block;width:100%;border:0;border-bottom:1px solid var(--line);padding:0 0 20px;outline:0;font-weight:800;font-size:clamp(2rem,4vw,3.6rem);letter-spacing:-.055em;color:var(--ink)}.editor-meta{display:flex;gap:18px;color:#918b98;font-size:.75rem;padding:13px 0 24px}.editor-paper textarea{display:block;width:100%;min-height:62vh;border:0;resize:none;outline:0;color:#2d2a32;font:400 1.17rem/1.8 Georgia,Times New Roman,serif}.studio-shell{height:100dvh;min-height:620px;background:var(--dark);color:#f4f2f8;overflow:hidden;display:grid;grid-template-rows:64px 1fr auto;position:relative}.studio-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 18px;border-bottom:1px solid #262832;background:#0d0e13;z-index:10}.studio-header .button{color:#d7d3de;border-color:#2c2e38;background:#17191f}.studio-back{justify-self:start}.studio-settings{justify-self:end}.studio-title{max-width:45vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;color:#aaa6b1;display:flex;gap:9px;align-items:center}.live-dot{width:7px;height:7px;border-radius:50%;background:#5fce86;box-shadow:0 0 0 4px #5fce861a}.studio-stage{min-height:0;display:flex;position:relative;background:#050608;padding:14px}.camera-frame{position:relative;min-width:0;flex:1;border-radius:16px;overflow:hidden;background:#11131a;border:1px solid #242631}.camera-frame>video{width:100%;height:100%;object-fit:contain;background:#000;display:block}.camera-frame>video.mirrored{transform:scaleX(-1)}.camera-empty{height:100%;min-height:430px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;background:radial-gradient(circle at 50% 42%,#202331 0,#12141b 42%,#0d0f14 75%)}.camera-empty:before{content:"";position:absolute;width:80%;height:70%;border:1px solid #282b36;border-radius:35%;pointer-events:none}.camera-glyph{width:82px;height:82px;border:1px solid #3b3f4c;border-radius:50%;display:grid;place-items:center;color:#9e8be5;background:#181a22;z-index:1}.camera-empty h2{font-size:1.9rem;letter-spacing:-.04em;margin:23px 0 8px;z-index:1}.camera-empty p{max-width:520px;color:#9b97a4;line-height:1.6;margin:0 0 22px;z-index:1}.camera-empty button,.camera-empty small{z-index:1}.camera-empty small{margin-top:12px;color:#74717b}.prompter-layer{position:absolute;left:50%;transform:translate(-50%);max-height:54%;overflow:hidden;border-radius:15px;padding:0 clamp(18px,4vw,44px);white-space:pre-wrap;text-align:center;font-weight:700;text-shadow:0 2px 8px rgba(0,0,0,.45);scrollbar-width:none;z-index:3}.prompter-layer::-webkit-scrollbar{display:none}.prompter-spacer{height:22vh}.prompter-text{position:relative}.read-marker{position:sticky;display:block;top:50%;left:-28px;width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:10px solid #9c82ff;z-index:4}.stream-info{position:absolute;right:12px;bottom:10px;background:#0009;padding:6px 9px;border-radius:7px;font-size:.67rem;color:#d0ccd7;z-index:4}.recording-badge{position:absolute;top:12px;left:12px;background:#111114e0;padding:8px 11px;border-radius:9px;font-size:.75rem;font-weight:800;z-index:5}.recording-badge span{display:inline-block;width:8px;height:8px;background:#ef3c53;border-radius:50%;margin-right:6px;animation:pulse 1.1s infinite}.recording-badge.paused span{background:#e8ae45;animation:none}.countdown-overlay{position:absolute;inset:0;border:0;background:#050508bf;color:#fff;z-index:20;display:grid;place-content:center}.countdown-overlay span{font-size:min(28vw,220px);line-height:1;font-weight:900;letter-spacing:-.08em}.countdown-overlay small{text-transform:uppercase;letter-spacing:.15em;color:#b6afc4}.settings-panel{width:340px;flex:0 0 auto;margin-left:14px;background:#14161c;border:1px solid #292c35;border-radius:16px;overflow:auto;padding:18px;color:#e9e6ed}.settings-heading{display:flex;justify-content:space-between;align-items:center}.settings-heading h2{font-size:1.1rem;margin:0}.settings-heading .icon-button{background:#1c1e25;border-color:#32353e;color:#aaa6b2}.settings-panel section{padding:18px 0;border-bottom:1px solid #282a32}.settings-panel section:last-child{border:0}.settings-panel h3{margin:0 0 13px;font-size:.72rem;text-transform:uppercase;letter-spacing:.13em;color:#8e8995}.settings-panel label:not(.toggle):not(.range-label){display:block;color:#aaa6b2;font-size:.72rem;margin-top:10px}.settings-panel select{display:block;width:100%;height:39px;margin-top:6px;border:1px solid #343741;border-radius:9px;background:#1b1d24;color:#eeeaf2;padding:0 9px}.segmented{display:grid;grid-template-columns:1fr 1fr;margin:11px 0;gap:5px}.segmented button{height:35px;border:1px solid #353741;background:#1b1d23;color:#aaa6b0}.segmented button:first-child{border-radius:9px 0 0 9px}.segmented button:last-child{border-radius:0 9px 9px 0}.segmented .active{background:#6246c7;color:#fff;border-color:#8065e0}.settings-panel .button{border-color:#343741;background:#1b1d24;color:#ddd9e2}.range-label{display:block;margin:13px 0}.range-label>span{display:flex;justify-content:space-between;color:#b7b2bd;font-size:.75rem}.range-label output{color:#f2eff6}.range-label input{width:100%;accent-color:#8568ec}.toggle{display:flex;align-items:center;gap:9px;font-size:.78rem;color:#c1bdc7;margin:13px 0}.toggle input{position:absolute;opacity:0}.toggle>span{width:34px;height:19px;border-radius:20px;background:#383a42;position:relative}.toggle>span:after{content:"";position:absolute;width:15px;height:15px;border-radius:50%;background:#aaa;left:2px;top:2px;transition:.2s}.toggle input:checked+span{background:#6549ce}.toggle input:checked+span:after{left:17px;background:#fff}.setting-note{font-size:.68rem;color:#77737e;line-height:1.45}.studio-notice{position:absolute;left:50%;transform:translate(-50%);bottom:118px;max-width:min(650px,90vw);background:#3a2027;border:1px solid #6a3340;color:#ffd9df;padding:11px 40px 11px 14px;border-radius:11px;font-size:.78rem;z-index:30}.studio-notice button{position:absolute;right:8px;top:6px;border:0;background:transparent;color:inherit;font-size:1.2rem}.control-dock{min-height:105px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;padding:9px 24px max(9px,env(safe-area-inset-bottom));background:#0d0e13;border-top:1px solid #25272e;z-index:10}.control-group{display:flex;gap:5px;align-items:center}.control-group.right{justify-content:flex-end}.dock-button{min-width:67px;height:66px;border:0;border-radius:11px;background:transparent;color:#aaa6b1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:.65rem}.dock-button svg{width:20px}.dock-button:hover,.dock-button.main-text{background:#1a1c23;color:#f1eef5}.record-controls{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:.65rem;color:#aaa6b1}.record-button,.stop-button{width:66px;height:66px;border-radius:50%;border:2px solid #d7d2dc;background:transparent;display:grid;place-items:center}.record-button span{width:50px;height:50px;border-radius:50%;background:#ed3450}.record-button:hover span{transform:scale(.92)}.stop-button{color:#fff;border-color:#ed3450}.stop-button svg{padding:7px;background:#ed3450;border-radius:7px}.speed-readout{display:flex;align-items:center;gap:8px;color:#a29dab;padding:0 10px}.speed-readout span{font-size:1.1rem;font-weight:800;color:#eeeaf2;line-height:1}.speed-readout small{display:block;font-size:.59rem;color:#7f7b85;margin-top:4px}.review-drawer{position:absolute;inset:64px 0 0;background:#090a0ef7;z-index:40;display:grid;grid-template-columns:minmax(200px,300px) minmax(400px,1fr) minmax(180px,260px);gap:30px;align-items:center;padding:35px}.review-drawer h2{font-size:2rem;letter-spacing:-.04em;margin:0 0 10px}.review-drawer p{color:#9995a0;line-height:1.6}.review-drawer video{width:100%;max-height:calc(100dvh - 140px);border-radius:14px;background:#000}.review-actions{display:flex;flex-direction:column;gap:10px}.review-actions .button.subtle{background:#1c1e25;border-color:#333640;color:#e7e3eb}@keyframes pulse{50%{opacity:.35;transform:scale(.8)}}@media(max-width:900px){.script-grid{grid-template-columns:repeat(2,1fr)}.hero{grid-template-columns:1fr;padding:55px 0 40px}.privacy-card{max-width:500px}.review-drawer{grid-template-columns:1fr 1fr;overflow:auto}.review-drawer>div:first-child{display:none}.settings-panel{position:absolute;right:14px;top:14px;bottom:14px;z-index:15;box-shadow:-20px 0 60px #00000073}.control-dock{grid-template-columns:1fr auto}.control-group.right{display:none}}@media(max-width:640px){.library-shell{width:min(100% - 28px,1180px)}.library-header{height:70px}.hero{padding:40px 0 36px}.hero h1{font-size:3rem}.hero-copy{font-size:.96rem}.privacy-card{padding:17px}.library-toolbar{align-items:stretch;flex-direction:column;margin-bottom:38px}.search{max-width:none}.toolbar-actions{justify-content:space-between}.toolbar-actions .button{flex:1;padding:0 9px;font-size:.78rem}.script-grid{grid-template-columns:1fr}.library-footer{flex-direction:column;gap:8px}.editor-header{height:auto;min-height:66px;padding:10px 12px;grid-template-columns:auto 1fr}.save-state{grid-row:2;grid-column:1/-1;text-align:center;padding-top:6px}.editor-actions .button.subtle{display:none}.editor-paper{padding:30px 22px}.editor-paper textarea{font-size:1.05rem}.studio-shell{min-height:100dvh;grid-template-rows:56px 1fr auto}.studio-header{padding:0 9px}.studio-header .button{min-height:38px;padding:0 11px;font-size:.75rem}.studio-title{display:none}.studio-stage{padding:5px}.camera-frame{border-radius:10px}.camera-empty{min-height:0}.camera-empty:before{display:none}.camera-empty h2{font-size:1.5rem}.camera-empty p{font-size:.82rem}.camera-empty .button{font-size:.8rem}.camera-empty small{font-size:.65rem}.prompter-layer{max-height:48%;padding:0 17px}.settings-panel{inset:auto 5px 5px;width:auto;height:min(65dvh,570px);margin:0;border-radius:18px 18px 8px 8px}.control-dock{min-height:96px;padding:7px 10px max(7px,env(safe-area-inset-bottom));gap:7px}.control-group{gap:0}.dock-button{min-width:48px;width:20vw;height:58px}.dock-button span{font-size:.57rem}.record-button,.stop-button{width:58px;height:58px}.record-button span{width:44px;height:44px}.control-group .dock-button:nth-child(2){display:none}.review-drawer{inset:56px 0 0;display:flex;flex-direction:column;padding:16px;gap:14px;overflow:auto}.review-drawer video{max-height:56dvh}.review-actions{width:100%}.studio-notice{bottom:106px}.stream-info{font-size:.56rem}.recording-badge{font-size:.68rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
