.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
main { min-height: 70vh; padding: 2rem 0; }
footer { background: #333; color: #fff; padding: 2rem 0; margin-top: 3rem; text-align: center; }

.hero { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 3rem 0; margin-bottom: 2rem; }
.hero h1 { font-size: 2rem; margin-bottom: 1rem; }
.hero .intro { font-size: 1rem; line-height: 1.8; opacity: 0.95; }

section { margin-bottom: 3rem; }
h2 { font-size: 1.5rem; margin-bottom: 1rem; color: #1a1a1a; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.card { background: #fff; border-radius: 8px; padding: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.card h3, .card h4 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.card .meta { color: #666; font-size: 0.9rem; margin-bottom: 0.5rem; }
.card .one-line { font-size: 0.95rem; color: #555; line-height: 1.6; }

.entry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.entry-card { background: #fff; border-radius: 8px; padding: 2rem; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: transform 0.2s; }
.entry-card:hover { transform: translateY(-4px); }
.entry-card h3 { margin-bottom: 0.5rem; }
.entry-card p { color: #666; font-size: 0.9rem; }

.more-link { text-align: center; margin-top: 1.5rem; font-size: 1rem; }

.list-header { background: #f9f9f9; padding: 2rem 0; margin-bottom: 2rem; border-bottom: 2px solid #e0e0e0; }
.list-header h1 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.list-header .intro { color: #555; line-height: 1.8; }

.list-card { background: #fff; border-radius: 8px; padding: 1.5rem; margin-bottom: 1rem; box-shadow: 0 2px 6px rgba(0,0,0,0.06); display: flex; gap: 1rem; }
.list-card.ranked { align-items: flex-start; }
.list-card.dated { align-items: flex-start; }
.rank-num { background: #667eea; color: #fff; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; flex-shrink: 0; }
.date-badge { background: #ff6b6b; color: #fff; padding: 0.25rem 0.75rem; border-radius: 4px; font-weight: bold; font-size: 0.9rem; flex-shrink: 0; }
.card-content { flex: 1; }
.card-content h3, .card-content h4 { margin-bottom: 0.5rem; }
.card-content .meta { color: #666; font-size: 0.9rem; margin-bottom: 0.5rem; }
.card-content .summary { color: #555; line-height: 1.6; font-size: 0.95rem; }
.card-content .one-line { color: #555; line-height: 1.6; font-size: 0.95rem; }

.group-section { margin-bottom: 2.5rem; }
.group-title { font-size: 1.3rem; color: #667eea; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid #667eea; }

.detail-article { background: #fff; border-radius: 8px; padding: 2rem; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.detail-article h1 { font-size: 2rem; margin-bottom: 1.5rem; color: #1a1a1a; border-bottom: 3px solid #667eea; padding-bottom: 0.5rem; }
.detail-article section { margin-bottom: 2rem; }
.detail-article h2 { font-size: 1.3rem; margin-bottom: 1rem; color: #333; }
.info-list { list-style: none; }
.info-list li { padding: 0.5rem 0; border-bottom: 1px solid #f0f0f0; }
.highlight-text { font-size: 1.1rem; color: #667eea; font-weight: 500; line-height: 1.8; padding: 1rem; background: #f0f4ff; border-radius: 6px; }
.summary p, .review p { line-height: 1.8; color: #333; }

.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.related-card { background: #f9f9f9; border-radius: 6px; padding: 1rem; transition: background 0.2s; }
.related-card:hover { background: #f0f0f0; }
.related-card h4 { margin-bottom: 0.5rem; font-size: 1rem; }
.related-card .meta { color: #666; font-size: 0.85rem; margin-bottom: 0.25rem; }
.related-card .one-line { color: #555; font-size: 0.9rem; }

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