/* ═══════════════════════════════════════════════════════════════════
   TANZANIA CONNECTION — YOUTUBE EXPERIENCE STYLESHEET (DARK MODE)
   Authentic YouTube Look & Feel • Red Accent (#FF0000) • Pure Dark (#0F0F0F)
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --yt-spec-base-background: #0f0f0f;
  --yt-spec-raised-background: #212121;
  --yt-spec-menu-background: #282828;
  --yt-spec-inverted-background: #f1f1f1;
  --yt-spec-additive-background: rgba(255, 255, 255, 0.1);
  --yt-spec-outline: rgba(255, 255, 255, 0.15);
  --yt-spec-shadow-1: rgba(0, 0, 0, 0.3);
  --yt-spec-text-primary: #f1f1f1;
  --yt-spec-text-secondary: #aaaaaa;
  --yt-spec-text-disabled: #717171;
  --yt-spec-brand-icon-active: #ff0000;
  --yt-spec-brand-button-background: #cc0000;
  --yt-spec-brand-link-text: #3ea6ff;
  --yt-spec-badge-chip-background: rgba(255, 255, 255, 0.08);
  --yt-spec-badge-chip-background-active: #ffffff;
  --yt-spec-badge-chip-text-active: #0f0f0f;
  --yt-spec-button-chip-hover: rgba(255, 255, 255, 0.2);
  --yt-spec-card-hover: #1e1e1e;
  --yt-red: #ff0000;
  --yt-red-dark: #cc0000;
  --yt-blue: #3ea6ff;
  --yt-header-height: 56px;
  --yt-sidebar-width: 240px;
  --yt-sidebar-mini-width: 72px;
  --yt-border-radius: 12px;
  --yt-pill-radius: 9999px;
}

/* ── BASE & GLOBAL RESETS ── */
body, html {
  background-color: var(--yt-spec-base-background) !important;
  color: var(--yt-spec-text-primary) !important;
  font-family: "Roboto", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Hide any billboard carousel / slideshow, old searchbars, portal cards, floating chat widget, topbar pay buttons, shorts, and separate search view */
#hero-banner, .hero-banner, .tzc-searchbar--home-portal, .cat-portal-grid, #cat-portal-grid, .cat-portal-card, #cw-bubble, #cw-panel, .cw-bubble, .cw-panel, #header-pay-btn, .yt-btn-vip-ticket, .btn-hd-access, #page-shorts, #yt-shorts-view, .yt-shorts-container, #page-search, .search-page-header {
  display: none !important;
}

/* ── ZERO-GAP RESETS: ELIMINATE ALL EMPTY TOP & BOTTOM SPACE ── */
html, body {
  padding-top: 0 !important;
  margin-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  min-height: 100% !important;
  background: #0f0f0f !important;
}

/* Kill all legacy background glows / gradients */
body::before,
body::after {
  display: none !important;
  content: none !important;
}

#main-header,
header#main-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #0f0f0f !important;
  z-index: 2100 !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

#yt-app-layout {
  margin-top: 56px !important; /* Exactly 56px for YouTube topbar */
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  min-height: auto !important;
}

.yt-main-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: calc(var(--yt-bottom-nav-height, 58px) + 16px) !important;
  min-height: auto !important;
}

main,
.yt-main-content main,
#yt-app-layout main,
body main,
.page-view,
#page-home,
.tzc-home,
.downloads-page,
#page-downloads,
#page-me,
#page-watchlist,
#page-history,
#page-category {
  padding-top: 0 !important;
  margin-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  min-height: auto !important;
}

.tzc-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 1.5rem !important;
  position: relative !important;
}

.tzc-section-hd {
  margin-top: 0 !important;
  padding-top: 4px !important;
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
  z-index: 2 !important;
}

#yt-main-header {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  box-sizing: border-box;
}

.yt-header-start {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: auto;
}

.yt-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--yt-spec-text-primary);
  cursor: pointer;
  font-size: 1.15rem;
  transition: background-color 0.15s ease;
}

.yt-icon-button:hover {
  background-color: var(--yt-spec-additive-background);
}

.yt-brand-column {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 3px !important;
}

.yt-logo-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

.yt-logo-icon {
  background: var(--yt-red);
  color: #fff;
  border-radius: 7px;
  padding: 2px 7px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.4);
}

.yt-logo-text {
  font-family: "Oswald", "Inter", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.yt-country-badge {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--yt-spec-text-secondary);
  align-self: flex-start;
  margin-top: 1px;
}

/* VIP Timer Badge directly under CONNECTION logo */
.yt-brand-column .yt-vip-timer-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 2px 8px !important;
  height: 20px !important;
  min-height: 20px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 99px !important;
  cursor: pointer !important;
  user-select: none !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.2s ease !important;
}

.yt-brand-column .yt-vip-timer-badge:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.yt-brand-column .yt-vip-timer-badge.active-vip {
  background: rgba(0, 230, 118, 0.12) !important;
  border-color: rgba(0, 230, 118, 0.5) !important;
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.25) !important;
}

.yt-brand-column .yt-vip-timer-badge .yt-vtb-icon {
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #000 !important;
  font-size: 0.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.yt-brand-column .yt-vip-timer-badge.active-vip .yt-vtb-icon {
  background: linear-gradient(135deg, #00e676, #00b34d) !important;
}

.yt-brand-column .yt-vip-timer-badge .yt-vtb-timer {
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: 0.2px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

/* ── TOPBAR CENTER: SEARCH BOX ── */
.yt-header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  max-width: 720px;
  margin: 0 16px;
  gap: 12px;
}

.yt-search-form {
  display: flex;
  align-items: center;
  flex: 1;
  height: 40px;
  background: #121212;
  border: 1px solid #303030;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s ease;
}

.yt-search-form:focus-within {
  border-color: #1c62b9;
}

.yt-search-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0 16px;
}

.yt-search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
}

.yt-search-input::placeholder {
  color: #888888;
}

.yt-search-btn {
  width: 64px;
  height: 100%;
  background: #222222;
  border: none;
  border-left: 1px solid #303030;
  color: var(--yt-spec-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.15s ease;
}

.yt-search-btn:hover {
  background: #272727;
}

.yt-mic-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #222222;
  border: none;
  color: var(--yt-spec-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.15s ease;
}

.yt-mic-btn:hover {
  background: #2f2f2f;
}

/* ── TOPBAR END: ACTIONS & PROFILE ── */
.yt-header-end {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: auto;
  justify-content: flex-end;
  padding-right: 4px;
}

.yt-btn-vip-ticket {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #222222;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0 14px;
  height: 36px;
  border-radius: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.yt-btn-vip-ticket:hover {
  background: #333333;
  border-color: var(--yt-red);
}

.yt-btn-vip-ticket i {
  color: var(--yt-red);
}

.yt-avatar-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2f2f2f;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  color: #fff;
  font-weight: bold;
}

.yt-avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════════════
   2. YOUTUBE SIDEBAR NAVIGATION (DRAWER & MINI SIDEBAR)
   ═══════════════════════════════════════════════════════════════════ */
#yt-app-layout {
  display: flex;
  margin-top: var(--yt-header-height);
  min-height: calc(100vh - var(--yt-header-height));
  width: 100%;
}

.yt-sidebar {
  width: var(--yt-sidebar-width);
  background: var(--yt-spec-base-background);
  height: calc(100vh - var(--yt-header-height));
  position: fixed;
  top: var(--yt-header-height);
  left: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 0 24px 0;
  z-index: 1500;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, width 0.2s ease;
}

.yt-sidebar::-webkit-scrollbar {
  width: 6px;
}
.yt-sidebar::-webkit-scrollbar-thumb {
  background: #333333;
  border-radius: 3px;
}

.yt-sidebar-section {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.yt-sidebar-section:last-child {
  border-bottom: none;
}

.yt-sidebar-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--yt-spec-text-secondary);
  padding: 6px 12px;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.yt-nav-item {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: transparent;
  color: var(--yt-spec-text-primary);
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.yt-nav-item:hover {
  background-color: var(--yt-spec-additive-background);
}

.yt-nav-item.active {
  background-color: var(--yt-spec-additive-background);
  font-weight: 600;
}

.yt-nav-item.active i {
  color: var(--yt-red);
}

.yt-nav-item i {
  font-size: 1.15rem;
  width: 24px;
  text-align: center;
  color: var(--yt-spec-text-primary);
}

/* ── SIDEBAR OVERLAY (FOR MOBILE / DRAWER MODE) ── */
.yt-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1400;
}

.yt-sidebar-backdrop.active {
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════
   3. MAIN CONTENT CONTAINER & CATEGORY CHIPS
   ═══════════════════════════════════════════════════════════════════ */
.yt-main-content {
  flex: 1;
  margin-left: var(--yt-sidebar-width);
  padding: 12px 24px 60px 24px;
  min-width: 0;
  transition: margin-left 0.2s ease;
}

/* ── CATEGORY FILTER CHIPS (EXACT YOUTUBE PILLS) ── */
.yt-chips-bar,
#cat-tabs-panel.yt-chips-bar {
  position: sticky !important;
  top: 56px !important;
  background: #000000 !important;
  padding: 10px 14px 12px 14px !important;
  margin: 0 0 18px 0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  z-index: 90 !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
  width: 100% !important;
  box-sizing: border-box !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.yt-chips-bar::-webkit-scrollbar,
#cat-tabs-panel.yt-chips-bar::-webkit-scrollbar {
  display: none !important;
}

.yt-chip,
button.yt-chip,
.yt-chips-bar .yt-chip,
.yt-chips-bar button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  line-height: 32px !important;
  padding: 0 12px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #f1f1f1 !important;
  border-radius: 8px !important;
  font-size: 0.84rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  user-select: none !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  min-width: max-content !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
  box-sizing: border-box !important;
}

.yt-chip:hover,
button.yt-chip:hover,
.yt-chips-bar .yt-chip:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}

.yt-chip.active,
button.yt-chip.active,
.yt-chips-bar .yt-chip.active {
  background: #ffffff !important;
  color: #0f0f0f !important;
  font-weight: 600 !important;
  border-color: #ffffff !important;
}

/* ═══════════════════════════════════════════════════════════════════
   4. YOUTUBE VIDEO GRID & VIDEO CARDS (16:9)
   ═══════════════════════════════════════════════════════════════════ */
.yt-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px 16px;
  margin-top: 14px;
}

/* ── YOUTUBE HORIZONTAL SCROLL SHELVES (.h-scroll) ── */
.h-scroll {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 6px 4px 16px 4px !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin !important;
}

.h-scroll::-webkit-scrollbar {
  height: 6px !important;
}

.h-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04) !important;
  border-radius: 4px !important;
}

.h-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22) !important;
  border-radius: 4px !important;
}

.h-scroll .yt-video-card,
.h-scroll .poster-card {
  flex: 0 0 280px !important;
  min-width: 280px !important;
  max-width: 280px !important;
  width: 280px !important;
  box-sizing: border-box !important;
  scroll-snap-align: start !important;
}

@media (max-width: 600px) {
  .h-scroll {
    gap: 12px !important;
    padding-bottom: 12px !important;
  }
  .h-scroll .yt-video-card,
  .h-scroll .poster-card {
    flex: 0 0 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
    width: 240px !important;
  }
}

.yt-video-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: rgba(22, 22, 28, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  overflow: hidden;
  padding: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.yt-video-card:hover {
  transform: translateY(-4px);
  background: rgba(30, 30, 40, 0.85);
  border-color: rgba(255, 0, 85, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65), 0 0 18px rgba(255, 0, 85, 0.22);
}

.yt-video-card:hover .yt-thumbnail-img {
  transform: scale(1.05);
  filter: contrast(1.12) saturate(1.22) brightness(1.04);
}

.yt-thumbnail-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #0d0d12;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.yt-thumbnail-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, transparent 40%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
  z-index: 1;
}

.yt-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.08) saturate(1.18) brightness(1.02);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.yt-duration-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
}

.yt-premium-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: linear-gradient(135deg, #ff0055 0%, #d60036 100%);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 4px 12px rgba(255, 0, 85, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.yt-unlocked-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: linear-gradient(135deg, #00e676 0%, #00b34d 100%);
  color: #03140a;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 4px 14px rgba(0, 230, 118, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}


.yt-free-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #00e676 0%, #00b34d 100%);
  color: #03140a;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

/* ── PRO CINEMA VIDEO CARD DETAILS ── */
.yt-card-details {
  display: flex;
  margin-top: 8px;
  align-items: flex-start;
  padding: 0 2px;
}

.yt-card-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.yt-card-title {
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin: 0 0 5px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}

.yt-pro-meta-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-top: 2px !important;
}

.yt-pro-cat-pill {
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  color: #d1d5db !important;
  background: rgba(255, 255, 255, 0.08) !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
}

.yt-pro-quality-pill {
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  padding: 1px 6px !important;
  border-radius: 4px !important;
  letter-spacing: 0.5px !important;
}

.yt-pro-quality-pill.red,
.yt-pro-quality-pill:not(.green) {
  color: #ff334b !important;
  background: rgba(255, 0, 51, 0.12) !important;
  border: 1px solid rgba(255, 0, 51, 0.35) !important;
}

.yt-pro-quality-pill.green {
  color: #00e676 !important;
  background: rgba(0, 230, 118, 0.12) !important;
  border: 1px solid rgba(0, 230, 118, 0.35) !important;
}

.yt-pro-year-pill {
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  color: #888888 !important;
}

.yt-pro-rating-pill {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #e5e5e5 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  margin-left: auto !important;
}

/* ═══════════════════════════════════════════════════════════════════
   5. YOUTUBE WATCH PAGE (CINEMA PLAYER & WATCH INTERFACE)
   ═══════════════════════════════════════════════════════════════════ */
#yt-watch-view {
  display: none;
  padding: 16px 24px;
  max-width: 1750px;
  margin: 0 auto;
}

#yt-watch-view.active {
  display: flex;
  gap: 24px;
}

.yt-watch-primary {
  flex: 1;
  min-width: 0;
}

.yt-watch-secondary {
  width: 400px;
  flex-shrink: 0;
}

/* ── WATCH PAGE TOP BAR & BACK BUTTON ── */
.yt-watch-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0 14px 0;
  margin-bottom: 2px;
}

.yt-watch-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #212121;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.yt-watch-back-btn:hover {
  background: #333333;
  color: var(--yt-red);
  border-color: rgba(255, 0, 0, 0.4);
}

.yt-watch-topbar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #d1d5db;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── 16:9 CINEMA PLAYER CONTAINER ── */
.yt-player-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--yt-border-radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.yt-player-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── PREVIEW POSTER + BIG PLAY BUTTON ── */
.yt-player-preview {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.yt-player-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.yt-player-preview:hover .yt-player-preview-img {
  transform: scale(1.03);
  filter: brightness(0.9);
}

.yt-player-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.yt-player-preview:hover .yt-player-play-overlay {
  background: rgba(0, 0, 0, 0.45);
}

.yt-player-big-play-btn {
  width: 68px;
  height: 48px;
  border-radius: 14px;
  background: rgba(33, 33, 33, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  padding-left: 3px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.yt-player-preview:hover .yt-player-big-play-btn {
  transform: scale(1.1);
  background: var(--yt-red);
  border-color: var(--yt-red);
  box-shadow: 0 10px 35px rgba(255, 0, 0, 0.65);
}

.yt-watch-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 10px 0 8px 0;
  line-height: 1.35;
}

/* ── ACTION BAR (CHANNEL, GET ACCESS, LIKE, COMMENTS, VIP) ── */
.yt-watch-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.yt-watch-channel-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yt-watch-channel-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.82rem;
}

.yt-watch-channel-meta h4 {
  font-size: 0.84rem;
  font-weight: 600;
  margin: 0;
  color: #fff;
  line-height: 1.2;
}

.yt-watch-channel-meta span {
  font-size: 0.72rem;
  color: var(--yt-spec-text-secondary);
}

/* GET ACCESS BUTTON (Replacing Subscribe) */
.yt-btn-get-access {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 999px !important;
  padding: 0 14px !important;
  height: 32px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  margin-left: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.35) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  letter-spacing: 0.2px !important;
}

.yt-btn-get-access:hover {
  background: linear-gradient(135deg, #ff2222 0%, #b30000 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.45) !important;
}

.yt-btn-subscribe {
  background: #ffffff !important;
  color: #0f0f0f !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 0 14px !important;
  height: 32px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  margin-left: 6px !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.yt-btn-subscribe.subscribed {
  background: #272727 !important;
  color: #fff !important;
}

.yt-watch-button-group {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 4px 0 8px 0 !important;
}

.yt-watch-button-group::-webkit-scrollbar {
  display: none !important;
}

/* Pill Like/Dislike */
.yt-like-dislike-pill {
  display: flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 999px !important;
  height: 32px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  backdrop-filter: blur(10px) !important;
  transition: all 0.15s ease !important;
}

.yt-like-dislike-pill:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}

.yt-pill-btn {
  background: transparent !important;
  border: none !important;
  color: #f1f1f1 !important;
  padding: 0 12px !important;
  height: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.15s ease, color 0.15s ease !important;
  white-space: nowrap !important;
}

.yt-pill-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

.yt-pill-btn.active {
  color: #3ea6ff !important;
}

.yt-pill-divider {
  width: 1px !important;
  height: 16px !important;
  background: rgba(255, 255, 255, 0.18) !important;
}

.yt-action-pill {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #f1f1f1 !important;
  border-radius: 999px !important;
  padding: 0 14px !important;
  height: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  backdrop-filter: blur(10px) !important;
}

.yt-action-pill:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.yt-action-pill.vip {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.35) !important;
}

.yt-action-pill.vip:hover {
  background: linear-gradient(135deg, #ff2222 0%, #b30000 100%) !important;
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.45) !important;
}

/* ── ACTIVE VIP GREEN STATE (AFTER PAYMENT) ── */
.yt-btn-get-access.active-vip {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35) !important;
}

.yt-btn-get-access.active-vip:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}

.yt-action-pill.vip.active-vip {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35) !important;
}

.yt-action-pill.vip.active-vip:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}

/* ── EXPANDABLE DESCRIPTION BOX ── */
.yt-description-box {
  background: #272727;
  border-radius: var(--yt-border-radius);
  padding: 14px 16px;
  margin-top: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.yt-description-box:hover {
  background: #333333;
}

.yt-desc-header {
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 6px;
  display: flex;
  gap: 10px;
}

.yt-desc-body {
  font-size: 0.88rem;
  color: #cfd6e4;
  line-height: 1.5;
  white-space: pre-line;
}

/* ── COMMENTS SECTION (COLLAPSIBLE & EXPANDABLE) ── */
.yt-comments-section {
  margin-top: 18px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px;
  animation: fadeIn 0.25s ease;
}

.yt-comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.yt-comments-count {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.yt-comment-input-box {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

.yt-comment-input-wrap {
  flex: 1;
}

.yt-comment-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  padding-bottom: 6px;
  transition: border-color 0.2s ease;
}

.yt-comment-textarea:focus {
  border-bottom-color: #fff;
}

.yt-comment-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.yt-btn-comment {
  background: var(--yt-blue);
  color: #0f0f0f;
  font-weight: 600;
  border: none;
  border-radius: 18px;
  padding: 6px 14px;
  font-size: 0.85rem;
  cursor: pointer;
}

/* ── UP NEXT (RELATED VIDEOS RAIL) ── */
.yt-upnext-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yt-upnext-card {
  display: flex;
  gap: 10px;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  transition: background 0.15s ease;
}

.yt-upnext-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.yt-upnext-thumb {
  width: 140px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: #222;
}

.yt-upnext-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-upnext-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.yt-upnext-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-upnext-channel {
  font-size: 0.78rem;
  color: var(--yt-spec-text-secondary);
}

.yt-upnext-views {
  font-size: 0.75rem;
  color: var(--yt-spec-text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════
   6. YOUTUBE SHORTS VIEW
   ═══════════════════════════════════════════════════════════════════ */
#yt-shorts-view {
  display: none;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

#yt-shorts-view.active {
  display: flex;
}

.yt-shorts-container {
  width: 100%;
  max-width: 420px;
  height: calc(100vh - var(--yt-header-height) - 40px);
  position: relative;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.yt-shorts-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-shorts-overlay-right {
  position: absolute;
  right: 12px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.yt-short-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(8px);
  justify-content: center;
  font-size: 1.25rem;
  transition: transform 0.15s ease;
}

.yt-short-action-btn:hover {
  transform: scale(1.1);
}

.yt-short-action-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.yt-shorts-overlay-bottom {
  position: absolute;
  left: 16px;
  bottom: 20px;
  right: 70px;
  z-index: 10;
  color: #fff;
}

.yt-shorts-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 6px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* ═══════════════════════════════════════════════════════════════════
   7. MOBILE BOTTOM NAVIGATION (YOUTUBE APP STYLE)
   ═══════════════════════════════════════════════════════════════════ */
.yt-mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: rgba(15, 15, 15, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2000;
  justify-content: space-around;
  align-items: center;
}

.yt-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: transparent;
  border: none;
  color: var(--yt-spec-text-primary);
  font-size: 0.65rem;
  font-weight: 500;
  cursor: pointer;
  flex: 1;
}

.yt-bottom-nav-item i {
  font-size: 1.15rem;
}

.yt-bottom-nav-item.active {
  color: #fff;
  font-weight: 700;
}

.yt-bottom-nav-item.active i {
  color: var(--yt-red);
}

/* ═══════════════════════════════════════════════════════════════════
   8. RESPONSIVE BREAKPOINTS (DESKTOP / TABLET / MOBILE)
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  #yt-watch-view.active {
    flex-direction: column;
  }
  .yt-watch-secondary {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .yt-sidebar {
    transform: translateX(-100%);
  }
  .yt-sidebar.open {
    transform: translateX(0);
  }
  .yt-main-content {
    margin-left: 0 !important;
    padding: 6px 4px 75px 4px !important;
  }
  .yt-mobile-bottom-nav {
    display: flex;
  }
  .yt-video-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px 6px !important;
  }
}

@media (max-width: 600px) {
  .yt-header-center {
    display: none;
  }
  .yt-header-center.mobile-active {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    background: #0f0f0f;
    padding: 0 12px;
    z-index: 2100;
  }
  .yt-watch-actions-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   9. LEGAL PROTECTION & 18+ ADULT COMPLIANCE FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.yt-legal-footer {
  margin-top: 28px;
  margin-bottom: 0;
  padding: 24px 16px calc(var(--yt-bottom-nav-height, 58px) + 34px) 16px !important;
  background: #080808;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px 16px 0 0;
  text-align: center;
  color: #888888;
}

.yt-legal-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.yt-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d1d5db;
}

.yt-badge-pill.danger-18 {
  background: rgba(255, 0, 0, 0.12);
  border-color: rgba(255, 0, 0, 0.4);
  color: #ff4d4d;
}

.yt-badge-pill.secure {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #10b981;
}

.yt-legal-disclaimer {
  max-width: 900px;
  margin: 0 auto 20px auto;
  font-size: 0.75rem;
  line-height: 1.65;
  color: #7d8590;
  text-align: justify;
  text-align-last: center;
}

.yt-legal-disclaimer strong {
  color: #e5e7eb;
}

.yt-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 20px;
  margin-bottom: 16px;
}

.yt-legal-link {
  color: #9ca3af;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.yt-legal-link:hover {
  color: var(--yt-red);
  text-decoration: underline;
}

.yt-legal-link.danger-report {
  color: #ff3b5c !important;
  background: rgba(255, 59, 92, 0.12);
  border: 1px solid rgba(255, 59, 92, 0.3);
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
}

.yt-legal-link.danger-report:hover {
  background: rgba(255, 59, 92, 0.22);
  color: #ff6b85 !important;
}

.yt-legal-copy {
  font-size: 0.72rem;
  color: #666666;
  margin-top: 14px;
  margin-bottom: 8px;
}

/* ── LEGAL MODAL DIALOG ── */
#legal-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

#legal-modal-overlay.active {
  display: flex;
}

.legal-modal-card {
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.legal-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-modal-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-modal-body {
  padding: 20px;
  overflow-y: auto;
  color: #d1d5db;
  font-size: 0.85rem;
  line-height: 1.65;
}

.legal-modal-body p {
  margin-bottom: 14px;
}

.legal-modal-body ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-modal-body li {
  margin-bottom: 6px;
}

.legal-modal-footer {
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
}

/* ═══════════════════════════════════════════════════════════════════
   10. YOUTUBE OFFLINE DOWNLOADS & WATCHLIST STYLES
   ═══════════════════════════════════════════════════════════════════ */
body.downloads-theme,
body.search-theme,
body.me-theme,
.downloads-page,
#page-downloads,
#page-watchlist,
#page-me,
#page-history {
  background: #0f0f0f !important;
  color: #ffffff !important;
}

.yt-dl-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-bottom: 20px;
}

.yt-dl-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.yt-dl-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 0, 0, 0.15);
  color: var(--yt-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.yt-dl-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.yt-dl-subtitle {
  margin: 4px 0 0 0;
  font-size: 0.78rem;
  color: #888888;
}

.yt-dl-smart-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  font-weight: 600;
  color: #d1d5db;
}

.yt-dl-empty-card {
  text-align: center;
  padding: 46px 20px;
  background: #141414;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  margin-top: 14px;
}

.yt-dl-empty-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #242424;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--yt-red);
  margin-bottom: 16px;
}

.yt-dl-empty-title {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.yt-dl-empty-sub {
  margin: 0 auto;
  max-width: 420px;
  font-size: 0.85rem;
  color: #888888;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════
   11. UNIFIED YOUTUBE MOBILE BOTTOM NAVIGATION (ALL PAGES IDENTICAL)
   ═══════════════════════════════════════════════════════════════════ */
.yt-mobile-bottom-nav,
.bottom-nav,
nav.bottom-nav,
body .bottom-nav,
body.downloads-theme .bottom-nav,
body.me-theme .bottom-nav,
body.search-theme .bottom-nav,
body.home-theme .bottom-nav {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: var(--yt-bottom-nav-height, 58px) !important;
  background: #0f0f0f !important;
  background-color: #0f0f0f !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.7) !important;
  display: flex !important;
  justify-content: space-around !important;
  align-items: center !important;
  padding: 0 4px !important;
  margin: 0 !important;
  z-index: 2000 !important;
}

.yt-mobile-bottom-nav .bn-item,
.bottom-nav .bn-item,
.bottom-nav button {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #999999 !important;
  font-size: 0.68rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  padding: 6px 0 !important;
  transition: color 0.15s ease !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.yt-mobile-bottom-nav .bn-item i,
.bottom-nav .bn-item i {
  font-size: 1.2rem !important;
  color: inherit !important;
}

.yt-mobile-bottom-nav .bn-item.active,
.bottom-nav .bn-item.active {
  color: #ffffff !important;
  font-weight: 700 !important;
  background: transparent !important;
}

.yt-mobile-bottom-nav .bn-item.active i,
.bottom-nav .bn-item.active i {
  color: var(--yt-red, #ff0000) !important;
}

.yt-mobile-bottom-nav .bn-item.active span,
.bottom-nav .bn-item.active span {
  color: #ffffff !important;
}

/* ═══════════════════════════════════════════════════════════════════
   12. YOUTUBE ACCOUNT / WEWE (ME) PAGE DARK STYLING
   ═══════════════════════════════════════════════════════════════════ */
#page-me {
  background: #0f0f0f !important;
  padding: 10px 14px 120px 14px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  min-height: calc(100vh - 56px) !important;
}

.account-header {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 20px !important;
  background: #181818 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}

.acct-avatar {
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  background: #272727 !important;
  border: 2px solid var(--yt-red) !important;
  color: var(--yt-red) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.5rem !important;
  flex-shrink: 0 !important;
}

.acct-name {
  margin: 0 !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

.acct-sub {
  font-size: 0.8rem !important;
  color: #888888 !important;
}

.acct-status {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  margin-top: 6px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #d1d5db !important;
}

.acct-status.active {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #10b981 !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

.acct-status.expired {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #ef4444 !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

.acct-stats {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
  margin-bottom: 18px !important;
}

.acct-stat {
  background: #181818 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 14px 10px !important;
  text-align: center !important;
}

.acct-stat-val {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.acct-stat-label {
  font-size: 0.7rem !important;
  color: #888888 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-top: 4px !important;
}

.acct-menu {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.acct-menu-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 18px !important;
  background: #181818 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.acct-menu-item:hover,
.acct-menu-item:active {
  background: #242424 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.ami-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem !important;
  flex-shrink: 0 !important;
  margin-right: 14px !important;
  background: #272727 !important;
  color: #ffffff !important;
}

.ami-icon.red {
  background: rgba(255, 0, 0, 0.15) !important;
  color: var(--yt-red) !important;
}

.ami-icon.cyan,
.ami-icon.blue {
  background: rgba(47, 155, 255, 0.15) !important;
  color: #2f9bff !important;
}

.ami-text {
  flex: 1 !important;
}

.ami-title {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

.ami-sub {
  font-size: 0.76rem !important;
  color: #888888 !important;
  margin-top: 2px !important;
}

.ami-arrow {
  color: #666666 !important;
  font-size: 0.9rem !important;
}

/* ═══════════════════════════════════════════════════════════════════
   13. AUTHENTIC YOUTUBE CINEMA AUTH & SIGNUP MODAL (RED & OLED DARK)
   ═══════════════════════════════════════════════════════════════════ */
#auth-modal,
.modal-sheet#auth-modal {
  background: #141414 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(255, 0, 0, 0.18) !important;
  padding: 24px 20px !important;
  max-width: 420px !important;
  width: 92% !important;
  position: relative !important;
  color: #ffffff !important;
}

.yt-modal-close {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 0.95rem !important;
  transition: all 0.2s ease !important;
  z-index: 10 !important;
}

.yt-modal-close:hover {
  background: rgba(255, 0, 0, 0.2) !important;
  border-color: var(--yt-red) !important;
  color: var(--yt-red) !important;
}

.yt-auth-icon {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.25) 0%, rgba(30, 30, 30, 0.8) 100%) !important;
  border: 2px solid var(--yt-red) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.6rem !important;
  margin: 0 auto 12px auto !important;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.4) !important;
}

#auth-modal-title {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  text-align: center !important;
  margin: 0 0 6px 0 !important;
}

#auth-modal .modal-subtitle {
  color: #aaaaaa !important;
  font-size: 0.82rem !important;
  text-align: center !important;
  line-height: 1.5 !important;
  margin: 0 auto 18px auto !important;
  max-width: 320px !important;
}

.yt-auth-input {
  width: 100% !important;
  box-sizing: border-box !important;
  background: #1c1c1c !important;
  border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  padding: 13px 16px !important;
  font-size: 0.95rem !important;
  color: #ffffff !important;
  transition: all 0.2s ease !important;
  outline: none !important;
}

.yt-auth-input::placeholder {
  color: #666666 !important;
}

.yt-auth-input:focus {
  border-color: var(--yt-red) !important;
  background: #222222 !important;
  box-shadow: 0 0 16px rgba(255, 0, 0, 0.3) !important;
}

.yt-auth-submit-btn {
  width: 100% !important;
  height: 48px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%) !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.45) !important;
  margin-top: 14px !important;
  transition: all 0.2s ease !important;
}

.yt-auth-submit-btn:hover {
  background: linear-gradient(135deg, #ff2222 0%, #e60000 100%) !important;
  box-shadow: 0 8px 28px rgba(255, 0, 0, 0.65) !important;
  transform: translateY(-1px) !important;
}

.yt-auth-submit-btn:active {
  transform: translateY(1px) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   14. VIP AUTH SUCCESS CELEBRATION MODAL & PASS CARD
   ═══════════════════════════════════════════════════════════════════ */
#auth-success-modal,
.modal-sheet#auth-success-modal {
  background: #121212 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 26px !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.95), 0 0 50px rgba(255, 0, 0, 0.25) !important;
  max-width: 420px !important;
  width: 92% !important;
  position: relative !important;
  overflow: hidden !important;
}

.yt-success-badge-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.yt-success-glow-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.25) 0%, rgba(20, 20, 20, 0.9) 100%);
  border: 2px solid #00e676;
  color: #00e676;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(0, 230, 118, 0.45);
  animation: pulse-success 2s infinite ease-in-out;
}

@keyframes pulse-success {
  0%, 100% { transform: scale(1); box-shadow: 0 0 25px rgba(0, 230, 118, 0.4); }
  50% { transform: scale(1.06); box-shadow: 0 0 35px rgba(0, 230, 118, 0.65); }
}

.yt-success-confetti-emoji {
  position: absolute;
  top: -6px;
  right: -8px;
  font-size: 1.5rem;
  animation: bounce-confetti 1.5s infinite;
}

@keyframes bounce-confetti {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(15deg); }
}

.yt-success-title {
  font-size: 1.45rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  margin: 0 0 6px 0 !important;
}

.yt-success-subtitle {
  color: #aaaaaa !important;
  font-size: 0.85rem !important;
  line-height: 1.5 !important;
  margin: 0 auto 16px auto !important;
  max-width: 320px !important;
}

/* VIP Member Pass Card */
.yt-vip-pass-card {
  background: linear-gradient(145deg, #1e1e1e 0%, #171717 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 18px !important;
  padding: 16px 14px !important;
  text-align: left !important;
  position: relative !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

.yt-vip-pass-top {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.yt-vip-avatar {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  background: #282828 !important;
  border: 2px solid var(--yt-red) !important;
  color: var(--yt-red) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  flex-shrink: 0 !important;
}

.yt-vip-meta {
  flex: 1 !important;
}

.yt-vip-name {
  margin: 0 !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.yt-vip-phone {
  font-size: 0.76rem !important;
  color: #888888 !important;
}

.yt-vip-badge-pill {
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  padding: 3px 9px !important;
  border-radius: 99px !important;
  background: rgba(0, 230, 118, 0.15) !important;
  color: #00e676 !important;
  border: 1px solid rgba(0, 230, 118, 0.3) !important;
}

.yt-vip-pass-perks {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  margin-top: 12px !important;
}

.yt-perk-item {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.78rem !important;
  color: #d1d5db !important;
}

.yt-perk-item i {
  color: var(--yt-red) !important;
  font-size: 0.82rem !important;
  width: 16px !important;
  text-align: center !important;
}

/* ═══════════════════════════════════════════════════════════════════
   15. LOGOUT CONFIRMATION MODAL & AUTH STATUS INDICATORS
   ═══════════════════════════════════════════════════════════════════ */
#logout-confirm-modal,
.modal-sheet#logout-confirm-modal {
  background: #141414 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 40px rgba(255, 68, 102, 0.2) !important;
  max-width: 380px !important;
  width: 90% !important;
  position: relative !important;
}

.yt-logout-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 68, 102, 0.25) 0%, rgba(20, 20, 20, 0.9) 100%);
  border: 2px solid #ff4466;
  color: #ff4466;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
  box-shadow: 0 0 25px rgba(255, 68, 102, 0.4);
}

.yt-logout-title {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 8px 0 !important;
}

.yt-logout-msg {
  font-size: 0.86rem !important;
  color: #aaaaaa !important;
  line-height: 1.5 !important;
  margin: 0 auto 20px auto !important;
  max-width: 310px !important;
}

.yt-logout-btns-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}

.yt-logout-btn-no {
  height: 44px !important;
  border-radius: 12px !important;
  background: #242424 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: all 0.15s ease !important;
}

.yt-logout-btn-no:hover {
  background: #2f2f2f !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.yt-logout-btn-yes {
  height: 44px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #ff4466 0%, #cc0033 100%) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.88rem !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  box-shadow: 0 4px 16px rgba(255, 68, 102, 0.4) !important;
  transition: all 0.15s ease !important;
}

.yt-logout-btn-yes:hover {
  background: linear-gradient(135deg, #ff5577 0%, #e60039 100%) !important;
  box-shadow: 0 6px 22px rgba(255, 68, 102, 0.6) !important;
  transform: translateY(-1px) !important;
}

.yt-logout-btn-yes:active {
  transform: translateY(1px) !important;
}

/* Green & Red Status Helpers */
.ami-icon.green {
  background: rgba(0, 230, 118, 0.15) !important;
  color: #00e676 !important;
  border: 1px solid rgba(0, 230, 118, 0.3) !important;
}

.ami-icon.red {
  background: rgba(255, 68, 102, 0.15) !important;
  color: #ff4466 !important;
  border: 1px solid rgba(255, 68, 102, 0.3) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   16. REDESIGNED COMPACT PACKAGES / VIFURUSHI POPUP (RED & OLED DARK)
   ═══════════════════════════════════════════════════════════════════ */
#pay-overlay {
  display: none;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(0, 0, 0, 0.88) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  z-index: 2200 !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 24px 12px 70px 12px !important;
  box-sizing: border-box !important;
  align-items: center !important;
  justify-content: center !important;
}

#pay-overlay.active {
  display: flex !important;
}

#pay-modal,
.modal-sheet.modal-packages,
.modal-sheet#pay-modal {
  background: #141414 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.95), 0 0 45px rgba(255, 0, 0, 0.22) !important;
  max-width: 440px !important;
  width: 100% !important;
  margin: auto !important;
  padding: 22px 16px 28px 16px !important;
  position: relative !important;
  color: #ffffff !important;
  max-height: 86vh !important;
  max-height: 86dvh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin !important;
}

#pay-modal::-webkit-scrollbar {
  width: 5px !important;
}

#pay-modal::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25) !important;
  border-radius: 4px !important;
}

#pay-modal .modal-body {
  padding: 0 !important;
  overflow: visible !important;
}

#pay-modal .modal-close-btn {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: #222222 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 10 !important;
  transition: all 0.15s ease !important;
}

#pay-modal .modal-close-btn:hover {
  background: #333333 !important;
  color: #ff4466 !important;
}

.packages-header {
  text-align: center !important;
  margin-bottom: 14px !important;
}

.packages-header .ph-icon {
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.25) 0%, rgba(30, 30, 30, 0.9) 100%) !important;
  border: 2px solid var(--yt-red) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.6rem !important;
  margin: 0 auto 8px auto !important;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.45) !important;
}

.packages-header .ph-icon i {
  color: #ffb703 !important;
  filter: drop-shadow(0 0 8px rgba(255, 183, 3, 0.6)) !important;
}

.packages-header .ph-title {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 4px 0 !important;
}

.packages-header .ph-subtitle {
  font-size: 0.8rem !important;
  color: #aaaaaa !important;
  margin: 0 !important;
}

.packages-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 0 0;
}

.packages-grid.hidden,
#packages-grid.hidden,
#package-payment-step.hidden,
#pay-verify-wrap.hidden {
  display: none !important;
}

/* Compact Package Card */
.pcard {
  background: #1c1c1c !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  cursor: pointer !important;
  position: relative !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
}

.pcard:hover {
  background: #242424 !important;
  border-color: rgba(255, 0, 0, 0.4) !important;
  transform: translateY(-2px) !important;
}

.pcard.featured {
  background: linear-gradient(145deg, #221417 0%, #1a1517 100%) !important;
  border: 1.5px solid var(--yt-red) !important;
  box-shadow: 0 6px 22px rgba(255, 0, 0, 0.25) !important;
}

.pcard-top-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.pcard-badge {
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  letter-spacing: 0.4px !important;
}

.pcard-badge.popular {
  background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.4) !important;
}

.pcard-badge.standard {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #cccccc !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.pcard-badge.upgrade {
  background: rgba(0, 230, 118, 0.18) !important;
  color: #00e676 !important;
  border: 1px solid rgba(0, 230, 118, 0.35) !important;
}

.pcard-duration-tag {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: var(--gold-bright, #f59e0b) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.pcard-main-info {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.pcard-title {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
}

.pcard-sub {
  font-size: 0.74rem !important;
  color: #888888 !important;
  margin: 2px 0 0 0 !important;
}

.pcard-price-block {
  text-align: right !important;
}

.pcard-price {
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
}

.pcard-currency {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: var(--gold-bright, #f59e0b) !important;
  margin-left: 3px !important;
}

.pcard-feats {
  list-style: none !important;
  padding: 0 !important;
  margin: 2px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.pcard-feat {
  font-size: 0.75rem !important;
  color: #cccccc !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.pcard-feat i {
  color: var(--yt-red, #ff0000) !important;
  font-size: 0.75rem !important;
}

.pcard-cta {
  width: 100% !important;
  height: 38px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  margin-top: 4px !important;
  transition: all 0.15s ease !important;
}

.pcard-cta.cta-filled,
.pcard:hover .pcard-cta {
  background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.4) !important;
}

/* Payment Step 2 Summary & Button */
.selected-package-summary {
  background: #1c1c1c !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
}

.sps-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.25) 0%, rgba(30, 30, 30, 0.9) 100%) !important;
  border: 1.5px solid var(--yt-red) !important;
  color: var(--gold-bright, #f59e0b) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.3rem !important;
  flex-shrink: 0 !important;
}

.sps-info h4 {
  margin: 0 !important;
  font-size: 0.95rem !important;
  color: #ffffff !important;
  font-weight: 800 !important;
}

.sps-info p {
  margin: 2px 0 0 0 !important;
  font-size: 0.74rem !important;
  color: #888888 !important;
}

.sps-price {
  margin-left: auto !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  color: var(--gold-bright, #f59e0b) !important;
}

.btn-premium-pay {
  background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%) !important;
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.45) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  height: 48px !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  margin-top: 14px !important;
  transition: all 0.2s ease !important;
}

.btn-premium-pay:hover {
  background: linear-gradient(135deg, #ff1a38 0%, #d6001c 100%) !important;
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.6) !important;
  transform: translateY(-1px) !important;
}

#package-payment-step {
  animation: fadeIn 0.25s ease-out !important;
}

#package-payment-step .form-group {
  margin-bottom: 14px !important;
  text-align: left !important;
}

#package-payment-step .premium-label {
  display: block !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 8px !important;
}

#package-payment-step .premium-input,
#package-payment-step #pay-phone {
  width: 100% !important;
  height: 48px !important;
  background: #1f1f1f !important;
  border: 1.5px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  padding: 0 14px !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

#package-payment-step #pay-phone:focus {
  border-color: var(--yt-red) !important;
  box-shadow: 0 0 16px rgba(255, 0, 0, 0.35) !important;
  background: #242424 !important;
}

#package-payment-step .payment-methods-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-top: 10px !important;
}

#package-payment-step .pm-badge {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #cccccc !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
}

#package-payment-step .btn-ghost {
  width: 100% !important;
  height: 40px !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 10px !important;
  color: #aaaaaa !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  margin-top: 10px !important;
}

#package-payment-step .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

#package-payment-step .trust-badges {
  display: flex !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-top: 16px !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

#package-payment-step .trust-item {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #888888 !important;
  font-size: 0.74rem !important;
}

#package-payment-step .trust-item i {
  color: #00e676 !important;
}

/* ═══════════════════════════════════════════════════════════════════
   17. COMPACT LIVE PAYMENT VERIFICATION POPUP (ZERO-SCROLL OLED)
   ═══════════════════════════════════════════════════════════════════ */
#pay-verify-wrap {
  text-align: center !important;
  padding: 10px 4px 6px 4px !important;
  animation: fadeIn 0.3s ease-out !important;
}

.yt-pay-radar-wrap {
  position: relative !important;
  width: 76px !important;
  height: 76px !important;
  margin: 0 auto 14px auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.yt-pay-radar-ring {
  position: absolute !important;
  inset: -8px !important;
  border-radius: 50% !important;
  border: 2px solid #ff0000 !important;
  opacity: 0.8 !important;
  animation: ytRadarPulse 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite !important;
}

.yt-pay-radar-ring.delay {
  animation-delay: 0.75s !important;
}

@keyframes ytRadarPulse {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.yt-pay-radar-icon {
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.35) 0%, rgba(20, 20, 20, 0.95) 100%) !important;
  border: 2px solid var(--yt-red) !important;
  color: #ffffff !important;
  font-size: 1.6rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.55) !important;
  z-index: 2 !important;
}

.yt-verify-title {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 6px 0 !important;
  letter-spacing: -0.2px !important;
}

.yt-verify-sub {
  font-size: 0.82rem !important;
  color: #aaaaaa !important;
  line-height: 1.45 !important;
  margin: 0 auto 14px auto !important;
  max-width: 320px !important;
}

.yt-verify-meta-row {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}

.yt-verify-badge-net {
  background: rgba(255, 0, 0, 0.12) !important;
  border: 1px solid rgba(255, 0, 0, 0.3) !important;
  color: #ff4466 !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  padding: 5px 12px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.yt-verify-timer-pill {
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  color: var(--gold-bright, #f59e0b) !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  padding: 5px 12px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.yt-verify-tip-pill {
  background: #1c1c1c !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  padding: 8px 12px !important;
  color: #cccccc !important;
  font-size: 0.75rem !important;
  line-height: 1.35 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-bottom: 14px !important;
}

.yt-verify-cancel-btn {
  height: 38px !important;
  border-radius: 10px !important;
  background: #222222 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #aaaaaa !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  padding: 0 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.yt-verify-cancel-btn:hover {
  background: #2a2a2a !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   18. PRO YOUTUBE PLAYER AUTO-HIDE CONTROLS & WATCH PROGRESS
   ═══════════════════════════════════════════════════════════════════ */
.yt-speed-control-pill {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  background: rgba(15, 15, 15, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  border-radius: 24px !important;
  padding: 4px 10px !important;
  display: flex !important;
  gap: 6px !important;
  font-size: 0.76rem !important;
  z-index: 25 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.yt-speed-control-pill button {
  background: transparent !important;
  border: none !important;
  color: #aaaaaa !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  padding: 3px 6px !important;
  border-radius: 12px !important;
  transition: all 0.15s ease !important;
}

.yt-speed-control-pill button:hover,
.yt-speed-control-pill button.active {
  color: #ffffff !important;
  background: rgba(255, 0, 0, 0.85) !important;
  font-weight: 800 !important;
}

.yt-controls-hidden {
  opacity: 0 !important;
  transform: translateY(-8px) scale(0.96) !important;
  pointer-events: none !important;
}

.yt-controls-visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}

/* Watch Progress Track on Thumbnails */
.yt-thumb-progress-track {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 4px !important;
  background: rgba(255, 255, 255, 0.25) !important;
  z-index: 8 !important;
  overflow: hidden !important;
}

.yt-thumb-progress-fill {
  height: 100% !important;
  background: var(--yt-red) !important;
  border-radius: 0 2px 2px 0 !important;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.7) !important;
  transition: width 0.2s ease !important;
}

/* ============================================================
   19. HEADER VIP COUNTDOWN BADGE & DETAILS SHEET
   ============================================================ */

/* Non-VIP Get VIP Header Button */
/* Live VIP Countdown Box in Header (Always Visible) */
.yt-vip-timer-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 5px 12px !important;
  background: linear-gradient(135deg, rgba(26, 30, 36, 0.95), rgba(16, 18, 22, 0.95)) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 99px !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  user-select: none !important;
  position: relative !important;
}

.yt-vip-timer-badge:hover {
  border-color: rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-1px) !important;
}

.yt-vip-timer-badge:active {
  transform: scale(0.97) !important;
}

/* Active VIP State */
.yt-vip-timer-badge.active-vip {
  background: linear-gradient(135deg, rgba(16, 32, 22, 0.95), rgba(8, 18, 12, 0.95)) !important;
  border-color: rgba(0, 230, 118, 0.5) !important;
  box-shadow: 0 0 18px rgba(0, 230, 118, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.yt-vip-timer-badge.active-vip:hover {
  border-color: rgba(0, 230, 118, 0.85) !important;
  box-shadow: 0 0 24px rgba(0, 230, 118, 0.4) !important;
}

.yt-vtb-icon {
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #000000 !important;
  font-size: 0.75rem !important;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.3) !important;
  flex-shrink: 0 !important;
}

.yt-vip-timer-badge.active-vip .yt-vtb-icon {
  background: linear-gradient(135deg, #00e676, #00b34d) !important;
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.5) !important;
  animation: vipPulseCrown 2s infinite ease-in-out !important;
}

@keyframes vipPulseCrown {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.yt-vtb-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  line-height: 1.15 !important;
}

.yt-vtb-title {
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  color: #f59e0b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.yt-vip-timer-badge.active-vip .yt-vtb-title {
  color: #00e676 !important;
}

.yt-vtb-timer {
  font-size: 0.8rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  letter-spacing: 0.3px !important;
  font-variant-numeric: tabular-nums !important;
}

/* VIP Details Overlay Modal */
#vip-details-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  animation: vipFadeIn 0.25s ease-out !important;
}

#vip-details-overlay.active {
  display: flex !important;
}

@keyframes vipFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.vip-details-card {
  width: 100% !important;
  max-width: 440px !important;
  background: linear-gradient(170deg, #161a1f 0%, #0d0f12 100%) !important;
  border: 1px solid rgba(0, 230, 118, 0.3) !important;
  border-radius: 24px !important;
  padding: 24px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 230, 118, 0.15) !important;
  position: relative !important;
  animation: vipCardSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes vipCardSlideUp {
  from { transform: translateY(20px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.vip-details-close {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: none !important;
  color: #cfd6e4 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 0.9rem !important;
  transition: all 0.15s ease !important;
}

.vip-details-close:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

.vip-details-header {
  text-align: center !important;
  margin-bottom: 20px !important;
}

.vip-card-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 16px !important;
  background: rgba(0, 230, 118, 0.12) !important;
  border: 1px solid rgba(0, 230, 118, 0.4) !important;
  border-radius: 99px !important;
  color: #00e676 !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  margin-bottom: 10px !important;
}

.vip-card-title {
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  margin: 0 0 4px 0 !important;
}

.vip-card-sub {
  color: #9aa4b2 !important;
  font-size: 0.82rem !important;
  margin: 0 !important;
}

/* Digital Countdown Grid */
.vip-clock-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 8px !important;
  margin: 20px 0 !important;
}

.vip-clock-box {
  background: rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 12px 6px !important;
  text-align: center !important;
}

.vip-clock-num {
  font-size: 1.45rem !important;
  font-weight: 900 !important;
  color: #00e676 !important;
  font-variant-numeric: tabular-nums !important;
  line-height: 1 !important;
  margin-bottom: 4px !important;
}

.vip-clock-lbl {
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  color: #8892b0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* Benefit items */
.vip-benefit-list {
  background: rgba(0, 0, 0, 0.25) !important;
  border-radius: 14px !important;
  padding: 14px !important;
  margin-bottom: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.vip-benefit-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 0.82rem !important;
  color: #e2e8f0 !important;
  padding: 6px 0 !important;
}

.vip-benefit-item i {
  color: #00e676 !important;
  font-size: 0.9rem !important;
}

/* Action Buttons */
.vip-card-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.btn-vip-extend {
  width: 100% !important;
  padding: 12px 18px !important;
  background: linear-gradient(135deg, var(--yt-red) 0%, #b71c1c 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 16px rgba(255, 0, 0, 0.35) !important;
  transition: all 0.2s ease !important;
}

.btn-vip-extend:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5) !important;
}

.btn-vip-whatsapp {
  width: 100% !important;
  padding: 10px 18px !important;
  background: rgba(37, 211, 102, 0.12) !important;
  border: 1px solid rgba(37, 211, 102, 0.3) !important;
  border-radius: 12px !important;
  color: #25d366 !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.btn-vip-whatsapp:hover {
  background: rgba(37, 211, 102, 0.22) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   WATCH HISTORY (7 DAYS) & TAB SWITCHER STYLES
   ═══════════════════════════════════════════════════════════════════ */
.yt-history-info-badge {
  display: flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-left: 3px solid var(--yt-red) !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: 0.82rem !important;
  color: var(--yt-spec-text-secondary) !important;
  line-height: 1.45 !important;
  margin-bottom: 18px !important;
}

.yt-history-info-badge strong {
  color: #fff !important;
}

.yt-history-card-wrap {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
}

.yt-history-remove-btn {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.75rem !important;
  cursor: pointer !important;
  z-index: 5 !important;
  opacity: 0.8 !important;
  transition: all 0.2s ease !important;
}

.yt-history-remove-btn:hover {
  opacity: 1 !important;
  background: var(--yt-red) !important;
  border-color: var(--yt-red) !important;
  transform: scale(1.1) !important;
}

.yt-history-time-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 0.72rem !important;
  color: #3ea6ff !important;
  background: rgba(62, 166, 255, 0.1) !important;
  border: 1px solid rgba(62, 166, 255, 0.2) !important;
  padding: 2px 7px !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
}

.history-tab-switcher .cat-tab {
  border-radius: 18px !important;
  font-size: 0.82rem !important;
  padding: 6px 16px !important;
  transition: all 0.2s ease !important;
}

.history-tab-switcher .cat-tab.active {
  background: #fff !important;
  color: #0f0f0f !important;
  font-weight: 700 !important;
}

/* ═══════════════════════════════════════════════════════════════════
   20. MOBILE RESPONSIVE POLISH (SMARTPHONE TAILORING)
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  /* Compact & Sleek VIP Countdown Badge on Mobile */
  .yt-vip-timer-badge {
    padding: 3px 8px !important;
    gap: 6px !important;
    max-height: 32px !important;
    border-radius: 99px !important;
    max-width: 140px !important;
  }
  .yt-vtb-icon {
    width: 20px !important;
    height: 20px !important;
    font-size: 0.65rem !important;
  }
  .yt-vtb-title {
    display: none !important; /* Hide tiny subtitle on mobile to prevent stretching */
  }
  .yt-vtb-timer {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }

  /* Section Title Spacing & Clean Top Header Clearance */
  .tzc-home {
    padding-top: 18px !important;
  }

  #sec-trending {
    margin-top: 8px !important;
    padding-top: 18px !important;
    margin-bottom: 24px !important;
    scroll-margin-top: 110px !important;
  }

  .tzc-section {
    margin-bottom: 24px !important;
    scroll-margin-top: 110px !important;
  }

  .tzc-section-hd {
    margin-top: 4px !important;
    margin-bottom: 14px !important;
    padding: 0 4px !important;
  }

  .tzc-section-title {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.2px !important;
  }

  /* Touch Scroll Smoothness without Accidental Clicks */
  .h-scroll,
  .yt-chips-bar,
  .movies-scroll {
    touch-action: pan-x pan-y !important;
    overscroll-behavior-x: contain !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* Compact Posters on Mobile */
  .poster-card {
    min-width: 150px !important;
    max-width: 160px !important;
  }

  .p-title {
    font-size: 0.84rem !important;
    line-height: 1.25 !important;
  }
}


