/* 文字轉語音頁專用樣式；共用元件沿用 site.css */
.tts-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 12px; }
.tts-grid > * { min-width: 0; }
.tts-grid .qr-field input[type=range] { display: block; width: 100%; margin-top: 8px; }
.tts-val { font-weight: 400; color: var(--muted); }
.tts-ctl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; }
.tts-ctl .btn { min-height: 52px; font-size: 1.05rem; padding: 0 4px; }
.tts-now { background: var(--soft); border-radius: 10px; padding: 10px 14px; min-height: 3.2em; margin: 8px 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.tts-now mark { background: #fde68a; color: inherit; border-radius: 3px; padding: 0 1px; }
.tts-bar { height: 8px; background: var(--line); border-radius: 5px; overflow: hidden; margin: 6px 0; }
.tts-bar div { height: 100%; width: 0; background: var(--brand); }
.tts-warn { background: #fffbeb; border-left: 4px solid var(--warn); padding: 10px 14px; border-radius: 6px; font-size: 1rem; margin: 10px 0; }
@media (max-width: 560px) { .tts-grid { grid-template-columns: 1fr; } .tts-ctl { grid-template-columns: 1fr 1fr; } }
