/* 昱途科技官网 - 主样式（字体使用系统栈，避免本地开发时 CDN 被浏览器私有网络策略拦截） */

:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-cta: #0369A1;
  --color-cta-hover: #0284C7;
  --color-bg: #F8FAFC;
  --color-text: #020617;
  --color-muted: #475569;
  --color-border: #E2E8F0;
  --color-footer: #111111;
  --font-heading: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', system-ui, sans-serif;
  --nav-height: 72px;
  --transition: 200ms ease;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

a {
  color: var(--color-cta);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-cta-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== 导航栏 ========== */
.site-header {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 1000;
  transition: top var(--transition), background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  top: 0;
  left: 0;
  right: 0;
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: border-radius var(--transition), background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled .navbar {
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  transition: opacity var(--transition);
}

.navbar-brand:hover {
  opacity: 0.85;
  color: var(--color-primary);
}

.navbar-brand svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.navbar-brand__logo-img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 8px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-nav a {
  display: block;
  padding: 8px 16px;
  color: var(--color-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: 8px;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--color-cta);
  background: rgba(3, 105, 161, 0.08);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--color-primary);
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

a.btn.is-download-loading {
  pointer-events: none;
  cursor: wait;
  opacity: 0.92;
}

a.btn.is-download-retry {
  animation: download-retry-pulse 1.2s ease-in-out infinite;
}

.btn-primary {
  background: var(--color-cta);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-cta-hover);
  color: #fff;
  box-shadow: 0 4px 12px rgba(3, 105, 161, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-cta);
  border: 1.5px solid var(--color-cta);
}

.btn-outline:hover {
  background: rgba(3, 105, 161, 0.08);
  color: var(--color-cta-hover);
}

.btn.navbar-store-btn {
  gap: 8px;
  padding: 8px 15px 8px 10px;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  color: #f8fafc;
  background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 52%, #0f172a 100%);
  border: 1px solid rgba(212, 175, 55, 0.24);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.14),
    0 6px 16px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.navbar-store-btn__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #d4af37;
  transition: color 0.25s ease;
}

.btn.navbar-store-btn:hover {
  color: #fff;
  background: linear-gradient(160deg, #1e293b 0%, #234876 52%, #172554 100%);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow:
    0 8px 20px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.btn.navbar-store-btn:hover .navbar-store-btn__icon {
  color: #f5e6b8;
}

.btn.navbar-store-btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(3, 105, 161, 0.22),
    0 6px 16px rgba(15, 23, 42, 0.12);
}

.btn.navbar-store-btn.navbar-store-btn--active {
  color: #fff;
  background: linear-gradient(160deg, #0369a1 0%, #0f172a 100%);
  border-color: rgba(212, 175, 55, 0.46);
  box-shadow:
    0 6px 18px rgba(3, 105, 161, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn.navbar-store-btn.navbar-store-btn--active .navbar-store-btn__icon {
  color: #fde68a;
}

.btn-ghost {
  background: transparent;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-border);
}

.btn-ghost:hover {
  background: var(--color-bg);
  border-color: var(--color-secondary);
  color: var(--color-primary);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-buy-gold {
  position: relative;
  overflow: hidden;
  color: #f5e6b8;
  background: linear-gradient(160deg, #0c0c0c 0%, #1f1f1f 44%, #141414 100%);
  border: 1px solid rgba(212, 175, 55, 0.52);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
  transition:
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    color var(--transition),
    transform var(--transition);
}

.btn-buy-gold::after {
  content: "";
  position: absolute;
  inset: -30% -50%;
  background: linear-gradient(
    105deg,
    transparent 28%,
    rgba(255, 255, 255, 0.05) 40%,
    rgba(255, 223, 140, 0.55) 50%,
    rgba(255, 255, 255, 0.05) 60%,
    transparent 72%
  );
  transform: translateX(-120%) rotate(10deg);
  animation: btn-buy-shimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}

.btn-buy-gold:hover {
  color: #fff7d6;
  background: linear-gradient(160deg, #161616 0%, #2a2a2a 44%, #1c1c1c 100%);
  border-color: rgba(245, 208, 120, 0.82);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(212, 175, 55, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-buy-gold:focus-visible {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}

@keyframes btn-buy-shimmer {
  0% {
    transform: translateX(-120%) rotate(10deg);
  }

  100% {
    transform: translateX(120%) rotate(10deg);
  }
}

/* ========== 轮播 ========== */
.hero-section {
  padding-top: calc(var(--nav-height) + 48px);
  margin-bottom: 64px;
  width: 100%;
}

/* 首页：轮播从导航栏下方开始，避免标题与轮播图被 header 遮挡 */
body[data-page="index"] .hero-section {
  padding-top: var(--nav-height);
  margin-bottom: 64px;
}

body[data-page="index"] .site-header {
  top: 0;
  left: 0;
  right: 0;
}

body[data-page="index"] .site-header:not(.scrolled) .navbar {
  background: #0f172a;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  box-shadow: none;
}

body[data-page="index"] .site-header:not(.scrolled) .navbar-brand {
  color: #fff;
}

body[data-page="index"] .site-header:not(.scrolled) .navbar-brand:hover {
  color: #fff;
  opacity: 0.9;
}

body[data-page="index"] .site-header:not(.scrolled) .navbar-nav a {
  color: rgba(255, 255, 255, 0.88);
}

body[data-page="index"] .site-header:not(.scrolled) .navbar-nav a:hover,
body[data-page="index"] .site-header:not(.scrolled) .navbar-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

body[data-page="index"] .site-header:not(.scrolled) .btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

body[data-page="index"] .site-header:not(.scrolled) .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

body[data-page="index"] .site-header:not(.scrolled) .btn.navbar-store-btn {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 4px 14px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body[data-page="index"] .site-header:not(.scrolled) .btn.navbar-store-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(212, 175, 55, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 6px 18px rgba(0, 0, 0, 0.2);
}

body[data-page="index"] .site-header:not(.scrolled) .btn.navbar-store-btn.navbar-store-btn--active {
  color: #fff;
  background: linear-gradient(160deg, rgba(3, 105, 161, 0.58) 0%, rgba(15, 23, 42, 0.72) 100%);
  border-color: rgba(212, 175, 55, 0.55);
}

body[data-page="index"] .site-header:not(.scrolled) .mobile-menu-btn {
  color: #fff;
}

body[data-page="index"] .swiper-hero .swiper-slide {
  min-height: 520px;
  padding-top: 0;
  align-items: center;
}

.swiper-hero {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
}

.swiper-hero .swiper-slide {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.swiper-hero .swiper-slide-active {
  z-index: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  will-change: transform;
}

.swiper-slide-active .slide-bg {
  animation: heroKenBurns 6.5s ease-out forwards;
}

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.5) 55%, rgba(15, 23, 42, 0.2) 100%);
  transition: opacity 1.4s ease;
}

.slide-content h2,
.slide-content p,
.slide-actions .btn {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.swiper-slide-active .slide-content h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.swiper-slide-active .slide-content p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}

.swiper-slide-active .slide-actions .btn:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.65s;
}

.swiper-slide-active .slide-actions .btn:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

/* Swiper 淡入淡出过渡 */
.swiper-hero .swiper-slide {
  transition-property: opacity;
}

.swiper-hero.swiper-fade .swiper-slide {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .swiper-slide-active .slide-bg {
    animation: none;
  }

  .slide-content h2,
  .slide-content p,
  .slide-actions .btn {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 48px 24px;
  margin-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
  color: #fff;
}

body[data-page="index"] .slide-content {
  padding-top: 40px;
  padding-bottom: 56px;
}

body[data-page="index"] .swiper-hero .slide-bg {
  background-position: center 42%;
}

.slide-content h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
  color: #fff;
}

.slide-content p {
  font-size: 1.125rem;
  opacity: 0.92;
  margin-bottom: 28px;
  line-height: 1.7;
}

.slide-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.slide-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.slide-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}

.swiper-hero .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.swiper-hero .swiper-pagination-bullet-active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

.swiper-hero .swiper-button-prev,
.swiper-hero .swiper-button-next {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  backdrop-filter: blur(4px);
}

.swiper-hero .swiper-button-prev::after,
.swiper-hero .swiper-button-next::after {
  font-size: 18px;
}

/* ========== 通用区块 ========== */
.section {
  padding: 64px 0;
}

.section-alt {
  background: #fff;
}

/* ========== 为什么选择我们 ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  border-color: rgba(3, 105, 161, 0.3);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.why-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: rgba(3, 105, 161, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cta);
}

.why-card-icon svg {
  width: 28px;
  height: 28px;
}

.why-card h3 {
  font-size: 1.0625rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.why-card p {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

/* ========== 我们的优势 ========== */
.advantage-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px 32px;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.advantage-item:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  border-color: rgba(3, 105, 161, 0.2);
}

.advantage-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-cta);
  opacity: 0.35;
  line-height: 1;
  flex-shrink: 0;
  min-width: 40px;
}

.advantage-content h3 {
  font-size: 1.125rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.advantage-content p {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

/* ========== 精选教程 & 热门文章 ========== */
.article-section-empty {
  text-align: center;
  padding: 48px 24px;
  background: #f8fafc;
  border: 1px dashed var(--color-border);
  border-radius: 14px;
}

.article-section-empty p {
  margin: 0;
  font-size: 1rem;
  color: var(--color-muted);
}

.article-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.article-columns > .article-column-card {
  min-width: 0;
}

.article-column-card {
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 24px 22px 20px;
  min-height: 100%;
  min-width: 0;
  overflow: hidden;
}

.article-column-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.article-column-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.article-column-icon svg {
  width: 28px;
  height: 28px;
}

.article-column-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
}

.article-home-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.article-home-item + .article-home-item {
  border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.article-home-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 0;
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.article-home-link:hover {
  color: var(--color-cta);
}

.article-home-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

.article-home-title-wrap {
  display: flex;
  flex: 1;
  gap: 6px;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}

.article-home-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 0.9375rem;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-home-featured {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  border-radius: 4px;
}

.article-home-date {
  flex-shrink: 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
  white-space: nowrap;
}

.article-home-empty {
  padding: 24px 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.article-column-footer {
  margin-top: 12px;
  padding-top: 16px;
  text-align: center;
}

.article-column-more {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-cta);
  text-decoration: none;
  transition: color var(--transition);
}

.article-column-more:hover {
  color: var(--color-primary);
}

.article-panel {
  display: none;
}

.article-panel.active {
  display: block;
}

.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.article-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.article-item:hover {
  border-color: rgba(3, 105, 161, 0.25);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.article-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  color: inherit;
  text-decoration: none;
}

.article-link:hover {
  color: inherit;
}

.article-link-main {
  flex: 1;
  min-width: 0;
}

.article-link-main h3 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 6px;
  transition: color var(--transition);
}

.article-featured-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  color: #b45309;
  background: #fef3c7;
  border-radius: 999px;
}

.article-item--featured {
  border-color: rgba(245, 158, 11, 0.35);
}

.article-item:hover .article-link-main h3 {
  color: var(--color-cta);
}

.article-link-main p {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-date {
  flex-shrink: 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
  white-space: nowrap;
}

.article-arrow {
  width: 18px;
  height: 18px;
  color: var(--color-muted);
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
}

.article-item:hover .article-arrow {
  color: var(--color-cta);
  transform: translateX(4px);
}

.article-panel-footer {
  margin-top: 28px;
  text-align: center;
}

.article-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-cta);
  text-decoration: none;
  transition: gap var(--transition), color var(--transition);
}

.article-more-link:hover {
  color: var(--color-primary);
  gap: 10px;
}

.article-more-arrow {
  width: 18px;
  height: 18px;
}

.articles-page-content {
  max-width: 720px;
  margin: 0 auto;
}

.page-empty-state {
  text-align: center;
  padding: 48px 24px;
  background: #fff;
  border: 1px dashed var(--color-border);
  border-radius: 16px;
}

.page-empty-state svg {
  width: 56px;
  height: 56px;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.page-empty-state h2 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.page-empty-state p {
  color: var(--color-muted);
  margin-bottom: 24px;
}

@media (max-width: 992px) {
  .article-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .article-columns {
    gap: 16px;
  }

  .article-column-card {
    padding: 20px 18px 16px;
  }

  .article-home-date {
    font-size: 0.75rem;
  }

  .article-list {
    grid-template-columns: 1fr;
  }

  .article-date {
    display: none;
  }
}

/* ========== 软件安全认证 ========== */
.section-security {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1e3a5f 100%);
  padding: 72px 0;
}

.security-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.security-content {
  color: #fff;
}

.security-badge {
  width: 56px;
  height: 56px;
  background: rgba(56, 189, 248, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #38BDF8;
}

.security-badge svg {
  width: 28px;
  height: 28px;
}

.security-content h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 16px;
}

.security-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.security-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.security-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9375rem;
}

.security-points li svg {
  width: 18px;
  height: 18px;
  color: #38BDF8;
  flex-shrink: 0;
}

.security-cert {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 28px 24px 24px;
  text-align: center;
}

.security-cert-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 20px;
}

.security-cert-img {
  background: transparent;
  border-radius: 8px;
  overflow: visible;
  padding: 8px 0;
}

.security-cert-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ========== 产品区 ========== */

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--color-muted);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto;
}

.product-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.category-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}

.product-search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  height: 42px;
  cursor: pointer;
}

.product-search-toggle {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--color-secondary);
  cursor: pointer;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  transition:
    color var(--transition),
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition),
    transform 0.28s ease;
}

.product-search-toggle svg {
  width: 18px;
  height: 18px;
}

.product-search-toggle:hover,
.product-search.is-open .product-search-toggle,
.product-search-toggle.is-active {
  color: var(--color-cta);
  border-color: var(--color-cta);
  background: rgba(3, 105, 161, 0.06);
}

.product-search-panel {
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: 0;
  margin-right: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
  cursor: text;
  background: #fff;
  border: 1.5px solid transparent;
  border-radius: 999px;
  box-shadow: none;
  opacity: 0;
  transform: translateX(10px) scale(0.98);
  transition:
    max-width 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.24s ease,
    transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    margin 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.product-search.is-open .product-search-panel {
  max-width: min(320px, calc(100vw - 120px));
  margin-right: 8px;
  padding: 4px 4px 4px 14px;
  pointer-events: auto;
  border-color: var(--color-border);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  opacity: 1;
  transform: translateX(0) scale(1);
}

.product-search-input {
  flex: 1;
  min-width: 0;
  padding: 8px 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-primary);
  background: transparent;
  border: none;
  outline: none;
}

.product-search-input::placeholder {
  color: var(--color-muted);
}

.product-search-input::-webkit-search-cancel-button {
  display: none;
}

.product-search-clear {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-muted);
  cursor: pointer;
  background: var(--color-bg-alt);
  border: none;
  border-radius: 50%;
  transition:
    color var(--transition),
    background var(--transition);
}

.product-search-clear svg {
  width: 14px;
  height: 14px;
}

.product-search-clear:hover {
  color: var(--color-primary);
  background: rgba(3, 105, 161, 0.1);
}

@media (max-width: 768px) {
  .product-toolbar {
    align-items: center;
    margin-bottom: 28px;
  }

  .category-filter {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-left: -24px;
    margin-right: 0;
    padding-left: 24px;
    padding-right: 8px;
  }

  .category-filter::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
  }

  .product-search.is-open .product-search-panel {
    max-width: min(260px, calc(100vw - 96px));
  }
}

.filter-btn {
  padding: 8px 20px;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--color-cta);
  color: var(--color-cta);
}

.filter-btn.active {
  background: var(--color-cta);
  border-color: var(--color-cta);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.product-card:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: 2px;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.product-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  margin-bottom: 16px;
  overflow: hidden;
}

.product-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-category {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(3, 105, 161, 0.08);
  color: var(--color-cta);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 999px;
  margin-bottom: 8px;
}

.product-card h3 {
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--color-primary);
  margin: 0 0 8px;
  min-height: calc(1.4em * 2);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}

.product-card-desc {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0 0 16px;
  min-height: calc(1.5em * 3);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  word-break: break-word;
}

.product-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: auto 0 16px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

.product-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 0;
}

.product-card-actions .btn {
  flex: 1;
  cursor: pointer;
}

/* ========== 页脚 ========== */
.site-footer {
  background: var(--color-footer);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr minmax(280px, 2.4fr) 0.9fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 0.9375rem;
  line-height: 1.8;
  margin: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links--products {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px 28px;
}

.footer-links--products li {
  margin-bottom: 0;
  min-width: 0;
}

.footer-links--products a {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-qrcode {
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 8px;
  padding: 6px;
  margin-bottom: 8px;
}

.footer-qrcode img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.footer-qrcode-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
  color: #fff;
}

/* ========== 浮动工具栏 ========== */
.float-toolbar {
  position: fixed;
  right: 24px;
  bottom: 80px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-secondary);
  transition: all var(--transition);
  position: relative;
}

.float-btn:hover {
  background: var(--color-cta);
  color: #fff;
  border-color: var(--color-cta);
}

.float-btn svg {
  width: 22px;
  height: 22px;
}

.float-contact-panel {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.15);
  width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  pointer-events: none;
}

.float-contact-wrap:hover .float-contact-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.float-contact-panel .qrcode {
  width: 120px;
  height: 120px;
  margin: 0 auto 12px;
  background: var(--color-bg);
  border-radius: 8px;
  padding: 4px;
  overflow: hidden;
}

.float-contact-panel .qrcode img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float-contact-panel p {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: 0;
}

.float-btn--service svg {
  width: 26px;
  height: 26px;
}

.back-to-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ========== 页面通用 ========== */
.page-hero {
  padding: calc(var(--nav-height) + 64px) 0 48px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1e3a5f 100%);
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.25rem;
  color: #fff;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.0625rem;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto;
}

.page-hero--compact {
  padding: calc(var(--nav-height) + 48px) 0 32px;
}

.page-hero--compact h1 {
  font-size: 2rem;
}

.page-content {
  padding: 64px 0;
}

/* ========== 404 页面 ========== */
.page-404 {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  /* site-header 固定定位且 top:16px，需额外留出导航高度 + 顶距 + 间距 */
  padding: calc(var(--nav-height) + 16px + 72px) 0 80px;
  background: linear-gradient(180deg, #f0f7ff 0%, var(--color-bg) 42%, #fff 100%);
  overflow: hidden;
}

.page-404__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-404__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  animation: page-404-orb-float 8s ease-in-out infinite;
}

.page-404__orb--1 {
  width: 280px;
  height: 280px;
  top: 8%;
  left: -60px;
  background: rgba(3, 105, 161, 0.18);
}

.page-404__orb--2 {
  width: 220px;
  height: 220px;
  top: 18%;
  right: -40px;
  background: rgba(14, 165, 233, 0.16);
  animation-delay: -2.5s;
}

.page-404__orb--3 {
  width: 160px;
  height: 160px;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(3, 105, 161, 0.12);
  animation-delay: -4s;
}

.page-404__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.page-404__visual {
  position: relative;
  margin-bottom: 28px;
}

.page-404__code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
}

.page-404__digit {
  font-size: clamp(4.5rem, 16vw, 7rem);
  animation: page-404-digit-bounce 2.4s ease-in-out infinite;
}

.page-404__digit--delay {
  animation-delay: 0.35s;
}

.page-404__zero {
  position: relative;
  width: clamp(4.5rem, 16vw, 7rem);
  height: clamp(4.5rem, 16vw, 7rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-404__zero-ring {
  position: absolute;
  inset: 0;
  border: 6px solid rgba(3, 105, 161, 0.22);
  border-radius: 50%;
  animation: page-404-ring-spin 6s linear infinite;
}

.page-404__zero-core {
  position: relative;
  font-size: clamp(3.5rem, 12vw, 5.5rem);
  color: var(--color-cta);
  animation: page-404-zero-pulse 2s ease-in-out infinite;
}

.page-404__planet {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 52px;
  background: var(--color-cta);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(3, 105, 161, 0.45);
  animation: page-404-planet-orbit 5s linear infinite;
  transform-origin: -46px center;
}

.page-404__badge {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-cta);
  background: rgba(3, 105, 161, 0.08);
  border: 1px solid rgba(3, 105, 161, 0.16);
  border-radius: 999px;
  animation: page-404-fade-up 0.6s ease both;
  animation-delay: 0.1s;
}

.page-404__title {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--color-primary);
  animation: page-404-fade-up 0.6s ease both;
  animation-delay: 0.2s;
}

.page-404__desc {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  color: var(--color-secondary);
  line-height: 1.65;
  animation: page-404-fade-up 0.6s ease both;
  animation-delay: 0.3s;
}

.page-404__hint {
  margin: 0 0 32px;
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.6;
  animation: page-404-fade-up 0.6s ease both;
  animation-delay: 0.4s;
}

.page-404__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  animation: page-404-fade-up 0.6s ease both;
  animation-delay: 0.5s;
}

.page-404__btn {
  min-width: 148px;
  animation: page-404-btn-glow 2.8s ease-in-out infinite;
}

.page-404__btn-secondary {
  min-width: 148px;
  background: #fff;
  border: 1.5px solid var(--color-border);
  color: var(--color-secondary);
}

.page-404__btn-secondary:hover {
  border-color: var(--color-cta);
  color: var(--color-cta);
  background: rgba(3, 105, 161, 0.04);
}

.page-404--embedded {
  min-height: auto;
  padding: calc(var(--nav-height) + 16px + 40px) 0 64px;
  background: transparent;
}

.page-404--embedded .page-404__bg,
.page-404--embedded .page-404__planet {
  display: none;
}

@keyframes page-404-orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.04); }
}

@keyframes page-404-digit-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes page-404-ring-spin {
  to { transform: rotate(360deg); }
}

@keyframes page-404-zero-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.88; }
}

@keyframes page-404-planet-orbit {
  to { transform: rotate(360deg); }
}

@keyframes page-404-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes page-404-btn-glow {
  0%, 100% { box-shadow: 0 4px 14px rgba(3, 105, 161, 0.22); }
  50% { box-shadow: 0 6px 22px rgba(3, 105, 161, 0.34); }
}

@media (prefers-reduced-motion: reduce) {
  .page-404__orb,
  .page-404__digit,
  .page-404__zero-ring,
  .page-404__zero-core,
  .page-404__planet,
  .page-404__badge,
  .page-404__title,
  .page-404__desc,
  .page-404__hint,
  .page-404__actions,
  .page-404__btn {
    animation: none !important;
  }
}

.article-list--page {
  grid-template-columns: 1fr;
  max-width: 920px;
  margin: 0 auto;
}

.page-hero--article {
  padding-bottom: 32px;
}

.page-hero__meta {
  margin-top: 12px;
  font-size: 0.9375rem;
  opacity: 0.78;
}

.article-download-bar {
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  transition:
    padding var(--transition),
    border-radius var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    left var(--transition),
    right var(--transition),
    top var(--transition);
}

.article-download-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.article-download-bar__product {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.article-download-bar__product:hover .article-download-bar__name {
  color: var(--color-primary);
}

.article-download-bar__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f1f5f9;
}

.article-download-bar__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.article-download-bar__label {
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.2;
}

.article-download-bar__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(52vw, 420px);
  transition: color var(--transition), font-size var(--transition);
}

.article-download-bar__btn {
  flex-shrink: 0;
  transition: padding var(--transition), font-size var(--transition), min-height var(--transition);
}

.article-download-bar.is-stuck {
  position: fixed;
  top: calc(var(--nav-height) + 10px);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 990;
  width: calc(100% - 32px);
  max-width: 860px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.1);
}

body:has(.site-header.scrolled) .article-download-bar.is-stuck {
  top: var(--nav-height);
  left: 0;
  right: 0;
  transform: none;
  width: auto;
  max-width: none;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
}

.article-download-bar.is-stuck .article-download-bar__icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.article-download-bar.is-stuck .article-download-bar__name {
  font-size: 0.875rem;
  max-width: min(42vw, 320px);
}

.article-download-bar.is-stuck .article-download-bar__label {
  display: none;
}

.article-download-bar.is-stuck .article-download-bar__btn {
  padding: 8px 14px;
  font-size: 0.875rem;
  min-height: 0;
}

.article-download-bar-placeholder {
  display: none;
}

.article-download-bar-placeholder.is-active {
  display: block;
}

/* 产品详情：顶部不占位，仅在 hero 滚出后以缩小条出现 */
.article-download-bar--product-float {
  position: fixed;
  top: calc(var(--nav-height) + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  z-index: 990;
  width: calc(100% - 32px);
  max-width: 860px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--transition),
    transform var(--transition),
    visibility var(--transition),
    left var(--transition),
    right var(--transition),
    top var(--transition),
    width var(--transition),
    max-width var(--transition),
    border-radius var(--transition),
    padding var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.article-download-bar--product-float.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.1);
}

.article-download-bar--product-float.is-visible .article-download-bar__icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.article-download-bar--product-float.is-visible .article-download-bar__name {
  font-size: 0.875rem;
  max-width: min(42vw, 320px);
}

.article-download-bar--product-float.is-visible .article-download-bar__label {
  display: none;
}

.article-download-bar--product-float.is-visible .article-download-bar__btn {
  padding: 8px 14px;
  font-size: 0.875rem;
  min-height: 0;
}

body:has(.site-header.scrolled) .article-download-bar--product-float.is-visible {
  top: var(--nav-height);
  left: 0;
  right: 0;
  transform: none;
  width: auto;
  max-width: none;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
}

@media (max-width: 640px) {
  .article-download-bar__inner {
    gap: 12px;
  }

  .article-download-bar__btn {
    width: 100%;
    justify-content: center;
  }

  .article-download-bar.is-stuck .article-download-bar__btn,
  .article-download-bar--product-float.is-visible .article-download-bar__btn {
    width: auto;
  }

  .article-download-bar__name {
    max-width: min(70vw, 280px);
  }
}

.container--article {
  max-width: 860px;
}

.container--help-center {
  max-width: 1600px;
  padding-left: 20px;
  padding-right: 20px;
}

.help-center-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.help-breadcrumb {
  margin: 0 0 20px;
  min-width: 0;
}

.help-breadcrumb__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-muted);
}

.help-breadcrumb__item {
  flex: 0 0 auto;
  min-width: 0;
}

.help-breadcrumb__item[aria-current="page"] {
  flex: 1 1 auto;
  min-width: 0;
}

.help-breadcrumb__sep {
  flex: 0 0 auto;
  color: #94a3b8;
  user-select: none;
}

.help-breadcrumb__link {
  color: var(--color-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.help-breadcrumb__link:hover {
  color: var(--color-cta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.help-breadcrumb__current {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--color-primary, #0f172a);
  font-weight: 600;
}

.help-center-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  align-self: start;
  min-width: 0;
  max-height: calc(100vh - var(--nav-height) - 48px);
}

.help-center-sidebar__panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  max-height: inherit;
  display: flex;
  flex-direction: column;
}

.help-center-sidebar__head {
  padding: 16px 18px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.help-center-sidebar__search {
  padding: 12px 0 14px;
}

.help-center-sidebar__search-input {
  width: 100%;
  padding: 9px 12px 9px 34px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--color-primary);
  background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.5' y1='16.5' x2='21' y2='21'/%3E%3C/svg%3E") no-repeat 10px center / 16px 16px;
  transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.help-center-sidebar__search-input::placeholder {
  color: #94a3b8;
}

.help-center-sidebar__search-input:focus {
  outline: none;
  border-color: var(--color-cta);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1);
}

.help-center-sidebar__search-empty {
  margin: 0;
  padding: 12px 18px 4px;
  font-size: 0.8125rem;
  color: var(--color-muted);
  text-align: center;
}

.help-center-sidebar__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
}

.help-center-sidebar__desc {
  margin: 6px 0 0;
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.help-center-sidebar__body {
  padding: 10px 0 12px;
  overflow-y: auto;
}

.help-center-sidebar__all {
  display: flex;
  align-items: center;
  width: calc(100% - 24px);
  margin: 0 12px 8px;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-align: left;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.help-center-sidebar__all:hover,
.help-center-sidebar__all.active {
  background: rgba(3, 105, 161, 0.08);
  color: var(--color-cta);
}

.help-center-sidebar__group + .help-center-sidebar__group {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.help-center-sidebar__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 10px 18px 6px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.help-center-sidebar__category:hover,
.help-center-sidebar__group.is-category-active .help-center-sidebar__category {
  color: var(--color-cta);
}

.help-center-sidebar__count {
  flex-shrink: 0;
  min-width: 20px;
  padding: 0 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  color: var(--color-muted);
  background: #f1f5f9;
  border-radius: 999px;
}

.help-center-sidebar__products {
  list-style: none;
  margin: 0;
  padding: 0 10px 6px;
}

.help-center-sidebar__product {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--color-secondary);
  text-align: left;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.help-center-sidebar__product-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: contain;
  background: #f8fafc;
}

.help-center-sidebar__product-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.help-center-sidebar__product:hover {
  background: rgba(3, 105, 161, 0.06);
  color: var(--color-cta);
}

.help-center-sidebar__product.active {
  background: rgba(3, 105, 161, 0.1);
  color: var(--color-cta);
  font-weight: 600;
}

.help-center-main {
  min-width: 0;
}

.help-center-sidebar__empty {
  margin: 0;
  padding: 8px 18px 4px;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.help-center-toolbar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.help-center-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.help-center-tab {
  padding: 10px 22px;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.help-center-tab:hover {
  border-color: var(--color-cta);
  color: var(--color-cta);
}

.help-center-tab.active {
  background: var(--color-cta);
  border-color: var(--color-cta);
  color: #fff;
}

.help-center-search {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.help-center-search__input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-primary);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.help-center-search__input:focus {
  outline: none;
  border-color: var(--color-cta);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.12);
}

.help-center-search__btn {
  flex-shrink: 0;
  padding: 0 22px;
  border: none;
  border-radius: 10px;
  background: var(--color-cta);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition);
}

.help-center-search__btn:hover {
  background: var(--color-primary);
}

.help-center-result-meta {
  margin: -8px 0 20px;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.help-center-list {
  width: 100%;
}

.help-center-list__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.list-end-hint {
  margin: 8px 0 0;
  padding: 20px 0 4px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.help-center-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
  margin-top: 8px;
  padding: 20px 0 4px;
}

.help-center-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.help-center-pagination__nav,
.help-center-pagination__page {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
  font-size: 0.875rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.help-center-pagination__nav:hover:not(:disabled),
.help-center-pagination__page:hover:not(.is-active) {
  border-color: rgba(3, 105, 161, 0.35);
  color: var(--color-cta);
}

.help-center-pagination__page.is-active {
  border-color: var(--color-cta);
  background: rgba(3, 105, 161, 0.08);
  color: var(--color-cta);
  font-weight: 600;
  cursor: default;
}

.help-center-pagination__nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.help-center-pagination__ellipsis {
  min-width: 20px;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.875rem;
  user-select: none;
}

@media (max-width: 640px) {
  .help-center-pagination {
    gap: 8px;
  }

  .help-center-pagination__nav,
  .help-center-pagination__page {
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border-radius: 8px;
  }
}

.help-center-card {
  position: relative;
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.help-center-card[hidden],
.help-manual-card[hidden] {
  display: none !important;
}

.help-center-card:hover {
  border-color: rgba(3, 105, 161, 0.25);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.help-center-card__layout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 18px;
}

.help-center-card__stretched-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-decoration: none;
}

.help-center-card__stretched-link:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: 2px;
}

.help-center-card__cover {
  width: 200px;
  height: 133px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
}

.help-center-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.help-center-card__cover--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.help-center-card__cover--empty svg {
  width: 36px;
  height: 36px;
  opacity: 0.45;
}

.help-center-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 133px;
}

.help-center-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.help-center-card__title {
  flex: 1;
  min-width: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.45;
  transition: color var(--transition);
}

.help-center-card:hover .help-center-card__title {
  color: var(--color-cta);
}

.help-center-card__summary {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
}

.article-tags__label {
  flex: 0 0 auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary, #0f172a);
  line-height: 1.4;
}

.help-center-card__tags .article-tags__label {
  display: none;
}

.help-center-card__foot {
  display: flex;
  align-items: center;
  gap: 12px 16px;
  margin-top: auto;
  padding-top: 4px;
  min-width: 0;
}

.help-center-card__tags {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  position: relative;
  z-index: 2;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.help-center-card__tags .article-tag {
  position: relative;
  z-index: 2;
  display: inline-flex;
  vertical-align: middle;
  max-width: 10em;
  margin-right: 6px;
}

.help-center-card__tags .article-tag:last-child {
  margin-right: 0;
}

.article-detail .article-tags {
  margin: 28px 0 0;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(3, 105, 161, 0.18);
  background: rgba(3, 105, 161, 0.06);
  color: var(--color-cta);
  font-size: 0.8125rem;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-tag--sm {
  padding: 2px 8px;
  font-size: 0.75rem;
}

a.article-tag {
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

a.article-tag:hover {
  border-color: rgba(3, 105, 161, 0.4);
  background: rgba(3, 105, 161, 0.12);
  text-decoration: underline;
}

.article-link-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  margin: 28px 0 0;
}

.article-link-sections:has(.article-link-section:only-child) {
  grid-template-columns: minmax(0, 1fr);
}

.article-link-section {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.article-link-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary, #0f172a);
}

.article-link-section__title::before {
  content: "";
  width: 4px;
  height: 1.05em;
  border-radius: 2px;
  background: var(--color-primary, #0f172a);
  flex: 0 0 auto;
}

.article-link-sections__list {
  margin: 0;
  padding: 14px 18px;
  list-style: none;
  display: grid;
  gap: 12px;
  align-content: start;
  flex: 1 1 auto;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #f8fafc;
}

.article-link-sections__item {
  min-width: 0;
}

.article-link-sections__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: none;
}

.article-link-sections__link::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary, #0f172a);
  flex: 0 0 auto;
}

.article-link-sections__link:hover .article-link-sections__title {
  color: var(--color-cta);
}

.article-link-sections__title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-primary, #0f172a);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-link-sections__date {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 0.8125rem;
  color: var(--color-muted);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .article-link-sections {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.help-center-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  margin-left: auto;
  flex: 0 1 auto;
  min-width: 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
  text-align: right;
}

.help-center-card__meta-link,
.help-center-card__meta a {
  position: relative;
  z-index: 2;
  color: var(--color-cta);
  text-decoration: none;
}

.help-center-card__meta-link:hover,
.help-center-card__meta a:hover {
  text-decoration: underline;
}

.help-center-card__meta-muted {
  color: var(--color-muted);
}

.help-center-card--featured {
  border-color: rgba(245, 158, 11, 0.35);
}

.help-center-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 999px;
  flex-shrink: 0;
}

.help-center-card__badge--featured {
  color: #b45309;
  background: #fef3c7;
}

.help-center-card__badge--ready {
  color: #0369a1;
  background: #e0f2fe;
}

.help-center-card__badge--muted {
  color: var(--color-muted);
  background: #f1f5f9;
}

@media (max-width: 992px) {
  .help-center-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .help-center-sidebar {
    position: static;
    max-height: none;
  }

  .help-center-sidebar__panel {
    max-height: none;
  }

  .help-center-sidebar__body {
    max-height: 280px;
  }
}

@media (max-width: 768px) {
  .help-center-toolbar {
    gap: 16px;
  }

  .help-center-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .help-center-tabs::-webkit-scrollbar {
    display: none;
  }

  .help-center-tab {
    flex-shrink: 0;
  }

  .help-center-search {
    flex-direction: column;
  }

  .help-center-search__btn {
    padding: 12px 22px;
  }

  .help-center-card__layout {
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .help-center-card__cover {
    width: 100%;
    height: 160px;
  }

  .help-center-card__meta {
    max-width: 60%;
  }

  .help-center-card__foot {
    gap: 8px 12px;
  }
}

.article-page-content {
  width: 100%;
}

.help-manual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.help-manual-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.help-manual-card:hover {
  transform: translateY(-2px);
  border-color: rgba(3, 105, 161, 0.22);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.help-manual-card__main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.help-manual-card__cover {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #0369a1, #38bdf8);
}

.help-manual-card__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.help-manual-card__cover--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.help-manual-card__body {
  flex: 1;
  min-width: 0;
  padding: 0;
}

.help-manual-card__head {
  display: block;
  margin-bottom: 4px;
}

.help-manual-card__head h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.help-manual-card__badge,
.help-manual-card__download {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  background: var(--color-cta, #0369a1);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.help-manual-card__badge:hover,
.help-manual-card__download:hover {
  background: #0284c7;
  color: #fff;
}

.help-manual-card__badge--muted {
  color: #fff;
  background: #64748b;
}

.help-manual-card__body p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--color-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 480px) {
  .help-manual-card {
    flex-wrap: wrap;
  }

  .help-manual-card__download,
  .help-manual-card__badge {
    width: 100%;
  }
}

.article-detail-summary {
  margin: 0 0 24px;
  padding: 18px 20px 16px;
  border-radius: 12px;
  background: #ebeefb;
}

.article-product-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #f5f7fa;
}

.article-product-card__main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
  color: inherit;
  text-decoration: none;
}

.article-product-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.article-product-card__icon--empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-cta);
}

.article-product-card__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.article-product-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary, #0f172a);
  line-height: 1.35;
}

.article-product-card__main:hover .article-product-card__name {
  color: var(--color-cta);
}

.article-product-card__desc {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--color-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-product-card__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  border: 1.5px solid var(--color-cta);
  border-radius: 10px;
  background: #fff;
  color: var(--color-cta);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.article-product-card__download:hover {
  background: var(--color-cta);
  color: #fff;
}

@media (max-width: 640px) {
  .article-product-card {
    flex-wrap: wrap;
  }

  .article-product-card__download {
    width: 100%;
  }
}

.article-detail-summary__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}

.article-detail-summary__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: linear-gradient(135deg, #4c6ef5 0%, #3b5bdb 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1;
  flex: 0 0 auto;
}

.article-detail-summary__title {
  font-size: 1rem;
  font-weight: 700;
  color: #3b5bdb;
  line-height: 1.3;
}

.article-detail-summary__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-primary, #0f172a);
}

.article-detail-summary__foot {
  margin: 12px 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #94a3b8;
}

.article-detail-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.article-detail-type {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-cta);
  background: rgba(3, 105, 161, 0.08);
  border-radius: 999px;
}

.article-detail-title {
  margin: 0 0 8px;
  font-size: 1.75rem;
  line-height: 1.4;
  color: var(--color-primary);
}

.article-detail-meta {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.article-detail-product {
  margin: 0 0 24px;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

.article-detail-product a {
  color: var(--color-cta);
  text-decoration: none;
}

.article-detail-cover {
  margin-bottom: 28px;
  width: 100%;
  max-width: 960px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #f1f5f9;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.article-detail-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.article-detail-cover--icon {
  width: fit-content;
  max-width: 148px;
  margin-bottom: 24px;
  padding: 18px 22px;
  border-radius: 16px;
  background: linear-gradient(168deg, #f8fafc 0%, #f1f5f9 100%);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.article-detail-cover--icon img {
  width: 88px;
  max-width: 88px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.article-detail-body {
  margin-top: 8px;
}

.article-detail-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.article-detail-nav__link,
.article-detail-nav__empty {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #f8fafc;
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.article-detail-nav__link:hover {
  border-color: rgba(3, 105, 161, 0.25);
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.article-detail-nav__link--next,
.article-detail-nav__empty--next {
  text-align: right;
  align-items: flex-end;
}

.article-detail-nav__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-cta);
}

.article-detail-nav__title {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.article-detail-nav__empty .article-detail-nav__label,
.article-detail-nav__empty .article-detail-nav__title {
  color: var(--color-muted);
}

.article-detail-footer {
  margin-top: 24px;
}

@media (max-width: 768px) {
  .article-detail-nav {
    grid-template-columns: 1fr;
  }

  .article-detail-nav__link--next,
  .article-detail-nav__empty--next {
    text-align: left;
    align-items: flex-start;
  }
}

/* ========== 产品详情页 ========== */
.product-page-hero {
  padding: calc(var(--nav-height) + 48px) 0 48px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1e3a5f 100%);
  color: #fff;
}

.product-page-hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.product-page-icon {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.product-page-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-page-info h1 {
  font-size: 2rem;
  color: #fff;
  margin: 8px 0 12px;
}

.product-page-desc-wrap {
  max-width: 640px;
  margin-bottom: 16px;
}

.product-page-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0;
}

.product-page-desc-wrap:not(.is-expanded) .product-page-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.product-page-desc-more {
  display: inline-block;
  margin-top: 6px;
  padding: 0;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-page-desc-more:hover {
  color: #fff;
}

.product-page-desc-more[hidden] {
  display: none;
}

.product-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}

.product-page-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.rating-stars {
  display: flex;
  gap: 2px;
  color: #FBBF24;
}

.rating-stars-sm {
  transform: scale(0.85);
  transform-origin: left center;
}

.star svg {
  width: 20px;
  height: 20px;
}

.rating-stars-sm .star svg {
  width: 16px;
  height: 16px;
}

.star-empty {
  color: rgba(255, 255, 255, 0.25);
}

.product-page-rating .rating-score {
  font-size: 1.125rem;
  font-weight: 600;
  color: #FBBF24;
}

.product-page-rating .rating-count {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.product-page-rating--pending .rating-pending-text {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
}

.reviews-summary--pending,
.review-list--pending {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 32px 24px;
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: 12px;
}

.reviews-pending-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-muted);
  text-align: center;
}

.product-page-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-page-actions .btn-outline,
.product-page-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.product-page-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.product-page-body {
  padding-top: 48px;
  padding-bottom: 64px;
}

.product-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 32px;
}

.product-tab {
  padding: 12px 24px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--transition), border-color var(--transition);
}

.product-tab:hover {
  color: var(--color-cta);
}

.product-tab.active {
  color: var(--color-cta);
  border-bottom-color: var(--color-cta);
}

.product-tab-panel {
  display: none;
}

.product-tab-panel.active {
  display: block;
}

.product-intro-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

.product-intro-main h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 16px;
  margin-top: 32px;
}

.product-intro-main h3:first-child {
  margin-top: 0;
}

.product-intro-main p {
  color: var(--color-muted);
  line-height: 1.8;
}

.info-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.info-card h4 {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.info-card dl {
  margin: 0;
}

.info-card dt {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-top: 12px;
}

.info-card dt:first-child {
  margin-top: 0;
}

.info-card dd {
  margin: 4px 0 0;
  font-size: 0.9375rem;
  color: var(--color-secondary);
  font-weight: 500;
}

.manual-wrap h3,
.reviews-wrap h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.manual-intro {
  color: var(--color-muted);
  margin-bottom: 28px;
}

.manual-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.manual-step {
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow var(--transition);
}

.manual-step:hover {
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.manual-step-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-cta);
  opacity: 0.4;
  line-height: 1;
  flex-shrink: 0;
}

.manual-step-content h4 {
  font-size: 1.0625rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.manual-step-content p {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

.manual-coming-soon {
  display: grid;
  gap: 28px;
  padding: 36px 28px 32px;
  text-align: center;
  background: linear-gradient(180deg, rgba(3, 105, 161, 0.06) 0%, #fff 55%);
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.manual-coming-soon__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.manual-coming-soon__pulse {
  position: absolute;
  width: 96px;
  height: 96px;
  border: 2px solid rgba(3, 105, 161, 0.18);
  border-radius: 50%;
  animation: manual-pulse 2.4s ease-out infinite;
}

.manual-coming-soon__icon {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  color: var(--color-cta);
  animation: manual-float 3s ease-in-out infinite;
}

.manual-coming-soon__icon svg {
  width: 100%;
  height: 100%;
}

.manual-coming-soon__pen {
  transform-origin: 30px 30px;
  animation: manual-write 1.8s ease-in-out infinite;
}

.manual-coming-soon__dots {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.manual-coming-soon__dots span {
  width: 8px;
  height: 8px;
  background: var(--color-cta);
  border-radius: 50%;
  opacity: 0.35;
  animation: manual-dot 1.4s ease-in-out infinite;
}

.manual-coming-soon__dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.manual-coming-soon__dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.manual-coming-soon__card {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.manual-coming-soon__content {
  text-align: center;
}

.manual-coming-soon__content h2 {
  font-size: 1.375rem;
  margin-bottom: 0.75em;
}

.manual-coming-soon__content ul {
  display: inline-block;
  margin: 0.75em auto 0;
  text-align: left;
}

.manual-coming-soon__progress {
  height: 4px;
  margin-top: 24px;
  overflow: hidden;
  background: rgba(3, 105, 161, 0.1);
  border-radius: 999px;
}

.manual-coming-soon__progress-bar {
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-cta), #38bdf8);
  border-radius: inherit;
  animation: manual-progress 2.2s ease-in-out infinite;
}

@keyframes manual-pulse {
  0% {
    transform: scale(0.85);
    opacity: 0.7;
  }

  70% {
    transform: scale(1.15);
    opacity: 0;
  }

  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

@keyframes manual-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes manual-write {
  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(-8deg);
  }
}

@keyframes manual-dot {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }

  40% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

@keyframes manual-progress {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(320%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .manual-coming-soon__pulse,
  .manual-coming-soon__icon,
  .manual-coming-soon__pen,
  .manual-coming-soon__dots span,
  .manual-coming-soon__progress-bar {
    animation: none;
  }

  .manual-coming-soon__dots span {
    opacity: 0.7;
  }
}

.manual-coming-soon--compact {
  gap: 14px;
  padding: 18px 14px 16px;
}

.manual-coming-soon--compact .manual-coming-soon__visual {
  min-height: 72px;
  gap: 10px;
}

.manual-coming-soon--compact .manual-coming-soon__pulse {
  width: 64px;
  height: 64px;
}

.manual-coming-soon--compact .manual-coming-soon__icon {
  width: 48px;
  height: 48px;
}

.manual-coming-soon--compact .manual-coming-soon__card {
  max-width: none;
}

.manual-coming-soon--compact .manual-coming-soon__content h2 {
  font-size: 0.9375rem;
  margin-bottom: 0.35em;
}

.manual-coming-soon--compact .manual-coming-soon__content p {
  font-size: 0.8125rem;
  margin: 0;
}

.manual-coming-soon--compact .manual-coming-soon__content ul {
  display: none;
}

.manual-coming-soon--compact .manual-coming-soon__progress {
  margin-top: 12px;
}

.article-column-empty-content {
  flex: 1;
}

.article-column-card--empty .manual-coming-soon {
  border: none;
  background: transparent;
  padding: 8px 0 4px;
}

.manual-faq-block {
  margin-bottom: 32px;
}

.manual-faq-block h4 {
  font-size: 1.0625rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.manual-tutorial {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.manual-tutorial-nav {
  position: sticky;
  top: calc(var(--nav-height, 72px) + 16px);
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  max-height: calc(100vh - var(--nav-height, 72px) - 32px);
  overflow: hidden;
}

.manual-tutorial-nav__links {
  flex: 1;
  min-height: 0;
  padding: 16px;
  overflow-y: auto;
}

.manual-tutorial-nav__footer {
  flex-shrink: 0;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--color-border);
  background: #fff;
}

.manual-tutorial-back-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-secondary);
  cursor: pointer;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.manual-tutorial-back-top svg {
  width: 16px;
  height: 16px;
}

.manual-tutorial-back-top:hover {
  color: var(--color-cta);
  background: rgba(3, 105, 161, 0.08);
  border-color: rgba(3, 105, 161, 0.25);
}

.manual-tutorial-chapter + .manual-tutorial-chapter {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.manual-tutorial-chapter-title {
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

.manual-tutorial-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.manual-tutorial-link {
  width: 100%;
  padding: 8px 10px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-muted);
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: none;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}

.manual-tutorial-link:hover,
.manual-tutorial-link.active {
  color: var(--color-primary);
  background: rgba(3, 105, 161, 0.08);
}

.manual-tutorial-link.active {
  box-shadow: inset 3px 0 0 var(--color-cta);
}



.manual-tutorial-section {
  scroll-margin-top: calc(var(--nav-height, 72px) + 20px);
}

.manual-tutorial-section + .manual-tutorial-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.manual-tutorial-section__head {
  margin-bottom: 16px;
}

.manual-tutorial-section__chapter {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-cta);
}

.manual-tutorial-section__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
}

.manual-tutorial-section__body > :first-child {
  margin-top: 0;
}
.manual-tutorial-content {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.product-md-content {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-secondary);
}

.product-md-content h1,
.product-md-content h2,
.product-md-content h3,
.product-md-content h4 {
  margin: 1.2em 0 0.6em;
  color: var(--color-primary);
  line-height: 1.35;
}

.product-md-content h1:first-child,
.product-md-content h2:first-child,
.product-md-content h3:first-child {
  margin-top: 0;
}

.product-md-content ul {
  padding-left: 1.25rem;
  margin: 0.75em 0;
}

.product-md-content li + li {
  margin-top: 0.35em;
}

.product-md-content p + p {
  margin-top: 0.75em;
}

.product-md-content .md-hr {
  margin: 1.5em 0;
  border: none;
  border-top: 1px solid var(--color-border);
}

.product-md-content .md-blockquote {
  margin: 1em 0;
  padding: 12px 16px;
  color: var(--color-secondary);
  background: rgba(3, 105, 161, 0.06);
  border-left: 4px solid var(--color-cta);
  border-radius: 0 8px 8px 0;
}

.product-md-content .md-blockquote p {
  margin: 0;
}

.product-md-content .md-blockquote p + p {
  margin-top: 0.5em;
}

.product-md-content .md-table-wrap {
  margin: 1em 0;
  overflow-x: auto;
}

.product-md-content .md-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.product-md-content .md-table th,
.product-md-content .md-table td {
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--color-border);
}

.product-md-content .md-table th {
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(3, 105, 161, 0.06);
}

.product-md-content .md-table tr:nth-child(even) td {
  background: rgba(15, 23, 42, 0.02);
}

.product-md-content code {
  padding: 0.15em 0.4em;
  font-size: 0.9em;
  background: rgba(15, 23, 42, 0.06);
  border-radius: 4px;
}

.product-md-content .md-pre {
  margin: 1em 0;
  padding: 14px 16px;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.6;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.product-md-content .md-pre code {
  padding: 0;
  background: transparent;
}

.product-md-content .md-list {
  padding-left: 1.25rem;
  margin: 0.75em 0;
}

.product-md-content .md-list li + li {
  margin-top: 0.35em;
}

.product-md-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-md-empty {
  color: var(--color-muted);
}

.reviews-summary {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
}

.reviews-score-box {
  text-align: center;
  border-right: 1px solid var(--color-border);
  padding-right: 32px;
}

.reviews-big-score {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.reviews-total {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-top: 8px;
}

.reviews-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.review-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-bar-label {
  font-size: 0.8125rem;
  color: var(--color-muted);
  width: 36px;
  flex-shrink: 0;
}

.review-bar-track {
  flex: 1;
  height: 8px;
  background: var(--color-bg);
  border-radius: 4px;
  overflow: hidden;
}

.review-bar-fill {
  height: 100%;
  background: #FBBF24;
  border-radius: 4px;
  transition: width 0.6s ease;
}

.review-bar-pct {
  font-size: 0.8125rem;
  color: var(--color-muted);
  width: 36px;
  text-align: right;
  flex-shrink: 0;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(3, 105, 161, 0.1);
  color: var(--color-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.review-avatar-img {
  display: block;
  object-fit: cover;
  background: var(--color-surface);
}

.review-card-header strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-primary);
}

.review-role {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.review-card-rating {
  margin-left: auto;
  text-align: right;
}

.review-date {
  display: block;
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 2px;
}

.review-comment {
  color: var(--color-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.9375rem;
  color: var(--color-secondary);
}

.feature-list li svg {
  width: 18px;
  height: 18px;
  color: var(--color-cta);
  flex-shrink: 0;
}

.changelog-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.changelog-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.changelog-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-cta);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ========== 下载中心 ========== */
.download-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.download-toolbar-meta {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

.download-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.download-list-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--color-muted);
}

.download-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px 24px;
  cursor: pointer;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.download-item:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: 2px;
}

.download-item:hover {
  border-color: rgba(3, 105, 161, 0.28);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.download-item-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.download-item-info {
  flex: 1;
  min-width: 0;
}

.download-item-info h3 {
  font-size: 1.0625rem;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.download-item-info p {
  color: var(--color-muted);
  font-size: 0.875rem;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.download-item-meta {
  text-align: right;
  flex-shrink: 0;
}

.download-item-meta .version {
  font-size: 0.875rem;
  color: var(--color-secondary);
  font-weight: 500;
}

.download-item-meta .date {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

/* ========== 关于/联系 ========== */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  color: var(--color-muted);
  line-height: 1.9;
  margin-bottom: 20px;
  font-size: 1.0625rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}

.stat-card .number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-cta);
  margin-bottom: 4px;
}

.stat-card .label {
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-cta);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item__body {
  flex: 1;
  min-width: 0;
}

.contact-info-item h4 {
  font-size: 0.9375rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.contact-info-item__value,
.contact-info-item__hint {
  display: block;
  color: var(--color-muted);
  font-size: 0.9375rem;
  margin: 0;
  line-height: 1.5;
  word-break: break-word;
}

.contact-info-item__value a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-info-item__value a:hover {
  color: var(--color-cta);
}

.contact-info-item__hint {
  margin-bottom: 0;
}

.contact-info-qrcode {
  margin-top: 12px;
  width: 140px;
  padding: 6px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}

.contact-info-qrcode img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.contact-info-item p {
  color: var(--color-muted);
  font-size: 0.9375rem;
  margin: 0;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-secondary);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-cta);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-feedback {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.contact-form-feedback--success {
  color: #047857;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.contact-form-feedback--error {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.contact-form-feedback--info {
  color: var(--color-secondary);
  background: #f8fafc;
  border: 1px solid var(--color-border);
}

/* ========== 登录页 ========== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 32px) 24px 48px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  overflow: visible;
}

.login-card h1 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 8px;
}

.login-card .subtitle {
  text-align: center;
  color: var(--color-muted);
  font-size: 0.9375rem;
  margin-bottom: 32px;
}

.login-tabs {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 28px;
}

.login-tab {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
}

.login-tab.active {
  color: var(--color-cta);
  border-bottom-color: var(--color-cta);
}

.login-tab:hover {
  color: var(--color-cta);
}

.login-panel {
  display: none;
}

.login-panel.active {
  display: block;
}

.qrcode-login {
  text-align: center;
  padding: 20px 0;
}

.qrcode-login .qrcode-box {
  width: 180px;
  height: 180px;
  margin: 0 auto 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 8px;
}

.qrcode-login p {
  color: var(--color-muted);
  font-size: 0.875rem;
}

.login-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.login-form .form-group {
  margin-bottom: 18px;
}

.login-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-secondary);
}

.login-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.login-form input:focus {
  outline: none;
  border-color: var(--color-cta);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1);
}

.login-code-row {
  display: flex;
  gap: 10px;
}

.login-code-row input {
  flex: 1;
  min-width: 0;
}

.login-code-btn {
  flex-shrink: 0;
  min-width: 112px;
  padding: 0 14px;
  white-space: nowrap;
}

.login-submit-btn {
  width: 100%;
}

.login-form-feedback {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.login-form-feedback--success {
  color: #047857;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.login-form-feedback--error {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.login-form-feedback--info {
  color: var(--color-secondary);
  background: #f8fafc;
  border: 1px solid var(--color-border);
}

.login-coming-soon {
  padding: 28px 8px 12px;
  text-align: center;
}

.login-coming-soon__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  color: var(--color-cta);
  background: rgba(3, 105, 161, 0.08);
  border-radius: 14px;
}

.login-coming-soon__icon svg {
  width: 28px;
  height: 28px;
}

.login-coming-soon h3 {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  color: var(--color-primary);
}

.login-coming-soon p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.login-wechat-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 420px;
  padding: 4px 0 0;
  overflow: visible;
}

.login-wechat-tip {
  margin: 0 0 8px;
  font-size: 0.875rem;
  color: var(--color-muted);
  text-align: center;
}

.login-wechat-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 400px;
  overflow: visible;
}

.login-wechat-qr iframe {
  display: block;
  width: 300px !important;
  height: 400px !important;
  border: 0;
  overflow: hidden;
}

.login-wechat-feedback {
  width: 100%;
  margin-top: 8px;
}

@media (max-width: 480px) {
  .login-card {
    padding: 28px 20px 32px;
  }

  .login-wechat-qr {
    width: 280px;
    height: 380px;
    transform: scale(0.92);
    transform-origin: top center;
  }

  .login-wechat-qr iframe {
    width: 280px !important;
    height: 380px !important;
  }

  .login-wechat-wrap {
    min-height: 390px;
  }
}

.navbar-user-menu {
  position: relative;
}

.navbar-user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 168px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.92);
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.navbar-user-trigger:hover,
.navbar-user-menu.is-open .navbar-user-trigger {
  border-color: rgba(3, 105, 161, 0.35);
  background: rgba(224, 242, 254, 0.65);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.navbar-user-avatar {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(3, 105, 161, 0.12);
}

.navbar-user-avatar-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.navbar-user-avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.navbar-user-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
}

.navbar-user-chevron {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--color-muted);
  transition: transform var(--transition);
}

.navbar-user-menu.is-open .navbar-user-chevron {
  transform: rotate(180deg);
}

.navbar-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  min-width: 196px;
  padding: 8px;
  background: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.navbar-user-dropdown__meta {
  padding: 6px 10px 10px;
  border-bottom: 1px solid rgba(3, 105, 161, 0.08);
}

.navbar-user-dropdown__label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.navbar-user-dropdown__phone {
  display: block;
  margin-top: 2px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

.navbar-user-dropdown__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 0;
}

.navbar-user-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-secondary);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.navbar-user-dropdown__item svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--color-cta);
}

.navbar-user-dropdown__item:hover {
  color: var(--color-cta);
  background: rgba(3, 105, 161, 0.08);
}

.navbar-user-dropdown__footer {
  padding-top: 6px;
  border-top: 1px solid rgba(3, 105, 161, 0.08);
}

.navbar-user-dropdown__logout {
  width: 100%;
  padding: 9px 10px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: #b91c1c;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
}

.navbar-user-dropdown__logout:hover {
  background: rgba(239, 68, 68, 0.08);
}

.user-center-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.user-center-page .container {
  max-width: 1100px;
}

.user-center-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.user-center-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.user-center-sidebar__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(3, 105, 161, 0.08);
}

.user-center-sidebar__avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(224, 242, 254, 0.5);
  box-shadow: inset 0 0 0 1px rgba(3, 105, 161, 0.12);
}

.user-center-sidebar__avatar svg,
.user-center-sidebar__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-center-sidebar__meta {
  min-width: 0;
}

.user-center-sidebar__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
}

.user-center-sidebar__uid {
  margin-top: 2px;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.user-center-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 14px;
}

.user-center-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-secondary);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.user-center-nav__item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-muted);
}

.user-center-nav__item:hover {
  color: var(--color-cta);
  background: rgba(3, 105, 161, 0.06);
}

.user-center-nav__item:hover svg {
  color: var(--color-cta);
}

.user-center-nav__item.active {
  color: var(--color-cta);
  background: rgba(3, 105, 161, 0.1);
  font-weight: 600;
}

.user-center-nav__item.active svg {
  color: var(--color-cta);
}

.user-center-main {
  min-width: 0;
}

.user-center-panel[hidden] {
  display: none !important;
}

.user-center-panel__header h2 {
  margin: 0 0 6px;
  font-size: 1.375rem;
}

.user-center-panel__header p {
  margin: 0 0 20px;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.user-center-panel__empty {
  margin: 0;
  padding: 48px 24px;
}

.user-center-panel__empty--compact {
  padding-top: 24px;
  padding-bottom: 32px;
}

.user-center-panel__empty h3 {
  margin: 0 0 8px;
  font-size: 1.125rem;
}

.user-center-gift-form {
  margin-bottom: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--color-border);
  border-radius: 14px;
}

.user-center-coupon-claim {
  margin-bottom: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--color-border);
  border-radius: 14px;
}

.user-center-coupon-claim label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.user-center-coupon-claim .form-hint {
  margin: 10px 0 0;
}

.user-center-coupon-claim .login-form-feedback {
  margin-top: 10px;
}

.user-center-coupon-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.user-center-coupon-filter {
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.user-center-coupon-filter:hover {
  color: var(--color-secondary);
  border-color: rgba(37, 99, 235, 0.25);
}

.user-center-coupon-filter.is-active {
  color: var(--color-cta);
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.35);
}

.user-center-coupon-loading {
  margin: 8px 0 16px;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.user-center-coupon-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.user-center-coupon-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.user-center-coupon-card.is-muted {
  opacity: 0.72;
}

.user-center-coupon-card__amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 18px 12px;
  color: #fff;
  text-align: center;
  background: linear-gradient(160deg, #2563eb 0%, #1d4ed8 100%);
}

.user-center-coupon-card.is-muted .user-center-coupon-card__amount {
  background: linear-gradient(160deg, #64748b 0%, #475569 100%);
}

.user-center-coupon-card__currency {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
}

.user-center-coupon-card__value {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
}

.user-center-coupon-card__rule {
  margin-top: 4px;
  font-size: 0.75rem;
  line-height: 1.3;
  opacity: 0.92;
}

.user-center-coupon-card__body {
  padding: 16px 18px;
  min-width: 0;
}

.user-center-coupon-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.user-center-coupon-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.user-center-coupon-card__status {
  flex-shrink: 0;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
}

.user-center-coupon-card__status--available {
  color: #15803d;
  background: rgba(34, 197, 94, 0.12);
}

.user-center-coupon-card__status--used {
  color: #475569;
  background: rgba(100, 116, 139, 0.12);
}

.user-center-coupon-card__status--locked {
  color: #b45309;
  background: rgba(245, 158, 11, 0.14);
}

.user-center-coupon-card__status--expired {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.1);
}

.user-center-coupon-card__desc,
.user-center-coupon-card__meta {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-muted);
}

.user-center-coupon-card__desc {
  color: var(--color-secondary);
}

.user-center-gift-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.user-center-gift-form .login-form-feedback {
  margin-top: 10px;
}

.user-center-gift-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.user-center-gift-card {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.user-center-gift-card.is-muted {
  opacity: 0.78;
}

.user-center-gift-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.user-center-gift-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.user-center-gift-card__sub {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.user-center-order-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.user-center-order-card {
  padding: 10px 14px 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  border-left-width: 3px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.user-center-order-card--paid {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.07) 0%, rgba(255, 255, 255, 0.9) 28%);
  border-left-color: #22c55e;
  border-color: rgba(34, 197, 94, 0.22);
}

.user-center-order-card--pending {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.08) 0%, rgba(255, 255, 255, 0.92) 28%);
  border-left-color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.22);
}

.user-center-order-card--failed,
.user-center-order-card--cancelled {
  background: rgba(248, 250, 252, 0.95);
  border-left-color: #94a3b8;
  border-color: rgba(148, 163, 184, 0.28);
  opacity: 0.92;
}

.user-center-order-card__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.user-center-order-card__info {
  flex: 1;
  min-width: 0;
}

.user-center-order-card__top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 3px;
}

.user-center-order-card__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-secondary);
}

.user-center-order-card__pkg {
  padding: 1px 7px;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.4;
  color: #475569;
  background: rgba(100, 116, 139, 0.1);
  border-radius: 4px;
}

.user-center-order-card--paid .user-center-order-card__pkg {
  color: #166534;
  background: rgba(34, 197, 94, 0.12);
}

.user-center-order-card--pending .user-center-order-card__pkg {
  color: #92400e;
  background: rgba(245, 158, 11, 0.14);
}

.user-center-order-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--color-muted);
}

.user-center-order-card__meta > span:not(:last-child)::after {
  content: '·';
  margin: 0 6px;
  color: rgba(100, 116, 139, 0.45);
}

.user-center-order-card__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  gap: 4px;
}

.user-center-order-card__amount {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.user-center-order-card__price {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-secondary);
}

.user-center-order-card--paid .user-center-order-card__price {
  color: #15803d;
}

.user-center-order-card--pending .user-center-order-card__price {
  color: #b45309;
}

.user-center-order-card__original {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-decoration: line-through;
}

.user-center-order-card__status {
  flex-shrink: 0;
  padding: 1px 7px;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.5;
  border-radius: 999px;
}

.user-center-order-card__status--paid {
  color: #15803d;
  background: rgba(34, 197, 94, 0.16);
}

.user-center-order-card__status--pending {
  color: #b45309;
  background: rgba(245, 158, 11, 0.18);
}

.user-center-order-card__status--failed,
.user-center-order-card__status--cancelled {
  color: #64748b;
  background: rgba(100, 116, 139, 0.14);
}

@media (max-width: 640px) {
  .user-center-order-card__main {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .user-center-order-card__side {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.user-center-member-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.user-center-member-card {
  padding: 20px 24px 20px 18px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  border-left-width: 4px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.user-center-member-card--active,
.user-center-member-card--permanent {
  background: linear-gradient(160deg, #0c0c0c 0%, #1a1a1a 48%, #101010 100%);
  border-color: rgba(212, 175, 55, 0.38);
  border-left-color: #d4af37;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.user-center-member-card--active .user-center-member-card__title,
.user-center-member-card--permanent .user-center-member-card__title {
  color: #f5e6b8;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

.user-center-member-card--active .user-center-member-card__meta,
.user-center-member-card--permanent .user-center-member-card__meta {
  color: rgba(245, 230, 184, 0.74);
}

.user-center-member-card--active .user-center-member-card__meta > span:not(:last-child)::after,
.user-center-member-card--permanent .user-center-member-card__meta > span:not(:last-child)::after {
  color: rgba(212, 175, 55, 0.5);
}

.user-center-member-card--active .user-center-member-card__pkg,
.user-center-member-card--permanent .user-center-member-card__pkg {
  color: #f5e6b8;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.34);
}

.user-center-member-card--expiring,
.user-center-member-card--pending {
  background: linear-gradient(160deg, #14120e 0%, #1f1b14 48%, #16130f 100%);
  border-left-color: #d4a017;
  border-color: rgba(212, 175, 55, 0.28);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.user-center-member-card--expiring .user-center-member-card__title,
.user-center-member-card--pending .user-center-member-card__title {
  color: #f8e8b8;
}

.user-center-member-card--expiring .user-center-member-card__meta,
.user-center-member-card--pending .user-center-member-card__meta {
  color: rgba(248, 232, 184, 0.72);
}

.user-center-member-card--expired,
.user-center-member-card--unknown {
  background: linear-gradient(160deg, #111111 0%, #1a1a1a 48%, #141414 100%);
  border-left-color: #6b7280;
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.user-center-member-card--expired .user-center-member-card__title,
.user-center-member-card--unknown .user-center-member-card__title {
  color: rgba(226, 232, 240, 0.88);
}

.user-center-member-card--expired .user-center-member-card__meta,
.user-center-member-card--unknown .user-center-member-card__meta {
  color: rgba(148, 163, 184, 0.88);
}

.user-center-member-card.is-muted {
  opacity: 0.9;
}

.user-center-member-card__main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

.user-center-member-card__info {
  flex: 1;
  min-width: 0;
}

.user-center-member-card__top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.user-center-member-card__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-secondary);
}

.user-center-member-card__pkg {
  padding: 4px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  color: #166534;
  background: rgba(34, 197, 94, 0.12);
  border-radius: 6px;
}

.user-center-member-card--pending .user-center-member-card__pkg,
.user-center-member-card--expiring .user-center-member-card__pkg {
  color: #f8e8b8;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.28);
}

.user-center-member-card--expired .user-center-member-card__pkg,
.user-center-member-card--unknown .user-center-member-card__pkg {
  color: #94a3b8;
  background: rgba(100, 116, 139, 0.16);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.user-center-member-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.user-center-member-card__meta > span:not(:last-child)::after {
  content: '·';
  margin: 0 8px;
  color: rgba(100, 116, 139, 0.45);
}

.user-center-member-card__status {
  flex-shrink: 0;
  padding: 5px 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5;
  border-radius: 999px;
}

.user-center-member-card__status--active,
.user-center-member-card__status--permanent {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.user-center-member-card__status--active {
  color: #f5e6b8;
  background: linear-gradient(160deg, #0c0c0c 0%, #1f1f1f 44%, #141414 100%);
  border: 1px solid rgba(212, 175, 55, 0.56);
}

.user-center-member-card__status--active::after,
.user-center-member-card__status--permanent::after {
  content: "";
  position: absolute;
  inset: -30% -50%;
  background: linear-gradient(
    105deg,
    transparent 26%,
    rgba(255, 255, 255, 0.08) 38%,
    rgba(255, 255, 255, 0.82) 50%,
    rgba(255, 223, 140, 0.62) 54%,
    rgba(255, 255, 255, 0.08) 62%,
    transparent 74%
  );
  transform: translateX(-120%) rotate(10deg);
  animation: member-status-shimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}

.user-center-member-card__status--permanent {
  color: #fff7d6;
  background: linear-gradient(160deg, #0c0c0c 0%, #242424 44%, #161616 100%);
  border: 1px solid rgba(245, 208, 120, 0.62);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.user-center-member-card__status--pending,
.user-center-member-card__status--expiring {
  color: #f8e8b8;
  background: linear-gradient(160deg, #1a160f 0%, #2a2318 44%, #1c1812 100%);
  border: 1px solid rgba(212, 175, 55, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.user-center-member-card__status--expired,
.user-center-member-card__status--unknown {
  color: #cbd5e1;
  background: linear-gradient(160deg, #1a1a1a 0%, #2a2a2a 44%, #1f1f1f 100%);
  border: 1px solid rgba(148, 163, 184, 0.34);
}

@keyframes member-status-shimmer {
  0% {
    transform: translateX(-120%) rotate(10deg);
  }

  100% {
    transform: translateX(120%) rotate(10deg);
  }
}

@media (max-width: 640px) {
  .user-center-member-card {
    padding: 16px 18px 16px 14px;
  }

  .user-center-member-card__title {
    font-size: 1.0625rem;
  }

  .user-center-member-card__meta {
    font-size: 0.875rem;
  }

  .user-center-member-card__main {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .user-center-member-card__status {
    align-self: flex-start;
  }
}

.user-center-gift-card__status {
  flex-shrink: 0;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
}

.user-center-gift-card__status--pending {
  color: #b45309;
  background: rgba(245, 158, 11, 0.14);
}

.user-center-gift-card__status--processing {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.1);
}

.user-center-gift-card__status--done {
  color: #15803d;
  background: rgba(34, 197, 94, 0.12);
}

.user-center-gift-card__status--rejected {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.1);
}

.user-center-gift-card__desc,
.user-center-gift-card__meta {
  margin: 6px 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.user-center-gift-card__guide {
  margin-top: 12px;
  padding: 12px 14px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 10px;
}

.user-center-gift-card__guide p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-secondary);
}

.user-center-gift-card__reject {
  margin: 10px 0 0;
  font-size: 0.8125rem;
  color: #b91c1c;
}

.user-center-panel__header--with-action {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.user-center-system-summary {
  margin: 0 0 12px;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-cta);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 10px;
}

.user-center-system-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.user-center-system-item {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.user-center-system-item:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.user-center-system-item.is-unread {
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(255, 255, 255, 0.95);
}

.user-center-system-item__main {
  flex: 1;
  min-width: 0;
}

.user-center-system-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.user-center-system-item__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.user-center-system-item__tag {
  flex-shrink: 0;
  padding: 2px 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-muted);
  background: rgba(100, 116, 139, 0.1);
  border-radius: 999px;
}

.user-center-system-item__content {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--color-secondary);
  white-space: pre-wrap;
}

.user-center-system-item__time {
  margin: 8px 0 0;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.user-center-system-item__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--color-cta);
}

.user-center-layout {
  max-width: 720px;
  margin: 0 auto;
}

.user-center-card--profile {
  padding: 32px 28px 24px;
}

.user-center-avatar-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
}

.user-center-avatar-wrap {
  width: 88px;
  height: 88px;
}

.user-center-avatar-wrap.is-uploading {
  opacity: 0.65;
  pointer-events: none;
}

.user-center-avatar-block.is-uploading .user-center-avatar-change {
  opacity: 0.65;
  pointer-events: none;
}

.user-center-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(3, 105, 161, 0.18);
  background: rgba(224, 242, 254, 0.5);
}

.user-center-avatar-svg,
.user-center-avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-center-avatar-change {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-cta);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--transition), opacity var(--transition);
}

.user-center-avatar-change svg {
  width: 16px;
  height: 16px;
}

.user-center-avatar-change:hover {
  color: var(--color-cta-hover);
}

.user-center-avatar-hint {
  margin: 6px 0 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.user-center-form .form-group {
  margin-bottom: 18px;
}

.user-center-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.user-center-form input[type="text"],
.user-center-form input[type="date"],
.user-center-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.user-center-form input:focus,
.user-center-form select:focus {
  outline: none;
  border-color: var(--color-cta);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.12);
}

.user-center-form input[readonly] {
  background: rgba(248, 250, 252, 0.9);
  color: var(--color-muted);
  cursor: default;
}

.user-center-field-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.user-center-field-row input {
  flex: 1;
  min-width: 0;
}

.user-center-copy-btn,
.user-center-phone-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.user-center-copy-btn svg {
  width: 15px;
  height: 15px;
}

.user-center-copy-btn:hover,
.user-center-phone-toggle:hover {
  border-color: rgba(3, 105, 161, 0.35);
  color: var(--color-cta);
  background: rgba(224, 242, 254, 0.45);
}

.user-center-copy-btn.is-copied {
  border-color: rgba(16, 185, 129, 0.4);
  color: #059669;
  background: rgba(16, 185, 129, 0.08);
}

.user-center-phone-field {
  cursor: pointer;
}

.user-center-phone-field:hover {
  border-color: rgba(3, 105, 161, 0.25);
}

.user-center-form__readonly {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(3, 105, 161, 0.08);
}

.user-center-form .form-hint {
  margin: 6px 0 0;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.user-center-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.user-center-form__actions {
  margin-top: 16px;
}

.user-center-save-btn {
  width: 100%;
  min-height: 52px;
  font-size: 1.0625rem;
  font-weight: 600;
}

.user-center-card__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 4px;
}

.user-center-delete-btn {
  border: none;
  background: none;
  padding: 4px 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: #94a3b8;
  cursor: pointer;
  transition: color var(--transition);
}

.user-center-delete-btn:hover {
  color: #b91c1c;
}

.user-center-delete-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========== 头像裁剪弹窗 ========== */
.avatar-crop-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.avatar-crop-modal[hidden] {
  display: none;
}

.avatar-crop-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.avatar-crop-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  padding: 24px;
  background: rgba(248, 250, 252, 0.98);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.avatar-crop-modal__header h3 {
  margin: 0 0 6px;
  font-size: 1.125rem;
}

.avatar-crop-modal__header p {
  margin: 0 0 18px;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.avatar-crop-stage {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: #0f172a;
  cursor: grab;
  touch-action: none;
  user-select: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.avatar-crop-stage.is-dragging {
  cursor: grabbing;
}

.avatar-crop-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.avatar-crop-mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.avatar-crop-mask::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.45);
  pointer-events: none;
}

.avatar-crop-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.avatar-crop-controls label {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.avatar-crop-controls input[type="range"] {
  flex: 1;
  accent-color: var(--color-cta);
}

.avatar-crop-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

@media (max-width: 640px) {
  .user-center-shell {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .user-center-sidebar {
    position: static;
    padding: 14px;
  }

  .user-center-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    margin-top: 12px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .user-center-nav__item {
    flex-shrink: 0;
    width: auto;
    padding: 8px 12px;
    white-space: nowrap;
  }

  .user-center-coupon-card {
    grid-template-columns: 1fr;
  }

  .user-center-coupon-card__amount {
    flex-direction: row;
    gap: 6px;
    padding: 14px 16px;
  }

  .user-center-coupon-card__value {
    font-size: 1.5rem;
  }

  .user-center-coupon-card__rule {
    margin-top: 0;
    margin-left: auto;
  }

  .user-center-form .form-row {
    grid-template-columns: 1fr;
  }

  .user-center-card--profile {
    padding: 24px 18px 20px;
  }
}

/* ========== 淡入动画 ========== */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .security-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-intro-grid {
    grid-template-columns: 1fr;
  }

  .manual-tutorial {
    grid-template-columns: 1fr;
  }

  .manual-tutorial-nav {
    position: static;
    max-height: none;
  }

  .manual-tutorial-nav__links {
    max-height: 220px;
  }

  .info-card {
    position: static;
  }

  .reviews-summary {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .reviews-score-box {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-right: 0;
    padding-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .navbar-nav,
  .navbar-actions .btn-ghost {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .navbar-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
  }

  .site-header {
    top: 8px;
    left: 8px;
    right: 8px;
  }

  body[data-page="index"] .site-header {
    top: 0;
    left: 0;
    right: 0;
  }

  .hero-section {
    padding-top: calc(var(--nav-height) + 32px);
  }

  body[data-page="index"] .hero-section {
    padding-top: var(--nav-height);
  }

  .page-404 {
    padding-top: calc(var(--nav-height) + 8px + 56px);
  }

  .page-404--embedded {
    padding-top: calc(var(--nav-height) + 8px + 32px);
  }

  body[data-page="index"] .swiper-hero .swiper-slide {
    min-height: 420px;
  }

  body[data-page="index"] .slide-content {
    padding-top: 28px;
    padding-bottom: 48px;
  }

  .swiper-hero .swiper-slide {
    min-height: 320px;
  }

  .slide-content {
    padding: 32px 24px;
  }

  .slide-content h2 {
    font-size: 1.5rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .advantage-item {
    flex-direction: column;
    gap: 12px;
    padding: 24px;
  }

  .product-page-hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .product-page-desc-wrap {
    margin-left: auto;
    margin-right: auto;
  }

  .product-page-meta,
  .product-page-rating,
  .product-page-actions {
    justify-content: center;
  }

  .review-card-rating {
    margin-left: 0;
    width: 100%;
    text-align: left;
  }

  .product-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .product-tab {
    flex-shrink: 0;
  }

  .security-content h2 {
    font-size: 1.5rem;
  }

  .security-cert {
    padding: 24px 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links--products {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .download-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .download-toolbar .product-search {
    justify-content: flex-end;
  }

  .download-item {
    flex-direction: column;
    text-align: center;
  }

  .download-item-meta {
    text-align: center;
  }

  .float-toolbar {
    right: 16px;
    bottom: 24px;
  }

  .purchase-layout {
    grid-template-columns: 1fr;
  }

  .purchase-sidebar {
    order: -1;
  }

  .plan-grid {
    grid-template-columns: 1fr;
  }

  .pay-qrcode-grid {
    grid-template-columns: 1fr;
  }

  .purchase-product {
    flex-direction: column;
    text-align: center;
  }
}

/* ========== 购买页 ========== */
.purchase-hero {
  padding: calc(var(--nav-height) + 40px) 0 40px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1e3a5f 100%);
  color: #fff;
}

.purchase-hero-inner h1 {
  color: #fff;
  font-size: 1.75rem;
  margin: 8px 0;
}

.purchase-hero-inner p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.purchase-product {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.purchase-product-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  flex-shrink: 0;
}

.purchase-trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.92);
}

.purchase-body {
  padding-bottom: 64px;
}

.purchase-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.purchase-section-title {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
  --plan-price-color: #c41e3a;
  --plan-price-active: #b91c1c;
  --plan-price-origin: #f87171;
  --plan-price-origin-active: #ef4444;
  --plan-luxury-gold: #ca8a04;
  --plan-luxury-gold-soft: rgba(202, 138, 4, 0.14);
  --plan-active-bg: #f0f7ff;
  --plan-active-border: rgba(3, 105, 161, 0.32);
}

.plan-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.97) 0%, rgba(250, 250, 249, 0.94) 100%);
  border: 1px solid rgba(231, 229, 228, 0.9);
  border-radius: 20px;
  padding: 30px 22px 24px;
  text-align: center;
  cursor: pointer;
  box-shadow:
    0 1px 2px rgba(12, 10, 9, 0.04),
    0 10px 28px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(10px);
  transition:
    border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.32s ease;
  font-family: var(--font-body);
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 0%, rgba(202, 138, 4, 0.07), transparent 58%),
    radial-gradient(circle at 50% 0%, rgba(3, 105, 161, 0.05), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.plan-card-select {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-card-select-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: rgba(255, 255, 255, 0.9);
  transition:
    border-color 0.32s ease,
    background-color 0.32s ease,
    box-shadow 0.32s ease,
    transform 0.32s ease;
}

.plan-card-select-icon {
  width: 12px;
  height: 12px;
  color: transparent;
  opacity: 0;
  transform: scale(0.7);
  transition:
    color 0.32s ease,
    opacity 0.32s ease,
    transform 0.32s ease;
}

.plan-card:hover {
  border-color: rgba(202, 138, 4, 0.22);
  box-shadow:
    0 2px 4px rgba(12, 10, 9, 0.04),
    0 16px 36px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.plan-card:hover::before {
  opacity: 1;
}

.plan-card:hover .plan-card-select-ring {
  border-color: rgba(3, 105, 161, 0.35);
}

.plan-card:focus-visible {
  outline: none;
  border-color: rgba(3, 105, 161, 0.38);
  box-shadow:
    0 14px 32px rgba(15, 23, 42, 0.07),
    0 0 0 3px rgba(3, 105, 161, 0.14);
}

.plan-card.active {
  border: 1.5px solid var(--plan-active-border);
  background: var(--plan-active-bg);
  box-shadow: 0 16px 36px rgba(3, 105, 161, 0.08);
  transform: translateY(-3px);
  z-index: 1;
}

.plan-card.active::before {
  opacity: 0;
}

.plan-card.active .plan-card-select-ring {
  border-color: var(--color-cta);
  background: var(--color-cta);
  box-shadow: 0 0 0 4px rgba(3, 105, 161, 0.1);
}

.plan-card.active .plan-card-select-icon {
  color: #fff;
  opacity: 1;
  transform: scale(1);
}

.plan-save-tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 3px 11px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #92400e;
  background: var(--plan-luxury-gold-soft);
  border: 1px solid rgba(202, 138, 4, 0.22);
  border-radius: 999px;
}

.plan-card:not(.active) .plan-period {
  color: var(--color-secondary);
}

.plan-card:not(.active) .plan-price,
.plan-card:not(.active) .plan-price em {
  color: var(--plan-price-color);
}

.plan-card:not(.active) .plan-price-origin {
  color: var(--plan-price-origin);
}

.plan-card:not(.active) .plan-label {
  color: var(--color-muted);
}

.plan-card.active .plan-period {
  color: #1c1917;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.plan-card.active .plan-price,
.plan-card.active .plan-price em {
  color: var(--plan-price-active);
}

.plan-card.active .plan-price-origin {
  color: var(--plan-price-origin-active);
}

.plan-card.active .plan-label {
  color: var(--color-secondary);
  font-weight: 500;
}

.plan-card-status {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plan-luxury-gold);
  transition:
    max-height 0.4s ease,
    opacity 0.4s ease,
    margin-top 0.4s ease;
}

.plan-card.active .plan-card-status {
  max-height: 24px;
  opacity: 1;
  margin-top: 14px;
}

.plan-grid.is-payment-loading {
  position: relative;
}

.plan-grid.is-payment-loading .plan-card {
  pointer-events: none;
  cursor: wait;
}

.plan-grid.is-payment-loading .plan-card:not(.active) {
  opacity: 0.55;
  transform: none;
}

.plan-grid.is-payment-loading .plan-card.active {
  opacity: 0.9;
  transform: translateY(-1px);
}

.plan-grid.is-payment-loading::after {
  content: '正在更新支付信息…';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-secondary);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  pointer-events: none;
  backdrop-filter: blur(1px);
}

.plan-card-featured:not(.active) {
  border-color: rgba(202, 138, 4, 0.2);
  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(202, 138, 4, 0.12);
}

.plan-card-featured:not(.active)::before {
  opacity: 0.55;
}

.plan-card-featured.active,
.plan-card-hot.active,
.plan-card-limited.active {
  background: var(--plan-active-bg);
  border-color: var(--plan-active-border);
  box-shadow: 0 16px 36px rgba(3, 105, 161, 0.08);
}

.plan-card-hot:not(.active) {
  border-color: rgba(202, 138, 4, 0.14);
}

.plan-card-limited:not(.plan-card-featured):not(.active) {
  border-color: rgba(202, 138, 4, 0.14);
}

.plan-grid .plan-badge {
  background: linear-gradient(135deg, #1c1917 0%, #a16207 48%, #ca8a04 100%);
  box-shadow: 0 2px 10px rgba(202, 138, 4, 0.22);
}

.plan-grid .plan-badge-hot {
  background: linear-gradient(135deg, #0f172a 0%, #92400e 55%, #ca8a04 100%);
  box-shadow: 0 2px 10px rgba(202, 138, 4, 0.2);
  animation: none;
}

.plan-grid .plan-badge-limited {
  background: linear-gradient(135deg, #1c1917 0%, #0369a1 100%);
  box-shadow: 0 2px 10px rgba(3, 105, 161, 0.16);
  animation: none;
}

.plan-grid .plan-badge-limited-shimmer {
  display: none;
}

.plan-badge-row {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  max-width: calc(100% - 12px);
}

.plan-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  transform: none;
  background: var(--color-cta);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-badge .store-pkg-badge-icon {
  width: 11px;
  height: 11px;
}

.plan-badge-sub {
  padding-left: 4px;
  margin-left: 2px;
  font-size: 0.625rem;
  font-weight: 500;
  opacity: 0.88;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.plan-badge-hot {
  background: linear-gradient(135deg, #ff8a4c 0%, #ff6b35 38%, #f72525 100%);
  box-shadow: 0 2px 10px rgba(247, 37, 37, 0.28);
  animation: store-badge-hot-glow 2.2s ease-in-out infinite;
}

.plan-badge-limited {
  background: linear-gradient(120deg, #be123c 0%, #e11d48 45%, #f43f5e 100%);
  background-size: 200% 100%;
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.28);
  animation: store-badge-limited-shift 3s ease-in-out infinite;
}

.plan-badge-limited-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(255, 255, 255, 0.42) 50%,
    rgba(255, 255, 255, 0.08) 58%,
    transparent 100%
  );
  transform: translateX(-120%);
  animation: store-badge-limited-shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}

.plan-period {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.plan-price {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--plan-price-color);
  line-height: 1.05;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.plan-card.active .plan-price {
  font-size: 2.5rem;
}

.plan-price em {
  font-size: 1.0625rem;
  font-style: normal;
  vertical-align: super;
  color: inherit;
  font-weight: 600;
}

.plan-price-origin {
  display: block;
  margin-top: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--plan-price-origin);
  text-decoration: line-through;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  opacity: 0.92;
}

.plan-card.active .plan-price-origin {
  color: var(--plan-price-origin-active);
  font-size: 0.9375rem;
}

.plan-label {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.purchase-pay-box {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 40px;
  text-align: center;
}

.pay-amount {
  font-size: 1.0625rem;
  color: var(--color-secondary);
  margin-bottom: 28px;
}

.pay-amount strong {
  font-size: 2rem;
  margin: 0 8px;
  transition: opacity var(--transition);
}

.pay-amount #payAmount {
  color: #dc2626;
  font-weight: 800;
  letter-spacing: -0.02em;
}

#payAmount.is-payment-loading {
  position: relative;
  display: inline-block;
  min-width: 5.5rem;
  opacity: 0.45;
  animation: pay-amount-pulse 1.1s ease-in-out infinite;
}

#payAmount.is-payment-loading::after {
  content: '';
  position: absolute;
  inset: -4px -8px;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(220, 38, 38, 0.04) 0%,
    rgba(220, 38, 38, 0.14) 50%,
    rgba(220, 38, 38, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: pay-amount-shimmer 1.2s linear infinite;
  pointer-events: none;
}

.pay-amount span {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--color-muted);
  background: var(--color-bg);
  padding: 4px 12px;
  border-radius: 999px;
}

.pay-amount #payPlanLabel {
  margin-left: 6px;
  vertical-align: middle;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #0369A1 0%, #0284C7 55%, #0ea5e9 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow:
    0 2px 10px rgba(3, 105, 161, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.pay-qrcode-single {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.pay-qrcode-img-lg,
#payQrWrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 12px;
  padding: 10px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.pay-qrcode-img-lg > .pay-qrcode-status,
#payQrWrap > .pay-qrcode-status,
.pay-qrcode-img-lg > img,
#payQrWrap > img {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  margin: 0;
  min-height: 0;
}

.pay-qrcode-img-lg > img,
#payQrWrap > img {
  display: block;
  object-fit: contain;
}

.pay-qrcode-status[hidden],
#payQr[hidden],
#payQrImage[hidden] {
  display: none !important;
}

.pay-method-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.pay-method-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.pay-method-tag.pay-wechat {
  background: rgba(7, 193, 96, 0.1);
  color: #07C160;
}

.pay-method-tag.pay-alipay {
  background: rgba(22, 119, 255, 0.1);
  color: #1677FF;
}

.pay-channel-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 24px;
  padding: 4px;
  border-radius: 999px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.pay-channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--color-muted);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.pay-channel-btn:hover:not(:disabled) {
  color: var(--color-secondary);
}

.pay-channel-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.pay-channel-btn.active {
  color: #fff;
  box-shadow: 0 6px 16px rgb(15 23 42 / 12%);
}

.pay-channel-btn--wechat.active {
  background: linear-gradient(135deg, #07c160 0%, #06ae56 100%);
}

.pay-channel-btn--alipay.active {
  background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
}

.purchase-pay-box.is-payment-loading .pay-channel-switch {
  pointer-events: none;
  opacity: 0.55;
}

.purchase-pay-box.is-payment-loading .pay-qrcode-hint,
.purchase-pay-box.is-payment-loading .pay-tip {
  opacity: 0.65;
}

#payQrWrap.is-qr-loading {
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

#payQrWrap.is-qr-loading::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.pay-qrcode-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-muted);
  box-sizing: border-box;
}

.pay-qr-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(220, 38, 38, 0.14);
  border-top-color: var(--color-cta);
  border-radius: 50%;
  animation: pay-qr-spin 0.75s linear infinite;
  flex-shrink: 0;
}

.pay-qrcode-status-text {
  line-height: 1.45;
  max-width: 150px;
}

.pay-qrcode-status--loading::after {
  content: none;
}

.pay-qrcode-status--error {
  color: #dc2626;
}

.pay-qrcode-status--success {
  color: #16a34a;
  font-weight: 700;
  font-size: 1.125rem;
}

.pay-login-prompt {
  margin: 8px 0 20px;
  padding: 20px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px dashed rgba(37, 99, 235, 0.2);
}

.pay-login-prompt p {
  margin: 0 0 12px;
  color: var(--color-secondary);
}

.pay-tip--success {
  color: #16a34a;
  font-weight: 600;
}

.pay-tip--error {
  color: #dc2626;
}

@keyframes pay-qr-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pay-amount-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.78; }
}

@keyframes pay-amount-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.pay-qrcode-hint {
  margin: 14px 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.pay-qrcode-grid {
  display: grid;
  grid-template-columns: repeat(2, 180px);
  gap: 32px;
  justify-content: center;
  margin-bottom: 20px;
}

.pay-qrcode-img {
  width: 160px;
  height: 160px;
  margin: 0 auto 12px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.pay-qrcode-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pay-qrcode-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.pay-wechat {
  color: #07C160;
}

.pay-alipay {
  color: #1677FF;
}

.pay-tip {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin: 0;
}

.benefits-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.benefits-card h3 {
  font-size: 1.0625rem;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.benefits-card h4 {
  font-size: 0.9375rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.benefits-card p {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin: 0;
}

.benefits-card-muted {
  background: var(--color-bg);
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--color-secondary);
  line-height: 1.6;
}

.benefits-list li svg {
  width: 18px;
  height: 18px;
  color: var(--color-cta);
  flex-shrink: 0;
  margin-top: 2px;
}

.purchase-faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-primary);
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--color-bg);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--color-muted);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 320px;
}

.faq-answer p {
  padding: 0 20px 18px;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.payment-channel-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 999px;
}

.payment-channel-badge--Payment360 {
  color: #b45309;
  background: rgba(251, 191, 36, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.payment-channel-badge--Normal {
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.payment-channel-badge--InAppOnly {
  color: #475569;
  background: rgba(148, 163, 184, 0.16);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.purchase-pay-channel {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--color-border);
}

.purchase-pay-channel-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.purchase-pay-channel strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
  color: var(--color-secondary);
}

.purchase-pay-channel p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.purchase-pay-box--Payment360 {
  border-color: rgba(251, 191, 36, 0.28);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.06), transparent 48%);
}

.purchase-pay-box--Normal {
  border-color: rgba(37, 99, 235, 0.16);
}

.purchase-preview-banner {
  margin-bottom: 18px;
  padding: 12px 16px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-secondary);
  background: rgba(3, 105, 161, 0.08);
  border: 1px solid rgba(3, 105, 161, 0.16);
  border-radius: 10px;
}

.purchase-preview-banner strong {
  color: var(--color-cta);
}

.buy-picker-wrap {
  max-width: 880px;
  margin: 0 auto;
}

.buy-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.buy-picker-card {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.buy-picker-card:hover {
  border-color: rgba(3, 105, 161, 0.35);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.buy-picker-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.buy-picker-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.buy-picker-card span {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.purchase-in-app-body {
  padding-top: 0;
}

.purchase-in-app-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 32px;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.purchase-in-app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.08);
  border-radius: 50%;
}

.purchase-in-app-card h2 {
  margin: 0 0 12px;
  font-size: 1.375rem;
}

.purchase-in-app-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-muted);
}

.purchase-in-app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.buy-notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(4px);
}

.buy-notice-overlay[hidden] {
  display: none !important;
}

body.buy-notice-open {
  overflow: hidden;
}

.buy-notice-dialog {
  position: relative;
  width: min(100%, 440px);
  padding: 28px 24px 24px;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.buy-notice-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--color-muted);
  cursor: pointer;
  background: transparent;
  border: none;
  border-radius: 8px;
}

.buy-notice-close:hover {
  color: var(--color-secondary);
  background: var(--color-bg);
}

.buy-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.08);
  border-radius: 50%;
}

.buy-notice-dialog h3 {
  margin: 0 0 10px;
  font-size: 1.125rem;
}

.buy-notice-desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.buy-notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}

.download-overlay {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(6px);
}

.download-overlay[hidden] {
  display: none !important;
}

body.download-overlay-open {
  overflow: hidden;
}

.download-dialog {
  position: relative;
  width: min(100%, 460px);
  padding: 30px 24px 24px;
  text-align: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.download-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--color-muted);
  cursor: pointer;
  background: transparent;
  border: none;
  border-radius: 8px;
}

.download-dialog__close:hover {
  color: var(--color-secondary);
  background: var(--color-bg);
}

.download-dialog__visual {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 12px;
}

.download-dialog__ring {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(37, 99, 235, 0.18);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: download-spin 1.1s linear infinite;
}

.download-dialog__ring--delay {
  inset: 10px;
  border-width: 2px;
  border-top-color: rgba(37, 99, 235, 0.55);
  animation-duration: 1.6s;
  animation-direction: reverse;
}

.download-dialog__icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  animation: download-bounce 1.4s ease-in-out infinite;
}

.download-dialog__icon svg {
  width: 30px;
  height: 30px;
}

.download-dialog__status {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
}

.download-dialog__dots {
  display: inline-flex;
  gap: 4px;
}

.download-dialog__dots span {
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
  animation: download-dot 1.2s ease-in-out infinite;
}

.download-dialog__dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.download-dialog__dots span:nth-child(3) {
  animation-delay: 0.3s;
}

.download-dialog h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.download-dialog__desc,
.download-dialog__hint {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.download-dialog__hint {
  margin-top: 8px;
  font-size: 0.875rem;
}

.download-dialog__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.download-dialog__link:hover {
  text-decoration: underline;
}

.download-dialog__link[hidden] {
  display: none !important;
}

.download-dialog__progress {
  height: 4px;
  margin: 18px 0 0;
  overflow: hidden;
  background: rgba(37, 99, 235, 0.12);
  border-radius: 999px;
}

.download-dialog__progress span {
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), #60a5fa);
  border-radius: inherit;
  animation: download-progress 1.5s ease-in-out infinite;
}

.download-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}

.download-dialog__retry--pulse {
  animation: download-retry-pulse 1.2s ease-in-out infinite;
}

@keyframes download-spin {
  to { transform: rotate(360deg); }
}

@keyframes download-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@keyframes download-dot {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

@keyframes download-progress {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}

@keyframes download-retry-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.28); }
  50% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
}

/* 支付成功弹窗 */
.pay-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 18, 38, 0.58);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.pay-success-overlay[hidden] {
  display: none !important;
}

.pay-success-overlay--visible {
  opacity: 1;
}

body.pay-success-open {
  overflow: hidden;
}

.pay-success-dialog {
  position: relative;
  width: min(100%, 480px);
  padding: 34px 28px 26px;
  text-align: center;
  background: linear-gradient(165deg, #ffffff 0%, #f8fbff 55%, #f0fdf4 100%);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 22px;
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  transform: translateY(18px) scale(0.94);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
  overflow: hidden;
}

.pay-success-overlay--visible .pay-success-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.pay-success-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--color-muted);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.pay-success-dialog__close:hover {
  color: var(--color-secondary);
  background: #fff;
}

.pay-success-confetti {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.pay-success-confetti span {
  position: absolute;
  top: -12px;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  opacity: 0;
  animation: pay-success-confetti 1.8s ease-out forwards;
}

.pay-success-overlay--visible .pay-success-confetti span:nth-child(1) { left: 12%; background: #10b981; animation-delay: 0.05s; }
.pay-success-overlay--visible .pay-success-confetti span:nth-child(2) { left: 26%; background: #3b82f6; animation-delay: 0.12s; }
.pay-success-overlay--visible .pay-success-confetti span:nth-child(3) { left: 42%; background: #f59e0b; animation-delay: 0.08s; }
.pay-success-overlay--visible .pay-success-confetti span:nth-child(4) { left: 58%; background: #ef4444; animation-delay: 0.16s; }
.pay-success-overlay--visible .pay-success-confetti span:nth-child(5) { left: 74%; background: #8b5cf6; animation-delay: 0.1s; }
.pay-success-overlay--visible .pay-success-confetti span:nth-child(6) { left: 88%; background: #06b6d4; animation-delay: 0.18s; }

.pay-success-dialog__visual {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
}

.pay-success-dialog__glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, rgba(16, 185, 129, 0) 70%);
  animation: pay-success-glow 2.2s ease-in-out infinite;
}

.pay-success-dialog__ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(16, 185, 129, 0.22);
  border-radius: 50%;
  animation: pay-success-ring 2.4s ease-out infinite;
}

.pay-success-dialog__check {
  position: relative;
  width: 96px;
  height: 96px;
}

.pay-success-dialog__check-circle {
  stroke: #10b981;
  stroke-width: 2.5;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  transform-origin: 50% 50%;
}

.pay-success-overlay--visible .pay-success-dialog__check-circle {
  animation: pay-success-circle 0.65s ease forwards 0.15s;
}

.pay-success-dialog__check-mark {
  stroke: #059669;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}

.pay-success-overlay--visible .pay-success-dialog__check-mark {
  animation: pay-success-check 0.45s ease forwards 0.62s;
}

.pay-success-dialog__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 10px;
  padding: 5px 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #047857;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.14), rgba(52, 211, 153, 0.2));
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 999px;
  animation: pay-success-badge 0.5s ease 0.35s both;
}

.pay-success-dialog__title {
  margin: 0 0 14px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-secondary);
  animation: pay-success-title 0.55s ease 0.42s both;
}

.pay-success-dialog__highlight {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
  animation: pay-success-highlight 0.6s ease 0.5s both;
}

.pay-success-dialog__product {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-primary);
}

.pay-success-dialog__sep {
  color: var(--color-muted);
}

.pay-success-dialog__plan {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #b45309;
}

.pay-success-dialog__tag {
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 999px;
  animation: pay-success-tag-pulse 1.8s ease-in-out infinite 1s;
}

.pay-success-dialog__desc,
.pay-success-dialog__hint {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-muted);
}

.pay-success-dialog__desc {
  animation: pay-success-fade-up 0.55s ease 0.58s both;
}

.pay-success-dialog__hint {
  margin-top: 8px;
  font-size: 0.875rem;
  animation: pay-success-fade-up 0.55s ease 0.66s both;
}

.pay-success-dialog__actions {
  margin-top: 24px;
  animation: pay-success-fade-up 0.55s ease 0.74s both;
}

.pay-success-dialog__actions .btn {
  min-width: 148px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

@keyframes pay-success-confetti {
  0% { opacity: 0; transform: translateY(0) rotate(0deg); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translateY(220px) rotate(540deg); }
}

@keyframes pay-success-glow {
  0%, 100% { transform: scale(0.92); opacity: 0.65; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes pay-success-ring {
  0% { transform: scale(0.85); opacity: 0.9; }
  100% { transform: scale(1.35); opacity: 0; }
}

@keyframes pay-success-circle {
  to { stroke-dashoffset: 0; }
}

@keyframes pay-success-check {
  to { stroke-dashoffset: 0; }
}

@keyframes pay-success-badge {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pay-success-title {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pay-success-highlight {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pay-success-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pay-success-tag-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.product-page-actions .product-buy-btn {
  min-width: 148px;
}

.product-page-actions button.product-buy-btn {
  font: inherit;
  cursor: pointer;
}

/* 购买页弱提示（支付框内） */
.purchase-pay-box .purchase-live-tips {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--color-border);
  height: 36px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.purchase-pay-box .live-tip {
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.4;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.purchase-pay-box .live-tip.visible {
  opacity: 0.85;
}

.purchase-pay-box .live-tip.hide {
  opacity: 0;
}

.purchase-pay-box .live-tip-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: #07C160;
  vertical-align: middle;
  opacity: 0.6;
}

.purchase-pay-box .live-tip strong {
  color: var(--color-secondary);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .plan-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .purchase-layout {
    grid-template-columns: 1fr;
  }

  .benefits-card {
    position: static;
  }
}

/* ========== 软件商城 ========== */
.page-hero--store {
  background: linear-gradient(135deg, #0c4a6e 0%, var(--color-primary) 48%, #1e3a5f 100%);
  position: relative;
  overflow: hidden;
}

.page-hero--store::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(56, 189, 248, 0.28), transparent 42%),
    radial-gradient(circle at 82% 12%, rgba(14, 165, 233, 0.18), transparent 36%);
  pointer-events: none;
}

.page-hero--store .container {
  position: relative;
  z-index: 1;
}

.store-hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.store-page {
  padding-top: 40px;
  padding-bottom: 64px;
}

.store-main {
  min-width: 0;
}

.store-main-head {
  margin-bottom: 20px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.store-main-summary {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.store-main-summary strong {
  color: var(--color-cta);
}

.store-layout .help-center-sidebar__product .help-center-sidebar__count {
  flex-shrink: 0;
  min-width: 22px;
  padding: 0 6px;
  font-size: 0.6875rem;
}

.store-catalog {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.store-product-block {
  scroll-margin-top: calc(var(--nav-height) + 24px);
  padding: 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.store-product-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.store-product-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.store-product-meta {
  flex: 1;
  min-width: 0;
}

.store-product-meta h2 {
  margin: 4px 0 6px;
  font-size: 1.25rem;
}

.store-product-desc-wrap {
  margin: 0;
}

.store-product-desc {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.store-product-desc-wrap:not(.is-expanded) .store-product-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.store-product-desc-more {
  display: inline-block;
  margin-top: 4px;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-cta);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.store-product-desc-more:hover {
  color: var(--color-cta-hover);
}

.store-product-desc-more[hidden] {
  display: none;
}

.store-product-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.store-package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(208px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.store-pkg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.store-pkg-card:hover {
  border-color: rgba(3, 105, 161, 0.28);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
}

.store-pkg-card:focus-within {
  border-color: rgba(3, 105, 161, 0.42);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.12);
}

.store-pkg-card--featured {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #0369A1 0%, #38BDF8 52%, #0284C7 100%) border-box;
  box-shadow:
    0 18px 42px rgba(3, 105, 161, 0.14),
    0 0 0 1px rgba(3, 105, 161, 0.06);
  transform: translateY(-2px);
}

.store-pkg-card--featured:hover {
  box-shadow:
    0 22px 48px rgba(3, 105, 161, 0.18),
    0 0 0 1px rgba(3, 105, 161, 0.08);
  transform: translateY(-5px);
}

.store-pkg-card--featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12), transparent 58%);
  pointer-events: none;
}

.store-pkg-card--hot:not(.store-pkg-card--featured) {
  border-color: rgba(255, 107, 53, 0.32);
  box-shadow:
    0 4px 18px rgba(15, 23, 42, 0.04),
    0 0 0 1px rgba(255, 107, 53, 0.08),
    inset 0 1px 0 rgba(255, 107, 53, 0.06);
}

.store-pkg-card--hot:not(.store-pkg-card--featured):hover {
  border-color: rgba(247, 37, 37, 0.42);
  box-shadow:
    0 14px 34px rgba(255, 107, 53, 0.12),
    0 0 0 1px rgba(247, 37, 37, 0.1);
}

.store-pkg-card--limited:not(.store-pkg-card--featured) {
  border-color: rgba(225, 29, 72, 0.28);
}

.store-pkg-card--limited:not(.store-pkg-card--featured)::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(225, 29, 72, 0.14);
  pointer-events: none;
  animation: store-limited-ring-pulse 2.6s ease-in-out infinite;
}

.store-pkg-card--limited.store-pkg-card--featured {
  box-shadow:
    0 18px 42px rgba(3, 105, 161, 0.14),
    0 0 0 1px rgba(3, 105, 161, 0.06),
    0 0 0 3px rgba(225, 29, 72, 0.08);
}

.store-pkg-ribbon {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 9px 12px;
  background: linear-gradient(135deg, #0369A1 0%, #0284C7 55%, #0ea5e9 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.store-pkg-ribbon span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.store-pkg-ribbon span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.store-pkg-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  padding: 18px 18px 16px;
  text-align: center;
}

.store-pkg-card--featured .store-pkg-body {
  padding-top: 16px;
}

.store-pkg-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  margin-bottom: 12px;
}

.store-pkg-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.store-pkg-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-cta);
  background: rgba(3, 105, 161, 0.08);
  border: 1px solid rgba(3, 105, 161, 0.12);
  border-radius: 999px;
  white-space: nowrap;
}

.store-pkg-badge-icon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
}

.store-pkg-badge-sub {
  padding-left: 4px;
  margin-left: 2px;
  font-size: 0.625rem;
  font-weight: 500;
  opacity: 0.88;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.store-pkg-badge-hot {
  color: #fff;
  background: linear-gradient(135deg, #ff8a4c 0%, #ff6b35 38%, #f72525 100%);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 2px 10px rgba(247, 37, 37, 0.28);
  animation: store-badge-hot-glow 2.2s ease-in-out infinite;
}

.store-pkg-badge-hot > svg,
.store-pkg-badge-hot > span:not(.store-pkg-badge-hot-glow),
.store-pkg-badge-limited > svg,
.store-pkg-badge-limited > span:not(.store-pkg-badge-limited-shimmer) {
  position: relative;
  z-index: 1;
}

.store-pkg-badge-hot-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 68%);
  opacity: 0;
  animation: store-badge-hot-flare 2.2s ease-in-out infinite;
  pointer-events: none;
}

.store-pkg-badge-limited {
  color: #fff;
  background: linear-gradient(120deg, #be123c 0%, #e11d48 45%, #f43f5e 100%);
  background-size: 200% 100%;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.28);
  animation: store-badge-limited-shift 3s ease-in-out infinite;
}

.store-pkg-badge-limited-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(255, 255, 255, 0.42) 50%,
    rgba(255, 255, 255, 0.08) 58%,
    transparent 100%
  );
  transform: translateX(-120%);
  animation: store-badge-limited-shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}

.store-pkg-badge-limited--inactive {
  opacity: 0.92;
}

.store-pkg-urgency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #881337;
  background: linear-gradient(180deg, #fff1f2 0%, #ffe4e6 100%);
  border: 1px solid rgba(190, 18, 60, 0.28);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.store-pkg-urgency-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #be123c;
}

.store-pkg-urgency-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e11d48;
  box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.45);
  animation: store-urgency-dot 1.6s ease-in-out infinite;
}

.store-pkg-urgency-text {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.store-pkg-urgency-countdown {
  display: inline-flex;
  min-width: 4.75em;
  padding: 2px 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: #be123c;
  border-radius: 6px;
}

@keyframes store-badge-hot-glow {
  0%,
  100% {
    box-shadow: 0 2px 10px rgba(247, 37, 37, 0.22);
  }

  50% {
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.42);
  }
}

@keyframes store-badge-hot-flare {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.85);
  }

  50% {
    opacity: 0.55;
    transform: scale(1);
  }
}

@keyframes store-badge-limited-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes store-badge-limited-shimmer {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(120%);
  }
}

@keyframes store-limited-ring-pulse {
  0%,
  100% {
    box-shadow: inset 0 0 0 1px rgba(225, 29, 72, 0.1);
  }

  50% {
    box-shadow: inset 0 0 0 1px rgba(225, 29, 72, 0.34);
  }
}

@keyframes store-urgency-dot {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.45);
  }

  50% {
    opacity: 0.55;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0);
  }
}

.store-pkg-period {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
}

.store-pkg-card--featured .store-pkg-period {
  color: var(--color-cta);
  background: rgba(3, 105, 161, 0.08);
  border-color: rgba(3, 105, 161, 0.14);
}

.store-pkg-price-block {
  margin-bottom: 10px;
}

.store-pkg-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  font-family: var(--font-heading);
  line-height: 1;
  color: #dc2626;
}

.store-pkg-price-currency {
  margin-top: 0.35em;
  font-size: 1.0625rem;
  font-weight: 700;
}

.store-pkg-price-value {
  font-size: 2.125rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #dc2626;
}

.store-pkg-card--featured .store-pkg-price-value {
  font-size: 2.375rem;
}

.store-pkg-card--featured .store-pkg-price-currency {
  font-size: 1.125rem;
}

.store-pkg-price-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.store-pkg-price-origin {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: line-through;
}

.store-pkg-save {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #b45309;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
}

.store-pkg-name {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-secondary);
}

.store-pkg-card--featured .store-pkg-name {
  color: var(--color-primary);
}

.store-pkg-divider {
  height: 1px;
  margin: auto 0 14px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.35), transparent);
}

.store-pkg-card--featured .store-pkg-divider {
  background: linear-gradient(90deg, transparent, rgba(3, 105, 161, 0.22), transparent);
}

.store-pkg-buy {
  width: 100%;
  min-height: 44px;
  margin-top: 0;
  padding: 12px 20px;
  font-size: 0.9375rem;
  cursor: pointer;
}

.store-pkg-buy:hover {
  transform: translateY(-1px);
}

.store-pkg-buy--featured {
  min-height: 48px;
  padding: 13px 22px;
  font-size: 1rem;
  border-color: rgba(245, 208, 120, 0.68);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(212, 175, 55, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.store-pkg-buy--featured:hover {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .store-pkg-card,
  .store-pkg-card--featured,
  .store-pkg-buy--featured {
    transition: border-color var(--transition), box-shadow var(--transition);
  }

  .store-pkg-card:hover,
  .store-pkg-card--featured,
  .store-pkg-card--featured:hover,
  .store-pkg-buy:hover,
  .store-pkg-buy--featured:hover {
    transform: none;
  }

  .store-pkg-badge-hot,
  .store-pkg-badge-hot-glow,
  .store-pkg-badge-limited,
  .store-pkg-badge-limited-shimmer,
  .store-pkg-card--limited:not(.store-pkg-card--featured)::before,
  .store-pkg-urgency-dot,
  .btn-buy-gold::after,
  .user-center-member-card__status--active::after,
  .user-center-member-card__status--permanent::after {
    animation: none;
  }

  .plan-badge-hot,
  .plan-badge-limited,
  .plan-badge-limited-shimmer {
    animation: none;
  }
}

.store-empty {
  max-width: 480px;
  margin: 48px auto;
  text-align: center;
}

.store-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  color: var(--color-cta);
  background: rgba(3, 105, 161, 0.08);
  border-radius: 50%;
}

.store-empty-icon svg {
  width: 36px;
  height: 36px;
}

.store-empty h2 {
  margin: 0 0 8px;
}

.store-empty p {
  margin: 0 0 20px;
  color: var(--color-muted);
}

.store-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 768px) {
  .store-product-head {
    flex-wrap: wrap;
  }

  .store-product-actions {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .store-package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .store-product-block {
    padding: 16px;
  }

  .store-package-grid {
    grid-template-columns: 1fr;
  }
}
