/* SIA SHORTS 0.8.1 — isolated immersive player. Does not affect WATCH pages. */
html:has(body.sia-watch-shorts-immersive){height:100%;overflow:hidden;background:#000}
body.sia-watch-shorts-immersive{
  margin:0!important;padding:0!important;min-width:0!important;max-width:none!important;
  height:100%;height:100dvh;overflow:hidden!important;background:#000!important;color:#fff!important;
  -webkit-font-smoothing:antialiased;overscroll-behavior:none;
}
body.sia-watch-shorts-immersive #wpadminbar,
body.sia-watch-shorts-immersive .site-header,
body.sia-watch-shorts-immersive .site-footer,
body.sia-watch-shorts-immersive .elementor-location-header,
body.sia-watch-shorts-immersive .elementor-location-footer,
body.sia-watch-shorts-immersive .bb-mobile-header,
body.sia-watch-shorts-immersive .bb-mobile-panel-wrapper{display:none!important}
body.sia-watch-shorts-immersive.sia-watch-preview-page{margin-top:0!important}
body.sia-watch-shorts-immersive .siaw-reels-feed{
  position:fixed!important;inset:0!important;width:100%!important;height:100%!important;height:100dvh!important;
  max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  overflow:hidden!important;background:#000!important;z-index:900!important;isolation:isolate;
}
body.sia-watch-shorts-immersive .siaw-reels-scroll{
  height:100%!important;height:100dvh!important;max-height:none!important;min-height:0!important;
  width:100%!important;max-width:480px!important;margin:0 auto!important;padding:0!important;
  box-sizing:border-box;border:0!important;border-radius:0!important;overflow-x:hidden!important;
  overflow-y:auto!important;overflow-y:scroll!important;overscroll-behavior-y:contain;
  scroll-snap-type:y mandatory;scrollbar-width:none!important;scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;touch-action:none;background:#000;
}
body.sia-watch-shorts-immersive .siaw-reels-scroll::-webkit-scrollbar{display:none}
body.sia-watch-shorts-immersive .siaw-reel{
  height:100%!important;height:100dvh!important;min-height:0!important;max-height:none!important;
  width:100%!important;min-width:0!important;position:relative!important;margin:0!important;
  border:0!important;border-radius:0!important;box-sizing:border-box!important;scroll-snap-align:start;scroll-snap-stop:always;
  overflow:hidden!important;background:#000!important;
}
body.sia-watch-shorts-immersive .siaw-reel-visual{position:absolute!important;inset:0!important;border-radius:0!important;background:#000!important;overflow:hidden!important}
body.sia-watch-shorts-immersive .siaw-reel-visual::before{z-index:4!important;pointer-events:none!important;background:linear-gradient(0deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.2) 21%,transparent 48%,rgba(0,0,0,.16) 100%)!important}
body.sia-watch-shorts-immersive .siaw-reel-poster{object-fit:cover!important;opacity:.82!important;z-index:1!important}
body.sia-watch-shorts-immersive .siaw-reel-visual video{
  position:absolute!important;inset:0!important;z-index:3!important;width:100%!important;height:100%!important;
  object-fit:cover!important;pointer-events:none!important;background:transparent!important;
}
body.sia-watch-shorts-immersive .siaw-reel-visual iframe{
  position:absolute!important;inset:0!important;z-index:3!important;width:100%!important;height:100%!important;
  border:0!important;border-radius:0!important;background:#000!important;pointer-events:none!important;
}
body.sia-watch-shorts-immersive .siaw-reel-surface{
  position:absolute!important;inset:0!important;z-index:5!important;border:0!important;border-radius:0!important;
  width:100%!important;height:100%!important;background:transparent!important;color:#fff!important;display:flex!important;
  align-items:center!important;justify-content:center!important;padding:0!important;cursor:pointer;touch-action:none;
  -webkit-tap-highlight-color:transparent;
}
body.sia-watch-shorts-immersive .siaw-reel-surface:focus-visible{outline:3px solid #f5c174;outline-offset:-5px}
body.sia-watch-shorts-immersive .siaw-reel-center-play{
  display:grid;place-items:center;width:74px;height:74px;border:1px solid #ffffff55;border-radius:50%;
  background:#0009;color:#fff;font-size:34px;line-height:1;padding-inline-start:4px;
  transition:opacity .16s ease,transform .16s ease;pointer-events:none;
}
body.sia-watch-shorts-immersive .siaw-reel.is-playing .siaw-reel-center-play{opacity:0;transform:scale(.75)}
body.sia-watch-shorts-immersive .siaw-reel.is-playing .siaw-reel-surface:active .siaw-reel-center-play{opacity:.5}
body.sia-watch-shorts-immersive .siaw-reel-caption{
  z-index:7!important;position:absolute!important;right:16px!important;left:90px!important;
  bottom:calc(24px + env(safe-area-inset-bottom,0px))!important;width:auto!important;max-width:none!important;
  margin:0!important;padding:0!important;background:transparent!important;text-shadow:0 2px 8px #000,0 1px 3px #000;
  pointer-events:none!important;direction:rtl!important;
}
body.sia-watch-shorts-immersive .siaw-reel-caption h2{margin:0 0 7px!important;font-size:clamp(20px,5vw,26px)!important;line-height:1.3!important;color:#fff!important}
body.sia-watch-shorts-immersive .siaw-reel-caption p{font-size:13px!important;line-height:1.6!important;margin:0 0 10px!important;color:#f1f1f1!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
body.sia-watch-shorts-immersive .siaw-reel-creator{gap:8px!important;font-size:13px!important;flex-wrap:wrap!important}
body.sia-watch-shorts-immersive .siaw-reel-creator img{width:34px!important;height:34px!important;border-radius:50%!important}
body.sia-watch-shorts-immersive .siaw-reel-creator span{font-weight:700}
body.sia-watch-shorts-immersive .siaw-reel-creator a{color:#f2c77e!important;text-decoration:none!important;pointer-events:auto}
body.sia-watch-shorts-immersive .siaw-reel-actions{
  z-index:8!important;position:absolute!important;left:10px!important;right:auto!important;
  bottom:calc(42px + env(safe-area-inset-bottom,0px))!important;width:68px!important;
  display:flex!important;flex-direction:column!important;gap:13px!important;margin:0!important;
}
body.sia-watch-shorts-immersive .siaw-reel-actions a,
body.sia-watch-shorts-immersive .siaw-reel-actions button{
  display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;
  min-width:58px!important;min-height:54px!important;width:100%!important;padding:2px!important;
  background:transparent!important;border:0!important;border-radius:8px!important;
  box-shadow:none!important;color:#fff!important;font-size:12px!important;font-weight:700!important;
  line-height:1.3!important;text-shadow:0 2px 5px #000!important;cursor:pointer;text-decoration:none!important;
}
body.sia-watch-shorts-immersive .siaw-action-icon{font-family:Arial,sans-serif;font-size:32px;line-height:1.2;color:#fff;text-shadow:0 2px 5px #000}
body.sia-watch-shorts-immersive .siaw-reel-actions small{color:#fff!important;font-size:11px!important;margin-top:2px}
body.sia-watch-shorts-immersive .siaw-reel-actions .is-liked .siaw-action-icon{color:#ff5575!important}
body.sia-watch-shorts-immersive .siaw-shorts-nav{
  z-index:12;position:fixed;top:0;right:0;left:0;height:calc(66px + env(safe-area-inset-top,0px));
  padding:calc(10px + env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) 9px max(12px,env(safe-area-inset-left,0px));
  display:flex;align-items:center;justify-content:space-between;gap:10px;direction:rtl;
  background:linear-gradient(to bottom,rgba(0,0,0,.58),transparent);box-sizing:border-box;pointer-events:none;
}
body.sia-watch-shorts-immersive .siaw-shorts-nav>*{pointer-events:auto}
body.sia-watch-shorts-immersive .siaw-shorts-nav strong{font-size:16px;white-space:nowrap;color:#fff;text-shadow:0 2px 4px #000}
body.sia-watch-shorts-immersive .siaw-shorts-nav strong span{color:#efc577}
body.sia-watch-shorts-immersive .siaw-shorts-nav a,
body.sia-watch-shorts-immersive .siaw-shorts-nav button{
  border:0!important;background:#0005!important;color:#fff!important;min-width:42px;height:42px;
  border-radius:50%;display:inline-grid;place-items:center;text-decoration:none!important;padding:5px;
  font-size:23px;line-height:1;box-sizing:border-box;box-shadow:none!important;cursor:pointer;
}
body.sia-watch-shorts-immersive .siaw-shorts-back-caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
body.sia-watch-shorts-immersive .siaw-shorts-nav-tools{display:flex;align-items:center;gap:5px;direction:ltr}
body.sia-watch-shorts-immersive .siaw-reels-swipe-hint{
  position:fixed;bottom:calc(4px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);z-index:11;
  pointer-events:none;color:#dce1e7;font-size:11px;white-space:nowrap;opacity:.75;text-shadow:0 2px 6px #000;
}
body.sia-watch-shorts-immersive .siaw-reels-empty{height:100%;display:grid;place-items:center;color:#fff}
body.sia-watch-shorts-immersive .siaw-reels-comments{position:fixed;z-index:1000;max-height:min(80dvh,650px);margin:auto;overscroll-behavior:contain}
body.sia-watch-shorts-immersive .siaw-reels-comments::backdrop{background:rgba(0,0,0,.75)}
@media(max-width:767px){
  body.sia-watch-shorts-immersive .siaw-reels-scroll{width:100vw!important;max-width:none!important;height:100dvh!important;min-height:0!important}
  body.sia-watch-shorts-immersive .siaw-reel{height:100dvh!important;min-height:0!important}
  body.sia-watch-shorts-immersive .siaw-shorts-nav strong{font-size:15px}
}
@media(max-width:359px){
  body.sia-watch-shorts-immersive .siaw-reel-caption{left:77px!important;right:10px!important}
  body.sia-watch-shorts-immersive .siaw-reel-actions{left:3px!important;width:65px!important}
}
@media(prefers-reduced-motion:reduce){body.sia-watch-shorts-immersive .siaw-reels-scroll{scroll-behavior:auto!important}}
