:root{font-family:system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;color:#edf2f7;background:#0b1220;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 80% -20%,#1c3651 0,transparent 45%),#0b1220;min-height:100vh}
.top{height:76px;padding:0 max(20px,calc((100vw - 900px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff12;background:#0b1220cc;position:sticky;top:0;z-index:5;backdrop-filter:blur(16px)}
.brand{display:flex;align-items:center;gap:12px}.brand strong{display:block;font-size:15px}.brand small{color:#91a3b8;font-size:11px}.logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#37c5b5,#2677a5);display:grid;place-items:center;font-size:25px;font-weight:800;color:#06212a}
.status,.optional,.done{font-size:12px;border:1px solid #ffffff20;padding:6px 11px;border-radius:99px;color:#a9c1d3}
main{width:min(100% - 30px,760px);margin:35px auto 70px}.intro{margin-bottom:24px}.eyebrow{font-size:10px;letter-spacing:2px;color:#4dd2c0;font-weight:800}.intro h1{font-size:clamp(27px,6vw,40px);margin:10px 0 8px;letter-spacing:-1px}.intro p{color:#a8b6c8;line-height:1.8;margin:0;max-width:620px;font-size:14px}
.panel{background:linear-gradient(145deg,#152237,#111c2d);border:1px solid #ffffff13;border-radius:20px;padding:20px;margin:15px 0;box-shadow:0 12px 40px #0002}
.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}.section-head h2{font-size:16px;margin:0 0 4px}.section-head small{font-size:12px;color:#91a3b8}.section-head>span{font-size:11px;color:#8da4b7;white-space:nowrap}
textarea{width:100%;min-height:220px;resize:vertical;background:#0a1423;border:1px solid #293c54;border-radius:14px;padding:17px;color:#f5f7fa;font:19px/2.05 "Noto Naskh Arabic",Tahoma,serif;outline:none}textarea:focus{border-color:#39bfb0;box-shadow:0 0 0 3px #39bfb01a}textarea::placeholder{color:#667b91}
.tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.chip{background:#1c3048;color:#c7d7e6;border:1px solid #ffffff12;border-radius:99px;padding:8px 11px;font-size:11px;cursor:pointer}.chip:active{transform:scale(.97)}.hint{color:#8194a8;font-size:11px;line-height:1.7;margin-top:10px}
.upload{border:1px dashed #426078;background:#0d1929;border-radius:14px;padding:15px;display:flex;align-items:center;gap:12px;cursor:pointer}.upload-icon{width:42px;height:42px;display:grid;place-items:center;background:#173a4a;color:#52d3c0;border-radius:12px;font-size:23px}.upload b,.upload small{display:block}.upload b{font-size:13px}.upload small{font-size:10px;color:#8da2b5;margin-top:4px}.browse{margin-right:auto;background:#23475a;color:#c9f8ef;border-radius:9px;padding:8px 12px;font-size:11px}.filename{color:#8da2b5;font-size:11px;margin:10px 2px}.consent{display:flex;gap:9px;align-items:flex-start;color:#a8b8c8;font-size:11px;line-height:1.7;margin-top:12px}.consent input{accent-color:#36c6b5;margin-top:3px}
.setting-label{display:flex;justify-content:space-between;font-size:13px;margin-bottom:12px}.setting-label b{color:#51d6c3}input[type=range]{width:100%;accent-color:#35c6b4}.range-labels{display:flex;justify-content:space-between;color:#7f92a7;font-size:10px}.notice{margin-top:17px;padding:12px;border-radius:12px;background:#192d3c;color:#a8c0cc;font-size:11px;line-height:1.8;border-right:3px solid #35bfae}
.primary{width:100%;border:0;border-radius:15px;padding:16px;background:linear-gradient(100deg,#39c7b5,#268eaa);color:#05232b;font-weight:800;font-size:16px;box-shadow:0 10px 30px #20aa9b30;cursor:pointer}.primary:disabled{opacity:.55;cursor:wait}.primary span{margin-left:8px}
.progress{display:flex;align-items:center;gap:12px;color:#a9c1d2;font-size:12px;margin:18px 5px}.spinner{width:20px;height:20px;border:2px solid #345064;border-top-color:#4dd2c0;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.result{border-color:#2a8d7f}.result audio{width:100%;margin:5px 0 14px}.done{color:#5be0b8;border-color:#2b8d78}.download{display:block;text-align:center;text-decoration:none;color:#071f28;background:#64d8bd;padding:12px;border-radius:11px;font-weight:800;font-size:13px}
footer{text-align:center;color:#61768c;font-size:11px;padding:25px 0}
@media(max-width:520px){.top{height:66px}.panel{padding:16px;border-radius:17px}main{margin-top:25px}textarea{min-height:190px;font-size:18px}.intro p{font-size:13px}}
