* {
  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;
}

body.ui-style-11 {
  background: #fff;
  color: #333;
}

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 24px;
  font-weight: 600;
  color: #0099FF;
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

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

nav a:hover {
  color: #0099FF;
}

main {
  padding: 30px 0;
}

.page-hero {
  background: linear-gradient(135deg, #0099FF 0%, #00C4FF 100%);
  color: #fff;
  padding: 40px 20px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.page-hero h1 {
  font-size: 32px;
  margin-bottom: 15px;
}

.page-hero p {
  font-size: 16px;
  opacity: 0.95;
}

.horizontal-scroll {
  overflow-x: auto;
  white-space: nowrap;
  margin-bottom: 30px;
  padding: 10px 0;
}

.horizontal-scroll::-webkit-scrollbar {
  height: 6px;
}

.horizontal-scroll::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 3px;
}

.horizontal-scroll::-webkit-scrollbar-thumb {
  background: #0099FF;
  border-radius: 3px;
}

.horizontal-items {
  display: inline-flex;
  gap: 20px;
}

.horizontal-card {
  display: inline-block;
  width: 260px;
  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;
  white-space: normal;
}

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

.section-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
  font-weight: 600;
}

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

.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(-5px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

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

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

.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;
  font-weight: 600;
  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;
}

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

.video-player {
  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;
  background: rgba(0, 153, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

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

.player-play-icon {
  font-size: 32px;
  color: #fff;
  line-height: 1;
}

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

.detail-section h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

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

.info-list {
  list-style: none;
}

.info-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: 600;
  min-width: 80px;
  color: #666;
}

.info-value {
  color: #333;
}

.related-section {
  margin-top: 40px;
}

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

.top-item {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  counter-increment: top-counter;
  transition: transform 0.3s;
}

.top-item:hover {
  transform: translateX(5px);
}

.top-rank {
  font-size: 24px;
  font-weight: 700;
  color: #0099FF;
  min-width: 40px;
}

.top-rank::before {
  content: counter(top-counter);
}

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

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

.top-info {
  flex: 1;
}

.top-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

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

.group {
  margin-bottom: 40px;
}

.group__header {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0099FF;
}

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

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

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    gap: 15px;
    font-size: 14px;
  }

  .page-hero h1 {
    font-size: 24px;
  }

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

  .horizontal-card {
    width: 200px;
  }

  .top-item {
    flex-direction: column;
    text-align: center;
  }

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