/* Dehors Shop — 暗紫底 + 苹果式排版
   字标：02 银白金属；角标：06 几何色块（右下固定）
*/

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

:root {
  --bg: #0E0A19;
  --bg-soft: #151022;
  --card: #181325;
  --card-hi: #1F1830;
  --line: rgba(148, 124, 255, .16);
  --line-strong: rgba(168, 144, 255, .28);
  --text: #EFEBF8;
  --dim: #8E83AA;
  --mute: #5F5575;
  --violet: #8B5CF6;
  --violet-soft: #A78BFA;
  --cyan: #22D3EE;
  --radius: 20px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 118px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1000px 520px at 14% -6%, rgba(124, 92, 255, .28), transparent 64%),
    radial-gradient(820px 480px at 92% 4%, rgba(34, 211, 238, .11), transparent 62%),
    radial-gradient(900px 600px at 50% 108%, rgba(124, 92, 255, .15), transparent 60%);
}

#app { position: relative; z-index: 1; }

/* ---------- 顶栏 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 52px);
  background: rgba(14, 10, 25, .74);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(148, 124, 255, .09);
}

/* 02 银白金属字标 */
.brand {
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 800;
  letter-spacing: -.035em;
  text-decoration: none;
  background: linear-gradient(105deg, #FFFFFF 0%, #CFC9DE 24%, #928AA8 42%,
              #FFFFFF 60%, #BFB8D0 82%, #F4F0FC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .10));
  white-space: nowrap;
}

.nav-right { display: flex; align-items: center; gap: 14px; }

.badge {
  font-size: 10px;
  letter-spacing: .17em;
  color: #9A8EC0;
  border: 1px solid rgba(148, 124, 255, .22);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(124, 92, 255, .07);
  white-space: nowrap;
}
@media (max-width: 640px) { .badge { display: none; } }

.cart-btn {
  position: relative;
  font-family: inherit;
  font-size: 13px;
  color: var(--text);
  background: rgba(124, 92, 255, .12);
  border: 1px solid rgba(148, 124, 255, .24);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.cart-btn:hover { background: rgba(124, 92, 255, .22); border-color: var(--line-strong); }

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--violet);
  color: #0A0712;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

/* ---------- 首屏 ---------- */
.hero {
  min-height: 30vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(48px, 7vh, 88px) 24px clamp(32px, 4.5vh, 56px);
}

.kicker {
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--mute);
  margin-bottom: 26px;
}

.hero-title {
  font-size: clamp(42px, 8.4vw, 108px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1;
  background: linear-gradient(105deg, #FFFFFF 0%, #D6D0E2 22%, #8F86A8 41%,
              #FFFFFF 58%, #C4BCD6 78%, #F6F2FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 60px rgba(139, 92, 246, .22));
}

/* ---------- 区块 ---------- */
.block {
  padding: 0 clamp(18px, 4vw, 52px);
  margin: 0 auto 96px;
  max-width: 1320px;
  scroll-margin-top: 84px;
}

.block-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(148, 124, 255, .10);
}
.block-head h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -.03em;
}
.block-head p {
  font-size: 12.5px;
  color: var(--mute);
  letter-spacing: .04em;
  padding-bottom: 4px;
}

/* ---------- 热门排行 ---------- */
.rank-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 1000px) { .rank-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .rank-grid { grid-template-columns: 1fr; } }

.rank-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 124, 255, .10);
  background: linear-gradient(150deg, rgba(22, 16, 31, .9), rgba(12, 8, 19, .72));
  cursor: pointer;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.rank-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(320px 120px at 12% 50%, rgba(124, 92, 255, .10), transparent 70%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.rank-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: linear-gradient(150deg, rgba(28, 20, 40, .95), rgba(14, 9, 22, .85));
}
.rank-card:hover::after { opacity: 1; }

.rank-no {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--violet-soft);
  opacity: .8;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.rank-thumb {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  border-radius: 12px;
  overflow: hidden;
  background: #171223;
}
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.rank-body { flex: 1; min-width: 0; }
.rank-body .cat { font-size: 10.5px; letter-spacing: .1em; color: var(--mute); }
.rank-body h3 {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 2px 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-foot {
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.rank-foot em {
  font-style: normal;
  font-size: 11px;
  color: var(--mute);
}

/* ---------- 分类 ---------- */
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.chips button {
  font-family: inherit;
  font-size: 12.5px;
  color: var(--dim);
  background: transparent;
  border: 1px solid rgba(148, 124, 255, .16);
  border-radius: 999px;
  padding: 7px 15px;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.chips button:hover { color: var(--text); border-color: var(--line-strong); }
.chips button.on {
  color: #0A0712;
  background: linear-gradient(100deg, #B9A6FF, #8B5CF6);
  border-color: transparent;
  font-weight: 600;
}

/* ---------- 商品网格 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1180px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 124, 255, .10);
  background: linear-gradient(165deg, #120D1B, #0C0813);
  overflow: hidden;
  cursor: pointer;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 26px 60px -34px rgba(124, 92, 255, .55);
}

.thumb {
  position: relative;
  aspect-ratio: 1;
  background: #171223;
  overflow: hidden;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease), filter .5s var(--ease);
}
.card:hover .thumb img { transform: scale(1.045); filter: brightness(1.06); }

.quick {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #0A0712;
  background: rgba(233, 227, 248, .94);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s;
}
.quick:hover { background: #FFFFFF; }
.card:hover .quick { opacity: 1; transform: translateY(0); }
@media (hover: none) { .quick { opacity: 1; transform: none; } }

.card-body { padding: 16px 16px 18px; }
.cat {
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--mute);
  text-transform: uppercase;
}
.card-body h3 {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 3px 0 7px;
  line-height: 1.45;
}
.desc {
  font-size: 12px;
  line-height: 1.7;
  color: var(--mute);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 12px;
}
.price { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.sales { font-size: 11px; color: var(--mute); }

/* ---------- 页脚：左右双卡（中 / 英） ---------- */
.foot {
  border-top: 1px solid rgba(148, 124, 255, .12);
  padding: 64px clamp(18px, 4vw, 52px) 40px;
  max-width: 1320px;
  margin: 0 auto;
  scroll-margin-top: 84px;
}
.foot-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.foot-brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.04em;
  background: linear-gradient(105deg, #FFFFFF, #CFC9DE 30%, #8F86A8 50%, #FFFFFF 74%, #EDE7FA);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.6vw, 22px);
}
.about-card {
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(32, 26, 52, .74), rgba(20, 15, 34, .58));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.about-label {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--violet-soft);
  margin-bottom: 14px;
}
.about-card p {
  font-size: 13px;
  line-height: 1.95;
  color: var(--dim);
}
.about-card p strong {
  color: var(--text);
  font-weight: 600;
}
.foot-year { font-size: 11px; color: #4E4562; letter-spacing: .04em; }

/* ---------- 底部悬浮导航（同个人站 dock，选中态换成本站紫） ---------- */
.dock {
  position: fixed;
  left: 50%;
  z-index: 48;
  bottom: calc(max(24px, env(safe-area-inset-bottom)) + 6px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: clamp(3px, calc(2.14px + 0.476vw), 9px);
  padding: clamp(6px, calc(4.77px + 0.571vw), 12px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(25, 19, 40, .58);
  backdrop-filter: blur(30px) saturate(170%);
  -webkit-backdrop-filter: blur(30px) saturate(170%);
  box-shadow:
    0 26px 60px -18px rgba(0, 0, 0, .85),
    0 2px 12px rgba(0, 0, 0, .3),
    inset 0 1px 0 rgba(255, 255, 255, .18);
  max-width: calc(100vw - 24px);
}
.dock-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(44px, calc(33px + 2.6vw), 64px);
  padding: 0 clamp(11px, calc(5px + 1.5vw), 26px);
  border: none;
  background: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(13.5px, calc(10px + 1vw), 19px);
  color: rgba(255, 255, 255, .58);
  letter-spacing: .04em;
  white-space: nowrap;
  transition: color .3s, background .3s, box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
}
.dock-item svg {
  width: clamp(19px, calc(14px + 1.2vw), 30px);
  height: clamp(19px, calc(14px + 1.2vw), 30px);
  flex: none;
  opacity: .82;
  transition: opacity .3s, transform .38s cubic-bezier(.2, .8, .2, 1);
}
.dock-item .lb {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  margin-left: 0;
  transition: max-width .46s cubic-bezier(.2, .8, .2, 1), opacity .26s ease, margin-left .46s cubic-bezier(.2, .8, .2, 1);
}
.dock-item.on {
  color: #FFFFFF;
  font-weight: 500;
  background: linear-gradient(135deg, #A78BFA, #7C3AED 56%, #5B21B6);
  box-shadow: 0 8px 26px -6px rgba(124, 92, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.dock-item.on svg { opacity: 1; }
.dock-item.on .lb { max-width: 4.6em; opacity: 1; margin-left: clamp(6px, calc(4.6px + .6vw), 13px); }
.dock-item:not(.on):hover { color: #fff; background: rgba(255, 255, 255, .08); }
.dock-item:not(.on):hover svg { opacity: 1; transform: translateY(-1px); }
.dock-item:not(.on):active { background: rgba(255, 255, 255, .13); }
.dock-badge {
  position: absolute;
  top: 1px;
  right: 4px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: #8B5CF6;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(14, 10, 25, .9);
}

/* ---------- 右下角标（06 款） ---------- */
.corner-mark {
  position: fixed;
  left: clamp(14px, 2.4vw, 28px);
  right: auto;
  bottom: clamp(20px, 2.4vw, 30px);
  z-index: 45;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}
.corner-inner {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .07em;
  color: #0B0712;
  background: linear-gradient(100deg, #8B5CF6, #5B21B6);
  padding: 5px 11px 6px;
  border-radius: 5px;
  transform: skewX(-8deg);
  box-shadow: 0 10px 26px -10px rgba(124, 92, 255, .85), 0 0 0 1px rgba(196, 181, 253, .35);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.corner-inner u {
  text-decoration: none;
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: #0B0712;
  display: inline-block;
}
.corner-mark:hover .corner-inner {
  transform: skewX(-8deg) translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(124, 92, 255, 1), 0 0 0 1px rgba(196, 181, 253, .5);
}

/* ---------- 遮罩 / 详情 ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(4, 2, 8, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fade .28s var(--ease);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.sheet {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  width: min(940px, 100%);
  max-height: min(88vh, 720px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(168, 144, 255, .22);
  background: #0E0A16;
  box-shadow: 0 50px 120px -40px #000;
  animation: rise .38s var(--ease);
}
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }

.sheet-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(10, 7, 16, .6);
  color: var(--dim);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: all .2s;
}
.sheet-close:hover { color: var(--text); background: rgba(30, 22, 44, .9); }

.sheet-media { background: #171223; min-height: 320px; }
.sheet-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sheet-info {
  padding: clamp(24px, 3vw, 38px);
  overflow-y: auto;
}
.sheet-info .cat { color: var(--violet-soft); }
.sheet-info h2 {
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 700;
  letter-spacing: -.03em;
  margin: 6px 0 12px;
  line-height: 1.3;
}
.sheet-desc { font-size: 13px; line-height: 1.85; color: var(--dim); }
.sheet-price {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.03em;
  margin: 20px 0 4px;
}
.spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin: 20px 0 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 124, 255, .10);
}
.spec div { display: flex; justify-content: space-between; }
.spec dt { font-size: 11.5px; color: var(--mute); }
.spec dd { font-size: 12.5px; color: var(--dim); }

.sheet-actions { display: flex; gap: 10px; align-items: center; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(148, 124, 255, .18);
  border-radius: 999px;
  overflow: hidden;
}
.qty button {
  width: 34px;
  height: 38px;
  border: none;
  background: transparent;
  color: var(--dim);
  font-size: 15px;
  cursor: pointer;
}
.qty button:hover { color: var(--text); background: rgba(124, 92, 255, .10); }
.qty span { min-width: 30px; text-align: center; font-size: 13px; }
.qty.small button { width: 26px; height: 28px; font-size: 13px; }
.qty.small span { min-width: 22px; font-size: 12px; }

.primary {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #0A0712;
  background: linear-gradient(100deg, #C4B5FD, #8B5CF6 64%, #7C3AED);
  border: none;
  border-radius: 999px;
  padding: 11px 26px;
  cursor: pointer;
  transition: filter .25s var(--ease), transform .2s;
}
.primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.primary.wide { width: 100%; padding: 13px 0; }

.sheet-hint { font-size: 11px; color: #4E4663; margin-top: 14px; }

/* ---------- 购物车抽屉 ---------- */
.drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: #0B0713;
  border-left: 1px solid rgba(148, 124, 255, .16);
  display: flex;
  flex-direction: column;
  animation: slide .34s var(--ease);
}
@keyframes slide { from { transform: translateX(30px); opacity: .6; } to { transform: none; opacity: 1; } }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(148, 124, 255, .10);
}
.drawer-head h2 { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }

.empty { padding: 60px 24px; text-align: center; color: var(--dim); font-size: 13px; }
.ghost {
  margin-top: 16px;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--dim);
  background: transparent;
  border: 1px solid rgba(148, 124, 255, .22);
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
}

.cart-list { flex: 1; overflow-y: auto; padding: 8px 14px; }
.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 8px;
  border-bottom: 1px solid rgba(148, 124, 255, .07);
}
.cart-item img {
  width: 66px;
  height: 66px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 66px;
}
.ci-body { flex: 1; min-width: 0; }
.ci-body h3 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ci-body p { font-size: 12px; color: var(--dim); margin-bottom: 8px; }
.ci-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  font-size: 13px;
}
.link {
  font-family: inherit;
  font-size: 11px;
  color: #554B6B;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.link:hover { color: #A78BFA; }

.drawer-foot {
  padding: 18px 22px 24px;
  border-top: 1px solid rgba(148, 124, 255, .12);
}
.sum { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.sum span { font-size: 12px; color: var(--dim); }
.sum b { font-size: 22px; letter-spacing: -.03em; }
.drawer-hint { font-size: 10.5px; color: #4A4260; margin-bottom: 14px; }

/* ---------- 下单结果 ---------- */
.order-card {
  width: min(400px, 100%);
  border-radius: 22px;
  border: 1px solid rgba(168, 144, 255, .22);
  background: #0E0A16;
  padding: 36px 30px 30px;
  text-align: center;
  animation: rise .38s var(--ease);
}
.ok-ring {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #0A0712;
  background: linear-gradient(140deg, #C4B5FD, #8B5CF6);
  box-shadow: 0 0 40px -6px rgba(139, 92, 246, .7);
}
.order-card h2 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }
.order-no { font-size: 12px; letter-spacing: .08em; color: var(--violet-soft); margin-bottom: 22px; }
.order-rows {
  text-align: left;
  border-top: 1px solid rgba(148, 124, 255, .10);
  padding-top: 14px;
  margin-bottom: 18px;
}
.order-rows div { display: flex; justify-content: space-between; padding: 7px 0; }
.order-rows dt { font-size: 12px; color: var(--mute); }
.order-rows dd { font-size: 12.5px; color: var(--dim); }
.order-hint { font-size: 11px; line-height: 1.8; color: #4E4663; margin-bottom: 22px; }

/* ---------- 滚动渐入 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .sheet { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .sheet-media { aspect-ratio: 1; }
  .hero { min-height: 40vh; }
  .block { margin-bottom: 68px; }
  .about-grid { grid-template-columns: 1fr; }
  .corner-mark { display: none; }
  .dock { bottom: calc(max(16px, env(safe-area-inset-bottom)) + 4px); }
  body { padding-bottom: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 故障演示与压测 ---------- */
.demo {
  max-width: 1320px;
  margin: 0 auto;
  padding: 6px clamp(18px, 4vw, 52px) 96px;
  scroll-margin-top: 84px;
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, .9fr);
  gap: clamp(14px, 1.6vw, 22px);
  align-items: start;
}

.demo-figure {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #09060F;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.demo-figure img { display: block; width: 100%; height: auto; }
.demo-figure figcaption {
  padding: 14px 18px 16px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--dim);
  border-top: 1px solid rgba(148, 124, 255, .12);
  background: rgba(20, 15, 34, .58);
}

.demo-panel {
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(32, 26, 52, .74), rgba(20, 15, 34, .58));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.demo-panel h3 {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--violet-soft);
  margin-bottom: 16px;
}

.demo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}
.demo-table th {
  padding: 0 0 10px;
  text-align: right;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute);
  border-bottom: 1px solid rgba(148, 124, 255, .16);
}
.demo-table th:first-child { text-align: left; }
.demo-table td {
  padding: 8px 0;
  text-align: right;
  color: var(--dim);
  letter-spacing: -.01em;
  border-bottom: 1px solid rgba(148, 124, 255, .07);
}
.demo-table td:first-child { text-align: left; color: var(--text); white-space: nowrap; }
.demo-table tr:last-child td { border-bottom: none; }

.demo-note {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.82;
  color: var(--mute);
}

.demo-foot {
  margin-top: clamp(18px, 2vw, 26px);
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid rgba(148, 124, 255, .14);
  background: rgba(124, 92, 255, .05);
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--dim);
}

/* 操作实拍四连 */
.shot-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 18px);
  margin-top: clamp(14px, 1.6vw, 22px);
}

.shot {
  margin: 0;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #09060F;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.shot-link { display: block; cursor: zoom-in; }
.shot img {
  display: block;
  width: 100%;
  height: 292px;
  object-fit: contain;
  background: #09060F;
}
.shot figcaption {
  padding: 12px 16px 14px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--dim);
  border-top: 1px solid rgba(148, 124, 255, .12);
  background: rgba(20, 15, 34, .58);
}

/* ---------- 资料下载 ---------- */
.files {
  max-width: 1320px;
  margin: 0 auto;
  padding: 6px clamp(18px, 4vw, 52px) 128px;
  scroll-margin-top: 84px;
}

.files-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
  align-items: stretch;
}

.file-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(32, 26, 52, .74), rgba(20, 15, 34, .58));
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
}
.file-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }

.file-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #09060F;
  border-bottom: 1px solid rgba(148, 124, 255, .12);
  overflow: hidden;
}
.file-shot img { display: block; width: 100%; height: auto; }

.doc-shot {
  flex: 1 1 auto;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 46px 30px;
  background: radial-gradient(420px 220px at 50% 0%, rgba(139, 92, 246, .16), transparent 70%), #09060F;
}
.doc-badge {
  font: 700 11px/1 ui-monospace, "SF Mono", monospace;
  letter-spacing: .2em;
  color: #C4B5FD;
  border: 1px solid rgba(167, 139, 250, .35);
  background: rgba(139, 92, 246, .12);
  padding: 9px 14px;
  border-radius: 999px;
}
.doc-size { font-size: 30px; font-weight: 600; letter-spacing: -.02em; color: var(--text); }
.doc-label { font-size: 11.5px; color: var(--mute); text-align: center; }

.file-meta { padding: 20px 22px 22px; }
.file-tag {
  display: block;
  font: 600 10px/1.4 ui-monospace, "SF Mono", monospace;
  letter-spacing: .14em;
  color: var(--mute);
  margin-bottom: 10px;
}
.file-meta h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.file-meta p { font-size: 12.5px; line-height: 1.75; color: var(--dim); }
.file-act {
  display: inline-block;
  margin-top: 14px;
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--violet-soft);
}
.file-card:hover .file-act { color: #D8CCFF; }

.files-note {
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--mute);
  letter-spacing: .01em;
}

@media (max-width: 900px) {
  .demo-grid { grid-template-columns: 1fr; }
  .demo { padding-bottom: 68px; }
}
@media (max-width: 700px) {
  .block-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .block-head p { padding-bottom: 0; }
}
@media (max-width: 520px) {
  .demo-table { font-size: 11px; }
  .demo-table th { font-size: 9.5px; }
  .demo-table td:first-child { white-space: normal; }
  .demo-figure figcaption { padding: 12px 14px 14px; font-size: 11.5px; }
  .demo-foot { padding: 16px 18px; font-size: 12px; }
}

@media (max-width: 980px) {
  .files-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .shot-row { grid-template-columns: 1fr; }
  .shot img { height: 240px; }
  .files { padding-bottom: 104px; }
}
@media (max-width: 520px) {
  .shot img { height: 200px; }
  .shot figcaption { font-size: 11px; padding: 10px 14px 12px; }
  .doc-shot { padding: 34px 22px; }
  .doc-size { font-size: 26px; }
  .file-meta { padding: 16px 18px 18px; }
  .file-meta h3 { font-size: 15.5px; }
}
