* {
  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;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

.nav-links {
  display: flex;
  gap: 24px;
  white-space: nowrap;
}

.nav-links a {
  color: #666;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #007bff;
}

.main-content {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
}

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

.site-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}

.intro-section {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 40px;
  line-height: 1.8;
  color: #555;
}

.video-section {
  margin-bottom: 50px;
}

.section-title {
  font-size: 28px;
  margin-bottom: 24px;
  color: #333;
  border-left: 4px solid #007bff;
  padding-left: 16px;
}

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

.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 {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e9ecef;
}

.video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.video-card:hover .video-cover img {
  transform: scale(1.05);
}

.video-info {
  padding: 16px;
}

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

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

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

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

.page-header p {
  font-size: 16px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

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

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

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

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

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

.top-info {
  flex: 1;
}

.top-title {
  font-size: 20px;
  margin-bottom: 8px;
}

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

.top-title a:hover {
  color: #007bff;
}

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

.top-desc {
  font-size: 14px;
  color: #666;
}

.group {
  margin-bottom: 40px;
}

.group__title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
  border-bottom: 2px solid #007bff;
  padding-bottom: 8px;
}

.detail-page {
  max-width: 900px;
}

.video-player-section {
  margin-bottom: 40px;
}

.video-player {
  width: 100%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.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;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.player-play-btn:hover {
  background: rgba(255,255,255,1);
}

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

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

.detail-section {
  background: #fff;
  padding: 30px;
  margin-bottom: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.detail-section h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 16px;
  border-left: 4px solid #007bff;
  padding-left: 12px;
}

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

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

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

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

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

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

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

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

.site-footer p {
  font-size: 14px;
}

.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.3s;
  z-index: 99;
}

.back-to-top:hover {
  background: #0056b3;
}

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

@media (max-width: 768px) {
  .nav-container {
    padding: 0 16px;
  }

  .nav-links {
    gap: 12px;
    font-size: 14px;
  }

  .nav-logo {
    font-size: 20px;
  }

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

  .section-title {
    font-size: 22px;
  }

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

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

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

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

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

  .top-rank {
    align-self: center;
  }

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

  .detail-section {
    padding: 20px;
  }

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

.ui-style-0 body {
  background: #000;
  color: #fff;
}

.ui-style-0 .main-nav {
  background: #111;
  border-bottom: 1px solid #333;
}

.ui-style-0 .nav-logo {
  color: #fff;
}

.ui-style-0 .nav-links a {
  color: #aaa;
}

.ui-style-0 .nav-links a:hover {
  color: #fff;
}

.ui-style-0 .hero-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
}

.ui-style-0 .video-card {
  background: #111;
}

.ui-style-0 .video-title {
  color: #fff;
}

.ui-style-0 .detail-section {
  background: #111;
  color: #ccc;
}

.ui-style-0 .detail-section h2 {
  color: #fff;
}

.ui-style-1 .hero-section {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.ui-style-1 .section-title {
  border-left-color: #ff6b6b;
}

.ui-style-1 .detail-section h2 {
  border-left-color: #ff6b6b;
}

.ui-style-2 body {
  background: #f5f5f5;
}

.ui-style-2 .hero-section {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

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

.ui-style-3 .section-title {
  border-left-color: #f5576c;
}

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

.ui-style-5 body {
  background: #141414;
  color: #fff;
}

.ui-style-5 .main-nav {
  background: #1a1a1a;
}

.ui-style-5 .nav-logo {
  color: #e50914;
}

.ui-style-5 .video-card {
  background: #1a1a1a;
}

.ui-style-5 .video-title {
  color: #fff;
}

.ui-style-6 body {
  background: #0f1419;
  color: #e6edf3;
}

.ui-style-6 .main-nav {
  background: #161b22;
}

.ui-style-6 .nav-logo {
  color: #58a6ff;
}

.ui-style-7 body {
  background: #0e1621;
  color: #fff;
}

.ui-style-7 .hero-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.ui-style-8 body {
  background: #0a0e27;
  color: #e5e7eb;
}

.ui-style-8 .hero-section {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.ui-style-9 body {
  background: #000;
  color: #fff;
}

.ui-style-9 .main-nav {
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
}

.ui-style-10 body {
  background: #fff;
}

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

.ui-style-10 .section-title {
  border-left-color: #00C75A;
}

.ui-style-11 body {
  background: #fafafa;
}

.ui-style-11 .hero-section {
  background: linear-gradient(135deg, #0099FF 0%, #0066cc 100%);
}

.ui-style-12 body {
  background: #fff;
}

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

.ui-style-13 body {
  background: #f6f7f9;
}

.ui-style-13 .hero-section {
  background: linear-gradient(135deg, #00A1D6 0%, #FB7299 100%);
}

.ui-style-14 body {
  background: #fff;
}

.ui-style-14 .hero-section {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}
