/* ══════════════════════════════
   AUTH & DASHBOARD STYLES
   ═════════════════════════════ */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.auth-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  color: #1e293b;
  transition: all 0.2s;
  outline: none;
}

.form-group input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-error {
  color: #ef4444;
  font-size: 13px;
  margin-bottom: 12px;
  min-height: 18px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-full {
  width: 100%;
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #64748b;
}

.auth-footer a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1e293b;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  transition: all 0.3s;
  z-index: 1000;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.error {
  background: #ef4444;
}

/* ══════════════════════════════
   DASHBOARD STYLES
   ═════════════════════════════ */

.dashboard-page {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
  min-height: 100vh;
  background: #f1f5f9;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.user-details {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
}

.user-joined {
  font-size: 12px;
  color: #94a3b8;
}

.user-rate {
  font-size: 13px;
  font-weight: 700;
  color: #16a34a;
}

.rate-highlight {
  color: #16a34a;
}

.btn-logout {
  display: inline-block;
  padding: 8px 16px;
  background: #f1f5f9;
  color: #64748b;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-logout:active {
  background: #e2e8f0;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-entry {
  display: inline-block;
  padding: 8px 16px;
  background: #ecfdf5;
  color: #059669;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-entry:active {
  background: #d1fae5;
}

/* Promo Card */
.promo-card {
  background: linear-gradient(135deg, #2563eb, #0891b2);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
  color: #fff;
}

.promo-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

.promo-link-row {
  display: flex;
  gap: 8px;
}

.promo-input {
  flex: 1;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  color: #1e293b;
  background: rgba(255, 255, 255, 0.95);
  outline: none;
}

.btn-copy {
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-copy:active {
  background: rgba(255, 255, 255, 0.3);
}

/* 卡片头部内的小按钮（如“购买记录”），右对齐 */
.btn-orders {
  margin-left: auto;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-orders:active {
  background: rgba(255, 255, 255, 0.3);
}

/* 购买记录弹窗内的列表区域：浅底让白色卡片凸显，超高可滚动 */
.orders-modal-list {
  margin-top: 12px;
  max-height: 60vh;
  overflow-y: auto;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 10px;
}

.promo-hint {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 10px;
}

/* Balance Row */
.balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

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

.balance-label {
  font-size: 13px;
  color: #64748b;
}

.balance-amount {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}

.balance-pending {
  font-size: 12px;
  color: #d97706;
}

.btn-balance-withdrawal {
  padding: 10px 22px;
  font-size: 14px;
}

/* Data Tabs */
.data-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.data-tabs .tab-btn {
  flex: 1;
  padding: 10px;
  background: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.data-tabs .tab-btn.active {
  background: linear-gradient(135deg, #2563eb, #0891b2);
  color: #fff;
}

/* Data List */
.data-content {
  min-height: 200px;
}

.data-list {
  display: none;
}

.data-list.active {
  display: block;
}

.record-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.record-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.record-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.record-amount {
  font-size: 16px;
  font-weight: 700;
  color: #0f766e;
}

.amount-in {
  color: #059669;
}

.amount-out {
  color: #ef4444;
}

.record-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.record-time {
  font-size: 12px;
  color: #94a3b8;
}

.status-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.status-success {
  background: #ecfdf5;
  color: #059669;
}

.status-pending {
  background: #fef3c7;
  color: #d97706;
}

.status-failed {
  background: #fee2e2;
  color: #dc2626;
}

.status-default {
  background: #f1f5f9;
  color: #64748b;
}

.loading-text, .empty-text {
  text-align: center;
  padding: 40px 20px;
  color: #94a3b8;
  font-size: 14px;
}

/* ══════════════════════════════
   ADMIN PANEL STYLES
   ═════════════════════════════ */

.admin-panel {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px;
  min-height: 100vh;
}

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

.admin-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
}

.user-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.user-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.user-card-header {
  margin-bottom: 12px;
}

.user-card-name {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  display: block;
}

.user-card-time {
  font-size: 12px;
  color: #94a3b8;
}

.user-card-stats {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 10px;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-label {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 4px;
  line-height: 1.3;
}

.stat-value {
  font-size: 16px;
  font-weight: 700;
  color: #0f766e;
}

.stat-value-pending {
  color: #d97706;
}

.user-card-actions {
  display: flex;
  gap: 8px;
}

.btn-action {
  flex: 1;
  padding: 10px 4px;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-commission {
  background: #ecfdf5;
  color: #059669;
}

.btn-commission:active {
  background: #d1fae5;
}

.btn-withdrawal {
  background: #fef3c7;
  color: #d97706;
}

.btn-withdrawal:active {
  background: #fde68a;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  max-width: 360px;
  width: 100%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 24px;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
}

.modal-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.modal-user {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
}

/* ══════════════════════════════
   WITHDRAWAL STYLES
   ═════════════════════════════ */

.status-info {
  background: #e0f2fe;
  color: #0284c7;
}

.record-account {
  font-size: 12px;
  color: #64748b;
  margin: -2px 0 2px;
}

.method-radio-row {
  display: flex;
  gap: 10px;
}

.method-radio {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: border-color 0.15s, background 0.15s;
}

.method-radio:has(input:checked) {
  border-color: #2563eb;
  background: #eff6ff;
  color: #2563eb;
}

.method-radio input {
  accent-color: #2563eb;
}

.modal-content select {
  width: 100%;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: #1e293b;
}

.wd-req-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.wd-req-card + .wd-req-card {
  margin-top: 10px;
}

.wd-req-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.wd-req-user {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.wd-req-amount {
  font-size: 16px;
  font-weight: 700;
  color: #dc2626;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.wd-req-account {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 6px;
  word-break: break-all;
}

.wd-req-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.wd-req-time {
  font-size: 12px;
  color: #94a3b8;
}

.wd-status-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 6px 26px 6px 12px;
  border: none;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background-color: #64748b;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23fff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: filter 0.15s;
}

.wd-status-select:active {
  filter: brightness(0.92);
}

.wd-status-select.st-pending {
  background-color: #f59e0b;
}

.wd-status-select.st-approved {
  background-color: #3b82f6;
}

.wd-status-select.st-paying {
  background-color: #8b5cf6;
}

.wd-status-select.st-done {
  background-color: #10b981;
}

/* ══════════════════════════════
   COMMISSION PAYOUT RECORDS
   ═════════════════════════════ */

.payout-card {
  background: #fff;
  border-radius: 14px;
  padding-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* 窄屏下横向滚动，保证五列都完整可读 */
.payout-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.payout-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.payout-table th,
.payout-table td {
  padding: 12px;
  text-align: left;
  white-space: nowrap;
}

.payout-table thead th {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.payout-table tbody tr + tr td {
  border-top: 1px solid #f1f5f9;
}

.payout-name {
  font-weight: 600;
  color: #1e293b;
}

.payout-account {
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

.payout-amount {
  font-weight: 700;
  color: #dc2626;
  font-variant-numeric: tabular-nums;
}

.payout-time {
  font-size: 12px;
  color: #94a3b8;
}

.payout-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background-color: #64748b;
}

.payout-status.st-paid {
  background-color: #10b981;
}

.payout-status.st-paying {
  background-color: #8b5cf6;
}

.payout-empty {
  text-align: center;
  padding: 40px 20px;
  color: #94a3b8;
  font-size: 14px;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 12px 0;
}

.pager-total {
  width: 100%;
  margin-bottom: 4px;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
}

.pager-btn {
  min-width: 34px;
  padding: 7px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.pager-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pager-btn.current {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.pager-ellipsis {
  padding: 0 2px;
  color: #94a3b8;
  font-size: 13px;
}

/* ══════════════════════════════
   优惠咨询 / 联系我们
   ═════════════════════════════ */

.page-consult {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  min-height: 100vh;
}

.consult-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 16px 40px;
}

.consult-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.consult-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.consult-back:active {
  background: rgba(255, 255, 255, 1);
}

.consult-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
}

.consult-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  scroll-margin-top: 16px;
}

.consult-section-title {
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 14px;
  padding-left: 10px;
  border-left: 4px solid #2563eb;
}

.consult-company {
  font-size: 15px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 10px;
}

.consult-text {
  font-size: 14px;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 10px;
}

.consult-text strong {
  color: #1e293b;
}

.consult-points {
  list-style: none;
  margin-top: 6px;
}

.consult-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
}

.point-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: #2563eb;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
}

.contact-item + .contact-item {
  border-top: 1px solid #f1f5f9;
}

.contact-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
}

.contact-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 12px;
  color: #94a3b8;
}

.contact-value {
  font-size: 15px;
  line-height: 1.6;
  color: #1e293b;
  word-break: break-all;
}

.contact-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.consult-hint {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 14px;
}

.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #1e293b;
  font-family: inherit;
  resize: vertical;
  transition: all 0.2s;
  outline: none;
}

.form-group textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.consult-footer {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 8px;
}

/* ══════════════════════════════
   技术支持文档页
   ═════════════════════════════ */

.page-support {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  min-height: 100vh;
}

.support-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 16px 40px;
}

.support-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin: 16px 0 8px;
}

.support-subtitle:first-of-type {
  margin-top: 4px;
}

.support-steps {
  margin: 0 0 12px;
  padding-left: 20px;
}

.support-steps li {
  font-size: 14px;
  line-height: 1.9;
  color: #475569;
}

.support-tip,
.support-note {
  font-size: 13px;
  line-height: 1.7;
  color: #64748b;
  background: #f8fafc;
  border-left: 3px solid #93c5fd;
  border-radius: 0 8px 8px 0;
  padding: 10px 12px;
  margin-top: 12px;
}

.support-note code {
  background: #eef2ff;
  color: #4338ca;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 12px;
}

.code-block {
  position: relative;
  background: #0f172a;
  border-radius: 12px;
  padding: 16px 14px;
  overflow-x: auto;
}

.code-block pre {
  margin: 0;
}

.code-block code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12.5px;
  line-height: 1.7;
  color: #e2e8f0;
  white-space: pre;
}

.code-copy {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 12px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 3px 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.code-copy:active {
  background: rgba(255, 255, 255, 0.22);
}

.support-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.support-tab {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.support-tab.active {
  color: #fff;
  background: #2563eb;
  border-color: #2563eb;
}

.support-table-wrap {
  overflow-x: auto;
}

.support-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.support-table th,
.support-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
}

.support-table thead th {
  color: #64748b;
  font-weight: 600;
  background: #f8fafc;
}

.support-table tbody td {
  color: #334155;
}

.support-table tbody td:first-child {
  font-weight: 700;
  color: #ef4444;
}

/* ══════════════════════════════
   后台留言管理
   ═════════════════════════════ */

.msg-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.msg-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.msg-card-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.msg-name {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
}

.msg-contact {
  font-size: 13px;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 6px;
  padding: 2px 8px;
}

.msg-time {
  margin-left: auto;
  font-size: 12px;
  color: #94a3b8;
}

.msg-content {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  white-space: pre-wrap;
  word-break: break-word;
}
