/* Punjabi Mania video experience: hub, playlists, watch pages and entity video states. */
.pm-video-experience {
  --pm-video-accent: #ed1e24;
  --pm-video-ink: var(--pm-text, #17181b);
  --pm-video-muted: var(--pm-text-muted, #69717d);
  --pm-video-surface: var(--pm-surface, #fff);
  --pm-video-border: var(--pm-border, rgba(17, 24, 39, 0.12));
}

.pm-video-hub-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin: 8px 0 24px;
}
.pm-video-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: var(--pm-video-accent);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pm-video-hub-intro h1 {
  margin: 0;
  color: var(--pm-video-ink);
  font: 900 clamp(2rem, 4vw, 3.15rem)/1.02 var(--font-heading, Montserrat, sans-serif);
  letter-spacing: -.045em;
}
.pm-video-hub-intro p {
  max-width: 670px;
  margin: 10px 0 0;
  color: var(--pm-video-muted);
  font-size: .98rem;
  line-height: 1.55;
}
.pm-video-hub-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.pm-video-youtube-link,
.pm-video-primary-action,
.pm-video-secondary-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid var(--pm-video-border);
  border-radius: 12px;
  background: var(--pm-video-surface);
  color: var(--pm-video-ink);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.pm-video-youtube-link:hover,
.pm-video-secondary-action:hover { transform: translateY(-2px); border-color: var(--pm-video-accent); color: var(--pm-video-ink); }
.pm-video-youtube-link .material-symbols-outlined { color: var(--pm-video-accent); }
.pm-video-primary-action {
  border-color: var(--pm-video-accent);
  background: var(--pm-video-accent);
  color: #fff;
}
.pm-video-primary-action:hover { transform: translateY(-2px); color: #fff; background: #c9141a; }

.pm-video-experience .video-watch-hero { margin-bottom: 32px; border-radius: 20px; }
.pm-video-experience .video-watch-hero-overlay { min-height: 390px; padding: 34px 40px; gap: 38px; }
.pm-video-experience .video-watch-hero-left h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.16;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pm-video-experience .video-watch-hero-right { width: min(390px, 39%); }

.pm-video-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.pm-video-section-heading h2 { margin: 0; color: var(--pm-video-ink); }
.pm-video-section-heading p { margin: 5px 0 0; color: var(--pm-video-muted); font-size: .82rem; }
.pm-video-rail-controls { display: flex; gap: 8px; }
.pm-video-rail-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--pm-video-border);
  border-radius: 50%;
  background: var(--pm-video-surface);
  color: var(--pm-video-ink);
  cursor: pointer;
}
.pm-video-rail-button:hover { border-color: var(--pm-video-accent); color: var(--pm-video-accent); }
.pm-video-experience .playlist-show-carousel { gap: 18px; padding: 6px 2px 20px; scroll-snap-type: x proximity; }
.pm-video-experience .show-avatar-card { flex-basis: 124px; width: 124px; scroll-snap-align: start; }
.pm-video-experience .show-avatar-card .circle-wrapper { width: 92px; height: 92px; }
.pm-video-show-count { margin-top: 2px; color: var(--pm-video-muted); font-size: .68rem; font-weight: 700; }

.pm-video-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 10px;
  border: 1px solid var(--pm-video-border);
  border-radius: 16px;
  background: var(--pm-video-surface);
}
.pm-video-search-field { position: relative; flex: 1; min-width: 0; }
.pm-video-search-field .material-symbols-outlined {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pm-video-muted);
  font-size: 20px;
  pointer-events: none;
}
.pm-video-search-field input,
.pm-video-toolbar select {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid var(--pm-video-border);
  border-radius: 11px;
  background: var(--pm-bg, #f7f7f8);
  color: var(--pm-video-ink);
  font: 650 .86rem/1 var(--font-body, system-ui, sans-serif);
}
.pm-video-search-field input { padding: 0 14px 0 41px; }
.pm-video-toolbar select { width: auto; min-width: 140px; padding: 0 34px 0 12px; }
.pm-video-toolbar button { min-height: 44px; border-radius: 11px; }
.pm-video-toolbar-clear { color: var(--pm-video-muted); font-size: .78rem; font-weight: 750; text-decoration: none; padding: 8px; }
.pm-video-toolbar-clear:hover { color: var(--pm-video-accent); }

.pm-video-experience .video-card-premium { min-width: 0; }
.pm-video-experience .video-thumbnail-wrapper { border-radius: 13px; }
.pm-video-experience .video-info-premium .video-title { min-height: 2.7em; }
.pm-video-experience .play-button-overlay { opacity: 1; background: linear-gradient(to top, rgba(0,0,0,.4), transparent 58%); backdrop-filter: none; }
.pm-video-experience .play-button-glass-circle { width: 44px; height: 44px; opacity: .94; transform: scale(.88); }
.pm-video-experience .video-card-premium:hover .play-button-glass-circle { transform: scale(1); background: var(--pm-video-accent); border-color: var(--pm-video-accent); }

.pm-video-pagination { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 42px 0 20px; }
.pm-video-pagination a,
.pm-video-pagination span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 15px;
  border: 1px solid var(--pm-video-border);
  border-radius: 11px;
  background: var(--pm-video-surface);
  color: var(--pm-video-ink);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}
.pm-video-pagination a:hover { border-color: var(--pm-video-accent); color: var(--pm-video-accent); }
.pm-video-pagination .is-current { background: var(--pm-video-accent); border-color: var(--pm-video-accent); color: #fff; }

.pm-video-playlist-hero { padding: 34px; gap: 30px; }
.pm-video-playlist-hero .playlist-hero-cover { width: 132px; height: 132px; }
.pm-video-playlist-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.pm-video-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #dbe3ee;
  font-size: .75rem;
  font-weight: 750;
}
.pm-video-playlist-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.pm-video-playlist-actions .pm-video-secondary-action { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; }
.pm-video-results-summary { margin: -9px 0 19px; color: var(--pm-video-muted); font-size: .78rem; font-weight: 650; }

.pm-video-watch-shell .playlist-grid-layout { align-items: flex-start; }
.pm-video-watch-shell .theater-player-container { margin-bottom: 18px; border-radius: 18px; }
.pm-video-details-card { padding: 25px !important; }
.pm-video-title {
  margin: 0 0 13px;
  color: var(--pm-video-ink);
  font: 900 clamp(1.35rem, 2.5vw, 1.9rem)/1.23 var(--font-heading, Montserrat, sans-serif);
  letter-spacing: -.025em;
}
.pm-video-meta-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--pm-video-border);
}
.pm-video-published { display: inline-flex; align-items: center; gap: 7px; color: var(--pm-video-muted); font-size: .8rem; font-weight: 700; }
.pm-video-published .material-symbols-outlined { color: var(--pm-video-accent); font-size: 18px; }
.pm-video-actions { display: flex; gap: 8px; }
.pm-video-actions .pm-action-button { min-height: 40px; padding: 0 13px; box-shadow: none; }
.pm-video-description {
  position: relative;
  max-height: 182px;
  overflow: hidden;
  color: var(--pm-video-ink);
  font-size: .93rem;
  line-height: 1.7;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.pm-video-description:not(.is-expanded)::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 72px;
  background: linear-gradient(transparent, var(--pm-video-surface));
  pointer-events: none;
}
.pm-video-description.is-expanded { max-height: none; }
.pm-video-description.is-expanded::after { display: none; }
.pm-video-description-toggle {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pm-video-accent);
  font-size: .8rem;
  font-weight: 800;
  cursor: pointer;
}
.pm-video-description-toggle[aria-expanded="true"] .material-symbols-outlined { transform: rotate(180deg); }
.pm-video-experience .pm-video-subscribe-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border-radius: 10px;
  background: #fff;
  color: #111827 !important;
  font-size: .8rem;
  font-weight: 850;
  text-decoration: none;
}
.pm-video-experience .pm-video-subscribe-link:hover { color: #ed1e24 !important; transform: translateY(-1px); }

.pm-video-empty {
  min-height: 250px;
  display: grid;
  place-items: center;
  padding: 36px 22px;
  border: 1px dashed var(--pm-border);
  border-radius: 18px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--pm-surface) 92%, transparent), color-mix(in srgb, #ed1e24 3%, var(--pm-bg)));
  text-align: center;
}
.pm-video-empty-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 13px;
  border-radius: 18px;
  background: color-mix(in srgb, #ed1e24 10%, var(--pm-surface));
  color: #ed1e24;
}
.pm-video-empty h3 { margin: 0 0 7px; color: var(--pm-text); font-size: 1.15rem; }
.pm-video-empty p { max-width: 460px; margin: 0 auto 17px; color: var(--pm-text-muted); line-height: 1.55; }

@media (max-width: 992px) {
  .pm-video-experience .video-watch-hero-overlay { min-height: 0; padding: 28px; gap: 24px; }
  .pm-video-experience .video-watch-hero-right { width: 100%; }
  .pm-video-meta-actions { align-items: flex-start; }
  .pm-video-watch-shell .theater-player-container.sticky-pip { bottom: 84px; }
}

@media (max-width: 680px) {
  .pm-video-hub-intro { align-items: flex-start; flex-direction: column; margin-top: 0; }
  .pm-video-hub-intro h1 { font-size: 2rem; }
  .pm-video-hub-actions { width: 100%; flex-direction: column; }
  .pm-video-hub-actions > * { width: 100%; }
  .pm-video-experience .video-watch-hero { border-radius: 16px; }
  .pm-video-experience .video-watch-hero-overlay { padding: 18px; }
  .pm-video-experience .video-watch-hero-left h2 { font-size: 1.42rem; -webkit-line-clamp: 2; }
  .pm-video-experience .video-watch-hero-left p { display: none; }
  .pm-video-experience .video-watch-hero-left .btn-play-cta { min-height: 46px; }
  .pm-video-section-heading { align-items: center; }
  .pm-video-toolbar { align-items: stretch; flex-direction: column; }
  .pm-video-toolbar select { width: 100%; }
  .pm-video-toolbar .pm-video-primary-action { width: 100%; }
  .pm-video-playlist-hero { padding: 24px 20px; }
  .pm-video-playlist-hero .playlist-hero-cover { width: 88px; height: 88px; }
  .pm-video-playlist-actions > * { flex: 1; }
  .pm-video-meta-actions { align-items: stretch; flex-direction: column; }
  .pm-video-actions { width: 100%; }
  .pm-video-actions .pm-action-button { flex: 1; }
  .pm-video-details-card { padding: 19px !important; }
  .pm-video-watch-shell .video-watch-tabs { position: sticky; top: 65px; z-index: 25; padding: 8px 0 11px; background: var(--pm-bg); }
  .pm-video-pagination .pm-video-page-count { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pm-video-experience *, .pm-video-experience *::before, .pm-video-experience *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
