/*!
 * Themeasy — Video Widget Styles
 *
 * Video facade: an aspect-ratio frame holding the poster (image, auto
 * YouTube thumbnail, or token gradient placeholder), a bottom scrim, a glass
 * play button with an optional pulse ring, and a micro-label badge. The
 * on-demand player (iframe or native video) is layered above the facade and
 * cross-fades in once loaded; the ambient skin autoplays a muted native
 * video with no facade at all. Structure is pure CSS — with no JS the facade
 * is a plain link to the video and everything above still renders.
 *
 * Public tokens (--tms-*) are consumed — never private (--themeasy-*).
 *
 * @author Themeasy
 * @link https://themeasy.co
 * @since 1.0.0
 */
.tms-video{--tms-video-frame-bg:#05070c;--tms-video-duration:.35s;--tms-video-play-size:1.5rem;--tms-video-play-box:2.6em;--tms-video-play-cap:40cqmin;--tms-video-play-blur:10px;--tms-video-scrim-color:var(--tms-video-frame-bg);--tms-video-scrim-opacity:.5;--tms-video-zoom-scale:1.04;--tms-video-play-ring-color:#ffffff8c;--tms-video-badge-offset:.875rem;position:relative}.tms-video .tms-video__frame{aspect-ratio:16/9;border-radius:var(--tms-radius-md,.5rem);background-color:var(--tms-video-frame-bg);isolation:isolate;position:relative;overflow:hidden}.tms-video .tms-video__facade{cursor:pointer;transition:opacity var(--tms-video-duration) ease, visibility var(--tms-video-duration) ease;text-decoration:none;display:block;position:absolute;top:0;bottom:0;left:0;right:0}.tms-video .tms-video__facade[aria-disabled=true]{cursor:default}.tms-video .tms-video__poster{object-fit:cover;width:100%;height:100%;transition:transform var(--tms-video-duration) ease;position:absolute;top:0;bottom:0;left:0;right:0}.tms-video .tms-video__poster--placeholder{background:radial-gradient(120% 100% at 85% 0%, color-mix(in srgb, var(--tms-primary-color,#2563eb) 26%, transparent), transparent 60%), linear-gradient(135deg, #171b24, var(--tms-video-frame-bg) 72%)}.tms-video--hover-zoom .tms-video__facade:hover .tms-video__poster{transform:scale(var(--tms-video-zoom-scale))}.tms-video--hover-zoom .tms-video__facade:focus-visible .tms-video__poster{transform:scale(var(--tms-video-zoom-scale))}.tms-video .tms-video__scrim{background:linear-gradient(to top, var(--tms-video-scrim-color), transparent 62%);opacity:var(--tms-video-scrim-opacity);pointer-events:none;position:absolute;top:0;bottom:0;left:0;right:0}.tms-video .tms-video__play{width:var(--tms-video-play-box,2.6em);height:var(--tms-video-play-box,2.6em);font-size:var(--tms-video-play-size,1.5rem);color:var(--tms-white-color,#fff);border-radius:var(--tms-radius-pill,999px);-webkit-backdrop-filter:blur(var(--tms-video-play-blur,10px));transition:color var(--tms-video-duration) ease, background-color var(--tms-video-duration) ease, border-color var(--tms-video-duration) ease, scale var(--tms-video-duration) ease;background-color:#ffffff24;border:1px solid #ffffff47;justify-content:center;align-items:center;line-height:1;display:flex;position:absolute;top:50%;left:50%;translate:-50% -50%}.tms-video .tms-video__facade:hover .tms-video__play{background-color:#ffffff3d;scale:1.08}.tms-video .tms-video__facade:focus-visible .tms-video__play{background-color:#ffffff3d;scale:1.08}.tms-video .tms-video__play-icon{line-height:1;display:inline-flex;translate:.05em}.tms-video .tms-video__play-icon svg{fill:currentColor;width:1em;height:1em}.tms-video .tms-video__play-icon svg[fill=none]{fill:none;stroke:currentColor}.tms-video .tms-video__play-icon img{width:1em;height:1em}@supports (width:1cqmin){.tms-video .tms-video__frame{container-type:size}.tms-video .tms-video__play{width:min(var(--tms-video-play-box,2.6em), var(--tms-video-play-cap));height:min(var(--tms-video-play-box,2.6em), var(--tms-video-play-cap))}.tms-video .tms-video__play-icon{font-size:min(1em, calc(var(--tms-video-play-cap) / 2.6))}}.tms-video .tms-video__play-ring{border:1.5px solid var(--tms-video-play-ring-color);border-radius:inherit;opacity:0;pointer-events:none;position:absolute;top:0;bottom:0;left:0;right:0}.tms-video--pulse .tms-video__play-ring{animation:2.6s cubic-bezier(.2,.6,.35,1) infinite tms-video-pulse}@keyframes tms-video-pulse{0%{opacity:.7;scale:1}70%,to{opacity:0;scale:1.6}}.tms-video .tms-video__badge{bottom:var(--tms-video-badge-offset);color:var(--tms-white-color,#fff);-webkit-backdrop-filter:blur(6px);background-color:#05070c8c;position:absolute}.tms-video .tms-video__badge:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:var(--tms-video-badge-offset)}.tms-video .tms-video__badge:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:var(--tms-video-badge-offset)}.tms-video .tms-video__badge:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:var(--tms-video-badge-offset)}.tms-video .tms-video__badge:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:var(--tms-video-badge-offset)}.tms-video .tms-video__player{opacity:0;width:100%;height:100%;transition:opacity var(--tms-video-duration) ease;border:0;position:absolute;top:0;bottom:0;left:0;right:0}.tms-video--playing .tms-video__player{opacity:1}.tms-video--playing .tms-video__facade{opacity:0;visibility:hidden;pointer-events:none}.tms-video .tms-video__player--ambient{opacity:1;object-fit:cover}.tms-video .tms-video__facade:focus-visible{outline:2px solid var(--tms-primary-color,#2563eb);outline-offset:-2px;border-radius:inherit}.tms-video--static .tms-video__facade{cursor:default}.tms-video--static .tms-video__play-ring{animation:none}@media (prefers-reduced-motion:reduce){.tms-video .tms-video__facade,.tms-video .tms-video__poster,.tms-video .tms-video__play,.tms-video .tms-video__player{transition-duration:.01ms!important}.tms-video--pulse .tms-video__play-ring{animation:none}.tms-video--hover-zoom .tms-video__facade:hover .tms-video__poster{transform:none}.tms-video--hover-zoom .tms-video__facade:focus-visible .tms-video__poster{transform:none}.tms-video .tms-video__facade:hover .tms-video__play{scale:1}.tms-video .tms-video__facade:focus-visible .tms-video__play{scale:1}}@media (max-width:767px){.tms-video{--tms-video-badge-offset:.625rem}}