
/* 全局样式 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 卡片样式 */
.card, .list-card, .related-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.card h3, .list-card h3, .related-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #1a73e8;
}

.card .meta, .list-card .meta, .related-card .meta {
  font-size: 13px;
  color: #999;
  margin-bottom: 10px;
}

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

/* 列表卡片特殊样式 */
.list-card {
  margin-bottom: 20px;
  position: relative;
  padding-left: 80px;
}

.list-card .rank, .list-card .date {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: bold;
  color: #1a73e8;
}

.list-card .date {
  font-size: 14px;
  background: #4caf50;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
}

.list-card .review {
  margin-top: 10px;
  font-size: 14px;
  color: #888;
  font-style: italic;
  padding-left: 15px;
  border-left: 3px solid #e0e0e0;
}

/* 响应式 */
@media (max-width: 768px) {
  .card h3, .list-card h3 { font-size: 16px; }
  .list-card { padding-left: 60px; }
  .list-card .rank { font-size: 18px; left: 15px; }
  .hero h1 { font-size: 24px !important; }
}

/* UI Style Variants */
.ui-style-0 { --primary-color: #1a73e8; }
.ui-style-1 { --primary-color: #d32f2f; }
.ui-style-2 { --primary-color: #388e3c; }
.ui-style-3 { --primary-color: #f57c00; }
.ui-style-4 { --primary-color: #7b1fa2; }
.ui-style-5 { --primary-color: #0097a7; }
.ui-style-6 { --primary-color: #5d4037; }
.ui-style-7 { --primary-color: #455a64; }
.ui-style-8 { --primary-color: #c2185b; }
.ui-style-9 { --primary-color: #00796b; }
.ui-style-10 { --primary-color: #303f9f; }
.ui-style-11 { --primary-color: #e64a19; }
.ui-style-12 { --primary-color: #afb42b; }
.ui-style-13 { --primary-color: #512da8; }
.ui-style-14 { --primary-color: #0288d1; }
.ui-style-15 { --primary-color: #689f38; }
