
body {
  padding-top: 0;
}

.ui-style-5 {
  --primary-color: #0066cc;
  --accent-color: #e63946;
  --bg-light: #f9f9f9;
}

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

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

h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #222;
}

h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #333;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 8px;
}

.hero h1 {
  font-size: 32px;
  color: var(--accent-color);
}

.hero .intro {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  border: 1px solid #e0e0e0;
  padding: 20px;
  border-radius: 6px;
  transition: all 0.3s;
}

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

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.card h3 a {
  color: #333;
}

.card h3 a:hover {
  color: var(--primary-color);
}

.card .meta {
  font-size: 13px;
  color: #777;
  margin-bottom: 8px;
}

.card .genre {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.card .oneline {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

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

.list-simple li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.list-simple a {
  font-size: 16px;
  color: #333;
}

.list-simple a:hover {
  color: var(--primary-color);
}

.list-simple .meta {
  font-size: 13px;
  color: #999;
}

.more-link {
  text-align: right;
  margin-top: 15px;
  font-size: 14px;
}

.more-link a {
  color: var(--accent-color);
}

.topic-entrance p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.all-link {
  text-align: center;
  font-size: 16px;
}

.list-page .page-desc {
  font-size: 15px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.8;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.daquan-card .summary {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
  line-height: 1.6;
}

.top-card {
  position: relative;
  padding-left: 60px;
}

.top-card .rank {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  font-weight: bold;
  color: var(--accent-color);
}

.topic-group {
  margin-bottom: 40px;
}

.topic-group .group-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.topic-card {
  margin-bottom: 15px;
}

.topic-card h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.topic-card .tags {
  font-size: 12px;
  color: #999;
}

.latest-card .review {
  font-size: 13px;
  color: #888;
  margin-top: 8px;
  font-style: italic;
}

.detail-page article {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.detail-page h1 {
  font-size: 30px;
  margin-bottom: 30px;
}

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

.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 15px;
}

.oneline-big {
  font-size: 18px;
  color: var(--accent-color);
  font-weight: 500;
  line-height: 1.8;
}

.summary p,
.review p {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  text-indent: 2em;
}

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

.related-card {
  border: 1px solid #e0e0e0;
  padding: 15px;
  border-radius: 6px;
}

.related-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

footer {
  text-align: center;
  padding: 30px 20px;
  color: #999;
  font-size: 14px;
}

@media (max-width: 767px) {
  main {
    padding: 0 15px;
  }

  section {
    padding: 20px 15px;
  }

  .card-grid,
  .cards-container,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .detail-page article {
    padding: 20px 15px;
  }

  h1 {
    font-size: 24px;
  }

  .hero h1 {
    font-size: 26px;
  }
}
