:root {
  --primary: #F57C00;
  --primary-light: #FFB74D;
  --primary-dark: #E65100;
  --accent: #7C4DFF;
  --accent-light: #B388FF;
  --dark: #1a1a2e;
  --darker: #0f0f1e;
  --text: #333;
  --text-light: #666;
  --text-lighter: #999;
  --bg: #fff;
  --bg-light: #f8f9fa;
  --bg-warm: #fff8f0;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
  background: var(--bg);
}

/* ========== Navigation ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 24px;
  color: #fff;
  transition: var(--transition);
}

.navbar.scrolled .logo {
  color: var(--primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
  position: relative;
}

.navbar.scrolled .nav-links a {
  color: var(--text);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 24px !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  border-radius: 24px;
  font-size: 14px !important;
}

.nav-cta::after {
  display: none !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.navbar.scrolled .mobile-toggle {
  color: var(--text);
}

/* ========== Container ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #1a0533 0%, #2d1b69 30%, #4a1a8a 60%, #7b2fbe 100%);
  overflow: hidden;
  padding: 100px 0 40px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(245,124,0,0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,77,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-40px) rotate(5deg); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: rise linear infinite;
}

@keyframes rise {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 52px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text h1 span {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 32px rgba(245,124,0,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(245,124,0,0.45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(245,124,0,0.1);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic {
  width: 420px;
  height: 420px;
  position: relative;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.1);
  animation: spin 20s linear infinite;
}

.hero-circle:nth-child(1) {
  inset: 0;
}

.hero-circle:nth-child(2) {
  inset: 40px;
  animation-duration: 15s;
  animation-direction: reverse;
  border-color: rgba(245,124,0,0.2);
}

.hero-circle:nth-child(3) {
  inset: 80px;
  animation-duration: 10s;
  border-color: rgba(124,77,255,0.2);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-circle-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(245,124,0,0.5);
}

.hero-circle:nth-child(1) .hero-circle-dot { top: -6px; left: 50%; }
.hero-circle:nth-child(2) .hero-circle-dot { bottom: -6px; right: 20%; }
.hero-circle:nth-child(3) .hero-circle-dot { top: 20%; left: -6px; }

.hero-center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #fff;
  box-shadow: 0 20px 60px rgba(245,124,0,0.3);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.05); }
}

.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: 48px;
}

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

.stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
}

.stat-number {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1.2;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ========== Section Common ========== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 20px;
  background: linear-gradient(135deg, rgba(245,124,0,0.1), rgba(124,77,255,0.1));
  color: var(--primary);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: 40px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-title span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 17px;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
}

/* ========== Application Scenarios ========== */
.scenarios {
  background: var(--bg-light);
}

.project-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.project-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-card-header {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-card:nth-child(1) .project-card-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.project-card:nth-child(2) .project-card-header {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.project-card-header-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.project-card-header-icon {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 12px;
  backdrop-filter: blur(10px);
}

.project-card-header h3 {
  font-size: 24px;
  font-weight: 700;
}

.project-card-header .download-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 16px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.project-card-header .download-tag:hover {
  background: rgba(255,255,255,0.35);
}

.project-card-body {
  padding: 28px;
}

.project-card-body p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.9;
}

.project-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.feature-tag {
  padding: 4px 12px;
  background: var(--bg-warm);
  color: var(--primary);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

.quote-mark {
  position: absolute;
  font-size: 120px;
  font-family: Georgia, serif;
  color: rgba(245,124,0,0.08);
  line-height: 1;
  pointer-events: none;
}

.quote-mark.top { top: 10px; left: 20px; }
.quote-mark.bottom { bottom: -20px; right: 20px; }

/* ========== Features Section ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 40px 32px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #f0f0f0;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-card:nth-child(1) .feature-icon { background: #fff3e0; color: #e65100; }
.feature-card:nth-child(2) .feature-icon { background: #e8eaf6; color: #283593; }
.feature-card:nth-child(3) .feature-icon { background: #e8f5e9; color: #2e7d32; }
.feature-card:nth-child(4) .feature-icon { background: #fce4ec; color: #c62828; }
.feature-card:nth-child(5) .feature-icon { background: #e0f7fa; color: #00695c; }
.feature-card:nth-child(6) .feature-icon { background: #f3e5f5; color: #6a1b9a; }

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== Ecosystem Section ========== */
.ecosystem {
  background: linear-gradient(135deg, var(--darker) 0%, #1a1a3e 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ecosystem::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.ecosystem .section-title {
  color: #fff;
}

.ecosystem .section-desc {
  color: rgba(255,255,255,0.6);
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.eco-card {
  padding: 36px 24px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.eco-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  border-color: rgba(245,124,0,0.3);
}

.eco-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.eco-card:nth-child(1) .eco-icon { background: linear-gradient(135deg, #f57c00, #ff9800); }
.eco-card:nth-child(2) .eco-icon { background: linear-gradient(135deg, #e91e63, #f44336); }
.eco-card:nth-child(3) .eco-icon { background: linear-gradient(135deg, #2196f3, #03a9f4); }
.eco-card:nth-child(4) .eco-icon { background: linear-gradient(135deg, #4caf50, #8bc34a); }

.eco-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.eco-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ========== Charity Fund Section ========== */
/* Charity Fund - desktop layout */
.charity-fund {
  background: var(--bg-warm);
  padding-top: 84px;
  padding-bottom: 84px;
}

.charity-fund-shell {
  background: #fff7ef;
  border-radius: 36px;
  padding: 56px 64px 48px;
  box-shadow: 0 18px 46px rgba(231, 138, 48, 0.12);
}

.charity-fund-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 44px;
}

.charity-fund-content h2 {
  font-size: 44px;
  font-weight: 900;
  color: #171717;
  line-height: 1.25;
  margin-bottom: 16px;
}

.charity-fund-content h2 span {
  color: var(--primary);
}

.charity-fund-tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  background: rgba(245, 124, 0, 0.12);
  margin-bottom: 16px;
}

.charity-fund-content p {
  color: #6b6b6b;
  font-size: 15px;
  line-height: 1.85;
  max-width: 680px;
}

.charity-fund-actions {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px 18px;
  max-width: 480px;
}

.charity-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #f78e18, #e76d00);
  box-shadow: 0 8px 18px rgba(245, 124, 0, 0.28);
  transition: var(--transition);
}

.charity-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(245, 124, 0, 0.34);
}

/* 「我的凭证」：默认不占布局；JS 在审核通过且拿到 voucherUrl 后再展示（移动端与同区按钮同宽） */
.charity-action-btn--my-voucher[hidden] {
  display: none !important;
}

.charity-fund-visual {
  display: flex;
  justify-content: center;
}

.charity-fund-visual img {
  width: min(100%, 480px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(245, 124, 0, 0.2));
}

.charity-fund-requirements {
  margin-top: 42px;
}

.charity-fund-requirements h3 {
  font-size: 34px;
  color: #222;
  margin-bottom: 22px;
  font-weight: 800;
  padding-left: 14px;
  position: relative;
}

.charity-fund-requirements h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(180deg, #f8a03c, #e76d00);
}

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

.charity-requirement-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(231, 109, 0, 0.08);
  box-shadow: 0 7px 24px rgba(245, 124, 0, 0.08);
}

.charity-requirement-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px dashed rgba(231, 109, 0, 0.35);
  color: #e76d00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.charity-requirement-card h4 {
  font-size: 18px;
  color: #222;
  margin-bottom: 4px;
  line-height: 1.4;
}

.charity-requirement-card p {
  font-size: 14px;
  color: #777;
  line-height: 1.7;
}

/* ========== 首页：原宇宙新闻动态（横向轮播，设计基准约 1920 宽屏，小屏单卡滑动） ========== */
.meta-news {
  padding-top: 72px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, #fff 0%, #fafafa 40%, #fff 100%);
}

.container.meta-news-inner {
  max-width: min(1320px, 100%);
}

.meta-news-intro {
  text-align: center;
  margin-bottom: 40px;
}

.meta-news-heading {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 900;
  color: #171717;
  letter-spacing: 0.02em;
  margin: 0;
}

.meta-news-shell {
  position: relative;
  padding: 0 52px;
}

.meta-news-viewport {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 4%,
    #000 96%,
    transparent 100%
  );
}

.meta-news-viewport::-webkit-scrollbar {
  display: none;
}

.meta-news-viewport:focus {
  outline: 2px solid rgba(245, 124, 0, 0.35);
  outline-offset: 4px;
}

.meta-news-track {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 8px 4px 20px;
}

.meta-news-card {
  flex: 0 0 auto;
  width: 260px;
  scroll-snap-align: start;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: var(--transition);
}

.meta-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(245, 124, 0, 0.12);
  border-color: rgba(245, 124, 0, 0.2);
}

.meta-news-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.meta-news-card-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #eceff1, #cfd8dc);
}

.meta-news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.meta-news-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: rgba(0, 0, 0, 0.18);
}

.meta-news-card-date {
  display: block;
  padding: 12px 16px 4px;
  font-size: 13px;
  color: var(--text-lighter);
}

.meta-news-card-title {
  padding: 0 16px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta-news-card-summary {
  padding: 8px 16px 18px;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta-news-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
}

.meta-news-arrow:hover:not(:disabled) {
  color: var(--primary);
  box-shadow: 0 8px 26px rgba(245, 124, 0, 0.22);
}

.meta-news-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.meta-news-arrow--prev {
  left: 0;
}

.meta-news-arrow--next {
  right: 0;
}

.meta-news-progress-wrap {
  max-width: 320px;
  margin: 8px auto 0;
}

.meta-news-progress-bar {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: #e6e6e6;
  overflow: hidden;
}

.meta-news-progress-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  min-width: 12%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffb74d, var(--primary));
  transition: width 0.12s ease, left 0.12s ease;
}

.meta-news-empty {
  text-align: center;
  color: var(--text-light);
  padding: 32px 16px;
  font-size: 15px;
}

@media (min-width: 1600px) {
  .meta-news-card {
    width: 280px;
  }
}

/* ========== Advantages Section ========== */
.advantages {
  background: var(--bg-warm);
}

.adv-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.adv-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transform: translateX(-50%);
  border-radius: 2px;
}

.adv-item {
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  position: relative;
}

.adv-item:nth-child(even) {
  flex-direction: row-reverse;
}

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

.adv-content {
  width: calc(50% - 40px);
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.adv-content:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.adv-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 0 4px rgba(245,124,0,0.2);
  z-index: 1;
}

.adv-number {
  font-size: 48px;
  font-weight: 900;
  color: rgba(245,124,0,0.1);
  line-height: 1;
  margin-bottom: 8px;
}

.adv-content h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.adv-content p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== CTA Section ========== */
.cta-section {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #b71c1c 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-white {
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* ========== Footer ========== */
.footer {
  background: var(--darker);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
}

.footer-col h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

/* ========== Scroll to top ========== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  border: none;
  box-shadow: 0 8px 24px rgba(245,124,0,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
}

/* ========== Animations ========== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Help Form Page ========== */
/* 帮扶申请页采用浅灰背景，突出中间卡片内容。 */
.help-form-page {
  min-height: 100vh;
  background: #f3f4f8;
  color: #252525;
}

.help-form-main {
  padding: 72px 0 88px;
}

/* 与固定顶栏配合：避免正文被遮挡（与 news-detail-main 顶距一致） */
.help-form-page.page-shell .help-form-main {
  flex: 1;
  padding-top: max(100px, calc(72px + env(safe-area-inset-top, 0px)));
}

.help-form-section {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 24px;
}

.help-form-title {
  text-align: center;
  font-size: 44px;
  line-height: 1.3;
  font-weight: 800;
  color: #222;
  margin-bottom: 44px;
}

.help-block {
  background: #fff;
  border-radius: 18px;
  padding: 30px 28px 26px;
  box-shadow: 0 8px 30px rgba(17, 35, 61, 0.06);
  margin-bottom: 22px;
}

.help-block-title {
  position: relative;
  padding-left: 14px;
  font-size: 24px;
  line-height: 1.4;
  color: #232323;
  margin-bottom: 24px;
  font-weight: 700;
}

.help-block-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 26px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff9a2f, #f57c00);
}

.help-grid {
  display: grid;
  gap: 18px 16px;
}

.help-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.help-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.help-field {
  min-width: 0;
}

.help-field-full {
  grid-column: 1 / -1;
}

.help-field > label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 15px;
  color: #222;
  font-weight: 500;
}

.required-star {
  color: #f05e52;
  margin-right: 2px;
}

.help-input,
.help-select,
.help-textarea,
.help-upload-input {
  width: 100%;
  border: 1px solid #e1e4ef;
  border-radius: 8px;
  background: #f8f9ff;
  color: #333;
  font-size: 14px;
  transition: var(--transition);
}

.help-input,
.help-select,
.help-upload-input {
  height: 44px;
  padding: 0 12px;
}

.help-textarea {
  min-height: 118px;
  resize: vertical;
  padding: 11px 12px;
  line-height: 1.7;
}

.help-input:focus,
.help-select:focus,
.help-textarea:focus,
.help-upload-input:focus {
  outline: none;
  border-color: rgba(245, 124, 0, 0.7);
  box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.12);
}

.help-select:disabled {
  background: #f0f1f7;
  color: #999;
  cursor: not-allowed;
}

.help-input.help-input-readonly,
.help-input[readonly] {
  background: #f0f1f7;
  color: #555;
  cursor: default;
}

.help-counter {
  margin-top: 6px;
  text-align: right;
  font-size: 12px;
  color: #8f8f8f;
}

.help-upload-tip {
  margin-top: 7px;
  font-size: 12px;
  color: #8f8f8f;
}

/* 表单上传说明：多行提示，移动端可读性更好 */
.help-upload-tip.help-upload-tip--stack {
  line-height: 1.55;
  max-width: 100%;
}

.help-upload-list {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.help-upload-item {
  width: 98px;
}

.help-upload-thumb-wrap {
  position: relative;
  width: 98px;
  height: 72px;
}

.help-upload-thumb {
  width: 98px;
  height: 72px;
  border-radius: 8px;
  border: 1px solid #e6e8f0;
  background: #f8f9ff;
  object-fit: cover;
  display: block;
}

.help-upload-del {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s;
}

.help-upload-item:hover .help-upload-del,
.help-upload-del:focus-visible {
  opacity: 1;
}

@media (hover: none) {
  .help-upload-del {
    opacity: 1;
  }
}

.help-upload-name {
  margin-top: 5px;
  font-size: 12px;
  color: #6f6f6f;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.help-error {
  min-height: 20px;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
  color: #e54848;
}

.help-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.help-actions .btn {
  min-width: 200px;
  min-height: 48px;
}

.status-card {
  margin-top: 16px;
  border-radius: 10px;
  padding: 12px 14px;
  text-align: center;
  font-size: 14px;
  background: #fff;
  color: #666;
  border: 1px solid #e8e9f1;
}

.status-card.success {
  color: #18794e;
  border-color: rgba(24, 121, 78, 0.24);
  background: rgba(24, 121, 78, 0.08);
}

.status-card.error {
  color: #bf3030;
  border-color: rgba(191, 48, 48, 0.24);
  background: rgba(191, 48, 48, 0.08);
}

.field-label {
  font-size: 16px;
  font-weight: 600;
  color: #303030;
}

.field-hint {
  margin-top: 6px;
  color: #7d7d7d;
  font-size: 13px;
}

.btn-light {
  color: var(--primary-dark);
  border-color: rgba(245, 124, 0, 0.35);
  background: #fff;
}

.btn-light:hover {
  background: #fff7ef;
  border-color: rgba(245, 124, 0, 0.55);
}

/* ========== 内页壳层（登录 / 新闻列表等共用 page-shell）========== */
.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 登录页：沿用首页 Hero 紫橙渐变，正文落在浅色卡片上保证可读性 */
.page-shell--login {
  position: relative;
  background: linear-gradient(135deg, #1a0533 0%, #2d1b69 30%, #4a1a8a 60%, #7b2fbe 100%);
  overflow-x: hidden;
}

.page-shell--login::before {
  content: "";
  position: fixed;
  pointer-events: none;
  top: -40%;
  right: -25%;
  width: min(90vw, 720px);
  height: min(90vw, 720px);
  background: radial-gradient(circle, rgba(245, 124, 0, 0.22) 0%, transparent 68%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite;
  z-index: 0;
}

.page-shell--login::after {
  content: "";
  position: fixed;
  pointer-events: none;
  bottom: -35%;
  left: -18%;
  width: min(85vw, 560px);
  height: min(85vw, 560px);
  background: radial-gradient(circle, rgba(124, 77, 255, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 12s ease-in-out infinite reverse;
  z-index: 0;
}

/* 固定顶栏：与首页滚动后的导航栏同为浅色玻璃质感 */
.page-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 0;
  padding-top: max(12px, env(safe-area-inset-top, 0px));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.page-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.page-topbar .logo {
  color: var(--dark);
  font-size: clamp(18px, 3.5vw, 22px);
}

.page-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* 顶栏上的描边按钮：深色文字 + 浅边框，避免沿用 Hero 上的白色描边样式 */
.page-topbar .btn-outline {
  color: var(--text);
  border: 2px solid rgba(26, 26, 46, 0.14);
  background: rgba(255, 255, 255, 0.8);
}

.page-topbar .btn-outline:hover {
  color: var(--primary-dark);
  border-color: rgba(245, 124, 0, 0.45);
  background: #fff8ef;
}

.page-main {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 100px 0 48px;
  padding-top: max(100px, calc(72px + env(safe-area-inset-top, 0px)));
}

/* ========== 资讯详情页正文（居中窄栏：标题 / 日期 / 正文）========== */
.news-detail-main {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 100px 0 56px;
  padding-top: max(100px, calc(72px + env(safe-area-inset-top, 0px)));
  padding-bottom: max(56px, env(safe-area-inset-bottom, 0px));
  background: #fff;
}

.news-detail-container {
  max-width: min(1120px, 100%);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

.news-detail-root {
  min-height: 120px;
}

/* 文章外壳：白底、无重卡片投影，与设计稿扁平正文区一致 */
.news-detail-article {
  background: #fff;
}

/* 标题：大号粗体黑字、左对齐，长标题自动换行 */
.news-detail-title {
  margin: 0 0 16px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: #111;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

/* 发布时间：较小字号灰色 */
.news-detail-meta {
  font-size: 14px;
  line-height: 1.5;
  color: #999;
  margin-bottom: 36px;
}

.news-detail-meta time {
  font-variant-numeric: tabular-nums;
}

/* 正文：段落与内嵌图（接口 HTML）；封面图不在此展示 */
.news-detail-body {
  font-size: 17px;
  line-height: 1.75;
  color: #333;
  word-break: break-word;
}

.news-detail-body > *:first-child {
  margin-top: 0;
}

.news-detail-body p {
  margin: 0 0 1.15em;
}

.news-detail-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.25em 0;
  border-radius: 8px;
}

.news-detail-body h2,
.news-detail-body h3 {
  margin: 1.35em 0 0.65em;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
}

.news-detail-body ul,
.news-detail-body ol {
  margin: 0 0 1em;
  padding-left: 1.35em;
}

.news-detail-body a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-detail-body-empty {
  margin: 0;
  color: #999;
  font-size: 15px;
}

@media (max-width: 768px) {
  .news-detail-main {
    padding-top: max(88px, calc(60px + env(safe-area-inset-top, 0px)));
    padding-bottom: 40px;
  }

  .news-detail-container {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  .news-detail-meta {
    margin-bottom: 28px;
    font-size: 13px;
  }

  .news-detail-body {
    font-size: 16px;
    line-height: 1.8;
  }
}

.margin-bottom-md {
  margin-bottom: 24px;
}

.margin-top-lg {
  margin-top: 48px;
}

/* 登录主区域：顶栏留白 + 内容相对定位以叠在渐变之上 */
.page-login-main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 28px 0 40px;
  padding-top: max(28px, calc(76px + env(safe-area-inset-top, 0px)));
  padding-bottom: max(40px, env(safe-area-inset-bottom, 0px));
}

.page-login-inner {
  width: 100%;
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .page-login-inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  }
}

/* 左侧文案区：仅在大屏展示，避免小屏信息过载 */
.login-aside {
  color: rgba(255, 255, 255, 0.92);
  padding-right: clamp(0px, 3vw, 24px);
}

@media (max-width: 991px) {
  .login-aside {
    display: none;
  }
}

.login-aside-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
}

.login-aside-title {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #fff;
}

.login-aside-title span {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-aside-desc {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  max-width: 420px;
  margin-bottom: 24px;
}

.login-aside-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.login-aside-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-aside-bullets i {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 14px;
}

/* 表单外卡片：与白底项目卡片同一阴影语言 */
.form-shell {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 44px) clamp(22px, 3vw, 40px);
}

.login-card {
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .login-card {
    margin-left: 0;
    margin-right: 0;
    justify-self: end;
  }
}

.login-card-head {
  text-align: center;
  margin-bottom: clamp(22px, 3vw, 30px);
}

.login-card-head .section-tag {
  margin-bottom: 12px;
}

.login-card-title {
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 10px;
}

.login-card-head .section-desc {
  max-width: none;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

.login-form .field-row + .field-row {
  margin-top: 20px;
}

.field-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.45;
  border: 1px solid #e2e4ee;
  border-radius: 12px;
  background: #fafbff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.field-input::placeholder {
  color: #a8a8b8;
}

.field-input:focus {
  outline: none;
  border-color: rgba(245, 124, 0, 0.55);
  box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.12);
  background: #fff;
}

.stack-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.stack-row .field-input {
  flex: 1;
  min-width: 0;
}

.stack-row .btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 密码行：输入与显示切换并排，小屏仍保持一行以节省纵向空间 */
.stack-row--password .btn {
  min-width: 48px;
  min-height: 48px;
  padding-left: 14px;
  padding-right: 14px;
  border-radius: 12px;
}

/* 验证码行：窄屏改为上下堆叠，避免按钮被挤压 */
@media (max-width: 520px) {
  .stack-row--sms {
    flex-direction: column;
    align-items: stretch;
  }

  .stack-row--sms .btn {
    width: 100%;
    min-height: 48px;
  }
}

.login-submit {
  width: 100%;
  min-height: 50px;
  font-size: 16px;
  margin-top: 4px;
}

.login-form .status-card {
  margin-top: 20px;
}

@media (max-width: 480px) {
  .page-topbar-actions {
    gap: 8px;
  }

  .page-topbar-actions .btn {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* ========== Modal Components ========== */
/* 通用遮罩层：承载四种业务弹窗，并负责居中与背景压暗。 */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1360;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
  background: rgba(0, 0, 0, 0.42);
}

.modal-overlay.is-open {
  display: flex;
}

/* 基础弹窗尺寸对应通过/提交成功这类窄版样式。 */
.modal-card {
  width: min(100%, 362px);
  padding: 34px 30px 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
  text-align: center;
}

/* 宽版用于“提交确认 / 审核失败”这类双按钮和长文案场景。 */
.modal-card.modal-card-wide {
  width: min(100%, 560px);
  padding: 42px 40px 32px;
  border-radius: 18px;
}

/* 设计稿中的橙色圆形状态图标。 */
.modal-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #ff9800);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 10px 24px rgba(245, 124, 0, 0.28);
}

/* ========== 统一反馈弹窗（成功 / 失败 / 警告 / 描述）========== */
.modal-icon--success {
  background: linear-gradient(135deg, #2e7d32, #43a047);
  box-shadow: 0 10px 24px rgba(46, 125, 50, 0.28);
}

.modal-icon--error {
  background: linear-gradient(135deg, #c62828, #e53935);
  box-shadow: 0 10px 24px rgba(198, 40, 40, 0.28);
}

.modal-icon--warning {
  background: linear-gradient(135deg, #ef6c00, #fb8c00);
  box-shadow: 0 10px 24px rgba(239, 108, 0, 0.28);
}

.modal-icon--info {
  background: linear-gradient(135deg, #1565c0, #1e88e5);
  box-shadow: 0 10px 24px rgba(21, 101, 192, 0.22);
}

/* 慈善首页「申请查询」- 审核中态：与设计稿一致的居中窄卡，小屏下控制行长 */
.modal-card.modal-card--charity-reviewing {
  max-width: min(100%, 340px);
}

.modal-card.modal-card--charity-reviewing .modal-icon {
  font-size: 22px;
}

/* 宽版反馈：接口长文案、说明类正文可滚动，避免小屏占满视口 */
.modal-card--feedback.modal-card-wide .modal-desc {
  max-height: min(50vh, 280px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  text-align: center;
  word-break: break-word;
}

.modal-title {
  font-size: 26px;
  line-height: 1.5;
  color: #121212;
  font-weight: 500;
}

.modal-card:not(.modal-card-wide) .modal-title {
  font-size: 20px;
}

.modal-desc {
  margin-top: 10px;
  color: #969696;
  font-size: 14px;
  line-height: 1.8;
}

.modal-card:not(.modal-card-wide) .modal-desc {
  font-size: 13px;
}

/* 操作区统一使用弹性布局，桌面端保持按钮自然宽度。 */
.modal-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 26px;
}

.modal-actions .btn {
  min-width: 108px;
  min-height: 42px;
  padding: 10px 22px;
  font-size: 15px;
}

/* 次按钮使用浅描边样式，对应设计稿里的“取消”。 */
.btn-modal-secondary {
  background: #fff;
  color: #c4892a;
  border: 1px solid rgba(196, 137, 42, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 248, 239, 0.7);
}

.btn-modal-secondary:hover {
  background: #fff8ef;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin: 0 auto 36px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

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

  .project-cards {
    grid-template-columns: 1fr;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Charity Fund - tablet layout */
  .charity-fund-shell {
    border-radius: 28px;
    padding: 42px 36px;
  }

  .charity-fund-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .charity-fund-content h2 {
    font-size: 38px;
  }

  .charity-fund-content p {
    max-width: none;
  }

  .charity-fund-visual img {
    width: min(100%, 420px);
  }

  .help-form-section {
    width: min(100%, 980px);
  }

  .help-form-title {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .help-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adv-timeline::before {
    left: 20px;
  }

  .adv-item,
  .adv-item:nth-child(even) {
    flex-direction: row;
    padding-left: 60px;
  }

  .adv-content {
    width: 100%;
  }

  .adv-dot {
    left: 20px;
  }
}

@media (max-width: 768px) {
  /**
   * 全屏移动菜单：须盖过顶栏与汉堡。
   * 父级 .navbar.scrolled 的 backdrop-filter 会让 fixed 子级相对导航条定位（非视口），
   * 菜单打开时加 .menu-open 暂时去掉毛玻璃，使 fixed 相对视口铺满。
   */
  .navbar.menu-open.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  html.mobile-nav-open,
  body.mobile-nav-open {
    overflow: hidden;
    touch-action: none;
    overscroll-behavior: none;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
    background: rgba(26,26,46,0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 1002;
    padding-top: env(safe-area-inset-top, 0);
    padding-bottom: env(safe-area-inset-bottom, 0);
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: #fff !important;
    font-size: 20px;
  }

  .mobile-toggle {
    display: block;
    position: relative;
    z-index: 1003;
  }

  .hero {
    padding: 80px 0 40px;
    min-height: auto;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 15px;
    margin: 0 auto 28px;
  }

  .hero-buttons {
    gap: 12px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .hero-stats {
    margin-top: 32px;
  }

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

  .stat-item {
    padding: 14px 10px;
  }

  .stat-number {
    font-size: 26px;
  }

  .stat-label {
    font-size: 12px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-desc {
    font-size: 15px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .eco-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .eco-card {
    padding: 24px 16px;
  }

  .project-card-header {
    height: 180px;
  }

  .cta-section {
    padding: 60px 0;
  }

  .cta-section h2 {
    font-size: 26px;
  }

  .cta-section p {
    font-size: 15px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .adv-item,
  .adv-item:nth-child(even) {
    padding-left: 50px;
  }

  .adv-content {
    padding: 20px;
  }

  .adv-number {
    font-size: 36px;
  }

  .adv-content h4 {
    font-size: 18px;
  }

  .quote-mark {
    font-size: 80px;
  }

  .help-form-main {
    padding: 46px 0 58px;
  }

  .help-form-page.page-shell .help-form-main {
    padding-top: max(88px, calc(46px + env(safe-area-inset-top, 0px)));
  }

  .help-form-section {
    padding: 0 14px;
  }

  .help-form-title {
    font-size: 30px;
    margin-bottom: 22px;
  }

  .help-block {
    border-radius: 14px;
    padding: 18px 14px 14px;
    margin-bottom: 14px;
  }

  .help-block-title {
    font-size: 20px;
    margin-bottom: 14px;
  }

  .help-grid-3,
  .help-grid-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .help-field > label {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .help-input,
  .help-select,
  .help-upload-input {
    height: 42px;
    font-size: 16px;
  }

  .help-textarea {
    min-height: 104px;
    font-size: 16px;
  }

  .help-upload-tip.help-upload-tip--stack {
    font-size: 13px;
  }

  .help-actions {
    margin-top: 20px;
    gap: 12px;
  }

  .help-actions .btn {
    min-width: 0;
    flex: 1 1 0;
    min-height: 44px;
  }

  /* Charity Fund - mobile stacking */
  .charity-fund {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .charity-fund-shell {
    border-radius: 20px;
    padding: 28px 18px 24px;
  }

  .charity-fund-content h2 {
    font-size: 30px;
    margin-bottom: 12px;
  }

  .charity-fund-content p {
    font-size: 14px;
    line-height: 1.8;
  }

  .charity-fund-actions {
    max-width: none;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .charity-action-btn {
    min-height: 42px;
    font-size: 13px;
    padding: 8px 12px;
  }

  .charity-fund-visual {
    margin-top: 6px;
  }

  .charity-fund-visual img {
    width: min(100%, 320px);
  }

  .charity-fund-requirements {
    margin-top: 30px;
  }

  .charity-fund-requirements h3 {
    font-size: 28px;
    margin-bottom: 14px;
  }

  .charity-fund-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .charity-requirement-card {
    padding: 16px;
    border-radius: 12px;
  }

  .charity-requirement-card h4 {
    font-size: 16px;
  }

  .charity-requirement-card p {
    font-size: 13px;
    line-height: 1.65;
  }

  /* 首页「原宇宙新闻动态」：竖屏下单卡为主，便于拇指滑动浏览 */
  .meta-news {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .meta-news-intro {
    margin-bottom: 28px;
  }

  .meta-news-heading {
    font-size: 26px;
  }

  .meta-news-shell {
    padding: 0 40px;
  }

  .meta-news-arrow {
    width: 40px;
    height: 40px;
    font-size: 15px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  }

  .meta-news-viewport {
    mask-image: none;
  }

  .meta-news-card {
    width: min(86vw, 320px);
    scroll-snap-align: center;
  }

  .meta-news-track {
    gap: 12px;
    padding: 6px 2px 16px;
    justify-content: flex-start;
  }

  .meta-news-card-summary {
    -webkit-line-clamp: 3;
  }

  /* 移动端下统一收窄弹窗宽度和按钮尺寸，避免内容挤压。 */
  .modal-card,
  .modal-card.modal-card-wide {
    width: min(100%, 340px);
    padding: 28px 20px 22px;
    border-radius: 16px;
  }

  .modal-title,
  .modal-card:not(.modal-card-wide) .modal-title {
    font-size: 17px;
  }

  .modal-desc,
  .modal-card:not(.modal-card-wide) .modal-desc {
    font-size: 12px;
  }

  .modal-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .modal-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .hero-text h1 {
    font-size: 28px;
  }

  .stat-number {
    font-size: 22px;
  }

  .eco-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 24px;
  }

  .charity-fund-shell {
    padding: 24px 14px 20px;
  }

  .charity-fund-content h2 {
    font-size: 26px;
  }

  .charity-fund-actions {
    grid-template-columns: 1fr;
  }

  .charity-action-btn {
    min-height: 40px;
  }

  .charity-fund-requirements h3 {
    font-size: 24px;
    padding-left: 12px;
  }

  .charity-fund-requirements h3::before {
    top: 5px;
    height: 22px;
  }

  .help-form-title {
    font-size: 26px;
  }

  .help-block-title {
    font-size: 18px;
  }

  .help-upload-item,
  .help-upload-thumb,
  .help-upload-thumb-wrap {
    width: 86px;
  }

  .help-upload-thumb-wrap,
  .help-upload-thumb {
    height: 64px;
  }
}

/* ========== 首页帮扶公示 & 凭证预览（charityPublicity / charityVoucher）========== */
.charity-publicity-overlay,
.charity-voucher-overlay {
  position: fixed;
  inset: 0;
  z-index: 1350;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
  background: rgba(0, 0, 0, 0.48);
}

.charity-publicity-overlay.is-open,
.charity-voucher-overlay.is-open {
  display: flex;
}

.charity-voucher-overlay {
  z-index: 1360;
}

.charity-publicity-dialog {
  position: relative;
  width: min(100%, 720px);
  max-height: min(92vh, 720px);
  padding: 28px 24px 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
}

.charity-publicity-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: #444;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.charity-publicity-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.charity-publicity-title {
  font-size: 22px;
  font-weight: 700;
  color: #121212;
  text-align: center;
  margin: 0 28px 10px;
}

.charity-publicity-sub {
  font-size: 13px;
  line-height: 1.65;
  color: #666;
  margin: 0 0 8px;
  text-align: center;
}

.charity-publicity-stats {
  font-size: 13px;
  line-height: 1.65;
  color: #e85d04;
  margin: 0 0 16px;
  text-align: center;
  font-weight: 500;
}

.charity-publicity-stats span {
  font-weight: 700;
}

/* 列表区域固定高度，内部滚动；触底触发加载更多 */
.charity-publicity-scroll {
  flex: 1;
  min-height: 0;
  max-height: min(52vh, 420px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  border: 1px solid #eee;
}

.charity-publicity-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.charity-publicity-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}

.charity-publicity-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 12px 10px;
  text-align: center;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #ff9800, var(--primary));
  white-space: nowrap;
}

.charity-publicity-table tbody td {
  padding: 11px 10px;
  text-align: center;
  color: #333;
  border-bottom: 1px solid #ececec;
}

.charity-publicity-table tbody tr:nth-child(even) td {
  background: #f9f9f9;
}

.charity-publicity-table tbody tr:nth-child(odd) td {
  background: #fff;
}

.charity-voucher-trigger {
  color: #1e88e5;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}

.charity-voucher-trigger:hover {
  text-decoration: underline;
}

.charity-publicity-link-disabled {
  color: #bbb;
  font-size: 13px;
}

.charity-publicity-empty,
.charity-publicity-loading-cell {
  padding: 28px 16px !important;
  text-align: center;
  color: #888;
  font-size: 14px;
}

.charity-publicity-sentinel {
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.charity-publicity-load-hint {
  text-align: center;
  font-size: 12px;
  color: #999;
  padding: 10px 8px 4px;
  margin: 0;
}

/* 凭证大图弹窗 */
.charity-voucher-close {
  position: fixed;
  top: max(16px, env(safe-area-inset-top, 0px));
  right: max(16px, env(safe-area-inset-right, 0px));
  z-index: 1361;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.charity-voucher-inner {
  max-width: min(96vw, 900px);
  max-height: min(88vh, 900px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.charity-voucher-inner img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .charity-publicity-dialog {
    padding: 24px 14px 18px;
    max-height: 94vh;
  }

  .charity-publicity-title {
    font-size: 18px;
    margin-left: 12px;
    margin-right: 12px;
  }

  .charity-publicity-sub {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .charity-publicity-stats {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .charity-publicity-scroll {
    max-height: min(58vh, 360px);
  }

  .charity-publicity-table {
    min-width: 480px;
    font-size: 12px;
  }

  .charity-publicity-table thead th {
    padding: 10px 6px;
    font-size: 12px;
  }

  .charity-publicity-table tbody td {
    padding: 9px 6px;
  }

  .charity-voucher-trigger {
    font-size: 12px;
  }
}