/* ============================================================
   DESIGN REFRESH · 2026-10
   目标：更高级的排版、留白、层次与质感（深浅色通用）
   ============================================================ */

:root {
  --max: 1240px;
  --radius: 22px;
  --brand: #6d5cff;
  --brand-2: #9a6bff;
  --line: rgba(255, 255, 255, .09);
  --shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

/* 背景：极深的靛蓝渐变，替代纯黑 */
body {
  background:
    radial-gradient(1200px 620px at 50% -12%, rgba(96, 78, 220, .22), transparent 60%),
    radial-gradient(900px 500px at 88% 8%, rgba(34, 211, 238, .08), transparent 60%),
    #06070f;
}
.orb { opacity: .32; filter: blur(140px); }

/* 容器与节奏 */
.container { max-width: var(--max); padding: 0 28px; }
.section { padding: 112px 0; }
.section-head { margin-bottom: 60px; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -1.2px; line-height: 1.18; }
.section-head p { font-size: 16.5px; line-height: 1.8; }
.page-hero { padding: 150px 0 64px; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -1.4px; }

/* 眉标 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: 999px; font-size: 12.5px; letter-spacing: .6px;
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1);
  color: #b9c0da; backdrop-filter: blur(8px);
}
.eyebrow .dot { width: 6px; height: 6px; box-shadow: 0 0 14px var(--green); }

/* 导航 */
.site-header { background: rgba(7, 8, 18, .62); backdrop-filter: blur(18px) saturate(140%); border-bottom-color: rgba(255,255,255,.07); }
.nav { height: 78px; }
.nav-links { gap: 30px; }
.nav-links a { font-size: 14.5px; letter-spacing: .1px; }
.nav-links a.active::after { height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }

/* 按钮 */
.btn { border-radius: 14px; padding: 14px 26px; font-weight: 600; font-size: 15px; letter-spacing: .2px; }
.btn-primary {
  background: linear-gradient(135deg, #6d5cff 0%, #9a6bff 55%, #b98cff 100%);
  box-shadow: 0 14px 34px rgba(109, 92, 255, .38), inset 0 1px 0 rgba(255, 255, 255, .32);
}
.btn-primary:hover { box-shadow: 0 20px 46px rgba(109, 92, 255, .5); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .24); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; border-radius: 11px; }

/* 首屏 */
.hero { padding: 186px 0 112px; }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(680px 380px at 78% 22%, rgba(122, 92, 255, .16), transparent 65%),
    radial-gradient(520px 320px at 12% 72%, rgba(34, 211, 238, .1), transparent 65%);
}
.hero-grid { gap: 64px; }
.hero h1 { font-size: clamp(44px, 5.8vw, 76px); letter-spacing: -2.2px; line-height: 1.06; }
.hero p.lead { font-size: 17.5px; line-height: 1.85; margin-top: 26px; color: #a8b0c8; }
.gradient-text { background: linear-gradient(100deg, #a9c2ff 0%, #c4a8ff 42%, #6ee7d8 100%); -webkit-background-clip: text; background-clip: text; }
.hero-actions { margin-top: 38px; gap: 14px; }
.hero-stats { gap: 40px; margin-top: 58px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .08); }
.hero-stats > div { padding-right: 40px; border-right: 1px solid rgba(255, 255, 255, .07); }
.hero-stats > div:last-child { border-right: 0; padding-right: 0; }
.hero-stats .num { font-size: 34px; letter-spacing: -1px; }

/* 产品卡片 */
.product-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px; overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s;
}
.product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(140, 120, 255, .42);
  box-shadow: 0 32px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(140, 120, 255, .12);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
}
.product-cover { position: relative; }
.product-cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 7, 15, .55));
}
.product-body { padding: 22px 22px 24px; }
.product-title { font-size: 17.5px; letter-spacing: -.2px; }
.product-sub { line-height: 1.65; }
.badge { backdrop-filter: blur(6px); }

/* 新闻/特色卡片 */
.news-card, .feature, .panel, .stat-card, .dash-side, .buy-card, .auth-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018));
  border-color: rgba(255, 255, 255, .08);
  border-radius: 20px;
}
.news-card:hover, .feature:hover { border-color: rgba(140, 120, 255, .38); box-shadow: 0 24px 54px rgba(0, 0, 0, .42); }
.news-date { letter-spacing: .8px; text-transform: uppercase; font-size: 11.5px; }

/* 沉浸区 */
.immersive-frame { border-radius: 26px; }
.photo-band { padding: 110px 0; }

/* CTA */
.cta {
  border-radius: 28px; padding: 64px 48px;
  background:
    radial-gradient(600px 260px at 50% -30%, rgba(122, 92, 255, .3), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .45);
}

/* 详情页 */
.detail-title { letter-spacing: -1.2px; }
.buy-card { backdrop-filter: blur(16px); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); border-color: rgba(255, 255, 255, .1); }
.buy-price { font-size: 42px; letter-spacing: -1.6px; }
.rich { line-height: 1.95; }
.feature-list div { background: rgba(255, 255, 255, .04); }

/* 页脚 */
.site-footer { padding: 72px 0 34px; margin-top: 60px; border-top-color: rgba(255, 255, 255, .07); }
.footer-grid { gap: 40px; }
.footer-bottom { margin-top: 52px; }

/* 白天模式微调 */
html.light body {
  background:
    radial-gradient(1100px 560px at 50% -12%, rgba(122, 92, 255, .12), transparent 62%),
    radial-gradient(800px 460px at 90% 6%, rgba(34, 211, 238, .1), transparent 60%),
    #f5f6fb;
}
html.light .site-header { background: rgba(255, 255, 255, .72); }
html.light .eyebrow { background: #fff; color: #5e6779; border-color: rgba(20, 26, 48, .1); }
html.light .product-card, html.light .news-card, html.light .feature, html.light .panel,
html.light .stat-card, html.light .dash-side, html.light .buy-card, html.light .auth-card {
  background: #fff; border-color: rgba(20, 26, 48, .09);
}
html.light .product-card:hover { background: #fff; box-shadow: 0 30px 70px rgba(20, 25, 60, .14); }
html.light .product-cover::after { background: linear-gradient(180deg, transparent 60%, rgba(20, 25, 60, .18)); }
html.light .hero p.lead { color: #4f586d; }
html.light .hero-stats { border-top-color: rgba(20, 26, 48, .08); }
html.light .hero-stats > div { border-right-color: rgba(20, 26, 48, .07); }
html.light .btn-ghost { background: #fff; border-color: rgba(20, 26, 48, .12); }
html.light .cta { background: radial-gradient(600px 260px at 50% -30%, rgba(122, 92, 255, .16), transparent 70%), #fff; }
html.light .site-footer { border-top-color: rgba(20, 26, 48, .08); }

/* 响应式 */
@media (max-width: 900px) {
  .section { padding: 76px 0; }
  .hero { padding: 140px 0 80px; }
  .hero-stats { gap: 26px; }
  .hero-stats > div { padding-right: 26px; }
  .cta { padding: 44px 26px; border-radius: 22px; }
}


/* 商品网格自适应列数 */
.product-grid { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

/* 详情页演示图片画廊 */
.detail-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 8px; }
.detail-gallery a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.detail-gallery img { display: block; width: 100%; height: auto; }
html.light .detail-gallery a { border-color: rgba(0,0,0,.08); background: #f6f7fb; }

/* 折叠导航（平板/手机） */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    background: #0a0b16;
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    max-height: calc(100vh - 78px);
    overflow-y: auto;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 4px;
    width: 100%;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a.active::after { display: none; }
  .nav-actions .btn { display: none; }
  html.light .nav-links { background: #ffffff; }
  html.light .nav-links a { border-bottom-color: rgba(0, 0, 0, 0.06); }
}


/* 顶部导航分组下拉 */
.nav-group { position: relative; display: flex; align-items: center; }
.nav-group-btn {
  display: flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: inherit; font-size: 14.5px; letter-spacing: .1px;
  color: var(--muted); transition: color .2s;
}
.nav-group-btn:hover, .nav-group-btn.active, .nav-group.has-active .nav-group-btn { color: var(--text); }
.nav-group-btn .caret { font-size: 10px; opacity: .65; transition: transform .2s; }
.nav-group.open .nav-group-btn .caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 18px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 196px; padding: 8px;
  background: #0c0e1a; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden; z-index: 120;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-group.open .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.nav-dropdown a:hover, .nav-dropdown a.active { background: rgba(255, 255, 255, .07); color: var(--text); }
html.light .nav-dropdown { background: #fff; border-color: rgba(0, 0, 0, .08); box-shadow: 0 20px 48px rgba(20, 25, 60, .14); }
html.light .nav-dropdown a:hover, html.light .nav-dropdown a.active { background: #f4f5fa; color: #111; }

@media (max-width: 1080px) {
  .nav-group { display: block; width: 100%; }
  .nav-group-btn {
    width: 100%; justify-content: space-between; padding: 14px 4px;
    font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .06);
  }
  .nav-dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    display: none; min-width: 0; padding: 0 0 8px 14px;
    background: transparent; border: 0; box-shadow: none;
  }
  .nav-group.open .nav-dropdown { display: block; transform: none; opacity: 1; visibility: visible; }
  .nav-dropdown a { padding: 12px 8px; border-bottom: 0; font-size: 15px; }
  html.light .nav-group-btn { border-bottom-color: rgba(0, 0, 0, .06); }
}

/* 我们的作品页 */
.works-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.works-count { font-size: 13px; color: var(--muted); }
.works-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.work-card {
  display: flex; flex-direction: column; overflow: hidden;
  width: calc(33.333% - 16px); min-width: 300px; max-width: 420px;
  border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.work-card:hover { transform: translateY(-8px); border-color: rgba(140,120,255,.42); box-shadow: 0 30px 64px rgba(0,0,0,.5); }
.work-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0d1018; }
.work-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-card:hover .work-cover img { transform: scale(1.05); }
.work-badge {
  position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 999px;
  font-size: 12px; color: #fff; background: rgba(109, 92, 255, .92); backdrop-filter: blur(6px);
}
.work-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.work-title { font-size: 19px; font-weight: 700; color: var(--text); }
.work-sub {
  font-size: 13.5px; color: var(--muted); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.work-tag, .work-cat { font-size: 11.5px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted); }
.work-cat { background: rgba(109,92,255,.16); color: #a99bff; }
.work-foot { margin-top: 6px; display: flex; justify-content: space-between; align-items: center; }
.work-price { font-size: 20px; font-weight: 800; color: var(--text); }
.work-price small { font-size: 12px; font-weight: 600; color: var(--muted); margin-right: 2px; }
.work-free { font-size: 14px; font-weight: 700; color: #22c55e; }
.work-more { font-size: 13px; color: var(--muted); }
.works-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 80px 0; color: var(--muted); }
.works-empty-icon { font-size: 44px; }
.works-loading { color: var(--muted); padding: 40px; text-align: center; }
html.light .work-card { background: #fff; border-color: rgba(0,0,0,.08); }
html.light .work-tag { background: #f2f3f8; color: #666; }
html.light .work-cat { background: rgba(109,92,255,.1); color: #6d5cff; }
@media (max-width: 720px) {
  .works-grid { gap: 16px; }
  .work-card { width: 100%; max-width: none; }
  .work-title { font-size: 17px; }
}

/* ============================================================
   THEME V3 · 2026-11
   统一设计系统：更克制的配色、更大的留白、更细腻的层次与动效
   ============================================================ */

:root {
  --max: 1280px;
  --radius: 24px;
  --brand: #6d5cff;
  --brand-2: #9a6bff;
  --cyan: #22d3ee;
  --grad: linear-gradient(135deg, #6d5cff 0%, #9a6bff 52%, #c084fc 100%);
  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .18);
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .02);
  --shadow-1: 0 18px 44px rgba(0, 0, 0, .35);
  --shadow-2: 0 36px 96px rgba(0, 0, 0, .55);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(1100px 600px at 50% -14%, rgba(109, 92, 255, .22), transparent 62%),
    radial-gradient(820px 480px at 92% 6%, rgba(34, 211, 238, .09), transparent 60%),
    radial-gradient(760px 520px at 4% 44%, rgba(154, 107, 255, .07), transparent 62%),
    #05060d;
}

::selection { background: rgba(109, 92, 255, .42); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 999px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.22); background-clip: content-box; }
:focus-visible { outline: 2px solid rgba(140, 120, 255, .75); outline-offset: 3px; border-radius: 8px; }

.container { max-width: var(--max); padding: 0 30px; }
.section { padding: 120px 0; }
.section-head { margin-bottom: 64px; }
.section-head h2 { font-weight: 800; letter-spacing: -1.6px; }
.section-head p { color: #a7aec6; }

/* 导航 */
.site-header { background: rgba(6, 7, 16, .58); }
.site-header.scrolled { background: rgba(6, 7, 16, .9); box-shadow: 0 12px 40px rgba(0, 0, 0, .38); }
.brand { font-weight: 800; letter-spacing: .2px; }
.brand-mark { background: var(--grad); box-shadow: 0 10px 24px rgba(109, 92, 255, .42); }
.nav-links a { font-weight: 500; }
.nav-group-btn { font-weight: 500; }
.nav-actions .btn-primary { box-shadow: 0 10px 26px rgba(109, 92, 255, .32); }

/* 按钮 */
.btn { transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background-image: var(--grad); box-shadow: 0 16px 38px rgba(109, 92, 255, .4), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary:hover { box-shadow: 0 22px 52px rgba(109, 92, 255, .52), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-ghost { background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); }

/* 首屏 */
.hero { padding: 196px 0 128px; }
.hero h1 { font-weight: 800; letter-spacing: -2.6px; }
.hero p.lead { max-width: 640px; color: #a9b1c9; }
.hero-stats .num {
  font-weight: 800; letter-spacing: -1.4px;
  background: linear-gradient(180deg, #ffffff, #b9c0f5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats > div { padding-right: 44px; }
.hero-stats span, .hero-stats .label { color: #8f97b3; }

/* 眉标 */
.eyebrow { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }

/* 卡片 */
.product-card {
  position: relative; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.product-card:hover { transform: translateY(-10px); border-color: rgba(150, 130, 255, .45); box-shadow: 0 34px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(150, 130, 255, .12); }
.product-cover { overflow: hidden; }
.product-cover img { transition: transform .65s var(--ease); }
.product-card:hover .product-cover img { transform: scale(1.06); }
.product-title { font-weight: 700; }
.price { font-weight: 800; }

/* 页头 */
.page-hero { position: relative; padding: 172px 0 72px; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: -20% 0 auto; height: 620px; pointer-events: none;
  background:
    radial-gradient(680px 340px at 22% 20%, rgba(109, 92, 255, .18), transparent 65%),
    radial-gradient(560px 300px at 78% 0%, rgba(34, 211, 238, .1), transparent 65%);
}
.page-hero h1 { position: relative; font-weight: 800; letter-spacing: -2px; }
.page-hero p, .page-hero .breadcrumb { position: relative; }
.breadcrumb { color: #8d94ad; }

/* 筛选 */
.chip {
  border-radius: 999px; padding: 9px 18px; font-size: 13.5px;
  transition: all .25s var(--ease);
}
.chip:hover { border-color: rgba(150, 130, 255, .4); color: #e8ebff; }
.chip.active { background-image: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 12px 28px rgba(109, 92, 255, .35); }

/* 详情页 */
.detail-cover { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-2); }
.buy-card {
  border-radius: 24px; border: 1px solid var(--border);
  background: rgba(11, 13, 24, .72); backdrop-filter: blur(20px) saturate(130%);
  box-shadow: var(--shadow-1);
}
.buy-price { font-weight: 800; letter-spacing: -1px; }
.detail-section h3 { letter-spacing: -.4px; }

/* 新闻 / 特性 / CTA */
.news-card, .feature { border-radius: 22px; }
.news-card { transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.news-card:hover { transform: translateY(-6px); border-color: rgba(150, 130, 255, .38); box-shadow: var(--shadow-1); }
.cta { border-radius: 30px; border: 1px solid var(--border); }

/* 页脚 */
.site-footer { border-top: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 42%); }
.footer-grid { gap: 52px; }
.footer-grid a { transition: color .2s var(--ease); }

/* 弹层 */
.modal-mask { backdrop-filter: blur(10px); }
.modal { border-radius: 22px; border: 1px solid var(--border); background: rgba(11, 13, 22, .94); box-shadow: var(--shadow-2); }

/* 白天模式 */
html.light body {
  background:
    radial-gradient(1000px 560px at 50% -14%, rgba(109, 92, 255, .1), transparent 62%),
    radial-gradient(720px 420px at 92% 4%, rgba(34, 211, 238, .07), transparent 60%),
    #f6f7fb;
}
html.light .site-header { background: rgba(255, 255, 255, .78); }
html.light .site-header.scrolled { background: rgba(255, 255, 255, .95); box-shadow: 0 12px 36px rgba(20, 25, 60, .08); }
html.light .product-card { background: #fff; box-shadow: 0 10px 30px rgba(20, 25, 60, .06); }
html.light .product-card:hover { box-shadow: 0 30px 70px rgba(20, 25, 60, .14); }
html.light .hero-stats .num { background: linear-gradient(180deg, #161a2b, #5b5f86); -webkit-background-clip: text; background-clip: text; }
html.light .section-head p { color: #666c85; }
html.light .buy-card { background: rgba(255, 255, 255, .86); }
html.light .modal { background: rgba(255, 255, 255, .97); }
html.light .chip:hover { color: #1f2430; }

/* 动效降级 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .section { padding: 84px 0; }
  .hero { padding: 150px 0 96px; }
  .page-hero { padding: 140px 0 56px; }
  .hero-stats { gap: 22px; }
  .hero-stats > div { padding-right: 22px; }
}

/* 移动端首屏数据改为两列 */
@media (max-width: 760px) {
  .hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; margin-top: 42px; padding-top: 26px; }
  .hero-stats > div { padding-right: 0; border-right: 0; }
  .hero-stats .num { font-size: 28px; letter-spacing: -1px; }
}

/* ============ 移动端专项优化 ============ */
.mobile-buybar { display: none; }

@media (max-width: 760px) {
  .section { padding: 76px 0; }
  .page-hero { padding: 132px 0 48px; }
  .filter-bar { flex-direction: column; align-items: stretch; gap: 12px; }
  .filter-bar .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .search-box { width: 100%; min-width: 0; }
  .product-body { padding: 14px 14px 16px; }
  .detail-section { margin-top: 24px; }
  .detail-gallery { grid-template-columns: 1fr 1fr; gap: 8px; }

  .mobile-buybar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    align-items: center;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(8, 9, 18, .94);
    backdrop-filter: blur(16px) saturate(140%);
    border-top: 1px solid var(--border);
  }
  .mbb-price { flex: 1; font-size: 20px; font-weight: 800; color: var(--text); }
  .mbb-price small { font-size: 12px; font-weight: 600; color: var(--muted); margin-right: 2px; }
  .mbb-price .price-old { font-size: 12px; color: var(--muted); text-decoration: line-through; margin-left: 6px; }
  .mobile-buybar .btn { min-width: 140px; padding: 12px 20px; }
  body.has-mobile-buy main { padding-bottom: 84px; }

  html.light .mobile-buybar { background: rgba(255, 255, 255, .96); }
}

/* 移动端全屏菜单 + 页脚适配 */
@media (max-width: 1080px) {
  .nav-links {
    position: fixed;
    inset: 0;
    padding: 96px 24px calc(40px + env(safe-area-inset-bottom));
    background: #080a14;
    backdrop-filter: none;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    z-index: 90;
    border: 0;
    box-shadow: none;
    max-height: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > a {
    font-size: 18px;
    padding: 16px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }
  .nav-group { width: 100%; }
  .nav-group-btn {
    font-size: 18px;
    padding: 16px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }
  .nav-group.open .nav-group-btn { border-bottom-color: transparent; }
  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 10px 16px;
    min-width: 0;
  }
  .nav-group.open .nav-dropdown { display: block; transform: none; opacity: 1; visibility: visible; }
  .nav-dropdown a { font-size: 16px; padding: 13px 10px; border-bottom: 0; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { background: #080a14; backdrop-filter: none; }
  html.light .nav-links,
  html.light body.nav-open .site-header { background: #ffffff; }
}

@media (max-width: 760px) {
  .site-footer { padding: 40px 0 24px; margin-top: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: none; font-size: 13px; }
  .footer-col h4 { font-size: 13px; margin-bottom: 10px; }
  .footer-col a { font-size: 13px; margin: 7px 0; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 28px;
    padding-top: 18px;
  }
}

@media (max-width: 1080px) {
  .site-header .brand,
  .site-header .nav-actions { position: relative; z-index: 120; }
  .nav-links { z-index: 90; }
}

/* 手机端整体缩小一档 */
@media (max-width: 760px) {
  body { font-size: 14px; }
  .nav { height: 64px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .hero { padding: 122px 0 66px; }
  .hero h1 { font-size: 34px; letter-spacing: -1.2px; line-height: 1.16; }
  .hero p.lead { font-size: 14.5px; line-height: 1.75; margin-top: 18px; }
  .hero-actions { margin-top: 26px; }
  .hero-stats { margin-top: 36px; padding-top: 22px; }
  .hero-stats .num { font-size: 26px; }
  .hero-stats span, .hero-stats .label { font-size: 12px; }
  .page-hero { padding: 112px 0 34px; }
  .page-hero h1 { font-size: 30px; letter-spacing: -1px; }
  .page-hero p { font-size: 13.5px; }
  .section { padding: 62px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 24px; letter-spacing: -.6px; }
  .section-head p { font-size: 13.5px; }
  .btn { padding: 11px 18px; font-size: 14px; border-radius: 12px; }
  .btn-sm { padding: 8px 14px; font-size: 12.5px; }
  .chip { padding: 8px 14px; font-size: 12.5px; }
  .product-title { font-size: 16px; }
  .product-sub { font-size: 12.5px; }
  .product-meta .price { font-size: 18px; }
  .news-card h3 { font-size: 16px; }
  .detail-title { font-size: 24px; letter-spacing: -.6px; }
  .detail-sub { font-size: 13px; }
  .buy-price { font-size: 30px; }
  .detail-section h3 { font-size: 17px; }
  .footer-col a { font-size: 12.5px; }
  .nav-links { padding-top: 80px; }
  .nav-links > a, .nav-group-btn { font-size: 16px; padding: 14px 4px; }
  .nav-dropdown a { font-size: 14.5px; padding: 12px 10px; }
  .mobile-buybar { padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); }
  .mobile-buybar .btn { min-width: 124px; padding: 10px 16px; font-size: 14px; }
  .mbb-price { font-size: 18px; }
}

/* 会员中心入口（移动端菜单内） */
.nav-member { display: none; }
@media (max-width: 1080px) {
  .nav-member {
    display: flex;
    align-items: center;
    margin-top: 10px;
    padding: 16px 4px 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-2);
    border-top: 1px solid rgba(255, 255, 255, .1);
  }
  html.light .nav-member { border-top-color: rgba(0, 0, 0, .08); }
}

/* 我的下载列表 */
.download-list { display: flex; flex-direction: column; gap: 10px; }
.download-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .03);
}
.dl-cover {
  width: 76px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  background: #1a1d2b;
  flex: none;
}
.dl-info { flex: 1; min-width: 0; }
.dl-name { font-size: 14px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
html.light .download-item { background: #f7f8fc; border-color: rgba(0, 0, 0, .08); }

/* 详情页已购买面板 */
.purchased-panel {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(60, 200, 130, .35);
  background: rgba(34, 197, 94, .08);
}
.pp-head { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.pp-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, .18);
  color: #4ade80;
  font-size: 12px;
}
.pp-body { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.pp-body a { color: var(--brand-2); word-break: break-all; }
.pp-code { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--text); }
.pp-code b { font-size: 15px; letter-spacing: 1px; }
.pp-actions { margin-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; }
.purchased-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, .16);
  color: #4ade80;
  font-size: 12px;
  vertical-align: middle;
}
@media (max-width: 760px) {
  .download-item { padding: 10px; gap: 10px; }
  .dl-cover { width: 64px; height: 46px; }
  .dl-name { font-size: 13px; }
  .dl-sub { font-size: 11px; }
  .purchased-panel { padding: 14px; }
}

/* 会员中心移动端布局 */
@media (max-width: 760px) {
  .dash-grid { gap: 16px; }
  .dash-side { padding: 12px; border-radius: 16px; }
  .dash-user { margin-bottom: 10px; }
  .dash-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
  .dash-nav button {
    white-space: nowrap;
    padding: 9px 14px;
    background: rgba(255, 255, 255, .05);
    font-size: 13px;
  }
  .dash-nav button.active { background: rgba(109, 92, 255, .25); }
  html.light .dash-nav button { background: #f2f3f8; }
  html.light .dash-nav button.active { background: rgba(109, 92, 255, .14); }
}

/* 富文本正文图片 */
.rich img, .detail-section .rich img { max-width: 100%; height: auto; border-radius: 12px; display: block; margin: 12px 0; }
