/* NOKOR REUNG v429: four real destinations and a film-first genre library.
   Scoped to this release only. Keeps original media, payment, login and data code. */
html[data-nr-nav="v429"] :is(.topbar>.desktop-nav,
 .search-topbar>nav:not(.nr-main-header-nav),
 .movie-topbar>nav:not(.nr-main-header-nav),
 .account-topbar>nav:not(.nr-main-header-nav)){display:none!important}
html[data-nr-nav="v429"] .nr-main-header-nav{
  display:flex;align-items:center;justify-content:flex-start;gap:19px;
  flex:1 1 auto;min-width:0;height:100%;margin:0 2px;
}
html[data-nr-nav="v429"] .nr-main-header-nav .nr-header-link{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  position:relative;min-height:48px;height:100%;
  font:800 14px/1.5 "Noto Sans Khmer","Inter",sans-serif;
  border:0;background:none;color:#b7beca;text-decoration:none;
  white-space:nowrap;transition:color .2s ease;
}
html[data-nr-nav="v429"] .nr-main-header-nav .nr-header-link:hover{color:#ffe09b}
html[data-nr-nav="v429"] .nr-main-header-nav .nr-header-link[aria-current="page"]{
  color:#ffca32;text-shadow:0 0 11px rgba(255,196,38,.25);
}
html[data-nr-nav="v429"] .nr-main-header-nav .nr-header-link[aria-current="page"]::after{
  content:"";position:absolute;height:3px;bottom:10px;left:1px;right:1px;
  border-radius:4px;background:#ffc52e;box-shadow:0 0 12px rgba(255,192,34,.44)
}
html[data-nr-nav="v429"] .nr-main-header-nav .nr-header-link:focus-visible,
html[data-nr-nav="v429"] .nr-side-menu a:focus-visible,
html[data-nr-nav="v429"] .nr-more-filters:focus-visible{
  outline:2px solid #e4b64d;outline-offset:3px
}
html[data-nr-nav="v429"] .topbar .top-search{width:min(245px,18vw);margin-left:auto}
html[data-nr-nav="v429"] main#home>.type-strip,
html[data-nr-nav="v429"] main#home>.genre-strip{display:none!important}
html[data-nr-nav="v429"] main#home>.type-strip+#movies,
html[data-nr-nav="v429"] main#home>#movies{height:0;min-height:0}
html[data-nr-nav="v429"] #newReleases{padding-top:28px}
html[data-nr-nav="v429"] #newReleases .section-head h2{font-size:23px}
html[data-nr-nav="v429"] .hero + .type-strip + .genre-strip + #movies + .nr-continue-section{padding-top:24px}

/* Two compact top actions replace the retired Search/Profile dock slots on mobile. */
html[data-nr-nav="v429"] .nr-mobile-header-actions{display:none}
@media(max-width:900px){
 html[data-nr-nav="v429"] .nr-mobile-header-actions{
  display:flex!important;align-items:center;gap:7px;
  flex:0 0 auto;margin-left:auto;min-width:0
 }
 html[data-nr-nav="v429"] .nr-mobile-header-actions a{
  display:grid;place-items:center;width:36px;height:36px;
  border-radius:12px;border:1px solid #41464d;
  background:rgba(23,29,37,.64);color:#e5c371;
  text-decoration:none;flex:0 0 36px;
  -webkit-tap-highlight-color:transparent
 }
 html[data-nr-nav="v429"] .nr-mobile-header-actions a svg{
  display:block!important;width:18px;height:18px;stroke-width:2
 }
 html[data-nr-nav="v429"] .nr-mobile-header-actions a:focus-visible{
  outline:2px solid #e7bc63;outline-offset:2px
 }
 html[data-nr-nav="v429"] .topbar .top-actions{margin-left:0;gap:5px}
 html[data-nr-nav="v429"] .topbar .avatar-btn{display:none!important}
 html[data-nr-nav="v429"] .account-topbar .top-user{display:none!important}
}
/* Category / New Releases uses the SAME real catalog page and data source. */
html[data-nr-nav="v429"] .catalog-main.nr-catalog-layout{
  width:100%;max-width:1560px;box-sizing:border-box;min-height:70vh;
  margin:0 auto;padding:23px 24px 115px;
  display:grid;grid-template-columns:215px minmax(0,1fr);
  align-items:start;gap:25px
}
html[data-nr-nav="v429"] .nr-catalog-content{min-width:0;max-width:100%}
html[data-nr-nav="v429"] .nr-catalog-sidebar{position:sticky;top:89px;align-self:start}
html[data-nr-nav="v429"] .nr-side-inner{
  display:flex;flex-direction:column;min-height:490px;
  padding:18px 11px 14px;
  border:1px solid #252c37;border-radius:18px;
  background:linear-gradient(145deg,#12171f,#0e1219);
  box-shadow:inset 0 1px #ffffff07,0 14px 32px #0002
}
html[data-nr-nav="v429"] .nr-side-label{
  padding:5px 12px 13px;color:#818b98;font-size:11px;font-weight:850;
  letter-spacing:.1px
}
html[data-nr-nav="v429"] .nr-side-menu{display:flex;flex-direction:column;gap:5px}
html[data-nr-nav="v429"] .nr-side-menu a{
  display:flex;align-items:center;gap:13px;min-height:46px;
  padding:11px 13px;border-radius:11px;border-left:3px solid transparent;
  color:#aeb8c6;font:800 12px/1.45 "Noto Sans Khmer","Inter",sans-serif;
  text-decoration:none;transition:background .18s,color .18s
}
html[data-nr-nav="v429"] .nr-side-menu a svg{
  width:19px;height:19px;min-width:19px;color:inherit
}
html[data-nr-nav="v429"] .nr-side-menu a:hover{background:#1d242e;color:#f4f5f8}
html[data-nr-nav="v429"] .nr-side-menu a[aria-current="page"]{
  color:#f6cf77;background:#2b2419;border-left-color:#d6a541
}
html[data-nr-nav="v429"] .nr-side-footer{
  display:flex;align-items:center;gap:9px;margin-top:auto;
  padding:16px 12px 3px;border-top:1px solid #28303b;
  color:#6e7784;font:800 10px/1 Inter,sans-serif;letter-spacing:.5px
}
html[data-nr-nav="v429"] .nr-side-footer img{width:19px;height:19px;object-fit:contain}
html[data-nr-nav="v429"] .catalog-intro{margin:3px 0 19px}
html[data-nr-nav="v429"] .catalog-intro h1{font-size:29px}
html[data-nr-nav="v429"] .catalog-intro p{font-size:11.5px}
html[data-nr-nav="v429"] .catalog-filters{
  border:0;border-radius:0;box-shadow:none;background:transparent;
  padding:0;overflow:visible
}
html[data-nr-nav="v429"] .catalog-filters::before{display:none}
html[data-nr-nav="v429"] .catalog-type-tabs{
  gap:9px;padding:0 0 12px;overflow-x:auto;overscroll-behavior-x:contain
}
html[data-nr-nav="v429"] .catalog-type-tabs>button{
  min-height:38px;padding:8px 18px;
  border-radius:999px;background:#20232a;color:#b8bfca;
  border:1px solid #292f39;font-size:11px;font-weight:850;box-shadow:none
}
html[data-nr-nav="v429"] .catalog-type-tabs>button:hover{color:#f6d9a0;border-color:#66502c}
html[data-nr-nav="v429"] .catalog-type-tabs>button.active{
  background:#d2a03c;color:#211600;border-color:#d2a03c;box-shadow:none
}
html[data-nr-nav="v429"] .catalog-filter-line{
  border-top:0;padding:5px 0 9px;grid-template-columns:98px minmax(0,1fr)
}
html[data-nr-nav="v429"] .catalog-filter-label{color:#9da7b5}
html[data-nr-nav="v429"] .catalog-filter-label svg{color:#bc9757}
html[data-nr-nav="v429"] .catalog-chip-scroll{gap:7px}
html[data-nr-nav="v429"] .catalog-chip-scroll>button{
  min-height:32px;padding:6px 12px;border-radius:999px;
  border-color:#2a333e;background:#171d27;color:#aab4c0;
  font-size:10.5px
}
html[data-nr-nav="v429"] .catalog-chip-scroll>button.active{
  color:#ecca7d;border-color:#8e703c;background:#2c2418;box-shadow:none
}
html[data-nr-nav="v429"] .catalog-sort-bar{
  margin-top:5px;padding-top:10px;border-top:1px solid #29323e
}
html[data-nr-nav="v429"] .nr-more-filters{
  display:inline-flex;align-items:center;gap:7px;
  margin:0 0 9px auto;padding:5px 8px;
  border:0;background:none;color:#c9a666;
  font-size:10.5px;font-weight:800
}
html[data-nr-nav="v429"] .nr-more-filters svg{
  width:14px;height:14px
}
html[data-nr-nav="v429"] .nr-more-filters svg:last-child{
  width:12px;height:12px;transition:transform .2s ease
}
html[data-nr-nav="v429"] .nr-more-filters[aria-expanded="true"] svg:last-child{
  transform:rotate(180deg)
}
html[data-nr-nav="v429"] .catalog-filters:not(.nr-advanced-open) .nr-extra-filter{
  display:none!important
}
html[data-nr-nav="v429"] .catalog-list{margin-top:15px}
html[data-nr-nav="v429"] .catalog-list-head{margin-bottom:13px}
html[data-nr-nav="v429"] .catalog-list-head h2{font-size:21px}
html[data-nr-nav="v429"] .catalog-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));gap:19px 12px
}
html[data-nr-nav="v429"] .catalog-art{border-radius:12px}
html[data-nr-nav="v429"] .catalog-tile:hover .catalog-art{transform:translateY(-2px)}
/* Four meaningful primary destinations on phones, search/account remain in header. */
@media(max-width:1330px) and (min-width:901px){
  html[data-nr-nav="v429"] .nr-main-header-nav{gap:12px}
  html[data-nr-nav="v429"] .nr-main-header-nav .nr-header-link{font-size:12.5px}
  html[data-nr-nav="v429"] .catalog-main.nr-catalog-layout{gap:18px;grid-template-columns:200px minmax(0,1fr)}
  html[data-nr-nav="v429"] .catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:900px){
  html[data-nr-nav="v429"] .nr-main-header-nav{display:none!important}
  html[data-nr-nav="v429"] .catalog-main.nr-catalog-layout{
    display:block;padding:15px 13px calc(128px + env(safe-area-inset-bottom,0px))
  }
  html[data-nr-nav="v429"] .nr-catalog-sidebar{display:none!important}
  html[data-nr-nav="v429"] .catalog-intro h1{font-size:24px}
  html[data-nr-nav="v429"] .catalog-intro{margin-bottom:14px}
  html[data-nr-nav="v429"] .catalog-type-tabs{gap:7px;padding-bottom:11px}
  html[data-nr-nav="v429"] .catalog-type-tabs>button{
    min-height:36px;font-size:10.5px;padding:7px 13px
  }
  html[data-nr-nav="v429"] .catalog-filter-line{
    grid-template-columns:65px minmax(0,1fr);gap:8px
  }
  html[data-nr-nav="v429"] .catalog-chip-scroll>button{font-size:10px;padding:6px 10px}
  html[data-nr-nav="v429"] .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 9px}
  html[data-nr-nav="v429"] .catalog-list{margin-top:11px}
  html[data-nr-nav="v429"] #newReleases{padding-top:23px}
  /* v435: four current destinations plus the original far-right Profile; neutral v428 glass. */
  html[data-nr-nav="v429"] #nr-main-dock,
  html[data-nr-nav="v429"] #nr-main-dock[data-nr-motion="1"]{
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:center!important;gap:2px!important;
    width:min(386px,calc(100vw - 16px))!important;max-width:calc(100vw - 16px)!important;
    min-width:0!important;height:70px!important;min-height:70px!important;max-height:70px!important;
    padding:6px 7px!important;bottom:calc(10px + env(safe-area-inset-bottom,0px))!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;
    transform:translate3d(-50%,0,0)!important;opacity:1!important;visibility:visible!important;
    transition:width .28s ease,max-width .28s ease,height .24s ease,min-height .24s ease,max-height .24s ease,padding .24s ease,border-radius .24s ease!important;
  }
  html[data-nr-nav="v429"] #nr-main-dock[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;
  }
  html[data-nr-nav="v429"] #nr-main-dock>button:nth-child(5){display:none!important}
  html[data-nr-nav="v429"] #nr-main-dock>button:is(:nth-child(-n+4),:nth-child(6)),
  html[data-nr-nav="v429"] #nr-main-dock>button.active:is(:nth-child(-n+4),:nth-child(6)){
    display:flex!important;flex:1 1 0!important;width:auto!important;min-width:0!important;max-width:none!important;
    position:relative!important;z-index:3!important;box-sizing:border-box!important;
    flex-direction:column!important;align-items:center!important;justify-content:center!important;
    height:56px!important;min-height:56px!important;max-height:56px!important;
    gap:3px!important;padding:3px 1px 2px!important;margin:0!important;
    border:0!important;border-radius:18px!important;background:transparent!important;background-image:none!important;
    color:rgba(242,246,252,.91)!important;box-shadow:none!important;transform:none!important;
    touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important;
  }
  html[data-nr-nav="v429"] #nr-main-dock[data-nr-state="compact"]>button:is(:nth-child(-n+4),:nth-child(6)){
    height:44px!important;min-height:44px!important;max-height:44px!important;padding:1px!important;gap:0!important;
  }
  html[data-nr-nav="v429"] #nr-main-dock>button:is(:nth-child(-n+4),:nth-child(6))>svg{
    width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;
    flex:0 0 auto!important;transform:none!important;animation:none!important;color:inherit!important;
  }
  html[data-nr-nav="v429"] #nr-main-dock>button>svg.lucide-house,
  html[data-nr-nav="v429"] #nr-main-dock>button>svg.lucide-house *{fill:none!important;stroke:currentColor!important}
  html[data-nr-nav="v429"] #nr-main-dock>button:is(:nth-child(-n+4),:nth-child(6))>span{
    display:block!important;visibility:visible!important;width:100%!important;min-width:0!important;
    height:auto!important;min-height:14px!important;max-height:25px!important;
    font:800 10px/1.3 "Noto Sans Khmer","Inter",sans-serif!important;
    white-space:normal!important;text-align:center!important;overflow:hidden!important;
    color:inherit!important;opacity:1!important;pointer-events:none!important;
  }
  html[data-nr-nav="v429"] #nr-main-dock[data-nr-state="compact"]>button>span{
    display:none!important;height:0!important;min-height:0!important;max-height:0!important;opacity:0!important;
  }
  html[data-nr-nav="v429"] #nr-main-dock>button.active:is(:nth-child(-n+4),:nth-child(6)){color:#ffc72c!important}
  html[data-nr-nav="v429"] #nr-main-dock>.nr-dock-slider{
    display:block!important;position:absolute!important;top:0;left:0;z-index:2!important;pointer-events:none!important;
    background:rgba(255,199,44,.09)!important;background-image:none!important;
    border:1px solid rgba(255,199,44,.40)!important;border-radius:20px!important;
    box-shadow:inset 0 1px 1px rgba(255,255,255,.16)!important;
  }
  html[data-nr-nav="v429"] #nr-main-dock>.nr-dock-slider[hidden]{display:none!important}
  html[data-nr-nav="v429"] #nr-main-dock[data-nr-state="compact"]>.nr-dock-slider{border-radius:999px!important}
  html[data-nr-nav="v429"] #nr-main-dock.nr-dock-animated>.nr-dock-slider{
    transition:transform .18s ease-out,width .18s ease-out,height .18s ease-out,border-radius .18s ease-out!important;
  }
  html[data-nr-nav="v429"] #nr-main-dock>button:focus-visible{outline:2px solid #ffc72c!important;outline-offset:-2px!important}

}
@media(max-width:360px){
  html[data-nr-nav="v429"] nav.nr-main-dock>button:is(:nth-child(-n+4),:nth-child(6))>span{font-size:8.1px!important}
  html[data-nr-nav="v429"] .catalog-grid{gap:13px 7px}
}
@media(prefers-reduced-motion:reduce){
 html[data-nr-nav="v429"] .nr-main-header-nav .nr-header-link,
 html[data-nr-nav="v429"] .nr-side-menu a{transition:none!important}
}

/* v432: do not fade the old document to black while the next page paints. */
@media(max-width:900px){
 @view-transition{navigation:auto}
 html[data-nr-nav="v429"] #nr-main-dock{view-transition-name:nr-primary-dock}
 @keyframes nr-v432-page-in{from{opacity:0}to{opacity:1}}
 ::view-transition{pointer-events:none}
 ::view-transition-old(root){animation:none!important;opacity:1!important;mix-blend-mode:normal}
 ::view-transition-new(root){animation:nr-v432-page-in .12s ease-out both!important;mix-blend-mode:normal}
 ::view-transition-group(nr-primary-dock){animation-duration:.12s;animation-timing-function:ease-out}
 ::view-transition-old(nr-primary-dock){animation:none!important;opacity:0!important}
 ::view-transition-new(nr-primary-dock){animation:none!important;opacity:1!important}
}
@media(prefers-reduced-motion:reduce){
 @view-transition{navigation:none}
 html[data-nr-nav="v429"] #nr-main-dock,
 html[data-nr-nav="v429"] #nr-main-dock>.nr-dock-slider,
 ::view-transition-old(root),::view-transition-new(root){transition:none!important;animation:none!important}
}
/* Preserve existing movie fullscreen/theater and accessibility guards. */
@media(max-width:900px){
 html[data-player-page="1"]:is(.nr-player-viewing,.nr-player-theater,.nr-player-native-fullscreen) #nr-main-dock[data-nr-motion="1"]{
  display:none!important;visibility:hidden!important;pointer-events:none!important;
 }
}
@media(prefers-reduced-motion:reduce){
 html[data-nr-nav="v429"] #nr-main-dock.nr-dock-animated>.nr-dock-slider{transition:none!important;animation:none!important}
}
/* The legacy logged-out account header disables pointer events. The current
   Search/Account links are real navigation and must still accept taps. */
html[data-nr-nav="v429"]:not(.nr-shell-hidden) .nr-mobile-header-actions a{
 pointer-events:auto!important;touch-action:manipulation;
}

/* v435: retain the existing real-avatar source and circular PF appearance. */
@media(max-width:900px){
 html[data-nr-nav="v429"] #nr-main-dock>button[data-nr-destination="profile"] .nr-ig-profile-avatar{
  display:block!important;width:24px!important;height:24px!important;
  min-width:24px!important;min-height:24px!important;max-width:24px!important;max-height:24px!important;
  flex:0 0 auto!important;object-fit:cover!important;border-radius:50%!important;
  border:1px solid rgba(255,255,255,.65)!important;transform:none!important;
 }
 html[data-nr-nav="v429"] #nr-main-dock>button[data-nr-destination="profile"].active .nr-ig-profile-avatar{border-color:#ffc72c!important}
}
