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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
}

.site-nav {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.site-logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  white-space: nowrap;
  overflow-x: auto;
}

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

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

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.site-intro {
  margin-bottom: 3rem;
}

.site-intro h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.video-section {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #0066cc;
  padding-left: 1rem;
}

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

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

.video-card:hover {
  transform: translateY(-4px);
  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: 56.25%;
  background: #f0f0f0;
  overflow: hidden;
}

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

.video-info {
  padding: 1rem;
}

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

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

.list-page .page-header {
  margin-bottom: 2rem;
}

.list-page .page-header h1 {
  font-size: 2rem;
}

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

.top-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rank-badge {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0066cc;
  min-width: 40px;
  text-align: center;
}

.top-item .video-cover {
  width: 120px;
  padding-top: 67.5px;
  flex-shrink: 0;
}

.top-item .video-info {
  flex: 1;
  padding: 0;
}

.video-meta {
  color: #999;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.group {
  margin-bottom: 3rem;
}

.group__title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #0066cc;
}

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

.detail-page .video-player-section {
  margin-bottom: 2rem;
}

.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%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

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

.player-play-icon {
  font-size: 2rem;
}

.video-header h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.video-basic-info {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.video-basic-info h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.video-basic-info dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0.5rem;
}

.video-basic-info dt {
  font-weight: bold;
}

.content-module {
  margin-bottom: 2rem;
}

.content-module h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  border-left: 4px solid #0066cc;
  padding-left: 1rem;
}

.content-module p {
  line-height: 1.8;
}

.related-videos {
  margin-top: 3rem;
}

.related-videos h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #0066cc;
  padding-left: 1rem;
}

.site-footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }

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

  .site-intro h1 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

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

  .top-item {
    flex-direction: column;
  }

  .top-item .video-cover {
    width: 100%;
    padding-top: 50%;
  }
}

.ui-style-0 body { background: #000; color: #fff; }
.ui-style-0 .site-nav { background: #111; border-bottom-color: #333; }
.ui-style-0 .nav-links a { color: #fff; }
.ui-style-0 .video-card { background: #1a1a1a; }
.ui-style-1 body { background: #000; color: #fff; }
.ui-style-1 .site-nav { background: #111; }
.ui-style-2 body { background: #fff; }
.ui-style-3 body { background: #fff; }
.ui-style-4 body { background: #fff; }
.ui-style-5 body { background: #0a0a0a; color: #fff; }
.ui-style-5 .site-nav { background: #111; }
.ui-style-6 body { background: #0c1929; color: #fff; }
.ui-style-6 .site-nav { background: #162c47; }
.ui-style-7 body { background: #0d1f2d; color: #fff; }
.ui-style-8 body { background: #121212; color: #fff; }
.ui-style-9 body { background: #000; color: #fff; }
.ui-style-10 body { background: #fff; }
.ui-style-11 body { background: #fff; }
.ui-style-12 body { background: #fff; }
.ui-style-13 body { background: #fff; }
.ui-style-14 body { background: #fff; }
