/* ===== 行情页重设计（美观第一） ===== */
.price-page {
  padding: 40px 0 60px;
  background: linear-gradient(180deg, #eef5f1 0%, var(--bg) 280px);
  min-height: 60vh;
}

.price-header h1 {
  font-family: 'Noto Serif SC', serif;
  font-size: 34px;
  font-weight: 900;
  color: var(--green-900);
  margin: 0 0 10px;
  letter-spacing: 2px;
}
.price-header p {
  font-size: 14px;
  color: var(--gray-400);
  margin: 0;
}

/* === Stat 卡片（带顶部色条+图标） === */
.price-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.price-stat {
  background: #fff;
  border-radius: 16px;
  padding: 24px 32px 20px;
  text-align: center;
  min-width: 130px;
  flex: 0 1 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.price-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.price-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.price-stat:nth-child(1)::before { background: linear-gradient(90deg, #52b788, #1a3a2a); }
.price-stat:nth-child(2)::before { background: linear-gradient(90deg, #f0d48a, #d4a04a); }
.price-stat:nth-child(3)::before { background: linear-gradient(90deg, #fca5a5, #dc2626); }
.price-stat:nth-child(4)::before { background: linear-gradient(90deg, #93c5fd, #2563eb); }

.price-stat-icon { font-size: 26px; line-height: 1; margin-bottom: 6px; display: block; }
.price-stat-num {
  font-family: Inter, sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
}
.price-stat:nth-child(1) .price-stat-num,
.price-stat:nth-child(2) .price-stat-num { color: var(--green-700); }
.price-stat-label {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 4px;
  font-weight: 500;
}

/* === 品类标签（带图标+阴影） === */
.price-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  justify-content: center;
}
.price-cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  background: #fff;
  border: 1.5px solid var(--gray-200);
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.price-cat-tab:hover {
  border-color: var(--green-400);
  color: var(--green-700);
  box-shadow: 0 4px 14px rgba(45, 106, 79, 0.12);
  transform: translateY(-1px);
}
.price-cat-tab.active {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: #fff;
  border-color: var(--green-600);
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.25);
}

/* === 分类标题 === */
.price-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 32px 0 18px;
}
.price-section-title .bar {
  width: 4px;
  height: 22px;
  background: linear-gradient(180deg, var(--green-500), var(--green-700));
  border-radius: 2px;
  flex-shrink: 0;
}
.price-section-title > span:not(.bar):not(.count) {
  font-size: 17px;
  font-weight: 700;
  color: var(--green-800);
}
.price-section-title .count {
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 400;
  margin-left: auto;
}

/* === 价格卡片网格 === */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

/* === 价格卡片（带左侧色条） === */
.price-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  cursor: default;
}
.price-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
}
.price-card.up::before { background: linear-gradient(180deg, #fca5a5, #ef4444); }
.price-card.down::before { background: linear-gradient(180deg, #93c5fd, #3b82f6); }
.price-card.stable::before { background: linear-gradient(180deg, #86efac, #22c55e); }

.price-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  border-color: var(--gray-200);
}

.price-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.price-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--green-900);
}
.price-badge {
  font-size: 11px;
  padding: 3px 12px;
  border-radius: 12px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.price-badge.up { background: #fef2f2; color: #dc2626; }
.price-badge.down { background: #eff6ff; color: #2563eb; }
.price-badge.stable { background: #f0fdf4; color: #16a34a; }

.price-value {
  font-family: Inter, sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.2;
  margin-bottom: 14px;
}
.price-value small {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-400);
  margin-left: 4px;
}

.price-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12px;
  color: var(--gray-400);
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}
.price-meta span {
  display: flex;
  align-items: center;
  gap: 3px;
}

/* === 空状态 === */
.price-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--gray-300);
  font-size: 48px;
}
.price-empty p {
  font-size: 16px;
  margin-top: 16px;
  color: var(--gray-400);
}
