/* 首页：吸收 Stitch 增强版（h5/code.html）的质感：渐变品牌、微纹理、等宽数字、软阴影 */
.home {
  --app-bg: #F8FAFC;
  --surface: #FFFFFF;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --faint: #94A3B8;
  --line: #E2E8F0;
  --line-subtle: #F1F5F9;
  --brand: #2563EB;
  --brand-gradient: linear-gradient(135deg, #1D4ED8 0%, #2563EB 55%, #3B82F6 100%);
  --emerald: #059669;
  --emerald-bg: #ECFDF5;
  --amber: #D97706;
  --amber-bg: #FFFBEB;
  --violet: #7C3AED;
  --violet-bg: #F5F3FF;
  --r-xl: 24px;
  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 10px;
  --sh-soft: 0 4px 20px -2px rgba(15, 23, 42, .05), 0 2px 6px -1px rgba(15, 23, 42, .03);
  --sh-card: 0 10px 30px -4px rgba(15, 23, 42, .06), 0 4px 8px -2px rgba(15, 23, 42, .02);
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  position: relative;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--app-bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
.home * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

/* ===== 状态栏（桌面演示用） ===== */
.home .statusbar { height: 44px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; font-size: 13px; font-weight: 700; position: relative; z-index: 50; }
.home .statusbar .island { position: absolute; left: 50%; top: 7px; transform: translateX(-50%); width: 104px; height: 26px; background: #000; border-radius: 16px; }
.home .statusbar .sig { display: flex; gap: 5px; align-items: center; }
.home .statusbar .sig i { display: block; width: 14px; height: 10px; border-radius: 2px; background: var(--ink); opacity: .85; }
.home .statusbar .sig i.b { width: 20px; height: 10px; border-radius: 3px; background: none; border: 1.4px solid var(--ink); position: relative; opacity: .85; }
.home .statusbar .sig i.b::after { content: ""; position: absolute; inset: 2px; right: 5px; background: var(--ink); border-radius: 1px; }
@media (max-width: 520px) { .home .statusbar { display: none; } }

/* ===== header ===== */
.home .appbar { flex: none; height: 60px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.home .brand { display: flex; align-items: center; gap: 10px; }
.home .brand-logo {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--brand-gradient); display: grid; place-items: center; color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .35);
}
.home .brand-logo svg { width: 20px; height: 20px; }
.home .brand-text h2 { font-size: 17px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.home .brand-text span {
  display: inline-block; font-size: 9px; font-weight: 700; color: var(--brand);
  background: rgba(37, 99, 235, .08); padding: 1px 5px; border-radius: 4px; letter-spacing: .6px; margin-top: 1px;
}
.home .header-actions { display: flex; gap: 8px; }
.home .icon-btn {
  width: 44px; height: 44px; border-radius: 11px; background: var(--surface);
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2);
  box-shadow: var(--sh-soft); cursor: pointer;
}
.home .icon-btn svg { width: 18px; height: 18px; }

/* ===== scroll ===== */
.home .screen { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; padding-bottom: 92px; }
.home .screen::-webkit-scrollbar { display: none; }

/* ===== hero ===== */
.home .hero-banner { position: relative; padding: 14px 20px 20px; overflow: hidden; }
.home .hero-backdrop {
  position: absolute; top: -60px; right: -50px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, .18) 0%, rgba(37, 99, 235, 0) 70%); pointer-events: none;
}
.home .market-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px;
  background: #EFF6FF; border: 1px solid #DBEAFE; border-radius: 999px;
  font-size: 11px; font-weight: 700; color: var(--brand); margin-bottom: 12px;
}
.home .market-pill svg { width: 13px; height: 13px; fill: var(--brand); }
.home .hero-banner h1 { font-size: 26px; font-weight: 800; line-height: 1.26; letter-spacing: -.03em; color: var(--ink); }
.home .hero-banner h1 span {
  background: var(--brand-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.home .hero-banner p { font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.55; max-width: 28em; }

/* ===== search ===== */
.home .search-wrapper { margin: 2px 20px 14px; position: relative; }
.home .search-bar {
  height: 48px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: 0 12px 0 40px; display: flex; align-items: center; gap: 10px;
  box-shadow: var(--sh-soft); font-size: 13.5px; color: var(--faint);
}
.home .search-bar input {
  align-self: stretch;
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  font-family: inherit; font-size: 13.5px; color: var(--ink);
}
.home .search-bar input::placeholder { color: var(--faint); }
.home .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #94A3B8; display: flex; }
.home .search-icon svg { width: 17px; height: 17px; }
.home .search-badge {
  background: #F1F5F9; border: 1px solid #E2E8F0; padding: 2px 7px; border-radius: 6px;
  font-size: 10.5px; font-weight: 600; color: #475569; font-family: var(--mono);
}

/* ===== chips ===== */
.home .chips-row { display: flex; gap: 8px; padding: 0 20px 14px; overflow-x: auto; scrollbar-width: none; }
.home .chips-row::-webkit-scrollbar { display: none; }
.home .chip-item {
  flex: none; min-height: 44px; padding: 11px 16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); cursor: pointer;
  font-family: inherit; display: inline-flex; align-items: center;
}
.home .chip-item.active { background: #0F172A; color: #fff; border-color: #0F172A; box-shadow: 0 4px 12px rgba(15, 23, 42, .2); }

/* ===== section ===== */
.home .section-bar { padding: 4px 20px 12px; display: flex; align-items: center; justify-content: space-between; }
.home .section-bar h3 { font-size: 16px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.home .section-bar h3 .dot-indicator { width: 6px; height: 6px; background: var(--brand); border-radius: 50%; }
.home .section-bar a, .home .section-bar .link { font-size: 12px; font-weight: 600; color: #1D4ED8; text-decoration: none; display: inline-flex; align-items: center; gap: 2px; cursor: pointer; min-height: 44px; padding: 8px 0; background: none; border: 0; font-family: inherit; }
.home .section-bar a svg, .home .section-bar .link svg { width: 13px; height: 13px; }

/* ===== product grid ===== */
.home .products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 20px; }
.home .product-card {
  text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 14px; box-shadow: var(--sh-card); display: flex; flex-direction: column;
  position: relative; overflow: hidden; cursor: pointer;
}
.home .card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
.home .card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.home .card-icon svg { width: 22px; height: 22px; }
.home .card-icon.blue { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); color: #2563EB; }
.home .card-icon.indigo { background: linear-gradient(135deg, #EEF2FF, #E0E7FF); color: #4F46E5; }
.home .card-icon.emerald { background: linear-gradient(135deg, #ECFDF5, #D1FAE5); color: #059669; }
.home .card-icon.amber { background: linear-gradient(135deg, #FFFBEB, #FEF3C7); color: #D97706; }
.home .card-icon.violet { background: linear-gradient(135deg, #F5F3FF, #EDE9FE); color: #7C3AED; }
.home .badge-tag { font-size: 9.5px; font-weight: 700; padding: 3px 7px; border-radius: 6px; letter-spacing: .2px; white-space: nowrap; }
.home .badge-tag.standard { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.home .badge-tag.custom { background: #FFFBEB; color: #B45309; border: 1px solid #FDE68A; }
.home .product-card h4 { font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; }
.home .product-card p {
  font-size: 11.5px; color: var(--muted); line-height: 1.45; margin-bottom: 12px;
  min-height: 2.9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.home .card-footer {
  display: flex; align-items: baseline; justify-content: space-between;
  border-top: 1px dashed var(--line); padding-top: 10px; margin-top: auto;
}
.home .price-tag { font-family: var(--mono); font-size: 15.5px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.home .price-tag small { font-family: inherit; font-size: 10.5px; font-weight: 500; color: var(--muted); margin-left: 1px; }
.home .quick-add-btn {
  width: 24px; height: 24px; border-radius: 50%; background: #F1F5F9; color: var(--ink-2);
  display: grid; place-items: center; font-size: 14px; cursor: pointer; flex: none;
}

/* ===== cloud list ===== */
.home .cloud-list { padding: 0 20px; display: flex; flex-direction: column; gap: 10px; }
.home .cloud-item {
  text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 12px 14px; display: flex; align-items: center; gap: 12px; box-shadow: var(--sh-soft); cursor: pointer;
}
.home .cloud-icon-box {
  width: 42px; height: 42px; border-radius: 12px; background: #F8FAFC; border: 1px solid #E2E8F0;
  display: grid; place-items: center; color: #475569; flex: none;
}
.home .cloud-icon-box svg { width: 20px; height: 20px; }
.home .cloud-info { flex: 1; min-width: 0; }
.home .cloud-title-row { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.home .cloud-title-row b { font-size: 13.5px; font-weight: 700; }
.home .cloud-spec { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home .cloud-price { font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--brand); text-align: right; }
.home .cloud-price small { font-family: inherit; font-size: 10px; color: var(--muted); }

/* ===== trust ===== */
.home .trust-banner {
  margin: 20px 20px 8px; padding: 12px 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .05), rgba(248, 250, 252, .8));
  border: 1px solid rgba(37, 99, 235, .12); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: space-around;
}
.home .trust-item { display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; color: var(--ink-2); }
.home .trust-item svg { width: 14px; height: 14px; color: var(--brand); }
.home .footnote { padding: 18px 20px 24px; text-align: center; font-size: 10.5px; color: #64748B; }

/* ===== tabbar ===== */
.home .bottom-tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; height: 72px; z-index: 40;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-around;
  padding-bottom: env(safe-area-inset-bottom);
}
.home .tab-link {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  height: 52px; font-size: 10.5px; font-weight: 600; color: #64748B; text-decoration: none; width: 60px;
}
.home .tab-link svg { width: 22px; height: 22px; }
.home .tab-link.active { color: #1D4ED8; }
.home .tab-link.active svg { filter: drop-shadow(0 2px 6px rgba(37, 99, 235, .3)); }

/* ===== 分类卡（复用 product-card）===== */
.home .cat-card .card-footer { border-top: 0; padding-top: 6px; }
.home .cat-card .price-tag { font-family: inherit; font-size: 12px; font-weight: 600; color: var(--muted); }

/* ===== 我的 ===== */
.home .profile-card {
  margin: 4px 20px 16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 18px; box-shadow: var(--sh-card); display: flex; align-items: center; gap: 13px;
}
.home .avatar {
  width: 46px; height: 46px; border-radius: 14px; background: var(--brand-gradient);
  color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 800;
}
.home .profile-meta b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.home .profile-meta span { font-size: 12px; color: var(--muted); }
.home .menu-list { margin: 0 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-soft); }
.home .menu-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line-subtle); cursor: pointer; }
.home .menu-item:last-child { border-bottom: 0; }
.home .menu-item .mi { width: 34px; height: 34px; border-radius: 10px; background: #F8FAFC; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); flex: none; }
.home .menu-item .mi svg { width: 18px; height: 18px; }
.home .menu-item .mm { flex: 1; }
.home .menu-item .mm b { display: block; font-size: 13.5px; font-weight: 700; }
.home .menu-item .mm span { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.home .menu-item .chev { color: #CBD5E1; display: flex; }
.home .menu-item .chev svg { width: 16px; height: 16px; }

/* ===== 详情 / 进度（Stitch 增强版） ===== */
.home .appbar.detail { position: relative; justify-content: space-between; }
.home .appbar.detail .dt { position: absolute; left: 50%; transform: translateX(-50%); font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.home .back-btn { width: 44px; height: 44px; border-radius: 11px; background: rgba(255,255,255,.9); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); box-shadow: var(--sh-soft); cursor: pointer; }
.home .back-btn svg { width: 18px; height: 18px; }
.home .screen.has-dock { padding-bottom: 96px; }

.home .hero-poster { margin: 4px 20px 14px; height: 180px; border-radius: var(--r-xl); background: radial-gradient(circle at 80% 20%, #3B82F6 0%, #1E40AF 60%, #172554 100%); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; box-shadow: 0 12px 30px -5px rgba(30,64,175,.35); }
.home .poster-mesh { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.15) 1px, transparent 1px); background-size: 16px 16px; opacity: .6; }
.home .poster-badge { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: rgba(255,255,255,.18); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #fff; font-size: 10.5px; font-weight: 700; }
.home .poster-content { position: relative; color: #fff; }
.home .poster-content h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; }
.home .poster-content p { font-size: 11.5px; color: #BFDBFE; line-height: 1.5; }

.home .headline-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin: 0 20px 14px; padding: 18px; box-shadow: var(--sh-card); }
.home .headline-card h2 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.home .tag-capsule-row { display: flex; gap: 6px; margin: 8px 0 14px; flex-wrap: wrap; }
.home .capsule { font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 6px; background: #F1F5F9; color: #475569; }
.home .capsule.accent { background: #EFF6FF; color: #2563EB; font-weight: 700; }
.home .pricing-bar { display: flex; align-items: flex-end; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line-subtle); }
.home .big-price { font-family: var(--mono); font-size: 26px; font-weight: 800; color: #C2410C; letter-spacing: -.03em; }
.home .big-price small { font-size: 11.5px; font-weight: 500; color: var(--muted); font-family: inherit; }
.home .delivery-time { font-size: 10.5px; color: #047857; background: var(--emerald-bg); padding: 4px 8px; border-radius: 6px; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.home .segmented-switch { background: #EEF2F6; border-radius: var(--r-md); padding: 3px; display: flex; margin-top: 14px; }
.home .switch-btn { flex: 1; min-height: 44px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 7px 4px; font-size: 12px; font-weight: 600; color: var(--muted); border-radius: 11px; cursor: pointer; border: 0; background: transparent; font-family: inherit; }
.home .switch-btn.active { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(15,23,42,.08); }

.home .content-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin: 0 20px 14px; padding: 16px; box-shadow: var(--sh-soft); }
.home .content-card h4 { font-size: 13.5px; font-weight: 800; color: var(--ink); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.home .content-card h4::before { content: ""; width: 3.5px; height: 14px; background: var(--brand); border-radius: 2px; }
.home .specs-list { display: flex; flex-direction: column; gap: 10px; }
.home .spec-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12.5px; padding-bottom: 8px; border-bottom: 1px dashed var(--line-subtle); }
.home .spec-item:last-child { border-bottom: 0; padding-bottom: 0; }
.home .spec-item .label { color: var(--muted); }
.home .spec-item .value { font-weight: 600; color: var(--ink); text-align: right; }
.home .spec-item .value.code { font-family: var(--mono); font-size: 11.5px; }

.home .process-track { display: flex; align-items: center; justify-content: space-between; position: relative; padding: 8px 4px; }
.home .step-node { display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 2; }
.home .step-circle { width: 30px; height: 30px; border-radius: 50%; background: #EFF6FF; border: 2px solid #DBEAFE; color: var(--brand); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.home .step-node.active .step-circle { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 4px 10px rgba(37,99,235,.35); }
.home .step-label { font-size: 10.5px; font-weight: 600; color: var(--ink-2); }
.home .process-line { position: absolute; top: 22px; left: 40px; right: 40px; height: 2px; background: #E2E8F0; z-index: 1; }

.home .guarantees-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.home .guarantee-box { background: #F8FAFC; border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; }
.home .g-badge { width: 26px; height: 26px; border-radius: 8px; background: #EFF6FF; color: var(--brand); font-size: 11px; font-weight: 800; display: grid; place-items: center; margin-bottom: 8px; }
.home .guarantee-box b { font-size: 12px; color: var(--ink); display: block; margin-bottom: 2px; }
.home .guarantee-box p { font-size: 10.5px; color: var(--muted); line-height: 1.4; }

.home .action-dock { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; z-index: 40; background: rgba(255,255,255,.95); backdrop-filter: blur(16px); border-top: 1px solid var(--line); padding: 10px 20px calc(18px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; }
.home .dock-total { display: flex; flex-direction: column; min-width: 88px; }
.home .dock-total span { font-size: 10px; color: var(--muted); }
.home .dock-total b { font-family: var(--mono); font-size: 19px; font-weight: 800; color: #C2410C; letter-spacing: -.02em; }
.home .btn-outline { height: 44px; padding: 0 16px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-family: inherit; }
.home .btn-primary-action { flex: 1; height: 44px; background: #1D4ED8; border: 0; border-radius: var(--r-md); color: #fff; font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 6px 16px rgba(29,78,216,.35); cursor: pointer; font-family: inherit; }

.home .order-status-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin: 6px 20px 14px; padding: 18px; box-shadow: var(--sh-card); position: relative; overflow: hidden; }
.home .order-status-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brand-gradient); }
.home .status-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 12px; }
.home .status-header .stage-name { font-size: 19px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.home .status-header .pct-badge { font-family: var(--mono); font-size: 22px; font-weight: 800; color: var(--brand); }
.home .progress-bar-rail { height: 8px; background: #F1F5F9; border-radius: 4px; overflow: hidden; margin-bottom: 18px; position: relative; }
.home .progress-fill { display: block; height: 100%; background: var(--brand-gradient); border-radius: 4px; position: relative; overflow: hidden; }
.home .progress-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); animation: shine 2.2s infinite; }
@keyframes shine { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.home .step-rail { display: flex; align-items: flex-start; margin-bottom: 16px; }
.home .step-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10.5px; color: var(--faint); position: relative; text-align: center; }
.home .step-dot { width: 22px; height: 22px; border-radius: 50%; background: #F1F5F9; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--faint); }
.home .step-col.completed { color: var(--ink); font-weight: 600; }
.home .step-col.completed .step-dot { background: var(--brand); color: #fff; box-shadow: 0 2px 8px rgba(37,99,235,.35); }
.home .step-col.current { color: var(--brand); font-weight: 700; }
.home .step-col.current .step-dot { background: #EFF6FF; border: 2px solid var(--brand); color: var(--brand); }
.home .rail-connector { flex: 1; height: 2px; background: #E2E8F0; margin-top: 10px; }
.home .rail-connector.filled { background: var(--brand); }
.home .order-meta-box { background: #F8FAFC; border-radius: var(--r-md); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.home .order-meta-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.home .order-meta-row span { color: var(--muted); }
.home .order-meta-row b { color: var(--ink); font-weight: 600; text-align: right; }
.home .order-meta-row b.mono { font-family: var(--mono); font-size: 11px; }

.home .timeline-stream { display: flex; flex-direction: column; position: relative; padding-left: 16px; }
.home .timeline-stream::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 12px; width: 2px; background: #E2E8F0; }
.home .timeline-event { position: relative; padding-bottom: 12px; }
.home .timeline-event:last-child { padding-bottom: 2px; }
.home .event-node { position: absolute; left: -16px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2.5px solid var(--brand); }
.home .timeline-event.urgent .event-node { border-color: #C2410C; background: #FFF7ED; }
.home .event-body { background: #F8FAFC; border: 1px solid var(--line-subtle); border-radius: 10px; padding: 10px 12px; }
.home .event-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; gap: 10px; }
.home .event-top b { font-size: 12px; font-weight: 700; color: var(--ink); }
.home .event-top time { font-family: var(--mono); font-size: 10px; color: var(--faint); flex: none; }
.home .event-desc { font-size: 11px; color: var(--muted); line-height: 1.45; }
.home .demo-block { margin: 0 20px 14px; padding: 12px; border: 1px dashed #B9CDFF; border-radius: var(--r-md); background: #F8FAFF; }
.home .demo-title { font-size: 10.5px; color: #3B5BDB; font-weight: 700; margin-bottom: 9px; }
.home .demo-row { display: flex; gap: 8px; flex-wrap: wrap; }
.home .demo-row button { flex: 1; min-width: 88px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 12px; font-weight: 600; font-family: inherit; cursor: pointer; color: var(--ink-2); }

.home .product-card.product { margin-top: 0; }


.home .order-meta-row span { white-space: nowrap; flex: none; }
.home .order-meta-row b { min-width: 0; overflow-wrap: anywhere; }
.home .order-meta-row b.mono { font-size: 10.5px; }


@media (max-width: 520px) { .home .search-badge { display: none; } }

/* 分类卡右侧箭头：约束尺寸，避免 SVG 默认 300x150 撑爆 */
.home .card-footer > svg { width: 16px; height: 16px; flex: none; color: var(--faint); }
.home .cat-card .card-footer { align-items: center; }

/* ===== 我的订单（订单记录卡） ===== */
.home .order-item { display:block; margin:12px 20px 0; background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; box-shadow:var(--sh-soft); text-decoration:none; color:inherit; }
.home .order-item:active { transform:scale(.995); }
.home .oi-head { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; padding:12px 15px; border-bottom:1px dashed var(--line); }
.home .oi-no { font-family:var(--mono); font-size:11px; color:var(--ink-2); }
.home .oi-time { margin-top:2px; font-family:var(--mono); font-size:10px; color:var(--muted); }
.home .oi-status { flex:none; font-size:10px; font-weight:700; padding:3px 8px; border-radius:999px; background:#EEF2FF; color:#2563EB; }
.home .oi-status.done { background:#ECFDF5; color:#047857; }
.home .oi-status.cancel { background:#F1F5F9; color:#64748B; }
.home .oi-prod { display:flex; align-items:center; gap:11px; padding:12px 15px; }
.home .oi-icon { margin-bottom:0; flex:none; width:44px; height:44px; border-radius:12px; }
.home .oi-icon svg { width:21px; height:21px; }
.home .oi-main { flex:1; min-width:0; }
.home .oi-title { font-size:14px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.home .oi-sub { margin-top:3px; font-size:11px; color:var(--muted); }
.home .oi-foot { display:flex; justify-content:space-between; align-items:center; padding:10px 15px; border-top:1px dashed var(--line); }
.home .oi-paid { font-size:11px; color:var(--muted); }
.home .oi-paid b { font-family:var(--mono); font-size:17px; font-weight:800; color:#C2410C; margin-left:4px; }
.home .oi-link { font-size:11.5px; font-weight:600; color:#1D4ED8; text-decoration:none; }
.home .order-empty { text-align:center; padding:36px 16px; }
.home .order-empty p { font-size:12.5px; color:var(--muted); margin-bottom:8px; }

/* ===== 订单详情头卡 ===== */
.home .od-card { margin: 6px 20px 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--sh-card); }
.home .od-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.home .od-no { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.home .od-prod { display: flex; align-items: center; gap: 12px; }
.home .od-main { flex: 1; min-width: 0; }
.home .od-title { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home .od-spec { margin-top: 3px; font-size: 11px; color: var(--muted); }
.home .od-amount { flex: none; font-family: var(--mono); font-size: 19px; font-weight: 800; color: #C2410C; }

.home .profile-meta { flex: 1; min-width: 0; }


/* ===== 资产 / 续费 ===== */
.home .asset-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.home .asset-stat { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 12px 6px; background: #F8FAFC; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: inherit; }
.home .asset-stat b { font-family: var(--mono); font-size: 20px; font-weight: 800; color: var(--ink); }
.home .asset-stat span { font-size: 10.5px; color: var(--muted); }
.home .asset-row { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--line-subtle); text-decoration: none; color: inherit; }
.home .asset-row:last-of-type { border-bottom: 0; }
.home .asset-row .card-icon { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 0; flex: none; }
.home .asset-row .card-icon svg { width: 20px; height: 20px; }
.home .ar-main { flex: 1; min-width: 0; }
.home .ar-main b { display: block; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home .ar-main span { display: block; margin-top: 2px; font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home .ar-tag { flex: none; font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: #F1F5F9; color: #475569; text-transform: uppercase; }
.home .ar-tag.done { background: #ECFDF5; color: #047857; }
.home .asset-empty { padding: 16px 0; text-align: center; font-size: 11.5px; color: var(--muted); }
.home .asset-more { display: inline-block; margin-top: 8px; font-size: 11.5px; font-weight: 600; color: #1D4ED8; text-decoration: none; }
.home .renew-item { padding: 12px 0; border-bottom: 1px solid var(--line-subtle); }
.home .renew-item:last-of-type { border-bottom: 0; }
.home .ri-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.home .days { flex: none; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #ECFDF5; color: #047857; }
.home .days.soon { background: #FFFBEB; color: #B45309; }
.home .days.over { background: #FEF2F2; color: #B91C1C; }
.home .ri-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.home .ri-exp { font-size: 11px; color: var(--muted); }
.home .renew-btn { flex: none; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid #BFD3FF; background: #F5F8FF; color: #1D4ED8; font-size: 11.5px; font-weight: 700; font-family: inherit; cursor: pointer; }
.home .renew-btn:disabled { opacity: .5; }
