
.tts-wrap{max-width:760px;margin:0 auto;padding:4px 0 20px}
.tt-card{background:#fff;border:1px solid #e3e6ea;border-radius:12px;box-shadow:0 8px 24px rgba(15,23,42,.06);padding:22px;margin-bottom:16px}
.tt-card h3{font-size:15px;color:#333;margin:0 0 12px;font-weight:600;display:flex;align-items:center;gap:6px}
.tt-card h3 .tt-tag{font-size:11px;color:#ff6500;background:#fff3e6;border-radius:4px;padding:1px 7px;font-weight:400}
.tt-textarea{width:100%;min-height:150px;border:1px solid #d3d9e2;border-radius:10px;padding:12px 14px;font-size:15px;line-height:1.7;color:#333;background:#fff;resize:vertical;box-sizing:border-box;transition:.2s;font-family:inherit}
.tt-textarea:focus{outline:none;border-color:#ff6500;box-shadow:0 0 0 2px rgba(255,101,0,.15)}
.tt-bar{display:flex;align-items:center;gap:8px;margin-top:10px;flex-wrap:wrap}
.tt-count{font-size:12px;color:#999;margin-left:auto}
.tt-count b{color:#ff6500;font-weight:600}
.tt-btn{border-radius:8px;padding:8px 16px;font-size:13px;cursor:pointer;border:1px solid #d3d9e2;background:#fff;color:#333;transition:.2s;font-weight:500}
.tt-btn:hover:not(:disabled){border-color:#ff6500;color:#ff6500}
.tt-btn-primary{background:linear-gradient(135deg,#ff6500,#ff8627);border-color:transparent;color:#fff}
.tt-btn-primary:hover:not(:disabled){opacity:.9;color:#fff}
.tt-btn:disabled{opacity:.55;cursor:not-allowed}
.tt-row{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.tt-row label{width:70px;font-size:13px;color:#555;flex:0 0 auto}
.tt-row input[type=range]{flex:1;min-width:120px;accent-color:#ff6500;cursor:pointer}
.tt-row select.tt-select{flex:1;min-width:150px;max-width:340px;padding:7px 10px;border-radius:8px;border:1px solid #d3d9e2;background:#fff;color:#333;font-size:13px;cursor:pointer;outline:none;transition:.2s}
.tt-row select.tt-select:focus{border-color:#ff6500}
.tt-row .tt-val{font-size:13px;color:#ff6500;width:56px;text-align:right;flex:0 0 auto;font-weight:600}
.tt-bgm{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tt-bgm-file{flex:1;min-width:140px;border:1px dashed #ffd9b8;border-radius:8px;background:#f5f9ff;padding:8px 12px;font-size:13px;color:#555;cursor:pointer;text-align:center;transition:.2s}
.tt-bgm-file:hover{border-color:#ff6500;background:#fff3e6}
.tt-bgm-info{font-size:12px;color:#999;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.tt-bgm-info b{color:#333;font-weight:600;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tt-gen-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.tt-gen-row .tt-btn{padding:11px 24px;font-size:14px}
.tt-progress{margin-top:12px;display:none}
.tt-bar2{height:8px;background:#eef2f7;border-radius:99px;overflow:hidden}
.tt-bar2 i{display:block;height:100%;width:0;background:linear-gradient(90deg,#ff6500,#ff8627);border-radius:99px;transition:width .3s}
.tt-progress span{display:block;font-size:12px;color:#999;margin-top:6px}
.tt-result{margin-top:14px;display:none}
.tt-audio{width:100%;margin-bottom:12px}
.tt-dl{display:flex;gap:10px;flex-wrap:wrap}
.tt-history{display:flex;flex-direction:column;gap:6px;margin-top:4px}
.tt-hitem{display:flex;align-items:center;gap:8px;font-size:13px;color:#555;background:#f7f9fc;border:1px solid #eef1f5;border-radius:8px;padding:7px 12px;cursor:pointer;transition:.2s}
.tt-hitem:hover{border-color:#ff6500;color:#ff6500}
.tt-hitem span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tt-hitem i{font-style:normal;font-size:11px;color:#999;flex:0 0 auto}
.tt-hitem .tt-del{font-style:normal;font-size:12px;color:#c0392b;background:none;border:none;cursor:pointer;flex:0 0 auto;padding:0 4px;line-height:1;transition:.2s}
.tt-hitem .tt-del:hover{color:#e74c3c}
.tt-tip{font-size:12px;color:#999;margin-top:12px;line-height:1.8}
.night .tt-card{background:#222630;border-color:#3a3f48;box-shadow:none}
.night .tt-card h3{color:#e6e8eb}
.night .tt-card h3 .tt-tag{color:#ff8627;background:#1f2733}
.night .tt-textarea{background:#1a1d24;border-color:#3a3f48;color:#e6e8eb}
.night .tt-count{color:#9aa2ad}
.night .tt-count b{color:#ff8627}
.night .tt-btn{background:#2b2f36;border-color:#3a3f48;color:#e6e8eb}
.night .tt-btn:hover:not(:disabled){border-color:#ff8627;color:#ff8627}
.night .tt-btn-primary{background:linear-gradient(135deg,#ff6500,#ff8627);color:#fff}
.night .tt-row label{color:#9aa2ad}
.night .tt-row select.tt-select{background:#1a1d24;border-color:#3a3f48;color:#e6e8eb}
.night .tt-bgm-file{background:#1a1d24;border-color:#3a3f48;color:#9aa2ad}
.night .tt-bgm-file:hover{border-color:#ff8627;background:#1f2733}
.night .tt-bgm-info{color:#9aa2ad}
.night .tt-bgm-info b{color:#e6e8eb}
.night .tt-bar2{background:#2f343d}
.night .tt-progress span{color:#9aa2ad}
.night .tt-tip{color:#9aa2ad}
.night .tt-hitem{background:#1f2329;border-color:#2f343d;color:#9aa2ad}
.night .tt-hitem:hover{border-color:#ff8627;color:#ff8627}
.night .tt-hitem i{color:#6b7280}
