/* FSOnline v3 — finisaj clar, paleta originala negru / rosu / auriu */
:root{
  --fs-red:#ff2238;
  --fs-red-bright:#ff5063;
  --fs-red-deep:#b00610;
  --fs-red-soft:rgba(255,46,68,.13);
  --fs-gold:#ffb020;
  --fs-gold-soft:rgba(255,176,32,.13);
  --fs-ink:#f5f5f7;
  --fs-muted:#aaa5a7;
  --fs-panel:#15151b;
  --fs-panel-2:#0d0d11;
  --fs-panel-3:#1c1c24;
  --fs-border:rgba(255,255,255,.09);
  --fs-border-strong:rgba(255,46,68,.38);
  --fs-shadow:0 20px 54px -24px rgba(0,0,0,.88);
}

body{
  background:
    radial-gradient(900px 460px at 50% -260px,rgba(255,34,56,.12),transparent 70%),
    #08080a!important;
  color:var(--fs-ink);
}
/* Latime unitara pentru toate containerele principale.
   Headerul, continutul, filtrele, paginile de categorii si footerul folosesc
   aceeasi limita de 1660px si aceleasi praguri responsive. */
.container,
.max-w-screen-2xl{
  max-width:1660px!important;
  padding-left:15px!important;
  padding-right:15px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
@media screen and (max-width:1659px) and (min-width:1280px){
  .container,
  .max-w-screen-2xl{width:96%!important;}
}
@media screen and (max-width:1279px) and (min-width:999px){
  .container,
  .max-w-screen-2xl{width:990px!important;}
}
@media screen and (max-width:998px){
  .container,
  .max-w-screen-2xl{width:100%!important;max-width:1660px!important;}
}

/* Filtrele folosesc intreaga latime a aceluiasi container si raman perfect aliniate. */
@media screen and (min-width:1280px){
  .category-filter{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:stretch!important;
    gap:12px!important;
    width:100%!important;
  }
  .category-filter .filter-flex{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(132px,1fr))!important;
    align-items:stretch!important;
    gap:12px!important;
    width:100%!important;
    min-width:0!important;
  }
  .category-filter .filter-flex>.item,
  .category-filter .item{
    width:auto!important;
    min-width:0!important;
    margin:0!important;
  }
  .category-filter .item .item-inner,
  .category-filter .filter-flex>.item .item-inner{
    width:100%!important;
    min-height:48px!important;
    height:100%!important;
  }
  .category-filter .display,
  .category-filter .display>span{
    min-width:0!important;
  }
  .category-filter .display>span{
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .category-filter .filter-button{
    display:flex!important;
    align-items:stretch!important;
    margin:0!important;
  }
  .category-filter .btn-filter,
  .category-filter .filter-button .btn-primary{
    min-height:48px!important;
    height:100%!important;
    padding:0 22px!important;
    border-radius:12px!important;
    white-space:nowrap!important;
  }
}
.block_area,.movie_information,.watch_block .container{border-color:var(--fs-border)}
.cat-heading{letter-spacing:-.025em}

/* Home episode carousel */
.fs-kicker{
  display:inline-flex;align-items:center;gap:8px;
  color:var(--fs-gold);font-size:11px;font-weight:850;
  letter-spacing:.12em;text-transform:uppercase
}
.fs-kicker:before{
  content:"";width:7px;height:7px;border-radius:50%;
  background:var(--fs-red);box-shadow:0 0 0 4px rgba(255,34,56,.13)
}
.fs-episode-section{margin:34px 0 42px}
.fs-episode-section__head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}
.fs-episode-section__head h2{margin:7px 0 0;font-size:28px;line-height:1.08;color:#fff;font-weight:850;letter-spacing:-.035em}
.fs-carousel-actions{display:flex;gap:8px}
.fs-carousel-arrow{
  width:40px;height:40px;border-radius:12px;border:1px solid var(--fs-border);
  background:linear-gradient(180deg,#202027,#121217);color:#f5f5f7;
  font-size:24px;line-height:1;cursor:pointer;box-shadow:0 8px 20px rgba(0,0,0,.28);
  transition:transform .18s ease,border-color .18s ease,background .18s ease
}
.fs-carousel-arrow:hover{transform:translateY(-1px);border-color:var(--fs-border-strong);background:linear-gradient(180deg,#2a171b,#171013)}
.fs-episode-carousel{
  display:grid;grid-auto-flow:column;grid-auto-columns:minmax(176px,1fr);gap:14px;
  overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;
  scrollbar-width:thin;scrollbar-color:#8d1423 #111115;padding:2px 2px 10px
}
.fs-episode-carousel::-webkit-scrollbar{height:7px}
.fs-episode-carousel::-webkit-scrollbar-track{background:#111115;border-radius:999px}
.fs-episode-carousel::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#7b082e,#ff2238);border-radius:999px}
.fs-episode-card{
  scroll-snap-align:start;min-width:0;border:1px solid var(--fs-border);border-radius:16px;overflow:hidden;
  background:linear-gradient(180deg,#17171d,#0d0d11);box-shadow:0 12px 30px rgba(0,0,0,.28);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease
}
.fs-episode-card:hover{transform:translateY(-4px);border-color:var(--fs-border-strong);box-shadow:0 22px 42px -18px rgba(0,0,0,.9),0 0 0 1px rgba(255,34,56,.08)}
.fs-episode-card__poster{display:block;position:relative;aspect-ratio:2/3;overflow:hidden;background:#0a0a0d}
.fs-episode-card__poster img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .28s ease,filter .28s ease}
.fs-episode-card:hover img{transform:scale(1.035);filter:saturate(1.06)}
.fs-episode-card__poster:after{content:"";position:absolute;inset:auto 0 0;height:38%;background:linear-gradient(transparent,rgba(6,6,8,.93))}
.fs-episode-card__badge{position:absolute;left:9px;top:9px;z-index:2;padding:5px 8px;border-radius:8px;background:linear-gradient(135deg,var(--fs-red-bright),var(--fs-red-deep));box-shadow:0 8px 20px rgba(0,0,0,.34);color:#fff;font-size:10px;font-weight:850}
.fs-episode-card__langs{position:absolute;right:9px;bottom:9px;z-index:2;display:flex;gap:4px}
.fs-episode-card__langs b{padding:3px 5px;border-radius:5px;background:rgba(8,8,10,.88);border:1px solid rgba(255,176,32,.30);font-size:9px;color:#ffe0a0}
.fs-episode-card__body{padding:11px 12px 13px}
.fs-episode-card__body h3{margin:0 0 4px;font-size:13px;line-height:1.3;font-weight:800}
.fs-episode-card__body h3 a{color:#f7f7f8!important;text-decoration:none}
.fs-episode-card__body p{margin:0;color:var(--fs-muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Crisp global polish without replacing the original palette */
#header{
  backdrop-filter:saturate(135%) blur(16px);
  background:rgba(10,10,13,.92)!important;
  border-bottom:1px solid rgba(255,255,255,.07)!important
}
.film_list-grid .film_list-wrap .flw-item,.film_list .film_list-wrap .flw-item{border-radius:14px}
.film-poster-ahref,.film-poster{border-radius:13px 13px 0 0}
.nav-tabs.pre-tabs .nav-link{
  border:1px solid var(--fs-border)!important;border-radius:10px!important;padding:9px 14px!important;
  background:#15151b!important;color:#b8b3b5!important
}
.nav-tabs.pre-tabs .nav-link:hover{background:#201216!important;border-color:rgba(255,46,68,.30)!important;color:#fff!important}
.nav-tabs.pre-tabs .nav-link.active{
  background:linear-gradient(135deg,var(--fs-red-bright),var(--fs-red-deep))!important;
  color:#fff!important;border-color:rgba(255,80,99,.58)!important;
  box-shadow:0 10px 24px -12px rgba(255,34,56,.8)
}

.community-slot-v1{clear:both;margin-top:26px}
.community-control-v1{border:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
.w_b-control .community-control-v1:hover{transform:none!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important}
.community-control-v1 .community-action-button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;
  height:auto!important;min-height:39px!important;padding:11px 18px!important;
  border:1px solid rgba(255,255,255,.09)!important;border-radius:13px!important;
  background:linear-gradient(180deg,#23232c,#15151b)!important;color:#ededf2!important;
  font-size:13px!important;font-weight:650!important;line-height:1!important;
  box-shadow:0 4px 14px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.07)!important;
  transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease!important
}
.community-control-v1 .community-action-button i{display:inline-block!important;margin:0!important;font-size:13px!important;color:var(--fs-red-bright)!important;filter:drop-shadow(0 0 5px rgba(255,46,68,.35))}
.community-control-v1 .community-action-button::before{display:none!important}
.community-control-v1 .community-action-button:hover{
  transform:translateY(-2px)!important;background:linear-gradient(180deg,rgba(255,46,68,.20),rgba(255,46,68,.05))!important;
  border-color:rgba(255,80,99,.58)!important;color:#fff!important;
  box-shadow:0 16px 32px -12px rgba(255,34,56,.58),inset 0 1px 0 rgba(255,255,255,.11)!important
}
.community-control-v1 .community-action-button--party{background:linear-gradient(180deg,#23232c,#15151b)!important;border-color:rgba(255,255,255,.09)!important;color:#ededf2!important}
.community-control-v1 .community-action-button--party i{color:var(--fs-red-bright)!important}
.community-control-v1 .community-action-button--report{background:linear-gradient(180deg,#23232c,#15151b)!important;border-color:rgba(255,255,255,.09)!important;color:#ededf2!important}
.community-control-v1 .community-action-button--report i{color:var(--fs-gold)!important;filter:drop-shadow(0 0 5px rgba(255,176,32,.25))}

.fs-home-episodes{
  margin:26px 0 38px;padding:22px;border:1px solid var(--fs-border);border-radius:20px;
  background:linear-gradient(135deg,rgba(24,24,30,.98),rgba(10,10,13,.98));
  box-shadow:var(--fs-shadow);position:relative;overflow:hidden
}
.fs-home-episodes:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(520px 230px at 88% 0,rgba(255,34,56,.12),transparent 72%)}
.fs-home-episodes:after{content:"";position:absolute;width:240px;height:240px;border:1px solid rgba(255,176,32,.10);border-radius:50%;right:-70px;top:-110px;pointer-events:none}
.fs-home-episodes__head{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:flex-end;gap:20px}
.fs-home-episodes__head h2{margin:7px 0 5px;color:#fff;font-size:31px;line-height:1.05;font-weight:850;letter-spacing:-.04em}
.fs-home-episodes__head p{margin:0;color:var(--fs-muted);font-size:13px}
.fs-home-episodes__tabs{display:flex;gap:7px;padding:5px;border:1px solid var(--fs-border);border-radius:13px;background:#0d0d11}
.fs-home-episodes__tabs button{min-height:38px;border:1px solid transparent;border-radius:9px;padding:0 15px;background:transparent;color:#aaa5a7;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}
.fs-home-episodes__tabs button:hover{color:#fff;background:#19191f}
.fs-home-episodes__tabs button.is-active{background:linear-gradient(135deg,var(--fs-red-bright),var(--fs-red-deep));border-color:rgba(255,80,99,.45);color:#fff;box-shadow:0 10px 22px -12px rgba(255,34,56,.9)}
.fs-home-episodes__panel{position:relative;z-index:1;margin-top:18px}
.fs-home-episodes__panel:not(.is-active){display:none}
.fs-home-episodes .fs-episode-section{margin:0}
.fs-home-episodes .fs-episode-section__head>div:first-child{display:none}
.fs-home-episodes .fs-episode-section__head{justify-content:flex-end;margin-bottom:8px}
.fs-home-episodes .fs-episode-carousel{grid-auto-columns:minmax(168px,1fr)}

@media(max-width:900px){.fs-episode-carousel{grid-auto-columns:36%}.fs-episode-section__head h2{font-size:24px}}
@media(max-width:760px){.fs-home-episodes{padding:17px}.fs-home-episodes__head{align-items:flex-start;flex-direction:column}.fs-home-episodes__head h2{font-size:26px}.fs-home-episodes__tabs{width:100%}.fs-home-episodes__tabs button{flex:1;padding:0 10px}.fs-home-episodes .fs-episode-carousel{grid-auto-columns:48%}}
@media(max-width:640px){.fs-episode-carousel{grid-auto-columns:48%}.fs-episode-section{margin:26px 0 34px}.fs-episode-section__head h2{font-size:22px}.fs-carousel-arrow{width:36px;height:36px}.community-slot-v1{margin-top:18px}.community-control-v1 .community-action-button{min-height:40px!important;padding:11px 14px!important}}

/* ========================================================================== 
   FSOnline v4 — carousel interaction + private profile
   ========================================================================== */

/* Native touch scrolling is deliberately kept on phones/tablets. Mouse/pen
   dragging is handled by fsonline-v4.js. This removes the stutter caused by
   mandatory snapping and card hover repaints while dragging. */
.fs-episode-carousel{
  scroll-snap-type:x proximity!important;
  scroll-behavior:auto!important;
  touch-action:pan-y!important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  cursor:grab;
  will-change:scroll-position;
}
.fs-episode-carousel.is-dragging,
.fs-episode-carousel.is-coasting{
  scroll-snap-type:none!important;
}
.fs-episode-carousel.is-dragging{cursor:grabbing!important;}
.fs-episode-carousel.is-dragging .fs-episode-card,
.fs-episode-carousel.is-coasting .fs-episode-card{
  transition:none!important;
  transform:none!important;
}
.fs-episode-carousel.is-dragging .fs-episode-card *,
.fs-episode-carousel.is-coasting .fs-episode-card *{
  transition:none!important;
}
.fs-episode-carousel.is-dragging .fs-episode-card{
  pointer-events:none;
}
@media (hover:none), (pointer:coarse){
  .fs-episode-carousel{cursor:auto;}
  .fs-episode-card:hover{transform:none;}
  .fs-episode-card:hover img{transform:none;filter:none;}
}

/* Main homepage hero: horizontal swipe belongs to the slider, vertical swipe
   still scrolls the page normally. */
#slider,
#slider .swiper-wrapper{
  -webkit-user-select:none;
  user-select:none;
  -webkit-touch-callout:none;
}
#slider .swiper-wrapper{
  touch-action:pan-y pinch-zoom!important;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}
#slider.is-dragging .swiper-wrapper{
  transition:none!important;
  cursor:grabbing!important;
}
#slider.is-dragging .swiper-slide a,
#slider.is-dragging .swiper-slide img{
  pointer-events:none!important;
}

/* Private profile state */
.fs-private-profile{
  position:relative;
  min-height:clamp(430px,58vh,690px);
  display:grid;
  place-items:center;
  padding:70px 0 82px;
  overflow:hidden;
}
.fs-private-profile::before{
  content:"";
  position:absolute;
  width:min(720px,78vw);
  aspect-ratio:1;
  left:50%;
  top:46%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,34,56,.11) 0,rgba(255,34,56,.045) 34%,transparent 70%);
  pointer-events:none;
}
.fs-private-profile__wrap{
  position:relative;
  z-index:1;
  width:100%;
}
.fs-private-profile__card{
  position:relative;
  width:min(720px,100%);
  margin:0 auto;
  padding:48px 46px 44px;
  text-align:center;
  border:1px solid rgba(255,255,255,.085);
  border-radius:24px;
  background:
    radial-gradient(560px 220px at 50% -70px,rgba(255,46,68,.15),transparent 68%),
    linear-gradient(180deg,rgba(24,20,21,.97),rgba(12,12,15,.985));
  box-shadow:0 34px 80px -38px rgba(0,0,0,.95),inset 0 1px 0 rgba(255,255,255,.035);
}
.fs-private-profile__icon{
  width:68px;
  height:68px;
  margin:0 auto 20px;
  display:grid;
  place-items:center;
  border-radius:19px;
  color:#fff;
  background:linear-gradient(145deg,#f14a4c,#a60b16);
  border:1px solid rgba(255,112,112,.4);
  box-shadow:0 18px 40px -18px rgba(255,34,56,.8),inset 0 1px 0 rgba(255,255,255,.2);
}
.fs-private-profile__icon svg{width:29px;height:29px;display:block;}
.fs-private-profile__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:12px;
  color:#ffb020;
  font-size:11px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.fs-private-profile__eyebrow::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:#ff3f4e;
  box-shadow:0 0 0 4px rgba(255,63,78,.12);
}
.fs-private-profile__card h1{
  margin:0;
  color:#fff;
  font-size:clamp(30px,4vw,43px);
  line-height:1.08;
  font-weight:800;
  letter-spacing:-.04em;
}
.fs-private-profile__user{
  display:inline-flex;
  margin-top:14px;
  padding:6px 11px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  background:rgba(255,255,255,.035);
  color:#cbc6c7;
  font-size:12px;
  font-weight:700;
}
.fs-private-profile__text{
  max-width:540px;
  margin:18px auto 0;
  color:#aaa5a7;
  font-size:14px;
  line-height:1.7;
}
.fs-private-profile__actions{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:28px;
}
.fs-private-profile__button{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:0 19px;
  border:1px solid rgba(255,80,99,.38);
  border-radius:12px;
  background:linear-gradient(135deg,#ed4146,#a60b16);
  color:#fff!important;
  font-size:13px;
  font-weight:750;
  box-shadow:0 14px 28px -17px rgba(255,34,56,.78);
  transition:transform .18s ease,filter .18s ease,border-color .18s ease;
}
.fs-private-profile__button:hover{
  transform:translateY(-2px);
  filter:brightness(1.08);
  border-color:rgba(255,112,124,.68);
}
.fs-private-profile__hint{
  margin-top:20px;
  color:#777276;
  font-size:11px;
}
@media (max-width:640px){
  .fs-private-profile{min-height:430px;padding:42px 0 58px;}
  .fs-private-profile__card{padding:36px 21px 32px;border-radius:19px;}
  .fs-private-profile__icon{width:60px;height:60px;border-radius:17px;}
  .fs-private-profile__card h1{font-size:30px;}
  .fs-private-profile__text{font-size:13px;}
  .fs-private-profile__actions{margin-top:23px;}
  .fs-private-profile__button{width:100%;}
}

/* ========================================================================== 
   FSOnline v5 — aligned progress control + smoother carousel input
   ========================================================================== */

/* Keep the watched percentage control on exactly the same visual row/height
   as the rest of the player actions. These rules intentionally use !important
   because serial.php/episod.php still contain legacy inline component CSS. */
.w_b-control > .wbc-item{
  height:44px!important;
  min-height:44px!important;
  align-items:center!important;
}
.w_b-control > .wbc-item > a,
.w_b-control > .wbc-item > a.btn-action{
  min-height:42px!important;
  padding:0 18px!important;
  align-items:center!important;
}
.w_b-control > .wbc-item.cc{
  height:44px!important;
  min-height:44px!important;
  padding:0 18px!important;
  align-items:center!important;
}
.w_b-control > .community-control-v1 .community-action-button{
  min-height:42px!important;
}
.w_b-control > .series-progress{
  position:relative!important;
  float:none!important;
  flex:0 0 176px!important;
  width:176px!important;
  height:44px!important;
  min-height:44px!important;
  margin:0!important;
  align-self:center!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:13px!important;
  background:linear-gradient(180deg,#1b1b21,#101014)!important;
  box-shadow:0 4px 14px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.04)!important;
}
.w_b-control > .series-progress .series-progress__bar{
  height:100%!important;
  min-width:0!important;
  background:linear-gradient(90deg,#8f121d 0%,#d93434 58%,#eaae35 100%)!important;
  transition:width .25s ease!important;
}
.w_b-control > .series-progress .series-progress__num{
  position:absolute!important;
  inset:0!important;
  display:grid!important;
  place-items:center!important;
  transform:none!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#f5f2f2!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  text-shadow:0 1px 6px rgba(0,0,0,.9)!important;
  pointer-events:none!important;
}

/* Episode rails: touch devices use the browser's native kinetic scrolling.
   It is substantially smoother than emulating touch inertia in JS. */
.fs-episode-carousel{
  scroll-snap-type:x proximity!important;
  scroll-behavior:auto!important;
  overscroll-behavior-x:contain!important;
  -webkit-overflow-scrolling:touch!important;
  will-change:auto!important;
  touch-action:pan-x pan-y pinch-zoom!important;
}
.fs-episode-carousel.is-dragging{
  scroll-snap-type:none!important;
  cursor:grabbing!important;
}
.fs-episode-carousel.is-dragging .fs-episode-card,
.fs-episode-carousel.is-dragging .fs-episode-card *{
  transition:none!important;
}
@media (hover:none), (pointer:coarse){
  .fs-episode-carousel{
    cursor:auto!important;
    scroll-snap-type:x proximity!important;
    touch-action:pan-x pan-y pinch-zoom!important;
  }
  .fs-episode-card:hover,
  .fs-episode-card:hover img{
    transform:none!important;
    filter:none!important;
  }
}

/* Hero uses JS only for the horizontal gesture. Vertical touch gestures stay
   native so the homepage can still be scrolled normally. */
#slider{
  touch-action:pan-y pinch-zoom!important;
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-touch-callout:none!important;
}
#slider .swiper-wrapper{
  touch-action:pan-y pinch-zoom!important;
  backface-visibility:hidden!important;
  -webkit-backface-visibility:hidden!important;
  will-change:transform!important;
}
#slider.is-dragging .swiper-wrapper{
  transition:none!important;
}
#slider.is-dragging .swiper-slide a,
#slider.is-dragging .swiper-slide img{
  pointer-events:none!important;
}

@media(max-width:760px){
  .w_b-control > .series-progress{
    flex:1 1 138px!important;
    width:auto!important;
    min-width:118px!important;
    max-width:190px!important;
  }
}

/* ========================================================================
   FSOnline v6 — toolbar progress + reliable carousel interaction
   ======================================================================== */

/* The percentage indicator is a real toolbar item now, not a loose bar. */
.w_b-control > .wbc-item.series-progress{
  position:relative!important;
  display:block!important;
  flex:0 0 176px!important;
  width:176px!important;
  height:44px!important;
  min-height:44px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  align-self:center!important;
  cursor:default!important;
  border-radius:13px!important;
  border:1px solid rgba(255,255,255,.09)!important;
  background:linear-gradient(180deg,#1b1b21,#101014)!important;
  box-shadow:0 4px 14px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.04)!important;
  transform:none!important;
}
.w_b-control > .wbc-item.series-progress:hover{
  transform:none!important;
  border-color:rgba(255,255,255,.09)!important;
  background:linear-gradient(180deg,#1b1b21,#101014)!important;
  box-shadow:0 4px 14px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.04)!important;
}
.w_b-control > .wbc-item.series-progress .series-progress__bar{
  position:absolute!important;
  left:0!important;
  top:0!important;
  bottom:0!important;
  height:100%!important;
  min-width:0!important;
  border-radius:12px 0 0 12px!important;
  background:linear-gradient(90deg,#e6a72c 0%,#f2bc42 100%)!important;
  box-shadow:inset -1px 0 0 rgba(255,255,255,.12)!important;
}
.w_b-control > .wbc-item.series-progress .series-progress__num{
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  padding:0 10px!important;
  background:transparent!important;
  border:0!important;
  transform:none!important;
  color:#f7f3ed!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1!important;
  text-shadow:0 1px 5px rgba(0,0,0,.95)!important;
  pointer-events:none!important;
}

/* Episode rails: no forced snapping, no fake touch inertia. Touch devices get
   native browser kinetic scrolling; desktop mouse drag is handled in v6 JS. */
.fs-episode-carousel{
  scroll-snap-type:none!important;
  scroll-behavior:auto!important;
  touch-action:pan-x pan-y pinch-zoom!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-x:contain!important;
  will-change:auto!important;
  cursor:grab!important;
}
.fs-episode-carousel .fs-episode-card,
.fs-episode-carousel .fs-episode-card a,
.fs-episode-carousel .fs-episode-card img{
  touch-action:pan-x pan-y pinch-zoom!important;
}
.fs-episode-carousel.is-dragging{
  cursor:grabbing!important;
  scroll-snap-type:none!important;
}
.fs-episode-carousel.is-dragging .fs-episode-card,
.fs-episode-carousel.is-dragging .fs-episode-card *{
  pointer-events:auto!important;
  transition:none!important;
  transform:none!important;
}
@media (hover:none), (pointer:coarse){
  .fs-episode-carousel{
    cursor:auto!important;
    scroll-snap-type:none!important;
    touch-action:pan-x pan-y pinch-zoom!important;
  }
}

/* The hero is controlled only by fsonline-v6.js. These rules make horizontal
   touch gestures available to it while preserving native vertical page scroll. */
#slider,
#slider .swiper-wrapper,
#slider .swiper-slide,
#slider .swiper-slide a{
  touch-action:pan-y pinch-zoom!important;
}

@media(max-width:760px){
  .w_b-control > .wbc-item.series-progress{
    flex:1 1 148px!important;
    width:auto!important;
    min-width:132px!important;
    max-width:190px!important;
  }
}

/* v8 — subtitle language flags on movie posters (RO / EN), matching the
   compact language treatment used by the DivX template while retaining the
   FSOnline black/red visual system. */
.film-poster{position:relative!important;}
.film-poster .poster-sub-langs{
  position:absolute;
  left:9px;
  bottom:9px;
  z-index:6;
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:4px 5px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:7px;
  background:rgba(7,7,9,.88);
  -webkit-backdrop-filter:blur(7px);
  backdrop-filter:blur(7px);
  box-shadow:0 5px 14px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.05);
  pointer-events:none;
  line-height:1;
}
.film-poster .poster-sub-lang{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:16px;
  padding:1px;
  border-radius:3px;
  background:#0b0b0d;
  box-shadow:0 0 0 1px rgba(214,40,40,.22);
  overflow:hidden;
}
.film-poster .poster-sub-lang img{
  display:block;
  width:20px;
  height:14px;
  object-fit:cover;
  border:0;
  border-radius:2px;
}
@media(max-width:575.98px){
  .film-poster .poster-sub-langs{
    left:7px;
    bottom:7px;
    gap:3px;
    padding:3px 4px;
    border-radius:6px;
  }
  .film-poster .poster-sub-lang{width:20px;height:15px;}
  .film-poster .poster-sub-lang img{width:18px;height:13px;}
}
