/* MultiEmbed Clean — landing estilo ZXC STREAM */

:root {
  --zxc-bg: #000000;
  --zxc-card: #141414;
  --zxc-card-soft: #1a1a1a;
  --zxc-ink: #ffffff;
  --zxc-muted: #a3a3a3;
  --zxc-dim: #737373;
  --zxc-red: #dc2626;
  --zxc-red-hover: #b91c1c;
  --zxc-line: rgba(255, 255, 255, 0.08);
  --zxc-sidebar-w: 88px;
  --zxc-sidebar-label-panel: 240px;
  --zxc-brand-size: 32px;
  --zxc-icon-size: 24px;
  --zxc-main-pl: 104px;
  --zxc-nav-gap: 26px;
  --zxc-font: 'DM Sans', system-ui, sans-serif;
  --zxc-display: 'Oxanium', 'DM Sans', sans-serif;
  --zxc-ease: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Temas de color (panel Web → Tema) */
body.zxc-skin--crimson {
  --zxc-bg: #000000;
  --zxc-card: #141414;
  --zxc-card-soft: #1a1a1a;
  --zxc-ink: #ffffff;
  --zxc-muted: #a3a3a3;
  --zxc-dim: #737373;
  --zxc-red: #dc2626;
  --zxc-red-hover: #b91c1c;
}
body.zxc-skin--ember {
  --zxc-bg: #0a0908;
  --zxc-card: #171411;
  --zxc-card-soft: #1f1a15;
  --zxc-ink: #fff7ed;
  --zxc-muted: #a8a29e;
  --zxc-dim: #78716c;
  --zxc-red: #f59e0b;
  --zxc-red-hover: #d97706;
}
body.zxc-skin--coral {
  --zxc-bg: #09090b;
  --zxc-card: #18181b;
  --zxc-card-soft: #1f1f24;
  --zxc-ink: #fafafa;
  --zxc-muted: #a1a1aa;
  --zxc-dim: #71717a;
  --zxc-red: #f43f5e;
  --zxc-red-hover: #e11d48;
}
body.zxc-skin--ocean {
  --zxc-bg: #020617;
  --zxc-card: #0f172a;
  --zxc-card-soft: #1e293b;
  --zxc-ink: #f8fafc;
  --zxc-muted: #94a3b8;
  --zxc-dim: #64748b;
  --zxc-red: #3b82f6;
  --zxc-red-hover: #2563eb;
}
body.zxc-skin--violet {
  --zxc-bg: #09060f;
  --zxc-card: #16101f;
  --zxc-card-soft: #1f152c;
  --zxc-ink: #faf5ff;
  --zxc-muted: #c4b5fd;
  --zxc-dim: #8b5cf6;
  --zxc-red: #a855f7;
  --zxc-red-hover: #9333ea;
}
body.zxc-skin--emerald {
  --zxc-bg: #020a07;
  --zxc-card: #0f1a15;
  --zxc-card-soft: #14241c;
  --zxc-ink: #ecfdf5;
  --zxc-muted: #6ee7b7;
  --zxc-dim: #34d399;
  --zxc-red: #10b981;
  --zxc-red-hover: #059669;
}
body.zxc-skin--gold {
  --zxc-bg: #050505;
  --zxc-card: #121212;
  --zxc-card-soft: #1a1a1a;
  --zxc-ink: #fafafa;
  --zxc-muted: #a3a3a3;
  --zxc-dim: #737373;
  --zxc-red: #eab308;
  --zxc-red-hover: #ca8a04;
}
body.zxc-skin--slate {
  --zxc-bg: #0b0f14;
  --zxc-card: #151b23;
  --zxc-card-soft: #1c2430;
  --zxc-ink: #f1f5f9;
  --zxc-muted: #94a3b8;
  --zxc-dim: #64748b;
  --zxc-red: #94a3b8;
  --zxc-red-hover: #64748b;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #3a3a3a #0a0a0a;
}

html::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html::-webkit-scrollbar-track {
  background: #0a0a0a;
}

html::-webkit-scrollbar-thumb {
  background: #3a3a3a;
  border-radius: 999px;
  border: 2px solid #0a0a0a;
}

html::-webkit-scrollbar-thumb:hover {
  background: #555;
}

body.zxc {
  margin: 0;
  min-height: 100vh;
  font-family: var(--zxc-font);
  color: var(--zxc-ink);
  background: var(--zxc-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

button { font-family: inherit; }

/* ── Sidebar ── */

.zxc-sidebar-zone {
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--zxc-sidebar-label-panel);
  pointer-events: none;
}

.zxc-sidebar-zone.is-expanded {
  pointer-events: auto;
}

.zxc-sidebar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--zxc-sidebar-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 32px 0 28px;
  /* Transparent so the hero can blend under the rail (no hard edge) */
  background: transparent;
  overflow: visible;
  box-sizing: border-box;
  pointer-events: auto;
}

/* Soft left vignette — keeps icons readable without a hard cut */
.zxc-sidebar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 160%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(0, 0, 0, 0.12) 72%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

.zxc-brand {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.zxc-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--zxc-nav-gap);
  padding: 0;
  overflow: visible;
}

.zxc-nav-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--zxc-nav-gap);
}

.zxc-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: var(--zxc-icon-size);
}

.zxc-sidebar-glow {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--zxc-sidebar-label-panel);
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.94) 42%,
    rgba(0, 0, 0, 0.55) 72%,
    rgba(0, 0, 0, 0) 100%
  );
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--zxc-ease), visibility var(--zxc-ease);
  pointer-events: none;
  z-index: 1;
}

.zxc-sidebar-zone.is-expanded .zxc-sidebar-glow,
.zxc-sidebar-zone:focus-within .zxc-sidebar-glow {
  opacity: 1;
  visibility: visible;
}

.zxc-brand-mark {
  width: var(--zxc-brand-size);
  height: var(--zxc-brand-size);
  flex-shrink: 0;
}
.zxc-brand-mark rect {
  fill: var(--zxc-red);
}

.zxc-nav-ico-anime {
  width: 20px;
  height: auto;
  transform: translateY(-2px);
}

.zxc-nav-link {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zxc-dim);
  transition: color var(--zxc-ease);
  width: var(--zxc-icon-size);
  height: var(--zxc-icon-size);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  overflow: visible;
}

.zxc-sidebar-zone.is-expanded .zxc-nav-link::after {
  content: '';
  position: absolute;
  left: -32px;
  right: -188px;
  top: -10px;
  bottom: -10px;
  z-index: -1;
}

.zxc-nav-link:hover {
  color: var(--zxc-muted);
}

.zxc-nav-link.is-active,
.zxc-nav-item.is-active .zxc-nav-link {
  color: var(--zxc-ink);
}

.zxc-nav-link svg {
  width: var(--zxc-icon-size);
  height: var(--zxc-icon-size);
  display: block;
  flex-shrink: 0;
  pointer-events: none;
}

.zxc-nav-link .zxc-nav-ico-anime {
  width: 20px;
  height: auto;
}

.zxc-nav-label {
  position: absolute;
  left: calc(100% + 16px);
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  color: var(--zxc-dim);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--zxc-ease), visibility var(--zxc-ease), color var(--zxc-ease);
  z-index: 3;
}

.zxc-sidebar-zone.is-expanded .zxc-nav-label,
.zxc-sidebar-zone:focus-within .zxc-nav-label {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.zxc-nav-item.is-active .zxc-nav-label {
  color: var(--zxc-ink);
}

.zxc-nav-link:hover .zxc-nav-label,
.zxc-nav-item:hover .zxc-nav-label {
  color: var(--zxc-muted);
}

.zxc-nav-item.is-active .zxc-nav-link:hover .zxc-nav-label,
.zxc-nav-item.is-active:hover .zxc-nav-label {
  color: var(--zxc-ink);
}

.zxc-nav-bar {
  width: var(--zxc-icon-size);
  height: 2px;
  margin-inline: auto;
  background: var(--zxc-red);
  border-radius: 1px;
  opacity: 0;
  transition: opacity var(--zxc-ease);
}

.zxc-nav-item.is-active .zxc-nav-bar {
  opacity: 1;
}

.zxc-nav-link svg path[fill]:not([fill='none']) {
  fill: currentColor;
}

.zxc-nav-link svg path[stroke] {
  stroke: currentColor;
}

.zxc-sidebar-foot {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--zxc-icon-size);
  height: var(--zxc-icon-size);
  margin-top: auto;
  color: var(--zxc-dim);
  transition: color var(--zxc-ease);
  overflow: visible;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}

.zxc-sidebar-foot:hover { color: var(--zxc-muted); }

.zxc-sidebar-foot svg path[stroke] {
  stroke: currentColor;
}

.zxc-sidebar-foot svg {
  width: var(--zxc-icon-size);
  height: var(--zxc-icon-size);
  display: block;
}

/* Profile menu */
.zxc-profile {
  position: relative;
  z-index: 5;
  margin-top: auto;
  display: flex;
  justify-content: center;
}

.zxc-profile-btn {
  margin-top: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #c8c8c8;
}

.zxc-profile-btn:hover,
.zxc-profile.is-open .zxc-profile-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.zxc-profile-avatar {
  display: flex;
  width: 22px;
  height: 22px;
}

.zxc-profile-avatar svg {
  width: 22px;
  height: 22px;
}

.zxc-profile-menu {
  position: absolute;
  left: calc(100% + 14px);
  bottom: 0;
  min-width: 200px;
  padding: 10px 8px;
  border-radius: 12px;
  background: rgba(28, 28, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.zxc-profile-menu[hidden] { display: none !important; }

.zxc-profile-menu-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 10px;
}

.zxc-profile-menu-avatar {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  color: #c8c8c8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zxc-profile-menu-avatar svg {
  width: 18px;
  height: 18px;
}

.zxc-profile-menu-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.zxc-profile-menu-sep {
  height: 1px;
  margin: 0 4px 6px;
  background: rgba(255, 255, 255, 0.1);
}

.zxc-profile-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  color: #bdbdbd;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.zxc-profile-menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.zxc-profile-menu-item svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

/* ── Main layout ── */

.zxc-main {
  min-height: 100vh;
  padding-left: var(--zxc-main-pl);
  padding-bottom: 72px;
}

/* ── Top nav pill ── */

.zxc-topnav {
  position: fixed;
  top: 0;
  left: var(--zxc-main-pl);
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 16px 20px;
  pointer-events: none;
}

.zxc-topnav-inner {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: auto;
  font-size: 0.95rem;
  font-weight: 500;
}

.zxc-topnav-inner span,
.zxc-topnav-inner a,
.zxc-topnav-inner button {
  padding: 6px 16px;
  border-radius: 4px;
  color: var(--zxc-muted);
  cursor: pointer;
  transition: background var(--zxc-ease), color var(--zxc-ease);
  border: 0;
  background: transparent;
  font: inherit;
}

.zxc-topnav-inner .is-active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--zxc-ink);
}

.zxc-topnav-inner .is-disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

body.zxc-nav-loading .zxc-main {
  opacity: 0.72;
  transition: opacity 0.12s ease;
}

body.zxc-nav-loading .zxc-topnav-inner {
  pointer-events: none;
}

/* ── Hero ── */

.zxc-hero {
  position: relative;
  min-height: 88vh;
  max-height: 760px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  /* Bleed under the sidebar so the backdrop fuses with the rail */
  margin-left: calc(-1 * var(--zxc-main-pl));
  width: calc(100% + var(--zxc-main-pl));
}

/* Tema → altura del hero (standard = look actual del Home) */
body.zxc-hero-h--compact .zxc-hero {
  min-height: 520px;
  max-height: 520px;
}
body.zxc-hero-h--standard .zxc-hero {
  min-height: 88vh;
  max-height: 760px;
}
body.zxc-hero-h--full .zxc-hero {
  min-height: 100vh;
  max-height: none;
}

/* Tema → máscaras */
body.zxc-hero-mask--deep .zxc-hero-mask-left {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.35) 22%,
    transparent 48%
  );
}
body.zxc-hero-mask--deep .zxc-hero-mask-bottom {
  background: linear-gradient(to top, var(--zxc-bg) 0%, transparent 58%);
}
body.zxc-hero-mask--spotlight .zxc-hero-mask-left {
  background:
    radial-gradient(ellipse at 42% 55%, rgba(220, 38, 38, 0.22) 0%, transparent 55%),
    linear-gradient(to right, rgba(0, 0, 0, 0.45) 0%, transparent 40%);
}
body.zxc-hero-mask--spotlight .zxc-hero-mask-bottom {
  background: linear-gradient(to top, var(--zxc-bg) 0%, transparent 62%);
}
body.zxc-hero-mask--minimal .zxc-hero-mask-left {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.28) 0%, transparent 36%);
}
body.zxc-hero-mask--minimal .zxc-hero-mask-bottom {
  background: linear-gradient(to top, var(--zxc-bg) 0%, transparent 42%);
}
body.zxc-hero-mask--minimal .zxc-hero-backdrops {
  -webkit-mask-image: linear-gradient(to left, #000 55%, transparent 100%);
  mask-image: linear-gradient(to left, #000 55%, transparent 100%);
}

/* Tema → tipografía del título */
body.zxc-hero-title--sans .zxc-hero-logo {
  font-family: var(--zxc-font);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
body.zxc-hero-title--sans .zxc-hero-logo em {
  font-style: normal;
  color: inherit;
}
body.zxc-hero-title--gradient .zxc-hero-logo {
  background: linear-gradient(90deg, #fff 8%, #f87171 52%, #dc2626 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.zxc-hero-title--gradient .zxc-hero-logo em {
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.zxc-hero-backdrops {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Same soft left fade as zxcprime — image dissolves into black by the sidebar */
  -webkit-mask-image: linear-gradient(to left, #000 40%, transparent 100%);
  mask-image: linear-gradient(to left, #000 40%, transparent 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.zxc-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.zxc-hero-slide.is-active { opacity: 1; }

.zxc-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* Efectos de transición del slider (panel → Inicio) */
.zxc-hero-fx--slide .zxc-hero-slide {
  opacity: 0;
  transform: translateX(8%);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}
.zxc-hero-fx--slide .zxc-hero-slide.is-active {
  opacity: 1;
  transform: translateX(0);
}

.zxc-hero-fx--zoom .zxc-hero-slide {
  opacity: 0;
  transform: scale(1.08);
  transition: transform 1.35s ease, opacity 1s ease;
}
.zxc-hero-fx--zoom .zxc-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.zxc-hero-fx--zoom .zxc-hero-slide.is-active img {
  animation: zxc-hero-ken 14s ease-out forwards;
}
@keyframes zxc-hero-ken {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.zxc-hero-fx--blur .zxc-hero-slide {
  opacity: 0;
  filter: blur(12px);
  transform: scale(1.04);
  transition: opacity 0.9s ease, filter 0.9s ease, transform 1s ease;
}
.zxc-hero-fx--blur .zxc-hero-slide.is-active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.zxc-hero-mask-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.25) 18%,
    transparent 42%
  );
  pointer-events: none;
}

.zxc-hero-mask-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--zxc-bg) 0%, transparent 55%);
  pointer-events: none;
}

.zxc-hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  padding: 0 32px 80px;
  padding-left: calc(var(--zxc-main-pl) + 16px);
  pointer-events: none;
}

.zxc-hero-content {
  position: absolute;
  left: calc(var(--zxc-main-pl) + 16px);
  right: 32px;
  bottom: 80px;
  max-width: 640px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.zxc-hero-content.is-active {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.zxc-hero-logo {
  font-family: var(--zxc-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.zxc-hero-logo[hidden] {
  display: none !important;
}

.zxc-hero-title-logo {
  display: block;
  max-width: min(520px, 92%);
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 16px;
}

.zxc-hero-logo em {
  display: block;
  font-style: normal;
  color: var(--zxc-red);
  font-size: 0.55em;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.zxc-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-bottom: 14px;
  font-size: 1.05rem;
  color: var(--zxc-muted);
}

.zxc-hero-meta span {
  display: inline;
}

.zxc-hero-meta-rating {
  display: inline-flex;
  align-items: baseline;
  color: var(--zxc-ink);
}

.zxc-hero-meta-score {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

.zxc-hero-meta-scale {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--zxc-muted);
}

.zxc-hero-meta > span:not(:last-child)::after {
  content: '|';
  margin: 0 14px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

.zxc-hero-desc {
  margin: 0 0 24px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--zxc-dim);
  max-width: 52ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zxc-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zxc-btn-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--zxc-ease), background var(--zxc-ease);
}

.zxc-btn-play:hover {
  transform: scale(1.03);
  background: #e5e5e5;
}

.zxc-btn-play svg {
  width: 18px;
  height: 18px;
}

.zxc-btn-details {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--zxc-ease), border-color var(--zxc-ease);
}

.zxc-btn-details:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.zxc-hero-meta-quality {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

.zxc-btn-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: var(--zxc-ink);
  cursor: pointer;
  transition: background var(--zxc-ease), border-color var(--zxc-ease);
}

.zxc-btn-add:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.55);
}

/* ── Content sections ── */

.zxc-content {
  position: relative;
  z-index: 10;
  background: var(--zxc-bg);
  padding: 8px 24px 40px 0;
  overflow: visible;
}

/* Al hacer zoom, el contenido puede pintar encima del menú lateral */
.zxc-content:has(.zxc-browse-card:hover),
.zxc-content:has(.zxc-section-top10 .zxc-top10-card:hover) {
  z-index: 120;
}

.zxc-section {
  margin-bottom: 48px;
}

.zxc-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-right: 8px;
}

.zxc-section-head h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  color: #d4d4d4;
  letter-spacing: 0.02em;
}

.zxc-section-arrows {
  display: flex;
  gap: 8px;
}

.zxc-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--zxc-line);
  border-radius: 8px;
  background: var(--zxc-card-soft);
  color: var(--zxc-ink);
  cursor: pointer;
  transition: background var(--zxc-ease), border-color var(--zxc-ease);
}

.zxc-arrow:hover {
  background: #262626;
  border-color: rgba(255, 255, 255, 0.18);
}

.zxc-arrow svg {
  width: 18px;
  height: 18px;
}

/* Top 10 rail */


.zxc-section-top10 {
  position: relative;
  z-index: 20;
  overflow: visible;
  padding-bottom: 0;
}

.zxc-section-top10:has(.zxc-top10-card:hover) {
  z-index: 50;
}

/* Providers sit above TOP10's hover padding so the full circle is clickable */
.zxc-section-top10 + .zxc-section {
  position: relative;
  z-index: 30;
}

.zxc-section-top10 .zxc-top10-head {
  margin-bottom: 16px;
}

.zxc-arrow--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

.zxc-arrow--outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.55);
}

.zxc-top10-rail-outer {
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Espacio para el zoom hacia arriba (centro) y el panel inferior */
  padding-top: 72px;
  margin-top: -72px;
  padding-bottom: 220px;
  margin-bottom: -200px;
  /* Hueco a la izquierda: el zoom puede montarse sobre el menú sin cortarse */
  padding-left: calc(var(--zxc-main-pl) - 12px);
  margin-left: calc(-1 * (var(--zxc-main-pl) - 12px));
  width: calc(100% + (var(--zxc-main-pl) - 12px));
  /* Padding must not steal clicks from providers below */
  pointer-events: none;
}

.zxc-top10-rail-outer::-webkit-scrollbar { display: none; }

.zxc-top10-rail {
  display: flex;
  gap: 16px;
  overflow: visible;
  align-items: flex-start;
  padding: 8px 4px 8px 0;
  pointer-events: auto;
}

.zxc-top10-card {
  position: relative;
  flex: 0 0 280px;
  scroll-snap-align: start;
  overflow: visible;
}

.zxc-top10-card:hover {
  z-index: 50;
}

.zxc-top10-scale {
  position: relative;
  width: 100%;
  border-radius: 8px;
  background: transparent;
  /* Centro del póster (no del hueco del número) */
  transform-origin: calc(52px + (100% - 52px) / 2) center;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease;
  overflow: visible;
}

.zxc-top10-card:hover .zxc-top10-scale {
  transform: scale(1.38);
}

.zxc-top10-body {
  position: relative;
  z-index: 2;
  margin-left: 52px;
  overflow: visible;
  border-radius: 8px;
  background: transparent;
  transition: background 0.28s ease, box-shadow 0.28s ease;
}

.zxc-top10-card:hover .zxc-top10-body {
  background: #181818;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.92);
}

.zxc-top10-poster {
  position: relative;
  z-index: 2;
}

.zxc-top10-rank {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;
  font-family: var(--zxc-display);
  font-size: 7.5rem;
  font-weight: 800;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.88);
  paint-order: stroke fill;
  pointer-events: none;
  user-select: none;
  transition: color 0.2s ease, -webkit-text-stroke 0.2s ease;
}

.zxc-top10-card:hover .zxc-top10-rank {
  color: #fff;
  -webkit-text-stroke: 3px #7a7a7a;
  paint-order: stroke fill;
}

.zxc-top10-poster-media {
  position: relative;
  z-index: 2;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  background: var(--zxc-card);
  transition: border-radius 0.2s ease;
}

.zxc-top10-card:hover .zxc-top10-poster-media {
  border-radius: 8px 8px 0 0;
}

.zxc-top10-poster-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.zxc-top10-year {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.65);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--zxc-muted);
  z-index: 3;
}

.zxc-top10-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 10px;
  border-radius: 0;
  background: #e50914;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  z-index: 3;
  line-height: 1.2;
}

.zxc-top10-card:hover .zxc-top10-badge {
  opacity: 0;
  visibility: hidden;
}

.zxc-top10-hover {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  background: #181818;
  border-radius: 0 0 8px 8px;
  padding: 12px 14px 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.zxc-top10-card:hover .zxc-top10-hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.zxc-top10-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.zxc-top10-actions-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zxc-top10-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: rgba(42, 42, 42, 0.85);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  padding: 0;
}

.zxc-top10-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

.zxc-top10-btn--play {
  width: 36px;
  height: 36px;
  background: #fff;
  color: #000;
  border-color: #fff;
}

.zxc-top10-btn--play svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.zxc-top10-btn--play:hover {
  background: #e5e5e5;
  transform: scale(1.05);
}

.zxc-top10-btn--like:hover,
.zxc-top10-btn--more:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

.zxc-top10-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 0.78rem;
}

.zxc-top10-match {
  color: #46d369;
  font-weight: 700;
}

.zxc-top10-hd {
  padding: 1px 5px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 3px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
}

.zxc-top10-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #f5c518;
  font-weight: 700;
}

.zxc-top10-rating svg {
  width: 14px;
  height: 14px;
}

.zxc-top10-genre {
  margin: 0 0 6px;
  font-size: 0.78rem;
  color: var(--zxc-muted);
}

.zxc-top10-overview {
  margin: 0 0 8px;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #b3b3b3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zxc-top10-year-foot {
  display: block;
  font-size: 0.72rem;
  color: var(--zxc-dim);
}

.zxc-top10-title {
  display: block;
  position: relative;
  z-index: 2;
  margin: 10px 0 0 52px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--zxc-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.15s ease;
}

.zxc-top10-card:hover .zxc-top10-title {
  opacity: 0;
}

/* Providers — match zxcprime: lg:size-40 (160px), gap 10px, p-4 */

.zxc-providers-rail {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  width: 100%;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 0 8px;
  box-sizing: border-box;
}

.zxc-providers-rail::-webkit-scrollbar { display: none; }

.zxc-provider {
  position: relative;
  flex: 0 0 auto;
  box-sizing: border-box;
  display: block;
  width: 7.5rem;   /* size-30 */
  height: 7.5rem;
  padding: 1rem;   /* p-4 */
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(to bottom, rgba(26, 26, 26, 0.5), var(--zxc-card, #1a1a1a));
  border: none;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.zxc-provider:hover {
  transform: scale(1.04);
}

.zxc-provider img {
  position: absolute;
  inset: 1rem;
  width: calc(100% - 2rem);
  height: calc(100% - 2rem);
  margin: auto;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
}

.zxc-provider.is-invert img {
  filter: invert(1);
}

@media (min-width: 768px) {
  .zxc-provider {
    width: 8.75rem;  /* size-35 */
    height: 8.75rem;
  }
}

@media (min-width: 1024px) {
  .zxc-providers-rail {
    justify-content: space-between;
    overflow-x: visible;
    gap: 10px;
  }

  .zxc-provider {
    width: 10rem;    /* lg:size-40 = 160px */
    height: 10rem;
  }
}

/* Continuar viendo */

.zxc-continue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.zxc-continue-clear {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--zxc-muted, #9a9a9a);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  padding: 6px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.zxc-continue-clear:hover {
  color: #fff;
}

.zxc-continue-clear[hidden] {
  display: none !important;
}

.zxc-continue-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 10px;
}

.zxc-continue-rail::-webkit-scrollbar { display: none; }

.zxc-continue-rail[hidden],
.zxc-continue-empty[hidden] {
  display: none !important;
}

.zxc-continue-card {
  flex: 0 0 auto;
  width: 168px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.zxc-continue-card img,
.zxc-continue-ph {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  background: #1a1a1a;
}

.zxc-continue-ph {
  background: linear-gradient(135deg, #222, #111);
}

.zxc-continue-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 2px 0;
  min-width: 0;
}

.zxc-continue-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zxc-continue-year {
  font-size: 0.72rem;
  color: var(--zxc-muted, #888);
}

.zxc-continue-bar {
  display: block;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.zxc-continue-bar i {
  display: block;
  height: 100%;
  background: var(--zxc-red, #dc2626);
  border-radius: inherit;
}

.zxc-continue-empty {
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  background: rgba(255, 255, 255, 0.02);
}

.zxc-continue-empty-inner {
  text-align: center;
  max-width: 360px;
}

.zxc-continue-empty-icon {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 10px;
}

.zxc-continue-empty-title {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.zxc-continue-empty-sub {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 600px) {
  .zxc-continue-card { width: 148px; }
}

/* Weekly grid */

.zxc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

/* Movies browse rails (Películas tab) — hover estilo TOP 10 sin número */

.zxc-section-browse {
  position: relative;
  z-index: 10;
  margin-bottom: 8px;
  overflow: visible;
}

.zxc-section-browse:has(.zxc-browse-card:hover) {
  z-index: 80;
}

/* Las filas siguientes no tapar el panel de info expandido */
.zxc-section-browse:has(.zxc-browse-card:hover) ~ .zxc-section-browse,
.zxc-section-browse:has(.zxc-browse-card:hover) ~ .zxc-footer {
  z-index: 1;
  position: relative;
}

.zxc-browse-head {
  margin-bottom: 12px;
}

.zxc-browse-rail-outer {
  overflow-x: auto;
  /* visible no funciona con overflow-x:auto; el panel cabe en el padding inferior */
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-top: 72px;
  margin-top: -72px;
  /* Espacio real para imagen + panel (año incluido) al hacer zoom */
  padding-bottom: 340px;
  margin-bottom: -300px;
  padding-left: calc(var(--zxc-main-pl) - 12px);
  margin-left: calc(-1 * (var(--zxc-main-pl) - 12px));
  width: calc(100% + (var(--zxc-main-pl) - 12px));
  max-width: none;
  container-type: inline-size;
  container-name: browse-rail;
  pointer-events: none;
}

.zxc-browse-rail-outer::-webkit-scrollbar {
  display: none;
}

.zxc-browse-rail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  pointer-events: auto;
  padding: 4px 2px 8px;
  overflow: visible;
}

/* 5 completas + media sexta; zoom TOP 10 sin ranking */
.zxc-browse-card {
  flex: 0 0 calc((100cqw - 5 * 12px) / 5.5);
  width: calc((100cqw - 5 * 12px) / 5.5);
  position: relative;
  overflow: visible;
}

.zxc-browse-card .zxc-browse-scale {
  width: 100%;
  transform-origin: center center;
  overflow: visible;
}

.zxc-browse-card .zxc-browse-body {
  margin-left: 0;
  overflow: visible;
}

.zxc-browse-card .zxc-top10-poster-media {
  aspect-ratio: 16 / 9;
}

.zxc-browse-card:hover {
  z-index: 130;
}

.zxc-browse-card:hover .zxc-browse-scale {
  transform: scale(1.28);
}

/* Panel de info completo (botones + meta + sinopsis + año) */
.zxc-browse-card .zxc-top10-hover {
  padding: 12px 12px 16px;
  border-radius: 0 0 8px 8px;
  overflow: visible;
}

.zxc-browse-card .zxc-top10-overview {
  -webkit-line-clamp: 2;
  margin-bottom: 8px;
}

.zxc-browse-card .zxc-top10-year-foot {
  display: block;
  margin-top: 2px;
}

/* Nombre / logo tipográfico sobre la imagen horizontal */
.zxc-browse-title-on {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 36px 14px 14px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.28) 50%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
  min-height: 42%;
}

/* Con badge «Recién añadido»: logo arriba del badge para no taparlo */
.zxc-browse-card .zxc-top10-poster-media:has(.zxc-top10-badge) .zxc-browse-title-on,
.zxc-section-top10 .zxc-top10-poster-media:has(.zxc-top10-badge) .zxc-browse-title-on {
  bottom: 28px;
  padding-bottom: 10px;
  min-height: 38%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.2) 55%,
    transparent 100%
  );
}

.zxc-browse-card .zxc-top10-badge,
.zxc-section-top10 .zxc-top10-badge {
  z-index: 6;
}

.zxc-browse-title-logo {
  max-width: min(88%, 280px);
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.75));
}

.zxc-browse-card .zxc-top10-poster-media:has(.zxc-top10-badge) .zxc-browse-title-logo,
.zxc-section-top10 .zxc-top10-poster-media:has(.zxc-top10-badge) .zxc-browse-title-logo {
  max-height: 44px;
}

.zxc-browse-card:hover .zxc-browse-title-logo,
.zxc-section-top10 .zxc-top10-card:hover .zxc-browse-title-logo {
  max-height: 64px;
}

.zxc-browse-card:hover .zxc-top10-poster-media:has(.zxc-top10-badge) .zxc-browse-title-logo,
.zxc-section-top10 .zxc-top10-card:hover .zxc-top10-poster-media:has(.zxc-top10-badge) .zxc-browse-title-logo {
  max-height: 48px;
}

.zxc-browse-card:hover .zxc-top10-badge {
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 700px) {
  .zxc-browse-card {
    flex-basis: calc((100cqw - 2 * 10px) / 2.4);
    width: calc((100cqw - 2 * 10px) / 2.4);
  }
  .zxc-browse-rail {
    gap: 10px;
  }
  .zxc-browse-card:hover .zxc-browse-scale {
    transform: scale(1.2);
  }
  .zxc-browse-rail-outer {
    padding-bottom: 280px;
    margin-bottom: -240px;
  }
}

.zxc-grid-card {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: visible;
  aspect-ratio: 2 / 3;
  background: var(--zxc-card);
  cursor: pointer;
  isolation: isolate;
}

.zxc-grid-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* Darken only the lower half, fade out toward mid (same zone as U-contour) */
.zxc-grid-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.48) 28%,
    rgba(0, 0, 0, 0.18) 42%,
    transparent 55%
  );
}

.zxc-grid-card:hover::before {
  opacity: 1;
}

/* Neon U-contour (same as seasons) */
.zxc-grid-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  border: 1.5px solid var(--zxc-red, #ff1f1f);
  border-top-color: transparent;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease;
  -webkit-mask-image: linear-gradient(
    to top,
    #000 0%,
    #000 38%,
    rgba(0, 0, 0, 0.55) 48%,
    transparent 58%
  );
  mask-image: linear-gradient(
    to top,
    #000 0%,
    #000 38%,
    rgba(0, 0, 0, 0.55) 48%,
    transparent 58%
  );
  box-shadow:
    0 0 4px color-mix(in srgb, var(--zxc-red, #ff1f1f) 95%, transparent),
    0 0 10px color-mix(in srgb, var(--zxc-red, #ff1f1f) 55%, transparent),
    inset 0 0 4px color-mix(in srgb, var(--zxc-red, #ff1f1f) 35%, transparent);
}

.zxc-grid-card:hover::after {
  opacity: 1;
}

.zxc-grid-wl {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 4;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: rgba(20, 20, 20, 0.72);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease, visibility 0.15s ease;
}

.zxc-grid-card:hover .zxc-grid-wl,
.zxc-grid-card:focus-within .zxc-grid-wl,
.zxc-grid-wl.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.zxc-grid-wl:hover {
  background: rgba(0, 0, 0, 0.9);
}

.zxc-grid-wl.is-on {
  color: #ff3b3b;
  background: rgba(20, 20, 20, 0.85);
}

.zxc-grid-wl.is-on svg {
  fill: currentColor;
  stroke: currentColor;
}

.zxc-grid-wl svg {
  display: block;
  pointer-events: none;
}

/* Tema → pie de tarjeta */
.zxc-grid-cap {
  display: none;
}
body.zxc-cards--standard .zxc-grid-cap,
body.zxc-cards--minimal .zxc-grid-cap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 3;
  pointer-events: none;
}
body.zxc-cards--standard .zxc-grid-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 8px 8px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 55%, transparent 100%);
}
body.zxc-cards--standard .zxc-grid-cap-title {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.zxc-cards--standard .zxc-grid-cap-year {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
}
body.zxc-cards--standard .zxc-grid-year {
  display: none;
}
body.zxc-cards--minimal .zxc-grid-card {
  overflow: visible;
  background: transparent;
}
body.zxc-cards--minimal .zxc-grid-cap {
  position: static;
  margin-top: 8px;
  padding: 0 1px;
}
body.zxc-cards--minimal .zxc-grid-cap-title {
  color: var(--zxc-ink);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.zxc-cards--minimal .zxc-grid-cap-year {
  color: var(--zxc-muted);
  font-size: 0.72rem;
}
body.zxc-cards--minimal .zxc-grid-year {
  display: none;
}
body.zxc-cards--poster .zxc-grid-cap {
  display: none;
}

.zxc-grid-year {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.7);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--zxc-muted);
}

.zxc-grid-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 5px 8px;
  border-radius: 0 0 6px 6px;
  background: var(--zxc-red);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.03em;
}

/* Landing ad slots */

.zxc-ad-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 20px 0 8px;
  min-height: 0;
  overflow: hidden;
}

.zxc-ad-slot:empty,
.zxc-ad-slot-src {
  display: none !important;
}

.zxc-ad-slot--footer {
  margin: 0 0 24px;
}

.zxc-ad-slot--catalog {
  margin: 16px 0 0;
}

.zxc-ad-slot--preview_after_cast {
  margin: 16px 0 8px;
}

.zxc-ad-slot iframe,
.zxc-ad-slot img,
.zxc-ad-slot ins {
  max-width: 100%;
}

/* Footer */

.zxc-footer {
  padding: 32px 24px 48px 0;
  text-align: center;
  color: var(--zxc-muted);
  font-size: 0.85rem;
}

.zxc-footer-social {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}

.zxc-footer-social a {
  transition: color var(--zxc-ease);
}

.zxc-footer-social a:hover { color: var(--zxc-red-hover); }

.zxc-footer-social .fb { color: #3b5998; }
.zxc-footer-social .tw { color: #1da1f2; }
.zxc-footer-social .tg { color: #0088cc; }
.zxc-footer-social .yt { color: #ff0000; }

.zxc-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.zxc-footer-links a {
  font-weight: 500;
  transition: color var(--zxc-ease);
}

.zxc-footer-links a:hover { color: var(--zxc-red-hover); }

.zxc-footer-disclaimer {
  max-width: 900px;
  margin: 16px auto;
  line-height: 1.65;
  font-size: 0.82rem;
  padding: 0 16px;
}

.zxc-footer-disclaimer strong { color: var(--zxc-red); }

.zxc-footer-copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.zxc-empty {
  padding: 32px;
  border-radius: 8px;
  border: 1px dashed var(--zxc-line);
  color: var(--zxc-muted);
  text-align: center;
}

/* Mobile bottom nav */

.zxc-mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--zxc-line);
  box-sizing: border-box;
}

.zxc-mobile-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.zxc-mobile-nav a,
.zxc-mobile-nav-btn {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--zxc-muted);
  font: inherit;
  font-size: 0.58rem;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zxc-mobile-nav a.is-active,
.zxc-mobile-nav-btn.is-active {
  color: var(--zxc-ink);
}

.zxc-mobile-nav svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ── Cinematic search overlay ── */

body.zxc-search-open { overflow: hidden; }

.zxc-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 24px 24px;
  pointer-events: none;
}

.zxc-search-overlay[hidden] { display: none !important; }

.zxc-search-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.78);
  pointer-events: auto;
}

.zxc-search-panel {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 48px));
  margin-left: calc(var(--zxc-sidebar-w) * 0.35);
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: zxc-search-in 0.28s var(--zxc-ease) both;
}

@keyframes zxc-search-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.zxc-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 6px 6px 16px;
  border-radius: 8px;
  background: #0a0a0a;
  border: 1px solid rgba(220, 38, 38, 0.55);
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.12), 0 18px 40px rgba(0, 0, 0, 0.45);
}

.zxc-search-ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #9ca3af;
  stroke: currentColor;
}

.zxc-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #f5f5f5;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 4px;
}

.zxc-search-input::placeholder { color: #6b7280; }
.zxc-search-input::-webkit-search-decoration,
.zxc-search-input::-webkit-search-cancel-button { -webkit-appearance: none; }

.zxc-search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
}

.zxc-search-clear:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.zxc-search-clear[hidden] { display: none !important; }

.zxc-search-type {
  position: relative;
  flex-shrink: 0;
}

.zxc-search-type-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: #1a1a1a;
  color: #f5f5f5;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.zxc-search-type-btn:hover { background: #222; }
.zxc-search-type-btn svg { color: #a3a3a3; flex-shrink: 0; }

.zxc-search-type-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 8px;
  background: #141414;
  border: 1px solid #2a2a2a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.zxc-search-type-menu[hidden] { display: none !important; }

.zxc-search-type-menu li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  color: #e5e5e5;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.zxc-search-type-menu li:hover { background: #1f1f1f; }
.zxc-search-type-menu li.is-active { color: #fff; }
.zxc-search-type-menu li svg {
  color: #fff;
  opacity: 0;
  flex-shrink: 0;
}
.zxc-search-type-menu li.is-active svg { opacity: 1; }

.zxc-search-results {
  max-height: min(58vh, 480px);
  overflow: auto;
  border-radius: 10px;
  background: rgba(10, 10, 10, 0.96);
  border: 1px solid #222;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  scrollbar-width: thin;
  scrollbar-color: #3a3a3a transparent;
}

.zxc-search-results::-webkit-scrollbar {
  width: 8px;
}

.zxc-search-results::-webkit-scrollbar-track {
  background: transparent;
  margin: 6px 0;
}

.zxc-search-results::-webkit-scrollbar-thumb {
  background: #3a3a3a;
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.zxc-search-results::-webkit-scrollbar-thumb:hover {
  background: #555;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.zxc-search-results[hidden] { display: none !important; }

.zxc-search-hit {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #1c1c1c;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.zxc-search-hit:last-child { border-bottom: 0; }
.zxc-search-hit:hover { background: #161616; }

.zxc-search-hit-poster {
  width: 44px;
  height: 66px;
  object-fit: cover;
  border-radius: 5px;
  background: #222;
  flex-shrink: 0;
}

.zxc-search-hit-poster.is-empty {
  display: grid;
  place-items: center;
  color: #555;
  font-size: 0.7rem;
}

.zxc-search-hit-meta { min-width: 0; flex: 1; }
.zxc-search-hit-title {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zxc-search-hit-sub {
  margin: 0;
  font-size: 0.78rem;
  color: #9ca3af;
  line-height: 1.35;
}
.zxc-search-hit-sep {
  color: #6b7280;
  margin: 0 2px;
}
.zxc-search-hit-star {
  color: #f5c518;
  font-size: 0.85em;
}

.zxc-search-empty,
.zxc-search-loading {
  padding: 18px 16px;
  text-align: center;
  color: #9ca3af;
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .zxc-search-panel { margin-left: 0; width: min(640px, 100%); }
  .zxc-search-overlay { padding-top: 18px; }
}

/* ── Embed generator modal (kept from original) ── */

body.eg-open { overflow: hidden; }

.eg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.eg-overlay[hidden] { display: none !important; }

.eg-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  padding: 24px;
  border-radius: 16px;
  background: #141414;
  border: 1px solid #333;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.6);
  color: #e5e5e5;
}

.eg-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #a3a3a3;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.eg-close:hover { color: #fff; border-color: #555; }

.eg-head { padding-right: 40px; margin-bottom: 18px; }
.eg-head h2 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 700; color: #fff; }
.eg-head p { margin: 0; font-size: 0.86rem; color: #a3a3a3; }

.eg-source {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.eg-source-btn {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #d4d4d4;
  cursor: pointer;
}

.eg-source-btn.is-active {
  color: #fff;
  border-color: var(--zxc-red);
  background: rgba(220, 38, 38, 0.15);
}

.eg-search-wrap { margin-bottom: 14px; }

.eg-results {
  margin-top: 8px;
  max-height: 280px;
  overflow: auto;
  border-radius: 8px;
  border: 1px solid #333;
  background: #0a0a0a;
}

.eg-label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.eg-input, .eg-textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #f5f5f5;
  font-family: inherit;
  font-size: 0.92rem;
  padding: 12px 14px;
}

.eg-input:focus, .eg-textarea:focus {
  outline: none;
  border-color: var(--zxc-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.eg-textarea {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  resize: vertical;
  min-height: 72px;
  margin-bottom: 14px;
}

.eg-results[hidden] { display: none !important; }

.eg-result {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #262626;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.eg-result:last-child { border-bottom: 0; }
.eg-result:hover { background: rgba(220, 38, 38, 0.1); }

.eg-result img, .eg-poster-ph {
  width: 40px;
  height: 60px;
  border-radius: 4px;
  object-fit: cover;
  background: #262626;
}

.eg-result-meta strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

.eg-result-sub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.75rem;
  color: #a3a3a3;
}

.eg-type {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
}

.eg-type.is-movie { background: rgba(220, 38, 38, 0.2); color: #fca5a5; }
.eg-type.is-tv { background: rgba(124, 58, 237, 0.2); color: #c4b5fd; }

.eg-result-id {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: #737373;
}

.eg-ep {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 4px;
}

.eg-field span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.eg-out {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #262626;
}

.eg-out[hidden] { display: none !important; }

.eg-out-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.eg-badge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.2);
  color: #fca5a5;
  font-size: 0.65rem;
}

.eg-badge.is-imdb { background: rgba(124, 58, 237, 0.2); color: #c4b5fd; }

.eg-url-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 14px;
}

.eg-copy {
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #333;
  background: rgba(220, 38, 38, 0.15);
  color: #fca5a5;
  cursor: pointer;
  white-space: nowrap;
}

.eg-copy-inline { padding: 4px 10px; font-size: 0.72rem; }

.eg-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
}

.eg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
}

.eg-btn-primary {
  color: #fff;
  border: 0;
  background: var(--zxc-red);
}

.eg-btn-ghost {
  color: #e5e5e5;
  background: transparent;
  border-color: #444;
}

.eg-preview {
  margin-top: 14px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #333;
  background: #000;
}

.eg-preview[hidden] { display: none !important; }

.eg-preview-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #1a1a1a;
  font-size: 0.75rem;
  font-weight: 600;
  color: #a3a3a3;
}

.eg-preview-bar button {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fca5a5;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.eg-preview iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  background: #000;
}

.eg-preview-stage { position: relative; background: #000; }

.eg-preview-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.eg-preview-loading[hidden] { display: none !important; }

.eg-preview-loading-bg {
  position: absolute;
  inset: 0;
  background: #0a0a0a center/cover no-repeat;
  filter: brightness(0.42);
  transform: scale(1.04);
}

.eg-preview-loading-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 18px 22px;
  border-radius: 12px;
  background: rgba(12, 14, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.eg-preview-loading-card p { margin: 0 0 4px; font-size: 0.95rem; font-weight: 700; }
.eg-preview-loading-card span { font-size: 0.75rem; color: #a3a3a3; }

.eg-preview-spin {
  width: 28px;
  height: 28px;
  margin: 0 auto 12px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--zxc-red);
  border-radius: 50%;
  animation: zxc-spin 0.8s linear infinite;
}

@keyframes zxc-spin { to { transform: rotate(360deg); } }

/* ── Responsive ── */

@media (min-width: 768px) {
  .zxc-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .zxc-grid { grid-template-columns: repeat(8, 1fr); }
  .zxc-main { padding-bottom: 0; }
}

@media (max-width: 1023px) {
  .zxc-sidebar-zone {
    display: none;
  }

  .zxc-main {
    padding-left: 0;
  }

  .zxc-hero {
    margin-left: 0;
    width: 100%;
  }

  .zxc-hero-backdrops {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .zxc-hero-copy {
    padding-left: 16px;
  }

  .zxc-hero-content {
    left: 16px;
  }

  .zxc-topnav {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    padding: 12px 10px;
    box-sizing: border-box;
    justify-content: center;
  }

  .zxc-topnav-inner {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    gap: 2px;
    padding: 4px;
    font-size: 0.8rem;
  }

  .zxc-topnav-inner span,
  .zxc-topnav-inner a,
  .zxc-topnav-inner button {
    flex: 1 1 0;
    min-width: 0;
    padding: 6px 4px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .zxc-mobile-nav {
    display: block;
  }

  .zxc-content {
    padding-inline: 12px;
  }

  .zxc-footer {
    padding-inline: 12px;
    margin-bottom: 60px;
  }

  .zxc-hero-content {
    padding: 0 16px 60px;
  }

  .zxc-hero-mask-left {
    background: linear-gradient(to top, var(--zxc-bg) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
  }
}

@media (max-width: 560px) {
  .zxc-topnav {
    padding: 10px 8px;
  }

  .zxc-topnav-inner {
    font-size: 0.74rem;
  }

  .zxc-topnav-inner span,
  .zxc-topnav-inner a,
  .zxc-topnav-inner button {
    padding: 6px 2px;
  }

  .zxc-mobile-nav a,
  .zxc-mobile-nav-btn {
    font-size: 0.55rem;
  }

  .zxc-mobile-nav svg {
    width: 20px;
    height: 20px;
  }

  .zxc-top10-rail-outer {
    padding-bottom: 180px;
    margin-bottom: -160px;
  }
  .zxc-top10-card { flex: 0 0 240px; }
  .zxc-top10-card:hover .zxc-top10-scale { transform: scale(1.28); }
  .zxc-top10-rank { font-size: 5.5rem; }
  .zxc-top10-body { margin-left: 40px; }
  .zxc-top10-scale { transform-origin: calc(40px + (100% - 40px) / 2) center; }
  .zxc-top10-title { margin-left: 40px; }
  .zxc-hero { min-height: 70vh; max-height: 520px; }
  .eg-actions, .eg-url-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ── Catalog / details / watch / lists ── */

.zxc-main--catalog,
.zxc-main--details,
.zxc-main--watch,
.zxc-main--lists {
  min-height: 100vh;
  padding-top: 28px;
  padding-right: 28px;
  padding-bottom: 100px;
}

/* Watch: exact viewport fit, no vertical page scroll */
html:has(body.zxc-page-watch),
body.zxc-page-watch {
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}

body.zxc-page-watch {
  height: 100vh;
  max-height: 100vh;
}

body.zxc-page-watch .zxc-main--watch {
  height: 100vh;
  max-height: 100vh;
  min-height: 0;
  padding-top: 16px;
  padding-right: 20px;
  padding-bottom: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.zxc-page-watch .zxc-watch {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.zxc-page-watch .zxc-watch-head {
  flex: 0 0 auto;
  margin-bottom: 12px;
}

body.zxc-page-watch .zxc-watch-frame-wrap {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  padding-top: 0;
  border-radius: 10px;
}

body.zxc-page-watch .zxc-mobile-nav {
  display: none !important;
}

.zxc-catalog-head {
  margin-bottom: 22px;
}

.zxc-catalog-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.zxc-genre-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
}

.zxc-genre-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  min-width: 7.5rem;
  padding: 10px 20px;
  border-radius: 6px;
  border: 1px solid #2a2a2a;
  background: #141414;
  color: #d4d4d4;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.zxc-genre-pill-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #a8b0b8;
}

.zxc-genre-pill-ico svg {
  width: 18px;
  height: 18px;
  display: block;
}

.zxc-genre-pill:hover .zxc-genre-pill-ico,
.zxc-genre-pill.is-active .zxc-genre-pill-ico {
  color: #c8d0d8;
}

.zxc-genre-pill:hover { border-color: #444; color: #fff; }
.zxc-genre-pill.is-active {
  background: rgba(220, 38, 38, 0.18);
  border-color: var(--zxc-red);
  color: #fff;
}

.zxc-catalog-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.zxc-catalog-filter-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.zxc-catalog-expand,
.zxc-catalog-more-filters {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  min-width: 7.5rem;
  padding: 10px 20px;
  border-radius: 6px;
  border: 1px solid #2a2a2a;
  background: #141414;
  color: #d4d4d4;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.zxc-catalog-expand:hover { border-color: #444; color: #fff; }

.zxc-catalog-more-filters {
  background: var(--zxc-red);
  border-color: var(--zxc-red);
  color: #fff;
}

.zxc-catalog-more-filters:hover {
  background: var(--zxc-red-hover);
  border-color: var(--zxc-red-hover);
}

.zxc-catalog-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--zxc-muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.zxc-catalog-total { color: #fff; font-size: 1.25rem; font-weight: 700; }

.zxc-catalog-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px 12px;
  overflow: visible;
}

.zxc-catalog-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  overflow: visible;
}

.zxc-catalog-skel-card {
  aspect-ratio: 2 / 3;
  background: linear-gradient(90deg, #141414 0%, #1c1c1c 45%, #141414 100%);
  background-size: 200% 100%;
  animation: zxc-skel 1.1s ease-in-out infinite;
  border: 1px solid #1f1f1f;
  pointer-events: none;
}

.zxc-catalog-skel-title {
  display: block;
  height: 12px;
  margin-top: 0;
  border-radius: 4px;
  background: #1a1a1a;
  width: 72%;
}

@keyframes zxc-skel {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Mismo hover U-contour que Favoritos de la semana */
.zxc-catalog-grid .zxc-grid-card {
  width: 100%;
}

.zxc-catalog-card-title {
  display: block;
  color: #e5e5e5;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 2px;
}

.zxc-catalog-status {
  margin-top: 18px;
  text-align: center;
  color: var(--zxc-muted);
}

.zxc-catalog-sentinel {
  height: 48px;
  margin-top: 8px;
  pointer-events: none;
}

.zxc-scroll-top {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(18, 18, 18, 0.82);
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.zxc-scroll-top svg {
  flex-shrink: 0;
  display: block;
}

.zxc-scroll-top:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(28, 28, 28, 0.92);
}

.zxc-scroll-top[hidden] { display: none !important; }

.zxc-catalog-more-wrap,
.zxc-catalog-more,
.zxc-catalog-filters {
  display: none;
}

/* ── Advanced filter drawer (left) ── */

body.zxc-adv-open { overflow: hidden; }

.zxc-adv-filter {
  position: fixed;
  inset: 0;
  z-index: 110;
  pointer-events: none;
}

.zxc-adv-filter:not([hidden]) {
  pointer-events: auto;
}

.zxc-adv-filter[hidden] { display: none !important; }

.zxc-adv-filter-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.zxc-adv-filter-panel {
  position: absolute;
  top: 10px;
  left: 10px;
  bottom: 10px;
  width: min(460px, calc(100vw - 20px));
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #0c0c0c;
  border: 1px solid #222;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  animation: zxc-adv-in 0.22s var(--zxc-ease) both;
}

@keyframes zxc-adv-in {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

.zxc-adv-filter-head {
  padding: 22px 20px 14px;
  flex-shrink: 0;
}

.zxc-adv-filter-head h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.zxc-adv-filter-head p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #9ca3af;
}

.zxc-adv-filter-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 4px 20px 18px;
  scrollbar-width: thin;
  scrollbar-color: #3a3a3a transparent;
}

.zxc-adv-filter-body::-webkit-scrollbar { width: 8px; }
.zxc-adv-filter-body::-webkit-scrollbar-thumb {
  background: #3a3a3a;
  border-radius: 999px;
}

.zxc-adv-section {
  margin-bottom: 20px;
}

.zxc-adv-section h3 {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #a3a3a3;
  letter-spacing: 0.02em;
}

.zxc-adv-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.zxc-adv-select {
  position: relative;
  display: block;
}

.zxc-adv-select select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  min-height: 42px;
  padding: 0 34px 0 12px;
  border-radius: 6px;
  border: 1px solid #2a2a2a;
  background: #171717 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%9ca3af' stroke-width='2'%3E%3Cpath d='m7 15 5 5 5-5'/%3E%3Cpath d='m7 9 5-5 5 5'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: #e5e5e5;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.zxc-adv-select.is-accent select {
  background-color: #3a1212;
  border-color: #5c1c1c;
  color: #f2b8b8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23f2b8b8' stroke-width='2'%3E%3Cpath d='m7 15 5 5 5-5'/%3E%3Cpath d='m7 9 5-5 5 5'/%3E%3C/svg%3E");
}

.zxc-adv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zxc-adv-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid #2a2a2a;
  background: #171717;
  color: #e5e5e5;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.zxc-adv-chip:hover {
  border-color: #444;
  color: #fff;
}

.zxc-adv-chip.is-active {
  background: rgba(220, 38, 38, 0.2);
  border-color: var(--zxc-red);
  color: #fff;
}

.zxc-adv-chip--add {
  width: 38px;
  min-width: 38px;
  padding: 0;
  color: #a3a3a3;
}

.zxc-adv-filter-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 16px 16px;
  border-top: 1px solid #1f1f1f;
  flex-shrink: 0;
}

.zxc-adv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 8px;
  border: 0;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.zxc-adv-btn--reset {
  background: #ececec;
  color: #111;
}

.zxc-adv-btn--reset:hover { background: #fff; }

.zxc-adv-btn--close {
  background: #1f1f1f;
  color: #fff;
  border: 1px solid #333;
}

.zxc-adv-btn--close:hover {
  background: #2a2a2a;
}

@media (max-width: 560px) {
  .zxc-adv-filter-panel {
    left: 8px;
    right: 8px;
    width: auto;
  }
}

/* Details */

.zxc-details-loading {
  padding: 80px 20px;
  text-align: center;
  color: var(--zxc-muted);
}

.zxc-details-loading[hidden] { display: none !important; }

.zxc-details-hero {
  position: relative;
  min-height: 70vh;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a0a;
}

.zxc-details-backdrop {
  position: absolute;
  inset: 0;
}

.zxc-details-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.zxc-details-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #000 8%, transparent 62%),
              linear-gradient(0deg, #000 12%, transparent 55%);
}

.zxc-details-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: 64px 40px 48px;
}

.zxc-details-logo {
  max-width: min(420px, 90%);
  max-height: 140px;
  width: auto;
  height: auto;
  margin-bottom: 18px;
}

.zxc-details-title {
  margin: 0 0 14px;
  font-family: var(--zxc-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
}

.zxc-details-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 14px;
  color: #d4d4d4;
  font-size: 0.95rem;
}

.zxc-details-meta span + span::before {
  content: '|';
  margin-right: 10px;
  color: #555;
}

.zxc-details-overview {
  margin: 0 0 22px;
  color: #c4c4c4;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zxc-details-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.zxc-details-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-weight: 700;
}

.zxc-details-add {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid #888;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.zxc-details-add svg {
  width: 18px;
  height: 18px;
}

.zxc-details-add.is-on {
  border-color: var(--zxc-red);
  color: var(--zxc-red);
}

.zxc-details-similar {
  margin-top: 36px;
}

.zxc-details-similar h2 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.zxc-details-tv {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.zxc-details-tv select,
.zxc-details-tv input {
  background: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
  border-radius: 6px;
  padding: 8px 10px;
  font: inherit;
}

/* Watch */

.zxc-watch-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.zxc-watch-back {
  color: var(--zxc-muted);
  font-weight: 600;
}

.zxc-watch-back:hover { color: #fff; }

.zxc-watch-title {
  margin: 0;
  flex: 1;
  font-size: 1.15rem;
  font-weight: 700;
}

.zxc-watch-picker {
  position: relative;
  margin-left: auto;
}

.zxc-watch-picker-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.zxc-watch-picker-step,
.zxc-watch-picker-btn,
.zxc-watch-picker-close {
  border: 1px solid #2a2a2a;
  background: #171717;
  color: #e5e5e5;
  cursor: pointer;
  font: inherit;
}

.zxc-watch-picker-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  padding: 0;
}

.zxc-watch-picker-step:hover:not(:disabled) {
  border-color: #444;
  color: #fff;
  background: #1f1f1f;
}

.zxc-watch-picker-step:disabled {
  opacity: 0.35;
  cursor: default;
}

.zxc-watch-picker-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}

.zxc-watch-picker-btn:hover,
.zxc-watch-picker-btn[aria-expanded="true"] {
  border-color: #444;
  background: #1f1f1f;
  color: #fff;
}

.zxc-watch-picker-caret {
  opacity: 0.7;
  transition: transform 0.18s ease;
}

.zxc-watch-picker-btn[aria-expanded="true"] .zxc-watch-picker-caret {
  transform: rotate(180deg);
}

.zxc-watch-picker-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(380px, calc(100vw - 32px));
  max-height: min(520px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background: #0c0c0c;
  border: 1px solid #262626;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  z-index: 40;
  overflow: hidden;
}

.zxc-watch-picker-panel[hidden] {
  display: none !important;
}

.zxc-watch-picker-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 10px;
  flex-shrink: 0;
}

.zxc-watch-picker-panel-head h2 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.zxc-watch-picker-panel-head p {
  margin: 0;
  font-size: 0.8rem;
  color: #9ca3af;
}

.zxc-watch-picker-close {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.zxc-watch-picker-close:hover {
  background: #1f1f1f;
  color: #fff;
}

.zxc-watch-picker-seasons {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 0 16px 12px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #3a3a3a transparent;
  flex-shrink: 0;
}

.zxc-watch-picker-season {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid #2a2a2a;
  background: #171717;
  color: #d4d4d4;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.zxc-watch-picker-season:hover {
  border-color: #444;
  color: #fff;
}

.zxc-watch-picker-season.is-active {
  background: rgba(220, 38, 38, 0.22);
  border-color: var(--zxc-red);
  color: #fff;
}

.zxc-watch-picker-eps {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 0 10px 12px;
  scrollbar-width: thin;
  scrollbar-color: #3a3a3a transparent;
}

.zxc-watch-picker-ep {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.zxc-watch-picker-ep:hover {
  background: #171717;
}

.zxc-watch-picker-ep.is-current {
  background: rgba(220, 38, 38, 0.16);
}

.zxc-watch-picker-ep-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #e5e5e5;
  font-weight: 800;
  font-size: 0.85rem;
}

.zxc-watch-picker-ep.is-current .zxc-watch-picker-ep-num {
  background: var(--zxc-red);
  border-color: var(--zxc-red);
  color: #fff;
}

.zxc-watch-picker-ep-body {
  min-width: 0;
}

.zxc-watch-picker-ep-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zxc-watch-picker-ep-meta {
  margin: 2px 0 0;
  font-size: 0.75rem;
  color: #9ca3af;
}

.zxc-watch-picker-ep-play {
  color: #a3a3a3;
  opacity: 0;
}

.zxc-watch-picker-ep:hover .zxc-watch-picker-ep-play,
.zxc-watch-picker-ep.is-current .zxc-watch-picker-ep-play {
  opacity: 1;
  color: #fff;
}

.zxc-watch-picker-empty {
  margin: 18px 8px;
  color: #9ca3af;
  font-size: 0.88rem;
}

.zxc-watch-picker-more {
  display: block;
  width: calc(100% - 16px);
  margin: 4px 8px 8px;
  min-height: 38px;
  border-radius: 6px;
  border: 1px solid #2a2a2a;
  background: #171717;
  color: #e5e5e5;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.zxc-watch-picker-more:hover {
  border-color: #444;
  color: #fff;
}

@media (max-width: 700px) {
  .zxc-watch-picker {
    width: 100%;
    margin-left: 0;
  }

  .zxc-watch-picker-nav {
    width: 100%;
  }

  .zxc-watch-picker-btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .zxc-watch-picker-panel {
    left: 0;
    right: 0;
    width: auto;
  }
}

.zxc-watch-frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #222;
}

.zxc-watch-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Lists */

.zxc-lists-head {
  margin-bottom: 22px;
}

.zxc-lists-head h1 {
  margin: 0 0 6px;
  font-size: 1.6rem;
}

.zxc-lists-head p {
  margin: 0;
  color: var(--zxc-muted);
}

.zxc-lists-clear {
  margin-top: 0;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid #333;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.zxc-lists-clear:hover {
  border-color: #555;
  background: #1a1a1a;
}

.zxc-lists-empty {
  color: var(--zxc-muted);
  text-align: center;
  padding: 48px 12px;
}

.zxc-history-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 72px 16px;
  color: #6b7280;
}

.zxc-history-empty[hidden] {
  display: none !important;
}

.zxc-history-empty-title {
  margin: 8px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #e5e5e5;
}

.zxc-history-empty-sub {
  margin: 0;
  max-width: 360px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #9ca3af;
}

/* Watchlist — diseño tipo referencia */

.zxc-watchlist-head {
  margin-bottom: 28px;
}

.zxc-watchlist-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.zxc-watchlist-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  font-size: 1.85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.zxc-watchlist-title svg {
  flex-shrink: 0;
  opacity: 0.95;
}

.zxc-watchlist-sub {
  margin: 0 0 22px;
  color: #9ca3af;
  font-size: 0.95rem;
  line-height: 1.45;
}

.zxc-watchlist-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  border-bottom: 1px solid #222;
}

.zxc-watchlist-tab {
  position: relative;
  padding: 10px 2px 12px;
  border: 0;
  background: none;
  color: #9ca3af;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.zxc-watchlist-tab:hover {
  color: #e5e5e5;
}

.zxc-watchlist-tab.is-active {
  color: #fff;
}

.zxc-watchlist-tab.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--zxc-red);
  border-radius: 2px 2px 0 0;
}

.zxc-watchlist-grid {
  /* hereda .zxc-catalog-grid (7 cols + hover U) */
  overflow: visible;
}

.zxc-wl-item {
  gap: 8px;
}

.zxc-wl-item .zxc-catalog-card-title {
  text-align: center;
  width: 100%;
}

.zxc-wl-card-genre {
  display: block;
  width: 100%;
  text-align: center;
  margin: -2px 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: #9ca3af;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 2px;
}

.zxc-watchlist-grid .zxc-grid-card {
  width: 100%;
}

@media (max-width: 900px) {
  .zxc-watchlist-title { font-size: 1.5rem; }
  .zxc-watchlist-tabs { gap: 4px 18px; }
}

@media (max-width: 1400px) {
  .zxc-catalog-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .zxc-catalog-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .zxc-catalog-top {
    flex-direction: column;
    gap: 10px;
  }
  .zxc-catalog-aside {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .zxc-genre-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }
  .zxc-genre-pill {
    min-width: 0;
    width: 100%;
    min-height: 34px;
    padding: 6px 10px;
    gap: 5px;
    font-size: 0.78rem;
    justify-content: flex-start;
  }
  .zxc-genre-pill-ico svg {
    width: 14px;
    height: 14px;
  }
  .zxc-catalog-expand,
  .zxc-catalog-more-filters {
    min-width: 0;
    min-height: 34px;
    padding: 6px 12px;
    gap: 6px;
    font-size: 0.78rem;
  }
  .zxc-catalog-meta {
    margin-left: auto;
    white-space: normal;
    font-size: 0.8rem;
    max-width: 100%;
  }
  .zxc-catalog-total {
    font-size: 1.05rem;
  }
  .zxc-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .zxc-details-copy { padding: 40px 20px 32px; }
  .zxc-main--catalog,
  .zxc-main--details,
  .zxc-main--lists,
  .zxc-main--profile {
    padding-top: 18px;
    padding-right: 14px;
  }
  .zxc-main--catalog,
  .zxc-main--details,
  .zxc-main--lists {
    padding-bottom: 110px;
    padding-left: 14px;
  }
  .zxc-main--profile {
    padding-bottom: 40px;
    padding-left: 14px;
  }

  body.zxc-page-watch .zxc-main--watch {
    padding-top: 12px;
    padding-right: 12px;
    padding-bottom: 12px;
    padding-left: 12px;
  }

  .zxc-scroll-top {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    z-index: 110;
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 560px) {
  .zxc-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .zxc-genre-pills {
    gap: 5px;
  }

  .zxc-genre-pill {
    min-height: 32px;
    padding: 5px 8px;
    font-size: 0.72rem;
    gap: 4px;
  }

  .zxc-genre-pill-ico svg {
    width: 13px;
    height: 13px;
  }

  .zxc-catalog-expand,
  .zxc-catalog-more-filters {
    min-height: 32px;
    padding: 5px 10px;
    font-size: 0.72rem;
  }

  .zxc-catalog-aside {
    flex-direction: column;
    align-items: stretch;
  }

  .zxc-catalog-filter-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .zxc-catalog-expand,
  .zxc-catalog-more-filters {
    width: 100%;
  }

  .zxc-catalog-meta {
    margin-left: 0;
    width: 100%;
    justify-content: flex-end;
  }

  .zxc-scroll-top {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
}

/* ── Preview modal (info scrollable) ── */

.zxc-preview {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px 24px;
  overflow: hidden;
}

.zxc-preview[hidden] { display: none !important; }

.zxc-preview-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.zxc-preview-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: calc(100vh - 64px);
  background: #181818;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
}

.zxc-preview-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(20, 20, 20, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.zxc-preview-close svg { width: 18px; height: 18px; }

.zxc-preview-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(100vh - 64px);
  scrollbar-width: thin;
  scrollbar-color: #444 transparent;
}

.zxc-preview-loading {
  padding: 80px 24px;
  text-align: center;
  color: #aaa;
}

.zxc-preview-hero {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}

.zxc-preview-hero img.zxc-preview-backdrop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zxc-preview-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #181818 0%, rgba(24, 24, 24, 0.35) 42%, transparent 70%);
  pointer-events: none;
}

.zxc-preview-genres {
  position: absolute;
  top: 16px;
  left: 20px;
  z-index: 2;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.zxc-preview-hero-copy {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  z-index: 2;
}

.zxc-preview-logo {
  max-width: min(360px, 70%);
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left bottom;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.55));
}

.zxc-preview-title {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  line-height: 1.1;
}

.zxc-preview-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.zxc-preview-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 4px;
  background: #fff;
  color: #111;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.zxc-preview-play svg { width: 18px; height: 18px; }

.zxc-preview-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-weight: 600;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.zxc-preview-add svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.zxc-preview-add.is-on {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.zxc-preview-panel {
  padding: 8px 28px 36px;
}

.zxc-preview-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 12px;
  color: #cfcfcf;
  font-size: 0.95rem;
}

.zxc-preview-meta strong {
  color: var(--zxc-red, #dc2626);
  font-weight: 700;
}

.zxc-preview-overview {
  margin: 0 0 8px;
  color: #d4d4d4;
  line-height: 1.55;
  font-size: 0.95rem;
}

.zxc-preview-overview.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zxc-preview-more {
  border: 0;
  background: none;
  color: var(--zxc-red, #dc2626);
  cursor: pointer;
  padding: 0;
  font: inherit;
  font-weight: 600;
}

.zxc-preview-section {
  margin-top: 28px;
}

.zxc-preview-section h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  color: #fff;
  font-weight: 700;
}

.zxc-preview-section-sub {
  margin: 0 0 14px;
  color: #888;
  font-size: 0.88rem;
}

.zxc-preview-cast {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.zxc-preview-cast::-webkit-scrollbar { display: none; }

.zxc-preview-cast-item {
  flex: 0 0 auto;
  width: 72px;
  text-align: center;
}

.zxc-preview-cast-item img,
.zxc-preview-cast-ph {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: #2a2a2a;
  display: block;
  margin: 0 auto 8px;
}

.zxc-preview-cast-item span {
  display: block;
  font-size: 0.75rem;
  color: #aaa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zxc-preview-seasons {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.zxc-preview-seasons::-webkit-scrollbar { display: none; }

.zxc-preview-season {
  flex: 0 0 auto;
  width: 110px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  color: inherit;
  position: relative;
  overflow: visible;
  isolation: isolate;
}

/* Unselected: slightly darkened */
.zxc-preview-season img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: #222;
  display: block;
  filter: brightness(0.45);
  transition: filter 0.2s ease;
}

/* Selected: full brightness */
.zxc-preview-season.is-active img {
  filter: brightness(1);
}

/*
 * Neon U-contour like zxcprime:
 * full bottom edge (incl. rounded corners) + sides up to mid, faded at the tips
 */
.zxc-preview-season::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  border: 1.5px solid var(--zxc-red, #ff1f1f);
  border-top-color: transparent;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease;
  /* Keep bottom + lower sides; fade out toward mid-height */
  -webkit-mask-image: linear-gradient(
    to top,
    #000 0%,
    #000 38%,
    rgba(0, 0, 0, 0.55) 48%,
    transparent 58%
  );
  mask-image: linear-gradient(
    to top,
    #000 0%,
    #000 38%,
    rgba(0, 0, 0, 0.55) 48%,
    transparent 58%
  );
  box-shadow:
    0 0 4px color-mix(in srgb, var(--zxc-red, #ff1f1f) 95%, transparent),
    0 0 10px color-mix(in srgb, var(--zxc-red, #ff1f1f) 55%, transparent),
    inset 0 0 4px color-mix(in srgb, var(--zxc-red, #ff1f1f) 35%, transparent);
}

.zxc-preview-season.is-active::after,
.zxc-preview-season:hover::after {
  opacity: 1;
}

.zxc-preview-season-label {
  position: absolute;
  left: 6px;
  bottom: 6px;
  z-index: 3;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.zxc-preview-eps-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.zxc-preview-eps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.zxc-preview-ep {
  display: block;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.zxc-preview-ep-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #222;
  margin-bottom: 8px;
}

.zxc-preview-ep-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zxc-preview-ep-rating {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #22c55e;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zxc-preview-ep-title {
  margin: 0 0 4px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zxc-preview-ep-meta {
  margin: 0 0 6px;
  font-size: 0.78rem;
  color: #888;
}

.zxc-preview-ep-ov {
  margin: 0;
  font-size: 0.78rem;
  color: #9a9a9a;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zxc-preview-show-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 22px auto 0;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.zxc-preview-show-more svg { width: 16px; height: 16px; }

.zxc-preview-similar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.zxc-preview-sim {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: #222;
  cursor: pointer;
  border: 0;
  padding: 0;
}

.zxc-preview-sim img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zxc-preview-sim-year {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(30, 30, 30, 0.85);
  color: #fff;
  font-size: 0.68rem;
}

body.zxc-preview-open { overflow: hidden; }

@media (max-width: 800px) {
  .zxc-preview { padding: 12px 8px; }
  .zxc-preview-panel { padding: 8px 16px 28px; }
  .zxc-preview-eps-grid { grid-template-columns: 1fr; }
  .zxc-preview-similar { grid-template-columns: repeat(3, 1fr); }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.zxc-preview-skeleton { margin-top: 20px; }
.zxc-preview-skel-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #222 0%, #2c2c2c 50%, #222 100%);
  background-size: 200% 100%;
  animation: zxc-skel 1.1s ease-in-out infinite;
  margin-bottom: 10px;
  max-width: 92%;
}
.zxc-preview-skel-line:nth-child(2) { max-width: 70%; }
.zxc-preview-skel-row {
  margin-top: 18px;
  height: 72px;
  border-radius: 10px;
  background: linear-gradient(90deg, #222 0%, #2c2c2c 50%, #222 100%);
  background-size: 200% 100%;
  animation: zxc-skel 1.1s ease-in-out infinite;
}
@keyframes zxc-skel {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ── Toast (lista) ── */

.zxc-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1400;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  color: #111;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.zxc-toast[hidden] { display: none !important; }

.zxc-toast.is-in {
  display: flex !important;
  animation: zxc-toast-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  pointer-events: auto;
}

.zxc-toast.is-out {
  display: flex !important;
  animation: zxc-toast-out 0.28s ease forwards;
}

.zxc-toast-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zxc-toast-icon svg {
  width: 15px;
  height: 15px;
}

.zxc-toast-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.zxc-toast-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}

.zxc-toast-msg {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes zxc-toast-in {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes zxc-toast-out {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(120%); opacity: 0; }
}

@media (max-width: 600px) {
  .zxc-toast {
    right: 12px;
    left: 12px;
    bottom: 16px;
    max-width: none;
  }
}

/* ── Login modal ── */

body.zxc-login-open {
  overflow: hidden;
}

.zxc-login {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.zxc-login[hidden] { display: none !important; }

.zxc-login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.zxc-login-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  width: min(920px, 100%);
  max-width: 100%;
  max-height: min(640px, calc(100dvh - 32px));
  border-radius: 18px;
  overflow: hidden;
  background: #121212;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  animation: zxc-login-in 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  box-sizing: border-box;
}

@keyframes zxc-login-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.zxc-login-visual {
  position: relative;
  min-height: 420px;
  background:
    linear-gradient(160deg, rgba(40, 8, 8, 0.35), rgba(0, 0, 0, 0.2)),
    var(--zxc-login-bg, none) center / cover no-repeat,
    linear-gradient(145deg, #2a0a0a, #0a0a0a 60%);
  transition: background-image 0.35s ease;
}

.zxc-login-visual.is-swapping {
  animation: zxc-login-bg-in 0.45s ease;
}

@keyframes zxc-login-bg-in {
  from { filter: brightness(0.55); }
  to { filter: brightness(1); }
}

.zxc-login-visual-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.35) 42%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
}

.zxc-login-visual-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
}

.zxc-login-visual-title {
  margin: 0 0 8px;
  font-family: Oxanium, DM Sans, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.zxc-login-visual-sub {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

.zxc-login-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 22px;
  background: #161616;
  overflow: auto;
}

.zxc-login-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.zxc-login-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.zxc-login-eyebrow {
  margin: 8px 0 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.zxc-login-title {
  margin: 0 0 8px;
  font-family: Oxanium, DM Sans, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.zxc-login-desc {
  margin: 0 0 18px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #9a9a9a;
}

.zxc-login-perks {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.zxc-login-perks li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.72rem;
  color: #9a9a9a;
  line-height: 1.25;
}

.zxc-login-perk-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cfcfcf;
}

.zxc-login-perk-icon svg {
  width: 20px;
  height: 20px;
}

.zxc-login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: #777;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.zxc-login-divider::before,
.zxc-login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.zxc-login-alert {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #fecaca;
  font-size: 0.85rem;
  line-height: 1.45;
}

.zxc-login-hint {
  margin: 14px 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(176, 176, 176, 0.95);
  text-align: center;
}

.zxc-login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zxc-login-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  color: #b0b0b0;
}

.zxc-login-pass-wrap {
  position: relative;
  display: block;
}

.zxc-login-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0f0f0f;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
}

.zxc-login-pass-wrap .zxc-login-pass-input {
  padding-right: 46px;
}

.zxc-login-pass-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8a8a8a;
  cursor: pointer;
  padding: 0;
}

.zxc-login-pass-toggle:hover,
.zxc-login-pass-toggle:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.zxc-login-pass-ico[hidden] {
  display: none !important;
}

.zxc-login-field input:focus {
  border-color: rgba(220, 38, 38, 0.7);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18);
}

.zxc-login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #aaa;
  cursor: pointer;
  user-select: none;
}

.zxc-login-remember input {
  accent-color: #dc2626;
}

.zxc-login-submit {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #1a1a1a;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.zxc-login-submit:hover {
  background: #222;
  border-color: rgba(255, 255, 255, 0.4);
}

.zxc-login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.zxc-login-link {
  border: 0;
  background: none;
  padding: 0;
  color: #dc2626;
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.zxc-login-link:hover { color: #f87171; }

.zxc-login-switch {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: #9a9a9a;
  text-align: center;
}

.zxc-login-alert.is-ok {
  background: rgba(22, 163, 74, 0.15);
  border-color: rgba(22, 163, 74, 0.4);
  color: #bbf7d0;
}

.zxc-auth-view[hidden] { display: none !important; }

.zxc-login-legal {
  margin: 16px 0 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #777;
}

.zxc-login-legal a {
  color: #bbb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.zxc-login-legal a:hover { color: #fff; }

@media (max-width: 820px) {
  .zxc-login {
    align-items: stretch;
    justify-content: stretch;
    padding: max(8px, env(safe-area-inset-top, 0px))
             max(8px, env(safe-area-inset-right, 0px))
             max(8px, env(safe-area-inset-bottom, 0px))
             max(8px, env(safe-area-inset-left, 0px));
  }

  .zxc-login-dialog {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: calc(100dvh - 16px);
    border-radius: 14px;
  }

  .zxc-login-visual {
    flex: 0 0 auto;
    min-height: 110px;
    max-height: 22vh;
  }

  .zxc-login-visual-title {
    font-size: 1.05rem;
  }

  .zxc-login-visual-sub {
    font-size: 0.8rem;
  }

  .zxc-login-visual-copy {
    left: 16px;
    right: 16px;
    bottom: 12px;
  }

  .zxc-login-panel {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  }

  .zxc-login-title {
    font-size: 1.25rem;
    padding-right: 36px;
  }

  .zxc-login-desc {
    margin-bottom: 12px;
    font-size: 0.85rem;
  }

  .zxc-login-perks {
    gap: 6px;
    margin-bottom: 14px;
  }

  .zxc-login-perks li {
    font-size: 0.68rem;
  }

  .zxc-login-row {
    gap: 8px;
  }

  .zxc-login-link {
    font-size: 0.78rem;
  }
}

@media (max-width: 420px) {
  .zxc-login {
    padding: 0;
  }

  .zxc-login-dialog {
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
  }

  .zxc-login-visual {
    min-height: 96px;
    max-height: 18vh;
  }

  .zxc-login-panel {
    padding: 16px 14px calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .zxc-login-perks {
    grid-template-columns: 1fr;
  }

  .zxc-login-perks li {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 820px) and (max-height: 700px) {
  .zxc-login-visual {
    min-height: 84px;
    max-height: 14vh;
  }

  .zxc-login-visual-sub {
    display: none;
  }

  .zxc-login-perks {
    display: none;
  }

  .zxc-login-desc {
    display: none;
  }
}

/* ── Confirm dialog ── */

body.zxc-confirm-open { overflow: hidden; }

.zxc-confirm {
  position: fixed;
  inset: 0;
  z-index: 1700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.zxc-confirm[hidden] { display: none !important; }

.zxc-confirm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.zxc-confirm-dialog {
  position: relative;
  z-index: 1;
  width: min(400px, calc(100vw - 32px));
  padding: 24px 22px 20px;
  border-radius: 16px;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  text-align: center;
  animation: zxc-confirm-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes zxc-confirm-in {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.zxc-confirm-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 38, 38, 0.15);
  color: #f87171;
}

.zxc-confirm-title {
  margin: 0 0 8px;
  font-family: Oxanium, DM Sans, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.zxc-confirm-msg {
  margin: 0 0 20px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #a3a3a3;
}

.zxc-confirm-actions {
  display: flex;
  gap: 10px;
}

.zxc-confirm-btn {
  flex: 1;
  min-height: 42px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.zxc-confirm-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #1a1a1a;
  color: #ddd;
}

.zxc-confirm-btn--ghost:hover {
  background: #222;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.zxc-confirm-btn--danger {
  border: 0;
  background: #dc2626;
  color: #fff;
}

.zxc-confirm-btn--danger:hover {
  background: #ef4444;
}

/* ─── Profile / Mi cuenta ─── */
.zxc-main--profile .zxc-prof {
  width: 100%;
  max-width: none;
}

.zxc-prof-head .zxc-watchlist-sub {
  margin-bottom: 0;
}

.zxc-prof-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--zxc-line);
  background: var(--zxc-card);
  color: var(--zxc-ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--zxc-ease), border-color var(--zxc-ease);
}

.zxc-prof-back:hover {
  background: var(--zxc-card-soft);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.zxc-prof-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.zxc-prof-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 24px;
}

.zxc-prof-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.zxc-prof-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--zxc-card);
  border: 1px solid var(--zxc-line);
}

.zxc-prof-card-inner {
  position: relative;
  z-index: 1;
  padding: 22px 24px 24px;
}

.zxc-prof-card--profile {
  text-align: center;
}

.zxc-prof-card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, color-mix(in srgb, var(--zxc-red) 35%, transparent) 0%, transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 45%);
}

.zxc-prof-avatar {
  position: relative;
  display: inline-block;
  width: 108px;
  height: 108px;
  margin: 4px auto 16px;
  cursor: pointer;
  border-radius: 50%;
}

.zxc-prof-avatar-media {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--zxc-red);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--zxc-red) 35%, transparent);
}

.zxc-prof-avatar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zxc-prof-avatar-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--zxc-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
}

.zxc-prof-avatar-cam {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #111;
  border: 2px solid var(--zxc-card);
  color: #fff;
}

.zxc-prof-name {
  margin: 0 0 4px;
  font-family: var(--zxc-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--zxc-ink);
}

.zxc-prof-email {
  margin: 0 0 12px;
  color: var(--zxc-muted);
  font-size: 0.9rem;
  word-break: break-word;
}

.zxc-prof-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.zxc-prof-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.zxc-prof-chip--admin {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(74, 222, 128, 0.08);
}

.zxc-prof-chip--uploader {
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.45);
  background: rgba(96, 165, 250, 0.08);
}

.zxc-prof-chip--member {
  color: #a78bfa;
  border-color: rgba(167, 139, 250, 0.45);
  background: rgba(167, 139, 250, 0.08);
}

.zxc-prof-chip--plan {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.08);
}

.zxc-prof-meta,
.zxc-prof-hint {
  margin: 0;
  color: var(--zxc-dim);
  font-size: 0.8rem;
  line-height: 1.45;
}

.zxc-prof-meta {
  margin-bottom: 8px;
}

.zxc-prof-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.zxc-prof-card-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--zxc-red) 14%, transparent);
  color: #f87171;
  flex-shrink: 0;
}

.zxc-prof-card-ico--lock {
  background: rgba(248, 113, 113, 0.12);
}

.zxc-prof-card-title {
  margin: 0 0 2px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--zxc-ink);
}

.zxc-prof-card-sub {
  margin: 0;
  font-size: 0.82rem;
  color: var(--zxc-muted);
}

.zxc-prof-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.zxc-prof-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--zxc-muted);
}

.zxc-prof-control {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--zxc-line);
  background: rgba(0, 0, 0, 0.28);
  color: var(--zxc-ink);
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--zxc-ease), box-shadow var(--zxc-ease);
}

.zxc-prof-control:focus {
  border-color: color-mix(in srgb, var(--zxc-red) 55%, rgba(255, 255, 255, 0.2));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--zxc-red) 18%, transparent);
}

.zxc-prof-control::placeholder {
  color: var(--zxc-dim);
}

.zxc-prof-control.is-disabled,
.zxc-prof-control:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  color: var(--zxc-muted);
}

.zxc-prof-field-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--zxc-dim);
}

.zxc-prof-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  margin-top: 4px;
  padding: 0 18px;
  border-radius: 10px;
  border: 0;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--zxc-ease), opacity var(--zxc-ease), border-color var(--zxc-ease);
}

.zxc-prof-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.zxc-prof-btn--primary {
  background: var(--zxc-red);
  color: #fff;
}

.zxc-prof-btn--primary:hover:not(:disabled) {
  background: var(--zxc-red-hover);
}

.zxc-prof-btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.zxc-prof-btn--secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

.zxc-prof-btn--ghost {
  width: auto;
  min-height: 38px;
  margin-top: 0;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

.zxc-prof-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.zxc-prof-plan-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--zxc-red) 14%, transparent), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.zxc-prof-plan-box strong {
  font-size: 0.95rem;
  color: var(--zxc-ink);
}

.zxc-profile-menu-avatar img,
.zxc-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

@media (max-width: 1100px) {
  .zxc-prof-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .zxc-prof-layout {
    grid-template-columns: 1fr;
  }

  .zxc-prof-aside {
    position: static;
  }

  .zxc-prof-plan-box {
    flex-direction: column;
    align-items: stretch;
  }

  .zxc-prof-btn--ghost {
    width: 100%;
  }
}

/* —— Premium / suscripciones públicas —— */
.zxc-prem-current {
  margin: -8px 0 22px;
  color: #e5e7eb;
  font-size: 0.92rem;
  line-height: 1.45;
}

.zxc-prem-current-meta {
  color: #9ca3af;
  font-weight: 400;
}

.zxc-prem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.zxc-prem-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  border-radius: 16px;
  background: var(--zxc-card);
  border: 1px solid var(--zxc-line);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.zxc-prem-card:hover {
  border-color: rgba(251, 191, 36, 0.35);
}

.zxc-prem-card.is-current {
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.15);
}

.zxc-prem-card.has-badge {
  padding-top: 28px;
}

.zxc-prem-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: color-mix(in srgb, var(--zxc-red) 22%, transparent);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.zxc-prem-card-name {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--zxc-ink);
}

.zxc-prem-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.zxc-prem-price-val {
  font-family: var(--zxc-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--zxc-ink);
  line-height: 1;
}

.zxc-prem-price-int {
  color: var(--zxc-muted);
  font-size: 0.85rem;
}

.zxc-prem-features {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  flex: 1;
}

.zxc-prem-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--zxc-muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.zxc-prem-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #4ade80;
}

.zxc-prem-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.zxc-prem-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.zxc-prem-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.zxc-prem-btn--primary {
  background: var(--zxc-red);
  color: #fff;
  border-color: var(--zxc-red);
}

.zxc-prem-btn--primary:hover:not(:disabled) {
  filter: brightness(1.08);
}

.zxc-prem-btn--stripe {
  background: #635bff;
  color: #fff;
  border-color: #635bff;
}

.zxc-prem-btn--paypal {
  background: #0070ba;
  color: #fff;
  border-color: #0070ba;
}

.zxc-prem-btn--current {
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.35);
  cursor: default;
}

.zxc-prem-hint,
.zxc-prem-login-hint {
  color: var(--zxc-muted);
  font-size: 0.88rem;
  text-align: center;
  margin-top: 18px;
}

.zxc-prem-login-hint a {
  color: #f87171;
  font-weight: 600;
}

.zxc-prem-empty {
  padding: 40px 24px;
  text-align: center;
  border-radius: 16px;
  background: var(--zxc-card);
  border: 1px solid var(--zxc-line);
  color: var(--zxc-muted);
}

.zxc-prem-back {
  display: inline-block;
  margin-top: 14px;
  color: var(--zxc-ink);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 720px) {
  .zxc-prem-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Modo sin licencia (landing visible, funciones limitadas) —— */
.zxc-license-banner {
  position: sticky;
  top: 0;
  z-index: 80;
  margin-left: var(--zxc-main-pl, 104px);
  background: linear-gradient(90deg, rgba(127, 29, 29, 0.95), rgba(220, 38, 38, 0.88));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.zxc-license-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 20px;
}

.zxc-license-banner-ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
}

.zxc-license-banner-text {
  margin: 0;
  flex: 1 1 220px;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}

.zxc-license-banner-text strong {
  color: #fff;
  font-weight: 700;
}

.zxc-license-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 8px;
  background: #fff;
  color: #991b1b;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.zxc-license-banner-btn:hover {
  background: #fee2e2;
  color: #7f1d1d;
}

body.zxc-license-locked .zxc-hero-play,
body.zxc-license-locked .zxc-preview-play,
body.zxc-license-locked .zxc-details-play,
body.zxc-license-locked .zxc-top10-btn--play,
body.zxc-license-locked [data-watchlist-toggle],
body.zxc-license-locked .js-prem-pay,
body.zxc-license-locked .js-prem-free {
  opacity: 0.55;
  cursor: not-allowed !important;
}

@media (max-width: 900px) {
  .zxc-license-banner {
    margin-left: 0;
  }
}
