/* NOKOR REUNG shared mobile + Telegram Mini App shell v8 */
@media (max-width:900px){
  body{
    padding-bottom:70px!important;
  }

  .topbar,
  .search-topbar,
  .movie-topbar,
  .account-topbar{
    position:sticky!important;
    top:max(8px,env(safe-area-inset-top))!important;
    z-index:105!important;
    width:calc(100% - 24px)!important;
    max-width:560px!important;
    min-height:60px!important;
    height:60px!important;
    margin:8px auto 10px!important;
    padding:0 9px!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:999px!important;
    background:rgba(24,29,37,.64)!important;
    box-shadow:0 6px 22px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.04)!important;
    backdrop-filter:blur(22px) saturate(135%)!important;
    -webkit-backdrop-filter:blur(22px) saturate(135%)!important;
    pointer-events:none!important;
  }

  .topbar button,
  .search-topbar button,
  .movie-topbar button,
  .account-topbar button{
    pointer-events:auto!important;
    touch-action:manipulation!important;
    -webkit-tap-highlight-color:transparent;
  }

  .topbar .desktop-nav,
  .search-topbar nav,
  .movie-topbar nav,
  .account-topbar nav{
    display:none!important;
  }

  .topbar .brand,
  .search-topbar .brand,
  .movie-topbar .brand,
  .account-topbar .brand{
    min-width:0!important;
    margin:0!important;
  }

  .topbar .brand-mark,
  .search-topbar .brand-mark,
  .movie-topbar .brand-mark,
  .account-topbar .brand-mark{
    width:40px!important;
    height:40px!important;
    flex:0 0 40px!important;
  }

  .topbar .brand-copy,
  .search-topbar .brand-copy,
  .movie-topbar .brand-copy,
  .account-topbar .brand-copy{
    display:none!important;
  }

  .topbar .top-actions{
    margin-left:auto!important;
    gap:7px!important;
  }

  .topbar #accountBtn,
  .search-topbar .header-account,
  .movie-topbar .header-account,
  .account-topbar .top-user{
    display:none!important;
  }

  .mobile-wallet-chip{
    margin-left:auto!important;
    min-width:78px!important;
    height:44px!important;
    padding:0 10px!important;
    border:1px solid rgba(255,199,44,.20)!important;
    border-radius:15px!important;
    background:linear-gradient(145deg,rgba(255,199,44,.13),rgba(30,25,12,.76))!important;
    color:#ffd45a!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    box-shadow:none!important;
    white-space:nowrap!important;
  }

  .mobile-wallet-chip[hidden]{
    display:none!important;
  }

  .topbar .top-actions .mobile-wallet-chip{
    margin-left:0!important;
  }

  .mobile-wallet-chip svg{
    width:18px!important;
    height:18px!important;
    flex:0 0 auto!important;
    stroke-width:2.2!important;
  }

  .mobile-wallet-chip strong{
    font-size:9px!important;
    font-weight:900!important;
    line-height:1!important;
    letter-spacing:-.1px!important;
  }

  .topbar .mobile-search,
  .search-topbar .header-search,
  .movie-topbar .header-search,
  .account-topbar .top-search{
    display:grid!important;
    place-items:center!important;
    margin-left:0!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    padding:0!important;
    border:1px solid rgba(255,255,255,.10)!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.035)!important;
    color:#f3f5f8!important;
    box-shadow:inset 0 1px rgba(255,255,255,.03)!important;
  }

  .account-topbar .top-search span,
  .account-topbar .top-search kbd{
    display:none!important;
  }

  .topbar .mobile-search svg,
  .search-topbar .header-search svg,
  .movie-topbar .header-search svg,
  .account-topbar .top-search svg{
    width:22px!important;
    height:22px!important;
  }













  .movie-card,
  .top-card,
  .series-card,
  .genre,
  .type-card,
  .search-result{
    touch-action:manipulation!important;
  }
}

html[data-mini="1"] .topbar,
html[data-mini="1"] .search-topbar,
html[data-mini="1"] .movie-topbar,
html[data-mini="1"] .account-topbar{
  display:flex!important;
  top:calc(max(6px,var(--cg-tg-safe-top,0px),var(--tg-content-safe-area-inset-top,0px)))!important;
  width:min(540px,calc(100% - 16px))!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

html[data-mini="1"].tg-fullscreen .topbar,
html[data-mini="1"].tg-fullscreen .search-topbar,
html[data-mini="1"].tg-fullscreen .movie-topbar,
html[data-mini="1"].tg-fullscreen .account-topbar{
  /* Keep the Web header below Telegram's native Close / chevron / menu controls on iOS fullscreen. */
  margin-top:92px!important;
}



/* v204: one bottom-navigation component for web and Mini App.
   Keep device safe-area OUTSIDE the glass bar; do not add it to height/padding. */
:is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom){
  display:none;
  box-sizing:border-box;
  position:fixed;
  z-index:115;
  top:auto;
  left:50%;
  right:auto;
  bottom:max(10px,var(--cg-tg-safe-bottom,0px),var(--tg-content-safe-area-inset-bottom,0px),env(safe-area-inset-bottom,0px));
  transform:translateX(-50%);
  width:max-content;
  max-width:calc(100vw - 24px);
  height:60px;
  min-height:60px;
  max-height:60px;
  margin:0;
  padding:3px 6px;
  flex-flow:row nowrap;
  align-items:center;
  justify-content:center;
  gap:4px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:rgba(24,29,37,.64);
  box-shadow:0 6px 22px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.04);
  backdrop-filter:blur(22px) saturate(135%);
  -webkit-backdrop-filter:blur(22px) saturate(135%);
  overflow:hidden;
  pointer-events:auto;
}
:is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button{
  box-sizing:border-box;
  flex:0 0 64px;
  width:64px;
  min-width:64px;
  max-width:64px;
  height:52px;
  min-height:52px;
  max-height:52px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  margin:0;
  padding:3px 2px;
  border:1px solid transparent;
  border-radius:999px;
  background:transparent;
  color:#a6afbb;
  font-size:10px;
  font-weight:700;
  line-height:1.35;
  box-shadow:none;
  cursor:pointer;
  pointer-events:auto;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
:is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button>svg{
  box-sizing:border-box;
  flex:0 0 22px;
  width:22px;
  height:22px;
  min-width:22px;
  min-height:22px;
  margin:0;
  padding:0;
  border:0;
  background:none;
  stroke-width:2;
}
:is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button>span{
  display:block;
  max-width:100%;
  margin:0;
  padding:0;
  font:inherit;
  white-space:nowrap;
  text-align:center;
}
:is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button.active{
  background:rgba(255,199,44,.12);
  color:#ffd45a;
  border-color:rgba(255,199,44,.10);
}
:is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button:focus-visible{
  outline:2px solid #ffd45a;
  outline-offset:-3px;
}
@media(max-width:900px){
  :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom){display:flex}
}
html[data-mini="1"] :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom){display:flex}

/* v348: hide two docks on scroll down; reveal on scroll up or page top only. */
@media(max-width:900px){
  :is(.topbar,.search-topbar,.movie-topbar,.account-topbar){
    transition:transform .22s ease,opacity .18s ease!important;
    will-change:transform,opacity;
  }
  :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom){
    transition:transform .22s ease,opacity .18s ease!important;
    will-change:transform,opacity;
  }
  html.nr-shell-hidden :is(.topbar,.search-topbar,.movie-topbar,.account-topbar){
    transform:translateY(calc(-100% - 18px))!important;
    opacity:0!important;
  }
  html.nr-shell-hidden :is(.topbar,.search-topbar,.movie-topbar,.account-topbar) *{
    pointer-events:none!important;
  }
  html.nr-shell-hidden :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom){
    transform:translate(-50%,calc(100% + 26px))!important;
    opacity:0!important;
    pointer-events:none!important;
  }
}
html[data-mini="1"] :is(.topbar,.search-topbar,.movie-topbar,.account-topbar){
  transition:transform .22s ease,opacity .18s ease!important;
  will-change:transform,opacity;
}
html[data-mini="1"] :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom){
  transition:transform .22s ease,opacity .18s ease!important;
  will-change:transform,opacity;
}
html[data-mini="1"].nr-shell-hidden :is(.topbar,.search-topbar,.movie-topbar,.account-topbar){
  transform:translateY(calc(-100% - 18px))!important;
  opacity:0!important;
}
html[data-mini="1"].nr-shell-hidden :is(.topbar,.search-topbar,.movie-topbar,.account-topbar) *{
  pointer-events:none!important;
}
html[data-mini="1"].nr-shell-hidden :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom){
  transform:translate(-50%,calc(100% + 26px))!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* v343: PublicBoost-inspired, viewport-anchored floating Mini App docks.
   No scrolling wrapper or page-background plate; Web/mobile outside Telegram is unchanged. */
html[data-mini="1"]{
  --nr-mini-floating-top:max(10px,calc(max(var(--cg-tg-safe-top,0px),var(--tg-content-safe-area-inset-top,0px),env(safe-area-inset-top,0px)) + 10px));
  scroll-padding-top:calc(var(--nr-mini-floating-top) + 76px)!important;
}
html[data-mini="1"].tg-fullscreen{
  /* iOS Telegram owns the native Close / menu controls above this clearance. */
  --nr-mini-floating-top:max(108px,calc(var(--cg-tg-safe-top,0px) + 12px));
}
html[data-mini="1"] :is(.topbar,.search-topbar,.movie-topbar,.account-topbar){
  position:fixed!important;
  top:var(--nr-mini-floating-top)!important;
  left:50%!important;
  right:auto!important;
  bottom:auto!important;
  transform:translate3d(-50%,0,0)!important;
  width:min(540px,calc(100% - 24px))!important;
  max-width:calc(100% - 24px)!important;
  height:60px!important;
  min-height:60px!important;
  margin:0!important;
  padding:0 10px!important;
  border:1px solid rgba(255,255,255,.13)!important;
  border-radius:20px!important;
  background:rgba(20,24,32,.96)!important;
  background-clip:padding-box!important;
  box-shadow:0 12px 36px rgba(0,0,0,.35),inset 0 1px rgba(255,255,255,.045)!important;
  -webkit-backdrop-filter:blur(20px) saturate(135%)!important;
  backdrop-filter:blur(20px) saturate(135%)!important;
  isolation:isolate!important;
  will-change:auto!important;
}
html[data-mini="1"].tg-fullscreen :is(.topbar,.search-topbar,.movie-topbar,.account-topbar){
  top:var(--nr-mini-floating-top)!important;
  margin-top:0!important;
}
html[data-mini="1"] :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom){
  position:fixed!important;
  top:auto!important;
  left:50%!important;
  right:auto!important;
  bottom:calc(10px + max(var(--cg-tg-safe-bottom,0px),var(--tg-content-safe-area-inset-bottom,0px),env(safe-area-inset-bottom,0px)))!important;
  transform:translate3d(-50%,0,0)!important;
  width:max-content!important;
  max-width:calc(100% - 28px)!important;
  height:64px!important;
  min-height:64px!important;
  max-height:64px!important;
  padding:5px 7px!important;
  gap:4px!important;
  border:1px solid rgba(255,255,255,.13)!important;
  border-radius:23px!important;
  background:rgba(20,24,32,.96)!important;
  background-clip:padding-box!important;
  box-shadow:0 14px 36px rgba(0,0,0,.42),inset 0 1px rgba(255,255,255,.045)!important;
  -webkit-backdrop-filter:blur(22px) saturate(145%)!important;
  backdrop-filter:blur(22px) saturate(145%)!important;
  overflow:hidden!important;
  isolation:isolate!important;
  will-change:auto!important;
}
html[data-mini="1"] :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button{
  height:52px!important;
  min-height:52px!important;
  max-height:52px!important;
  border-radius:17px!important;
}
html[data-mini="1"] :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button.active{
  background:rgba(255,199,44,.12)!important;
  border-color:rgba(255,199,44,.18)!important;
  box-shadow:inset 0 0 0 1px rgba(255,199,44,.07)!important;
}
/* The docks float over independent page content. Leave a clear first/last row. */
html[data-mini="1"] main,
html[data-mini="1"].tg-fullscreen main{
  padding-top:calc(var(--nr-mini-floating-top) + 74px)!important;
  padding-bottom:calc(122px + max(var(--cg-tg-safe-bottom,0px),env(safe-area-inset-bottom,0px)))!important;
}
html[data-mini="1"] body{
  padding-bottom:calc(96px + max(var(--cg-tg-safe-bottom,0px),env(safe-area-inset-bottom,0px)))!important;
}
/* v348: Telegram Mini App also uses the direction-only scroll rule. */
@media(max-width:370px){
  html[data-mini="1"] :is(.topbar,.search-topbar,.movie-topbar,.account-topbar){
    width:calc(100% - 16px)!important;
    max-width:calc(100% - 16px)!important;
    padding-inline:8px!important;
  }
  html[data-mini="1"] :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button{
    flex-basis:60px!important;
    min-width:60px!important;
    max-width:60px!important;
  }
}

/* Player-responsive.css also loads after this sheet. The Mini App
   player-page compact header must win that page's relative-position rule.
   Do not touch its theater/native fullscreen display:none behavior. */
html[data-mini="1"][data-player-page="1"].nr-player-compact .movie-topbar{
  position:fixed!important;
  top:var(--nr-mini-floating-top)!important;
  left:50%!important;
  right:auto!important;
  bottom:auto!important;
  margin:0!important;
  transform:translate3d(-50%,0,0)!important;
  width:min(540px,calc(100% - 24px))!important;
  max-width:calc(100% - 24px)!important;
  height:60px!important;
  min-height:60px!important;
  z-index:115!important;
  pointer-events:none!important;
}

/* v344: Chrome/Safari mobile Web — actual floating docks, not sticky page chrome.
   This extends the PublicBoost-inspired layout beyond Telegram Mini App. */
@media (max-width:900px){
  html:not([data-mini="1"]){
    --nr-web-floating-top:max(10px,calc(env(safe-area-inset-top,0px) + 10px));
    scroll-padding-top:calc(var(--nr-web-floating-top) + 76px)!important;
  }
  html:not([data-mini="1"]) :is(.topbar,.search-topbar,.movie-topbar,.account-topbar){
    position:fixed!important;
    top:var(--nr-web-floating-top)!important;
    left:50%!important;
    right:auto!important;
    bottom:auto!important;
    transform:translate3d(-50%,0,0)!important;
    width:min(540px,calc(100% - 24px))!important;
    max-width:calc(100% - 24px)!important;
    min-height:60px!important;
    height:60px!important;
    margin:0!important;
    padding:0 10px!important;
    display:flex!important;
    align-items:center!important;
    border:1px solid rgba(255,255,255,.13)!important;
    border-radius:20px!important;
    background:rgba(20,24,32,.96)!important;
    background-clip:padding-box!important;
    box-shadow:0 12px 36px rgba(0,0,0,.35),inset 0 1px rgba(255,255,255,.045)!important;
    -webkit-backdrop-filter:blur(20px) saturate(135%)!important;
    backdrop-filter:blur(20px) saturate(135%)!important;
    isolation:isolate!important;
    will-change:auto!important;
  }
  html:not([data-mini="1"]) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom){
    position:fixed!important;
    top:auto!important;
    bottom:calc(10px + env(safe-area-inset-bottom,0px))!important;
    left:50%!important;
    right:auto!important;
    transform:translate3d(-50%,0,0)!important;
    width:max-content!important;
    max-width:calc(100% - 28px)!important;
    min-height:64px!important;
    height:64px!important;
    max-height:64px!important;
    margin:0!important;
    padding:5px 7px!important;
    gap:4px!important;
    display:flex!important;
    border:1px solid rgba(255,255,255,.13)!important;
    border-radius:23px!important;
    background:rgba(20,24,32,.96)!important;
    background-clip:padding-box!important;
    box-shadow:0 14px 36px rgba(0,0,0,.42),inset 0 1px rgba(255,255,255,.045)!important;
    -webkit-backdrop-filter:blur(22px) saturate(145%)!important;
    backdrop-filter:blur(22px) saturate(145%)!important;
    overflow:hidden!important;
    isolation:isolate!important;
    will-change:auto!important;
  }
  html:not([data-mini="1"]) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button{
    height:52px!important;
    min-height:52px!important;
    max-height:52px!important;
    border-radius:17px!important;
  }
  html:not([data-mini="1"]) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button.active{
    background:rgba(255,199,44,.12)!important;
    border-color:rgba(255,199,44,.18)!important;
    box-shadow:inset 0 0 0 1px rgba(255,199,44,.07)!important;
  }
  /* The Web page scrolls behind individual docks. No full-width/backdrop wrapper follows them. */
  html:not([data-mini="1"]) main{
    padding-top:calc(var(--nr-web-floating-top) + 76px)!important;
    padding-bottom:calc(118px + env(safe-area-inset-bottom,0px))!important;
  }
  html:not([data-mini="1"]) body{
    padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))!important;
  }
  /* Chrome mobile: hide on scroll down, restore only on scroll up or page top.
     Translate ONLY the two compact docks, never an outer page-background plate. */
  html:not([data-mini="1"]).nr-shell-hidden :is(.topbar,.search-topbar,.movie-topbar,.account-topbar){
    transform:translate3d(-50%,calc(-100% - 26px),0)!important;
    opacity:0!important;
    pointer-events:none!important;
  }
  html:not([data-mini="1"]).nr-shell-hidden :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom){
    transform:translate3d(-50%,calc(100% + 26px),0)!important;
    opacity:0!important;
    pointer-events:none!important;
  }
}
@media(max-width:370px){
  html:not([data-mini="1"]) :is(.topbar,.search-topbar,.movie-topbar,.account-topbar){
    width:calc(100% - 16px)!important;
    max-width:calc(100% - 16px)!important;
    padding-inline:8px!important;
  }
  html:not([data-mini="1"]) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button{
    flex-basis:60px!important;
    min-width:60px!important;
    max-width:60px!important;
  }
}
/* player-responsive.css loads after mobile-shell.css, but must not turn the Chrome
   floating movie header into a relative/scrolling block in compact mode. */
@media(max-width:900px){
  html:not([data-mini="1"])[data-player-page="1"].nr-player-compact .movie-topbar{
    position:fixed!important;
    top:var(--nr-web-floating-top)!important;
    left:50%!important;
    right:auto!important;
    bottom:auto!important;
    margin:0!important;
    transform:translate3d(-50%,0,0)!important;
    width:min(540px,calc(100% - 24px))!important;
    max-width:calc(100% - 24px)!important;
    height:60px!important;
    min-height:60px!important;
    z-index:115!important;
    pointer-events:none!important;
  }
  html:not([data-mini="1"])[data-player-page="1"].nr-player-compact.nr-shell-hidden .movie-topbar{
    transform:translate3d(-50%,calc(-100% - 26px),0)!important;
    opacity:0!important;
    pointer-events:none!important;
  }
}

/* v346 owner-selected classic pill style: change width only, not the
   approved gold active-tab treatment, icons, topbar or surface palette. */
@media(max-width:900px){
  html:not([data-mini="1"]) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom){
    width:min(328px,calc(100vw - 22px))!important;
    max-width:calc(100vw - 22px)!important;
    gap:5px!important;
    padding-inline:7px!important;
  }
  html:not([data-mini="1"]) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button{
    flex:1 1 0!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
  }
}


/* v348 FINAL Mini App override: fixed centered docks fully leave viewport
   on DOWN scroll; retain native Telegram Close/menu safe-area clearance.
   Keep below Mini positions and player compact positioning overrides. */
@media(max-width:900px){
  html[data-mini="1"].nr-shell-hidden :is(.topbar,.search-topbar,.movie-topbar,.account-topbar){
    transform:translate3d(-50%,calc(-100% - var(--nr-mini-floating-top) - 24px),0)!important;
    opacity:0!important;
    pointer-events:none!important;
  }
  html[data-mini="1"].nr-shell-hidden :is(.topbar,.search-topbar,.movie-topbar,.account-topbar) *{
    pointer-events:none!important;
  }
  html[data-mini="1"].nr-shell-hidden :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom){
    transform:translate3d(-50%,calc(100% + 28px + max(var(--cg-tg-safe-bottom,0px),var(--tg-content-safe-area-inset-bottom,0px),env(safe-area-inset-bottom,0px))),0)!important;
    opacity:0!important;
    pointer-events:none!important;
  }
  html[data-mini="1"][data-player-page="1"].nr-player-compact.nr-shell-hidden .movie-topbar{
    transform:translate3d(-50%,calc(-100% - var(--nr-mini-floating-top) - 24px),0)!important;
    opacity:0!important;
    pointer-events:none!important;
  }
}

/* v350 — IG REFERENCE-MATCH bottom dock (Preview only).
   Reference IMG_6326: nearly edge-to-edge dark glass capsule; 4 icon buttons
   in our app (not 5 IG destinations), active wide cool-gray pill. NO TEXT.
   Normal Web/Telegram top bar remains entirely unmodified.
*/
@media (max-width:900px){
  html:is([data-mini="1"],:not([data-mini="1"])) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom){
    position:fixed!important;
    top:auto!important;
    left:50%!important;
    right:auto!important;
    z-index:115!important;
    display:flex!important;
    box-sizing:border-box!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    justify-content:space-evenly!important;
    width:min(318px,calc(100vw - 30px))!important;
    max-width:calc(100vw - 22px)!important;
    height:51px!important;
    min-height:51px!important;
    max-height:51px!important;
    gap:3px!important;
    margin:0!important;
    padding:3px 7px!important;
    border:1px solid rgba(245,248,255,.22)!important;
    border-radius:999px!important;
    background:rgba(16,20,26,.46)!important;
    background-clip:padding-box!important;
    -webkit-backdrop-filter:blur(22px) saturate(150%)!important;
    backdrop-filter:blur(22px) saturate(150%)!important;
    box-shadow:0 12px 28px rgba(0,0,0,.39),inset 0 1px rgba(255,255,255,.16)!important;
    isolation:isolate!important;
    overflow:hidden!important;
    transition:width .3s cubic-bezier(.2,.86,.25,1),height .3s cubic-bezier(.2,.86,.25,1),
      min-height .3s cubic-bezier(.2,.86,.25,1),max-height .3s cubic-bezier(.2,.86,.25,1),
      padding .3s cubic-bezier(.2,.86,.25,1),background-color .3s ease,
      transform .25s ease,opacity .2s ease!important;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index:0;
    border-radius:inherit;
    background:linear-gradient(148deg,rgba(255,255,255,.14),rgba(255,255,255,.014) 48%,transparent 85%);
    opacity:.8;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button{
    position:relative!important;
    z-index:1!important;
    display:grid!important;
    place-items:center!important;
    flex:1 1 0!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    box-sizing:border-box!important;
    height:43px!important;
    min-height:43px!important;
    max-height:43px!important;
    padding:0 2px!important;
    margin:0!important;
    gap:0!important;
    border:1px solid transparent!important;
    border-radius:999px!important;
    background:transparent!important;
    color:rgba(243,246,253,.88)!important;
    box-shadow:none!important;
    white-space:nowrap!important;
    -webkit-tap-highlight-color:transparent!important;
    touch-action:manipulation!important;
    transition:flex-grow .3s cubic-bezier(.2,.86,.25,1),
      background-color .23s ease,border-color .23s ease,
      color .23s ease,transform .18s ease!important;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button>svg{
    display:block!important;
    flex:none!important;
    width:23px!important;
    height:23px!important;
    min-width:23px!important;
    min-height:23px!important;
    color:inherit!important;
    stroke-width:2.3!important;
    margin:0!important;
    padding:0!important;
    filter:none!important;
    transform:none!important;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button>span{
    display:none!important;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button.active{
    flex:1.55 1 0!important;
    color:#fff!important;
    background:rgba(205,218,236,.23)!important;
    border:1px solid rgba(252,253,255,.07)!important;
    box-shadow:inset 0 1px rgba(255,255,255,.10),0 2px 8px rgba(0,0,0,.17)!important;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button:active{
    transform:scale(.95)!important;
    background:rgba(224,233,248,.27)!important;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button:focus-visible{
    outline:2px solid rgba(255,204,72,.94)!important;
    outline-offset:-2px!important;
  }
  html.nr-ig-expanded:is([data-mini="1"],:not([data-mini="1"])) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom){
    width:min(368px,calc(100vw - 18px))!important;
    max-width:calc(100vw - 18px)!important;
    height:67px!important;
    min-height:67px!important;
    max-height:67px!important;
    gap:4px!important;
    padding:5px 8px!important;
    border:1px solid rgba(248,251,255,.27)!important;
    background:rgba(17,21,27,.43)!important;
    box-shadow:0 16px 40px rgba(0,0,0,.39),inset 0 1px rgba(255,255,255,.19)!important;
  }
  html.nr-ig-expanded:is([data-mini="1"],:not([data-mini="1"])) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button{
    height:55px!important;
    min-height:55px!important;
    max-height:55px!important;
  }
  html.nr-ig-expanded:is([data-mini="1"],:not([data-mini="1"])) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button.active{
    flex:1.72 1 0!important;
    background:rgba(213,224,242,.27)!important;
  }
  html.nr-ig-expanded:is([data-mini="1"],:not([data-mini="1"])) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button>svg{
    width:25px!important;
    height:25px!important;
    min-width:25px!important;
    min-height:25px!important;
  }
  /* The existing nr-shell-hidden transitions control visibility; only the
     nav surface and buttons change, not the top bar or scroll model. */
}
@media(max-width:350px){
  html:is([data-mini="1"],:not([data-mini="1"])) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom){
    width:calc(100vw - 26px)!important;
    max-width:calc(100vw - 26px)!important;
  }
  html.nr-ig-expanded:is([data-mini="1"],:not([data-mini="1"])) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom){
    width:calc(100vw - 12px)!important;
    max-width:calc(100vw - 12px)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html:is([data-mini="1"],:not([data-mini="1"])) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom),
  html:is([data-mini="1"],:not([data-mini="1"])) :is(.bottom-nav,.search-bottom,.movie-bottom,.account-bottom)>button{
    transition:none!important;
  }
}
/* v351 — IG FIVE-ICON GLASS DOCK: reference-matched visual structure.
   Changes only the five bottom-nav buttons. Header is untouched. */
@media(max-width:900px){
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]{
    position:fixed!important;
    z-index:115!important;
    left:50%!important;
    right:auto!important;
    width:min(350px,calc(100vw - 18px))!important;
    max-width:calc(100vw - 18px)!important;
    height:52px!important;
    min-height:52px!important;
    max-height:52px!important;
    margin:0!important;
    padding:3px 8px!important;
    display:flex!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:4px!important;
    border-radius:999px!important;
    border:1px solid rgba(245,248,255,.23)!important;
    background:rgba(16,21,30,.37)!important;
    background-clip:padding-box!important;
    -webkit-backdrop-filter:blur(16px) saturate(155%)!important;
    backdrop-filter:blur(16px) saturate(155%)!important;
    box-shadow:0 10px 28px rgba(0,0,0,.31),inset 0 1px rgba(255,255,255,.13),0 0 0 .5px rgba(255,255,255,.04)!important;
    isolation:isolate!important;
    overflow:hidden!important;
    transition:width .3s cubic-bezier(.18,.78,.24,1),height .3s cubic-bezier(.18,.78,.24,1),
      min-height .3s cubic-bezier(.18,.78,.24,1),max-height .3s cubic-bezier(.18,.78,.24,1),
      background .25s ease,transform .24s ease,opacity .2s ease!important;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]::before{
    content:"";
    display:block!important;
    position:absolute;
    z-index:0;
    pointer-events:none;
    inset:0;
    border-radius:inherit;
    background:linear-gradient(172deg,rgba(255,255,255,.13),rgba(255,255,255,.025) 36%,transparent 60%);
  }
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button{
    position:relative!important;
    z-index:1!important;
    display:grid!important;
    place-items:center!important;
    flex:1 1 0!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    min-width:0!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
    border-radius:999px!important;
    border:1px solid transparent!important;
    background:transparent!important;
    color:#f5f7fa!important;
    box-shadow:none!important;
    -webkit-tap-highlight-color:transparent!important;
    touch-action:manipulation!important;
    transition:flex-grow .24s cubic-bezier(.18,.78,.24,1),background .24s ease,color .2s ease,transform .16s ease!important;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button svg{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    min-height:24px!important;
    display:block!important;
    stroke-width:2.3!important;
    filter:none!important;
    transform:none!important;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button span{
    display:none!important;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button.active{
    flex:1.78 1 0!important;
    background:rgba(195,206,221,.28)!important;
    color:#fff!important;
    border-color:rgba(255,255,255,.055)!important;
    box-shadow:inset 0 1px rgba(255,255,255,.12),0 2px 8px rgba(0,0,0,.15)!important;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button.active:first-child svg{
    fill:currentColor!important;
    stroke:currentColor!important;
    stroke-width:2.2!important;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"] .nr-ig-profile-avatar{
    display:block!important;
    flex:none!important;
    object-fit:cover!important;
    width:27px!important;
    height:27px!important;
    min-width:27px!important;
    min-height:27px!important;
    max-width:27px!important;
    max-height:27px!important;
    border-radius:50%!important;
    border:1px solid rgba(255,255,255,.58)!important;
    box-shadow:0 1px 7px rgba(0,0,0,.16)!important;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button:active{
    transform:scale(.955)!important;
    background:rgba(210,224,240,.3)!important;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button:focus-visible{
    outline:2px solid #ffe178!important;
    outline-offset:-2px!important;
  }
  html.nr-ig-expanded:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]{
    width:min(382px,calc(100vw - 8px))!important;
    max-width:calc(100vw - 8px)!important;
    height:68px!important;
    min-height:68px!important;
    max-height:68px!important;
    padding:5px 9px!important;
    gap:5px!important;
    background:rgba(17,22,31,.38)!important;
    box-shadow:0 13px 36px rgba(0,0,0,.32),inset 0 1px rgba(255,255,255,.16)!important;
  }
  html.nr-ig-expanded:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button{
    height:56px!important;
    min-height:56px!important;
    max-height:56px!important;
  }
  html.nr-ig-expanded:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button.active{
    flex:2 1 0!important;
    background:rgba(202,215,233,.29)!important;
  }
  html.nr-ig-expanded:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button svg{
    width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;
  }
  html.nr-ig-expanded:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"] .nr-ig-profile-avatar{
    width:31px!important;height:31px!important;min-width:31px!important;min-height:31px!important;
    max-width:31px!important;max-height:31px!important;
  }
}
@media(max-width:350px){
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]{
    width:calc(100vw - 12px)!important;max-width:calc(100vw - 12px)!important;padding-inline:5px!important;
  }
  html.nr-ig-expanded:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]{
    width:calc(100vw - 6px)!important;max-width:calc(100vw - 6px)!important;gap:2px!important;padding-inline:4px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"],
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button{
    transition:none!important;
  }
}

/* v353 — owner approved: compact five-button glass dock ALWAYS VISIBLE.
   Active pill slightly wider only. No expansion or scroll hide.
   Keep upper header, movie player and native fullscreen rules unchanged. */
@media(max-width:900px){
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"],
  html.nr-ig-expanded:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]{
    width:min(350px,calc(100vw - 20px))!important;
    max-width:calc(100vw - 20px)!important;
    height:54px!important;
    min-height:54px!important;
    max-height:54px!important;
    padding:3px 7px!important;
    gap:3px!important;
    background:rgba(16,21,30,.37)!important;
    border-radius:999px!important;
    transition:background-color .22s ease,border-color .22s ease,box-shadow .22s ease!important;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button,
  html.nr-ig-expanded:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button{
    height:48px!important;
    min-height:48px!important;
    max-height:48px!important;
    flex:1 1 0!important;
    transition:background-color .22s ease,color .22s ease,transform .15s ease!important;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button.active,
  html.nr-ig-expanded:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button.active{
    flex:1.18 1 0!important;
    background:rgba(195,206,221,.24)!important;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button svg,
  html.nr-ig-expanded:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button svg{
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    min-height:22px!important;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"] .nr-ig-profile-avatar,
  html.nr-ig-expanded:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"] .nr-ig-profile-avatar{
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    min-height:26px!important;
    max-width:26px!important;
    max-height:26px!important;
  }
  /* Root class still controls the TOP BAR; the lower glass dock never hides.
     Don't alter fullscreen/theater's own display:none player rule. */
  html.nr-shell-hidden:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]{
    transform:translate3d(-50%,0,0)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  html[data-player-page="1"]:is(.nr-player-viewing,.nr-player-theater,.nr-player-native-fullscreen) nav[data-ig-dock="v351"]{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
}
@media(max-width:350px){
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"],
  html.nr-ig-expanded:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]{
    width:calc(100vw - 18px)!important;
    max-width:calc(100vw - 18px)!important;
    padding-inline:5px!important;
    gap:2px!important;
  }
}

/* v355 — Owner-approved translucent mobile Top Bar (Web + Telegram Mini App).
   Only surface material changes. Keep geometry, logo, wallet/search click targets,
   bottom IG dock, scroll behavior, and video/fullscreen visibility unchanged. */
@media (max-width:900px) {
  html:not([data-mini="1"]) :is(.topbar,.search-topbar,.movie-topbar,.account-topbar),
  html[data-mini="1"] :is(.topbar,.search-topbar,.movie-topbar,.account-topbar) {
    background:linear-gradient(135deg,rgba(38,48,66,.44),rgba(14,19,29,.36))!important;
    border-color:rgba(230,240,255,.23)!important;
    box-shadow:0 10px 30px rgba(0,0,0,.23),inset 0 1px rgba(255,255,255,.13)!important;
    -webkit-backdrop-filter:blur(25px) saturate(148%)!important;
    backdrop-filter:blur(25px) saturate(148%)!important;
  }

  html:not([data-mini="1"]) .mobile-wallet-chip,
  html[data-mini="1"] .mobile-wallet-chip {
    background:linear-gradient(145deg,rgba(255,199,44,.15),rgba(68,52,25,.22))!important;
    border-color:rgba(255,199,44,.34)!important;
    box-shadow:inset 0 1px rgba(255,232,156,.10)!important;
  }

  html:not([data-mini="1"]) :is(.topbar .mobile-search,.search-topbar .header-search,.movie-topbar .header-search,.account-topbar .top-search),
  html[data-mini="1"] :is(.topbar .mobile-search,.search-topbar .header-search,.movie-topbar .header-search,.account-topbar .top-search) {
    background:linear-gradient(140deg,rgba(235,242,255,.11),rgba(235,242,255,.04))!important;
    border-color:rgba(245,248,255,.21)!important;
    box-shadow:inset 0 1px rgba(255,255,255,.12)!important;
  }
}

/* v356 — Slightly smaller owner-approved glass Top Bar.
   Keep v355 translucent surface, 5-icon bottom nav, all click/scroll/fullscreen handlers.
   Mobile Web and Telegram Mini App only. */
@media(max-width:900px){
  html:not([data-mini="1"]) :is(.topbar,.search-topbar,.movie-topbar,.account-topbar),
  html[data-mini="1"] :is(.topbar,.search-topbar,.movie-topbar,.account-topbar){
    width:min(540px,calc(100vw - 30px))!important;
    max-width:calc(100vw - 30px)!important;
    height:54px!important;
    min-height:54px!important;
    padding-inline:8px!important;
    border-radius:20px!important;
  }
  html:not([data-mini="1"]) :is(.topbar,.search-topbar,.movie-topbar,.account-topbar) .brand-mark,
  html[data-mini="1"] :is(.topbar,.search-topbar,.movie-topbar,.account-topbar) .brand-mark{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    flex:0 0 34px!important;
  }
  html:not([data-mini="1"]) .mobile-wallet-chip,
  html[data-mini="1"] .mobile-wallet-chip{
    height:40px!important;
    min-height:40px!important;
    min-width:76px!important;
    padding-inline:9px!important;
    border-radius:14px!important;
  }
  html:not([data-mini="1"]) :is(.topbar .mobile-search,.search-topbar .header-search,.movie-topbar .header-search,.account-topbar .top-search),
  html[data-mini="1"] :is(.topbar .mobile-search,.search-topbar .header-search,.movie-topbar .header-search,.account-topbar .top-search){
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    max-width:40px!important;
    max-height:40px!important;
    padding:0!important;
  }
  html:not([data-mini="1"]) :is(.topbar .mobile-search,.search-topbar .header-search,.movie-topbar .header-search,.account-topbar .top-search) svg,
  html[data-mini="1"] :is(.topbar .mobile-search,.search-topbar .header-search,.movie-topbar .header-search,.account-topbar .top-search) svg{
    width:20px!important;
    height:20px!important;
  }
}


/* v357 NOKOR REUNG • IG compact + Telegram sliding selection.
   Applies to the five-tab floating nav ONLY on mobile Web and Mini App.
   Existing top bars, page scrolling, checkout and movie fullscreen stay intact. */
@media(max-width:900px){
  html nav[data-ig-dock="v351"][data-nr-motion="1"]{
    --nr-dock-amber:#ffc72c;
    width:min(326px,calc(100vw - 24px))!important;
    max-width:calc(100vw - 24px)!important;
    height:50px!important;
    min-height:50px!important;
    max-height:50px!important;
    padding:3px 7px!important;
    gap:3px!important;
    background:linear-gradient(150deg,rgba(24,26,30,.75),rgba(10,12,18,.68))!important;
    border:1px solid rgba(229,176,47,.35)!important;
    border-radius:999px!important;
    -webkit-backdrop-filter:blur(24px) saturate(145%)!important;
    backdrop-filter:blur(24px) saturate(145%)!important;
    box-shadow:0 12px 32px rgba(0,0,0,.4),inset 0 1px rgba(255,220,130,.11),
      0 0 0 1px rgba(194,144,38,.05)!important;
    transform:translate3d(-50%,0,0)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transition:width .42s cubic-bezier(.2,.92,.22,1.03),
      max-width .42s cubic-bezier(.2,.92,.22,1.03),
      height .42s cubic-bezier(.2,.92,.22,1.03),
      min-height .42s cubic-bezier(.2,.92,.22,1.03),
      max-height .42s cubic-bezier(.2,.92,.22,1.03),
      background .32s ease,border-color .32s ease,box-shadow .32s ease!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"]::before{
    background:linear-gradient(160deg,rgba(255,204,81,.13),rgba(255,204,81,.025) 48%,transparent 82%)!important;
    opacity:.95!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state="expanded"]{
    width:min(358px,calc(100vw - 14px))!important;
    max-width:calc(100vw - 14px)!important;
    height:60px!important;
    min-height:60px!important;
    max-height:60px!important;
    padding:4px 8px!important;
    gap:4px!important;
    background:linear-gradient(150deg,rgba(25,28,33,.78),rgba(12,15,21,.69))!important;
    border-color:rgba(255,193,49,.52)!important;
    box-shadow:0 17px 40px rgba(0,0,0,.42),inset 0 1px rgba(255,221,133,.15),
      0 0 17px rgba(255,181,40,.075)!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button,
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button.active,
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state="expanded"]>button,
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state="expanded"]>button.active{
    position:relative!important;
    z-index:3!important;
    flex:1 1 0!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    padding:0!important;
    border:1px solid transparent!important;
    border-radius:999px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#c1bdb2!important;
    transition:color .26s cubic-bezier(.18,.85,.28,1),
      transform .23s cubic-bezier(.16,1.4,.37,1)!important;
    -webkit-tap-highlight-color:transparent!important;
    touch-action:manipulation!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state="expanded"]>button{
    height:52px!important;
    min-height:52px!important;
    max-height:52px!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state]>button.active,
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state]>button[data-nr-selected="true"]{
    color:#ffd15b!important;
    background:transparent!important;
    border-color:transparent!important;
    box-shadow:none!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button:active{
    transform:scale(.965)!important;
    background:transparent!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button svg{
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    min-height:22px!important;
    color:inherit!important;
    transition:transform .3s cubic-bezier(.18,1.3,.24,1),color .26s ease!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state="expanded"]>button svg{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    min-height:24px!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"] .nr-ig-profile-avatar{
    width:25px!important;height:25px!important;
    min-width:25px!important;min-height:25px!important;
    max-width:25px!important;max-height:25px!important;
    border:1px solid rgba(255,210,115,.37)!important;
    transition:transform .3s cubic-bezier(.18,1.3,.24,1),border-color .3s ease!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state="expanded"] .nr-ig-profile-avatar{
    width:28px!important;height:28px!important;
    min-width:28px!important;min-height:28px!important;
    max-width:28px!important;max-height:28px!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button.active .nr-ig-profile-avatar{
    border-color:#f5b837!important;
    box-shadow:0 0 0 2px rgba(255,199,44,.12),0 2px 9px rgba(0,0,0,.27)!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"] .nr-dock-slider{
    position:absolute;
    z-index:2;
    top:0;
    left:0;
    height:44px;
    width:56px;
    display:block;
    border-radius:999px;
    pointer-events:none;
    background:linear-gradient(145deg,rgba(255,205,72,.34),rgba(179,112,12,.24))!important;
    border:1px solid rgba(255,199,44,.64);
    box-shadow:inset 0 1px rgba(255,234,173,.26),
      0 3px 12px rgba(0,0,0,.18),0 0 17px rgba(255,180,24,.12);
    opacity:0;
    transform:translate3d(0,0,0);
    will-change:transform,width,height;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"].nr-dock-ready .nr-dock-slider{opacity:1}
  html nav[data-ig-dock="v351"][data-nr-motion="1"].nr-dock-animated .nr-dock-slider{
    transition:transform .38s cubic-bezier(.18,1.16,.33,1),
      width .36s cubic-bezier(.16,.9,.28,1),
      height .36s cubic-bezier(.16,.9,.28,1),opacity .15s ease;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button.nr-dock-pop svg,
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button.nr-dock-pop .nr-ig-profile-avatar{
    animation:nr-dock-icon-bounce .42s cubic-bezier(.18,1.2,.24,1) both;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button::after{
    content:"";
    position:absolute;inset:6px;z-index:-1;
    border-radius:999px;
    border:1px solid rgba(255,196,59,.0);
    opacity:0;pointer-events:none;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button.nr-dock-pop::after{
    animation:nr-dock-gold-pulse .42s ease-out both;
  }
  /* Topbar scroll state may hide the header, never the lower pill. */
  html.nr-shell-hidden nav[data-ig-dock="v351"][data-nr-motion="1"]{
    transform:translate3d(-50%,0,0)!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  /* Existing player/native fullscreen behavior remains non-negotiable. */
  html[data-player-page="1"]:is(.nr-player-viewing,.nr-player-theater,.nr-player-native-fullscreen)
    nav[data-ig-dock="v351"][data-nr-motion="1"]{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  @keyframes nr-dock-icon-bounce{
    /* Independent translate/scale also animate when the old icon guard keeps transform:none!important. */
    0%{translate:0 1px;scale:.92}
    52%{translate:0 -2px;scale:1.12}
    100%{translate:0 0;scale:1}
  }
  @keyframes nr-dock-gold-pulse{
    0%{opacity:.9;transform:scale(.76);border-color:rgba(255,198,67,.65)}
    100%{opacity:0;transform:scale(1.3);border-color:rgba(255,198,67,0)}
  }
}
@media(max-width:350px){
  html nav[data-ig-dock="v351"][data-nr-motion="1"]{
    width:calc(100vw - 26px)!important;
    max-width:calc(100vw - 26px)!important;
    padding-inline:4px!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state="expanded"]{
    width:calc(100vw - 12px)!important;
    max-width:calc(100vw - 12px)!important;
    padding-inline:5px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html nav[data-ig-dock="v351"][data-nr-motion="1"],
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state]>button,
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state]>button.active,
  html nav[data-ig-dock="v351"][data-nr-motion="1"] .nr-dock-slider{
    transition:none!important;
    animation:none!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button.nr-dock-pop::after,
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button.nr-dock-pop svg{
    animation:none!important;
  }
}


/* v358 Search/Profile rim polish — smooth SINGLE gold outline between last two
   tabs. Previous Profile avatar's inner gold ring and glow competed visually
   with the moving gold slider; the slider alone is the selection frame.
   No change to the approved 326x50 / 358x60 dock dimensions. */
@media(max-width:900px){
  html nav[data-ig-dock="v351"][data-nr-motion="1"] .nr-ig-profile-avatar,
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button.active .nr-ig-profile-avatar{
    border:1px solid rgba(238,229,207,.23)!important;
    box-shadow:none!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"].nr-dock-animated .nr-dock-slider{
    transition:transform .3s cubic-bezier(.22,1,.36,1),
      width .3s cubic-bezier(.22,1,.36,1),
      height .3s cubic-bezier(.22,1,.36,1),
      opacity .15s ease!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"].nr-dock-rim-pair{
    transition:width .31s cubic-bezier(.22,1,.36,1),
      max-width .31s cubic-bezier(.22,1,.36,1),
      height .31s cubic-bezier(.22,1,.36,1),
      min-height .31s cubic-bezier(.22,1,.36,1),
      max-height .31s cubic-bezier(.22,1,.36,1),
      background .31s ease,border-color .31s ease,box-shadow .31s ease!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html nav[data-ig-dock="v351"][data-nr-motion="1"].nr-dock-rim-pair,
  html nav[data-ig-dock="v351"][data-nr-motion="1"].nr-dock-animated .nr-dock-slider{
    transition:none!important;
  }
}


/* v359 Search/Profile same-origin page transition.
   Search/Profile use different documents, unlike the first 3 in-page tabs.
   Chrome/modern WebViews carry the actual floating dock between documents
   instead of first destroying it and then replaying a second slide.
   Unsupported WebViews use the fast-route fallback in nr-dock-motion.js.
   IMPORTANT: only the BOTTOM dock is named; Top Bar/Player remain unchanged. */
@media(max-width:900px){
  @view-transition{navigation:auto}
  html nav[data-ig-dock="v351"][data-nr-motion="1"]{
    view-transition-name:nr-gold-nav;
  }
  ::view-transition-group(nr-gold-nav){
    z-index:999;
    animation-duration:.23s;
    animation-timing-function:cubic-bezier(.22,1,.36,1);
  }
  ::view-transition-old(nr-gold-nav),
  ::view-transition-new(nr-gold-nav){
    animation-duration:.23s;
    animation-timing-function:cubic-bezier(.22,1,.36,1);
  }
  ::view-transition-old(root),
  ::view-transition-new(root){
    animation-duration:.17s;
    animation-timing-function:ease-out;
  }
}
@media(prefers-reduced-motion:reduce){
  @view-transition{navigation:none}
  ::view-transition-group(nr-gold-nav),
  ::view-transition-old(nr-gold-nav),
  ::view-transition-new(nr-gold-nav),
  ::view-transition-old(root),
  ::view-transition-new(root){animation-duration:0s!important}
}

/* v364 — Hide duplicate upper Search only on mobile Web and Telegram Mini App.
   The owner already has a fully functional Search action in the floating
   five-icon bottom dock. Keep the approved Logo, Wallet, other header actions,
   desktop search, and all bottom navigation controls unchanged. */
@media(max-width:900px){
  html :is(
    .topbar .mobile-search,
    .search-topbar .header-search,
    .movie-topbar .header-search,
    .account-topbar .top-search
  ){
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
}

/* v417 — Compact five-tab labelled gold dock.
   All five Khmer labels are visible. A single GPU-transformed gold selection
   travels between equal-sized tabs; no resize/jump on touch or scroll.
   The top bars, Movie native fullscreen, account actions and routes are untouched. */
@media (max-width:900px){
  html nav[data-ig-dock="v351"],
  html nav[data-ig-dock="v351"][data-nr-motion="1"],
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state="expanded"],
  html.nr-ig-expanded nav[data-ig-dock="v351"]{
    width:min(350px,calc(100vw - 20px))!important;
    max-width:calc(100vw - 20px)!important;
    height:60px!important;
    min-height:60px!important;
    max-height:60px!important;
    padding:4px 7px!important;
    gap:3px!important;
    border-radius:999px!important;
    border:1px solid rgba(255,204,94,.31)!important;
    background:linear-gradient(145deg,rgba(24,25,32,.80),rgba(13,16,23,.75))!important;
    -webkit-backdrop-filter:blur(23px) saturate(140%)!important;
    backdrop-filter:blur(23px) saturate(140%)!important;
    box-shadow:0 12px 31px rgba(0,0,0,.39),inset 0 1px rgba(255,255,255,.09)!important;
    transition:opacity .18s ease,transform .18s ease!important;
  }
  html nav[data-ig-dock="v351"]>button,
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button,
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state="expanded"]>button,
  html nav[data-ig-dock="v351"]>button.active{
    display:flex!important;
    flex:1 1 0!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:50px!important;
    min-height:50px!important;
    max-height:50px!important;
    padding:3px 1px 2px!important;
    gap:2px!important;
    border:1px solid transparent!important;
    background:transparent!important;
    box-shadow:none!important;
    border-radius:999px!important;
    white-space:normal!important;
    color:#b5bac3!important;
    transition:color .19s ease,transform .16s ease!important;
    touch-action:manipulation!important;
    -webkit-tap-highlight-color:transparent!important;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button>span,
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button>span{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    position:static!important;
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
    margin:0!important;
    padding:0!important;
    font:600 9px/1.26 "Noto Sans Khmer","Inter",sans-serif!important;
    letter-spacing:0!important;
    text-align:center!important;
    color:inherit!important;
    pointer-events:none!important;
  }
  html nav[data-ig-dock="v351"]>button svg,
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button svg,
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state="expanded"]>button svg{
    width:21px!important;
    height:21px!important;
    min-width:21px!important;
    min-height:21px!important;
    margin:0!important;
    flex:none!important;
    stroke-width:2!important;
    transform:none!important;
  }
  html nav[data-ig-dock="v351"] .nr-ig-profile-avatar,
  html nav[data-ig-dock="v351"][data-nr-motion="1"] .nr-ig-profile-avatar,
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state="expanded"] .nr-ig-profile-avatar{
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    min-height:22px!important;
    max-width:22px!important;
    max-height:22px!important;
    margin:0!important;
    border-radius:50%!important;
    border:1px solid rgba(255,240,209,.35)!important;
    box-shadow:none!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button.active,
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button[data-nr-selected="true"]{
    flex:1 1 0!important;
    color:#ffe09b!important;
    background:transparent!important;
    border-color:transparent!important;
  }
  html nav[data-ig-dock="v351"]:not([data-nr-motion="1"])>button.active{
    background:rgba(215,153,32,.24)!important;
    color:#ffd37b!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"] .nr-dock-slider{
    border:1px solid rgba(247,186,52,.55)!important;
    background:linear-gradient(155deg,rgba(255,194,63,.33),rgba(188,119,16,.18))!important;
    box-shadow:inset 0 1px rgba(255,230,152,.22),0 3px 9px rgba(0,0,0,.14)!important;
    border-radius:999px!important;
    will-change:transform!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"].nr-dock-animated .nr-dock-slider{
    transition:transform .23s cubic-bezier(.22,1,.36,1),opacity .12s ease!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button.nr-dock-pop svg,
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button.nr-dock-pop .nr-ig-profile-avatar,
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button.nr-dock-pop::after{
    animation:none!important;
  }
  html nav[data-ig-dock="v351"]>button:active{
    transform:scale(.97)!important;
  }
  html nav[data-ig-dock="v351"]>button:focus-visible{
    outline:2px solid #ffd66a!important;
    outline-offset:-2px!important;
  }
}
@media (max-width:350px){
  html nav[data-ig-dock="v351"],
  html nav[data-ig-dock="v351"][data-nr-motion="1"],
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state="expanded"]{
    width:calc(100vw - 12px)!important;
    max-width:calc(100vw - 12px)!important;
    padding:4px 4px!important;
    gap:1px!important;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button>span{
    font-size:8.3px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html nav[data-ig-dock="v351"],
  html nav[data-ig-dock="v351"]>button,
  html nav[data-ig-dock="v351"][data-nr-motion="1"].nr-dock-animated .nr-dock-slider{
    transition:none!important;
    animation:none!important;
  }
}
@media(max-width:900px){
  /* The original active-state CSS had a more specific 44px rule. Keep every
     tap target at the same fixed 50px, avoiding a vertical slider wobble. */
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state]>button.active,
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state="expanded"]>button.active{
    height:50px!important;
    min-height:50px!important;
    max-height:50px!important;
  }
}
/* v428 — NOKOR REUNG Clear Liquid Glass Dock (CamboPost-style clarity).
   Monochrome clear frosted glass only: no pink/gold/teal background gradient.
   Expanded at top or on upward scroll; compact on downward scroll.
   All six existing tab labels/routes remain. Scope: Mobile dock only. */
@media(max-width:900px){
  html nav[data-ig-dock="v351"],
  html.nr-ig-expanded nav[data-ig-dock="v351"],
  html nav[data-ig-dock="v351"][data-nr-motion="1"],
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state="expanded"]{
    width:min(386px,calc(100vw - 16px))!important;
    max-width:calc(100vw - 16px)!important;
    height:70px!important;
    min-height:70px!important;
    max-height:70px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:2px!important;
    padding:6px 7px!important;
    border:1px solid rgba(248,251,255,.31)!important;
    border-radius:27px!important;
    background:rgba(25,30,38,.52)!important;
    background-image:none!important;
    -webkit-backdrop-filter:blur(30px) saturate(90%) contrast(105%)!important;
    backdrop-filter:blur(30px) saturate(90%) contrast(105%)!important;
    box-shadow:0 13px 35px rgba(0,0,0,.30),
      inset 0 1px 1px rgba(255,255,255,.29),
      inset 0 -1px rgba(255,255,255,.055)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translate3d(-50%,0,0)!important;
    transition:width .32s cubic-bezier(.2,.8,.2,1),
      max-width .32s cubic-bezier(.2,.8,.2,1),
      height .28s cubic-bezier(.2,.8,.2,1),
      min-height .28s cubic-bezier(.2,.8,.2,1),
      max-height .28s cubic-bezier(.2,.8,.2,1),
      padding .28s ease,
      border-radius .28s ease,
      background-color .3s ease,
      box-shadow .3s ease!important;
    -webkit-tap-highlight-color:transparent!important;
  }
  /* Earlier gold overlays must not tint the clear glass. */
  html nav[data-ig-dock="v351"]::before,
  html nav[data-ig-dock="v351"][data-nr-motion="1"]::before{
    background:none!important;
    background-image:none!important;
    opacity:0!important;
    pointer-events:none!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state="compact"]{
    width:min(326px,calc(100vw - 24px))!important;
    max-width:calc(100vw - 24px)!important;
    height:54px!important;
    min-height:54px!important;
    max-height:54px!important;
    padding:4px 6px!important;
    border-radius:999px!important;
    background:rgba(22,27,34,.49)!important;
    background-image:none!important;
    box-shadow:0 10px 28px rgba(0,0,0,.27),
      inset 0 1px 1px rgba(255,255,255,.27)!important;
  }
  html nav[data-ig-dock="v351"]>button,
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button,
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state]>button,
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state]>button.active{
    display:flex!important;
    flex:1 1 0!important;
    width:0!important;
    min-width:0!important;
    max-width:none!important;
    height:56px!important;
    min-height:56px!important;
    max-height:56px!important;
    margin:0!important;
    padding:3px 1px 2px!important;
    gap:3px!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    border:0!important;
    border-radius:18px!important;
    background:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
    color:rgba(242,246,252,.91)!important;
    text-shadow:0 1px 3px rgba(0,0,0,.35)!important;
    touch-action:manipulation!important;
    -webkit-tap-highlight-color:transparent!important;
    transition:color .2s ease,opacity .2s ease!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state="compact"]>button,
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state="compact"]>button.active{
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    padding:1px!important;
    gap:0!important;
  }
  html nav[data-ig-dock="v351"]>button.active,
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button.active{
    color:#fff!important;
    background:transparent!important;
    border-color:transparent!important;
    box-shadow:none!important;
  }
  html nav[data-ig-dock="v351"]>button>span,
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button>span{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    width:100%!important;
    max-width:100%!important;
    min-height:20px!important;
    max-height:23px!important;
    overflow:hidden!important;
    overflow-wrap:anywhere!important;
    white-space:normal!important;
    text-overflow:clip!important;
    visibility:visible!important;
    opacity:1!important;
    padding:0!important;
    margin:0!important;
    font:600 8.8px/1.19 "Noto Sans Khmer",Inter,system-ui,sans-serif!important;
    letter-spacing:0!important;
    text-align:center!important;
    color:inherit!important;
    pointer-events:none!important;
    transition:opacity .14s ease,max-height .22s ease,min-height .22s ease!important;
  }
  /* Compact keeps all six icons touchable, names return smoothly on expansion. */
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state="compact"]>button>span{
    min-height:0!important;
    max-height:0!important;
    height:0!important;
    padding:0!important;
    margin:0!important;
    font-size:0!important;
    line-height:0!important;
    opacity:0!important;
    pointer-events:none!important;
  }
  html nav[data-ig-dock="v351"]>button svg,
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button svg{
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    min-height:22px!important;
    margin:0!important;
    flex:0 0 auto!important;
    stroke-width:2!important;
    color:inherit!important;
    filter:drop-shadow(0 1px 2px rgba(0,0,0,.27))!important;
    transform:none!important;
    transition:color .2s ease!important;
  }
  html nav[data-ig-dock="v351"]>button .nr-ig-profile-avatar,
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button .nr-ig-profile-avatar{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    min-height:24px!important;
    max-width:24px!important;
    max-height:24px!important;
    border:1px solid rgba(255,255,255,.65)!important;
    box-shadow:0 1px 4px rgba(0,0,0,.30)!important;
    flex:0 0 auto!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"] .nr-dock-slider{
    border:1px solid rgba(255,255,255,.37)!important;
    border-radius:20px!important;
    background:rgba(248,251,255,.15)!important;
    background-image:none!important;
    box-shadow:inset 0 1px 1px rgba(255,255,255,.22),
       0 2px 8px rgba(0,0,0,.16)!important;
    opacity:1!important;
    will-change:transform!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state="compact"] .nr-dock-slider{
    background:rgba(248,251,255,.18)!important;
    border-radius:999px!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"].nr-dock-animated .nr-dock-slider{
    transition:transform .26s cubic-bezier(.18,.8,.24,1),
      width .25s ease,height .25s ease,border-radius .26s ease,
      opacity .15s ease!important;
  }
  html nav[data-ig-dock="v351"]>button:focus-visible{
    outline:2px solid rgba(255,255,255,.85)!important;
    outline-offset:-1px!important;
  }
}
@media(max-width:350px){
  html nav[data-ig-dock="v351"],
  html nav[data-ig-dock="v351"][data-nr-motion="1"]{
    width:calc(100vw - 12px)!important;
    max-width:calc(100vw - 12px)!important;
    padding:5px 4px!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state="compact"]{
    width:calc(100vw - 26px)!important;
    max-width:calc(100vw - 26px)!important;
    padding:4px 5px!important;
  }
  html nav[data-ig-dock="v351"]>button>span,
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button>span{
    font-size:8px!important;
    line-height:1.2!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html nav[data-ig-dock="v351"],
  html nav[data-ig-dock="v351"][data-nr-motion="1"],
  html nav[data-ig-dock="v351"][data-nr-motion="1"].nr-dock-animated .nr-dock-slider,
  html nav[data-ig-dock="v351"]>button>span{
    transition:none!important;
    animation:none!important;
  }
}
/* v429 — NOKOR REUNG golden active icon + original outlined house door.
   User's requested brand gold should light up ONLY the selected icon/label;
   v428 clear Glass background, compact/expand interaction and 6 routes persist.
   Lucide house needs fill:none even when selected: the legacy v351 high
   specificity fill:currentColor concealed its interior door path. */
@media(max-width:900px){
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button.active:first-child svg.lucide-house,
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button[data-nr-selected="true"]:first-child svg.lucide-house,
  html nav[data-ig-dock="v351"]>button:first-child svg.lucide-house{
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:2.25!important;
  }
  html:is([data-mini="1"],:not([data-mini="1"])) nav[data-ig-dock="v351"]>button:first-child svg.lucide-house :is(path,rect,polygon){
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:2.25!important;
  }
  html nav[data-ig-dock="v351"]>button.active,
  html nav[data-ig-dock="v351"]>button[data-nr-selected="true"],
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button.active,
  html nav[data-ig-dock="v351"][data-nr-motion="1"]>button[data-nr-selected="true"],
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state]>button.active,
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state]>button[data-nr-selected="true"]{
    color:#ffc72c!important;
    text-shadow:0 1px 2px rgba(0,0,0,.36)!important;
    background:transparent!important;
    background-image:none!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"] .nr-dock-slider{
    border-color:rgba(255,199,44,.55)!important;
    background:rgba(255,199,44,.09)!important;
    background-image:none!important;
    box-shadow:inset 0 1px rgba(255,240,184,.19),
      0 2px 9px rgba(0,0,0,.13)!important;
  }
  html nav[data-ig-dock="v351"][data-nr-motion="1"][data-nr-state="compact"] .nr-dock-slider{
    border-color:rgba(255,199,44,.55)!important;
    background:rgba(255,199,44,.11)!important;
    background-image:none!important;
  }
}
