* {
  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-color: #fff;
}

body.ui-style-11 {
  background-color: #f8f9fa;
  color: #212529;
  font-weight: 300;
}

body.ui-style-11 .site-header {
  background-color: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

body.ui-style-11 a {
  color: #0099FF;
  transition: color 0.2s ease;
}

body.ui-style-11 a:hover {
  color: #0077cc;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  padding: 1rem 0;
}

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

.site-logo a {
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  color: #0099FF;
}

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

.main-nav a {
  text-decoration: none;
  color: #666;
  font-weight: 400;
  transition: color 0.2s ease;
}

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

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

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

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

.skeleton-s4 .group-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

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

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

.page-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

.site-intro {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

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

.content-group {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.group-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #212529;
  border-left: 4px solid #0099FF;
  padding-left: 1rem;
}

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

@media (max-width: 768px) {
  .group__grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }
}

.video-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #e5e7eb;
}

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

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

.video-cover {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background-color: #f0f0f0;
  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: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #212529;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

@media (max-width: 768px) {
  .video-cover {
    padding-top: 56.25%;
  }

  .video-info {
    padding: 0.75rem;
  }

  .video-title {
    font-size: 0.9rem;
  }

  .video-one-line {
    font-size: 0.8rem;
  }
}

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

.page--grid .page-header h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 1rem;
}

.page--grid .page-intro {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 2rem;
}

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

@media (max-width: 768px) {
  .page--grid .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }
}

.page--top .top-list__items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page--top .top-item {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  transition: box-shadow 0.2s ease;
}

.page--top .top-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page--top .top-rank {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0099FF;
  min-width: 40px;
  text-align: center;
}

.page--top .top-rank.rank-1 { color: #FFD700; }
.page--top .top-rank.rank-2 { color: #C0C0C0; }
.page--top .top-rank.rank-3 { color: #CD7F32; }

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

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

.page--top .top-info {
  flex: 1;
  min-width: 0;
}

.page--top .top-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.5rem;
}

.page--top .top-desc {
  font-size: 0.875rem;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .page--top .top-item {
    padding: 0.75rem;
  }

  .page--top .top-cover {
    width: 80px;
    height: 45px;
  }

  .page--top .top-title {
    font-size: 0.95rem;
  }
}

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

.page--with-sidebar {
  display: flex;
  gap: 2rem;
}

.page--with-sidebar .layout__side--filters {
  width: 250px;
  flex-shrink: 0;
}

.page--with-sidebar .layout__main {
  flex: 1;
  min-width: 0;
}

@media (max-width: 968px) {
  .page--with-sidebar {
    flex-direction: column;
  }

  .page--with-sidebar .layout__side--filters {
    width: 100%;
  }
}

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

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

.video-player-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
}

.player-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border: none;
  background-color: rgba(0, 153, 255, 0.9);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-play-btn:hover {
  background-color: rgba(0, 153, 255, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.player-play-icon {
  font-size: 2rem;
  color: #fff;
  margin-left: 4px;
}

.detail-section {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.detail-section h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 1.5rem;
}

.detail-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 1rem;
  border-left: 4px solid #0099FF;
  padding-left: 1rem;
}

.detail-section p {
  line-height: 1.8;
  color: #555;
  margin-bottom: 1rem;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.info-table td {
  padding: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.info-table td:first-child {
  font-weight: 600;
  color: #666;
  width: 120px;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag-item {
  background-color: #e3f2fd;
  color: #0099FF;
  padding: 0.25rem 0.75rem;
  border-radius: 16px;
  font-size: 0.875rem;
}

.related-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 1.5rem;
}

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

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }
}

.video-card--related {
  background-color: #fff;
  border: 1px solid #e5e7eb;
}

.site-footer {
  background-color: #212529;
  color: #fff;
  padding: 2rem 0;
  margin-top: 4rem;
  text-align: center;
}

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

.footer-container p {
  font-size: 0.875rem;
  color: #adb5bd;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border: none;
  background-color: #0099FF;
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #0077cc;
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    bottom: 1rem;
    right: 1rem;
  }
}