:root{--htv-primary:#107FC9;--htv-accent:#DF1516;--htv-text:#424242;--htv-bg:#05080d;--htv-panel:#08111c;--htv-top:52px}
body.htvideo-open{overflow:hidden!important;touch-action:none}
body.htvideo-open .htvideo-launch{opacity:0;pointer-events:none}

/* Floating launcher: app-like and intentionally compact on mobile. */
.htvideo-launch{position:fixed;right:18px;bottom:24px;z-index:9990;display:flex;align-items:center;gap:8px;min-height:44px;padding:5px 12px 5px 6px;border:1px solid color-mix(in srgb,var(--htv-primary) 30%,#fff);border-radius:999px;background:var(--htv-primary);color:#fff;box-shadow:0 10px 28px color-mix(in srgb,var(--htv-primary) 28%,transparent);font:inherit;cursor:pointer;isolation:isolate;transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}
.htvideo-launch:hover{transform:translateY(-1px);box-shadow:0 13px 34px color-mix(in srgb,var(--htv-primary) 34%,transparent)}
.htvideo-launch__icon{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;background:var(--htv-accent);color:#fff;box-shadow:0 4px 14px color-mix(in srgb,var(--htv-accent) 30%,transparent)}
.htvideo-launch__icon svg{width:19px;height:19px}.htvideo-launch__label{font-size:11px;font-weight:850;letter-spacing:.01em;white-space:nowrap}
.htvideo-launch__pulse{position:absolute;left:6px;top:5px;width:33px;height:33px;border:2px solid color-mix(in srgb,var(--htv-accent) 72%,transparent);border-radius:50%;z-index:-1;animation:htvideoPulse 3s ease-out infinite}
.htvideo-launch--context:after{content:"";position:absolute;right:2px;top:1px;width:8px;height:8px;border:2px solid #fff;border-radius:50%;background:var(--htv-accent)}
@keyframes htvideoPulse{0%,48%{transform:scale(1);opacity:0}55%{opacity:.72}88%,100%{transform:scale(1.58);opacity:0}}

/* Full-screen feed. */
.htvideo-viewer[hidden]{display:none!important}.htvideo-viewer{position:fixed;inset:0;z-index:100000;background:var(--htv-bg);color:#fff}
.htvideo-viewer__topbar{position:absolute;top:0;left:0;right:0;z-index:20;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:58px;padding:0 14px;background:linear-gradient(to bottom,rgba(0,0,0,.8),rgba(0,0,0,0));pointer-events:none}
.htvideo-viewer__brand{display:flex;align-items:center;gap:7px;min-width:0}.htvideo-viewer__brand>span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--htv-accent)}.htvideo-viewer__brand svg{width:15px}.htvideo-viewer__brand strong{font-size:12px;font-weight:850;white-space:nowrap}.htvideo-viewer__brand small{font-size:9px;color:rgba(255,255,255,.64);white-space:nowrap}
.htvideo-viewer__count{font-size:10px;color:rgba(255,255,255,.72);font-weight:750}.htvideo-viewer__close{justify-self:end;display:grid;place-items:center;width:27px;height:27px;padding:0;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:rgba(8,13,20,.48);color:#fff;font-size:18px;font-weight:300;line-height:1;cursor:pointer;pointer-events:auto;backdrop-filter:blur(8px)}
.htvideo-feed{height:100dvh;overflow-y:auto;overscroll-behavior:contain;scroll-snap-type:y mandatory;scrollbar-width:none;touch-action:pan-y}.htvideo-feed::-webkit-scrollbar{display:none}
.htvideo-slide{position:relative;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.5fr);height:100dvh;min-height:560px;scroll-snap-align:start;scroll-snap-stop:always;background:var(--htv-bg)}
.htvideo-slide__stage{position:relative;display:grid;place-items:center;min-width:0;min-height:0;padding:58px 56px 22px 22px;background:#000;overflow:hidden}
.htvideo-media{position:relative;display:grid;place-items:center;width:min(100%,980px);height:min(100%,calc(100dvh - 80px));overflow:hidden;background:#000;border-radius:12px;box-shadow:0 18px 60px rgba(0,0,0,.28)}
.htvideo-ratio--9x16 .htvideo-media{aspect-ratio:9/16;width:auto;max-width:100%}.htvideo-ratio--16x9 .htvideo-media{aspect-ratio:16/9;height:auto;max-height:100%}.htvideo-ratio--1x1 .htvideo-media{aspect-ratio:1/1;height:auto;max-height:100%}.htvideo-ratio--4x3 .htvideo-media{aspect-ratio:4/3;height:auto;max-height:100%}
.htvideo-media iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}.htvideo-media__cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.66);transition:opacity .2s ease}.htvideo-media.is-loaded .htvideo-media__cover{opacity:0;pointer-events:none}
.htvideo-media__fallback{display:grid;place-items:center;align-content:center;gap:10px;width:100%;height:100%;min-height:260px;background:radial-gradient(circle at 50% 42%,color-mix(in srgb,var(--htv-primary) 35%,#0a111d) 0,#08111c 55%,#020509 100%);color:#fff}.htvideo-media__fallback span{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--htv-accent)}.htvideo-media__fallback svg{width:29px}
.htvideo-media__loader{position:absolute;left:16px;bottom:16px;z-index:5;opacity:0}.htvideo-media.is-loading .htvideo-media__loader{opacity:1}.htvideo-media__loader span{display:block;width:21px;height:21px;border:2px solid rgba(255,255,255,.25);border-top-color:#fff;border-radius:50%;animation:htvideoSpin .8s linear infinite}@keyframes htvideoSpin{to{transform:rotate(360deg)}}

/* Start/sound controls. */
.htvideo-media__start{position:absolute;z-index:9;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:8px;min-height:46px;padding:5px 12px 5px 5px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(5,10,18,.76);color:#fff;box-shadow:0 10px 28px rgba(0,0,0,.34);backdrop-filter:blur(10px);cursor:pointer}.htvideo-media__start-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--htv-accent);color:#fff}.htvideo-media__start-icon svg{width:19px;height:19px}.htvideo-media__start-copy strong{color:#fff;font-size:11px}.htvideo-media.is-started .htvideo-media__start,body.htvideo-sound-on .htvideo-media__start{opacity:0;visibility:hidden;pointer-events:none}
.htvideo-sound{position:absolute;right:11px;top:72px;z-index:12;display:grid;justify-items:center;gap:3px;padding:0;border:0;background:transparent;color:#fff;cursor:pointer;text-shadow:0 1px 10px rgba(0,0,0,.65)}.htvideo-sound>span{display:grid;place-items:center;width:36px;height:36px;border:1px solid rgba(255,255,255,.2);border-radius:50%;background:rgba(10,15,22,.6);backdrop-filter:blur(10px)}.htvideo-sound svg{width:20px;height:20px}.htvideo-sound small{font-size:7.5px;font-weight:800;color:#fff}.htvideo-sound__off{display:none!important}.htvideo-sound.is-off .htvideo-sound__on{display:none!important}.htvideo-sound.is-off .htvideo-sound__off{display:grid!important}.htvideo-sound.is-off>span,.htvideo-media.needs-sound-tap+.htvideo-sound>span{background:var(--htv-accent)}

/* External social actions. */
.htvideo-actions{position:absolute;right:11px;bottom:38px;z-index:8;display:grid;gap:11px}.htvideo-actions a{display:grid;justify-items:center;gap:3px;color:#fff!important;text-decoration:none!important;text-shadow:0 1px 10px rgba(0,0,0,.6)}.htvideo-actions span{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:rgba(16,20,27,.55);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.18)}.htvideo-actions svg{width:21px;height:21px}.htvideo-actions small{font-size:8px;font-weight:750}

/* Desktop information panel. */
.htvideo-slide__info{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:72px 28px 32px;background:linear-gradient(145deg,color-mix(in srgb,var(--htv-primary) 18%,#07111e),#08111c 58%,#07111e)}
.htvideo-slide__platform{display:flex;align-items:center;gap:6px;color:#a9b9ca;font-size:9.5px;font-weight:800}.htvideo-slide__platform>span{width:7px;height:7px;border-radius:50%;background:var(--htv-accent);box-shadow:0 0 0 5px color-mix(in srgb,var(--htv-accent) 14%,transparent)}.htvideo-slide__platform strong{color:#fff;font:inherit;font-weight:850}.htvideo-slide__platform em{color:#9fb0c2;font:inherit;font-style:normal;font-weight:750}
.htvideo-slide__info h2{margin:12px 0 8px;color:#fff!important;font-size:26px;line-height:1.12;letter-spacing:-.03em}.htvideo-slide__info>p{margin:0;color:#b5c1ce;font-size:13px;line-height:1.58}.htvideo-related-links{display:grid;gap:7px;margin-top:18px}.htvideo-related-links a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px;padding:0 13px;border:1px solid rgba(255,255,255,.12);border-radius:11px;color:#fff!important;text-decoration:none!important;background:rgba(255,255,255,.045);font-size:11.5px;font-weight:800}.htvideo-related-links a.is-primary{border-color:var(--htv-accent);background:var(--htv-accent)}.htvideo-related-links b{font-size:16px}.htvideo-slide__hint{margin-top:18px;color:#77889b;font-size:9.5px}.htvideo-slide__hint span{color:color-mix(in srgb,var(--htv-accent) 70%,#fff);font-weight:800}

/* Context entry points inside related content. */
.htvideo-context-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;max-width:760px;margin:16px auto;padding:10px 11px;border:1px solid color-mix(in srgb,var(--htv-primary) 18%,#dfe7ef);border-radius:14px;background:linear-gradient(135deg,color-mix(in srgb,var(--htv-primary) 4%,#fff),#fff);box-shadow:0 8px 22px color-mix(in srgb,var(--htv-primary) 6%,transparent);cursor:pointer}.htvideo-context-card__icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--htv-primary);color:#fff;position:relative}.htvideo-context-card__icon:after{content:"";position:absolute;inset:-4px;border:1px solid color-mix(in srgb,var(--htv-accent) 45%,transparent);border-radius:15px;animation:htvideoContextPulse 3s ease-in-out infinite}.htvideo-context-card__icon svg{width:22px}.htvideo-context-card__copy{display:grid;gap:1px;min-width:0}.htvideo-context-card__copy small{color:var(--htv-accent);font-size:7.5px;font-weight:900;letter-spacing:.07em}.htvideo-context-card__copy strong{overflow:hidden;color:var(--htv-primary);font-size:12.5px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.htvideo-context-card__copy em{color:#758495;font-size:9.5px;font-style:normal}.htvideo-context-card>b{color:var(--htv-accent);font-size:18px}@keyframes htvideoContextPulse{0%,100%{opacity:.18;transform:scale(1)}50%{opacity:.65;transform:scale(1.05)}}
.htvideo-inline-trigger{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:6px 12px 6px 6px;border:0;border-radius:999px;background:var(--htv-primary);color:#fff}.htvideo-inline-trigger>span{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:var(--htv-accent)}.htvideo-inline-trigger svg{width:17px}.htvideo-inline-trigger strong{font-size:11.5px}.htvideo-inline-trigger small{font-size:8.5px;color:rgba(255,255,255,.72)}

@media(max-width:849px){
  :root{--htv-top:calc(50px + env(safe-area-inset-top))}
  /* Mobile launcher stays explicit: customers should instantly know this opens VIDEO. */
  .htvideo-launch{right:14px;bottom:calc(106px + env(safe-area-inset-bottom));width:auto;height:50px;min-width:94px;min-height:50px;padding:5px 13px 5px 6px;border:2px solid #fff;border-radius:999px;justify-content:flex-start;gap:8px;box-shadow:0 8px 24px color-mix(in srgb,var(--htv-primary) 30%,transparent)}
  .htvideo-launch__icon{flex:0 0 auto;width:38px;height:38px}.htvideo-launch__icon svg{width:21px;height:21px}.htvideo-launch__label{position:static;width:auto;height:auto;overflow:visible;clip:auto;color:#fff;font-size:11px;font-weight:900;letter-spacing:.035em;text-transform:uppercase;white-space:nowrap}.htvideo-launch__pulse{left:5px;top:5px;width:36px;height:36px}.htvideo-launch--context:after{right:3px;top:2px;width:8px;height:8px}
  .htvideo-viewer__topbar{height:var(--htv-top);padding:env(safe-area-inset-top) 10px 0}.htvideo-viewer__brand{gap:6px}.htvideo-viewer__brand>span{width:24px;height:24px}.htvideo-viewer__brand strong{font-size:11px}.htvideo-viewer__brand small{font-size:8px}.htvideo-viewer__close{width:26px;height:26px;font-size:17px}
  /* Viewer is truly full-screen on mobile. Ratio metadata is preserved for desktop, but mobile never shrinks the player into a small centered card. */
  .htvideo-slide{display:block;width:100vw;height:100dvh;min-height:0}.htvideo-slide__stage{position:absolute;inset:0;display:block;padding:var(--htv-top) 0 0;background:#000;overflow:hidden}.htvideo-media,.htvideo-ratio--9x16 .htvideo-media,.htvideo-ratio--16x9 .htvideo-media,.htvideo-ratio--1x1 .htvideo-media,.htvideo-ratio--4x3 .htvideo-media{position:relative;width:100vw!important;height:calc(100dvh - var(--htv-top))!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;border-radius:0;box-shadow:none;background:#000}.htvideo-media iframe,.htvideo-media__cover{width:100%!important;height:100%!important}.htvideo-media__cover{object-fit:cover;filter:brightness(.56)}
  .htvideo-sound{right:9px;top:calc(var(--htv-top) + 10px);z-index:14}.htvideo-sound>span{width:37px;height:37px}.htvideo-sound svg{width:21px;height:21px}.htvideo-sound small{display:none}
  .htvideo-actions{right:9px;bottom:170px;gap:9px}.htvideo-actions span{width:38px;height:38px}.htvideo-actions svg{width:20px;height:20px}.htvideo-actions small{font-size:7.5px}
  .htvideo-slide__info{position:absolute;left:0;right:0;bottom:0;z-index:6;display:block;padding:82px 58px max(16px,env(safe-area-inset-bottom)) 13px;background:linear-gradient(to top,rgba(0,0,0,.94) 0,rgba(0,0,0,.68) 58%,rgba(0,0,0,0) 100%);pointer-events:none}.htvideo-slide__platform{gap:5px;font-size:8px}.htvideo-slide__info h2{margin:6px 0 4px;font-size:19px;line-height:1.14}.htvideo-slide__info>p{display:-webkit-box;overflow:hidden;margin:0;font-size:10.5px;line-height:1.42;-webkit-line-clamp:2;-webkit-box-orient:vertical}.htvideo-related-links{display:flex;gap:6px;margin-top:9px;overflow-x:auto;scrollbar-width:none;pointer-events:auto}.htvideo-related-links::-webkit-scrollbar{display:none}.htvideo-related-links a{flex:0 0 auto;min-height:37px;padding:0 10px;border-radius:9px;font-size:9.5px}.htvideo-related-links a.is-primary{max-width:75vw}.htvideo-slide__hint{display:none}.htvideo-actions{pointer-events:auto}
  .htvideo-context-card{margin:12px 0;padding:9px;border-radius:13px}.htvideo-context-card__icon{width:38px;height:38px}.htvideo-context-card__copy strong{font-size:11.5px}.htvideo-context-card__copy em{font-size:8.8px}
  /* Facebook keeps native Play/volume controls unobstructed while still filling the full screen width. */
  .htvideo-platform--facebook .htvideo-slide__stage{inset:0 0 136px 0;padding:var(--htv-top) 0 0}.htvideo-platform--facebook .htvideo-slide__info{left:0;right:0;bottom:0;height:136px;box-sizing:border-box;padding:9px 52px max(10px,env(safe-area-inset-bottom)) 12px;background:#05080d;overflow:hidden;pointer-events:auto}.htvideo-platform--facebook .htvideo-slide__info h2{margin:4px 0 3px;font-size:16px}.htvideo-platform--facebook .htvideo-slide__info>p{font-size:9.5px;line-height:1.3;-webkit-line-clamp:1}.htvideo-platform--facebook .htvideo-related-links{margin-top:6px}.htvideo-platform--facebook .htvideo-related-links a{min-height:34px;padding:0 9px;font-size:9px}.htvideo-platform--facebook .htvideo-actions{top:calc(var(--htv-top) + 12px);right:9px;bottom:auto}.htvideo-platform--facebook .htvideo-media{width:100vw!important;height:calc(100dvh - var(--htv-top) - 136px)!important;max-height:none!important}
}
@media(max-width:390px){.htvideo-launch{right:12px;min-width:90px;height:48px;min-height:48px;padding-right:12px}.htvideo-launch__icon{width:36px;height:36px}.htvideo-launch__label{font-size:10.5px}.htvideo-actions{bottom:160px}.htvideo-slide__info h2{font-size:18px}.htvideo-platform--facebook .htvideo-slide__stage{bottom:132px}.htvideo-platform--facebook .htvideo-slide__info{height:132px}.htvideo-platform--facebook .htvideo-media{height:calc(100dvh - var(--htv-top) - 132px)!important}}
@media(prefers-reduced-motion:reduce){.htvideo-launch__pulse,.htvideo-context-card__icon:after{animation:none}.htvideo-feed{scroll-behavior:auto}}
