/* ============================================================
   小苹果工作室 · 暗色工业风（SpaceX 式）
   - 底色：接近纯黑 #050506，几乎不用彩色铺底
   - 主色：高对比白字 + 细白线，蓝色只出现在按钮与极少数强调
   - 排印：大字号、紧字距、全大写小标签、长留白
   - 动效：只做滚动/交互反馈，不做满屏淡入
   ============================================================ */

:root {
  --bg: #050506;
  --bg-2: #08090b;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.2);

  --text: #f2f3f5;
  --text-2: #c9ced6;
  --muted: #8b93a1;
  --faint: #5d6472;

  /* 深蓝：仅用于按钮 / 强调，不做主色 */
  --blue: #16376b;
  --blue-hi: #1f4a8c;
  --blue-line: rgba(88, 138, 214, 0.45);
  --blue-soft: rgba(31, 74, 140, 0.16);

  --warn: #d8a24a;
  --ok: #4fbf8b;
  --bad: #e4677f;

  --r-xl: 8px;
  --r-lg: 6px;
  --r-md: 4px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Text",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: inherit; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  z-index: 999;
}
.skip:focus { left: 0; }

/* ============ 背景微光：只在边缘，极低强度 ============ */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 50% 118%, rgba(30, 62, 116, 0.18) 0%, transparent 62%),
    radial-gradient(900px 500px at 92% -10%, rgba(28, 48, 92, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, #050506 0%, #060709 46%, #050608 100%);
}
.aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.14;
}
.aurora span:nth-child(1) {
  width: 40vw; height: 40vw; min-width: 260px; min-height: 260px;
  left: -12vw; top: -10vw;
  background: radial-gradient(circle, #35507e, transparent 70%);
  animation: drift1 40s ease-in-out infinite alternate;
}
.aurora span:nth-child(2) {
  width: 34vw; height: 34vw; min-width: 220px; min-height: 220px;
  right: -10vw; top: 20vh;
  background: radial-gradient(circle, #2b3a52, transparent 72%);
  animation: drift2 48s ease-in-out infinite alternate;
}
.aurora span:nth-child(3) { display: none; }
@keyframes drift1 { to { transform: translate3d(4vw, 4vh, 0); } }
@keyframes drift2 { to { transform: translate3d(-4vw, 6vh, 0); } }

/* ============ 骨架 ============ */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 900px) {
  .wrap { padding: 0 32px; }
}

/* ============ 顶栏 ============ */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(5, 5, 6, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.head-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
@media (min-width: 900px) {
  .head-inner { padding: 0 32px; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand-mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.03);
}
.brand-mark svg { width: 20px; height: 20px; display: block; }
.brand-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* 搜索：细线方框，不做胶囊 */
.search {
  order: 3;
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 10px;
  min-width: 0;
}
.search svg { flex: 0 0 auto; fill: var(--faint); }
.search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  padding: 7px 0;
  border-radius: 0;
}
.search input::placeholder { color: var(--faint); letter-spacing: 0.02em; }
.search input:focus { outline: none; border-bottom-color: #fff; }
.search-go {
  flex: 0 0 auto;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.search-go:hover { background: #fff; color: #000; border-color: #fff; }

.head-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-wrap: wrap;
  padding-bottom: 6px;
}
.head-nav a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 10px;
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.18s, background 0.18s;
}
.head-nav a:hover { color: #fff; }
.head-nav a.on { color: #fff; }
.head-nav a.on::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 4px;
  height: 1px;
  background: var(--blue-hi);
}
.head-nav a.quiet { color: var(--faint); }
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  margin-left: 5px;
  border-radius: 2px;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  vertical-align: 1px;
}
.admin-link { color: var(--blue-line) !important; }

@media (min-width: 860px) {
  .head-inner { flex-wrap: nowrap; gap: 26px; }
  .search { order: 2; flex: 1 1 auto; max-width: 420px; padding: 0; }
  .head-nav { padding-bottom: 0; gap: 4px; }
}

/* ============================================================
   首页：整屏 hero
   ============================================================ */
.hero-full {
  position: relative;
  min-height: calc(100vh - 62px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-full .hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: 50% 58%;
  opacity: 1;
  transform: scale(1.02);
}
.hero-full .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.9) 0%, rgba(5, 5, 6, 0.1) 34%, rgba(5, 5, 6, 0.62) 72%, rgba(5, 5, 6, 0.98) 96%),
    linear-gradient(90deg, rgba(5, 5, 6, 0.92) 0%, rgba(5, 5, 6, 0.28) 58%, transparent 100%);
}
.hero-full .hero-in {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 56px;
}
@media (min-width: 900px) {
  .hero-full .hero-in { padding: 0 32px 76px; }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 20px;
}
.kicker i {
  width: 28px; height: 1px;
  background: var(--blue-hi);
  display: block;
}

.display {
  margin: 0 0 18px;
  font-size: clamp(38px, 10vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 760;
}
.display .dim {
  display: block;
  margin-top: 0.16em;
  font-size: 0.46em;
  line-height: 1.28;
  color: #6d7585;
  font-weight: 480;
  letter-spacing: -0.015em;
}
.hero-lead {
  max-width: 620px;
  margin: 0 0 30px;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--muted);
}
.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.scroll-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.scroll-hint b {
  display: block;
  width: 1px; height: 34px;
  background: linear-gradient(180deg, var(--line-2), transparent);
  animation: hintDrop 2.4s ease-in-out infinite;
}
@keyframes hintDrop {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* ============ 通用区块 ============ */
.band {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
  .band { padding: 104px 0; }
}
.band-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.band-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.band-label s {
  font-variant-numeric: tabular-nums;
  color: var(--faint);
  text-decoration: none;
}
.band h2 {
  margin: 0;
  font-size: clamp(26px, 5.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 740;
}
.band p.body {
  max-width: 58ch;
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

/* 陈述段：大字 */
.statement {
  font-size: clamp(24px, 4.6vw, 40px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 650;
  max-width: 24em;
  margin: 0;
}
.statement em {
  font-style: normal;
  color: var(--faint);
}
.statement .hl {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(88, 138, 214, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

/* 编号信息行 */
.rows { border-top: 1px solid var(--line); }
.row-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.row-item:hover { background: var(--surface); }
.row-item .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  padding-top: 3px;
  letter-spacing: 0.04em;
}
.row-item h3 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.01em;
  font-weight: 680;
}
.row-item p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}
.row-item .meta {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
@media (min-width: 760px) {
  .row-item {
    grid-template-columns: 72px 1fr 110px;
    align-items: start;
    padding: 28px 0;
  }
  .row-item .n { padding-top: 6px; font-size: 11.5px; color: var(--text-2); }
  .row-item .arrow { padding-top: 6px; text-align: right; }
  .row-item .arrow {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
  }
}

/* ============ 小苹果 AI ============ */
.ai-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}
@media (min-width: 980px) {
  .ai-grid { grid-template-columns: 0.86fr 1.14fr; gap: 44px; }
}
.ai-panel {
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  display: flex;
  flex-direction: column;
  min-height: 460px;
}
.ai-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.ai-status { display: inline-flex; align-items: center; gap: 7px; }
.ai-status i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 2px rgba(79, 191, 139, 0.14);
}
.ai-log {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 380px;
  min-height: 240px;
  scrollbar-width: thin;
}
.ai-msg { max-width: 92%; font-size: 14px; line-height: 1.75; }
.ai-msg .who {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}
.ai-msg .bubble { color: var(--text-2); white-space: pre-wrap; word-break: break-word; }
.ai-msg.me { align-self: flex-end; text-align: right; }
.ai-msg.me .bubble {
  display: inline-block;
  text-align: left;
  background: var(--blue);
  border: 1px solid var(--blue-hi);
  color: #fff;
  padding: 10px 13px;
  border-radius: 2px;
}
.ai-msg.bot .bubble {
  padding-left: 12px;
  border-left: 1px solid var(--line-2);
}
.ai-form {
  border-top: 1px solid var(--line);
  padding: 12px 16px 16px;
}
.ai-form textarea {
  width: 100%;
  min-height: 60px;
  max-height: 140px;
  resize: none;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 1.7;
  padding: 11px 12px;
  border-radius: 2px;
}
.ai-form textarea:focus { outline: none; border-color: var(--blue-line); }
.ai-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}
.ai-note { font-size: 11px; color: var(--faint); line-height: 1.6; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  padding: 7px 11px;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.chip:hover { color: #fff; border-color: var(--line-2); background: var(--surface); }
.ai-hint {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 40ch;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  min-height: 46px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s, border-color 0.18s, color 0.18s, opacity 0.18s;
}
.btn-primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue-hi);
}
.btn-primary:hover { background: var(--blue-hi); }
.btn-primary:active { transform: translateY(1px); }
.btn-glass {
  color: var(--text-2);
  background: transparent;
  border-color: var(--line-2);
}
.btn-glass:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.04); }
.btn-danger {
  color: var(--bad);
  background: transparent;
  border-color: rgba(228, 103, 127, 0.4);
}
.btn-danger:hover { background: rgba(228, 103, 127, 0.1); }
.btn-sm { padding: 8px 14px; min-height: 34px; font-size: 11px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ============ 页脚 ============ */
.site-foot {
  padding: 56px 0 44px;
  background: #030304;
  border-top: 1px solid var(--line);
}
.foot-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.foot-inner strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.foot-inner p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--faint);
  max-width: 46ch;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.foot-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s;
}
.foot-links a:hover { color: #fff; }
.copy {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--faint);
}
@media (min-width: 820px) {
  .foot-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .foot-links { justify-content: flex-end; }
}

/* 焦点可见 */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue-line);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .rise.d1 { animation-delay: 0.1s; }
  .rise.d2 { animation-delay: 0.2s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   内页组件：表单 / 卡片 / 详情 / 购物车 / 订单 / 账户 / 后台
   ============================================================ */

/* 通用面板：细线方框，不用玻璃 */
.panel {
  padding: 26px 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border-radius: var(--r-lg);
}
.panel h2 {
  margin: 0 0 16px;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text);
}
.panel h3 { margin: 18px 0 8px; font-size: 16px; letter-spacing: -0.01em; }

/* 表单 */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field .hint { font-size: 12px; color: var(--faint); margin-top: 6px; line-height: 1.6; }
input[type=text], input[type=email], input[type=password], input[type=tel],
input[type=number], input[type=search], input[type=url], input[type=file],
textarea, select {
  width: 100%;
  padding: 11px 12px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  border-radius: 2px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.42);
  transition: border-color 0.18s, background 0.18s;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.75; }
select { appearance: none; background-image: none; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--blue-line);
  background: rgba(0, 0, 0, 0.6);
}
.form-row { display: grid; gap: 0; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; gap: 0 16px; } }

/* 提示条 */
.alert {
  border-radius: 2px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 14px;
  border: 1px solid;
  border-left-width: 2px;
}
.alert.ok { background: rgba(79, 191, 139, 0.08); border-color: rgba(79, 191, 139, 0.34); color: #9fe2c1; }
.alert.err { background: rgba(228, 103, 127, 0.08); border-color: rgba(228, 103, 127, 0.36); color: #f2a5b4; }

/* 空态 */
.empty {
  text-align: center;
  padding: 56px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.015);
}
.empty .glyph {
  width: 44px; height: 44px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 2px;
}
.empty .glyph svg { fill: var(--faint); }
.empty strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.empty p {
  margin: 0 auto 22px;
  max-width: 34ch;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
}

/* Toast：右下滑入 */
.toast-wrap {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  max-width: min(78vw, 320px);
  padding: 12px 16px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--text);
  background: #0d0f13;
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--blue-hi);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.9);
  transform: translateX(130%);
  transition: transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s;
  opacity: 0;
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast.err { border-left-color: var(--bad); }
.toast.ok { border-left-color: var(--ok); }

/* 面包屑 */
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: #fff; }
.crumb .sep { opacity: 0.4; }

/* 商品详情 */
.detail { display: grid; gap: 20px; margin: 16px 0 10px; }
.detail-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, #0b0d11, #0f1217 55%, #0a0c10);
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-media .glyph {
  font-size: clamp(38px, 9vw, 56px);
  font-weight: 760;
  letter-spacing: -0.05em;
  color: #2b3240;
}
.detail-info h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 6vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 750;
}
.detail-info .sub { margin: 0 0 18px; font-size: 14.5px; color: var(--muted); line-height: 1.75; }
.detail-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 18px 0 2px;
  border-top: 1px solid var(--line);
}
.detail-price .cur { font-size: 16px; font-weight: 700; color: var(--text-2); }
.detail-price .num {
  font-size: clamp(30px, 7vw, 42px);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}
.detail-price .note { font-size: 11.5px; color: var(--faint); letter-spacing: 0.06em; }
.detail-desc {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--text-2);
  white-space: pre-line;
}

/* 数量步进 */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  overflow: hidden;
}
.qty button {
  width: 40px; height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  color: var(--text-2);
  transition: background 0.16s, color 0.16s;
}
.qty button:hover { background: var(--surface-2); color: #fff; }
.qty input {
  width: 46px; height: 40px;
  border: 0;
  background: transparent;
  text-align: center;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  color: #fff;
  padding: 0;
  border-radius: 0;
}
.qty input:focus { outline: none; background: transparent; }

.buy-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.buy-row .btn { flex: 1 1 auto; }

/* 商品网格（服务页） */
.grid-products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 640px) { .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.p-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--bg);
  transition: background 0.22s;
}
.p-card:hover { background: #0a0b0e; }
.p-media {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(150deg, #0b0d11, #10131a);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}
.p-media img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.92; }
.p-media .glyph {
  font-size: 34px;
  font-weight: 740;
  letter-spacing: -0.045em;
  color: #252c39;
}
.p-media .tag {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--line-2);
  color: var(--text-2);
  background: rgba(5, 5, 6, 0.72);
  border-radius: 2px;
}
.p-body { padding: 20px 18px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-title {
  margin: 0;
  font-size: 17px;
  font-weight: 680;
  letter-spacing: -0.015em;
  line-height: 1.4;
}
.p-sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.price {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: #fff;
  font-weight: 720;
  letter-spacing: -0.02em;
}
.price .cur { font-size: 12px; color: var(--muted); }
.price .num { font-size: 22px; line-height: 1; }
.price .from { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-left: 4px; }
.p-cta {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}
.p-card:hover .p-cta { color: #fff; }

/* 搜索命中：白色高亮加下划线，不用彩虹渐变 */
.kw {
  color: #fff;
  background: rgba(88, 138, 214, 0.24);
  padding: 0 2px;
  border-radius: 1px;
  font-weight: inherit;
}

/* 分类行 */
.cats {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
  scrollbar-width: none;
}
.cats::-webkit-scrollbar { display: none; }
.cats a {
  flex: 0 0 auto;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 18px;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s;
}
.cats a:hover { color: #fff; }
.cats a.on { color: #fff; border-bottom-color: #fff; }

/* 区块标题（内页） */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 56px 0 20px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(20px, 4.4vw, 26px);
  letter-spacing: -0.03em;
  font-weight: 720;
}
.section-head .aside { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.section-head .aside a { color: var(--text-2); }

/* ---------- 购物车 ---------- */
.line {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.line-thumb {
  width: 60px; height: 60px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  background: #0a0c10;
}
.line-thumb img { width: 100%; height: 100%; object-fit: cover; }
.line-thumb .glyph { font-size: 18px; font-weight: 700; color: #2b3240; }
.line-main { min-width: 0; }
.line-title { margin: 0 0 5px; font-size: 15px; font-weight: 660; letter-spacing: -0.01em; line-height: 1.4; }
.line-price { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.line-ops { display: flex; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.line-ops .qty button { width: 32px; height: 32px; font-size: 15px; }
.line-ops .qty input { width: 38px; height: 32px; font-size: 14px; }
.link-danger {
  border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--faint); padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.link-danger:hover { color: var(--bad); border-bottom-color: rgba(228, 103, 127, 0.4); }

.summary {
  margin-top: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.summary .label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.summary .total { font-size: 26px; font-weight: 740; letter-spacing: -0.03em; color: #fff; }

.split { display: grid; gap: 20px; align-items: start; margin-top: 20px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.5fr 1fr; }
  .detail { grid-template-columns: 1.1fr 1fr; align-items: stretch; }
  .detail-media { aspect-ratio: auto; }
}

/* ---------- 支付 ---------- */
.pay-box { text-align: center; padding: 28px 20px; }
.pay-qr {
  width: min(210px, 66vw);
  margin: 14px auto 18px;
  padding: 10px;
  background: #0a0b0e;
  border: 1px solid var(--line-2);
  border-radius: 2px;
}
.pay-qr img { width: 100%; height: auto; display: block; }
.pay-placeholder {
  width: min(210px, 66vw);
  aspect-ratio: 1;
  margin: 14px auto 18px;
  border: 1px dashed var(--line-2);
  display: grid;
  place-items: center;
  font-size: 12px;
  line-height: 1.7;
  color: var(--faint);
  padding: 18px;
  text-align: center;
}
.contacts { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.contact-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.contact-line span { color: var(--faint); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-line b { font-weight: 650; letter-spacing: 0.02em; }
.contact-copy {
  border: 1px solid var(--line-2);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 6px 11px;
  border-radius: 2px;
  background: transparent;
  transition: background 0.18s, color 0.18s;
}
.contact-copy:hover { background: #fff; color: #000; border-color: #fff; }

/* ---------- 订单 ---------- */
.order { padding: 20px 0 4px; border-bottom: 1px solid var(--line); }
.order-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.order-no { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.order-time { font-size: 11.5px; color: var(--faint); margin-top: 4px; letter-spacing: 0.06em; }
.status {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid;
  border-radius: 2px;
  white-space: nowrap;
}
.status.is-pending { color: var(--warn); border-color: rgba(216, 162, 74, 0.4); background: rgba(216, 162, 74, 0.08); }
.status.is-paid { color: #8fb8ee; border-color: var(--blue-line); background: var(--blue-soft); }
.status.is-done { color: var(--ok); border-color: rgba(79, 191, 139, 0.4); background: rgba(79, 191, 139, 0.08); }
.status.is-cancel { color: var(--faint); border-color: var(--line-2); }
.order-items { display: flex; flex-direction: column; gap: 9px; }
.order-item { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.order-item .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.order-item .c { color: var(--muted); flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.order-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.order-bottom .tot { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.order-bottom .tot b { font-size: 18px; color: #fff; letter-spacing: -0.02em; margin-left: 6px; }

/* ---------- 认证页 ---------- */
.auth-wrap { display: flex; justify-content: center; padding: 56px 0 20px; }
.auth {
  width: 100%;
  max-width: 420px;
  padding: 32px 26px 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
}
.auth h1 { margin: 0 0 8px; font-size: clamp(24px, 6vw, 32px); letter-spacing: -0.035em; font-weight: 740; }
.auth .lead { margin: 0 0 24px; font-size: 13px; color: var(--muted); line-height: 1.75; }
.auth .alt { margin-top: 20px; text-align: center; font-size: 12.5px; color: var(--faint); }
.auth .alt a { color: var(--text-2); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.auth .alt a:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- 滑块 ---------- */
.slider {
  position: relative;
  height: 50px;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.slider-fill {
  position: absolute;
  left: 0; top: 0; height: 100%; width: 0;
  background: linear-gradient(90deg, rgba(31, 74, 140, 0.34), rgba(31, 74, 140, 0.5));
  pointer-events: none;
}
.slider-hint {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  pointer-events: none;
}
.slider-knob {
  position: absolute;
  left: 2px; top: 2px;
  width: 44px; height: 44px;
  border: 1px solid var(--blue-hi);
  border-radius: 2px;
  display: grid;
  place-items: center;
  color: #fff;
  cursor: grab;
  touch-action: none;
  background: var(--blue);
  transition: background 0.18s;
}
.slider-knob:active { cursor: grabbing; }
.slider[data-state="ok"] .slider-hint { color: var(--ok); }
.slider[data-state="ok"] .slider-knob { background: #1b6b4d; border-color: #2f8a66; }

/* ---------- 后台 ---------- */
.admin-body { background: #040405; }
.admin-shell { max-width: 1180px; margin: 0 auto; padding: 20px 18px 64px; }
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 18px;
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.admin-top div > div:first-child {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}
.admin-tabs {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.admin-tabs a {
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 16px;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.admin-tabs a:hover { color: #fff; }
.admin-tabs a.on { color: #fff; border-bottom-color: #fff; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 22px;
}
@media (min-width: 720px) { .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding: 18px 16px 16px; background: var(--bg); }
.stat span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
}
.stat b { font-size: 26px; letter-spacing: -0.035em; font-weight: 740; color: #fff; font-variant-numeric: tabular-nums; }

table.data { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
table.data th {
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--faint);
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data td { padding: 14px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; word-break: break-word; color: var(--text-2); }
table.data tr:last-child td { border-bottom: 0; }
table.data .num { font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.thumb-sm { width: 44px; height: 44px; object-fit: cover; border: 1px solid var(--line); }
.row-ops { display: flex; gap: 6px; flex-wrap: wrap; }

.upload-field { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.upload-preview {
  width: 92px; height: 92px;
  overflow: hidden;
  border: 1px dashed var(--line-2);
  display: grid; place-items: center;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint);
}
.upload-preview img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 639px) {
  table.data thead { display: none; }
  table.data, table.data tbody, table.data tr, table.data td { display: block; width: 100%; }
  table.data tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  table.data td { border: 0; padding: 4px 0; }
  table.data td::before {
    content: attr(data-label);
    display: inline-block;
    min-width: 86px;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
  }
}

/* 首页：主容器不限宽，留给整屏 hero */
.main-plain { display: block; width: 100%; }
/* ============================================================
   第六层：圆角回归 · 克制的毛玻璃 · 动效层
   —— 深色底不变，只把方角磨圆、在少数几处给一点玻璃质感，
      其余动画全部用 CSS / 内联 SVG 实现，不挂外部 gif 资源。
   ============================================================ */
:root {
  --r-xs: 8px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-pill: 999px;
  --glass-bg: rgba(255, 255, 255, 0.055);
  --glass-bg-2: rgba(255, 255, 255, 0.1);
  --glass-line: rgba(255, 255, 255, 0.16);
  --lift: 0 26px 60px -34px rgba(0, 0, 0, 0.95);
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
}

/* ---------- 圆角 ---------- */
.brand-mark { border-radius: var(--r-sm); }
.search-go { border-radius: var(--r-xs); }
.badge { border-radius: var(--r-pill); }
.head-nav a { border-radius: var(--r-xs); }
.head-nav a.on::after { border-radius: var(--r-pill); }

.btn { border-radius: var(--r-sm); }
.btn-sm { border-radius: var(--r-xs); }
.chip { border-radius: var(--r-pill); }
.toast { border-radius: var(--r-md); }

input[type=text], input[type=email], input[type=password], input[type=tel],
input[type=number], input[type=search], input[type=url], input[type=file],
textarea, select { border-radius: var(--r-sm); }
.alert { border-radius: var(--r-sm); }

.panel { border-radius: var(--r-lg); }
.auth { border-radius: var(--r-lg); }
.empty { border-radius: var(--r-lg); }
.stat { border-radius: var(--r-md); }
.admin-top { border-radius: var(--r-lg); }
.detail-media { border-radius: var(--r-lg); }
.pay-qr { border-radius: var(--r-md); }
.pay-placeholder { border-radius: var(--r-md); }
.line-thumb { border-radius: var(--r-sm); }
.qty { border-radius: var(--r-xs); }
.slider { border-radius: var(--r-sm); }
.slider-knob { border-radius: var(--r-xs); }
.upload-preview { border-radius: var(--r-sm); }
.thumb-sm { border-radius: var(--r-xs); }

/* ---------- 商品格：从发丝网格改成圆角卡片 ---------- */
.grid-products {
  gap: 18px;
  background: transparent;
  border: 0;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.p-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012) 46%, rgba(255, 255, 255, 0.006));
  transition: transform 0.42s var(--ease), border-color 0.3s, box-shadow 0.42s, background 0.3s;
  will-change: transform;
}
.p-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-line);
  box-shadow: var(--lift);
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 46%, rgba(255, 255, 255, 0.01));
}
.p-media { border-radius: 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.p-media img { transition: transform 0.7s var(--ease), opacity 0.3s; }
.p-card:hover .p-media img { transform: scale(1.05); opacity: 1; }
.p-media .tag { border-radius: var(--r-pill); background: rgba(8, 9, 11, 0.66); }
.p-card .price .num { transition: color 0.25s; }
.p-card:hover .price .num { color: #fff; }

/* ---------- 信息行 / 分类条：圆角化 ---------- */
.row-item {
  border-radius: 0;
  padding-inline: 14px;
  transition: background 0.28s, border-radius 0.28s, transform 0.35s var(--ease);
}
.row-item:hover { background: rgba(255, 255, 255, 0.045); border-radius: var(--r-md); transform: translateX(2px); }
.cats a { border-radius: var(--r-xs) var(--r-xs) 0 0; }
.cats { scrollbar-width: none; }

/* ---------- 克制的毛玻璃：只有这几处 ---------- */
.ai-panel {
  border-radius: var(--r-xl);
  border-color: var(--glass-line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025) 52%, rgba(255, 255, 255, 0.015));
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 40px 90px -60px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}
.ai-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120% 80% at 8% 0%, rgba(88, 138, 214, 0.14), transparent 52%);
}
.ai-panel { position: relative; overflow: hidden; }
.ai-msg .bubble { border-radius: var(--r-md); }
.ai-msg.me .bubble { border-radius: var(--r-md); }
.chip {
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--glass-line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-head { background: rgba(6, 7, 9, 0.66); }

/* ---------- 按钮：按压回弹 + 微光 ---------- */
.btn {
  transition: transform 0.24s var(--ease), box-shadow 0.34s, background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(0.986); }
.btn-primary {
  box-shadow: 0 12px 34px -20px rgba(31, 74, 140, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.btn-primary:hover {
  background: var(--blue-hi);
  box-shadow: 0 18px 44px -20px rgba(31, 74, 140, 1), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.28); }
.chip { transition: transform 0.28s var(--ease), color 0.2s, border-color 0.2s, background 0.2s; }
.chip:hover { transform: translateY(-2px) scale(1.02); }
.chip:active { transform: translateY(0) scale(0.99); }

/* ---------- Hero：缓慢脉动光晕 + 视差 + 光带扫过 ---------- */
.hero-full { isolation: isolate; }
.hero-halo {
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(1240px, 150vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(38, 82, 152, 0.32) 0%, rgba(24, 52, 98, 0.16) 34%, transparent 62%);
  animation: haloBreathe 9s ease-in-out infinite;
}
.hero-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(102deg, transparent 34%, rgba(180, 214, 255, 0.1) 46%, rgba(180, 214, 255, 0.02) 52%, transparent 62%);
  background-size: 220% 100%;
  background-position: 120% 0;
  animation: shineSweep 11s ease-in-out infinite;
  mix-blend-mode: screen;
}
@keyframes haloBreathe {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.95; transform: translate(-50%, -50%) scale(1.05); }
}
@keyframes shineSweep {
  0% { background-position: 130% 0; opacity: 0; }
  18% { opacity: 1; }
  55% { opacity: 0.6; }
  100% { background-position: -30% 0; opacity: 0; }
}
.hero-full .hero-bg { transition: transform 0.1s linear; }

/* ---------- 滚动渐显 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-x { opacity: 0; transform: translateX(-18px); }
.reveal-x.is-in { opacity: 1; transform: none; }

/* ---------- 走马灯（gif 感的无限滚动条） ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.008));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: marqueeRun 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-item i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-hi);
  box-shadow: 0 0 12px rgba(88, 138, 214, 0.8);
}
@keyframes marqueeRun {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---------- 打字指示器（AI 回复前的三点跳动） ---------- */
.typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 18px;
}
.typing i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-2);
  opacity: 0.35;
  animation: dotJump 1.3s ease-in-out infinite;
}
.typing i:nth-child(2) { animation-delay: 0.16s; }
.typing i:nth-child(3) { animation-delay: 0.32s; }
@keyframes dotJump {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  40% { transform: translateY(-4px); opacity: 1; }
}

/* AI 在线小圆点呼吸 */
.ai-status i {
  animation: statusPulse 2.2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 0.55; box-shadow: 0 0 0 0 rgba(79, 191, 139, 0.35); }
  50% { opacity: 1; box-shadow: 0 0 0 5px rgba(79, 191, 139, 0); }
}

/* 章节标签：细线从左生长 */
.band-label s { position: relative; }
.band-label s::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--line-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease) 0.1s;
}
.reveal.is-in .band-label s::after,
.band-head.is-in .band-label s::after { transform: scaleX(1); }

/* 强调下划线：渐现 */
.statement .hl { transition: text-decoration-color 0.6s ease; }
.statement.is-in .hl { text-decoration-color: rgba(88, 138, 214, 0.75); }

/* 图片入场：轻微放大收束 */
.p-media img { animation: imgIn 1.1s var(--ease) both; }
@keyframes imgIn {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 0.92; transform: scale(1); }
}

/* 数字与金额：等宽跳变 */
.price .num, .order-bottom .tot b, .summary .total { font-variant-numeric: tabular-nums; }

/* 收尾 CTA 标题轻微上浮 */
.band .big-cta { transition: transform 0.6s var(--ease); }
.band .big-cta:hover { transform: translateY(-2px); }

/* 尊重减弱动效 */
@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .hero-halo,
  .hero-shine,
  .typing i,
  .ai-status i,
  .p-media img { animation: none !important; }
  .reveal, .reveal-x { opacity: 1 !important; transform: none !important; }
}

/* AI 气泡：圆角小面板，取代原来的左侧竖线 */
.ai-msg.bot .bubble {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.045);
}
.ai-msg.me .bubble {
  box-shadow: 0 10px 26px -18px rgba(31, 74, 140, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.ai-log { padding-right: 2px; }

/* 聊天区：气泡贴合内容 + 细滚动条 */
.ai-log {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
.ai-log::-webkit-scrollbar { width: 0; height: 0; }
.ai-log { scrollbar-width: none; }
.ai-msg.bot .bubble { display: inline-block; max-width: 100%; }
.ai-msg .bubble { box-shadow: 0 8px 22px -18px rgba(0, 0, 0, 0.9); }

/* 主按钮：hover 时光带扫过一次 */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary > span, .btn-primary { isolation: isolate; }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(102deg, transparent 30%, rgba(255, 255, 255, 0.18) 46%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 0.85s cubic-bezier(0.22, 0.8, 0.2, 1);
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(130%); }

/* 导航与搜索：轻量反馈 */
.head-nav a:hover { background: rgba(255, 255, 255, 0.06); }
.search:focus-within { border-bottom-color: transparent; }
.search input:focus { border-bottom-color: rgba(255, 255, 255, 0.5); }
.cats a:hover { background: rgba(255, 255, 255, 0.045); }

/* 详情页图片：悬浮轻微推近 */
.detail-media img { transition: transform 0.7s cubic-bezier(0.22, 0.8, 0.2, 1); }
.detail-media:hover img { transform: scale(1.03); }

/* 后台统计卡：入场后的极轻浮起 */
.stat { transition: transform 0.35s cubic-bezier(0.22, 0.8, 0.2, 1), border-color 0.3s; }
.stat:hover { transform: translateY(-2px); border-color: var(--glass-line); }

/* ============================================================
   第七层：首页 PPT 分屏 + 全局胶囊按钮
   ============================================================ */

/* ---------- 全局胶囊 ---------- */
.btn, .btn-sm, .btn-block,
.search-go,
.head-nav a,
.cats a,
.chip,
.badge,
.tag,
.link-danger,
.qty,
.qty button,
.slider,
.slider-knob,
.admin-tabs a,
.pager a {
  border-radius: var(--r-pill) !important;
}
.btn { padding: 14px 26px; }
.btn-sm { padding: 9px 18px; }
.search-go { padding: 8px 18px; }
.head-nav a { padding: 9px 15px; }

/* 大标题加一点阴影，压住背景 */
.display, .statement, .big-cta, .slide-mark, .hero-lead {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 18px 48px rgba(0, 0, 0, 0.5);
}

/* ---------- 分屏骨架 ---------- */
html:has(body.page-home) {
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
}
.deck { position: relative; }

.slide {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 62px);
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  scroll-snap-align: start;
  scroll-margin-top: 62px;
}
.slide-inner { width: 100%; }

.slide-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(18px, 3.2vw, 38px);
}
.slide-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.slide-mark s {
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  color: var(--faint);
}
.slide-mark s::after {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  margin-left: 12px;
  vertical-align: 4px;
  background: var(--line-2);
}
.slide-side {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}

/* 屏内元素入场：默认可见，JS 就绪后才交给 current slide 控制 */
.s-anim {
  transition: opacity 0.72s var(--ease) var(--d, 0ms),
              transform 0.72s var(--ease) var(--d, 0ms);
}
html.deck-ready .slide:not(.is-active) .s-anim {
  opacity: 0;
  transform: translateY(20px);
}

/* ---------- 封面 ---------- */
.slide-cover {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  padding: 0;
  border-bottom: 0;
  overflow: hidden;
}
.slide-cover .hero-in { padding: 0 20px 44px; }
@media (min-width: 900px) {
  .slide-cover .hero-in { padding: 0 32px 56px; }
}
.slide-cover .marquee { border-bottom: 1px solid var(--line); }
.cover-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.deck-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.deck-hint i {
  display: block;
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, var(--line-2), transparent);
  animation: hintDrop 2.4s ease-in-out infinite;
}
.deck-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--faint);
}

/* ---------- 关于 ---------- */
.two-col {
  display: grid;
  gap: 34px;
  align-items: center;
}
@media (min-width: 980px) {
  .two-col { grid-template-columns: 1.42fr 0.78fr; gap: 56px; }
}
.statement { max-width: 21em; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.stat-cell { display: flex; flex-direction: column; gap: 6px; padding-right: 12px; }
.stat-cell + .stat-cell { border-left: 1px solid var(--line); padding-left: 18px; }
.stat-cell b {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.stat-cell span {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- GIF 卡 ---------- */
.gif-card {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  box-shadow: 0 24px 60px -40px rgba(0, 0, 0, 0.9);
}
.gif-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--r-lg) - 8px);
  background: var(--bg);
}
.gif-card figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.gif-card figcaption s {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px rgba(79, 191, 139, 0.7);
  text-decoration: none;
}

/* ---------- 小苹果 AI ---------- */
.ai-copy { position: relative; }
.ai-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 4.4vw, 34px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 740;
}
.cover-orbit {
  position: absolute;
  right: clamp(16px, 5vw, 96px);
  top: 16%;
  width: clamp(150px, 17vw, 252px);
  height: auto;
  opacity: 0.8;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: orbitDrift 18s ease-in-out infinite;
}
@keyframes orbitDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-12px, 14px, 0) scale(1.03); }
}
@media (max-width: 859px) { .cover-orbit { display: none; } }

.slide .ai-panel { min-height: 0; height: clamp(360px, calc(100svh - 300px), 560px); }
.slide .ai-log { max-height: none; }

/* ---------- 能力 ---------- */
.rows-tight { border-top: 1px solid var(--line); }
.rows-tight .row-item { padding: 18px 0; }
@media (min-width: 760px) {
  .rows-tight .row-item { grid-template-columns: 64px 1fr 96px; padding: 20px 0; align-items: start; }
}
.rows-tight .row-item p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rows-tight .row-item .meta { margin-top: 6px; }
.rows-tight .row-item .n { padding-top: 4px; }
.row-item .arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  transition: color 0.25s, gap 0.25s;
}
.row-item:hover .arrow { color: #fff; gap: 10px; }
.row-item { transition: background 0.25s, padding-left 0.25s; }
.row-item:hover { padding-left: 8px; }

/* ---------- 流程 ---------- */
.flow-grid {
  display: grid;
  gap: 30px;
  align-items: start;
}
@media (min-width: 980px) {
  .flow-grid { grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
}
.steps-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (min-width: 720px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
.step-cell {
  background: var(--bg);
  padding: 22px 20px 24px;
  transition: background 0.3s;
}
.step-cell:hover { background: var(--surface); }
.step-n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--faint);
  margin-bottom: 10px;
}
.step-cell h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.01em; font-weight: 680; }
.step-cell p { margin: 0; font-size: 13px; line-height: 1.75; color: var(--muted); }

/* ---------- 收尾 ---------- */
.slide-end .slide-inner { position: relative; }
.big-cta {
  margin: 0;
  font-size: clamp(30px, 6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 750;
  max-width: 16em;
}
.end-note {
  margin: 22px 0 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--faint);
  max-width: 52ch;
}
.btn-ghost {
  color: var(--faint);
  border-color: transparent;
  background: none;
}
.btn-ghost:hover { color: #fff; border-color: var(--line-2); }
.end-orbit {
  position: absolute;
  right: -30px;
  bottom: -96px;
  width: 240px;
  height: auto;
  mix-blend-mode: screen;
  height: 288px;
  opacity: 0.22;
  mix-blend-mode: screen;
  pointer-events: none;
}
@media (max-width: 859px) { .end-orbit { display: none; } }

/* ---------- 翻页控件 ---------- */
.deck-nav {
  position: fixed;
  right: clamp(10px, 2vw, 26px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 14px 9px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(9, 10, 12, 0.72);
}
.deck-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.deck-count b {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
}
.deck-dots { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.deck-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: height 0.3s var(--ease), background 0.3s, width 0.3s;
}
.deck-dot:hover { background: rgba(255, 255, 255, 0.45); }
.deck-dot.on {
  height: 20px;
  background: #fff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.28);
}
.deck-btns { display: flex; flex-direction: column; gap: 6px; }
.deck-btn {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}
.deck-btn:hover { background: #fff; color: #000; border-color: #fff; }
.deck-btn:active { transform: scale(0.94); }
.deck-btn[disabled] { opacity: 0.3; cursor: default; }

.deck-bar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 60;
}
.deck-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue-hi), #cfd8e8);
  transition: width 0.12s linear;
}

/* ---------- 窄屏：不锁屏，回到普通文档流 ---------- */
@media (max-width: 859px) {
  html:has(body.page-home) { scroll-snap-type: none; }
  .slide { min-height: auto; padding: 52px 0; }
  .deck-nav { display: none; }
  .slide-cover { min-height: calc(100svh - 62px); }
  .slide .ai-panel { height: auto; }
  .slide .ai-log { max-height: 340px; }
  .stat-row { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .stat-cell + .stat-cell { border-left: 0; padding-left: 0; }
  .gif-card { max-width: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.page-home) { scroll-behavior: auto; }
  .s-anim { opacity: 1 !important; transform: none !important; transition: none !important; }
  .cover-orbit, .end-orbit { animation: none !important; }
}

/* 重点字：去掉下划线（换行时会被画成满行横线），改用发光强调 */
.statement .hl {
  text-decoration: none !important;
  color: #ffffff;
  font-weight: 760;
  text-shadow: 0 0 22px rgba(88, 138, 214, 0.5), 0 0 6px rgba(120, 170, 240, 0.3);
}
.statement.is-in .hl { text-decoration: none !important; }
