
body.ui-style-0 {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
}

.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1rem;
  opacity: 0.9;
}

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

section h2 {
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

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

.card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
  position: relative;
}

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

.card h3, .card h4 {
  margin-bottom: 0.5rem;
}

.card a {
  color: var(--primary-color);
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

.meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.oneline {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.rank {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-weight: bold;
  font-size: 0.9rem;
}

.detail {
  max-width: 900px;
  margin: 2rem auto;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.detail h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.meta-info {
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 2rem;
}

.meta-info p {
  margin: 0.5rem 0;
}

.detail section {
  margin: 2rem 0;
}

.detail section h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

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

.nav-links {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-links a {
  color: var(--primary-color);
  text-decoration: none;
  margin: 0 0.5rem;
}

.nav-links a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 1.5rem; }
  .card-grid { grid-template-columns: 1fr; }
  .detail { padding: 1rem; }
  .detail h1 { font-size: 1.5rem; }
}
