* {
  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;
}

.main-nav {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #333;
}

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

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

.hero-desc {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.95;
}

.intro-section {
  background: white;
  padding: 60px 20px;
}

.intro-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
}

.intro-section p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.video-section {
  padding: 60px 20px;
}

.section-title {
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
}

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

.video-card {
  background: white;
  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 12px rgba(0,0,0,0.15);
}

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

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

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

.video-info {
  padding: 15px;
}

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

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

.video-meta {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: #999;
}

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

.page-header {
  margin-bottom: 40px;
}

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

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

.page--grid {
  background: white;
  padding: 40px;
  border-radius: 8px;
}

.page--with-sidebar {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
}

.layout__side--filters {
  background: white;
  padding: 20px;
  border-radius: 8px;
  height: fit-content;
}

.layout__main {
  background: white;
  padding: 40px;
  border-radius: 8px;
}

.page--top {
  background: white;
  padding: 40px;
  border-radius: 8px;
}

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

.top-list__item {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid #eee;
  counter-increment: top-counter;
}

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

.top-rank {
  font-size: 32px;
  font-weight: bold;
  color: #667eea;
  min-width: 50px;
}

.top-rank::before {
  content: counter(top-counter);
}

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

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

.top-info {
  flex: 1;
}

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

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

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

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

.top-meta {
  font-size: 13px;
  color: #999;
  display: flex;
  gap: 15px;
}

.page--grouped {
  background: white;
  padding: 40px;
  border-radius: 8px;
}

.group {
  margin-bottom: 50px;
}

.group:last-child {
  margin-bottom: 0;
}

.group__title {
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #667eea;
}

.group__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.detail-main {
  min-height: calc(100vh - 200px);
}

.video-player-section {
  background: #000;
  padding: 40px 0;
}

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

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

.player-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  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: 32px;
  color: #333;
  margin-left: 5px;
}

.detail-container {
  padding: 40px 20px;
}

.detail-header h1 {
  font-size: 36px;
  margin-bottom: 30px;
}

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

.detail-info h2,
.detail-module h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.info-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px 20px;
  font-size: 16px;
}

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

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

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

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

.tag {
  display: inline-block;
  padding: 6px 12px;
  background: #f0f0f0;
  border-radius: 4px;
  font-size: 14px;
  color: #666;
}

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

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

@media (max-width: 768px) {
  .nav-links {
    gap: 15px;
    font-size: 14px;
  }

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

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

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

  .page--with-sidebar {
    grid-template-columns: 1fr;
  }

  .top-list__item {
    flex-wrap: wrap;
  }

  .top-rank {
    font-size: 24px;
    min-width: 40px;
  }

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

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

.ui-style-0 body { background: #111; color: #fff; }
.ui-style-0 .main-nav { background: #222; }
.ui-style-0 .site-logo, .ui-style-0 .nav-links a { color: #fff; }
.ui-style-0 .video-card, .ui-style-0 .detail-info, .ui-style-0 .detail-module { background: #1a1a1a; color: #fff; }
.ui-style-0 .hero-section { background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%); }

.ui-style-1 body { background: #0a0a0a; color: #f0f0f0; }
.ui-style-1 .video-card { border: 1px solid #333; }
.ui-style-1 .hero-section { background: linear-gradient(135deg, #ff5722 0%, #ff9800 100%); }

.ui-style-2 body { background: #fafafa; }
.ui-style-2 .hero-section { background: linear-gradient(135deg, #2196f3 0%, #00bcd4 100%); }

.ui-style-3 body { background: #fff; }
.ui-style-3 .hero-section { background: linear-gradient(135deg, #e91e63 0%, #f06292 100%); }
.ui-style-3 .video-card { box-shadow: 0 2px 8px rgba(233, 30, 99, 0.1); }

.ui-style-4 body { background: #fafafa; }
.ui-style-4 .hero-section { background: linear-gradient(135deg, #f44336 0%, #e53935 100%); }

.ui-style-5 body { background: #141414; color: #fff; }
.ui-style-5 .main-nav { background: #1a1a1a; }
.ui-style-5 .video-card, .ui-style-5 .detail-info, .ui-style-5 .detail-module { background: #222; color: #fff; }
.ui-style-5 .hero-section { background: linear-gradient(135deg, #b71c1c 0%, #c62828 100%); }

.ui-style-6 body { background: #0f1419; color: #e1e8ed; }
.ui-style-6 .main-nav { background: #192734; }
.ui-style-6 .video-card, .ui-style-6 .detail-info, .ui-style-6 .detail-module { background: #192734; color: #e1e8ed; }
.ui-style-6 .hero-section { background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%); }

.ui-style-7 body { background: #0e0e0e; color: #fff; }
.ui-style-7 .main-nav { background: #1a1a1a; }
.ui-style-7 .video-card, .ui-style-7 .detail-info, .ui-style-7 .detail-module { background: #1a1a1a; color: #fff; }
.ui-style-7 .hero-section { background: linear-gradient(135deg, #00adb5 0%, #00c9d4 100%); }

.ui-style-8 body { background: #121212; color: #f0f0f0; }
.ui-style-8 .main-nav { background: #1e1e1e; }
.ui-style-8 .video-card, .ui-style-8 .detail-info, .ui-style-8 .detail-module { background: #1e1e1e; color: #f0f0f0; }
.ui-style-8 .hero-section { background: linear-gradient(135deg, #00C75A 0%, #00b350 100%); }

.ui-style-9 body { background: #000; color: #fff; }
.ui-style-9 .main-nav { background: #0a0a0a; }
.ui-style-9 .video-card, .ui-style-9 .detail-info, .ui-style-9 .detail-module { background: #0a0a0a; color: #fff; }
.ui-style-9 .hero-section { background: linear-gradient(135deg, #333 0%, #111 100%); }

.ui-style-10 body { background: #f5f5f5; }
.ui-style-10 .hero-section { background: linear-gradient(135deg, #00C75A 0%, #00e06a 100%); }
.ui-style-10 .video-card { border-radius: 12px; }

.ui-style-11 body { background: #fff; }
.ui-style-11 .hero-section { background: linear-gradient(135deg, #0099FF 0%, #00b4ff 100%); }

.ui-style-12 body { background: #fff; }
.ui-style-12 .hero-section { background: linear-gradient(135deg, #FF6700 0%, #ff8533 100%); }

.ui-style-13 body { background: #f4f4f4; }
.ui-style-13 .hero-section { background: linear-gradient(135deg, #00A1D6 0%, #FB7299 100%); }
.ui-style-13 .video-card { border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 161, 214, 0.1); }

.ui-style-14 body { background: #f7f8fa; }
.ui-style-14 .hero-section { background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%); }
