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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", 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.08);
  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: 64px;
}

.site-logo a {
  font-size: 24px;
  font-weight: 700;
  color: #00A1D6;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  overflow: visible;
}

.site-nav a {
  color: #666;
  text-decoration: none;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: #00A1D6;
  background: rgba(0,161,214,0.1);
}

.hero-section {
  background: linear-gradient(135deg, #00A1D6 0%, #0081B8 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

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

.hero-subtitle {
  font-size: 18px;
  opacity: 0.95;
  font-weight: 300;
}

.intro-section {
  background: white;
  padding: 48px 20px;
  margin-bottom: 32px;
}

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

.video-module {
  background: white;
  padding: 48px 20px;
  margin-bottom: 24px;
  border-radius: 8px;
}

.module-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #222;
  position: relative;
  padding-left: 16px;
}

.module-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: #00A1D6;
  border-radius: 2px;
}

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

.video-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

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

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

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

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

.play-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #00A1D6;
}

.video-info {
  padding: 16px;
}

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

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

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

.list-page {
  background: white;
  min-height: calc(100vh - 200px);
  padding: 48px 20px;
}

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

.page-title {
  font-size: 36px;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
}

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

.top-list__items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.top-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: #fafafa;
  border-radius: 8px;
  transition: all 0.2s;
}

.top-item:hover {
  background: #f0f0f0;
  transform: translateX(4px);
}

.top-rank {
  font-size: 32px;
  font-weight: 700;
  color: #00A1D6;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.top-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.top-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

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

.top-title a:hover {
  color: #00A1D6;
}

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

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

.detail-page {
  background: white;
  min-height: calc(100vh - 200px);
}

.video-player-section {
  background: #000;
  padding: 48px 0;
}

.video-player {
  max-width: 1000px;
  margin: 0 auto;
}

.video-player-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #1a1a1a;
  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.95);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

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

.player-play-icon {
  font-size: 32px;
  color: #00A1D6;
  margin-left: 4px;
}

.detail-header {
  padding: 48px 20px 32px;
}

.detail-title {
  font-size: 36px;
  font-weight: 700;
  color: #222;
  text-align: center;
}

.detail-info,
.detail-module {
  padding: 32px 20px;
  border-top: 1px solid #f0f0f0;
}

.detail-info h2,
.detail-module h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #222;
}

.info-list {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px 24px;
  max-width: 800px;
}

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

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

.detail-module p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  max-width: 800px;
}

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

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

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

.video-card--related .video-cover {
  padding-top: 140%;
}

.site-footer {
  background: #2c3e50;
  color: white;
  padding: 32px 20px;
  text-align: center;
  margin-top: 48px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.ui-style-13 {
  --brand-primary: #00A1D6;
  --brand-secondary: #FB7299;
}

.ui-style-13 .site-logo a,
.ui-style-13 .hero-section {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ui-style-13 .site-logo a {
  background: none;
  -webkit-text-fill-color: var(--brand-primary);
  color: var(--brand-primary);
}

.ui-style-13 .hero-section {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    height: auto;
    padding: 12px 16px;
    gap: 12px;
  }

  .site-logo a {
    font-size: 20px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    overflow-x: visible;
  }

  .site-nav a {
    font-size: 13px;
    padding: 6px 8px;
    white-space: nowrap;
  }

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

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

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  .video-info {
    padding: 12px;
  }

  .video-title {
    font-size: 14px;
    -webkit-line-clamp: 2;
  }

  .video-meta,
  .video-one-line {
    font-size: 12px;
  }

  .top-item {
    flex-direction: column;
    gap: 16px;
  }

  .top-rank {
    font-size: 24px;
    min-width: auto;
  }

  .top-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
  }

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

  .info-list {
    grid-template-columns: 80px 1fr;
    gap: 12px 16px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .page-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
