:root {
  color-scheme: dark;
  --bg: #060d17;
  --bg2: #0b1522;
  --panel: rgba(15, 25, 39, .82);
  --panel2: rgba(18, 31, 48, .94);
  --text: #eef6ff;
  --muted: #9eb0c5;
  --line: rgba(255,255,255,.10);
  --accent: #67dcff;
  --accent2: #f6d873;
  --violet: #a78bfa;
  --pink: #ff6b9d;
  --red: #ff5f7e;
  --green: #70f0a2;
  --radius: 26px;
  --shadow: 0 24px 70px rgba(0,0,0,.27);
  --fast: 180ms;
  --med: 520ms;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5efe4;
  --bg2: #e9dfd0;
  --panel: rgba(255,255,255,.78);
  --panel2: rgba(255,255,255,.94);
  --text: #142033;
  --muted: #5f6d7c;
  --line: rgba(20,32,51,.14);
  --accent: #1a79a7;
  --accent2: #b37b22;
  --violet: #6f4bd7;
  --pink: #bc3e70;
  --red: #b72d4c;
  --green: #27895b;
  --shadow: 0 22px 62px rgba(40,52,68,.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% -5%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 34rem),
    radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--accent2) 18%, transparent), transparent 32rem),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a { color: inherit; }
button { font: inherit; }

.mm-shell {
  width: min(1560px, 100%);
  margin: 0 auto;
  padding: 0 clamp(9px, 2vw, 28px) 96px;
}

.mm-header {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .78rem clamp(9px, 2vw, 28px);
  width: min(1560px, 100%);
  margin: 0 auto;
}

.mm-brand {
  display: inline-flex;
  align-items: center;
  gap: .66rem;
  text-decoration: none;
  min-width: 0;
  font-weight: 950;
}

.mm-logo {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--panel2) 88%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}
.mm-logo svg { width: 30px; height: 30px; }
.mm-brand-text { white-space: nowrap; }

.mm-topnav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: .3rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.mm-topnav::-webkit-scrollbar { display: none; }

.mm-topnav a,
.mm-theme,
.mm-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  min-height: 42px;
  padding: .58rem .82rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.mm-topnav a:hover,
.mm-theme:hover,
.mm-icon-btn:hover {
  border-color: color-mix(in srgb, var(--accent) 54%, var(--line));
  background: color-mix(in srgb, var(--accent) 13%, var(--panel));
}

.mm-head-actions {
  display: flex;
  gap: .45rem;
  flex: 0 0 auto;
}
.mm-topnav img,
.mm-theme img,
.mm-icon-btn img,
.mm-bottom-nav img,
.mm-card-icon img,
.mm-map a img { width: 20px; height: 20px; display: block; }

.mm-progress {
  width: min(1560px, calc(100% - 18px));
  height: 5px;
  margin: 0 auto 10px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel2) 76%, transparent);
}
.mm-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--pink));
  transition: width var(--med) ease;
}

.mm-hero {
  position: relative;
  overflow: hidden;
  min-height: min(690px, calc(100vh - 98px));
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 34rem),
    color-mix(in srgb, var(--panel) 84%, transparent);
  box-shadow: var(--shadow);
  cursor: pointer;
  isolation: isolate;
}
.mm-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .44;
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.02);
  transition: opacity .45s ease, background-image .25s ease;
}
.mm-hero::before {
  content: "";
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 24%),
    radial-gradient(circle at 84% 10%, color-mix(in srgb, var(--accent2) 16%, transparent), transparent 28%);
  opacity: .7;
  pointer-events: none;
}
.mm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.22) 55%, rgba(0,0,0,.70)),
    linear-gradient(0deg, rgba(0,0,0,.75), transparent 50%);
  pointer-events: none;
}
html[data-theme="light"] .mm-hero::after {
  background:
    linear-gradient(90deg, rgba(245,239,228,.92), rgba(245,239,228,.28) 55%, rgba(245,239,228,.76)),
    linear-gradient(0deg, rgba(245,239,228,.85), transparent 50%);
}

.mm-effects-ready .mm-hero.is-visible .mm-hero-bg {
  animation: mmHeroFloat 14s ease-in-out infinite alternate;
}
.mm-effects-ready .mm-hero.is-visible::before {
  animation: mmAura 9s ease-in-out infinite alternate;
}
@keyframes mmHeroFloat {
  from { transform: scale(1.035) translate3d(0,0,0); }
  to { transform: scale(1.085) translate3d(-1.4%, -1.2%, 0); }
}
@keyframes mmAura {
  from { transform: translate3d(-1%,0,0) rotate(0deg); }
  to { transform: translate3d(1%,1%,0) rotate(4deg); }
}

.mm-hero-inner {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: clamp(18px, 4vw, 50px);
  align-items: end;
  padding: clamp(18px, 6vw, 70px);
}

.mm-kicker {
  margin: 0 0 .65rem;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 950;
}
.mm-hero h1 {
  margin: 0;
  max-width: 830px;
  font-size: clamp(2.1rem, 6vw, 5.7rem);
  line-height: .92;
  letter-spacing: -.065em;
}
.mm-hero p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.55;
}

.mm-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.15rem; }
.mm-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .74rem 1.08rem;
  border-radius: 999px;
  border: 0;
  color: #07111d;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  font-weight: 1000;
  text-decoration: none;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 16%, transparent);
}
.mm-primary:hover { transform: translateY(-1px); }

.mm-hero-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  min-height: 480px;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--accent2) 34%, var(--line));
  background-size: cover;
  background-position: center;
  box-shadow: 0 28px 74px rgba(0,0,0,.38);
  transform: translateZ(0);
  transition: background-image .25s ease, opacity .35s ease;
}
.mm-effects-ready .mm-hero.is-visible .mm-hero-poster {
  animation: mmPosterLift 6s ease-in-out infinite alternate;
}
@keyframes mmPosterLift {
  from { transform: translate3d(0,0,0) rotate(-.4deg); }
  to { transform: translate3d(0,-10px,0) rotate(.6deg); }
}

.mm-section {
  position: relative;
  overflow: hidden;
  margin-top: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 22rem),
    color-mix(in srgb, var(--panel) 86%, transparent);
  box-shadow: var(--shadow);
  padding: clamp(14px, 2.4vw, 26px);
  isolation: isolate;
  content-visibility: auto;
  contain-intrinsic-size: 520px;
  opacity: 0;
  transform: translateY(14px);
}
.mm-section.is-mounted {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .42s ease, transform .42s ease;
}
.mm-section::before {
  content: "";
  position: absolute;
  inset: -25%;
  opacity: .14;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle at 18% 18%, var(--accent), transparent 26%);
  animation-play-state: paused;
}
.mm-effects-ready .mm-section.is-visible::before {
  animation: mmSectionGlow 8s ease-in-out infinite alternate;
  animation-play-state: running;
}
@keyframes mmSectionGlow {
  from { transform: translate3d(-2%,0,0) rotate(0deg); }
  to { transform: translate3d(2%,1%,0) rotate(4deg); }
}

.mm-section[data-kind="movie"] { --accent: #67dcff; --accent2: #f6d873; }
.mm-section[data-kind="series"] { --accent: #8bc6ff; --accent2: #a78bfa; }
.mm-section[data-kind="anime"] { --accent: #ff6bd6; --accent2: #6dffef; }
.mm-section[data-kind="recommend"] { --accent: #7df0a2; --accent2: #f6d873; }
.mm-section[data-kind="ghibli"] { --accent: #78e08f; --accent2: #f8dc8c; border-color: color-mix(in srgb, #78e08f 50%, var(--line)); background: radial-gradient(circle at 12% 0%, rgba(120,224,143,.18), transparent 21rem), radial-gradient(circle at 90% 16%, rgba(248,220,140,.16), transparent 22rem), color-mix(in srgb, var(--panel) 86%, rgba(40,70,42,.12)); }
.mm-section[data-kind="starwars"] { --accent: #f6d873; --accent2: #ffeaa6; border-color: color-mix(in srgb, #f6d873 70%, var(--line)); }
.mm-section[data-kind="books"] { --accent: #c9a46a; --accent2: #ead49a; border-color: color-mix(in srgb, #c9a46a 58%, var(--line)); }
.mm-section[data-kind="medieval"] { --accent: #b08d57; --accent2: #ead49a; border-color: color-mix(in srgb, #b08d57 62%, var(--line)); background: radial-gradient(circle at 10% 0%, rgba(176,141,87,.18), transparent 20rem), color-mix(in srgb, var(--panel) 86%, rgba(45,27,14,.14)); }
.mm-section[data-kind="adult"] { --accent: #ff6b9d; --accent2: #a78bfa; border-color: color-mix(in srgb, #ff6b9d 44%, var(--line)); }

.mm-section[data-kind="starwars"]::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(circle, white 0 1px, transparent 1.6px),
    radial-gradient(circle, var(--accent2) 0 1px, transparent 1.4px);
  background-size: 96px 96px, 151px 151px;
  animation-play-state: paused;
}
.mm-effects-ready .mm-section[data-kind="starwars"].is-visible::after {
  animation: mmStars 18s linear infinite;
  animation-play-state: running;
}
@keyframes mmStars { to { background-position: 0 500px, 0 800px; } }

.mm-section[data-kind="ghibli"]::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .14;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(ellipse at 20% 80%, var(--green) 0 2px, transparent 3px),
    radial-gradient(ellipse at 70% 30%, var(--accent2) 0 2px, transparent 3px);
  background-size: 130px 80px, 180px 120px;
}
.mm-effects-ready .mm-section[data-kind="ghibli"].is-visible::after {
  animation: mmLeaves 16s linear infinite;
}
@keyframes mmLeaves { to { background-position: 240px 120px, -220px 180px; } }

.mm-section[data-kind="medieval"]::after {
  content: "✦  ❦  ✦";
  position: absolute;
  top: 18px;
  right: 24px;
  color: color-mix(in srgb, var(--accent2) 36%, transparent);
  font-size: clamp(1.4rem, 3vw, 2.8rem);
  letter-spacing: .2em;
  pointer-events: none;
}

.mm-section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.mm-section h2 {
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 2.25rem);
  line-height: 1.04;
}
.mm-section p { color: var(--muted); line-height: 1.45; }

.mm-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .56rem .78rem;
  background: color-mix(in srgb, var(--panel2) 78%, transparent);
  font-weight: 900;
  white-space: nowrap;
}
.mm-link:hover { border-color: var(--accent); }

.mm-rail {
  display: flex;
  gap: .9rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  padding: .25rem .05rem .8rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--accent) 62%, var(--accent2) 38%) transparent;
}
.mm-rail::-webkit-scrollbar { height: 8px; }
.mm-rail::-webkit-scrollbar-thumb { background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 999px; }

.mm-media {
  position: relative;
  flex: 0 0 162px;
  width: 162px;
  min-width: 162px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel2) 88%, transparent);
  color: var(--text);
  overflow: hidden;
  text-decoration: none;
  scroll-snap-align: start;
  transform: translateZ(0);
}
.mm-media:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 60%, var(--accent2));
  box-shadow: 0 18px 46px rgba(0,0,0,.26), 0 0 22px color-mix(in srgb, var(--accent) 14%, transparent);
  transition: transform var(--fast) ease, border-color var(--fast) ease, box-shadow var(--fast) ease;
}
.mm-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.16), transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
  animation-play-state: paused;
}
.mm-effects-ready .mm-section.is-visible .mm-media:nth-child(3n)::after {
  animation: mmShine 4.6s ease-in-out infinite;
  animation-play-state: running;
}
@keyframes mmShine { 40%,100% { transform: translateX(130%); } }

.mm-cover {
  width: 100%;
  aspect-ratio: 2 / 3;
  background:
    radial-gradient(circle at 40% 16%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 45%),
    color-mix(in srgb, var(--bg2) 82%, #000 18%);
  background-size: cover;
  background-position: center;
}
.mm-body { padding: .66rem .7rem .78rem; }
.mm-title {
  font-weight: 950;
  line-height: 1.12;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mm-sub {
  color: var(--muted);
  font-size: .84rem;
  margin-top: .25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mm-desc {
  color: var(--muted);
  font-size: .77rem;
  line-height: 1.25;
  margin-top: .35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .9rem;
}
.mm-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--panel2) 86%, transparent);
  color: var(--text);
  text-decoration: none;
  padding: 1rem;
  display: flex;
  gap: .75rem;
  min-height: 116px;
  align-items: flex-start;
}
.mm-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  transition: transform var(--fast) ease, border-color var(--fast) ease;
}
.mm-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.mm-card h3 { margin: 0; font-size: 1rem; }
.mm-card p { margin: .32rem 0 0; font-size: .9rem; color: var(--muted); }

.mm-adult-panel {
  min-height: 340px;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--pink) 38%, var(--line));
  background:
    linear-gradient(90deg, rgba(0,0,0,.76), rgba(0,0,0,.34), rgba(0,0,0,.72)),
    radial-gradient(circle at 24% 15%, rgba(255,107,157,.28), transparent 30%),
    radial-gradient(circle at 82% 25%, rgba(167,139,250,.22), transparent 28%),
    linear-gradient(135deg, rgba(18,10,20,.82), rgba(50,18,42,.68));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: end;
  overflow: hidden;
  position: relative;
  color: white;
  text-decoration: none;
  padding: clamp(18px, 4vw, 34px);
}
.mm-adult-panel::before {
  content: "18+";
  position: absolute;
  right: 24px;
  top: 16px;
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 1000;
  letter-spacing: -.08em;
  color: rgba(255,255,255,.12);
}
.mm-adult-panel strong { display: block; font-size: clamp(1.4rem, 3vw, 2.5rem); line-height: 1; }
.mm-adult-panel span { color: rgba(255,255,255,.78); }
.mm-effects-ready .mm-section[data-kind="adult"].is-visible .mm-adult-panel::before {
  animation: mmAdultPulse 3s ease-in-out infinite alternate;
}
@keyframes mmAdultPulse { to { transform: scale(1.06); color: rgba(255,255,255,.18); } }

.mm-loader-note { color: var(--muted); font-size: .92rem; margin-top: 1rem; }

.mm-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: max(10px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 30;
  width: min(640px, calc(100% - 18px));
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: .25rem;
  padding: .42rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--panel2) 94%, transparent);
  box-shadow: 0 20px 58px rgba(0,0,0,.34);
  backdrop-filter: blur(14px);
}
.mm-bottom-nav a,
.mm-bottom-nav button {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  border-radius: 18px;
  padding: .5rem .22rem;
  display: grid;
  place-items: center;
  gap: .16rem;
  font-size: .72rem;
  font-weight: 850;
}
.mm-bottom-nav a:hover,
.mm-bottom-nav button:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }

.mm-map {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  background: rgba(0,0,0,.54);
  padding: 18px;
}
.mm-map.is-open { display: grid; place-items: center; }
.mm-map-panel {
  width: min(900px, 100%);
  max-height: min(740px, 92vh);
  overflow: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
  padding: clamp(16px, 3vw, 28px);
}
.mm-map-head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.mm-map-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .7rem;
  margin-top: 1rem;
}
.mm-map a {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: .85rem;
  background: color-mix(in srgb, var(--panel2) 84%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 900px) {
  .mm-header { flex-wrap: wrap; align-items: flex-start; }
  .mm-brand-text { display: none; }
  .mm-topnav { order: 3; width: 100%; }
  .mm-hero-inner { grid-template-columns: 1fr; padding: 18px; }
  .mm-hero { min-height: 590px; border-radius: 22px; }
  .mm-hero-poster { width: min(220px, 55vw); min-height: 320px; justify-self: start; }
  .mm-bottom-nav { display: grid; }
}

@media (max-width: 500px) {
  .mm-shell { padding-left: 8px; padding-right: 8px; }
  .mm-header { padding-left: 8px; padding-right: 8px; }
  .mm-topnav a { padding: .52rem .68rem; font-size: .88rem; }
  .mm-theme-label { display: none; }
  .mm-hero { min-height: 540px; }
  .mm-hero h1 { font-size: clamp(2rem, 14vw, 3.15rem); }
  .mm-hero p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .mm-media { flex-basis: 130px; width: 130px; min-width: 130px; border-radius: 15px; }
  .mm-section { padding: 12px; border-radius: 20px; }
  .mm-section-head { display: block; }
  .mm-section-head .mm-link { margin-top: .75rem; }
  .mm-grid { grid-template-columns: 1fr; }
  .mm-adult-panel { min-height: 280px; }
}

/* V11_MOVIES_SPLIT_LAYOUT_START */
.mm-section#peliculas-recientes {
  contain-intrinsic-size: 560px;
}

.mm-movies-layout-v11 {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .55fr);
  gap: clamp(14px, 2vw, 24px);
  align-items: stretch;
}

.mm-movies-layout-v11__main {
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  padding: .25rem .1rem .1rem;
}

.mm-rail-movies-v11 .mm-media {
  flex-basis: 142px;
  width: 142px;
  min-width: 142px;
}

.mm-rail-movies-v11 .mm-title {
  font-size: .9rem;
}

.mm-movies-layout-v11__side {
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--accent2) 14%, transparent), transparent 20rem),
    color-mix(in srgb, var(--panel2) 90%, transparent);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.mm-movies-layout-v11__side-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: .8rem;
  padding: 14px 15px 12px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel2) 94%, transparent);
  backdrop-filter: blur(16px);
}

.mm-movies-layout-v11__side-head span {
  font-weight: 950;
  letter-spacing: -.02em;
}

.mm-movies-layout-v11__side-head small {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.mm-top-movies-scroll-v11 {
  max-height: 448px;
  overflow-y: auto;
  padding: 10px;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--accent) 60%, var(--accent2) 40%) transparent;
}

.mm-top-movies-scroll-v11::-webkit-scrollbar { width: 8px; }
.mm-top-movies-scroll-v11::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
}

.mm-top-movie-v11 {
  display: grid;
  grid-template-columns: 42px 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 9px;
  border-radius: 18px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background var(--fast) ease, border-color var(--fast) ease, transform var(--fast) ease;
}

.mm-top-movie-v11:hover {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
  transform: translateY(-1px);
}

.mm-top-movie-v11__rank {
  font-size: .98rem;
  font-weight: 950;
  color: var(--accent2);
  text-align: center;
}

.mm-top-movie-v11__poster {
  width: 54px;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 40% 10%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 48%),
    color-mix(in srgb, var(--bg2) 78%, #000);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.mm-top-movie-v11__body {
  min-width: 0;
  display: block;
}

.mm-top-movie-v11__body strong {
  display: block;
  font-size: .94rem;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mm-top-movie-v11__body small {
  display: block;
  margin-top: .2rem;
  color: var(--muted);
  font-size: .78rem;
  font-style: normal;
}

.mm-top-movie-v11__body em {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: .25rem;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.25;
  font-style: normal;
}

@media (max-width: 980px) {
  .mm-movies-layout-v11 {
    grid-template-columns: 1fr;
  }
  .mm-top-movies-scroll-v11 {
    max-height: 360px;
  }
}

@media (max-width: 680px) {
  .mm-rail-movies-v11 .mm-media {
    flex-basis: 126px;
    width: 126px;
    min-width: 126px;
  }
  .mm-top-movie-v11 {
    grid-template-columns: 34px 48px minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
  }
}
/* V11_MOVIES_SPLIT_LAYOUT_END */



/* V12_MOVIES_SPLIT_VISIBLE_START */
#peliculas-recientes .mm-movies-split-v12 {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(330px, .9fr);
  gap: 18px;
  align-items: stretch;
}

#peliculas-recientes .mm-movies-main-v12 {
  min-width: 0;
  overflow: hidden;
}

#peliculas-recientes .mm-movies-main-v12 .mm-rail {
  min-width: 0;
  padding-bottom: 14px;
}

#peliculas-recientes .mm-movies-main-v12 .mm-media {
  width: clamp(132px, 12vw, 168px);
}

#peliculas-recientes .mm-top-owned-v12 {
  min-height: 330px;
  max-height: 465px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent, #8be9fd) 22%, transparent);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--accent, #8be9fd) 18%, transparent), transparent 34%),
    color-mix(in srgb, var(--panel, rgba(18,22,32,.82)) 88%, #05070d);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 50px rgba(0,0,0,.22);
  display: flex;
  flex-direction: column;
}

#peliculas-recientes .mm-top-head-v12 {
  padding: 16px 16px 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--text, #fff) 10%, transparent);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
}

#peliculas-recientes .mm-top-head-v12 span {
  font-weight: 950;
  letter-spacing: .02em;
}

#peliculas-recientes .mm-top-head-v12 small {
  color: var(--muted, #a8b0bf);
  text-align: right;
  font-size: .76rem;
}

#peliculas-recientes .mm-top-list-v12 {
  overflow-y: auto;
  padding: 8px;
  display: grid;
  gap: 6px;
  scrollbar-width: thin;
}

#peliculas-recientes .mm-top-movie-v12 {
  display: grid;
  grid-template-columns: 34px 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  color: var(--text, #f6f7fb);
  text-decoration: none;
  transition: background .16s ease, transform .16s ease;
}

#peliculas-recientes .mm-top-movie-v12:hover {
  background: color-mix(in srgb, var(--accent, #8be9fd) 11%, transparent);
  transform: translateY(-1px);
}

#peliculas-recientes .mm-top-rank-v12 {
  font-size: .86rem;
  font-weight: 950;
  color: color-mix(in srgb, var(--accent, #8be9fd) 85%, var(--text, #fff));
  text-align: center;
  font-variant-numeric: tabular-nums;
}

#peliculas-recientes .mm-top-poster-v12 {
  width: 48px;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent, #8be9fd) 24%, transparent), rgba(255,255,255,.08));
  background-size: cover;
  background-position: center;
  border: 1px solid color-mix(in srgb, var(--text, #fff) 10%, transparent);
}

#peliculas-recientes .mm-top-info-v12 {
  min-width: 0;
  display: grid;
  gap: 4px;
}

#peliculas-recientes .mm-top-info-v12 b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .92rem;
  line-height: 1.1;
}

#peliculas-recientes .mm-top-info-v12 small {
  color: var(--muted, #a8b0bf);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .77rem;
}

#peliculas-recientes .mm-top-empty-v12 {
  padding: 18px;
  color: var(--muted, #a8b0bf);
}

@media (max-width: 980px) {
  #peliculas-recientes .mm-movies-split-v12 {
    grid-template-columns: 1fr;
  }

  #peliculas-recientes .mm-top-owned-v12 {
    max-height: 380px;
  }
}
/* V12_MOVIES_SPLIT_VISIBLE_END */

/* V49_MOVIES_TOP_IN_HERO_START */
/* La lista Top ya no pertenece a Películas recientes. Si quedó un residuo viejo, se oculta. */
#peliculas-recientes .mm-top-owned-v12 {
  display: none !important;
}

#cine .mm-hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(140px, 0.45fr) minmax(270px, 0.78fr);
  align-items: stretch;
  gap: clamp(14px, 2vw, 22px);
}

#cine .mm-hero-top-owned-v49 {
  min-width: 0;
  max-height: clamp(315px, 38vw, 470px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent, #8be9fd) 20%, transparent);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--accent, #8be9fd) 14%, transparent), transparent 34%),
    color-mix(in srgb, var(--panel, rgba(18,22,32,.82)) 90%, #05070d);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 50px rgba(0,0,0,.22);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .32s ease, transform .32s ease;
}

#cine .mm-hero-top-owned-v49.is-ready {
  opacity: 1;
  transform: translateY(0);
}

#cine .mm-hero-top-head-v49 {
  padding: 14px 14px 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--text, #fff) 10%, transparent);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
}

#cine .mm-hero-top-head-v49 span {
  font-weight: 950;
  letter-spacing: .02em;
}

#cine .mm-hero-top-head-v49 small {
  color: var(--muted, #a8b0bf);
  text-align: right;
  font-size: .74rem;
}

#cine .mm-hero-top-list-v49 {
  overflow-y: auto;
  padding: 8px;
  display: grid;
  gap: 6px;
  scrollbar-width: thin;
}

#cine .mm-hero-top-movie-v49 {
  display: grid;
  grid-template-columns: 32px 46px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 7px;
  border-radius: 15px;
  color: var(--text, #f6f7fb);
  text-decoration: none;
  transition: background .16s ease, transform .16s ease;
}

#cine .mm-hero-top-movie-v49:hover {
  background: color-mix(in srgb, var(--accent, #8be9fd) 11%, transparent);
  transform: translateY(-1px);
}

#cine .mm-hero-top-rank-v49 {
  font-size: .82rem;
  font-weight: 950;
  color: color-mix(in srgb, var(--accent, #8be9fd) 85%, var(--text, #fff));
  text-align: center;
  font-variant-numeric: tabular-nums;
}

#cine .mm-hero-top-poster-v49 {
  width: 46px;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent, #8be9fd) 24%, transparent), rgba(255,255,255,.08));
  background-size: cover;
  background-position: center;
  border: 1px solid color-mix(in srgb, var(--text, #fff) 10%, transparent);
}

#cine .mm-hero-top-info-v49 {
  min-width: 0;
  display: grid;
  gap: 4px;
}

#cine .mm-hero-top-info-v49 b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .9rem;
  line-height: 1.1;
}

#cine .mm-hero-top-info-v49 small {
  color: var(--muted, #a8b0bf);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .74rem;
}

#cine .mm-hero-top-empty-v49 {
  padding: 18px;
  color: var(--muted, #a8b0bf);
}

@media (max-width: 1080px) {
  #cine .mm-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(160px, .42fr);
  }
  #cine .mm-hero-top-owned-v49 {
    grid-column: 1 / -1;
    max-height: 330px;
  }
}

@media (max-width: 720px) {
  #cine .mm-hero-inner {
    grid-template-columns: 1fr;
  }
  #cine .mm-hero-top-owned-v49 {
    max-height: 300px;
    border-radius: 18px;
  }
}
/* V49_MOVIES_TOP_IN_HERO_END */

/* V95_HERO_STABLE_SIZE_START */
#cine.mm-hero {
  height: clamp(520px, calc(100vh - 98px), 690px) !important;
  min-height: 0 !important;
  max-height: 690px !important;
}

#cine .mm-hero-inner {
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

#cine .mm-hero-inner > div:first-child {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  align-self: end !important;
}

#heroTitle {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  max-height: 2.05em !important;
}

#heroText {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  max-height: 4.9em !important;
}

#cine .mm-actions {
  flex: 0 0 auto !important;
}

#cine .mm-hero-top-owned-v49 {
  height: clamp(315px, 38vw, 470px) !important;
  max-height: clamp(315px, 38vw, 470px) !important;
  min-height: 0 !important;
}

#cine .mm-hero-top-movie-v49 {
  min-height: 69px !important;
  max-height: 69px !important;
  overflow: hidden !important;
}

#cine .mm-hero-top-info-v49 b,
#cine .mm-hero-top-info-v49 small {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 1080px) {
  #cine.mm-hero {
    height: 640px !important;
    max-height: 640px !important;
  }
  #cine .mm-hero-top-owned-v49 {
    height: 245px !important;
    max-height: 245px !important;
  }
}

@media (max-width: 720px) {
  #cine.mm-hero {
    height: 560px !important;
    max-height: 560px !important;
  }
  #cine .mm-hero-inner {
    gap: 12px !important;
    padding: 16px !important;
  }
  #heroTitle {
    -webkit-line-clamp: 2 !important;
    max-height: 2.05em !important;
  }
  #heroText {
    -webkit-line-clamp: 2 !important;
    max-height: 3.3em !important;
  }
  #cine .mm-hero-top-owned-v49 {
    height: 205px !important;
    max-height: 205px !important;
  }
}

@media (max-width: 500px) {
  #cine.mm-hero {
    height: 520px !important;
    max-height: 520px !important;
  }
  #cine .mm-hero-poster {
    min-height: 0 !important;
    height: 185px !important;
    width: min(130px, 42vw) !important;
  }
  #cine .mm-hero-top-owned-v49 {
    height: 180px !important;
    max-height: 180px !important;
  }
  #cine .mm-hero-top-movie-v49 {
    min-height: 58px !important;
    max-height: 58px !important;
    grid-template-columns: 26px 36px minmax(0, 1fr) !important;
    gap: 7px !important;
    padding: 6px !important;
  }
  #cine .mm-hero-top-poster-v49 {
    width: 36px !important;
  }
}
/* V95_HERO_STABLE_SIZE_END */



/* V96_FAST_LOWQ_CACHE_START */
.mm-cover.mm-bg-pending,
.mm-hero-poster.mm-bg-pending {
  background-image: none !important;
}

.mm-cover.mm-bg-pending::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  pointer-events: none;
}

.mm-cover.mm-bg-loaded {
  will-change: auto;
}

@media (max-width: 720px) {
  .mm-section[data-v41="carousel-module"] {
    content-visibility: auto;
    contain-intrinsic-size: 360px !important;
  }
}
/* V96_FAST_LOWQ_CACHE_END */

/* V97_HERO_TITLE_COMPACT_START */
#cine .mm-kicker {
  display: none !important;
}

#heroTitle {
  font-size: clamp(1.85rem, 4.65vw, 4.15rem) !important;
  line-height: .99 !important;
  letter-spacing: -.045em !important;
  max-width: min(880px, 100%) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  max-height: 3.08em !important;
}

#heroText {
  font-size: clamp(.9rem, 1.22vw, 1.03rem) !important;
  line-height: 1.45 !important;
  max-width: min(760px, 100%) !important;
}

@media (max-width: 720px) {
  #heroTitle {
    font-size: clamp(1.55rem, 8.3vw, 2.7rem) !important;
    line-height: 1 !important;
    -webkit-line-clamp: 3 !important;
    max-height: 3.12em !important;
    letter-spacing: -.035em !important;
  }
  #heroText {
    -webkit-line-clamp: 2 !important;
    max-height: 3.05em !important;
  }
}

@media (max-width: 500px) {
  #heroTitle {
    font-size: clamp(1.45rem, 8vw, 2.28rem) !important;
    line-height: 1.02 !important;
    -webkit-line-clamp: 3 !important;
    max-height: 3.18em !important;
  }
}

#peliculas-recientes .mm-rail {
  contain: layout paint !important;
}

#peliculas-recientes .mm-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
/* V97_HERO_TITLE_COMPACT_END */

/* V98_HERO_FAST_STABLE_START */
#cine .mm-kicker {
  display: none !important;
}

#heroTitle {
  font-size: clamp(1.45rem, 4.2vw, 3.55rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.035em !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  max-height: 3.12em !important;
}

#heroText {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  max-height: 3.1em !important;
}

#heroMovieBtn {
  white-space: nowrap !important;
}

#peliculas-recientes .mm-section-head > div > p:not(.mm-kicker) {
  display: none !important;
}

#peliculas-recientes .mm-media,
#peliculas-recientes .mm-cover {
  contain: layout paint style !important;
}

@media (max-width: 720px) {
  #cine.mm-hero {
    min-height: 520px !important;
    height: min(620px, calc(100svh - 70px)) !important;
  }

  #heroTitle {
    font-size: clamp(1.35rem, 7.2vw, 2.28rem) !important;
    line-height: 1.04 !important;
    -webkit-line-clamp: 3 !important;
    max-height: 3.2em !important;
  }

  #heroText {
    font-size: .92rem !important;
    -webkit-line-clamp: 2 !important;
  }
}
/* V98_HERO_FAST_STABLE_END */



/* V99_NETFLIX_FAST_HERO_CSS_START */
#cine.mm-hero {
  content-visibility: visible !important;
  contain-intrinsic-size: auto !important;
  overflow: hidden !important;
  background: #060d17 !important;
}

#heroBg,
#heroPoster {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

#heroBg {
  will-change: opacity, transform !important;
  transform: translateZ(0) !important;
}

#cine .mm-kicker {
  display: none !important;
}

#heroTitle {
  font-size: clamp(1.45rem, 4vw, 3.3rem) !important;
  line-height: 1.03 !important;
  letter-spacing: -.035em !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  max-height: 3.15em !important;
}

#heroText {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  max-height: 3.15em !important;
}

#heroMovieBtn {
  white-space: nowrap !important;
}

#peliculas-recientes .mm-section-head > div > p:not(.mm-kicker) {
  display: none !important;
}

@media (max-width: 720px) {
  #cine.mm-hero {
    min-height: 500px !important;
    height: min(610px, calc(100svh - 70px)) !important;
  }

  #heroTitle {
    font-size: clamp(1.32rem, 7vw, 2.15rem) !important;
    line-height: 1.04 !important;
    -webkit-line-clamp: 3 !important;
  }

  #heroText {
    font-size: .9rem !important;
    -webkit-line-clamp: 2 !important;
  }
}
/* V99_NETFLIX_FAST_HERO_CSS_END */
