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

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

.main-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  white-space: nowrap;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #1890ff;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1890ff !important;
}

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

.site-intro {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.main-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #1890ff;
}

.intro-text {
  color: #666;
  line-height: 1.8;
}

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

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #1890ff;
}

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

.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(-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;
  padding-top: 56.25%;
  background: #eee;
  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: 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.875rem;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.page-header {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1890ff;
}

.page-header p {
  color: #666;
  line-height: 1.8;
}

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

.layout__side--filters {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  height: fit-content;
}

.layout__side--filters h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #1890ff;
}

.layout__main h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #1890ff;
}

.top-list__items {
  list-style: none;
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

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

.top-rank {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1890ff;
  min-width: 40px;
  text-align: center;
}

.top-list__item .video-cover {
  width: 120px;
  height: 68px;
  flex-shrink: 0;
  padding-top: 0;
}

.top-list__item .video-cover img {
  position: static;
  width: 100%;
  height: 100%;
}

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

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

.top-list__item .video-title a:hover {
  color: #1890ff;
}

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

.group {
  margin-bottom: 2rem;
}

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

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

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

.video-player {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.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(24, 144, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

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

.player-play-icon {
  font-size: 2rem;
  color: #fff;
  display: block;
  padding-left: 4px;
}

.detail-header {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.detail-title {
  font-size: 2rem;
  color: #333;
}

.detail-info {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.detail-info h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #1890ff;
}

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

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

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

.detail-module {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.detail-module h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #1890ff;
}

.detail-module p {
  color: #666;
  line-height: 1.8;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #e6f7ff;
  color: #1890ff;
  border-radius: 4px;
  font-size: 0.875rem;
}

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

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

@media (max-width: 768px) {
  .main-nav {
    gap: 1rem;
    padding: 0.75rem;
  }

  .nav-logo {
    font-size: 1.2rem;
  }

  .main-nav a {
    font-size: 0.9rem;
  }

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

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

  .main-title {
    font-size: 1.5rem;
  }

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

  .video-info {
    padding: 0.75rem;
  }

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

  .top-list__item .video-cover {
    width: 100%;
    height: auto;
    padding-top: 56.25%;
  }

  .info-list {
    grid-template-columns: 1fr;
  }
}

.ui-style-0 body { background: #000; color: #fff; }
.ui-style-0 .main-header { background: #111; }
.ui-style-0 .main-nav a { color: #fff; }
.ui-style-0 .site-intro, .ui-style-0 .page-header, .ui-style-0 .detail-module { background: #1a1a1a; color: #fff; }
.ui-style-0 .video-card { background: #1a1a1a; }

.ui-style-1 body { background: #0f0f0f; color: #fff; }
.ui-style-1 .main-header { background: #1a1a1a; }
.ui-style-1 .nav-logo { color: #ff6b35 !important; }
.ui-style-1 .main-nav a { color: #fff; }

.ui-style-2 body { background: #fff; }
.ui-style-2 .section-title { border-bottom-color: #ff4d4f; }

.ui-style-3 .nav-logo { color: #ff4d4f !important; }

.ui-style-4 .nav-logo { color: #f5222d !important; }

.ui-style-5 body { background: #141414; color: #fff; }
.ui-style-5 .main-header { background: #000; }
.ui-style-5 .main-nav a { color: #fff; }
.ui-style-5 .site-intro, .ui-style-5 .page-header { background: #1f1f1f; color: #fff; }

.ui-style-6 body { background: #0d1117; color: #fff; }
.ui-style-6 .main-header { background: #161b22; }
.ui-style-6 .main-nav a { color: #fff; }

.ui-style-7 body { background: #0a1929; color: #fff; }
.ui-style-7 .main-header { background: #001e3c; }
.ui-style-7 .main-nav a { color: #fff; }
.ui-style-7 .nav-logo { color: #90caf9 !important; }

.ui-style-8 body { background: #0d0d0d; color: #fff; }
.ui-style-8 .nav-logo { color: #1ed760 !important; }

.ui-style-9 body { background: #000; color: #fff; }
.ui-style-9 .main-header { background: #000; border-bottom: 1px solid #333; }

.ui-style-10 .nav-logo { color: #00C75A !important; }
.ui-style-10 body { background: #f7f8fa; }

.ui-style-11 .nav-logo { color: #0099FF !important; }

.ui-style-12 .nav-logo { color: #FF6700 !important; }

.ui-style-13 .nav-logo { color: #00A1D6 !important; }

.ui-style-14 .nav-logo { color: #003d82 !important; }
