* {
  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.1);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #e74c3c;
}

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

.main-nav {
  display: flex;
  gap: 25px;
  white-space: nowrap;
  overflow: hidden;
}

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

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

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

.page-title {
  font-size: 32px;
  margin-bottom: 10px;
}

.intro-section {
  padding: 40px 0;
  background: white;
  margin: 20px 0;
  border-radius: 8px;
}

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

.video-section {
  margin: 30px 0;
}

.section-title {
  font-size: 24px;
  margin-bottom: 20px;
  padding-left: 10px;
  border-left: 4px solid #e74c3c;
}

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

.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(-5px);
  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: 140%;
  overflow: hidden;
  background: #ddd;
}

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

.video-info {
  padding: 15px;
}

.video-title {
  font-size: 16px;
  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: #999;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.list-page {
  min-height: 60vh;
  padding: 30px 0;
}

.page-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e74c3c;
}

.page-header h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

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

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

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

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

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

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

.top-info {
  flex: 1;
}

.top-info .video-title {
  font-size: 18px;
  margin-bottom: 8px;
}

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

.top-info .video-title a:hover {
  color: #e74c3c;
}

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

.layout-with-sidebar {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
}

.layout__side--filters {
  background: white;
  padding: 20px;
  border-radius: 8px;
  height: fit-content;
  position: sticky;
  top: 80px;
}

.layout__side--filters h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.page--grouped .group {
  margin-bottom: 40px;
}

.group__title {
  font-size: 22px;
  margin-bottom: 20px;
  padding-left: 10px;
  border-left: 4px solid #e74c3c;
}

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

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

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

.video-player-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #111;
  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(231,76,60,0.9);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  color: white;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-play-btn:hover {
  background: rgba(231,76,60,1);
  transform: translate(-50%, -50%) scale(1.1);
}

.detail-page {
  background: white;
}

.detail-header {
  padding: 30px 0;
  border-bottom: 2px solid #e74c3c;
}

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

.detail-info {
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}

.detail-info h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

.info-list {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 15px 20px;
}

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

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

.detail-module {
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}

.detail-module h2 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #e74c3c;
}

.detail-module p {
  line-height: 1.8;
  color: #666;
  margin-bottom: 15px;
}

.summary-text p,
.review-text p {
  margin-bottom: 15px;
  text-indent: 2em;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-block;
  padding: 5px 15px;
  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;
  margin-top: 20px;
}

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

.site-footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 30px 0;
  margin-top: 50px;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 99;
}

.back-to-top:hover {
  background: #c0392b;
  transform: translateY(-5px);
}

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

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

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

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

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

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

  .layout__side--filters {
    position: static;
  }

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

  .top-cover {
    width: 100%;
    height: 200px;
  }

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

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

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

.ui-style-0 .site-header {
  background: #111;
  color: #fff;
}

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

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

.ui-style-0 .video-card {
  background: #1a1a1a;
  color: #fff;
}

.ui-style-0 .intro-section,
.ui-style-0 .detail-page {
  background: #0a0a0a;
}

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

.ui-style-2 .logo {
  color: #ff5722;
}

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

.ui-style-4 .player-play-btn {
  background: rgba(244,67,54,0.9);
}

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

.ui-style-5 .site-header {
  background: #1a1a1a;
}

.ui-style-5 .video-card {
  background: #2a2a2a;
}

.ui-style-6 .hero-section {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.ui-style-7 .logo {
  color: #2196f3;
}

.ui-style-8 .section-title {
  border-left-color: #4caf50;
}

.ui-style-9 body {
  background: #0d0d0d;
}

.ui-style-9 .video-card {
  background: #1c1c1c;
}

.ui-style-10 .logo {
  color: #00c75a;
}

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

.ui-style-12 .logo {
  color: #ff6700;
}

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

.ui-style-14 .logo {
  color: #003d7a;
}
