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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
}

.ui-style-0 body, .ui-style-1 body {
  background: #1a1a1a;
  color: #fff;
}

.ui-style-5 body, .ui-style-6 body, .ui-style-7 body, .ui-style-8 body, .ui-style-9 body {
  background: #141414;
  color: #fff;
}

.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;
}

.ui-style-0 .site-header, .ui-style-1 .site-header {
  background: #000;
  border-bottom: 1px solid #333;
}

.ui-style-5 .site-header, .ui-style-6 .site-header, .ui-style-7 .site-header, .ui-style-8 .site-header, .ui-style-9 .site-header {
  background: #1a1a1a;
}

.main-nav {
  padding: 0;
}

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

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

.ui-style-0 .site-logo, .ui-style-1 .site-logo,
.ui-style-5 .site-logo, .ui-style-6 .site-logo, .ui-style-7 .site-logo, .ui-style-8 .site-logo, .ui-style-9 .site-logo {
  color: #fff;
}

.ui-style-3 .site-logo, .ui-style-4 .site-logo {
  color: #e60023;
}

.ui-style-10 .site-logo {
  color: #00C75A;
}

.ui-style-11 .site-logo {
  color: #0099FF;
}

.ui-style-12 .site-logo {
  color: #FF6700;
}

.ui-style-13 .site-logo {
  color: #00A1D6;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-links li {
  white-space: nowrap;
}

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

.nav-links a:hover, .nav-links a.active {
  background: #f0f0f0;
  color: #333;
}

.ui-style-0 .nav-links a, .ui-style-1 .nav-links a {
  color: #999;
}

.ui-style-0 .nav-links a:hover, .ui-style-0 .nav-links a.active,
.ui-style-1 .nav-links a:hover, .ui-style-1 .nav-links a.active {
  background: #333;
  color: #fff;
}

.ui-style-5 .nav-links a, .ui-style-6 .nav-links a, .ui-style-7 .nav-links a, .ui-style-8 .nav-links a, .ui-style-9 .nav-links a {
  color: #aaa;
}

.ui-style-5 .nav-links a:hover, .ui-style-5 .nav-links a.active,
.ui-style-6 .nav-links a:hover, .ui-style-6 .nav-links a.active,
.ui-style-7 .nav-links a:hover, .ui-style-7 .nav-links a.active,
.ui-style-8 .nav-links a:hover, .ui-style-8 .nav-links a.active,
.ui-style-9 .nav-links a:hover, .ui-style-9 .nav-links a.active {
  background: #2a2a2a;
  color: #fff;
}

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

.ui-style-3 .hero-section, .ui-style-4 .hero-section {
  background: linear-gradient(135deg, #e60023 0%, #ff4d6d 100%);
}

.ui-style-10 .hero-section {
  background: linear-gradient(135deg, #00C75A 0%, #00e676 100%);
}

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

.hero-title {
  font-size: 32px;
  margin-bottom: 16px;
  font-weight: 700;
}

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

.site-intro {
  padding: 40px 0;
  background: #fff;
}

.ui-style-0 .site-intro, .ui-style-1 .site-intro {
  background: #0a0a0a;
}

.ui-style-5 .site-intro, .ui-style-6 .site-intro, .ui-style-7 .site-intro, .ui-style-8 .site-intro, .ui-style-9 .site-intro {
  background: #0f0f0f;
}

.site-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

.ui-style-0 .site-intro p, .ui-style-1 .site-intro p,
.ui-style-5 .site-intro p, .ui-style-6 .site-intro p, .ui-style-7 .site-intro p, .ui-style-8 .site-intro p, .ui-style-9 .site-intro p {
  color: #aaa;
}

.video-section {
  padding: 40px 0;
}

.section-title {
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 600;
}

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

.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;
}

.ui-style-0 .video-card, .ui-style-1 .video-card {
  background: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.ui-style-5 .video-card, .ui-style-6 .video-card, .ui-style-7 .video-card, .ui-style-8 .video-card, .ui-style-9 .video-card {
  background: #1f1f1f;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

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

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

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

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

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.video-card:hover .play-overlay {
  opacity: 1;
}

.play-icon {
  font-size: 48px;
  color: #fff;
}

.video-info {
  padding: 16px;
}

.video-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.ui-style-0 .video-one-line, .ui-style-1 .video-one-line,
.ui-style-5 .video-one-line, .ui-style-6 .video-one-line, .ui-style-7 .video-one-line, .ui-style-8 .video-one-line, .ui-style-9 .video-one-line {
  color: #999;
}

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

.video-meta span {
  padding: 2px 8px;
  background: #f0f0f0;
  border-radius: 3px;
}

.ui-style-0 .video-meta span, .ui-style-1 .video-meta span {
  background: #2a2a2a;
  color: #aaa;
}

.ui-style-5 .video-meta span, .ui-style-6 .video-meta span, .ui-style-7 .video-meta span, .ui-style-8 .video-meta span, .ui-style-9 .video-meta span {
  background: #2a2a2a;
  color: #aaa;
}

.page-header {
  padding: 40px 0;
  text-align: center;
}

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

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

.ui-style-0 .page-desc, .ui-style-1 .page-desc,
.ui-style-5 .page-desc, .ui-style-6 .page-desc, .ui-style-7 .page-desc, .ui-style-8 .page-desc, .ui-style-9 .page-desc {
  color: #aaa;
}

.page--grid {
  padding: 20px 0;
}

.page--top {
  padding: 20px 0;
}

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

.top-list__item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #fff;
  margin-bottom: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  align-items: flex-start;
}

.ui-style-0 .top-list__item, .ui-style-1 .top-list__item {
  background: #1a1a1a;
}

.ui-style-5 .top-list__item, .ui-style-6 .top-list__item, .ui-style-7 .top-list__item, .ui-style-8 .top-list__item, .ui-style-9 .top-list__item {
  background: #1f1f1f;
}

.rank-badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #667eea;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}

.item-cover {
  flex-shrink: 0;
  width: 120px;
  height: 160px;
  border-radius: 4px;
  overflow: hidden;
}

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

.item-info {
  flex: 1;
}

.item-info h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.item-info h3 a {
  color: inherit;
  text-decoration: none;
}

.item-info h3 a:hover {
  color: #667eea;
}

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

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

.ui-style-0 .item-desc, .ui-style-1 .item-desc,
.ui-style-5 .item-desc, .ui-style-6 .item-desc, .ui-style-7 .item-desc, .ui-style-8 .item-desc, .ui-style-9 .item-desc {
  color: #aaa;
}

.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;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

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

.player-play-icon {
  font-size: 32px;
  color: #333;
}

.detail-header {
  padding: 40px 0 20px;
}

.detail-header h1 {
  font-size: 36px;
  font-weight: 700;
}

.detail-info, .detail-module {
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}

.ui-style-0 .detail-info, .ui-style-0 .detail-module,
.ui-style-1 .detail-info, .ui-style-1 .detail-module {
  border-bottom-color: #2a2a2a;
}

.ui-style-5 .detail-info, .ui-style-5 .detail-module,
.ui-style-6 .detail-info, .ui-style-6 .detail-module,
.ui-style-7 .detail-info, .ui-style-7 .detail-module,
.ui-style-8 .detail-info, .ui-style-8 .detail-module,
.ui-style-9 .detail-info, .ui-style-9 .detail-module {
  border-bottom-color: #2a2a2a;
}

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

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

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

.ui-style-0 .info-list dt, .ui-style-1 .info-list dt,
.ui-style-5 .info-list dt, .ui-style-6 .info-list dt, .ui-style-7 .info-list dt, .ui-style-8 .info-list dt, .ui-style-9 .info-list dt {
  color: #999;
}

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

.ui-style-0 .detail-module p, .ui-style-1 .detail-module p,
.ui-style-5 .detail-module p, .ui-style-6 .detail-module p, .ui-style-7 .detail-module p, .ui-style-8 .detail-module p, .ui-style-9 .detail-module p {
  color: #aaa;
}

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

.tag {
  padding: 8px 16px;
  background: #f0f0f0;
  border-radius: 20px;
  font-size: 14px;
  color: #666;
}

.ui-style-0 .tag, .ui-style-1 .tag {
  background: #2a2a2a;
  color: #aaa;
}

.ui-style-5 .tag, .ui-style-6 .tag, .ui-style-7 .tag, .ui-style-8 .tag, .ui-style-9 .tag {
  background: #2a2a2a;
  color: #aaa;
}

.related-section {
  padding: 40px 0;
}

.related-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

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

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

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  background: #667eea;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.3s;
  z-index: 99;
}

.back-to-top:hover {
  background: #5568d3;
  transform: translateY(-4px);
}

.back-to-top.show {
  display: flex;
}

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

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 4px;
  }

  .nav-links a {
    font-size: 13px;
    padding: 6px 8px;
  }

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

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

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

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

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

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

  .top-list__item {
    flex-direction: column;
    gap: 12px;
  }

  .item-cover {
    width: 100%;
    height: auto;
    padding-top: 56.25%;
    position: relative;
  }

  .item-cover img {
    position: absolute;
    top: 0;
    left: 0;
  }

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

  .info-list {
    grid-template-columns: 80px 1fr;
    gap: 8px 12px;
    font-size: 14px;
  }
}
