/* Burn subtitles into a video: js/burn-subtitles.js (landing page and Subtitle Studio). */
.svb-stage { position: relative; background: #000; border-radius: 10px; overflow: hidden; }
.svb-stage video { display: block; width: 100%; max-height: 60vh; background: #000; }
.svb-ov { position: absolute; text-align: center; line-height: 1.25; pointer-events: none; font-family: "Liberation Sans", Arial, "Noto Sans", sans-serif; overflow-wrap: anywhere; }
.svb-outline span { text-shadow: 0 0 2px #000, 0 0 2px #000, 1px 1px 2px #000, -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 2px 2px 3px rgba(0, 0, 0, .6); }
.svb-box span { background: rgba(0, 0, 0, .68); padding: .05em .3em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.svb-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 10px; }
.svb-label { flex: 0 0 96px; font-weight: 600; font-size: 14px; color: #334155; }
.svb-opts { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.svb-opts button { border: 1px solid #d6dce8; background: #fff; color: #1e293b; border-radius: 8px; padding: 5px 11px; font-size: 14px; line-height: 1.3; display: inline-flex; align-items: center; gap: 6px; }
.svb-opts button.on { border-color: #2563eb; background: #eaf1ff; color: #1d4ed8; box-shadow: 0 0 0 1px #2563eb inset; }
.svb-opts button:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.svb-dot { width: 13px; height: 13px; border-radius: 50%; border: 1px solid #94a3b8; display: inline-block; }
.svb-jobs { list-style: none; padding: 0; margin: 0; }
.svb-job { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; padding: 8px 0; border-top: 1px solid #eef1f6; }
.svb-job-name { min-width: 0; overflow-wrap: anywhere; }
.svb-msg { margin-top: 8px; font-size: 14px; }
.svb-msg.bad { color: #b42318; }
.svb-msg.ok { color: #067647; }
.svb-progress { height: 8px; border-radius: 4px; background: #e9eef6; overflow: hidden; margin-top: 8px; }
.svb-progress > div { height: 100%; width: 0; background: #2563eb; transition: width .2s; }
@media (max-width: 480px) { .svb-label { flex-basis: 100%; } }
[dir="rtl"] .svb-label { text-align: right; }
