* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.site-logo a {
  font-size: 24px;
  font-weight: bold;
  color: #1a1a1a;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 5px;
  white-space: nowrap;
  overflow: visible;
}

.site-nav a {
  padding: 8px 12px;
  color: #666;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s;
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a.active {
  color: #ff6b6b;
  background: #fff5f5;
}

.home-main {
  padding: 20px 0;
}

.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
  margin: 0 20px 40px;
}

.hero-title {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: bold;
}

.hero-desc {
  font-size: 18px;
  opacity: 0.9;
}

.intro-section {
  margin-bottom: 40px;
}

.intro-section p {
  background: white;
  padding: 30px;
  border-radius: 8px;
  line-height: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.video-section {
  margin-bottom: 50px;
}

.section-title {
  font-size: 28px;
  margin-bottom: 30px;
  padding-left: 20px;
  border-left: 4px solid #667eea;
}

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

.video-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

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

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

.video-cover {
  position: relative;
  padding-top: 56.25%;
  background: #e0e0e0;
  overflow: hidden;
}

.video-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-info {
  padding: 16px;
}

.video-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.video-one-line {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.list-main {
  padding: 40px 0;
  min-height: calc(100vh - 200px);
}

.page-header {
  background: white;
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.page-header h1 {
  font-size: 36px;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.page-desc {
  font-size: 16px;
  color: #666;
}

.top-list__items {
  list-style: none;
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.top-list__item {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  align-items: center;
}

.top-list__item:last-child {
  border-bottom: none;
}

.top-rank {
  font-size: 24px;
  font-weight: bold;
  color: #667eea;
  min-width: 40px;
  text-align: center;
}

.top-cover {
  width: 120px;
  height: 180px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #e0e0e0;
}

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

.top-info {
  flex: 1;
  min-width: 0;
}

.top-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.top-title a {
  color: #1a1a1a;
  text-decoration: none;
}

.top-title a:hover {
  color: #667eea;
}

.top-meta {
  font-size: 14px;
  color: #999;
  margin-bottom: 8px;
}

.top-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.detail-main {
  padding-bottom: 60px;
}

.video-player-section {
  background: #000;
  margin-bottom: 40px;
}

.video-player {
  max-width: 1200px;
  margin: 0 auto;
}

.video-player-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  overflow: hidden;
}

.player-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-play-btn:hover {
  background: white;
  transform: translate(-50%, -50%) scale(1.1);
}

.player-play-icon {
  font-size: 36px;
  color: #333;
  margin-left: 4px;
}

.title-section h1 {
  font-size: 36px;
  margin: 40px 0 30px;
  color: #1a1a1a;
}

.info-section {
  background: white;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.info-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.info-list {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px 20px;
  line-height: 1.8;
}

.info-list dt {
  font-weight: 600;
  color: #666;
}

.info-list dd {
  color: #333;
}

.detail-module {
  background: white;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.detail-module h2 {
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.detail-module p {
  line-height: 2;
  color: #444;
  text-indent: 2em;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  display: inline-block;
  padding: 6px 16px;
  background: #f0f0f0;
  border-radius: 20px;
  font-size: 14px;
  color: #666;
  transition: all 0.3s;
}

.tag:hover {
  background: #667eea;
  color: white;
}

.related-section {
  margin-top: 50px;
}

.related-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  padding-left: 20px;
  border-left: 4px solid #667eea;
}

.site-footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}

.site-footer p {
  font-size: 14px;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    height: auto;
    padding: 12px 20px;
    gap: 12px;
  }

  .site-nav {
    gap: 3px;
    font-size: 13px;
    width: 100%;
    justify-content: space-between;
  }

  .site-nav a {
    padding: 6px 8px;
    font-size: 13px;
    flex: 1;
    text-align: center;
  }

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

  .hero-desc {
    font-size: 16px;
  }

  .section-title {
    font-size: 22px;
  }

  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }

  .video-cover {
    padding-top: 140%;
  }

  .title-section h1 {
    font-size: 28px;
  }

  .top-list__item {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-rank {
    align-self: flex-start;
  }

  .top-cover {
    width: 100%;
    max-width: 200px;
    height: auto;
    aspect-ratio: 2/3;
  }
}

.ui-style-0 body { --primary: #667eea; --accent: #ff6b6b; }
.ui-style-1 body { --primary: #f85032; --accent: #ff6b6b; }
.ui-style-2 body { --primary: #ff6b6b; --accent: #f85032; }
.ui-style-3 body { --primary: #ff2d55; --accent: #ff6b6b; }
.ui-style-4 body { --primary: #e50914; --accent: #ff6b6b; }
.ui-style-5 body { --primary: #e50914; --accent: #e50914; }
.ui-style-6 body { --primary: #0063e5; --accent: #f9a825; }
.ui-style-7 body { --primary: #005eb8; --accent: #ffc107; }
.ui-style-8 body { --primary: #00db7d; --accent: #00db7d; }
.ui-style-9 body { --primary: #141414; --accent: #e5e5e5; }
.ui-style-10 body { --primary: #00C75A; --accent: #00db7d; }
.ui-style-11 body { --primary: #0099FF; --accent: #ff6b6b; }
.ui-style-12 body { --primary: #FF6700; --accent: #ff8533; }
.ui-style-13 body { --primary: #00A1D6; --accent: #FB7299; }
.ui-style-14 body { --primary: #003d7a; --accent: #e50914; }
