/**
 * DHv3 PC 端布局样式 (SEO优化版 v2)
 * 语义化HTML5结构 + 可访问性增强
 * 响应式断点：≥1024px 显示侧边栏
 */

/* === 基础重置 === */
*, *::before, *::after { box-sizing: border-box; }

.pc-page {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-main, #0d0d0d);
  color: var(--text-primary, #e0e0e0);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* === 可访问性 === */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link:focus {
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: 8px 16px !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  background: var(--color-primary, #e74c3c);
  color: #fff;
  z-index: 1000;
}

/* === PC 头部 === */
.pc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card, #1a1a1a);
  border-bottom: 1px solid var(--border-color, #333);
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.pc-header .logo {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-primary, #e74c3c);
  text-decoration: none;
  white-space: nowrap;
}

.pc-header .search-box {
  flex: 1;
  max-width: 480px;
  display: flex;
}

.pc-header .search-box input {
  flex: 1;
  padding: 8px 12px;
  outline: none;
  font-size: 14px;
  border: 1px solid var(--border-color, #333);
  background: var(--bg-main, #0d0d0d);
  color: var(--text-primary, #e0e0e0);
  border-radius: 4px 0 0 4px;
}

.pc-header .search-box button {
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  background: var(--color-primary, #e74c3c);
  color: #fff;
  border-radius: 0 4px 4px 0;
}

.pc-header nav {
  display: flex;
  gap: 16px;
  margin-left: auto;
}

.pc-header .nav-list {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pc-header nav a {
  color: var(--text-secondary, #aaa);
  text-decoration: none;
  font-size: 14px;
}

.pc-header nav a:hover,
.pc-header nav a[aria-current="page"] {
  color: var(--color-primary, #e74c3c);
}

/* === 主容器 === */
.pc-container {
  display: flex;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 24px;
  gap: 24px;
  flex: 1;
  min-height: 0;
}

/* === 侧边栏 === */
.pc-sidebar {
  width: 220px;
  flex-shrink: 0;
}

.pc-sidebar .sidebar-section {
  margin-bottom: 24px;
}

.pc-sidebar .sidebar-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary, #aaa);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-color, #333);
}

.pc-sidebar .sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pc-sidebar a {
  display: block;
  padding: 6px 0;
  color: var(--text-primary, #e0e0e0);
  text-decoration: none;
  font-size: 13px;
}

.pc-sidebar a:hover {
  color: var(--color-primary, #e74c3c);
}

/* === 主内容区 === */
.pc-content {
  flex: 1;
  min-width: 0;
  width: 100%;
}

/* === 视频网格 === */
.video-grid {
  display: grid;
  gap: 20px 16px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  width: 100%;
}

/* === 视频卡片 (语义化重构) === */
.video-card {
  background: var(--bg-card, #1a1a1a);
  border-radius: 6px;
  overflow: hidden;
}

.video-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.video-card-link:hover {
  outline: 2px solid var(--color-primary, #e74c3c);
  outline-offset: -2px;
}

.video-card .card-thumbnail {
  position: relative;
  margin: 0;
  padding: 0;
}

.video-card .card-thumbnail img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.video-card .card-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  color: #fff;
}

.video-card .card-body {
  padding: 8px 10px;
}

.video-card .card-number {
  font-size: 11px;
  color: var(--color-primary, #e74c3c);
  margin-bottom: 4px;
}

.video-card .card-title {
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
  font-weight: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card .card-meta {
  font-size: 11px;
  color: var(--text-secondary, #aaa);
  margin-top: 6px;
}

.video-card .card-views {
  display: inline;
}

/* === 分页 (语义化重构) === */
.pc-pagination {
  display: flex;
  justify-content: center;
  margin: 32px 0;
}

.pagination-list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.pagination-item a,
.pagination-item span {
  display: block;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid var(--border-color, #333);
  color: var(--text-primary, #e0e0e0);
}

.pagination-item a:hover {
  border-color: var(--color-primary, #e74c3c);
  color: var(--color-primary, #e74c3c);
}

.pagination-current span {
  background: var(--color-primary, #e74c3c);
  color: #fff;
  border-color: transparent;
}

.pagination-ellipsis span {
  border: none;
  padding: 6px 8px;
}

/* === 页脚 === */
.pc-footer {
  border-top: 1px solid var(--border-color, #333);
  padding: 20px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary, #aaa);
}

.pc-footer .footer-nav {
  margin-top: 8px;
}

.pc-footer .footer-nav a {
  color: var(--text-secondary, #aaa);
  text-decoration: none;
}

.pc-footer .footer-nav a:hover {
  color: var(--color-primary, #e74c3c);
}

/* === 面包屑 (语义化重构) === */
.pc-breadcrumb {
  font-size: 13px;
  color: var(--text-secondary, #aaa);
  margin-bottom: 16px;
}

.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  margin: 0 4px;
  color: var(--text-secondary, #aaa);
}

.breadcrumb-item a {
  color: var(--text-secondary, #aaa);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--color-primary, #e74c3c);
}

.breadcrumb-item [aria-current="page"] {
  color: var(--text-primary, #e0e0e0);
}

/* === 视频详情页 === */
.video-detail {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.video-header {
  width: 100%;
}

.video-title {
  font-size: 20px;
  margin: 0 0 12px;
  line-height: 1.4;
}

.video-title .video-number {
  color: var(--color-primary, #e74c3c);
}

.video-cover {
  position: relative;
  margin: 0;
  padding: 0;
}

.video-cover img {
  width: 100%;
  border-radius: 8px;
}

.video-cover .duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
  color: #fff;
}

/* 视频元信息定义列表 */
.video-meta {
  font-size: 13px;
  margin: 0 0 16px;
}

.video-meta .meta-item {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-color, #333);
  margin: 0;
}

.video-meta .meta-label {
  color: var(--text-secondary, #aaa);
  min-width: 60px;
  flex-shrink: 0;
  font-weight: normal;
}

.video-meta .meta-value {
  color: var(--text-primary, #e0e0e0);
}

.video-meta .meta-value a {
  color: var(--text-primary, #e0e0e0);
  text-decoration: none;
}

.video-meta .meta-value a:hover {
  color: var(--color-primary, #e74c3c);
}

.video-meta .meta-tags .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.video-meta .tag-item {
  margin: 0;
}

.video-meta .tag-item .tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 12px;
  text-decoration: none;
  border: 1px solid var(--border-color, #333);
  color: var(--text-secondary, #aaa);
}

.video-meta .tag-item .tag:hover {
  border-color: var(--color-primary, #e74c3c);
  color: var(--color-primary, #e74c3c);
}

.video-description {
  background: var(--bg-card, #1a1a1a);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.video-description h2 {
  font-size: 14px;
  margin: 0 0 8px;
  color: var(--text-secondary, #aaa);
}

.video-description p {
  margin: 0;
  line-height: 1.6;
}

/* FAQ 问答折叠区块 */
.video-faq {
  margin: 24px 0;
}
.video-faq .block-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text-primary, #fff);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--bg-card, #1a1a1a);
  border-radius: 8px;
  border: 1px solid var(--border-color, #2a2a2a);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item[open] {
  border-color: var(--accent-color, #4a9eff);
}
.faq-question {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary, #e0e0e0);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::before {
  content: 'Q';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-color, #4a9eff);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-question::after {
  content: '';
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-secondary, #888);
  border-bottom: 2px solid var(--text-secondary, #888);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] > .faq-question::after {
  transform: rotate(-135deg);
}
.faq-answer {
  padding: 0 16px 14px 46px;
}
.faq-answer p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary, #aaa);
}

/* 相关推荐区块 */
.related-section {
  margin-top: 24px;
}

.related-section h2 {
  font-size: 16px;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color, #333);
}

/* 内链区块 */
.internal-links {
  display: contents;
}

/* 空状态和错误 */
.empty-message,
.error-message {
  text-align: center;
  color: var(--text-secondary, #aaa);
  padding: 40px 0;
}

.error-state .back-home {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 24px;
  background: var(--color-primary, #e74c3c);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

/* === 搜索页 === */
.search-section {
  max-width: 1200px;
}

.search-form-inline {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.search-form-inline .search-input {
  flex: 1;
  max-width: 480px;
  padding: 10px 16px;
  font-size: 15px;
  border: 1px solid var(--border-color, #333);
  background: var(--bg-card, #1a1a1a);
  color: var(--text-primary, #e0e0e0);
  border-radius: 4px;
}

.search-form-inline .search-input:focus {
  outline: none;
  border-color: var(--color-primary, #e74c3c);
}

.search-form-inline .search-btn {
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  background: var(--color-primary, #e74c3c);
  color: #fff;
  border-radius: 4px;
}

.search-results-info {
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-secondary, #aaa);
}

.search-results-info strong {
  color: var(--text-primary, #e0e0e0);
}

.search-results-info .no-results {
  font-size: 16px;
  color: var(--text-primary, #e0e0e0);
}

.search-tips {
  font-size: 13px;
  margin-top: 8px;
}

/* === 列表页 === */
.list-section .section-heading {
  font-size: 18px;
  margin: 0 0 16px;
}

/* === 响应式 === */
@media (max-width: 1023px) {
  .pc-sidebar {
    display: none;
  }

  .video-detail {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pc-header nav {
    display: none;
  }

  .pagination-list {
    gap: 4px;
  }

  .pagination-item a,
  .pagination-item span {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* === UI/SEO 优化 (2026-03-27) === */

/* 友情链接 */
.pc-footer .footer-friends { margin-top: 12px; font-size: 12px; color: #aaa; }
.pc-footer .footer-friends span { margin-right: 8px; }
.pc-footer .footer-friends a { color: #aaa; text-decoration: none; margin: 0 6px; transition: color .15s; }
.pc-footer .footer-friends a:hover { color: #e74c3c; }

/* 卡片 hover */
.video-card { transition: transform .2s, box-shadow .2s; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.4); }

/* 缩略图兜底 */
.video-card .card-thumbnail { background: #1a1a1a; }
.video-card .card-thumbnail img { background: linear-gradient(135deg, #1a1a1a, #2a2a2a); }

/* 侧边栏防竖排 */
.pc-sidebar a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 搜索框 focus */
.pc-header .search-box input:focus { border-color: #e74c3c; box-shadow: 0 0 0 2px rgba(231,76,60,.2); outline: none; }

/* VIP 按钮 */
.pc-header .vip-btn { padding: 6px 16px; background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff; border-radius: 4px; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: opacity .15s; }
.pc-header .vip-btn:hover { opacity: .9; }

/* 标签云 */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud-item .tag-link { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border: 1px solid #333; border-radius: 100px; font-size: 12px; color: #aaa; text-decoration: none; transition: all .15s; }
.tag-cloud-item .tag-link:hover { border-color: #e74c3c; color: #e74c3c; }
.tag-cloud-item .tag-count { font-size: 11px; color: #666; }

/* 女优列表 */
.actress-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.actress-item .actress-link { display: flex; flex-direction: column; padding: 12px; background: #1a1a1a; border-radius: 6px; text-decoration: none; transition: all .15s; }
.actress-item .actress-link:hover { outline: 2px solid #e74c3c; outline-offset: -2px; }
.actress-item .actress-name { font-size: 14px; color: #e0e0e0; margin-bottom: 4px; }
.actress-item .actress-count { font-size: 12px; color: #aaa; }

/* === 视频播放器 === */
.video-player-wrap { position: relative; width: 100%; background: #000; border-radius: 8px; overflow: hidden; margin-bottom: 16px; }
.video-player { display: block; width: 100%; aspect-ratio: 16/9; background: #000; }
.video-player:focus { outline: 2px solid #e74c3c; }
.player-loading { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); padding: 6px 20px; background: rgba(0,0,0,.8); color: #aaa; font-size: 13px; border-radius: 20px; z-index: 10; }

/* === 视频信息栏（播放器下方一行） === */
.video-info-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; margin-bottom: 8px; border-bottom: 1px solid #222; flex-wrap: wrap; gap: 8px; }
.info-bar-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.info-bar-right { display: flex; align-items: center; gap: 6px; }
.info-badge { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 500; text-decoration: none; }
.info-category { background: #e74c3c; color: #fff; }
.info-category:hover { background: #c0392b; }
.info-actress { background: #8e44ad; color: #fff; }
.info-actress:hover { background: #7d3c98; }
.info-views { font-size: 13px; color: #aaa; }
.info-date { font-size: 13px; color: #666; }
.video-tags-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }

/* === 社交分享按钮 === */
.share-buttons { display: flex; align-items: center; gap: 8px; margin: 16px 0; padding: 12px 16px; background: #1a1a1a; border-radius: 8px; }
.share-label { font-size: 13px; color: #888; margin-right: 4px; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 32px; padding: 0 12px; border: 1px solid #333; border-radius: 6px; font-size: 12px; font-weight: 600; color: #ccc; background: #222; text-decoration: none; cursor: pointer; transition: all .15s; }
.share-btn:hover { border-color: #e74c3c; color: #e74c3c; }
.share-twitter:hover { border-color: #1da1f2; color: #1da1f2; }
.share-telegram:hover { border-color: #0088cc; color: #0088cc; }
.share-reddit:hover { border-color: #ff4500; color: #ff4500; }
.share-copy:hover { border-color: #10b981; color: #10b981; }

/* === 推荐区块间距 === */
.related-section { margin-top: 28px; }
.related-section .video-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* === 视频简介 === */
.video-description { margin: 16px 0; padding: 16px; background: #1a1a1a; border-radius: 8px; }
.video-description h2 { font-size: 15px; color: #e0e0e0; margin: 0 0 8px; }
.video-description p { font-size: 13px; color: #aaa; line-height: 1.6; margin: 0; }

/* === 首页头部 === */
.section-header { margin-bottom: 8px; }
.section-heading { font-size: 24px; font-weight: 700; color: #fff; margin: 0; }
.section-subtitle { font-size: 14px; color: #888; margin: 4px 0 0; }
.section-stats { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #666; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #222; }
.stat-divider { color: #333; }

/* === 分类标签条 === */
.category-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #222; }
.cat-tab { padding: 6px 16px; border-radius: 100px; font-size: 13px; color: #aaa; text-decoration: none; background: #1a1a1a; transition: all .15s; white-space: nowrap; }
.cat-tab:hover, .cat-tab.active { background: #e74c3c; color: #fff; }

/* === 首页分区 === */
.home-block { margin-bottom: 32px; }
.block-title { font-size: 18px; font-weight: 600; color: #e0e0e0; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid #e74c3c; display: inline-block; }
.video-grid-4 { grid-template-columns: repeat(4, 1fr) !important; }

/* === 分类展示网格 === */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.category-card { display: block; text-decoration: none; background: #1a1a1a; border-radius: 8px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.category-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.category-card-cover { aspect-ratio: 16/9; overflow: hidden; background: #111; }
.category-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.category-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 32px; color: #444; background: linear-gradient(135deg, #1a1a1a, #2a2a2a); }
.category-card-info { padding: 10px 12px; }
.category-card-name { display: block; font-size: 14px; font-weight: 500; color: #e0e0e0; margin-bottom: 2px; }
.category-card-count { font-size: 12px; color: #888; }

/* === 热门标签药丸 === */
.tag-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: #1a1a1a; border: 1px solid #333; border-radius: 100px; font-size: 13px; color: #ccc; text-decoration: none; transition: all .15s; margin-bottom: 4px; }
.tag-pill:hover { border-color: #e74c3c; color: #e74c3c; background: rgba(231,76,60,.08); }
.tag-pill-count { font-size: 11px; color: #666; background: #222; padding: 1px 6px; border-radius: 100px; }

@media (max-width: 768px) {
  .video-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .category-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
}

/* === 站群布局变体（降低指纹相似度） === */

/* 变体 A：侧边栏在右 */
.layout-sidebar-right .pc-container { flex-direction: row-reverse; }
.layout-sidebar-right .pc-sidebar { border-left: 1px solid #222; border-right: none; }
.layout-sidebar-right .pc-footer { text-align: right; }

/* 变体 B：宽屏无侧边栏 */
.layout-wide .pc-sidebar { display: none; }
.layout-wide .pc-content { max-width: 100%; }
.layout-wide .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* 变体 C：紧凑布局 */
.layout-compact .pc-header { padding: 8px 16px; }
.layout-compact .video-grid { gap: 8px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.layout-compact .video-card .card-body { padding: 6px 8px; }
.layout-compact .video-card .card-title { font-size: 12px; }
.layout-compact .pc-sidebar { width: 180px; min-width: 180px; }

/* 各变体微调主色调 */
.layout-sidebar-right { --color-primary: #3b82f6; }  /* 蓝色主调 */
.layout-wide { --color-primary: #8b5cf6; }            /* 紫色主调 */
.layout-compact { --color-primary: #10b981; }          /* 绿色主调 */

/* 分类下拉菜单 */
.nav-dropdown { position: relative; }
.nav-dropdown button { background: none; border: none; color: #aaa; cursor: pointer; font-size: 14px; padding: 0; }
.nav-dropdown button:hover { color: #e74c3c; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #1a1a1a; border: 1px solid #333; border-radius: 6px; padding: 8px 0; min-width: 140px; z-index: 200; box-shadow: 0 8px 24px rgba(0,0,0,.4); list-style: none; margin: 8px 0 0; }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown button[aria-expanded="true"] + .dropdown-menu { display: block; }
.dropdown-menu li a { display: block; padding: 6px 16px; color: #e0e0e0; text-decoration: none; font-size: 13px; }
.dropdown-menu li a:hover { background: rgba(231,76,60,.1); color: #e74c3c; }

/* 移动端汉堡菜单 */
.mobile-menu-btn { display: none; background: none; border: none; color: #e0e0e0; font-size: 24px; cursor: pointer; padding: 4px 8px; }
@media (max-width: 640px) {
  .mobile-menu-btn { display: block; }
  .pc-header nav { display: none; }
  .pc-header nav.nav-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #111; padding: 12px 16px; z-index: 300; border-top: 1px solid #333; }
  .pc-header nav.nav-open .nav-list { flex-direction: column; gap: 0; }
  .pc-header nav.nav-open .nav-list li a { display: block; padding: 10px 0; border-bottom: 1px solid #222; }
  .pc-header nav.nav-open .dropdown-menu { position: static; border: none; box-shadow: none; padding-left: 16px; }
  .pc-header nav.nav-open .nav-dropdown button[aria-expanded="true"] + .dropdown-menu { display: block; }
  .pc-header .vip-btn { display: none; }
}

/* === 评分星级 === */
.rating-section { margin: 16px 0 20px; padding: 16px; background: rgba(255,255,255,0.03); border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); }
.rating-display { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rating-stars { display: inline-flex; gap: 2px; }
.rating-stars .star { font-size: 22px; line-height: 1; }
.rating-stars .star-full { color: #ffc107; }
.rating-stars .star-half { color: #ffc107; opacity: 0.6; }
.rating-stars .star-empty { color: #555; }
.rating-value { font-size: 20px; font-weight: 700; color: #ffc107; }
.rating-count { color: #999; font-size: 14px; }

.rating-form { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.rating-form-label { color: #bbb; font-size: 14px; }
.rating-form-stars { display: inline-flex; gap: 4px; }
.star-btn { background: none; border: none; font-size: 28px; color: #555; cursor: pointer; padding: 0 2px; transition: color 0.15s, transform 0.15s; }
.star-btn:hover, .star-btn.star-hover { color: #ffc107; transform: scale(1.2); }
.star-btn.star-active { color: #ffc107; }
.rating-form-msg { font-size: 13px; color: #999; }

/* === 评论区 === */
.comment-section { margin: 28px 0; }
.comment-list { display: flex; flex-direction: column; gap: 0; }
.comment-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.comment-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #6f42c1, #e74c3c); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 600; flex-shrink: 0; }
.comment-body { flex: 1; min-width: 0; }
.comment-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.comment-author { color: #ddd; font-size: 14px; font-weight: 500; }
.comment-time { color: #777; font-size: 12px; }
.comment-content { color: #ccc; font-size: 14px; line-height: 1.6; margin: 0; word-break: break-word; }
.comment-empty { color: #777; font-size: 14px; text-align: center; padding: 20px 0; }

.comment-form { margin-top: 16px; }
.comment-input { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: #e0e0e0; padding: 12px; font-size: 14px; resize: vertical; min-height: 70px; }
.comment-input:focus { outline: none; border-color: #6f42c1; }
.comment-form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.comment-form-tip { color: #777; font-size: 12px; }
.comment-submit-btn { background: linear-gradient(135deg, #6f42c1, #8b5cf6); color: #fff; border: none; padding: 8px 20px; border-radius: 6px; font-size: 14px; cursor: pointer; transition: opacity 0.2s; }
.comment-submit-btn:hover { opacity: 0.85; }
.comment-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* === 文章列表 === */
.article-list-section { margin-bottom: 24px; }
.article-list { display: flex; flex-direction: column; gap: 0; }
.article-card { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.article-card-image { flex-shrink: 0; width: 200px; height: 130px; border-radius: 8px; overflow: hidden; }
.article-card-image img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.article-card-title { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.article-card-title a { color: #e0e0e0; text-decoration: none; }
.article-card-title a:hover { color: #8b5cf6; }
.article-card-excerpt { color: #999; font-size: 14px; line-height: 1.5; margin: 0 0 8px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.article-card-meta { display: flex; gap: 12px; align-items: center; color: #777; font-size: 13px; flex-wrap: wrap; }
.article-type { background: rgba(111,66,193,0.2); color: #8b5cf6; padding: 2px 8px; border-radius: 4px; font-size: 12px; }

/* === 文章详情 === */
.article-detail { margin-bottom: 24px; }
.article-header { margin-bottom: 20px; }
.article-title { font-size: 26px; font-weight: 700; line-height: 1.3; margin: 0 0 12px; color: #f0f0f0; }
.article-meta { display: flex; gap: 14px; align-items: center; color: #888; font-size: 14px; flex-wrap: wrap; }
.article-type-badge { background: rgba(111,66,193,0.2); color: #8b5cf6; padding: 2px 8px; border-radius: 4px; font-size: 12px; }
.article-cover { margin: 0 0 20px; }
.article-cover img { width: 100%; max-height: 400px; object-fit: cover; border-radius: 10px; }
.article-content { color: #ddd; font-size: 16px; line-height: 1.8; }
.article-content p { margin: 0 0 14px; }
.article-content h2 { font-size: 20px; margin: 24px 0 12px; color: #f0f0f0; }
.article-content h3 { font-size: 18px; margin: 20px 0 10px; color: #e8e8e8; }
.article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px 0; }
.article-content a { color: #8b5cf6; text-decoration: underline; }
.article-content blockquote { border-left: 3px solid #6f42c1; padding: 8px 16px; margin: 12px 0; color: #bbb; background: rgba(255,255,255,0.03); border-radius: 0 6px 6px 0; }
.article-tags { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.06); }
.tags-label { color: #999; font-size: 14px; }
.article-tag { display: inline-block; background: rgba(255,255,255,0.06); color: #bbb; padding: 4px 10px; border-radius: 4px; font-size: 13px; text-decoration: none; margin: 2px 4px 2px 0; }
.article-tag:hover { background: rgba(111,66,193,0.2); color: #8b5cf6; }

.related-articles { margin-top: 28px; }
.article-list-compact .article-card { padding: 12px 0; }
.article-card-compact .article-card-image { width: 140px; height: 90px; }
.article-card-compact .article-card-title { font-size: 15px; }

@media (max-width: 640px) {
  .article-card { flex-direction: column; gap: 10px; }
  .article-card-image { width: 100%; height: 180px; }
  .article-title { font-size: 20px; }
  .article-content { font-size: 15px; }
}

/* === PC 播放页广告行 === */
.pc-promo-row {
  display: flex;
  gap: 8px;
  margin: 8px 0;
}
.pc-promo-item {
  flex: 1;
  display: block;
  height: 80px;
  overflow: hidden;
  border-radius: 6px;
  background: #1a1a2e;
}
.pc-promo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .2s;
}
.pc-promo-item:hover img {
  opacity: .85;
}
