/* ==========================================================================
   薯芯云 · 设计系统 v4「Minimal Editorial」
   纯白底 / 发丝分割线 / 大字号 / 等宽数字 / 克制品牌蓝
   本文件同时服务：官网(site) + 用户中心/管理后台(console) + 购物链路(shop)
   ========================================================================== */

:root {
  /* 品牌 */
  --brand:        #1D5BFF;
  --brand-600:    #0F49E0;
  --brand-700:    #0A38B8;
  --brand-50:     #EBF1FF;
  --brand-soft:   #EBF1FF;
  --brand-softer: #F4F7FF;
  --brand-line:   #C9D9FF;

  /* 中性 */
  --ink:      #0D1526;
  --ink-900:  #0D1526;
  --ink-2:    #46536B;
  --ink-3:    #7C8AA0;
  --ink-4:    #A3AFBF;
  --text:     #0D1526;
  --text-2:   #46536B;
  --muted:    #7C8AA0;
  --muted-2:  #A3AFBF;
  --line:     #E4E9F2;
  --line-2:   #EEF1F7;
  --canvas:   #FFFFFF;
  --bg-2:     #FAFBFD;
  --surface:  #FFFFFF;
  --surface-2:#FAFBFD;

  /* 侧栏 / 顶栏 */
  --nav:      #FFFFFF;
  --nav-2:    #F7F9FC;
  --nav-line: #E4E9F2;
  --nav-ink:  #0D1526;
  --nav-ink2: #7C8AA0;
  --grad-dark: linear-gradient(160deg, #0D1526 0%, #16233D 62%, #1B2C4E 100%);
  --grad-hero: radial-gradient(1200px 620px at 78% -8%, rgba(31,107,255,.45), transparent 62%),
               radial-gradient(760px 420px at 8% 106%, rgba(0,214,168,.22), transparent 60%),
               linear-gradient(160deg, #061020 0%, #0A1730 52%, #071120 100%);
  --grad-text: linear-gradient(100deg, #2E7BFF 0%, #23B7FF 46%, #00D6A8 100%);

  /* 语义 */
  --ok:       #0EA47A;
  --ok-soft:  #E7F8F1;
  --ok-bg:    #E7F8F1;
  --warn:     #C2740A;
  --warn-soft:#FEF4E3;
  --warn-bg:  #FEF4E3;
  --danger:   #DC3545;
  --danger-soft:#FDECEC;
  --info:     #0B7ED4;
  --info-soft:#E8F4FD;
  --violet:   #7C4DFF;
  --violet-soft:#F0EBFF;

  /* 圆角 */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;

  /* 阴影 */
  --sh-xs: 0 1px 2px rgba(13,21,38,.06);
  --sh-sm: 0 1px 3px rgba(13,21,38,.07), 0 1px 2px rgba(13,21,38,.04);
  --shadow-sm: 0 1px 3px rgba(13,21,38,.07);
  --shadow-md: 0 4px 12px -2px rgba(13,21,38,.09), 0 2px 4px -2px rgba(13,21,38,.05);
  --sh-md: 0 4px 12px -2px rgba(13,21,38,.09), 0 2px 4px -2px rgba(13,21,38,.05);
  --sh-lg: 0 16px 40px -12px rgba(13,21,38,.18), 0 4px 10px -4px rgba(13,21,38,.08);
  --sh-pop: 0 12px 32px -8px rgba(13,21,38,.22), 0 2px 6px rgba(13,21,38,.06);

  --ff: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --ff-num: "SF Mono", ui-monospace, "JetBrains Mono", "Cascadia Code", Menlo,
            Consolas, monospace;
  --mono: "SF Mono", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--ff); color: var(--ink);
  background: #fff; font-size: 14px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.24; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
svg { display: block; }
img { max-width: 100%; display: block; }
::selection { background: rgba(29,91,255,.14); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #D5DCE9; border-radius: 99px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #BCC7D8; background-clip: content-box; }
::-webkit-scrollbar-track { background: transparent; }

/* ==========================================================================
   原子
   ========================================================================== */
.mono { font-family: var(--ff-num); letter-spacing: -.02em; }
.muted { color: var(--ink-3); }
.small { font-size: 12px; }
.strong { font-weight: 600; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.text-2 { color: var(--ink-2); }
.grow { flex: 1; min-width: 0; }
.flex { display: flex; align-items: center; gap: 10px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.ta-center { text-align: center; } .ta-right { text-align: right; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid-side { grid-template-columns: minmax(0,1fr) 336px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 14px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600; letter-spacing: -.01em;
  color: var(--ink); background: #fff; border: 1px solid var(--line);
  transition: background .16s, border-color .16s, color .16s, box-shadow .16s, transform .12s;
  white-space: nowrap; user-select: none;
}
.btn:hover { background: #FCFDFF; border-color: #CFD8E6; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 15px; height: 15px; flex: none; }
.btn .btn-ico { display: inline-flex; align-items: center; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { background: #1B2740; border-color: #1B2740; color: #fff; }
.btn-soft { background: var(--brand-softer); border-color: var(--brand-line); color: var(--brand-700); }
.btn-soft:hover { background: var(--brand-soft); border-color: var(--brand-line); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: #F6F8FC; border-color: transparent; color: var(--ink); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn-danger { color: var(--danger); border-color: #F1C7C7; background: #fff; }
.btn-danger:hover { background: var(--danger-soft); border-color: #E9B0B0; color: #C22E2E; }
.btn-danger-solid { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger-solid:hover { background: #C62F2F; border-color: #C62F2F; color: #fff; }
.btn-sm { height: 30px; padding: 0 11px; font-size: 12px; border-radius: 7px; }
.btn-sm svg { width: 13px; height: 13px; }
.btn-lg { height: 44px; padding: 0 22px; font-size: 14.5px; border-radius: 9px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

/* ==========================================================================
   徽章 / 标签
   ========================================================================== */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  height: 21px; padding: 0 8px; border-radius: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0;
  background: #F2F5FA; color: var(--ink-2); border: 1px solid transparent;
  white-space: nowrap;
}
.badge-ok { background: var(--ok-soft); color: #0A7D5D; }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-danger { background: var(--danger-soft); color: #C22E2E; }
.badge-info { background: var(--info-soft); color: #0A66AE; }
.badge-violet { background: var(--violet-soft); color: #5B34D6; }
.badge-muted { background: #F2F5FA; color: var(--ink-3); }
.tag-row { display: inline-flex; flex-wrap: wrap; gap: 6px; }

/* ==========================================================================
   提示条
   ========================================================================== */
.alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; margin-bottom: 14px;
  border-radius: 9px; font-size: 12.8px; line-height: 1.65;
  background: #F7F9FC; border: 1px solid var(--line); color: var(--ink-2);
}
.alert a { color: var(--brand); font-weight: 600; }
.alert-ico {
  width: 17px; height: 17px; border-radius: 50%; flex: none; margin-top: 1px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; background: #E7ECF5; color: var(--ink-2);
}
.alert-ok { background: var(--ok-soft); border-color: #C8EDE0; color: #0A6B51; }
.alert-ok .alert-ico { background: var(--ok); color: #fff; }
.alert-warn { background: var(--warn-soft); border-color: #F6E2C0; color: #8A5509; }
.alert-warn .alert-ico { background: var(--warn); color: #fff; }
.alert-danger { background: var(--danger-soft); border-color: #F4CFCF; color: #A82828; }
.alert-danger .alert-ico { background: var(--danger); color: #fff; }
.alert-info { background: var(--info-soft); border-color: #CCE7F9; color: #0A5F9E; }
.alert-info .alert-ico { background: var(--info); color: #fff; }

/* ==========================================================================
   卡片
   ========================================================================== */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 16px; overflow: hidden;
}
.card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 18px; border-bottom: 1px solid var(--line-2); background: #FCFDFE;
}
.card-head .card-title { display: inline-flex; align-items: center; gap: 8px; }
.card-head .card-title::before { content: ""; width: 3px; height: 13px; border-radius: 2px; background: var(--brand); flex: none; }
.card-head-main { min-width: 0; }
.card-title { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.card-desc { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.card-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.card-body { padding: 20px; }
.card-body.tight { padding: 0; }
.card-body.tight > .table-wrap { border: 0; border-radius: 0; }

/* ==========================================================================
   表格
   ========================================================================== */
.table-wrap { width: 100%; overflow-x: auto; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.table thead th {
  padding: 10px 14px; text-align: left; white-space: nowrap;
  font-family: var(--ff-num); font-size: 10.5px; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; color: var(--ink-4);
  background: #FBFCFE; border-bottom: 1px solid var(--line);
}
.table tbody td {
  padding: 13px 14px; border-bottom: 1px solid var(--line-2);
  vertical-align: middle; color: var(--ink-2);
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #FCFDFF; }
.table td b, .table td strong { color: var(--ink); font-weight: 600; }
.table-compact tbody td { padding: 9px 12px; }
.cell-main { color: var(--ink) !important; font-weight: 500; }
.cell-sub { display: block; font-size: 11.5px; color: var(--ink-4); margin-top: 2px; font-weight: 400; }
.td-empty { padding: 46px 14px !important; color: var(--ink-4); font-size: 12.5px; }

/* ==========================================================================
   表单
   ========================================================================== */
.field { margin-bottom: 16px; }
.field-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field-hint { font-size: 11.5px; color: var(--ink-4); margin-top: 6px; line-height: 1.6; }
.input, .select, .textarea {
  width: 100%; height: 38px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  font-size: 13px; color: var(--ink);
  transition: border-color .16s, box-shadow .16s, background .16s;
}
.textarea { height: auto; min-height: 92px; padding: 10px 12px; line-height: 1.7; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: #D3DBE8; }
.input:focus, .select:focus, .textarea:focus {
  outline: 0; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 3px rgba(29,91,255,.12);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.input[readonly] { background: #FAFBFD; color: var(--ink-3); }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237C8AA0' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.input-group { display: flex; gap: 8px; align-items: center; }
.input-group .input { flex: 1; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.check-row { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }
.check-row input[type="checkbox"], .check-row input[type="radio"] { margin-top: 2px; accent-color: var(--brand); flex: none; }

/* 开关 */
.switch-row { display: flex; align-items: flex-start; gap: 10px; padding: 11px 0; cursor: pointer; }
.switch { position: relative; width: 38px; height: 22px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.slider {
  position: absolute; inset: 0; border-radius: 99px; background: #D7DEEA;
  transition: background .2s var(--ease);
}
.slider::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(13,21,38,.2);
  transition: transform .2s var(--ease);
}
.switch input:checked + .slider { background: var(--brand); }
.switch input:checked + .slider::after { transform: translateX(16px); }
.switch-text { display: grid; gap: 2px; }
.switch-text b { font-size: 12.8px; font-weight: 600; color: var(--ink); }
.switch-text i { font-style: normal; font-size: 11.5px; color: var(--ink-4); }

/* ==========================================================================
   分段控件 / 标签页
   ========================================================================== */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tab {
  position: relative; padding: 10px 14px; font-size: 13px; font-weight: 500;
  color: var(--ink-3); white-space: nowrap; transition: color .16s;
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); font-weight: 600; }
.tab.active::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px;
  background: var(--ink); border-radius: 2px;
}
.steps { display: flex; align-items: center; gap: 0; margin-bottom: 22px; }
.step { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-4); }
.step b {
  width: 21px; height: 21px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; font-size: 11px; font-family: var(--ff-num);
  background: #F2F5FA; color: var(--ink-3); font-weight: 600;
}
.step.active { color: var(--ink); font-weight: 600; }
.step.active b { background: var(--ink); color: #fff; }
.step.done b { background: var(--brand-soft); color: var(--brand); }
.step-line { flex: 1; height: 1px; background: var(--line); margin: 0 12px; }

/* ==========================================================================
   进度 / 统计 / 时间轴
   ========================================================================== */
.progress-wrap { margin: 10px 0; }
.progress-label { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); margin-bottom: 6px; font-family: var(--ff-num); }
.progress { height: 6px; border-radius: 99px; background: #EEF1F7; overflow: hidden; }
.progress-bar { height: 100%; border-radius: 99px; background: var(--brand); transition: width .5s var(--ease-out); }
.progress-ok { background: var(--ok); }
.progress-warn { background: #E8A33D; }
.progress-danger { background: var(--danger); }

.stat {
  background: #fff; border: 1px solid var(--line); border-left: 2px solid var(--line); border-radius: 12px;
  padding: 16px 18px 15px; position: relative; overflow: hidden;
}
.grid-3 > .stat:first-child, .grid-4 > .stat:first-child, .grid-2 > .stat:first-child { border-left-color: var(--brand); }
.stat-label { font-family: var(--ff-num); font-size: 10.5px; letter-spacing: .05em; color: var(--ink-4); text-transform: uppercase; }
.stat-value {
  font-family: var(--ff-num); font-size: 26px; font-weight: 600; letter-spacing: -.045em;
  color: var(--ink); margin-top: 8px; line-height: 1.15; font-variant-numeric: tabular-nums;
}
.stat-foot { display: flex; align-items: center; gap: 8px; margin-top: 7px; font-size: 11.5px; }
.stat-hint { color: var(--ink-4); }
.stat-trend { color: var(--ok); font-family: var(--ff-num); font-weight: 600; }
.stat-ok .stat-value { color: #0A7D5D; }
.stat-warn .stat-value { color: var(--warn); }
.stat-dark .stat-value { color: var(--ink); }
.stat::after { display: none; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 12px; padding: 0 0 18px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 3px; top: 14px; bottom: 0; width: 1px; background: var(--line-2);
}
.timeline li:last-child::before { display: none; }
.tl-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #CBD5E4; flex: none; margin-top: 7px;
  position: relative; z-index: 1; box-shadow: 0 0 0 3px #fff;
}
.tl-dot.ok { background: var(--ok); }
.tl-dot.warn { background: #E8A33D; }
.tl-dot.danger { background: var(--danger); }
.tl-body { min-width: 0; }
.tl-title { font-size: 12.8px; font-weight: 600; color: var(--ink); }
.tl-desc { font-size: 12px; color: var(--ink-3); margin-top: 3px; line-height: 1.65; }
.tl-time { font-family: var(--ff-num); font-size: 10.5px; color: var(--ink-4); margin-top: 4px; }

/* ==========================================================================
   空状态 / 分页 / 代码 / 键值
   ========================================================================== */
.empty { text-align: center; padding: 54px 20px; }
.empty-ico {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: #F7F9FC; border: 1px solid var(--line); color: var(--ink-4); font-size: 20px;
}
.empty h4 { font-size: 14.5px; font-weight: 600; }
.empty p { font-size: 12.5px; color: var(--ink-3); margin-top: 7px; }
.empty-act { margin-top: 18px; display: flex; justify-content: center; gap: 8px; }

.pager-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; flex-wrap: wrap; }
.pager-total { font-size: 12px; color: var(--ink-4); font-family: var(--ff-num); }
.pager { display: flex; gap: 5px; flex-wrap: wrap; }
.pager-item {
  min-width: 30px; height: 30px; padding: 0 8px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-family: var(--ff-num); color: var(--ink-2);
  border: 1px solid var(--line); background: #fff; transition: all .15s;
}
.pager-item:hover { border-color: #CFD8E6; color: var(--ink); }
.pager-item.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.code-block {
  position: relative; background: #0D1526; color: #D7E2F2; border-radius: 10px;
  padding: 14px 16px; font-family: var(--ff-num); font-size: 12px; line-height: 1.8;
  overflow-x: auto; white-space: pre;
}
.copy-btn {
  position: absolute; top: 8px; right: 8px; height: 24px; padding: 0 8px;
  border-radius: 5px; background: rgba(255,255,255,.12); color: #fff; font-size: 11px;
}
.copy-btn:hover { background: rgba(255,255,255,.2); }

.dl { display: grid; grid-template-columns: 128px 1fr; gap: 0; }
.dl > dt, .dl > dd {
  margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line-2);
  font-size: 12.8px; display: flex; align-items: center; min-height: 42px;
}
.dl > dt { color: var(--ink-3); }
.dl > dd { color: var(--ink); font-weight: 500; justify-content: flex-end; text-align: right; word-break: break-all; }
.dl-tight > dt, .dl-tight > dd { padding: 7px 0; min-height: 36px; }
/* 兼容 div>span+b 写法(管理面板等页面) */
.dl > div { display: contents; }
.dl > div > span, .dl > div > b {
  margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line-2);
  font-size: 12.8px; display: flex; align-items: center; min-height: 42px;
}
.dl > div > span { color: var(--ink-3); }
.dl > div > b { color: var(--ink); font-weight: 500; justify-content: flex-end; text-align: right; word-break: break-all; }
.dl-tight > div > span, .dl-tight > div > b { padding: 7px 0; min-height: 36px; }
.kv { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.meta-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 12px; color: var(--ink-3); }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-4); margin-bottom: 10px; }
.breadcrumb a:hover { color: var(--ink); }

/* ==========================================================================
   状态点
   ========================================================================== */
.status-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.status-dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4);
}
.dot-ok::before { background: var(--ok); box-shadow: 0 0 0 3px rgba(14,164,122,.12); }
.status-dot.ok::before { background: var(--ok); box-shadow: 0 0 0 3px rgba(14,164,122,.12); }
.status-dot.warn::before { background: #E8A33D; box-shadow: 0 0 0 3px rgba(232,163,61,.14); }
.status-dot.danger::before { background: var(--danger); box-shadow: 0 0 0 3px rgba(220,53,69,.12); }

/* ==========================================================================
   弹窗 / 轻提示
   ========================================================================== */
.modal-mask {
  position: fixed; inset: 0; z-index: 90; background: rgba(13,21,38,.42);
  backdrop-filter: blur(2px); display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.open { display: flex; }
.modal {
  width: 100%; max-width: 460px; background: #fff; border-radius: 14px;
  box-shadow: var(--sh-pop); overflow: hidden; animation: pop .22s var(--ease-out);
}
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; border-bottom: 1px solid var(--line-2); font-weight: 600; font-size: 14px; }
.modal-close { width: 26px; height: 26px; border-radius: 6px; color: var(--ink-3); font-size: 17px; line-height: 1; }
.modal-close:hover { background: #F4F6FA; color: var(--ink); }
.modal-body { padding: 20px; font-size: 13px; color: var(--ink-2); }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line-2); background: #FCFDFF; }

.toast-wrap { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; }
.toast {
  padding: 10px 16px; border-radius: 9px; background: var(--ink); color: #fff;
  font-size: 12.8px; box-shadow: var(--sh-pop); animation: toastIn .24s var(--ease-out);
}
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }
.toast.ok { background: var(--ok); }
.toast.err, .toast.danger { background: var(--danger); }
.toast.warn { background: var(--warn); }

/* ==========================================================================
   官网 · 顶栏 / 页脚
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
.site-header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 62px;
  display: flex; align-items: center; gap: 30px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.brand-logo { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.brand-name { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.brand-sub { display: block; font-family: var(--ff-num); font-size: 8.5px; letter-spacing: .16em; color: var(--ink-4); }
.site-nav { display: flex; align-items: center; gap: 26px; flex: 1; }
.site-nav a { font-size: 13.5px; color: var(--ink-2); padding: 6px 0; position: relative; transition: color .16s; }
.site-nav a:hover { color: var(--ink); }
.site-nav a.active { color: var(--ink); font-weight: 600; }
.site-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -20px; height: 2px; background: var(--ink); }
.site-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.site-header .menu-toggle { display: none; }
.cart-num {
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px;
  background: #EEF2F8; color: var(--ink-3); font-family: var(--ff-num); font-size: 9.5px;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 600;
}
.cart-num.on { background: var(--brand); color: #fff; }

.site-footer { border-top: 1px solid var(--line); margin-top: 80px; background: #fff; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 46px 24px 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { font-size: 12.5px; color: var(--ink-3); line-height: 1.85; margin-top: 12px; max-width: 280px; }
.footer-col h5 { font-family: var(--ff-num); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); font-weight: 600; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 12.5px; color: var(--ink-2); padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line-2);
  font-size: 11.5px; color: var(--ink-4); flex-wrap: wrap;
}

/* 官网 · 区块 */
.section { max-width: 1200px; margin: 0 auto; padding: 76px 24px; }
.section-alt { background: #FCFDFF; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.section-head { max-width: 640px; margin-bottom: 42px; }
.section-kicker {
  font-family: var(--ff-num); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand); font-weight: 600;
}
.section-head h2 { font-size: clamp(24px, 3vw, 34px); margin: 12px 0 10px; letter-spacing: -.04em; }
.section-head p { font-size: 14px; color: var(--ink-3); line-height: 1.85; }

/* 官网 · 首屏 */
.hero { background: #fff; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 84px 24px 76px; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px;
  border-radius: 99px; background: var(--brand-softer); color: var(--brand-700);
  border: 1px solid var(--brand-line); font-size: 11.5px; font-weight: 600;
}
.hero h1 { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -.045em; line-height: 1.1; margin: 20px 0 18px; max-width: 760px; }
.hero-sub { font-size: 15px; color: var(--ink-3); line-height: 1.9; max-width: 560px; }
.hero-actions { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.hero-metrics { display: flex; gap: 46px; margin-top: 46px; flex-wrap: wrap; }
.hero-metric b { display: block; font-family: var(--ff-num); font-size: 26px; font-weight: 600; letter-spacing: -.04em; }
.hero-metric span { font-size: 11.5px; color: var(--ink-4); }
.hero-card { border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--sh-lg); overflow: hidden; }
.hero-card-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 16px; border-bottom: 1px solid var(--line-2); font-size: 12px; }
.hero-card-row:last-child { border-bottom: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.feature { background: #fff; padding: 26px 24px; }
.feature-ico {
  width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-softer); color: var(--brand); border: 1px solid var(--brand-line); margin-bottom: 15px;
}
.feature h4 { font-size: 14px; margin-bottom: 8px; }
.feature p { font-size: 12.5px; color: var(--ink-3); line-height: 1.8; }

/* 套餐卡 */
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.plan-card {
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  padding: 24px 22px; display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease-out);
}
.plan-card:hover { border-color: #CFD8E6; box-shadow: var(--sh-md); transform: translateY(-2px); }
.plan-card.featured { border-color: var(--ink); box-shadow: var(--sh-md); }
.plan-name { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.plan-desc { font-size: 12px; color: var(--ink-3); margin-top: 7px; min-height: 34px; line-height: 1.7; }
.plan-price { margin: 16px 0 4px; display: flex; align-items: baseline; gap: 4px; }
.plan-price b { font-family: var(--ff-num); font-size: 34px; font-weight: 600; letter-spacing: -.05em; }
.plan-price i { font-style: normal; font-size: 12px; color: var(--ink-4); }
.price-xl { font-family: var(--ff-num); font-size: 38px; font-weight: 600; letter-spacing: -.05em; }
.plan-cycle { font-size: 11.5px; color: var(--ink-4); }
.plan-specs { list-style: none; margin: 18px 0 20px; padding: 16px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 9px; }
.plan-specs li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.plan-specs li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--brand); flex: none; }
.plan-card .btn { margin-top: auto; }

/* ==========================================================================
   登录 / 注册
   ========================================================================== */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 480px; }
.auth-side {
  position: relative; overflow: hidden; color: #fff; background: var(--grad-hero);
  padding: 56px 52px; display: flex; flex-direction: column; justify-content: space-between;
}
.auth-side::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(circle at 30% 20%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 30% 20%, #000, transparent 72%);
}
.auth-side > .auth-side-inner, .auth-side > .auth-side-foot { position: relative; z-index: 2; width: 100%; max-width: 520px; margin-left: auto; margin-right: auto; }
.auth-side h2 { font-size: clamp(24px, 2.4vw, 31px); line-height: 1.3; letter-spacing: -.035em; margin-bottom: 14px; }
.auth-side h2 em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-side p.lead { font-size: 13px; color: #A7BCD6; line-height: 1.9; max-width: 420px; }
.auth-points { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; }
.auth-point { display: flex; align-items: flex-start; gap: 12px; }
.auth-point .ai {
  width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); color: #7FE6CD;
}
.auth-point .ai svg { width: 15px; height: 15px; }
.auth-point b { display: block; font-size: 13.5px; font-weight: 600; color: #fff; }
.auth-point span.d { display: block; font-size: 12.5px; color: #8DA4C0; line-height: 1.7; margin-top: 2px; }
.auth-side-foot { font-size: 11.5px; color: #56657A; letter-spacing: .06em; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 28px; background: #fff; }
.auth-box { width: 100%; max-width: 352px; }
.auth-box h1 { font-size: 23px; letter-spacing: -.04em; margin-bottom: 7px; }
.auth-box > p { font-size: 12.5px; color: var(--ink-3); margin-bottom: 26px; }
.auth-foot { text-align: center; font-size: 12px; color: var(--ink-3); margin-top: 20px; }
.auth-foot a { color: var(--brand); font-weight: 600; }
.auth-switch { display: flex; padding: 3px; background: #F4F6FA; border-radius: 8px; margin-bottom: 22px; }
.auth-switch a { flex: 1; text-align: center; height: 30px; line-height: 30px; border-radius: 6px; font-size: 12.5px; color: var(--ink-3); }
.auth-switch a.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--sh-xs); }

/* ==========================================================================
   控制台布局
   ========================================================================== */
.layout { display: grid; grid-template-columns: 232px minmax(0,1fr); min-height: 100vh; background: #fff; }
.sidebar {
  background: #fff; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar-head { display: flex; align-items: center; gap: 9px; padding: 18px 18px 16px; border-bottom: 1px solid var(--line-2); }
.sidebar-nav { flex: 1; padding: 14px 10px; overflow-y: auto; }
.nav-group { margin-bottom: 16px; }
.nav-group-title {
  font-family: var(--ff-num); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-4); padding: 0 10px 7px; font-weight: 600;
}
.nav-item {
  display: flex; align-items: center; gap: 9px; height: 34px; padding: 0 10px;
  border-radius: 7px; font-size: 12.8px; color: var(--ink-2);
  transition: background .14s, color .14s; margin-bottom: 1px;
}
.nav-item:hover { background: #F6F8FC; color: var(--ink); }
.nav-item.active {
  background: var(--brand-soft); color: var(--brand-700); font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(29,91,255,.10);
}
.nav-item svg { width: 15px; height: 15px; flex: none; opacity: .85; }
.nav-item .count {
  margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
  background: #EEF2F8; color: var(--ink-2); font-family: var(--ff-num); font-size: 10px;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 600;
}
.nav-item .count.danger { background: #FDE8E8; color: #C22E2E; }
.sidebar-foot { padding: 12px 10px 16px; border-top: 1px solid var(--line-2); }

.main { min-width: 0; display: flex; flex-direction: column; background: #fff; }
.topbar {
  position: sticky; top: 0; z-index: 50; height: 56px; padding: 0 24px;
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-title { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.topbar-crumb { font-size: 11.5px; color: var(--ink-4); margin-top: 1px; }
@media (max-width: 560px) {
  .topbar-crumb { display: none; }
  .topbar { padding: 0 14px; gap: 10px; }
}
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.topbar-user { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.avatar {
  width: 27px; height: 27px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand-700); font-size: 11.5px; font-weight: 600;
}
.menu-toggle { display: none; }
.page { padding: 24px 24px 56px; max-width: 1400px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); flex-wrap: wrap; }
.page-title { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -.04em; }
.page-desc { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* 图表 */
.chart-box { padding: 18px 20px 8px; }
.chart-legend { display: flex; gap: 16px; padding: 0 20px 16px; font-size: 11.5px; color: var(--ink-3); }
.chart-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 5px; }

/* 文件管理 */
.file-toolbar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.file-row { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line-2); font-size: 12.8px; }
.file-row:last-child { border-bottom: 0; }
.file-row:hover { background: #FCFDFF; }
.file-ico { width: 26px; height: 26px; border-radius: 7px; background: #F5F7FB; display: flex; align-items: center; justify-content: center; color: var(--ink-3); flex: none; }
.file-name { flex: 1; min-width: 0; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-meta { font-family: var(--ff-num); font-size: 11px; color: var(--ink-4); }
.editor { width: 100%; min-height: 460px; font-family: var(--ff-num); font-size: 12.5px; line-height: 1.75; border: 1px solid var(--line); border-radius: 10px; padding: 14px; }

/* 支付方式选择 */
.pay-methods { display: grid; gap: 9px; }
.pay-method {
  display: flex; align-items: center; gap: 11px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 9px; cursor: pointer;
  transition: border-color .16s, background .16s;
}
.pay-method:hover { border-color: #CFD8E6; }
.pay-method.on { border-color: var(--brand); background: var(--brand-softer); box-shadow: inset 0 0 0 1px var(--brand-line); }
.pay-method b { font-size: 13px; font-weight: 600; }
.pm-alipay, .pm-wechat, .pm-balance {
  width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff; flex: none;
}
.pm-alipay { background: #1677FF; }
.pm-wechat { background: #07C160; }
.pm-balance { background: var(--ink); }

/* ==========================================================================
   购物链路：面包屑 / 步骤 / 产品行 / 购物车 / 结算
   ========================================================================== */
.pwrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.crumb { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--ink-4); padding: 26px 0 0; }
.crumb a:hover { color: var(--ink); }
.crumb svg { width: 11px; height: 11px; }
.page-headshop { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 20px 0 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.page-headshop h1 { font-size: clamp(25px, 3vw, 34px); letter-spacing: -.045em; }
.page-headshop p { font-size: 13px; color: var(--ink-3); margin-top: 9px; max-width: 620px; line-height: 1.8; }
.page-headshop .aside { text-align: right; font-size: 11.5px; color: var(--ink-4); line-height: 1.9; }
.page-headshop .aside b { display: block; font-family: var(--ff-num); font-size: 13px; color: var(--ink); }

.steps4 { display: flex; align-items: center; padding: 22px 0; }
.steps4 .st { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-4); white-space: nowrap; }
.steps4 .st i {
  width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-style: normal; font-family: var(--ff-num); font-size: 10.5px; font-weight: 600;
  background: #F2F5FA; color: var(--ink-3);
}
.steps4 .st.on { color: var(--ink); font-weight: 600; }
.steps4 .st.on i { background: var(--ink); color: #fff; }
.steps4 .st.done i { background: var(--brand-soft); color: var(--brand); }
.steps4 .bar { flex: 1; height: 1px; background: var(--line); margin: 0 12px; }

.shop-grid { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 40px; padding: 26px 0 80px; align-items: start; }
.filters { display: grid; gap: 22px; }
.filters form { display: grid; gap: 22px; }
.fgroup h4 { font-family: var(--ff-num); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-4); font-weight: 600; margin-bottom: 10px; }
.fopt { display: flex; align-items: center; gap: 8px; height: 28px; font-size: 12.5px; color: var(--ink-2); cursor: pointer; }
.fopt:hover { color: var(--ink); }
.fopt input { width: 13px; height: 13px; accent-color: var(--brand); flex: none; }
.fopt .c { margin-left: auto; font-family: var(--ff-num); font-size: 10.5px; color: var(--ink-4); }
.fopt.act { color: var(--ink); font-weight: 600; }
.fopt.act .c { color: var(--brand-700); }
.ftoggle { display: none; }

.toolbar { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.segs { display: flex; padding: 3px; background: #F5F7FB; border-radius: 8px; gap: 2px; }
.segs button { height: 27px; padding: 0 11px; border-radius: 6px; font-size: 12px; color: var(--ink-3); }
.segs button.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--sh-xs); }
.toolbar .count { font-size: 11.5px; color: var(--ink-4); font-family: var(--ff-num); }
.search { position: relative; margin-left: auto; }
.search input {
  height: 32px; padding: 0 12px 0 30px; width: 210px; font-size: 12px;
  border: 1px solid var(--line); border-radius: 7px; background: #fff;
}
.search input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(29,91,255,.1); }
.search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 13px; height: 13px; color: var(--ink-4); }

.prod { display: grid; grid-template-columns: 22px minmax(0,1fr) 128px 116px; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line-2); position: relative; }
.prod:hover { background: #FCFDFF; }
.pickbox { width: 14px; height: 14px; accent-color: var(--brand); }
.p-cat { font-family: var(--ff-num); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); }
.prod h3 { font-size: 16px; margin: 6px 0 5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.prod h3 span { font-family: var(--ff-num); font-size: 11px; color: var(--ink-4); font-weight: 400; }
.prod .desc { font-size: 12px; color: var(--ink-3); }
.prod .specs { display: flex; flex-wrap: wrap; gap: 0; margin-top: 10px; font-size: 11.5px; color: var(--ink-2); }
.prod .specs span { padding: 0 11px; position: relative; font-family: var(--ff-num); }
.prod .specs span:first-child { padding-left: 0; }
.prod .specs span + span::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 9px; background: var(--line); transform: translateY(-50%); }
.p-price { text-align: right; }
.p-price b { font-family: var(--ff-num); font-size: 26px; font-weight: 600; letter-spacing: -.04em; }
.p-price b::before { content: "¥"; font-size: 13px; margin-right: 2px; font-weight: 500; }
.p-price i { font-style: normal; font-size: 11px; color: var(--ink-4); }
.p-price s { display: block; font-size: 10.5px; color: var(--ink-4); margin-top: 4px; text-decoration: none; font-family: var(--ff-num); white-space: nowrap; }
.p-acts { display: grid; gap: 6px; }
.p-acts .btn { width: 100%; }

/* 购物车 */
.cart-grid { display: grid; grid-template-columns: minmax(0,1fr) 326px; gap: 36px; padding: 26px 0 80px; align-items: start; }
.cart-head, .citem { display: grid; grid-template-columns: 22px minmax(0,1fr) 102px 92px 104px 30px; gap: 14px; align-items: center; }
.cart-head { padding: 0 12px 10px; border-bottom: 1px solid var(--line); font-family: var(--ff-num); font-size: 10.5px; color: var(--ink-4); letter-spacing: .05em; }
.cart-head span:nth-child(3), .cart-head span:nth-child(4), .cart-head span:nth-child(5) { text-align: right; }
.citem { padding: 20px 12px; border-bottom: 1px solid var(--line-2); transition: background .16s, opacity .16s; }
.citem:hover { background: #FCFDFF; }
.citem > input[type="checkbox"] { width: 14px; height: 14px; accent-color: var(--brand); }
.cmain { display: flex; gap: 13px; min-width: 0; }
.cmain .thumb {
  width: 44px; height: 44px; border-radius: 9px; flex: none; display: flex; align-items: center; justify-content: center;
  background: var(--brand-softer); border: 1px solid var(--line-2); color: var(--brand);
}
.cmain .thumb.gray { background: #F6F8FB; color: var(--ink-3); }
.cmain h4 { font-size: 13.5px; font-weight: 600; }
.cmain h4 span { font-family: var(--ff-num); font-size: 10.5px; color: var(--ink-4); font-weight: 400; }
.cmain .meta { font-size: 11.5px; color: var(--ink-3); margin-top: 5px; display: flex; flex-wrap: wrap; }
.cmain .meta span { padding: 0 9px; position: relative; }
.cmain .meta span:first-child { padding-left: 0; }
.cmain .meta span + span::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 8px; background: var(--line); transform: translateY(-50%); }
.cmain .edit { display: inline-block; font-size: 11.5px; color: var(--brand); margin-top: 6px; }
.cunit { text-align: right; font-family: var(--ff-num); font-size: 12.5px; color: var(--ink-2); }
.cunit s { display: block; font-size: 10.5px; color: var(--ink-4); text-decoration: none; margin-top: 3px; }
.cqty { display: flex; justify-content: flex-end; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.qty button { width: 26px; height: 28px; color: var(--ink-3); font-size: 14px; line-height: 1; }
.qty button:hover { background: #F5F7FB; color: var(--ink); }
.qty input { width: 32px; height: 28px; text-align: center; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font-family: var(--ff-num); font-size: 12.5px; }
.csum { text-align: right; font-family: var(--ff-num); font-size: 12.5px; color: var(--ink-2); }
.csum b { font-size: 14px; color: var(--ink); }
.cdel { width: 26px; height: 26px; border-radius: 6px; color: var(--ink-4); display: flex; align-items: center; justify-content: center; }
.cdel:hover { background: var(--danger-soft); color: var(--danger); }
.cdel svg { width: 14px; height: 14px; }
.cart-foot { display: flex; align-items: center; gap: 18px; padding: 16px 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); flex-wrap: wrap; }
.cart-foot label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; white-space: nowrap; }
.cart-foot input[type="checkbox"] { width: 14px; height: 14px; accent-color: var(--brand); }
.cart-foot .right { margin-left: auto; display: inline-flex; align-items: baseline; gap: 10px; }
.cart-foot b { font-family: var(--ff-num); font-size: 16px; color: var(--ink); }

.sum { border: 1px solid var(--line); border-radius: 12px; background: #fff; position: sticky; top: 80px; overflow: hidden; }
.sum-h { display: flex; align-items: baseline; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--line-2); font-size: 13px; font-weight: 600; }
.sum-h em { font-style: normal; font-family: var(--ff-num); font-size: 9.5px; letter-spacing: .1em; color: var(--ink-4); }
.sum-b { padding: 16px 18px 18px; display: grid; gap: 10px; }
.srow { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); gap: 12px; }
.srow b { font-family: var(--ff-num); color: var(--ink); font-weight: 500; }
.srow b.ok { color: #0A7D5D; }
.srow.total { padding-top: 12px; border-top: 1px solid var(--line-2); margin-top: 4px; font-size: 13px; color: var(--ink); align-items: baseline; }
.srow.total b { font-size: 25px; font-weight: 600; letter-spacing: -.04em; }
.coupon { display: flex; gap: 7px; }
.coupon input { flex: 1; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; }
.coupon .btn { height: 32px; }
.coupon-ok { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 7px; background: var(--ok-soft); color: #0A7D5D; font-size: 11.5px; }
.coupon-ok s { text-decoration: none; color: var(--ink-3); cursor: pointer; }
.sum-note { padding: 13px 18px; border-top: 1px solid var(--line-2); background: #FCFDFF; display: grid; gap: 8px; }
.sum-note span { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--ink-3); }
.sum-note svg { width: 13px; height: 13px; color: var(--ok); flex: none; }

.upsell { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 22px; }
.upsell-h { display: flex; align-items: baseline; gap: 10px; font-size: 13px; font-weight: 600; }
.upsell-h em { font-style: normal; font-family: var(--ff-num); font-size: 10.5px; color: var(--ink-4); letter-spacing: .08em; }
.upsell-h s { flex: 1; height: 1px; background: var(--line-2); text-decoration: none; }
.upsell-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 14px; }
.ucard { border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: grid; gap: 8px; transition: border-color .2s, transform .2s; }
.ucard:hover { border-color: #CFD8E6; transform: translateY(-2px); }
.ucard b { font-size: 12.5px; font-weight: 600; }
.ucard p { font-size: 11px; color: var(--ink-3); line-height: 1.65; }
.u-row { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.u-row span { font-family: var(--ff-num); font-size: 13px; font-weight: 600; }
.u-row i { font-style: normal; font-size: 10.5px; color: var(--ink-4); font-weight: 400; }
.u-row a { font-size: 11.5px; color: var(--brand); font-weight: 600; }

/* 结算 */
.buy-grid { display: grid; grid-template-columns: minmax(0,1fr) 336px; gap: 32px; padding: 26px 0 80px; align-items: start; }
.bcard { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 14px; overflow: hidden; }
.bcard-h { display: flex; align-items: center; gap: 9px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.bcard-h .n { font-family: var(--ff-num); font-size: 10px; color: var(--ink-4); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; }
.bcard-h b { font-size: 13px; font-weight: 600; }
.bcard-h .r { margin-left: auto; font-size: 11px; color: var(--ink-4); }
.bcard-b { padding: 16px 18px; }
.buy-item { display: flex; align-items: center; gap: 13px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.buy-item:last-child { border-bottom: 0; }
.buy-item .thumb { width: 40px; height: 40px; border-radius: 9px; background: var(--brand-softer); border: 1px solid var(--line-2); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.buy-item h4 { font-size: 13px; font-weight: 600; }
.buy-item p { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
.buy-item .amt { margin-left: auto; font-family: var(--ff-num); font-size: 13.5px; }
.frow { display: grid; grid-template-columns: 84px minmax(0,1fr); gap: 14px; align-items: start; margin-bottom: 14px; }
.frow:last-child { margin-bottom: 0; }
.frow > label { font-size: 12.5px; color: var(--ink-3); padding-top: 9px; }
.frow > .seg-mini { justify-self: start; align-self: center; }
.pick { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; }
.pick-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.pick label { border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; cursor: pointer; transition: border-color .16s, background .16s, box-shadow .16s; position: relative; }
.pick label:hover { border-color: #CBD7E8; }
.pick label.on { border-color: var(--brand); background: var(--brand-softer); box-shadow: inset 0 0 0 1px var(--brand-line); }
.pick label.on b { color: var(--brand-700); }
.pick label b { display: flex; align-items: center; justify-content: space-between; font-size: 12.3px; font-weight: 600; }
.pick label em { font-style: normal; font-family: var(--ff-num); font-size: 10px; color: var(--ink-4); }
.pick label span { display: block; font-size: 10.5px; color: var(--ink-4); margin-top: 3px; font-family: var(--ff-num); }
.pick label input { position: absolute; opacity: 0; pointer-events: none; }
.seg-mini { display: inline-flex; padding: 3px; background: #F4F6FA; border-radius: 8px; }
.seg-mini button { height: 27px; padding: 0 12px; font-size: 12px; border-radius: 6px; color: var(--ink-2); flex: none; }
.seg-mini button.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(13,21,38,.08); }
.timer { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 9px; background: var(--warn-soft); color: #8A5509; font-size: 12px; margin-bottom: 12px; }
.timer b { font-family: var(--ff-num); }
.agree { display: flex; align-items: flex-start; gap: 7px; font-size: 11.5px; color: var(--ink-3); line-height: 1.6; margin-top: 2px; }
.agree a { color: var(--brand); }
.agree input { margin-top: 2px; accent-color: var(--brand); }

.order-done { display: none; padding: 46px 0 70px; }
.order-done.on { display: block; }
.done-hero { text-align: center; }
.done-hero .badge-ico {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--ok-soft); color: var(--ok); display: flex; align-items: center; justify-content: center;
}
.done-hero h2 { font-size: 24px; letter-spacing: -.04em; }
.done-hero p { font-size: 12.5px; color: var(--ink-3); margin-top: 9px; }
.done-hero p b { font-family: var(--ff-num); color: var(--ink); }
.pipeline { display: flex; align-items: flex-start; gap: 0; margin: 34px 0 6px; }
.pl { flex: 1; position: relative; text-align: left; padding-right: 14px; }
.pl .dot { width: 9px; height: 9px; border-radius: 50%; background: #DDE4EF; position: relative; z-index: 1; }
.pl.done .dot { background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.pl.on .dot { background: #fff; box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 3px var(--brand-softer); }
.pl::before { content: ""; position: absolute; left: 14px; right: 0; top: 4px; height: 1px; background: var(--line); }
.pl:last-child::before { display: none; }
.pl b { display: block; font-size: 11.5px; font-weight: 600; margin-top: 11px; }
.pl span { display: block; font-family: var(--ff-num); font-size: 10px; color: var(--ink-4); margin-top: 2px; }
.creds { border: 1px solid var(--line); border-radius: 12px; margin-top: 22px; overflow: hidden; }
.creds-h { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; border-bottom: 1px solid var(--line-2); font-size: 12px; color: var(--ink-3); }
.creds-b { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
.creds-b .cr { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; }
.creds-b .cr:nth-child(odd) { border-right: 1px solid var(--line-2); }
.creds-b .cr span { color: var(--ink-3); flex: none; }
.creds-b .cr b { font-family: var(--ff-num); font-weight: 500; color: var(--ink); word-break: break-all; }
.creds-b .cr a { font-size: 11px; color: var(--brand); margin-left: auto; flex: none; }
.done-acts { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.no-res { display: none; text-align: center; padding: 54px 0 60px; border-top: 1px solid var(--line); }
.no-res.on { display: block; }
.no-res svg { width: 80px; height: 80px; margin: 0 auto 16px; }
.no-res h3 { font-size: 15px; font-weight: 600; }
.no-res p { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.no-res .btn { margin-top: 16px; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1180px) {
  .grid-side { grid-template-columns: minmax(0,1fr); }
  .shop-grid { grid-template-columns: 190px minmax(0,1fr); gap: 28px; }
  .cart-grid, .buy-grid { grid-template-columns: minmax(0,1fr) 300px; gap: 24px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .plan-grid { grid-template-columns: minmax(0,1fr); }
  .prod { grid-template-columns: 22px minmax(0,1fr) 118px; }
  .prod .p-acts { grid-column: 2 / -1; display: flex; gap: 8px; margin-top: 4px; }
  .prod .p-acts .btn { width: auto; }
  .prod .p-price { grid-column: 2; text-align: left; }
  .cart-head, .citem { grid-template-columns: 22px minmax(0,1fr) 96px 88px 96px 28px; }
}
@media (max-width: 980px) {
  .layout { grid-template-columns: minmax(0,1fr); }
  .sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; width: 240px; z-index: 70;
    transform: translateX(-102%); transition: transform .26s var(--ease-out);
    box-shadow: var(--sh-pop);
  }
  body.menu-open .sidebar { transform: none; }
  .menu-toggle { display: inline-flex; }
  .page { padding: 18px 16px 48px; }
  .topbar { padding: 0 16px; }
  .cart-grid, .buy-grid { grid-template-columns: minmax(0,1fr); }
  .sum { position: static; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .creds-b { grid-template-columns: 1fr; }
  .creds-b .cr:nth-child(odd) { border-right: 0; }
}
@media (max-width: 820px) {
  .shop-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
  .filters { display: none; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .filters.open { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
  .ftoggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); padding: 8px 20px 14px;
  }
  .site-header .menu-toggle { display: inline-flex; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 2px; font-size: 14px; border-bottom: 1px solid var(--line-2); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a.active::after { display: none; }
  .site-nav a.active { color: var(--brand-700); }
  .hero-inner { padding: 52px 20px 46px; }
  .hero-metrics { gap: 26px; margin-top: 32px; }
  .section { padding: 52px 20px; }
  .grid-3, .grid-2 { grid-template-columns: minmax(0,1fr); }
  .feature-grid { grid-template-columns: minmax(0,1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
  .form-grid, .form-grid-3 { grid-template-columns: minmax(0,1fr); }
  .pick, .pick-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .upsell-list { grid-template-columns: minmax(0,1fr); }
  .steps4 { overflow-x: auto; padding: 16px 0; }
  .steps4 .bar { min-width: 18px; }
  .steps4 .st span { display: none; }
  .steps4 .st.on span { display: inline; }
  .steps4 .bar { margin: 0 8px; }
}
@media (max-width: 720px) {
  .cart-head { display: none; }
  .citem { grid-template-columns: 20px minmax(0,1fr); gap: 10px 12px; padding: 16px 4px; position: relative; }
  .citem .cunit { display: none; }
  .citem .cmain { grid-column: 2; }
  .citem .cqty { grid-column: 2; grid-row: 2; justify-content: flex-start; }
  .citem .csum { grid-column: 2; grid-row: 2; text-align: right; }
  .citem .cdel { position: absolute; top: 14px; right: 2px; }
  .prod { grid-template-columns: 18px minmax(0,1fr); gap: 9px 12px; padding: 16px 0; }
  .prod .p-price, .prod .p-acts { grid-column: 2; text-align: left; }
  .prod .p-acts { display: flex; gap: 8px; }
  .prod .p-acts .btn { flex: 1; width: auto; }
  .p-price b { font-size: 22px; }
  .frow { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .frow > label { padding-top: 0; }
  .dl { grid-template-columns: 96px 1fr; }
  .page-headshop .aside { text-align: left; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: minmax(0,1fr); }
  .hero-metrics { flex-wrap: wrap; }
  .btn-lg { height: 40px; font-size: 13.5px; }
  .sum-b { padding: 14px; }
  .bcard-b { padding: 14px; }
  .modal { border-radius: 12px; }
  .pipeline { flex-wrap: wrap; gap: 14px; }
  .pl { flex: none; width: 44%; }
  .pl::before { display: none; }
}

/* 动效降级 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   内容页 / 法律页
   ========================================================================== */
.legal-hero { max-width: 1108px; margin: 0 auto; padding: 46px 20px 24px; }
.legal-hero h1 { font-size: clamp(25px, 3.2vw, 34px); letter-spacing: -.035em; margin: 10px 0 12px; }
.legal-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-4); }
.legal-hero-meta .dot { opacity: .5; }
.legal-hero-meta a { color: var(--brand); font-weight: 600; }

.legal-wrap {
  max-width: 1108px; margin: 0 auto; padding: 22px 20px 68px;
  display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 44px; align-items: start;
  border-top: 1px solid var(--line);
}
.legal-toc { position: sticky; top: 86px; }
.legal-toc-title {
  font-family: var(--ff-num); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: 10px;
}
.legal-toc nav { display: grid; gap: 1px; }
.legal-toc nav a {
  display: block; padding: 7px 0 7px 12px; font-size: 12.8px; color: var(--ink-3);
  border-left: 2px solid var(--line-2); line-height: 1.5; transition: color .16s, border-color .16s;
}
.legal-toc nav a:hover { color: var(--ink); }
.legal-toc nav a.on { color: var(--brand); border-left-color: var(--brand); font-weight: 600; }

.article.card { box-shadow: none; }
.article .card-body { padding: 34px 38px 38px; }
.article { font-size: 14px; line-height: 1.92; color: var(--text-2); }
.article > .card-body > p:first-child { margin-top: 0; }
.article p { margin: 0 0 14px; }
.article h2 {
  font-size: 17px; color: var(--ink); margin: 34px 0 12px; letter-spacing: -.02em;
  padding-top: 18px; border-top: 1px solid var(--line-2); scroll-margin-top: 88px;
}
.article h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.article h3 { font-size: 14.5px; color: var(--ink); margin: 22px 0 8px; }
.article ul, .article ol { margin: 0 0 16px; padding-left: 20px; }
.article li { margin: 6px 0; }
.article li::marker { color: var(--ink-4); }
.article strong, .article b { color: var(--ink); font-weight: 600; }
.article a { color: var(--brand); text-decoration: underline; text-decoration-color: var(--brand-line); text-underline-offset: 2px; }
.article a:hover { text-decoration-color: var(--brand); }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.article blockquote {
  margin: 18px 0; padding: 12px 16px; border-left: 3px solid var(--brand-line);
  background: var(--brand-softer); border-radius: 0 8px 8px 0; color: var(--text-2); font-size: 13.5px;
}
.article code { font-family: var(--ff-num); font-size: 12.5px; background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }
.article table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; font-size: 13px; }
.article th {
  text-align: left; padding: 10px 12px; background: var(--surface-2);
  border-bottom: 1px solid var(--line); color: var(--ink-3);
  font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.article td { padding: 11px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; line-height: 1.75; }
.article tr:last-child td { border-bottom: 0; }
.article .legal-meta { font-size: 12px; color: var(--ink-4); margin-bottom: 18px; }

.legal-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--line-2); border: 1px solid var(--line-2);
  border-radius: 12px; overflow: hidden; margin: 18px 0;
}
.legal-grid > div { background: #fff; padding: 16px 18px; }
.legal-grid b { display: block; font: 600 21px/1.25 var(--ff-num); color: var(--ink); letter-spacing: -.02em; }
.legal-grid span { font-size: 12px; color: var(--ink-3); }

@media (max-width: 980px) {
  .legal-wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .legal-toc { display: none; }
  .article .card-body { padding: 22px 20px 26px; }
  .legal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   注册四步向导
   ========================================================================== */
.auth-box.wide { max-width: 432px; }
.reg-steps { display: flex; margin: 0 0 26px; }
.reg-step { flex: 1; text-align: center; position: relative; }
.reg-step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink-4);
  font: 600 11.5px/1 var(--ff-num); transition: all .22s var(--ease);
}
.reg-step .t { display: block; margin-top: 8px; font-size: 11px; color: var(--ink-4); letter-spacing: .02em; transition: color .22s; }
.reg-step::after {
  content: ''; position: absolute; top: 13px; height: 1px; background: var(--line-2);
  left: calc(50% + 20px); right: calc(-50% + 20px); transition: background .22s;
}
.reg-step:last-child::after { display: none; }
.reg-step.on .n { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 3px var(--brand-softer); }
.reg-step.on .t { color: var(--ink); font-weight: 600; }
.reg-step.done .n { background: var(--brand); border-color: var(--brand); color: #fff; }
.reg-step.done::after { background: var(--brand-line); }

.reg-pane { display: none; }
.reg-pane.on { display: block; animation: regIn .24s var(--ease-out); }
@keyframes regIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.field .msg { display: none; font-size: 11.5px; line-height: 1.6; margin-top: 6px; }
.field.ok .msg { display: block; color: var(--ok); }
.field.err .input { border-color: var(--danger); background: #FFFCFC; }
.field.err .input:focus { box-shadow: 0 0 0 3px rgba(220,53,69,.12); }
.field.err .msg { display: block; color: var(--danger); }
.field .suffix {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-size: 11px; color: var(--ink-4); pointer-events: none;
}
.field-wrap { position: relative; }
.field-wrap .input { padding-right: 56px; }

/* 密码可见性切换 */
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 46px; }
.pw-toggle {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: 0; background: none; cursor: pointer;
  color: var(--ink-4); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.pw-toggle:hover { background: var(--surface-2); color: var(--ink-2); }
.pw-toggle:focus-visible { outline: 2px solid var(--brand-soft); }
.pw-wrap .input.mono { letter-spacing: .35em; text-align: center; font-size: 18px; padding-right: 46px; }

.pw-meter { display: flex; gap: 4px; margin-top: 9px; }
.pw-meter i { flex: 1; height: 3px; border-radius: 2px; background: var(--line-2); transition: background .2s; }
.pw-meter i.lv1 { background: #DC3545; }
.pw-meter i.lv2 { background: #E8A33D; }
.pw-meter i.lv3 { background: #3B82F6; }
.pw-meter i.lv4 { background: var(--ok); }
.pw-cap { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11.5px; color: var(--ink-4); }
.pw-cap b { font-weight: 600; }

.code-input {
  height: 52px; text-align: center; font-family: var(--ff-num);
  font-size: 20px; letter-spacing: 12px; text-indent: 12px;
}
.code-note { font-size: 12px; color: var(--ink-3); line-height: 1.8; margin-bottom: 16px; }
.code-note b { color: var(--ink); font-weight: 600; }
.code-send { white-space: nowrap; }

.reg-done { text-align: center; padding: 6px 0 2px; }
.reg-done .tick-lg {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--ok-soft); color: var(--ok);
  display: flex; align-items: center; justify-content: center;
}
.reg-done h3 { font-size: 17px; margin-bottom: 8px; }
.reg-done p { font-size: 12.5px; color: var(--ink-3); line-height: 1.85; }
.reg-done .go { margin-top: 20px; }

.link-btn { color: var(--brand); font-weight: 600; font-size: 12px; }
.link-btn[disabled] { color: var(--ink-4); cursor: not-allowed; font-weight: 400; }


/* ==========================================================================
   官网首页 · 极简留白 v3（作用域 .hp，避免与订单流水线等冲突）
   ========================================================================== */
.hp .pwrap { max-width: 1140px; }
.hp .psec { padding: 92px 0; position: relative; }
.hp .psec + .psec { border-top: 1px solid var(--line-2); }
.hp .pbar { background: var(--ink); color: #E9EEF7; font-size: 12px; }
.hp .pbar .pwrap { display: flex; align-items: center; gap: 10px; height: 34px; }
.hp .pbar b { font-weight: 600; color: #fff; }
.hp .pbar a { margin-left: auto; color: #C6D3E8; display: inline-flex; align-items: center; gap: 4px; border-bottom: 1px solid transparent; transition: .18s; }
.hp .pbar a:hover { color: #fff; border-bottom-color: rgba(255,255,255,.5); }

/* 首屏 */
.hp .phero { position: relative; padding: 74px 0 96px; }
.hp .phero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(13,21,38,.038) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(13,21,38,.038) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(78% 66% at 52% 26%, #000 8%, transparent 76%);
  mask-image: radial-gradient(78% 66% at 52% 26%, #000 8%, transparent 76%);
}
.hp .phero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hp .pkicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-num); font-size: 11px; letter-spacing: .12em; color: var(--ink-3); margin-bottom: 22px; }
.hp .pkicker i { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.hp .pkicker em { font-style: normal; font-weight: 700; color: var(--brand); background: var(--brand-soft); border-radius: 4px; padding: 2px 6px; letter-spacing: .06em; }
.hp .phero h1 { font-size: clamp(33px, 3.75vw, 52px); font-weight: 600; line-height: 1.22; letter-spacing: -.045em; }
.hp .phero h1 .dim { color: var(--ink-3); }
.hp .phero h1 u { text-decoration: none; position: relative; white-space: nowrap; }
.hp .phero h1 u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: 2px;
  background: var(--brand); border-radius: 2px; transform-origin: left;
  animation: hpLineIn 1s var(--ease-out) .35s both;
}
@keyframes hpLineIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hp .phero .plede { margin-top: 24px; max-width: 452px; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.hp .phero-acts { margin-top: 32px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hp .phero-acts .btn { height: 42px; padding: 0 20px; font-size: 14px; border-radius: 8px; }
.hp .phero-acts .txt { font-size: 13.5px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 5px; }
.hp .phero-acts .txt svg { width: 14px; height: 14px; transition: transform .25s var(--ease-out); }
.hp .phero-acts .txt:hover { color: var(--ink); }
.hp .phero-acts .txt:hover svg { transform: translateX(3px); }
.hp .chips { display: flex; flex-wrap: wrap; align-items: center; margin-top: 30px; }
.hp .chips span { font-family: var(--ff-num); font-size: 10.5px; color: var(--ink-3); padding: 0 12px; position: relative; }
.hp .chips span:first-child { padding-left: 0; }
.hp .chips span + span::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 9px; background: var(--line); transform: translateY(-50%); }
.hp .pfacts { margin-top: 52px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.hp .pfacts > div { padding: 18px 10px 0 0; border-right: 1px solid var(--line-2); }
.hp .pfacts > div:last-child { border-right: 0; }
.hp .pfacts b { display: flex; align-items: baseline; gap: 2px; white-space: nowrap; font-family: var(--ff-num); font-size: 20px; font-weight: 600; letter-spacing: -.04em; line-height: 1.2; }
.hp .pfacts b em { font-style: normal; font-size: 11px; color: var(--ink-3); margin-left: 1px; }
.hp .pfacts span { font-size: 11.5px; color: var(--ink-3); display: block; margin-top: 4px; }

/* 面板示意图 */
.hp .pcol { min-width: 0; }
.hp .pshot { position: relative; }
.hp .pshot::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--line); border-radius: 14px; z-index: 0; }
.hp .frame {
  position: relative; z-index: 1; border: 1px solid var(--line); border-radius: 13px; background: #fff; overflow: hidden;
  box-shadow: 0 1px 2px rgba(13,21,38,.04), 0 30px 70px -46px rgba(13,21,38,.5);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.hp .pshot:hover .frame { transform: translate(-3px, -3px); box-shadow: 0 1px 2px rgba(13,21,38,.05), 0 40px 80px -46px rgba(13,21,38,.55); }
.hp .fbar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-bottom: 1px solid var(--line-2); background: #FCFDFE; }
.hp .fbar i { width: 7px; height: 7px; border-radius: 50%; background: #E1E6EF; }
.hp .fbar .url { margin-left: 10px; font-family: var(--ff-num); font-size: 10.5px; color: var(--ink-3); background: #fff; border: 1px solid var(--line-2); border-radius: 5px; padding: 3px 9px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp .fbar .live { font-size: 9.5px; color: #0A7D5D; display: inline-flex; align-items: center; gap: 4px; font-family: var(--ff-num); }
.hp .fbar .live s { width: 5px; height: 5px; border-radius: 50%; background: #12B981; text-decoration: none; }
.hp .fbody { display: grid; grid-template-columns: 128px 1fr; }
.hp .frail { background: #FAFBFD; border-right: 1px solid var(--line-2); padding: 12px 9px; }
.hp .frail .it { display: flex; align-items: center; gap: 7px; height: 27px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; color: var(--ink-2); }
.hp .frail .it s { width: 7px; height: 7px; border-radius: 2px; background: #CBD5E4; text-decoration: none; flex: none; }
.hp .frail .it.on { background: var(--brand-soft); color: var(--brand-700); font-weight: 600; }
.hp .frail .it.on s { background: var(--brand); }
.hp .fmain { padding: 15px 17px 18px; min-width: 0; }
.hp .fhead { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.hp .fhead b { font-size: 13px; letter-spacing: -.02em; }
.hp .fhead span { font-family: var(--ff-num); font-size: 10.5px; color: var(--ink-3); }
.hp .fstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.hp .fstat { border-left: 2px solid var(--line); padding-left: 10px; }
.hp .fstat:first-child { border-left-color: var(--brand); }
.hp .fstat span { display: block; font-size: 10px; color: var(--ink-3); }
.hp .fstat b { display: block; font-family: var(--ff-num); font-size: 16px; font-weight: 600; letter-spacing: -.04em; margin-top: 2px; white-space: nowrap; }
.hp .fstat b em { font-style: normal; font-size: 9px; color: var(--ink-3); }
.hp .fchart { border-top: 1px solid var(--line-2); padding-top: 10px; }
.hp .fchart .t { display: flex; justify-content: space-between; font-size: 10px; color: var(--ink-3); font-family: var(--ff-num); }
.hp .fchart svg { width: 100%; height: 62px; display: block; margin-top: 4px; }
.hp .frows { margin-top: 12px; display: grid; }
.hp .frow { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line-2); font-size: 11px; }
.hp .frow:first-child { border-top: 0; }
.hp .frow em { font-style: normal; font-family: var(--ff-num); font-size: 9px; color: var(--ink-3); width: 24px; flex: none; }
.hp .frow b { flex: 1; font-weight: 500; color: var(--ink-2); }
.hp .frow span { font-family: var(--ff-num); font-size: 10px; color: var(--ink-3); }
.hp .frow span.ok { color: #0A7D5D; }
.hp .fbar-acts { display: flex; align-items: center; gap: 6px; border-top: 1px solid var(--line-2); padding: 9px 14px; background: #FCFDFE; }
.hp .fbar-acts span { font-family: var(--ff-num); font-size: 10px; color: var(--ink-4); margin-right: auto; }
.hp .fbar-acts b { font-size: 10.5px; font-weight: 500; color: var(--ink-2); border: 1px solid var(--line); background: #fff; border-radius: 5px; padding: 3px 8px; transition: .16s; }
.hp .fbar-acts b:hover { border-color: #C9D3E3; color: var(--ink); }
.hp .fbar-acts b.acc { color: var(--brand); border-color: var(--brand-line); background: var(--brand-softer); }
.hp .pcap { margin-top: 34px; font-size: 11.5px; color: var(--ink-4); display: flex; align-items: center; gap: 8px; justify-content: flex-end; font-family: var(--ff-num); }
.hp .pcap s { width: 22px; height: 1px; background: var(--line); text-decoration: none; }

/* 区块标题 */
.hp .phead { position: relative; display: grid; grid-template-columns: 132px 1fr minmax(0, 340px); gap: 24px; align-items: start; border-top: 1px solid var(--ink); padding-top: 20px; margin-bottom: 48px; }
.hp .phead::before { content: "+"; position: absolute; left: -26px; top: -14px; font-family: var(--ff-num); font-size: 13px; color: var(--ink-4); line-height: 1; }
.hp .phead .no { font-family: var(--ff-num); font-size: 11px; color: var(--ink-3); letter-spacing: .07em; padding-top: 6px; white-space: nowrap; }
.hp .phead h2 { font-size: 31px; font-weight: 600; letter-spacing: -.04em; line-height: 1.22; }
.hp .phead p { font-size: 13px; line-height: 1.85; color: var(--ink-2); padding-top: 4px; }
.hp .psec[id] { scroll-margin-top: 84px; }

/* 套餐 */
.hp .pcycle { display: inline-flex; align-items: center; gap: 2px; padding: 3px; background: #F4F6FA; border-radius: 9px; vertical-align: middle; }
.hp .pcycle button { height: 30px; padding: 0 13px; border-radius: 7px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; transition: background .18s, color .18s, box-shadow .18s; }
.hp .pcycle button em { font-style: normal; font-size: 10px; color: #0A7D5D; font-family: var(--ff-num); }
.hp .pcycle button:hover { color: var(--ink); }
.hp .pcycle button.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(13,21,38,.08), 0 0 0 1px rgba(13,21,38,.05); }
.hp .plans3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.hp .pcell { display: flex; flex-direction: column; padding: 30px 26px 28px; border-right: 1px solid var(--line); position: relative; transition: background .25s; }
.hp .pcell:last-child { border-right: 0; }
.hp .pcell.hot { background: #FBFCFE; }
.hp .pcell.hot::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--brand); }
.hp .pcell:hover { background: #FCFDFF; }
.hp .ptag { position: absolute; top: 24px; right: 22px; font-size: 10px; font-weight: 600; color: var(--brand); background: var(--brand-soft); border: 1px solid var(--brand-line); padding: 2px 7px; border-radius: 99px; }
.hp .pcell h3 { font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.hp .pcell .pdesc { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; min-height: 40px; }
.hp .pprice { display: flex; align-items: flex-end; gap: 3px; margin: 14px 0 2px; height: 50px; }
.hp .pprice .cur { font-size: 17px; font-weight: 500; color: var(--ink-2); margin-bottom: 7px; }
.hp .pprice b { font-family: var(--ff-num); font-size: 46px; font-weight: 600; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.hp .pprice i { font-style: normal; font-size: 12px; color: var(--ink-3); margin-bottom: 6px; margin-left: 2px; }
.hp .pold { font-size: 11.5px; color: var(--ink-4); height: 16px; }
.hp .pcell .btn { width: 100%; margin: 18px 0 22px; height: 38px; font-size: 13px; }
.hp .pspec { margin-top: auto; border-top: 1px solid var(--line-2); }
.hp .pspec > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 12px; }
.hp .pspec > div:last-child { border-bottom: 0; }
.hp .pspec span { color: var(--ink-3); flex: none; }
.hp .pspec b { font-weight: 500; color: var(--ink); text-align: right; font-family: var(--ff-num); font-size: 11.5px; }
.hp .pfoot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 22px; font-size: 12px; color: var(--ink-3); }
.hp .pfoot span { display: inline-flex; align-items: center; gap: 5px; }
.hp .pfoot svg { width: 12px; height: 12px; color: var(--ink-4); }
.hp .pfoot a { margin-left: auto; color: var(--brand); font-weight: 500; display: inline-flex; align-items: center; gap: 3px; }
.hp .pfoot a svg { width: 12px; height: 12px; transition: transform .22s var(--ease-out); }
.hp .pfoot a:hover svg { transform: translateX(3px); }
.hp .inc-head { display: flex; align-items: baseline; gap: 12px; margin: 54px 0 18px; font-size: 13px; font-weight: 600; }
.hp .inc-head em { font-style: normal; font-family: var(--ff-num); font-size: 10.5px; color: var(--ink-4); letter-spacing: .08em; }
.hp .inc-head s { flex: 1; height: 1px; background: var(--line-2); text-decoration: none; }
.hp .inc { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.hp .inc > div { display: flex; gap: 9px; align-items: flex-start; padding: 15px; font-size: 12.3px; color: var(--ink-2); border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); transition: background .18s; }
.hp .inc > div:hover { background: #FBFCFE; }
.hp .inc > div i { width: 15px; height: 15px; border-radius: 50%; flex: none; margin-top: 1px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.hp .inc > div i svg { width: 9px; height: 9px; }

/* 能力 */
.hp .flist { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.hp .fitem { display: grid; grid-template-columns: 1fr 20px; gap: 4px 12px; padding: 24px 0; border-top: 1px solid var(--line-2); transition: padding-left .3s var(--ease-out); }
.hp .fitem:hover { padding-left: 6px; }
.hp .fitem .t { display: flex; align-items: center; gap: 9px; }
.hp .fitem .t i { font-style: normal; font-family: var(--ff-num); font-size: 10.5px; color: var(--ink-4); letter-spacing: .06em; }
.hp .fitem h4 { font-size: 14.5px; font-weight: 600; letter-spacing: -.02em; transition: color .18s; }
.hp .fitem:hover h4 { color: var(--brand); }
.hp .fitem p { grid-column: 1; font-size: 12.5px; line-height: 1.8; color: var(--ink-2); margin-top: 6px; max-width: 400px; }
.hp .fitem .go { grid-row: 1; grid-column: 2; align-self: center; color: var(--ink-4); opacity: 0; transform: translateX(-4px); transition: .22s var(--ease-out); }
.hp .fitem .go svg { width: 15px; height: 15px; }
.hp .fitem:hover .go { opacity: 1; transform: none; color: var(--brand); }

/* 流水线（首页版） */
.hp .hpipe { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 20px 22px 16px; margin-bottom: 44px; overflow: hidden; }
.hp .hpipe::before { content: ""; position: absolute; left: 42px; right: 42px; top: 30px; height: 1px; background: linear-gradient(90deg, var(--brand-line), var(--line) 55%, var(--line)); }
.hp .hpipe .hpstep { position: relative; padding-right: 12px; }
.hp .hpipe .hpstep .dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); margin-bottom: 14px; position: relative; z-index: 1; }
.hp .hpipe .hpstep.done .dot { background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.hp .hpipe .hpstep.now .dot { background: #fff; box-shadow: 0 0 0 1.5px var(--brand), 0 0 0 5px rgba(29,91,255,.10); }
.hp .hpipe .hpstep b { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: -.01em; }
.hp .hpipe .hpstep b em { font-style: normal; font-family: var(--ff-num); font-size: 9px; color: var(--ink-4); font-weight: 500; margin-left: 4px; }
.hp .hpipe .hpstep span { display: block; font-family: var(--ff-num); font-size: 10px; color: var(--ink-4); margin-top: 4px; }
.hp .hpipe .hp-total { position: absolute; right: 20px; top: 14px; font-family: var(--ff-num); font-size: 10px; color: var(--ink-4); }
.hp .hpipe .hp-total b { color: #0A7D5D; font-weight: 600; }

/* 流程 */
.hp .flow { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: -1px; }
.hp .fstep { padding: 26px 26px 4px 0; position: relative; }
.hp .fstep::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.hp .fstep.on::after { background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.hp .fstep .n { font-family: var(--ff-num); font-size: 11px; color: var(--ink-4); letter-spacing: .1em; }
.hp .fstep .ic { width: 28px; height: 28px; border-radius: 8px; margin-top: 13px; display: grid; place-items: center; color: var(--brand); background: var(--brand-softer); border: 1px solid var(--line-2); }
.hp .fstep .ic svg { width: 15px; height: 15px; }
.hp .fstep h4 { font-size: 14.5px; font-weight: 600; margin-top: 11px; letter-spacing: -.02em; }
.hp .fstep p { font-size: 12.5px; line-height: 1.75; color: var(--ink-2); margin-top: 7px; max-width: 210px; }
.hp .fstep em { display: block; margin-top: 9px; font-style: normal; font-family: var(--ff-num); font-size: 10.5px; color: var(--ink-4); letter-spacing: .02em; }

/* 规格对比 */
.hp .cmp-box { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.hp .cmp-top { display: flex; align-items: center; gap: 14px; padding: 15px 20px; border-bottom: 1px solid var(--line-2); background: #FCFDFE; }
.hp .cmp-top b { font-size: 13px; font-weight: 600; white-space: nowrap; }
.hp .cmp-top span { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.hp .cmp-top .mini { margin-left: auto; display: flex; gap: 6px; }
.hp .cmp-top .mini i { font-style: normal; font-family: var(--ff-num); font-size: 10px; color: var(--ink-3); border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px; background: #fff; }
.hp .cmp-table { width: 100%; border-collapse: collapse; font-size: 12.3px; table-layout: fixed; }
.hp .cmp-table thead th { text-align: right; font-weight: 600; padding: 12px 20px; border-bottom: 1px solid var(--line); color: var(--ink); }
.hp .cmp-table thead th:first-child { text-align: left; font-weight: 500; color: var(--ink-3); font-size: 11.5px; }
.hp .cmp-table thead th.hot { background: #FBFCFF; color: var(--brand-700); }
.hp .cmp-table thead th small { display: block; font-size: 10px; color: var(--ink-4); font-weight: 400; margin-top: 2px; }
.hp .cmp-table td { padding: 9.5px 20px; text-align: right; border-bottom: 1px solid var(--line-2); font-family: var(--ff-num); font-size: 11.8px; color: var(--ink); }
.hp .cmp-table td:first-child { text-align: left; font-family: var(--ff); font-size: 12.3px; color: var(--ink-2); }
.hp .cmp-table td.hot { background: #FBFCFF; }
.hp .cmp-table tbody tr:hover td { background: #FAFBFD; }
.hp .cmp-table tbody tr:hover td.hot { background: #F6F9FF; }
.hp .cmp-table td .no { color: var(--ink-4); }
.hp .cmp-table tbody tr:last-child td { border-bottom: 0; }
.hp .cmp-swipe { display: none; }
.hp .cmp-note { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 13px 20px; border-top: 1px solid var(--line-2); font-size: 11.5px; color: var(--ink-4); background: #FCFDFE; }
.hp .cmp-note a { margin-left: auto; color: var(--brand); font-weight: 500; }

/* 评价 */
.hp .rate-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin: -32px 0 30px; font-size: 11.5px; color: var(--ink-3); }
.hp .rate-row .stars { display: inline-flex; gap: 2.5px; color: #EFA53C; }
.hp .rate-row .stars svg { width: 12px; height: 12px; }
.hp .rate-row b { font-family: var(--ff-num); font-size: 13.5px; color: var(--ink); font-weight: 600; }
.hp .rate-row s { width: 1px; height: 11px; background: var(--line); text-decoration: none; margin: 0 3px; }
.hp .rate-row .ok { margin-left: auto; color: #0A7D5D; font-family: var(--ff-num); font-size: 11px; border: 1px solid #CBEADF; background: #F2FBF7; border-radius: 5px; padding: 2px 8px; }
.hp .quotes { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 8px; }
.hp .qt { padding: 26px 28px 26px 0; border-right: 1px solid var(--line-2); position: relative; }
.hp .qt:last-child { border-right: 0; padding-right: 0; }
.hp .qt:nth-child(2), .hp .qt:nth-child(3) { padding-left: 28px; }
.hp .qt p { font-size: 12.8px; line-height: 1.85; color: var(--ink-2); }
.hp .qt p::before { content: "\201C"; display: block; font-family: Georgia, serif; font-size: 30px; color: var(--brand-line); line-height: .6; margin-bottom: 9px; }
.hp .qt .who { display: flex; align-items: center; gap: 9px; margin-top: 18px; }
.hp .qt .av { width: 28px; height: 28px; border-radius: 50%; flex: none; background: var(--brand-soft); color: var(--brand-700); display: grid; place-items: center; font-size: 10.5px; font-weight: 700; }
.hp .qt .who b { font-size: 12px; font-weight: 600; display: block; }
.hp .qt .who span { font-size: 10.5px; color: var(--ink-4); display: block; margin-top: 1px; }

/* FAQ */
.hp .pfaq { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.hp .pfaq-l h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -.025em; }
.hp .pfaq-l p { font-size: 12.5px; color: var(--ink-2); line-height: 1.8; margin-top: 10px; }
.hp .pfaq-l .btn { margin-top: 20px; height: 36px; font-size: 13px; }
.hp .help-links { margin-top: 24px; border-top: 1px solid var(--line-2); }
.hp .help-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 12.3px; color: var(--ink-2); transition: color .16s; }
.hp .help-links a svg { width: 12px; height: 12px; color: var(--ink-4); transition: .18s; }
.hp .help-links a:hover { color: var(--brand); }
.hp .qitem { border-top: 1px solid var(--line-2); }
.hp .qitem:last-child { border-bottom: 1px solid var(--line-2); }
.hp .qbtn { width: 100%; display: flex; align-items: center; gap: 16px; text-align: left; padding: 19px 0; font-size: 14px; font-weight: 500; color: var(--ink); transition: color .18s; background: none; border: 0; cursor: pointer; }
.hp .qbtn:hover { color: var(--brand); }
.hp .qbtn span { flex: 1; }
.hp .qbtn .pm { position: relative; width: 14px; height: 14px; flex: none; }
.hp .qbtn .pm::before, .hp .qbtn .pm::after { content: ""; position: absolute; background: var(--ink-3); border-radius: 1px; transition: transform .3s var(--ease-out), background .2s; }
.hp .qbtn .pm::before { left: 0; right: 0; top: 6.5px; height: 1.4px; }
.hp .qbtn .pm::after { top: 0; bottom: 0; left: 6.3px; width: 1.4px; }
.hp .qitem.open .qbtn { color: var(--brand); }
.hp .qitem.open .qbtn .pm::after { transform: scaleY(0); }
.hp .qitem.open .qbtn .pm::before { background: var(--brand); }
.hp .qans { overflow: hidden; max-height: 0; transition: max-height .42s var(--ease-out), opacity .3s; opacity: 0; }
.hp .qitem.open .qans { opacity: 1; }
.hp .qans p { font-size: 12.8px; line-height: 1.9; color: var(--ink-2); padding: 0 40px 22px 0; max-width: 640px; }

/* 收尾 */
.hp .pend { padding: 88px 0; border-top: 1px solid var(--line); text-align: center; }
.hp .pend h2 { font-size: 34px; font-weight: 600; letter-spacing: -.045em; line-height: 1.2; }
.hp .pend h2 span { color: var(--ink-3); }
.hp .pend p { font-size: 13.5px; color: var(--ink-2); margin-top: 14px; }
.hp .pend-acts { margin-top: 28px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hp .pend-acts .btn { height: 42px; padding: 0 22px; font-size: 14px; border-radius: 8px; }
.hp .pnote { margin-top: 26px; font-size: 11.5px; color: var(--ink-4); display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.hp .pnote i { font-style: normal; display: inline-flex; align-items: center; gap: 4px; }
.hp .pnote svg { width: 12px; height: 12px; }
.hp .pay-row { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: 11.5px; color: var(--ink-4); }
.hp .pay-row i { font-style: normal; font-size: 10.5px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 5px; padding: 3px 9px; background: #fff; }

/* 右侧滚动定位 */
.hp .snav { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); display: grid; gap: 13px; z-index: 45; }
.hp .snav a { width: 7px; height: 7px; border-radius: 50%; background: #D8E0EC; position: relative; transition: background .2s, box-shadow .2s; }
.hp .snav a::after { content: attr(data-label); position: absolute; right: 16px; top: 50%; transform: translate(4px, -50%); font-size: 10.5px; color: var(--ink-3); white-space: nowrap; background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px; opacity: 0; pointer-events: none; transition: .18s; }
.hp .snav a:hover::after { opacity: 1; transform: translate(0, -50%); }
.hp .snav a.on { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }

/* 动效 */
.hp .rv { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.hp .rv.in { opacity: 1; transform: none; }
@keyframes hpSoftUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hp .phero-in > div:first-child > * { animation: hpSoftUp .7s var(--ease-out) both; }
.hp .phero-in > div:first-child > *:nth-child(2) { animation-delay: .06s; }
.hp .phero-in > div:first-child > *:nth-child(3) { animation-delay: .12s; }
.hp .phero-in > div:first-child > *:nth-child(4) { animation-delay: .18s; }
.hp .phero-in > div:first-child > *:nth-child(5) { animation-delay: .24s; }
.hp .pshot { animation: hpSoftUp .9s var(--ease-out) .12s both; }

/* 首页响应式 */
@media (max-width: 1080px) {
  .hp .phero-in { grid-template-columns: 1fr; gap: 46px; }
  .hp .pshot { max-width: 560px; }
  .hp .phead { grid-template-columns: 92px 1fr; }
  .hp .phead p { grid-column: 2; padding-top: 10px; }
  .hp .plans3 { grid-template-columns: 1fr; border-left: 1px solid var(--line); }
  .hp .pcell { border-right: 0; border-bottom: 1px solid var(--line); }
  .hp .flist { column-gap: 40px; }
  .hp .pfaq { grid-template-columns: 1fr; gap: 30px; }
  .hp .hpipe { grid-template-columns: repeat(3, 1fr); gap: 18px 0; }
  .hp .hpipe::before { display: none; }
  .hp .inc { grid-template-columns: repeat(2, 1fr); }
  .hp .quotes { grid-template-columns: 1fr; }
  .hp .qt { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .hp .qt:nth-child(2), .hp .qt:nth-child(3) { padding-left: 0; }
  .hp .qt:last-child { border-bottom: 0; }
  .hp .snav { display: none; }
}
@media (max-width: 820px) {
  .hp .psec { padding: 72px 0; }
  .hp .phead { grid-template-columns: 1fr; gap: 12px; margin-bottom: 38px; }
  .hp .phead::before { display: none; }
  .hp .phead .no { padding-top: 0; }
  .hp .phead h2 { font-size: 25px; }
  .hp .phead p { grid-column: 1; }
  .hp .phead .pcycle { justify-self: start; }
  .hp .flow { grid-template-columns: 1fr 1fr; }
  .hp .fstep { padding-right: 18px; }
  .hp .flist { grid-template-columns: 1fr; }
  .hp .pend h2 { font-size: 26px; }
}
@media (max-width: 560px) {
  .hp .phero { padding: 44px 0 64px; }
  .hp .phero h1 { font-size: 34px; letter-spacing: -.04em; }
  .hp .phero .plede { font-size: 13.5px; }
  .hp .pfacts { grid-template-columns: 1fr 1fr; row-gap: 16px; margin-top: 40px; }
  .hp .pfacts > div:nth-child(2) { border-right: 0; }
  .hp .chips { margin-top: 24px; row-gap: 8px; }
  .hp .chips span { padding: 0 9px; font-size: 10px; }
  .hp .fbody { grid-template-columns: 92px 1fr; }
  .hp .frail { padding: 10px 6px; }
  .hp .frail .it { font-size: 10.5px; padding: 0 6px; }
  .hp .pcell { padding: 26px 20px; }
  .hp .flow { grid-template-columns: 1fr; }
  .hp .fstep { padding: 22px 0 2px; }
  .hp .pend-acts .btn { flex: 1; }
  .hp .pcap { justify-content: flex-start; }
  .hp .inc { grid-template-columns: 1fr; }
  .hp .hpipe { grid-template-columns: 1fr 1fr; padding: 16px; }
  .hp .hpipe .hp-total { position: static; grid-column: 1 / -1; margin-top: 12px; }
  .hp .rate-row { margin: -22px 0 24px; }
  .hp .rate-row .ok { margin-left: 0; }
  .hp .cmp-top { padding: 12px 14px; gap: 10px; flex-wrap: wrap; }
  .hp .cmp-top .mini { display: none; }
  .hp .cmp-swipe { display: block; padding: 9px 14px; font-size: 10.5px; color: var(--ink-4); border-top: 1px solid var(--line-2); background: #FCFDFE; font-family: var(--ff-num); }
  .hp .cmp-box { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .hp .cmp-table { min-width: 620px; }
  .hp .cmp-table thead th:first-child, .hp .cmp-table td:first-child { position: sticky; left: 0; background: #fff; z-index: 3; box-shadow: 1px 0 0 var(--line-2); }
  .hp .pay-row { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hp .rv { opacity: 1 !important; transform: none !important; }
  .hp .phero h1 u::after { animation: none; }
  .hp .phero-in > div:first-child > *, .hp .pshot { animation: none !important; }
}

/* ==========================================================================
   Mobile refinement · 移动端补强(≤560px 为主)
   ========================================================================== */
@media (max-width: 560px) {
  /* 顶栏:标题不换行,右侧只留必要元素 */
  .topbar { gap: 8px; padding: 0 12px; height: 52px; }
  .topbar-title {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 38vw; font-size: 13.5px;
  }
  .topbar-right { gap: 6px; }
  .topbar-user > span:not(.avatar) { display: none; }
  .topbar-user .badge { display: none; }
  .topbar-right .btn-sm { padding: 0 10px; height: 32px; font-size: 12.3px; }
  .topbar-right .btn-sm svg { width: 14px; height: 14px; }

  /* 页头 */
  .page-head h1, .page-headshop h1 { font-size: 20px; }
  .page-head, .page-headshop { gap: 10px; }
  .page-headshop .aside { font-size: 11.5px; }

  /* 卡片与统计 */
  .card-body { padding: 14px; }
  .card-head { padding: 13px 14px; }
  .stat b { font-size: 22px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .grid-3, .grid-2 { gap: 10px; }
  .bcard-h { padding: 12px 14px; }
  .bcard-h .r { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* 表格:小字号 + 顺畅横滚 */
  .table-wrap {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .table { font-size: 12px; min-width: 480px; }
  .table th { font-size: 11px; white-space: nowrap; }
  .table td { padding: 9px 10px; }

  /* 表单 */
  .input, .select, textarea.input { font-size: 15px; } /* 防 iOS 聚焦自动放大 */
  .form-grid, .form-grid-3 { gap: 10px; }
  .btn-block { width: 100%; }

  /* 支付方式与步骤 */
  .pay-method { padding: 11px 12px; }
  .pay-method .m { display: none; }
  .timer { font-size: 11.5px; padding: 9px 12px; }

  /* 选项卡 */
  .tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; flex-wrap: nowrap; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }

  /* 弹层 */
  .modal-mask { padding: 14px; }
  .modal { max-height: 82vh; overflow-y: auto; }

  /* 长链接/密钥等 mono 内容 */
  .alert, .mono { word-break: break-all; }

  /* 站点导航抽屉内按钮撑满 */
  .site-nav .btn { width: 100%; justify-content: center; }
  .site-actions .btn span:not(.cart-num) { display: inline; }
}

/* 超窄屏(≤400px)再收一层 */
@media (max-width: 400px) {
  .grid-4 { grid-template-columns: minmax(0,1fr); }
  .hero-metrics { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
  .topbar-right .btn-sm:not(.menu-toggle):not(:last-child) { display: none; }
}

/* ==========================================================================
   Auth redesign · 登录/注册/找回页(动效 + 插画)
   ========================================================================== */

/* 氛围:极光色块 */
.auth-aurora {
  position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0;
  mix-blend-mode: screen; opacity: .75;
}
.auth-aurora.a1 { width: 420px; height: 420px; left: -110px; top: -90px; background: radial-gradient(circle, rgba(77,121,255,.55), transparent 65%); animation: authDrift 14s ease-in-out infinite; }
.auth-aurora.a2 { width: 380px; height: 380px; right: -120px; top: 22%; background: radial-gradient(circle, rgba(0,201,167,.42), transparent 65%); animation: authDrift 18s ease-in-out -5s infinite reverse; }
.auth-aurora.a3 { width: 460px; height: 460px; left: 24%; bottom: -180px; background: radial-gradient(circle, rgba(124,77,255,.45), transparent 65%); animation: authDrift 21s ease-in-out -9s infinite; }
@keyframes authDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33%      { transform: translate3d(36px, 26px, 0) scale(1.12); }
  66%      { transform: translate3d(-28px, 40px, 0) scale(.94); }
}

/* 星点闪烁 */
.auth-stars { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.auth-stars i {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: #fff; opacity: .16; animation: authTwinkle 4.4s ease-in-out infinite;
}
.auth-stars i:nth-child(1)  { left: 8%;  top: 12%; animation-delay: 0s; }
.auth-stars i:nth-child(2)  { left: 20%; top: 28%; width: 2px; height: 2px; animation-delay: 1.1s; }
.auth-stars i:nth-child(3)  { left: 33%; top: 8%;  animation-delay: 2.2s; }
.auth-stars i:nth-child(4)  { left: 46%; top: 34%; width: 2px; height: 2px; animation-delay: .6s; }
.auth-stars i:nth-child(5)  { left: 58%; top: 15%; animation-delay: 1.7s; }
.auth-stars i:nth-child(6)  { left: 71%; top: 26%; width: 2px; height: 2px; animation-delay: 2.9s; }
.auth-stars i:nth-child(7)  { left: 84%; top: 9%;  animation-delay: .3s; }
.auth-stars i:nth-child(8)  { left: 91%; top: 40%; animation-delay: 1.4s; }
.auth-stars i:nth-child(9)  { left: 14%; top: 56%; width: 2px; height: 2px; animation-delay: 2.4s; }
.auth-stars i:nth-child(10) { left: 64%; top: 52%; animation-delay: .9s; }
.auth-stars i:nth-child(11) { left: 40%; top: 62%; width: 2px; height: 2px; animation-delay: 3.2s; }
.auth-stars i:nth-child(12) { left: 88%; top: 66%; animation-delay: 1.9s; }
@keyframes authTwinkle {
  0%, 100% { opacity: .12; transform: scale(1); }
  50%      { opacity: .85; transform: scale(1.5); }
}

/* 底部光带 */
.auth-grid {
  position: absolute; left: 0; right: 0; bottom: 0; height: 130px; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 120% at 50% 115%, rgba(120,160,255,.35), transparent 70%);
}

/* 文案入场(逐项上浮) */
.auth-side-inner > * { animation: authFadeUp .7s var(--ease-out, cubic-bezier(.22,1,.36,1)) both; }
.auth-side-inner > .brand          { animation-delay: .05s; }
.auth-side-inner > h2              { animation-delay: .14s; }
.auth-side-inner > p.lead          { animation-delay: .22s; }
.auth-point  { animation: authFadeUp .6s var(--ease-out, cubic-bezier(.22,1,.36,1)) both; }
.auth-point:nth-child(1) { animation-delay: .30s; }
.auth-point:nth-child(2) { animation-delay: .40s; }
.auth-point:nth-child(3) { animation-delay: .50s; }
.auth-point:nth-child(4) { animation-delay: .60s; }
.auth-side-foot { animation: authFadeUp .8s .7s both; }
@keyframes authFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.auth-side h2 em { background-size: 200% 100%; animation: authSheen 6s ease-in-out infinite; }
@keyframes authSheen {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* 插画:服务器机柜 + 漂浮状态卡 + 轨道环 */
.auth-art { position: absolute; right: 26px; bottom: 60px; width: 300px; height: 300px; z-index: 1; pointer-events: none; }
.aa-orbit {
  position: absolute; left: 50%; top: 50%; width: 268px; height: 268px; margin: -134px 0 0 -134px;
  border: 1.5px dashed rgba(143,180,255,.4); border-radius: 50%;
  animation: authSpin 26s linear infinite;
}
.aa-orbit::before {
  content: ""; position: absolute; left: 50%; top: -5px; width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 50%; background: #8FB4FF; box-shadow: 0 0 14px 3px rgba(143,180,255,.7);
}
@keyframes authSpin { to { transform: rotate(360deg); } }
.aa-server { position: absolute; left: 50%; top: 50%; width: 128px; height: 141px; margin: -78px 0 0 -64px; filter: drop-shadow(0 16px 30px rgba(10,20,40,.4)); }
.aa-server .aa-bob { animation: authFloat 5.4s ease-in-out infinite; transform-origin: center; }
.aa-card {
  position: absolute; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 10px; font-size: 11.5px; font-weight: 600; color: #fff;
  background: rgba(16,28,52,.6); border: 1px solid rgba(143,180,255,.4);
  backdrop-filter: blur(6px); box-shadow: 0 10px 24px rgba(10,20,40,.35);
  white-space: nowrap; animation: authFloat 5.4s ease-in-out infinite;
}
.aa-card svg { width: 13px; height: 13px; color: #9CC0FF; }
.aa-card b { font-family: var(--ff-num); font-weight: 700; }
.aa-card .dot { width: 7px; height: 7px; border-radius: 50%; }
.aa-card .dot.ok { background: #5EE6A8; box-shadow: 0 0 8px 2px rgba(94,230,168,.55); }
.aa-card.c1 { left: -6px;  top: 34px;  animation-delay: -1.2s; }
.aa-card.c2 { right: -4px; top: 92px;  animation-delay: -2.6s; }
.aa-card.c3 { left: 2px;   bottom: 84px; animation-delay: -3.8s; }
.aa-card.c4 { right: 6px;  bottom: 22px; animation-delay: -.6s; }
@keyframes authFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}

/* 右侧表单:入场 + 交互反馈 */
.auth-box { animation: authBoxIn .65s var(--ease-out, cubic-bezier(.22,1,.36,1)) .12s both; }
@keyframes authBoxIn {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.auth-box .field { animation: authFadeUp .5s var(--ease-out, cubic-bezier(.22,1,.36,1)) both; }
.auth-box .field:nth-of-type(1) { animation-delay: .25s; }
.auth-box .field:nth-of-type(2) { animation-delay: .32s; }
.auth-box .field:nth-of-type(3) { animation-delay: .39s; }
.auth-box .field:nth-of-type(4) { animation-delay: .46s; }
.auth-box .input {
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.auth-box .input:focus {
  border-color: var(--brand, #1D5BFF);
  box-shadow: 0 0 0 3.5px rgba(29,91,255,.14);
  background: #FDFDFF;
}
.auth-box .btn-primary {
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
  box-shadow: 0 6px 16px rgba(29,91,255,.28);
}
.auth-box .btn-primary:hover { transform: translateY(-1.5px); box-shadow: 0 10px 22px rgba(29,91,255,.36); filter: brightness(1.04); }
.auth-box .btn-primary:active { transform: translateY(0); box-shadow: 0 4px 10px rgba(29,91,255,.3); }
.auth-switch a { transition: color .18s ease, background .18s ease; }
.captcha-img { animation: authFadeUp .5s .4s both; }
.pw-toggle { transition: color .16s ease; }
.pw-toggle:hover { color: var(--brand, #1D5BFF); }

/* 移动端(≤980px):品牌渐变头 + 白色圆角表单浮层 */
@media (max-width: 980px) {
  .auth-wrap { grid-template-columns: 1fr; }
  /* 覆盖旧版整块隐藏:改为紧凑品牌头 */
  .auth-side {
    display: flex; padding: 20px 20px 62px; min-height: 0;
  }
  .auth-side-inner { max-width: none; margin: 0; }
  .auth-side h2 { display: block; font-size: 17px; line-height: 1.45; margin: 14px 0 0; letter-spacing: -.02em; }
  .auth-side h2 br { display: none; }
  .auth-side p.lead, .auth-points, .auth-art, .auth-side-foot { display: none; }
  .auth-side-inner > .brand { margin-bottom: 0; animation-delay: 0s; }
  .auth-main {
    position: relative; margin-top: -40px; padding: 30px 22px 48px;
    border-radius: 22px 22px 0 0; background: #fff;
    box-shadow: 0 -16px 42px rgba(9,17,34,.22);
  }
  .auth-box { max-width: 430px; margin: 0 auto; }
  .auth-box h1 { font-size: 21px; }
  .auth-aurora { filter: blur(46px); opacity: .6; }
  .auth-stars i:nth-child(n+7) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-aurora, .auth-stars i, .aa-orbit, .aa-server .aa-bob, .aa-card,
  .auth-side-inner > *, .auth-point, .auth-box, .auth-box .field, .auth-side h2 em { animation: none !important; }
  .auth-side-inner > *, .auth-point, .auth-box, .auth-box .field { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Auth palette · 认证页配色(靛紫深空,替代默认蓝)
   ========================================================================== */
.auth-wrap {
  --brand: #4C4EE8;
  --brand-700: #3F41CF;
  --grad-hero: linear-gradient(160deg, #0F1638 0%, #181F55 46%, #33247E 100%);
  --grad-text: linear-gradient(92deg, #8F7BFF 0%, #4DD6C1 100%);
}
.auth-side { background: var(--grad-hero); }
.auth-side h2 em { background-image: var(--grad-text); }
.auth-box .btn-primary {
  background: linear-gradient(135deg, #5454F1 0%, #7C3AED 100%);
  box-shadow: 0 8px 20px rgba(84,84,241,.32);
}
.auth-box .btn-primary:hover { box-shadow: 0 12px 26px rgba(84,84,241,.4); }
.auth-box .input:focus { border-color: #5454F1; box-shadow: 0 0 0 3.5px rgba(99,91,241,.16); }
.auth-aurora.a1 { background: radial-gradient(circle, rgba(91,84,255,.52), transparent 65%); }
.auth-aurora.a2 { background: radial-gradient(circle, rgba(64,201,180,.42), transparent 65%); }
.auth-aurora.a3 { background: radial-gradient(circle, rgba(139,84,255,.5), transparent 65%); }
.aa-orbit { border-color: rgba(154,140,255,.42); }
.aa-orbit::before { background: #A79BFF; box-shadow: 0 0 14px 3px rgba(154,140,255,.7); }
.aa-card { border-color: rgba(154,140,255,.42); }
.auth-switch a.on { color: var(--brand-700, #3F41CF); }
.auth-foot a { color: #5454F1; }

/* ==========================================================================
   Global micro-interactions · 全站交互微效果
   ========================================================================== */
.page, .pwrap { animation: pageIn .38s ease both; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: translateY(0); }
}
.card, .bcard, .sum {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-1.5px); box-shadow: 0 8px 22px rgba(13,21,38,.07); }
.btn { transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn-primary { box-shadow: 0 4px 12px rgba(29,91,255,.22); }
.btn-primary:hover { box-shadow: 0 8px 18px rgba(29,91,255,.3); }
.nav-item { transition: background .16s ease, color .16s ease; }
.nav-item svg { transition: transform .18s var(--ease-out, ease); }
.nav-item:hover svg { transform: translateX(2px) scale(1.06); }
.table tbody tr { transition: background .14s ease; }
.table tbody tr:hover { background: #F7FAFE; }
.table tbody tr:hover td:first-child { box-shadow: inset 2.5px 0 0 var(--brand, #1D5BFF); }
.pay-method, .prod { transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.pay-method:hover, .prod:hover { transform: translateY(-1px); border-color: #C6D4E8; }
.stat { transition: transform .18s ease, box-shadow .18s ease; }
.stat:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(13,21,38,.08); }
.tab { transition: color .16s ease, background .16s ease; }
.alert { animation: alertIn .32s var(--ease-out, ease) both; }
@keyframes alertIn {
  from { opacity: 0; transform: translateY(-7px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal { animation: modalIn .22s var(--ease-out, ease) both; }
@keyframes modalIn {
  from { opacity: 0; transform: scale(.96) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.input:focus, .select:focus, textarea:focus { transition: border-color .16s ease, box-shadow .16s ease; }

/* 产品配置页:周期选择弹跳 + 价格滚动强调 */
.pick label { transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.pick label:hover { transform: translateY(-1.5px); }
.pick label.on { animation: pickPop .26s var(--ease-out, ease); }
@keyframes pickPop { 45% { transform: scale(1.045); } }
.sum-b b { display: inline-block; }
.bump { animation: priceBump .32s ease; }
@keyframes priceBump {
  35% { transform: scale(1.14); color: var(--brand, #1D5BFF); }
}
/* 加入购物车飞入动画 */
.fly-dot {
  position: fixed; z-index: 999; width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand, #1D5BFF); box-shadow: 0 4px 14px rgba(29,91,255,.5);
  pointer-events: none; transition: transform .62s cubic-bezier(.3,.1,.3,1), opacity .62s ease;
}
.cart-pop { animation: cartPop .45s var(--ease-out, ease); }
@keyframes cartPop { 40% { transform: scale(1.35); } }

@media (prefers-reduced-motion: reduce) {
  .page, .pwrap, .alert, .modal, .pick label.on, .bump, .cart-pop { animation: none !important; }
  .card:hover, .btn:hover, .stat:hover, .pay-method:hover, .prod:hover { transform: none; }
}

/* ==========================================================================
   Auth light theme · 认证页白色系换肤(动效/插图保留,仅配色切换)
   ========================================================================== */
.auth-wrap {
  --brand: #4C4EE8;
  --grad-hero: linear-gradient(165deg, #FBFCFF 0%, #F2F5FF 55%, #EEF0FF 100%);
}
.auth-side {
  color: var(--ink, #0D1526);
  background: var(--grad-hero);
}
/* 网格线改淡靛色 */
.auth-wrap .auth-side::before {
  background-image: linear-gradient(rgba(76,78,232,.055) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(76,78,232,.055) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(circle at 30% 20%, #000, transparent 78%);
  mask-image: radial-gradient(circle at 30% 20%, #000, transparent 78%);
}
/* 极光改为柔和粉彩(去掉 screen 混合,白底上呈现淡彩晕染) */
.auth-aurora { mix-blend-mode: normal; opacity: .5; filter: blur(64px); }
.auth-aurora.a1 { background: radial-gradient(circle, rgba(93,96,255,.34), transparent 65%); }
.auth-aurora.a2 { background: radial-gradient(circle, rgba(38,208,180,.28), transparent 65%); }
.auth-aurora.a3 { background: radial-gradient(circle, rgba(150,95,255,.32), transparent 65%); }
/* 星点改为淡靛小点 */
.auth-stars i { background: #4C4EE8; opacity: .18; }
.auth-stars i { animation-name: authTwinkleLight; }
@keyframes authTwinkleLight {
  0%, 100% { opacity: .08; transform: scale(1); }
  50%      { opacity: .5;  transform: scale(1.45); }
}
/* 底部光带改淡 */
.auth-grid { background: radial-gradient(60% 120% at 50% 115%, rgba(93,96,255,.14), transparent 70%); }
/* 文案与卖点配色 */
.auth-side h2 { color: var(--ink, #0D1526); }
.auth-side h2 em { background-image: linear-gradient(92deg, #4C4EE8 0%, #26B9A2 100%); }
.auth-side p.lead { color: #5A6478; }
.auth-point .ai {
  background: rgba(76,78,232,.09); color: #4C4EE8;
  border: 1px solid rgba(76,78,232,.16);
}
.auth-point b { color: var(--ink, #0D1526); }
.auth-point span.d { color: #7A8499; }
.auth-side-foot { color: #A2ABC0; }
/* 插画:白色玻璃卡 + 淡靛轨道 */
.auth-art .aa-orbit { border-color: rgba(76,78,232,.28); }
.auth-art .aa-orbit::before { background: #6C6EF2; box-shadow: 0 0 12px 3px rgba(108,110,242,.45); }
.aa-card {
  color: var(--ink, #0D1526);
  background: rgba(255,255,255,.88);
  border-color: rgba(76,78,232,.18);
  box-shadow: 0 10px 26px rgba(35,48,94,.12);
  backdrop-filter: blur(8px);
}
.aa-card svg { color: #4C4EE8; }
.aa-card .dot.ok { background: #22C58B; box-shadow: 0 0 8px 2px rgba(34,197,139,.4); }
.aa-server { filter: drop-shadow(0 18px 28px rgba(53,66,120,.18)); }
/* 表单侧 */
.auth-main { background: #fff; }
.auth-box .btn-primary {
  background: linear-gradient(135deg, #5454F1 0%, #7C3AED 100%);
  box-shadow: 0 8px 20px rgba(84,84,241,.3);
}
/* 移动端头部(≤980px):淡彩渐变 + 白色浮层不变 */
@media (max-width: 980px) {
  .auth-side { color: var(--ink, #0D1526); }
}

/* ==========================================================================
   Checkout QR · 收银台页内二维码面板
   ========================================================================== */
.qr-panel {
  margin-top: 12px; border: 1px solid var(--line); border-radius: 12px;
  background: #FAFBFE; overflow: hidden;
}
.qr-panel.open { animation: qrIn .3s var(--ease-out, ease) both; }
@keyframes qrIn {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.qr-head {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  border-bottom: 1px solid var(--line-2); background: #fff;
}
.qr-head > div { min-width: 0; flex: 1; }
.qr-head b { display: block; font-size: 13px; }
.qr-ico {
  width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; background: var(--brand, #1D5BFF); flex: none;
}
.qr-ico.pm-wechat { background: #07C160; }
.qr-ico.pm-alipay { background: #1677FF; }
.qr-body { padding: 18px 14px 16px; text-align: center; }
.qr-box {
  width: 180px; height: 180px; margin: 0 auto; padding: 10px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.qr-box img { width: 100%; height: 100%; }
.qr-loading { display: flex; gap: 7px; align-items: center; justify-content: center; height: 100%; }
.qr-loading i {
  width: 9px; height: 9px; border-radius: 50%; background: var(--brand, #1D5BFF);
  opacity: .35; animation: qrDot 1s ease-in-out infinite;
}
.qr-loading i:nth-child(2) { animation-delay: .15s; }
.qr-loading i:nth-child(3) { animation-delay: .3s; }
@keyframes qrDot {
  0%, 100% { transform: translateY(0); opacity: .3; }
  50%      { transform: translateY(-7px); opacity: 1; }
}
.qr-status {
  margin-top: 13px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--ink-2); font-weight: 600;
}
.qr-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #F5A623; position: relative;
}
.qr-pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(245,166,35,.4); animation: qrPulse 1.6s ease-out infinite;
}
.qr-pulse.ok { background: #22C58B; }
.qr-pulse.ok::after { border-color: rgba(34,197,139,.4); }
@keyframes qrPulse {
  from { transform: scale(.6); opacity: 1; }
  to   { transform: scale(1.7); opacity: 0; }
}
.pay-method { cursor: pointer; }
.pay-method.sel {
  border-color: var(--brand, #1D5BFF); background: var(--brand-softer, #F0F4FF);
  box-shadow: inset 0 0 0 1px var(--brand, #1D5BFF);
}
@media (prefers-reduced-motion: reduce) {
  .qr-panel.open, .qr-loading i, .qr-pulse::after { animation: none !important; }
}

/* ==========================================================================
   Auth extras · 认证页进阶特效
   ========================================================================== */
/* 表单区装饰浮层 */
.auth-main { position: relative; overflow: hidden; }
.auth-deco {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
}
.auth-deco.d1 {
  width: 260px; height: 260px; right: -70px; top: -80px;
  background: radial-gradient(circle, rgba(93,96,255,.14), transparent 66%);
  animation: decoFloat 11s ease-in-out infinite;
}
.auth-deco.d2 {
  width: 200px; height: 200px; left: -60px; bottom: -60px;
  background: radial-gradient(circle, rgba(38,185,162,.16), transparent 66%);
  animation: decoFloat 14s ease-in-out -4s infinite reverse;
}
.auth-deco.ring {
  width: 120px; height: 120px; right: 12%; bottom: 14%;
  border: 1.5px dashed rgba(76,78,232,.22); border-radius: 50%;
  animation: authSpin 30s linear infinite;
}
.auth-deco.ring::before {
  content: ""; position: absolute; left: 50%; top: -4px; width: 7px; height: 7px; margin-left: -3.5px;
  border-radius: 50%; background: #6C6EF2; box-shadow: 0 0 10px 2px rgba(108,110,242,.5);
}
@keyframes decoFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-16px, 18px) scale(1.08); }
}
.auth-box { position: relative; z-index: 1; }

/* 聚焦渐变描边 */
.auth-box .input:focus {
  border-color: transparent;
  box-shadow: 0 0 0 1.6px #fff inset, 0 0 0 3.5px rgba(84,84,241,.22);
  animation: focusGlow 2.4s linear infinite;
}
@keyframes focusGlow {
  0%, 100% { box-shadow: 0 0 0 1.6px #fff inset, 0 0 0 3.5px rgba(84,84,241,.20); }
  50%      { box-shadow: 0 0 0 1.6px #fff inset, 0 0 0 3.5px rgba(124,58,237,.26); }
}

/* 主按钮流光扫过 */
.auth-box .btn-primary { position: relative; overflow: hidden; }
.auth-box .btn-primary::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.34), transparent);
  transform: skewX(-18deg); animation: btnSheen 3.4s ease-in-out infinite;
}
@keyframes btnSheen {
  0%, 55%  { left: -80%; }
  80%, 100% { left: 130%; }
}

/* 卖点行 hover */
.auth-point { transition: transform .18s ease; padding: 4px 6px; margin: -4px -6px; border-radius: 9px; }
.auth-point:hover { transform: translateX(4px); background: rgba(76,78,232,.05); }
.auth-point:hover .ai { transform: scale(1.1) rotate(-4deg); }
.auth-point .ai { transition: transform .2s var(--ease-out, ease); }

/* 信任行 */
.auth-trust {
  display: flex; align-items: center; gap: 10px; margin: -6px 0 20px;
  padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 10px;
  background: #FAFBFF; animation: authFadeUp .55s .5s both;
}
.at-avatars { display: inline-flex; align-items: center; }
.at-avatars i, .at-avatars b {
  width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #5454F1; color: #fff; font-size: 10px; font-weight: 700; font-style: normal;
  margin-right: -7px; border: 2px solid #fff;
}
.at-avatars b { background: #EEF0FF; color: #4C4EE8; font-family: var(--ff-num); }
.at-txt { font-size: 11.8px; color: #6B768C; }
.at-txt b { color: #26B9A2; font-family: var(--ff-num); }

/* 星点微调(白色主题下更轻) */
.auth-stars i { opacity: .12; }

@media (prefers-reduced-motion: reduce) {
  .auth-deco, .auth-box .btn-primary::after, .auth-box .input:focus { animation: none !important; }
  .auth-box { transform: none !important; }
}
