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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 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 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #2c3e50;
}

.main-nav {
  display: flex;
  gap: 25px;
  white-space: nowrap;
}

.main-nav a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 16px;
}

.main-nav a:hover {
  color: #3498db;
}

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

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

.hero-section h1 {
  font-size: 32px;
  margin-bottom: 15px;
  font-weight: 600;
}

.site-intro {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto;
}

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

.video-section h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #2c3e50;
  font-weight: 600;
}

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

.video-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

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

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

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

.video-info {
  padding: 15px;
}

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

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

.page-header {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 30px;
  text-align: center;
}

.page-header h1 {
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 10px;
}

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

.list-content {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
}

.top-list__items {
  list-style: none;
}

.top-item {
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.top-rank {
  font-size: 28px;
  font-weight: bold;
  color: #3498db;
  min-width: 60px;
  text-align: center;
}

.top-item__link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex: 1;
  gap: 20px;
}

.top-cover {
  width: 80px;
  height: 110px;
  object-fit: cover;
  border-radius: 4px;
}

.top-info {
  flex: 1;
}

.top-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #2c3e50;
}

.top-info p {
  font-size: 14px;
  color: #666;
}

.detail-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.video-player-section {
  margin-bottom: 30px;
}

.video-player {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

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

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

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

.player-play-icon {
  font-size: 32px;
  color: #fff;
  margin-left: 5px;
}

.detail-header {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.detail-header h1 {
  font-size: 28px;
  color: #2c3e50;
}

.detail-info, .detail-module {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.detail-info h2, .detail-module h2 {
  font-size: 22px;
  color: #2c3e50;
  margin-bottom: 15px;
  border-left: 4px solid #3498db;
  padding-left: 12px;
}

.detail-info dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
}

.detail-info dt {
  font-weight: 600;
  color: #555;
}

.detail-info dd {
  color: #666;
}

.detail-module p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: #e3f2fd;
  color: #1976d2;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
}

.related-section {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  margin-top: 30px;
}

.related-section h2 {
  font-size: 22px;
  color: #2c3e50;
  margin-bottom: 20px;
  border-left: 4px solid #3498db;
  padding-left: 12px;
}

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

@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    gap: 15px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-around;
    gap: 10px;
    font-size: 14px;
    overflow-x: hidden;
  }

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

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

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

  .video-title {
    font-size: 14px;
  }

  .video-one-line {
    font-size: 13px;
  }

  .detail-info dl {
    grid-template-columns: 80px 1fr;
  }
}

.ui-style-0 body { background: #121212; color: #fff; }
.ui-style-0 .site-header { background: #1e1e1e; }
.ui-style-0 .logo, .ui-style-0 .main-nav a { color: #fff; }
.ui-style-0 .video-card, .ui-style-0 .page-header, .ui-style-0 .list-content,
.ui-style-0 .detail-header, .ui-style-0 .detail-info, .ui-style-0 .detail-module,
.ui-style-0 .related-section { background: #1e1e1e; color: #fff; }
.ui-style-0 .video-title, .ui-style-0 h1, .ui-style-0 h2 { color: #fff; }

.ui-style-1 .hero-section { background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%); }
.ui-style-2 body { background: #fafafa; }
.ui-style-3 .hero-section { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.ui-style-4 .logo { color: #e53935; }
.ui-style-5 body { background: #0f0f0f; color: #f0f0f0; }
.ui-style-6 .hero-section { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.ui-style-7 .hero-section { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.ui-style-8 .logo { color: #00c853; }
.ui-style-9 body { background: #0a0a0a; }
.ui-style-10 .hero-section { background: linear-gradient(135deg, #00c75a 0%, #00e676 100%); }
.ui-style-11 .logo { color: #0099ff; }
.ui-style-12 .hero-section { background: linear-gradient(135deg, #ff6700 0%, #ff8c00 100%); }
.ui-style-13 .logo { color: #00a1d6; }
.ui-style-14 body { background: #f5f5f5; }
