/* liveOVER FINAL MOBILE PATCH. All selectors strictly scoped to <=768px.
   Desktop and tablet >=769px retain current production layout. */
@media (max-width:768px){
 /* Keep the parsed-first-paint node inside the current feed navigation, not above LIVE controls. */
 /* Locale stays in a separate top row; feed tabs occupy a second row. */
 html body header.top:has(#lov-mobile-locale){padding-right:calc(98px + env(safe-area-inset-right,0px))!important}
 html body.in-live-room #lov-mobile-locale,
 html body:has(#modal-root .modal-backdrop) #lov-mobile-locale,
 html body:has(.lov-gift-drawer) #lov-mobile-locale,
 html body:has(.lov-create-flow) #lov-mobile-locale{display:none!important;pointer-events:none!important}

  /* First paint independent of #main: mobile-only top-right locale. */
  html body #lov-mobile-locale{position:fixed!important;z-index:850!important;top:calc(8px + env(safe-area-inset-top,0px))!important;right:calc(7px + env(safe-area-inset-right,0px))!important;display:flex!important;gap:5px!important;align-items:center!important;min-height:44px!important;width:max-content!important;max-width:90vw!important;padding:3px 4px!important;border:1px solid #4b3674!important;border-radius:14px!important;background:#091b2df2!important;color:#fff!important;pointer-events:auto!important}
  html body #lov-mobile-locale time{font:800 12px/1.4 sans-serif!important;font-variant-numeric:tabular-nums!important;color:#d8f8ff!important}
  html body #lov-mobile-locale [data-mobile-flag]{background:transparent!important;border:0!important;color:#fff!important;font-size:20px!important;min-width:44px!important;min-height:44px!important}
  html body #lov-mobile-locale [data-mobile-language-menu]{position:absolute!important;z-index:5!important;top:38px!important;right:0!important;display:grid!important;gap:5px!important;width:min(240px,90vw)!important;max-height:65dvh!important;overflow-y:auto!important;padding:12px!important;border:1px solid #8b49df!important;border-radius:13px!important;background:#101528f7!important;box-shadow:0 10px 25px #000b!important}
  html body #lov-mobile-locale [data-mobile-language-menu][hidden]{display:none!important}
  html body #lov-mobile-locale [data-mobile-language-menu] button{text-align:left!important;min-height:44px!important;padding:9px 10px!important;border-radius:9px!important;border:1px solid #1d506b!important;background:#11283e!important;color:#ecfaff!important}
  html body #lov-mobile-locale [data-mobile-language-menu] button[aria-pressed="true"]{border-color:#f565bd!important}
  html body #lov-mobile-locale [data-mobile-language-menu] small{font-size:10px!important;color:#a5c4df!important}

 html,body,#app,#main{color-scheme:dark!important}
 html body:not(.in-live-room) #main :is(.feed,.lov-live-feed,.lov-prelive-page,.inbox-screen,.lov-reference-profile){
  background-color:#090e1a!important;color:#e7faff!important
 }
 html body:not(.in-live-room) #main :is(.feed,.lov-live-feed) .lov-feed-toolbar{
  background:transparent!important
 }
 html body:not(.in-live-room) #main .feed #feed-posts,
 html body:not(.in-live-room) #main .lov-live-feed .lov-live-slide-feed,
 html body:not(.in-live-room) #main .lov-mobile-follow-live-scroller{
  scroll-snap-type:y mandatory!important;scroll-behavior:smooth!important;overscroll-behavior-y:contain!important;
  scrollbar-width:none!important;overflow-y:auto!important;overflow-x:hidden!important;
  height:calc(100dvh - 64px)!important;width:100vw!important;max-width:100vw!important;
  background:#080f1d!important
 }
 html body:not(.in-live-room):has(#main .lov-live-feed) :is(header.top,aside.sidebar){display:none!important;pointer-events:none!important}
 html body:not(.in-live-room):has(#main .lov-live-feed) #app{background:#080f1d!important;overflow:hidden!important}
 html body:not(.in-live-room) #main .lov-live-feed{position:fixed!important;inset:0!important;overflow:hidden!important;height:100dvh!important;margin:0!important;padding:0!important}
 html body:not(.in-live-room) #main .lov-live-feed .lov-official-live-list{margin:0!important;padding:0!important;max-width:100%!important;min-width:0!important;height:100dvh!important;overflow:hidden!important}
 html body:not(.in-live-room) #main .lov-live-feed .lov-live-list-grid{display:none!important}
 html body:not(.in-live-room) #main .lov-live-feed .lov-live-slide-feed{display:block!important;position:absolute!important;inset:0 0 auto!important;padding:0!important;margin:0!important}
 html body:not(.in-live-room) #main :is(.lov-live-feed,.lov-mobile-follow-live-scroller) .ocean-live-card{
  display:flex!important;flex-direction:column!important;position:relative!important;scroll-snap-align:start!important;scroll-snap-stop:always!important;
  width:100vw!important;max-width:100vw!important;min-height:calc(100dvh - 64px)!important;
  height:calc(100dvh - 64px)!important;margin:0!important;padding:0!important;
  background:radial-gradient(circle at 40% 42%,#163c52 0%,#081725 58%,#080d18 100%)!important;
  overflow:hidden!important;border:0!important;border-radius:0!important
 }
 html body:not(.in-live-room) #main .ocean-live-card .ocean-live-top{
  position:absolute!important;top:calc(50px + env(safe-area-inset-top,0px))!important;left:8px!important;right:8px!important;z-index:3!important;
  display:flex!important;align-items:center!important;gap:7px!important;justify-content:space-between!important;padding:8px!important
 }
 html body:not(.in-live-room) #main .ocean-live-card .ocean-live-center{
  position:absolute!important;inset:0!important;display:grid!important;place-items:center!important
 }
 html body:not(.in-live-room) #main .ocean-live-card .ocean-live-avatar{
  display:grid!important;place-items:center!important;width:min(57vw,220px)!important;height:min(57vw,220px)!important;
  border-radius:50%!important;border:3px solid #f64ba6!important;box-shadow:0 0 25px #8b43db7a!important;
  font-size:50px!important;overflow:hidden!important
 }
 html body:not(.in-live-room) #main .ocean-live-card .ocean-live-avatar img{width:100%!important;height:100%!important;object-fit:cover!important}
 html body:not(.in-live-room) #main .ocean-live-card .ocean-live-bottom{
  position:absolute!important;z-index:5!important;bottom:0!important;left:0!important;right:0!important;
  display:grid!important;gap:7px!important;align-items:end!important;padding:15px 12px 24px!important;
  background:linear-gradient(0deg,#071323f7,transparent)!important
 }
 html body:not(.in-live-room) #main .ocean-live-card .ocean-live-bottom h2{font-size:19px!important;color:#fff!important;margin:0!important}
 html body:not(.in-live-room) #main .ocean-live-card .ocean-live-bottom .ocean-enter-live{
  justify-self:end!important;min-width:118px!important;min-height:43px!important;border-radius:12px!important;
  background:linear-gradient(135deg,#00d2ff,#b34de8)!important;color:#fff!important;font-weight:800!important
 }
 html body:not(.in-live-room) #main .lov-mobile-live-caption{font-size:12px;font-weight:800;color:#ff8fc4}
 html body:not(.in-live-room) #main .lov-mobile-live-floating{margin-left:auto;border-radius:50%;padding:8px 10px;background:linear-gradient(135deg,#00d2ff,#bd4be6);color:white}
 html body:not(.in-live-room) #main .lov-mobile-locale{
  position:fixed!important;z-index:88!important;top:calc(13px + env(safe-area-inset-top,0px))!important;right:7px!important;
  display:flex!important;gap:5px!important;align-items:center!important;padding:3px 4px!important;border-radius:14px!important;
  background:#091b2ddf!important;border:1px solid #4b3674!important;color:#fff!important
 }
 html body:not(.in-live-room) #main .lov-mobile-locale time{font-variant-numeric:tabular-nums;font-size:12px;font-weight:800;color:#d8f8ff}
 html body:not(.in-live-room) #main .lov-mobile-locale .lov-mobile-flag{background:transparent;border:0;color:white;font-size:20px;min-width:30px;min-height:29px}
 html body:not(.in-live-room) #main .lov-mobile-locale .lov-mobile-lang-menu{
  position:absolute!important;top:38px!important;right:0!important;display:grid!important;gap:5px!important;
  width:min(240px,90vw)!important;max-height:65dvh!important;overflow-y:auto!important;border:1px solid #8b49df!important;
  padding:12px!important;border-radius:13px!important;background:#101528f7!important;box-shadow:0 10px 25px #000b!important
 }
 html body:not(.in-live-room) #main .lov-mobile-locale .lov-mobile-lang-menu[hidden]{display:none!important}
 html body:not(.in-live-room) #main .lov-mobile-locale .lov-mobile-lang-menu button{
  text-align:left!important;border:1px solid #1d506b!important;border-radius:9px!important;background:#11283e!important;
  color:#ecfaff!important;min-height:35px!important;padding:7px 10px!important
 }
 html body:not(.in-live-room) #main .lov-mobile-locale .lov-mobile-lang-menu button[aria-pressed="true"]{border-color:#f565bd!important}
 html body:not(.in-live-room) #main .lov-mobile-locale .lov-mobile-lang-menu small{font-size:10px;color:#a5c4df}
 html body:not(.in-live-room) #main .lov-mobile-follow-live-scroller{position:fixed!important;inset:0!important;z-index:3!important}
 html body:not(.in-live-room) #main .lov-mobile-follow-empty{margin:12px!important}
 html body:not(.in-live-room):has(#main .lov-prelive-page form[data-form="explore"]) :is(header.top,aside.sidebar){display:none!important;pointer-events:none!important}
 html body:not(.in-live-room):has(#main .lov-prelive-page form[data-form="explore"]) #main .lov-prelive-page{position:relative!important;z-index:3!important;min-height:calc(100dvh - 64px)!important;padding-bottom:90px!important;overflow-y:auto!important}
 html body:not(.in-live-room) #main .lov-prelive-page form[data-form="explore"]{position:relative!important;z-index:4!important;margin:15px 8px!important;display:flex!important;gap:8px!important}
 html body:not(.in-live-room) #main .lov-prelive-page form[data-form="explore"] input{flex:1;min-width:0!important;background:#101f31!important;color:#edfbff!important;border:1px solid #286985!important}
 html body:not(.in-live-room) #main .lov-prelive-page form[data-form="explore"] button[type="submit"]{position:relative!important;z-index:5!important;flex:none!important;background:linear-gradient(135deg,#00d2ff,#b04ee3)!important;color:#fff!important}
 html body:not(.in-live-room) #main .lov-prelive-page:has(.lov-mobile-follow-live-scroller)>.card{display:none!important}
 html body:not(.in-live-room) #main .lov-prelive-page:has(.lov-mobile-follow-live-scroller) .headline{display:none!important}
 html body:not(.in-live-room) #main .lov-prelive-page:has(.lov-mobile-follow-live-scroller) .lov-mobile-feed-tabs{z-index:25!important}
 /* 320px through iPhone Max: three equally spaced feed tabs. */
 html body:not(.in-live-room) #main .lov-mobile-feed-tabs{
  position:fixed!important;top:calc(61px + env(safe-area-inset-top,0px))!important;
  left:max(7px,env(safe-area-inset-left,0px))!important;
  right:max(7px,env(safe-area-inset-right,0px))!important;
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  justify-content:stretch!important;align-items:center!important;
  gap:clamp(2px,.7vw,4px)!important;width:auto!important;min-width:0!important;
  padding:0!important;z-index:70!important
 }
 html body:not(.in-live-room) #main .lov-mobile-feed-tabs a{
  display:flex!important;justify-content:center!important;min-width:0!important;width:100%!important;
  min-height:44px!important;height:44px!important;padding:6px 2px!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  font-size:clamp(10px,2.8vw,12px)!important;line-height:1.3!important
 }
 html body:not(.in-live-room) #main .ocean-live-card .ocean-live-top{
  top:calc(113px + env(safe-area-inset-top,0px))!important
 }
 html body:not(.in-live-room) #main .lov-mobile-feed-tabs a:focus-visible,
 html body #lov-mobile-locale :is(button,[role="menuitemradio"]):focus-visible{
  outline:2px solid #7fe7ff!important;outline-offset:2px!important
 }
 html body.in-live-room #lov-studio-v2 #lov-mobile-extra-actions{
  position:absolute!important;z-index:95!important;right:7px!important;bottom:calc(170px + env(safe-area-inset-bottom,0px))!important;
  display:flex!important;flex-direction:column!important;gap:8px!important
 }
 html body.in-live-room #lov-studio-v2 #lov-mobile-extra-actions button{
  display:grid!important;place-items:center!important;width:44px!important;height:44px!important;border-radius:50%!important;
  border:1px solid #ef69ca90!important;background:linear-gradient(145deg,#102a40e6,#39245de6)!important;color:#fff!important;font-size:19px!important
 }
 html body.in-live-room.lov-mobile-clean #lov-studio-v2 :is(#lov-mobile-overlay,#lov-shop-pinned-card,#lov-stage3-room-hud,#lov-stage3-host-tile-hud,#lov-chat,#lov-mobile-projector-source){
  opacity:0!important;visibility:hidden!important;pointer-events:none!important
 }
 html body.in-live-room.lov-mobile-clean #lov-studio-v2 #lov-mobile-extra-actions>:not([data-mobile-act="restore"]){display:none!important}
 html body.in-live-room.lov-mobile-clean #lov-studio-v2 #lov-mobile-extra-actions{opacity:.55!important}
 html body.in-live-room #lov-studio-v2 #lov-mobile-projector-source{
  position:absolute!important;z-index:92!important;top:90px!important;left:8px!important;
  color:#ffe9bf!important;background:#381800dd!important;border:1px solid #ff8e19!important;
  border-radius:10px!important;padding:7px 10px!important;font-size:12px!important;font-weight:900!important;
  box-shadow:0 0 16px #ff8e19aa!important
 }
 html body.in-live-room #lov-studio-v2 .lov-mobile-projector-on{box-shadow:inset 0 0 9px #ff8e1977}
 html body:not(.in-live-room) #main #lov-mobile-friends-strip{display:flex!important;overflow-x:auto!important;gap:10px!important;padding:10px!important}
 html body:not(.in-live-room) #main #lov-mobile-friends-strip a{background:#18283c!important;color:#e4faff!important;border:1px solid #4b3f83!important;border-radius:999px!important;padding:8px 14px!important}
 html body:not(.in-live-room) #main #lov-mobile-dm-shortcuts{display:flex!important;gap:5px!important;overflow-x:auto!important;padding:7px!important}
 html body:not(.in-live-room) #main #lov-mobile-dm-shortcuts button{white-space:nowrap!important;background:#1c263f!important;color:#f0eaff!important;border:1px solid #66428f!important;border-radius:10px!important;padding:8px!important;font-size:11px}
 html body:not(.in-live-room) #main .inbox-screen :is(.inbox-list-card,.inbox-chat-card,.lov-dm-screen,.lov-dm-title){background:#0e1929!important;color:#e5faff!important}
 html body:not(.in-live-room) #main .lov-reference-profile .lov-profile-avatar-wrap.is-live{border:3px solid #f653ab!important;animation:lov-final-ring 1.7s ease-in-out infinite!important}
 @keyframes lov-final-ring{0%,100%{box-shadow:0 0 0 0 #f653a977}50%{box-shadow:0 0 0 6px #b343eb00}}
 html body:not(.in-live-room) #main .lov-reference-profile :is(.lov-mobile-reposts,.lov-mobile-profile-views){color:#d9eafa!important;font-size:12px!important;padding:9px!important}
 #modal-root .lov-mobile-settings-form{display:grid!important;gap:9px!important;max-height:70dvh!important;overflow:auto!important;color:#f5faff!important;background:#0d1c30!important}
 #modal-root .lov-mobile-settings-form label{display:grid!important;gap:4px!important;font-size:12px!important;color:#f5faff!important}
 #modal-root .lov-mobile-settings-form :is(input,select,textarea){min-height:37px!important;border:1px solid #236484!important;border-radius:9px!important;padding:8px!important;background:#13263c!important;color:#f3ffff!important}
 #modal-root .lov-mobile-settings-form input[type=checkbox]{width:20px!important;min-height:20px!important}
 #lov-create-studio [data-mobile-act="prelive-settings"]{margin:6px!important;border:1px solid #f48c2877!important;background:#132b42!important;color:#ecfaff!important}
}
@media (max-width:768px) and (prefers-reduced-motion:reduce){
 /* Respect iOS Reduce Motion without hiding the stream or gift animations. */
 html body:not(.in-live-room) #main :is(.feed,.lov-live-feed) :is(#feed-posts,.lov-live-slide-feed){scroll-behavior:auto!important}
 html body:not(.in-live-room) #main .lov-mobile-feed-tabs a{transition:none!important}

 html body:not(.in-live-room) #main .lov-reference-profile .lov-profile-avatar-wrap.is-live{animation:none!important}
  /* Six Guild shield levels, same Diamond capsule shape, strictly mobile. */
  html body.in-live-room #lov-studio-v2 .lov-mobile-guild-shield{display:inline-flex!important;align-items:center!important;min-width:0!important}
  html body.in-live-room #lov-studio-v2 .lov-guild-shield-pill{min-width:54px!important;max-width:126px!important;height:24px!important;gap:3px!important;padding:1px 6px 1px 2px!important;font-size:11px!important}
  html body.in-live-room #lov-studio-v2 .lov-guild-shield-pill b{overflow:hidden!important;text-overflow:ellipsis!important;font-size:11px!important}
  html body.in-live-room #lov-studio-v2 .lov-guild-shield-pill .lov-diamond-art{flex:0 0 22px!important;width:22px!important;height:22px!important}
  html body.in-live-room #lov-studio-v2 .lov-guild-shield-tier-1{--edge:#dfb43a;--shade:#573918;--ink:#fff0b3}
  html body.in-live-room #lov-studio-v2 .lov-guild-shield-tier-2{--edge:#bbcedd;--shade:#394a62;--ink:#f2f7ff}
  html body.in-live-room #lov-studio-v2 .lov-guild-shield-tier-3{--edge:#c78a61;--shade:#563426;--ink:#ffe0bb}
  html body.in-live-room #lov-studio-v2 .lov-guild-shield-tier-4{--edge:#a878ef;--shade:#3a2959;--ink:#f3e4ff}
  html body.in-live-room #lov-studio-v2 .lov-guild-shield-tier-5{--edge:#00d2ff;--shade:#0d365e;--ink:#e4ffff}
  html body.in-live-room #lov-studio-v2 .lov-guild-shield-tier-6{--edge:#ffda72;--shade:#482b68;--ink:#fff2cf}

}

/* Stage 3: prevent guest comment composer from intercepting gift/seat/like buttons. Mobile only. */
@media (max-width:768px){
 html body.in-live-room.lov-mo-live #main #lov-studio-v2 #lov-mobile-overlay .lov-mo-bottom{
  position:absolute!important;z-index:80!important;pointer-events:none!important
 }
 html body.in-live-room.lov-mo-live #main #lov-studio-v2 #lov-mobile-overlay .lov-mo-shortcuts,
 html body.in-live-room.lov-mo-live #main #lov-studio-v2 #lov-mobile-overlay .lov-mo-shortcuts>.lov-mo-round{
  position:relative!important;z-index:81!important;pointer-events:auto!important
 }
 html body.in-live-room.lov-mo-live #main #lov-studio-v2 #lov-mobile-overlay .lov-hud-viewer-compose{
  z-index:12!important;pointer-events:none!important
 }
 html body.in-live-room.lov-mo-live #main #lov-studio-v2 #lov-mobile-overlay .lov-hud-viewer-compose :is(button,input,textarea,form){pointer-events:auto!important}
 /* Only the dynamically moved HOST guest and more buttons sit outside shortcuts. */
 html body.in-live-room.lov-mo-live #main #lov-studio-v2 #lov-mobile-overlay .lov-mo-bottom > :is(.lov-mo-guests,.lov-unified-more){
  position:relative!important;z-index:81!important;pointer-events:auto!important
 }
}

/* Stage 3 mobile gift drawer: full-screen stacking root, bottom sheet stays clickable above tiles. */
@media (max-width:768px){
 html body.in-live-room.lov-mo-live > #lov-gift-drawer{
  position:fixed!important;inset:0!important;z-index:1100!important;
  max-height:none!important;height:100dvh!important;overflow:visible!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  padding:0!important;animation:none!important;isolation:isolate!important;
  pointer-events:none!important
 }
 html body.in-live-room.lov-mo-live > #lov-gift-drawer .lov-gift-scrim{
  position:absolute!important;inset:0!important;z-index:0!important;pointer-events:auto!important
 }
 html body.in-live-room.lov-mo-live > #lov-gift-drawer .lov-gift-panel{
  position:absolute!important;left:0!important;right:0!important;bottom:0!important;
  transform:none!important;width:100%!important;max-height:min(78dvh,720px)!important;
  z-index:1!important;overflow-y:auto!important;overscroll-behavior:contain!important;pointer-events:auto!important;
  background:#0B1622!important;border-radius:24px 24px 0 0!important
 }
}

/* Mobile For You caption & emoji overlay, scoped to actual post markup.
   Keep the right-side action stack and LIVE room controls completely untouched. */
@media (max-width:767px){
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed #feed-posts .post-card:not(.ocean-live-card) .lov-mobile-post-overlay{
  bottom:calc(68px + env(safe-area-inset-bottom,0px))!important;
  left:max(12px,env(safe-area-inset-left,0px))!important;
  right:calc(84px + env(safe-area-inset-right,0px))!important;
  z-index:42!important;
  box-sizing:border-box!important;
  max-width:calc(100% - 92px)!important;
  padding:6px 10px!important;
  border-radius:8px!important;
  background:rgba(0,0,0,.4)!important;
  -webkit-backdrop-filter:blur(4px);
  backdrop-filter:blur(4px);
 }
 html body:not(.in-live-room):has(#main .feed #feed-posts) #main .feed #feed-posts .post-card:not(.ocean-live-card) .lov-mobile-post-description{
  font-size:clamp(12px,3.1vw,14px)!important;
  line-height:1.4!important;
  max-height:2.8em!important;
  margin:0!important;
  overflow-wrap:anywhere!important;
 }
}

/* Stage 4: prevent duplicate upper navigation on mobile. */
@media (max-width:768px){
 html body:not(.in-live-room) #main :is(.feed,.lov-live-feed) .lov-feed-toolbar > .ocean-tabs{display:none!important}
}

/* P0 1A-1G: TikTok-style For You overlay in liveOVER graphite/cyan theme */
@media (max-width: 768px) {
  html body:not(.in-live-room) #main .lov-mobile-fy-overlay {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 10px);
    left: 12px;
    right: 58px;
    z-index: 30;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
  }
  html body:not(.in-live-room) #main .lov-mobile-fy-overlay .lov-mobile-feed-tabs {
    position: static !important;
    display: flex !important;
    gap: 14px;
    width: auto !important;
    background: transparent !important;
    pointer-events: auto;
  }
  html body:not(.in-live-room) #main .lov-mobile-fy-overlay .lov-mobile-feed-tabs a {
    width: auto !important;
    min-width: 0;
    padding: 4px 2px 6px;
    height: auto;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 15px;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
  }
  html body:not(.in-live-room) #main .lov-mobile-fy-overlay .lov-mobile-feed-tabs a.active {
    color: #ffffff !important;
    border-bottom: 2.5px solid #22d3ee !important;
  }
  html body:not(.in-live-room) #main .lov-mobile-fy-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
    pointer-events: auto;
  }
  html body:not(.in-live-room) #main .lov-fy-search-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.45);
    background: rgba(11, 15, 25, 0.65);
    backdrop-filter: blur(8px);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
  }
  html body:not(.in-live-room) #main .lov-fy-live-pills {
    display: flex;
    gap: 5px;
  }
  html body:not(.in-live-room) #main .lov-fy-live-pills a {
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-decoration: none;
    color: #fff;
    background: rgba(11, 15, 25, 0.72);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(56, 189, 248, 0.45);
    white-space: nowrap;
  }
  html body:not(.in-live-room) #main .lov-fy-live-pills a.lov-fy-golive {
    background: linear-gradient(135deg, #0284c7, #22d3ee);
    color: #071018;
    border-color: #22d3ee;
  }
  html body:not(.in-live-room) #main .lov-fy-search-overlay:not([hidden]) {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 10px);
    left: 10px;
    right: 10px;
    z-index: 40;
    display: flex;
    gap: 6px;
    padding: 6px;
    border-radius: 12px;
    background: rgba(11, 15, 25, 0.94);
    border: 1px solid #22d3ee;
    pointer-events: auto;
  }
  html body:not(.in-live-room) #main .lov-fy-search-overlay input {
    flex: 1;
    min-width: 0;
    background: #161d2e;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
  }
  html body:not(.in-live-room) #main .lov-fy-search-overlay button {
    padding: 6px 10px;
    border-radius: 8px;
    border: 0;
    background: #0284c7;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
  }
}
@media (min-width: 769px) {
  .lov-mobile-fy-overlay { display: none !important; }
}
