/* ============================================================
   misc.css - 彩缘汇 Misc Pages (appdown, agreements, distribution)
   ============================================================ */

/* App Download Page */
.download-hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}

.hero-text h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 16px;
}

.hero-text h1 span {
  color: var(--orange-warm);
}

.hero-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 8px;
}

.hero-qr-box {
  background: var(--white);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.hero-qr-box img {
  width: 180px;
  height: 180px;
  display: block;
}

.hero-qr-label {
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 12px;
}

.download-cards {
  max-width: 800px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.dl-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 32px;
  text-align: center;
}

.dl-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}

.dl-card-icon.android {
  background: linear-gradient(135deg, #3ddc84, #2da562);
  color: var(--white);
}

.dl-card-icon.ios {
  background: linear-gradient(135deg, #007aff, #5856d6);
  color: var(--white);
}

.dl-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-deep);
  margin: 0 0 8px;
}

.dl-card p {
  font-size: 13px;
  color: var(--gray-400);
  margin: 0 0 20px;
  line-height: 1.6;
}

.dl-btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.dl-btn.android-btn {
  background: linear-gradient(135deg, #3ddc84, #2da562);
}

.dl-btn.ios-btn {
  background: linear-gradient(135deg, #007aff, #5856d6);
}

.dl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.features-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.features-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-deep);
  text-align: center;
  margin-bottom: 32px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 24px 16px;
  text-align: center;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-warm), var(--orange-rich));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 20px;
}

.feature-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-deep);
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 12px;
  color: var(--gray-400);
}

/* Policy/Agreement Pages */
.policy-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.policy-card-header {
  padding: 32px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-bright));
  text-align: center;
}

.policy-card-header h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 8px;
}

.policy-card-header p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

.policy-card-body {
  padding: 32px;
}

.policy-card-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-deep);
  margin: 32px 0 16px;
}

.policy-card-body h2:first-child {
  margin-top: 0;
}

.policy-card-body p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
  margin: 0 0 12px;
}

.policy-card-body ul,
.policy-card-body ol {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
  margin: 0 0 16px;
  padding-left: 24px;
}

.policy-card-body li {
  margin-bottom: 8px;
}

.update-date {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  font-size: 13px;
  color: var(--gray-400);
  text-align: right;
}

/* Distribution Pages */
.dist-layout {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
}

.user-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 24px;
  margin-bottom: 24px;
}

.user-info-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.user-avatar-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.user-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-role-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.role-none { background: var(--gray-100); color: var(--gray-500); }
.role-distribution { background: #e8f5e9; color: #2e7d32; }
.role-expert { background: #fff3e0; color: #ef6c00; }

.user-phone {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 4px;
}

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

.balance-item {
  text-align: center;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
}

.balance-label {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.balance-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-deep);
}

.balance-value .unit {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray-400);
}

.action-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.action-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 24px;
}

.action-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.action-card-desc {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 20px;
}

.action-card-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-apply-dist {
  background: linear-gradient(135deg, var(--orange-warm), var(--orange-rich));
  color: var(--white);
}

.btn-apply-expert {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: var(--white);
}

.btn-disabled {
  background: var(--gray-300) !important;
  cursor: not-allowed;
}

.links-section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 24px;
}

.links-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 20px;
}

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

.link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition);
}

.link-item:hover {
  background: var(--primary-light);
}

.link-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--white);
}

.icon-fenxiao { background: linear-gradient(135deg, #4caf50, #2e7d32); }
.icon-tuiguang { background: linear-gradient(135deg, #2196f3, #1565c0); }
.icon-tixian { background: linear-gradient(135deg, var(--orange-warm), var(--orange-rich)); }

.link-item-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-deep);
}

.link-item-desc {
  font-size: 12px;
  color: var(--gray-400);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 20px;
  text-align: center;
}

.stat-label {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-deep);
}

.stat-value .unit {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-400);
}

/* Table Section */
.table-section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 24px;
}

.table-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

/* Promo Page */
.promo-banner {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 24px;
}

.promo-banner h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 12px;
}

.promo-banner h2 span {
  color: var(--orange-warm);
}

.promo-banner p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

.promo-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.qr-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 24px;
  text-align: center;
}

.qr-card-title,
.link-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-deep);
  margin-bottom: 16px;
}

.qr-code-box {
  display: inline-block;
  padding: 12px;
  background: var(--gray-50);
  border-radius: var(--radius);
}

.qr-code-box img {
  width: 180px;
  height: 180px;
  display: block;
}

.qr-card-tip {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 12px;
}

.link-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 24px;
}

.link-input-wrap {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.link-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--gray-600);
  background: var(--gray-50);
}

.copy-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--orange-warm), var(--orange-rich));
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.copy-btn:hover {
  transform: translateY(-1px);
}

.share-tips h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-deep);
  margin: 0 0 12px;
}

.share-tips ul {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.8;
  margin: 0;
  padding-left: 20px;
}

.share-tips strong {
  color: var(--orange-warm);
}

.team-section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 24px;
}

.team-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.team-table {
  width: 100%;
  border-collapse: collapse;
}

.team-table th,
.team-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}

.team-table th {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  background: var(--gray-50);
}

.team-table td {
  font-size: 14px;
  color: var(--gray-600);
}

@media (max-width: 768px) {
  .download-hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .download-cards,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .balance-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .action-section,
  .links-grid {
    grid-template-columns: 1fr;
  }

  .promo-content {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Publish Article Page (发布文章)
   ============================================================ */
.publish-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.publish-card-header {
  padding: 32px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  text-align: center;
}
.publish-card-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 8px;
}
.publish-card-header p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}
.publish-card-body {
  padding: 32px;
}
.publish-tab-bar {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.publish-tab-item {
  flex: 1;
  padding: 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  background: var(--white);
  text-decoration: none;
  transition: var(--transition);
}
.publish-tab-item:hover {
  background: var(--primary-light);
}
.publish-tab-item.active {
  background: linear-gradient(135deg, var(--orange-warm), var(--orange-rich));
  color: var(--white);
}
.publish-tip-box {
  background: #fff8e1;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
}
.publish-tip-item {
  font-size: 13px;
  color: #856404;
  line-height: 1.6;
  margin-bottom: 8px;
}
.publish-tip-item:last-child {
  margin-bottom: 0;
}
.form-row {
  margin-bottom: 20px;
}
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 8px;
}
.required {
  color: var(--red);
}
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--gray-600);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
}
.form-select:focus {
  outline: none;
  border-color: var(--orange-warm);
}
.form-input-with-count {
  position: relative;
}
.form-input-count {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--gray-400);
}
.form-input-with-count .form-input {
  padding-right: 60px;
}
.form-textarea {
  width: 100%;
  min-height: 300px;
  padding: 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--gray-600);
  resize: vertical;
  transition: var(--transition);
}
.form-textarea:focus {
  outline: none;
  border-color: var(--orange-warm);
}
.submit-row {
  text-align: center;
  margin-top: 32px;
}
.submit-btn {
  padding: 14px 48px;
  background: linear-gradient(135deg, var(--orange-warm), var(--orange-rich));
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 122, 85, 0.3);
}
.submit-btn:disabled {
  background: var(--gray-300);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ============================================================
   Apply Page (专家申请)
   ============================================================ */
.apply-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.apply-card-header {
  padding: 32px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  text-align: center;
}
.apply-card-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 8px;
}
.apply-card-header p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin: 0;
}
.apply-card-body {
  padding: 32px;
}
.apply-info {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}
.apply-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-deep);
  margin: 0 0 12px;
}
.apply-info ul {
  margin: 0;
  padding-left: 20px;
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.8;
}
.apply-info li {
  margin-bottom: 4px;
}
.apply-form-row {
  margin-bottom: 20px;
}
.apply-form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.apply-textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--gray-600);
  resize: vertical;
  transition: var(--transition);
}
.apply-textarea:focus {
  outline: none;
  border-color: var(--orange-warm);
}

/* ============================================================
   Collection Page (我的收藏)
   ============================================================ */
.sc-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.sc-stat-card {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}
.sc-stat-card:hover {
  transform: translateY(-2px);
}
.sc-stat-card.active {
  border-color: var(--orange-warm);
  box-shadow: 0 4px 20px rgba(244,122,85,0.2);
}
.sc-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  background: var(--gray-100);
  color: var(--gray-500);
  transition: var(--transition);
  flex-shrink: 0;
}
.sc-stat-icon.gold { color: var(--orange-rich); background: rgba(253,185,51,0.12); }
.sc-stat-icon.orange { color: var(--orange-warm); background: rgba(244,122,85,0.1); }
.sc-stat-icon.blue { color: var(--primary-deep); background: rgba(84,33,29,0.08); }
.sc-stat-card.active .sc-stat-icon {
  background: linear-gradient(135deg, var(--orange-warm), var(--orange-rich));
  color: var(--white);
}
.sc-stat-info { flex: 1; }
.sc-stat-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1.2;
}
.sc-stat-label {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 2px;
}
.sc-panel { display: none; }
.sc-panel.active { display: block; animation: fadeInUp 0.35s ease; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.sc-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.sc-article-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 20px;
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.sc-article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}
.sc-article-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-deep);
  margin-bottom: 12px;
  line-height: 1.4;
}
.sc-article-title a {
  color: inherit;
  text-decoration: none;
}
.sc-article-title a:hover {
  color: var(--orange-warm);
}
.sc-article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-400);
}
.sc-article-remove {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--red);
  background: transparent;
  border: 1px solid var(--red);
  cursor: pointer;
  transition: var(--transition);
}
.sc-article-remove:hover {
  background: var(--red);
  color: var(--white);
}
.sc-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-400);
}
.sc-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.sc-empty-text {
  font-size: 14px;
  margin-bottom: 20px;
}
.sc-empty-action {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--orange-warm), var(--orange-rich));
  color: var(--white);
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.sc-paid-row {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  margin-bottom: 12px;
  gap: 16px;
  transition: var(--transition);
}
.sc-paid-row:hover {
  transform: translateX(4px);
}
.sc-expert-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(244,122,85,0.4);
}
.sc-expert-avatar-fallback {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}
.sc-expert-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-deep);
}
.sc-paid-period {
  font-size: 13px;
  color: var(--gray-400);
}
.sc-paid-title {
  flex: 1;
  font-size: 14px;
  color: var(--gray-600);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sc-paid-rate {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
}
.sc-paid-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange-warm);
}
.sc-paid-view {
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-deep);
  background: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}
.sc-paid-view:hover {
  background: var(--primary-deep);
  color: var(--white);
}
.sc-paid-remove {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--orange-warm);
  background: transparent;
  border: 1px solid var(--orange-warm);
  cursor: pointer;
  transition: var(--transition);
}
.sc-paid-remove:hover {
  background: var(--orange-warm);
  color: var(--white);
}
.sc-expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.sc-expert-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}
.sc-expert-card:hover {
  transform: translateY(-3px);
}
.sc-expert-card-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(244,122,85,0.5);
  margin: 0 auto 12px;
}
.sc-expert-card-avatar-fallback {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 12px;
}
.sc-expert-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 12px;
}
.sc-expert-card-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}
.sc-expert-card-stat .val {
  font-size: 18px;
  font-weight: 800;
  color: var(--orange-warm);
}
.sc-expert-card-stat .lbl {
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 2px;
}
.sc-expert-card-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.sc-expert-card-actions .sc-paid-view,
.sc-expert-card-actions .sc-paid-remove { flex: 1; text-align: center; }
@media (max-width: 768px) {
  .sc-stats { flex-direction: column; gap: 10px; }
  .sc-paid-row { flex-wrap: wrap; padding: 14px 16px; gap: 10px; }
  .sc-paid-title { width: 100%; flex: none; order: 10; }
  .sc-expert-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Combo Pages (杀组合/断组合)
   ============================================================ */
.filter-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.filter-bar label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
}
.filter-select {
  padding: 10px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--gray-600);
  background: var(--white);
  cursor: pointer;
  min-width: 150px;
}
.filter-select:focus {
  outline: none;
  border-color: var(--orange-warm);
}
.combo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 40px;
}
.combo-section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.combo-title {
  padding: 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-deep);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 8px;
}
.combo-title::before {
  content: '';
  width: 4px;
  height: 16px;
  background: var(--orange-warm);
  border-radius: 2px;
}
.combo-table {
  width: 100%;
  border-collapse: collapse;
}
.combo-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}
.combo-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}
.combo-table tr:hover td {
  background: var(--gray-50);
}
.open-code-cell {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.code-ball {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-size: 12px;
  font-weight: 600;
}
.code-ball.red {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: var(--white);
}
.code-ball.gold {
  background: linear-gradient(135deg, var(--orange-warm), var(--orange-rich));
  color: var(--white);
}
.combo-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-400);
}
.combo-pagination {
  padding: 20px;
  text-align: center;
}

/* Apply Page Extended Styles */
.apply-username {
  margin-bottom: 24px;
}
.apply-username label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.username-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-deep);
}
.apply-upload-section {
  margin-bottom: 24px;
}
.apply-upload-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-deep);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.apply-upload-title-bar {
  width: 4px;
  height: 16px;
  background: var(--orange-warm);
  border-radius: 2px;
}
.apply-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.apply-upload-card {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.apply-upload-card:hover {
  border-color: var(--orange-warm);
  background: var(--primary-light);
}
.apply-upload-slot {
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
  background: var(--gray-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.apply-upload-plus {
  font-size: 32px;
  color: var(--gray-400);
}
.apply-upload-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.apply-upload-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-deep);
  margin-bottom: 4px;
}
.apply-upload-hint {
  font-size: 12px;
  color: var(--gray-400);
}
.apply-intro-section {
  margin-bottom: 24px;
}
.apply-intro-textarea {
  width: 100%;
  min-height: 120px;
  padding: 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--gray-600);
  resize: vertical;
  transition: var(--transition);
}
.apply-intro-textarea:focus {
  outline: none;
  border-color: var(--orange-warm);
}
.apply-intro-count {
  text-align: right;
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 8px;
}
.apply-btn-wrap {
  text-align: center;
}
.apply-btn {
  padding: 14px 48px;
  background: linear-gradient(135deg, var(--orange-warm), var(--orange-rich));
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 122, 85, 0.3);
}
.apply-btn:disabled {
  background: var(--gray-300);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
@media (max-width: 600px) {
  .apply-upload-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Back to Top Button (返回顶部)
   ============================================================ */
.gotop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-warm), var(--orange-rich));
  color: var(--white);
  border: none;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(244, 122, 85, 0.3);
  z-index: 999;
}

.gotop.is-visible {
  opacity: 1;
  visibility: visible;
}

.gotop:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(244, 122, 85, 0.4);
}

/* Page Main for policy pages */
.page-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
  min-height: calc(100vh - 400px);
}

/* Apply page redesign - distinct from the reference project */
.page-main:has(.apply-card) {
  max-width: 1120px;
  padding: 34px 24px 56px;
}

.apply-card {
  max-width: none;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  border-radius: 8px;
  border: 1px solid rgba(226, 220, 210, 0.92);
  background: var(--white);
  box-shadow: 0 18px 46px rgba(84, 33, 29, 0.08);
  overflow: hidden;
}

.apply-card-header {
  position: relative;
  padding: 32px 28px;
  background: var(--primary-deep);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.apply-card-header::after {
  content: "";
  width: 78px;
  height: 4px;
  margin-top: 22px;
  border-radius: 999px;
  background: var(--orange-warm);
}

.apply-card-header h2 {
  max-width: 220px;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 900;
  margin: 0 0 12px;
}

.apply-card-header p {
  max-width: 230px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.apply-card-body {
  padding: 30px;
}

.apply-info {
  margin-bottom: 22px;
  padding: 18px 20px;
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, var(--gray-50));
}

.apply-info h4 {
  font-size: 16px;
  font-weight: 900;
}

.apply-info ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  padding-left: 18px;
}

.apply-info li {
  margin: 0;
}

.apply-username {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--orange-light);
}

.apply-username label {
  margin: 0;
  color: var(--gray-500);
  font-weight: 800;
}

.username-value {
  color: var(--primary-deep);
  font-size: 18px;
  font-weight: 900;
}

.apply-upload-section,
.apply-intro-section {
  margin-bottom: 22px;
}

.apply-upload-title {
  margin-bottom: 12px;
  color: var(--gray-700);
  font-size: 16px;
  font-weight: 900;
}

.apply-upload-title-bar {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-rich);
}

.apply-upload-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.apply-upload-card {
  padding: 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: #fff;
  text-align: left;
}

.apply-upload-card:hover {
  border-color: var(--orange-warm);
  background: #fff;
  box-shadow: 0 10px 24px rgba(84, 33, 29, 0.08);
  transform: translateY(-2px);
}

.apply-upload-slot {
  width: 100%;
  height: 118px;
  margin: 0 0 12px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--gray-50), var(--orange-light));
}

.apply-upload-plus {
  color: var(--orange-rich);
  font-size: 34px;
  font-weight: 400;
}

.apply-upload-preview {
  border-radius: 7px;
}

.apply-upload-label {
  color: var(--primary-deep);
  font-size: 14px;
  font-weight: 900;
}

.apply-upload-hint {
  color: var(--gray-400);
}

.apply-intro-textarea {
  min-height: 150px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  line-height: 1.7;
}

.apply-intro-textarea:focus {
  background: #fff;
  border-color: var(--orange-warm);
  box-shadow: 0 0 0 3px rgba(244, 122, 85, 0.12);
}

.apply-btn-wrap {
  display: flex;
  justify-content: flex-end;
}

.apply-btn {
  min-width: 180px;
  height: 44px;
  padding: 0 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary-deep), var(--orange-rich));
  font-weight: 900;
}

.apply-btn:hover {
  box-shadow: 0 10px 24px rgba(84, 33, 29, 0.18);
}

@media (max-width: 860px) {
  .apply-card {
    grid-template-columns: 1fr;
  }

  .apply-card-header h2,
  .apply-card-header p {
    max-width: none;
  }

  .apply-info ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-main:has(.apply-card) {
    padding: 16px 10px 36px;
  }

  .apply-card-body,
  .apply-card-header {
    padding: 22px 18px;
  }

  .apply-upload-grid {
    grid-template-columns: 1fr;
  }

  .apply-username,
  .apply-btn-wrap {
    align-items: stretch;
    flex-direction: column;
  }

  .apply-btn {
    width: 100%;
  }
}

/* Publish free article redesign - keep functionality, avoid reference look */
.page-main:has(.publish-card) {
  max-width: 1180px;
  padding: 34px 24px 56px;
}

.publish-card {
  max-width: none;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  border-radius: 8px;
  border: 1px solid rgba(226, 220, 210, 0.9);
  background: #fff;
  box-shadow: 0 18px 46px rgba(84, 33, 29, 0.08);
  overflow: hidden;
}

.publish-card-header {
  padding: 32px 28px;
  background: var(--gray-800);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.publish-card-header::after {
  content: "";
  width: 76px;
  height: 4px;
  margin-top: 22px;
  border-radius: 999px;
  background: var(--orange-warm);
}

.publish-card-header h2 {
  max-width: 180px;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 900;
  color: #fff;
}

.publish-card-header p {
  max-width: 220px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.publish-card-body {
  padding: 30px;
}

.publish-tab-bar {
  display: inline-flex;
  width: auto;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--gray-50);
  overflow: visible;
}

.publish-tab-item {
  flex: none;
  min-width: 132px;
  padding: 10px 16px;
  border-radius: 6px;
  background: transparent;
  color: var(--gray-600);
  font-weight: 800;
}

.publish-tab-item:hover {
  background: #fff;
  color: var(--orange-rich);
}

.publish-tab-item.active {
  background: var(--primary-deep);
  color: #fff;
}

.publish-tip-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
  padding: 0;
  background: transparent;
}

.publish-tip-item {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--orange-pale);
  border-left: 4px solid var(--orange-warm);
  border-radius: 8px;
  background: var(--orange-light);
  color: var(--gray-600);
  line-height: 1.7;
}

.publish-card .form-row {
  margin-bottom: 18px;
}

.publish-card .form-row label {
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 900;
}

.publish-card .form-select,
.publish-card .form-input {
  height: 42px;
  border-radius: 7px;
  border-color: var(--gray-200);
  background: #fff;
}

.publish-card .form-input:focus,
.publish-card .form-select:focus,
.publish-card .form-textarea:focus {
  outline: none;
  border-color: var(--orange-warm);
  box-shadow: 0 0 0 3px rgba(244, 122, 85, 0.12);
}

.publish-card .form-input-count {
  height: 22px;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-500);
}

.publish-card .ke-container {
  border-radius: 8px;
  overflow: hidden;
  border-color: var(--gray-200) !important;
}

.publish-card .ke-toolbar {
  background: var(--gray-50);
  border-bottom-color: var(--gray-200);
}

.publish-card .submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.publish-card .submit-btn {
  min-width: 168px;
  height: 44px;
  padding: 0 26px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary-deep), var(--orange-rich));
  font-weight: 900;
}

.publish-card .submit-btn:hover {
  box-shadow: 0 10px 24px rgba(84, 33, 29, 0.18);
}

@media (max-width: 900px) {
  .publish-card {
    grid-template-columns: 1fr;
  }

  .publish-card-header h2,
  .publish-card-header p {
    max-width: none;
  }

  .publish-tip-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-main:has(.publish-card) {
    padding: 16px 10px 36px;
  }

  .publish-card-header,
  .publish-card-body {
    padding: 22px 18px;
  }

  .publish-tab-bar {
    display: flex;
    width: 100%;
  }

  .publish-tab-item {
    flex: 1;
    min-width: 0;
  }

  .publish-card .submit-row {
    justify-content: stretch;
  }

  .publish-card .submit-btn {
    width: 100%;
  }
}

/* Paid prediction publish page */
.paid-publish-card .publish-card-header {
  background: linear-gradient(160deg, var(--gray-800), var(--primary-deep));
}

.paid-publish-card .publish-card-header::after {
  background: var(--nav-accent);
}

.paid-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
}

.paid-pool-section {
  margin: 8px 0 20px;
  padding: 18px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, var(--gray-50));
}

.paid-pool-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
}

.paid-pool-head h3 {
  margin: 0;
  color: var(--gray-800);
  font-size: 18px;
  font-weight: 900;
}

.paid-pool-head p {
  margin: 0;
  color: var(--gray-500);
  font-size: 12px;
}

.paid-pool-group {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  padding-top: 16px;
}

.paid-pool-label {
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(220, 58, 58, 0.1);
  color: #d73636;
  font-size: 13px;
  font-weight: 900;
}

.paid-pool-label.blue {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.paid-pool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(36px, 1fr));
  gap: 10px;
}

.paid-pool-ball {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  background: #fff;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: var(--transition);
}

.paid-pool-ball:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(84, 33, 29, 0.12);
}

.paid-pool-ball.red.selected {
  border-color: #d73636;
  background: #d73636;
  color: #fff;
}

.paid-pool-ball.blue.selected {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.paid-selected-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 18px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px dashed var(--gray-200);
}

.paid-selected-row > span {
  flex: 0 0 auto;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 900;
  line-height: 28px;
}

.paid-selected-numbers {
  min-height: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--gray-400);
  font-size: 13px;
}

.paid-selected-num {
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
}

.paid-selected-num.red {
  background: #d73636;
}

.paid-selected-num.blue {
  background: #2563eb;
}

.paid-selected-sep {
  color: var(--gray-500);
  font-weight: 900;
}

.paid-price-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.paid-readonly-value {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--gray-200);
  border-radius: 7px;
  background: var(--gray-50);
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 800;
}

.paid-readonly-value.price {
  min-width: 180px;
  justify-content: flex-start;
}

.paid-price-control .form-input {
  max-width: 180px;
}

.paid-price-control span {
  color: var(--gray-600);
  font-weight: 800;
}

.paid-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 760px) {
  .paid-form-grid,
  .paid-pool-group {
    grid-template-columns: 1fr;
  }

  .paid-pool-head {
    display: block;
  }

  .paid-pool-head p {
    margin-top: 6px;
  }

  .paid-pool-label {
    width: 54px;
  }
}

/* Promotion page visual refresh */
.promo-page {
  max-width: 1180px;
  padding: 32px 24px 56px;
}

.promo-page .dist-layout {
  display: block;
}

.promo-page .breadcrumb {
  margin-bottom: 18px;
}

.promo-page .promo-banner {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 42px 44px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(84, 33, 29, 0.96), rgba(180, 83, 75, 0.9)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
  box-shadow: 0 18px 40px rgba(84, 33, 29, 0.18);
}

.promo-page .promo-banner::after {
  content: "";
  position: absolute;
  right: 44px;
  top: 34px;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  box-shadow: inset 0 0 0 18px rgba(255, 255, 255, 0.06);
}

.promo-page .promo-banner h2 {
  max-width: 540px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

.promo-page .promo-banner h2 span {
  color: #ffd9a4;
}

.promo-page .promo-banner p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.8;
}

.promo-page .promo-stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.promo-page .stat-card {
  position: relative;
  overflow: hidden;
  min-height: 116px;
  padding: 22px 24px;
  border: 1px solid rgba(226, 220, 210, 0.95);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(84, 33, 29, 0.07);
}

.promo-page .stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--orange-warm), var(--orange-rich));
}

.promo-page .stat-label {
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 900;
}

.promo-page .stat-value {
  margin-top: 10px;
  color: var(--primary-deep);
  font-size: 32px;
  font-weight: 900;
}

.promo-page .stat-value .unit {
  margin-left: 4px;
  color: var(--gray-500);
  font-size: 14px;
}

.promo-page .promo-content {
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
}

.promo-page .qr-card,
.promo-page .link-card,
.promo-page .team-section {
  border: 1px solid rgba(226, 220, 210, 0.95);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(84, 33, 29, 0.07);
}

.promo-page .qr-card,
.promo-page .link-card {
  padding: 26px;
}

.promo-page .qr-card-title,
.promo-page .link-card-title,
.promo-page .team-section-title {
  color: var(--gray-800);
  font-size: 17px;
  font-weight: 900;
}

.promo-page .qr-code-box {
  position: relative;
  width: 214px;
  height: 214px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 1px dashed var(--orange-pale);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, var(--gray-50));
}

.promo-page .qr-code-box img {
  position: relative;
  z-index: 2;
  width: 188px;
  height: 188px;
  border-radius: 6px;
  background: #fff;
}

.promo-page .qr-loading-text {
  position: absolute;
  z-index: 1;
  color: var(--gray-400);
  font-size: 13px;
  font-weight: 800;
}

.promo-page .qr-code-box img[src]:not([src=""]) + .qr-loading-text {
  display: none;
}

.promo-page .qr-card-tip {
  color: var(--gray-500);
  font-weight: 700;
}

.promo-page .link-input-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 20px;
}

.promo-page .link-input {
  min-width: 0;
  height: 46px;
  border-radius: 7px;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  color: var(--gray-700);
  font-weight: 700;
}

.promo-page .copy-btn {
  height: 46px;
  padding: 0 24px;
  border-radius: 7px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(180, 83, 75, 0.16);
}

.promo-page .share-tips {
  padding: 18px 20px;
  border-radius: 8px;
  background: var(--orange-light);
  border: 1px solid var(--orange-pale);
}

.promo-page .share-tips h4 {
  font-weight: 900;
}

.promo-page .share-tips ul {
  padding-left: 18px;
  color: var(--gray-600);
}

.promo-page .team-section {
  padding: 26px;
}

.promo-page .team-section-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-warm);
}

.promo-page .team-table {
  overflow: hidden;
  border-radius: 8px;
}

.promo-page .team-table th {
  background: var(--gray-50);
  color: var(--gray-600);
  font-weight: 900;
}

.promo-page .team-table td {
  color: var(--gray-700);
}

.promo-page .team-table tr:hover td {
  background: var(--orange-light);
}

.promo-page .pagination,
.promo-page .layui-laypage {
  margin-top: 20px;
  text-align: center;
}

@media (max-width: 820px) {
  .promo-page {
    padding: 18px 12px 40px;
  }

  .promo-page .promo-banner {
    padding: 30px 24px;
  }

  .promo-page .promo-banner::after {
    display: none;
  }

  .promo-page .promo-stats-grid,
  .promo-page .promo-content {
    grid-template-columns: 1fr;
  }

  .promo-page .link-input-wrap {
    grid-template-columns: 1fr;
  }

  .promo-page .copy-btn {
    width: 100%;
  }
}

/* 3Dyjs paid publish selector skin */
.paidPublishForm.mianfeiThree {
  display: grid;
  gap: 18px;
}
.mianfeiThreeSelect .layui-form-select,
.mianfeiThreeSelect .layui-unselect {
  width: 100%;
}
.mianfeiThreeText {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.05), #fff);
}
.step-content,
.number-pool,
.mianfeiThreeTextRedballBox {
  display: grid;
  gap: 12px;
}
.RedballText {
  color: #172554;
  font-size: 15px;
  font-weight: 900;
}
.RedballBox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.Redball,
.Blueball,
.blue,
.ball {
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 999px;
  background: #fff;
  color: #dc2626;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .16s, box-shadow .16s, background .16s, color .16s;
}
.Blueball,
.blue {
  border-color: rgba(37, 99, 235, 0.25);
  color: #2563eb;
}
.Redball:hover,
.Blueball:hover,
.blue:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}
.Redball.selected,
.ball.selected {
  border-color: transparent;
  background: linear-gradient(135deg, #fb7185, #dc2626);
  color: #fff;
}
.Blueball.BlueSelected,
.BlueSelected {
  border-color: transparent;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  color: #fff;
}
.mianfeiThreeTextSelectBox,
.mianfeiThreeTextISSUEBox {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.mianfeiThreeTextSelectBoxTop,
.mianfeiThreeTextSelectBoxBom,
.mianfeiThreeTextISSUEBox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.mianfeiThreeTextSelectBoxTop {
  padding: 10px 14px;
  background: rgba(37, 99, 235, 0.08);
  color: #172554;
  font-weight: 900;
}
.mianfeiThreeTextSelectBoxBom {
  padding: 12px 14px;
}
.mianfeiThreeTextSelectBoxBomLeft,
#jieguo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}
.mianfeiThreeTextISSUEBox {
  justify-content: flex-start;
  padding: 12px 14px;
  color: #172554;
  font-weight: 900;
}
.mianfeiThreeTextISSUEBox strong {
  color: #2563eb;
}
.mianfeiThreeButBox {
  display: flex;
  justify-content: center;
}
.mianfeiThreeBut {
  min-width: 220px;
}
.FormBox {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
@media (max-width: 760px) {
  .mianfeiThreeBut { width: 100%; }
  .mianfeiThreeText { padding: 14px; }
}
