:root{font-family:Arial,sans-serif;color:#182332;background:#f3f6fa}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit}header{height:88px;background:#fff;border-bottom:1px solid #e1e7ef;display:flex;justify-content:space-between;align-items:center;padding:0 6vw}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:21px;font-weight:700}.brand span{font-weight:400;color:#68788f}.mark{display:grid;place-items:center;background:#245ce0;color:#fff;border-radius:12px;width:44px;height:44px;font-size:36px}header small{color:#617188;font-size:14px}main{max-width:1200px;margin:auto;padding:48px 28px 25px}.intro{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:32px}.eyebrow{font-size:12px;letter-spacing:1.8px;font-weight:700;color:#68798f}h1{font-size:40px;line-height:1.35;letter-spacing:-1px;margin:14px 0 0}h1 em{font-style:normal;color:#245ce0}.intro p{line-height:1.9;color:#64758a;font-size:16px;margin:0 0 5px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px}.panel{background:#fff;border:1px solid #e0e7f0;border-radius:20px}.editor{display:flex;flex-direction:column;overflow:hidden}.heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:24px 26px;font-weight:600;border-bottom:1px solid #edf1f6}.text-button{background:none;color:#245ce0;border:0;font-size:14px}textarea{width:100%;min-height:260px;flex:1;padding:25px 26px;resize:vertical;border:0;outline:none;line-height:1.95;font-size:18px;color:#344256;background:none}textarea:focus{box-shadow:inset 0 0 0 2px #8babf5}.meta{display:flex;justify-content:space-between;font-size:13px;color:#728198}.editor>.meta{padding:14px 26px}.actions{display:flex;align-items:center;gap:15px;padding:22px 25px;background:#fafbfd;border-top:1px solid #edf1f6}.actions p{font-size:13px;color:#758196;line-height:1.7;flex:1;margin:0}.primary{background:#245ce0;color:#fff;border:0;border-radius:11px;padding:17px 22px;font-weight:600;white-space:nowrap}.primary:hover{background:#1747b7}.stop{background:#fff;border:1px solid #ccd8ee;border-radius:8px;padding:12px}.voice{text-align:center;padding:28px}.voice-icon{width:92px;height:92px;display:grid;place-items:center;border-radius:50%;color:#245ce0;background:#eaf0ff;margin:26px auto 18px;font-size:78px;line-height:1}.voice h2{font-size:25px;margin:0 0 15px}.tag{font-size:13px;border-radius:20px;padding:7px 12px;background:#f0f4fc;color:#566a88}.voice hr{border:0;border-top:1px solid #edf1f6;margin:30px 0 24px}.speed{display:flex;justify-content:space-between;font-size:15px}.speed b{color:#245ce0}input[type=range]{width:100%;accent-color:#245ce0;margin:20px 0 12px}.note{text-align:left;background:#f6f8fc;padding:17px;border-radius:12px;margin-top:25px;font-size:15px;color:#526580}small{font-weight:400}.note small{display:block;margin-top:7px;color:#758196;font-size:13px}.privacy{font-size:13px;line-height:1.8;color:#7a8698;text-align:left;margin-bottom:0}.output{padding:24px 27px;margin-top:23px}.output .heading{padding:0;border:0}.output h2{font-size:18px;margin:0}.output small,.status{font-size:13px;color:#708096}.status{margin-top:18px}.empty{display:flex;justify-content:center;align-items:center;gap:18px;padding:28px 0;color:#65758b}.empty>span{display:grid;place-items:center;background:#eff3f9;border-radius:50%;width:52px;height:52px;font-size:30px}.empty p{font-size:16px;margin:0}.empty small{display:block;margin-top:10px;line-height:1.7;color:#8795a8}.result{display:flex;align-items:center;gap:20px;margin:20px 0}.result audio{flex:1;min-width:0}.download{border:1px solid #ccd9f4;color:#245ce0;border-radius:10px;padding:14px 20px;text-decoration:none;white-space:nowrap}.error{color:#b42318;background:#fff1f0;padding:15px;line-height:1.7;border-radius:10px}summary{font-size:14px;cursor:pointer;color:#536887}.chunk{border-top:1px solid #edf1f6;margin-top:15px}.chunk p{font-size:15px;line-height:1.7}.chunk b{color:#245ce0;margin-right:10px}.chunk audio{width:100%}footer{display:flex;justify-content:space-between;gap:20px;margin-top:25px;font-size:12px;color:#77869a;line-height:1.8}:focus-visible{outline:3px solid #80a6ff;outline-offset:3px}@media (max-width:850px){.intro{display:block}.intro p{margin-top:20px}.workspace{grid-template-columns:minmax(0,1fr) 260px}.actions{flex-wrap:wrap}.actions p{flex-basis:100%}}@media (max-width:650px){header{height:74px;padding:0 19px}.brand{font-size:17px;gap:8px}header small{display:none}main{padding:30px 16px}h1{font-size:32px}.workspace{grid-template-columns:1fr}.voice{order:-1;padding:20px}.voice-icon,.privacy,.note,.voice hr{display:none}.voice h2{margin-top:14px}.speed{margin-top:26px}.actions .primary{flex:1}.result,.heading,footer{flex-wrap:wrap}.result audio{flex-basis:100%}.empty{align-items:flex-start}.output{padding:21px}}.match-settings{border-top:1px solid #edf1f6;margin-top:23px;padding-top:20px;text-align:left}.match-toggle{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600}.match-toggle input{width:18px;height:18px;accent-color:#245ce0}.match-settings p,.match-settings small{font-size:13px;color:#64758a;line-height:1.7}.match-settings .speed{margin-top:18px}.match-settings input[type=range]{margin-top:12px}.ab{margin:20px 0;padding:18px;background:#f5f7fc;border-radius:12px;display:flex;flex-wrap:wrap;gap:14px;align-items:center}.ab label{font-size:14px;flex-basis:100%;color:#536887}.ab audio{flex:1;min-width:220px}.ab a{font-size:14px;color:#245ce0}@media (max-width:650px){.match-settings .speed{margin-top:16px}.ab audio{width:100%;min-width:0;flex-basis:100%}}.brand .site-title{color:#182332;font-weight:700;line-height:1.4}.brand{min-width:0}.brand .mark{flex-shrink:0}@media (max-width:650px){.brand .site-title{font-size:16px}header{height:auto;min-height:74px;padding-top:12px;padding-bottom:12px}}.generation-progress{margin:18px 0 22px}.progress-label{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px;font-size:14px;color:#526580}.progress-label strong{color:#15803d;font-size:16px;font-variant-numeric:tabular-nums}.progress-track{height:12px;border-radius:999px;background:#e6f4eb;overflow:hidden}.progress-fill{height:100%;border-radius:inherit;background:#16a34a;transition:width .35s ease;position:relative;overflow:hidden}.progress-fill.running:after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent,rgba(255,255,255,.35),transparent);animation:progress-shine 1.4s linear infinite}@keyframes progress-shine{0%{transform:translate(-100%)}to{transform:translate(100%)}}@media (prefers-reduced-motion:reduce){.progress-fill{transition:none}.progress-fill.running:after{animation:none}}.input-tabs{display:flex;gap:8px;padding:16px 20px;border-bottom:1px solid #edf1f6}.input-tabs button{border:0;background:#f1f4f9;color:#536887;border-radius:9px;padding:12px 16px;font-size:15px}.input-tabs button[aria-selected=true]{background:#245ce0;color:#fff}.input-panel{display:flex;flex:1;flex-direction:column}.input-panel[style*="display: none"]{display:none!important}.srt-upload{padding:22px 26px;border-bottom:1px solid #edf1f6}.srt-upload>label{display:block;font-weight:600;margin-bottom:15px}.srt-upload input{display:block;max-width:100%;font-size:14px}.srt-upload p{font-size:14px;line-height:1.7;color:#607086;overflow-wrap:anywhere}.srt-upload .srt-summary{color:#15803d}.srt-upload .error{color:#b42318}.srt-preview-label{padding:20px 26px 0;font-size:14px;font-weight:600}.input-tabs{flex-wrap:wrap}.input-tabs button{line-height:1.5;text-align:left}.workspace.donating{grid-template-columns:1fr}.donate-panel{padding:32px}.donate-panel h2{font-size:26px;line-height:1.4;margin:14px 0}.donate-panel p{color:#64758a;line-height:1.7}.donate-layout{display:flex;align-items:center;justify-content:center;gap:48px;margin:28px 0}.donate-qr{background:#fff;border:1px solid #e1e8ef;border-radius:16px;padding:14px;max-width:100%;text-align:center}.donate-qr img{display:block;width:330px;height:auto;max-width:100%}.donate-qr span{display:block;font-size:14px;color:#64758a;padding:8px}.donate-details dt{font-size:14px;color:#64758a;margin:18px 0 7px}.donate-details dd{font-size:20px;font-weight:600;margin:0;overflow-wrap:anywhere}.account-number{font-variant-numeric:tabular-nums;user-select:all}.donate-details .primary{margin-top:24px}.copy-status{font-size:14px;min-height:24px}.donate-details .download{display:inline-block}.donate-thanks{text-align:center}@media (max-width:650px){.donate-panel{padding:22px 18px}.donate-panel h2{font-size:22px}.donate-layout{flex-direction:column;gap:10px}.donate-details{width:100%}.donate-qr img{width:280px}}.sidebar-donate h2{font-size:19px;line-height:1.5;margin:0 0 15px}.sidebar-donate img{display:block;width:100%;max-width:280px;height:auto;margin:auto}.sidebar-donate p{font-size:14px;line-height:1.5;margin:8px 0;overflow-wrap:anywhere}.sidebar-donate .bank-name{color:#15803d;font-weight:700;font-size:17px}.sidebar-donate .account-number{font-size:19px;font-weight:700}.sidebar-donate .copy-status{font-size:12px;min-height:0}.sidebar-donate a{display:inline-block;margin-top:8px}.sidebar-donate .text-button{line-height:1.7}@media (min-width:851px){header{height:64px;padding:0 4vw}.brand{font-size:18px}.mark{width:36px;height:36px;font-size:29px}main{max-width:1320px;padding:20px 24px 12px}.intro{margin-bottom:16px;align-items:center}.intro .eyebrow{font-size:12px}h1{font-size:27px;line-height:1.2;margin-top:7px}.intro p{font-size:14px;line-height:1.6}.workspace{grid-template-columns:minmax(0,1fr) 280px;gap:16px}.panel{border-radius:14px}.input-tabs{padding:10px 16px}.input-tabs button{padding:8px 14px;font-size:14px}.heading{padding:14px 20px}textarea{min-height:150px;height:180px;padding:16px 20px;font-size:16px;line-height:1.7}.editor>.meta{padding:8px 20px}.actions{padding:12px 20px}.primary{padding:12px 18px}.voice{padding:16px 18px}.sidebar-donate h2{font-size:16px;line-height:1.35;margin-bottom:6px}.sidebar-donate img{width:148px}.sidebar-donate p{font-size:13px;line-height:1.35;margin:4px 0}.sidebar-donate .bank-name{font-size:15px}.sidebar-donate .account-number{font-size:17px}.sidebar-donate .text-button{font-size:13px}.sidebar-donate a{margin-top:2px}.sidebar-donate .copy-status:empty{display:none}.voice hr{margin:12px 0}.speed{font-size:14px}input[type=range]{margin:10px 0 6px}.voice .note,.voice .privacy{display:none}.output{padding:14px 20px;margin-top:14px}.output h2{font-size:16px}.status{margin:9px 0}.empty{padding:8px 0;gap:12px}.empty>span{height:36px;width:36px;font-size:24px}.empty p{font-size:14px}.empty small{margin-top:4px}.result{margin:8px 0;gap:14px}.result audio{height:40px}.download{padding:10px 16px}.generation-progress{margin:10px 0}.progress-label{margin-bottom:7px}.progress-track{height:9px}details{margin-top:8px}details[open]{max-height:180px;overflow-y:auto}footer{margin-top:10px;font-size:12px}.srt-upload{padding:12px 20px}.srt-upload>label{margin-bottom:8px;font-size:14px}.srt-upload p{font-size:13px;margin:6px 0}.srt-preview-label{padding:12px 20px 0}}@media (min-width:851px) and (max-height:800px){.intro h1 br{display:none}.intro h1 em{margin-left:8px}h1{font-size:24px}.intro .eyebrow{display:none}.intro p{font-size:13px}main{padding-top:14px}.intro{margin-bottom:12px}.sidebar-donate img{width:126px}.voice{padding:12px 16px}.sidebar-donate h2{font-size:15px}.sidebar-donate p{margin:3px 0}.sidebar-donate .bank-name{font-size:14px}.sidebar-donate .account-number{font-size:16px}.voice hr{margin:8px 0}.output{margin-top:10px;padding:12px 18px}header{height:56px}textarea{min-height:110px;height:140px}.input-tabs{padding:8px 14px}.heading{padding:11px 18px}.actions{padding:10px 18px}.empty{padding:4px 0}footer{margin-top:7px}}
