/* ================================================
   pages.css — 各页面私有样式 (全新设计)
   ================================================ */

/* ---------- 发起合同页 ---------- */
.page-contract {
  padding: 0;
  background: #f7f9fd;
}

.contract-brand {
  background: #fff;
  border-radius: 18px !important;
  margin: 12px 14px 20px !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03) !important;
  border: none !important;
  overflow: hidden;
  padding: 0;
}

.brand-content {
  padding: 18px 18px 0;
}

.contract-brand .brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  width: 100%;
}

.contract-brand .brand-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contract-brand .brand-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.contract-brand .brand-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.contract-brand .brand-source {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.contract-brand .brand-domain {
  font-weight: 400;
  color: #94a3b8;
  font-size: 13px;
  margin-left: 100px;
}

.contract-brand .brand-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 13px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s;
}

.contract-brand .brand-close:active {
  background: #e2e8f0;
}

.contract-brand h2 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: #0f172a;
  margin-top: 30px;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
  width: 100%;
  max-width: 100%;
}

.contract-brand p {
  font-size: 15px;
  line-height: 1.4;
  color: #2f63e7;
  font-weight: 600;
  margin-bottom: 0;
  width: 100%;
  max-width: 100%;
}

.blockchain-tip {
  margin: 14px 0 0;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  background: #f0fdf4;
  color: #16a34a;
  border-radius: 0;
}

.blockchain-tip .tip-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
  flex: 0 0 auto;
}

.blockchain-tip .tip-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.blockchain-tip .tip-text {
  font-size: 11px;
  color: #15803d;
  font-weight: 500;
  line-height: 1.2;
  display: block;
  text-align: left;
}

.page-contract > form {
  padding: 0 0 0;
}

.form-card {
  background: #fff;
  border-radius: 18px 18px 0 0;
  padding: 14px 18px 8px;
  box-shadow: none;
  border: none;
}

.form-card-hint {
  color: #d1d5db;
  font-size: 13px;
  padding: 0 0 12px;
}

.form-group {
  padding: 11px 0 13px;
  border-bottom: 1px solid #f3f4f6;
}

.form-label {
  display: block;
  width: auto;
  font-size: 13px;
  color: #101828;
  font-weight: 700;
  margin-bottom: 9px;
}

.form-input {
  width: 100%;
  border: none;
  font-size: 14px;
  color: #101828;
  text-align: left;
  outline: none;
  background: #fafafa;
  min-width: 0;
  border-radius: 12px;
  padding: 12px 14px;
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px #edf0f3;
}

.role-switch {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.role-opt {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  cursor: pointer;
  color: #4b5563;
  background: #f6f8fb;
  border: 1px solid #e5e7eb;
  padding: 8px 10px;
  border-radius: 999px;
}

.role-opt:has(input:checked) {
  color: #2f63e7;
  font-weight: 700;
  background: #eef4ff;
  border-color: #bcd0ff;
}

.form-footer-compact {
  padding: 8px 18px 0;
  background: transparent;
}

.contract-submit-wrap {
  padding: 12px 14px 24px;
  background: transparent;
}

.contract-submit-wrap .btn-primary {
  width: 100%;
  border-radius: 28px;
  background: #2563eb;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 0;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

.form-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 6px;
  background: #f3f4f6;
  color: #8b92a0;
  font-size: 11px;
  font-weight: 600;
  vertical-align: middle;
}

.legal-note {
  text-align: left;
  font-size: 13px;
  color: #374151; /* Dark gray slate */
  margin-top: 16px;
  margin-bottom: 12px;
  font-weight: 600;
  padding-left: 0px;
}

.legal-checklist {
  background: transparent;
  border-radius: 0px;
  padding: 12px 0;
  margin-top: 12px;
  margin-bottom: 16px;
  box-shadow: none;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
}

.legal-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #16a34a; /* vibrant green */
  line-height: 1.45;
  font-weight: 600;
}

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

.legal-item::before {
  display: none;
}

.legal-item .check-circle {
  width: 16px;
  height: 16px;
  color: #16a34a;
  flex-shrink: 0;
}

.agreement-box {
  background: transparent;
  border-radius: 0px;
  padding: 0px;
  border: none;
  box-shadow: none;
  margin-top: 18px;
}

.agreement {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  font-size: 12px;
  color: #4b5563; /* slate gray */
  font-weight: 500;
}

.agreement .agreement-check-custom {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid #3b82f6;
  background-color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  outline: none;
  transition: all 0.2s ease;
  margin-top: 0;
  flex-shrink: 0;
}

.agreement .agreement-check-custom:checked {
  background-color: #3b82f6;
  border-color: #3b82f6;
}

.agreement .agreement-check-custom:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.agreement a {
  color: #2f63e7;
  text-decoration: none;
  font-weight: 600;
}

/* 顶部品牌导航 */
.contract-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-card);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(232, 73, 15, 0.2);
}

.nav-brand {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  line-height: 1.3;
}

.brand-desc {
  font-size: 10px;
  color: var(--text-hint);
  white-space: nowrap;
  line-height: 1.3;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-login {
  font-size: 13px;
  color: var(--bg-card);
  font-weight: 600;
  cursor: pointer;
  background: var(--primary);
  padding: 6px 14px;
  border-radius: 16px;
  transition: opacity 0.2s;
}

.nav-login:active { opacity: 0.8; }

/* 信任横幅 */
.trust-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #f0f7ff, #e8f4f8);
  font-size: 11px;
  color: var(--text-sub);
}

.trust-banner .trust-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

/* 实时动态 */
.live-ticker {
  margin: 0 16px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.ticker-item {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.4;
  transition: opacity 0.3s;
  flex: 1;
}

/* 表单卡片区域 */
.contract-form-section {
  padding: 12px 16px 0;
}

.form-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.form-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.form-card-header .fc-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.form-card-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.form-card-header .fc-badge {
  margin-left: auto;
  font-size: 10px;
  color: var(--green);
  background: #e8f5e9;
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.form-group {
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f8f8f8;
}

.form-group:last-of-type { border-bottom: none; }

.form-label {
  width: 80px;
  font-size: 14px;
  color: var(--text-main);
  flex-shrink: 0;
  font-weight: 500;
}

.form-label .required {
  color: #e74c3c;
  margin-right: 2px;
}

.form-input {
  flex: 1;
  border: none;
  font-size: 14px;
  color: var(--text-main);
  text-align: right;
  outline: none;
  background: transparent;
  min-width: 0;
}

.form-input::placeholder { color: #ccc; }

.role-switch {
  display: flex;
  gap: 10px;
  flex: 1;
  justify-content: flex-end;
}

.role-opt {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  cursor: pointer;
  color: var(--text-main);
}

.role-opt:has(input:checked) {
  color: var(--blue);
  font-weight: 600;
}

.role-opt input {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  accent-color: var(--blue);
}

.amount-input-wrap { display: flex; align-items: center; flex: 1; justify-content: flex-end; }
.amount-prefix { color: var(--blue); font-size: 18px; font-weight: 700; margin-right: 4px; }

/* 表单底部 */
.form-footer {
  padding: 16px;
}

.blockchain-tip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #16a34a;
  padding: 10px 18px !important;
  margin: 20px 0 12px !important;
  font-weight: 500;
  background: #f0fff4 !important;
}

.blockchain-tip .tip-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #a7e3ba;
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  background: #f0fff4;
}

.form-card {
  background: #fff;
  border-radius: 18px !important;
  padding: 18px 18px 14px !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03) !important;
  border: none !important;
  margin: 12px 14px !important;
}

.fc-title-wrap {
  display: flex;
  flex-direction: column;
}

.fc-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #111827;
  margin: 0;
}

.fc-subtitle {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
  text-align: left;
}

.field-hint {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 6px;
  line-height: 1.4;
  text-align: left;
}

.form-card-hint {
  color: #d1d5db;
  font-size: 13px;
  padding: 0 0 10px;
}

.identity-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 18px;
  padding: 12px 18px;
  margin: 12px 14px !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.id-label {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
}

.id-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
}

.id-dot {
  width: 6px;
  height: 6px;
  background-color: #2563eb;
  border-radius: 50%;
}

.id-hint {
  font-size: 11px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 3px;
}

.form-group-container {
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.form-group-container:last-of-type {
  border-bottom: none;
}

.form-group {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 !important;
  border-bottom: none !important;
}

.form-label {
  display: inline-block;
  width: 80px;
  font-size: 13px !important;
  color: #374151 !important;
  flex-shrink: 0;
  font-weight: 600 !important;
  margin-bottom: 0 !important;
  text-align: left;
}

.form-label .required {
  color: #ef4444;
  margin-right: 2px;
}

.input-icon-group {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.input-icon-group .form-input {
  padding-left: 36px !important;
}

.input-icon-group .input-icon {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: #9ca3af;
  pointer-events: none;
}

.input-icon-group .font-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-input {
  width: 100%;
  border: none;
  font-size: 14px;
  color: #111827;
  text-align: left;
  outline: none;
  background: #fafafa;
  min-width: 0;
  border-radius: 12px;
  padding: 12px 14px;
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px #edf0f3;
}

.form-input::placeholder { color: #c7cbd4; }

.form-textarea {
  min-height: 88px;
  resize: none;
  line-height: 1.5;
}

.role-switch {
  display: flex;
  gap: 12px;
  flex: 1;
  justify-content: flex-start;
}

.role-opt {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  cursor: pointer;
  color: #4b5563;
  background: #f6f8fb;
  border: 1px solid #e5e7eb;
  padding: 10px 14px;
  border-radius: 999px;
}

.role-opt:has(input:checked) {
  color: #2f63e7;
  font-weight: 700;
  background: #eef4ff;
  border-color: #bcd0ff;
}

.role-opt input {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  accent-color: var(--blue);
}

.amount-input-wrap { display: flex; align-items: center; flex: 1; justify-content: flex-end; }
.amount-prefix { color: var(--blue); font-size: 18px; font-weight: 700; margin-right: 4px; }

.form-footer {
  background: #fff !important;
  border-radius: 18px !important;
  padding: 18px !important;
  margin: 12px 14px 24px !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03) !important;
  border: none !important;
}

.contract-template-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #2f63e7;
  padding: 0;
  margin-bottom: 14px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.contract-template-link:active {
  opacity: 0.7;
}

.ctl-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.contract-template-link .doc-icon {
  width: 16px;
  height: 16px;
  color: #2f63e7;
  flex-shrink: 0;
}

.contract-template-link .arrow-icon {
  width: 14px;
  height: 14px;
  color: #2f63e7;
  flex-shrink: 0;
}


.submit-disclaimer {
  font-size: 11px;
  color: #c0c4cc;
  margin-top: 12px;
  text-align: center;
  line-height: 1.6;
}

/* 对比说明区 */
.contract-compare-section {
  padding: 16px;
}

.compare-card {
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: transform 0.2s var(--ease);
}

.compare-card:active { transform: scale(0.98); }

.card-warning {
  background: #fff7f5;
  border: 1px solid #ffe0d6;
}

.card-solution {
  background: #f5f9ff;
  border: 1px solid #d6e6ff;
}

.compare-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.compare-icon { font-size: 14px; }

.compare-name {
  font-size: 15px;
  font-weight: 700;
}

.compare-name.warning { color: var(--primary); }
.compare-name.solution { color: var(--blue); }

.compare-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.5;
}

/* 战报卡片 */
.report-section {
  padding: 0 16px 20px;
}

.section-header {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  padding: 12px 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.report-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.report-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
}

.report-tag.t1 { background: #fff3e0; color: var(--primary); }
.report-tag.t2 { background: #e8f5e9; color: #27ae60; }
.report-tag.t3 { background: #e3f2fd; color: #1976d2; }
.report-tag.t4 { background: #fce4ec; color: #e91e63; }

.report-cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.report-case {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.2s;
}

.report-case:active { transform: scale(0.97); }

.rc-game {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 3px;
}

.rc-desc {
  font-size: 11px;
  color: var(--text-hint);
  margin-bottom: 4px;
}

.rc-result {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

/* ---------- 追回中心页（合并追回中心+追回表单） ---------- */
.page-recovery {
  padding: 0;
  background: #f4f5f9;
}

.recovery-top-bar {
  background: #fff;
  padding: 10px 14px 8px;
  position: relative;
  text-align: center;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.recovery-close {
  position: absolute;
  left: 12px;
  top: 8px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7f8794;
  font-size: 20px;
  line-height: 1;
}

.recovery-title-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.recovery-title {
  font-size: 18px;
  font-weight: 800;
  color: #2d2f33;
  line-height: 1.1;
}

.recovery-domain {
  font-size: 11px;
  color: #b4b8c0;
  line-height: 1.1;
}

.rc-hero-card {
  background: linear-gradient(135deg, #2e57d9 0%, #2953d0 52%, #2548ba 100%);
  color: #fff;
  margin: 12px;
  border-radius: 22px;
  padding: 16px 16px 15px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(49, 94, 227, 0.24);
}

.rc-hero-label { display: flex; align-items: center; gap: 7px; font-size: 12px; opacity: .92; margin-bottom: 18px; }
.rc-hero-label-icon { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; line-height: 1; }
.rc-hero-label-icon svg { width: 18px; height: 18px; display: block; }
.rc-hero-card h2 { font-size: 20px; font-weight: 800; margin-bottom: 14px; line-height: 1.18; letter-spacing: -0.2px; width: 92%; max-width: 92%; }
.rc-hero-badge { display: inline-flex; align-items: center; justify-content: center; background: rgba(141, 110, 255, 0.3); padding: 7px 14px; border-radius: 999px; font-size: 12px; margin-bottom: 14px; backdrop-filter: blur(4px); border: 1px solid rgba(223, 204, 255, 0.22); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); }
.rc-hero-badge-iconed { gap: 6px; }
.rc-hero-badge-icon { font-size: 13px; line-height: 1; color: #f6b04b; transform: translateY(-0.5px); }
.rc-hero-badge-text { font-size: 13px; font-weight: 700; color: #f4d77f; line-height: 1; }
.rc-hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.92);
  font-size: 12px;
}

.rc-hero-tags span {
  position: relative;
  padding: 5px 10px 5px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  line-height: 1;
}

.rc-hero-tags span::before {
  content: '✓';
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  color: #52d87d;
  font-weight: 700;
}

.rc-contact-card {
  background: #fff;
  border-radius: 20px;
  margin: 0 12px 12px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(229, 231, 235, 0.9);
}

.rc-contact-info { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.rc-contact-icon { width: 44px; height: 44px; background: #f0f5ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 21px; flex: 0 0 auto; overflow: hidden; }
.rc-contact-icon svg { width: 100%; height: 100%; display: block; }
.rc-contact-icon-figure { background: transparent; }
.rc-contact-icon-figure svg { transform: scale(0.96); transform-origin: center; }
.rc-contact-info h4 { font-size: 15px; font-weight: 700; margin-bottom: 2px; color: #111827; }
.rc-contact-info p { font-size: 12px; color: #9ca3af; }
.btn-wechat-green { width: 100%; padding: 12px; background: linear-gradient(135deg, #07c160, #06ad56); color: #fff; border: none; border-radius: 999px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.2s; box-shadow: 0 8px 18px rgba(7,193,96,0.22); }
.btn-wechat-green:active { transform: scale(0.98); opacity: 0.9; }
.rc-contact-note { text-align: center; font-size: 11px; color: #b8bec8; margin-top: 7px; }

/* 维权表单（内嵌在维权页） */
.rcf-section { margin: 0 12px 12px; }
.rcf-section .card {
  border: 1px solid var(--border);
}

.rcf-form-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rcf-steps-section { margin: 0 12px 12px; }
.rcf-steps-section .card { border: 1px solid var(--border); }
.rcf-steps-title { font-size: 14px; font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.step-item { display: flex; gap: 10px; margin-bottom: 14px; }
.step-item:last-child { margin-bottom: 0; }
.step-num { width: 24px; height: 24px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.step-item b { font-size: 13px; color: var(--text-main); }
.step-item p { font-size: 12px; color: var(--text-hint); margin-top: 3px; line-height: 1.5; }

.rc-report-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px 10px; font-size: 15px; font-weight: 700; color: #111827; }
.live-dot { color: #27ae60; font-size: 12px; font-weight: 500; animation: pulse 1.5s infinite; }
.rc-case-list { padding: 0 12px 16px; }
.rc-case-item { display: flex; align-items: center; background: #fff; border-radius: 18px; padding: 14px; margin-bottom: 8px; box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06); border: 1px solid rgba(229, 231, 235, 0.9); transition: transform 0.2s; }
.rc-case-item:active { transform: scale(0.98); }
.rc-game-circle { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 10px; line-height: 1.2; font-weight: 700; color: #fff; margin-right: 12px; flex-shrink: 0; padding: 4px; box-sizing: border-box; }
.gc-red { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.gc-blue { background: linear-gradient(135deg, #3498db, #2980b9); }
.gc-teal { background: linear-gradient(135deg, #1abc9c, #16a085); }
.gc-purple { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.rc-case-body { flex: 1; }
.rc-case-title { font-size: 14px; font-weight: 600; color: var(--text-main); }
.rc-case-time { font-size: 11px; color: #bbb; margin-top: 2px; }
.rc-case-right { text-align: right; }
.rc-case-amount { font-size: 16px; font-weight: 700; color: var(--text-main); }
.rc-case-tag { font-size: 11px; margin-top: 2px; font-weight: 600; }
.rc-case-tag.tag-green { color: #27ae60; }
.rc-case-tag.tag-orange { color: #e67e22; }

select.form-input { appearance: auto; }

/* ---------- 我的页面 ---------- */
.page-mine {
  padding: 0;
  background: var(--bg-page);
}

.user-header {
  background: linear-gradient(135deg, #5a82ff 0%, #315ee3 58%, #2448b6 100%);
  color: #fff;
  padding: 32px 20px 28px;
  border-radius: 0 0 24px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(49, 94, 227, 0.22);
}

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

.user-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,0.2);
}

.user-name-row { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.user-name-row span:first-child { font-size: 17px; font-weight: 700; }
.auth-tag { display: inline-block; background: rgba(39,174,96,0.2); color: #2ecc71; font-size: 11px; padding: 2px 8px; border-radius: 10px; }

.user-phone {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 2px;
}

.stats-bar {
  display: flex;
  margin: -16px 16px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

.stat-item { flex: 1; text-align: center; }
.stat-label { font-size: 12px; color: var(--text-hint); margin-bottom: 6px; }
.stat-value { font-size: 28px; font-weight: 700; color: var(--text-main); line-height: 1; }
.stat-unit { font-size: 13px; font-weight: 400; color: var(--text-sub); }
.stat-prefix { font-size: 15px; font-weight: 400; }
.stat-btn { margin-top: 10px; padding: 6px 16px; border-radius: 16px; border: 1.5px solid var(--blue); color: var(--blue); background: #fff; font-size: 12px; cursor: pointer; font-weight: 600; transition: all 0.2s; }
.stat-btn:active { background: #f0f5ff; }
.stat-btn-dark { background: var(--text-main); color: #fff; border-color: var(--text-main); }
.stat-btn-dark:active { opacity: 0.85; }
.stat-divider { width: 1px; background: var(--border); align-self: stretch; margin: 8px 0; }

.invite-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: #fff;
  margin: 0 16px 12px;
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: transform 0.2s;
}
.invite-banner:active { transform: scale(0.98); }
.invite-banner-title { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.invite-banner-desc { font-size: 11px; opacity: .75; }
.invite-banner-btn { background: #fff; color: #333; border: none; border-radius: 16px; padding: 8px 16px; font-size: 12px; font-weight: 600; cursor: pointer; }

.menu-list {
  background: var(--bg-card);
  margin: 0 16px 12px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  cursor: pointer;
  transition: background 0.15s;
}

.menu-item:active { background: #f8f9fa; }
.menu-item + .menu-item { border-top: 1px solid var(--border); }

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

.menu-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.ic-contract { background: #e8f0ff; color: var(--blue); }
.ic-auth     { background: #e8f5e9; color: #27ae60; }
.ic-buy      { background: #fff8e1; color: #f39c12; }
.ic-invite   { background: #fce4ec; color: #e74c3c; }
.ic-contact  { background: #f3e5f5; color: #9b59b6; }

.menu-label { font-size: 15px; color: var(--text-main); font-weight: 500; }
.menu-right { display: flex; align-items: center; gap: 6px; color: #ccc; font-size: 14px; }
.menu-badge { font-size: 12px; color: #27ae60; background: #e8f5e9; padding: 2px 8px; border-radius: 8px; }

/* 客服卡片（嵌入我的页面） */
.mine-service-card {
  margin: 0 16px 12px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.2s;
}
.mine-service-card:active { transform: scale(0.98); }
.mine-service-icon { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--green), #06ad56); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.mine-service-text { flex: 1; }
.mine-service-text h4 { font-size: 14px; font-weight: 600; color: var(--text-main); margin-bottom: 2px; }
.mine-service-text p { font-size: 12px; color: var(--text-hint); }
.mine-service-arrow { color: #ccc; }

.logout-wrap { padding: 24px 16px 32px; }
.btn-logout { width: 100%; padding: 13px; background: #fff; color: var(--primary); border: 1.5px solid #ffd5c8; border-radius: var(--radius-full); font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.btn-logout:active { background: #fff5f0; }

/* ========== 子页面通用 ========== */
.page-sub { background: var(--bg-page); overflow-y: auto; }
.empty-hint { text-align: center; color: #bbb; padding: 40px 0; font-size: 14px; }

/* --- 合同列表 --- */
.sub-tabs { display: flex; background: var(--bg-card); border-bottom: 1px solid var(--border); }
.sub-tab { flex: 1; text-align: center; padding: 13px 0; font-size: 14px; color: var(--text-sub); cursor: pointer; position: relative; transition: color 0.2s; }
.sub-tab.active { color: var(--blue); font-weight: 600; }
.sub-tab.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 3px; border-radius: 2px; background: var(--blue); }
.sub-tab .dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; display: inline-block; position: relative; top: -6px; }
.contract-list-body { padding: 12px; }
.cl-card { background: var(--bg-card); border-radius: var(--radius-md); padding: 16px; margin-bottom: 10px; border-left: 3px solid var(--blue); box-shadow: var(--shadow-sm); transition: transform 0.2s; }
.cl-card:active { transform: scale(0.98); }
.cl-head { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 12px; color: #bbb; }
.cl-no { color: #bbb; }
.cl-date { color: #bbb; }
.cl-title { font-size: 15px; font-weight: 600; color: var(--text-main); margin-bottom: 6px; }
.cl-title .cl-role-tag { font-size: 11px; padding: 2px 8px; border-radius: 6px; margin-left: 6px; font-weight: 500; }
.cl-role-tag.buyer { background: #e3f2fd; color: #1976d2; }
.cl-role-tag.seller { background: #fff3e0; color: #e65100; }
.cl-meta { font-size: 12px; color: var(--text-hint); line-height: 1.8; }
.cl-meta .verified { color: var(--blue); }
.cl-actions { display: flex; gap: 8px; margin-top: 12px; align-items: center; }
.cl-actions button { padding: 8px 16px; border-radius: 20px; font-size: 12px; border: 1.5px solid #e8e8e8; background: var(--bg-card); cursor: pointer; font-weight: 500; transition: all 0.2s; }
.cl-actions button:active { transform: scale(0.95); }
.cl-actions .btn-blue { background: var(--blue); color: #fff; border: none; box-shadow: 0 2px 8px rgba(74,125,255,0.2); }
.cl-actions .btn-orange { background: #e67e22; color: #fff; border: none; box-shadow: 0 2px 8px rgba(230,126,34,0.2); }
.cl-actions .btn-yellow { background: #f39c12; color: #fff; border: none; box-shadow: 0 2px 8px rgba(243,156,18,0.2); }
.cl-actions .btn-outline-blue { background: transparent; color: #4a7dff; border: 1.5px solid #4a7dff; }
.cl-status-badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 12px; display: inline-flex; align-items: center; margin-right: auto; }
.cl-status-badge.s-yellow { color: #e67e22; background: #fff3e0; }
.cl-status-badge.s-gray { color: #95a5a6; background: #f2f4f4; }
.cl-status-badge.s-green { color: #27ae60; background: #e8f8f5; }

/* --- 合同详情 --- */
.contract-detail-body { padding: 16px; }
.detail-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin: 12px;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-label {
  color: var(--text-sub);
  font-size: 14px;
  font-weight: 500;
}
.detail-value {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  word-break: break-all;
}
.detail-value.highlight-price {
  color: #e74c3c;
  font-size: 16px;
  font-weight: 700;
}
.detail-btn-group {
  padding: 12px;
  display: flex;
  gap: 12px;
}
.detail-btn {
  flex: 1;
  border-radius: 24px;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-align: center;
  display: inline-block;
}
.detail-btn:active {
  transform: scale(0.97);
}
.detail-btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(74,125,255,0.25);
}
.detail-btn-secondary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(232, 73, 15, 0.2);
}

/* --- 实名认证 --- */
.verify-hero { text-align: center; padding: 30px 24px 16px; }
.verify-shield { margin-bottom: 16px; }
.verify-hero p { font-size: 13px; color: var(--text-sub); line-height: 1.6; }
.verify-info { margin: 0 16px; border: 1px solid var(--border); }
.info-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.info-row:last-child { border: none; }
.auth-dot { font-weight: 600; }
.verify-explain { padding: 16px; }
.verify-explain h4 { font-size: 15px; font-weight: 600; margin-bottom: 12px; color: var(--text-main); }
.explain-item { display: flex; gap: 12px; margin-bottom: 12px; background: #f8faff; border-radius: var(--radius-md); padding: 14px; border: 1px solid #eef3ff; }
.exp-icon-box { width: 36px; height: 36px; background: var(--bg-card); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.explain-item b { font-size: 14px; color: var(--text-main); display: block; margin-bottom: 4px; }
.explain-item p { font-size: 12px; color: var(--text-hint); line-height: 1.5; }

/* --- 购买保障额度 --- */
.upgrade-banner-dark { background: linear-gradient(135deg, #1a1a2e, #16213e); color: #fff; padding: 30px 20px; text-align: center; position: relative; overflow: hidden; }
.upgrade-banner-dark::before { content: ''; position: absolute; top: -40px; right: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(74,125,255,0.1); }
.upgrade-banner-dark .ubd-icon { margin-bottom: 12px; }
.upgrade-banner-dark h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.upgrade-banner-dark p { font-size: 12px; opacity: .8; }
.upgrade-compare { display: flex; gap: 0; padding: 16px 6px; background: #fff; border-radius: 14px; margin: 12px; box-shadow: 0 8px 22px rgba(0,0,0,0.08); position: relative; }
.upgrade-compare::after { content: ''; position: absolute; top: 12px; bottom: 12px; left: 50%; width: 1px; background: #eef2f7; transform: translateX(-0.5px); }
.compare-item { flex: 1; background: transparent; border-radius: 0; padding: 6px 12px; text-align: center; box-shadow: none; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 76px; }
.compare-dot { width: 14px; height: 14px; border-radius: 50%; margin: 0 auto 8px; }
.dot-gray { background: #e0e0e0; }
.dot-green { background: #27ae60; }
.compare-item .compare-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--text-main); }
.compare-item .compare-desc { font-size: 12px; color: var(--text-hint); line-height: 1.4; }
.compare-item.compare-bad .compare-desc { color: #b6bbc4; }
.compare-item .compare-desc.highlight { color: #22c55e; font-weight: 700; }
.pkg-title { font-size: 15px; font-weight: 600; padding: 12px 16px 8px; color: var(--text-main); }
.package-list { padding: 0 16px; }
.pkg-card { border: 2px solid var(--border); border-radius: var(--radius-md); padding: 16px; margin-bottom: 10px; cursor: pointer; position: relative; transition: all 0.25s var(--ease); display: flex; align-items: center; justify-content: space-between; }
.pkg-card:active { transform: scale(0.98); }
.pkg-card.selected { border-color: var(--blue); background: #f8faff; box-shadow: 0 2px 12px rgba(74,125,255,0.1); }
.pkg-card .pkg-tag { position: absolute; top: -1px; left: 12px; background: var(--primary); color: #fff; font-size: 10px; padding: 2px 8px; border-radius: 0 0 6px 6px; font-weight: 600; }
.pkg-left { display: flex; align-items: center; gap: 10px; }
.pkg-radio { width: 18px; height: 18px; border: 2px solid #ccc; border-radius: 50%; flex-shrink: 0; transition: all 0.2s; }
.pkg-card.selected .pkg-radio { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 3px #fff; }
.pkg-name { font-size: 14px; font-weight: 600; color: var(--text-main); }
.pkg-desc { font-size: 11px; color: var(--text-hint); margin-top: 2px; }
.pkg-price-right { font-size: 22px; font-weight: 700; color: var(--primary); }
.pkg-wechat-service { display: flex; align-items: center; justify-content: space-between; background: var(--bg-card); margin: 12px 16px; border-radius: var(--radius-md); padding: 14px; box-shadow: var(--shadow-sm); }
.pws-left { display: flex; align-items: center; gap: 10px; }
.pws-icon { font-size: 20px; }
.pws-left b { font-size: 13px; display: block; color: var(--text-main); }
.pws-left p { font-size: 11px; color: var(--text-hint); }
.pws-btn { background: #e8f5e9; color: #27ae60; border: none; border-radius: 16px; padding: 6px 14px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.pws-btn:active { background: #c8e6c9; }
.pkg-bottom-bar { padding: 12px 16px 20px; }
.pkg-pay-row { display: flex; justify-content: space-between; align-items: center; }
.pkg-total b { font-size: 22px; color: var(--primary); }
.btn-wechat-pay { background: linear-gradient(135deg, #07c160, #06ad56); color: #fff; border: none; border-radius: var(--radius-full); padding: 12px 28px; font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 12px rgba(7,193,96,0.25); transition: all 0.2s; }
.btn-wechat-pay:active { transform: scale(0.98); opacity: 0.9; }
.btn-wechat-pay[disabled], .btn-wechat-pay.disabled { opacity: .5; cursor: not-allowed; filter: grayscale(20%); box-shadow: none; }

/* --- 邀请奖励页 --- */
.inv-top-bar { display: flex; align-items: center; padding: 14px 16px; background: #1a1a2e; color: #fff; }
.inv-top-bar span:nth-child(2) { flex: 1; text-align: left; font-size: 16px; font-weight: 600; margin-left: 4px; }
.inv-top-bar .back-btn { display: inline-flex; align-items: center; }
.inv-rules-link { font-size: 12px; color: #ffd700; text-decoration: none; }
.inv-dark-header { background: linear-gradient(135deg, #0f1b2d, #172a46); color: #fff; padding: 24px 20px 44px; text-align: center; border-bottom-left-radius: 14px; border-bottom-right-radius: 14px; box-shadow: 0 8px 28px rgba(0,0,0,0.22); }
.inv-dark-header h3 { font-size: 16px; color: #ffffff; margin-bottom: 16px; font-weight: 700; letter-spacing: 0.2px; }
.inv-stats-row { display: flex; align-items: flex-end; justify-content: center; gap: 28px; }
.inv-stat-col { flex: 1; text-align: center; min-width: 120px; }
.inv-stat-label { font-size: 12px; color: rgba(255,255,255,0.75); }
.inv-stat-num { font-size: 34px; font-weight: 800; color: #fff; margin: 6px 0 10px; letter-spacing: 0.3px; }
.inv-stat-btn { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.28); color: #fff; border-radius: 16px; padding: 6px 16px; font-size: 12px; cursor: pointer; transition: background 0.2s; }
.inv-stat-btn:active { background: rgba(255,255,255,0.25); }
.inv-stat-divider { width: 1px; background: rgba(255,255,255,0.2); margin: 0 8px; }
.btn-invite-send { width: 100%; padding: 15px; background: linear-gradient(135deg, #f9e0a2 0%, #f1bd5a 55%, #e9a93f 100%); color: #1b1b1b; border: none; border-radius: var(--radius-full); font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 22px rgba(233,169,63,0.35); transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center; }
.btn-invite-send::before { content: "🔗"; display: inline-block; margin-right: 6px; font-size: 16px; }
.btn-invite-send:active { transform: scale(0.98); filter: brightness(0.98); }
.inv-flow { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 20px 16px; background: #fff; margin: 16px 12px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.inv-flow-step { text-align: center; min-width: 86px; }
.inv-flow-icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(233,169,63,0.14); font-size: 18px; margin-bottom: 6px; }
.inv-flow-name { font-size: 12px; font-weight: 600; color: var(--text-main); }
.inv-flow-desc { font-size: 10px; color: var(--text-hint); }
.inv-flow-arrow { font-size: 16px; color: #ccc; }
.inv-partner-banner { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(135deg, #0f0f10, #1b1b1b); color: #fff; margin: 0 12px 16px; border-radius: var(--radius-md); padding: 14px 16px; transition: transform 0.2s; box-shadow: 0 10px 24px rgba(0,0,0,0.25); }
.inv-partner-banner:active { transform: scale(0.98); }
.inv-partner-text b { font-size: 14px; }
.inv-partner-text p { font-size: 11px; opacity: .7; margin-top: 2px; }
.inv-partner-btn { background: #121212; color: #ffd77a; border: 1px solid rgba(255,215,122,0.35); border-radius: 18px; padding: 8px 14px; font-size: 12px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.25) inset; }
.invite-detail-title { padding: 12px 16px 8px; font-size: 15px; font-weight: 700; color: var(--text-main); }
.invite-records { padding: 0 12px 16px; }
.inv-record { display: flex; align-items: center; background: var(--bg-card); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 8px; box-shadow: var(--shadow-sm); }
.inv-avatar { width: 36px; height: 36px; background: #e3f2fd; border-radius: 50%; margin-right: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--blue); }
.inv-info { flex: 1; }
.inv-info .inv-ph { font-size: 14px; font-weight: 600; color: var(--text-main); }
.inv-info .inv-time { font-size: 11px; color: #bbb; }
.inv-reward { font-size: 13px; font-weight: 600; }
.inv-reward.cash { color: #ff3b30; }
.inv-reward.quota { color: #27ae60; }
.inv-reward.none { color: #bbb; }

/* 头像颜色状态 */
.inv-avatar.av-blue { background: #e3f2fd; color: #2f63e7; }
.inv-avatar.av-green { background: #e9f7ef; color: #27ae60; }
.inv-avatar.av-gray { background: #f0f2f5; color: #9aa0a6; }

/* 去催促 */
.inv-urge { display:inline-block; margin-top:2px; font-size:12px; color:#2f63e7; text-decoration:none; }
.inv-urge:active { opacity: .8; }

/* --- 官方服务中心（保留但精简） --- */
.svc-hero { text-align: center; padding: 30px 16px 20px; }
.svc-avatar { margin-bottom: 12px; }
.svc-hero h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; color: var(--text-main); }
.svc-sub { font-size: 13px; color: var(--blue); }
.svc-notice { border: 1px solid #d0e3ff; background: #f0f7ff; }
.svc-notice p { font-size: 13px; color: #555; line-height: 1.6; }
.svc-wechat { text-align: center; }
.svc-wechat-id { font-size: 15px; margin-bottom: 14px; }
.svc-wechat-id b { font-size: 17px; color: var(--text-main); }
.svc-wechat-tip { font-size: 11px; color: #bbb; margin-top: 8px; }
.svc-features { padding: 16px; }
.svc-features h4 { font-size: 15px; font-weight: 600; margin-bottom: 14px; color: var(--text-main); }
.svc-features-row { display: flex; gap: 12px; }
.svc-feat-item { flex: 1; text-align: center; }
.svc-feat-icon { width: 48px; height: 48px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 8px; }
.svc-feat-name { font-size: 13px; font-weight: 600; color: var(--text-main); }
.svc-feat-desc { font-size: 11px; color: var(--text-hint); }
.svc-footer { text-align: center; padding: 20px; }
.svc-footer p { font-size: 12px; color: #bbb; line-height: 1.8; }

/* --- 底部信任栏 --- */
.rcf-bottom-trust { display: flex; justify-content: center; gap: 16px; padding: 16px 0 24px; font-size: 12px; color: var(--text-hint); }

/* --- 登录弹窗 --- */
.login-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; display: flex; align-items: center; justify-content: center; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.login-modal { background: var(--bg-card); border-radius: var(--radius-lg); padding: 28px 24px; width: 320px; max-width: 90vw; box-shadow: var(--shadow-lg); animation: fadeSlideIn 0.3s var(--ease); }

/* --- 自定义确认弹窗 --- */
.confirm-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s var(--ease);
}
.confirm-modal {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  width: 280px;
  max-width: 80%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeSlideIn 0.25s var(--ease);
}
.confirm-body {
  padding: 28px 24px 20px;
  text-align: center;
  font-size: 16px;
  color: var(--text-main);
  line-height: 1.5;
}
.confirm-actions {
  display: flex;
  border-top: 1px solid var(--border);
}
.confirm-btn {
  flex: 1;
  padding: 14px;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  border: none;
  background: none;
  transition: background 0.15s;
}
.confirm-btn:active { background: #f5f5f5; }
.confirm-cancel {
  color: var(--text-sub);
  border-right: 1px solid var(--border);
}
.confirm-ok {
  color: var(--blue);
  font-weight: 600;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
