/* Refresh for /watch/{movie,series,anime} pages. Scoped to body.watch-page;
   the templates' inline styles remain the base. */
body.watch-page { --wp-accent: #e50914; --wp-accent-soft: rgba(229, 9, 20, 0.15); background: #07070a; }
body.watch-page--series { --wp-accent: #3b82f6; --wp-accent-soft: rgba(59, 130, 246, 0.15); }
body.watch-page--anime { --wp-accent: #a855f7; --wp-accent-soft: rgba(168, 85, 247, 0.16); }

/* Panels: one quiet surface style instead of mixed borders/glows */
.watch-page .watch-controls-panel,
.watch-page .server-selector,
.watch-page .content-overview,
.watch-page .sidebar-section,
.watch-page .watch-party-section,
.watch-page .streaming-tips {
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}
.watch-page .player-section { border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); }

/* Server buttons as pills with an accent for the active one */
.watch-page .server-btn {
  border-radius: 999px !important; padding: 8px 16px !important; font-weight: 700 !important;
  background: rgba(255, 255, 255, 0.06) !important; border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.watch-page .server-btn:hover { border-color: var(--wp-accent) !important; }
.watch-page .server-btn.active { background: var(--wp-accent) !important; border-color: var(--wp-accent) !important; color: #fff !important; box-shadow: none !important; }

/* ---------- Similar titles: horizontal poster row ---------- */
.watch-page .similar-content-section {
  margin-top: 34px !important; padding: 0 !important;
  background: none !important; border: 0 !important; box-shadow: none !important;
}
.watch-page .similar-content-section::before, .watch-page .similar-content-section::after { display: none !important; }
.watch-page .similar-section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 0 0 14px !important; padding: 0 !important; border: 0 !important;
}
.watch-page .similar-section-header h3, .watch-page .similar-section-header h2 {
  margin: 0; padding-left: 12px; border-left: 4px solid var(--wp-accent);
  font-size: 1.35rem !important; font-weight: 800; letter-spacing: -0.01em; text-transform: none !important;
  color: #fff !important; background: none !important; -webkit-text-fill-color: #fff !important;
}
.watch-page .similar-section-header h3 i, .watch-page .similar-section-header h2 i { display: none; }
.watch-page .similar-section-header::after { display: none !important; }
.watch-page .similar-section-header a {
  border: 0 !important; background: none !important; box-shadow: none !important; padding: 0 !important;
  font-weight: 700; color: rgba(255, 255, 255, 0.7) !important;
}
.watch-page .similar-section-header a:hover { color: var(--wp-accent) !important; }

.watch-page .similar-cards-grid {
  display: flex !important; grid-template-columns: none !important; gap: 0 !important;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  padding: 2px 2px 14px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}
.watch-page .similar-content-card {
  flex: 0 0 160px; margin-right: 14px; scroll-snap-align: start;
  padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important;
  border-radius: 0 !important; text-decoration: none;
}
.watch-page .similar-content-card:hover { transform: none !important; }
.watch-page .similar-card-image {
  position: relative; aspect-ratio: 2 / 3; height: auto !important; border-radius: 10px; overflow: hidden;
  background: #15151c; transition: transform 0.2s ease;
}
.watch-page .similar-content-card:hover .similar-card-image { transform: translateY(-4px) scale(1.03); }
.watch-page .similar-card-image img { width: 100%; height: 100% !important; object-fit: cover; }
.watch-page .similar-card-overlay { background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent 55%) !important; }
.watch-page .similar-card-overlay .play-icon { background: var(--wp-accent) !important; box-shadow: none !important; }
.watch-page .similar-rating-badge {
  top: 8px !important; left: 8px !important; right: auto !important; padding: 3px 7px !important; border-radius: 6px !important;
  font-size: 0.72rem !important; font-weight: 700; color: #fbbf24 !important; background: rgba(0, 0, 0, 0.75) !important; border: 0 !important;
}
.watch-page .similar-card-info { padding: 9px 0 0 !important; background: none !important; }
.watch-page .similar-card-title {
  margin: 0 !important; font-size: 0.88rem !important; font-weight: 650; line-height: 1.3; color: #fff !important;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block !important;
}
.watch-page .similar-card-meta { display: block; margin-top: 3px; font-size: 0.76rem; color: rgba(255, 255, 255, 0.55) !important; }

@media (max-width: 600px) {
  .watch-page .similar-content-card { flex-basis: 120px; margin-right: 10px; }
  .watch-page .similar-section-header h3, .watch-page .similar-section-header h2 { font-size: 1.15rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  .watch-page .similar-card-image { transition: none; }
}
