.sub-tip-box {
  display: flex; align-items: flex-start; gap: 8px;
  background: var(--p-llt); border: 1px solid rgba(105,56,239,.15);
  border-radius: 8px; padding: 10px 13px;
  font-size: 11.5px; color: var(--text2); line-height: 1.5;
}
.sub-tip-box svg { flex-shrink: 0; stroke: var(--p); margin-top: 1px; }

.download-srt-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 8px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  font-family: 'Inter', sans-serif;
  background: #dcfce7; color: #15803d;
  border: 1px solid #bbf7d0;
  transition: background .15s;
}
.download-srt-btn:hover { background: #bbf7d0; }

#output pre, #output code {
  font-family: 'Courier New', monospace;
  font-size: 12.5px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Script-to-SRT form (client-side rebuild) */
#toolForm .field { display: flex; flex-direction: column; }
#toolForm .field > label { margin-bottom: 6px; }
.sub-hint { font-size: 11.5px; color: var(--text3); margin-top: 5px; line-height: 1.4; }
.sub-duration { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sub-dur-part { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text2); font-weight: 600; }
#toolForm .sub-duration .sub-dur-part input { width: 76px; padding: 9px 10px; }
#toolForm .sub-duration .sub-dur-text input { width: 92px; font-family: 'Courier New', monospace; }
.sub-error {
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
  border-radius: 8px; padding: 10px 13px; font-size: 12.5px; line-height: 1.5;
}
.sub-error[hidden] { display: none; }
#output .srt-summary {
  font-size: 12.5px; color: rgba(255,255,255,.78); line-height: 1.5;
  background: rgba(255,255,255,.06); border-radius: 8px; padding: 8px 12px; margin: 0;
}
#output .srt-summary.warn { color: #fcd34d; }
#output pre.srt-text { margin: 0; color: #e2e8f0; }
#output pre.srt-text code { background: none; padding: 0; font-size: 12.5px; }
