body.ui-style-8 {
  font-size: 16px;
}

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

main {
  background: white;
  min-height: 70vh;
}

h1 {
  color: #2d3748;
  margin-bottom: 1rem;
  font-size: 2rem;
}

h2 {
  color: #4a5568;
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
  border-bottom: 2px solid #667eea;
  padding-bottom: 0.5rem;
}

h3 {
  color: #2d3748;
  margin-bottom: 0.5rem;
}

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

.site-intro, .intro, .topic-intro {
  background: #f7fafc;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.site-intro h2, .intro h2 {
  margin-top: 0;
}

.site-intro a, .intro a {
  color: #667eea;
  text-decoration: none;
  border-bottom: 1px solid #667eea;
}

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

.video-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  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 h3 a {
  color: #2d3748;
  text-decoration: none;
  font-size: 1.1rem;
}

.video-card h3 a:hover {
  color: #667eea;
}

.meta {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: #718096;
}

.tag {
  display: inline-block;
  background: #edf2f7;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-right: 0.5rem;
  font-size: 0.85rem;
}

.year {
  color: #667eea;
  font-weight: 600;
}

.genre {
  color: #4a5568;
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.summary {
  color: #718096;
  font-size: 0.9rem;
  line-height: 1.6;
}

.entrance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.entrance-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 8px;
  transition: transform 0.3s;
}

.entrance-card:hover {
  transform: scale(1.02);
}

.entrance-card h3 a {
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
}

.entrance-card p {
  margin-top: 0.5rem;
  opacity: 0.9;
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.video-item {
  background: white;
  padding: 1rem;
  border-left: 4px solid #667eea;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.video-item h3 a {
  color: #2d3748;
  text-decoration: none;
}

.video-item h3 a:hover {
  color: #667eea;
}

.more-link {
  text-align: center;
  margin-top: 2rem;
}

.more-link a {
  color: #667eea;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
}

.video-detail {
  max-width: 900px;
  margin: 0 auto;
}

.basic-info ul {
  list-style: none;
  background: #f7fafc;
  padding: 1.5rem;
  border-radius: 8px;
}

.basic-info li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

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

.one-line .highlight {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.summary p, .review p {
  line-height: 1.8;
  color: #4a5568;
}

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

.related-card {
  background: #f7fafc;
  padding: 1rem;
  border-radius: 8px;
  transition: background 0.3s;
}

.related-card:hover {
  background: #edf2f7;
}

.related-card h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.related-card h3 a {
  color: #2d3748;
  text-decoration: none;
}

.related-card h3 a:hover {
  color: #667eea;
}

.related-card .meta {
  font-size: 0.8rem;
}

.year-group {
  margin: 2rem 0;
}

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

.list-item {
  background: white;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: border-color 0.3s;
}

.list-item:hover {
  border-color: #667eea;
}

.list-item h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.list-item h3 a {
  color: #2d3748;
  text-decoration: none;
}

.list-item h3 a:hover {
  color: #667eea;
}

.list-item .desc {
  font-size: 0.85rem;
  color: #718096;
}

.top-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.top-item {
  display: flex;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.top-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.top-item .rank {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 1rem;
}

.top-item .content {
  padding: 1.5rem;
  flex: 1;
}

.top-item h3 {
  margin-bottom: 0.5rem;
}

.top-item h3 a {
  color: #2d3748;
  text-decoration: none;
  font-size: 1.2rem;
}

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

.top-item .tags {
  color: #667eea;
  font-size: 0.9rem;
  margin: 0.3rem 0;
}

.top-item .recommend {
  color: #4a5568;
  line-height: 1.7;
  margin-top: 0.8rem;
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0;
}

.topic-item {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.topic-item h2 {
  border-bottom: none;
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
}

.topic-item h2 a {
  color: #2d3748;
  text-decoration: none;
}

.topic-item h2 a:hover {
  color: #667eea;
}

.topic-desc {
  margin-top: 1rem;
}

.topic-desc p {
  line-height: 1.8;
  color: #4a5568;
  margin: 0.8rem 0;
}

.topic-desc .why {
  background: #f7fafc;
  padding: 1rem;
  border-left: 4px solid #667eea;
  border-radius: 4px;
}

.latest-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.latest-item {
  display: flex;
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s;
}

.latest-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.latest-item .date {
  background: #667eea;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  min-width: 110px;
  justify-content: center;
  margin-right: 1rem;
}

.latest-item .content {
  flex: 1;
}

.latest-item h3 {
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.latest-item h3 a {
  color: #2d3748;
  text-decoration: none;
}

.latest-item h3 a:hover {
  color: #667eea;
}

.latest-item .brief {
  color: #718096;
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

footer {
  background: #2d3748;
  color: white;
  padding: 2rem 0;
  margin-top: 3rem;
}

footer .container {
  text-align: center;
}

footer nav {
  margin-top: 1rem;
  background: none;
}

footer nav a {
  color: white;
  text-decoration: none;
  margin: 0 1rem;
  opacity: 0.8;
  transition: opacity 0.3s;
}

footer nav a:hover {
  opacity: 1;
}

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

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .entrance-grid {
    grid-template-columns: 1fr;
  }

  .top-item {
    flex-direction: column;
  }

  .top-item .rank {
    min-width: 100%;
    padding: 1rem;
    font-size: 1.5rem;
  }

  .latest-item {
    flex-direction: column;
  }

  .latest-item .date {
    min-width: 100%;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  footer nav a {
    display: block;
    margin: 0.5rem 0;
  }
}