html.nls-v147-video-open,
body.nls-v147-video-open{
  overflow:hidden!important;
  overscroll-behavior:none
}
.nls-v147-player{
  position:fixed;
  inset:0;
  z-index:2147483600;
  display:none;
  align-items:center;
  justify-content:center;
  padding:
    max(10px,env(safe-area-inset-top,0px))
    max(10px,env(safe-area-inset-right,0px))
    max(10px,env(safe-area-inset-bottom,0px))
    max(10px,env(safe-area-inset-left,0px));
  background:rgba(0,0,0,.88);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease
}
.nls-v147-player.open{
  display:flex;
  opacity:1;
  pointer-events:auto
}
.nls-v147-player-dialog{
  width:min(1080px,100%);
  max-height:100%;
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid rgba(222,191,132,.32);
  border-radius:14px;
  background:
    radial-gradient(circle at 50% 0,rgba(173,132,70,.08),transparent 34%),
    #05080b;
  box-shadow:0 35px 120px rgba(0,0,0,.78)
}
.nls-v147-player-head{
  flex:0 0 auto;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  min-height:64px;
  padding:10px 12px;
  border-bottom:1px solid rgba(222,191,132,.18);
  background:rgba(5,8,11,.96)
}
.nls-v147-player-heading{
  min-width:0;
  text-align:center
}
.nls-v147-player-heading small{
  display:block;
  margin-bottom:3px;
  color:#b89b66;
  font:600 9px/1.2 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing:.15em;
  text-transform:uppercase
}
.nls-v147-player-heading h2{
  margin:0;
  overflow:hidden;
  color:#f2eadc;
  font:500 clamp(16px,2vw,23px)/1.2 Cinzel,Georgia,serif;
  text-overflow:ellipsis;
  white-space:nowrap
}
.nls-v147-player-back,
.nls-v147-player-close{
  min-width:46px;
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(224,197,142,.3);
  border-radius:999px;
  background:rgba(17,20,24,.86);
  color:#f0e5d2;
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent
}
.nls-v147-player-back{
  gap:6px;
  padding:0 15px;
  font:600 13px/1 Inter,system-ui,-apple-system,"Segoe UI",sans-serif
}
.nls-v147-player-close{
  width:46px;
  padding:0;
  font-size:25px;
  line-height:1
}
.nls-v147-player-back:hover,
.nls-v147-player-back:focus-visible,
.nls-v147-player-close:hover,
.nls-v147-player-close:focus-visible{
  border-color:rgba(241,215,162,.76);
  background:#171b20;
  outline:none
}
.nls-v147-player-body{
  flex:1 1 auto;
  min-height:0;
  display:grid;
  place-items:center;
  overflow:auto;
  padding:14px;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch
}
.nls-v147-player-frame{
  position:relative;
  width:min(960px,100%);
  aspect-ratio:16/9;
  max-height:calc(100dvh - 164px);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.09);
  border-radius:10px;
  background:#000;
  box-shadow:0 22px 70px rgba(0,0,0,.58)
}
.nls-v147-player-frame.is-short{
  width:auto;
  height:min(76dvh,820px);
  max-width:100%;
  max-height:calc(100dvh - 164px);
  aspect-ratio:9/16
}
.nls-v147-player-frame iframe,
.nls-v147-inline-frame iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  background:#000
}
.nls-v147-player-foot{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 14px;
  border-top:1px solid rgba(255,255,255,.07);
  color:#9d9589;
  font:500 12px/1.4 Inter,system-ui,-apple-system,"Segoe UI",sans-serif
}
.nls-v147-player-foot a{
  color:#d5bd8b;
  text-decoration:none;
  white-space:nowrap
}
.nls-v147-inline-player{
  --nls-inline-accent:#c9aa6c;
  margin:0 0 22px;
  padding:12px;
  border:1px solid rgba(222,191,132,.25);
  border-left:3px solid var(--nls-inline-accent);
  background:linear-gradient(135deg,rgba(18,21,25,.98),rgba(4,7,10,.98));
  box-shadow:0 18px 50px rgba(0,0,0,.38)
}
.nls-v147-inline-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px
}
.nls-v147-inline-head div{min-width:0}
.nls-v147-inline-head small{
  display:block;
  color:var(--nls-inline-accent);
  font:600 9px/1.2 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing:.15em;
  text-transform:uppercase
}
.nls-v147-inline-head h3{
  margin:4px 0 0;
  color:#f1e9dc;
  font:500 clamp(17px,2.3vw,24px)/1.2 Cinzel,Georgia,serif
}
.nls-v147-inline-close{
  flex:0 0 auto;
  min-width:44px;
  min-height:44px;
  border:1px solid rgba(224,197,142,.3);
  border-radius:50%;
  background:#0b0e12;
  color:#efe4d2;
  font-size:23px;
  cursor:pointer;
  touch-action:manipulation
}
.nls-v147-inline-frame{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:8px;
  background:#000
}
.nls-v147-inline-frame.is-short{
  width:min(410px,100%);
  margin-inline:auto;
  aspect-ratio:9/16
}
.nls-v147-inline-note{
  margin:9px 0 0;
  color:#9d9589;
  font:500 12px/1.45 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  text-align:center
}


/* V152 — Universal video navigation hardening.
   All legacy video cards are routed to the same NLS player as Latest Reels on desktop, mobile and iPad. */
@media (max-width:1200px), (pointer:coarse) {
  .nls-v147-player{
    overscroll-behavior:none;
    -webkit-overflow-scrolling:touch;
  }
  .nls-v147-player-dialog{
    width:min(1080px,100%);
    max-width:100%;
    max-height:100dvh;
  }
  .nls-v147-player-head{
    position:relative;
    z-index:20;
    flex:0 0 auto;
    padding-top:max(10px,env(safe-area-inset-top,0px));
    background:rgba(5,8,11,.99);
  }
  .nls-v147-player-back,
  .nls-v147-player-close,
  .nls-v151-inline-back,
  .nls-v147-inline-close{
    min-height:48px;
    touch-action:manipulation;
    -webkit-tap-highlight-color:transparent;
  }
  .nls-v147-player-back{min-width:82px}
  .nls-v147-player-close{min-width:48px;width:48px}
  .nls-v147-player-body{position:relative;z-index:1}
  .nls-v147-player-frame,
  .nls-v147-inline-frame{isolation:isolate}
  .nls-v147-player-frame iframe,
  .nls-v147-inline-frame iframe{z-index:1}
  .nls-v147-inline-head{
    position:sticky;
    top:0;
    z-index:5;
    padding:4px 0 7px;
    background:linear-gradient(180deg,rgba(18,21,25,.995),rgba(18,21,25,.94));
  }
  .nls-v151-inline-back{
    flex:0 0 auto;
    min-width:82px;
    padding:0 12px;
    border:1px solid rgba(224,197,142,.3);
    border-radius:999px;
    background:#0b0e12;
    color:#efe4d2;
    font:600 12px/1 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
    cursor:pointer;
  }
}
@media (max-width:700px){
  /* V147 previously reduced Retour to an icon. V152 keeps an explicit label. */
  .nls-v147-player-back{
    width:auto!important;
    min-width:78px!important;
    padding:0 10px!important;
    font-size:12px!important;
  }
  .nls-v147-player-back::before{content:none!important}
  .nls-v147-player-heading small{display:none}
  .nls-v147-player-heading h2{font-size:14px;line-height:1.15}
  .nls-v147-player-head{grid-template-columns:auto minmax(0,1fr) auto;gap:6px}
  .nls-v151-inline-back{min-width:76px;padding:0 9px}
}
