/* 云电脑 · 用户端样式（无构建步骤，直接引用）
 * 设计规范：8px 间距体系；卡片圆角 12px、按钮/输入框 8px；三级柔和阴影；
 * 字号 12 / 13 / 14 / 16 / 20 / 24 / 32 / 48；金额数字统一 700 字重 + 等宽数字。
 */
:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --text: #1f2937;
  --title: #111827;
  --text-2: #4b5563;
  --muted: #9ca3af;
  --line: #e5e7eb;
  --line-2: #eef0f3;
  --pri: #2563eb;
  --pri-hover: #1d4ed8;
  --pri-press: #1e40af;
  --pri-soft: #eff6ff;
  --pri-line: #bfdbfe;
  --ok: #16a34a;
  --ok-soft: #f0fdf4;
  --warn: #ea580c;
  --warn-soft: #fff7ed;
  --bad: #dc2626;
  --bad-soft: #fef2f2;
  --gray: #6b7280;
  --gray-soft: #f3f4f6;
  --r-card: 12px;
  --r-btn: 8px;
  --sh-1: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .03);
  --sh-2: 0 4px 12px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .04);
  --sh-3: 0 16px 40px rgba(16, 24, 40, .10), 0 4px 12px rgba(16, 24, 40, .05);
  --ring: 0 0 0 3px rgba(37, 99, 235, .16);
  --side: 240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 72px; }
body {
  font: 14px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased;
}
a { color: var(--pri); text-decoration: none; transition: color .15s; }
a:hover { color: var(--pri-hover); }
h1, h2, h3 { margin: 0; line-height: 1.35; color: var(--title); }
h1 { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: 16px; font-weight: 600; }
h3 { font-size: 14px; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
.ic { flex: none; vertical-align: -3px; }
.muted { color: var(--text-2); }
.faint { color: var(--muted); }
.small { font-size: 12px; }
.num { font-variant-numeric: tabular-nums; }
.amount { font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; color: var(--title); }
.neg { color: var(--bad); } .pos { color: var(--ok); }
.row { display: flex; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; }
.row.gap-8 { gap: 8px; }
.wrap { flex-wrap: wrap; }
.stack > * + * { margin-top: 16px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.grow { flex: 1; min-width: 0; }
.center { text-align: center; }

/* ---------------- 应用外壳 ---------------- */
.shell { display: grid; grid-template-columns: var(--side) 1fr; min-height: 100vh; }
.side {
  background: #fff; padding: 20px 16px; position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--title); font-weight: 700; font-size: 17px; padding: 4px 8px 24px; letter-spacing: .01em; }
.brand:hover { color: var(--title); }
.logo {
  width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: #fff; flex: none;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8); box-shadow: 0 2px 6px rgba(37, 99, 235, .3);
}
.nav-label { font-size: 12px; color: var(--muted); padding: 0 12px 8px; }
.nav a {
  display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border-radius: 8px; color: var(--text-2); font-weight: 500;
  position: relative; transition: background .15s, color .15s;
}
.nav a:hover { background: var(--gray-soft); color: var(--title); }
.nav a.on { background: var(--pri-soft); color: var(--pri); font-weight: 600; }
.nav a.on::before { content: ""; position: absolute; left: -16px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--pri); }
.side .spacer { flex: 1; }
.side-wallet {
  background: linear-gradient(135deg, #eff6ff, #f8fbff); border: 1px solid #dbeafe; border-radius: var(--r-card); padding: 16px; margin-bottom: 8px;
}
.side-wallet .label { font-size: 12px; color: var(--text-2); }
.side-wallet .amt { font-size: 22px; font-weight: 700; color: var(--title); margin: 2px 0 4px; font-variant-numeric: tabular-nums; }
.side-wallet .sub { color: var(--text-2); }
.side-wallet a { font-size: 12px; font-weight: 500; }
.side-user { display: flex; align-items: center; gap: 10px; padding: 16px 8px 0; border-top: 1px solid var(--line); }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: var(--pri);
  background: #dbeafe; flex: none; font-size: 13px;
}
.side-user .name { color: var(--title); font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user .email { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.icon-btn { background: none; border: 0; color: var(--muted); cursor: pointer; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; transition: .15s; }
.icon-btn:hover { color: var(--title); background: var(--gray-soft); }
.icon-btn:active { background: var(--line); }

.main { min-width: 0; }
.topbar { padding: 24px 32px 0; }
.topbar:empty { display: none; }
.content { padding: 24px 32px 64px; max-width: 1240px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-head p { margin-top: 4px; }
.back { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text-2); }
.back:hover { color: var(--pri); }

/* ---------------- 卡片与表格 ---------------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-1); }
.card.hover { transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s; }
.card.hover:hover { box-shadow: var(--sh-2); transform: translateY(-2px); border-color: #dde3ea; }
.card-body { padding: 24px; }
.card-head { padding: 16px 24px; border-bottom: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; flex-wrap: wrap; }
.grid { display: grid; gap: 16px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
.plans { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pcs { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.stat { padding: 20px 24px; }
.stat .top { display: flex; align-items: center; justify-content: space-between; }
.stat .k { color: var(--text-2); font-size: 13px; }
.stat .v { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-top: 8px; color: var(--title); font-variant-numeric: tabular-nums; line-height: 1.2; }
.stat .v small { font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.stat .s { color: var(--muted); font-size: 12px; margin-top: 8px; }
.stat .s a { font-weight: 500; }
.ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.ico.lg { width: 44px; height: 44px; border-radius: 12px; }
.ico.pri { background: var(--pri-soft); color: var(--pri); }
.ico.ok { background: var(--ok-soft); color: var(--ok); }
.ico.warn { background: var(--warn-soft); color: var(--warn); }
.ico.info { background: #f5f3ff; color: #7c3aed; }

table.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { text-align: left; padding: 12px 24px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl th { color: var(--text-2); font-weight: 500; font-size: 12px; background: var(--surface-2); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.r, .tbl th.r { text-align: right; }
.tbl td.num, .tbl th { white-space: nowrap; }
.tbl td.r.num { font-weight: 600; }
.tbl tbody tr { transition: background .15s; }
.tbl tbody tr:hover td { background: #fafbfc; }
.tbl-wrap { overflow-x: auto; }
.empty { padding: 48px 24px; text-align: center; color: var(--muted); }

.kv { display: grid; grid-template-columns: 112px 1fr; gap: 12px 16px; margin: 0; }
.kv dt { color: var(--text-2); }
.kv dd { margin: 0; min-width: 0; word-break: break-all; color: var(--title); }

/* ---------------- 状态徽标（圆点 + 文字） ---------------- */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 500; background: var(--gray-soft); color: #374151; white-space: nowrap; border: 1px solid transparent; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.plain::before { display: none; }
.badge.success { background: var(--ok-soft); color: var(--ok); border-color: #dcfce7; }
.badge.info { background: var(--pri-soft); color: var(--pri); border-color: #dbeafe; }
.badge.warning { background: var(--warn-soft); color: var(--warn); border-color: #ffedd5; }
.badge.danger { background: var(--bad-soft); color: var(--bad); border-color: #fee2e2; }
.badge.gray { background: var(--gray-soft); color: var(--gray); border-color: #e5e7eb; }
.badge.success::before { box-shadow: 0 0 0 3px rgba(22, 163, 74, .15); }
.badge.info::before { animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* ---------------- 按钮（悬停 / 按下 / 聚焦 / 加载） ---------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 16px;
  border-radius: var(--r-btn); border: 1px solid #d1d5db; background: var(--surface); color: var(--text);
  font: inherit; font-weight: 500; cursor: pointer; white-space: nowrap; user-select: none;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .08s;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}
.btn:hover { border-color: #9ca3af; color: var(--title); background: var(--surface-2); }
.btn:active { transform: translateY(1px); background: var(--gray-soft); box-shadow: none; }
.btn:focus-visible { box-shadow: var(--ring); border-radius: var(--r-btn); }
.btn.pri { background: var(--pri); border-color: var(--pri); color: #fff; box-shadow: 0 1px 2px rgba(37, 99, 235, .3), inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn.pri:hover { background: var(--pri-hover); border-color: var(--pri-hover); color: #fff; }
.btn.pri:active { background: var(--pri-press); border-color: var(--pri-press); }
.btn.soft { background: var(--pri-soft); border-color: transparent; color: var(--pri); box-shadow: none; }
.btn.soft:hover { background: #dbeafe; color: var(--pri-hover); }
.btn.ghost { border-color: transparent; background: transparent; box-shadow: none; }
.btn.ghost:hover { background: var(--gray-soft); }
.btn.danger { color: var(--bad); border-color: #fecaca; }
.btn.danger:hover { background: var(--bad-soft); border-color: #fca5a5; color: var(--bad); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn.lg { height: 44px; padding: 0 24px; font-size: 15px; }
.btn.xl { height: 48px; padding: 0 28px; font-size: 16px; }
.btn.block { width: 100%; }
.btn.icon { width: 32px; padding: 0; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(31, 41, 55, .25); border-top-color: var(--text); animation: spin .7s linear infinite;
}
.btn.pri.is-loading::after { border-color: rgba(255, 255, 255, .35); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
form.inline { display: inline; }

/* ---------------- 表单 ---------------- */
.field { display: block; }
.field + .field { margin-top: 16px; }
.field > span { display: block; font-size: 13px; color: var(--text); margin-bottom: 8px; font-weight: 500; }
.input {
  width: 100%; height: 40px; padding: 0 12px; border: 1px solid #d1d5db; border-radius: var(--r-btn); background: #fff;
  font: inherit; color: var(--title); transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--muted); }
.input:hover { border-color: #9ca3af; }
.input:focus { outline: none; border-color: var(--pri); box-shadow: var(--ring); }
.input-wrap { position: relative; display: block; }
.input-wrap > .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-wrap .input { padding-left: 38px; }
.input-wrap:focus-within > .ic { color: var(--pri); }
.check { display: flex; align-items: center; gap: 8px; color: var(--text-2); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--pri); }
.err-text { color: var(--bad); font-size: 12px; margin-top: 4px; }

/* ---------------- 提示条与 toast ---------------- */
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; border: 1px solid; }
.flash .ic { margin-top: 1px; }
.flash.ok { background: var(--ok-soft); color: #166534; border-color: #bbf7d0; }
.flash.err { background: var(--bad-soft); color: #991b1b; border-color: #fecaca; }
.flash.warn { background: var(--warn-soft); color: #9a3412; border-color: #fed7aa; }
.flash.note { background: var(--pri-soft); color: #1e40af; border-color: #dbeafe; }
.flash a { font-weight: 600; }

.toasts { position: fixed; top: 24px; right: 24px; z-index: 100; display: flex; flex-direction: column; gap: 8px; width: min(380px, calc(100vw - 32px)); }
.toast {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-card); box-shadow: var(--sh-3); animation: toast-in .3s var(--ease);
}
.toast.out { animation: toast-out .25s var(--ease) forwards; }
.toast .t-ic { color: var(--ok); margin-top: 1px; }
.toast.err .t-ic { color: var(--bad); }
.toast .t-title { font-weight: 600; color: var(--title); }
.toast .t-msg { color: var(--text-2); font-size: 13px; margin-top: 2px; }
.toast .icon-btn { width: 24px; height: 24px; margin: -2px -4px 0 auto; flex: none; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(16px); } }

/* ---------------- 云电脑卡片 ---------------- */
.pc { overflow: hidden; display: flex; flex-direction: column; }
.pc-screen {
  height: 128px; position: relative; display: grid; place-items: center; color: var(--pri);
  background: linear-gradient(160deg, #eff6ff 0%, #dbeafe 100%); border-bottom: 1px solid var(--line-2); overflow: hidden;
}
.pc-screen::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -80px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.pc-screen.off { background: linear-gradient(160deg, #f9fafb 0%, #eef0f3 100%); color: #9ca3af; }
.pc-screen.warn { background: linear-gradient(160deg, #fff7ed 0%, #ffedd5 100%); color: var(--warn); }
.pc-screen.busy { background: linear-gradient(160deg, #f0f9ff 0%, #e0f2fe 100%); color: #0284c7; }
.pc-screen .tb { position: absolute; left: 0; right: 0; bottom: 0; height: 24px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(4px); border-top: 1px solid rgba(16, 24, 40, .05); display: flex; gap: 6px; align-items: center; padding: 0 12px; z-index: 1; }
.pc-screen .tb i { width: 12px; height: 12px; border-radius: 3px; background: rgba(16, 24, 40, .12); }
.pc-screen .tb i:first-child { background: var(--pri); }
.pc-screen > .ic { position: relative; z-index: 1; }
.pc-screen .st { position: absolute; top: 12px; right: 12px; z-index: 1; }
.pc-body { padding: 16px 20px; flex: 1; }
.pc-body h2 a { color: inherit; }
.pc-body h2 a:hover { color: var(--pri); }
.pc-body .meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--text-2); font-size: 12px; margin-top: 8px; }
.pc-body .meta span { display: inline-flex; gap: 4px; align-items: center; }
.pc-foot { padding: 12px 20px; border-top: 1px solid var(--line-2); display: flex; gap: 8px; align-items: center; background: var(--surface-2); }
.pc-new {
  border: 1.5px dashed #d1d5db; border-radius: var(--r-card); display: grid; place-items: center; min-height: 280px;
  color: var(--text-2); text-align: center; transition: .2s var(--ease); background: rgba(255, 255, 255, .6);
}
.pc-new:hover { border-color: var(--pri); color: var(--pri); background: #fff; box-shadow: var(--sh-2); }
.pc-new .plus { width: 48px; height: 48px; border-radius: 50%; background: var(--pri-soft); color: var(--pri); display: grid; place-items: center; margin: 0 auto 12px; transition: .2s; }
.pc-new:hover .plus { background: var(--pri); color: #fff; transform: rotate(90deg); }

.empty-state { padding: 56px 24px; text-align: center; }
.empty-state svg.illus { width: 220px; max-width: 100%; height: auto; display: block; margin: 0 auto 24px; }
.empty-state h2 { font-size: 18px; }
.empty-state p { color: var(--text-2); margin: 8px auto 24px; max-width: 420px; }

/* ---------------- 套餐选择 ---------------- */
.plan {
  position: relative; display: flex; flex-direction: column; cursor: pointer; padding: 24px; border: 1.5px solid var(--line);
  border-radius: var(--r-card); background: #fff; transition: border-color .15s, box-shadow .2s;
}
.plan:hover { border-color: #93c5fd; box-shadow: var(--sh-2); }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan:has(input:checked) { border-color: var(--pri); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); background: linear-gradient(180deg, #f8fbff, #fff 60%); }
.plan:has(input:focus-visible) { box-shadow: var(--ring); }
.plan .tick { position: absolute; top: 20px; right: 20px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #d1d5db; display: grid; place-items: center; color: #fff; transition: .15s; }
.plan .tick .ic { opacity: 0; transform: scale(.6); transition: .15s; }
.plan:has(input:checked) .tick { background: var(--pri); border-color: var(--pri); }
.plan:has(input:checked) .tick .ic { opacity: 1; transform: none; }
.plan .price { font-size: 30px; font-weight: 700; margin-top: 16px; color: var(--title); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 13px; font-weight: 400; color: var(--text-2); letter-spacing: 0; }
.ribbon { display: inline-flex; gap: 4px; align-items: center; background: var(--pri); color: #fff; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 99px; box-shadow: 0 2px 6px rgba(37, 99, 235, .3); white-space: nowrap; }
.plan .ribbon { position: absolute; top: 0; left: 24px; transform: translateY(-50%); }
.plan.featured { border-color: var(--pri-line); }
.os-tag { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 600; background: var(--pri-soft); color: var(--pri); border: 1px solid #dbeafe; white-space: nowrap; }
.os-tag.macos { background: #f3f4f6; color: #111827; border-color: #e5e7eb; }
.plan-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-right: 32px; }
.spec { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); color: var(--text-2); font-size: 13px; }
.spec div { display: flex; gap: 8px; align-items: center; }
.spec .ic { color: var(--muted); }

/* 开通页底部固定价格栏 */
.buybar {
  position: sticky; bottom: 16px; z-index: 20; margin-top: 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 16px 24px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-3);
}
.buybar .item .k { font-size: 12px; color: var(--muted); }
.buybar .item .v { font-weight: 600; color: var(--title); font-variant-numeric: tabular-nums; }
.buybar .pay .v { font-size: 24px; font-weight: 700; color: var(--pri); line-height: 1.2; }
.buybar .sep { width: 1px; align-self: stretch; background: var(--line); }
.buybar .go { margin-left: auto; display: flex; align-items: center; gap: 16px; }

.sec-title { display: flex; align-items: center; gap: 8px; }
.sec-title > .ic { color: var(--pri); }
.sec-title .n { width: 22px; height: 22px; border-radius: 50%; background: var(--pri-soft); color: var(--pri); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.bullets { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.bullets li { display: flex; gap: 10px; color: var(--text-2); }
.bullets li .ic { color: var(--pri); margin-top: 3px; }

/* ---------------- 钱包 ---------------- */
.hero-balance { position: relative; overflow: hidden; background: linear-gradient(135deg, #eff6ff 0%, #ffffff 65%); border-color: #dbeafe; }
.hero-balance::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(37, 99, 235, .10), transparent 70%); pointer-events: none; }
.hero-balance .k { color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.hero-balance .big { font-size: 40px; font-weight: 700; letter-spacing: -.02em; color: var(--title); line-height: 1.2; margin-top: 8px; }
.hero-balance .note { color: var(--text-2); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  height: 36px; padding: 0 16px; border-radius: var(--r-btn); border: 1px solid var(--pri-line); background: #fff; color: var(--pri);
  font: inherit; font-weight: 600; cursor: pointer; transition: .15s; font-variant-numeric: tabular-nums;
}
.chip:hover { background: var(--pri); border-color: var(--pri); color: #fff; box-shadow: 0 2px 8px rgba(37, 99, 235, .25); }
.chip:active { transform: translateY(1px); }
.tabs { display: flex; gap: 4px; background: var(--gray-soft); padding: 4px; border-radius: 10px; flex-wrap: wrap; }
.tabs a { padding: 4px 12px; border-radius: 6px; color: var(--text-2); font-size: 13px; transition: .15s; }
.tabs a:hover { color: var(--title); }
.tabs a.on { background: #fff; color: var(--title); font-weight: 500; box-shadow: var(--sh-1); }
.bar { height: 8px; background: var(--gray-soft); border-radius: 9px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, #60a5fa, var(--pri)); border-radius: 9px; }

/* ---------------- 详情页 ---------------- */
.detail-hero { display: flex; gap: 24px; align-items: center; padding: 24px; }
.detail-hero .pc-screen { width: 200px; height: 124px; border-radius: 10px; flex: none; border: 1px solid var(--line-2); }
.spec-line { display: flex; gap: 16px; flex-wrap: wrap; color: var(--text-2); margin-top: 8px; font-size: 13px; }
.spec-line span { display: inline-flex; gap: 4px; align-items: center; }
.spec-line .ic { color: var(--muted); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.rename { display: none; gap: 8px; margin-top: 8px; }
.rename.open { display: flex; }
.secret { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; font-size: 13px; }

/* ---------------- 远程桌面占位 ---------------- */
.rd-window { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-3); border: 1px solid var(--line); background: #fff; }
.rd-bar { height: 40px; background: var(--surface-2); border-bottom: 1px solid var(--line); color: var(--text-2); display: flex; align-items: center; gap: 12px; padding: 0 16px; font-size: 13px; }
.rd-bar .dots { display: flex; gap: 6px; }
.rd-bar .title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.rd-bar .dots i:nth-child(2) { background: #fbbf24; } .rd-bar .dots i:nth-child(3) { background: #34d399; }
.rd-desk {
  height: 480px; position: relative; color: var(--text);
  background: radial-gradient(60% 70% at 80% 10%, #dbeafe 0%, transparent 70%), radial-gradient(50% 60% at 10% 100%, #e0e7ff 0%, transparent 70%), #f8fafc;
}
.rd-icons { position: absolute; top: 24px; left: 24px; display: grid; gap: 16px; }
.rd-icons div { width: 72px; text-align: center; font-size: 12px; color: var(--text-2); }
.rd-icons i { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 4px; border-radius: 10px; background: #fff; border: 1px solid #dbeafe; box-shadow: var(--sh-1); color: var(--pri); font-style: normal; }
.rd-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; }
.rd-note { background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-3); padding: 32px; border-radius: var(--r-card); max-width: 520px; }
.rd-note .ico { margin: 0 auto 16px; }
.rd-note .note-sub { color: var(--text-2); }
.rd-note .note-faint { color: var(--muted); }
.rd-task { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(6px); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; padding: 0 16px; }
.rd-task i { width: 28px; height: 28px; border-radius: 6px; background: #e5e7eb; }
.rd-task i:first-child { background: var(--pri); }
.rd-task .clock { margin-left: auto; font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }

/* ---------------- 首页 ---------------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.site-nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .85); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(229, 231, 235, .7); }
.site-nav .container { height: 64px; display: flex; align-items: center; gap: 40px; }
.site-nav .brand { padding: 0; }
.site-nav .links { display: flex; gap: 32px; }
.site-nav .links a { color: var(--text-2); font-weight: 500; }
.site-nav .links a:hover { color: var(--pri); }
.site-nav .cta { margin-left: auto; display: flex; gap: 8px; }

.hero-band { background: radial-gradient(60% 80% at 85% 20%, #dbeafe 0%, transparent 60%), radial-gradient(50% 70% at 0% 100%, #eef2ff 0%, transparent 60%), linear-gradient(180deg, #f8fbff 0%, #f5f7fa 100%); border-bottom: 1px solid #eaeef5; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 96px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 4px; border-radius: 99px; background: #fff; border: 1px solid #dbeafe; color: var(--text-2); font-size: 13px; box-shadow: var(--sh-1); }
.hero .eyebrow b { background: var(--pri); color: #fff; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 99px; }
.hero h1 { font-size: 48px; line-height: 1.18; letter-spacing: -.02em; font-weight: 700; margin-top: 24px; }
.hero h1 em { font-style: normal; color: var(--pri); }
.hero p.lead { font-size: 18px; line-height: 1.7; color: var(--text-2); margin-top: 24px; max-width: 520px; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero .trust { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px; color: var(--text-2); font-size: 13px; }
.hero .trust span { display: inline-flex; gap: 6px; align-items: center; }
.hero .trust .ic { color: var(--ok); }
.hero-art { position: relative; }
.hero-art svg.art { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 48px rgba(37, 99, 235, .14)); }
.float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-3); padding: 12px 16px; display: flex; gap: 12px; align-items: center; font-size: 13px; animation: float 6s ease-in-out infinite; }
.float-card .k { color: var(--muted); font-size: 12px; }
.float-card .v { font-weight: 700; color: var(--title); font-variant-numeric: tabular-nums; }
.float-card.a { left: -24px; bottom: 48px; }
.float-card.b { right: -16px; top: 16px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

.section { padding: 88px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .kicker { color: var(--pri); font-weight: 600; font-size: 13px; letter-spacing: .08em; }
.section-head h2 { font-size: 32px; font-weight: 700; letter-spacing: -.01em; margin-top: 8px; }
.section-head p { color: var(--text-2); font-size: 16px; margin-top: 12px; }
.feature { padding: 32px 24px; }
.feature h3 { font-size: 16px; margin-top: 20px; }
.feature p { color: var(--text-2); margin-top: 8px; }
.price-card { padding: 32px; position: relative; display: flex; flex-direction: column; }
.price-card.featured { border: 1.5px solid var(--pri); box-shadow: 0 16px 40px rgba(37, 99, 235, .14); transform: translateY(-8px); }
.price-card .ribbon { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 4px 12px; }
.price-card .price { font-size: 40px; font-weight: 700; color: var(--title); letter-spacing: -.02em; margin-top: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price-card .price small { font-size: 14px; font-weight: 400; color: var(--text-2); letter-spacing: 0; }
.price-card .bullets { flex: 1; margin: 24px 0 32px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.step { text-align: center; position: relative; }
.step .n { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: #fff; border: 1px solid #dbeafe; color: var(--pri); box-shadow: var(--sh-2); position: relative; z-index: 1; }
.step .n b { position: absolute; top: -4px; right: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--pri); color: #fff; font-size: 12px; display: grid; place-items: center; }
.step h3 { margin-top: 16px; font-size: 16px; }
.step p { color: var(--text-2); margin-top: 8px; font-size: 13px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: calc(50% + 40px); right: calc(-50% + 40px); border-top: 1.5px dashed #bfdbfe; }
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--sh-2); border-color: #dbeafe; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; color: var(--title); font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--muted); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); color: var(--pri); }
.faq details p { padding: 0 24px 20px; color: var(--text-2); }
.cta-band { background: linear-gradient(135deg, #eff6ff, #e0ecff); border: 1px solid #dbeafe; border-radius: 16px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 26px; font-weight: 700; }
.cta-band p { color: var(--text-2); margin-top: 8px; }
.footer { background: #fff; border-top: 1px solid var(--line); padding: 48px 0 32px; color: var(--text-2); font-size: 13px; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { margin: 0 0 16px; color: var(--title); font-size: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--text-2); }
.footer ul a:hover { color: var(--pri); }
.footer .copy { border-top: 1px solid var(--line-2); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); }

/* ---------------- 登录注册 ---------------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side {
  position: relative; overflow: hidden;
  background: radial-gradient(70% 60% at 90% 10%, #dbeafe 0%, transparent 65%), linear-gradient(160deg, #f8fbff 0%, #eaf2ff 100%);
  padding: 48px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid #e5edfb;
}
.auth-side .brand { padding: 0; }
.auth-side h2 { font-size: 32px; line-height: 1.35; font-weight: 700; }
.auth-side h2 em { font-style: normal; color: var(--pri); }
.auth-side .bullets { margin-top: 32px; }
.auth-side .bullets li { color: var(--text); }
.auth-side .mini { margin-top: 40px; max-width: 440px; }
.auth-side .foot { color: var(--muted); }
.auth-form { display: grid; place-items: center; padding: 48px 24px; background: #fff; }
.auth-form .box { width: 100%; max-width: 400px; }
.auth-form .m-brand { display: none; padding: 0 0 32px; }
.auth-form h1 { font-size: 28px; }
.auth-form .gift { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 10px; background: var(--warn-soft); border: 1px solid #fed7aa; color: #9a3412; font-size: 13px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1100px) {
  .g-main { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 72px; gap: 48px; }
  .hero-art { max-width: 560px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .step::after { display: none; }
}
@media (max-width: 1000px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3, .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-form .m-brand { display: flex; }
  .price-card.featured { transform: none; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .site-nav .links { display: none; }
}
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: sticky; z-index: 30; height: auto; flex-direction: row; align-items: center; padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--line); gap: 4px; }
  .side .brand { padding: 0 4px 0 0; font-size: 0; gap: 0; }
  .nav-label, .side .spacer, .side-wallet, .side-user .who, .side-user .avatar { display: none; }
  .nav { display: flex; gap: 2px; flex: 1; justify-content: space-around; }
  .nav a { height: 40px; padding: 0 12px; }
  .nav a span { display: none; }
  .nav a.on::before { display: none; }
  .side-user { border: 0; padding: 0; }
  .topbar { padding: 16px 16px 0; }
  .content { padding: 16px 16px 48px; }
  h1 { font-size: 20px; }
  .card-body { padding: 16px; }
  .card-head { padding: 12px 16px; }
  .g-2 { grid-template-columns: 1fr; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat { padding: 16px; }
  .stat .top .ico { display: none; }
  .stat .v { font-size: 20px; }
  .tbl th, .tbl td { padding: 10px 12px; }
  .tbl .hide-sm { display: none; }
  .tbl th, .tbl td { white-space: nowrap; }
  .kv { grid-template-columns: 96px 1fr; }
  .detail-hero { flex-direction: column; align-items: stretch; padding: 16px; }
  .detail-hero .pc-screen { width: 100%; }
  .buybar { bottom: 8px; padding: 12px 16px; gap: 12px; flex-wrap: nowrap; }
  .buybar .item:not(.pay), .buybar .sep, .buybar .go .small { display: none; }
  .rd-desk { height: 420px; }
  .rd-icons { display: none; }
  .rd-note { padding: 24px 20px; }
  .toasts { top: 72px; right: 16px; }
  .hero h1 { font-size: 34px; }
  .hero p.lead { font-size: 16px; }
  .float-card.a { left: 0; } .float-card.b { right: 0; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 24px; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
  .footer .cols { grid-template-columns: 1fr; }
  .site-nav .container { gap: 16px; }
  .site-nav .cta .btn.ghost { display: none; }
}
