* {
  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;
  background: #f5f5f5;
}

.site-header {
  background: #fff;
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.site-logo a {
  color: #333;
  text-decoration: none;
}

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

.nav-link {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.95rem;
}

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

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

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

.hero-section h1 {
  font-size: 2rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.site-intro {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.site-intro p {
  line-height: 1.8;
  color: #555;
}

.content-module {
  margin-bottom: 3rem;
}

.content-module h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #333;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #667eea;
}

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

.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 {
  text-decoration: none;
  color: inherit;
  display: block;
}

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

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

.video-info {
  padding: 1rem;
}

.video-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

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

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: #666;
}

.filter-bar {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.layout__side--filters {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  height: fit-content;
}

.layout__side--filters h3 {
  margin-bottom: 1rem;
}

.filter-info {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
  color: #666;
}

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

.top-list__item {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: grid;
  grid-template-columns: 60px 150px 1fr;
  gap: 1.5rem;
  align-items: center;
}

.top-rank {
  font-size: 2rem;
  font-weight: bold;
  color: #667eea;
  text-align: center;
}

.top-cover {
  position: relative;
  padding-top: 56.25%;
  border-radius: 4px;
  overflow: hidden;
  background: #e0e0e0;
}

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

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

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

.top-info h3 a:hover {
  color: #667eea;
}

.top-meta {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.top-desc {
  color: #666;
  font-size: 0.95rem;
}

.page--grouped .group {
  margin-bottom: 3rem;
}

.group__title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #333;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #667eea;
}

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

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

.video-player {
  max-width: 100%;
  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;
  font-size: 2rem;
  color: #333;
}

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

.player-play-icon {
  display: inline-block;
  margin-left: 5px;
}

.detail-header {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.detail-header h1 {
  font-size: 2rem;
  color: #333;
}

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

.detail-info h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
}

.info-list {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0.75rem;
  line-height: 1.8;
}

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

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

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

.detail-module h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f0f0f0;
}

.detail-module p {
  line-height: 1.8;
  color: #555;
}

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

.tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: #f0f0f0;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #666;
}

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

.site-footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}

.site-footer p {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .site-header {
    padding: 1rem;
  }

  .site-nav {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .main-content {
    padding: 1rem;
  }

  .hero-section {
    padding: 2rem 1rem;
  }

  .hero-section h1 {
    font-size: 1.5rem;
  }

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

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

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

  .top-list__item {
    grid-template-columns: 50px 100px 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .top-rank {
    font-size: 1.5rem;
  }

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

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

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

.ui-style-0 .site-logo a,
.ui-style-0 .nav-link {
  color: #fff;
}

.ui-style-0 .hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

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

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

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

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

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

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

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

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

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

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

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

.ui-style-5 .video-card,
.ui-style-5 .site-intro,
.ui-style-5 .detail-header,
.ui-style-5 .detail-info,
.ui-style-5 .detail-module {
  background: #1f1f1f;
  color: #fff;
}

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

.ui-style-6 .site-header {
  background: #132f4c;
}

.ui-style-6 .video-card,
.ui-style-6 .site-intro,
.ui-style-6 .detail-header,
.ui-style-6 .detail-info,
.ui-style-6 .detail-module {
  background: #132f4c;
  color: #fff;
}

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

.ui-style-7 .site-header {
  background: #1b263b;
}

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

.ui-style-8 .site-header {
  background: #1b2e35;
}

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

.ui-style-9 .site-header {
  background: #141414;
}

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

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

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

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

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

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

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

.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, #003a70 0%, #0050a0 100%);
}
