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

.ui-style-0 body { background: #1a1a1a; color: #fff; }
.ui-style-1 body { background: #0f0f0f; color: #fff; }
.ui-style-2 body { background: #fff; color: #333; }
.ui-style-3 body { background: #fff; color: #333; }
.ui-style-4 body { background: #fff; color: #333; }
.ui-style-5 body { background: #141414; color: #fff; }
.ui-style-6 body { background: #0d1b2a; color: #fff; }
.ui-style-7 body { background: #0f1419; color: #fff; }
.ui-style-8 body { background: #0d1117; color: #fff; }
.ui-style-9 body { background: #000; color: #fff; }
.ui-style-10 body { background: #f5f5f5; color: #333; }
.ui-style-11 body { background: #fff; color: #333; }
.ui-style-12 body { background: #fff; color: #333; }
.ui-style-13 body { background: #fff; color: #333; }
.ui-style-14 body { background: #f0f0f0; color: #333; }

.site-header {
  background: rgba(0,0,0,0.9);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.ui-style-2 .site-header,
.ui-style-3 .site-header,
.ui-style-4 .site-header,
.ui-style-10 .site-header,
.ui-style-11 .site-header,
.ui-style-12 .site-header,
.ui-style-13 .site-header,
.ui-style-14 .site-header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  white-space: nowrap;
}

.ui-style-0 .logo { color: #ff6b6b; }
.ui-style-1 .logo { color: #fe2c55; }
.ui-style-10 .logo { color: #00C75A; }
.ui-style-11 .logo { color: #0099FF; }
.ui-style-12 .logo { color: #FF6700; }
.ui-style-13 .logo { color: #00A1D6; }

.ui-style-2 .logo,
.ui-style-3 .logo,
.ui-style-4 .logo,
.ui-style-11 .logo,
.ui-style-14 .logo {
  color: #333;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  white-space: nowrap;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s;
  white-space: nowrap;
}

.ui-style-2 .nav-link,
.ui-style-3 .nav-link,
.ui-style-4 .nav-link,
.ui-style-10 .nav-link,
.ui-style-11 .nav-link,
.ui-style-12 .nav-link,
.ui-style-13 .nav-link,
.ui-style-14 .nav-link {
  color: #333;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255,255,255,0.1);
}

.ui-style-0 .nav-link:hover,
.ui-style-0 .nav-link.active { background: #ff6b6b; }
.ui-style-1 .nav-link:hover,
.ui-style-1 .nav-link.active { background: #fe2c55; }
.ui-style-5 .nav-link:hover,
.ui-style-5 .nav-link.active { background: #e50914; }

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

.page-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.site-intro,
.page-header {
  margin-bottom: 2rem;
}

.intro-text,
.page-desc {
  font-size: 1.1rem;
  line-height: 1.8;
}

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

.section-title,
.module-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

.video-card {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.ui-style-2 .video-card,
.ui-style-3 .video-card,
.ui-style-4 .video-card,
.ui-style-10 .video-card,
.ui-style-11 .video-card,
.ui-style-12 .video-card,
.ui-style-13 .video-card,
.ui-style-14 .video-card {
  background: #fff;
  border: 1px solid #e0e0e0;
}

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

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

.video-cover {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #333;
}

.video-cover img {
  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;
  opacity: 0.8;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.top-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
}

.ui-style-2 .top-item,
.ui-style-3 .top-item,
.ui-style-4 .top-item,
.ui-style-10 .top-item,
.ui-style-11 .top-item,
.ui-style-12 .top-item,
.ui-style-13 .top-item,
.ui-style-14 .top-item {
  background: #fff;
  border: 1px solid #e0e0e0;
}

.top-rank {
  font-size: 2rem;
  font-weight: bold;
  min-width: 3rem;
  text-align: center;
  color: #ff6b6b;
}

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

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

.top-info {
  flex: 1;
}

.top-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

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

.top-title a:hover {
  text-decoration: underline;
}

.top-meta {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.top-one-line {
  font-size: 0.9rem;
  opacity: 0.8;
}

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

.layout__side--filters {
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  height: fit-content;
}

.ui-style-2 .layout__side--filters,
.ui-style-3 .layout__side--filters,
.ui-style-4 .layout__side--filters,
.ui-style-10 .layout__side--filters,
.ui-style-11 .layout__side--filters,
.ui-style-12 .layout__side--filters,
.ui-style-13 .layout__side--filters,
.ui-style-14 .layout__side--filters {
  background: #fff;
  border: 1px solid #e0e0e0;
}

.group {
  margin-bottom: 2rem;
}

.group-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

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

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

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

.player-play-icon {
  margin-left: 4px;
}

.detail-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.detail-info {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
}

.ui-style-2 .detail-info,
.ui-style-3 .detail-info,
.ui-style-4 .detail-info,
.ui-style-10 .detail-info,
.ui-style-11 .detail-info,
.ui-style-12 .detail-info,
.ui-style-13 .detail-info,
.ui-style-14 .detail-info {
  background: #f9f9f9;
}

.info-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

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

.info-list dt {
  font-weight: bold;
  opacity: 0.8;
}

.detail-module {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
}

.ui-style-2 .detail-module,
.ui-style-3 .detail-module,
.ui-style-4 .detail-module,
.ui-style-10 .detail-module,
.ui-style-11 .detail-module,
.ui-style-12 .detail-module,
.ui-style-13 .detail-module,
.ui-style-14 .detail-module {
  background: #f9f9f9;
}

.module-content p {
  margin-bottom: 0.5rem;
}

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

.tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  font-size: 0.9rem;
}

.ui-style-0 .tag { background: #ff6b6b; }
.ui-style-1 .tag { background: #fe2c55; }
.ui-style-10 .tag { background: #00C75A; color: #fff; }
.ui-style-11 .tag { background: #0099FF; color: #fff; }
.ui-style-12 .tag { background: #FF6700; color: #fff; }
.ui-style-13 .tag { background: #00A1D6; color: #fff; }

.site-footer {
  background: rgba(0,0,0,0.9);
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
}

.ui-style-2 .site-footer,
.ui-style-3 .site-footer,
.ui-style-4 .site-footer,
.ui-style-10 .site-footer,
.ui-style-11 .site-footer,
.ui-style-12 .site-footer,
.ui-style-13 .site-footer,
.ui-style-14 .site-footer {
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0 0.5rem;
  }

  .nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }

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

  .video-cover {
    aspect-ratio: 3/4;
  }

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

  .top-item {
    flex-direction: column;
    text-align: center;
  }

  .detail-title {
    font-size: 1.8rem;
  }
}
