/* 捐赠支持页面样式 */
.dz-hero {
  text-align: center;
  padding: 2rem 1rem 1rem;
}
.dz-hero-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  animation: dz-float 3s ease-in-out infinite;
}
@keyframes dz-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.dz-hero-title {
  font-size: 1.8rem;
  color: #5d4037;
  margin: 0.5rem 0;
}
.dz-hero-subtitle {
  font-size: 1rem;
  color: #8d6e63;
  margin: 0;
}

/* 感谢文案 */
.dz-thank-card {
  background: linear-gradient(135deg, #fff8e1, #fff3e0);
  border-radius: 12px;
  padding: 1.2rem;
  margin: 1rem 1rem 1.5rem;
  border-left: 4px solid #ffd54f;
}
.dz-thank-text {
  color: #5d4037;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* 档位卡片 */
.dz-tiers {
  display: flex;
  gap: 0.8rem;
  padding: 0 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.dz-tier-card {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 14px;
  padding: 1.2rem 0.8rem;
  text-align: center;
  border: 2px solid #e0d9d1;
  transition: all 0.3s;
  position: relative;
}
.dz-tier-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(93, 64, 55, 0.12);
}
.dz-tier-featured {
  border-color: #ffd54f;
  background: linear-gradient(180deg, #fffde7, #fff);
}
.dz-tier-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffd54f, #ffb300);
  color: #5d4037;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 12px;
  border-radius: 10px;
  white-space: nowrap;
}
.dz-tier-name {
  font-size: 1rem;
  font-weight: 600;
  color: #5d4037;
  margin-bottom: 0.5rem;
}
.dz-tier-price {
  margin-bottom: 0.8rem;
}
.dz-currency {
  font-size: 1rem;
  color: #8d6e63;
  vertical-align: top;
  line-height: 1.8;
}
.dz-amount {
  font-size: 2.2rem;
  font-weight: 700;
  color: #e65100;
}
.dz-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  text-align: left;
}
.dz-perks li {
  font-size: 0.82rem;
  color: #6d4c41;
  padding: 3px 0;
  line-height: 1.4;
}

/* 按钮 */
.dz-btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}
.dz-btn-tier {
  width: 100%;
  background: linear-gradient(135deg, #5d4037, #795548);
  color: #fff;
  font-weight: 600;
}
.dz-btn-tier:hover {
  background: linear-gradient(135deg, #4e342e, #6d4c41);
  transform: scale(1.02);
}
.dz-btn-record {
  width: 100%;
  background: linear-gradient(135deg, #ffd54f, #ffb300);
  color: #5d4037;
  font-weight: 600;
  margin-top: 0.5rem;
}
.dz-btn-record:hover {
  background: linear-gradient(135deg, #ffe082, #ffc107);
}

/* 支付区域 */
.dz-payment {
  margin: 0 1rem 2rem;
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  border: 2px solid #e0d9d1;
}
.dz-payment-header {
  text-align: center;
  margin-bottom: 1rem;
}
.dz-payment-header h2 {
  font-size: 1.2rem;
  color: #5d4037;
  margin: 0 0 0.3rem;
}
.dz-payment-header p {
  font-size: 0.9rem;
  color: #8d6e63;
  margin: 0;
}
.dz-qr-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.dz-qr-tab {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid #e0d9d1;
  background: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  color: #78909c;
  transition: all 0.2s;
}
.dz-qr-tab.active {
  background: #5d4037;
  color: #fff;
  border-color: #5d4037;
}
.dz-qr-display {
  text-align: center;
  margin-bottom: 1rem;
}
.dz-qr-img {
  max-width: 220px;
  max-height: 220px;
  border-radius: 10px;
  border: 2px solid #e0d9d1;
  display: none;
}
.dz-qr-img.active {
  display: inline-block;
}
.dz-qr-tip {
  text-align: center;
  font-size: 0.82rem;
  color: #aaa;
  margin: 0;
}

/* 留言表单 */
.dz-message-form {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.dz-message-form input {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #e0d9d1;
  font-size: 0.9rem;
  outline: none;
  transition: border 0.2s;
}
.dz-message-form input:focus {
  border-color: #ffd54f;
}

/* 感谢墙 */
.dz-wall {
  margin: 0 1rem 1.5rem;
}
.dz-wall-title {
  font-size: 1.1rem;
  color: #5d4037;
  margin-bottom: 0.8rem;
  text-align: center;
}
.dz-wall-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.dz-wall-item {
  background: #fff;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid #f0ebe5;
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.dz-wall-name {
  font-weight: 600;
  color: #5d4037;
}
.dz-wall-amount {
  color: #e65100;
  font-weight: 600;
}
.dz-wall-msg {
  color: #78909c;
  flex: 1;
  min-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dz-wall-time {
  color: #bbb;
  font-size: 0.78rem;
  margin-left: auto;
}

/* 底部说明 */
.dz-footer-note {
  text-align: center;
  padding: 1rem 1rem 2rem;
  font-size: 0.82rem;
  color: #aaa;
}

/* 移动端适配 */
@media (max-width: 480px) {
  .dz-tiers {
    flex-direction: column;
    gap: 0.6rem;
  }
  .dz-tier-card {
    padding: 1rem;
  }
  .dz-qr-img {
    max-width: 180px;
    max-height: 180px;
  }
}

/* ========== 感谢墙 ========== */
.dz-thankwall {
  background: var(--card-bg, #fff);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid var(--border, #e0d9d1);
}

.dz-thankwall-title {
  font-size: 1.2rem;
  color: var(--primary, #5d4037);
  margin-bottom: 1rem;
  text-align: center;
}

.dz-thankwall-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  transition: background 0.2s;
  cursor: pointer;
}

.dz-thankwall-item:hover {
  background: #faf7f2;
}

.dz-thankwall-item.top1 { background: linear-gradient(135deg, #fff8e1, #fff3cd); }
.dz-thankwall-item.top2 { background: linear-gradient(135deg, #f5f5f5, #eeeeee); }
.dz-thankwall-item.top3 { background: linear-gradient(135deg, #fbe9e7, #ffccbc); }

.dz-tw-rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  background: #bdbdbd;
}

.dz-tw-rank.r1 { background: linear-gradient(135deg, #ffd54f, #ff8f00); }
.dz-tw-rank.r2 { background: linear-gradient(135deg, #b0bec5, #78909c); }
.dz-tw-rank.r3 { background: linear-gradient(135deg, #ffab91, #d84315); }

.dz-tw-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.dz-tw-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.dz-tw-frame {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 56px;
  height: 56px;
  pointer-events: none;
}

.dz-tw-info {
  flex: 1;
  min-width: 0;
}

.dz-tw-name {
  font-weight: 600;
  color: var(--primary, #5d4037);
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dz-tw-remark {
  font-size: 0.8rem;
  color: #78909c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dz-tw-amount {
  font-weight: 700;
  color: #e65100;
  font-size: 1.05rem;
  flex-shrink: 0;
}

/* ========== 用户详情弹窗 ========== */
.dz-user-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dz-user-modal-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.dz-user-modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 340px;
  max-width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.dz-user-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  border-bottom: 1px solid #f0ebe5;
}

.dz-user-modal-avatar {
  position: relative;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.dz-user-modal-avatar img:first-child {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.dz-user-modal-avatar img:last-child {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 76px;
  height: 76px;
  pointer-events: none;
}

.dz-user-modal-info {
  flex: 1;
}

.dz-user-modal-name {
  font-weight: 700;
  color: var(--primary, #5d4037);
  font-size: 1.1rem;
}

.dz-user-modal-amount {
  font-size: 0.85rem;
  color: #e65100;
  margin-top: 0.2rem;
}

.dz-user-modal-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #999;
  cursor: pointer;
  padding: 0;
}

.dz-user-modal-body {
  padding: 1.2rem;
}

.dz-user-modal-body h3 {
  font-size: 0.95rem;
  color: var(--primary, #5d4037);
  margin-bottom: 0.8rem;
}

.dz-user-modal-reward {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.7rem;
  border-radius: 10px;
  border: 1px solid #f0ebe5;
  margin-bottom: 0.5rem;
}

.dz-user-modal-reward img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.dz-user-modal-reward-name {
  font-weight: 600;
  color: #5d4037;
  font-size: 0.9rem;
}

.dz-user-modal-reward-desc {
  font-size: 0.8rem;
  color: #78909c;
}

.dz-user-modal-reward-time {
  font-size: 0.75rem;
  color: #b0bec5;
}

/* 头衔标签 */
.dz-tw-title-tag { position: relative; top: -0.4em; display: inline-block; padding: 0 4px; border-radius: 4px; background: linear-gradient(135deg, #ffd54f, #ffb300); color: #5d4037; font-size: 0.55rem; font-weight: 600; margin-left: -0.15rem; vertical-align: super; line-height: 1.3; transform: scale(0.9); }
