/* Video page layout */
.vs-video-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.35rem;
  align-items: stretch;
}

.vs-video-page__main { min-width: 0; }

.vs-video-player {
  background: var(--zp-bg-card);
  border: 1px solid var(--zp-border);
  border-radius: var(--zp-radius);
  overflow: hidden;
  box-shadow: var(--zp-shadow-soft);
}

.vs-video-player__wrap {
  position: relative;
  width: 100%;
  background: #000;
  aspect-ratio: 16 / 9;
}

.vs-video-player__wrap .vs-video-player__iframe,
.vs-video-player__wrap .vs-video-player__video,
.vs-video-player__wrap .vs-video-player__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vs-video-player__video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.vs-video-player__poster {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  height: 100%;
  min-height: 280px;
  color: var(--zp-text-muted);
  background: var(--zp-bg-elevated);
}

.vs-video-player__poster img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.vs-video-player__poster i {
  font-size: 3rem;
  color: var(--zp-primary);
}

.vs-video-controlbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--zp-border);
  flex-wrap: wrap;
}

.vs-video-controlbar__left {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-width: 0;
  flex: 1;
}

.vs-video-controlbar__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vs-video-controlbar__views {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: var(--zp-text-muted);
  font-size: .85rem;
}

.vs-video-controlbar__views i { color: var(--zp-accent-light); }

.vs-video-controlbar__right {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

/* Like / dislike */
.zp-reactions {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--zp-border);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.zp-reactions--pill {
  border-radius: 999px;
}

.zp-reaction-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-width: 4.5rem;
  padding: .6rem 1rem;
  border: 0;
  background: transparent;
  color: var(--zp-text-muted);
  font-size: .84rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}

.zp-reaction-btn i {
  font-size: .95rem;
}

.zp-reaction-btn:hover {
  background: var(--zp-hover-bg);
  color: var(--zp-text);
}

.zp-reaction-btn:active {
  transform: scale(0.97);
}

.zp-reaction-btn.is-active {
  color: #fff;
}

.js-reaction-like.is-active {
  background: linear-gradient(135deg, #34d399, #059669);
}

.js-reaction-dislike.is-active {
  background: linear-gradient(135deg, #f87171, #dc2626);
}

.zp-reactions__divider {
  width: 1px;
  align-self: stretch;
  background: var(--zp-border);
}

.vs-video-page__category-box {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  background: var(--zp-bg-card);
  border: 1px solid var(--zp-border);
  border-radius: var(--zp-radius);
}

.vs-video-page__category-box .vs-video-meta__label {
  display: block;
  margin-bottom: .75rem;
}

.vs-video-page__category-box .vs-video-meta__chips {
  gap: .6rem;
}

.vs-video-page__meta {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: var(--zp-bg-card);
  border: 1px solid var(--zp-border);
  border-radius: var(--zp-radius);
}

.vs-video-page__meta--tags {
  margin-top: 1rem;
}

.zp-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.zp-chip--category {
  color: var(--zp-text);
  background: var(--zp-bg-card-solid);
  border-color: var(--zp-border);
}

.zp-chip--category:hover {
  color: #fff;
  background: var(--zp-hover-bg);
  border-color: var(--zp-border-strong);
  transform: translateY(-1px);
}

.zp-chip--category i {
  color: var(--zp-accent-light);
  font-size: .8rem;
}

.zp-chip--tag {
  color: var(--zp-accent-light);
  background: var(--zp-glass);
  border-color: rgba(164, 142, 255, 0.18);
}

.zp-chip--tag:hover {
  color: #c4b5ff;
  background: var(--zp-accent-light-soft);
  border-color: rgba(164, 142, 255, 0.32);
  transform: translateY(-1px);
}

.vs-video-page__similar {
  margin-top: 1.25rem;
  width: 100%;
  background: var(--zp-bg-card);
  border: 1px solid var(--zp-border);
  border-radius: var(--zp-radius);
  padding: 1rem 1.1rem 1.15rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.vs-video-page__similar .zp-section__head {
  margin-bottom: .85rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--zp-border);
}

.vs-video-page__similar .zp-section__head h2 {
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
}

.vs-video-page__banner-ad {
  margin-top: 1.25rem;
  width: 100%;
  background: var(--zp-bg-card);
  border: 1px solid var(--zp-border);
  border-radius: var(--zp-radius);
  padding: 1rem 1.1rem 1.15rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.vs-video-page__banner-ad .zp-section__head,
.vs-video-page__sidebar-ad .zp-section__head {
  margin-bottom: .85rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--zp-border);
}

.vs-video-page__banner-ad .zp-section__head h2,
.vs-video-page__sidebar-ad .zp-section__head h2 {
  font-size: clamp(.92rem, 1.8vw, 1.05rem);
}

.zp-ad--video-banner {
  width: 100%;
  max-width: 468px;
  height: 60px;
  margin: 0 auto;
  border-radius: var(--zp-radius-sm);
  border: 1px solid var(--zp-border);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.zp-ad--video-banner iframe,
.zp-ad--video-banner img,
.zp-ad--video-banner ins {
  max-width: 100%;
  max-height: 60px;
}

.vs-video-page__sidebar-ad {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--zp-border);
}

.zp-ad--video-sidebar {
  width: 100%;
  max-width: 300px;
  height: 250px;
  margin: 0 auto;
  border-radius: var(--zp-radius-sm);
  border: 1px solid var(--zp-border);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
}

.zp-ad--video-sidebar iframe,
.zp-ad--video-sidebar img,
.zp-ad--video-sidebar ins {
  max-width: 100%;
  max-height: 100%;
}

.vs-video-page__sidebar {
  position: sticky;
  top: calc(var(--vs-header-sticky-height, 8.5rem) + 0.75rem);
  align-self: start;
  max-height: calc(100vh - var(--vs-header-sticky-height, 8.5rem) - 1.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--zp-bg-card);
  border: 1px solid var(--zp-border);
  border-radius: var(--zp-radius);
  padding: 1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  z-index: 20;
}

.vs-video-page__sidebar-similar .zp-section__head {
  margin-bottom: .85rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--zp-border);
}

.vs-video-page__sidebar-similar .zp-section__head h2 {
  font-size: clamp(.92rem, 1.8vw, 1.05rem);
}

.vs-video-page__sidebar-list {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.vs-video-page__more {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--zp-border);
}

.vs-video-page__more .zp-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.vs-video-page__more-btn--sidebar {
  width: 100%;
  justify-content: center;
}

@media (max-width: 1024px) {
  .vs-video-page__layout {
    grid-template-columns: 1fr;
  }

  .vs-video-page__sidebar {
    position: static;
    margin-top: 1.25rem;
  }
}

.vs-video-player__iframe {
  border: 0;
  display: block;
  background: #000;
}

.vs-pornstars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.vs-pornstar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1rem;
  background: var(--zp-bg-card);
  border: 1px solid var(--zp-border);
  border-radius: var(--zp-radius);
  color: var(--zp-text);
  text-align: center;
  text-decoration: none;
}

.vs-pornstar-card:hover {
  border-color: var(--zp-primary);
  color: var(--zp-text);
}

.vs-pornstar-card__thumb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--zp-bg-elevated);
  display: grid;
  place-items: center;
}

.vs-pornstar-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vs-pornstar-card span {
  font-size: .78rem;
  color: var(--zp-text-muted);
}

.vs-sidebar-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}

.vs-sidebar-videos__item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .4rem;
  padding: .35rem;
  border-radius: 10px;
  color: var(--zp-text);
  transition: .2s ease;
  min-width: 0;
  text-align: center;
  text-decoration: none;
}

.vs-sidebar-videos__item:hover,
.vs-sidebar-videos__item.is-current {
  background: var(--zp-hover-bg);
}

.vs-sidebar-videos__thumb {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  background: #0f0818;
  display: grid;
  place-items: center;
}

.vs-sidebar-videos__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vs-sidebar-videos__title {
  font-size: .72rem;
  line-height: 1.3;
  font-weight: 700;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  padding: 0 .1rem .05rem;
}

.vs-video-meta {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--zp-border);
}

.vs-video-meta__group {
  display: grid;
  gap: .55rem;
}

.vs-video-meta__group--tags {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.vs-video-meta__label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--zp-text-label);
}

.vs-video-meta__label i {
  color: var(--zp-accent-light);
}

.vs-video-meta__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

@media (max-width: 768px) {
  .vs-video-controlbar {
    flex-direction: column;
    align-items: stretch;
  }

  .vs-video-controlbar__right {
    justify-content: flex-start;
  }

  .vs-video-controlbar__title {
    white-space: normal;
    font-size: 1rem;
  }

  .vs-video-page__similar .vs-video-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }

  .vs-video-page__similar .vs-video-card__body {
    padding: .5rem .55rem .6rem;
  }

  .vs-video-page__similar .vs-video-card__body h3 {
    font-size: .78rem;
    line-height: 1.3;
  }
}
