/* ═══════════════════════════════════════════════════════════════
   CIMAMIX — Frontend Custom CSS (brand: logo red #dc5539 + gold #fcdc06)
   ═══════════════════════════════════════════════════════════════ */

/* Brand tokens (overridden from includes/brand.php in <head>) */
:root {
  --brand-primary: #dc5539;
  --brand-primary-dark: #c44930;
  --brand-accent: #fcdc06;
  --brand-accent-dark: #d4b005;
  --brand-bg: #0a0a0c;
}

/* ── Remap Tailwind purple-* → logo red/gold (keeps old class names working) ── */
.bg-purple-500,
.hover\:bg-purple-500:hover,
.peer:checked ~ .peer-checked\:bg-purple-500 {
  background-color: color-mix(in srgb, var(--brand-primary) 88%, white) !important;
}
.bg-purple-600,
.hover\:bg-purple-600:hover,
.peer:checked ~ .peer-checked\:bg-purple-600 {
  background-color: var(--brand-primary) !important;
}
.bg-purple-700,
.hover\:bg-purple-700:hover {
  background-color: var(--brand-primary-dark) !important;
}
.bg-purple-900,
.bg-purple-900\/40 {
  background-color: color-mix(in srgb, var(--brand-primary) 40%, #0a0a0c) !important;
}
.bg-purple-600\/90,
.bg-purple-600\/80 {
  background-color: color-mix(in srgb, var(--brand-primary) 90%, transparent) !important;
}
.bg-purple-600\/40,
.hover\:bg-purple-600\/40:hover {
  background-color: color-mix(in srgb, var(--brand-primary) 40%, transparent) !important;
}
.bg-purple-600\/30,
.hover\:bg-purple-600\/30:hover,
.bg-purple-600\/25,
.hover\:bg-purple-600\/25:hover,
.bg-purple-500\/30,
.hover\:bg-purple-500\/30:hover {
  background-color: color-mix(in srgb, var(--brand-primary) 28%, transparent) !important;
}
.bg-purple-950\/40 {
  background-color: color-mix(in srgb, var(--brand-primary) 22%, #0a0a0c) !important;
}

.text-purple-200,
.hover\:text-purple-200:hover { color: color-mix(in srgb, var(--brand-accent) 55%, white) !important; }
.text-purple-300,
.hover\:text-purple-300:hover { color: color-mix(in srgb, var(--brand-accent) 72%, white) !important; }
.text-purple-400,
.hover\:text-purple-400:hover,
.group:hover .group-hover\:text-purple-400 { color: var(--brand-accent) !important; }
.text-purple-500 { color: color-mix(in srgb, var(--brand-primary) 70%, var(--brand-accent)) !important; }
.text-purple-600 { color: var(--brand-primary) !important; }

.border-purple-400,
.hover\:border-purple-400:hover { border-color: color-mix(in srgb, var(--brand-accent) 65%, var(--brand-primary)) !important; }
.border-purple-400\/50,
.border-purple-400\/40,
.border-purple-400\/30 { border-color: color-mix(in srgb, var(--brand-accent) 45%, transparent) !important; }
.border-purple-500,
.hover\:border-purple-500:hover,
.focus\:border-purple-500:focus { border-color: var(--brand-primary) !important; }
.border-purple-500\/50,
.hover\:border-purple-500\/50:hover,
.border-purple-500\/40,
.hover\:border-purple-500\/40:hover,
.border-purple-500\/30,
.hover\:border-purple-500\/30:hover { border-color: color-mix(in srgb, var(--brand-primary) 45%, transparent) !important; }
.border-purple-600,
.border-purple-700 { border-color: var(--brand-primary-dark) !important; }

.from-purple-600 { --tw-gradient-from: var(--brand-primary) var(--tw-gradient-from-position) !important; --tw-gradient-to: rgb(220 85 57 / 0) var(--tw-gradient-to-position) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
.from-purple-950\/40 { --tw-gradient-from: color-mix(in srgb, var(--brand-primary) 22%, #0a0a0c) var(--tw-gradient-from-position) !important; }
.to-purple-900 { --tw-gradient-to: color-mix(in srgb, var(--brand-primary) 55%, #0a0a0c) var(--tw-gradient-to-position) !important; }
.via-purple-950\/40 { --tw-gradient-to: rgb(220 85 57 / 0)  var(--tw-gradient-to-position) !important; --tw-gradient-stops: var(--tw-gradient-from), color-mix(in srgb, var(--brand-primary) 22%, #0a0a0c), var(--tw-gradient-to) !important; }

.shadow-purple-500,
.shadow-purple-500\/30 { --tw-shadow-color: color-mix(in srgb, var(--brand-primary) 35%, transparent) !important; --tw-shadow: var(--tw-shadow-colored) !important; }
.shadow-purple-900,
.shadow-purple-900\/30,
.shadow-purple-900\/40 { --tw-shadow-color: color-mix(in srgb, var(--brand-primary) 40%, transparent) !important; --tw-shadow: var(--tw-shadow-colored) !important; }

.ring-purple-400,
.ring-purple-400\/60,
.hover\:ring-purple-400\/60:hover,
.focus-visible\:ring-purple-400\/60:focus-visible { --tw-ring-color: color-mix(in srgb, var(--brand-accent) 55%, transparent) !important; }
.ring-purple-500,
.ring-2.ring-purple-500,
.focus\:ring-purple-500:focus { --tw-ring-color: var(--brand-primary) !important; }

.cmx-logo-play {
  background: linear-gradient(160deg, var(--brand-accent) 0%, color-mix(in srgb, var(--brand-accent) 55%, var(--brand-primary)) 42%, var(--brand-primary) 100%) !important;
}
.cmx-logo-play__inner {
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--brand-accent) 85%, white) 0%, var(--brand-accent) 70%, color-mix(in srgb, var(--brand-accent) 70%, var(--brand-primary)) 100%) !important;
}

/* Slim banner under video player (stack multiple units) */
.cmx-under-player-ad {
  width: 100%;
  max-width: 100%;
  margin: 0 0 0.75rem;
  padding: 0.35rem;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
  min-height: 50px;
  max-height: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}
.cmx-under-player-ad__item {
  width: 100%;
  max-width: 560px;
  max-height: 132px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.cmx-under-player-ad img,
.cmx-under-player-ad .cmx-ad-banner-link img {
  display: block;
  width: auto;
  max-width: 320px;
  max-height: 120px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 6px;
}
.cmx-under-player-ad .cmx-ad-banner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  line-height: 0;
}
.cmx-under-player-ad iframe,
.cmx-under-player-ad ins {
  max-width: 320px !important;
  max-height: 120px !important;
  overflow: hidden;
}
.cmx-under-player-ad script + * {
  max-height: 120px;
}
@media (max-width: 640px) {
  .cmx-under-player-ad {
    max-height: none;
    border-radius: 8px;
  }
  .cmx-under-player-ad__item,
  .cmx-under-player-ad .cmx-ad-banner-link {
    max-width: 100%;
  }
  .cmx-under-player-ad img,
  .cmx-under-player-ad .cmx-ad-banner-link img {
    max-width: 260px;
    max-height: 96px;
  }
}

/* Dismissible sticky bottom strip (320×50 friendly) */
.cmx-sticky-ad {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 36px 6px 8px;
  background: rgba(8, 8, 12, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  max-height: 64px;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.35);
}
@media (max-width: 767px) {
  /* Sit above the mobile bottom navigation bar */
  .cmx-sticky-ad {
    bottom: 4rem;
  }
  body.has-cmx-sticky-ad {
    padding-bottom: calc(4rem + 64px);
  }
}
.cmx-sticky-ad[hidden] {
  display: none !important;
}
.cmx-sticky-ad__inner {
  flex: 1;
  min-width: 0;
  max-width: 728px;
  max-height: 50px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cmx-sticky-ad__item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 50px;
  overflow: hidden;
}
.cmx-sticky-ad img,
.cmx-sticky-ad iframe,
.cmx-sticky-ad ins {
  max-height: 50px !important;
  max-width: 100% !important;
  width: auto;
  display: block;
  margin: 0 auto;
}
.cmx-sticky-ad__close {
  position: absolute;
  top: 4px;
  inset-inline-end: 6px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #e5e7eb;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.cmx-sticky-ad__close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
body.has-cmx-sticky-ad {
  padding-bottom: 64px;
}

/* Compact inline watch-page banner */
.cmx-watch-inline-ad {
  width: 100%;
  margin: 0 0 1rem;
  padding: 4px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  max-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cmx-watch-inline-ad img {
  display: block;
  max-height: 90px;
  width: 100%;
  object-fit: contain;
}

/* Detail page — above play CTA */
.cmx-detail-preplay-ad {
  width: 100%;
  max-width: 36rem;
  margin: 0.35rem 0 0.65rem;
  padding: 3px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  max-height: 96px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.cmx-detail-preplay-ad img,
.cmx-detail-preplay-ad .cmx-ad-banner-link img {
  display: block;
  width: 100%;
  max-height: 90px;
  height: auto;
  object-fit: contain;
}
.cmx-detail-preplay-ad iframe,
.cmx-detail-preplay-ad ins {
  max-width: 100% !important;
  max-height: 90px !important;
}
@media (max-width: 640px) {
  .cmx-detail-preplay-ad {
    max-width: 100%;
    max-height: 80px;
  }
  .cmx-detail-preplay-ad img,
  .cmx-detail-preplay-ad .cmx-ad-banner-link img {
    max-height: 72px;
  }
}

/* Auto-next + episode nav — merged watch control bar */
.ep-watch-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.ep-watch-bar__nav {
  display: flex;
  align-items: stretch;
  gap: 5px;
  flex: 1;
  min-width: 0;
}
.ep-watch-bar__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 0 8px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #e5e7eb;
  font-size: 11px;
  font-weight: 500;
  transition: background .15s ease, border-color .15s ease, transform .12s ease, opacity .15s ease;
}
.ep-watch-bar__btn i {
  font-size: 9px;
  color: var(--brand-accent, #fcdc06);
  opacity: .9;
}
.ep-watch-bar__btn.is-ready {
  cursor: pointer;
}
.ep-watch-bar__btn.is-ready:hover {
  background: color-mix(in srgb, var(--brand-primary, #dc5539) 22%, transparent);
  border-color: color-mix(in srgb, var(--brand-primary, #dc5539) 40%, transparent);
}
.ep-watch-bar__btn.is-ready:active {
  transform: scale(0.98);
}
.ep-watch-bar__btn.is-disabled {
  opacity: .4;
  cursor: not-allowed;
}
.ep-watch-bar__num {
  color: #fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ep-watch-bar__now {
  flex: 1.15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid color-mix(in srgb, var(--brand-primary, #dc5539) 45%, transparent);
  background: color-mix(in srgb, var(--brand-primary, #dc5539) 92%, black);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--brand-primary, #dc5539) 28%, transparent);
}
.ep-watch-bar__now i {
  font-size: 8px;
  opacity: .95;
}
.ep-watch-bar__divider {
  width: 1px;
  align-self: stretch;
  margin: 4px 2px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.ep-watch-bar__auto {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding-inline: 4px 6px;
}
.ep-watch-bar__auto-label {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  white-space: nowrap;
  transition: color .15s ease;
}
.ep-watch-bar__auto-label.is-on {
  color: #fff;
}
.ep-watch-bar__switch {
  position: relative;
  width: 40px;
  height: 22px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: background .18s ease;
  flex-shrink: 0;
}
.ep-watch-bar__switch.is-on {
  background: var(--brand-primary, #dc5539);
}
.ep-watch-bar__switch:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-accent, #fcdc06) 55%, transparent);
}
.ep-watch-bar__knob {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  transition: transform .18s ease;
  pointer-events: none;
}
.ep-watch-bar__switch.is-on .ep-watch-bar__knob {
  transform: translateX(-18px);
}
.ep-watch-bar__skip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 9px;
  border-radius: 8px;
  border: 0;
  background: color-mix(in srgb, var(--brand-primary, #dc5539) 88%, black);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: filter .15s ease, transform .12s ease;
}
.ep-watch-bar__skip:hover {
  filter: brightness(1.08);
}
.ep-watch-bar__skip:active {
  transform: scale(0.98);
}
.ep-watch-bar__skip i {
  font-size: 8px;
}

@media (max-width: 420px) {
  .ep-watch-bar {
    flex-wrap: wrap;
  }
  .ep-watch-bar__nav {
    width: 100%;
  }
  .ep-watch-bar__divider {
    display: none;
  }
  .ep-watch-bar__auto {
    width: 100%;
    justify-content: flex-end;
    padding: 2px 4px 2px;
  }
  .ep-watch-bar__lbl {
    display: none;
  }
}

/* legacy aliases (unused) */
.auto-next-bar { display: none; }

/* ── Nav spacer ─────────────────────────────────────────────── */
.nav-spacer { height: 56px; }

/* ── Header ─────────────────────────────────────────────────── */
#user-top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(11,11,20,0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background .3s;
}

/* ── Header inner container ─────────────────────────────────── */
.site-header-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Logo ───────────────────────────────────────────────────── */
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  flex-shrink: 0;
  transition: transform .2s;
}
.site-logo:hover .site-logo-icon { transform: scale(1.08); }
.site-logo-text {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.3px;
}
.site-logo img { height: 28px; width: auto; }

/* ── Desktop nav ────────────────────────────────────────────── */
.site-nav {
  display: none; /* hidden on mobile */
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  padding: 0 8px;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }

@media (min-width: 768px) {
  .site-nav { display: flex; }
}

.site-nav-link {
  position: relative;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  color: #9ca3af;
  transition: color .15s, background .15s;
}
.site-nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}
.site-nav-link.active {
  color: #fff;
  background: color-mix(in srgb, var(--brand-primary) 18%, transparent);
}
.site-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 12px; right: 12px;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
}

/* ── Header actions ─────────────────────────────────────────── */
.site-header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: auto; /* push left in RTL */
  flex-shrink: 0;
}

/* ── Icon buttons ───────────────────────────────────────────── */
.site-icon-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  font-size: 14px;
  transition: color .15s, background .15s;
  position: relative;
  flex-shrink: 0;
}
.site-icon-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.07);
}

/* ── Notif badge ────────────────────────────────────────────── */
.site-notif-dot {
  position: absolute;
  top: 7px; right: 7px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ef4444;
  border: 1.5px solid #0b0b14;
}

/* ── User avatar button ─────────────────────────────────────── */
.site-avatar-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 4px;
  border-radius: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  margin-right: 4px;
  transition: background .15s;
}
.site-avatar-btn:hover { background: rgba(255,255,255,0.06); }
.site-avatar-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  border: 2px solid color-mix(in srgb, var(--brand-primary) 35%, transparent);
  flex-shrink: 0;
}
.site-avatar-btn img {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid color-mix(in srgb, var(--brand-primary) 40%, transparent);
}
.site-avatar-chevron {
  font-size: 9px;
  color: #6b7280;
  transition: color .15s;
  display: none;
}
@media (min-width: 640px) {
  .site-avatar-chevron { display: block; }
  .site-logo-text { display: block; }
}

/* ── Guest buttons ──────────────────────────────────────────── */
.site-btn-login {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 13px; font-weight: 500;
  color: #9ca3af;
  border-radius: 8px;
  text-decoration: none;
  transition: color .15s, background .15s;
}
.site-btn-login:hover { color: #fff; background: rgba(255,255,255,0.06); }
@media (min-width: 640px) { .site-btn-login { display: flex; } }

.site-btn-register {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px; font-weight: 600;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  transition: opacity .15s;
  white-space: nowrap;
}
.site-btn-register:hover { opacity: .88; }
.site-btn-register .btn-register-full { display: none; }
.site-btn-register .btn-register-short { display: inline; }
@media (min-width: 640px) {
  .site-btn-register .btn-register-full  { display: inline; }
  .site-btn-register .btn-register-short { display: none; }
}

/* ── Mobile hamburger ───────────────────────────────────────── */
.site-hamburger {
  display: flex;
  margin-right: 4px;
}
@media (min-width: 768px) { .site-hamburger { display: none; } }

/* ── Dropdown panels ────────────────────────────────────────── */
.site-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: #111120;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  overflow: hidden;
  z-index: 200;
}
.site-dropdown-header {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-dropdown-body { padding: 4px 0; }
.site-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 13px;
  color: #d1d5db;
  text-decoration: none;
  transition: color .12s, background .12s;
}
.site-dropdown-item:hover { color: #fff; background: rgba(255,255,255,0.05); }
.site-dropdown-item.danger { color: #f87171; }
.site-dropdown-item.danger:hover { background: rgba(239,68,68,0.06); color: #fca5a5; }
.site-dropdown-item.admin { color: var(--brand-accent); }
.site-dropdown-item.admin:hover { background: color-mix(in srgb, var(--brand-primary) 10%, transparent); color: #fff; }
.site-dropdown-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 4px 12px;
}
.site-dropdown-icon {
  width: 16px;
  text-align: center;
  opacity: .65;
  color: #a78bfa;
  flex-shrink: 0;
}
.site-dropdown-icon.yellow { color: #fbbf24; }
.site-dropdown-icon.red { color: #f87171; opacity: 1; }
.site-dropdown-icon.purple { color: var(--brand-accent); opacity: 1; }

/* Notif dropdown wider */
.site-dropdown-notif { min-width: 280px; max-height: 340px; overflow-y: auto; }
.site-dropdown-notif .site-dropdown-body { padding: 0; max-height: 260px; overflow-y: auto; }
@media (max-width: 767px) {
  .site-dropdown-notif { max-height: 220px; min-width: unset; }
  .site-dropdown-notif .site-dropdown-body { max-height: 160px; }
}
.site-notif-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  text-decoration: none;
  transition: background .12s;
}
.site-notif-item:hover { background: rgba(255,255,255,0.04); }
.site-notif-item.unread { background: color-mix(in srgb, var(--brand-primary) 8%, transparent); }
.site-notif-dot-sm {
  width: 6px; height: 6px; border-radius: 50%;
  margin-top: 6px; flex-shrink: 0;
}
.site-notif-dot-sm.unread { background: var(--brand-primary); }
.site-notif-dot-sm.read   { background: #374151; }
.site-notif-text { font-size: 13px; color: #e5e7eb; line-height: 1.4; }
.site-notif-time { font-size: 11px; color: #6b7280; margin-top: 3px; }
.site-notif-empty { padding: 24px 16px; text-align: center; color: #4b5563; font-size: 13px; }
@media (max-width: 767px) { .site-notif-empty { padding: 14px 12px; } }
.site-notif-empty i { font-size: 24px; display: block; margin-bottom: 8px; color: #1f2937; }

/* ── Search overlay ─────────────────────────────────────────── */
#nav-search-overlay {
  position: absolute;
  top: 100%; left: 0; right: 0;
  padding: 12px 16px;
  background: rgba(11,11,20,0.97);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  z-index: 99;
}
#nav-search-overlay.open { display: block; }
.site-search-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-search-wrap { position: relative; flex: 1; }
.site-search-wrap .fa-search {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  color: #6b7280; font-size: 13px;
}
.site-search-input {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 10px 40px 10px 14px;
  color: #fff; font-size: 14px;
  outline: none; transition: border-color .15s;
  box-sizing: border-box;
}
.site-search-input::placeholder { color: #6b7280; }
.site-search-input:focus { border-color: color-mix(in srgb, var(--brand-primary) 55%, transparent); background: rgba(255,255,255,0.09); }
.site-search-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  color: #fff; font-size: 13px; font-weight: 600;
  border: none; border-radius: 10px; cursor: pointer;
  flex-shrink: 0; transition: opacity .15s;
}
.site-search-btn:hover { opacity: .88; }

/* ── Mobile menu ─────────────────────────────────────────────── */
#user-mobile-menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(11,11,20,0.98);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow-y: auto;
  max-height: 80vh;
  z-index: 98;
}
.site-mobile-nav { padding: 8px 12px; }
.site-mobile-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px; font-weight: 500;
  color: #d1d5db; text-decoration: none;
  transition: color .12s, background .12s;
}
.site-mobile-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.site-mobile-link.active { color: var(--brand-accent); background: color-mix(in srgb, var(--brand-primary) 14%, transparent); }
.site-mobile-link i { width: 16px; text-align: center; color: #6b7280; flex-shrink: 0; }
.site-mobile-link.active i { color: #a78bfa; }
.site-mobile-search { padding: 0 12px 12px; display: flex; gap: 8px; }
.site-mobile-search input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 12px;
  color: #fff; font-size: 14px; outline: none;
}
.site-mobile-search input::placeholder { color: #6b7280; }
.site-mobile-search input:focus { border-color: color-mix(in srgb, var(--brand-primary) 45%, transparent); }
.site-mobile-search button {
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  color: #fff; font-size: 13px; font-weight: 600;
  border: none; border-radius: 10px; cursor: pointer;
  flex-shrink: 0;
}
.site-mobile-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 4px 12px; }
.site-mobile-user { padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.site-mobile-user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
  border: 2px solid color-mix(in srgb, var(--brand-primary) 40%, transparent);
  flex-shrink: 0;
}
.site-mobile-user-name { font-size: 14px; font-weight: 600; color: #fff; }
.site-mobile-user-email { font-size: 11px; color: #6b7280; }
.site-mobile-auth { padding: 8px 12px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.site-mobile-auth-login {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px; font-size: 13px; font-weight: 500;
  color: #d1d5db; text-decoration: none; border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background .15s;
}
.site-mobile-auth-login:hover { background: rgba(255,255,255,0.10); }
.site-mobile-auth-register {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px; font-size: 13px; font-weight: 600;
  color: #fff; text-decoration: none; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  transition: opacity .15s;
}
.site-mobile-auth-register:hover { opacity: .88; }

/* ── Back to top ────────────────────────────────────────────── */
#back-to-top {
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  transform: translateY(8px);
}
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   أحدث الاضافات — clean horizontal rail
   ═══════════════════════════════════════════════════════════════ */

.le-badge-new {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
  background: linear-gradient(135deg, #dc2626, #ea580c);
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.4;
  box-shadow: 0 0 0 1px rgba(248,113,113,.25);
}

.le-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  overflow: visible;
  padding: 2px 0 4px;
}
.le-row::-webkit-scrollbar { display: none; }

.le-card {
  opacity: 1 !important;
  transform: none;
  position: relative;
  display: block;
  width: auto;
  min-width: 0;
  max-width: none;
  text-decoration: none;
  color: inherit;
}
@media (min-width: 640px) {
  .le-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .le-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.le-card .le-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,.4);
  background: #111827;
}

/* Watch player fullscreen (Turbo / JWPlayer enlarge fix) */
.player-fs-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
  z-index: 30;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  box-shadow: none;
  outline: none;
  transition: background .15s ease, transform .15s ease;
}
.player-fs-btn:hover,
.player-fs-btn:focus,
.player-fs-btn:focus-visible {
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  transform: scale(1.05);
  box-shadow: none;
  outline: none;
}
@media (max-width: 640px) {
  .player-fs-btn {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
  }
}

/* CIMAMIX logo-style play button (watch overlay) */
.cmx-logo-play {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(160deg, #ffe566 0%, #ffb020 42%, #e11d8f 100%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 200, 80, 0.25);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.group:hover .cmx-logo-play,
.cmx-logo-play:hover {
  transform: scale(1.06);
  filter: brightness(1.06);
  box-shadow: 0 10px 26px rgba(225, 29, 143, 0.35), 0 0 0 1px rgba(255, 220, 120, 0.35);
}
.cmx-logo-play__inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffd54a 0%, #ffb300 70%, #f59e0b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cmx-logo-play__inner > i {
  color: #1a0a12;
  font-size: 1.15rem;
  margin-inline-start: 2px;
  line-height: 1;
  text-shadow: none;
}
.cmx-logo-play.is-loading .cmx-logo-play__inner > i {
  font-size: 1.05rem;
}

/* Brand watermark on watch player */
#movie-trailer-thumb,
#show-trailer-thumb {
  z-index: 15;
}
.player-brand-mark {
  position: absolute;
  z-index: 12;
  top: 12px;
  bottom: auto;
  right: 56px;
  left: auto;
  max-width: min(72%, 440px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  direction: rtl;
  animation: playerBrandIn .45s ease both;
}
.player-brand-mark__live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #ef4444;
  box-shadow: none;
  animation: none;
}
.player-brand-mark__text {
  display: inline-flex;
  align-items: baseline;
  min-width: 0;
  max-width: 100%;
  color: rgba(255,255,255,.92);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}
.player-brand-mark__pre,
.player-brand-mark__mid,
.player-brand-mark__site {
  flex-shrink: 0;
  white-space: nowrap;
}
.player-brand-mark__title {
  display: inline-block;
  min-width: 0;
  max-width: 14em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-weight: 800;
  vertical-align: bottom;
}
.player-brand-mark__site {
  color: color-mix(in srgb, var(--brand-accent, #f5c518) 88%, white);
  font-style: normal;
  font-weight: 800;
  margin-inline-start: 0.35em;
}
@keyframes playerBrandIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes playerBrandPulse {
  0% { box-shadow: 0 0 0 0 rgba(239,68,68,.55); }
  70% { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}
/* Brand watermark lives inside /go/ player document (#cmx-fs-brand) only. */
.player-wrap.embed-fs .player-brand-mark,
.player-brand-mark {
  display: none !important;
}
@media (max-width: 640px) {
  .player-brand-mark {
    top: 10px;
    right: 50px;
    bottom: auto;
    padding: 5px 10px;
    max-width: min(70%, 320px);
  }
  .player-brand-mark__text { font-size: 10px; }
  .player-brand-mark__title { max-width: 8em; }
}

.player-wrap:fullscreen,
.player-wrap:-webkit-full-screen {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
}
.player-wrap:fullscreen iframe,
.player-wrap:-webkit-full-screen iframe {
  width: 100% !important;
  height: 100% !important;
}

/* ── CimaMix native player skin ─────────────────────────────── */
.cmx-player {
  position: absolute;
  inset: 0;
  z-index: 14;
  pointer-events: auto;
  color: #fff;
  font-family: Tajawal, system-ui, sans-serif;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.cmx-player[hidden] { display: none !important; }
.player-wrap.is-iframe-mode .cmx-player,
.player-wrap.is-iframe-mode video.cmx-player__video,
.player-wrap.is-iframe-mode #movie-player-direct,
.player-wrap.is-iframe-mode #show-player-direct {
  display: none !important;
  pointer-events: none !important;
}
.player-wrap > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  border: 0;
}
.player-wrap.is-iframe-mode > iframe {
  display: block !important;
  z-index: 12;
}
.player-wrap.is-direct-mode > iframe {
  display: none !important;
  pointer-events: none !important;
}
.player-wrap.is-direct-mode #movie-player-direct,
.player-wrap.is-direct-mode #show-player-direct {
  display: block !important;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 12;
  background: #000;
  object-fit: contain;
}
.cmx-player__video {
  object-fit: contain;
  background: #000;
}
.player-wrap video.cmx-player__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
}
.cmx-player__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, transparent 28%, transparent 62%, rgba(0,0,0,.78) 100%);
  opacity: 1;
  transition: opacity .25s ease;
  pointer-events: auto;
}
.cmx-player.hide-chrome .cmx-player__shade {
  opacity: 0;
  /* keep click-to-pause while chrome is hidden */
  pointer-events: auto;
}
.cmx-player.hide-chrome .cmx-player__top,
.cmx-player.hide-chrome .cmx-player__bar {
  opacity: 0;
  pointer-events: none;
}
.cmx-player.hide-chrome .cmx-player__center {
  opacity: 0;
  pointer-events: none;
}
.cmx-player.is-paused .cmx-player__center,
.cmx-player.show-chrome .cmx-player__center {
  opacity: 1;
  pointer-events: auto;
}
.cmx-player.is-playing.hide-chrome .cmx-player__center { opacity: 0; pointer-events: none; }
.cmx-player__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  pointer-events: none;
  transition: opacity .25s ease;
  direction: rtl;
}
.cmx-player__brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: min(48%, 260px);
  margin-inline-start: auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cmx-player__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: none;
  animation: none;
  flex-shrink: 0;
}
.cmx-player__brand-text {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255,255,255,.92);
}
.cmx-player__brand-text strong { font-weight: 800; color: #fff; }
.cmx-player__brand-text em {
  font-style: normal;
  font-weight: 800;
  color: color-mix(in srgb, var(--brand-accent, #fcdc06) 88%, white);
}
.cmx-player__meta {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 5px 10px;
  max-width: 36%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cmx-player__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, color-mix(in srgb, var(--brand-primary, #dc5539) 92%, white), var(--brand-primary-dark, #c44930));
  box-shadow: 0 10px 28px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .15s ease, opacity .25s ease, filter .15s ease;
}
.cmx-player__center:hover { transform: translate(-50%, -50%) scale(1.06); filter: brightness(1.06); }
.cmx-player__center i { font-size: 22px; margin-inline-start: 2px; }
.cmx-player.is-playing .cmx-player__center i { margin-inline-start: 0; }
.cmx-player.is-buffering::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.2);
  border-top-color: var(--brand-accent, #fcdc06);
  animation: cmxSpin .7s linear infinite;
  z-index: 4;
  pointer-events: none;
}
@keyframes cmxSpin { to { transform: rotate(360deg); } }
.cmx-player__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 8px 12px 10px;
  pointer-events: auto;
  transition: opacity .25s ease;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
}
.cmx-player__progress {
  position: relative;
  height: 16px;
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}
.cmx-player__buffered,
.cmx-player__played {
  position: absolute;
  left: 0;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 999px;
  pointer-events: none;
}
.cmx-player__buffered { width: 0; background: rgba(255,255,255,.22); }
.cmx-player__played {
  width: 0;
  background: linear-gradient(90deg, var(--brand-primary, #dc5539), var(--brand-accent, #fcdc06));
}
.cmx-player__seek {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 16px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.cmx-player__seek::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(255,255,255,.18);
  border-radius: 999px;
}
.cmx-player__seek::-webkit-slider-thumb {
  appearance: none;
  width: 13px;
  height: 13px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary, #dc5539) 45%, transparent);
  border: 0;
}
.cmx-player__seek::-moz-range-track {
  height: 4px;
  background: rgba(255,255,255,.18);
  border-radius: 999px;
}
.cmx-player__seek::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  border: 0;
}
.cmx-player__row {
  display: flex;
  align-items: center;
  gap: 6px;
  direction: ltr;
}
.cmx-player__btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: rgba(255,255,255,.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.cmx-player__btn:hover { background: color-mix(in srgb, var(--brand-primary, #dc5539) 70%, black); }
.cmx-player__vol {
  width: 72px;
  height: 28px;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.cmx-player__vol::-webkit-slider-runnable-track {
  height: 3px;
  background: rgba(255,255,255,.25);
  border-radius: 999px;
}
.cmx-player__vol::-webkit-slider-thumb {
  appearance: none;
  width: 11px;
  height: 11px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--brand-accent, #fcdc06);
  border: 0;
}
.cmx-player__time {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,.88);
  white-space: nowrap;
  margin-inline-start: 4px;
}
.cmx-player__spacer { flex: 1; }
.cmx-player__select {
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 0 8px;
  outline: none;
  cursor: pointer;
}
.cmx-player__select:hover { border-color: color-mix(in srgb, var(--brand-accent, #fcdc06) 55%, transparent); }
.player-wrap:fullscreen .cmx-player,
.player-wrap:-webkit-full-screen .cmx-player,
.player-wrap:fullscreen video.cmx-player__video,
.player-wrap:-webkit-full-screen video.cmx-player__video {
  width: 100% !important;
  height: 100% !important;
}
@media (max-width: 640px) {
  .cmx-player__vol { display: none; }
  .cmx-player__center { width: 56px; height: 56px; }
  .cmx-player__brand-text { font-size: 10px; }
  .cmx-player__meta { max-width: 42%; font-size: 10px; }
  .cmx-player__select { max-width: 78px; }
}

.le-card:hover .le-inner {
  border-color: rgba(220,38,38,.45);
  box-shadow: 0 8px 22px rgba(0,0,0,.55);
  transform: translateY(-2px);
}
.le-card .le-meta {
  padding: 8px 2px 0;
  min-width: 0;
}
.le-card .le-meta .le-title {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}
.le-card .le-meta .le-sub {
  color: #9ca3af;
  font-size: 11px;
  margin: .2rem 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.le-pill,
.le-pill-hot {
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  padding: 2px 6px;
  border-radius: 6px;
  color: #fff;
  backdrop-filter: blur(6px);
}
.le-pill {
  background: rgba(0,0,0,.65);
}
.le-pill-hot {
  background: linear-gradient(135deg, #dc2626, #ea580c);
}

.le-play {
  box-shadow: 0 4px 16px rgba(220,38,38,.45);
}

/* legacy pulse ring (unused but kept harmless) */
@keyframes lePulse {
  0%   { transform:scale(1);   opacity:.7; }
  70%  { transform:scale(1.8); opacity:0;  }
  100% { transform:scale(1.8); opacity:0;  }
}
.le-play-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(220,38,38,.8);
  animation: lePulse 1.4s ease-out infinite;
  pointer-events: none;
}
.le-play-btn {
  position: relative;
}

/* Lift the whole card */
.le-card:hover {
  z-index: 5;
}

/* ═══════════════════════════════════════════════════════════════
   Welcome gate — soft register invite for guests
   ═══════════════════════════════════════════════════════════════ */
html.welcome-gate-open { overflow: hidden; }
.welcome-gate {
  position: fixed;
  inset: 0;
  z-index: 99980;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.welcome-gate[hidden] { display: none !important; }
.welcome-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(4px);
}
.welcome-gate__card {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 1.75rem 1.5rem 1.35rem;
  border-radius: 18px;
  background: linear-gradient(165deg, #1a1520 0%, #111827 55%, #0b1220 100%);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  text-align: center;
  animation: welcomeGateIn .35s ease;
}
@keyframes welcomeGateIn {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.welcome-gate__x {
  position: absolute;
  top: .55rem;
  left: .7rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #9ca3af;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.welcome-gate__x:hover { color: #fff; }
.welcome-gate__icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto .9rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  box-shadow: 0 8px 24px rgba(220,38,38,.35);
}
.welcome-gate__icon i { margin-inline-start: 2px; font-size: .95rem; }
.welcome-gate__title {
  margin: 0 0 .55rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
}
.welcome-gate__text {
  margin: 0 0 1.2rem;
  color: #9ca3af;
  font-size: .9rem;
  line-height: 1.65;
}
.welcome-gate__actions {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.welcome-gate__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .72rem 1rem;
  border-radius: 11px;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .15s, transform .15s;
}
.welcome-gate__btn:hover { opacity: .92; transform: translateY(-1px); }
.welcome-gate__btn--primary {
  background: linear-gradient(135deg, #dc2626, #ea580c);
  color: #fff;
}
.welcome-gate__btn--ghost {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #e5e7eb;
}
.welcome-gate__skip {
  margin-top: .85rem;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: .8rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.welcome-gate__skip:hover { color: #9ca3af; }

/* ═══════════════════════════════════════════════════════════════
   Mood Vibes — TMDB-style emoji reactions (compact + fixed panel)
   ═══════════════════════════════════════════════════════════════ */
.vibe-widget {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 30;
}
.vibe-top {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
.vibe-top__item {
  width: 30px;
  height: 30px;
  margin-inline-start: -7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .9);
  border: 2px solid rgba(255,255,255,.14);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: vibePop .4s ease both;
}
.vibe-top__item:first-child { margin-inline-start: 0; }
.vibe-top__emoji {
  font-size: 16px;
  line-height: 1;
  display: block;
  animation: vibeFloat 2.4s ease-in-out infinite;
}
.vibe-top__item:nth-child(2) .vibe-top__emoji { animation-delay: .2s; }
.vibe-top__item:nth-child(3) .vibe-top__emoji { animation-delay: .4s; }
@keyframes vibePop {
  from { opacity: 0; transform: scale(.6); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes vibeFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}
.vibe-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.vibe-cta:hover,
.vibe-cta[aria-expanded="true"] {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.28);
}
.vibe-cta__text { text-decoration: underline; text-underline-offset: 3px; }
.vibe-cta__info { opacity: .65; font-size: 10px; }
/* Fixed so hero overflow:hidden never clips the picker */
.vibe-panel {
  position: fixed;
  z-index: 99950;
  width: min(268px, calc(100vw - 1.5rem));
  padding: 10px;
  border-radius: 14px;
  background: #0f172a;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 16px 40px rgba(0,0,0,.6);
  animation: vibePanelIn .18s ease;
}
.vibe-panel[hidden] { display: none !important; }
@keyframes vibePanelIn {
  from { opacity: 0; transform: translateY(4px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.vibe-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  margin-bottom: 2px;
}
.vibe-panel__close {
  border: 0;
  background: transparent;
  color: #9ca3af;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}
.vibe-panel__sub,
.vibe-panel__hint {
  margin: 0 0 8px;
  color: #9ca3af;
  font-size: 10.5px;
  line-height: 1.45;
}
.vibe-panel__hint a { color: #f87171; text-decoration: underline; }
.vibe-panel__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}
.vibe-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 2px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: #e5e7eb;
  cursor: pointer;
  transition: transform .12s, border-color .12s, background .12s;
}
.vibe-pick:hover {
  transform: translateY(-1px);
  border-color: rgba(248,113,113,.45);
  background: rgba(248,113,113,.08);
}
.vibe-pick.is-active {
  border-color: rgba(248,113,113,.75);
  background: rgba(248,113,113,.16);
}
.vibe-pick.is-loading { opacity: .55; pointer-events: none; }
.vibe-pick__emoji {
  font-size: 20px;
  line-height: 1;
  display: block;
  transition: transform .15s;
}
.vibe-pick:hover .vibe-pick__emoji { transform: scale(1.12); }
.vibe-pick__label {
  font-size: 9px;
  font-weight: 600;
  color: #9ca3af;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── TMDB-style home hero (dimensions matched to themoviedb.org) ─ */
.home-tmdb-hero {
  position: relative;
  width: 100%;
  min-height: 300px;
  height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0b1622;
  margin-bottom: 0;
}
.home-tmdb-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 0;
}
.home-tmdb-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(16, 11, 2, 0.92) 0%, rgba(16, 11, 2, 0.55) 55%, rgba(16, 11, 2, 0.2) 100%),
    linear-gradient(to left, rgba(220, 85, 57, 0.35) 0%, transparent 60%);
}
.home-tmdb-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 30px 40px;
}
.home-tmdb-hero__title {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 48px;
  letter-spacing: 0;
  text-shadow: none;
}
.home-tmdb-hero__lead {
  margin: 0 0 50px;
  max-width: none;
  font-size: 32px;
  font-weight: 400;
  line-height: 32px;
  color: #fff;
  text-shadow: none;
}
.home-tmdb-hero__search {
  display: flex;
  align-items: center;
  direction: rtl;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-sizing: border-box;
}
.home-tmdb-hero__search input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  height: 46px;
  border: 0;
  outline: none;
  padding: 10px 20px;
  font-size: 17.6px;
  line-height: 26px;
  font-family: inherit;
  color: #111827;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  direction: rtl;
  text-align: right;
}
.home-tmdb-hero__search input::placeholder {
  color: #9ca3af;
}
.home-tmdb-hero__search button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 44px;
  min-width: 98px;
  margin: 1px;
  border: 0;
  padding: 10px 26px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  font-family: inherit;
  color: #111827;
  background: var(--brand-accent);
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.2s, filter 0.2s;
}
.home-tmdb-hero__search button .fa-search {
  display: none;
}
.home-tmdb-hero__search button:hover {
  filter: brightness(1.06);
  background: var(--brand-accent);
}
.home-tmdb-hero__search button:active {
  filter: brightness(0.95);
  background: var(--brand-accent-dark);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 767px) {
  .home-tmdb-hero {
    height: auto;
    min-height: 300px;
    align-items: flex-end;
  }
  .home-tmdb-hero__inner {
    padding: 24px 20px;
    box-sizing: border-box;
  }
  .home-tmdb-hero__title {
    font-size: 32px;
    line-height: 1.15;
  }
  .home-tmdb-hero__lead {
    font-size: 18px;
    line-height: 1.45;
    margin-bottom: 28px;
  }
  .home-tmdb-hero__search {
    height: 46px;
  }
  .home-tmdb-hero__search input {
    font-size: 16px;
    line-height: 26px;
    padding: 10px 16px;
  }
  .home-tmdb-hero__search button {
    min-width: 88px;
    margin: 1px;
    padding: 10px 20px;
  }
}
@media (max-width: 400px) {
  .home-tmdb-hero__title {
    font-size: 28px;
  }
  .home-tmdb-hero__lead {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 24px;
  }
}

/* ── Home trending row (TMDB-style «رائج») ─────────────────────── */
.home-trending {
  position: relative;
  background: #f3f5f7;
  padding: 1.75rem 0 2rem;
  overflow: hidden;
  contain: layout style;
}
.home-trending__waves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='220' viewBox='0 0 1200 220'%3E%3Cg fill='%23dc5539' fill-opacity='.22'%3E%3Crect x='20' y='80' width='14' height='140' rx='4'/%3E%3Crect x='48' y='40' width='14' height='180' rx='4'/%3E%3Crect x='76' y='100' width='14' height='120' rx='4'/%3E%3Crect x='104' y='20' width='14' height='200' rx='4'/%3E%3Crect x='132' y='60' width='14' height='160' rx='4'/%3E%3C/g%3E%3Cg fill='%23fcdc06' fill-opacity='.28'%3E%3Crect x='180' y='90' width='14' height='130' rx='4'/%3E%3Crect x='208' y='50' width='14' height='170' rx='4'/%3E%3Crect x='236' y='110' width='14' height='110' rx='4'/%3E%3Crect x='264' y='30' width='14' height='190' rx='4'/%3E%3Crect x='292' y='70' width='14' height='150' rx='4'/%3E%3C/g%3E%3Cg fill='%23dc5539' fill-opacity='.18'%3E%3Crect x='340' y='85' width='14' height='135' rx='4'/%3E%3Crect x='368' y='45' width='14' height='175' rx='4'/%3E%3Crect x='396' y='105' width='14' height='115' rx='4'/%3E%3Crect x='424' y='25' width='14' height='195' rx='4'/%3E%3Crect x='452' y='65' width='14' height='155' rx='4'/%3E%3C/g%3E%3Cg fill='%23fcdc06' fill-opacity='.24'%3E%3Crect x='500' y='95' width='14' height='125' rx='4'/%3E%3Crect x='528' y='55' width='14' height='165' rx='4'/%3E%3Crect x='556' y='115' width='14' height='105' rx='4'/%3E%3Crect x='584' y='35' width='14' height='185' rx='4'/%3E%3Crect x='612' y='75' width='14' height='145' rx='4'/%3E%3C/g%3E%3Cg fill='%23dc5539' fill-opacity='.2'%3E%3Crect x='660' y='88' width='14' height='132' rx='4'/%3E%3Crect x='688' y='48' width='14' height='172' rx='4'/%3E%3Crect x='716' y='108' width='14' height='112' rx='4'/%3E%3Crect x='744' y='28' width='14' height='192' rx='4'/%3E%3Crect x='772' y='68' width='14' height='152' rx='4'/%3E%3C/g%3E%3Cg fill='%23fcdc06' fill-opacity='.26'%3E%3Crect x='820' y='92' width='14' height='128' rx='4'/%3E%3Crect x='848' y='52' width='14' height='168' rx='4'/%3E%3Crect x='876' y='112' width='14' height='108' rx='4'/%3E%3Crect x='904' y='32' width='14' height='188' rx='4'/%3E%3Crect x='932' y='72' width='14' height='148' rx='4'/%3E%3C/g%3E%3Cg fill='%23dc5539' fill-opacity='.16'%3E%3Crect x='980' y='86' width='14' height='134' rx='4'/%3E%3Crect x='1008' y='46' width='14' height='174' rx='4'/%3E%3Crect x='1036' y='106' width='14' height='114' rx='4'/%3E%3Crect x='1064' y='26' width='14' height='194' rx='4'/%3E%3Crect x='1092' y='66' width='14' height='154' rx='4'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: auto 100%;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 100%);
}
.home-trending__inner {
  position: relative;
  z-index: 1;
  max-width: 81.25rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.home-trending__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.home-trending__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.02em;
}
.home-trending__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  isolation: isolate;
}
.home-trending__toggle-bg {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 999px;
  background: var(--brand-primary, #dc5539);
  box-shadow: 0 2px 8px rgba(220, 85, 57, 0.28);
  transition: transform 0.25s ease, width 0.25s ease, height 0.25s ease;
  z-index: 0;
  pointer-events: none;
  will-change: transform, width;
}
.home-trending__toggle-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #475569;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: color 0.25s ease;
  white-space: nowrap;
}
.home-trending__toggle-btn.is-active {
  color: #fff;
}
.home-trending__viewport {
  position: relative;
  min-height: 17.5rem;
}
.home-trending__panel {
  transition: opacity 0.34s ease, transform 0.34s ease;
  will-change: opacity, transform;
}
.home-trending__panel.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  position: relative;
  z-index: 1;
}
.home-trending__panel:not(.is-active):not(.is-leaving) {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  pointer-events: none;
  visibility: hidden;
}
.home-trending__panel.is-leaving {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transform: translate3d(0, -10px, 0);
  pointer-events: none;
}
.home-trending__panel.is-entering {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
}
.home-trending.is-switching .home-trending-card {
  transition: opacity 0.28s ease, transform 0.28s ease;
  opacity: 0.35;
  transform: scale(0.97);
}
.home-trending__panel.is-active .home-trending-card {
  opacity: 1;
  transform: scale(1);
}
.home-trending__scroll-wrap {
  position: relative;
}
.home-trending__scroll-wrap::before,
.home-trending__scroll-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0.5rem;
  width: 3.25rem;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.25s linear;
}
.home-trending__scroll-wrap::before {
  right: 0;
  background: linear-gradient(270deg, #f3f5f7 0%, rgba(243, 245, 247, 0) 100%);
}
.home-trending__scroll-wrap::after {
  left: 0;
  background: linear-gradient(90deg, #f3f5f7 0%, rgba(243, 245, 247, 0) 100%);
}
.home-trending__scroll-wrap.is-fade-start::after {
  opacity: 1;
}
.home-trending__scroll-wrap.is-fade-end::before {
  opacity: 1;
}
.home-trending__scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 0.25rem 0.125rem 0.5rem;
  -webkit-overflow-scrolling: touch;
}
.home-trending__scroll::-webkit-scrollbar {
  display: none;
}
.home-trending-card {
  flex: 0 0 auto;
  width: 9.375rem;
  scroll-snap-align: start;
}
.home-trending-card__poster-wrap {
  position: relative;
}
.home-trending-card__poster-link {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.home-trending-card__poster-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}
.home-trending-card__poster-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-trending-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #94a3b8;
  font-size: 1.75rem;
  background: linear-gradient(145deg, #e2e8f0, #f8fafc);
}
.home-trending-card__menu {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
}
.home-trending-card__menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.15s ease;
}
.home-trending-card__menu-btn:hover {
  background: rgba(15, 23, 42, 0.78);
}
.home-trending-card__menu-pop {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 9.5rem;
  padding: 0.35rem 0;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
  z-index: 5;
}
.home-trending-card__menu-pop a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: #1e293b;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.home-trending-card__menu-pop a:hover {
  background: #f8fafc;
  color: var(--brand-primary, #dc5539);
}
.home-trending-card__title {
  margin: 0.55rem 0 0;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.35;
}
.home-trending-card__title a {
  color: #0f172a;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-trending-card__title a:hover {
  color: var(--brand-primary, #dc5539);
}
.home-trending-card__date {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
}
@media (min-width: 640px) {
  .home-trending-card {
    width: 10rem;
  }
  .home-trending__title {
    font-size: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .home-trending {
    padding: 2rem 0 2.25rem;
  }
  .home-trending-card {
    width: 10.625rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-trending__toggle-bg,
  .home-trending__panel,
  .home-trending-card,
  .home-trending__scroll-wrap::before,
  .home-trending__scroll-wrap::after {
    transition: none !important;
  }
}
