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

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

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

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

.site-nav {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.site-nav a {
  color: #666;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: #1890ff;
}

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

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

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

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

.intro-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
  color: #666;
}

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

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

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

.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(-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;
  padding-top: 56.25%;
  overflow: hidden;
  background: #e0e0e0;
}

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

.video-info {
  padding: 16px;
}

.video-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

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

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

.page-header {
  margin-bottom: 32px;
  text-align: center;
}

.page-header h1 {
  font-size: 32px;
  margin-bottom: 12px;
  color: #333;
}

.page-subtitle {
  font-size: 15px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

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

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

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

.top-cover {
  width: 120px;
  flex-shrink: 0;
}

.top-cover img {
  width: 100%;
  border-radius: 4px;
}

.top-info {
  flex: 1;
}

.top-title a {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
}

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

.top-meta {
  font-size: 13px;
  color: #999;
  margin: 8px 0;
}

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

.detail-main {
  background: #f5f5f5;
}

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

.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;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  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 {
  background: white;
  padding: 32px 20px;
  border-bottom: 1px solid #e0e0e0;
}

.detail-header h1 {
  font-size: 32px;
  color: #333;
  max-width: 1000px;
  margin: 0 auto;
}

.detail-info {
  background: white;
  padding: 32px 20px;
  margin-bottom: 16px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 16px auto 0;
}

.info-item {
  font-size: 14px;
}

.info-label {
  color: #999;
  font-weight: 600;
}

.info-value {
  color: #333;
}

.detail-module {
  background: white;
  padding: 32px 20px;
  margin-bottom: 16px;
}

.module-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.module-content {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  max-width: 1000px;
  margin: 0 auto;
}

.module-content p {
  margin-bottom: 16px;
}

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

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

.detail-module--related {
  padding: 40px 20px;
}

.site-footer {
  background: #333;
  color: white;
  padding: 32px 20px;
  text-align: center;
}

.footer-container p {
  font-size: 14px;
  opacity: 0.8;
}

.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  background: #1890ff;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 99;
  font-size: 20px;
}

.back-to-top.show {
  opacity: 1;
}

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

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

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

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

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

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

  .top-cover {
    width: 150px;
  }

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

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

.ui-style-0 body { background: #000; color: #fff; }
.ui-style-0 .site-header { background: #1a1a1a; }
.ui-style-0 .video-card { background: #1a1a1a; }
.ui-style-0 .detail-module, .ui-style-0 .detail-info { background: #1a1a1a; color: #fff; }

.ui-style-1 { background: #f5f5f5; }
.ui-style-2 { background: #fff; }
.ui-style-3 .hero-section { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.ui-style-4 .hero-section { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.ui-style-5 body { background: #0a0a0a; }
.ui-style-6 body { background: #141414; }
.ui-style-7 body { background: #1a1a2e; }
.ui-style-8 body { background: #0f1419; }
.ui-style-9 body { background: #000; }
.ui-style-10 .hero-section { background: linear-gradient(135deg, #00C75A 0%, #00a046 100%); }
.ui-style-11 .hero-section { background: linear-gradient(135deg, #0099FF 0%, #0077cc 100%); }
.ui-style-12 .hero-section { background: linear-gradient(135deg, #FF6700 0%, #cc5200 100%); }
.ui-style-13 .hero-section { background: linear-gradient(135deg, #00A1D6 0%, #FB7299 100%); }
.ui-style-14 { background: #f8f9fa; }
