:root{ --bg:#0f0f0f; --card:#1b1c1f; --muted:#b9c2cf; --accent:#009dff; --radius:20px; --font-sans:"Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --scrollbar-size:8px; --scrollbar-thumb:rgba(255,255,255,0.22); --scrollbar-thumb-hover:rgba(255,255,255,0.32); --site-favicon:url("https://server.bysurf.tv/bysurftv-favicon.png"); --auth-bg-image:url("https://server.bysurf.tv/Comp%207_00513.png"); }
*{box-sizing:border-box}
html,body{height:100%}
html{
  overflow-x:hidden;
  overflow-x:clip;
  font-family:var(--font-sans);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
body{margin:0;background:var(--bg);color:#fff;font-family:inherit;overflow-x:hidden;overflow-x:clip}
button,input,textarea,select,optgroup{font-family:inherit}
html:has(body.no-scroll){ overflow:hidden }
body.no-scroll{ overflow:hidden }
* {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) transparent;
}
*::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}
*::-webkit-scrollbar-track {
  background: transparent;
}
*::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 999px;
}
*::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}
*::-webkit-scrollbar-thumb:active {
  background: var(--accent);
}
*::-webkit-scrollbar-corner {
  background: transparent;
}
.bg-video {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 0;
border-radius: 50px;
}


#loading-screen {
  position: fixed;
  inset: 0;
  background-color: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  transition: opacity 0.5s ease;
}
#loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}
#loading-screen img,
#loading-screen .loading-screen-logo {
  width: 350px;
  max-width: 80vw;
}
.loading-screen-throbber {
  display: none;
  line-height: 0;
}
.loading-screen-throbber svg {
  display: block;
  width: 48px;
  height: 48px;
}
.loading-screen-throbber svg path[opacity] {
  fill: rgba(255, 255, 255, 0.25);
}
.loading-screen-throbber svg path:not([opacity]) {
  fill: #009dff;
}
@media (max-width: 960px) {
  #loading-screen .loading-screen-logo {
    display: none;
  }
  #loading-screen .loading-screen-throbber {
    display: block;
  }
  #loading-screen.fade-out {
    transition: none;
    opacity: 1;
  }
}
.lazy-img-wrap {
  display: block;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.lazy-img-wrap .lazy-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.lazy-img-wrap .lazy-img.loaded {
  opacity: 1;
  transition: opacity 0.4s ease;
}
.lazy-img {
  transition: opacity 0.4s ease;
}
.lazy-img.lazy-img-loading {
  opacity: 0;
  transition: none;
}
.lazy-img.loaded {
  opacity: 1;
}
[data-bg] {
  transition: opacity 0.4s ease;
}
[data-bg].data-bg-loading {
  opacity: 0;
  transition: none;
}
[data-bg]:not(.loaded) {
  opacity: 0.92;
}
[data-bg].loaded {
  opacity: 1;
}
.sticky-nav {
position: fixed;
top: 0;
left: 0;
right: 0;
width: 100%;
padding: 1rem 2.25rem;
background: linear-gradient(to bottom, #0f0f0f 0%, transparent 100%);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
z-index: 99999;
transition: background 0.3s ease;
}

.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
max-width: 1600px;
margin: 0 auto;
gap: 1rem;
}

.nav-left {
display: flex;
align-items: center;
gap: 1.5rem;
flex-shrink: 0;
margin-right: auto;
}

.nav-menu-left {
display: flex;
align-items: center;
gap: 1.5rem;
}

.nav-right {
display: flex;
align-items: center;
gap: 0.5rem;
flex-shrink: 0;
margin-left: auto;
}

.nav-logo img {
height: 32px;
display: block;
}

.nav-menu {
display: flex;
align-items: center;
gap: 1.5rem;
}
.nav-link, .nav-button {
  text-decoration: none;
  color: var(--muted);
  font-family: Inter, var(--font-sans), system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: #fff;
}
.nav-button {
  padding: 0.65rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.nav-button:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.nav-button.accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.nav-button.accent:hover {
  filter: brightness(1.1);
}

.mobile-nav-toggle {
  display: none; 
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1001;
}
.hidden {
  display: none !important;
}

.nav-icon-link {
display: flex;
align-items: center;
color: var(--muted);
transition: color 0.2s ease;
}
.nav-icon-link:hover {
color: #fff;
}

.nav-my-list-link {
display: flex;
align-items: center;
flex-shrink: 0;
}

.nav-profile-dropdown-wrap {
position: relative;
flex-shrink: 0;
}

.nav-profile-wrap {
display: flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
border-radius: 50%;
overflow: hidden;
background: rgba(255,255,255,0.1);
color: var(--muted);
border: 2px solid transparent;
transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
cursor: pointer;
padding: 0;
font: inherit;
}
.nav-profile-wrap:hover,
.nav-profile-dropdown-wrap.is-open .nav-profile-wrap {
background: rgba(255,255,255,0.15);
color: #fff;
border-color: var(--accent);
}
.nav-profile-wrap img {
width: fit-content;
height: 100%;
object-fit: cover;
max-width: unset !important;
}
.nav-profile-wrap svg {
width: 24px;
height: 24px;
}

.nav-profile-dropdown {
position: absolute;
top: calc(100% + 12px);
right: 0;
min-width: 280px;
padding: 10px;
border-radius: 14px;
background: #1b1c1f;
border: 1px solid #2e3036;
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
z-index: 2500;
}
.nav-profile-dropdown[hidden] {
display: none !important;
}
.nav-profile-dropdown-item {
display: flex;
align-items: center;
gap: 14px;
width: 100%;
padding: 14px 16px;
border: none;
border-radius: 10px;
background: transparent;
color: #e8e8e8;
font-family: Inter, sans-serif;
font-size: 1.08rem;
font-weight: 500;
text-decoration: none;
cursor: pointer;
text-align: left;
transition: background 0.15s ease, color 0.15s ease;
box-sizing: border-box;
}
.nav-profile-dropdown-item svg {
width: 20px;
height: 20px;
flex-shrink: 0;
}
.nav-profile-dropdown-item:hover {
background: rgba(255, 255, 255, 0.08);
color: #fff;
}
.nav-profile-dropdown-item--danger {
color: #ff8a80;
}
.nav-profile-dropdown-item--danger:hover {
background: rgba(229, 57, 53, 0.18);
color: #ff8a80;
}

.nav-notifications-dropdown-wrap {
  position: relative;
  flex-shrink: 0;
  margin-left: -8.5px;
}

.nav-notifications-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-notifications-dropdown-wrap.is-open .nav-notifications-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-notifications-badge {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: Inter, var(--font-sans), system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
}

.nav-notifications-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 280px;
  width: min(320px, calc(100vw - 24px));
  max-height: min(70vh, 520px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 10px;
  background: #0f0f0f;
  border: 1px solid #2e3036;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  z-index: 2500;
}

.nav-notifications-dropdown[hidden] {
  display: none !important;
}

.nav-notifications-dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 6px 10px;
  margin-bottom: 2px;
  border-bottom: 1px solid #2e3036;
}

.nav-notifications-dropdown-title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  color: #e8e8e8;
}

.nav-notifications-push-btn {
  flex-shrink: 0;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: Inter, var(--font-sans), system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.nav-notifications-push-btn:hover,
.nav-notifications-push-btn.is-active {
  color: #fff;
  border-color: var(--accent);
  background: rgba(0, 157, 255, 0.12);
}

.nav-notifications-list {
  overflow-y: auto;
  padding: 0;
}

.nav-notifications-empty {
  margin: 0;
  padding: 14px 16px;
  text-align: center;
  color: var(--muted);
  font-family: Inter, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
}

.nav-notifications-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #e8e8e8;
  font-family: Inter, sans-serif;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  box-sizing: border-box;
}

.nav-notifications-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-notifications-item.is-unread {
  background: rgba(255, 255, 255, 0.05);
}

.nav-notifications-item--static {
  cursor: default;
}

.nav-notifications-item--static:hover {
  background: transparent;
  color: #e8e8e8;
}

.nav-notifications-item--static.is-unread:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #e8e8e8;
}

.nav-notifications-item-media {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-notifications-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-notifications-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.nav-notifications-avatar--fallback {
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-notifications-item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.nav-notifications-item-date {
  font-size: 0.72rem;
  color: var(--muted);
}

.nav-notifications-item-title {
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.35;
  color: inherit;
}

.nav-notifications-item-desc {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--muted);
}

.notifications-img {
  height: 25px;
  display: block;
}
.discord-icon {
  width: 25px;
  height: 25px;
  display: block;
}


.hero { 
    position: relative; 
    min-height: 92vh; 
    width: 93%; 
    overflow: visible;
    margin: auto;
    top: 0%;
    z-index: 1;
}

.hero-slide { 
    position: absolute; 
    inset: 0; 
    opacity: 0; 
    transition: opacity .5s ease; 
    margin-top: 100px;
}
.hero-slide.loaded { transition: 0.5s ease-in-out; }
.hero-slide.active { opacity: 1; }


.hero-slide-bg {
    position: absolute;
    top: 0; left: 0; right: 0;
    bottom: 0px;
    background-position: center;
    background-size: cover;
    z-index: 0;
    border-radius: 50px;
}
.hero-slide-bg.loaded { transition: 0.5s ease-in-out; }


.hero-slide::after { 
    content: ""; 
    position: absolute; 
    left: -1px;
    right: -1px;
    top: -1px;
    bottom: 0px; 
    background:
        linear-gradient(180deg, transparent 0%, transparent 35%, #0f0f0fb5 70%);
    z-index: 1;
}



.section.below-hero {
    position: relative;
    z-index: 2;
    pointer-events: none;
}
.section.below-hero .row-head,
.section.below-hero .rail,
.section.below-hero .carousel,
.section.below-hero .caro-btn {
    pointer-events: auto;
}


@media (max-height: 1080px) {
    .hero-content { bottom: clamp(14vh, 18vh, 22vh); }
    #hero-dots { bottom: clamp(20px, 2.5vh, 30px); }
}
@media (max-height: 900px) {
    .hero-content { bottom: clamp(16vh, 20vh, 24vh); }
    #hero-dots { bottom: clamp(22px, 2.8vh, 32px); }
}
@media (max-height: 768px) {
    .hero-content { bottom: clamp(18vh, 22vh, 28vh); }
    #hero-dots { bottom: clamp(24px, 3vh, 36px); }
}

#hero-dots {
position: absolute;
left: 50%;
bottom: clamp(16px, 5.2vh, 68px);
transform: translateX(-50%);
display: flex;
gap: clamp(6px, 1vh, 12px);
z-index: 4;
display: none;
}

#hero-dots .dot {
width: clamp(7px, 1.2vh, 10px);
height: clamp(7px, 1.2vh, 10px);
border-radius: 50%;
background: rgba(255,255,255,0.35);
cursor: pointer;
transition: background 0.2s ease, transform 0.2s ease;
}

#hero-dots .dot.active {
background: #fff;
transform: scale(1.2);
}

.hero-content {
  position: absolute;
  left: 2vw;
  bottom: clamp(0vh, 5vh, 35vh);
  max-width: min(640px, 88vw);
  z-index: 2;
}
.pill { display:inline-block; padding:.35rem .6rem; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); border-radius:999px; font-size:.8rem }
.title { font-family:"Inter",sans-serif; font-size:clamp(2rem,6vw,3.6rem); line-height:1.05; margin: clamp(0.25rem, 0.5vh, 0.5rem) 0 clamp(0.35rem, 0.8vh, 0.6rem); font-weight: bold;}


.hero-logo {
    max-width: 650px;
    height: auto;
    display: block;
    margin: clamp(0.35rem, 0.6vh, 0.5rem) 0 clamp(0.6rem, 1.2vh, 1rem) 0;
    object-fit: contain;
}

.desc { max-width:60ch; color:var(--muted); font-size:clamp(.9rem,1.3vw,1rem) }

.hero-actions {
display: flex;
gap: clamp(8px, 1.2vh, 14px);
margin-top: clamp(12px, 2vh, 22px);
flex-wrap: wrap;
}

.hero-info-btn {
margin-top: clamp(0.5rem, 1.2vh, 1rem);
display: inline-flex;
align-items: center;
justify-content: center;
gap: clamp(0.4rem, 0.6vh, 0.6rem);
padding: clamp(0.55rem, 0.85vh, 0.7rem) clamp(1.2rem, 1.8vh, 1.75rem);
border-radius: 999px;
border: none;
background: rgba(255, 255, 255, 0.13);
color: rgb(255, 255, 255);
font-weight: 700;
cursor: pointer;
font-size: clamp(1.5rem, 1vh, 1rem);
}

.hero-info-btn svg {
display: none;
}

.hero-info-btn:active{
  opacity: 0.7;
}

.hero-info-btn:active {
transform: scale(0.98);
}

.cta {
  margin-top: clamp(0.5rem, 1.2vh, 1rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.4rem, 0.6vh, 0.6rem);
  padding: clamp(0.55rem, 0.85vh, 0.7rem) clamp(1.2rem, 1.8vh, 1.75rem);
  border-radius: 999px;
  border: none;
  background: white;
  color: black;
  font-weight: 700;
  cursor: pointer;
  font-size: clamp(1.5rem, 1vh, 1rem);
}
.cta:active {
  opacity: 0.7;
  transform: scale(0.98);
}

.start-watching-btn {
margin-top: 16px;
display: inline-flex;
align-items: center;
gap: 8px;
background: white;
color: #000;
border: none;
padding: 10px 16px;
border-radius: 5px;
font-weight: 600;
cursor: pointer;
position: relative;
overflow: hidden;
}

.start-watching-btn .ripple {
position: absolute;
border-radius: 50%;
background: rgba(0, 0, 0, 0.3);
transform: scale(0);
animation: ripple-anim 800ms ease-out;
pointer-events: none;
}

@keyframes ripple-anim {
to {
transform: scale(4);
opacity: 0;
}
}

.start-watching-btn svg {
width: 18px;
height: 18px;
fill: currentColor;
}

.hero-controls { position: absolute; left: 4vw; bottom: clamp(2vh, 3.2vh, 4vh); display: flex; align-items: center; gap: clamp(0.4rem, 0.55rem, 0.7rem); z-index: 2; }
.dot { width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.35) }
.dot.active { background:#fff }
.nav { border: 1px solid rgba(255,255,255,.22); position:absolute; top:50%; transform:translateY(-100%); z-index:4; border:none; background:rgba(0,0,0,.35); width:44px; height:44px; border-radius:50%; color:#fff; cursor:pointer; background: rgba(0,0,0,.35); backdrop-filter: blur(10px); }
.nav:hover { background:rgba(0,0,0,.55) }
.nav.prev { left:1.2vw } .nav.next { right:1.2vw; z-index: 4;}

.mobile-bottom-nav {
position: fixed;
bottom: 0;
left: 0;
right: 0;
height: 72px;
display: none;
background: var(--bg);
border-top: 2px solid rgba(255,255,255,0.08);
box-shadow: 0px 0px 38px #009dff40;
z-index: 102251;
align-items: flex-end;
padding-bottom: 8px;
}


.hero-mobile-ambient,
.hero-mobile-thumb-wrap,
.hero-mobile-meta {
  display: none;
}

@media (max-width: 768px) {
.mobile-bottom-nav {
display: none !important;
}
.hero .nav {
display: none;
}

.hero-actions{
justify-content: center;
}


.hero-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.hero-slide .hero-slide-bg,
.hero-slide .hero-content,
.hero-slide .bg-video,
.hero-slide .video-mute-btn {
  display: none !important;
}
.hero-slide::after {
  display: none;
}
.hero-mobile-ambient {
  display: block;
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(35px);
  opacity: 0.38;
  z-index: 0;
  transform: scale(1.2);
  pointer-events: none;
}
.hero-mobile-thumb-wrap {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 5vw;
  box-sizing: border-box;
  cursor: pointer;
  margin-top: 10vh;
}
.hero-mobile-thumb {
  display: block;
  width: 100%;
  max-width: 75vw;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.hero-mobile-thumb.loaded {
  opacity: 1;
}
.hero-mobile-meta {
  display: block;
  position: relative;
  z-index: 1;
  padding: 16px 5vw 24px;
  text-align: center;
}
.hero-mobile-meta-title {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.35rem, 4.5vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.2;
}
.hero-mobile-meta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-mobile-meta-actions .cta,
.hero-mobile-meta-actions .hero-info-btn {
  margin-top: 0;
}
}

.nav-btn {
position: relative;
flex: 1;
background: none;
border: none;
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 6px 0 4px;
gap: 2px;
transition: color 0.2s ease, border-color 0.2s ease;
cursor: pointer;
}

.nav-btn-icon {
display: flex;
align-items: center;
justify-content: center;
}
.nav-btn-icon svg,
.nav-btn .pfp-wrap { fill: currentColor; }
.nav-btn .pfp-wrap { display: flex; align-items: center; justify-content: center; }
.nav-btn-label {
font-size: 0.65rem;
font-weight: 700;
color: var(--muted);
text-transform: none;
line-height: 1.1;
}
.nav-btn.active .nav-btn-label,
.nav-btn:active .nav-btn-label { color: var(--accent); }
.nav-btn.home-page-active .nav-btn-icon,
.nav-btn.home-page-active .nav-btn-label { color: var(--accent); }
.nav-btn.join-page-active .nav-btn-icon,
.nav-btn.join-page-active .nav-btn-label { color: var(--accent); }
.nav-btn.bugs-page-active .nav-btn-icon,
.nav-btn.bugs-page-active .nav-btn-label { color: var(--accent); }
.nav-btn:active.nav-btn-account .pfp-wrap,
.nav-btn:active.nav-btn-account .nav-btn-icon { box-shadow: 0 0 0 2px var(--accent); border-radius: 50%; }

.nav-btn svg {
width: 24px;
height: 24px;
fill: currentColor;
}


.mobile-nav-search-slot {
position: relative;
display: flex;
align-items: center;
justify-content: center;
flex: 1;
max-width: 56px;
width: 56px;
height: 56px;
margin-top: -20px;
padding: 0;
background: var(--bg);
border-radius: 50%;
transform: translateY(-30px);
transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1), height 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.3s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), left 0.3s cubic-bezier(0.4, 0, 0.2, 1), right 0.3s cubic-bezier(0.4, 0, 0.2, 1), bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-search-slot.search-active {
position: fixed;
left: 0;
right: 0;
top: 0;
width: auto;
max-width: none;
height: 72px;
margin-top: 0;
border-radius: 0;
padding: 0 12px 8px;
transform: none;
z-index: 10000;
background: transparent;
}
.search-wrap-mobile {
display: none;
align-items: center;
gap: 8px;
width: 100%;
min-width: 0;
pointer-events: none;
}
.mobile-nav-search-slot.search-active .search-wrap-mobile {
display: flex;
flex-direction: row;
align-items: center;
pointer-events: auto;
position: static;
top: auto;
left: auto;
right: auto;
margin-bottom: 20px;
}
.mobile-nav-search-slot.search-active .search-wrap-mobile .search-icon-left {
display: none;
}
.search-wrap-mobile .search-input-wrap {
flex: 1;
min-width: 0;
display: flex;
align-items: center;
opacity: 0;
transition: opacity 0.25s ease;
}
.mobile-nav-search-slot.search-active .search-wrap-mobile .search-input-wrap {
opacity: 1;
}
.search-wrap-mobile input {
flex: 1;
min-width: 0;
background: transparent;
border: none;
padding: 0 8px;
font-size: 16px;
color: #fff;
}
.search-wrap-mobile input::placeholder { color: var(--muted); }
.mobile-nav-search-slot .search-wrap-mobile .search-icon-left,
.mobile-nav-search-slot .search-wrap-mobile .search-icon-right {
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
color: var(--muted);
padding: 4px;
}
.mobile-nav-search-slot .search-wrap-mobile .search-icon-left svg,
.mobile-nav-search-slot .search-wrap-mobile .search-icon-right svg { width: 18px; height: 18px; }
.mobile-nav-search-slot .search-wrap-mobile button[aria-label="Clear search"] {
flex-shrink: 0;
background: none;
border: none;
color: var(--muted);
padding: 8px;
cursor: pointer;
font-size: 1rem;
}
.mobile-search-btn-in-nav {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
min-width: 40px;
min-height: 40px;
padding: 0;
border: none;
background: none;
color: var(--muted);
cursor: pointer;
border-radius: 50%;
transition: color 0.2s ease, background 0.2s ease;
}
.mobile-nav-search-slot.search-active .mobile-search-btn-in-nav { display: none !important; }
.mobile-search-btn-in-nav:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-btn-lounge .discord-icon,
.nav-btn-join svg,
.nav-btn-upgrade svg,
.nav-btn-bugs svg { width: 24px; height: 24px; }

.nav-btn.active,
.nav-btn:focus,
.nav-btn:active {
color: #009dff;
}

.nav-btn::after {
content: '';
position: absolute;
width: 0;
height: 0;
background: rgba(0, 157, 255, 0.3);
border-radius: 50%;
transform: translate(-50%, -50%);
}

.nav-btn:active::after {
width: 120px;
height: 120px;
opacity: 0;
transition: width 0.4s ease, height 0.4s ease, opacity 0.6s ease;
}

.pfp-wrap img {
width: 28px;
height: 28px;
border-radius: 50%;
object-fit: cover;
}


.nav-btn::after {
content: '';
position: absolute;
width: 0;
height: 0;
background: rgba(255,255,255,0.3);
border-radius: 50%;
transform: translate(-50%, -50%);
opacity: 0;
}


.nav-search-area {
display: flex;
align-items: center;
justify-content: flex-end;
}


.search-wrap-desktop {
display: flex;
align-items: center;
position: relative;
width: 0;
max-width: min(400px, 80%);
overflow: hidden;
opacity: 0;
transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

.search-wrap-desktop.mobile-active {
width: min(320px, 80%);
opacity: 1;
}

.search-wrap-desktop.search-wrap-desktop--snap {
transition: none !important;
}

.search-wrap-desktop.mobile-active ~ .nav-search-btn {
display: none;
}

.search-input-icon {
display: none;
align-items: center;
justify-content: center;
position: absolute;
left: 12px;
top: 50%;
transform: translateY(-50%);
color: var(--muted);
pointer-events: none;
z-index: 2;
}

.search-wrap-desktop.mobile-active .search-input-icon {
display: flex;
}

.search-wrap-desktop input {
min-width: 200px;
flex: 1;
width: 100%;
}

.search-wrap-desktop #searchClear {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
margin-left: 0;
z-index: 2;
display: flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
padding: 0;
background: none;
border: none;
color: #aaa;
font-size: 16px;
line-height: 1;
cursor: pointer;
opacity: 0;
pointer-events: none;
transition: opacity 0.15s ease, color 0.15s ease;
}

.search-wrap-desktop #searchClear:hover {
color: #fff;
}

.search-wrap-desktop.has-value #searchClear {
opacity: 1;
pointer-events: auto;
}

.search-wrap-mobile {
display: none;
}


.search-wrap-desktop input,
.search-wrap-mobile input {
width: 100%;
padding: 12px 36px 12px 16px;
border-radius: 10px;
background: #0f0f0fcc;
backdrop-filter: blur(6px);
border: 1px solid rgba(255,255,255,.12);
color: #fff;
font-family: "Inter", sans-serif;
font-size: 16px;
outline: none;
transition: border-color .2s ease, box-shadow .2s ease;
}
.search-wrap-desktop.mobile-active input {
padding-left: 40px;
padding-right: 36px;
}
@media (min-width: 769px) {
.search-wrap-desktop input { font-size: 0.95rem; }
}

.search-wrap input::placeholder {
color: var(--muted);
}

.search-wrap input:focus {
border-color: var(--accent);
box-shadow: 0 0 0 2px rgba(0,157,255,.25);
}


.nav-search-btn {
display: flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
padding: 0;
border: none;
border-radius: 50%;
background: transparent;
color: var(--muted);
cursor: pointer;
transition: color 0.2s ease, background 0.2s ease;
}
.nav-search-btn svg {
width: 22px;
height: 22px;
}
.nav-notifications-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}
.nav-search-btn:hover {
color: #fff;
background: rgba(255, 255, 255, 0.08);
}

.mobile-search-btn {
position: fixed;
top: 14px;
right: 14px;
z-index: 1000;
width: 42px;
height: 42px;
border-radius: 50%;
background: rgba(0,0,0,0.6);
color: white;
display: none;
align-items: center;
justify-content: center;
border: 2px solid grey;
outline: none;
}

@media (max-width: 768px) {
.search-wrap {
display: none;
position: fixed;
top: 12px;
left: 12px;
right: 60px;
z-index: 999;
}

.search-wrap.mobile-active {
display: block;
}
}



#searchResults {
position: relative;
z-index: 20;
background: var(--bg);
padding-top: 80px;
min-height: 50vh;
}
#searchResults.hidden { z-index: 0; padding-top: 24px; }

.section{ padding:24px 3.5vw 8px }
.row-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:4px; position:relative; z-index:10 }
.row-title{ font-family:"Inter",sans-serif; font-size:1.4rem; font-weight: bold;}
.clear{ background:#e53935; border:none; color:#fff; border-radius:10px; padding:.5rem .8rem; font-size:0.95rem; cursor:pointer }
.cw-clear-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  min-height: 36px;
}
.cw-clear-wrap .theater-mod-inline-confirm {
  gap: 8px;
}
.cw-clear-wrap .theater-mod-inline-confirm-text {
  white-space: nowrap;
}

.rail{padding-top: 50px; padding-bottom: 50px; margin-top: -46px; display:grid; grid-auto-flow:column; grid-auto-columns:350px; gap:14px; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory;}

.card{border: 0px solid white; filter: drop-shadow(0px 0px 0px black); scroll-snap-align:start; position:relative; border-radius:var(--radius); overflow:hidden; cursor:pointer; transition: transform 0.2s ease, filter 0.2s ease; }
.card:hover{
    transform: scale(0.98); border: 1px solid white;}
.card.show-card:hover { transform: none; filter: drop-shadow(0px 0px 0px black); }
@media (min-width: 769px) {
  .card.show-card.is-hovered {
    transform: scale(1.35);
    z-index: 22525;
    filter: drop-shadow(0px 0px 20px black);
  }
}
.thumb{ display:block; width:100%; aspect-ratio:16/9; object-fit:cover }
.meta{ padding:.55rem .7rem .7rem }
.name{ font-size:1.05rem; font-weight: bold;}
.sub{ font-size:.9rem; color:var(--muted); margin-top:.25rem }
.card-inner {
position: relative;
}

.hover-preview {
position: absolute;
inset: 0;
right: -6px;
border-radius: inherit;
opacity: 0;
pointer-events: none;
z-index: 20;
display: flex;
flex-direction: column;
justify-content: flex-end;
transition: opacity 0.2s ease;
}
@media (min-width: 769px) {
.show-card.is-hovered .hover-preview {
transform: none;
}
}

.hover-gradient {
position: absolute;
inset: -4px;
right: -8px;
z-index: 1;
pointer-events: none;
border-radius: inherit;
background:
linear-gradient(transparent, black);
}


.card.is-hovered .hover-preview {
opacity: 1;
pointer-events: auto;
}


.hover-video {
position: absolute;
inset: -3px;
right: -8px;
object-fit: cover;
opacity: 0;
transition: opacity 0.25s ease;
}


.hover-content {
position: relative;
z-index: 2;
padding: 15px;

}

.hover-mute-btn {
position: absolute;
top: 10px;
right: 10px;
z-index: 5;
width: 34px;
height: 34px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}



.hp-logo-wrap {
display: flex;
align-items: flex-end;
justify-content: flex-start;
min-height: 0;
max-height: 96px;
margin-bottom: 8px;
overflow: visible;
}

.hp-logo-wrap .lazy-img-wrap {
overflow: visible;
aspect-ratio: unset;
height: auto;
max-height: 100%;
background-image: none;
}
.hp-logo-wrap .lazy-img-wrap .lazy-img {
width: auto;
height: auto;
max-height: 100%;
object-fit: contain;
}
.hp-logo {
max-height: 100%;
max-width: 220px;
width: auto;
height: auto;
object-fit: contain;
object-position: left bottom;
}
.hp-title {
font-weight: 700;
font-size: 1.25rem;
margin-bottom: 6px;
line-height: 1.2;
}

.hp-desc {
font-size: 0.85rem;
color: var(--muted);
max-width: 20ch;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}

.hp-tags {
display: flex;
gap: 4px;
margin-top: 6px;
align-items: center;
flex-wrap: wrap;
}

.hp-tags span {
font-size: 0.7rem;
padding: 3px 8px;
border-radius: 999px;
background: rgba(255,255,255,0.1);
}
.hover-preview,
.hover-video {
pointer-events: none;
}

.hover-mute-btn {
pointer-events: auto;
}
@media (pointer: coarse) {
.hover-preview {
display: none;
}
}


.progress-bar{ position:absolute; left:0; right:0; bottom:0; height:4px; background:rgba(255,255,255,.15) }
.progress-bar > span{ display:block; height:100%; width:0; background:#46a0ff }

.free-tag {
    position: absolute;
    background-color: var(--accent);
    color: #fff;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: "Inter", sans-serif;
    z-index: 2;
    line-height: 1;
    margin: 8px;
    pointer-events: none;
}
.lock-tag {
position: absolute;
background: rgba(0,0,0,.3);
backdrop-filter: blur(2px);
padding: 6px;
margin: 6px;
border-radius: 50%;
z-index: 25;
cursor: pointer;
pointer-events: none;
}

.lock-tag svg {
transition: transform 0.35s ease;
transform-origin: center;
pointer-events: none;
}
.card:has(.lock-tag),
.ep:has(.lock-tag) {
opacity: 1;
}



.remove-from-cw {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background-color: rgba(255, 4, 0, 0.85);
  color: #fff;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: scale(0.8);
}
.card:hover .remove-from-cw {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.remove-from-cw:hover {
    background-color: #ff0400;
    transform: scale(1.1);
}


.carousel{ position:relative }
.caro-btn{ position:absolute; top:50%; transform:translateY(-50%); width:42px; height:42px; border-radius:50%; border:1px solid rgba(255,255,255,.22); background:rgba(0,0,0,.35); color:#fff; display:grid; place-items:center; cursor:pointer; z-index:23000 }
.caro-btn:hover{ background:rgba(0,0,0,.55) }
.caro-btn.left{ left:0.5rem } .caro-btn.right{ right:0.5rem }
.fade{ pointer-events:none; position:absolute; top:0; bottom:12px; width:8vw; z-index:1 }
.fade.left{ left:-1px; width:calc(8vw + 1px); background:linear-gradient(90deg,rgba(14, 14, 15, 0.7),rgba(14,14,15,0)) }
.fade.right{ right:-1px; width:calc(8vw + 1px); background:linear-gradient(270deg,rgba(14,14,15,0.7),rgba(14,14,15,0)) }


@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes modalIn { from{ opacity:0; transform:translateY(24px) scale(.98) } to{ opacity:1; transform:translateY(0) scale(1) } }



.show-modal{ position:fixed; inset:0; display:none; align-items:center; justify-content:center; z-index:9999999999; background:rgba(0,0,0,0) }
.show-modal.open{ display:flex; animation: fadeIn .25s ease forwards; background:rgba(0,0,0,.86); backdrop-filter: blur(20px);}
.show-box{ width:1250px; height:90%; background:#0f0f0f; overflow:hidden; position:relative; opacity:0; transform:translateY(24px) scale(.985); box-shadow:0 20px 60px rgba(0,0,0,.5); overflow: auto; display:flex; flex-direction:column; }
.show-modal.open .show-box{ animation: modalIn .3s ease forwards }
.show-close{ position:absolute; top:10px; left:12px; font-size:28px; border:none; background:transparent; color:#fff; cursor:pointer; z-index:3; text-shadow: black 0px 0px 20px;}

.show-banner{ position:relative; height:min(55vh, 720px); min-height:300px; background-position:center; background-size:cover; transition: background-image 0.5s ease-in-out; flex-shrink:0; }
.show-banner::after {
content: "";
position: absolute;
inset: -3px;
pointer-events: none;

background: linear-gradient(transparent, var(--bg) 97%);
height: 100.5%;
}
.show-banner {
position: relative;
}

.show-banner::after {
z-index: 1;
pointer-events: none;
}

.bg-video {
z-index: 1;
}


.show-head{ position:absolute; left:2%; bottom:4%; top:auto; z-index:2; display:flex; flex-direction:column; align-items:flex-start; max-width:min(305px,62vw) }
.show-presents{color: var(--muted); display: none !important;}
.head-top{ align-self:flex-start; text-align:center; width:auto }
.show-title{ font-family:"Inter",sans-serif; text-align:center; font-size:clamp(2.1rem,4.8vw,3.2rem); line-height:1.05; margin: 8px 25px 3px }


.show-tv-original-badge {
    display: block;
    margin-bottom: 8px;
}
.show-tv-original-badge img {
    display: block;
    height: auto;
    width: auto;
    max-width: min(180px, 22vw);
    object-fit: contain;
}


.show-modal-logo {
    height: auto;
    display: block;
    margin: 8px 0 8px;
    object-fit: contain;
    max-width: min(520px, 32vw);
    width: auto;
}


.show-banner-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}
.show-banner-actions .start-watching-btn,
.show-box .start-watching-btn,
.show-mobile-actions .start-watching-btn {
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 8px;
  gap: 10px;
  margin-top: 0;
  white-space: nowrap;
  flex: 1 1 auto;
  min-width: max-content;
  justify-content: center;
}
.show-box .start-watching-btn svg,
.show-mobile-actions .start-watching-btn svg {
  width: 22px;
  height: 22px;
}
.show-box .custom-select { font-size: 1.05rem; }
.show-box .select-selected {
  padding: .55rem 2.25rem .55rem .9rem;
  font-size: 1.05rem;
  border-radius: 10px;
}
.show-box .select-items div {
  padding: .5rem .9rem;
  font-size: 1.05rem;
}

.show-details {
  padding: 2px 0 8px;
}
.show-details-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.show-mobile-details-meta {
  justify-content: center;
  margin-top: 12px;
  margin-bottom: 8px;
}
.show-release-flag {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 500;
  color: #ccc;
  line-height: 1.35;
  white-space: nowrap;
}
.show-release-flag[hidden] { display: none !important; }
.show-inline-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0 6px;
  align-items: baseline;
  line-height: 1.4;
}
.show-inline-tags .tag {
  display: inline-block;
  font-size: 1rem;
  color: #aaa;
  background: none;
  border: none;
  padding: 0;
  white-space: nowrap;
}
.show-inline-tags .tag:not(:last-child)::after {
  content: ",";
  margin-left: 1px;
  color: #aaa;
}
.show-total-duration {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #ddd;
  line-height: 1.45;
  white-space: nowrap;
}
.show-total-duration[hidden] { display: none !important; }
.show-content .show-desc {
  max-width: min(720px, 92%);
  font-size: 1.05rem;
  color: #aaa;
  line-height: 1.6;
  margin: 0;
}
.show-mobile-desc {
  text-align: center;
  max-width: min(92vw, 640px);
  margin: 0 auto;
  font-size: 1.05rem;
  color: #aaa;
  line-height: 1.6;
}

.show-desc{ color: #aaa; line-height: 1.6;}

.show-mobile-meta {
    display: none;
}

.show-content{ position:relative; left:0; right:0; top:auto; bottom:auto; padding:0 2% 22px; flex:1; min-height:0;}
@media (max-width: 768px) {
  .show-content .show-details {
    display: none;
  }
}
.show-section-heading {
  font-family: Inter, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 8px 4px 14px;
  color: #fff;
}
.show-controls{ display:flex; align-items:center; gap:10px; margin:0 0 12px 4px }
.show-controls select{ background:#12131a; color:#fff; border:1px solid #272b38; border-radius:8px; padding:.5rem .65rem; font-size:1rem }

.episodes {
display: flex;
flex-direction: column;
gap: clamp(14px, 2.5vw, 28px);
}
.show-recs {
margin-top: 28px;
}

.show-recs-title {
font-size: 1.25rem;
font-weight: 700;
opacity: 0.95;
margin-bottom: 14px;
}

.show-recs-list {
display: flex;
gap: clamp(12px, 1.5vw, 20px);
padding: clamp(10px, 1.5vw, 18px);
}

.show-rec-card {
flex-shrink: 0;
width: clamp(220px, 28vw, 350px); 
cursor: pointer;
transition: .3s ease;
}

.show-rec-card:hover{
transform: scale(1.05);
}

.show-rec-card img {
width: 100%;
aspect-ratio: 16 / 9;
object-fit: cover;
border-radius: 8px;

}



.show-rec-card .name {
font-size: clamp(0.95rem, 1.1vw, 1.05rem);
margin-top: 10px;
line-height: 1.3;
color: #fff;
}
@media (max-width: 600px) {
.show-recs-list {
overflow-x: auto;
padding-bottom: 6px;
flex-direction: column;
text-align: center;
}

.show-rec-card {
width: 80vw;
}
}



.ep {
display: flex;
gap: clamp(12px, 2vw, 24px);
padding: clamp(10px, 1.5vw, 18px);
border-radius: 12px;
cursor: pointer;
transition: .2s ease;
}

.ep .t {
font-size: clamp(1.05rem, 1.25vw, 1.2rem);
}

.ep .d {
font-size: clamp(.95rem, 1.05vw, 1.05rem);
}


.ep:hover {
background: rgba(255,255,255,0.04);
transform: scale(1.005);
}

.ep-thumb-wrap {
width: 350px;
aspect-ratio: 16 / 9;
flex-shrink: 0;
position: relative;
overflow: hidden;
border-radius: 5px;
}

.ep-thumb-wrap .lazy-img-wrap,
.ep-thumb-wrap .lazy-img-wrap .lazy-img,
.ep-thumb-wrap img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 5px;
}

.ep-thumb-wrap .progress-bar {
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 4px;
z-index: 2;
}

.ep-duration-badge {
position: absolute;
right: 8px;
bottom: 8px;
z-index: 2;
background: rgba(0, 0, 0, 0.82);
color: #fff;
font-size: 0.78rem;
font-weight: 700;
line-height: 1;
padding: 4px 6px;
border-radius: 4px;
font-variant-numeric: tabular-nums;
pointer-events: none;
}

.ep-thumb-wrap img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 5px;
}


.ep .n{ font-size:.95rem; color:var(--muted); opacity:.9; margin:0 0 4px }
.ep .t{ font-size:1.15rem; font-weight:600; font-family:Inter, sans-serif }
.ep .d{ color:var(--muted); font-size:1rem; margin-top:6px; line-height:1.45 }
.creatorLink{color: white; background: none; border: none; }


.install-prompt-modal { position: fixed; inset: 0; z-index: 9999999998; display: none; align-items: center; justify-content: center; padding: 1rem; }
.install-prompt-modal.open { display: flex; }
.install-prompt-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(8px); }
.install-prompt-box { position: relative; max-width: 340px; width: 100%; background: var(--card); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.install-prompt-title { font-family: Inter, sans-serif; font-size: 1.15rem; font-weight: 600; margin: 0 0 .75rem; color: #fff; }
.install-prompt-text { font-size: .9rem; line-height: 1.45; color: var(--muted); margin: 0 0 1.25rem; }
.install-prompt-btn { display: block; text-align: center; background: var(--accent); color: #fff; font-weight: 600; font-size: .95rem; padding: .65rem 1rem; border-radius: 8px; text-decoration: none; margin-bottom: .5rem; }
.install-prompt-btn:hover { opacity: .95; }
.install-prompt-dismiss { display: block; width: 100%; background: transparent; border: none; color: var(--muted); font-size: .85rem; cursor: pointer; padding: .4rem; }

.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999999997;
  display: flex;
  justify-content: center;
  padding: 0 clamp(12px, 3vw, 20px) max(12px, env(safe-area-inset-bottom));
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.cookie-consent-banner.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-inner {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  padding: 1.1rem 1.2rem 1.15rem;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.55);
}
.cookie-consent-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent, #009dff);
}
.cookie-consent-title {
  margin: 0 0 0.55rem;
  font-family: Inter, sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}
.cookie-consent-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted, #aaa);
}
.cookie-consent-text strong {
  color: #e8e8e8;
  font-weight: 600;
}
.cookie-consent-legal {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: #777;
}
.cookie-consent-legal a {
  color: var(--accent, #009dff);
  text-decoration: none;
}
.cookie-consent-legal a:hover {
  text-decoration: underline;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  width: 100%;
}
.cookie-consent-accept,
.cookie-consent-essential {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 8px;
  font-family: Inter, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.65rem 0.85rem;
  transition: opacity 0.15s ease, background 0.15s ease;
}
.cookie-consent-accept {
  border: none;
  background: var(--accent, #009dff);
  color: #fff;
}
.cookie-consent-accept:hover {
  opacity: 0.92;
}
.cookie-consent-essential {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--muted, #aaa);
}
.cookie-consent-essential:hover {
  color: #ddd;
  border-color: rgba(255, 255, 255, 0.22);
}

.producer-tier-modal {
  position: fixed;
  inset: 0;
  z-index: 10000000000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.producer-tier-modal.open { display: flex; }
body.producer-tier-modal-open { overflow: hidden; }
.producer-tier-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}
.producer-tier-box {
  position: relative;
  width: min(420px, 100%);
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  text-align: center;
  animation: modalIn 0.28s ease forwards;
}
.producer-tier-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.producer-tier-close:hover { background: rgba(255, 255, 255, 0.14); }
.producer-tier-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  color: var(--accent);
}
.producer-tier-lock svg {
  width: 56px;
  height: 56px;
}
.producer-tier-text {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #ddd;
}
.producer-tier-text strong {
  color: #fff;
  font-weight: 700;
}
.producer-tier-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.producer-tier-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  font-family: Inter, var(--font-sans), system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.producer-tier-btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-anim 800ms ease-out;
  pointer-events: none;
}
.producer-tier-btn--join .ripple { background: rgba(255, 255, 255, 0.35); }
.producer-tier-btn--login .ripple { background: rgba(255, 255, 255, 0.2); }
.producer-tier-btn--join {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.producer-tier-btn--join:hover { filter: brightness(1.08); }
.producer-tier-btn--login {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.producer-tier-btn--login:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
}

.modal{ position:fixed; inset:0; background:rgba(0,0,0,0); display:none; align-items:center; justify-content:center; z-index:9999999999; overflow:hidden }
.modal.open{ display:flex; animation: fadeIn .25s ease forwards; background:#000; overflow:hidden }
.modal-box{ width:100%; height:100%; max-width:100vw; max-height:100vh; background:#000; border-radius:0; overflow:hidden; position:relative; opacity:0; transform:translateY(24px) scale(.98) }
.modal.open .modal-box{ animation: modalIn .28s ease forwards }
.modal-close{ position:absolute; top:14px; left:16px; font-size:28px; border:none; background:rgba(0,0,0,.45); padding:.2rem .6rem; border-radius:50px; color:#fff; cursor:pointer; z-index:100 }
.player-theater-layout.active-legacy { position:absolute; inset:0; width:100%; height:100% }
.player-theater-layout.active-legacy .player-wrap { position:absolute; inset:0 }
.player-theater-layout.active-legacy .player-theater-meta { display:none }
#accountWrap { position:absolute; inset:0 }
.player-wrap iframe, #accountWrap iframe { position:absolute; inset:0; width:100%; height:100%; border:0; background:#000 }


.custom-select {
  position: relative;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  font-weight: 700;
}
.select-selected {
  background-color: #282828;
  border: none;
  border-top: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  padding: .4rem 2rem .4rem .75rem;
  cursor: pointer;
  position: relative;
  user-select: none;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.select-selected::after {
  position: absolute;
  content: "\25BE";
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-size: .85em;
  line-height: 1;
  opacity: .9;
  transition: transform 0.2s ease;
}
.select-selected.select-arrow-active::after {
  transform: translateY(-50%) rotate(180deg);
}
.select-items {
  position: absolute;
  background-color: #1b1c1f;
  backdrop-filter: blur(15px);
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  z-index: 99;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
}
.select-hide {
  display: none;
}
.select-items div {
  position: relative;
  overflow: visible;
  padding: .35rem .75rem;
  cursor: pointer;
  user-select: none;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
}
.select-items div:hover {
  background-color: rgba(255,255,255,0.06);
}
.same-as-selected {
  background-color: rgba(0, 157, 255, 0.28);
  color: var(--accent);
}
.same-as-selected:hover {
  background-color: rgba(0, 157, 255, 0.35) !important;
  color: var(--accent) !important;
}
.select-items div .season-item-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: season-ripple-anim 0.55s ease-out;
  pointer-events: none;
}
@keyframes season-ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
@media (max-width: 60rem), (pointer: coarse) {
.episodes {
grid-template-columns: 1fr;
}
}


@media (max-width: 768px) {
.hero{min-height: 40vh !important;}
.show-box{
width: 100%;
height: 100%;
}

.hero-content{
bottom: -5% !important;
max-width: 50%;
}


.show-banner{
height: min(48vh, 420px) !important;
min-height: 240px;
background-position: right;
}

.show-modal-logo{
width: 100%;
max-width: unset;
}

.hero-logo{
max-width: 100%;

}

.show-title{
visibility: visible !important;
display: block !important;
font-size: 2rem;
margin: 0 !important;
}

.show-desc{
font-size: 0.92rem;
}


.modal-close{
right: revert;
left: 14px;
}

  .hero{min-height: 80vh !important;
    margin: auto;}
  .hero-content{left: 50%; transform: translateX(-50%); text-align: center; width: 75%; margin-bottom: 24px;}
  .hero-slide{
    background-position: right;
  }
        .hero-slide::after{
    background: linear-gradient(to bottom, transparent, var(--bg) 90%);
  }
  .hero-logo{
    display: none;
  }

  .title{
    display: block !important;
    max-width: unset;
  }
  .search-wrap{
    margin-top: 30px;
  }
}

@media (min-width: 769px) {
  .nav-menu {
    display: flex !important; 
  }
}

@media (max-width:700px), (max-height: 430px){ 

  .rail{ grid-auto-columns:minmax(72vw,72vw) } 
  .ep-thumb-wrap { width: 100%; }
  .ep img{ height:auto; }
}

    .playlist-toggle {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}
.playlist-toggle img {
  display: block;
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

   
.playlist-sidebar {
    width: 350px;
    background: #0f0f0f91;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    display: none;
    flex-direction: column;
    padding: 20px;
    z-index: 90;
    overflow-y: auto;
    position: absolute;
    border-radius: 20px;
    margin: 20px 70px;
}
.playlist-sidebar.open { display: flex; right: 0;}
.playlist-header { margin-bottom: 20px; padding-top: 20px; }
.playlist-header h3 { margin: 0 0 10px; font-size: 1.2rem; }
.season-select-wrap select {
    width: 100%;
    background: #1b1c1f;
    color: #fff;
    border: 1px solid #333;
    padding: 10px;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
}
.playlist-items { display: grid; gap: 15px; }
.pl-item { display: flex; gap: 12px; cursor: pointer; opacity: 0.8; transition: 0.2s; }
.pl-item:hover, .pl-item.active { opacity: 1; color: var(--accent);}
.pl-item img { width: 100px; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; }
.pl-item-info { flex: 1; }
.pl-item-title { font-size: 0.9rem; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pl-item-meta { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }

@media (max-width: 1024px) {
    .playlist-sidebar {
        position: fixed;
        right: -100%;
        top: 0;
        bottom: 0;
        width: 300px;
        transition: right 0.3s ease;
        margin: 0;
        border-radius: 0px;
    }
    .playlist-sidebar.open { right: 0; }
    .sticky-nav { width: 100%; top: 0; }
}

@media (max-width: 768px) {
    .title { font-size: 1.8rem; }
    .playlist-sidebar { width: 100%; }
    .modal-close { top: 10px; left: 10px; right: auto; }
    .playlist-toggle { top: 10px; right: 10px; }
}

@media (max-width: 60rem), (pointer: coarse) {
.show-banner {
display: flex;
flex-direction: column;
justify-content: flex-end;
padding-bottom: 20px;
}
.show-head {
position: relative;
top: auto;
bottom: auto;
left: auto;
transform: none;
margin-left: auto;
margin-right: auto;
align-items: center;
text-align: center;
width: 100%;
max-width: min(92vw, 640px);
padding-inline: 1rem;
}

.show-modal-logo{
display: none !important;
}


.show-tv-original-badge {
    margin-bottom: 10px;
}
.show-tv-original-badge img {
    max-width: min(140px, 35vw);
}

.show-title{
visibility: visible !important;
display: block !important;
}

.head-top{
align-self: unset;
}
}


.bg-video {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 1;
opacity: 0;
transition: opacity 0.6s ease;
pointer-events: none;
}

.video-mute-btn {
position: absolute;
bottom: 5%;
right: 20px;
background: rgba(0,0,0,.6);
border: 2px solid grey;
border-radius: 999px;
padding: 6px;
color: #fff;
cursor: pointer;
z-index: 3;
}
.video-mute-btn2 {
position: absolute;
bottom: 12px;
right: 12px;
background: rgba(0,0,0,.6);
border: 2px solid grey;
border-radius: 999px;
padding: 6px;
color: #fff;
cursor: pointer;
z-index: 3;
height: 35px;
width: 35px;
}

.video-mute-btn svg {
display: block;
height: 27px;
width: 27px;
}
@media (max-width: 768px) {
.hero-content {
max-width: 70%;
}

.hero .nav {
width: 44px;
height: 44px;
}


.show-box .show-banner {
height: 48vh;
min-height: 220px;
max-height: 380px;
display: block;
padding-bottom: 0;
justify-content: flex-end;
}
.show-box .show-banner .show-head {
display: none !important;
}
.show-mobile-meta {
display: block;
padding: 16px 4% 12px;
background: var(--bg);
}
.show-mobile-meta-inner {
max-width: min(92vw, 640px);
margin: 0 auto;
}
.show-mobile-title {
font-family: "Inter", sans-serif;
font-size: 1.75rem;
font-weight: 700;
line-height: 1.2;
margin: 0 0 12px;
color: #fff;
text-align: center;
}
.show-mobile-actions {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
margin-bottom: 4px;
}

.show-content {
position: relative;
top: 0;
margin-top: 0;
}
.show-banner {
height: auto;
min-height: unset;
display: flex;
flex-direction: column;
justify-content: flex-end;
padding-bottom: 16px;
}

.show-head {
position: relative;
bottom: auto;
padding-bottom: 16px;
}
}

.fade.right , .fade.left{
    opacity: 0 !important;
  }
  
  #hero-dots{
    display: none !important;
  }
  
  .caro-btn{
    backdrop-filter: blur(10px) !important;
  }
  
  #showTVOriginalBadge{
    display: none !important;
  }
  
  @media (min-width: 769px) {
      .search-wrap-desktop input {
          font-size: inherit !important;
      }
  }
  @media (max-width: 768px) {
  
    .bg-video{
      border-radius: inherit !important;
    }
    
    .hero-slide{
      margin-top: -5px;
    }
    
      .caro-btn{
      display: none;
    }
      .show-banner {
          height: 240px !important;
      }
    .start-watching-btn{
      padding: 14px 28px;
      font-size: 1rem;
    }
    .show-mobile-actions{
      justify-content: center !important;
    }
    .show-banner::after{
      inset: -2px !important;
    }
  }
   .hero-mobile-ambient{
     opacity: 0.3 !important;
   }
  
  body{
    user-select: none;
  }
  
  .show-recs-list{
    overflow-x: auto;}
  
  .mobile-nav-search-slot{
    transform: unset;
    background: white !important;
  }
  
  .mobile-search-btn-in-nav{
    color: black;
  }
  
  .hp-logo{
    max-width: 125px;
  }
  
  .nav-btn{
    text-decoration: none;
  }
  
  img{
    user-select: none;
    pointer-events: none;
  }
  
  #hero-dots {
    position: absolute;
    left: 4vw;
    bottom: 200px;
    display: flex;
    gap: clamp(6px, 1vh, 12px);
    transform: unset;
    z-index: 4;
  }
  
  .free-tag{
    padding: 7px 12px !important;
    text-transform: uppercase;
    position: absolute;
          background: linear-gradient(to bottom, #009dff, #0000007d);
          color: #fff;
          padding: 10px 20px;
          font-size: 0.8rem;
          font-weight: 700;
          font-family: "Inter", sans-serif;
          z-index: 23;
          line-height: 1;
          margin: 0px 0px;
          backdrop-filter: blur(5px);
          border-radius: 5px 0px 20px 0px;
  }
  
  .caro-btn{
    z-index: 22528;
  }
  .sticky-nav{
    backdrop-filter: unset;
  }
  
  .show-box{
    overflow-x: hidden;
  }
  
  .hover-video{
    height: 100%;
    width: 100%;
  }
  
  .card{
    background: var(--card)
  }
  
  .hover-preview{
    inset: -3px;
  }
  
  .hover-video{
    inset: -2px;
  }
  
  .hover-gradient{
    inset: -3px;
  }
  
  .hp-title{
    margin-bottom: unset;
  }
  
  .hp-tags{
    margin-top: unset;
  }
  
  #searchClear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
    background: none;
    border: none;
    color: #aaa;
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, color 0.15s ease;
  }
  
  #searchClear:hover {
    color: #fff;
  }
  
  .search-wrap.has-value #searchClear {
    opacity: 1;
    pointer-events: auto;
  }
  
  .show-box{
    border-radius: 50px;
  }
  
  .ep-thumb-wrap img{
    aspect-ratio: 16/9;
  }
  
  .custom-select{
    z-index: 26;
  }
  
  @media (max-width: 700px), (max-height: 430px) {
    
    .ep-thumb-wrap {
          width: 50%;
      }
  .show-recs-list{
    align-items: center;
  }
  
  }
  
  .pfp-wrap{
    border: 0px;
    transition: .2s ease;
  }
  
  .pfp-wrap::hover{
    border: 2px solid #009dff;
  }
  
  @media (max-width: 768px) {
      .hero-content {
          bottom: 0% !important;
      }
  
    .show-banner::after{
      background: linear-gradient(transparent, #0f0f0f);
    }
  }
  @media (max-width: 1920px) and (max-height: 1080px) {
    .show-modal-logo{
      max-width: 100%;
    }
  
    .hero-logo{
      max-width: 500px;
    }
  }
  
  @media (max-width: 1030px) and (max-height: 1270px) {
  
    .show-modal-logo{
      max-width: 90%;
    }
  }
  
  @media (max-width: 60rem) {
      .show-tv-original-badge img{
      margin: auto;
    }
  }
  @media (max-width: 768px) {
  
    .hero{
      height: unset;
      min-height: 400px !important;
    }
    
    .show-box{
      width: 100% !important;
    }
        #hero-dots {
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    display: flex;
    gap: clamp(6px, 1vh, 12px);
    z-index: 4;
  }
    #cw-section{
      margin-top: unset !important;
    }
    
    .search-wrap {
      max-width: 90%;
      top: 14px;
      margin: auto;
      left: 0;
      right: 0;
    }
  }

/* Theater Mux player — video on top, scrollable meta + comments below */
#playerModal.modal.open.modal--theater {
  background: var(--bg);
}
.modal-box--theater,
#playerModalBox.modal-box--theater {
  overflow-y: auto !important;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: var(--bg);
  --theater-max-width: calc(100vw - 7vw);
  --theater-sidebar-width: 520px;
  --theater-gutter: clamp(20px, 3.5vw, 48px);
}
.modal-box--theater .player-theater-layout,
.player-theater-layout.is-mux-theater {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--theater-max-width);
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
.modal-box--theater .player-theater-screen,
.player-theater-layout.is-mux-theater .player-theater-screen {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.modal-box--theater .player-stage,
.player-theater-layout.is-mux-theater .player-stage {
  position: relative;
  width: 100%;
  max-width: var(--theater-max-width);
  max-height: min(72vh, calc(var(--theater-max-width) * 9 / 16), 810px);
  aspect-ratio: 16 / 9;
  background: #000;
  flex-shrink: 0;
  overflow: hidden;
  margin: 0;
  border-radius: 14px 14px 0 0;
}
.modal-box--theater .modal-close,
#playerModalBox.modal-box--theater .modal-close {
  top: 14px;
  left: 16px;
  right: auto;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.modal-box--theater .modal-close:hover,
#playerModalBox.modal-box--theater .modal-close:hover {
  background: rgba(0, 0, 0, 0.65);
}
.modal-box--theater .modal-close:active,
#playerModalBox.modal-box--theater .modal-close:active {
  transform: scale(0.96);
}
.theater-playlist-toggle {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 24;
  width: 56px;
  height: 56px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.15s ease, transform 0.1s ease;
}
.modal-box--theater .theater-playlist-toggle,
.player-theater-layout.is-mux-theater .theater-playlist-toggle {
  display: inline-flex;
}
.theater-playlist-toggle:hover { background: rgba(0, 0, 0, 0.65); }
.theater-playlist-toggle:active { transform: scale(0.96); }
.theater-playlist-toggle-icon {
  display: block;
  width: 42px;
  height: 42px;
  color: #fff;
  pointer-events: none;
}
.theater-playlist-toggle-close {
  display: none;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  pointer-events: none;
}
.theater-playlist-toggle.is-open .theater-playlist-toggle-icon {
  display: none;
}
.theater-playlist-toggle.is-open .theater-playlist-toggle-close {
  display: block;
}
.theater-playlist-toggle .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple-anim 800ms ease-out;
  pointer-events: none;
}
.theater-playlist-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 48%);
  min-width: 300px;
  z-index: 22;
  display: flex;
  flex-direction: column;
  background: rgba(12, 12, 12, 0.92);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.35);
}
.theater-playlist-panel.open {
  transform: translateX(0);
  pointer-events: auto;
}
.theater-playlist-head {
  flex-shrink: 0;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.theater-playlist-show {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: Inter, sans-serif;
  color: #fff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.theater-playlist-season-select {
  width: 100%;
  box-sizing: border-box;
  background: #1b1c1f;
  color: #fff;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 8px 10px;
  font-family: Inter, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}
.theater-playlist-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.theater-pl-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #ddd;
  text-align: left;
  cursor: pointer;
  font-family: Inter, sans-serif;
  transition: background 0.15s ease, color 0.15s ease;
}
.theater-pl-item:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.theater-pl-item.active { background: rgba(255, 255, 255, 0.14); color: #fff; }
.theater-pl-thumb-wrap {
  position: relative;
  width: 140px;
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #222;
}
.theater-pl-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  background: #222;
  display: block;
}
.theater-pl-thumb--empty {
  display: block;
  width: 100%;
  height: 100%;
}
.theater-thumb-progress,
.theater-related-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 2;
}
.theater-thumb-progress > span,
.theater-related-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: #46a0ff;
}
.theater-pl-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.theater-pl-meta {
  font-size: 0.82rem;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.02em;
}
.theater-pl-item.active .theater-pl-meta { color: #bbb; }
.theater-pl-title {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.theater-pl-duration {
  font-size: 0.82rem;
  color: #888;
  font-variant-numeric: tabular-nums;
}
.theater-pl-item.active .theater-pl-duration { color: #aaa; }
.modal-box--theater .player-wrap,
.player-theater-layout.is-mux-theater .player-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.bysurf-mobile-center-btn {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 60;
  width: 76px;
  height: 76px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.bysurf-mobile-center-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  pointer-events: none;
}
.bysurf-mobile-center-btn-icon--play { display: none; }
.bysurf-mobile-center-btn.is-paused .bysurf-mobile-center-btn-icon--pause { display: none; }
.bysurf-mobile-center-btn.is-paused .bysurf-mobile-center-btn-icon--play { display: inline-flex; }
.player-wrap.bysurf-mobile-controls-visible .bysurf-mobile-center-btn,
.player-wrap.bysurf-mobile-paused .bysurf-mobile-center-btn {
  display: inline-flex;
}
@media (max-width: 960px) {
  .player-wrap.bysurf-mobile-controls-visible .bysurf-mobile-center-btn,
  .player-wrap.bysurf-mobile-paused .bysurf-mobile-center-btn {
    display: inline-flex;
  }
}
.modal-box--theater mux-player,
.modal-box--theater .mux-player-native,
.player-theater-layout.is-mux-theater mux-player,
.player-theater-layout.is-mux-theater .mux-player-native {
  width: 100% !important;
  height: 100% !important;
  max-height: 100%;
  --title-display: none;
  --top-title-display: none;
  --bottom-title-display: none;
  --controls-backdrop-color: rgb(0 0 0 / 0%);
  --media-font-family: var(--font-sans);
  --media-object-fit: contain;
  --media-range-track-background: rgba(255, 255, 255, 0.32);
  font-family: var(--font-sans);
  border-radius: 0;
  outline: none !important;
}
.modal-box--theater .player-theater-meta,
.player-theater-layout.is-mux-theater .player-theater-meta {
  display: block !important;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  padding: 24px 0 0;
  max-width: none;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}
.player-theater-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--theater-sidebar-width, 360px);
  column-gap: clamp(24px, 3vw, 36px);
  align-items: start;
  width: 100%;
  max-width: var(--theater-max-width, calc(100vw - 7vw));
  margin: 0 auto;
  padding: 20px var(--theater-gutter, 32px) 56px;
  box-sizing: border-box;
}
.player-theater-main {
  min-width: 0;
  width: 100%;
}
.theater-related-sidebar {
  width: 100%;
  min-width: 0;
  padding-top: 20px;
}
.theater-related-heading {
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: Inter, sans-serif;
  color: #fff;
}
.theater-related-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.theater-related-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.theater-related-item:hover .theater-related-title-text { color: #fff; }
.theater-related-thumb {
  position: relative;
  width: 220px;
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #222;
}
.theater-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.theater-related-duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
  z-index: 3;
}
.theater-related-title-text {
  flex: 1;
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  color: #ddd;
  font-family: Inter, sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.theater-related-empty {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}
@media (max-width: 960px) {
  .modal-box--theater,
  #playerModalBox.modal-box--theater {
    --theater-gutter: 16px;
  }
  .modal-box--theater .player-theater-layout,
  .player-theater-layout.is-mux-theater {
    padding: 0;
  }
  .modal-box--theater .player-stage,
  .player-theater-layout.is-mux-theater .player-stage {
    width: 100%;
    max-width: 100vw;
    max-height: min(56vh, calc(100vw * 9 / 16));
    margin: 0;
  }
  .theater-playlist-panel {
    width: min(88%, 320px);
    min-width: 0;
  }
  .theater-playlist-toggle {
    top: auto;
    bottom: 12px;
    right: 12px;
    width: 52px;
    height: 52px;
    z-index: 50;
  }
  .theater-playlist-toggle-icon {
    width: 42px;
    height: 42px;
  }
  .theater-playlist-toggle-close {
    font-size: 26px;
  }
  .modal-box--theater .modal-close,
  #playerModalBox.modal-box--theater .modal-close {
    top: 12px;
    left: 12px;
    min-width: 52px;
    min-height: 52px;
    padding: 0;
    border-radius: 99px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1.35rem;
    transition: opacity 0.28s ease;
  }
  .player-theater-layout.is-mux-theater:has(mux-player.bysurf-mobile-paused) .modal-close,
  .player-theater-layout.is-mux-theater:has(mux-player.bysurf-mobile-paused) .theater-playlist-toggle {
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .modal-box--theater .player-stage,
  .player-theater-layout.is-mux-theater .player-stage {
    border-radius: 0;
  }
  .theater-pl-thumb { width: 80px; }
  .player-theater-body {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
    padding: 0 16px 32px;
  }
  .theater-related-sidebar {
    padding-top: 24px;
    margin-top: 8px;
  }
  .theater-comments {
    margin-bottom: 8px;
  }
  .theater-related-item {
    flex-direction: column;
    align-items: stretch;
    max-width: none;
    width: 100%;
    gap: 10px;
  }
  .theater-related-thumb {
    width: 100%;
  }
  .theater-related-title-text {
    width: 100%;
    text-align: left;
    -webkit-line-clamp: 2;
  }
  .theater-comments.is-collapsed .theater-comments-mobile-preview {
    display: block;
  }
  .theater-comments.is-collapsed .theater-comments-expandable {
    display: none;
  }
  .theater-comments.is-expanded .theater-comments-mobile-preview {
    display: none;
  }
  .theater-comments.is-expanded .theater-comments-expandable {
    display: block;
  }
  .theater-comments.is-expanded .theater-comments-collapse-btn {
    display: inline-flex;
  }
}
@media (min-width: 961px) {
  .theater-comments-mobile-preview {
    display: none !important;
  }
  .theater-comments-expandable {
    display: block !important;
  }
  .theater-comments-collapse-btn {
    display: none !important;
  }
  .theater-related-sidebar {
    padding-top: 12px;
  }
  .theater-related-heading {
    font-size: 1.15rem;
    margin-bottom: 14px;
  }
  .theater-related-list {
    gap: 14px;
  }
  .theater-related-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
  }
  .theater-related-thumb {
    width: 252px;
    border-radius: 10px;
  }
  .theater-related-duration {
    font-size: 0.8rem;
    padding: 4px 6px;
  }
  .theater-related-title-text {
    font-size: 1.02rem;
    line-height: 1.35;
    -webkit-line-clamp: 3;
  }
}
.theater-title { margin: 0 0 6px; font-size: 1.4rem; font-family: Inter, sans-serif; }
.theater-show { margin: 0 0 16px; color: #888; font-size: 1rem; }
.theater-reaction-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.theater-reaction-row.is-loading .theater-reaction-btn {
  opacity: 0.45;
  pointer-events: none;
}
.theater-reaction-row.is-loading .theater-reaction-count {
  color: transparent;
  position: relative;
  min-width: 1.5ch;
}
.theater-reaction-row.is-loading .theater-reaction-count::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: #009dff;
  border-radius: 50%;
  animation: theater-engagement-spin 0.7s linear infinite;
}
.theater-comment-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 16px;
  color: #888;
  font-size: 0.95rem;
}
.theater-comment-loading[hidden] { display: none !important; }
.theater-engagement-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: #009dff;
  border-radius: 50%;
  animation: theater-engagement-spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes theater-engagement-spin {
  to { transform: rotate(360deg); }
}
.theater-comment-list.is-loading { display: none; }
.theater-comment-load-error {
  list-style: none;
  padding: 20px 0;
  color: #888;
  font-size: 0.95rem;
  text-align: center;
}
.theater-reaction-group { display: flex; align-items: center; gap: 8px; }
.theater-reaction-count { font-size: 1rem; color: #aaa; min-width: 1ch; font-variant-numeric: tabular-nums; }
.theater-reaction-btn {
  border: none;
  outline: none;
  background: #1a1a1a;
  color: #888;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.theater-reaction-btn:hover { color: #ccc; background: #252525; }
.theater-reaction-btn:active { transform: scale(0.94); }
.theater-reaction-icon { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.theater-reaction-icon--filled { display: none; }
.theater-reaction-btn.active { background: #009dff; color: #fff; }
.theater-reaction-btn.active .theater-reaction-icon--outline { display: none; }
.theater-reaction-btn.active .theater-reaction-icon--filled { display: inline-flex; color: #fff; }
#theaterDislikeBtn.active { background: #282828; color: #fff; }
.theater-reaction-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transform: scale(0);
  animation: ripple-anim 800ms ease-out;
  pointer-events: none;
}
.theater-comments-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}
.theater-comments-heading { margin: 0; font-size: 1.25rem; font-family: Inter, sans-serif; display: flex; align-items: center; gap: 6px; min-width: 0; }
.theater-comments-collapse-btn {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #666;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.15s ease, background 0.15s ease;
}
.theater-comments-collapse-btn svg {
  display: block;
  width: 22px;
  height: 22px;
}
.theater-comments-collapse-btn:active {
  color: #888;
  background: rgba(255, 255, 255, 0.06);
}
.theater-comments-mobile-preview {
  display: none;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  margin: 0;
  border: 0;
  border-radius: 12px;
  background: #282828;
  color: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.theater-comments-mobile-preview-count {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: Inter, sans-serif;
  color: #fff;
  margin-bottom: 8px;
}
.theater-comments-mobile-preview-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.theater-comments-mobile-preview-avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theater-comments-mobile-preview-avatar .theater-comment-avatar,
.theater-comments-mobile-preview-avatar .theater-comment-avatar--fallback {
  width: 32px;
  height: 32px;
}
.theater-comments-mobile-preview-avatar .theater-comment-avatar--fallback svg {
  width: 18px;
  height: 18px;
}
.theater-comments-mobile-preview-text {
  flex: 1;
  min-width: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #ccc;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-wrap;
  word-break: break-word;
}
.theater-comments-mobile-preview-empty {
  display: block;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #888;
}
.theater-comments-mobile-preview-empty[hidden],
.theater-comments-mobile-preview-row[hidden] {
  display: none !important;
}
.theater-comment-form { margin-bottom: 4px; }
.theater-comment-compose {
  display: flex;
  align-items: center;
  background: #141414;
  border-radius: 12px;
  overflow: hidden;
  min-height: 52px;
}
.theater-comment-compose-avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0 8px 14px;
}
.theater-comment-compose-avatar .theater-comment-avatar:not(.theater-comment-avatar--fallback),
.theater-comment-compose-avatar .theater-comment-compose-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #282828;
  display: block;
}
.theater-comment-compose-avatar .theater-comment-avatar--fallback {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #282828;
  color: #666;
  flex-shrink: 0;
}
.theater-comment-compose-avatar .theater-comment-avatar--fallback svg {
  width: 20px;
  height: 20px;
  display: block;
}
.theater-comment-compose textarea {
  flex: 1;
  min-width: 0;
  width: auto;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  outline: none;
  box-shadow: none;
  color: #fff;
  padding: 14px 10px;
  margin: 0;
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
  resize: none;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 52px;
  max-height: 180px;
  border-radius: 0;
}
.theater-comment-compose textarea::placeholder { color: #666; font-weight: 700; }
.theater-comment-send {
  position: relative;
  flex-shrink: 0;
  align-self: stretch;
  width: 46px;
  min-height: 52px;
  height: auto;
  border: 0;
  outline: none;
  border-radius: 0 12px 12px 0;
  background: #2a2a2a;
  color: #555;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.theater-comment-send svg {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transform: translateX(1px);
}
.theater-comment-send.is-ready {
  background: #009dff;
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
}
.theater-comment-send.is-ready:active { transform: scale(0.96); }
.theater-comment-send:not(.is-ready) {
  pointer-events: none;
}
.theater-comment-send .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple-anim 800ms ease-out;
  pointer-events: none;
}
.theater-comment-list { list-style: none; padding: 0; margin: 16px 0 0; }
.theater-comment-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid #222;
  position: relative;
}
.theater-comment-item--shadowbanned {
  opacity: 0.48;
}
.theater-comment-item--shadowbanned .theater-comment-body,
.theater-comment-item--shadowbanned .theater-comment-head strong {
  color: #888;
}
.theater-comment-item:last-child { border-bottom: 0; }
.theater-comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #282828;
}
.theater-comment-avatar--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}
.theater-comment-avatar--fallback svg { width: 20px; height: 20px; }
.theater-comment-content { flex: 1; min-width: 0; }
.theater-comment-head { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; margin-bottom: 4px; flex-wrap: wrap; }
.theater-comment-head span:last-child { margin-left: auto; color: #666; }
.theater-comment-head > span:not(.staff-badge) { color: #666; }
.theater-comment-head .staff-badge,
.theater-comments-heading .staff-badge {
  color: #009dff;
  margin-left: 4px;
  vertical-align: middle;
}
.theater-comment-item--shadowbanned .staff-badge {
  color: #009dff;
  opacity: 1;
}
.theater-comment-body { font-size: 1.05rem; line-height: 1.45; white-space: pre-wrap; }
.theater-comment-login { color: #888; font-size: 0.9rem; }
.theater-comment-item--reply { margin-left: 28px; }
.theater-comment-reply-to { color: #888; font-size: 0.82rem; margin-bottom: 4px; }
.theater-comment-reaction-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #888;
  font-size: 0.78rem;
  cursor: pointer;
  line-height: 1;
}
.theater-comment-reaction-btn:hover:not(:disabled) { color: #ccc; background: rgba(255,255,255,0.06); }
.theater-comment-reaction-btn:disabled { cursor: default; opacity: 0.85; }
.theater-comment-reaction-btn.active { color: #009dff; }
.theater-comment-reaction-icon--filled { display: none; }
.theater-comment-reaction-btn.active .theater-comment-reaction-icon--outline { display: none; }
.theater-comment-reaction-btn.active .theater-comment-reaction-icon--filled { display: inline-flex; }
.theater-comment-reaction-count { font-variant-numeric: tabular-nums; min-width: 1ch; }
.theater-comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.theater-comment-action-btn {
  background: transparent;
  border: none;
  color: #888;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.theater-comment-action-btn:hover { color: #fff; }
.theater-comment-mod-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  min-height: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}
.theater-comment-item:hover .theater-comment-mod-bar,
.theater-comment-item--mod-active .theater-comment-mod-bar,
.theater-comment-mod-bar:focus-within {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.theater-comment-mod-bar--confirming {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.theater-mod-inline-confirm {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
}
.theater-mod-inline-confirm-text {
  flex: 1;
  min-width: 0;
  font-size: 0.78rem;
  color: #aaa;
  line-height: 1.3;
}
.theater-mod-inline-confirm-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}
.theater-mod-inline-btn {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: Inter, sans-serif;
  cursor: pointer;
  line-height: 1.2;
}
.theater-mod-inline-btn--yes {
  background: #e53935;
  color: #fff;
}
.theater-mod-inline-btn--yes.theater-mod-inline-btn--safe {
  background: #4caf50;
}
.theater-mod-inline-btn--no {
  background: #282828;
  color: #ccc;
}
.theater-mod-inline-btn:hover { filter: brightness(1.08); }
.theater-mod-inline-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple-anim 800ms ease-out;
  pointer-events: none;
}
.theater-mod-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px;
  line-height: 0;
  border-radius: 4px;
}
.theater-mod-icon-btn:hover { background: rgba(255,255,255,0.08); }
.theater-mod-icon-btn--delete { color: #e53935; }
.theater-mod-icon-btn--ban { color: #e53935; }
.theater-mod-icon-btn--unban { color: #4caf50; }
.theater-reply-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: #aaa;
}
.theater-reply-banner strong { color: #fff; }
.theater-reply-cancel {
  margin-left: auto;
  background: transparent;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 0.82rem;
}
.theater-reply-cancel:hover { color: #fff; }

.staff-badge-wrap { display: inline-flex; align-items: center; }
.staff-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #009dff;
  position: relative;
  cursor: default;
  line-height: 0;
}
.staff-badge svg { display: block; }
.staff-badge .staff-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  background: #1a1a1a;
  border: none;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 5;
  line-height: 1.2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}
.theater-comment-item .staff-badge:hover .staff-tooltip,
.theater-comment-item .staff-badge:focus .staff-tooltip,
.theater-comment-item .staff-badge:focus-visible .staff-tooltip {
  opacity: 1;
  visibility: visible;
}
.staff-badge--static .staff-tooltip { display: none !important; }

.modal-box--theater .playlist-toggle { display: none; }

.password-field {
  position: relative;
  width: 100%;
}
.password-field .password-field-input {
  padding-right: 44px !important;
  margin-bottom: 0 !important;
}
.password-toggle-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #666;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 0;
  transition: color 0.15s ease, background 0.15s ease;
}
.password-toggle-btn:hover { color: #aaa; background: rgba(255, 255, 255, 0.06); }
.password-toggle-btn.is-visible { color: #009dff; }
.password-toggle-btn svg { display: block; pointer-events: none; }
.auth-box .password-field { margin-bottom: 16px; }
.auth-box .password-toggle-btn {
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  font-weight: 400 !important;
  filter: none !important;
}
.auth-box .password-toggle-btn:hover { filter: none !important; }
.account-card .password-field { margin-bottom: 16px; }

.bysurf-ban-banner {
  background: #3a1515;
  color: #ffb4ae;
  text-align: center;
  padding: 14px clamp(16px, 3vw, 24px);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.45;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.username-suggestions {
  margin: 8px 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted, #888);
}
.username-suggestions-label { color: #666; margin-right: 4px; }
.username-suggestion-btn {
  display: inline-block;
  margin: 6px 8px 0 0;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #009dff;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
}
.username-suggestion-btn:hover {
  border-color: #009dff;
  background: rgba(0, 157, 255, 0.08);
}

.my-list-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 6;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid grey;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition: transform 0.15s ease, background 0.15s ease;
  box-sizing: border-box;
}
.my-list-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple-anim 800ms ease-out;
  pointer-events: none;
}
.my-list-btn:hover {
  transform: scale(1.05);
}
.my-list-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.my-list-btn--modal {
  position: static;
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  align-self: center;
  border-radius: 999px;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid grey;
  color: #fff;
  padding: 0;
  box-sizing: border-box;
}
.my-list-btn--modal .ripple {
  background: rgba(255, 255, 255, 0.35);
}
.my-list-btn--modal:hover {
  background: rgba(0, 0, 0, 0.75);
  transform: scale(1.05);
}
.my-list-btn--modal svg {
  width: 22px;
  height: 22px;
}
.my-list-btn.is-in-list {
  background: rgba(0, 0, 0, 0.75);
  border-color: #aaa;
}
.my-list-btn--modal.is-in-list {
  background: rgba(0, 0, 0, 0.75);
  border-color: #aaa;
  color: #fff;
}

.my-list-page-body {
  background: var(--bg, #0f0f0f);
  color: #fff;
  font-family: Inter, sans-serif;
  margin: 0;
  min-height: 100vh;
  touch-action: manipulation;
}
.my-list-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 3.5vw, 48px);
  border-bottom: 1px solid #222;
}
.my-list-back,
.my-list-account {
  color: #009dff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.my-list-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px clamp(20px, 3.5vw, 48px) 56px;
}
.my-list-header {
  display: flex;
  justify-content: center;
  margin: 0 0 44px;
  padding-top: 8px;
}
.my-list-header-inner {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}
.my-list-avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: -34px;
  position: relative;
  z-index: 0;
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.38),
    0 4px 18px rgba(0, 0, 0, 0.28);
}
.my-list-title {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow:
    0 0 18px var(--bg),
    0 0 36px var(--bg),
    0 0 54px var(--bg),
    0 0 72px var(--bg),
    0 3px 14px var(--bg),
    0 -3px 14px var(--bg),
    3px 0 14px var(--bg),
    -3px 0 14px var(--bg);
}
.my-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 350px));
  gap: 14px;
  align-items: start;
  justify-content: start;
}
@media (max-width: 768px) {
  .my-list-grid {
    grid-template-columns: repeat(auto-fill, minmax(72vw, 72vw));
  }
}
.my-list-grid-item {
  min-width: 0;
  max-width: 350px;
}
.my-list-show-card {
  cursor: pointer;
  box-shadow:
    0 10px 34px rgba(0, 0, 0, 0.42),
    0 4px 16px rgba(0, 0, 0, 0.28);
}
.my-list-show-card:hover {
  transform: none;
  filter: none;
  border: 0;
}
.my-list-show-card .meta {
  display: none;
}
.my-list-show-card .show-thumb-wrap {
  position: relative;
}
.my-list-show-card .lazy-img-wrap {
  aspect-ratio: 16 / 9;
  width: 100%;
}
.my-list-show-card .lazy-img-wrap .lazy-img,
.my-list-show-card .thumb {
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  object-fit: cover;
}
.my-list-remove-x {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 8;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #e53935;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.my-list-remove-x:hover {
  transform: scale(1.06);
  background: #f44336;
}
.my-list-show-card:hover .my-list-remove-x,
.my-list-show-card.is-remove-visible .my-list-remove-x {
  opacity: 1;
  pointer-events: auto;
}
.my-list-show-card.has-remove-confirm .my-list-remove-x {
  opacity: 0;
  pointer-events: none;
}
.my-list-remove-confirm {
  position: absolute;
  inset: 0;
  z-index: 10;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.86);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  text-align: center;
}
.my-list-remove-confirm[hidden] {
  display: none !important;
}
.my-list-remove-confirm-text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}
.my-list-remove-confirm-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.my-list-remove-confirm-btn {
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.my-list-remove-confirm-btn--yes {
  background: #e53935;
  color: #fff;
}
.my-list-remove-confirm-btn--no {
  background: #333;
  color: #fff;
}
.my-list-empty,
.my-list-loading {
  text-align: center;
  color: #888;
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0 0 24px;
}
a.account-nav-link {
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

/* ── Mobile global + floating nav (≤960px) ── */
.mobile-global-nav,
.mobile-float-nav,
.mobile-profile-sheet {
  display: none;
}

@media (max-width: 960px) {
  body.has-mobile-nav .sticky-nav {
    display: none !important;
  }

  body.has-mobile-nav {
    padding-top: calc(52px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  body.has-mobile-nav .hero {
    margin-top: 0;
  }

  .mobile-global-nav {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 102260;
    pointer-events: none;
  }

  .mobile-global-nav-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
    pointer-events: none;
  }

  .mobile-global-nav-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 12px;
    pointer-events: auto;
  }

  .mobile-global-profile {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 6px 4px 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: inherit;
  }

  .mobile-global-pfp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
  }

  .mobile-global-pfp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .mobile-global-pfp svg {
    width: 22px;
    height: 22px;
    color: var(--muted);
  }

  .mobile-global-caret {
    display: flex;
    color: #888;
    line-height: 0;
  }

  .mobile-global-caret svg {
    width: 14px;
    height: 14px;
  }

  .mobile-global-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
  }

  .mobile-global-upgrade {
    flex-shrink: 0;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: var(--accent, #009dff);
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
    transition: filter 0.15s ease;
  }

  .mobile-global-upgrade:hover {
    filter: brightness(1.08);
    color: #fff;
  }

  .mobile-global-upgrade.hidden {
    display: none !important;
  }

  .mobile-global-notif-slot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 44px;
  }

  .mobile-global-notif-slot .nav-notifications-dropdown-wrap {
    margin-left: 0;
  }

  .mobile-global-notif-slot .nav-notifications-dropdown {
    position: fixed;
    top: calc(56px + env(safe-area-inset-top, 0px));
    right: 12px;
    left: 12px;
    width: auto;
    min-width: 0;
    max-height: min(72vh, 560px);
    z-index: 102270;
  }

  .mobile-global-notif-slot .nav-notifications-item {
    padding: 14px 12px;
    gap: 12px;
  }

  .mobile-global-notif-slot .nav-notifications-item-title {
    font-size: 1rem;
  }

  .mobile-global-notif-slot .nav-notifications-item-desc {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .mobile-global-notif-slot .nav-notifications-dropdown-title {
    font-size: 1.12rem;
  }

  .mobile-float-nav {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    gap: 6px;
    position: fixed;
    left: 50%;
    bottom: calc(30px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    width: min(340px, calc(100vw - 24px));
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 102260;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  }

  .mobile-float-nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    padding: 8px 6px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #888;
    text-decoration: none;
    font-family: Inter, sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.1;
    cursor: pointer;
    transition: background 0.35s ease, color 0.35s ease;
  }

  .mobile-float-nav-btn .mobile-float-nav-icon,
  .mobile-float-nav-btn .mobile-float-nav-label {
    transition: color 0.35s ease;
  }

  .mobile-float-nav-btn .mobile-float-nav-icon svg {
    transition: fill 0.35s ease, color 0.35s ease;
  }

  .mobile-float-nav-btn.is-active {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
  }

  .mobile-float-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
  }

  .mobile-float-nav-icon svg {
    width: 18px;
    height: 18px;
  }

  .mobile-float-nav-pfp {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    overflow: hidden;
  }

  .mobile-float-nav-pfp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .mobile-float-nav-pfp svg {
    width: 18px;
    height: 18px;
  }

  .mobile-profile-sheet {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 102280;
    pointer-events: none;
  }

  .mobile-profile-sheet:not(.is-open) {
    visibility: hidden;
  }

  .mobile-profile-sheet.is-open {
    pointer-events: auto;
  }

  .mobile-profile-sheet-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.28s ease;
    cursor: pointer;
  }

  .mobile-profile-sheet.is-open .mobile-profile-sheet-backdrop {
    opacity: 1;
  }

  .mobile-profile-sheet-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 12px calc(16px + env(safe-area-inset-bottom, 0px));
    background: #0f0f0f;
    border-top: 1px solid #2e3036;
    border-radius: 18px 18px 0 0;
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
  }

  .mobile-profile-sheet.is-open .mobile-profile-sheet-panel {
    transform: translateY(0);
  }

  .mobile-profile-sheet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 12px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: #e8e8e8;
    font-family: Inter, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
  }

  .mobile-profile-sheet-item:hover,
  .mobile-profile-sheet-item:focus-visible {
    background: rgba(255, 255, 255, 0.06);
  }

  .mobile-profile-sheet-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--muted);
  }

  .mobile-profile-sheet-item--danger {
    color: #ff8a80;
  }

  .mobile-profile-sheet-item--danger svg {
    color: #ff8a80;
  }

  .mobile-profile-sheet-item--accent {
    color: var(--accent, #009dff);
  }

  .mobile-profile-sheet-item--accent svg {
    color: var(--accent, #009dff);
  }

  body.mobile-profile-sheet-open {
    overflow: hidden;
  }

  .site-legal-footer--mobile-nav {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
}

.mobile-subpage-body {
  background: var(--bg, #0b0b0b);
  color: #fff;
  min-height: 100vh;
}

.mobile-search-page {
  padding: 12px 14px 24px;
}

.mobile-search-top {
  position: sticky;
  top: calc(52px + env(safe-area-inset-top, 0px));
  z-index: 20;
  padding-bottom: 8px;
  margin-bottom: 20px;
  background: linear-gradient(to bottom, var(--bg, #0b0b0b) 75%, transparent);
}

.search-wrap-mobile-page {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.search-wrap-mobile-page .search-input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  z-index: 2;
}

.search-wrap-mobile-page input {
  width: 100%;
  padding: 12px 36px 12px 40px;
  border-radius: 10px;
  background: #0f0f0fcc;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 16px;
  outline: none;
}

.search-wrap-mobile-page #mobileSearchClear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: #aaa;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.mobile-search-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
  margin-top: 4px;
}

.mobile-search-show-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.mobile-search-show-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #1a1a1a;
}

.mobile-search-show-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mobile-search-show-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.25;
  color: #e8e8e8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mobile-search-empty {
  text-align: center;
  color: #888;
  font-size: 0.95rem;
  margin: 24px 0;
}

.my-area-page {
  padding: 8px 0 24px;
}

.my-area-page-head {
  padding: 0 16px 8px;
}

.my-area-page-title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.my-area-section {
  margin-bottom: 28px;
}

.my-area-section-title {
  margin: 0 0 12px;
  padding: 0 16px;
  font-family: Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #e8e8e8;
}

.my-area-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.my-area-rail::-webkit-scrollbar {
  display: none;
}

.my-area-show-card,
.my-area-ep-card {
  flex: 0 0 140px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.my-area-show-thumb,
.my-area-ep-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #1a1a1a;
}

.my-area-show-thumb img,
.my-area-ep-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.my-area-ep-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.my-area-ep-progress span {
  display: block;
  height: 100%;
  background: var(--accent, #009dff);
}

.my-area-show-title,
.my-area-ep-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.my-area-ep-show {
  margin: -4px 0 0;
  font-size: 0.72rem;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.my-area-section--suggestions {
  position: relative;
}

.my-area-rail--empty {
  position: relative;
  min-height: 120px;
  overflow-x: hidden;
  scroll-snap-type: none;
}

.my-area-rail--empty::before,
.my-area-rail--empty::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 4px;
  width: 56px;
  z-index: 3;
  pointer-events: none;
}

.my-area-rail--empty::before {
  left: 0;
  background: linear-gradient(to right, #0f0f0f 0%, rgba(15, 15, 15, 0.85) 35%, transparent 100%);
}

.my-area-rail--empty::after {
  right: 0;
  background: linear-gradient(to left, #0f0f0f 0%, rgba(15, 15, 15, 0.85) 35%, transparent 100%);
}

.my-area-placeholder-card {
  flex: 0 0 140px;
  scroll-snap-align: start;
  opacity: 0.35;
  pointer-events: none;
}

.my-area-placeholder-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #333;
}

.my-area-placeholder-line {
  height: 10px;
  margin-top: 8px;
  border-radius: 4px;
  background: #333;
  width: 80%;
}

.my-area-empty-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  transform: translateY(-20%);
  margin: 0;
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85), 0 0 24px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 3;
  max-width: 65%;
  margin: auto;
}

@media (max-width: 960px) {
  :root {
    --mobile-show-card-width: calc((100vw - 40px) / 2);
  }

  .rail {
    grid-auto-columns: minmax(var(--mobile-show-card-width), var(--mobile-show-card-width));
    gap: 12px;
  }

  .card.show-card .name {
    font-size: 0.88rem;
    font-weight: 500;
  }

  .card.show-card .meta {
    padding: 0.45rem 0 0.55rem;
  }

  .my-area-show-card,
  .my-area-ep-card,
  .my-area-placeholder-card {
    flex: 0 0 var(--mobile-show-card-width);
    max-width: var(--mobile-show-card-width);
  }
}

/* Join membership page */
.join-page-body {
  background: #0f0f0f;
}

.join-page-body .mobile-global-nav,
.join-page-body .mobile-float-nav,
.join-page-body .mobile-profile-sheet {
  display: none !important;
}

.join-page-body.has-mobile-nav {
  padding-top: 0;
  padding-bottom: 0;
}

.join-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 16px clamp(16px, 4vw, 40px) 48px;
}

.join-page-top {
  margin-bottom: 8px;
}

.join-page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #009dff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.join-page-back:hover {
  opacity: 0.9;
}

.join-page-hero {
  margin: 0 calc(-1 * clamp(16px, 4vw, 40px)) 36px;
  padding: clamp(48px, 8vw, 72px) clamp(20px, 4vw, 48px) clamp(64px, 10vw, 96px);
  min-height: clamp(300px, 44vh, 440px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  background: radial-gradient(ellipse 90% 85% at 50% 100%, rgba(0, 157, 255, 0.55) 0%, #0f0f0f 68%);
}

.join-page-title {
  margin: 0 auto 12px;
  max-width: 720px;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.join-page-lead {
  margin: 0 auto;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  line-height: 1.55;
}

.join-page-carousel-section {
  margin-bottom: 36px;
}

.join-page-section-title {
  margin: 0 0 20px;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 700;
  text-align: center;
}

.join-carousel-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.join-carousel-viewport::before,
.join-carousel-viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(28px, 8vw, 72px);
  z-index: 2;
  pointer-events: none;
}

.join-carousel-viewport::before {
  left: 0;
  background: linear-gradient(to right, #0f0f0f 0%, rgba(15, 15, 15, 0.85) 35%, transparent 100%);
}

.join-carousel-viewport::after {
  right: 0;
  background: linear-gradient(to left, #0f0f0f 0%, rgba(15, 15, 15, 0.85) 35%, transparent 100%);
}

.join-show-track {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: max-content;
  padding: 4px 0 12px;
  animation: join-carousel-scroll 38s linear infinite;
  will-change: transform;
}

.join-show-track:hover {
  animation-play-state: paused;
}

@keyframes join-carousel-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.join-show-card {
  flex: 0 0 min(68vw, 220px);
  width: min(68vw, 220px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  pointer-events: none;
  user-select: none;
}

.join-show-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #222;
}

.join-show-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.join-show-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: #eee;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.join-page-membership {
  margin-bottom: 24px;
}

.join-membership-card {
  border-radius: 18px;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.join-producer-banner {
  width: 100%;
  border-radius: 0;
  background: radial-gradient(ellipse 90% 120% at 50% 0%, rgba(0, 157, 255, 1) 0%, var(--bg, #0f0f0f) 62%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(20px, 3vw, 28px) 20px;
  margin: 0;
  box-sizing: border-box;
}

.join-producer-banner .producer-tier-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.join-producer-banner .producer-tier-name {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
}

.join-producer-banner .producer-tier-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 4px;
  min-width: 0;
}

.join-producer-banner .producer-tier-price {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.join-producer-banner .producer-tier-price span {
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.9;
}

.join-membership-body .producer-charge-note {
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: #888;
  line-height: 1.45;
}

.join-membership-body .producer-charge-note[hidden] {
  display: none !important;
}

.join-membership-body {
  padding: 22px clamp(20px, 3vw, 28px) 26px;
}

.join-membership-perks {
  margin: 0 0 24px;
  padding-left: 1.25rem;
  color: #ddd;
  font-size: 1.02rem;
  line-height: 1.65;
}

.join-membership-perks li {
  margin-bottom: 6px;
}

.join-page-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
  padding: 15px 20px;
  border: 0;
  border-radius: 15px;
  background: #fff;
  color: #000;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s ease, filter 0.15s ease;
}

.join-page-cta:hover {
  filter: brightness(0.96);
}

.join-page-cta:active {
  transform: scale(0.98);
}

.join-page-cta:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.join-page-cta svg {
  flex-shrink: 0;
}

.join-page-disclaimer {
  margin: 18px 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #666;
}

.join-page-disclaimer a {
  color: #009dff;
  text-decoration: none;
}

.join-page-disclaimer a:hover {
  text-decoration: underline;
}

.join-page-status {
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #aaa;
}

.join-page-status.is-error {
  color: #ef5350;
}

.join-page-status.is-ok {
  color: #8fd18f;
}

@media (min-width: 961px) {
  .join-page {
    max-width: 1180px;
    padding-top: 32px;
    padding-bottom: 72px;
  }

  .join-page-body .site-legal-footer--mobile-nav {
    padding-bottom: 32px;
  }

  .join-page-hero {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: max(20px, calc((100vw - 1180px) / 2 + 40px));
    padding-right: max(20px, calc((100vw - 1180px) / 2 + 40px));
  }

  .join-page-carousel-section {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 max(20px, calc((100vw - 1180px) / 2));
    box-sizing: border-box;
  }

  .join-show-card {
    flex: 0 0 260px;
    width: 260px;
  }

  .join-show-track {
    animation-duration: 44s;
  }

  .join-page-membership {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 960px) {
  .join-page {
    padding-top: 16px;
    padding-bottom: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .join-show-track {
    animation: none;
  }
}

/* Auth pages (login, signup, forgot, reset password) */
body.auth-page-body {
  margin: 0;
  min-height: 100vh;
  color: #fff;
  font-family: Inter, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #0a0a0a;
  background-image: var(--auth-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body.auth-page-body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  pointer-events: none;
  z-index: 0;
}

body.auth-page-body > * {
  position: relative;
  z-index: 1;
}

.auth-box {
  width: min(400px, 92vw);
  padding: 32px;
  background: rgba(20, 20, 20, 0.92);
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  backdrop-filter: blur(8px);
}

.auth-box h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.auth-box p {
  margin: 0 0 24px;
  color: #888;
  font-size: 0.9rem;
  line-height: 1.45;
}

.auth-box label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: #aaa;
}

.auth-box input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #0a0a0a;
  color: #fff;
  font-size: 1rem;
}

.auth-box button[type="submit"],
.auth-box .btn-primary {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: #009dff;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
}

.auth-box button[type="submit"]:hover,
.auth-box .btn-primary:hover {
  filter: brightness(1.1);
}

.auth-box button[type="submit"]:disabled,
.auth-box .btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-box .msg {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #f66;
  min-height: 1.2em;
  line-height: 1.45;
}

.auth-box .msg.ok {
  color: #6f6;
}

.auth-box .links {
  margin-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

.auth-box .links a {
  color: #009dff;
  text-decoration: none;
}

.auth-toggle {
  width: 100%;
  background: transparent !important;
  color: #888 !important;
  margin-top: 8px;
  font-weight: 400 !important;
  border: 0;
  padding: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: inherit;
}

.auth-toggle:hover {
  color: #ccc !important;
}

.auth-forgot-wrap {
  text-align: right;
  margin: -8px 0 16px;
}

.auth-forgot-wrap button {
  background: none;
  border: 0;
  padding: 0;
  color: #009dff;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}

.auth-forgot-wrap button:hover {
  text-decoration: underline;
}

.username-suggestions {
  margin: -8px 0 16px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #aaa;
}

.username-suggestions-label {
  color: #888;
  margin-right: 4px;
}

.username-suggestion-btn {
  display: inline-block;
  margin: 4px 6px 0 0;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #009dff;
  cursor: pointer;
  font-size: 0.82rem;
  font-family: inherit;
}

.username-suggestion-btn:hover {
  border-color: #009dff;
  background: #12202a;
}

.auth-mfa-step {
  margin-top: 4px;
}

.auth-mfa-step label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: #aaa;
}

.auth-mfa-step input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #0a0a0a;
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: 0.25em;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.auth-mfa-step button {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: #009dff;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
}

.auth-mfa-step button:hover {
  filter: brightness(1.1);
}

.auth-mfa-step button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-legal-note {
  margin: 0 0 16px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #666;
  text-align: center;
}

.auth-legal-note a {
  color: #009dff;
  text-decoration: none;
}

.auth-legal-note a:hover {
  text-decoration: underline;
}

/* Install PWA guide */
.install-page-body {
  background: #0f0f0f;
}

.install-page {
  max-width: 520px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

@media (max-width: 960px) {
  .install-page {
    padding-top: calc(20px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  }
}

.install-page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #009dff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.install-page-hero {
  text-align: center;
  margin-bottom: 32px;
}

.install-page-icon {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: #000;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.install-page-title {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 5vw, 2rem);
  font-weight: 800;
}

.install-page-lead {
  margin: 0;
  color: #aaa;
  font-size: 1rem;
  line-height: 1.55;
}

.install-page-installed {
  text-align: center;
  padding: 24px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.install-page-installed p {
  margin: 0 0 16px;
  color: #ccc;
}

.install-guide {
  padding: 22px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.install-guide--generic .install-guide-note {
  margin: 0;
  color: #ccc;
  line-height: 1.55;
}

.install-guide-heading {
  margin: 0 0 18px;
  font-size: 1.15rem;
  font-weight: 700;
}

.install-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.install-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.install-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(0, 157, 255, 0.16);
  color: #009dff;
  font-weight: 700;
  font-size: 0.9rem;
}

.install-step-text {
  color: #ddd;
  line-height: 1.5;
  font-size: 0.98rem;
  padding-top: 4px;
}

.install-step-icon {
  grid-column: 2;
  color: #009dff;
  line-height: 0;
  margin-top: -4px;
}

.install-page-primary-btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 14px 18px;
  border: 0;
  border-radius: 12px;
  background: #009dff;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.install-page-primary-btn:hover {
  filter: brightness(1.06);
}

@media (min-width: 961px) {
  .install-page {
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .install-page-body .site-legal-footer--mobile-nav {
    padding-bottom: 32px;
  }
}
