/* ============================================
   Hand Product Detail Pages — Shared Styles
   Two-column: 3D viewer (left) || specs (right)
   ============================================ */

/* ---- CSS Custom Properties (scoped to hand page) ---- */
.hand-page {
  --hp-ink-primary:   #1a1a1a;
  --hp-ink-secondary: #5c5c5c;
  --hp-ink-muted:     #767676;
  --hp-ink-faint:     #c5c5c5;
  --hp-surface-page:  #fafaf9;
  --hp-surface-card:  #ffffff;
  --hp-surface-viewer:#f0efe9;
  --hp-accent:        #FF6900;  /* Heyman 橙, 与主站一致 */
  --hp-accent-soft:   #D4540A;  /* 深橙 */
  --hp-accent-muted:  rgba(255,105,0,0.12);
  --hp-divider:       #e8e5e0;
  --hp-border:        #e8e5e0;
  --hp-status-ok:     #6b9a5e;
  --hp-status-err:    #c66c5b;
}

/* ---- Hand Hero (full-width dark, with bg image) ---- */
.hand-hero {
  /* 借鉴 lumirobot 展厅感:浅中性背景让产品突出 + 产品图氛围衬托 */
  background-color: #ECE3D5;   /* 暖米色底 */
  background-size: cover;
  background-position: center;
  color: #1A1815;               /* 暖黑文字 */
  text-align: center;
  padding: clamp(80px, 10vh, 130px) clamp(20px, 4vw, 64px) clamp(64px, 8vh, 96px);
  position: relative;
  isolation: isolate;
}

/* ---- 4K 屏:约束内容到 max-width 1500px,避免拉伸空洞 ---- */
.hand-hero > * {
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}

.hand-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* 暖色玻璃遮罩,产品图氛围更柔,不抢戏 */
  background: linear-gradient(180deg,
    rgba(236, 227, 213, 0.55) 0%,
    rgba(236, 227, 213, 0.80) 100%);
  z-index: -1;
}

.hand-hero h1,
.hand-hero .hero-sub,
.hand-hero .hero-stats,
.hand-hero .hero-cta {
  position: relative;
  z-index: 1;
}

.hand-hero .hero-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 16px;
  font-family: var(--font-family-apple);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  background: rgba(255, 105, 0, 0.95);  /* Heyman 橙 */
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(255, 105, 0, 0.4);
}

.hand-hero h1 {
  font-family: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #1A1815;  /* 暖黑 */
}

.hand-hero .hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 400;
  color: #5C5247;
  margin-bottom: 24px;
}

.hand-hero .hero-stats {
  display: flex;
  gap: 36px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hand-hero .hero-stat {
  text-align: center;
}

.hand-hero .hero-stat .stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #FF6900;
  display: block;
}

.hand-hero .hero-stat .stat-label {
  font-size: 12px;
  color: rgba(90, 80, 70, 0.6);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hand-hero .hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---- Stacked Cards Layout ---- */
/* 2026-09-08 redesign:上下卡片——上卡 = 3D 模型(左)+ 关节滑块(右),下卡 = 技术规格 + 核心优势 */
.hand-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1680px;
  margin: 0 auto;
  padding: 24px;
  align-items: stretch;
}

/* ---- Left: Content Column(下卡:技术规格 + 核心优势,通栏) ---- */
.content-col {
  background: #fff;
  padding: clamp(28px, 6vw, 48px) clamp(20px, 3vw, 40px);
  border: 1px solid var(--hp-divider);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  max-width: none;      /* 2026-09-08:上下卡片布局,下卡通栏 */
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .content-col {
    padding: 24px 16px 32px;  /* 移动端收紧 */
  }
}

.content-col h2 {
  font-family: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, sans-serif;
  font-size: 26px;            /* 2026-08-04:24px→26px,提升分级感 */
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.content-col h2::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--hp-accent);
  margin-top: 8px;
}

/* Section divider */
.section-divider {
  border: none;
  border-top: 1px solid var(--hp-divider);
  margin: 32px 0 24px;
}

/* ---- Spec Table ---- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  margin-bottom: 40px;
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;        /* 2026-08-04:行高加宽 */
  border-bottom: 1px solid #e8e8ed;
  font-size: 15px;            /* 2026-08-04:14px→15px */
}

.spec-table th {
  font-weight: 600;
  color: #1d1d1f;
  width: 180px;
  white-space: nowrap;
  text-align: left;
}

.spec-table td {
  color: #444;
  text-align: right;
  font-weight: 500;
}

.spec-table .spec-note {
  font-size: 13px;            /* 2026-08-04:12px→13px */
  color: #999;
  margin-left: 6px;
}

/* 2026-09-08:下卡通栏后规格表桌面端改两列,行数多时减少纵向滚动(≤900px 保持单列) */
@media (min-width: 901px) {
  .spec-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
  .spec-table tbody { display: contents; }
  .spec-table tr { display: flex; align-items: baseline; justify-content: space-between; }
  .spec-table th { width: auto; flex: 0 0 auto; }
  .spec-table td { flex: 1 1 auto; }
}

/* ---- Feature Cards ---- */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 700px) {
  .feature-cards {
    grid-template-columns: 1fr;
  }
}

.feature-card h3 {
  font-family: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, sans-serif;
  font-size: 19px;            /* 2026-08-04:18px→19px */
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hp-divider);
}

.feature-card ul {
  list-style: none;
  padding: 0;
}

.feature-card li {
  font-size: 15px;            /* 2026-08-04:14px→15px,提升可读性 */
  color: #444;
  line-height: 1.65;
  margin-bottom: 6px;
  padding-left: 14px;
  position: relative;
}

.feature-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hp-accent);
}

/* 2026-09-08:下卡"核心优势"卡片内容整体居中(居中文本去掉左侧小圆点) */
.product-advantages .feature-card { text-align: center; }
.product-advantages .feature-card li { padding-left: 0; }
.product-advantages .feature-card li::before { display: none; }

/* ---- Viewer Column(上卡:模型左 + 滑块右) ---- */
.viewer-col {
  /* 2026-09-08 redesign:横向卡片,canvas 左、controls 右,不再 sticky(上下卡片无需跟随滚动) */
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  height: auto;
  overflow: hidden;
  background: var(--hp-surface-page);
  border: 1px solid var(--hp-divider);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  /* 强制 content(text metrics 变化等)不会引起 viewer 高度抖动 */
  transition: none !important;
  contain: layout style;
}

@media (max-width: 900px) {
  /* 单列布局:viewer 回到纵向(模型上、滑块下) */
  .viewer-col {
    flex-direction: column;
    min-height: 60vh;
    border-radius: 8px;
    contain: none;  /* 移动端放开约束 */
  }
  .viewer-canvas {
    contain: none;
  }
  .controls-panel {
    max-height: none;
    width: auto;
    border-left: none;
    border-top: 1px solid var(--hp-divider);
  }
}

/* 3D Canvas */
.viewer-canvas {
  /* 2026-09-08:横向卡片内 canvas 占左侧,高度由 min-height 决定,滑块列超出时内部滚动 */
  flex: 1 1 auto;
  min-height: clamp(440px, 58vh, 640px);
  position: relative;
  cursor: grab;
  background: var(--hp-surface-viewer);
  overflow: hidden;
  /* contain: strict 锁布局/样式/绘制,防外部任何变化引起内部 reflow */
  contain: strict;
  transition: none !important;
}

.viewer-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.viewer-canvas:active {
  cursor: grabbing;
}

/* Loading overlay(真实 DOM,由 LoadingManager 事件驱动) */
.viewer-loading {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, sans-serif;
  font-size: 14px;
  color: var(--hp-ink-muted);
  background: var(--hp-surface-viewer);
  transition: opacity 300ms ease;
}

.viewer-canvas.loaded .viewer-loading {
  opacity: 0;
  pointer-events: none;
}

.viewer-canvas.load-error .viewer-loading {
  color: var(--hp-status-err);
}

/* 全屏按钮 */
.viewer-fullscreen {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 11;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--hp-divider);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: var(--hp-ink-secondary);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 200ms ease, color 160ms ease, border-color 160ms ease;
}
.viewer-canvas:hover .viewer-fullscreen,
.viewer-fullscreen:focus-visible {
  opacity: 1;
}
.viewer-fullscreen:hover {
  color: var(--hp-accent);
  border-color: var(--hp-accent);
}
/* 触屏设备没有 hover,常显 */
@media (hover: none) {
  .viewer-fullscreen { opacity: 1; }
}

/* ---- Controls Panel ---- */
.controls-panel {
  background: #fff;
  border-top: none;
  border-left: 1px solid var(--hp-divider);  /* 2026-09-08:右列,与模型左列分隔 */
  padding: 16px 20px 18px;
  flex: 0 0 auto;
  width: clamp(300px, 28%, 380px);           /* 右列固定宽度,模型占剩余 */
  min-height: 0;
  overflow-y: auto;           /* 滑块超出卡片高度时内部滚动 */
  flex-shrink: 1;
  /* 2026-09-08:滑块少时(6 只)内容垂直居中,消除底部空档;
     safe 保证内容超高时(RE100 16 只)回退顶对齐,不裁掉顶部 */
  display: flex;
  flex-direction: column;
  justify-content: safe center;
}

.controls-panel h3 {
  font-family: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
  text-transform: none;        /* 2026-08-04:取消 uppercase,便于阅读 */
  letter-spacing: 0;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.controls-panel h3 .joint-count {
  font-size: 12px;
  font-weight: 400;
  color: var(--hp-ink-muted);
}

/* Joint slider grid */
#jointControls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 12px;
}

@media (max-width: 900px) {
  .controls-panel {
    max-height: none;
    width: 100%;  /* 2026-09-12:覆盖桌面 clamp 宽度(原 900px 媒体查询写在桌面规则之前被压过),滑块列占满卡片 */
  }
}

.joint-row {
  display: grid;
  grid-template-columns: 96px 1fr 56px;   /* 2026-08-04:标签列放宽,值列也加宽 */
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  padding: 2px 0;
}

.joint-row .label {
  font-family: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, sans-serif;
  font-size: 12px;            /* 2026-08-04:9px→12px */
  font-weight: 500;
  color: #1d1d1f;
  text-transform: none;        /* 取消 uppercase,易读 */
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.joint-row .label .en {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--hp-ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.joint-row .label .zh {
  color: #1d1d1f;             /* 2026-08-04:与英文同级视觉权重,便于扫读 */
  margin-left: 0;
  font-size: 12px;
}

.joint-row input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;                /* 2026-08-04:4px→6px,更易操控 */
  border-radius: 3px;
  background: var(--hp-divider);
  outline: none;
  width: 100%;
  cursor: pointer;
}

.joint-row input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;                /* 2026-08-04:14px→18px,易于抓取 */
  height: 18px;
  border-radius: 50%;
  background: var(--hp-accent);
  cursor: pointer;
  box-shadow: 0 0 0 3px #fff, 0 2px 6px rgba(255, 105, 0, 0.35);
  transition: transform 0.12s ease;
}

.joint-row input[type=range]:hover::-webkit-slider-thumb,
.joint-row input[type=range]:active::-webkit-slider-thumb {
  transform: scale(1.15);
}

.joint-row .val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;            /* 2026-08-04:9px→12px */
  color: var(--hp-accent);
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Finger group header */
.finger-group-header {
  grid-column: 1 / -1;
  font-family: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, sans-serif;
  font-size: 13px;            /* 2026-08-04:11px→13px */
  font-weight: 600;
  color: var(--hp-accent);
  margin-top: 14px;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--hp-divider);
  display: flex;
  align-items: center;
  gap: 8px;
}

.finger-group-header::before {
  content: '';
  width: 3px;
  height: 13px;
  background: var(--hp-accent);
  border-radius: 2px;
}

.finger-group-header:first-child {
  margin-top: 0;
}

/* Preset buttons */
.preset-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
/* RE100:11 个按钮 3 列 4 行(覆盖通用 5 列) */
.hand-page.re100 .preset-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}


.preset-btn {
  background: transparent;
  border: 1px solid var(--hp-border);
  color: var(--hp-ink-secondary);
  padding: 11px 6px;          /* 2026-08-04:6px 3px → 11px 6px */
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, sans-serif;
  font-size: 12px;            /* 2026-08-04:10px→12px */
  font-weight: 500;
  line-height: 1.2;
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 44px;
}

.preset-btn:hover {
  border-color: var(--hp-accent);
  color: var(--hp-accent);
  background: var(--hp-accent-muted);
}

.preset-btn.active {
  border-color: var(--hp-accent);
  color: var(--hp-accent);
}

.mini-btn {
  background: var(--hp-accent);
  border: 1px solid var(--hp-accent);
  color: #fff;
  padding: 11px 6px;          /* 2026-08-04:升级 */
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.mini-btn:hover {
  border-color: var(--hp-accent);
  color: var(--hp-accent);
  background: var(--hp-accent-muted);
}

/* ---- Bridge Panel (RE100 only, keep CSS for future) ---- */
.bridge-panel {
  border-top: 1px solid var(--hp-divider);
  padding: 16px 20px;
  background: #fff;
  font-family: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, sans-serif;
  font-size: 13px;
  max-height: 35%;
  overflow-y: auto;
}

.bridge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  color: var(--hp-ink-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bridge-header:hover {
  color: var(--hp-ink-secondary);
}

.bridge-header .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
  flex-shrink: 0;
}

.bridge-header .dot.off { background: var(--hp-ink-faint); }
.bridge-header .dot.live { background: var(--hp-status-ok); }

.bridge-header .arrow {
  margin-left: auto;
  transition: transform 0.2s;
  font-size: 10px;
}

.bridge-header .arrow.open { transform: rotate(90deg); }

.bridge-body {
  margin-top: 8px;
  display: none;
}

.bridge-body.open { display: block; }

.bridge-row {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-bottom: 6px;
}

.bridge-row select {
  flex: 1;
  min-width: 0;
  background: var(--hp-surface-page);
  color: var(--hp-ink-primary);
  border: 1px solid var(--hp-border);
  border-radius: 4px;
  padding: 4px 5px;
  font-family: inherit;
  font-size: 10px;
}

.bridge-row select:focus {
  outline: none;
  border-color: var(--hp-accent);
}

.bridge-btn {
  background: transparent;
  border: 1px solid var(--hp-border);
  color: var(--hp-ink-secondary);
  padding: 3px 7px;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 10px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.15s;
}

.bridge-btn:hover {
  border-color: var(--hp-accent);
  color: var(--hp-accent);
}

.bridge-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.bridge-btn:disabled:hover {
  border-color: var(--hp-border);
  color: var(--hp-ink-secondary);
}

.bridge-badge {
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 3px;
  margin-left: auto;
}

.bridge-badge.ok {
  background: rgba(107,154,94,0.12);
  color: var(--hp-status-ok);
}

.bridge-badge.fail {
  background: rgba(198,108,91,0.1);
  color: var(--hp-status-err);
}

.bridge-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--hp-ink-muted);
}

.bridge-toggle input[type=checkbox] {
  accent-color: var(--hp-accent);
}

.bridge-log {
  margin-top: 6px;
  max-height: 42px;
  overflow-y: auto;
  font-size: 10px;
  color: var(--hp-ink-muted);
  line-height: 1.4;
  word-break: break-all;
}

/* ---- Toast Notification ---- */
.hand-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #fff;
  border: 1px solid var(--hp-accent);
  color: var(--hp-accent);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  z-index: 200;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.hand-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---- FPS Counter ---- */
#fps {
  position: fixed;
  bottom: 8px;
  right: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--hp-ink-muted);
  z-index: 50;
  pointer-events: none;
}


/* ---- 1100px 断点(填补桌面/平板空白区) ---- */
@media (max-width: 1100px) {
  .hand-hero h1 {
    font-size: 44px;
  }
  .hand-hero .hero-sub {
    font-size: 18px;
  }
  .hand-hero .hero-stat .stat-value {
    font-size: 24px;
  }
  .hand-hero {
    padding: 80px 20px 64px;
  }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hand-hero h1 {
    font-size: 40px;
  }
  .hand-hero .hero-sub {
    font-size: 16px;
  }
  .hand-hero .hero-stats {
    gap: 24px;
  }
  .hand-hero .hero-stat .stat-value {
    font-size: 22px;
  }
  .spec-table th {
    width: 120px;
    font-size: 13px;
  }
  .spec-table td {
    font-size: 13px;
  }
  .hand-hero {
    padding: 64px 20px 48px;
  }
}

@media (max-width: 600px) {
  .hand-hero h1 {
    font-size: 36px;
  }
  .spec-table th,
  .spec-table td {
    padding: 8px 10px;
    font-size: 12px;
  }
}

/* ---- Accessibility:尊重 prefers-reduced-motion ---- */
@media (prefers-reduced-motion: reduce) {
  .hand-hero,
  .hand-hero h1,
  .hand-hero .hero-sub,
  .hand-hero .hero-stats,
  .hand-hero .hero-cta {
    animation: none !important;
    transition: none !important;
  }
}

/* ================================================================
   产品详情对话框嵌入模式
   主页卡片通过 ?embedded=1 打开产品页时，只保留产品内容，
   隐藏产品页自己的导航和页脚，避免出现“双层页面框架”。
   ================================================================ */
html.is-embedded-product body {
  min-width: 0;
  background: var(--hp-surface-page, #fafaf9);
}

html.is-embedded-product body > .navbar,
html.is-embedded-product body > .footer {
  display: none !important;
}

html.is-embedded-product main {
  margin-top: 0;
}

/* 嵌入卡片保留 3D 交互、技术规格与核心优势，仅隐藏产品 Hero 宣传区。 */
html.is-embedded-product .hand-hero {
  display: none !important;
}

html.is-embedded-product .hand-layout {
  padding: clamp(16px, 2.2vw, 28px);
}

/* =================================================================
   2026-08-10 视觉升级:hero 入场编排 / stat 数字 / 规格表逐行 reveal
   ================================================================= */
@keyframes hpHeroRise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hand-hero .hero-badge,
.hand-hero h1,
.hand-hero .hero-sub,
.hand-hero .hero-stats,
.hand-hero .hero-cta {
  animation: hpHeroRise 820ms cubic-bezier(0.32, 0.72, 0, 1) both;
}
.hand-hero h1         { animation-delay: 90ms; }
.hand-hero .hero-sub  { animation-delay: 190ms; }
.hand-hero .hero-stats{ animation-delay: 300ms; }
.hand-hero .hero-cta  { animation-delay: 410ms; }

.hand-hero .stat-value {
  font-variant-numeric: tabular-nums;
}

/* 规格表逐行 reveal:JS 先加 .will-reveal 隐藏,进视口再加 .row-visible */
.spec-table tr {
  transition: opacity 480ms ease, transform 480ms cubic-bezier(0.32, 0.72, 0, 1);
}
.spec-table tr.will-reveal {
  opacity: 0;
  transform: translateY(10px);
}

@media (prefers-reduced-motion: reduce) {
  .hand-hero .hero-badge,
  .hand-hero .hero-stats { animation: none !important; }
  .spec-table tr.will-reveal { opacity: 1; transform: none; }
}

/* ---------- 液态金属按钮(iframe fx/liquid-metal-button.html,配合 fx/lm-bridge.js) ---------- */
.lm-btn { display: block; border: 0; background: transparent; width: var(--lm-w, 360px); max-width: 100%; height: 92px; margin: -10px 0; pointer-events: auto; } /* 配合 iframe data-pad=200 压缩辉光盒;max-width 防移动端溢出 */
