/*
  SSVA Frontend Styles
  
  This file is enqueued by the plugin on app pages.
  Minimal, non-invasive visual enhancements live here.
*/

/*
  WordPress emoji images safety.
  Some environments (including Electron wrappers or aggressive theme CSS) apply
  responsive rules like `img { width: 100% }`, which can cause emoji <img> tags
  (class "emoji" / "wp-smiley") to blow up and fill the container.
*/
img.emoji,
img.wp-smiley {
  display: inline !important;
  width: 1em !important;
  height: 1em !important;
  max-width: 1em !important;
  max-height: 1em !important;
  margin: 0 0.07em !important;
  vertical-align: -0.1em !important;
  background: none !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/*
  Professional border-only shimmer (no full-overlay).
  Activates only on the hovered thumbnail.
*/
@media (hover: hover) and (pointer: fine) {
  .thumb-wrap,
  .hgva-thumbnail,
  .ssva-wp-post-card,
  .ssva-wp-post-row,
  .ssva-top5-blog-card {
    position: relative;
  }

  /* Thumbnail zoom on hover (thumb-wrap) */
  .thumb-wrap {
    overflow: hidden !important;
    border-radius: 10px;
  }

  /* Top 10 rank numbers extend outside the thumbnail; don't clip them */
  #top10VideosSection .thumb-wrap,
  #top10videossection .thumb-wrap {
    overflow: visible !important;
  }

  /* NOTE: JS injects #netflix-thumb-style with transition:none; use !important to override */
  .thumb-wrap img,
  .thumb-wrap img.lazy-thumb,
  .thumb-wrap iframe {
    display: block;
    transform: translateZ(0) scale(1);
    transition: transform 260ms ease !important;
    will-change: transform;
    transform-origin: center;
    backface-visibility: hidden;
  }

  .thumb-wrap:hover img,
  .thumb-wrap:focus-within img,
  .thumb-wrap img:hover,
  .thumb-wrap:hover img.lazy-thumb,
  .thumb-wrap:focus-within img.lazy-thumb,
  .thumb-wrap img.lazy-thumb:hover,
  .thumb-wrap:hover iframe,
  .thumb-wrap:focus-within iframe {
    transform: translateZ(0) scale(1.06) !important;
  }

  /*
    Top 10: rank numbers live outside the thumbnail (needs overflow: visible).
    Disable zoom here to avoid thumbnails overlapping each other.
  */
  #top10VideosSection .thumb-wrap img,
  #top10videossection .thumb-wrap img,
  #top10VideosSection .thumb-wrap img.lazy-thumb,
  #top10videossection .thumb-wrap img.lazy-thumb,
  #top10VideosSection .thumb-wrap iframe,
  #top10videossection .thumb-wrap iframe {
    transform: none !important;
  }

  #top10VideosSection .thumb-wrap:hover img,
  #top10videossection .thumb-wrap:hover img,
  #top10VideosSection .thumb-wrap:focus-within img,
  #top10videossection .thumb-wrap:focus-within img,
  #top10VideosSection .thumb-wrap:hover img.lazy-thumb,
  #top10videossection .thumb-wrap:hover img.lazy-thumb,
  #top10VideosSection .thumb-wrap:focus-within img.lazy-thumb,
  #top10videossection .thumb-wrap:focus-within img.lazy-thumb,
  #top10VideosSection .thumb-wrap:hover iframe,
  #top10videossection .thumb-wrap:hover iframe,
  #top10VideosSection .thumb-wrap:focus-within iframe,
  #top10videossection .thumb-wrap:focus-within iframe {
    transform: none !important;
  }

  /* Thumbnail zoom on hover (grid cards) */
  .ssva-wp-post-card img,
  .ssva-wp-post-row > img,
  .ssva-top5-blog-card img {
    transform: scale(1);
    transition: transform 260ms ease;
    will-change: transform;
  }

  .ssva-wp-post-card:hover img,
  .ssva-wp-post-card:focus-within img,
  .ssva-wp-post-row:hover > img,
  .ssva-wp-post-row:focus-within > img,
  .ssva-top5-blog-card:hover img,
  .ssva-top5-blog-card:focus-within img {
    transform: scale(1.06);
  }

  /*
    Border shimmer layer: masked so only the border area is visible.
    Uses the existing border below (set elsewhere) and adds a moving highlight.
  */
  .thumb-wrap::after,
  .hgva-thumbnail::after,
  .ssva-wp-post-card::after,
  .ssva-wp-post-row::after,
  .ssva-top5-blog-card::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 3px;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background:
      linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.10) 40%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(255, 255, 255, 0.10) 60%,
        rgba(255, 255, 255, 0) 100%
      ) 0 0 / 220% 100% no-repeat;

    /* Mask out the center so only the border shows */
    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    transition: opacity 160ms ease;
    will-change: opacity, background-position;
    z-index: 1;
  }

  .thumb-wrap:hover::after,
  .thumb-wrap:focus::after,
  .thumb-wrap:focus-within::after,
  .hgva-thumbnail:hover::after,
  .hgva-thumbnail:focus::after,
  .hgva-thumbnail:focus-within::after,
  .ssva-wp-post-card:hover::after,
  .ssva-wp-post-card:focus::after,
  .ssva-wp-post-card:focus-within::after,
  .ssva-wp-post-row:hover::after,
  .ssva-wp-post-row:focus::after,
  .ssva-wp-post-row:focus-within::after,
  .ssva-top5-blog-card:hover::after,
  .ssva-top5-blog-card:focus::after,
  .ssva-top5-blog-card:focus-within::after {
    opacity: 1;
    animation: ssva-border-shine 1500ms ease;
  }

  @keyframes ssva-border-shine {
    from { background-position: -120% 0; }
    to { background-position: 220% 0; }
  }

  @media (prefers-reduced-motion: reduce) {
    .thumb-wrap:hover::after,
    .thumb-wrap:focus::after,
    .thumb-wrap:focus-within::after,
    .hgva-thumbnail:hover::after,
    .hgva-thumbnail:focus::after,
    .hgva-thumbnail:focus-within::after,
    .ssva-wp-post-card:hover::after,
    .ssva-wp-post-card:focus::after,
    .ssva-wp-post-card:focus-within::after,
    .ssva-wp-post-row:hover::after,
    .ssva-wp-post-row:focus::after,
    .ssva-wp-post-row:focus-within::after,
    .ssva-top5-blog-card:hover::after,
    .ssva-top5-blog-card:focus::after,
    .ssva-top5-blog-card:focus-within::after {
      animation: none;
      opacity: 0.35;
    }

    .ssva-wp-post-card img,
    .ssva-wp-post-row > img,
    .ssva-top5-blog-card img {
      transition: none;
    }

    .thumb-wrap img.lazy-thumb,
    .thumb-wrap iframe {
      transition: none !important;
    }

    .ssva-wp-post-card:hover img,
    .ssva-wp-post-card:focus-within img,
    .ssva-wp-post-row:hover > img,
    .ssva-wp-post-row:focus-within > img,
    .ssva-top5-blog-card:hover img,
    .ssva-top5-blog-card:focus-within img {
      transform: none;
    }

    .thumb-wrap:hover img.lazy-thumb,
    .thumb-wrap:focus-within img.lazy-thumb,
    .thumb-wrap:hover iframe,
    .thumb-wrap:focus-within iframe {
      transform: none !important;
    }
  }
}

/*
  Touch/mobile: enable the same border shine + zoom effects.
  Mobile browsers don't reliably apply :hover, so we trigger on :active,
  :focus-within, and a short-lived JS class (.ssva-touch-hover).
*/
@media (hover: none), (pointer: coarse) {
  .thumb-wrap,
  .hgva-thumbnail,
  .ssva-wp-post-card,
  .ssva-wp-post-row,
  .ssva-top5-blog-card {
    position: relative;
  }

  /* Thumbnail zoom (thumb-wrap) */
  .thumb-wrap {
    overflow: hidden !important;
    border-radius: 10px;
  }

  /* Top 10 rank numbers extend outside the thumbnail; don't clip them */
  #top10VideosSection .thumb-wrap,
  #top10videossection .thumb-wrap {
    overflow: visible !important;
  }

  .thumb-wrap img,
  .thumb-wrap img.lazy-thumb,
  .thumb-wrap iframe {
    display: block;
    transform: translateZ(0) scale(1);
    transition: transform 260ms ease !important;
    will-change: transform;
    transform-origin: center;
    backface-visibility: hidden;
  }

  .thumb-wrap.ssva-touch-hover img,
  .thumb-wrap:active img,
  .thumb-wrap:focus-within img,
  .thumb-wrap.ssva-touch-hover img.lazy-thumb,
  .thumb-wrap:active img.lazy-thumb,
  .thumb-wrap:focus-within img.lazy-thumb,
  .thumb-wrap.ssva-touch-hover iframe,
  .thumb-wrap:active iframe,
  .thumb-wrap:focus-within iframe {
    transform: translateZ(0) scale(1.06) !important;
  }

  /* Top 10: disable zoom to avoid overlap */
  #top10VideosSection .thumb-wrap img,
  #top10videossection .thumb-wrap img,
  #top10VideosSection .thumb-wrap img.lazy-thumb,
  #top10videossection .thumb-wrap img.lazy-thumb,
  #top10VideosSection .thumb-wrap iframe,
  #top10videossection .thumb-wrap iframe {
    transform: none !important;
  }

  #top10VideosSection .thumb-wrap.ssva-touch-hover img,
  #top10videossection .thumb-wrap.ssva-touch-hover img,
  #top10VideosSection .thumb-wrap:active img,
  #top10videossection .thumb-wrap:active img,
  #top10VideosSection .thumb-wrap:focus-within img,
  #top10videossection .thumb-wrap:focus-within img,
  #top10VideosSection .thumb-wrap.ssva-touch-hover img.lazy-thumb,
  #top10videossection .thumb-wrap.ssva-touch-hover img.lazy-thumb,
  #top10VideosSection .thumb-wrap:active img.lazy-thumb,
  #top10videossection .thumb-wrap:active img.lazy-thumb,
  #top10VideosSection .thumb-wrap:focus-within img.lazy-thumb,
  #top10videossection .thumb-wrap:focus-within img.lazy-thumb,
  #top10VideosSection .thumb-wrap.ssva-touch-hover iframe,
  #top10videossection .thumb-wrap.ssva-touch-hover iframe,
  #top10VideosSection .thumb-wrap:active iframe,
  #top10videossection .thumb-wrap:active iframe,
  #top10VideosSection .thumb-wrap:focus-within iframe,
  #top10videossection .thumb-wrap:focus-within iframe {
    transform: none !important;
  }

  /* Thumbnail zoom (grid cards) */
  .ssva-wp-post-card img,
  .ssva-wp-post-row > img,
  .ssva-top5-blog-card img {
    transform: scale(1);
    transition: transform 260ms ease;
    will-change: transform;
  }

  .ssva-wp-post-card.ssva-touch-hover img,
  .ssva-wp-post-card:active img,
  .ssva-wp-post-card:focus-within img,
  .ssva-wp-post-row.ssva-touch-hover > img,
  .ssva-wp-post-row:active > img,
  .ssva-wp-post-row:focus-within > img,
  .ssva-top5-blog-card.ssva-touch-hover img,
  .ssva-top5-blog-card:active img,
  .ssva-top5-blog-card:focus-within img {
    transform: scale(1.06);
  }

  /* Border shimmer layer: masked so only the border area is visible. */
  .thumb-wrap::after,
  .hgva-thumbnail::after,
  .ssva-wp-post-card::after,
  .ssva-wp-post-row::after,
  .ssva-top5-blog-card::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 3px;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background:
      linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.10) 40%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(255, 255, 255, 0.10) 60%,
        rgba(255, 255, 255, 0) 100%
      ) 0 0 / 220% 100% no-repeat;

    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    transition: opacity 160ms ease;
    will-change: opacity, background-position;
    z-index: 1;
  }

  .thumb-wrap.ssva-touch-hover::after,
  .thumb-wrap:active::after,
  .thumb-wrap:focus-within::after,
  .hgva-thumbnail.ssva-touch-hover::after,
  .hgva-thumbnail:active::after,
  .hgva-thumbnail:focus-within::after,
  .ssva-wp-post-card.ssva-touch-hover::after,
  .ssva-wp-post-card:active::after,
  .ssva-wp-post-card:focus-within::after,
  .ssva-wp-post-row.ssva-touch-hover::after,
  .ssva-wp-post-row:active::after,
  .ssva-wp-post-row:focus-within::after,
  .ssva-top5-blog-card.ssva-touch-hover::after,
  .ssva-top5-blog-card:active::after,
  .ssva-top5-blog-card:focus-within::after {
    opacity: 1;
    animation: ssva-border-shine 1500ms ease;
  }

  @keyframes ssva-border-shine {
    from { background-position: -120% 0; }
    to { background-position: 220% 0; }
  }

  @media (prefers-reduced-motion: reduce) {
    .thumb-wrap.ssva-touch-hover::after,
    .thumb-wrap:active::after,
    .thumb-wrap:focus-within::after,
    .hgva-thumbnail.ssva-touch-hover::after,
    .hgva-thumbnail:active::after,
    .hgva-thumbnail:focus-within::after,
    .ssva-wp-post-card.ssva-touch-hover::after,
    .ssva-wp-post-card:active::after,
    .ssva-wp-post-card:focus-within::after,
    .ssva-wp-post-row.ssva-touch-hover::after,
    .ssva-wp-post-row:active::after,
    .ssva-wp-post-row:focus-within::after,
    .ssva-top5-blog-card.ssva-touch-hover::after,
    .ssva-top5-blog-card:active::after,
    .ssva-top5-blog-card:focus-within::after {
      animation: none;
      opacity: 0.35;
    }

    .ssva-wp-post-card img,
    .ssva-wp-post-row > img,
    .ssva-top5-blog-card img {
      transition: none;
    }

    .thumb-wrap img.lazy-thumb,
    .thumb-wrap iframe {
      transition: none !important;
    }

    .ssva-wp-post-card.ssva-touch-hover img,
    .ssva-wp-post-card:active img,
    .ssva-wp-post-card:focus-within img,
    .ssva-wp-post-row.ssva-touch-hover > img,
    .ssva-wp-post-row:active > img,
    .ssva-wp-post-row:focus-within > img,
    .ssva-top5-blog-card.ssva-touch-hover img,
    .ssva-top5-blog-card:active img,
    .ssva-top5-blog-card:focus-within img {
      transform: none;
    }

    .thumb-wrap.ssva-touch-hover img.lazy-thumb,
    .thumb-wrap:active img.lazy-thumb,
    .thumb-wrap:focus-within img.lazy-thumb,
    .thumb-wrap.ssva-touch-hover iframe,
    .thumb-wrap:active iframe,
    .thumb-wrap:focus-within iframe {
      transform: none !important;
    }
  }
}

@media (hover: none), (pointer: coarse) {
  .thumb-wrap img,
  .thumb-wrap img.lazy-thumb,
  .thumb-wrap iframe,
  .ssva-wp-post-card img,
  .ssva-wp-post-row > img,
  .ssva-top5-blog-card img,
  .ssva-below-banners__card {
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  .thumb-wrap::after,
  .hgva-thumbnail::after,
  .ssva-wp-post-card::after,
  .ssva-wp-post-row::after,
  .ssva-top5-blog-card::after,
  .ssva-below-banners__card::after {
    display: none !important;
    animation: none !important;
    will-change: auto !important;
  }
}

/* Modern Search Popup (used by #searchPopup in hgwebfrontend00012503.js) */
.ssva-modal-open {
  overflow: hidden;
}

/*
  Top 5 Blog Posts: reduce card typography on mobile.
  The section is rendered via JS with em-based inline font sizes, so adjusting
  the wrapper's base font-size scales titles/excerpts without needing !important.
*/
@media (max-width: 700px) {
  #top5BlogPostsSection .ssva-top5-blog-card,
  #top5blogpostssection .ssva-top5-blog-card,
  #top5BlogPostsPlaceholder .ssva-top5-blog-card {
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  #top5BlogPostsSection .ssva-top5-blog-card,
  #top5blogpostssection .ssva-top5-blog-card,
  #top5BlogPostsPlaceholder .ssva-top5-blog-card {
    font-size: 13px;
  }
}

/* Upload: dropzone + info spacing */
.ssva-drop {
  border: 1px dashed rgba(26,183,234,.7);
    border-top-style: dashed;
    border-right-style: dashed;
    border-bottom-style: dashed;
    border-left-style: dashed;
  background: rgba(26,183,234,.08);
  border-radius: 16px;
  padding: 18px;
  cursor: pointer;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 62px!important;
}

/* Reels: My Reels list thumbnail */
.ssva-reel-thumb {
  width: 56px;
  height: 96px;
  border-radius: 10px;
  background: #0b1220;
  border: 1px solid var(--ssva-border-strong);
  object-fit: cover;
}

.ssva-upload-info {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4,minmax(180px,1fr));
  gap: 12px;
  margin-bottom: 62px!important;

}

#searchPopup.ssva-searchOverlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: var(--ssva-overlay, rgba(0, 0, 0, 0.55));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

#searchPopup .ssva-searchModal {
  width: min(920px, 94vw);
  max-height: min(82vh, 760px);
  overflow: auto;
  border-radius: 18px;
  border: 1px solid var(--ssva-border-strong, rgba(255, 255, 255, 0.18));
  background: var(--ssva-searchpopup-bg, var(--ssva-surface, #111827));
  box-shadow: 0 18px 60px var(--ssva-overlay, rgba(0, 0, 0, 0.55));
  padding: 18px 18px 16px;
  color: var(--ssva-text, #fff);
}

#searchPopup .ssva-searchHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#searchPopup .ssva-searchTitle {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ssva-text, #fff);
}

#searchPopup .ssva-searchClose {
  border: 1px solid var(--ssva-border-strong, rgba(255, 255, 255, 0.18));
  background: rgba(0, 0, 0, 0.15);
  color: var(--ssva-text, #fff);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

#searchPopup .ssva-searchClose:hover {
  border-color: var(--ssva-border-accent, rgba(26, 183, 234, 0.45));
  background: rgba(0, 0, 0, 0.25);
}

#searchPopup .ssva-searchSubrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  margin-bottom: 14px;
}

#searchPopup .ssva-searchSubtitle {
  color: var(--ssva-text-info, rgba(255, 255, 255, 0.75));
  font-size: 13px;
}

#searchPopup .ssva-searchScope {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--ssva-border-strong, rgba(255, 255, 255, 0.18));
  background: rgba(0, 0, 0, 0.18);
  color: var(--ssva-text, #fff);
  white-space: nowrap;
}

#searchPopup .ssva-searchForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#searchPopup .ssva-searchField {
  position: relative;
}

@media (pointer: coarse), (max-width: 900px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  textarea,
  select {
    font-size: 16px !important;
  }

  a,
  button,
  [role="button"],
  input,
  textarea,
  select,
  label {
    touch-action: manipulation;
  }
}

/*
  Prevent iOS Safari from zooming the page when focusing form controls.
  Safari triggers zoom when font-size < 16px.
*/
#searchPopup input,
#searchPopup textarea,
#searchPopup select {
  font-size: 16px;
}

#searchPopup .ssva-searchInput {
  width: 100%;
  padding: 14px 44px 14px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--ssva-border-strong, rgba(255, 255, 255, 0.18));
  background: var(--ssva-input-bg, rgba(0, 0, 0, 0.2));
  color: var(--ssva-text, #fff);
  font-size: 16px;
  outline: none;
}

#searchPopup .ssva-searchInput:focus {
  border-color: var(--ssva-border-accent, rgba(26, 183, 234, 0.45));
  box-shadow: 0 0 0 3px rgba(26, 183, 234, 0.22);
}

#searchPopup .ssva-searchClear {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--ssva-text-info, rgba(255, 255, 255, 0.75));
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

#searchPopup .ssva-searchClear:hover {
  background: rgba(0, 0, 0, 0.18);
  color: var(--ssva-text, #fff);
}

#searchPopup .ssva-searchOptions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#searchPopup .ssva-searchToggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ssva-text-info, rgba(255, 255, 255, 0.75));
  -webkit-user-select: none;
  user-select: none;
}

#searchPopup .ssva-searchToggle input {
  width: 16px;
  height: 16px;
}

#searchPopup .ssva-searchStatus {
  min-height: 18px;
  color: var(--ssva-danger, #ef4444);
  font-size: 13px;
}

#searchPopup .ssva-searchSectionTitle {
  color: var(--ssva-text-info, rgba(255, 255, 255, 0.75));
  font-size: 12px;
  letter-spacing: 0.02em;
  margin: 2px 0 8px;
}

#searchPopup .ssva-searchChips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#searchPopup .ssva-searchSugRail {
  position: relative;
}

#searchPopup .ssva-searchSugRail .ssva-searchSugList {
  padding-left: 44px;
  padding-right: 44px;
}

#searchPopup .ssva-searchSugNav {
  /* Visual styling is set inline to match the existing HGVA slider arrows.
     Keep only stacking/context helpers here. */
  z-index: 4;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none;
}

#searchPopup .ssva-searchChip {
  border: 1px solid var(--ssva-border-strong, rgba(255, 255, 255, 0.18));
  background: rgba(0, 0, 0, 0.16);
  color: var(--ssva-text, #fff);
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
}

#searchPopup .ssva-searchChip:hover {
  border-color: var(--ssva-border-accent, rgba(26, 183, 234, 0.45));
}

#searchPopup .ssva-searchSugList {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 8px;
  scroll-snap-type: x mandatory;
  min-height: 190px;
}

#searchPopup .ssva-searchSugPh {
  cursor: default;
  pointer-events: none;
  opacity: 0.6;
}

#searchPopup .ssva-searchSugPhThumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: rgba(255, 255, 255, 0.10);
}

#searchPopup .ssva-searchSugPhLine {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

#searchPopup .ssva-searchSugPhLine1 {
  width: 86%;
}

#searchPopup .ssva-searchSugPhLine2 {
  width: 62%;
}

#searchPopup .ssva-searchSugList::-webkit-scrollbar {
  height: 10px;
}

#searchPopup .ssva-searchSugList::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
}

#searchPopup .ssva-searchSugList::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

#searchPopup .ssva-searchSugList::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.28);
}

#searchPopup .ssva-searchSugCard {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  border: 1px solid var(--ssva-border-strong, rgba(255, 255, 255, 0.18));
  background: rgba(0, 0, 0, 0.18);
  border-radius: 14px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  flex: 0 0 auto;
  width: clamp(150px, 18vw, 196px);
  scroll-snap-align: start;
}

#searchPopup .ssva-searchSugCard:hover {
  border-color: var(--ssva-border-accent, rgba(26, 183, 234, 0.45));
  box-shadow: 0 10px 30px var(--ssva-overlay, rgba(0, 0, 0, 0.35));
}

#searchPopup .ssva-searchSugCard:active,
#searchPopup .ssva-searchSugCard.ssva-touch-hover {
  border-color: var(--ssva-border-accent, rgba(26, 183, 234, 0.45));
  box-shadow: 0 10px 30px var(--ssva-overlay, rgba(0, 0, 0, 0.35));
}

#searchPopup .ssva-searchSugThumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

#searchPopup .ssva-searchSugMeta {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#searchPopup .ssva-searchSugName {
  font-size: 13px;
  font-weight: 700;
  color: var(--ssva-text, #fff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#searchPopup .ssva-searchSugCat {
  font-size: 12px;
  color: var(--ssva-text-info, rgba(255, 255, 255, 0.75));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#searchPopup .ssva-searchEmpty {
  margin-top: 8px;
  color: var(--ssva-text-info, rgba(255, 255, 255, 0.75));
  font-size: 13px;
}

#searchPopup .ssva-searchActions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

#searchPopup .ssva-searchBtn {
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
}

#searchPopup .ssva-searchBtnPrimary {
  background: var(--ssva-primary, #2b6cb0);
  color: var(--ssva-color-text, #fff);
}

#searchPopup .ssva-searchBtnPrimary:hover {
  background: var(--ssva-primary-hover, var(--ssva-primary, #2b6cb0));
}

#searchPopup .ssva-searchBtnSecondary {
  background: transparent;
  border-color: var(--ssva-border-strong, rgba(255, 255, 255, 0.18));
  color: var(--ssva-text, #fff);
}

#searchPopup .ssva-searchBtnSecondary:hover {
  border-color: var(--ssva-border-accent, rgba(26, 183, 234, 0.45));
  background: rgba(0, 0, 0, 0.15);
}

@media (max-width: 600px) {
  #searchPopup.ssva-searchOverlay {
    align-items: flex-start;
    padding: 12px;
  }

  #searchPopup .ssva-searchModal {
    width: 100%;
    margin-top: 8px;
    max-height: calc(100vh - 24px);
    padding: 14px 14px 12px;
    border-radius: 14px;
  }

  #searchPopup .ssva-searchSubrow {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
  }

  #searchPopup .ssva-searchScope {
    align-self: flex-start;
  }

  #searchPopup .ssva-searchActions {
    flex-wrap: wrap;
    justify-content: stretch;
  }

  #searchPopup .ssva-searchBtn {
    flex: 1 1 140px;
  }

  #searchPopup .ssva-searchSugCard {
    width: min(48vw, 210px);
  }

  #searchPopup .ssva-searchSugRail .ssva-searchSugList {
    padding-left: 34px;
    padding-right: 34px;
  }

  #searchPopup .ssva-searchSugList {
    min-height: 180px;
  }
}

/*
  Pull the hero slider up to cover the header/menu height.
  Requested: margin-top of -64px !important.
*/
html body #heroSlider {
  margin-top: -64px !important;
}

/*
  WordPress Single Post Popup typography
  The app UI resets some default element styles; restore readable WP-like formatting
  inside the post popup without affecting the rest of the app.
*/
#wpPostPopup .ssva-wp-post-popup-panel {
  font-family: inherit;
}

#wpPostPopup .ssva-wp-post-content {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: normal;
  word-spacing: normal;
  color: var(--ssva-text, #fff);
}

#wpPostPopup .ssva-wp-post-content > :first-child { margin-top: 0; }
#wpPostPopup .ssva-wp-post-content > :last-child { margin-bottom: 0; }

#wpPostPopup .ssva-wp-post-content p {
  margin: 0 0 1em;
}

#wpPostPopup .ssva-wp-post-content h1,
#wpPostPopup .ssva-wp-post-content h2,
#wpPostPopup .ssva-wp-post-content h3,
#wpPostPopup .ssva-wp-post-content h4,
#wpPostPopup .ssva-wp-post-content h5,
#wpPostPopup .ssva-wp-post-content h6 {
  margin: 1.2em 0 0.6em;
  line-height: 1.25;
  font-weight: 800;
  color: inherit;
}

#wpPostPopup .ssva-wp-post-content h1 { font-size: 1.8em; }
#wpPostPopup .ssva-wp-post-content h2 { font-size: 1.55em; }
#wpPostPopup .ssva-wp-post-content h3 { font-size: 1.32em; }
#wpPostPopup .ssva-wp-post-content h4 { font-size: 1.16em; }
#wpPostPopup .ssva-wp-post-content h5 { font-size: 1.05em; }
#wpPostPopup .ssva-wp-post-content h6 { font-size: 1.00em; }

#wpPostPopup .ssva-wp-post-content a {
  color: var(--ssva-link, #9ad9ee);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#wpPostPopup .ssva-wp-post-content a:hover,
#wpPostPopup .ssva-wp-post-content a:focus {
  color: var(--ssva-link-hover, var(--ssva-link, #9ad9ee));
}

#wpPostPopup .ssva-wp-post-content ul,
#wpPostPopup .ssva-wp-post-content ol {
  margin: 0 0 1em;
  padding-left: 1.35em;
  list-style-position: outside;
}

#wpPostPopup .ssva-wp-post-content ul { list-style-type: disc; }
#wpPostPopup .ssva-wp-post-content ol { list-style-type: decimal; }

/* Multi-level lists */
#wpPostPopup .ssva-wp-post-content ul ul { list-style-type: circle; margin-top: 0.4em; }
#wpPostPopup .ssva-wp-post-content ul ul ul { list-style-type: square; }
#wpPostPopup .ssva-wp-post-content ol ol { list-style-type: lower-alpha; margin-top: 0.4em; }
#wpPostPopup .ssva-wp-post-content ol ol ol { list-style-type: lower-roman; }

#wpPostPopup .ssva-wp-post-content li {
  margin: 0.25em 0;
}

#wpPostPopup .ssva-wp-post-content hr {
  border: 0;
  height: 1px;
  background: var(--ssva-border-strong, rgba(255,255,255,0.18));
  margin: 1.2em 0;
}

#wpPostPopup .ssva-wp-post-content blockquote {
  margin: 1em 0;
  padding: 0.75em 1em;
  border-left: 4px solid var(--ssva-border-accent, rgba(43,108,176,0.33));
  background: rgba(0,0,0,0.14);
}

#wpPostPopup .ssva-wp-post-content pre {
  margin: 1em 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--ssva-surface-alt, rgba(0,0,0,0.22));
  border: 1px solid var(--ssva-border-strong, rgba(255,255,255,0.18));
  overflow: auto;
  line-height: 1.5;
}

#wpPostPopup .ssva-wp-post-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
}

#wpPostPopup .ssva-wp-post-content pre code {
  font-size: 0.92em;
}

#wpPostPopup .ssva-wp-post-content img,
#wpPostPopup .ssva-wp-post-content video,
#wpPostPopup .ssva-wp-post-content iframe {
  max-width: 100%;
}

#wpPostPopup .ssva-wp-post-content figure {
  margin: 1em 0;
}

#wpPostPopup .ssva-wp-post-content figcaption {
  margin-top: 8px;
  font-size: 0.9em;
  color: var(--ssva-text-secondary, rgba(255,255,255,0.72));
}

/* WP/Gutenberg media alignment helpers */
#wpPostPopup .ssva-wp-post-content .aligncenter,
#wpPostPopup .ssva-wp-post-content .wp-block-image.aligncenter,
#wpPostPopup .ssva-wp-post-content figure.aligncenter {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#wpPostPopup .ssva-wp-post-content .alignleft,
#wpPostPopup .ssva-wp-post-content .wp-block-image.alignleft,
#wpPostPopup .ssva-wp-post-content figure.alignleft {
  float: left;
  margin-right: 16px;
  margin-bottom: 12px;
}

#wpPostPopup .ssva-wp-post-content .alignright,
#wpPostPopup .ssva-wp-post-content .wp-block-image.alignright,
#wpPostPopup .ssva-wp-post-content figure.alignright {
  float: right;
  margin-left: 16px;
  margin-bottom: 12px;
}

#wpPostPopup .ssva-wp-post-content::after {
  content: "";
  display: block;
  clear: both;
}

/* Drop cap */
#wpPostPopup .ssva-wp-post-content .has-drop-cap:not(:focus)::first-letter {
  float: left;
  font-size: 3.2em;
  line-height: 0.9;
  font-weight: 800;
  margin: 0.05em 0.14em 0 0;
}

/* Common WP editor alignment classes */
#wpPostPopup .ssva-wp-post-content .has-text-align-left { text-align: left; }
#wpPostPopup .ssva-wp-post-content .has-text-align-center { text-align: center; }
#wpPostPopup .ssva-wp-post-content .has-text-align-right { text-align: right; }
#wpPostPopup .ssva-wp-post-content .has-text-align-justify { text-align: justify; }

/* Gutenberg font-size helpers (best-effort) */
#wpPostPopup .ssva-wp-post-content .has-small-font-size { font-size: 0.88em; }
#wpPostPopup .ssva-wp-post-content .has-medium-font-size { font-size: 1em; }
#wpPostPopup .ssva-wp-post-content .has-large-font-size { font-size: 1.25em; }
#wpPostPopup .ssva-wp-post-content .has-x-large-font-size { font-size: 1.55em; }

/* Some themes output these additional classes */
#wpPostPopup .ssva-wp-post-content .has-normal-font-size { font-size: 1em; }
#wpPostPopup .ssva-wp-post-content .has-huge-font-size { font-size: 1.9em; }

/*
  Mobile tuning: the popup builder sets some typography inline.
  Use !important on mobile only to keep excerpt/content density closer to desktop.
*/
@media (max-width: 700px) {
  #wpPostPopup .ssva-wp-post-popup-panel {
    padding: 18px 16px 16px 16px !important;
  }

  /* Popup post title (the H2 inserted directly into the panel) */
  #wpPostPopup .ssva-wp-post-popup-panel > h2 {
    font-size: 1.15em !important;
    margin-bottom: 12px !important;
    line-height: 1.25 !important;
  }

  #wpPostPopup .ssva-wp-post-content {
    font-size: 1rem !important;
    line-height: 1.65 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  #wpPostPopup .ssva-wp-post-content p {
    margin: 0 0 0.9em;
  }

  /* Tone down large headings within the post body for small screens */
  #wpPostPopup .ssva-wp-post-content h1 { font-size: 1.55em !important; }
  #wpPostPopup .ssva-wp-post-content h2 { font-size: 1.35em !important; }
  #wpPostPopup .ssva-wp-post-content h3 { font-size: 1.20em !important; }
  #wpPostPopup .ssva-wp-post-content h4 { font-size: 1.10em !important; }
  #wpPostPopup .ssva-wp-post-content h5 { font-size: 1.03em !important; }
  #wpPostPopup .ssva-wp-post-content h6 { font-size: 1.00em !important; }

  #wpPostPopup .ssva-wp-post-content ul,
  #wpPostPopup .ssva-wp-post-content ol {
    padding-left: 1.2em !important;
  }
}


/*
  Top 10 Videos: keep thumbnail sizing readable on smaller desktops.
  The JS sets a percentage width inline (e.g., 14.35%), which shrinks too much around ~1400px.
  Override only on non-mobile widths so the carousel shows fewer items instead of shrinking them.
*/
@media (min-width: 601px) and (max-width: 1600px) {
  #top10VideosSection .video-row .thumb-wrap,
  #top10videossection .video-row .thumb-wrap {
    width: 18% !important; /* ~take out 1 thumb vs 1920px */
  }
}

@media (min-width: 601px) and (max-width: 1400px) {
  #top10VideosSection .video-row .thumb-wrap,
  #top10videossection .video-row .thumb-wrap {
    width: 22% !important; /* fewer visible thumbs; prevents over-shrinking */
  }
}

@media (min-width: 601px) and (max-width: 1200px) {
  #top10VideosSection .video-row .thumb-wrap,
  #top10videossection .video-row .thumb-wrap {
    width: 28% !important;
  }
}

/*
  Below Content Banners (Homepage)
  Modern 3-column block appended after the main content.
*/
.ssva-below-banners {
  padding: 10px 16px 0;
  margin: 5% auto;
}

.ssva-below-banners__inner {
  max-width: 1450px;
  margin: 0 auto;
}

.ssva-below-banners__heading {
  margin: 0 0 4px;
  text-align: center;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--ssva-primary, var(--ssva-text, inherit));
}

.ssva-below-banners__subheading {
  margin: 0 0 16px;
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ssva-text-secondary, rgba(255,255,255,0.7));
}

.ssva-below-banners__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ssva-below-banners__card {
  border-radius: 16px;
  padding: 22px 20px;
  border: 1px solid var(--ssva-border-strong, rgba(255,255,255,0.22));
  background: var(--ssva-card, rgba(17,24,39,0.95));
  color: var(--ssva-text, #fff);
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 140px;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  will-change: transform;
}

/* Hover shine + slight scale (matches app's existing shimmer style) */
.ssva-below-banners__card::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.10) 40%,
      rgba(255, 255, 255, 0.55) 50%,
      rgba(255, 255, 255, 0.10) 60%,
      rgba(255, 255, 255, 0) 100%
    ) 0 0 / 220% 100% no-repeat;

  /* Mask out the center so only the border shows */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  transition: opacity 160ms ease;
  will-change: opacity, background-position;
}

@keyframes ssva-below-banners-shine {
  from { background-position: -120% 0; }
  to { background-position: 220% 0; }
}

.ssva-below-banners__card:hover,
.ssva-below-banners__card:active,
.ssva-below-banners__card.ssva-touch-hover,
.ssva-below-banners__card:focus-within {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 40px var(--ssva-overlay, rgba(0,0,0,0.45));
  border-color: var(--ssva-border-accent, rgba(134, 168, 8, 0.33));
}

.ssva-below-banners__card:hover::after,
.ssva-below-banners__card:active::after,
.ssva-below-banners__card.ssva-touch-hover::after,
.ssva-below-banners__card:focus-within::after {
  opacity: 1;
  animation: ssva-below-banners-shine 1500ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .ssva-below-banners__card {
    transition: none;
  }

  .ssva-below-banners__card:hover,
  .ssva-below-banners__card:active,
  .ssva-below-banners__card.ssva-touch-hover,
  .ssva-below-banners__card:focus-within {
    transform: none;
  }

  .ssva-below-banners__card:hover::after,
  .ssva-below-banners__card:active::after,
  .ssva-below-banners__card.ssva-touch-hover::after,
  .ssva-below-banners__card:focus-within::after {
    animation: none;
    opacity: 0.35;
  }
}

.ssva-below-banners__card-left {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.ssva-below-banners__card-body {
  flex: 1 1 auto;
  min-width: 0;
}

.ssva-below-banners__card-action {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.ssva-below-banners__icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ssva-surface-alt, #0b1622);
  border: 2px solid var(--ssva-border-strong, rgba(255,255,255,0.22));
  overflow: hidden;
  box-shadow: 0 0 0 2px var(--ssva-border-accent, rgba(134, 168, 8, 0.33));
}

.ssva-below-banners__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ssva-below-banners__title {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--ssva-text, #fff);
}

.ssva-below-banners__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ssva-text-secondary, rgba(255,255,255,0.7));
}

.ssva-below-banners__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--ssva-primary, #10c900);
  color: var(--ssva-color-text, #ffffff);
  border: 1px solid var(--ssva-border-strong, rgba(255,255,255,0.18));
}

.ssva-below-banners__btn:hover,
.ssva-below-banners__btn:focus {
  background: var(--ssva-primary-hover, var(--ssva-primary, #10c900));
  color: var(--ssva-color-text, #ffffff);
}

@media (max-width: 860px) {
  .ssva-below-banners__grid {
    grid-template-columns: 1fr;
  }

  .ssva-below-banners__card {
    min-height: 0;
  }
}

@media (max-width: 480px) {
  .ssva-below-banners {
    padding: 10px 12px 0;
  }

  .ssva-below-banners__heading {
    font-size: 22px;
  }

  .ssva-below-banners__subheading {
    font-size: 10px;
  }

  .ssva-below-banners__text {
    margin: 0;
    font-size: 9px;
    line-height: 1.5;
    color: var(--ssva-text-secondary, rgba(255,255,255,0.7));
  }

  .ssva-below-banners__card {
    padding: 18px 16px;
  }

  .ssva-below-banners__icon {
    width: 50px;
    height: 50px;
  }
}

/*
  Home Page: Reels strip (injected by the main plugin on '/').
  Shows 5 reels, with 4 visible and the 5th reachable via swipe/scroll.
  Scoped by #ssva-home-reels-strip so it won't affect /reels or other pages.
*/
#ssva-home-reels-strip {
  margin: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
}

#ssva-home-reels-strip .ssva-home-reels-title {
  margin: 22px 0 12px 16px;
  font-weight: 800;
  font-size: 1.15em;
  color: var(--ssva-color-text, var(--ssva-text, #ffffff));
}

#ssva-home-reels-strip .ssva-home-reels-row {
  --ssva-home-reels-gap: 16px;
  display: flex;
  gap: var(--ssva-home-reels-gap);
  padding: 0 16px 24px 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 16px;
  scroll-padding-right: 16px;
  scrollbar-width: none;
  max-width: 100%;
  box-sizing: border-box;
}

#ssva-home-reels-strip .ssva-home-reels-row::-webkit-scrollbar {
  display: none;
  height: 0;
}

#ssva-home-reels-strip .ssva-home-reel-card {
  flex: 0 0 calc((100% - (var(--ssva-home-reels-gap) * 4)) / 5);
  max-width: calc((100% - (var(--ssva-home-reels-gap) * 4)) / 5);
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: start;
  display: block;
  text-decoration: none;
  border: 3px solid var(--ssva-color-text, var(--ssva-text, #ffffff));
  background: transparent;
  box-shadow: 0 10px 24px var(--ssva-overlay, rgba(0, 0, 0, 0.35));
  aspect-ratio: 9 / 16;
}

#ssva-home-reels-strip .ssva-home-reel-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#ssva-home-reels-strip .ssva-home-reels-cta-wrap {
  padding: 0 16px 26px 16px;
  display: flex;
  justify-content: center;
}

#ssva-home-reels-strip .ssva-home-reels-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ssva-color-text, var(--ssva-text, #ffffff));
  border: 2px solid #474747;
  background: transparent;
}

/* Card overlay: fake action buttons + real uploader avatar (homepage injected row only). */
#ssva-home-reels-strip .ssva-home-reel-card {
  position: relative;
}

#ssva-home-reels-strip .ssva-home-reel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 12px;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.0) 55%);
}

/* Clickable uploader area only (keeps swipe/scroll + card click intact elsewhere). */
#ssva-home-reels-strip .ssva-home-reel-profile {
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
}

#ssva-home-reels-strip .ssva-home-reel-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

#ssva-home-reels-strip .ssva-home-reel-avatar {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.25);
}

#ssva-home-reels-strip .ssva-home-reel-username {
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

#ssva-home-reels-strip .ssva-home-reel-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

#ssva-home-reels-strip .ssva-home-reel-action {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.95);
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 0;
  line-height: 0;
}

#ssva-home-reels-strip .ssva-home-reel-action svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

@media (max-width: 860px) {
  #ssva-home-reels-strip .ssva-home-reel-username {
    max-width: 120px;
  }
  #ssva-home-reels-strip .ssva-home-reels-cta {
    width: 100%;
  }
}

@media (max-width: 860px) {
  #ssva-home-reels-strip .ssva-home-reels-row {
    scroll-snap-type: x proximity;
  }

  #ssva-home-reels-strip .ssva-home-reel-card {
    flex: 0 0 calc((100% - var(--ssva-home-reels-gap)) / 2);
    max-width: calc((100% - var(--ssva-home-reels-gap)) / 2);
    aspect-ratio: 9 / 16;
  }
}
