/* v356: Social video swipe polish (override file; social-feed.css is untouched).
   - Slides are always rendered (content-visibility:visible). With content-visibility:auto the incoming card's video
     was skipped while off-screen and had to be laid out/painted at the moment it slid in (black/white box, then poster).
     The feed only keeps ~6 cards filled anyway, so this costs very little.
   - The video box stays dark behind the first frame while it slides in (no light-theme white behind an empty frame).
   - The big play button is hidden on cards that are not the current one, and on the current card it only fades in if
     the video is still paused after a moment (viewer paused it / autoplay blocked), so it no longer flashes on every snap. */
html.hs-open #homeSocial .hs-tt .tt-feed > .tt-slide,
html.hs-open #homeSocial .hs-tt .tt-feed > article.dc-post.tt-slide{content-visibility:visible!important;contain-intrinsic-size:none!important}
html.hs-open #homeSocial .hs-tt .tt-slide.tt-k-video .tt-media,
html.hs-open #homeSocial .hs-tt .tt-slide.tt-k-video .tt-video{background-color:#000}
html.hs-open #homeSocial .hs-tt .tt-slide:not(.is-cur) .tt-vid .tt-play{opacity:0!important;transition:none!important}
html.hs-open #homeSocial .hs-tt .tt-slide.is-cur .tt-vid.is-paused .tt-play{transition:opacity .15s ease .4s}
html.hs-open #homeSocial .hs-tt .tt-slide.is-cur .tt-vid:not(.is-paused) .tt-play{transition:opacity .1s ease 0s}

/* v356 — Social action column on phones (Josh: counts fully visible, nothing overlapping, Share/More not crowding the caption,
   still beautiful). Override file only: social-feed.css / social-feed323.js stay byte-identical.
   - Even spacing: one gap between every button, a small fixed gap between each icon and its count.
   - Counts sit in a small rounded chip centred under the icon, so they stay readable over bright video frames
     (dark glass on videos, card colour on photo/text posts). Bubble look is unchanged.
   - The caption now stops short of the column (video: the dark fade moves to the video itself so it still spans the full width).
   - Shorter screens step the whole column down in size together so it always fits inside the card. */
@media (max-width:699px){
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-acts{right:6px;bottom:12px;width:60px;gap:10px;justify-content:flex-end}
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-av{margin:0}
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-act{min-height:0;min-width:56px;gap:4px}
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-act > span{display:block;box-sizing:border-box;min-width:26px;max-width:58px;padding:2px 7px;border-radius:999px;
    font:700 11.5px/1.15 var(--body);text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums;letter-spacing:.01em;
    background:var(--tt-card);color:var(--tt-ink);box-shadow:0 1px 4px var(--tt-sh);text-shadow:none}
  html.hs-open #homeSocial .hs-tt .tt-slide.tt-k-video .tt-act > span{background:rgba(0,0,0,.48);color:#fff;box-shadow:0 0 0 1px rgba(255,255,255,.10)}
  /* caption: clear of the column */
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-cap{margin-right:78px}
  html.hs-open #homeSocial .hs-tt .tt-slide.tt-k-video .tt-cap{margin:0;right:78px;padding-right:8px;background:none}
  html.hs-open #homeSocial .hs-tt .tt-slide.tt-k-video .tt-media::after{content:"";position:absolute;left:0;right:0;bottom:0;height:56%;z-index:1;pointer-events:none;
    background:linear-gradient(to top,rgba(0,0,0,.78),rgba(0,0,0,.55) 45%,rgba(0,0,0,.22) 75%,transparent)}
}
@media (max-width:699px) and (max-height:760px){
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-acts{gap:8px;bottom:10px}
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-act{gap:3px;font-size:11px}
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-bub{width:40px;height:40px}
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-bub svg{width:21px;height:21px}
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-av,html.hs-open #homeSocial .hs-tt .tt-slide .tt-av .fr-av{width:44px!important;height:44px!important}
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-act > span{font-size:11px;padding:2px 6px}
}
@media (max-width:699px) and (max-height:700px){
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-acts{gap:6px;bottom:10px}
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-bub{width:36px;height:36px}
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-bub svg{width:19px;height:19px}
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-av,html.hs-open #homeSocial .hs-tt .tt-slide .tt-av .fr-av{width:40px!important;height:40px!important}
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-act > span{font-size:10.5px;padding:1.5px 6px}
}
@media (max-width:699px) and (max-height:650px){
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-acts{gap:5px;bottom:8px}
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-act{gap:2px}
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-bub{width:32px;height:32px}
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-bub svg{width:17px;height:17px}
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-av,html.hs-open #homeSocial .hs-tt .tt-slide .tt-av .fr-av{width:36px!important;height:36px!important}
  html.hs-open #homeSocial .hs-tt .tt-slide .tt-act > span{font-size:10px;padding:1px 5px}
}
