* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brand-green: #00C75A;
  --bg-light: #F5F7FA;
  --text-dark: #1A1A1A;
  --text-gray: #666;
  --border-color: #E0E0E0;
  --card-shadow: 0 2px 8px rgba(0, 199, 90, 0.08);
  --hover-shadow: 0 4px 16px rgba(0, 199, 90, 0.16);
}

body.ui-style-10 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

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

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--brand-green);
  text-decoration: none;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.main-nav a {
  padding: 8px 16px;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  font-size: 15px;
  white-space: nowrap;
}

.main-nav a:hover {
  background: rgba(0, 199, 90, 0.08);
  color: var(--brand-green);
}

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px;
}

h1 {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.site-intro {
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 48px;
  box-shadow: var(--card-shadow);
}

.site-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-gray);
}

.section-module {
  margin-bottom: 48px;
}

.module-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.module-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
}

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

.video-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s;
  text-decoration: none;
  display: block;
}

.video-card:hover {
  box-shadow: var(--hover-shadow);
  transform: translateY(-4px);
}

.video-cover {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: var(--border-color);
}

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

.video-info {
  padding: 16px;
}

.video-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  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: var(--text-gray);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.video-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 8px;
}

.page--grid .page-header {
  margin-bottom: 32px;
}

.page--grid .page-header h1 {
  font-size: 28px;
}

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

.page--grouped .group-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand-green);
}

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

.page--top .top-list__items li {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s;
}

.page--top .top-list__items li:hover {
  box-shadow: var(--hover-shadow);
}

.top-rank {
  font-size: 32px;
  font-weight: 700;
  color: var(--brand-green);
  min-width: 50px;
  text-align: center;
}

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

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

.top-info {
  flex: 1;
}

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

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

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

.video-player-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

.detail-section {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: var(--card-shadow);
}

.detail-section h2 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--text-dark);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand-green);
}

.detail-section p {
  color: var(--text-gray);
  line-height: 1.8;
}

.info-table {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px 24px;
  color: var(--text-gray);
}

.info-label {
  font-weight: 600;
  color: var(--text-dark);
}

.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  background: var(--brand-green);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0, 199, 90, 0.3);
  transition: all 0.3s;
  z-index: 999;
}

.back-to-top:hover {
  background: #00B052;
  transform: translateY(-4px);
}

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

footer {
  background: #fff;
  padding: 32px 24px;
  text-align: center;
  color: var(--text-gray);
  border-top: 1px solid var(--border-color);
  margin-top: 48px;
}

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

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

  .main-nav {
    gap: 4px;
  }

  .main-nav a {
    padding: 6px 10px;
    font-size: 14px;
  }

  main {
    padding: 24px 16px;
  }

  h1 {
    font-size: 24px;
  }

  .site-intro {
    padding: 20px;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  .video-info {
    padding: 12px;
  }

  .video-title {
    font-size: 14px;
    -webkit-line-clamp: 2;
  }

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

  .detail-section {
    padding: 20px;
  }

  .back-to-top {
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}
