@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--paper:#f6f7f2;--white:#fff;--ink:#1d302a;--muted:#78847b;--green:#174e3c;--lime:#d3edb5;--line:#e3e7df;--font:'DM Sans',system-ui,sans-serif;font-family:var(--font);color:var(--ink);background:var(--paper);font-synthesis:none;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0;background:none;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #88b87a;outline-offset:3px}button:hover:not(:disabled){filter:brightness(.94)}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sprite{display:none}[hidden]{display:none!important}.topbar{height:90px;max-width:1500px;margin:auto;padding:0 52px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:60px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-family:Manrope,var(--font);font-size:18px;font-weight:800;letter-spacing:-.7px;line-height:1.1}.brand-sub{display:block;font:700 9px var(--font);letter-spacing:3.4px;margin-top:5px}.brand-icon{height:42px;width:42px;background:var(--green);color:var(--lime);border-radius:13px;display:grid;place-items:center}.brand-icon svg{height:25px;width:25px}.topbar nav{display:flex;align-items:center;height:100%;gap:22px}.nav-item{height:100%;font-size:13px;position:relative;padding:0 3px;color:var(--muted);white-space:nowrap}.nav-item.active{color:var(--green);font-weight:700}.nav-item.active:after{content:'';position:absolute;height:3px;bottom:-1px;left:0;right:0;background:var(--green);border-radius:2px}.nav-item>span{font-size:10px;background:#e9ede5;border-radius:4px;padding:2px 5px;margin-left:4px}.local-badge{font-size:11px;color:var(--muted);margin-left:auto;display:flex;align-items:center;gap:7px}.local-badge>span{width:6px;height:6px;background:#729b66;border-radius:50%}main{max-width:1304px;padding:0 44px;margin:0 auto}.intro{display:flex;justify-content:space-between;align-items:center;padding:38px 0 28px}.eyebrow{font-size:9px;letter-spacing:2px;color:#7a8a74;font-weight:700;margin-bottom:10px}h1{font-family:Manrope,var(--font);font-size:31px;letter-spacing:-1.1px;font-weight:750;line-height:1.25;margin:0 0 9px}p{line-height:1.6}.intro p,.section-header p{margin:0;font-size:13px;color:var(--muted)}.mobile-break{display:none}.intro-mark{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:40px;padding:10px 15px;font-size:10px;font-weight:700;letter-spacing:2px}.intro-mark span{font-size:10px;color:#d16b52}.workspace{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(400px,1.15fr);gap:24px;align-items:stretch}.panel{background:var(--white);border:1px solid var(--line);border-radius:18px;overflow:hidden}.panel-heading{height:62px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eff0eb;padding:0 24px}.panel-heading h2{font-size:13px;font-weight:650;display:flex;align-items:center;gap:9px;margin:0}.panel-heading h2 svg{width:17px;color:#667d6c}.text-button{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--green)}.text-button svg{width:15px}.editor{display:flex;flex-direction:column}.script-title{width:calc(100% - 48px);margin:24px 24px 14px;padding:0;border:0;outline:none;background:none;font-family:Manrope,var(--font);font-weight:750;font-size:19px;color:var(--ink)}#scriptText{flex:1;min-height:254px;width:100%;resize:vertical;border:0;background:none;padding:0 24px;font-size:14px;line-height:1.9;outline:none;color:#526155}.editor-meta{display:flex;align-items:center;justify-content:space-between;padding:14px 24px 7px;font-size:10px;color:var(--muted)}#savedState{display:flex;gap:4px;align-items:center}#savedState svg{width:12px;height:12px;color:#80a577}.editor-actions{display:flex;gap:15px;padding:0 24px 19px;border-bottom:1px solid #eff0eb}.subtle-button{font-size:12px;color:var(--green);padding:8px 0}.reading-settings{padding:21px 24px}.setting-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600;margin-bottom:14px}.duration-value{border:1px solid var(--line);border-radius:7px;display:flex;align-items:center;padding:5px 8px;gap:4px;font-weight:600;font-size:11px}.duration-value input{width:46px;border:0;outline:none;text-align:right;font-weight:700;color:var(--ink);background:none;appearance:textfield}.duration-value input::-webkit-inner-spin-button{appearance:none}.duration-value span{color:var(--muted);font-size:10px}input[type=range]{width:100%;accent-color:var(--green);cursor:pointer;height:5px;margin:8px 0 11px}.range-labels{display:flex;justify-content:space-between;font-size:9px;color:var(--muted)}.tip{background:#f2f6ed;margin:0 24px 24px;padding:14px;border-radius:10px;display:flex;gap:12px}.tip>span{font-size:23px;color:#5b8350}.tip p{font-size:10px;line-height:1.7;color:#81917a;margin:0}.tip b{color:#526b48;font-weight:600}.heading-actions{display:flex;gap:5px}.icon-button{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#687a70}.icon-button svg{width:18px;height:18px}.live-dot{height:6px;width:6px;background:#96a48d;border-radius:50%}.live-dot.enabled{background:#6b9f56;box-shadow:0 0 0 4px #6b9f5614}.studio-panel{display:flex;flex-direction:column}.stage-shell{background:#eaece5;padding:20px;display:flex;align-items:center;justify-content:center;flex:1}.stage{height:434px;aspect-ratio:9/16;position:relative;background:#17211f;isolation:isolate;overflow:hidden;border-radius:13px;color:white;box-shadow:0 6px 24px #15271a12}.stage.landscape{aspect-ratio:16/9;height:auto;width:100%;max-height:434px}.stage video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3}.camera-placeholder{position:absolute;inset:0;display:flex;align-items:center;flex-direction:column;justify-content:flex-end;padding:0 16px 65px;background:radial-gradient(ellipse at 30% 50%,#416052,#17231f 65%);z-index:-2;text-align:center;gap:12px}.camera-placeholder>span:last-of-type{font-size:10px;color:#acb8ae;line-height:1.65}.placeholder-title{font-size:12px;font-weight:600;color:#d8e4d8}.lens-art{position:absolute;width:190px;height:190px;border:1px solid #9ecf7e20;border-radius:50%;top:64px;left:calc(50% - 95px);background:radial-gradient(circle,#77956d18,transparent 65%)}.lens-art:before,.lens-art:after{content:'';position:absolute;inset:20px;border:1px solid #9ecf7e1a;border-radius:50%}.lens-art:after{inset:48px}.lens-art span{position:absolute;width:6px;height:6px;border-radius:50%;background:#afd895;top:0;left:50%;box-shadow:0 0 25px #b4df9e80}.camera-enable{position:relative;z-index:5;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #b8d4ad45;color:#e2efda;background:#324a3d;border-radius:7px;font-size:10px;padding:10px 9px;white-space:nowrap}.camera-enable svg{width:15px;height:15px}.stage-top{position:absolute;inset:13px 13px auto;display:flex;align-items:center;justify-content:space-between;pointer-events:none;z-index:5}.format-badge{font-size:8px;letter-spacing:1px;color:#d4dfd6;background:#12211870;padding:6px 8px;border:1px solid #ffffff20;border-radius:5px}.record-badge{display:flex;align-items:center;gap:6px;font-size:11px;background:#291713c9;padding:6px 8px;border-radius:5px;color:#fff}.record-badge>span{width:6px;height:6px;border-radius:50%;background:#ff614f;animation:blink 1.2s infinite}.focus-close{display:none;pointer-events:auto;color:white;background:#0005;border-radius:50%;width:34px;height:34px;align-items:center;justify-content:center}.stage-bottom{position:absolute;inset:auto 14px 15px;display:flex;justify-content:space-between;font-size:8px;color:#cad4ca;z-index:4;pointer-events:none}#remainingTime{font-variant-numeric:tabular-nums}.prompter{--size:32px;--shade:.35;--text-color:#fff;--leading:1.65;--width:90%;position:absolute;top:54px;left:50%;width:var(--width);height:40%;max-height:70%;transform:translateX(-50%);border-radius:8px;background:rgb(0 0 0 / var(--shade));text-align:left;color:var(--text-color);overflow:hidden;z-index:1;touch-action:pan-y;transition:background .15s;outline:none}.scroll-window{height:100%;overflow-y:auto;scrollbar-width:none;overscroll-behavior:contain;scroll-behavior:auto}.scroll-window::-webkit-scrollbar{display:none}.prompt-text{font-family:Arial,sans-serif;font-weight:600;font-size:var(--size);line-height:var(--leading);white-space:pre-wrap;overflow-wrap:anywhere;padding:14px 14px var(--bottom-space,120px);text-shadow:0 2px 4px #000,0 0 14px #0008}.reading-guide{position:absolute;top:14px;left:0;height:calc(var(--size) * var(--leading));width:100%;border-left:3px solid #d5efad;background:#d5efad0d;pointer-events:none;z-index:3}.countdown-overlay{position:absolute;inset:0;background:#07110dc9;z-index:8;display:flex;align-items:center;justify-content:center;flex-direction:column}.countdown-overlay>span{font-family:Manrope,var(--font);font-size:94px;color:var(--lime);line-height:1.3;font-weight:700}.countdown-overlay small{font-size:11px;color:#cad8c8}.transport{padding:16px 24px 12px;background:white}.progress-row{display:flex;align-items:center;gap:12px;font-size:9px;color:#829080;font-variant-numeric:tabular-nums}.progress-row input{height:3px;margin:5px 0}.transport-controls{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:15px}.rehearse-button{display:flex;align-items:center;justify-content:center;gap:6px;padding:12px 15px;border:1px solid var(--line);border-radius:9px;font-size:11px;min-width:95px;height:42px}.rehearse-button svg{width:14px;height:14px}.record-button{background:var(--green);color:white;padding:13px 20px;border-radius:9px;display:flex;gap:9px;align-items:center;font-size:12px;height:42px;font-weight:550;white-space:nowrap}.record-symbol{width:10px;height:10px;border:2px solid white;border-radius:50%;background:#f7f9f3}.record-button.recording{background:#a43729}.record-button.recording .record-symbol{border-radius:2px}.transport-note{display:flex;align-items:center;justify-content:center;gap:5px;color:#8a9687;font-size:9px;margin:14px 0 3px}.transport-note svg{width:11px;height:11px}.studio-footer{display:flex;justify-content:space-between;margin:20px 0 30px;color:#8c9887;font-size:10px}.studio-footer>span:first-child{display:flex;align-items:center;gap:6px}.studio-footer svg{height:12px;width:12px}.section-header{padding:45px 0 30px;display:flex;justify-content:space-between;align-items:center}.primary-button{background:var(--green);color:white;padding:13px 20px;border-radius:9px;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(265px,1fr));gap:18px;margin-bottom:35px}.library-card{border:1px solid var(--line);border-radius:14px;padding:24px;background:white;overflow:hidden}.library-card h3{font:700 19px Manrope,var(--font);letter-spacing:-.4px;margin:14px 0 9px;overflow-wrap:anywhere}.library-card p{font-size:12px;color:var(--muted);white-space:pre-wrap;overflow:hidden;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;min-height:76px}.card-meta{font-size:10px;color:var(--muted)}.card-actions{display:flex;align-items:center;gap:18px;margin-top:18px;flex-wrap:wrap}.card-actions .subtle-button{font-size:11px}.delete-button{color:#a04a3c;font-size:11px;padding:8px 0;margin-left:auto}.empty-state{padding:65px 25px;text-align:center;border:1px dashed #cdd8c7;border-radius:16px;grid-column:1/-1;color:#6f8269}.empty-state svg{width:35px;height:35px;color:#8ca17f}.empty-state h3{font-size:18px;color:var(--ink)}.empty-state p{font-size:13px}.take-visual{height:115px;background:#edf2e7;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#749060}.take-visual svg{width:30px;height:30px}.take-visual span{margin-left:12px;font-size:12px}dialog{border:1px solid var(--line);border-radius:18px;color:var(--ink);padding:0;max-height:90dvh;width:470px;max-width:calc(100vw - 28px);box-shadow:0 24px 100px #0d2a2240}dialog::backdrop{background:#0f251c85;backdrop-filter:blur(5px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:24px;border-bottom:1px solid var(--line);margin:0}.dialog-header h2{margin:0;font:750 21px Manrope,var(--font);letter-spacing:-.7px}.dialog-header .eyebrow{font-size:8px;margin-bottom:7px}.dialog-content{padding:0 24px 24px}.dialog-content h3{font-size:12px;text-transform:uppercase;letter-spacing:1.3px;margin:26px 0 19px;color:#73856c}.setting-row,.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;margin:17px 0 7px;min-height:25px}.setting-row output{font-size:11px;color:var(--green);font-weight:600}.setting-row select{max-width:52%;font-size:11px;color:var(--green);background:#f1f5ed;border:1px solid #e2e9dc;border-radius:6px;padding:7px}.help{font-size:10px;color:var(--muted);display:block;line-height:1.6}.swatches{display:flex;gap:8px}.swatch{background:var(--swatch);border:1px solid #cbd1c4;width:24px;height:24px;border-radius:50%;position:relative}.swatch.selected:after{content:'';position:absolute;inset:-4px;border:1.5px solid var(--green);border-radius:50%}.toggle-row{padding:9px 0}.toggle-row small{display:block;font-size:10px;line-height:1.6;color:var(--muted);margin-top:4px}.toggle-row input{appearance:none;width:32px;height:19px;background:#d5dccc;border-radius:20px;position:relative;flex-shrink:0;cursor:pointer}.toggle-row input:before{content:'';position:absolute;background:#fff;width:13px;height:13px;left:3px;top:3px;border-radius:50%;transition:transform .15s}.toggle-row input:checked{background:var(--green)}.toggle-row input:checked:before{transform:translateX(13px)}.privacy-note{font-size:10px;color:var(--muted);line-height:1.7;margin:20px 0}.full-width{width:100%}#resultVideo{width:100%;max-height:55dvh;background:#111;border-radius:10px;margin-top:20px}#resultInfo{font-size:11px;color:var(--muted)}.result-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.danger-button{background:#a33e30;border-radius:8px;color:white;padding:12px 18px;font-size:13px}#confirmDialog{width:400px}#confirmDialog h2{margin-top:24px;font-size:22px}#confirmMessage{font-size:13px;color:var(--muted)}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#183d2e;color:#fff;padding:14px 20px;border:1px solid #8eac7a55;border-radius:12px;box-shadow:0 8px 35px #0002;max-width:min(440px,calc(100vw - 32px));width:max-content;z-index:100;font-size:12px;line-height:1.6}.focus-mode{overflow:hidden}.focus-mode .studio-panel{position:fixed;inset:0;z-index:20;background:#0b130f;border:0;border-radius:0}.focus-mode .studio-panel>.panel-heading{display:none}.focus-mode .stage-shell{padding:0;min-height:0;overflow:hidden}.focus-mode .stage{height:100%;max-height:none;border-radius:0;max-width:100%;box-shadow:none}.focus-mode .stage.landscape{height:auto;max-height:100%;width:100%}.focus-mode .transport{padding:10px max(20px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom));background:#15241b;color:#e5eede;flex-shrink:0}.focus-mode .transport .icon-button{color:#bdd2b2}.focus-mode .rehearse-button{border-color:#49613c;color:#d9eacb}.focus-mode .record-button{background:#d3edb5;color:#173e2d}.focus-mode .record-symbol{background:var(--green);border-color:var(--green)}.focus-mode .recording{background:#a43729;color:#fff}.focus-mode .recording .record-symbol{background:white;border-color:white}.focus-mode .focus-close{display:flex}.focus-mode .format-badge{margin-top:env(safe-area-inset-top)}.focus-mode .stage-top{top:max(13px,env(safe-area-inset-top))}.focus-mode .transport-controls{margin-top:6px}.focus-mode .transport-note{margin-top:9px}.focus-mode .progress-row{color:#c1d1b8}.focus-mode #progress{accent-color:var(--lime)}.focus-mode .prompter{top:max(60px,calc(env(safe-area-inset-top) + 40px))}@keyframes blink{50%{opacity:.3}}@media(min-width:1450px){.intro{padding-top:46px}.stage{height:480px}#scriptText{min-height:310px}}@media(max-width:1100px){.topbar{padding:0 28px;gap:35px}.local-badge{display:none}main{padding:0 28px}.workspace{gap:18px;grid-template-columns:minmax(290px,.95fr) minmax(340px,1.05fr)}.transport{padding-left:15px;padding-right:15px}.transport-controls{gap:6px}.record-button{padding:12px 14px}}@media(max-width:760px){.topbar{height:73px;padding:0 18px;gap:20px;justify-content:space-between}.brand{font-size:15px;gap:9px}.brand-sub{font-size:7px;letter-spacing:2.9px}.brand-icon{width:35px;height:35px;border-radius:10px}.brand-icon svg{width:21px}.topbar nav{gap:15px}.nav-item{font-size:11px}.nav-item>span{display:none}.intro{padding:25px 0 21px}.intro h1{font-size:27px;letter-spacing:-1.1px}.intro p{font-size:12px}.intro-mark{display:none}.mobile-break{display:block}.eyebrow{font-size:8px;letter-spacing:1.6px}main{padding:0 16px;max-width:600px}.workspace{display:flex;flex-direction:column;gap:16px}.editor{order:2}.studio-panel{order:1}.stage-shell{padding:15px}.stage{height:auto;width:min(100%,310px);aspect-ratio:9/16}.stage.landscape{width:100%;max-width:none;height:auto;min-height:190px}.panel-heading{height:52px;padding:0 18px}.panel-heading h2{font-size:12px}.stage .camera-placeholder{padding-bottom:70px}.transport{padding:13px 16px}.transport-controls{gap:12px}.transport-note{font-size:9px}.record-button{padding:12px 20px;font-size:12px}.rehearse-button{min-width:105px}.script-title{font-size:18px;margin-top:20px}.editor textarea{min-height:210px;max-height:400px}.editor-meta{font-size:9px}.tip{margin-bottom:20px}.studio-footer{font-size:9px;gap:15px;line-height:1.5}.section-header{padding-top:30px;gap:18px;align-items:flex-start}.section-header h1{font-size:27px}.section-header .primary-button{font-size:11px;padding:11px 12px;white-space:nowrap}.section-header p{font-size:12px}.dialog-header{padding:20px}.dialog-content{padding-left:20px;padding-right:20px}.focus-mode .stage{width:auto;max-width:100%;aspect-ratio:9/16}.focus-mode .stage.landscape{width:100%;height:auto;aspect-ratio:16/9}.focus-mode .transport-controls{gap:12px}.focus-mode .transport-note{font-size:9px}}@media(max-width:380px){.topbar{padding:0 12px;gap:10px}.topbar nav{gap:10px}.brand{font-size:13px}.brand-icon{width:29px;height:32px}.brand-sub{letter-spacing:2.3px}.nav-item{font-size:10px}.transport-controls{gap:5px}.record-button{padding:12px 14px}.rehearse-button{min-width:88px}.editor-meta{padding-left:20px;padding-right:20px}}@media(max-height:520px) and (orientation:landscape){.focus-mode .studio-panel{flex-direction:row}.focus-mode .stage-shell{flex:1}.focus-mode .stage.landscape{width:100%;height:auto;max-height:100dvh}.focus-mode .transport{width:180px;display:flex;flex-direction:column;justify-content:center;padding:16px}.focus-mode .transport-controls{flex-wrap:wrap;gap:9px}.focus-mode .record-button{order:5;width:100%;justify-content:center}.focus-mode .rehearse-button{min-width:80px;padding:10px}.focus-mode .transport-note{text-align:center;line-height:1.5}.focus-mode .prompter{top:45px}.stage.landscape .camera-placeholder{padding-bottom:35px;gap:5px}.stage.landscape .placeholder-title{font-size:11px}.stage.landscape .camera-placeholder>span:last-of-type{display:none}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.camera-enable{position:absolute;bottom:45px;left:50%;transform:translateX(-50%);z-index:6}.camera-placeholder{padding-bottom:100px}.stage.landscape .camera-placeholder>span{display:none}.stage.landscape .camera-enable{bottom:28px}.stage.landscape .prompter{height:45%}.stage.landscape .stage-bottom{bottom:9px}.focus-mode .stage.landscape .camera-enable{bottom:40px}@media(max-width:760px){.topbar{gap:10px}.topbar nav{gap:12px}.brand{font-size:14px}.brand-sub{letter-spacing:2.5px}.stage .camera-placeholder{padding-bottom:110px}}
