/* liveOVER For You - desktop shell and mobile stack.
   Scoped to the actual For You route DOM. Never touches Auth, SQLite, LiveKit
   or any LIVE room; reuses the five existing post-action handlers. */
@media (min-width:768px) {
 html:has(body:not(.in-live-room) #main .feed #feed-posts),
 html body:not(.in-live-room):has(#main .feed #feed-posts){
  height:100vh!important;height:100dvh!important;
  max-height:100dvh!important;overflow:hidden!important;
  overscroll-behavior:none!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #app{
  height:100dvh!important;min-height:0!important;max-height:100dvh!important;
  display:flex!important;flex-direction:column!important;overflow:hidden!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) header.top{
  position:relative!important;top:0!important;flex:0 0 auto!important;
  z-index:120!important;width:100%!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) .app-shell{
  height:auto!important;max-height:none!important;min-height:0!important;
  min-width:0!important;flex:1 1 0!important;overflow:hidden!important;
  align-items:stretch!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) aside.sidebar{
  position:relative!important;top:auto!important;
  height:100%!important;max-height:100%!important;min-height:0!important;
  overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) main#main.container{
  height:100%!important;max-height:100%!important;min-height:0!important;
  min-width:0!important;display:flex!important;flex-direction:column!important;
  overflow:hidden!important;overscroll-behavior:none!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) main#main.container>.feed{
  width:100%!important;max-width:100%!important;height:100%!important;
  min-height:0!important;flex:1 1 0!important;display:flex!important;
  flex-direction:column!important;overflow:hidden!important;
  position:relative!important;inset:auto!important;margin:0!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) .feed .lov-feed-toolbar{
  position:relative!important;inset:auto!important;flex:0 0 auto!important;
  z-index:35!important;min-height:48px!important;box-sizing:border-box!important;
  margin:0!important;padding:14px 0 6px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  overflow:visible!important;background:#081822!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) .feed .lov-feed-toolbar .ocean-tabs,
 html body:not(.in-live-room):has(#main .feed #feed-posts) .feed .lov-feed-toolbar .ocean-tab-links{
  position:static!important;display:flex!important;
  flex-wrap:nowrap!important;min-width:0!important;max-width:100%!important;
  align-items:center!important;overflow-x:auto!important;overflow-y:visible!important;
  scrollbar-width:none!important;white-space:nowrap!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) .feed .ocean-tabs::-webkit-scrollbar,
 html body:not(.in-live-room):has(#main .feed #feed-posts) .feed .ocean-tab-links::-webkit-scrollbar{display:none!important}
 html body:not(.in-live-room):has(#main .feed #feed-posts) .feed .ocean-tabs a{
  white-space:nowrap!important;flex:0 0 auto!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) .feed #feed-posts{
  display:grid!important;position:relative!important;inset:auto!important;
  flex:1 1 0!important;min-height:0!important;max-height:none!important;
  width:100%!important;max-width:100%!important;height:auto!important;
  padding:12px 2px 14px!important;margin:0!important;z-index:0!important;isolation:isolate;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,265px),1fr))!important;
  align-content:start!important;align-items:start!important;justify-content:start!important;
  gap:12px!important;overflow-y:auto!important;overflow-x:hidden!important;
  overscroll-behavior-y:contain!important;scroll-snap-type:none!important;
  scrollbar-width:thin!important;scrollbar-color:#2c5868 transparent!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #feed-posts>.post-card:not(.ocean-live-card){
  width:100%!important;max-width:320px!important;min-width:0!important;
  height:auto!important;max-height:none!important;min-height:0!important;
  padding:10px!important;margin:0!important;overflow:hidden!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  scroll-snap-align:none!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #feed-posts>.post-card:not(.ocean-live-card) .info{
  display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;gap:3px 7px!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  flex:0 0 auto!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #feed-posts>.post-card:not(.ocean-live-card) .info .names{
  display:contents!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #feed-posts>.post-card:not(.ocean-live-card) .info > a{grid-row:1 / span 2;grid-column:1;}
 html body:not(.in-live-room):has(#main .feed #feed-posts) #feed-posts>.post-card:not(.ocean-live-card) .info .names > a,
 html body:not(.in-live-room):has(#main .feed #feed-posts) #feed-posts>.post-card:not(.ocean-live-card) .info .names > small{
  display:block!important;min-width:0!important;overflow:hidden!important;
  text-overflow:ellipsis!important;white-space:nowrap!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #feed-posts>.post-card:not(.ocean-live-card) .info .names > a{grid-row:1;grid-column:2;}
 html body:not(.in-live-room):has(#main .feed #feed-posts) #feed-posts>.post-card:not(.ocean-live-card) .info .names > small{grid-row:2;grid-column:2 / -1;font-size:11px!important;line-height:1.2;}
 html body:not(.in-live-room):has(#main .feed #feed-posts) #feed-posts>.post-card:not(.ocean-live-card) .info > button{grid-row:1;grid-column:3;}
 html body:not(.in-live-room):has(#main .feed #feed-posts) #feed-posts>.post-card:not(.ocean-live-card) .info button[data-action="follow"]{
  display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;
  justify-content:center!important;white-space:nowrap!important;word-break:keep-all!important;
  overflow-wrap:normal!important;min-width:0!important;max-width:none!important;
  width:auto!important;padding:4px 7px!important;min-height:28px!important;
  font-size:11px!important;line-height:1.2!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #feed-posts>.post-card:not(.ocean-live-card) .post-media{
  flex:0 0 auto!important;max-width:100%!important;
  height:clamp(240px,calc(100dvh - 340px),425px)!important;
  max-height:425px!important;min-height:0!important;
  aspect-ratio:9/14!important;overflow:hidden!important;border-radius:12px!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #feed-posts>.post-card:not(.ocean-live-card) .post-media :is(video,img){
  width:100%!important;height:100%!important;max-width:100%!important;
  max-height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #feed-posts>.post-card:not(.ocean-live-card) .caption{
  max-width:100%!important;flex:0 0 auto!important;
  display:-webkit-box!important;-webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;overflow:hidden!important;
  margin:5px 0!important;max-height:2.8em!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #feed-posts>.post-card:not(.ocean-live-card) .lov-post-minimal-actions{
  flex:0 0 auto!important;display:flex!important;align-items:center!important;
  flex-direction:row!important;flex-wrap:nowrap!important;justify-content:space-between!important;
  width:100%!important;max-width:100%!important;min-height:40px!important;
  border:0!important;box-shadow:none!important;background:transparent!important;
  margin:0!important;padding:4px 0!important;gap:2px!important;
 }
}
/* Keep legacy reaction UI out of individual feed cards, without disabling
   emoji input inside the Comments modal. */
html body:not(.in-live-room) #main .feed #feed-posts .post-card :is(
 .post-reactions,.emoji-reactions,.reaction-picker,.reaction-buttons,.post-emoji-row,
 [data-action="react"],[data-action="reaction"],[data-action="post-reaction"]
){display:none!important}
html body:not(.in-live-room) #main .feed #feed-posts .post-card .lov-post-minimal-actions>:not(.post-action):not(.ocean-action-avatar){
 display:none!important;
}
@media (max-width:767px) {
 html:has(body:not(.in-live-room) #main .feed #feed-posts),
 html body:not(.in-live-room):has(#main .feed #feed-posts){
  width:100vw!important;height:100vh!important;height:100dvh!important;
  max-height:100dvh!important;margin:0!important;padding:0!important;
  overflow:hidden!important;overscroll-behavior:none!important;
  background:#06111b!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) :is(#app,.app-shell,main#main.container){
  position:relative!important;width:100vw!important;max-width:100vw!important;
  height:100dvh!important;min-height:0!important;max-height:100dvh!important;
  margin:0!important;padding:0!important;overflow:hidden!important;background:transparent!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main>.feed{
  position:fixed!important;inset:0!important;width:100vw!important;
  height:100dvh!important;min-height:0!important;max-height:100dvh!important;
  overflow:hidden!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;background:#06111b!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed #feed-posts{
  display:block!important;position:absolute!important;inset:0 0 auto 0!important;
  top:0!important;left:0!important;width:100vw!important;max-width:100vw!important;
  height:calc(100dvh - 64px - env(safe-area-inset-bottom,0px))!important;
  min-height:0!important;max-height:calc(100dvh - 64px - env(safe-area-inset-bottom,0px))!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  padding:0!important;margin:0!important;transform:none!important;
  scroll-snap-type:y mandatory!important;overscroll-behavior-y:contain!important;
  -webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;
  background:#06111b!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed #feed-posts::-webkit-scrollbar{display:none!important}
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed #feed-posts>article{
  display:block!important;position:relative!important;
  width:100vw!important;min-width:100vw!important;max-width:100vw!important;
  height:calc(100dvh - 64px - env(safe-area-inset-bottom,0px))!important;
  min-height:calc(100dvh - 64px - env(safe-area-inset-bottom,0px))!important;
  max-height:calc(100dvh - 64px - env(safe-area-inset-bottom,0px))!important;
  margin:0!important;padding:0!important;overflow:hidden!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  scroll-snap-align:start!important;scroll-snap-stop:always!important;
  background:#06111b!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed #feed-posts>article:not(.ocean-live-card) .post-media{
  display:block!important;position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;min-height:0!important;
  max-height:none!important;aspect-ratio:auto!important;
  border:0!important;border-radius:0!important;overflow:hidden!important;
  background:transparent!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed #feed-posts>article:not(.ocean-live-card) .post-media :is(video,img){
  display:block!important;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;aspect-ratio:auto!important;
  border:0!important;border-radius:0!important;object-fit:cover!important;
  background:transparent!important;
 }
 /* Keep the native control surface centered in the full video box. */
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed #feed-posts>article:not(.ocean-live-card) .post-media > video{
  position:absolute!important;inset:0!important;margin:0!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed .lov-mobile-feed-tabs{
  position:fixed!important;top:max(6px,env(safe-area-inset-top,0px))!important;
  left:0!important;right:0!important;z-index:85!important;
  width:100vw!important;max-width:100vw!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex-wrap:nowrap!important;gap:clamp(3px,1.4vw,10px)!important;
  padding:6px 6px!important;margin:0!important;
  background:transparent!important;border:0!important;
  pointer-events:auto!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed .lov-mobile-feed-tabs a{
  flex:0 1 auto!important;min-width:0!important;white-space:nowrap!important;
  padding:6px clamp(5px,1.4vw,9px)!important;font-size:clamp(10px,2.8vw,12px)!important;
  border-radius:999px!important;background:rgba(8,25,39,.47)!important;
  backdrop-filter:blur(8px);
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed #feed-posts .post-card:not(.ocean-live-card) .lov-post-minimal-actions{
  display:flex!important;position:absolute!important;z-index:45!important;
  top:auto!important;left:auto!important;right:calc(14px + env(safe-area-inset-right,0px))!important;
  bottom:clamp(64px,12dvh,105px)!important;
  width:58px!important;min-width:58px!important;max-width:58px!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  flex-direction:column!important;flex-wrap:nowrap!important;align-items:center!important;
  justify-content:flex-end!important;gap:clamp(4px,1dvh,9px)!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;
  overflow:visible!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed #feed-posts .post-card .lov-post-minimal-actions>.post-action{
  display:flex!important;visibility:visible!important;opacity:1!important;
  flex:0 0 auto!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  gap:2px!important;min-width:0!important;max-width:58px!important;width:56px!important;
  min-height:40px!important;height:clamp(42px,7dvh,55px)!important;
  padding:3px 0!important;margin:0!important;
  color:#fff!important;border:0!important;border-radius:13px!important;
  background:rgba(6,21,32,.28)!important;box-shadow:none!important;
  text-shadow:0 2px 5px #000b!important;font-size:11px!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed #feed-posts .post-card .lov-post-minimal-actions>.post-action svg{
  width:22px!important;height:22px!important;flex:0 0 22px!important;
  stroke:currentColor!important;filter:drop-shadow(0 1px 3px #000a);
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed #feed-posts .post-card .lov-post-minimal-actions>.post-action:is([data-action="save"],[data-action="diamond-comment"],[data-action="share-post"]){
  display:flex!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed #feed-posts .post-card .lov-post-minimal-actions>.ocean-action-avatar{
  display:none!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed #feed-posts .lov-mobile-post-overlay{
  position:absolute!important;z-index:42!important;left:max(12px,env(safe-area-inset-left,0px))!important;
  right:76px!important;bottom:clamp(22px,5dvh,60px)!important;
  max-width:calc(100% - 92px)!important;
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  gap:5px!important;margin:0!important;padding:0!important;
  color:#fff!important;text-shadow:0 1px 4px #000c!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed #feed-posts .lov-mobile-post-follow{
  white-space:nowrap!important;word-break:keep-all!important;min-width:86px!important;
  flex:0 0 auto!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) nav.phone-nav{
  display:flex!important;position:fixed!important;left:0!important;right:0!important;
  top:auto!important;bottom:0!important;z-index:95!important;
  height:calc(64px + env(safe-area-inset-bottom,0px))!important;
  min-height:calc(64px + env(safe-area-inset-bottom,0px))!important;
  width:100vw!important;max-width:100vw!important;
  align-items:center!important;justify-content:space-around!important;
  margin:0!important;padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px))!important;
  border:0!important;border-top:1px solid #ffffff1d!important;
  border-radius:0!important;background:rgba(6,18,29,.90)!important;
  backdrop-filter:blur(12px);
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) nav.phone-nav :is(a,button){
  min-width:0!important;flex:1 1 0!important;white-space:nowrap!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed #more-posts{
  display:none!important;
 }
}
@media (max-width:380px){
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed #feed-posts .post-card .lov-post-minimal-actions{
  right:calc(12px + env(safe-area-inset-right,0px))!important;width:50px!important;min-width:50px!important;max-width:50px!important;
  gap:2px!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed #feed-posts .post-card .lov-post-minimal-actions>.post-action{
  width:49px!important;min-height:38px!important;height:clamp(38px,6.7dvh,46px)!important;
 }
}

/* Desktop For You only: caption and emojis overlay the media, while
   preserving the three-card grid, account header and five-button action row. */
@media (min-width:861px){
 html body:not(.in-live-room):has(#main .feed #feed-posts) #feed-posts > .post-card:not(.ocean-live-card){
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;
  align-items:stretch!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #feed-posts > .post-card:not(.ocean-live-card) > .info{
  grid-column:1!important;grid-row:1!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #feed-posts > .post-card:not(.ocean-live-card) > .post-media{
  grid-column:1!important;grid-row:2!important;min-width:0!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #feed-posts > .post-card:not(.ocean-live-card) > .caption{
  grid-column:1!important;grid-row:2!important;
  align-self:end!important;justify-self:stretch!important;
  position:relative!important;z-index:2!important;
  margin:0 6px 60px!important;padding:6px 10px!important;
  max-width:calc(100% - 12px)!important;
  border-radius:8px!important;
  background:rgba(0,0,0,.4)!important;color:#e2e8f0!important;
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
  overflow-wrap:anywhere;pointer-events:none;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #feed-posts > .post-card:not(.ocean-live-card) > .lov-post-minimal-actions{
  grid-column:1!important;grid-row:3!important;
  margin-top:0!important;
 }
}

/* Desktop For You only: compact three navigation pills, preserving the card grid. */
@media (min-width:769px){
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed .lov-feed-toolbar .ocean-tabs{
  flex:0 1 auto!important;width:max-content!important;max-width:100%!important;
  margin:0!important;padding:0!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed .lov-feed-toolbar .ocean-tab-links{
  display:inline-flex!important;flex:0 0 auto!important;gap:8px!important;
  width:max-content!important;max-width:100%!important;
  margin:0!important;padding:0!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed .lov-feed-toolbar .ocean-tab-links > a.ocean-pill{
  display:inline-flex!important;flex:0 0 auto!important;
  width:auto!important;min-width:0!important;max-width:max-content!important;
  height:32px!important;min-height:32px!important;
  padding:5px 11px!important;margin:0!important;
  font-size:12px!important;line-height:1.2!important;white-space:nowrap!important;
 }
}

.lov-feed-video-fallback{
 position:absolute;inset:0;display:grid;place-items:center;
 padding:16px;text-align:center;background:#081822;color:#e2e8f0;
}
@media (min-width:768px){
 #feed-posts .post-media:has(>.lov-feed-video-fallback){position:relative;}
}

@media (min-width:768px){
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed[data-feed-mode="for-you"] #feed-posts{
  --for-you-video-width:clamp(260px,min(410px,calc((100dvh - 235px) * 9 / 16)),calc(100% - 24px));
  --for-you-card-width:calc(var(--for-you-video-width) + 20px);
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:none!important;
  grid-auto-rows:max-content!important;
  justify-items:center!important;
  align-content:start!important;
  gap:18px!important;
  padding:12px 12px 28px!important;
  scroll-snap-type:y mandatory!important;
  scroll-padding-top:12px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) .feed[data-feed-mode="for-you"] #feed-posts>.post-card:not(.ocean-live-card){
  width:min(100%,var(--for-you-card-width))!important;
  max-width:var(--for-you-card-width)!important;
  min-width:0!important;
  margin:0 auto!important;
  padding:10px!important;
  scroll-snap-align:start!important;
  scroll-snap-stop:always!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) .feed[data-feed-mode="for-you"] #feed-posts>.post-card:not(.ocean-live-card)>.post-media{
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  max-height:none!important;
  min-height:0!important;
  aspect-ratio:9/16!important;
  overflow:hidden!important;
  border-radius:12px!important;
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) .feed[data-feed-mode="for-you"] #feed-posts>.post-card:not(.ocean-live-card)>.post-media :is(video,img){
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:cover!important;
 }
}

/* Stage 4: TikTok-style desktop For You only; LIVE and profile grids untouched. */
@media (min-width:1024px) {
 html body:not(.in-live-room):has(.feed .ocean-tabs a[href="#feed/for-you"].active) #main .feed #feed-posts{
  --for-you-video-width:min(410px,max(120px,calc((100dvh - 235px)*9/16)),calc(100% - 24px));
  --for-you-card-width:calc(var(--for-you-video-width) + 20px);
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  justify-items:center!important;align-content:start!important;gap:18px!important;
  box-sizing:border-box!important;overflow-y:auto!important;overflow-x:hidden!important;
  padding:12px clamp(12px,7vw,92px) 28px!important;scroll-snap-type:y mandatory!important;
 }
 html body:not(.in-live-room):has(.feed .ocean-tabs a[href="#feed/for-you"].active) #main .feed #feed-posts>.post-card:not(.ocean-live-card){
  position:relative!important;box-sizing:border-box!important;
  width:min(100%,var(--for-you-card-width))!important;
  max-width:var(--for-you-card-width)!important;
  height:auto!important;max-height:none!important;
  aspect-ratio:auto!important;min-width:0!important;
  padding:10px!important;overflow:visible!important;
  display:block!important;scroll-snap-align:start!important;
 }
 html body:not(.in-live-room):has(.feed .ocean-tabs a[href="#feed/for-you"].active) #main .feed #feed-posts>.post-card:not(.ocean-live-card) .post-media{
  position:relative!important;inset:auto!important;
  width:100%!important;height:auto!important;max-height:none!important;
  max-width:100%!important;aspect-ratio:9/16!important;
  border-radius:12px!important;overflow:hidden!important;
 }
 html body:not(.in-live-room):has(.feed .ocean-tabs a[href="#feed/for-you"].active) #main .feed #feed-posts>.post-card:not(.ocean-live-card) .post-media :is(video,img){
  display:block!important;width:100%!important;height:100%!important;
  object-fit:cover!important;
 }
 html body:not(.in-live-room):has(.feed .ocean-tabs a[href="#feed/for-you"].active) #main .feed #feed-posts>.post-card:not(.ocean-live-card) :is(.actionbar,.lov-post-minimal-actions){
  position:absolute!important;left:calc(100% + 16px)!important;
  right:auto!important;top:auto!important;bottom:16px!important;
  width:56px!important;max-width:56px!important;min-width:56px!important;
  height:auto!important;display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:flex-end!important;
  gap:16px!important;padding:0!important;margin:0!important;
  background:transparent!important;border:0!important;z-index:5!important;
 }
 html body:not(.in-live-room):has(.feed .ocean-tabs a[href="#feed/for-you"].active) #main .feed #feed-posts>.post-card:not(.ocean-live-card) :is(.info,.caption,.lov-mobile-post-overlay){
  position:absolute!important;left:16px!important;right:16px!important;
  width:auto!important;max-width:calc(100% - 32px)!important;
  z-index:2!important;color:white!important;
 }
 html body:not(.in-live-room):has(.feed .ocean-tabs a[href="#feed/for-you"].active) #main .feed #feed-posts>.post-card:not(.ocean-live-card) .info{
  bottom:76px!important;display:flex!important;align-items:center!important;
  gap:8px!important;text-shadow:0 1px 5px #000!important;
 }
 html body:not(.in-live-room):has(.feed .ocean-tabs a[href="#feed/for-you"].active) #main .feed #feed-posts>.post-card:not(.ocean-live-card) .info .names{
  display:flex!important;flex-direction:column!important;
 }
 html body:not(.in-live-room):has(.feed .ocean-tabs a[href="#feed/for-you"].active) #main .feed #feed-posts>.post-card:not(.ocean-live-card) .caption{
  bottom:16px!important;margin:0!important;text-shadow:0 1px 5px #000!important;
 }
}
