/* source block: base */

:root{
  --bg:#050607;
  --bg2:#090a0c;
  --panel:#0d0f12;
  --panel2:#111419;
  --line:#242832;
  --line2:#303541;
  --text:#f4f5f6;
  --muted:#9299a7;
  --red:#f22b35;
  --red2:#d91e28;
  --good:#73d486;
  --shadow:0 22px 70px rgba(0,0,0,.42);
  color-scheme:dark;
}
*{box-sizing:border-box}
html{background:var(--bg);scroll-behavior:smooth}
body{
  margin:0;min-height:100vh;background:var(--bg);color:var(--text);
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  overflow-x:hidden;
}
button,input,select{font:inherit}
button{color:inherit}
.hidden{display:none!important}
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-thumb{background:#4b4f58;border-radius:10px}
::-webkit-scrollbar-track{background:transparent}

/* ---- exact Cineby-style header composition ---- */
.header{
  position:absolute;z-index:90;left:0;right:0;top:0;height:74px;
  display:flex;align-items:center;padding:0 5.6vw;gap:28px;
  background:linear-gradient(180deg,rgba(5,6,7,.72),rgba(5,6,7,.05));
}
.brand{
  border:0;background:transparent;padding:0;display:flex;align-items:center;gap:10px;
  font-size:22px;font-weight:800;letter-spacing:-.035em;cursor:pointer;
}
.brandmark{
  width:38px;height:38px;border-radius:50%;position:relative;display:inline-block;overflow:hidden;
  background:linear-gradient(145deg,#ff3541 0 47%,#d81722 48% 100%);
  box-shadow:0 4px 18px rgba(242,43,53,.18);
}
.brandmark:after{
  content:"";position:absolute;left:13px;top:9px;border-top:10px solid transparent;
  border-bottom:10px solid transparent;border-left:16px solid white;filter:drop-shadow(0 1px 2px #0006)
}
.brandmark:before{
  content:"";position:absolute;inset:0;background:linear-gradient(155deg,rgba(255,255,255,.10),transparent 52%)
}
.header-right{margin-left:auto;display:flex;align-items:center;gap:25px}
.navitem{
  border:0;background:transparent;padding:7px 0;display:flex;align-items:center;gap:7px;
  font-size:13px;font-weight:650;color:#eef0f2;cursor:pointer;
}
.navitem svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none}
.iconbtn{
  width:32px;height:32px;border:0;background:transparent;display:grid;place-items:center;padding:0;cursor:pointer;color:white
}
.iconbtn svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.75;fill:none}
.browse-wrap{position:relative}
.browse-menu{
  position:absolute;right:-80px;top:43px;width:314px;background:rgba(8,10,12,.97);
  border:1px solid var(--line);border-radius:19px;box-shadow:var(--shadow);overflow:hidden;
  backdrop-filter:blur(20px);
}
.browse-title{padding:14px 18px;text-align:center;font-size:14px;font-weight:700;border-bottom:1px solid #171a20}
.browse-body{padding:13px}
.browse-label{font-size:10px;letter-spacing:.13em;color:#8d96a6;margin:0 0 12px 2px;font-weight:700}
.browse-icons{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:15px}
.browse-icon{
  border:0;background:transparent;text-align:center;padding:0;color:#f3f3f3;cursor:pointer;font-size:10px;font-weight:700
}
.browse-icon .square{
  width:38px;height:38px;margin:0 auto 6px;border:1px solid #6e1e24;border-radius:9px;
  display:grid;place-items:center;color:var(--red);font-size:18px;background:#111317
}
.browse-icon.feature .square{border-color:#24354c;color:#4b9bff}
.browse-icon.feature:nth-child(2) .square{border-color:#49264c;color:#d976f1}
.browse-icon.feature:nth-child(3) .square{border-color:#564710;color:#ffd70b}
.browse-personal{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}
.personal{
  border:1px solid var(--line2);background:#111316;border-radius:10px;padding:16px 10px;text-align:center;color:#aaa;cursor:pointer
}
.personal strong{display:block;margin-top:5px;font-size:12px;color:#9ca3ad;font-weight:600}
.adsrow{border:1px solid var(--line2);background:#111316;border-radius:10px;padding:9px 10px;display:flex;align-items:center;gap:9px;color:#9199a7;font-size:12px}
.adspacer{flex:1}
.switch{background:var(--red2);padding:5px 7px 5px 10px;border-radius:999px;color:white;font-size:9px;font-weight:800;display:flex;align-items:center;gap:6px}
.switch-dot{width:19px;height:19px;border-radius:50%;background:#fff}

/* ---- search overlay ---- */
html.search-open,
body.search-open{
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
.search-overlay{
  position:fixed;
  z-index:220;
  inset:0;
  overflow:hidden;
  padding:24px 5.6vw 22px;
  background:rgba(4,5,6,.72);
  backdrop-filter:blur(17px) brightness(.46);
  -webkit-backdrop-filter:blur(17px) brightness(.46);
}
.search-shell{
  width:min(1200px,100%);
  height:100%;
  min-height:0;
  margin:0 auto;
  display:flex;
  flex-direction:column;
}
.search-head{
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
.search-heading{
  margin:0 auto 0 0;
  color:#f1f2f4;
  font-size:27px;
  line-height:1;
  letter-spacing:-.025em;
  font-weight:750;
}
.search-filter-wrap{
  position:relative;
  flex:0 0 auto;
}
.search-filter-btn{
  height:46px;
  min-width:220px;
  padding:0 16px;
  border:1px solid #292f38;
  border-radius:10px;
  background:rgba(10,12,15,.96);
  color:#c8ced8;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  font-size:15px;
  font-weight:560;
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease,color .16s ease;
}
.search-filter-btn:hover,
.search-filter-btn:focus-visible{
  color:#fff;
  border-color:#3c4451;
  background:#0e1115;
  outline:none;
}
.search-filter-chevron{
  width:15px;
  height:15px;
  flex:0 0 15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  transform:rotate(0deg);
  transform-origin:50% 50%;
  transition:transform .22s cubic-bezier(.2,.8,.2,1);
}
.search-filter-wrap.open .search-filter-chevron{
  transform:rotate(180deg);
}
.search-filter-menu{
  position:absolute;
  z-index:40;
  top:51px;
  left:0;
  width:100%;
  min-width:220px;
  padding:6px;
  border:1px solid #292f38;
  border-radius:0 0 12px 12px;
  background:rgba(7,9,12,.995);
  box-shadow:0 18px 48px rgba(0,0,0,.46);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-5px) scaleY(.96);
  transform-origin:top center;
  transition:
    opacity .16s ease,
    transform .20s cubic-bezier(.2,.8,.2,1),
    visibility .16s ease;
}
.search-filter-wrap.open .search-filter-menu{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0) scaleY(1);
}
.search-filter-item{
  width:100%;
  min-height:44px;
  padding:0 14px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#aeb6c3;
  text-align:left;
  font-size:15px;
  font-weight:540;
  cursor:pointer;
}
.search-filter-item:hover{
  color:#fff;
  background:rgba(255,255,255,.045);
}
.search-filter-item.active{
  color:#fff;
  background:rgba(255,255,255,.075);
  font-weight:700;
}

.search-clear{
  width:46px;
  height:46px;
  min-width:46px;
  flex:0 0 46px;
  padding:0;
  border:1px solid #492128;
  border-radius:10px;
  background:rgba(20,16,19,.96);
  color:#b7bdc7;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:border-color .16s ease,color .16s ease,background .16s ease;
}
.search-clear svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
}
.search-clear:hover,
.search-clear:focus-visible{
  border-color:#8c252c;
  color:#ff4a52;
  background:rgba(31,19,22,.97);
  outline:none;
}

.search-input-wrap{
  width:100%;
  height:58px;
  flex:0 0 58px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 18px;
  border:1px solid #272d36;
  border-radius:15px;
  background:rgba(6,8,11,.98);
  color:#929baa;
  transition:border-color .16s ease,box-shadow .16s ease;
}
.search-input-wrap:focus-within{
  border-color:#3e4857;
  box-shadow:0 0 0 1px rgba(255,255,255,.018);
}
.search-icon{
  width:23px;
  height:23px;
  flex:0 0 23px;
}
.search-icon svg{
  width:23px;
  height:23px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.search-input-wrap input{
  min-width:0;
  flex:1;
  padding:0;
  border:0;
  outline:0;
  background:transparent;
  color:#f1f3f6;
  font-size:18px;
  font-weight:450;
}
.search-input-wrap input::placeholder{
  color:#8f98a7;
}

.search-history{
  width:100%;
  margin-top:12px;
  padding:19px 24px 17px;
  border:1px solid #252b34;
  border-radius:17px;
  background:rgba(7,9,12,.95);
}
.search-history.hidden{display:none!important}
.search-history-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-bottom:9px;
}
.search-history-title{
  color:#7f8999;
  font-size:12px;
  line-height:1;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:700;
}
.search-history-clear{
  border:0;
  padding:4px;
  background:transparent;
  color:#667183;
  font-size:12px;
  cursor:pointer;
}
.search-history-clear:hover{color:#c7ccd4}
.search-history-list{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.search-history-item{
  width:100%;
  min-height:40px;
  padding:0 8px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#aeb7c6;
  display:flex;
  align-items:center;
  gap:11px;
  text-align:left;
  font-size:15px;
  cursor:pointer;
}
.search-history-item:hover{
  color:#fff;
  background:rgba(255,255,255,.035);
}
.search-history-item svg{
  width:18px;
  height:18px;
  flex:0 0 18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

#searchResults{
  width:100%;
  flex:1;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  margin-top:12px;
  padding:0 4px 44px;
  scrollbar-gutter:stable;
}
#searchResults:empty{margin-top:0;padding:0}
#searchResults .page{
  min-height:0;
  padding:18px 0 50px;
}
#searchResults .page-title{
  margin-bottom:22px;
}
#searchResults .page-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

@media(max-width:900px){
  .search-overlay{padding:18px 15px 18px}
  .search-heading{font-size:24px}
  .search-filter-btn{min-width:175px}
  .search-shell{width:100%}
  #searchResults .page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ---- hero ---- */
.hero{
  min-height:805px;height:88vh;position:relative;background:#090a0c;overflow:hidden;
}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center 22%;transform:scale(1.005)}
.hero-bg:after{
  content:"";position:absolute;inset:0;background:
  linear-gradient(90deg,rgba(4,5,6,.96) 0%,rgba(4,5,6,.79) 29%,rgba(4,5,6,.33) 58%,rgba(4,5,6,.02) 83%),
  linear-gradient(0deg,var(--bg) 0%,rgba(5,6,7,.88) 7%,transparent 34%),
  linear-gradient(180deg,rgba(4,5,6,.35),transparent 22%);
}
.hero-copy{
  position:absolute;z-index:4;left:5.6vw;bottom:18.2%;width:min(645px,49vw)
}
.hero-title{
  margin:0 0 18px;font-size:48px;line-height:.96;letter-spacing:-.045em;font-weight:900;
  text-transform:uppercase;text-shadow:0 3px 20px rgba(0,0,0,.35)
}
.meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:13px;color:#c8cbd0;margin-bottom:12px}
.meta .star{color:var(--red);font-size:15px}
.meta .rating{color:#ff6b70;font-weight:700}
.dotsep{color:#737982}
.hero-desc,.detail-desc{font-size:14px;line-height:1.55;color:#d0d2d6;max-width:620px}
.hero-desc{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.actions{display:flex;align-items:center;gap:11px;margin-top:22px}
.btn{
  height:46px;border-radius:28px;padding:0 22px;border:1px solid #353a44;
  background:rgba(22,24,29,.74);color:#f2f3f4;font-size:14px;font-weight:650;
  display:inline-flex;align-items:center;gap:9px;cursor:pointer
}
.btn.primary{background:#f2f3f4;color:#121315;border-color:#f2f3f4;min-width:127px;justify-content:center}
.btn.icon{width:46px;padding:0;justify-content:center;font-size:22px}
.btn svg{width:18px;height:18px;stroke:currentColor;stroke-width:2;fill:none}
.hero-pips{position:absolute;z-index:5;right:5.6vw;bottom:15%;display:flex;gap:7px}
.pip{width:7px;height:7px;border:0;padding:0;background:#777d86;border-radius:10px;cursor:pointer}
.pip.active{width:24px;background:white}

/* ---- page sections ---- */
.content{position:relative;z-index:6;margin-top:-30px;padding-bottom:70px;background:var(--bg)}
.section{padding:20px 5.6vw 26px}
.section-title-row{display:flex;align-items:flex-end;margin-bottom:17px;gap:12px}
.section-title{
  margin:0;font-size:24px;letter-spacing:-.025em;font-weight:750;position:relative;padding-left:14px
}
.section-title:before{content:"";position:absolute;left:0;top:2px;bottom:2px;width:3px;background:var(--red)}
.section-controls{margin-left:auto;display:flex;gap:28px;border-bottom:1px solid #2a2e35;height:38px}
.section-tab{
  border:0;background:transparent;color:#9299a7;padding:0 0 11px;font-size:12px;cursor:pointer;position:relative
}
.section-tab.active{color:white;font-weight:700}
.section-tab.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--red)}
.row-wrap{position:relative}
.row-scroll{
  display:grid;grid-auto-flow:column;grid-auto-columns:minmax(292px,23.1vw);gap:10px;
  overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding:2px 2px 12px;scroll-snap-type:x proximity
}
.row-scroll::-webkit-scrollbar{display:none}
.media-card{border:0;background:transparent;padding:0;color:white;text-align:left;min-width:0;scroll-snap-align:start;cursor:pointer}
.landscape{
  aspect-ratio:16/9;background:#11151a;border:1px solid #242832;border-radius:8px;overflow:hidden;position:relative
}
.landscape img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .15s ease;filter:saturate(.96) brightness(.97)}
.media-card:hover .landscape img,.media-card:focus .landscape img{transform:scale(1.025)}
.media-title{font-size:13px;font-weight:650;margin:9px 2px 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.media-sub{font-size:11px;color:#8d95a3;margin:0 2px;display:flex;align-items:center;gap:7px}
.media-sub .star{color:var(--red)}
.arrow{
  position:absolute;z-index:12;top:50%;transform:translateY(-66%);width:42px;height:86px;border:0;
  display:grid;place-items:center;background:rgba(10,12,15,.82);color:white;font-size:42px;cursor:pointer
}
.arrow.left{left:0;border-radius:0 8px 8px 0}
.arrow.right{right:0;border-radius:8px 0 0 8px}

/* top 10 portrait cards */
.top10 .row-scroll{grid-auto-columns:minmax(180px,13.2vw);gap:11px}
.top10 .landscape{aspect-ratio:2/3}
.top-ribbon{
  position:absolute;z-index:3;left:0;top:0;width:34px;height:42px;background:var(--red);
  clip-path:polygon(0 0,100% 0,100% 100%,50% 84%,0 100%);display:grid;place-items:start center;
  padding-top:6px;color:white;font-size:9px;line-height:1.05;font-weight:850;text-align:center
}

/* section dropdown menus */
.section-dropdown{position:relative;display:inline-flex;align-items:center;gap:7px;cursor:pointer}
.chev{font-size:18px;color:#a9afb9;transform:translateY(-1px)}
.category-menu{
  position:absolute;z-index:30;left:12px;top:42px;width:220px;background:rgba(12,13,16,.98);
  border:1px solid #272b33;border-radius:0 0 16px 16px;box-shadow:var(--shadow);overflow:hidden
}
.category-opt{
  height:45px;width:100%;border:0;background:transparent;color:#e4e6e8;text-align:left;padding:0 14px;
  display:flex;align-items:center;gap:10px;font-size:13px;cursor:pointer
}
.category-opt:hover,.category-opt.active{background:linear-gradient(90deg,rgba(242,43,53,.22),transparent);color:var(--red)}
.cat-icon{
  width:27px;height:27px;border-radius:50%;border:1px solid #2d3138;display:grid;place-items:center;background:#181b20;color:#d5d7da
}

/* ---- footer and scroll top ---- */
.footer{padding:30px 5.6vw 80px;color:#ccc;font-size:15px}
.to-top{
  position:fixed;z-index:70;right:28px;bottom:24px;width:46px;height:46px;border-radius:50%;
  border:1px solid #2d323b;background:#0e1115;color:white;display:grid;place-items:center;font-size:23px;cursor:pointer
}

/* ---- detail page ---- */
.detail{position:fixed;z-index:180;inset:0;background:var(--bg);overflow-y:auto}
.detail-hero{height:82vh;min-height:650px;position:relative;overflow:hidden}
.detail-bg{position:absolute;inset:0;background-size:cover;background-position:center 19%}
.detail-bg:after{
  content:"";position:absolute;inset:0;background:
  linear-gradient(90deg,rgba(4,5,6,.95) 0%,rgba(4,5,6,.68) 30%,rgba(4,5,6,.15) 63%,rgba(4,5,6,.01)),
  linear-gradient(0deg,var(--bg) 0%,rgba(5,6,7,.72) 12%,transparent 43%);
}
.detail-back{
  position:absolute;z-index:9;top:24px;left:30px;width:51px;height:51px;border-radius:50%;
  border:1px solid #343943;background:rgba(26,28,33,.7);display:grid;place-items:center;font-size:28px;cursor:pointer
}
.detail-copy{position:absolute;z-index:6;left:6vw;bottom:17%;width:min(655px,50vw)}
.detail-logo-title{
  margin:0 0 17px;font-size:44px;line-height:.98;letter-spacing:-.055em;font-weight:900;text-transform:uppercase
}
.detail-desc{max-width:620px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.detail-lower{padding:8px 6vw 70px}
.detail-section{margin-bottom:48px}
.detail-heading{font-size:23px;margin:0 0 20px;padding-left:15px;position:relative}
.detail-heading:before{content:"";position:absolute;left:0;top:1px;bottom:1px;width:3px;background:var(--red)}
.actor-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.actor-card{height:82px;border:1px solid #1e2229;border-radius:12px;background:#090b0e;display:flex;align-items:center;padding:10px 13px;gap:12px}
.actor-avatar{width:52px;height:52px;border-radius:50%;background:#20242a;display:grid;place-items:center;font-size:17px;color:#cfd2d8;flex:none}
.actor-name{font-size:13px;font-weight:700}.actor-role{font-size:11px;color:#93a1c2;margin-top:4px}
.like-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}
.like-grid .media-card{min-width:0}
.episode-toolbar{display:flex;align-items:center;gap:12px;margin:0 0 18px}
.season-select{background:#111419;border:1px solid #2a2f38;color:white;border-radius:8px;padding:9px 12px}
.episode-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.episode-card{border:1px solid #222730;background:#0b0d10;border-radius:9px;padding:0;overflow:hidden;color:white;text-align:left;cursor:pointer}
.ep-image{aspect-ratio:16/9;background:#15181d}.ep-image img{width:100%;height:100%;object-fit:cover}
.ep-copy{padding:10px}.ep-title{font-size:12px;font-weight:700}.ep-sub{font-size:10px;color:#8f97a4;margin-top:4px}

/* ---- browse/list/search pages ---- */
.page{padding:95px 5.6vw 70px;min-height:100vh}
.page-title{font-size:28px;margin:0 0 22px;padding-left:15px;position:relative}
.page-title:before{content:"";position:absolute;left:0;top:2px;bottom:2px;width:3px;background:var(--red)}
.page-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.page-grid .media-card{min-width:0}
.loading,.error,.empty{padding:130px 6vw;color:#9aa1ad}
.error{color:#ff747b}

/* ---- VidKing player ---- */
.player{position:fixed;z-index:260;inset:0;background:#000}
.player iframe{width:100%;height:100%;border:0;background:#000}
.player-back{
  position:absolute;z-index:4;top:19px;left:19px;width:46px;height:46px;border:1px solid #ffffff3b;
  background:#111317cc;color:white;border-radius:50%;font-size:27px;display:grid;place-items:center;cursor:pointer
}

/* tv/lightweight mode */
body.tv .landscape img{transition:none}
body.tv .section{content-visibility:auto;contain:layout paint style;contain-intrinsic-size:400px}
body.tv .browse-menu{backdrop-filter:none}
body.tv .header{background:linear-gradient(180deg,#050607ef,#05060766,transparent)}
body.tv .media-card:hover .landscape img,body.tv .media-card:focus .landscape img{transform:none}

@media(max-width:900px){
  .header{height:64px;padding:0 17px}.brand{font-size:18px}.brandmark{width:31px;height:31px}.brandmark:after{left:11px;top:7px;border-top-width:8px;border-bottom-width:8px;border-left-width:13px}
  .header-right{gap:13px}.navitem{font-size:0}.navitem svg{width:20px;height:20px}.hero{height:76vh;min-height:560px}
  .hero-copy{left:20px;bottom:11%;width:88vw}.hero-title{font-size:39px}.hero-desc{font-size:13px}.hero-pips{right:18px;bottom:6%}
  .content{margin-top:-10px}.section{padding:16px 15px 22px}.section-title{font-size:20px}.row-scroll{grid-auto-columns:78vw}
  .top10 .row-scroll{grid-auto-columns:42vw}.section-controls{gap:18px}.arrow{display:none}
  .actor-grid{grid-template-columns:1fr}.like-grid{grid-template-columns:repeat(2,1fr)}.episode-grid{grid-template-columns:1fr}
  .detail-copy{left:22px;bottom:15%;width:88vw}.detail-logo-title{font-size:39px}.detail-lower{padding-left:22px;padding-right:22px}
  .page{padding:82px 15px 50px}.page-grid{grid-template-columns:repeat(2,1fr)}
}


/* source block: cinereel-build6-fixes */

.brandmark{display:none!important}
.brandmark-img{
  width:39px;height:39px;object-fit:contain;display:block;flex:none;
  filter:drop-shadow(0 4px 16px rgba(242,43,53,.16));
}
body.detail-open,body.player-open{overflow:hidden!important}
.detail{
  overflow-y:auto!important;overflow-x:hidden!important;
  overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch;
}
.detail-title-image{
  display:block;max-width:min(420px,36vw);max-height:126px;width:auto;height:auto;
  object-fit:contain;object-position:left center;margin:0 0 18px;
  filter:drop-shadow(0 5px 16px rgba(0,0,0,.42));
}
.detail-trailer-layer{
  position:absolute;inset:0;z-index:2;background:#000;opacity:0;
  transition:opacity .34s ease;pointer-events:none;overflow:hidden
}
.detail-trailer-layer.active{opacity:1}
.detail-trailer-layer iframe{
  position:absolute;left:50%;top:50%;border:0;max-width:none;max-height:none;
  transform:translate(-50%,-50%);
}
.detail-bg{transition:opacity .34s ease}
.detail-hero.trailer-playing .detail-bg{opacity:0}
.detail-mute{
  position:absolute;z-index:11;top:24px;right:30px;width:51px;height:51px;border-radius:50%;
  border:1px solid #343943;background:rgba(26,28,33,.72);display:grid;place-items:center;
  padding:0;cursor:pointer;color:white
}
.detail-mute svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8}
.actor-avatar.photo{overflow:hidden;padding:0;background:#16191e}
.actor-avatar.photo img{width:100%;height:100%;object-fit:cover;display:block}
.movie-runtime{white-space:nowrap}
.top10 .landscape img{object-fit:cover}
@media(max-width:900px){
  .brandmark-img{width:32px;height:32px}
  .detail-title-image{max-width:min(330px,72vw);max-height:105px}
}


/* source block: cinereel-build7-polish */

/* Cineby-like interaction polish */
.media-title{transition:color .16s ease}
.media-card:hover .media-title,.media-card:focus .media-title{color:var(--red)!important}
.btn,.navitem,.iconbtn,.browse-icon,.personal,.section-tab,.to-top{
  transition:color .16s ease,border-color .16s ease,background .16s ease,opacity .22s ease,transform .16s ease
}
.btn:hover{border-color:#555b67;background:rgba(34,37,44,.90)}
.btn.primary:hover{background:#fff;transform:translateY(-1px)}
.navitem:hover,.iconbtn:hover{color:#fff;opacity:.82}
.section-tab:after{transition:transform .18s ease,opacity .18s ease}
.landscape{transition:border-color .16s ease,transform .16s ease}
.media-card:hover .landscape,.media-card:focus .landscape{border-color:#3c424d}
.hero.hero-returning .hero-copy{animation:cinebyHeroDrop .56s cubic-bezier(.16,1,.3,1) both}
.hero.hero-returning .hero-title{animation:cinebyHeroDrop .50s cubic-bezier(.16,1,.3,1) both}
.hero.hero-returning .meta{animation:cinebyHeroDrop .55s .035s cubic-bezier(.16,1,.3,1) both}
.hero.hero-returning .hero-desc{animation:cinebyHeroDrop .58s .065s cubic-bezier(.16,1,.3,1) both}
.hero.hero-returning .actions{animation:cinebyHeroDrop .60s .095s cubic-bezier(.16,1,.3,1) both}
@keyframes cinebyHeroDrop{
  from{opacity:0;transform:translate3d(0,-32px,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}
.to-top{
  opacity:0!important;visibility:hidden;pointer-events:none!important;
  transform:translateY(12px) scale(.94)
}
.to-top.visible{
  opacity:1!important;visibility:visible;pointer-events:auto!important;
  transform:translateY(0) scale(1)
}
.to-top svg,.detail-back svg,.player-back svg,.search-close svg,.arrow svg,
.square svg,.personal>svg,.adsrow>svg{
  width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round
}
.arrow svg{width:31px;height:31px}
.detail-back svg,.player-back svg{width:24px;height:24px}
.search-close svg{width:22px;height:22px}
.browse-icon .square{font-size:0}
.personal{display:flex;flex-direction:column;align-items:center;justify-content:center}
.personal>svg{width:21px;height:21px}
.adsrow>svg{width:18px;height:18px}
.browse-chevron-icon{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2}
.media-sub .score-value{min-width:18px}
body.tv .hero.hero-returning .hero-copy,
body.tv .hero.hero-returning .hero-title,
body.tv .hero.hero-returning .meta,
body.tv .hero.hero-returning .hero-desc,
body.tv .hero.hero-returning .actions{animation-duration:.24s}


/* source block: cinereel-build8-fidelity */

/* ---- Cineby card composition ---- */
.landscape{position:relative;background:#0b0d10}
.card-title-logo{
  position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);
  max-width:68%;max-height:43%;width:auto;height:auto;object-fit:contain;
  filter:drop-shadow(0 3px 10px rgba(0,0,0,.58));pointer-events:none;
}
.top10 .card-title-logo{display:none}
.media-card:hover .card-title-logo,.media-card:focus .card-title-logo{
  transform:translate(-50%,-50%) scale(1.015)
}
.card-title-logo{transition:transform .16s ease}

/* ---- Cineby side-scroll controls ---- */
.row-wrap{position:relative}
.arrow{
  top:2px!important;bottom:43px!important;height:auto!important;transform:none!important;
  width:50px!important;border:1px solid rgba(255,255,255,.045)!important;
  background:rgba(9,11,14,.79)!important;color:#f3f4f5!important;
  opacity:.98!important;border-radius:0!important;
  backdrop-filter:blur(3px);box-shadow:none!important
}
.arrow.left{left:0!important;border-radius:8px 0 0 8px!important}
.arrow.right{right:0!important;border-radius:0 8px 8px 0!important}
.arrow:hover{background:rgba(14,16,20,.92)!important}
.arrow svg{width:32px!important;height:32px!important;stroke-width:1.55!important}

/* ---- Cineby dropdown trigger ---- */
.section-dropdown{
  position:relative;display:inline-flex!important;align-items:center!important;gap:8px!important;
  cursor:pointer;padding-bottom:7px
}
.section-dropdown .section-title{pointer-events:none}
.section-dropdown .chev{
  display:flex;align-items:center;justify-content:center;width:17px;height:17px;
  color:#9199a6;font-size:0;transition:transform .23s cubic-bezier(.2,.8,.2,1),color .18s ease
}
.section-dropdown .chev::before{
  content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px)
}
.section-dropdown.menu-open .chev{transform:rotate(180deg);color:var(--red)}
#netflix .section-dropdown::after{
  content:"";position:absolute;height:2px;background:var(--red);left:14px;right:25px;bottom:0
}

/* ---- Cineby dropdown panel positioning + animation ---- */
.category-menu{
  display:block!important;left:14px!important;top:-3px!important;width:218px!important;
  max-height:352px;overflow-y:auto;overflow-x:hidden;
  background:rgba(11,12,15,.985)!important;border:1px solid #262b33!important;
  border-radius:0 0 16px 16px!important;box-shadow:0 18px 48px rgba(0,0,0,.42)!important;
  transform-origin:top left;opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(-8px) scaleY(.94);
  transition:opacity .18s ease,transform .22s cubic-bezier(.2,.8,.2,1),visibility .18s ease!important;
}
.category-menu.open{
  opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scaleY(1)
}
.category-menu::-webkit-scrollbar{width:4px}
.category-menu::-webkit-scrollbar-thumb{background:#858991;border-radius:99px}
.category-opt{
  min-height:46px!important;height:46px!important;padding:0 13px!important;
  font-size:13px!important;font-weight:600!important;border-radius:0!important
}
.category-opt:hover,.category-opt.active{
  background:linear-gradient(90deg,rgba(242,43,53,.17),rgba(242,43,53,.04),transparent)!important
}
.category-opt.active{color:var(--red)!important}
.cat-icon{width:28px!important;height:28px!important;font-size:13px!important}

/* ---- Actor cards: match Cineby proportions more closely ---- */
.actor-card{min-height:82px}
.actor-avatar{width:54px!important;height:54px!important}
.actor-name{font-size:13px!important}
.actor-role{font-size:11px!important;color:#91a4cf!important}

/* ---- slightly more modern row/card easing ---- */
.media-card{transition:transform .16s ease}
.media-card:hover,.media-card:focus{transform:translateY(-1px)}
.media-title{font-weight:650}

/* TV: keep animations short */
body.tv .category-menu{transition-duration:.12s!important}
body.tv .card-title-logo{transition:none}


/* source block: cinereel-build9-settings */

.ads-toggle{
  border:0;cursor:pointer;min-width:57px;justify-content:space-between;
  background:#24272d!important;color:#aeb4be!important;
  padding:5px 6px 5px 9px!important;
}
.ads-toggle .switch-dot{
  width:19px;height:19px;border-radius:50%;background:#fff;
  transform:translateX(-27px);
  transition:transform .18s cubic-bezier(.2,.8,.2,1);
  order:-1;
}
.ads-toggle .switch-label{min-width:20px;text-align:center}
.ads-toggle.on{
  background:var(--red2)!important;color:#fff!important;
}
.ads-toggle.on .switch-dot{
  transform:translateX(27px);
}
.ads-toggle.off .switch-label{color:#aeb4be}
body.tv .ads-toggle .switch-dot{transition-duration:.10s}


/* source block: cinereel-build12-fixes */

.ads-toggle{
  position:relative!important;display:block!important;width:76px!important;min-width:76px!important;
  height:34px!important;padding:0!important;border-radius:999px!important;overflow:hidden!important
}
.ads-toggle .switch-dot{
  position:absolute!important;top:5px!important;left:5px!important;width:24px!important;height:24px!important;
  margin:0!important;transform:none!important;order:0!important;
  transition:left .18s cubic-bezier(.2,.8,.2,1)!important
}
.ads-toggle .switch-label{
  position:absolute!important;top:0!important;right:9px!important;height:34px!important;line-height:34px!important;
  min-width:0!important;font-size:10px!important;font-weight:800!important;text-align:center!important
}
.ads-toggle.on .switch-dot{left:47px!important}
.ads-toggle.on .switch-label{left:10px!important;right:auto!important;color:#fff!important}
.ads-toggle.off .switch-dot{left:5px!important}
.ads-toggle.off .switch-label{right:9px!important;left:auto!important;color:#aeb4be!important}

.hero{
  cursor:grab!important;touch-action:pan-y!important;user-select:none!important;-webkit-user-select:none!important
}
.hero.hero-dragging{cursor:grabbing!important}
.hero-viewport{position:absolute;inset:0;overflow:hidden;z-index:0}
.hero-strip{
  height:100%;display:flex;will-change:transform;transform:translate3d(0,0,0);
  transition:transform .46s cubic-bezier(.22,.82,.22,1)
}
.hero.hero-dragging .hero-strip{transition:none!important}
.hero-slide{position:relative;flex:0 0 100%;width:100%;height:100%;overflow:hidden}
.hero-slide .hero-bg{position:absolute;inset:0}
.hero-slide .hero-copy{position:absolute}
.hero-pips{z-index:9!important}
.hero-slide button,.hero-pips button{pointer-events:auto}
body.tv .hero-strip{transition-duration:.24s}


/* source block: cinereel-build13-detail-polish */

/* Exact-size circular preview controls */
.detail-back,
.detail-mute{
  width:52px!important;
  height:52px!important;
  min-width:52px!important;
  min-height:52px!important;
  max-width:52px!important;
  max-height:52px!important;
  padding:0!important;
  margin:0!important;
  border-radius:50%!important;
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  background:rgba(18,20,24,.78)!important;
  border:1px solid #373c46!important;
  color:#f4f5f6!important;
  transition:border-color .17s ease,color .17s ease,background .17s ease,transform .17s ease!important;
}
.detail-back{top:24px!important;left:30px!important}
.detail-mute{top:24px!important;right:30px!important}
.detail-back svg,
.detail-mute svg{
  width:22px!important;
  height:22px!important;
  stroke-width:1.75!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.detail-back:hover,
.detail-back:focus-visible{
  border-color:#8f2026!important;
  color:#ff4a52!important;
  background:rgba(31,20,22,.88)!important;
  outline:none!important;
}
.detail-back:hover svg,
.detail-back:focus-visible svg{stroke:#ff4a52!important}
.detail-back:active{transform:scale(.96)}

/* Cineby-size preview action buttons */
.detail-copy .actions{
  gap:12px!important;
  align-items:center!important;
  margin-top:24px!important;
}
.detail-copy .btn{
  height:48px!important;
  border-radius:999px!important;
  border:1px solid #3a3f48!important;
  background:rgba(29,31,35,.86)!important;
  color:#f2f3f4!important;
  padding:0 20px!important;
  gap:10px!important;
  font-size:14px!important;
  font-weight:650!important;
}
.detail-copy .btn svg{
  width:18px!important;height:18px!important;stroke-width:1.75!important
}
.detail-copy .btn.primary{
  width:128px!important;
  min-width:128px!important;
  height:50px!important;
  background:#f3f4f5!important;
  border-color:#f3f4f5!important;
  color:#101214!important;
  justify-content:center!important;
  padding:0 21px!important;
}
.detail-copy .btn.icon{
  width:52px!important;
  min-width:52px!important;
  height:52px!important;
  padding:0!important;
  justify-content:center!important;
  border-color:#565b63!important;
  background:rgba(29,31,35,.86)!important;
}
.detail-copy [data-download]{min-width:142px!important;justify-content:center!important}
.detail-copy [data-similars]{min-width:126px!important;justify-content:center!important}
.detail-copy .btn:hover{
  background:rgba(39,42,47,.94)!important;
  border-color:#555b65!important;
}
.detail-copy .btn.primary:hover{
  background:#fff!important;border-color:#fff!important;color:#101214!important
}

/* Description stays laid out but fades away unless the mouse is near it.
   Touch/TV keep it visible because there is no hover cursor. */
@media (hover:hover) and (pointer:fine){
  .detail-desc{
    opacity:0;
    visibility:hidden;
    transform:translateY(-5px);
    transition:opacity .19s ease,transform .19s ease,visibility .19s ease!important;
    pointer-events:none;
  }
  .detail.description-near .detail-desc,
  .detail-copy:hover .detail-desc{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
  }
}
body.tv .detail-desc{opacity:1!important;visibility:visible!important;transform:none!important}

/* Actor area can expand for richer casts without becoming oversized. */
.actor-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.actor-card{
  min-width:0!important;
}
@media(max-width:900px){
  .detail-back,.detail-mute{
    width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important;
    max-width:50px!important;max-height:50px!important
  }
  .actor-grid{grid-template-columns:1fr!important}
}


/* source block: cinereel-build15-detail-motion */

/*
  When the synopsis is hidden, Cineby's title/meta/actions settle lower into
  the hero instead of leaving a synopsis-sized empty gap.
*/
.detail-copy{
  --desc-shift:72px;
  transition:transform .26s cubic-bezier(.2,.8,.2,1)!important;
}

@media (hover:hover) and (pointer:fine){
  .detail:not(.description-near) .detail-copy{
    transform:translate3d(0,var(--desc-shift),0);
  }

  .detail:not(.description-near) .detail-desc{
    opacity:0!important;
    visibility:hidden!important;
    max-height:0!important;
    margin-top:0!important;
    margin-bottom:0!important;
    overflow:hidden!important;
    transform:translateY(-8px)!important;
    pointer-events:none!important;
  }

  .detail.description-near .detail-copy,
  .detail-copy:hover{
    transform:translate3d(0,0,0);
  }

  .detail.description-near .detail-desc,
  .detail-copy:hover .detail-desc{
    opacity:1!important;
    visibility:visible!important;
    max-height:150px!important;
    margin-top:0!important;
    margin-bottom:0!important;
    transform:translateY(0)!important;
  }

  .detail-desc{
    transition:
      opacity .19s ease,
      transform .19s ease,
      max-height .25s cubic-bezier(.2,.8,.2,1),
      visibility .19s ease!important;
  }
}

/* Touch and TV always keep the full information block in its normal position. */
@media (hover:none), (pointer:coarse){
  .detail-copy{transform:none!important}
  .detail-desc{
    opacity:1!important;
    visibility:visible!important;
    max-height:none!important;
    transform:none!important;
  }
}
body.tv .detail-copy{transform:none!important}


/* source block: cinereel-build16-button-and-detail-motion */

/* ------------------------------------------------------------
   Detail preview:
   - Buttons stay completely fixed.
   - Synopsis keeps its layout space while hidden.
   - Only title/logo + metadata settle downward into that space.
   ------------------------------------------------------------ */
.detail-copy{
  --desc-space:76px;
  --title-settle:58px;
  transform:none!important;
}

@media (hover:hover) and (pointer:fine){
  .detail-desc{
    min-height:var(--desc-space)!important;
    height:var(--desc-space)!important;
    max-height:var(--desc-space)!important;
    overflow:hidden!important;
    margin:0!important;
    transition:opacity .19s ease,transform .19s ease,visibility .19s ease!important;
  }

  /* Hidden synopsis still reserves its exact space, so actions never move. */
  .detail:not(.description-near) .detail-desc{
    opacity:0!important;
    visibility:hidden!important;
    transform:translateY(-6px)!important;
    pointer-events:none!important;
  }

  .detail.description-near .detail-desc,
  .detail-copy:hover .detail-desc{
    opacity:1!important;
    visibility:visible!important;
    transform:translateY(0)!important;
  }

  /* Only the giant title/logo and its metadata move down. */
  .detail-title-image,
  .detail-logo-title,
  .detail-copy > .meta{
    transition:transform .27s cubic-bezier(.2,.8,.2,1)!important;
  }

  .detail:not(.description-near) .detail-title-image,
  .detail:not(.description-near) .detail-logo-title,
  .detail:not(.description-near) .detail-copy > .meta{
    transform:translate3d(0,var(--title-settle),0)!important;
  }

  .detail.description-near .detail-title-image,
  .detail.description-near .detail-logo-title,
  .detail.description-near .detail-copy > .meta,
  .detail-copy:hover .detail-title-image,
  .detail-copy:hover .detail-logo-title,
  .detail-copy:hover > .meta{
    transform:translate3d(0,0,0)!important;
  }

  /* Actions are intentionally never transformed. */
  .detail-copy > .actions{
    transform:none!important;
  }
}

/* Touch/TV keep the full information block visible and stationary. */
@media (hover:none), (pointer:coarse){
  .detail-copy{transform:none!important}
  .detail-desc{
    min-height:0!important;height:auto!important;max-height:none!important;
    opacity:1!important;visibility:visible!important;transform:none!important;
  }
  .detail-title-image,.detail-logo-title,.detail-copy > .meta,.detail-copy > .actions{
    transform:none!important;
  }
}
body.tv .detail-copy,
body.tv .detail-title-image,
body.tv .detail-logo-title,
body.tv .detail-copy > .meta,
body.tv .detail-copy > .actions{transform:none!important}

/* ------------------------------------------------------------
   Cineby-like hero button hover glow.
   ------------------------------------------------------------ */
.hero-copy .btn{
  transition:
    background .17s ease,
    border-color .17s ease,
    color .17s ease,
    box-shadow .18s ease,
    transform .17s ease!important;
}

.hero-copy .btn.primary:hover,
.hero-copy .btn.primary:focus-visible{
  background:#fff!important;
  border-color:#fff!important;
  color:#101214!important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.18),
    0 0 20px rgba(242,43,53,.42),
    0 0 34px rgba(242,43,53,.16)!important;
  transform:translateY(-1px);
  outline:none!important;
}

.hero-copy .btn:not(.primary):hover,
.hero-copy .btn:not(.primary):focus-visible{
  color:#fff!important;
  border-color:rgba(242,43,53,.78)!important;
  background:rgba(25,27,31,.92)!important;
  box-shadow:
    inset 0 0 0 1px rgba(242,43,53,.20),
    0 0 18px rgba(242,43,53,.36),
    0 0 30px rgba(242,43,53,.12)!important;
  outline:none!important;
}

body.tv .hero-copy .btn:hover,
body.tv .hero-copy .btn:focus-visible{
  box-shadow:none!important;
  transform:none!important;
}


/* source block: cinereel-build17-controls */

.detail-mute:hover,
.detail-mute:focus-visible{
  border-color:#8f2026!important;
  color:#ff4a52!important;
  background:rgba(31,20,22,.88)!important;
  outline:none!important;
}
.detail-mute:hover svg,
.detail-mute:focus-visible svg{
  stroke:#ff4a52!important;
}
.detail-mute:active{
  transform:scale(.96);
}


/* source block: cinereel-build18-detail-meta-hide */

.detail-copy{
  --meta-space:24px;
  --desc-space:76px;
  --title-settle:70px;
}

@media (hover:hover) and (pointer:fine){
  /* Reserve the same vertical space even while hidden. */
  .detail-copy > .meta{
    min-height:var(--meta-space)!important;
    height:var(--meta-space)!important;
    max-height:var(--meta-space)!important;
    overflow:hidden!important;
    margin-bottom:12px!important;
    transition:opacity .18s ease,transform .18s ease,visibility .18s ease!important;
  }

  .detail-desc{
    min-height:var(--desc-space)!important;
    height:var(--desc-space)!important;
    max-height:var(--desc-space)!important;
    overflow:hidden!important;
  }

  /* Hide rating/year/runtime/genres together with the description. */
  .detail:not(.description-near) .detail-copy > .meta,
  .detail:not(.description-near) .detail-desc{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }

  .detail:not(.description-near) .detail-copy > .meta{
    transform:translateY(-5px)!important;
  }

  .detail:not(.description-near) .detail-desc{
    transform:translateY(-7px)!important;
  }

  .detail.description-near .detail-copy > .meta,
  .detail.description-near .detail-desc,
  .detail-copy:hover > .meta,
  .detail-copy:hover .detail-desc{
    opacity:1!important;
    visibility:visible!important;
    transform:translateY(0)!important;
  }

  /* Only the giant movie logo/title moves into the hidden info space. */
  .detail:not(.description-near) .detail-title-image,
  .detail:not(.description-near) .detail-logo-title{
    transform:translate3d(0,var(--title-settle),0)!important;
  }

  .detail.description-near .detail-title-image,
  .detail.description-near .detail-logo-title,
  .detail-copy:hover .detail-title-image,
  .detail-copy:hover .detail-logo-title{
    transform:translate3d(0,0,0)!important;
  }

  /* Buttons must never move. */
  .detail-copy > .actions{
    transform:none!important;
  }
}

@media (hover:none), (pointer:coarse){
  .detail-copy > .meta,
  .detail-desc{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
  }
}
body.tv .detail-copy > .meta,
body.tv .detail-desc{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
}


/* source block: cinereel-build19-nav-hover-dropdown-arrows */

/* ------------------------------------------------------------
   Cineby-style red hover/focus treatment for header navigation.
   Padding/borders are present at rest so nothing shifts on hover.
   ------------------------------------------------------------ */
.header .navitem{
  min-height:38px!important;
  padding:7px 10px!important;
  margin:0!important;
  border:1px solid transparent!important;
  border-radius:9px!important;
  box-sizing:border-box!important;
  transition:
    color .17s ease,
    background .17s ease,
    border-color .17s ease,
    box-shadow .18s ease!important;
}
.header .navitem:hover,
.header .navitem:focus-visible{
  color:#ff454e!important;
  background:rgba(28,24,25,.92)!important;
  border-color:rgba(242,43,53,.20)!important;
  box-shadow:
    inset 0 0 0 1px rgba(242,43,53,.05),
    0 0 17px rgba(242,43,53,.12)!important;
  outline:none!important;
}
.header .navitem:hover svg,
.header .navitem:focus-visible svg{
  stroke:#ff454e!important;
}
.header .navitem:hover #browseChevron,
.header .navitem:focus-visible #browseChevron{
  stroke:#ff454e!important;
}

.header .iconbtn{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  border:1px solid transparent!important;
  border-radius:50%!important;
  box-sizing:border-box!important;
  transition:
    color .17s ease,
    background .17s ease,
    border-color .17s ease,
    box-shadow .18s ease!important;
}
.header .iconbtn:hover,
.header .iconbtn:focus-visible{
  color:#ff454e!important;
  background:rgba(28,24,25,.92)!important;
  border-color:rgba(242,43,53,.30)!important;
  box-shadow:0 0 17px rgba(242,43,53,.15)!important;
  outline:none!important;
}
.header .iconbtn:hover svg,
.header .iconbtn:focus-visible svg{
  stroke:#ff454e!important;
}

/* Keep open Browse highlighted, exactly without changing its geometry. */
.browse-wrap.menu-open > #browseBtn{
  color:#ff454e!important;
  background:rgba(28,24,25,.92)!important;
  border-color:rgba(242,43,53,.22)!important;
}
.browse-wrap.menu-open > #browseBtn > svg{
  stroke:#ff454e!important;
}

/* ------------------------------------------------------------
   All dropdown chevrons rotate around a fixed center.
   The containing box never changes width/height/position.
   ------------------------------------------------------------ */
.browse-chevron-icon{
  width:14px!important;
  height:14px!important;
  flex:0 0 14px!important;
  transform:rotate(0deg);
  transform-origin:50% 50%!important;
  transition:
    transform .25s cubic-bezier(.2,.8,.2,1),
    stroke .17s ease,
    color .17s ease!important;
  will-change:transform;
}
.browse-wrap.menu-open .browse-chevron-icon{
  transform:rotate(180deg)!important;
  stroke:#ff454e!important;
}

.section-dropdown .chev{
  width:17px!important;
  height:17px!important;
  flex:0 0 17px!important;
  position:relative!important;
  transform:rotate(0deg)!important;
  transform-origin:50% 50%!important;
  transition:
    transform .25s cubic-bezier(.2,.8,.2,1),
    color .17s ease!important;
  will-change:transform;
}
.section-dropdown.menu-open .chev{
  transform:rotate(180deg)!important;
  color:var(--red)!important;
}
/* The chevron itself is centered inside its fixed box. */
.section-dropdown .chev::before{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  margin:0!important;
  transform:translate(-50%,-65%) rotate(45deg)!important;
}

/* Dropdown trigger also gets the red hover cue without moving. */
.section-dropdown{
  border-radius:7px;
  transition:color .17s ease,background .17s ease!important;
}
.section-dropdown:hover .section-title,
.section-dropdown:focus-within .section-title,
.section-dropdown:hover .chev{
  color:#ff454e!important;
}
.section-dropdown:hover{
  background:rgba(242,43,53,.035)!important;
}

body.tv .header .navitem:hover,
body.tv .header .iconbtn:hover{
  box-shadow:none!important;
}


/* source block: cinereel-build20-detail-trailer-fidelity */

/* ------------------------------------------------------------
   Cineby-style trailer/backdrop vignette.
   This overlay sits above both the backdrop and YouTube trailer, while all
   controls/text remain above it.
   ------------------------------------------------------------ */
.detail-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:4;
  pointer-events:none;
  background:
    linear-gradient(
      90deg,
      rgba(4,5,6,.74) 0%,
      rgba(4,5,6,.51) 18%,
      rgba(4,5,6,.24) 38%,
      rgba(4,5,6,.06) 59%,
      rgba(4,5,6,0) 76%
    ),
    linear-gradient(
      0deg,
      var(--bg) 0%,
      rgba(5,6,7,.93) 5%,
      rgba(5,6,7,.76) 13%,
      rgba(5,6,7,.40) 25%,
      rgba(5,6,7,.10) 39%,
      rgba(5,6,7,0) 52%
    ),
    linear-gradient(
      180deg,
      rgba(4,5,6,.16) 0%,
      rgba(4,5,6,0) 20%
    );
}

/* The trailer remains behind the Cineby vignette. */
.detail-trailer-layer{z-index:2!important}
.detail-bg{z-index:1!important}

/* Keep content and circular controls above the vignette. */
.detail-copy{z-index:6!important}
.detail-back,.detail-mute{z-index:11!important}

/* ------------------------------------------------------------
   Cineby's detail information sits lower, close to the bottom edge of the
   hero/trailer instead of floating near the vertical center.
   ------------------------------------------------------------ */
.detail-copy{
  left:6vw!important;
  bottom:8.5%!important;
  width:min(655px,50vw)!important;
}

/* Give the information a subtle readability shadow similar to Cineby. */
.detail-copy{
  text-shadow:0 2px 12px rgba(0,0,0,.34);
}
.detail-title-image{
  filter:
    drop-shadow(0 5px 16px rgba(0,0,0,.48))
    drop-shadow(0 1px 3px rgba(0,0,0,.38))!important;
}

/* Detail section starts tightly beneath the dark trailer fade. */
.detail-lower{
  padding-top:12px!important;
}

@media(max-width:900px){
  .detail-copy{
    left:22px!important;
    bottom:10%!important;
    width:88vw!important;
  }
  .detail-hero::after{
    background:
      linear-gradient(90deg,rgba(4,5,6,.68) 0%,rgba(4,5,6,.28) 54%,transparent 82%),
      linear-gradient(0deg,var(--bg) 0%,rgba(5,6,7,.90) 8%,rgba(5,6,7,.46) 29%,transparent 54%);
  }
}

/* TV gets the same shape with simpler rendering. */
body.tv .detail-hero::after{
  background:
    linear-gradient(90deg,rgba(4,5,6,.70) 0%,rgba(4,5,6,.24) 48%,transparent 76%),
    linear-gradient(0deg,var(--bg) 0%,rgba(5,6,7,.88) 9%,rgba(5,6,7,.36) 28%,transparent 49%);
}


/* source block: cinereel-build21-streaming-dropdown */

/* "Only on" streamer selector — separate from the genre selector. */
#netflix .section-title-row{position:relative!important}
#netflix .section-dropdown{
  padding-bottom:8px!important;
  border-radius:0!important;
  background:transparent!important;
}
#netflix .section-dropdown::after{
  content:"";
  position:absolute;
  left:14px;
  right:25px;
  bottom:0;
  height:2px;
  background:var(--red);
}
#netflix .section-dropdown:hover{
  background:transparent!important;
}
#netflix .section-dropdown:hover .section-title{
  color:#f4f5f6!important;
}
#netflix .section-dropdown:hover .chev,
#netflix .section-dropdown.menu-open .chev{
  color:var(--red)!important;
}

.streamer-menu{
  position:absolute;
  z-index:45;
  left:138px;
  top:47px;
  width:280px;
  padding:8px 0;
  background:rgba(10,11,14,.985);
  border:1px solid #272b33;
  border-radius:18px;
  box-shadow:0 20px 58px rgba(0,0,0,.48);
  overflow:hidden;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-9px) scale(.975);
  transform-origin:top left;
  transition:
    opacity .17s ease,
    transform .23s cubic-bezier(.2,.8,.2,1),
    visibility .17s ease;
}
.streamer-menu.open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0) scale(1);
}
.streamer-option{
  width:100%;
  height:53px;
  border:0;
  padding:0 15px;
  display:flex;
  align-items:center;
  gap:13px;
  background:transparent;
  color:#e5e7ea;
  text-align:left;
  font-size:16px;
  font-weight:500;
  cursor:pointer;
  transition:background .14s ease,color .14s ease;
}
.streamer-option:hover,
.streamer-option.active{
  color:var(--red);
  background:linear-gradient(90deg,rgba(242,43,53,.14),rgba(242,43,53,.035),transparent);
}
.streamer-badge{
  width:30px;
  height:30px;
  flex:0 0 30px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#fff;
  font-size:11px;
  font-weight:850;
  letter-spacing:-.03em;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.10);
}
.streamer-netflix{background:#e50914}
.streamer-prime{background:#12a8e8;color:#071019}
.streamer-max{background:#141619}
.streamer-disney{background:#1649c8}
.streamer-apple{background:#090a0b;font-size:10px}
.streamer-paramount{background:#0879ff}
.streamer-hulu{background:#23e6a0;color:#05120d}

#netflix.streamer-loading .row-scroll{
  opacity:.42;
  pointer-events:none;
  transition:opacity .15s ease;
}
#netflix.streamer-loading .section-title::after{
  content:"";
  display:inline-block;
  width:12px;height:12px;
  margin-left:10px;
  border:2px solid #555b66;
  border-top-color:var(--red);
  border-radius:50%;
  animation:streamerSpin .65s linear infinite;
  vertical-align:1px;
}
@keyframes streamerSpin{to{transform:rotate(360deg)}}

@media(max-width:900px){
  .streamer-menu{
    left:14px;
    top:45px;
    width:min(280px,calc(100vw - 42px));
  }
}
body.tv .streamer-menu{transition-duration:.11s}


/* source block: cinereel-build22-detail-hover-delay-position */

/* Push Cineby's preview information closer to the trailer/backdrop edge. */
.detail-copy{
  bottom:4.2%!important;
}

/* Hidden-info state: title/logo settles farther down toward the fixed buttons. */
@media (hover:hover) and (pointer:fine){
  .detail:not(.description-near) .detail-title-image,
  .detail:not(.description-near) .detail-logo-title{
    transform:translate3d(0,var(--title-settle),0)!important;
  }

  /* Keep the action row anchored in exactly the same place. */
  .detail-copy > .actions{
    transform:none!important;
  }
}

@media(max-width:900px){
  .detail-copy{
    bottom:6.2%!important;
  }
}


/* source block: cinereel-build23-streamer-menu-position */

#netflix .section-title-row{
  position:relative!important;
}
#netflix .streamer-menu{
  left:138px!important;
  top:43px!important;
  z-index:60!important;
}
@media(max-width:900px){
  #netflix .streamer-menu{
    left:14px!important;
    top:41px!important;
  }
}


/* source block: cinereel-build26-search-fixes */

.search-input-clear{
  width:34px;
  height:34px;
  min-width:34px;
  flex:0 0 34px;
  padding:0;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#737d8c;
  display:grid;
  place-items:center;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .16s ease,visibility .16s ease,color .16s ease,background .16s ease;
}
.search-input-clear.visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.search-input-clear:hover,
.search-input-clear:focus-visible{
  color:#fff;
  background:rgba(255,255,255,.05);
  outline:none;
}
.search-input-clear svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
}

.search-history-row{
  width:100%;
  min-height:42px;
  display:flex;
  align-items:center;
  gap:6px;
  border-radius:9px;
}
.search-history-row:hover{
  background:rgba(255,255,255,.03);
}
.search-history-item{
  min-width:0;
  flex:1;
  background:transparent!important;
}
.search-history-item:hover{
  background:transparent!important;
}
.search-history-delete{
  width:34px;
  height:34px;
  min-width:34px;
  padding:0;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#626d7c;
  display:grid;
  place-items:center;
  opacity:.72;
  cursor:pointer;
  transition:color .15s ease,background .15s ease,opacity .15s ease;
}
.search-history-row:hover .search-history-delete{
  opacity:1;
}
.search-history-delete:hover,
.search-history-delete:focus-visible{
  color:#ff4a52;
  background:rgba(242,43,53,.08);
  outline:none;
}
.search-history-delete svg{
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
}

/* Search filter menu is controlled only by .open now.
   Do not let the global .hidden class break the dropdown. */
#searchFilterMenu{
  display:block!important;
}


/* source block: cinereel-build28-home-polish */

/* ------------------------------------------------------------
   Back-to-top: larger, optically centered chevron and CineREEL red hover.
   Geometry is fixed at rest so hover never shifts the button.
   ------------------------------------------------------------ */
.to-top{
  width:50px!important;
  height:50px!important;
  min-width:50px!important;
  min-height:50px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  line-height:0!important;
  border:1px solid #303640!important;
  background:#0e1115!important;
  color:#f1f3f5!important;
  box-sizing:border-box!important;
  transition:
    color .17s ease,
    border-color .17s ease,
    background .17s ease,
    box-shadow .18s ease,
    opacity .22s ease,
    transform .16s ease!important;
}
.to-top svg{
  width:29px!important;
  height:29px!important;
  display:block!important;
  margin:0!important;
  transform:translateY(-1px);
  stroke-width:1.85!important;
}
.to-top:hover,
.to-top:focus-visible{
  color:#ff4a52!important;
  border-color:rgba(242,43,53,.48)!important;
  background:rgba(28,20,22,.97)!important;
  box-shadow:
    inset 0 0 0 1px rgba(242,43,53,.05),
    0 0 18px rgba(242,43,53,.16)!important;
  outline:none!important;
}

/* ------------------------------------------------------------
   Hero bottom vignette: match the preview/trailer fade so the backdrop
   disappears seamlessly into the page and no hard bottom edge is visible.
   ------------------------------------------------------------ */
.hero-slide::after{
  content:"";
  position:absolute;
  z-index:3;
  left:0;
  right:0;
  bottom:0;
  height:48%;
  pointer-events:none;
  background:
    linear-gradient(
      0deg,
      var(--bg) 0%,
      rgba(5,6,7,.98) 5%,
      rgba(5,6,7,.88) 12%,
      rgba(5,6,7,.62) 22%,
      rgba(5,6,7,.29) 34%,
      rgba(5,6,7,.08) 44%,
      rgba(5,6,7,0) 58%
    );
}
.hero-copy{z-index:4!important}

/* ------------------------------------------------------------
   Browse panel animation. It remains in the DOM instead of being switched
   through display:none, allowing both opening and closing to animate.
   ------------------------------------------------------------ */
.browse-menu{
  display:block!important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-8px) scale(.975);
  transform-origin:top right;
  transition:
    opacity .17s ease,
    transform .23s cubic-bezier(.2,.8,.2,1),
    visibility .17s ease!important;
}
.browse-menu.open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0) scale(1);
}

/* Content + Features: normal neutral hover, no red treatment. */
.browse-icon{
  border-radius:10px;
  transition:background .16s ease,color .16s ease!important;
}
.browse-icon .square{
  box-sizing:border-box;
  transition:
    background .16s ease,
    border-color .16s ease,
    filter .16s ease,
    transform .16s ease!important;
}
.browse-icon:hover,
.browse-icon:focus-visible{
  background:rgba(255,255,255,.035)!important;
  color:#fff!important;
  outline:none!important;
}
.browse-icon:hover .square,
.browse-icon:focus-visible .square{
  background:#171a1f!important;
  border-color:#606875!important;
  filter:brightness(1.15);
  transform:translateY(-1px);
}
/* Keep feature icon hues while using the same neutral hover behavior. */
.browse-icon.feature:hover .square,
.browse-icon.feature:focus-visible .square{
  border-color:#56606e!important;
}

/* PERSONAL: History + Watchlist get the CineREEL red hover effect. */
.personal{
  box-sizing:border-box;
  transition:
    color .17s ease,
    border-color .17s ease,
    background .17s ease,
    box-shadow .18s ease!important;
}
.personal>svg,
.personal strong{
  transition:color .17s ease,stroke .17s ease!important;
}
.personal:hover,
.personal:focus-visible{
  color:#ff4a52!important;
  border-color:rgba(242,43,53,.38)!important;
  background:rgba(31,19,22,.96)!important;
  box-shadow:
    inset 0 0 0 1px rgba(242,43,53,.04),
    0 0 15px rgba(242,43,53,.11)!important;
  outline:none!important;
}
.personal:hover>svg,
.personal:focus-visible>svg{
  color:#ff4a52!important;
  stroke:#ff4a52!important;
}
.personal:hover strong,
.personal:focus-visible strong{
  color:#ff4a52!important;
}

body.tv .to-top:hover,
body.tv .personal:hover{
  box-shadow:none!important;
}
body.tv .browse-menu{
  transition-duration:.11s!important;
}


/* source block: cinereel-build29-trailer-cover */

.detail-trailer-layer{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  overflow:hidden!important;
  background:#000!important;
}

.detail-trailer-layer iframe{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  max-width:none!important;
  max-height:none!important;
  border:0!important;
  transform:translate(-50%,-50%) scale(1.10)!important;
  transform-origin:center center!important;
  will-change:width,height,transform;
}

/* Slightly more overscan on very wide desktop windows, where YouTube's
   16:9 frame otherwise tends to reveal thin top/bottom edges. */
@media (min-aspect-ratio: 2/1){
  .detail-trailer-layer iframe{
    transform:translate(-50%,-50%) scale(1.13)!important;
  }
}

/* TV gets the same full-cover behavior without extra animation work. */
body.tv .detail-trailer-layer iframe{
  transform:translate(-50%,-50%) scale(1.10)!important;
}


/* source block: cinereel-build30-official-logo */

.brandmark-img{
  width:40px!important;
  height:40px!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:0!important;
}
@media(max-width:900px){
  .brandmark-img{width:34px!important;height:34px!important}
}
