:root{
  --ss-bg:#08070d;
  --ss-bg-2:#0d0a12;
  --ss-panel:#121019;
  --ss-panel-2:#17131d;
  --ss-text:#f8f6fb;
  --ss-muted:#8e8998;
  --ss-line:rgba(255,255,255,.075);
  --ss-pink:#ff2f70;
  --ss-pink-2:#ff4f8a;
  --ss-chip:#16131c;
  --ss-header:rgba(8,7,13,.94);
  --ss-bottom:rgba(15,12,22,.96);
}
*{box-sizing:border-box}
html{background:var(--ss-bg);scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  background:
    radial-gradient(circle at 30% -10%,rgba(255,47,112,.07),transparent 30rem),
    linear-gradient(180deg,var(--ss-bg),#08070c 55%,#09070d);
  color:var(--ss-text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
  padding-bottom:86px;
}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
svg{display:block}

.ss-header{
  position:sticky;
  top:0;
  z-index:50;
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px max(18px,calc((100vw - 1420px)/2));
  background:var(--ss-header);
  border-bottom:1px solid var(--ss-line);
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
}
.ss-brand{
  display:inline-flex;
  align-items:baseline;
  letter-spacing:-1.7px;
  line-height:1;
  font-weight:900;
  font-size:clamp(27px,3vw,36px);
  transform:skew(-7deg);
}
.ss-brand-link{color:#fff}
.ss-brand-lynx{color:var(--ss-pink)}
.ss-header-actions{display:flex;align-items:center;gap:10px}
.ss-icon-btn{
  width:43px;height:43px;border-radius:50%;
  display:grid;place-items:center;
  color:#fff;
  transition:.18s ease;
}
.ss-icon-btn:hover{background:rgba(255,255,255,.055)}
.ss-icon-btn svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.ss-language{
  height:44px;
  display:flex;align-items:center;gap:8px;
  padding:0 15px;
  border:1px solid var(--ss-line);
  background:#0e0c12;
  border-radius:999px;
  font-size:14px;
  font-weight:750;
  color:#f3f0f6;
}
.ss-language svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
.ss-chev{color:#aaa4b2;font-size:16px;line-height:1}
.ss-profile-dot{
  width:43px;height:43px;border-radius:50%;
  display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.13);
  background:
    linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.03)),
    #17131d;
  color:#fff;font-size:14px;font-weight:900;
  box-shadow:inset 0 0 0 3px #0b0910;
}

.ss-main{
  max-width:1420px;
  margin:0 auto;
  padding:0 18px 42px;
}
.ss-chips{
  display:flex;
  gap:10px;
  overflow-x:auto;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  margin:0 -18px;
  padding:13px 18px 14px;
  border-bottom:1px solid rgba(255,255,255,.035);
}
.ss-chips::-webkit-scrollbar,.ss-rail::-webkit-scrollbar,.ss-banners::-webkit-scrollbar{display:none}
.ss-chips a{
  flex:0 0 auto;
  padding:9px 17px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.09);
  background:var(--ss-chip);
  color:#aaa4b2;
  font-size:14px;
  font-weight:680;
  transition:.18s ease;
}
.ss-chips a:hover{color:#fff;border-color:rgba(255,47,112,.35);background:#1b141d}

.ss-notice{
  margin:0 -18px 20px;
  min-height:48px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 20px;
  background:linear-gradient(90deg,rgba(255,47,112,.095),rgba(255,47,112,.03));
  border-top:1px solid rgba(255,47,112,.14);
  border-bottom:1px solid rgba(255,47,112,.17);
  color:#ada6b5;
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
}
.ss-notice strong{color:#f7eaf0;font-weight:760}
.ss-notice span:last-child{overflow:hidden;text-overflow:ellipsis}
.ss-notice-dot{
  width:7px;height:7px;border-radius:50%;
  flex:0 0 auto;
  background:var(--ss-pink);
  box-shadow:0 0 18px rgba(255,47,112,.75);
}

.ss-banners{
  display:flex;
  gap:12px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  margin:2px -18px 12px;
  padding:0 18px 4px;
  -webkit-overflow-scrolling:touch;
}
.ss-banner{
  display:block;
  flex:0 0 min(88vw,940px);
  aspect-ratio:2.7/1;
  border-radius:18px;
  overflow:hidden;
  background:#17131c;
  scroll-snap-align:start;
  border:1px solid rgba(255,255,255,.055);
}
.ss-banner img{width:100%;height:100%;display:block;object-fit:cover}

.ss-section{margin-top:31px}
.ss-section:first-of-type{margin-top:23px}
.ss-section-title{
  min-height:45px;
  margin-bottom:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.ss-section-title h2{
  display:flex;
  align-items:center;
  gap:7px;
  margin:0;
  font-size:clamp(21px,2vw,27px);
  font-weight:850;
  letter-spacing:-.65px;
}
.ss-spark{
  color:#fff;
  font-size:.96em;
  transform:translateY(-1px);
  text-shadow:0 0 20px rgba(255,255,255,.22);
}
.ss-section-grid{
  width:48px;height:48px;
  flex:0 0 auto;
  border:1px solid var(--ss-line);
  background:#0d0b11;
  border-radius:50%;
  display:grid;
  grid-template-columns:repeat(2,6px);
  grid-template-rows:repeat(2,6px);
  place-content:center;
  gap:4px;
}
.ss-section-grid i{
  display:block;
  width:6px;height:6px;
  border:1.5px solid #767180;
  border-radius:1px;
}

.ss-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:18px 13px;
}
.ss-grid.ss-rail{
  display:flex;
  gap:14px;
  overflow-x:auto;
  scrollbar-width:none;
  margin:0 -18px;
  padding:0 18px 6px;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
}
.ss-rail .ss-card{
  flex:0 0 clamp(158px,20vw,224px);
  scroll-snap-align:start;
}
.ss-card{
  position:relative;
  min-width:0;
  display:block;
  border-radius:20px;
  outline:none;
  transform:translateZ(0);
}
.ss-card:focus-visible{box-shadow:0 0 0 3px rgba(255,47,112,.55)}
.ss-poster{
  position:relative;
  width:100%;
  aspect-ratio:0.70/1;
  overflow:hidden;
  border-radius:20px;
  background:#15111a;
  border:1px solid rgba(255,255,255,.055);
  box-shadow:0 10px 30px rgba(0,0,0,.20);
}
.ss-poster img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .28s ease,filter .28s ease;
}
.ss-card:hover .ss-poster img{transform:scale(1.025);filter:brightness(1.04)}
.ss-card-shade{
  position:absolute;
  inset:35% 0 0;
  pointer-events:none;
  background:linear-gradient(180deg,transparent 0%,rgba(5,4,8,.15) 24%,rgba(5,4,8,.76) 71%,rgba(5,4,8,.98) 100%);
}
.ss-card h3{
  position:absolute;
  z-index:2;
  left:13px;
  right:13px;
  bottom:13px;
  margin:0;
  color:#fff;
  font-size:15px;
  line-height:1.24;
  font-weight:850;
  letter-spacing:-.25px;
  text-shadow:0 2px 9px rgba(0,0,0,.72);
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.ss-page-title{padding:21px 0 13px}
.ss-page-title>a{
  display:inline-flex;
  color:#9f99a8;
  font-size:13px;
  margin-bottom:7px;
}
.ss-page-title h1{
  margin:0;
  font-size:clamp(27px,4vw,38px);
  letter-spacing:-.8px;
}
.ss-page-title p,.ss-result-count{
  color:var(--ss-muted);
  font-size:13px;
  margin:7px 0 15px;
}
.ss-empty{
  grid-column:1/-1;
  padding:54px 18px;
  text-align:center;
  color:var(--ss-muted);
  border:1px dashed rgba(255,255,255,.10);
  border-radius:18px;
  background:rgba(255,255,255,.015);
}
.ss-pager{
  display:flex;
  justify-content:center;
  gap:7px;
  margin:28px 0 6px;
}
.ss-pager a{
  min-width:38px;height:38px;
  display:grid;place-items:center;
  border:1px solid var(--ss-line);
  background:#121019;
  border-radius:11px;
  color:#aaa4b2;
  font-weight:700;
}
.ss-pager a.current{background:var(--ss-pink);border-color:var(--ss-pink);color:#fff}

.ss-bottom-nav{
  position:fixed;
  z-index:60;
  left:0;right:0;bottom:0;
  height:76px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  padding:8px max(12px,calc((100vw - 760px)/2));
  background:var(--ss-bottom);
  border-top:1px solid rgba(255,255,255,.10);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
  box-shadow:0 -10px 35px rgba(0,0,0,.26);
  padding-bottom:max(8px,env(safe-area-inset-bottom));
}
.ss-bottom-nav a{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  color:#777181;
  font-size:11px;
  font-weight:720;
  transition:.18s ease;
}
.ss-bottom-nav a svg{
  width:24px;height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.ss-bottom-nav a.active{color:var(--ss-pink)}
.ss-bottom-nav a.active svg{stroke-width:2.4}
.ss-bottom-nav a:hover{color:#fff}

@media(min-width:900px){
  body{padding-bottom:0}
  .ss-main{padding-bottom:60px}
  .ss-bottom-nav{display:none}
  .ss-grid.ss-rail{margin-left:0;margin-right:0;padding-left:0;padding-right:0}
  .ss-chips,.ss-notice,.ss-banners{margin-left:0;margin-right:0}
  .ss-chips{padding-left:0;padding-right:0}
  .ss-notice{border-radius:12px;padding-left:15px}
  .ss-banners{padding-left:0;padding-right:0}
}
@media(max-width:1080px){
  .ss-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:780px){
  .ss-header{min-height:72px;padding:13px 16px}
  .ss-brand{font-size:29px}
  .ss-language{height:42px;padding:0 13px}
  .ss-profile-dot,.ss-icon-btn{width:40px;height:40px}
  .ss-main{padding-left:16px;padding-right:16px}
  .ss-chips,.ss-notice,.ss-banners,.ss-grid.ss-rail{margin-left:-16px;margin-right:-16px}
  .ss-chips,.ss-banners,.ss-grid.ss-rail{padding-left:16px;padding-right:16px}
  .ss-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ss-rail .ss-card{flex-basis:clamp(154px,43vw,205px)}
  .ss-section{margin-top:29px}
  .ss-section-title h2{font-size:22px}
  .ss-section-grid{width:45px;height:45px}
}
@media(max-width:520px){
  .ss-header{gap:10px}
  .ss-brand{font-size:28px;letter-spacing:-1.4px}
  .ss-header-actions{gap:5px}
  .ss-language{font-size:13px;padding:0 11px}
  .ss-language svg{width:16px;height:16px}
  .ss-profile-dot{display:none}
  .ss-icon-btn{width:38px;height:38px}
  .ss-main{padding-left:13px;padding-right:13px}
  .ss-chips,.ss-notice,.ss-banners,.ss-grid.ss-rail{margin-left:-13px;margin-right:-13px}
  .ss-chips,.ss-banners,.ss-grid.ss-rail{padding-left:13px;padding-right:13px}
  .ss-chips{gap:9px;padding-top:12px}
  .ss-chips a{padding:8px 15px;font-size:13px}
  .ss-notice{padding-left:15px;padding-right:15px}
  .ss-notice span:last-child{display:none}
  .ss-banner{flex-basis:91vw;aspect-ratio:2.15/1;border-radius:16px}
  .ss-section-title{min-height:42px;margin-bottom:10px}
  .ss-section-title h2{font-size:21px}
  .ss-section-grid{width:43px;height:43px}
  .ss-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 10px}
  .ss-rail .ss-card{flex-basis:43.5vw}
  .ss-poster{border-radius:18px}
  .ss-card h3{left:11px;right:11px;bottom:11px;font-size:14px}
}
@media(max-width:360px){
  .ss-language span:not(.ss-chev){display:none}
  .ss-language{padding:0 10px}
  .ss-rail .ss-card{flex-basis:45vw}
}


/* A54H — iframe bottom-bar cover + Explore/Categories/Search */

.ss-watch-body{
  overflow:hidden;
  padding-bottom:0!important;
}
.ss-watch-body .ss-main{
  width:100%;
  max-width:none;
  padding:0!important;
  margin:0;
}
.ss-watch-stage{
  width:100vw;
  height:calc(100dvh - 78px);
  margin:0;
  overflow:hidden;
  background:#050508;
}
.ss-watch-stage-frame{
  display:block;
  width:100%;
  height:100%;
  border:0;
  background:#050508;
}

/*
 * The external provider owns its own cross-origin bottom bar, so it cannot be
 * removed from LinkLynx. Instead the iframe extends behind our navigation and
 * this opaque LinkLynx bar masks the provider's bottom navigation visually.
 */
.ss-watch-body .ss-bottom-nav{
  z-index:2147483000;
  background:#0b0911;
  border-top:1px solid rgba(255,255,255,.10);
  box-shadow:0 -22px 0 #0b0911,0 -28px 32px rgba(0,0,0,.34);
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.ss-watch-body .ss-bottom-nav::before{
  content:"";
  position:absolute;
  left:0;right:0;
  top:-24px;
  height:24px;
  background:#0b0911;
  pointer-events:none;
}

.ss-browse-head{
  padding:25px 0 15px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
}
.ss-kicker{
  display:block;
  margin-bottom:6px;
  color:var(--ss-pink);
  font-size:10px;
  font-weight:850;
  letter-spacing:.12em;
}
.ss-browse-head h1{
  margin:0;
  font-size:clamp(30px,4vw,42px);
  line-height:1;
  letter-spacing:-1.2px;
}
.ss-browse-head p{
  margin:8px 0 0;
  color:var(--ss-muted);
  font-size:13px;
}
.ss-filter-pills{
  display:flex;
  gap:8px;
  overflow-x:auto;
  scrollbar-width:none;
  padding:0 0 20px;
}
.ss-filter-pills::-webkit-scrollbar{display:none}
.ss-filter-pills a{
  flex:0 0 auto;
  padding:9px 14px;
  border-radius:999px;
  border:1px solid var(--ss-line);
  background:#121019;
  color:#9993a2;
  font-size:12px;
  font-weight:760;
}
.ss-filter-pills a.active{
  color:#fff;
  border-color:rgba(255,47,112,.48);
  background:rgba(255,47,112,.15);
}

.ss-category-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.ss-category-card{
  position:relative;
  min-height:155px;
  overflow:hidden;
  border-radius:19px;
  border:1px solid rgba(255,255,255,.07);
  background:#15111a;
}
.ss-category-card img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.ss-category-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(6,5,9,.06),rgba(6,5,9,.84));
}
.ss-category-card>div{
  position:absolute;
  z-index:2;
  left:15px;right:15px;bottom:14px;
}
.ss-category-card strong{
  display:block;
  color:#fff;
  font-size:18px;
  font-weight:850;
  line-height:1.1;
}
.ss-category-card small{
  display:block;
  margin-top:5px;
  color:#b0aab6;
  font-size:11px;
}

.ss-search-screen{padding-bottom:20px}
.ss-public-search{
  min-height:58px;
  display:grid;
  grid-template-columns:26px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:7px 8px 7px 15px;
  margin:0 0 18px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:17px;
  background:#111018;
  box-shadow:0 10px 30px rgba(0,0,0,.14);
}
.ss-public-search svg{
  width:23px;height:23px;
  fill:none;
  stroke:#817b89;
  stroke-width:2;
  stroke-linecap:round;
}
.ss-public-search input{
  min-width:0;
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#fff;
  font-size:16px;
}
.ss-public-search input::placeholder{color:#696371}
.ss-public-search button{
  height:44px;
  padding:0 16px;
  border:0;
  border-radius:12px;
  background:var(--ss-pink);
  color:#fff;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
.ss-search-summary{
  display:flex;
  align-items:baseline;
  gap:7px;
  margin:5px 0 14px;
  color:#8f8997;
  font-size:12px;
}
.ss-search-summary strong{
  color:#f4f0f5;
  font-size:15px;
}
.ss-search-summary span{color:#777180}

@media(max-width:900px){
  .ss-watch-stage{height:calc(100dvh - 72px)}
}
@media(min-width:900px){
  .ss-watch-body .ss-bottom-nav{display:none}
  .ss-watch-body .ss-bottom-nav::before{display:none}
  .ss-watch-stage{height:calc(100dvh - 78px)}
}
@media(max-width:780px){
  .ss-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ss-category-card{min-height:130px;border-radius:16px}
  .ss-category-card strong{font-size:16px}
}
@media(max-width:520px){
  .ss-browse-head{padding:20px 0 13px}
  .ss-browse-head h1{font-size:31px}
  .ss-public-search{min-height:54px;border-radius:15px;margin-bottom:16px}
  .ss-public-search button{height:40px;padding:0 13px}
  .ss-category-card{min-height:118px}
}
