.chengxiang-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.chengxiang-badge svg {
  width: 16px;
  height: 16px;
}

.chengxiang-card {
  overflow: hidden;
}

.chengxiang-card .card-header {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
}

.payment-highlight {
  background: linear-gradient(135deg, var(--blue-tint) 0%, #fff 100%);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin-bottom: 20px;
}

.payment-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2563eb;
  line-height: 1.2;
}

.payment-amount .unit {
  font-size: 1.25rem;
  font-weight: 500;
}

.payment-monthly {
  font-size: 0.95rem;
  color: #6b7280;
  margin-top: 8px;
}

.detail-list {
  margin-bottom: 16px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed #e5e7eb;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row.highlight {
  background: #f0fdf4;
  margin: 0 -16px;
  padding: 12px 16px;
  border-radius: 8px;
}

.detail-label {
  color: #6b7280;
  font-size: 0.95rem;
}

.detail-value {
  color: #111827;
  font-size: 0.95rem;
  font-weight: 500;
}

.detail-value strong {
  color: #2563eb;
  font-size: 1.1rem;
}

.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.info-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-primary {
  background: #dbeafe;
  color: #1e40af;
}

.badge-success {
  background: var(--blue-tint);
  color: var(--blue-deep);
}

.special-group {
  margin-top: 20px;
  padding: 16px;
  background: background: var(--bg);;
  border-radius: 12px;
  border-left: 4px solid var(--blue);
}

.special-group h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px 0;
}

.special-group h4 svg {
  color: var(--blue);
}

.special-group-item {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.special-group-item:last-child {
  margin-bottom: 0;
}

.special-name {
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.special-amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}

.special-condition {
  font-size: 0.85rem;
  color: #6b7280;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-size: 0.85rem;
  color: #6b7280;
}

.info-value {
  font-weight: 600;
  color: #111827;
}

.notice-card {
  background: background: var(--bg);;
  border-left: 4px solid var(--blue);
}

.notice-card .card-header {
  color: var(--text);
  padding: 16px 20px;
}

.notice-card .card-header .card-icon {
  stroke: var(--blue);
}

.notice-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
}

.notice-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.notice-list li:last-child {
  margin-bottom: 0;
}

.policy-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.policy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e5e7eb;
}

.policy-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.policy-label {
  color: #6b7280;
  font-size: 0.95rem;
}

.policy-value {
  font-weight: 600;
  color: #111827;
}

@media (max-width: 768px) {
  .payment-amount {
    font-size: 2rem;
  }
  
  .payment-amount .unit {
    font-size: 1rem;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══ 城市页风格对齐追加（2026-09） ═══ */
/* hero 下方插入了 stats-band 数据条，抵消 main-layout 的上移负边距，避免与卡片重叠 */
.main-layout { margin-top: 36px; }

/* 暗色适配：缴费速览票据与统计条在暗色下的可读性（票据本体为白卡，保持不变） */
html[data-theme="dark"] .main-layout .card { color: var(--text, #e8eefc); }

/* card h2 靠左（2026-09-19 用户要求）：标题紧随图标，徽章保持靠右 */
.card-header h2 { margin-right: auto; }
/* 卡片头部去掉渐变色块（渐变仅允许 hero/logo），回归中性卡头 */
.chengxiang-card .card-header { background: var(--bg); color: inherit; }
