[data-background-video] { opacity: 0; transition: opacity .4s ease; }
[data-background-video].is-playing { opacity: 1; }
.tf-video-prompt { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1rem; min-height:12rem; }
.tf-video-open { display:flex; align-items:center; justify-content:center; width:5.5rem; height:5.5rem; border-radius:50%; background:#c97a3e; border:1px solid #ffffff66; box-shadow:0 8px 30px #0006; color:white; }
.tf-video-open:disabled { background:#18181baa; cursor:default; }
.tf-video-open:focus-visible, .tf-video-toggle:focus-visible { outline:3px solid white; outline-offset:5px; }
.tf-video-label { padding:.4rem .8rem; background:#09090bcc; border-radius:999px; font-size:.875rem; color:white; }
.tf-video-toggle { color:white; text-decoration:underline; text-underline-offset:4px; background:#09090baa; padding:.35rem .7rem; border-radius:6px; font-size:.8rem; }
.tf-video-captions { position:relative; z-index:10; max-width:48rem; margin:2rem auto 0; padding:.7rem 1rem; border-radius:.5rem; background:#09090be6; color:white; white-space:pre-line; text-align:center; font-size:clamp(1rem,2vw,1.25rem); line-height:1.4; }
.tf-video-dialog { padding:0; width:calc(100% - 2rem); max-width:72rem; border:1px solid #ffffff33; border-radius:1rem; background:#09090b; color:white; }
.tf-video-dialog::backdrop { background:#000c; backdrop-filter:blur(6px); }
.tf-video-dialog video { display:block; width:100%; max-height:80dvh; aspect-ratio:16/9; object-fit:contain; }
.tf-video-dialog-bar { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.75rem 1rem; }
.tf-video-dialog-bar button { border:1px solid #ffffff66; border-radius:999px; padding:.4rem .8rem; }
[data-taskforce-video] [hidden] { display:none; }
@media(prefers-reduced-motion:reduce) { [data-background-video] { transition:none; } }
