
/* 全局样式 */
body.ui-style-0 {
  --primary-color: #e63946;
  --secondary-color: #457b9d;
  --accent-color: #f4a261;
  --bg-color: #f5f5f5;
  --text-color: #333;
  --border-color: #ddd;
}

/* 布局变体 B */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  padding: 60px 40px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.hero h1 {
  font-size: 32px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.hero .intro {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.95;
}

/* 卡片样式 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.video-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.video-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.video-card .meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

.video-card .desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* 列表样式 */
.video-list {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.video-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.video-item:last-child {
  border-bottom: none;
}

.video-item .rank {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  min-width: 40px;
}

.video-item .date {
  font-size: 14px;
  color: #666;
  min-width: 60px;
}

.video-item .info {
  flex: 1;
}

.video-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.video-item .meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

.video-item .desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 8px;
}

.video-item .review {
  font-size: 13px;
  color: #777;
  font-style: italic;
  line-height: 1.6;
}

/* 入口卡片 */
.entry-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.entry-card {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s;
}

.entry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.entry-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.entry-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* 详情页 */
.video-detail {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.detail-header h1 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
}

.video-detail section {
  margin-bottom: 40px;
}

.video-detail h2 {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.info-list {
  list-style: none;
}

.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list strong {
  color: #666;
  margin-right: 10px;
}

.one-line {
  font-size: 18px;
  color: var(--accent-color);
  font-weight: 500;
  line-height: 1.6;
  padding: 20px;
  background: #fef8f0;
  border-left: 4px solid var(--accent-color);
  border-radius: 4px;
}

.summary p, .review p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

/* 通用样式 */
section {
  margin-bottom: 50px;
}

section h2 {
  font-size: 24px;
  margin-bottom: 25px;
  color: var(--secondary-color);
}

.list-header {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.list-header h1 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.list-header .intro {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
}

.genre-group {
  margin-bottom: 50px;
}

.genre-group h2 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}

.more-link {
  text-align: center;
  margin-top: 30px;
}

.more-link a {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 25px;
  font-size: 15px;
  transition: all 0.3s;
}

.more-link a:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* 响应式 */
@media (max-width: 768px) {
  .hero {
    padding: 40px 20px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .video-detail {
    padding: 20px;
  }

  .detail-header h1 {
    font-size: 22px;
  }

  .entry-cards {
    grid-template-columns: 1fr;
  }

  .video-item {
    flex-direction: column;
    gap: 10px;
  }
}
