/* ============ 主题变量 ============ */
:root,
body[data-theme="default"] {
  --bg: #f4f6fb;
  --bg-alt: #eef2f9;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #1e293b;
  --muted: #64748b;
  --primary: #2563eb;
  --primary-2: #3b82f6;
  --accent: #0ea5e9;
  --grad: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --grad-soft: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  --border: #e3e8f0;
  --shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
  --shadow-hover: 0 20px 45px rgba(37, 99, 235, 0.18);
  --nav-bg: rgba(255, 255, 255, 0.85);
  --radius: 16px;
  --ring: rgba(37, 99, 235, .14);
  --cover-1: linear-gradient(135deg, #60a5fa, #2563eb);
  --cover-2: linear-gradient(135deg, #34d399, #0ea5e9);
  --cover-3: linear-gradient(135deg, #a78bfa, #6366f1);
}

body[data-theme="tech"] {
  --bg: #070b16;
  --bg-alt: #0b1120;
  --surface: #111a2e;
  --surface-2: #0f1729;
  --text: #e6eefb;
  --muted: #8a99b5;
  --primary: #22d3ee;
  --primary-2: #38bdf8;
  --accent: #2dd4bf;
  --grad: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
  --grad-soft: linear-gradient(135deg, #0e2036 0%, #111a33 100%);
  --border: #1d2a47;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 22px 50px rgba(34, 211, 238, 0.18);
  --nav-bg: rgba(10, 16, 30, 0.82);
  --ring: rgba(34, 211, 238, .20);
  --cover-1: linear-gradient(135deg, #0ea5e9, #2563eb);
  --cover-2: linear-gradient(135deg, #2dd4bf, #0891b2);
  --cover-3: linear-gradient(135deg, #818cf8, #6d28d9);
}

body[data-theme="orange"] {
  --bg: #fdf6f0;
  --bg-alt: #fbeee2;
  --surface: #ffffff;
  --surface-2: #fef6ee;
  --text: #2e2118;
  --muted: #8c7868;
  --primary: #ea580c;
  --primary-2: #f97316;
  --accent: #f59e0b;
  --grad: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  --grad-soft: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
  --border: #f1e0cf;
  --shadow: 0 12px 30px rgba(234, 88, 12, 0.10);
  --shadow-hover: 0 20px 45px rgba(234, 88, 12, 0.22);
  --nav-bg: rgba(255, 250, 246, 0.86);
  --ring: rgba(234, 88, 12, .18);
  --cover-1: linear-gradient(135deg, #fb923c, #ea580c);
  --cover-2: linear-gradient(135deg, #fbbf24, #f97316);
  --cover-3: linear-gradient(135deg, #fb7185, #e11d48);
}

/* 炫彩模板：深色极光底 + 粉紫青流动渐变 */
body[data-theme="colorful"] {
  --bg: #0a0616;
  --bg-alt: #110a24;
  --surface: #17102e;
  --surface-2: #1e1538;
  --text: #f7f2ff;
  --muted: #b9a8da;
  --primary: #e879f9;
  --primary-2: #a78bfa;
  --accent: #22d3ee;
  --grad: linear-gradient(135deg, #fb7185 0%, #d946ef 38%, #8b5cf6 68%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, #2a1046 0%, #151436 55%, #0b1c33 100%);
  --border: #362457;
  --shadow: 0 14px 36px rgba(217, 70, 239, 0.16);
  --shadow-hover: 0 26px 60px rgba(34, 211, 238, 0.20);
  --nav-bg: rgba(10, 6, 22, 0.82);
  --ring: rgba(232, 121, 249, 0.22);
  --cover-1: linear-gradient(135deg, #fb7185, #d946ef);
  --cover-2: linear-gradient(135deg, #22d3ee, #6366f1);
  --cover-3: linear-gradient(135deg, #fbbf24, #f43f5e);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background .35s, color .35s;
}
a { text-decoration: none; color: inherit; }

/* ============ 导航 ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .35s;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 66px; display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; color: inherit; text-decoration: none; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--grad); color: #fff; font-size: 16px;
}
.brand-logo { height: 30px; max-width: 140px; object-fit: contain; border-radius: 6px; }
.brand-with-logo .brand-name { display: none; }
.nav-links { display: flex; align-items: center; gap: 3px; margin-left: auto; flex: 0 1 auto; }
.nav-links a {
  display: inline-flex; align-items: center; justify-content: center; gap: 3px;
  height: 42px; padding: 0 15px; border-radius: 9px;
  color: var(--muted); font-size: 15px; font-weight: 500; line-height: 1;
  transition: color .2s, background .2s; position: relative;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--primary); background: #f7faff; }
.nav-links a.active { color: var(--primary); background: #eff6ff; padding: 0 15px; border-radius: 9px; }
.nav-caret { display: inline-flex; align-items: center; position: relative; top: -1px; height: 100%; margin-left: 1px; color: #94a3b8; font-size: 10px; line-height: 1; }
.nav-tools { display: flex; align-items: center; gap: 12px; }

/* 可折叠菜单容器（桌面横向展开） */
.nav-collapse { display: flex; align-items: center; flex: 1; gap: 16px; min-width: 0; }

/* 汉堡按钮（仅移动端显示） */
.nav-toggle {
  display: none; margin-left: auto;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border: 1px solid var(--border);
  background: var(--surface); border-radius: 10px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.switcher { display: flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 9px; padding: 3px; }
.seg {
  border: none; background: transparent; color: var(--muted);
  padding: 5px 11px; font-size: 13px; border-radius: 7px; cursor: pointer;
  transition: all .2s;
}
.seg.active { background: var(--grad); color: #fff; }
/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; padding: 168px 24px 110px; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 460px at 78% -8%, rgba(59, 130, 246, .22), transparent 60%),
    radial-gradient(700px 400px at 10% 12%, rgba(14, 165, 233, .16), transparent 60%),
    var(--grad-soft);
}
body[data-theme="tech"] .hero-bg {
  background:
    radial-gradient(900px 460px at 78% -8%, rgba(34, 211, 238, .20), transparent 60%),
    radial-gradient(700px 400px at 10% 12%, rgba(59, 130, 246, .20), transparent 60%);
}
body[data-theme="orange"] .hero-bg {
  background:
    radial-gradient(900px 460px at 78% -8%, rgba(249, 115, 22, .24), transparent 60%),
    radial-gradient(700px 400px at 10% 12%, rgba(245, 158, 11, .20), transparent 60%),
    var(--grad-soft);
}
body[data-theme="colorful"] .hero-bg {
  background:
    radial-gradient(900px 520px at 12% 18%, rgba(251, 113, 133, .34), transparent 62%),
    radial-gradient(760px 440px at 88% 10%, rgba(34, 211, 238, .26), transparent 62%),
    radial-gradient(700px 520px at 55% 100%, rgba(168, 85, 247, .34), transparent 64%),
    var(--grad-soft);
}
body[data-theme="colorful"] .hero-bg::before,
body[data-theme="colorful"] .hero-bg::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(72px); opacity: .45; z-index: 0;
}
body[data-theme="colorful"] .hero-bg::before {
  width: 420px; height: 420px; left: 5%; top: 8%;
  background: radial-gradient(circle, #fb7185, transparent 66%);
  animation: colorfulFloat 12s ease-in-out infinite;
}
body[data-theme="colorful"] .hero-bg::after {
  width: 480px; height: 480px; right: 2%; bottom: -12%;
  background: radial-gradient(circle, #22d3ee, transparent 66%);
  animation: colorfulFloat 15s ease-in-out infinite reverse;
}
@keyframes colorfulFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(26px, -18px, 0) scale(1.08); }
}
.hero-inner { position: relative; max-width: 880px; margin: 0 auto; text-align: center; z-index: 1; }
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--primary); font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero-title {
  font-size: 46px; line-height: 1.22; font-weight: 800;
  letter-spacing: -.5px; margin-bottom: 18px;
}
body[data-theme="colorful"] .hero-badge {
  color: #f5d0fe; background: rgba(23, 16, 46, .72);
  border-color: rgba(232, 121, 249, .38);
  box-shadow: 0 0 26px rgba(217, 70, 239, .22);
}
body[data-theme="colorful"] .hero-title { color: #f5d0fe; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  body[data-theme="colorful"] .hero-title {
    background: linear-gradient(120deg, #fda4af 0%, #f0abfc 30%, #c4b5fd 55%, #67e8f9 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    filter: drop-shadow(0 8px 28px rgba(217, 70, 239, .18));
  }
}
.hero-sub { font-size: 18px; color: var(--muted); max-width: 680px; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: 11px; font-weight: 600; font-size: 15px;
  transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--primary); color: var(--primary); }

/* ============ 区块 ============ */
.section { padding: 86px 24px; max-width: 1200px; margin: 0 auto; }
.section-alt { max-width: none; background: var(--bg-alt); }
.section-alt .section-inner { max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-kicker {
  text-transform: uppercase; letter-spacing: 3px; font-size: 13px;
  font-weight: 700; color: var(--primary); margin-bottom: 10px;
}
.section-title { font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.section-desc { color: var(--muted); font-size: 16px; }

/* ============ 网格 / 卡片 ============ */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.loading { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-hover); border-color: var(--primary); }

/* 卡片滚动入场动画 */
.card.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .6s cubic-bezier(.22,.61,.36,1),
              transform .6s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.card.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .card.reveal { opacity: 1; transform: none; transition: none; }
}
.card-cover {
  height: 158px; position: relative;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .92);
}
.card-cover .cover-glyph { font-size: 44px; opacity: .9; text-shadow: 0 6px 20px rgba(0,0,0,.2); }
.card-cover img { width: 100%; height: 100%; object-fit: cover; }
.card-cover .cover-idx {
  position: absolute; top: 12px; right: 14px;
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,.8);
  letter-spacing: 1px;
}
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 18px; font-weight: 700; margin-bottom: 9px; }
.card-excerpt {
  color: var(--muted); font-size: 14px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-more {
  margin-top: 16px; color: var(--primary); font-size: 14px; font-weight: 600;
  display: flex; align-items: center; gap: 5px;
}
.card:hover .card-more { gap: 10px; }
.card-more { transition: gap .2s; }

/* ============ 弹窗 ============ */
.modal-mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 12, 24, .62); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-mask.show { display: flex; }
.modal {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; max-width: 640px; width: 100%; max-height: 86vh;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 30px 70px rgba(0,0,0,.4);
  animation: pop .25s ease;
}
@keyframes pop { from { transform: scale(.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close {
  position: absolute; top: 12px; right: 14px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: rgba(15, 23, 42, .5); color: #fff; font-size: 22px;
  cursor: pointer; line-height: 1;
}
.modal-cover { height: 200px; display: flex; align-items: center; justify-content: center; }
.modal-cover .cover-glyph { font-size: 56px; color: rgba(255,255,255,.9); }
.modal-cover img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 26px 28px 30px; overflow-y: auto; }
.modal-title { font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.modal-content { color: var(--muted); font-size: 15px; line-height: 1.85; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.modal-content * { max-width: 100%; box-sizing: border-box; }
.modal-content p { margin: 0 0 12px; text-indent: 2em; }
.modal-content h1, .modal-content h2, .modal-content h3, .modal-content h4 { color: var(--text); margin: 16px 0 8px; line-height: 1.4; }
.modal-content img { max-width: 100%; height: auto; border-radius: 8px; display: block; margin: 10px 0; }
.modal-content video { max-width: 100%; height: auto; border-radius: 8px; display: block; margin: 10px 0; }
.modal-content table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 13px; }
.modal-content th, .modal-content td { border: 1px solid var(--border); padding: 7px 9px; text-align: left; }
.modal-content blockquote { margin: 10px 0; padding: 8px 14px; border-left: 3px solid var(--primary); background: var(--bg-alt); }
.modal-content pre { background: var(--bg-alt); padding: 10px; border-radius: 8px; overflow: auto; }
.modal-content a { color: var(--primary); }
.modal-content ul, .modal-content ol { padding-left: 22px; margin: 8px 0; }

/* ============ 统一页脚 ============ */
.site-footer { background: #0b2039; color: #a9bfd8; margin-top: 70px; }
.site-footer .footer-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 46px 0 34px; display: grid; grid-template-columns: 1.5fr .7fr .7fr .7fr; gap: 36px; }
.site-footer .site-brand { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; margin-bottom: 12px; }
.site-footer .site-brand .brand-logo { height: 32px; max-width: 170px; object-fit: contain; border-radius: 6px; }
.site-footer .site-brand .brand-name { color: #fff; font-size: 17px; font-weight: 700; }
.site-footer .site-brand-with-logo .brand-name { display: none; }
.site-footer .site-brand .brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg,#2563eb,#0ea5a4); color: #fff; }
.site-footer .footer-brand { display: block; }
.site-footer .footer-brand p { font-size: 12.5px; line-height: 1.8; color: #8fa9c6; max-width: 400px; margin: 0 0 14px; }
.site-footer .footer-contact { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #9db5d1; }
.site-footer .footer-contact a { color: #9db5d1; }
.site-footer .footer-contact a:hover { color: #fff; }
.site-footer .footer-col h4 { color: #e5effb; font-size: 12px; letter-spacing: .1em; margin: 0 0 12px; text-transform: uppercase; }
.site-footer .footer-col a { display: block; font-size: 12.5px; color: #9db5d1; padding: 4px 0; }
.site-footer .footer-col a:hover { color: #fff; }
.site-footer .footer-bottom { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 16px 0 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 11px; color: #7893b2; }
.site-footer .footer-legal { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .site-footer .footer-inner { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 640px) {
  .site-footer .footer-inner { width: min(100% - 32px, 1180px); grid-template-columns: 1fr; gap: 24px; padding: 32px 0 24px; }
  .site-footer .footer-bottom { width: min(100% - 32px, 1180px); }
}

/* ============ 客服中心 / 回到顶部 ============ */
.cs-widget { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 80; display: flex; align-items: center; justify-content: flex-end; }
.cs-handle { order: 2; writing-mode: vertical-rl; border: 0; border-radius: 12px 0 0 12px; background: linear-gradient(180deg,#2563eb,#4f46e5); color: #fff; padding: 16px 10px; font: inherit; font-size: 12px; letter-spacing: 4px; cursor: pointer; box-shadow: -6px 8px 22px rgba(37,99,235,.22); display: flex; align-items: center; gap: 8px; }
.cs-handle i { font-style: normal; font-size: 14px; letter-spacing: 0; transition: .2s; }
.cs-widget.open .cs-handle i, .cs-widget:hover .cs-handle i { transform: rotate(180deg); }
.cs-panel { order: 1; position: absolute; right: 36px; top: 50%; width: 292px; max-height: min(610px,calc(100vh - 80px)); overflow: auto; background: #fff; border: 1px solid #e4edf9; border-radius: 16px; box-shadow: -18px 20px 50px rgba(15,39,68,.18); padding: 20px; opacity: 0; visibility: hidden; transform: translate(28px,-50%); pointer-events: none; transition: opacity .2s ease,transform .2s ease,visibility .2s; }
.cs-widget:hover .cs-panel, .cs-widget:focus-within .cs-panel, .cs-widget.open .cs-panel { opacity: 1; visibility: visible; transform: translate(0,-50%); pointer-events: auto; }
.cs-eyebrow { font-size: 9px; font-weight: 800; letter-spacing: .16em; color: #2563eb; margin-bottom: 5px; }
.cs-head h3 { font-size: 20px; letter-spacing: -.03em; margin: 0 0 5px; color: #173252; }
.cs-head p { font-size: 12px; color: #7b8ba1; line-height: 1.65; margin: 0 0 15px; }
.cs-actions { display: grid; gap: 8px; }
.cs-action { display: flex; align-items: center; gap: 9px; padding: 10px 11px; border-radius: 10px; font-size: 12.5px; font-weight: 600; color: #fff; transition: .16s; }
.cs-action i { margin-left: auto; font-style: normal; opacity: .7; }
.cs-action:hover { transform: translateX(-2px); }
.cs-action-ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.18); font-size: 11px; font-weight: 800; }
.cs-qq { background: linear-gradient(135deg,#17b8f4,#0b8fd0); }
.cs-qr { margin-top: 15px; padding-top: 14px; border-top: 1px dashed #e5eef9; text-align: center; }
.cs-qr img { width: 140px; height: 140px; object-fit: contain; border: 1px solid #eef4fb; border-radius: 10px; margin: 0 auto 6px; display: block; }
.cs-qr span { font-size: 10px; color: #9aa7bb; }
.cs-time { display: flex; align-items: center; gap: 7px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed #e5eef9; font-size: 10.5px; color: #8b9bb1; }
.cs-time span { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.12); }
.back-top { position: fixed; right: 0; top: calc(50% + 82px); z-index: 79; display: flex; flex-direction: column; align-items: center; gap: 1px; width: 46px; padding: 9px 0; border: 1px solid #dce8f8; border-right: 0; border-radius: 10px 0 0 10px; background: rgba(255,255,255,.97); color: #55708f; box-shadow: -6px 10px 26px rgba(15,39,68,.12); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s,transform .2s,visibility .2s,color .2s; }
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { color: #2563eb; background: #f7fbff; }
.back-top b { font-size: 17px; line-height: 1; font-weight: 700; }
.back-top em { font-size: 9px; font-style: normal; letter-spacing: .06em; }
@media (max-width: 640px) {
  .cs-panel { width: min(278px,calc(100vw - 48px)); padding: 16px; }
  .cs-qr img { width: 112px; height: 112px; }
  .cs-handle { padding: 13px 8px; font-size: 11px; }
  .back-top { top: calc(50% + 72px); width: 42px; }
}

/* ============ 页脚 ============ */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 46px 24px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: stretch; justify-content: space-between; gap: 30px;
}
.footer-main { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-site {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 6px 18px; padding-top: 14px;
  border-top: 1px dashed var(--border); color: var(--muted); font-size: 12px;
}
.footer-site a { color: var(--primary); font-weight: 500; }
.footer-site .footer-phone { color: var(--text); font-weight: 600; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--primary); font-size: 14px; font-weight: 600; }
.footer-qr {
  flex: 0 0 360px; width: 360px; padding-left: 30px;
  border-left: 1px solid rgba(120, 132, 150, .28);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  color: var(--muted); font-size: 11px; text-align: center;
}
.footer-qr img {
  width: 112px; height: 112px; object-fit: contain; padding: 6px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
}

/* ============ 卡片价格 / 加购 ============ */
.card-price { font-size: 21px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.card-price .cur { font-size: 13px; font-weight: 700; margin-right: 1px; }
.card-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.card-actions .card-more { margin-top: 0; }
.add-cart-btn {
  border: none; background: var(--grad); color: #fff; padding: 8px 15px;
  border-radius: 9px; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: transform .15s, box-shadow .2s, opacity .2s;
}
.add-cart-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0, 0, 0, .18); }
.add-cart-btn:active { transform: translateY(0); }

/* 产品卡片：后台价格 / 分类 / 标签 / 推荐 */
.card-price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.card-price-row .card-price { margin-bottom: 0; }
.card-original { color: var(--muted); font-size: 13px; text-decoration: line-through; }
.card-unit { color: var(--muted); font-size: 12px; }
.card-flag {
  position: absolute; top: 12px; left: 14px; z-index: 2;
  font-size: 11px; font-weight: 700; color: #fff; background: #f59e0b;
  padding: 3px 8px; border-radius: 999px; letter-spacing: .5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.card-cat {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  max-width: calc(100% - 28px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 11px; font-weight: 600; color: #fff;
  background: rgba(15, 23, 42, .32); border: 1px solid rgba(255, 255, 255, .18);
  padding: 3px 8px; border-radius: 999px; backdrop-filter: blur(4px);
}
.card-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.card-tag {
  max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 11px; color: var(--muted); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 999px; padding: 2px 7px;
}
.filter-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.filter-chip {
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.filter-chip b { font-weight: 700; color: var(--text); margin-left: 2px; }
.filter-chip:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow); }
.filter-chip.active b { color: #fff; }

/* 产品详情弹窗：价格与标签 */
.modal-meta { display: none; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.modal-cat, .modal-flag {
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  color: var(--primary); background: var(--ring);
}
.modal-flag { color: #b45309; background: rgba(245, 158, 11, .14); }
.modal-price { font-size: 25px; font-weight: 800; color: var(--primary); }
.modal-original { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.modal-unit { font-size: 12px; color: var(--muted); }
.modal-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.modal-tag {
  font-size: 11px; color: var(--muted); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 999px; padding: 2px 8px;
}
.modal-actions { display: none; gap: 10px; margin-top: 18px; }
.modal-actions .btn { padding: 10px 22px; font-size: 14px; }

/* 商品列表卡：只负责吸引点击，购买动作放到详情页顶部 */
.product-card .card-cover { height: 190px; }
.product-card .card-title { margin-top: 1px; font-size: 19px; }
.card-versions { position: absolute; right: 14px; bottom: 12px; z-index: 2; padding: 4px 8px; border-radius: 999px; color: #1e40af; background: rgba(255,255,255,.9); font-size: 9px; font-weight: 700; backdrop-filter: blur(4px); }
.card-start { margin-left: -2px; color: #94a3b8; font-size: 10px; }
.card-actions-buy { align-items: center; }
.card-actions-buy .card-more { font-size: 12px; font-weight: 700; color: var(--primary); }
.card-actions-buy .card-trust { color: #a0aec0; font-size: 9px; }

/* 商品详情页：购买页承载吸引力 */
html.detail-open, body.detail-open { overflow: hidden; }
.modal-mask.detail-mode { align-items: flex-start; padding: 18px; overflow: hidden; overscroll-behavior: contain; }
.modal.detail-page { width: min(1100px, 100%); max-width: 1100px; max-height: 92vh; border-radius: 22px; }
.detail-page .modal-cover { height: 280px; }
.detail-page .modal-cover .cover-glyph { font-size: 74px; }
.detail-page .modal-body { padding: 0 34px 42px; }
.detail-page .modal-title { margin: 28px 0 14px; font-size: clamp(24px, 3vw, 32px); line-height: 1.3; letter-spacing: -.03em; }
.detail-page .modal-meta { margin-bottom: 13px; }
.detail-page .modal-content { max-width: 100%; font-size: 14px; }
.detail-page .modal-content p { text-indent: 0; color: #64748b; }
.modal-trust { padding: 5px 8px; border-radius: 6px; color: #0f766e; background: #ecfdf5; font-size: 9px; font-weight: 650; }
.modal-buybar { position: sticky; top: 0; z-index: 4; align-items: center; gap: 16px; margin: 0 -34px 20px; padding: 13px 34px; background: rgba(255,255,255,.96); border-top: 1px solid #eef3fa; border-bottom: 1px solid #e8eef7; backdrop-filter: blur(12px); }
.buy-price { display: flex; align-items: baseline; gap: 2px; color: #0f766e; flex: none; }
.buy-price span { font-size: 14px; font-weight: 700; }
.buy-price b { font-size: 30px; font-weight: 850; letter-spacing: -.04em; }
.buy-price small { color: #94a3b8; font-size: 10px; }
.buy-copy { display: flex; flex: 1; flex-direction: column; gap: 1px; min-width: 0; }
.buy-copy b { color: #334155; font-size: 12px; font-weight: 700; }
.buy-copy span { color: #94a3b8; font-size: 10px; }
.buy-version-select { width: 100%; max-width: 300px; height: 29px; margin: 3px 0 2px; padding: 0 9px; border: 1px solid #d8e5f7; border-radius: 8px; background: #f8fbff; color: #334155; font: inherit; font-size: 11px; font-weight: 600; outline: none; cursor: pointer; }
.buy-version-select:focus { border-color: #2563eb; background: #fff; }
.plan-card[data-plan-key] { cursor: pointer; transition: border-color .18s, box-shadow .18s, transform .18s; }
.plan-card[data-plan-key]:hover { border-color: #b9d4fb; transform: translateY(-2px); }
.plan-card.selected { border-color: #2563eb; box-shadow: 0 0 0 3px #e8f1ff, 0 14px 30px rgba(37,99,235,.12); }
.plan-card.selected::after {
  content: '已选'; position: absolute; top: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  min-width: 72px; height: 32px; padding: 0 13px;
  border-radius: 0 18px 0 14px;
  background: linear-gradient(135deg, #1d4ed8, #6d28d9);
  color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .08em;
  text-shadow: 0 1px 2px rgba(0,0,0,.16);
  box-shadow: 0 6px 16px rgba(37,99,235,.32);
}
.modal-buybar .add-cart-btn { flex: none; padding: 12px 26px; border-radius: 10px; font-size: 13px; font-weight: 750; }
.detail-page .plan-section { margin-top: 28px; padding-top: 22px; }
.detail-page .plan-section-head h3 { font-size: 25px; }
.detail-page .plan-grid { gap: 12px; }
.detail-page .plan-card { padding: 19px 16px; }
.detail-page .plan-name { font-size: 18px; }
.detail-page .plan-desc { font-size: 11px; }
.detail-page .plan-price { font-size: 26px; }
.detail-page .plan-features li { font-size: 11px; }
.detail-page .plan-table-wrap { margin-top: 18px; }
.detail-page .plan-table th, .detail-page .plan-table td { padding: 11px 13px; font-size: 11px; }
.detail-page .modal-close { background: rgba(15,23,42,.62); }
@media (max-width: 760px) {
  .modal-mask.detail-mode { padding: 0; }
  .modal.detail-page { max-height: 100vh; height: 100vh; border-radius: 0; }
  .detail-page .modal-cover { height: 210px; }
  .detail-page .modal-body { padding: 0 18px 28px; }
  .detail-page .modal-title { margin-top: 20px; font-size: 23px; }
  .modal-buybar { margin: 0 -18px 16px; padding: 11px 18px; gap: 9px; flex-wrap: wrap; }
  .buy-price b { font-size: 25px; }
  .buy-copy { flex-basis: calc(100% - 120px); }
  .buy-copy span { display: none; }
  .modal-buybar .add-cart-btn { padding: 10px 18px; }
  .detail-page .plan-grid { grid-template-columns: 1fr; }
  .detail-page .plan-table th, .detail-page .plan-table td { padding: 9px 8px; font-size: 10px; }
}

/* ============ 导航：购物车 / 账户 ============ */
.icon-btn {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 9px; padding: 7px 11px; font-size: 15px; cursor: pointer;
  color: var(--text); transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.cart-ico { font-size: 15px; }
.cart-badge {
  position: absolute; top: -7px; right: -7px; min-width: 18px; height: 18px;
  background: #ef4444; color: #fff; border-radius: 9px; font-size: 11px;
  display: flex; align-items: center; justify-content: center; padding: 0 5px;
  font-weight: 700; border: 2px solid var(--nav-bg);
}
.auth-area { display: flex; align-items: center; gap: 6px; }
.text-btn {
  border: none; background: transparent; color: var(--text); font-size: 14px;
  font-weight: 600; cursor: pointer; padding: 6px 9px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.text-btn:hover { color: var(--primary); background: var(--surface-2); }
.text-btn-primary { background: var(--grad); color: #fff; }
.text-btn-primary:hover { color: #fff; opacity: .92; background: var(--grad); }
.user-name { font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; }
.user-chip .user-name { max-width: 132px; overflow: hidden; text-overflow: ellipsis; }

/* ============ 登录 / 注册 弹窗 ============ */
.auth-modal {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; width: 380px; max-width: 92vw; padding: 32px 34px 26px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .32); animation: pop .25s ease;
}
.auth-pane { display: flex; flex-direction: column; }
.auth-logo {
  width: 54px; height: 54px; border-radius: 15px; background: var(--grad);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin: 0 auto 14px;
}
.auth-title { text-align: center; font-size: 22px; font-weight: 800; }
.auth-tip { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.field-label { font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.field {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px;
  padding: 11px 13px; font-size: 14px; color: var(--text); outline: none;
  margin-bottom: 15px; transition: border-color .2s, box-shadow .2s;
}
.field:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }
.auth-submit { width: 100%; margin-top: 4px; }
.auth-switch { text-align: center; font-size: 13px; color: var(--muted); margin-top: 16px; }
.auth-switch a { color: var(--primary); font-weight: 600; cursor: pointer; }
.auth-qr-entry {
  width: 100%; height: 38px; margin-top: 10px; border: 1px solid var(--border);
  border-radius: 10px; background: transparent; color: var(--text); font-size: 13px;
  cursor: pointer; transition: border-color .2s, color .2s, background .2s;
}
.auth-qr-entry:hover { border-color: var(--primary); color: var(--primary); }
.qr-identity {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0 auto 8px; padding: 4px 9px; border-radius: 999px;
  color: var(--primary); font-size: 10px; font-weight: 600;
  background: rgba(37, 99, 235, .08); border: 1px solid rgba(37, 99, 235, .18);
}
.qr-identity::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
}
.qr-box {
  width: 200px; height: 200px; margin: 6px auto 12px; padding: 6px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
}
.qr-box img, .qr-box canvas { display: block; width: 188px !important; height: 188px !important; border-radius: 8px; }
.qr-placeholder { color: var(--muted); font-size: 12px; }
.qr-status { min-height: 18px; margin-bottom: 8px; text-align: center; color: var(--muted); font-size: 12px; }
.qr-status.ok { color: #16a34a; }
.qr-status.err { color: #ef4444; }
.field-error { border-color: #ef4444 !important; }

/* ============ 购物车抽屉 ============ */
.drawer-mask {
  position: fixed; inset: 0; z-index: 300; background: rgba(8, 12, 24, .5);
  backdrop-filter: blur(2px); display: none;
}
.drawer-mask.show { display: block; }
.cart-drawer {
  position: absolute; top: 0; right: 0; bottom: 0; width: 400px; max-width: 92vw;
  background: var(--surface); border-left: 1px solid var(--border);
  display: flex; flex-direction: column; animation: slideIn .28s ease;
  box-shadow: -20px 0 50px rgba(0, 0, 0, .25);
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--border);
}
.cart-header-title { font-size: 17px; font-weight: 700; }
.cart-header .modal-close { position: static; background: var(--surface-2); color: var(--text); }
.cart-list { flex: 1; overflow-y: auto; padding: 12px 22px; }
.cart-empty { text-align: center; color: var(--muted); padding: 70px 0; }
.cart-empty .ce { font-size: 48px; display: block; margin-bottom: 12px; }
.cart-empty .go { color: var(--primary); font-weight: 600; cursor: pointer; }
.cart-item {
  display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border);
}
.cart-item-thumb {
  width: 60px; height: 60px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-bottom { display: flex; align-items: center; justify-content: space-between; }
.qty { display: flex; align-items: center; }
.qty button {
  width: 25px; height: 25px; border: 1px solid var(--border); background: var(--surface-2);
  color: var(--text); border-radius: 6px; cursor: pointer; font-size: 15px; line-height: 1;
}
.qty button:hover { border-color: var(--primary); color: var(--primary); }
.qty .qnum { min-width: 34px; text-align: center; font-size: 14px; font-weight: 600; }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.cart-item-price { font-size: 15px; font-weight: 700; color: var(--primary); }
.cart-item-remove { border: none; background: none; color: var(--muted); cursor: pointer; font-size: 12px; }
.cart-item-remove:hover { color: #ef4444; }
.cart-footer { padding: 18px 22px 24px; border-top: 1px solid var(--border); }
.cart-total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 15px; color: var(--text); }
.cart-total-price { font-size: 25px; font-weight: 800; color: var(--primary); }
.cart-checkout { width: 100%; }

/* ============ 轻提示 Toast ============ */
.toast {
  position: fixed; top: 80px; left: 50%;
  transform: translateX(-50%) translateY(-14px);
  background: rgba(19, 27, 42, .93); color: #fff; padding: 11px 22px;
  border-radius: 11px; font-size: 14px; font-weight: 600; z-index: 400;
  opacity: 0; pointer-events: none; max-width: 88vw; text-align: center;
  transition: opacity .25s, transform .25s; box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ 炫彩模板专属氛围 ============ */
body[data-theme="colorful"] .nav {
  box-shadow: 0 1px 0 rgba(232, 121, 249, .18), 0 14px 40px rgba(0, 0, 0, .28);
}
body[data-theme="colorful"] .section-kicker { color: #67e8f9; }
body[data-theme="colorful"] .section-alt {
  background: linear-gradient(180deg, rgba(20, 10, 40, .92), rgba(10, 16, 38, .92));
}
body[data-theme="colorful"] .card { box-shadow: 0 16px 40px rgba(0, 0, 0, .38); }
body[data-theme="colorful"] .card:hover {
  border-color: rgba(232, 121, 249, .75);
  box-shadow: 0 26px 70px rgba(217, 70, 239, .22), 0 0 0 1px rgba(34, 211, 238, .16);
}
body[data-theme="colorful"] .card-flag {
  background: linear-gradient(135deg, #fb7185, #d946ef);
}
body[data-theme="colorful"] .uc-hero::after {
  background: radial-gradient(circle, rgba(251, 113, 133, .26), transparent 66%);
}
body[data-theme="colorful"] .uc-status.pending { color: #fbbf24; background: rgba(251, 191, 36, .14); }
body[data-theme="colorful"] .uc-status.done { color: #34d399; background: rgba(52, 211, 153, .14); }
body[data-theme="colorful"] .uc-status.refunded { color: #f87171; background: rgba(248, 113, 113, .14); }
body[data-theme="colorful"] .uc-service-badge { color: #34d399; background: rgba(52, 211, 153, .13); }
body[data-theme="colorful"] ::selection { background: rgba(217, 70, 239, .38); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  body[data-theme="colorful"] .hero-bg::before,
  body[data-theme="colorful"] .hero-bg::after { animation: none; }
}

/* ============ 响应式 ============ */
@media (max-width: 1120px) {
  .nav-inner { gap: 16px; }
  .nav-links { gap: 16px; }
  .nav-tools { gap: 8px; }
  .switcher .seg { padding: 5px 8px; font-size: 12px; }
  .user-chip .user-name { max-width: 96px; }
}
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 34px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-qr {
    width: 100%; flex-direction: row; justify-content: flex-start;
    padding: 16px 0 0; border-left: 0; border-top: 1px solid rgba(120, 132, 150, .28);
    text-align: left;
  }
  .footer-qr img { width: 72px; height: 72px; }

  /* 自适应导航 */
  .nav-inner { height: auto; min-height: 66px; flex-wrap: wrap; gap: 14px; padding: 12px 16px; }
  .nav-toggle { display: flex; }
  .nav-collapse {
    display: none; order: 3; flex-basis: 100%; flex-direction: column;
    align-items: stretch; gap: 0;
    animation: navDrop .28s ease;
  }
  .nav.open .nav-collapse { display: flex; }
  @keyframes navDrop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav-links { flex-direction: column; gap: 0; margin-left: 0; flex: none; border-bottom: 1px solid var(--border); }
  .nav-links a { padding: 14px 2px; font-size: 15px; }
  .nav-tools { flex-wrap: wrap; gap: 12px; padding-top: 14px; }
}
@media (max-width: 620px) {
  .grid-3 { grid-template-columns: 1fr; }
  .user-chip .user-name { max-width: 82px; }
  .hero-title { font-size: 28px; }
  .hero-sub { font-size: 16px; }
  .switcher .seg { padding: 5px 6px; font-size: 12px; white-space: nowrap; }
  .nav-tools .switcher { flex: 1 1 100%; }
  .nav-tools .switcher .seg { flex: 1; }
}

/* ============================================================
   用户中心（登录后业务操作）
   ============================================================ */

/* ---------- 顶栏用户入口 ---------- */
.user-chip {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid transparent; background: transparent; color: var(--text);
  padding: 3px 6px 3px 4px; border-radius: 999px; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.user-chip:hover { background: var(--surface-2); border-color: var(--border); }
.user-avatar {
  width: 27px; height: 27px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad); color: #fff; font-size: 12px; font-weight: 700;
  overflow: hidden;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-caret { color: var(--muted); font-size: 10px; line-height: 1; }
.user-badge {
  position: absolute; top: -5px; right: 2px; min-width: 17px; height: 17px;
  padding: 0 4px; border-radius: 9px; background: #ef4444; color: #fff;
  font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--nav-bg);
}
.cart-hint { font-size: 12px; color: var(--muted); text-align: center; margin: -4px 0 12px; }

/* ---------- 用户中心外壳 ---------- */
body.uc-open { overflow: hidden; }
.uc-mask {
  position: fixed; inset: 0; z-index: 500; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(8, 12, 24, .58); backdrop-filter: blur(5px);
}
.uc-mask.show { display: flex; }
.uc-panel {
  width: min(1120px, 96vw); height: min(860px, 92vh);
  display: flex; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; box-shadow: 0 36px 90px rgba(0, 0, 0, .38);
  animation: pop .24s ease;
}
.uc-side {
  width: 238px; flex: none; display: flex; flex-direction: column;
  padding: 26px 18px 18px; background: var(--surface-2);
  border-right: 1px solid var(--border);
}
.uc-brand { display: flex; align-items: center; gap: 12px; padding: 0 6px 22px; }
.uc-avatar {
  width: 52px; height: 52px; border-radius: 16px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad); color: #fff; font-size: 21px; font-weight: 800;
  box-shadow: var(--shadow); overflow: hidden;
}
.uc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.uc-brand-text { min-width: 0; }
.uc-name { font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-account { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-tenant { font-size: 11px; color: var(--primary); font-weight: 600; margin-top: 3px; }
.uc-nav { display: flex; flex-direction: column; gap: 5px; }
.uc-nav-item {
  display: flex; align-items: center; gap: 9px; width: 100%;
  border: none; background: transparent; color: var(--muted);
  padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600;
  cursor: pointer; text-align: left; transition: all .2s;
}
.uc-nav-item:hover { background: var(--surface); color: var(--text); }
.uc-nav-item.active { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.uc-nav-item .uc-ico { width: 18px; text-align: center; font-size: 14px; }
.uc-dot {
  margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: #ef4444; color: #fff; font-size: 10px;
  display: inline-flex; align-items: center; justify-content: center;
}
.uc-nav-item.active .uc-dot { background: rgba(255, 255, 255, .28); }
.uc-side-foot { margin-top: auto; padding: 16px 4px 0; }
.uc-side-tip { font-size: 11px; color: var(--muted); line-height: 1.7; margin-bottom: 10px; }
.uc-logout {
  width: 100%; border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); border-radius: 9px; padding: 8px 10px;
  font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s;
}
.uc-logout:hover { color: #ef4444; border-color: rgba(239, 68, 68, .45); }
.uc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.uc-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 24px 30px 20px; border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.uc-title { font-size: 22px; font-weight: 800; }
.uc-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }
.uc-head-actions { display: flex; align-items: center; gap: 8px; }
.uc-head-logout {
  display: none; border: none; background: transparent; color: var(--muted);
  font-size: 13px; font-weight: 600; cursor: pointer; padding: 6px 4px;
}
.uc-head-logout:hover { color: #ef4444; }
.uc-close {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text); font-size: 21px; line-height: 1;
  cursor: pointer; transition: all .2s;
}
.uc-close:hover { background: #ef4444; color: #fff; border-color: #ef4444; }
.uc-body { flex: 1; min-height: 0; overflow-y: auto; padding: 26px 30px 38px; background: var(--bg); }
.uc-body::-webkit-scrollbar { width: 8px; }
.uc-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }

/* ---------- 概览 ---------- */
.uc-hero {
  position: relative; overflow: hidden; display: flex; justify-content: space-between;
  gap: 24px; padding: 26px 28px; border-radius: 18px;
  background: var(--grad-soft); border: 1px solid var(--border);
}
.uc-hero::after {
  content: ''; position: absolute; width: 320px; height: 320px; right: -100px; top: -170px;
  background: radial-gradient(circle, rgba(255, 255, 255, .45), transparent 65%);
  border-radius: 50%; pointer-events: none;
}
body[data-theme="tech"] .uc-hero::after { background: radial-gradient(circle, rgba(34, 211, 238, .18), transparent 65%); }
.uc-hero-main { position: relative; z-index: 1; min-width: 0; }
.uc-hero-kicker { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--primary); text-transform: uppercase; }
.uc-hero-name { font-size: 27px; font-weight: 800; margin: 6px 0 7px; }
.uc-hero-desc { font-size: 13px; color: var(--muted); line-height: 1.8; }
.uc-hero-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.uc-tag {
  font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px;
  background: var(--surface); color: var(--muted); border: 1px solid var(--border);
}
.uc-tag.hot { color: var(--primary); border-color: var(--primary); }
.uc-progress {
  position: relative; z-index: 1; width: 230px; flex: none; align-self: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 18px; box-shadow: var(--shadow);
}
.uc-progress-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 9px; }
.uc-progress-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.uc-progress-num { font-size: 22px; font-weight: 800; color: var(--primary); }
.uc-bar { height: 7px; border-radius: 99px; background: var(--border); overflow: hidden; }
.uc-bar span { display: block; height: 100%; border-radius: 99px; background: var(--grad); transition: width .5s ease; }
.uc-progress-link {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 10px;
  color: var(--primary); font-size: 12px; font-weight: 700; cursor: pointer;
  border: none; background: transparent; padding: 0;
}
.uc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-top: 18px; }
.uc-stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 17px; cursor: default; transition: transform .2s, box-shadow .2s;
}
.uc-stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.uc-stat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.uc-stat-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.uc-stat-ico { width: 28px; height: 28px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 13px; background: var(--surface-2); }
.uc-stat-num { font-size: 25px; font-weight: 800; line-height: 1.15; }
.uc-stat-sub { font-size: 11px; color: var(--muted); margin-top: 3px; }
.uc-section-title {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 26px 0 12px; font-size: 15px; font-weight: 800;
}
.uc-section-title .more {
  border: none; background: transparent; color: var(--primary); font-size: 12px;
  font-weight: 700; cursor: pointer; padding: 2px 0;
}
.uc-notices { display: flex; flex-direction: column; gap: 9px; }
.uc-notice {
  display: flex; align-items: center; gap: 13px; padding: 13px 15px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 13px;
}
.uc-notice-ico {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
  background: var(--surface-2);
}
.uc-notice.warning .uc-notice-ico { background: rgba(245, 158, 11, .14); }
.uc-notice.primary .uc-notice-ico { background: rgba(37, 99, 235, .12); }
.uc-notice.info .uc-notice-ico { background: rgba(14, 165, 233, .12); }
.uc-notice.success .uc-notice-ico { background: rgba(16, 185, 129, .12); }
.uc-notice-text { flex: 1; min-width: 0; }
.uc-notice-title { font-size: 13px; font-weight: 700; }
.uc-notice-desc { font-size: 12px; color: var(--muted); margin-top: 2px; }
.uc-notice-btn {
  border: 1px solid var(--border); background: var(--surface-2); color: var(--primary);
  border-radius: 8px; padding: 6px 12px; font-size: 12px; font-weight: 700;
  cursor: pointer; flex: none; transition: all .2s;
}
.uc-notice-btn:hover { border-color: var(--primary); }
.uc-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.uc-quick-btn {
  display: flex; align-items: center; gap: 9px; padding: 13px 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all .2s; text-align: left;
}
.uc-quick-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.uc-quick-ico { font-size: 17px; }

/* ---------- 订单 ---------- */
.uc-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; margin-bottom: 15px;
}
.uc-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.uc-filter {
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.uc-filter:hover { color: var(--primary); border-color: var(--primary); }
.uc-filter.active { background: var(--grad); color: #fff; border-color: transparent; }
.uc-search { display: flex; gap: 6px; }
.uc-search input {
  width: 190px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 9px; padding: 7px 11px; font-size: 12px; color: var(--text); outline: none;
}
.uc-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }
.uc-search button {
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  border-radius: 9px; padding: 0 12px; font-size: 12px; font-weight: 600; cursor: pointer;
}
.uc-search button:hover { color: var(--primary); border-color: var(--primary); }
.uc-order {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; margin-bottom: 13px; overflow: hidden;
}
.uc-order-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 17px; background: var(--surface-2); border-bottom: 1px solid var(--border);
}
.uc-order-no { font-size: 12px; color: var(--muted); }
.uc-order-no b { color: var(--text); font-weight: 700; letter-spacing: .2px; }
.uc-order-head-right { display: flex; align-items: center; gap: 9px; }
.uc-order-date { font-size: 11px; color: var(--muted); }
.uc-status { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.uc-status.pending { color: #b45309; background: rgba(245, 158, 11, .14); }
.uc-status.paid { color: var(--primary); background: var(--ring); }
.uc-status.done { color: #047857; background: rgba(16, 185, 129, .14); }
.uc-status.cancelled { color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); }
.uc-status.refunded { color: #b91c1c; background: rgba(239, 68, 68, .12); }
body[data-theme="tech"] .uc-status.pending { color: #fbbf24; background: rgba(251, 191, 36, .14); }
body[data-theme="tech"] .uc-status.done { color: #34d399; background: rgba(52, 211, 153, .14); }
body[data-theme="tech"] .uc-status.refunded { color: #f87171; background: rgba(248, 113, 113, .14); }
.uc-order-body { padding: 12px 17px 6px; }
.uc-order-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.uc-order-item:last-child { border-bottom: none; }
.uc-thumb {
  width: 47px; height: 47px; border-radius: 11px; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .95); font-size: 18px;
}
.uc-order-info { flex: 1; min-width: 0; }
.uc-order-name { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-order-spec { font-size: 11px; color: var(--muted); margin-top: 2px; }
.uc-order-line { font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; }
.uc-order-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; padding: 12px 17px; border-top: 1px solid var(--border);
  background: var(--surface-2);
}
.uc-order-sum { font-size: 12px; color: var(--muted); }
.uc-order-sum b { font-size: 19px; color: var(--primary); font-weight: 800; margin-left: 3px; }
.uc-order-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.uc-btn {
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  border-radius: 8px; padding: 6px 12px; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.uc-btn:hover { border-color: var(--primary); color: var(--primary); }
.uc-btn-primary { background: var(--grad); color: #fff; border-color: transparent; }
.uc-btn-primary:hover { color: #fff; opacity: .92; box-shadow: var(--shadow); }
.uc-btn-ghost { background: transparent; }
.uc-order-extra { display: none; padding: 0 17px 15px; border-top: 1px dashed var(--border); }
.uc-order-extra.open { display: block; animation: ucFade .2s ease; }
@keyframes ucFade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.uc-kv { display: flex; gap: 12px; font-size: 12px; padding: 4px 0; }
.uc-kv > span { width: 64px; flex: none; color: var(--muted); }
.uc-kv > div { color: var(--text); word-break: break-all; }
.uc-timeline { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); }
.uc-tl-item { position: relative; padding: 0 0 13px 17px; border-left: 1px dashed var(--border); margin-left: 4px; font-size: 12px; }
.uc-tl-item:last-child { padding-bottom: 2px; }
.uc-tl-item::before {
  content: ''; position: absolute; left: -4px; top: 5px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--primary);
}
.uc-tl-item.pending::before { background: var(--border); }
.uc-tl-item.active::before { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, .18); }
.uc-tl-text { font-weight: 700; }
.uc-tl-time { color: var(--muted); margin-left: 8px; font-size: 11px; }

/* ---------- 我的服务 ---------- */
.uc-service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.uc-service {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 17px; display: flex; gap: 13px;
}
.uc-service-ico {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 19px;
}
.uc-service-info { flex: 1; min-width: 0; }
.uc-service-name { font-size: 14px; font-weight: 700; }
.uc-service-meta { font-size: 11px; color: var(--muted); margin-top: 4px; }
.uc-service-badge {
  display: inline-block; font-size: 10px; font-weight: 700; color: #047857;
  background: rgba(16, 185, 129, .13); border-radius: 999px; padding: 2px 8px; margin-top: 7px;
}
body[data-theme="tech"] .uc-service-badge { color: #34d399; background: rgba(52, 211, 153, .13); }
.uc-service-actions { display: flex; gap: 6px; margin-top: 10px; }

/* ---------- 资料 / 安全 ---------- */
.uc-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 15px; padding: 20px 22px; margin-bottom: 15px;
}
.uc-card-title { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.uc-card-desc { font-size: 12px; color: var(--muted); margin-bottom: 15px; }
.uc-form { max-width: 560px; }
.uc-form .field { width: 100%; margin-bottom: 13px; }
.uc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.uc-form-actions { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.uc-form-actions .btn { padding: 9px 22px; font-size: 13px; }
.uc-readonly {
  background: var(--surface-2); border: 1px dashed var(--border); border-radius: 10px;
  padding: 10px 13px; font-size: 13px; color: var(--muted); margin-bottom: 13px;
}
.uc-readonly b { color: var(--text); font-weight: 600; }
.uc-meta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.uc-meta { background: var(--surface-2); border: 1px solid var(--border); border-radius: 11px; padding: 12px 13px; }
.uc-meta-label { font-size: 11px; color: var(--muted); }
.uc-meta-val { font-size: 13px; font-weight: 700; margin-top: 3px; word-break: break-all; }
.uc-security-tip {
  display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px;
  background: var(--surface-2); border-radius: 10px; font-size: 12px;
  color: var(--muted); line-height: 1.7; margin-top: 12px;
}
.uc-danger-btn {
  border: 1px solid rgba(239, 68, 68, .4); background: transparent; color: #ef4444;
  border-radius: 9px; padding: 8px 16px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.uc-danger-btn:hover { background: rgba(239, 68, 68, .08); }

/* ---------- 空状态 / 加载 ---------- */
.uc-loading { text-align: center; color: var(--muted); padding: 55px 0; font-size: 13px; }
.uc-empty { text-align: center; color: var(--muted); padding: 58px 20px; }
.uc-empty .big { display: block; font-size: 42px; margin-bottom: 10px; opacity: .85; }
.uc-empty-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.uc-empty-desc { font-size: 12px; margin-bottom: 14px; }
.uc-loadmore { text-align: center; padding: 8px 0 2px; }
.uc-loadmore button {
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  border-radius: 9px; padding: 8px 22px; font-size: 12px; font-weight: 600; cursor: pointer;
}
.uc-loadmore button:hover { color: var(--primary); border-color: var(--primary); }

/* ---------- 收银台 ---------- */
.pay-mask {
  position: fixed; inset: 0; z-index: 600; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(8, 12, 24, .64); backdrop-filter: blur(4px);
}
.pay-mask.show { display: flex; }
.pay-modal {
  position: relative; width: 400px; max-width: 94vw; max-height: 92vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 28px 30px 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .42);
  animation: pop .22s ease;
}
.pay-close {
  position: absolute; top: 12px; right: 14px; width: 30px; height: 30px;
  border: none; border-radius: 50%; background: var(--surface-2); color: var(--muted);
  font-size: 19px; line-height: 1; cursor: pointer;
}
.pay-close:hover { color: #ef4444; }
.pay-icon {
  width: 52px; height: 52px; border-radius: 15px; margin: 0 auto 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad); color: #fff; font-size: 24px; font-weight: 800;
}
.pay-title { text-align: center; font-size: 21px; font-weight: 800; }
.pay-sub { text-align: center; font-size: 12px; color: var(--muted); margin: 4px 0 18px; }
.pay-summary {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px;
  padding: 13px 15px; margin-bottom: 16px;
}
.pay-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); padding: 3px 0; }
.pay-row b { color: var(--text); font-weight: 600; text-align: right; max-width: 252px; word-break: break-all; }
.pay-amount { text-align: center; font-size: 30px; font-weight: 800; color: var(--primary); margin-top: 9px; }
.pay-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 12px; }
.pay-channel {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  border-radius: 10px; padding: 10px 8px; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all .2s;
}
.pay-channel span {
  width: 21px; height: 21px; border-radius: 6px; background: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px;
}
.pay-channel:hover { border-color: var(--primary); }
.pay-channel.active { border-color: var(--primary); color: var(--primary); background: var(--surface-2); box-shadow: 0 0 0 3px var(--ring); }
.pay-channel.active span { background: var(--grad); color: #fff; }
.pay-empty { grid-column: 1/-1; padding: 12px; text-align: center; color: var(--muted); font-size: 12px; }
.pay-note { text-align: center; font-size: 11px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.pay-qr { display: flex; flex-direction: column; align-items: center; gap: 9px; margin: 2px 0 14px; }
.pay-qr-box { padding: 8px; background: #fff; border: 1px solid var(--border); border-radius: 12px; line-height: 0; }
.pay-qr-tip { color: var(--muted); font-size: 11px; }
.pay-status { min-height: 18px; margin: -4px 0 10px; text-align: center; color: var(--primary); font-size: 11px; }
.pay-submit { width: 100%; }
.pay-submit[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- 确认框 ---------- */
.confirm-mask {
  position: fixed; inset: 0; z-index: 700; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(8, 12, 24, .62); backdrop-filter: blur(3px);
}
.confirm-mask.show { display: flex; }
.confirm-box {
  width: 360px; max-width: 94vw; background: var(--surface);
  border: 1px solid var(--border); border-radius: 17px; padding: 24px 24px 20px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .4); animation: pop .2s ease;
}
.confirm-box h3 { font-size: 17px; font-weight: 800; margin-bottom: 7px; }
.confirm-box p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }
.confirm-actions .btn { padding: 9px 20px; font-size: 13px; }

.toast { z-index: 800; }

/* ---------- 响应式：用户中心 ---------- */
@media (max-width: 980px) {
  .uc-mask { padding: 0; }
  .uc-panel { width: 100%; height: 100%; max-height: none; border-radius: 0; border: none; flex-direction: column; }
  .uc-side {
    width: 100%; flex: none; flex-direction: column; padding: 15px 18px 10px;
    border-right: none; border-bottom: 1px solid var(--border);
  }
  .uc-brand { padding: 0 2px 12px; }
  .uc-avatar { width: 40px; height: 40px; border-radius: 12px; font-size: 16px; }
  .uc-name { font-size: 14px; }
  .uc-nav { flex-direction: row; flex-wrap: wrap; gap: 5px; padding-bottom: 3px; }
  .uc-nav-item { width: auto; white-space: nowrap; padding: 8px 11px; font-size: 12px; }
  .uc-side-foot { display: none; }
  .uc-head-logout { display: block; }
  .uc-head { padding: 17px 20px 15px; }
  .uc-title { font-size: 19px; }
  .uc-body { padding: 19px 20px 30px; }
  .uc-hero { flex-direction: column; padding: 21px; }
  .uc-progress { width: 100%; }
  .uc-stats { grid-template-columns: repeat(2, 1fr); }
  .uc-quick { grid-template-columns: repeat(2, 1fr); }
  .uc-service-grid { grid-template-columns: 1fr; }
  .uc-meta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .uc-hero-name { font-size: 22px; }
  .uc-stats { gap: 9px; }
  .uc-stat { padding: 13px; }
  .uc-stat-num { font-size: 21px; }
  .uc-quick { gap: 8px; }
  .uc-quick-btn { padding: 11px; font-size: 12px; }
  .uc-toolbar { align-items: stretch; flex-direction: column; }
  .uc-search input { width: 100%; flex: 1; }
  .uc-search { width: 100%; }
  .uc-order-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .uc-order-head-right { width: 100%; justify-content: space-between; }
  .uc-order-foot { align-items: flex-start; flex-direction: column; }
  .uc-order-actions { width: 100%; }
  .uc-order-actions .uc-btn { flex: 1; text-align: center; }
  .uc-form-row { grid-template-columns: 1fr; gap: 0; }
  .uc-notice { align-items: flex-start; }
  .uc-notice-btn { align-self: center; }
  .pay-modal { padding: 24px 20px 20px; }
}

/* ---------- 会员中心定位 ---------- */
.shop-role { padding: 0 22px; background: #f7faff; border-bottom: 1px solid #e8eef7; }
.shop-role-inner { max-width: 1180px; margin: 0 auto; min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #71819a; font-size: 11px; }
.shop-role-inner b { color: #2563eb; font-weight: 700; }
.shop-role-inner a { flex: none; color: #2563eb; font-size: 11px; font-weight: 700; text-decoration: none; }
.shop-role-inner a:hover { text-decoration: underline; }
.shop-page .hero-title { max-width: 820px; }

/* ---------- 产品详情底部描述 ---------- */
.product-description-section { margin-top: 32px; padding-top: 24px; border-top: 1px solid #e8eef7; }
.product-description-head .eyebrow { color: #2563eb; letter-spacing: 1.8px; }
.product-description-head h3 { margin: 6px 0 12px; color: #14233d; font-size: 22px; letter-spacing: -.03em; }
.product-description-body { color: #64748b; font-size: 13px; line-height: 1.9; }
.product-description-body p { margin: 0 0 12px; text-indent: 0; }
.product-description-body img { max-width: 100%; height: auto; border-radius: 10px; }
.detail-page .product-description-section { margin-top: 36px; }

/* ---------- 产品版本参数 ---------- */
.plan-section { margin-top: 34px; padding-top: 26px; border-top: 1px solid #e8eef7; }
.plan-section-head .eyebrow { color: #2563eb; letter-spacing: 1.8px; }
.plan-section-head h3 { margin: 7px 0 5px; color: #14233d; font-size: 24px; letter-spacing: -.03em; }
.plan-section-head p { margin: 0 0 18px; color: #7c8da4; font-size: 13px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.plan-card { position: relative; padding: 20px 18px; border: 1px solid #e3ebf6; border-radius: 18px; background: #fff; box-shadow: 0 10px 26px rgba(20,35,61,.05); overflow: hidden; }
.plan-card-hot { border-color: #a9c5ff; box-shadow: 0 14px 32px rgba(37,99,235,.13); background: linear-gradient(180deg,#f7faff,#fff 38%); }
.plan-card-hot::before { content: ''; position: absolute; top: 0; left: 18px; right: 18px; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg,#2563eb,#7c3aed); }
.plan-badge { display: inline-block; padding: 3px 8px; border-radius: 999px; color: #2563eb; font-size: 10px; font-weight: 700; background: #eef5ff; }
.plan-card-hot .plan-badge { color: #fff; background: linear-gradient(135deg,#2563eb,#7c3aed); }
.plan-name { margin-top: 12px; color: #182840; font-size: 19px; font-weight: 750; }
.plan-desc { min-height: 40px; margin-top: 6px; color: #8493a8; font-size: 12px; line-height: 1.65; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 12px; color: #0f766e; }
.plan-cur { font-size: 13px; font-weight: 700; }
.plan-price > :not(.plan-original):not(.plan-ask) { font-size: 27px; font-weight: 800; letter-spacing: -.04em; }
.plan-original { color: #a6b2c3; font-size: 11px; text-decoration: line-through; }
.plan-ask { color: #7c3aed; font-size: 21px; font-weight: 800; }
.plan-features { margin: 14px 0 0; padding: 13px 0 0; border-top: 1px solid #eef3fa; list-style: none; }
.plan-features li { position: relative; padding: 4px 0 4px 17px; color: #53657d; font-size: 11.5px; line-height: 1.55; }
.plan-features li::before { content: '✓'; position: absolute; left: 0; top: 4px; color: #2563eb; font-size: 10px; font-weight: 700; }
.plan-table-wrap { margin-top: 16px; overflow-x: auto; border: 1px solid #e5edf7; border-radius: 16px; background: #fff; }
.plan-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 12px; }
.plan-table th, .plan-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #eef3fa; }
.plan-table thead th { color: #6d7d94; font-size: 10px; font-weight: 700; background: #f7faff; }
.plan-table tbody th { color: #52647d; font-weight: 600; width: 24%; }
.plan-table tbody td { color: #43566f; }
.plan-table tbody tr:last-child th, .plan-table tbody tr:last-child td { border-bottom: 0; }
.plan-table .plan-hot-col { color: #2563eb; background: #f7faff; font-weight: 650; }
@media (max-width: 900px) {
  .plan-grid { grid-template-columns: 1fr; }
  .plan-desc { min-height: 0; }
}

/* ============ 加载占位符 ============ */
.skeleton-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.skeleton-card { background: #fff; border: 1px solid #e8eef7; border-radius: 14px; overflow: hidden; }
.skeleton-cover { height: 168px; background: linear-gradient(100deg,#edf3fb 25%,#f7faff 37%,#edf3fb 63%); background-size: 400% 100%; animation: skeletonShimmer 1.4s ease infinite; }
.skeleton-body { padding: 18px; display: grid; gap: 10px; }
.skeleton-line { height: 11px; border-radius: 6px; background: linear-gradient(100deg,#edf3fb 25%,#f7faff 37%,#edf3fb 63%); background-size: 400% 100%; animation: skeletonShimmer 1.4s ease infinite; }
.skeleton-line.sm { width: 32%; height: 9px; }
.skeleton-line.mid { width: 72%; }
.skeleton-line.lg { width: 88%; height: 17px; }
.skeleton-detail { display: grid; gap: 12px; padding: 12px 0; }
.skeleton-detail .skeleton-block { height: 180px; border-radius: 12px; background: linear-gradient(100deg,#edf3fb 25%,#f7faff 37%,#edf3fb 63%); background-size: 400% 100%; animation: skeletonShimmer 1.4s ease infinite; }
@keyframes skeletonShimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (max-width: 900px) { .skeleton-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 640px) { .skeleton-grid { grid-template-columns: 1fr; } .skeleton-cover { height: 150px; } }
