
body.ui-style-0 {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --bg-color: #f5f5f5;
  --card-bg: #ffffff;
  --text-color: #333;
  --border-color: #e5e7eb;
}

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

.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 30px;
  border-radius: 12px;
  margin-bottom: 40px;
  text-align: center;
}

.hero h1 {
  font-size: 2em;
  margin-bottom: 20px;
  line-height: 1.4;
}

.hero .intro {
  font-size: 1.1em;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

section {
  margin-bottom: 50px;
  background: var(--card-bg);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 10px;
}

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

.card, .related-card {
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.card h3, .related-card h4 {
  margin-bottom: 10px;
}

.card h3 a, .related-card h4 a {
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 1.2em;
}

.card h3 a:hover, .related-card h4 a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.meta {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.oneline {
  color: #555;
  line-height: 1.6;
}

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

.nav-card {
  display: block;
  padding: 30px 20px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s;
}

.nav-card:hover {
  transform: scale(1.05);
}

.nav-card h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.nav-card p {
  font-size: 0.95em;
  opacity: 0.9;
}

.more-link {
  text-align: right;
  margin-top: 20px;
}

.more-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.more-link a:hover {
  text-decoration: underline;
}

.list-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.list-card {
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 8px;
  background: var(--card-bg);
  transition: box-shadow 0.3s;
}

.list-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.card-header h3 {
  flex: 1;
  margin: 0;
}

.card-header h3 a {
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 1.3em;
}

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

.rank-num, .group-tag, .topic-tag, .date-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--primary-color);
  color: white;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
}

.group-tag {
  background: #10b981;
}

.topic-tag {
  background: #f59e0b;
}

.date-tag {
  background: #8b5cf6;
}

.summary {
  color: #555;
  line-height: 1.7;
  margin-top: 10px;
}

.page-desc {
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
  padding: 15px;
  background: #f9fafb;
  border-left: 4px solid var(--primary-color);
}

.detail-page h1 {
  font-size: 2.2em;
  color: var(--secondary-color);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary-color);
}

.info-list {
  list-style: none;
  line-height: 2;
}

.info-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.info-list strong {
  color: var(--secondary-color);
  display: inline-block;
  min-width: 80px;
}

.highlight {
  font-size: 1.2em;
  color: var(--primary-color);
  font-weight: bold;
  line-height: 1.8;
  padding: 20px;
  background: #eff6ff;
  border-left: 4px solid var(--primary-color);
  border-radius: 4px;
}

.summary-text, .review-text {
  line-height: 2;
  color: #444;
  text-align: justify;
}

footer {
  background: #1f2937;
  color: #9ca3af;
  text-align: center;
  padding: 30px 15px;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.5em;
  }

  .hero .intro {
    font-size: 1em;
  }

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

  section {
    padding: 20px 15px;
  }

  h2 {
    font-size: 1.5em;
  }
}
