:root {
  --mex52-cinema-bg: #191b1f;
  --mex52-cinema-surface: #22252a;
  --mex52-cinema-surface-soft: #292c31;
  --mex52-cinema-line: rgba(255, 255, 255, 0.1);
  --mex52-cinema-text: #f2f3f5;
  --mex52-cinema-muted: #a8adb5;
  --mex52-cinema-gold: #f3a712;
}

body.mex52-cinema-home {
  color: var(--mex52-cinema-text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--mex52-cinema-bg);
  background-size: 100% 72px;
}

body.mex52-cinema-home::before,
body.mex52-cinema-home::after {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0.32;
}

.mex52-cinema-decor {
  display: none;
  position: absolute;
  z-index: 12;
  inset: 0;
  min-height: max(100vh, 1800px);
  overflow: hidden;
  pointer-events: none;
  color: #f6aa18;
  filter: drop-shadow(0 0 7px rgba(243, 167, 18, 0.32));
}

body.mex52-cinema-home .mex52-cinema-decor {
  display: block;
}

.mex52-cinema-decor svg {
  position: absolute;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mex52-cinema-reel {
  top: 610px;
  right: 10px;
  width: 190px;
  height: 190px;
  opacity: 0.62;
  transform: rotate(8deg);
}

.mex52-cinema-reel .reel-ring { stroke-width: 7; }
.mex52-cinema-reel .reel-core { stroke-width: 6; }
.mex52-cinema-reel .reel-holes { fill: rgba(243, 167, 18, 0.055); stroke-width: 5; }
.mex52-cinema-reel .reel-tail { stroke-width: 6; }
.mex52-cinema-reel .reel-core,
.mex52-cinema-reel .reel-tail { stroke: #39c9e8; }

.mex52-cinema-strip {
  top: 1100px;
  left: -38px;
  width: 440px;
  opacity: 0.5;
  transform: rotate(-5deg);
}

.mex52-cinema-strip .strip-body,
.mex52-cinema-strip .strip-edge { stroke-width: 10; }
.mex52-cinema-strip .strip-perf { stroke-width: 7; stroke-dasharray: 1 7; }
.mex52-cinema-strip .strip-edge { stroke: #39c9e8; }

.mex52-cinema-clapper {
  top: 1540px;
  right: 40px;
  width: 180px;
  opacity: 0.54;
  transform: rotate(7deg);
}

.mex52-cinema-clapper .clapper-body,
.mex52-cinema-clapper .clapper-top { fill: rgba(243, 167, 18, 0.035); stroke-width: 6; }
.mex52-cinema-clapper .clapper-lines,
.mex52-cinema-clapper .clapper-play { stroke-width: 6; }
.mex52-cinema-clapper .clapper-play { stroke: #39c9e8; }

body.mex52-cinema-home::before {
  top: 168px;
  bottom: 80px;
  left: 14px;
  width: 18px;
  border-right: 1px solid rgba(243, 167, 18, 0.2);
  background: repeating-linear-gradient(to bottom, rgba(243, 167, 18, 0.5) 0 7px, transparent 7px 18px);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 84%, transparent);
}

body.mex52-cinema-home::after {
  right: 34px;
  bottom: 88px;
  width: 112px;
  height: 38px;
  border: 1px solid rgba(243, 167, 18, 0.34);
  border-radius: 3px;
  background: repeating-linear-gradient(135deg, rgba(243, 167, 18, 0.48) 0 12px, transparent 12px 24px);
  transform: rotate(-6deg);
  mask-image: linear-gradient(to left, #000, rgba(0, 0, 0, 0.35));
}

body.mex52-cinema-home #root {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  color: var(--mex52-cinema-text);
  background: transparent !important;
}

body.mex52-cinema-home .fixed.bottom-0 {
  color: #c7cbd1 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(31, 34, 39, 0.97) !important;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28);
}

body.mex52-cinema-home .fixed.bottom-0 a {
  color: #aeb4bd !important;
  opacity: 1 !important;
}

body.mex52-cinema-home .fixed.bottom-0 span {
  font-weight: 600 !important;
  letter-spacing: 0;
}

body.mex52-cinema-home .fixed.bottom-0 a:first-child {
  color: var(--mex52-cinema-gold) !important;
}

body.mex52-cinema-home .fixed.bottom-0 svg {
  stroke: currentColor;
}

body.mex52-cinema-home #root > div,
body.mex52-cinema-home main,
body.mex52-cinema-home section {
  color: inherit;
  background-color: transparent;
}

body.mex52-cinema-home .min-h-screen.bg-background {
  background: var(--mex52-cinema-bg) !important;
}

body.mex52-cinema-home .mex52-home-hero {
  color: var(--mex52-cinema-text);
  border: 1px solid var(--mex52-cinema-line);
  background: var(--mex52-cinema-surface) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

body.mex52-cinema-home .mex52-hero-head,
body.mex52-cinema-home .mex52-hero-slide,
body.mex52-cinema-home .mex52-shelf-card,
body.mex52-cinema-home .mex52-shelf-head h2 {
  color: var(--mex52-cinema-text);
}

body.mex52-cinema-home .mex52-hero-head > span,
body.mex52-cinema-home .mex52-shelf-head > span,
body.mex52-cinema-home .mex52-shelf-card-link > small {
  color: var(--mex52-cinema-muted);
}

body.mex52-cinema-home .mex52-continue-clear {
  color: #d4d8dd;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.035);
}

body.mex52-cinema-home .mex52-continue-clear:hover {
  color: #ffd480;
  border-color: var(--mex52-cinema-gold);
}

body.mex52-cinema-home .mex52-home-heading,
body.mex52-cinema-home .mex52-home-shelf {
  color: var(--mex52-cinema-text);
  background: transparent !important;
}

body.mex52-cinema-home .mex52-home-heading {
  border-top: 1px solid var(--mex52-cinema-line);
}

body.mex52-cinema-home .mex52-home-shelf + .mex52-home-shelf {
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

body.mex52-cinema-home header {
  color: var(--mex52-cinema-text) !important;
  border-color: var(--mex52-cinema-line) !important;
  background: rgba(37, 40, 45, 0.96) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
}

body.mex52-cinema-home header a,
body.mex52-cinema-home header button {
  color: #e7e9ed !important;
}

body.mex52-cinema-home header input {
  color: #f7f7f8 !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: rgba(17, 18, 21, 0.62) !important;
}

body.mex52-cinema-home header input::placeholder {
  color: #999fa8;
}

body.mex52-cinema-home .bg-white,
body.mex52-cinema-home .bg-gray-50 {
  color: var(--mex52-cinema-text) !important;
  border-color: var(--mex52-cinema-line) !important;
  background-color: var(--mex52-cinema-surface) !important;
}

body.mex52-cinema-home .border-gray-200 {
  border-color: var(--mex52-cinema-line) !important;
}

body.mex52-cinema-home .text-gray-500,
body.mex52-cinema-home .text-gray-600 {
  color: var(--mex52-cinema-muted) !important;
}

body.mex52-cinema-home nav,
body.mex52-cinema-home [role="tablist"] {
  border-color: var(--mex52-cinema-line) !important;
}

body.mex52-cinema-home [role="tab"],
body.mex52-cinema-home nav button {
  color: #c9cdd3;
  border-color: transparent;
  background: var(--mex52-cinema-surface-soft);
}

body.mex52-cinema-home [role="tab"][aria-selected="true"],
body.mex52-cinema-home nav button[aria-selected="true"] {
  color: #17181b;
  background: var(--mex52-cinema-gold);
}

body.mex52-cinema-home a:focus-visible,
body.mex52-cinema-home button:focus-visible {
  outline-color: var(--mex52-cinema-gold);
}

body.mex52-cinema-play {
  color: var(--mex52-cinema-text);
  background: #14161a;
}

body.mex52-cinema-play #root,
body.mex52-cinema-play .min-h-screen.bg-background {
  min-height: 100vh;
  color: var(--mex52-cinema-text);
  background: #14161a !important;
}

body.mex52-cinema-play header {
  color: var(--mex52-cinema-text) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(31, 34, 39, 0.97) !important;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.3);
}

body.mex52-cinema-play header a,
body.mex52-cinema-play header button {
  color: #e8eaed !important;
}

body.mex52-cinema-play header input {
  color: #f7f7f8 !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: rgba(12, 13, 15, 0.68) !important;
}

body.mex52-cinema-play header input::placeholder {
  color: #a3a8b0;
}

body.mex52-cinema-play .mex52-youtube-layout > :first-child {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: #050506;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

body.mex52-cinema-play .mex52-movie-queue {
  color: #edf0f3;
  border-color: rgba(255, 255, 255, 0.11) !important;
  background: #202329 !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3);
}

body.mex52-cinema-play .mex52-queue-head,
body.mex52-cinema-play .mex52-queue-controls {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: #262a31 !important;
}

body.mex52-cinema-play .mex52-queue-body,
body.mex52-cinema-play .mex52-queue-list {
  color: #e7e9ed;
  background: #1d2025 !important;
}

body.mex52-cinema-play .mex52-queue-list a,
body.mex52-cinema-play .mex52-queue-list button {
  color: #e1e4e8 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: transparent !important;
}

body.mex52-cinema-play .mex52-queue-list a:hover,
body.mex52-cinema-play .mex52-queue-list button:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

body.mex52-cinema-play .mex52-queue-list .current,
body.mex52-cinema-play .mex52-queue-list [aria-current="true"] {
  color: #fff3d1 !important;
  border-left-color: var(--mex52-cinema-gold) !important;
  background: rgba(243, 167, 18, 0.13) !important;
}

body.mex52-cinema-play .bg-white,
body.mex52-cinema-play .bg-card,
body.mex52-cinema-play .bg-background,
body.mex52-cinema-play .bg-gray-50 {
  color: var(--mex52-cinema-text) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  background-color: #202329 !important;
}

body.mex52-cinema-play .border-gray-100,
body.mex52-cinema-play .border-gray-200 {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.mex52-cinema-play .text-gray-500,
body.mex52-cinema-play .text-gray-600,
body.mex52-cinema-play .text-muted-foreground {
  color: #aab0b8 !important;
}

body.mex52-cinema-play .fixed.bottom-0 {
  color: #cbd0d6 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(29, 32, 37, 0.98) !important;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.32);
}

body.mex52-cinema-play .fixed.bottom-0 a {
  color: #b8bec7 !important;
  opacity: 1 !important;
}

body.mex52-cinema-play a:focus-visible,
body.mex52-cinema-play button:focus-visible {
  outline-color: var(--mex52-cinema-gold);
}

@media (max-width: 720px) {
  body.mex52-cinema-play .mex52-youtube-layout > :first-child,
  body.mex52-cinema-play .mex52-movie-queue {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body.mex52-cinema-home::before {
    left: 5px;
    width: 8px;
    opacity: 0.15;
  }

  body.mex52-cinema-home::after {
    right: 14px;
    bottom: 78px;
    width: 76px;
    height: 26px;
    opacity: 0.13;
  }

  .mex52-cinema-decor {
    min-height: 1350px;
    z-index: 12;
    filter: drop-shadow(0 0 5px rgba(243, 167, 18, 0.25));
  }

  .mex52-cinema-reel {
    top: 545px;
    right: -24px;
    width: 112px;
    height: 112px;
    opacity: 0.48;
  }

  .mex52-cinema-strip {
    top: 970px;
    left: -58px;
    width: 260px;
    opacity: 0.36;
  }

  .mex52-cinema-clapper {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.mex52-cinema-home *,
  body.mex52-cinema-home *::before,
  body.mex52-cinema-home *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
