body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

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

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

.site-header h1 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}

.site-intro {
  background: white;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.site-intro p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
}

section {
  margin-bottom: 50px;
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #222;
  padding-bottom: 10px;
  border-bottom: 3px solid #667eea;
}

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

.video-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.video-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.video-card h3 a {
  color: #333;
}

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

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

.video-desc {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.more-link a {
  font-size: 1.05rem;
  color: #667eea;
  font-weight: 500;
}

.links-section {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

.link-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

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

.link-list a {
  font-size: 1.05rem;
  color: #667eea;
  display: block;
  transition: padding-left 0.2s;
}

.link-list a:hover {
  padding-left: 10px;
  text-decoration: none;
}

.page-intro {
  background: white;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
}

.video-list {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.video-item {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.video-item:last-child {
  border-bottom: none;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.item-header h3 {
  font-size: 1.2rem;
  margin: 0;
}

.item-type {
  background: #667eea;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

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

.item-desc {
  color: #555;
  line-height: 1.6;
  margin-bottom: 8px;
}

.item-tags span {
  display: inline-block;
  background: #f0f0f0;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-right: 6px;
  color: #666;
}

.ranked .rank-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  font-weight: 600;
  font-size: 1.1rem;
  margin-right: 15px;
  flex-shrink: 0;
}

.ranked-item {
  display: flex;
  align-items: flex-start;
}

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

.item-review {
  color: #666;
  font-style: italic;
  font-size: 0.95rem;
  margin-top: 8px;
  padding-left: 15px;
  border-left: 3px solid #667eea;
}

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

.topic-card {
  border-left: 4px solid #667eea;
}

.latest-item {
  display: flex;
  gap: 20px;
}

.item-date {
  font-size: 1.5rem;
  font-weight: 600;
  color: #667eea;
  min-width: 80px;
  text-align: center;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
}

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

.detail-page {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.detail-page h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #222;
  padding-bottom: 20px;
  border-bottom: 3px solid #667eea;
}

.basic-info dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 15px;
  line-height: 1.8;
}

.basic-info dt {
  font-weight: 600;
  color: #555;
}

.basic-info dd {
  margin: 0;
  color: #333;
}

.tag {
  display: inline-block;
  background: #f0f0f0;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-right: 6px;
  color: #666;
}

.one-line, .summary, .review {
  margin-top: 30px;
}

.one-line p {
  font-size: 1.15rem;
  color: #667eea;
  font-weight: 500;
  line-height: 1.8;
}

.summary p, .review p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #444;
}

.related {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #eee;
}

@media (max-width: 768px) {
  .site-header h1 {
    font-size: 1.5rem;
  }

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

  .detail-page {
    padding: 20px;
  }

  .basic-info dl {
    grid-template-columns: 80px 1fr;
    gap: 10px;
  }
}