@import url('/fonts.css');
.brand{display:flex;flex-direction:column;gap:5px}.brand .brand-name{color:#f1f2eb;letter-spacing:1.8px;font-size:19px}.brand b{color:#c0ef76;font-weight:400;letter-spacing:-.5px}.brand small{margin:0;font-size:9px;letter-spacing:3px;color:#9b9f95}.section-label{margin-top:24px}#output-script{margin-top:10px}.selected-template{background:#22272a;border:1px solid #3d4335;border-radius:9px;padding:17px;margin:13px 0 25px}.selected-template strong,.selected-template>span{display:block}.selected-template>span{font-size:11px;color:#b0b4b8;margin-top:6px}.selected-template a{display:inline-block;color:#c0ef76;font-size:11px;margin-top:18px;text-decoration:none}.selected-template .sample{font-size:24px;margin:5px 0 20px;line-height:1.3}.library{margin-top:30px;padding:25px;border:1px solid #303136;border-radius:12px;background:#191a1e;scroll-margin-top:20px}.library-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.library h2{font-size:27px;letter-spacing:-.7px;margin:12px 0}.library-head p{font-size:12px;color:#9599a3}.library input{background:#111315;border:1px solid #42454c;border-radius:8px;padding:13px;color:white;min-width:270px}.filters{display:flex;gap:7px;margin:20px 0;flex-wrap:wrap}.filters button{font-size:12px;border-radius:30px;background:transparent}.filters button.active{background:#c0ef76;color:#18200c;border-color:#c0ef76}.template-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.template-grid .style{padding:0;overflow:hidden;position:relative}.template-grid .style.selected:after{content:'✓';position:absolute;right:10px;top:10px;color:#192014;background:#c0ef76;border-radius:50%;width:20px;height:20px;text-align:center;font:14px Arial;line-height:20px}.template-grid .sample{padding:30px 18px;margin:0 0 14px;height:124px;background:radial-gradient(ellipse at 30% 10%,#343a32,#111416);display:flex;align-items:center;justify-content:center;flex-wrap:wrap;align-content:center;gap:0 5px;font-size:24px;line-height:1.2;text-align:center}.template-grid strong{font-size:13px;display:block;margin:0 15px}.template-grid small{font-size:10px;margin:7px 15px;color:#b0b4ac}.template-grid p{font-size:11px;line-height:1.6;color:#858b95;margin:10px 15px 17px;min-height:35px}.sample mark,#caption mark{background:transparent;color:var(--accent);font:inherit}.sample{color:var(--ink);text-shadow:1px 2px 1px var(--outline)}#caption{text-shadow:1px 2px 1px var(--outline),-1px -1px 1px var(--outline);-webkit-text-stroke:0;font-synthesis:style;line-height:1.3}#caption[data-motion="box"] .caption-line{background:#101010cc;padding:.1em .3em;box-decoration-break:clone}#caption[data-motion="glow"],.sample[data-motion="glow"]{text-shadow:0 0 .18em var(--accent),0 0 .4em var(--outline)}#caption[data-motion="pop"]{animation:caption-pop .12s ease-out}#caption[data-motion="slide"]{animation:caption-slide .1s ease-out}#caption[data-motion="fade"]{animation:caption-fade .1s ease-out}.style:hover .sample[data-motion="pop"]{animation:caption-pop .45s ease-out}.style:hover .sample[data-motion="slide"]{animation:caption-slide .4s ease-out}.style:hover .sample[data-motion="fade"]{animation:caption-fade .5s ease-out}.references{margin-top:22px;border-top:1px solid #34363a;padding-top:18px;font-size:12px;color:#a4a9a0}.references summary{cursor:pointer}.references p{line-height:1.6}.references a{display:inline-block;color:#c0ef76;margin:4px 20px 5px 0}.word input{font-family:'Noto Sans','Noto Sans Telugu','Noto Sans Devanagari',sans-serif;font-weight:400}@keyframes caption-pop{from{transform:scale(.88)}to{transform:scale(1)}}@keyframes caption-slide{from{transform:translateX(2.5%)}to{transform:translateX(0)}}@keyframes caption-fade{from{opacity:0}to{opacity:1}}@media(max-width:1100px){.template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-head{flex-direction:column;align-items:stretch}.library input{min-width:0}.brand .brand-name{font-size:16px}.library{padding:17px}}@media(max-width:430px){.template-grid{grid-template-columns:1fr 1fr;gap:8px}.template-grid .sample{font-size:21px;padding:20px 10px}.brand .brand-name{font-size:14px}}@media(prefers-reduced-motion:reduce){.style:hover .sample{animation:none!important}}
.sample{font-synthesis:style}

.mission-nav{color:#c0ef76;font-size:12px;text-decoration:none;margin-left:20px}@media(max-width:600px){.mission-nav{margin-left:auto;font-size:10px}header .privacy{display:none}}

#sound-settings{margin:18px 0;padding:15px;background:#22272a;border:1px solid #49543d;border-radius:8px}#sound-settings input{width:100%;accent-color:#c0ef76}#sound-settings label{font-size:12px}#sound-library>p{color:#a4aa9e;font-size:13px;line-height:1.7}header nav{display:flex;gap:15px;flex-wrap:wrap}header nav a{color:#c0ef76;text-decoration:none;font-size:12px}[hidden]{display:none!important}

header nav a.current{color:#10150b;background:#c0ef76;border-radius:7px;padding:9px 12px}header nav a{padding:9px 12px}#export-panel{max-width:720px}#sound-settings{max-width:560px}#sound-settings input{display:block;margin:16px 0}#export-panel .download{margin-top:14px}

/* Compact editing desk: settings, preview, presets; transcript and export follow. */
main{max-width:1800px;padding:22px 3%}.intro h1{font-size:30px;margin:8px 0}.intro p{margin:8px 0}#notice{margin:16px 0}
.editor-workspace{grid-template-columns:270px minmax(0,1fr) 340px;gap:16px;align-items:stretch}
.editor-workspace>.editor-settings,.editor-workspace>.preset-panel{min-width:0;max-height:560px;overflow:auto;scrollbar-gutter:stable}
.editor-settings .settings{padding:18px}.editor-settings .panel-heading{padding:18px}.editor-settings .row{flex-wrap:wrap}.editor-settings .row select{flex:1 1 130px}.editor-settings .hint{margin-bottom:16px}.editor-settings .selected-template{margin-bottom:0}
.editor-workspace .preview-panel{min-width:0;display:flex;flex-direction:column}.editor-workspace #stage{height:460px;min-height:260px;flex:1}.editor-workspace video{max-height:460px}.editor-workspace .preview-note{line-height:1.5}
.preset-panel{background:#191a1e;border:1px solid #303136;border-radius:12px}.preset-panel .library{margin:0;padding:16px;border:0;border-radius:0;scroll-margin-top:12px}.preset-panel .library-head{display:block}.preset-panel .library h2{font-size:20px;margin:8px 0}.preset-panel .library p{line-height:1.5}.preset-panel .library input[type=search]{min-width:0;width:100%}.preset-panel .filters{gap:5px;margin:14px 0}.preset-panel .filters button{padding:6px 9px;font-size:11px}.preset-panel .template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.preset-panel .template-grid .sample{height:82px;font-size:19px;padding:14px 8px}.preset-panel .template-grid strong{margin:0 10px;font-size:12px}.preset-panel .template-grid small{margin:6px 10px;font-size:9px}.preset-panel .template-grid p{margin:8px 10px 12px;font-size:10px;min-height:0}.preset-panel .references{font-size:11px}.preset-panel #sound-settings{margin-bottom:0}
.transcript{margin-top:16px}#words{max-height:245px}#export-panel{max-width:none;margin-top:16px;display:grid;grid-template-columns:1fr auto;gap:8px 24px;align-items:center}#export-panel .hint{grid-column:1;margin:0}#export-panel #export{grid-column:2;grid-row:1/3;width:auto;min-width:260px}#export-panel #download{grid-column:1/-1}
@media(max-width:1150px){.editor-workspace{grid-template-columns:230px minmax(0,1fr) 280px;gap:10px}main{padding:20px 2%}.preset-panel .template-grid{grid-template-columns:1fr}.editor-settings .settings{padding:14px}.editor-workspace #stage{height:430px}}
@media(max-width:950px){.editor-workspace{grid-template-columns:240px minmax(0,1fr)}.editor-workspace>.preset-panel{grid-column:1/-1;max-height:340px}.preset-panel .template-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.editor-workspace>.editor-settings{max-height:560px}.intro{flex-direction:row}}
@media(max-width:600px){header{height:auto;min-height:80px;flex-wrap:wrap;padding:12px 4%;gap:10px}header nav{order:3;width:100%;gap:6px}header nav a{font-size:11px;padding:8px}.editor-workspace{grid-template-columns:1fr}.editor-workspace>.editor-settings{max-height:none}.editor-workspace>.preset-panel{grid-column:auto;max-height:420px}.preset-panel .template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-workspace #stage{height:320px}.editor-workspace video{max-height:320px}.intro{flex-direction:column}.intro h1{font-size:26px}#export-panel{display:block}#export-panel #export{width:100%;min-width:0;margin-top:14px}#words{max-height:300px}}

.save-strip{display:flex;flex-wrap:wrap;gap:18px;margin-top:14px;color:#c0ef76;font-size:12px}.save-strip span:last-child{color:#aeb7a5}#draft-recovery{padding:14px;border:1px solid #c99b54;margin-top:12px;background:#302719}dialog{width:min(740px,94vw);max-height:88vh;background:#191a1e;color:#eee;border:1px solid #49513e;border-radius:14px;padding:0}dialog::backdrop{background:#0009}.drive-body{padding:22px;line-height:1.7;font-size:13px}.drive-body a{color:#c0ef76}.drive-body code{overflow-wrap:anywhere}.drive-body ol{padding-left:22px}.drive-body li{margin:12px 0}.drive-body input[type=file]{display:block;margin:12px 0;max-width:100%}.drive-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.drive-check{display:flex;gap:10px;align-items:center}#drive-projects>div{border-top:1px solid #444;padding:12px 0;display:flex;justify-content:space-between;gap:12px}#drive-message{color:#c0ef76}#drive-dialog h2{font-size:19px;margin:0}header{height:auto;min-height:80px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}
