/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #141414;
  --bg-card: #1a1a1a;
  --bg-hover: #222;
  --text-primary: #fff;
  --text-secondary: #aaa;
  --text-muted: #666;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --accent-secondary: #06b6d4;
  --border: #2a2a2a;
  --success: #22c55e;
  --danger: #ef4444;
  --radius: 8px;
  --radius-sm: 4px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
}

a { color: var(--text-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 16px; }

/* Navbar */
.navbar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 16px;
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 60px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-text { color: var(--text-primary); }
.logo-accent { color: var(--accent); }

.navbar-search {
  display: flex;
  flex: 1;
  max-width: 400px;
  position: relative;
}

.navbar-search input {
  width: 100%;
  padding: 8px 40px 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.navbar-search input:focus { border-color: var(--accent); }

.navbar-search button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px;
}

.navbar-links {
  display: flex;
  gap: 4px;
}

.navbar-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--text-primary);
  background: var(--bg-card);
}

.navbar-selectors {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.orientation-select,
.language-select {
  padding: 6px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
}

.orientation-select option,
.language-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px;
}

/* Main Content */
.main-content { min-height: calc(100vh - 140px); padding-bottom: 40px; }

/* Hero / Page Header */
.hero-section,
.page-header {
  padding: 24px 0 16px;
}

.hero-section h1,
.page-header h1 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.result-count { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 12px; }

.filter-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-right: 4px;
  display: flex;
  align-items: center;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sort-options { display: flex; gap: 4px; }

.sort-link {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.sort-link:hover,
.sort-link.active {
  color: var(--text-primary);
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.1);
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 16px;
  margin-top: 16px;
}


.video-card { border-radius: var(--radius); overflow: hidden; background: var(--bg-card); transition: transform 0.2s; }
.video-card:hover { transform: translateY(-2px); }
.video-card-link { display: block; }

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-secondary);
  overflow: hidden;
}

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

.video-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.video-duration {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
}

.video-badge {
  position: absolute;
  top: 6px;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.premium-badge { left: 6px; background: #f59e0b; color: #000; }
.vr-badge { left: 6px; background: #8b5cf6; color: #fff; }
.premium-badge + .vr-badge { left: 70px; }
.free-badge { background: var(--success); color: #fff; }
.format-4k { right: 6px; background: linear-gradient(135deg, #06b6d4, #6366f1); color: #fff; font-weight: 800; text-shadow: 0 1px 0 rgba(0,0,0,0.4); box-shadow: 0 0 8px rgba(6, 182, 212, 0.5); }
.format-hd { right: 6px; background: rgba(0,0,0,0.8); color: #fff; border: 1px solid #555; font-weight: 700; }

.video-info { padding: 6px 8px; }

.video-title {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.video-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.video-source-link {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: color 0.2s;
}

.video-source-link:hover {
  color: var(--accent);
}

.verified-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent);
  color: #000;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  padding: 1px;
}

.verified-tick svg {
  width: 10px;
  height: 10px;
  stroke-width: 4;
}

/* Source Detail Page */
.source-info-header {
  margin-bottom: 24px;
}

.source-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 2.5rem;
  margin: 0;
  color: var(--text-primary);
}

.verified-badge-inline {
  color: var(--accent);
  display: flex;
  align-items: center;
}

.verified-icon-svg {
  width: 32px;
  height: 32px;
}

/* Categories Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.category-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  transition: transform 0.2s;
}

.category-card:hover { transform: translateY(-2px); }

.category-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.category-header { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.category-banner { width: 120px; height: 120px; border-radius: 12px; object-fit: cover; }
.category-avatar-placeholder { width: 120px; height: 120px; border-radius: 12px; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); }

.category-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.category-card-info { padding: 10px 12px; }
.category-card-info h3 { font-size: 0.95rem; margin-bottom: 2px; }
.category-card-info span { font-size: 0.8rem; color: var(--text-secondary); }

.category-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.category-tag {
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.category-tag:hover { border-color: var(--accent); color: var(--text-primary); }
.tag-count { color: var(--text-muted); font-size: 0.75rem; margin-left: 4px; }

/* Pornstars Grid */
.pornstar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.pornstar-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  text-align: center;
  transition: transform 0.2s;
  padding-bottom: 12px;
}

.pornstar-card:hover { transform: translateY(-2px); }

.pornstar-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.pornstar-placeholder {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, var(--bg-secondary), var(--bg-card));
  color: var(--accent);
  border-bottom: 1px solid var(--border);
}

.pornstar-card-info { padding: 8px 10px 0; }
.pornstar-card-info h3 { font-size: 0.9rem; margin-bottom: 2px; }
.pornstar-card-info span { font-size: 0.8rem; color: var(--text-secondary); }

.pornstar-header { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.pornstar-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.pornstar-avatar-placeholder { width: 80px; height: 80px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); }

/* Video Detail */
.video-detail { padding: 24px 0; }

.video-player-area { margin-bottom: 20px; }

.video-thumb-large {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 960px;
}

.video-thumb-large img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  transition: background 0.2s;
  gap: 8px;
}

.play-overlay:hover { background: rgba(0,0,0,0.3); }
.play-overlay span { font-size: 1.1rem; font-weight: 600; }

.video-detail-info h1 { font-size: 1.4rem; margin-bottom: 10px; }

.video-detail-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  align-items: center;
}

.video-source-link-detail {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color 0.1s;
}

.video-source-link-detail:hover {
  color: var(--accent);
}

.badge {
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
}

.video-description { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.6; }

.video-body-content {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 24px;
  padding: 20px 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.video-body-content p { margin-bottom: 12px; }
.video-body-content a { color: var(--accent); text-decoration: underline; }
.video-body-content a:hover { color: var(--accent-hover); }

.video-tags { margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.video-tags strong { color: var(--text-secondary); font-size: 0.9rem; }

.tag {
  padding: 4px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.tag:hover { border-color: var(--accent); color: var(--text-primary); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-lg { padding: 12px 28px; font-size: 1rem; }

.related-section { margin-top: 40px; }
.related-section h2 { margin-bottom: 8px; font-size: 1.2rem; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.page-link {
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.page-link:hover,
.page-link.active {
  border-color: var(--accent);
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.1);
}

.page-dots { color: var(--text-muted); padding: 8px 4px; }

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 24px 0;
  margin-top: 40px;
}

.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-desc { color: var(--text-muted); font-size: 0.8rem; margin-top: 4px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-secondary); font-size: 0.85rem; }
.footer-links a:hover { color: var(--text-primary); }

/* No Results */
.no-results { text-align: center; padding: 60px 20px; color: var(--text-muted); font-size: 1.1rem; }

/* Error Page */
.error-page { text-align: center; padding: 80px 20px; }
.error-page h1 { font-size: 4rem; color: var(--accent); }
.error-page p { color: var(--text-secondary); margin: 12px 0 24px; }

/* Entity Footer Link Bar (SEO Cloud) */
.entity-footer-bar {
  background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 60px;
}

.entity-footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.entity-link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 0.85rem;
  line-height: 1.6;
}

.entity-link {
  color: var(--text-secondary);
  transition: all 0.2s ease;
  white-space: nowrap;
  padding: 2px 0;
}

.entity-link:hover {
  color: var(--accent);
  text-decoration: underline;
  transform: translateX(2px);
}

.entity-link::after {
  content: "•";
  margin-left: 16px;
  color: var(--border);
  pointer-events: none;
  display: inline-block;
}

.entity-link:last-child::after {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .entity-footer-bar { padding: 30px 0; margin-top: 40px; }
  .entity-link-cloud { gap: 8px 12px; font-size: 0.8rem; }
  .entity-link::after { margin-left: 12px; }
}

/* Responsive */
@media (max-width: 768px) {
  .navbar-inner { flex-wrap: wrap; height: auto; padding: 10px 0; }
  .navbar-search { order: 3; max-width: 100%; flex-basis: 100%; }
  .navbar-links,
  .navbar-selectors { display: none; flex-direction: column; width: 100%; }
  .navbar-links.open,
  .navbar-selectors.open { display: flex; order: 4; }
  .navbar-selectors.open { flex-direction: row; }
  .mobile-toggle { display: block; margin-left: auto; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .pornstar-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}

/* RTL */
[dir="rtl"] .navbar-inner { direction: rtl; }
[dir="rtl"] .video-duration { right: auto; left: 6px; }
[dir="rtl"] .video-badge { left: auto; right: 6px; }

/* ===== Reaction (Like/Dislike) System ===== */

/* Percent badge — always visible on bottom-left of thumbnail */
.reaction-percent-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--success);
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.2s;
}

.reaction-percent-badge svg {
  flex-shrink: 0;
}

.percent-text {
  color: #fff;
  font-weight: 700;
}

/* Hover overlay with action buttons */
.reaction-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 5;
  border-radius: 0;
}

.video-thumb:hover .reaction-overlay,
.reaction-overlay.active {
  opacity: 1;
  visibility: visible;
}

.reaction-overlay.is-closed {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}

.reaction-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 44px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #333;
  position: relative;
}

.reaction-btn.reaction-like {
  background: #c8f7c5;
  border-radius: 8px 0 0 8px;
}

.reaction-btn.reaction-like:hover,
.reaction-btn.reaction-like.voted {
  background: #4ade80;
  color: #fff;
}

.reaction-btn.reaction-dislike {
  background: #fcc;
  border-radius: 0;
}

.reaction-btn.reaction-dislike:hover,
.reaction-btn.reaction-dislike.voted {
  background: #f87171;
  color: #fff;
}

.reaction-btn.reaction-close {
  background: #e5e5e5;
  border-radius: 0 8px 8px 0;
}

.reaction-btn.reaction-close:hover {
  background: #d4d4d4;
}

/* Video detail page reaction bar */
.video-reaction-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.detail-reaction-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.detail-reaction-btn:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.detail-reaction-btn.voted-like {
  background: rgba(74, 222, 128, 0.15);
  border-color: #4ade80;
  color: #4ade80;
}

.detail-reaction-btn.voted-dislike {
  background: rgba(248, 113, 113, 0.15);
  border-color: #f87171;
  color: #f87171;
}

.detail-reaction-percent {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-reaction-percent svg {
  color: var(--success);
}

/* RTL adjustments for reactions */
[dir="rtl"] .reaction-percent-badge { left: auto; right: 6px; }

/* ===== Report Flag Button (Meta Section) ===== */
.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.report-flag-btn-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.report-flag-btn-meta:hover {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
}

.report-flag-btn-meta svg {
  width: 14px;
  height: 14px;
}

/* Restore duration badge position since flag is moved */
.video-thumb .video-duration {
  right: 6px;
}

[dir="rtl"] .video-thumb .video-duration { right: auto; left: 6px; }

/* ===== Report Modal ===== */
.report-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 20px;
}

.report-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.report-modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
}

.report-modal-overlay.active .report-modal {
  transform: translateY(0) scale(1);
}

.report-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.report-modal-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.report-modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s;
}

.report-modal-close:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.report-modal-body {
  padding: 20px;
}

.report-video-title {
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  border-left: 3px solid var(--accent);
  word-break: break-word;
}

.report-field {
  margin-bottom: 14px;
}

.report-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.report-field .required {
  color: var(--danger);
  font-weight: 600;
}

.report-field .optional {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.75rem;
}

.report-field select,
.report-field input,
.report-field textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.report-field select:focus,
.report-field input:focus,
.report-field textarea:focus {
  border-color: var(--accent);
}

.report-field select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.report-field textarea {
  resize: vertical;
  min-height: 60px;
}

.report-legal-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.report-legal-notice svg {
  color: var(--danger);
  flex-shrink: 0;
  margin-top: 2px;
}

.report-legal-notice p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.report-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}

.report-cancel-btn {
  padding: 9px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}

.report-cancel-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.report-submit-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: var(--danger);
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.report-submit-btn:hover {
  background: #dc2626;
  transform: translateY(-1px);
}

.report-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.report-status {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  text-align: center;
}

.report-status-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--success);
}

.report-status-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--danger);
}

@media (max-width: 768px) {
  .report-modal {
    max-width: 100%;
    margin: 10px;
  }
}

/* ===== Advertisements (Ads) Styling ===== */
.ad-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  padding: 0;
  background: transparent;
  border: none;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
}

.ad-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 700;
}

/* Centering external banners */
.ad-container [data-banner-id] {
  margin: 0 auto;
  display: block;
  width: 728px;
  height: 90px;
  min-height: 90px;
  max-width: 100%;
}

.ad-banner-top {
  margin-top: 16px;
  margin-bottom: 24px;
}

.ad-banner-detail {
  margin-top: 24px;
  margin-bottom: 24px;
  max-width: 960px; /* Aligns with video player container */
}

.ad-banner-middle {
  margin-top: 28px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .ad-container {
    margin: 14px auto;
    padding: 0;
  }
  .ad-container [data-banner-id] {
    width: 320px;
    height: 50px;
    min-height: 50px;
  }
}

/* ===== Video Grid In-line Ads ===== */
#container-8a78459aa4c29a5a33552d14ba7b4449 {
  grid-column: 1 / -1; /* Spans full width of the video grid */
  width: 100%;
  margin: 20px auto;
  text-align: center;
}

@media (max-width: 768px) {
  #container-8a78459aa4c29a5a33552d14ba7b4449 {
    margin: 12px auto;
  }
}

