/* =========================================================
   DOOLAKORN ULTRA-COMPACT STREAMING THEME (HIGH-DENSITY)
   ========================================================= */

/* Dark immersive canvas */
body.sp-premiere {
  background: #090d16 !important;
  color: #e2e8f0 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Kanit", "Segoe UI", Roboto, sans-serif !important;
}

body.sp-premiere main.sp-watch-layout {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 12px 20px 36px 20px !important;
  display: grid !important;
  grid-template-columns: 400px minmax(0, 1fr) !important;
  gap: 22px !important;
  align-items: start !important;
}

body.sp-premiere .sp-watch-layout > .sp-crumbs {
  grid-column: 1 / -1 !important;
  margin-bottom: 8px !important;
  padding: 4px 0 !important;
}

/* =========================================================
   LEFT COLUMN: PLAYER & CONTROLS (STICKY & STREAMLINED)
   ========================================================= */
body.sp-premiere .sp-watch-layout > .sp-watch {
  grid-column: 1 !important;
  position: static !important;
  top: auto !important;
  margin-top: 0 !important;
  max-width: 400px !important;
}

body.sp-premiere .sp-stage {
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 119, 0, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: #000000 !important;
}

body.sp-premiere .sp-controls {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin: 12px 0 10px 0 !important;
  padding: 7px 16px !important;
  background: rgba(18, 24, 38, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important;
  width: fit-content !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}
body.sp-premiere .sp-controls .button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 5px 14px !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f1f5f9 !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
body.sp-premiere .sp-controls .button:hover:not([aria-disabled="true"]) {
  background: linear-gradient(135deg, #ff7700, #ff5500) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(255, 119, 0, 0.4) !important;
}
body.sp-premiere .sp-controls .button[aria-disabled="true"] {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
}
body.sp-premiere #watch-current {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #ff9933 !important;
  padding: 0 4px !important;
}

body.sp-premiere .sp-tools {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 8px 0 12px 0 !important;
  font-size: 12px !important;
  color: #94a3b8 !important;
}
body.sp-premiere .sp-speed select {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  padding: 2px 6px !important;
  font-size: 12px !important;
}
body.sp-premiere .sp-auto {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  cursor: pointer !important;
  user-select: none !important;
  font-size: 12px !important;
}
body.sp-premiere .sp-auto input {
  accent-color: #ff7700 !important;
  width: 14px !important;
  height: 14px !important;
}
body.sp-premiere .sp-tools .text-button {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  padding: 3px 11px !important;
  color: #cbd5e1 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
body.sp-premiere .sp-tools .text-button:hover {
  background: rgba(255, 119, 0, 0.2) !important;
  border-color: #ff7700 !important;
  color: #ffffff !important;
}

body.sp-premiere .sp-variants {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 10px 0 16px 0 !important;
}
body.sp-premiere .sp-variants a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 6px 18px !important;
  border-radius: 18px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #cbd5e1 !important;
}
body.sp-premiere .sp-variants a:hover {
  background: rgba(255, 119, 0, 0.2) !important;
  border-color: #ff7700 !important;
  color: #ffffff !important;
}
body.sp-premiere .sp-variants a[aria-current="true"], 
body.sp-premiere .sp-variants a.active {
  background: linear-gradient(135deg, #ff7700 0%, #ff5500 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(255, 119, 0, 0.45) !important;
}

/* =========================================================
   RIGHT COLUMN: ULTRA-COMPACT SERIES INFO CARD (.sp-info)
   ========================================================= */
body.sp-premiere .sp-watch-layout > .sp-info {
  grid-column: 2 !important;
  margin-top: 0 !important;
  padding: 20px 24px !important;
  background: linear-gradient(145deg, rgba(22, 28, 44, 0.85) 0%, rgba(13, 17, 28, 0.95) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top: 2px solid #ff7700 !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(255, 119, 0, 0.08) !important;
}

/* Title & Header Action */
body.sp-premiere #watch-title {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.2px !important;
  line-height: 1.3 !important;
  margin: 0 0 10px 0 !important;
}

body.sp-premiere .sp-episode-link,
body.sp-premiere .button.sp-episode-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 18px !important;
  border-radius: 20px !important;
  background: rgba(255, 119, 0, 0.14) !important;
  border: 1px solid rgba(255, 119, 0, 0.4) !important;
  color: #ffaa44 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  margin-bottom: 16px !important;
  transition: all 0.2s ease !important;
}
body.sp-premiere .sp-episode-link::before {
  content: '' !important;
  display: inline-block !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #ff7700 !important;
  box-shadow: 0 0 8px #ff7700 !important;
}
body.sp-premiere .sp-episode-link:hover {
  background: linear-gradient(135deg, #ff7700, #ff5500) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(255, 119, 0, 0.4) !important;
}

/* Compact Facts Table (.sp-facts) */
body.sp-premiere .sp-facts {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: rgba(14, 18, 30, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  margin-bottom: 14px !important;
}
body.sp-premiere .sp-facts tr:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}
body.sp-premiere .sp-facts tr:hover {
  background: rgba(255, 255, 255, 0.02) !important;
}
body.sp-premiere .sp-facts th {
  width: 105px !important;
  padding: 8px 14px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  text-align: left !important;
  border: none !important;
  border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
  background: rgba(255, 255, 255, 0.02) !important;
}
body.sp-premiere .sp-facts td {
  padding: 8px 16px !important;
  font-size: 13px !important;
  color: #f1f5f9 !important;
  border: none !important;
}
body.sp-premiere .sp-facts tr:first-child td {
  font-weight: 700 !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
}
body.sp-premiere #watch-audio {
  display: inline-flex !important;
  align-items: center !important;
  padding: 2px 10px !important;
  border-radius: 5px !important;
  background: rgba(255, 119, 0, 0.18) !important;
  color: #ffaa44 !important;
  border: 1px solid rgba(255, 119, 0, 0.35) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  margin-right: 6px !important;
}
body.sp-premiere .sp-facts tr:nth-child(3) td {
  color: #4ade80 !important;
  font-weight: 600 !important;
}
body.sp-premiere .sp-facts td a[href^="/genre/"] {
  display: inline-flex !important;
  align-items: center !important;
  padding: 3px 12px !important;
  border-radius: 12px !important;
  background: rgba(255, 119, 0, 0.14) !important;
  border: 1px solid rgba(255, 119, 0, 0.35) !important;
  color: #ffaa44 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
body.sp-premiere .sp-facts tr:last-child td {
  color: #38bdf8 !important;
  font-weight: 600 !important;
}

/* Compact Synopsis (.sp-block) */
body.sp-premiere .sp-block {
  margin-top: 14px !important;
  margin-bottom: 14px !important;
}
body.sp-premiere .sp-block h2,
body.sp-premiere #episodes > h2 {
  display: flex !important;
  align-items: center !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 8px !important;
}
body.sp-premiere .sp-block h2::before,
body.sp-premiere #episodes > h2::before {
  content: '' !important;
  display: inline-block !important;
  width: 3.5px !important;
  height: 15px !important;
  background: linear-gradient(to bottom, #ff7700, #ff5500) !important;
  border-radius: 2px !important;
  margin-right: 8px !important;
}
body.sp-premiere .sp-synopsis {
  background: rgba(14, 18, 30, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-left: 3px solid rgba(255, 119, 0, 0.6) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-size: 12.5px !important;
  line-height: 1.6 !important;
  color: #cbd5e1 !important;
  margin: 0 !important;
}

/* Compact Episode Jump Form */
body.sp-premiere .sp-episode-jump {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 10px !important;
  padding: 6px 12px !important;
  background: rgba(14, 18, 30, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 8px !important;
}
body.sp-premiere .sp-episode-jump label {
  font-size: 12.5px !important;
  color: #94a3b8 !important;
}
body.sp-premiere .sp-episode-jump input {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 6px !important;
  padding: 4px 8px !important;
  color: #ffffff !important;
  font-size: 12.5px !important;
  width: 60px !important;
}
body.sp-premiere .sp-episode-jump button {
  background: linear-gradient(135deg, #ff7700, #ff5500) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 4px 14px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}
body.sp-premiere #episode-jump-help {
  font-size: 11.5px !important;
  color: #64748b !important;
}

/* Compact Episode Group & Grid */
body.sp-premiere .sp-epgroup {
  background: rgba(14, 18, 30, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 10px !important;
  margin-bottom: 8px !important;
  overflow: hidden !important;
}
body.sp-premiere .sp-epgroup summary {
  padding: 8px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #e2e8f0 !important;
  cursor: pointer !important;
}
body.sp-premiere .sp-epgroup summary:hover {
  color: #ff9933 !important;
}
body.sp-premiere .sp-eplist {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)) !important;
  gap: 5px !important;
  padding: 10px !important;
  list-style: none !important;
}
body.sp-premiere .sp-eplist li a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px 2px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 6px !important;
  color: #cbd5e1 !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  min-height: 32px !important;
  transition: all 0.15s ease !important;
}
body.sp-premiere .sp-eplist li a:hover {
  background: rgba(255, 119, 0, 0.18) !important;
  border-color: #ff7700 !important;
  color: #ffffff !important;
}
body.sp-premiere .sp-eplist li a[aria-current="true"] {
  background: linear-gradient(135deg, #ff7700 0%, #ff5500 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* Compact Horizontal FAQ Section (.sp-faq) */
body.sp-premiere .sp-faq {
  margin-top: 14px !important;
  margin-bottom: 0 !important;
  padding: 12px 16px !important;
  background: rgba(14, 18, 30, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 10px !important;
}
body.sp-premiere .sp-faq h2 {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #e2e8f0 !important;
  margin-bottom: 8px !important;
}
body.sp-premiere .sp-faq dl {
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 8px 16px !important;
}
body.sp-premiere .sp-faq dt {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #ffaa44 !important;
  margin-bottom: 2px !important;
}
body.sp-premiere .sp-faq dd {
  font-size: 11.5px !important;
  color: #94a3b8 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

/* =========================================================
   RELATED DRAMAS: BALANCED & STREAMLINED GRID
   ========================================================= */
body.sp-premiere .sp-watch-layout > .sp-block {
  grid-column: 1 / -1 !important;
  margin-top: 24px !important;
  margin-bottom: 12px !important;
}
body.sp-premiere .sp-watch-layout > .sp-block > h2 {
  font-size: 18px !important;
  margin-bottom: 12px !important;
}
body.sp-premiere .catalog-grid.sp-grid {
  display: grid !important;
  grid-template-columns: repeat(8, 1fr) !important;
  gap: 10px !important;
}
body.sp-premiere .catalog-grid.sp-grid .poster-card {
  margin: 0 !important;
}
body.sp-premiere .catalog-grid.sp-grid .poster-frame {
  border-radius: 8px !important;
}
body.sp-premiere .catalog-grid.sp-grid .sp-card-title {
  font-size: 12px !important;
  margin-top: 4px !important;
}
body.sp-premiere .catalog-grid.sp-grid .poster-meta {
  font-size: 11px !important;
}

/* Responsive adjustments */
@media (max-width: 1080px) {
  body.sp-premiere .catalog-grid.sp-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
  }
}
@media (max-width: 768px) {
  body.sp-premiere main.sp-watch-layout {
    grid-template-columns: 1fr !important;
    padding: 10px 10px 60px 10px !important;
    gap: 14px !important;
  }
  body.sp-premiere .sp-watch-layout > .sp-watch {
    position: static !important;
    max-width: 100% !important;
  }
  body.sp-premiere .sp-watch-layout > .sp-info {
    grid-column: 1 !important;
    padding: 16px 14px !important;
  }
  body.sp-premiere .sp-eplist {
    grid-template-columns: repeat(5, 1fr) !important;
  }
  body.sp-premiere .catalog-grid.sp-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
}



:root {
  --bg-base: #0a0d14;
  --bg-surface: #111622;
  --bg-card: #161c2b;
  --bg-card-hover: #1c2438;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(255, 119, 0, 0.4);
  --primary: #ff7700;
  --primary-hover: #ff9100;
  --primary-gradient: linear-gradient(135deg, #ff8800 0%, #ff5500 100%);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-faint: #64748b;
}

/* Hide legacy backend footer */
footer.footer.shell {
  display: none !important;
}


/* Site Footer - Brand New Ultra-Modern Design */
    .site-footer {
      background: radial-gradient(ellipse at 50% 0%, rgba(255, 119, 0, 0.08) 0%, transparent 60%), #060910;
      border-top: 1px solid rgba(255, 119, 0, 0.28);
      padding: 56px 24px 32px;
      margin-top: 40px;
    }
    .footer-wrap {
      max-width: 1440px;
      margin: 0 auto;
    }

    /* VIP Cinema CTA Banner Card */
    .footer-cta-card {
      position: relative;
      background: linear-gradient(135deg, rgba(26, 33, 48, 0.85) 0%, rgba(13, 17, 26, 0.95) 100%);
      border: 1px solid rgba(255, 119, 0, 0.35);
      border-radius: 22px;
      padding: 38px 46px;
      margin-bottom: 44px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
      box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 119, 0, 0.12);
      overflow: hidden;
    }
    @media (max-width: 960px) {
      .footer-cta-card {
        flex-direction: column;
        padding: 28px 24px;
        text-align: center;
        gap: 24px;
      }
    }
    .footer-cta-card::before {
      content: '';
      position: absolute;
      top: -60%;
      left: -20%;
      width: 60%;
      height: 220%;
      background: radial-gradient(circle, rgba(255, 119, 0, 0.14) 0%, transparent 70%);
      pointer-events: none;
    }
    .footer-cta-left {
      position: relative;
      z-index: 2;
      max-width: 680px;
    }
    .footer-cta-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 12px;
      background: rgba(255, 119, 0, 0.18);
      border: 1px solid rgba(255, 119, 0, 0.5);
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
      color: #ff9933;
      margin-bottom: 12px;
    }
    .footer-cta-title {
      font-size: 24px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 8px;
      line-height: 1.3;
    }
    @media (max-width: 640px) {
      .footer-cta-title { font-size: 20px; }
    }
    .footer-cta-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
    }
    .footer-cta-actions {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      gap: 14px;
      flex-shrink: 0;
    }
    @media (max-width: 640px) {
      .footer-cta-actions {
        flex-direction: column;
        width: 100%;
      }
      .footer-cta-actions a {
        width: 100%;
        justify-content: center;
      }
    }
    .btn-cta-primary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 13px 28px;
      background: var(--primary-gradient);
      color: #ffffff;
      font-weight: 600;
      font-size: 15px;
      border-radius: 12px;
      box-shadow: 0 6px 20px rgba(255, 119, 0, 0.45);
      transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
    .btn-cta-primary:hover {
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 10px 26px rgba(255, 119, 0, 0.65);
    }
    .btn-cta-secondary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 13px 22px;
      background: rgba(255, 255, 255, 0.07);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: var(--text-main);
      font-weight: 500;
      font-size: 14px;
      border-radius: 12px;
      transition: all 0.2s ease;
    }
    .btn-cta-secondary:hover {
      background: rgba(255, 255, 255, 0.14);
      border-color: rgba(255, 255, 255, 0.3);
      color: #ffffff;
    }

    /* 4 Feature Highlights Cards */
    .footer-features-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
      margin-bottom: 48px;
    }
    @media (max-width: 960px) {
      .footer-features-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 520px) {
      .footer-features-grid { grid-template-columns: 1fr; }
    }
    .feature-item {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 14px;
      padding: 18px 20px;
      display: flex;
      align-items: center;
      gap: 16px;
      transition: all 0.25s ease;
    }
    .feature-item:hover {
      border-color: rgba(255, 119, 0, 0.4);
      background: var(--bg-card-hover);
      transform: translateY(-2px);
    }
    .feature-icon-box {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: rgba(255, 119, 0, 0.12);
      border: 1px solid rgba(255, 119, 0, 0.25);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      flex-shrink: 0;
    }
    .feature-title {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-main);
      margin-bottom: 3px;
    }
    .feature-sub {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* 4 Columns Main Navigation */
    .footer-nav-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 48px;
      margin-bottom: 44px;
    }
    @media (max-width: 960px) {
      .footer-nav-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    }
    @media (max-width: 640px) {
      .footer-nav-grid { grid-template-columns: 1fr; gap: 28px; }
    }
    .footer-brand-col {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .footer-logo-img {
      height: 42px;
      width: auto;
      object-fit: contain;
    }
    .footer-brand-desc {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.8;
      max-width: 420px;
    }
    .highlight-brand {
      color: #ff9933;
      font-weight: 700;
      text-shadow: 0 0 10px rgba(255, 119, 0, 0.35);
    }
    .highlight-keyword {
      color: #f1f5f9;
      font-weight: 600;
    }
    .highlight-hd {
      color: #4ade80;
      font-weight: 600;
      background: rgba(34, 197, 94, 0.12);
      padding: 1px 6px;
      border-radius: 4px;
      border: 1px solid rgba(34, 197, 94, 0.3);
      font-size: 11px;
      letter-spacing: 0.5px;
    }
    .highlight-free {
      color: #fbbf24;
      font-weight: 600;
    }
    .highlight-dub {
      color: #ff7700;
      font-weight: 600;
    }
    .highlight-sub {
      color: #38bdf8;
      font-weight: 600;
    }

    /* Social Section & 3D Pill Buttons */
    .social-section-wrap {
      margin-top: 14px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .social-label {
      font-size: 12px;
      font-weight: 600;
      color: var(--text-muted);
      letter-spacing: 0.3px;
    }
    .social-buttons-grid {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
    }
    .social-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      border-radius: 24px;
      background: rgba(22, 28, 42, 0.85);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-top: 1px solid rgba(255, 255, 255, 0.28);
      color: #cbd5e1;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.3px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.12);
      transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
      cursor: pointer;
      text-decoration: none;
    }
    .social-btn:hover {
      transform: translateY(-3px) scale(1.04);
      color: #ffffff;
    }
    .social-fb:hover {
      background: rgba(24, 119, 242, 0.28);
      border-color: #1877f2;
      box-shadow: 0 8px 20px rgba(24, 119, 242, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    }
    .social-yt:hover {
      background: rgba(255, 0, 0, 0.25);
      border-color: #ff0000;
      box-shadow: 0 8px 20px rgba(255, 0, 0, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    }
    .social-tt:hover {
      background: rgba(37, 244, 238, 0.22);
      border-color: #25f4ee;
      box-shadow: 0 8px 20px rgba(37, 244, 238, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    }
    .social-line:hover {
      background: rgba(6, 199, 85, 0.28);
      border-color: #06c755;
      box-shadow: 0 8px 20px rgba(6, 199, 85, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    }

    .footer-col-head {
      font-size: 15px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 18px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .footer-col-head::before {
      content: '';
      width: 3px;
      height: 14px;
      background: var(--primary-gradient);
      border-radius: 2px;
      display: inline-block;
    }
    .footer-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .footer-list a {
      font-size: 13px;
      color: var(--text-muted);
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 2px 6px;
      border-radius: 6px;
    }
    .footer-list a:hover {
      color: #ffffff;
      background: rgba(255, 119, 0, 0.12);
      transform: translateX(4px);
    }
    .footer-list a::before {
      content: '›';
      color: rgba(255, 119, 0, 0.5);
      font-size: 14px;
      font-weight: 700;
      transition: color 0.2s ease;
    }
    .footer-list a:hover::before {
      color: var(--primary);
    }

    /* Footer Bottom Strip */
    .footer-bottom-strip {
      border-top: 1px solid rgba(255, 255, 255, 0.07);
      padding-top: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      font-size: 12px;
      color: var(--text-faint);
    }
    @media (max-width: 768px) {
      .footer-bottom-strip {
        flex-direction: column;
        text-align: center;
        gap: 14px;
      }
    }
    .bottom-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .btn-back-to-top {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 14px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid var(--border-subtle);
      border-radius: 16px;
      color: var(--text-muted);
      font-size: 12px;
      font-weight: 500;
      transition: all 0.2s ease;
      text-decoration: none;
    }
    .btn-back-to-top:hover {
      background: rgba(255, 119, 0, 0.2);
      border-color: var(--primary);
      color: #ffffff;
      transform: translateY(-2px);
      box-shadow: 0 4px 14px rgba(255, 119, 0, 0.35);
    }
    .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 4px 12px;
      background: rgba(34, 197, 94, 0.1);
      border: 1px solid rgba(34, 197, 94, 0.3);
      border-radius: 14px;
      color: #4ade80;
      font-size: 11px;
      font-weight: 500;
    }
    .status-dot-green {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #22c55e;
      box-shadow: 0 0 8px #22c55e;
    }
  
    /* =========================================================
       COMPREHENSIVE MOBILE OPTIMIZATIONS (Smartphones & Tablets)
       ========================================================= */
    html, body {
      max-width: 100vw !important;
      overflow-x: hidden !important;
    }

    @media (max-width: 768px) {
      /* Body layout offset for fixed bottom navigation */
      body {
        padding-bottom: 74px !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
      }

      /* Compact and clean mobile header */
      .site-header {
        width: 100% !important;
        max-width: 100vw !important;
      }
      .header-container {
        padding: 8px 12px !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
      }
      .brand-wrap {
        flex-shrink: 0;
      }
      .brand-logo-img {
        height: 32px !important;
        max-width: 120px !important;
      }
      .btn-login, .btn-register, .brand-tagline, .nav-menu {
        display: none !important;
      }
      .header-actions {
        flex: 1;
        justify-content: flex-end;
        min-width: 0;
      }
      .search-box {
        flex: 1 1 auto !important;
        max-width: 200px !important;
        min-width: 0 !important;
      }
      .search-box input {
        width: 100% !important;
        padding: 6px 12px 6px 32px !important;
        font-size: 12px !important;
      }
      .search-box input:focus {
        width: 100% !important;
      }

      /* Main container padding */
      .main-wrap {
        padding: 10px 12px !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
      }

      /* Mobile Hero Cinema Banner */
      .hero-banner {
        margin-bottom: 18px !important;
        border-radius: 16px !important;
        max-width: 100% !important;
        overflow: hidden !important;
      }
      .hero-container {
        flex-direction: column-reverse !important;
        padding: 16px 12px !important;
        gap: 14px !important;
        text-align: center !important;
      }
      .hero-poster-card {
        width: 135px !important;
        height: 190px !important;
        margin: 0 auto !important;
        border-radius: 12px !important;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6) !important;
      }
      .hero-badge-wrap {
        font-size: 11px !important;
        padding: 3px 10px !important;
      }
      .hero-title {
        font-size: 19px !important;
        line-height: 1.35 !important;
        margin-bottom: 8px !important;
      }
      .hero-pills {
        justify-content: center !important;
        gap: 6px !important;
        margin-bottom: 12px !important;
      }
      .pill {
        font-size: 11px !important;
        padding: 2px 8px !important;
      }
      .hero-desc {
        font-size: 12.5px !important;
        line-height: 1.55 !important;
        margin-bottom: 16px !important;
        color: #94a3b8 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
      }
      .hero-ctas {
        display: flex !important;
        flex-direction: column !important;
        gap: 9px !important;
        width: 100% !important;
      }
      .btn-hero-play, .btn-hero-list {
        width: 100% !important;
        justify-content: center !important;
        padding: 11px 18px !important;
        font-size: 14px !important;
        border-radius: 12px !important;
      }

      /* Swipeable Category Horizontal Bar */
      .category-section {
        margin-bottom: 22px !important;
        max-width: 100% !important;
        overflow: hidden !important;
      }
      .category-grid {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 8px !important;
        padding: 2px 2px 10px 2px !important;
        scrollbar-width: none !important;
        box-sizing: border-box !important;
      }
      .category-grid::-webkit-scrollbar {
        display: none !important;
      }
      .category-card {
        flex: 0 0 auto !important;
        padding: 7px 13px !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
        border-radius: 20px !important;
        background: rgba(22, 28, 42, 0.8) !important;
      }
      .category-card:hover, .category-card.active {
        transform: translateY(-2px) !important;
      }
      .category-icon-box {
        width: 20px !important;
        height: 20px !important;
        margin: 0 !important;
      }
      .category-icon-box svg {
        width: 14px !important;
        height: 14px !important;
      }
      .category-label {
        font-size: 12.5px !important;
        white-space: nowrap !important;
      }

      /* Layout & Drama Grid */
      .portal-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        max-width: 100% !important;
        overflow: hidden !important;
      }
      .content-left {
        width: 100% !important;
        max-width: 100% !important;
      }
      .sidebar-right {
        width: 100% !important;
        max-width: 100% !important;
      }
      .drama-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
      }
      .drama-card {
        border-radius: 12px !important;
      }
      .drama-info {
        padding: 9px !important;
      }
      .drama-title {
        font-size: 13px !important;
        line-height: 1.35 !important;
        height: 35px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
      }
      .drama-meta {
        font-size: 11px !important;
      }
      .section-header {
        margin-bottom: 12px !important;
      }
      .section-title {
        font-size: 17px !important;
      }
      .section-accent-bar {
        width: 3px !important;
        height: 14px !important;
      }
      .section-more-link {
        font-size: 12px !important;
      }

      /* Widgets on mobile */
      .widget-box {
        padding: 16px 14px !important;
        border-radius: 14px !important;
        margin-bottom: 18px !important;
      }
      .ranking-item {
        padding: 8px 0 !important;
        gap: 10px !important;
      }
      .ranking-thumb {
        width: 42px !important;
        height: 56px !important;
      }
      .ranking-title {
        font-size: 13px !important;
      }

      /* Footer on mobile */
      .site-footer {
        margin-top: 30px !important;
        padding: 30px 12px 20px !important;
        max-width: 100% !important;
        overflow: hidden !important;
      }
      .footer-wrap {
        max-width: 100% !important;
        box-sizing: border-box !important;
      }
      .footer-cta-card {
        padding: 18px 14px !important;
        border-radius: 14px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
      }
      .footer-cta-title {
        font-size: 17px !important;
      }
      .footer-cta-desc {
        font-size: 12.5px !important;
      }
      .footer-cta-actions {
        width: 100% !important;
        flex-direction: column !important;
      }
      .footer-cta-actions a {
        width: 100% !important;
        justify-content: center !important;
      }
      .footer-features-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-bottom: 30px !important;
      }
      .footer-nav-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
      }
      .footer-brand-desc {
        font-size: 12.5px !important;
        word-break: break-word !important;
      }
      .social-buttons-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
      }
      .social-btn {
        justify-content: center !important;
        padding: 8px 8px !important;
        font-size: 12px !important;
      }
      .footer-bottom-strip {
        flex-direction: column !important;
        text-align: center !important;
        gap: 12px !important;
        padding-top: 18px !important;
        margin-top: 20px !important;
        word-break: break-word !important;
      }
      .bottom-actions {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
      }
      .btn-back-to-top {
        padding: 8px 18px !important;
        font-size: 12px !important;
      }
    }

    /* Fixed Mobile Bottom Navigation Bar */
    .mobile-bottom-nav {
      display: none;
    }

    @media (max-width: 768px) {
      .mobile-bottom-nav {
        display: flex !important;
        align-items: center !important;
        justify-content: space-around !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 58px !important;
        padding: 0 4px !important;
        padding-bottom: env(safe-area-inset-bottom, 0px) !important;
        background: rgba(10, 14, 23, 0.96) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6) !important;
        z-index: 9999 !important;
        box-sizing: border-box !important;
      }

      .mobile-nav-item {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2px !important;
        padding: 4px 1px !important;
        color: #94a3b8 !important;
        text-decoration: none !important;
        transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
        position: relative !important;
        overflow: hidden !important;
        -webkit-tap-highlight-color: transparent !important;
      }

      .mobile-nav-item:active {
        transform: scale(0.92) !important;
      }

      .mobile-nav-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 22px !important;
        height: 22px !important;
        transition: transform 0.2s ease, filter 0.2s ease !important;
      }
      .mobile-nav-icon svg {
        width: 19px !important;
        height: 19px !important;
      }

      .mobile-nav-label {
        font-size: 10px !important;
        font-weight: 500 !important;
        letter-spacing: 0.2px !important;
        line-height: 1 !important;
        transition: color 0.2s ease !important;
        white-space: nowrap !important;
      }

      .mobile-nav-item.active {
        color: #ff7700 !important;
      }

      .mobile-nav-item.active .mobile-nav-icon {
        transform: translateY(-2px) !important;
        filter: drop-shadow(0 2px 8px rgba(255, 119, 0, 0.6)) !important;
      }

      .mobile-nav-item.active .mobile-nav-label {
        font-weight: 700 !important;
        color: #ff9933 !important;
      }

      .mobile-nav-item.active::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        width: 24px !important;
        height: 3px !important;
        background: var(--primary-gradient) !important;
        border-radius: 0 0 4px 4px !important;
        box-shadow: 0 2px 8px rgba(255, 119, 0, 0.8) !important;
      }
    }


@media (max-width: 768px) {
  .site-footer {
    padding-bottom: 95px !important;
  }
}



/* Series Footer Streamlined - No CTA card and No Feature boxes on series watch page */
body.sp-premiere .site-footer {
  padding: 36px 20px 28px !important;
  margin-top: 24px !important;
}
body.sp-premiere .footer-cta-card,
body.sp-premiere .footer-features-grid {
  display: none !important;
}


/* =========================================================
   DOOLAKORN VIP STREAMING HEADER FOR WATCH PAGE
   ========================================================= */
header.masthead {
  display: none !important;
}

body.sp-premiere .site-header.series-site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: rgba(10, 13, 20, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  width: 100% !important;
}

body.sp-premiere .site-header .header-container {
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 12px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  box-sizing: border-box !important;
}

body.sp-premiere .site-header .brand-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}

body.sp-premiere .site-header .brand-logo-img {
  height: 42px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}

body.sp-premiere .site-header .brand-tagline {
  display: inline-block !important;
  font-size: 13px !important;
  color: #8e95a5 !important;
  font-weight: 400 !important;
  padding-left: 12px !important;
  border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

@media (max-width: 1240px) {
  body.sp-premiere .site-header .brand-tagline {
    display: none !important;
  }
}

body.sp-premiere .site-header .nav-menu {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
}

body.sp-premiere .site-header .nav-link {
  padding: 7px 13px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #a0a6b5 !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  line-height: 1.4 !important;
}

body.sp-premiere .site-header .nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

body.sp-premiere .site-header .nav-link.active {
  color: #ff7700 !important;
  background: rgba(255, 119, 0, 0.12) !important;
  font-weight: 600 !important;
}

body.sp-premiere .site-header .nav-link.nav-random {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 14px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #ffaa44 !important;
  background: rgba(255, 119, 0, 0.12) !important;
  border: 1px solid rgba(255, 119, 0, 0.35) !important;
  border-radius: 20px !important;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  box-shadow: 0 2px 8px rgba(255, 119, 0, 0.12) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

body.sp-premiere .site-header .nav-link.nav-random:hover {
  background: linear-gradient(135deg, #ff7700 0%, #ff5500 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  transform: translateY(-1px) scale(1.03) !important;
  box-shadow: 0 4px 14px rgba(255, 119, 0, 0.4) !important;
}

body.sp-premiere .site-header .nav-link.nav-random .random-icon {
  transition: transform 0.3s ease !important;
}

body.sp-premiere .site-header .nav-link.nav-random:hover .random-icon {
  transform: rotate(180deg) !important;
}

body.sp-premiere .site-header .header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

body.sp-premiere .site-header .search-box {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
}

body.sp-premiere .site-header .search-box input {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  padding: 8px 16px 8px 38px !important;
  font-size: 13px !important;
  color: #ffffff !important;
  width: 190px !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
}

body.sp-premiere .site-header .search-box input:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #ff7700 !important;
  box-shadow: 0 0 0 3px rgba(255, 119, 0, 0.18) !important;
  width: 210px !important;
}

body.sp-premiere .site-header .search-icon-btn {
  position: absolute !important;
  left: 12px !important;
  background: none !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.45) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
}

body.sp-premiere .site-header .search-icon-btn:hover {
  color: #ffaa44 !important;
}

body.sp-premiere .site-header .btn-login {
  color: #a0a6b5 !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  padding: 7px 12px !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

body.sp-premiere .site-header .btn-login:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

body.sp-premiere .site-header .btn-register {
  background: linear-gradient(135deg, #ff7700 0%, #ff5500 100%) !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: 7px 16px !important;
  border-radius: 20px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 10px rgba(255, 119, 0, 0.3) !important;
  white-space: nowrap !important;
}

body.sp-premiere .site-header .btn-register:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(255, 119, 0, 0.5) !important;
}

body.sp-premiere .site-header .mobile-random-btn {
  display: none !important;
}

@media (max-width: 820px) {
  body.sp-premiere .site-header .nav-menu {
    display: none !important;
  }
  body.sp-premiere .site-header .btn-login,
  body.sp-premiere .site-header .btn-register,
  body.sp-premiere .site-header .brand-tagline {
    display: none !important;
  }
  body.sp-premiere .site-header .header-actions {
    flex: 1 !important;
    justify-content: flex-end !important;
  }
  body.sp-premiere .site-header .mobile-random-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #ffaa44 !important;
    background: rgba(255, 119, 0, 0.14) !important;
    border: 1px solid rgba(255, 119, 0, 0.35) !important;
    border-radius: 16px !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }
  body.sp-premiere .site-header .mobile-random-btn:active {
    transform: scale(0.94) !important;
    background: #ff7700 !important;
    color: #fff !important;
  }
  body.sp-premiere .site-header .search-box {
    flex: 1 1 auto !important;
    max-width: 200px !important;
  }
  body.sp-premiere .site-header .search-box input {
    width: 100% !important;
    padding: 6px 12px 6px 32px !important;
    font-size: 12px !important;
  }
}


/* =========================================================
   COMPACT & FLUSH MOBILE FOOTER FOR WATCH PAGE
   ========================================================= */
@media (max-width: 768px) {
  body.sp-premiere .site-footer {
    width: 100% !important;
    max-width: 100vw !important;
    margin: 18px 0 0 0 !important;
    padding: 18px 12px 76px 12px !important;
    box-sizing: border-box !important;
    border-top: 1px solid rgba(255, 119, 0, 0.25) !important;
    background: #080b12 !important;
  }

  body.sp-premiere .footer-wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body.sp-premiere .footer-nav-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px 12px !important;
    margin-bottom: 14px !important;
  }

  /* Brand Column spans full width */
  body.sp-premiere .footer-brand-col {
    grid-column: 1 / -1 !important;
    gap: 8px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  }

  body.sp-premiere .footer-brand-col .brand-wrap {
    margin: 0 !important;
  }

  body.sp-premiere .footer-logo-img {
    height: 30px !important;
    width: auto !important;
  }

  body.sp-premiere .footer-brand-desc {
    font-size: 11.5px !important;
    line-height: 1.55 !important;
    color: #8e95a5 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  body.sp-premiere .social-section-wrap {
    margin-top: 4px !important;
    width: 100% !important;
  }

  body.sp-premiere .social-label {
    font-size: 11px !important;
    margin-bottom: 6px !important;
    color: #7a8294 !important;
  }

  body.sp-premiere .social-buttons-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
  }

  body.sp-premiere .social-btn {
    padding: 6px 2px !important;
    font-size: 11px !important;
    border-radius: 8px !important;
    justify-content: center !important;
    gap: 4px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  body.sp-premiere .social-btn svg {
    width: 14px !important;
    height: 14px !important;
  }

  /* 2 Columns: Genres (Left) and Services (Right) */
  body.sp-premiere .footer-nav-grid > div:nth-child(2) {
    grid-column: 1 !important;
  }

  body.sp-premiere .footer-nav-grid > div:nth-child(3) {
    grid-column: 2 !important;
  }

  /* Policy & Support Column spans full width as compact tags/links */
  body.sp-premiere .footer-nav-grid > div:nth-child(4) {
    grid-column: 1 / -1 !important;
    padding-top: 10px !important;
    border-top: 1px dashed rgba(255, 255, 255, 0.07) !important;
  }

  body.sp-premiere .footer-col-head {
    font-size: 13px !important;
    margin-bottom: 8px !important;
    padding-left: 8px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
  }

  body.sp-premiere .footer-col-head::before {
    width: 2.5px !important;
    height: 12px !important;
  }

  body.sp-premiere .footer-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.sp-premiere .footer-list li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  body.sp-premiere .footer-list li a {
    font-size: 12px !important;
    padding: 3px 0 !important;
    color: #9aa1b2 !important;
    line-height: 1.35 !important;
    display: inline-block !important;
    transition: color 0.15s ease !important;
  }

  body.sp-premiere .footer-list li a:hover {
    color: #ff9933 !important;
  }

  /* Policy links as clean horizontal flow on mobile */
  body.sp-premiere .footer-nav-grid > div:nth-child(4) .footer-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 6px 10px !important;
  }

  body.sp-premiere .footer-nav-grid > div:nth-child(4) .footer-list li a {
    font-size: 11.5px !important;
    color: #7e8799 !important;
    background: rgba(255, 255, 255, 0.03) !important;
    padding: 2px 7px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  /* Ultra-compact Footer Bottom Strip */
  body.sp-premiere .footer-bottom-strip {
    padding-top: 10px !important;
    margin-top: 8px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 5px !important;
    font-size: 11px !important;
    color: #6e7687 !important;
  }

  body.sp-premiere .footer-bottom-strip > div {
    font-size: 10.5px !important;
    line-height: 1.35 !important;
  }

  body.sp-premiere .bottom-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 2px !important;
  }

  body.sp-premiere .status-badge {
    padding: 2px 8px !important;
    font-size: 10px !important;
  }

  body.sp-premiere .btn-back-to-top {
    padding: 2px 8px !important;
    font-size: 10px !important;
  }
}
