:root {
  color-scheme: light;
  --brand-red: #9b1c1c;
  --brand-red-hover: #7f1616;
  --brand-red-soft: rgba(155, 28, 28, 0.08);
  --brand-red-glow: rgba(155, 28, 28, 0.14);
  --bg: #fcfcfc;
  --bg-elevated: #ffffff;
  --text: #111111;
  --text-secondary: #5c5c5c;
  --text-tertiary: #8a8a8a;
  --border: rgba(17, 17, 17, 0.1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 36px rgba(0, 0, 0, 0.07);
  --max-width: 1080px;
  --font-serif: 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', Georgia, serif;
  --font-sans:
    -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, 'PingFang SC',
    'Microsoft YaHei', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 42% at 50% -8%, var(--brand-red-glow), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: calc(var(--max-width) + 48px);
  margin: 0 auto;
  padding: 14px 24px;
  backdrop-filter: saturate(180%) blur(18px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
}

.nav-logo {
  display: block;
  width: auto;
  height: 38px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--brand-red-hover);
}

main {
  flex: 1;
}

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 40px;
  text-align: center;
}

.hero-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.hero-logo {
  width: min(100%, 320px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.06));
}

.hero-eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-red);
}

.hero-lead {
  max-width: 560px;
  margin: 0 auto;
  font-size: clamp(17px, 2.5vw, 20px);
  line-height: 1.7;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    opacity 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 10px 24px var(--brand-red-glow);
}

.btn-primary:hover {
  background: var(--brand-red-hover);
}

.btn-secondary {
  background: var(--bg-elevated);
  border-color: var(--border);
  color: var(--text);
}

.btn-large {
  min-width: 188px;
  min-height: 48px;
  font-size: 16px;
}

.btn[aria-disabled='true'] {
  opacity: 0.45;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto 24px;
  padding: 0 24px;
}

.stat {
  position: relative;
  padding: 22px 22px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.stat-mark {
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--brand-red);
}

.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat span:last-child {
  font-size: 13px;
  color: var(--text-secondary);
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 28px;
}

.section-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-red);
}

.section-head h2,
.product-grid h2 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section-head p,
.product-desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.65;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  border-color: rgba(155, 28, 28, 0.18);
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
}

.card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.section-accent {
  padding-top: 32px;
  padding-bottom: 32px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 32px;
  align-items: center;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #ffffff 0%, #faf7f7 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.feature-list {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.85;
}

.feature-list li::marker {
  color: var(--brand-red);
}

.product-panel {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #101010;
  box-shadow: var(--shadow-md);
}

.panel-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
}

.panel-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.panel-body {
  padding: 28px 24px 30px;
}

.panel-shield {
  width: 54px;
  height: 62px;
  margin-bottom: 22px;
  background: var(--brand-red);
  clip-path: polygon(50% 100%, 0 18%, 0 0, 100% 0, 100% 18%);
  opacity: 0.92;
}

.panel-line {
  height: 9px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.panel-line.wide {
  width: 72%;
  background: linear-gradient(90deg, var(--brand-red), rgba(255, 255, 255, 0.22));
}

.panel-line.short {
  width: 46%;
}

.download-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px 28px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.download-brand img {
  display: block;
  width: auto;
  height: 42px;
  object-fit: contain;
}

.download-version {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
}

.download-size,
.download-note {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.download-size {
  margin-bottom: 4px;
}

.download-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.download-alt {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  font-size: 13px;
}

.download-alt a {
  color: var(--brand-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-alt a:hover {
  color: var(--brand-red-hover);
}

.footer {
  margin-top: 24px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 24px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand img {
  display: block;
  width: auto;
  height: 34px;
  margin-bottom: 8px;
  object-fit: contain;
}

.footer-brand p {
  margin: 0;
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--brand-red);
}

@media (max-width: 860px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .stats,
  .cards {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .product-panel {
    order: -1;
  }

  .download-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .download-brand {
    display: none;
  }

  .download-actions {
    align-items: stretch;
  }

  .download-alt {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 36px;
  }

  .hero-logo {
    width: min(100%, 260px);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }
}

/* ── 华为风官网壳层（site-shell.js） ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: calc(var(--max-width) + 96px);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 56px;
}

.site-logo img {
  display: block;
  height: 36px;
  width: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 1px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  padding: 18px 0;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.18s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 2px;
  background: var(--brand-red);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-link.is-active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link-accent {
  color: var(--brand-red);
  font-weight: 600;
}

/* Hero 轮播 */

.hero-carousel-wrap {
  position: relative;
  width: 100%;
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-carousel {
  width: 100%;
  min-height: 56vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 64px;
  transition: background 0.4s ease;
}

.hero-carousel.tone-red {
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 45%, #fafafa 100%);
}

.hero-carousel.tone-dark {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  color: #fff;
}

.hero-carousel.tone-dark .hero-carousel-eyebrow,
.hero-carousel.tone-dark .hero-carousel-lead {
  color: rgba(255, 255, 255, 0.78);
}

.hero-carousel.tone-soft {
  background: linear-gradient(145deg, #fafafa 0%, #ffffff 60%, var(--brand-red-soft) 100%);
}

.hero-carousel-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.hero-carousel-eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-red);
}

.hero-carousel h1 {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.hero-carousel-lead {
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.7;
  color: var(--text-secondary);
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.hero-dot.is-active {
  background: var(--brand-red);
  transform: scale(1.25);
}

/* 推荐卡 / 新闻 */

.section-compact {
  padding-top: 40px;
  padding-bottom: 40px;
}

.section-head-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.promo-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.promo-card:hover {
  border-color: rgba(155, 28, 28, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.promo-tag {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-red);
}

.promo-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
}

.promo-card p {
  flex: 1;
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.promo-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-red);
}

.section-news {
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.news-item time {
  font-size: 13px;
  color: var(--text-tertiary);
}

.news-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
}

.news-item h3 a:hover {
  color: var(--brand-red);
}

.news-item p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

/* 深色多列 Footer */

.site-footer {
  margin-top: auto;
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.88);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: calc(var(--max-width) + 96px);
  margin: 0 auto;
  padding: 48px 24px 32px;
}

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 10px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: #fff;
}

.site-footer-bottom {
  max-width: calc(var(--max-width) + 96px);
  margin: 0 auto;
  padding: 20px 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.site-footer-bottom p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer-note {
  margin-top: 6px !important;
}

/* 内页 Hero */

.page-hero {
  padding: 48px 24px 36px;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}

.page-hero-lead {
  max-width: 640px;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.page-hero-shop {
  background: linear-gradient(135deg, var(--brand-red-soft) 0%, #fff 60%);
}

.page-hero-brand {
  background: linear-gradient(135deg, #fafafa 0%, #fff 70%);
}

.page-hero-download {
  background: linear-gradient(135deg, #f0f4ff 0%, #fff 60%);
}

/* 购物页 */

.shop-status {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--text-tertiary);
}

.shop-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.shop-tab {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-elevated);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.18s ease;
}

.shop-tab:hover {
  border-color: rgba(155, 28, 28, 0.25);
  color: var(--text);
}

.shop-tab.is-active {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.shop-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s ease;
}

.shop-card:hover {
  box-shadow: var(--shadow-md);
}

.shop-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f5f5f5;
}

.shop-card-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #f0f0f0, #e8e8e8);
}

.shop-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px;
  gap: 8px;
}

.shop-card-body h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.shop-card-meta {
  margin: 0;
  font-size: 13px;
  color: var(--text-tertiary);
}

.shop-card-price {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-red);
}

.shop-inquiry-btn {
  margin-top: auto;
  width: 100%;
}

.shop-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-tertiary);
}

/* 弹窗 / 表单 */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] {
  display: none !important;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.modal-panel {
  position: relative;
  width: min(100%, 420px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: var(--text-tertiary);
  cursor: pointer;
}

.modal-panel h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.modal-product {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-field input,
.form-field textarea {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  transition: border-color 0.18s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand-red);
}

.form-message {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.form-message.is-error {
  color: #c0392b;
}

.form-message.is-success {
  color: #1e7e34;
}

/* 品牌时间线 */

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.timeline-item {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.timeline-item strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--brand-red);
}

.timeline-item span {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* 下载帮助 */

.download-help {
  margin-top: 32px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.download-help h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}

.download-help ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.85;
}

.download-help code {
  font-size: 13px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.05);
}

.download-help a {
  color: var(--brand-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 商家门户 */

.merchant-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.merchant-main-wide {
  flex-direction: column;
  align-items: stretch;
  max-width: calc(var(--max-width) + 48px);
  margin: 0 auto;
  width: 100%;
}

.merchant-panel {
  width: min(100%, 400px);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.merchant-panel h1,
.merchant-toolbar h1 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
}

.merchant-lead {
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--text-secondary);
}

.merchant-hint {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--text-tertiary);
}

.merchant-hint a {
  color: var(--brand-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.merchant-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.stat-card span {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.stat-card strong {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--brand-red);
}

.merchant-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  background: rgba(0, 0, 0, 0.02);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background: var(--brand-red-soft);
}

.table-empty {
  text-align: center !important;
  color: var(--text-tertiary);
  padding: 32px !important;
}

/* 响应式（华为风导航） */

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-header {
    position: relative;
  }

  .site-header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .nav-link {
    padding: 12px 24px;
  }

  .nav-link::after {
    display: none;
  }

  .promo-grid,
  .merchant-links,
  .timeline,
  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .stat-cards {
    grid-template-columns: 1fr;
  }

  .merchant-toolbar {
    flex-direction: column;
  }
}
