/* 网站附加样式：只补软件界面没有的「购买」入口，不改动原有布局 */
/* 顶部导航占位高度（全局统一） */
:root { --nav-h: 64px; }

/* 站内自托管字体子集（OFL 开源可商用），只包含页面用到的字符 */
@font-face {
  font-family: "PF3 Display";
  src: url("../assets/fonts/anton.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PF3 Sans";
  src: url("../assets/fonts/noto-sans-sc-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 浏览器窗口较小时（窄或矮），工作台整体等比缩小，避免预设名换行、介绍栏与导入页底部被裁切；
   大窗口保持软件原生的铺满布局，二者互不影响 */
body.ws-scaled { overflow: hidden; }
body.ws-scaled .workspace {
  position: fixed;
  left: 50%;
  /* 居中到导航栏下方的可用区域，避免被导航遮住 */
  top: calc(50% + var(--nav-h) / 2);
  width: 1440px;
  /* 小窗用 820 的紧凑设计高度，宽度利用率更高，左右不再留大空白 */
  height: var(--ws-h, 900px);
  margin: 0;
  transform: translate(-50%, -50%) scale(var(--ws-scale, 1));
  transform-origin: center center;
  background: transparent;
}

/* 宽窗口但可视高度不足 900：纵向自适应压缩，保证一屏显示、页面不滚动 */
@media (min-width: 1100px) and (max-height: 899px) {
  body:not(.ws-scaled) .topbar {
    flex: 0 0 clamp(72px, 10.7vh, 96px);
    height: clamp(72px, 10.7vh, 96px);
  }
  body:not(.ws-scaled) .preset-deck {
    flex: 0 0 clamp(120px, 18.5vh, 166px);
    height: clamp(120px, 18.5vh, 166px);
  }
  body:not(.ws-scaled) .preview-head {
    padding: clamp(8px, 2vh, 14px) 0 clamp(6px, 1.5vh, 8px);
  }
  body:not(.ws-scaled) .preview-head h2 {
    font-size: clamp(19px, 2.4vh, 22px);
  }
  /* 预设条整体下移，露出右上角机型名称 */
  body:not(.ws-scaled) {
    --deck-gap: clamp(0px, calc(102px - 10.7vh), 30px);
  }
  body:not(.ws-scaled) .preset-deck {
    margin-top: var(--deck-gap);
  }
  body:not(.ws-scaled) .info-panel {
    flex: 1 1 auto;
    height: auto;
    gap: clamp(8px, 1.4vh, 12px);
    padding-bottom: 14px;
  }
  /* 预设图标整体下移一点，和底板更居中；图标尺寸不变 */
  body:not(.ws-scaled) .dock-item {
    bottom: 40px;
  }
  /* 预设图标底板不再向上溢出到顶部页签；图标尺寸保持不变 */
  body:not(.ws-scaled) .dock::after {
    height: calc(var(--dock-icon, 60px) + 64px);
    border-radius: 22px;
  }
  /* 排序切换放回预设条上方，并再抬高一点，不贴框 */
  body:not(.ws-scaled) .sort-toggle {
    top: -36px;
    bottom: auto;
    left: 24px;
    padding: 2px;
  }
  body:not(.ws-scaled) .sort-btn {
    padding: 2px 14px;
    font-size: 10px;
  }
  /* 预设图标左下方的注释词保留（工坊的提示元素） */
  body:not(.ws-scaled) .deck-hint {
    display: block;
    left: 24px;
    bottom: -14px;
    font-size: 11.5px;
    letter-spacing: 0.06em;
  }
  /* 浏览器全屏：排序贴近预设框、图片顶部对齐、右侧介绍缩小上移 */
  body.ws-tall:not(.ws-scaled) .sort-toggle {
    top: -10px;
  }
  body.ws-tall:not(.ws-scaled) .shot-body {
    align-items: flex-start;
    padding-bottom: 16px;
  }
  body.ws-tall:not(.ws-scaled) .side-col {
    align-self: start;
    padding-bottom: 0;
  }
  /* 高度随文案内容自适应，完整显示，不再截断 */
  body.ws-tall:not(.ws-scaled) .info-panel {
    flex: none;
    height: auto;
    overflow: visible;
    gap: 8px;
    padding-bottom: 12px;
  }
  /* 图片贴向预览区底部，离版权更近 */
  body:not(.ws-scaled) .shot-body {
    align-items: flex-end;
    padding-bottom: 6px;
  }
  /* 右侧预设介绍向下铺满，底边略高于图片预览区底部 */
  body:not(.ws-scaled) .side-col {
    top: 0;
    align-self: stretch;
    padding-bottom: clamp(30px, 4.6vh, 46px);
  }
  body:not(.ws-scaled) .workspace {
    padding-bottom: 8px;
  }
  body:not(.ws-scaled) .app-footer {
    margin: 4px -18px -8px;
    padding: 4px 18px 6px;
  }
  body:not(.ws-scaled) .preview-view {
    padding-bottom: 4px;
  }
  /* 预设名保持单行，避免拥挤换行 */
  body:not(.ws-scaled) .dock-label {
    font-size: clamp(8px, 0.62vw, 9.5px);
    white-space: nowrap;
    -webkit-line-clamp: 1;
  }
  /* 导入教程只在右侧内容区内部滚动，卡片本身不滚动 */
  body:not(.ws-scaled) .import-view .tut-card {
    overflow: hidden;
  }
}

/* 大屏（≥1500px）下机型选择页放宽内容宽度，避免左右大片留白；1440 及以下保持软件原尺寸 */
@media (min-width: 1500px) {
  .model-screen .model-inner {
    max-width: min(92vw, 1700px);
  }
}

.foot-main .foot-buy {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(230, 0, 45, 0.5);
  background: rgba(230, 0, 45, 0.12);
  color: #ffb7c2;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.foot-main .foot-buy:hover {
  background: rgba(230, 0, 45, 0.24);
  border-color: rgba(230, 0, 45, 0.85);
  color: #fff;
}

/* ============================================================
   官网背景 · 绿蓝液态玻璃 + 三页统一导航
   ============================================================ */
body {
  background:
    radial-gradient(120% 90% at 50% 118%, rgba(6, 12, 16, 0.40), transparent 68%),
    linear-gradient(158deg, #56634b 0%, #44554c 34%, #34495d 68%, #273a50 100%);
}

/* 三页统一：绿蓝液态玻璃背景 */
body::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  /* 渐变本身就是柔和过渡，不再叠加全屏 blur（blur 会让每帧合成非常昂贵） */
  background:
    radial-gradient(42% 46% at 16% 6%, rgba(150, 168, 118, 0.42), transparent 70%),
    radial-gradient(38% 42% at 86% 10%, rgba(112, 152, 126, 0.34), transparent 72%),
    radial-gradient(46% 50% at 82% 90%, rgba(64, 104, 162, 0.40), transparent 74%),
    radial-gradient(42% 46% at 14% 94%, rgba(46, 82, 124, 0.36), transparent 74%),
    radial-gradient(56% 38% at 48% 44%, rgba(255, 255, 255, 0.06), transparent 70%);
  /* 只用位移做缓慢流动：不缩放不旋转，避免每帧重采样整屏图层；也不再叠加全屏 blur */
  filter: none;
  animation: glassFlow 44s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
  will-change: transform;
}
@keyframes glassFlow {
  0%   { transform: translate3d(-1.5%, -1%, 0); }
  50%  { transform: translate3d(1.5%, 1%, 0); }
  100% { transform: translate3d(-1%, 1.5%, 0); }
}

/* 进入工作台后暂停背景流动：
   预览页有大量 backdrop-filter 毛玻璃面板（预设条、样片栏、介绍卡），
   背景每动一帧它们就要重新做一次背景模糊，切换预设时会明显掉帧。 */
/* 预设库 / 导入机内：完全使用工坊软件的深色液态背景 */
body.ws-open {
  background:
    radial-gradient(120% 90% at 50% 118%, rgba(4, 6, 8, 0.5), transparent 68%),
    #0e1115;
}
body.ws-open::before {
  animation-play-state: paused;
  /* 左右上角的色光改成贴合机型页的绿色系，并加大羽化范围 */
  background:
    radial-gradient(46% 52% at 12% 4%, rgba(146, 168, 118, 0.48), transparent 74%),
    radial-gradient(42% 48% at 92% 2%, rgba(106, 148, 128, 0.40), transparent 76%),
    radial-gradient(46% 48% at 80% 92%, rgba(255, 140, 60, 0.13), transparent 76%),
    radial-gradient(42% 46% at 16% 94%, rgba(60, 220, 200, 0.12), transparent 76%),
    radial-gradient(60% 40% at 40% 0%, rgba(255, 255, 255, 0.04), transparent 76%);
  filter: blur(56px) saturate(112%);
}
/* 工作台四周压暗减一档，让左右上角的绿色光晕透出来 */
body.ws-open .app::after {
  background: radial-gradient(130% 100% at 50% 40%, transparent 58%, rgba(3, 8, 9, 0.34) 100%);
}

/* 预设库页面：左右面板与顶部预设条换成软件工坊的深色玻璃 */
body.ws-open .sample-rail,
body.ws-open .info-panel {
  /* 工坊的液态玻璃：低透明白渐变 + 背景模糊，随背后的色光微微变化 */
  background: linear-gradient(158deg,
    rgba(255, 255, 255, 0.11) 0%,
    rgba(255, 255, 255, 0.045) 34%,
    rgba(255, 255, 255, 0.02) 62%,
    rgba(255, 255, 255, 0.075) 100%);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 26px 54px -38px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
body.ws-open .dock::after {
  background: linear-gradient(180deg, rgba(12, 16, 19, 0.64) 0%, rgba(12, 16, 19, 0.46) 100%);
  border-color: rgba(255, 255, 255, 0.14);
}

/* 页脚 .foot-main 是定位元素且 DOM 在右侧栏之后，窗口较矮时会盖住卡片下沿，
   导致收藏 / 下载只有上沿能点到。抬高右侧栏层级，并让页脚不拦截点击。 */
body.ws-open .side-col { z-index: 6; }
body.ws-open .app-footer { pointer-events: none; }
body.ws-open .app-footer .foot-buy { pointer-events: auto; }
/* 预设介绍：作者行 */
body.ws-open .side-col .info-title { flex: 1 1 auto; width: 100%; }
/* 卡片高度由内容决定（描述区固定 5 行，所有预设高度一致），
   从根源上杜绝滚动条；描述 / 标题保持原位，下面的元素整体下移 */
body.ws-open .side-col .info-panel {
  gap: 6px;
  /* 底部留出内边距，让收藏 / 下载完整落在卡片边框以内 */
  padding: 12px 16px 10px;
  height: auto;
  /* 允许随内容增高，但绝不压缩：矮窗口下卡片会向下延伸，
     收藏 / 下载不会再被底边裁掉 */
  flex: 1 0 auto;
  /* 卡片保持原有高度：文案短的预设不会把卡片缩短，
     上方的适用场景 / 色调取样随文案上移，价格与按钮位置不变 */
  min-height: 414px;
  /* 裁掉按钮的彩色外发光，避免光晕越过卡片边框 */
  overflow: hidden;
}
/* 文案区跟随实际行数，不再固定 5 行高度 */
body.ws-open .side-col .info-desc { flex: 0 0 auto; font-size: 11.5px; line-height: 1.65; height: auto; overflow: visible; }
body.ws-open .side-col .info-desc + .info-block { margin-top: 22px; }
/* 两块内容之间收紧一点，把空间让给价格上方，避免价格贴着色块 */
body.ws-open .side-col .info-block + .info-block:not(.info-price-block) { margin-top: 6px; }
/* 价格行固定贴在按钮上方，不随上面文案的行数移动 */
body.ws-open .side-col .info-price-block {
  margin-top: auto;
  margin-bottom: 4px;
  border-left: 2px solid var(--accent);
  padding-left: 7px;
}
body.ws-open .side-col .side-actions { margin-top: 0; }
/* 价格 + 收藏 / 下载整体再上提一点（视觉位移，不影响上方文字排版） */
body.ws-open .side-col .info-price-block,
body.ws-open .side-col .side-actions { transform: translateY(-4px); }
.info-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}
/* 金额：只显示数字，左对齐；参照汉仪旗黑 105 的粗黑几何字形 */
.info-price {
  font-family: "Arial Black", "Segoe UI Black", "Helvetica Neue", Arial, "Microsoft YaHei UI", sans-serif;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  color: #ffbe1a;
  text-shadow: 0 0 12px rgba(255, 180, 20, 0.5), 0 1px 2px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}
.info-price-cur {
  margin-right: 1px;
  font-size: 0.82em;
}

/* 预设介绍底部两个入口：柔和风按钮
   红色 #e6002d（下载常驻、收藏点击后）；收藏默认玻璃 + 黄星
   16px 圆角、彩色柔光阴影，过渡 300ms */
body.ws-open .side-col .side-get,
body.ws-open .side-col .side-fav {
  border: 0;
  border-radius: 16px;
  height: 44px;
  cursor: pointer;
  color: #ffffff;
  transform-origin: center center;
  transition: background-color 0.16s ease, transform 0.16s ease-out;
}
/* 扩大点击热区：按钮四周各外扩，边缘 / 圆角处也能点到；视觉大小不变 */
body.ws-open .side-col .side-get::before,
body.ws-open .side-col .side-fav::before {
  content: "";
  position: absolute;
  inset: -7px -3px;
  border-radius: 22px;
  background: transparent;
}
/* 按钮增高后压缩分隔线到按钮的间距，保持卡片总高度不变 */
body.ws-open .side-col .side-actions { padding-top: 10px; }
body.ws-open .side-col .side-fav {
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 55%, rgba(255, 255, 255, 0.10) 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
body.ws-open .side-col .side-get {
  background-color: #e6002d;
  box-shadow: 0 10px 24px rgba(230, 0, 45, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
/* 星星常驻黄色 */
body.ws-open .side-col .side-fav .side-fav-icon { color: #f5c518; }
/* 悬停放大（只放大不上浮，避免按钮躲鼠标导致边缘点不中），光影同步加强 */
body.ws-open .side-col .side-fav:hover,
body.ws-open .side-col .side-get:hover {
  transform: scale(1.05);
}
body.ws-open .side-col .side-fav:hover {
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.12) 55%, rgba(255, 255, 255, 0.16) 100%);
}
body.ws-open .side-col .side-get:hover {
  background-color: #f2113b;
}
body.ws-open .side-col .side-fav:active,
body.ws-open .side-col .side-get:active {
  /* 按下不缩放，避免鼠标在边缘时因尺寸变化而丢失点击 */
  transform: none;
}
body.ws-open .side-col .side-fav:active {
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 55%, rgba(255, 255, 255, 0.08) 100%);
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
body.ws-open .side-col .side-get:active {
  background-color: #c60027;
  box-shadow: inset 0 4px 10px rgba(122, 0, 24, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
/* 已收藏：从玻璃切成纯红，星标保持黄色实心 */
body.ws-open .side-col .side-fav.on {
  background-color: #e6002d;
  box-shadow: 0 10px 24px rgba(230, 0, 45, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body.ws-open .side-col .side-fav.on:hover {
  background-color: #f2113b;
}
body.ws-open .side-col .side-fav.on:active {
  background-color: #c60027;
  box-shadow: inset 0 4px 10px rgba(122, 0, 24, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
/* 未缩放且窗口较矮时：保留文案间距，只压缩卡片底部留白，避免卡片底边超出视口 */
@media (min-width: 1100px) and (max-height: 715px) {
  body.ws-open:not(.ws-scaled) .side-col .info-panel { min-height: 404px; padding-bottom: 8px; }
  body.ws-open:not(.ws-scaled) .side-col .side-actions { padding-top: 4px; }
}
body.ws-open .side-col .side-fav.on .side-fav-icon svg { fill: currentColor; }
/* 按钮文字：原来的 10.5px 小字压在玻璃上会发灰，
   放大加粗并补一层极浅的暗投影，保证第一眼就能看清 */
body.ws-open .side-col .side-get .foot-get-text strong,
body.ws-open .side-col .side-fav .foot-get-text strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* 下载按钮右上角的订单数量角标 */
.wx-count-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  border: 2px solid #0d1014;
  background: #ffbe1a;
  color: #241a00;
  font-size: 11px;
  font-weight: 800;
  line-height: 15px;
  text-align: center;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* 页面背景已三页统一，工作台不再单独覆写 */

/* 四周压暗，让中心内容更聚焦，也和玻璃元素更贴合 */
.app::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(125% 95% at 50% 42%, transparent 52%, rgba(3, 8, 9, 0.55) 100%);
}

/* 细颗粒：只做质感，不改变整体明暗 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* 去掉 mix-blend-mode：它会让整屏在背景动画时每帧重新混合 */
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 启动页不再自带深色底，让液态背景透出；预设预览与导入页同理 */
.workspace {
  /* 导航高度 + 预设排序按钮上方的悬挂空间 */
  padding-top: calc(var(--nav-h) + 30px);
}
/* 缩放态整体已下移到导航下方，这里只保留排序按钮所需的空间 */
body.ws-scaled .workspace { padding-top: 30px; }
/* 全局预览：加大图片上下留白（行距 + 图名间距），预设名适度放大 */
.grid-view {
  gap: 16px 10px;
  padding: 10px 10px 20px 8px;
}
/* 预设介绍：描述区按内容自适应，不再预留多余的一行空白 */
.info-desc {
  height: auto;
  max-height: 112px;
}

/* 全局预览：给「图片 + 名字」加一层透明卡框，明确归属关系 */
.grid-cell {
  position: relative;
  padding: 6px 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.grid-cell:not(.active):hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
}
.grid-cell canvas { border-radius: 8px; margin-bottom: 8px; }
.grid-cell span {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  /* 名称靠左，价格放到同一行右侧 */
  text-align: left;
  padding-right: 56px;
}
.grid-cell .grid-price {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #ffbe1a;
  text-shadow: 0 0 8px rgba(255, 180, 20, 0.35);
  white-space: nowrap;
}

/* ============================================================
   获取弹窗：左侧预设清单（图标 + 价格）、收藏优先按热度排序、合计
   ============================================================ */
.wx-card.with-favs { width: 980px; max-width: 96vw; height: auto; max-height: 94vh; padding: 18px 20px; }
.wx-pick {
  display: flex;
  flex-direction: column;
  width: 576px;
  min-width: 0;
  padding-right: 14px;
  border-right: 1px solid var(--line);
}
.wx-pick-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4px;
}
.wx-pick-head strong { font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; }
.wx-pick-list {
  /* 两列分行排列，20 个预设一次展示完，不做内部滚动 */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  padding: 2px 6px 2px 0;
}
.wx-pick-list::-webkit-scrollbar { width: 6px; }
.wx-pick-list::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.04); border-radius: 3px; }
.wx-pick-list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.22); border-radius: 3px; }
.wx-pick-list::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.38); }
.wx-pick-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-align: left;
  transition: background 0.16s, border-color 0.16s;
}
.wx-pick-item:hover { background: rgba(255, 255, 255, 0.05); }
.wx-pick-item.on { background: rgba(230, 0, 45, 0.12); border-color: rgba(230, 0, 45, 0.4); }
.wx-pick-item img {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
}
/* 分组标题：已收藏 / 其他预设 */
.wx-pick-group {
  grid-column: 1 / -1;
  margin: 7px 0 1px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--faint);
}
.wx-pick-group:first-child { margin-top: 0; }
.wx-pick-name {
  flex: 0 1 auto;
  max-width: 58%;
  min-width: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wx-pick-fav { flex: none; font-style: normal; font-size: 11px; color: #f5c518; }
.wx-pick-price { flex: none; font-size: 13px; font-weight: 700; color: #ffbe1a; white-space: nowrap; }
.wx-pick-check {
  flex: none;
  margin-left: auto;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  position: relative;
}
.wx-pick-item.on .wx-pick-check { background: #e6002d; border-color: #e6002d; }
.wx-pick-item.on .wx-pick-check::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 1.5px;
  width: 4px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.wx-pick-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.wx-pick-foot span { font-size: 11px; color: var(--muted); }
.wx-pick-foot strong { font-size: 17px; font-weight: 800; color: #ffbe1a; }

.preview-head h2 .preview-price {
  margin-left: 12px;
  font-size: max(15px, 0.72em);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffbe1a;
  vertical-align: middle;
  text-shadow: 0 0 12px rgba(255, 180, 20, 0.35);
  white-space: nowrap;
}

/* 小窗缩放态：图片顶部上移到与右侧预设介绍面板齐平，不再居中留空 */
body.ws-scaled .shot-body { align-items: flex-start; padding: 14px 0 0; }
body.ws-scaled .side-col { padding-bottom: 10px; }
/* 小窗：预设名保持原位，只放大字号；位置靠图片上移来靠近 */
body.ws-scaled .preview-head { padding: 8px 0 12px; }
body.ws-scaled .preview-head h2 { font-size: 34px; }
/* 小窗缩放态：介绍面板按 JS 算出的位移整体下滑，底边对齐图片预览区；
   位移写在缩放态选择器里，离开缩放态自动失效，不会残留到大窗 */
body.ws-scaled .info-panel { transform: translateY(var(--panel-shift, 0px)); }
/* 小窗缩放态：排序切换两个按钮统一行盒，文字水平垂直居中，避免高低差 */
body.ws-scaled .sort-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 20px;
  line-height: 1;
}
/* 小窗缩放态：右下数量注释与左侧提示词同字号、同底边，基线对齐 */
body.ws-scaled .deck-hint,
body.ws-scaled .deck-note {
  bottom: -15px;
  font-size: 13px;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
/* 「热」的灬笔画自带下沉，小窗缩放下底部比「按/度」低 1px，
   单独上提一点让三个字的底边齐平（大窗缩放比为 1，不做位移） */
.sort-glyph { display: inline-block; }
body.ws-scaled .sort-glyph { transform: translateY(-1.5px); }

.site-header .model-box {
  position: absolute;
  right: 26px;
  /* 不再受导航条高度限制，从导航上沿开始向下自然展开 */
  top: 2px;
  transform: none;
  display: flex;
  margin: 0;
  pointer-events: auto;
}
/* 机型选择页不显示右上角机型图，进入预设库 / 导入机内后才出现 */
body:not(.ws-open) .site-header .model-box { display: none; }
/* 未选择机型时，右上角机型区整体留空 */
body.no-model .site-header .model-box { display: none; }

.model-screen {
  background: transparent;
  /* 机型页不允许出现任何滚动条，内容按一屏排布 */
  overflow: hidden;
  justify-content: safe center;
  /* 顶部为全局导航让出位置，内容不会被盖住 */
  padding-top: calc(var(--nav-h) + 10px);
}

/* 字标：Anton，白色约 65% 透明，按内容宽度居中 */
.model-wordmark {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  font-family: "PF3 Display", "Anton", "Arial Narrow", Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(48px, min(12vw, 18.5vh), 200px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.36);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.model-screen .model-brand {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-bottom: 0;
  display: flex;
  justify-content: center;
}
.model-screen .model-wordmark { flex: 0 0 auto; }

/* 标题：Noto Sans SC 加粗 */
.model-screen .model-title {
  font-family: "PF3 Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, min(4.8vw, 7.8vh), 78px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-top: 0.02em;
}

/* 副标题：细字重 + 宽字距，与上下两级拉开层次 */
.model-screen .model-sub {
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 300;
  font-size: clamp(12px, min(1.35vw, 2.1vh), 21px);
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 8px;
  margin-bottom: 18px;
}

/* 系列分类按钮：边框加粗、悬停与选中更醒目 */
.model-screen .cat-tabs .cat-item {
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.30);
}
/* 悬停（待选择）：不出现红框，整块放大 */
.model-screen .cat-tabs .cat-item {
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.model-screen .cat-tabs .cat-item:hover {
  border-color: rgba(255, 255, 255, 0.30);
  transform: scale(1.045);
  z-index: 2;
}
/* 已选中：红框保持，悬停也不变 */
.model-screen .cat-tabs .cat-item.active,
.model-screen .cat-tabs .cat-item.active:hover { border-color: #ff2b47; }

/* 微单系列：机型略少，图标与名称同步放大，画面更饱满 */
.model-screen.dense.cat-mirrorless { --model-pic: clamp(46px, 6.6vh, 66px); }
.model-screen.cat-mirrorless .model-name { font-size: 12px; }

/* 密集系列（微单/单反）：图标略放大，10 列排布保持一屏 */
.model-screen.dense { --model-pic: clamp(36px, 5.4vh, 52px); }
.model-screen.dense .model-chips {
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: clamp(6px, 1.2vh, 12px) 9px;
}

/* 顶部三段文字固定：只有机型面板内部滚动，切换系列时上方内容不位移 */
.model-screen .model-inner {
  min-height: 0;
  /* 保持与之前一致的纵向位置，同时不随系列切换移动 */
  padding-top: clamp(4px, 2.5vh, 28px);
}
.model-screen .model-select { flex: 1 1 auto; min-height: 0; }
.model-screen .model-panel { flex: 0 1 auto; min-height: 0; overflow: hidden; }
.model-screen .model-chips {
  flex: 1 1 auto;
  min-height: 0;
  /* 允许悬停描边完整显示，不被容器裁掉顶部 */
  overflow: visible;
}

/* 悬停：快速放大 + 红框光晕，并置顶避免被相邻卡片压住 */
.model-screen .model-card {
  transform-origin: center;
  transition: transform 0.1s cubic-bezier(0.22, 0.8, 0.3, 1),
              border-color 0.1s ease,
              box-shadow 0.1s ease;
  will-change: transform;
}
.model-screen .model-card:hover {
  z-index: 3;
  transform: scale(1.12);
  border-color: #ff1f3d;
  box-shadow: 0 0 0 1px rgba(255, 31, 61, 0.9), 0 14px 26px -16px rgba(230, 0, 45, 0.7);
}

/* 首页右上角版本号（导航已抽离为全局） */
.model-top-right {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
}
/* 全站顶部导航：通栏吸顶条 + 下划线选中态 */
/* 顶部导航：悬浮胶囊样式（参考图），整条背景透明，只有胶囊本身是玻璃 */
.site-header {
  position: fixed;
  inset: 8px 0 auto 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 2.6vw, 40px);
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 50;
  pointer-events: none;
}
/* 手机端右上角的「样图条」，桌面隐藏 */
.mobile-sample,
.ms-strip { display: none; }
/* logo 独立放在最左，不再和页签同处一个胶囊 */
.site-logo {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}
.site-logo img {
  display: block;
  height: clamp(34px, 4.8vh, 42px);
  width: auto;
  border-radius: 9px;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.55);
}
/* 页签胶囊：绝对居中于导航条 */
.site-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  height: auto;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.10) 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 14px 34px -22px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.30);
}
.site-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* 三个按键等宽：不再按文字长度拉开，整体更规整 */
  min-width: 118px;
  padding: 10px 22px;
  font-family: "Source Han Sans SC", "Noto Sans SC", "思源黑体", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  font-size: clamp(15px, 1.12vw, 16.5px);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
  background: transparent;
  border: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.site-nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
/* 选中态：半透明底 + 细亮边，不再用黑色实心胶囊 */
.site-nav-item.is-active {
  color: #ffffff;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}
.site-nav-item.is-active:hover {
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

/* 文字单独缩放：悬停放大，切换页面时当前项再弹一下 */
.nav-label {
  display: inline-block;
  transform-origin: center center;
  transition: transform 0.24s cubic-bezier(0.22, 0.9, 0.3, 1);
  will-change: transform;
}
.site-nav-item:not(.is-active):hover .nav-label {
  transform: scale(1.08);
}
.site-nav-item.is-active .nav-label {
  transform: scale(1.09);
  animation: navPop 0.38s cubic-bezier(0.3, 0.9, 0.3, 1);
}
@keyframes navPop {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.16); }
  100% { transform: scale(1.09); }
}

/* 右上角机型：机身图在上、名称在下，去掉更换机型按钮 */
.site-header .model-chip {
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
  max-width: none;
}
.site-header .chip-name {
  margin-top: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: #f2f6f4;
  letter-spacing: 0.04em;
}
.site-header .chip-icon {
  flex: 0 0 auto;
  /* 随视口高度自适应：900 高约 88px，1080 高封顶 96px，矮屏自动缩小避免压到内容 */
  width: calc(clamp(56px, 9.6vh, 96px) * 1.667);
  height: clamp(56px, 9.6vh, 96px);
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
}
.site-header .chip-icon svg {
  width: clamp(56px, 9.6vh, 96px);
  height: clamp(56px, 9.6vh, 96px);
}
.site-header .chip-photo {
  width: calc(clamp(56px, 9.6vh, 96px) * 1.667);
  height: clamp(56px, 9.6vh, 96px);
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.30));
}
.site-header .model-chip:hover .chip-name { color: #ff8b9b; }

/* 矮屏兜底：单反等长列表放不下时从顶部开始排列，避免顶到导航 */
@media (max-height: 760px) {
  .model-screen { justify-content: flex-start; }
}

/* 中等宽度：页签收紧，避免和左右两侧重叠 */
@media (max-width: 1180px) {
  .site-nav { gap: 10px; }
  .site-nav-item { min-width: 96px; padding: 8px 16px; font-size: 13.5px; }
}

/* 小窗 / 矮屏：导航整体缩小一档，但不会缩到看不清 */
@media (max-width: 900px), (max-height: 720px) {
  :root { --nav-h: 52px; }
  .site-logo img { height: 28px; border-radius: 7px; }
  .site-header .chip-name { font-size: 11.5px; }
  .site-nav { gap: 8px; padding: 4px 10px; }
  .site-nav-item { min-width: 84px; padding: 7px 12px; font-size: 13px; letter-spacing: 0.06em; }
  .site-header .model-box { right: 16px; transform: scale(0.82); transform-origin: right top; }
}


/* 购买弹窗 v2：左侧「已选择 / 其他预设」两区（每行 5 个），右侧支付面板 */
.wx-card.with-favs { width: 1000px; max-width: 96vw; height: auto; max-height: 94vh; padding: 18px 20px; }
.wx-pick {
  width: 600px;
  padding-right: 16px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wx-sec { display: flex; flex-direction: column; gap: 6px; }
.wx-sec-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}
.wx-sec-title::before {
  content: "";
  width: 3px;
  height: 13px;
  border-radius: 2px;
  background: #e6002d;
}
.wx-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}
.wx-tiles-selected { min-height: 86px; }
.wx-sec-empty {
  grid-column: 1 / -1;
  min-height: 86px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
}
.wx-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px 6px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.15s, border-color 0.15s;
}
.wx-tile:hover { background: rgba(255, 255, 255, 0.07); }
.wx-tile.on { border-color: rgba(230, 0, 45, 0.6); background: rgba(230, 0, 45, 0.14); }
.wx-tile-icon { position: relative; width: 38px; height: 38px; }
.wx-tile-icon img { display: block; width: 38px; height: 38px; border-radius: 8px; object-fit: cover; }
.wx-tile-fav {
  position: absolute;
  right: -5px;
  top: -6px;
  font-style: normal;
  font-size: 10px;
  color: #f5c518;
  text-shadow: 0 0 6px rgba(255, 200, 40, 0.8);
}
.wx-tile-name {
  max-width: 100%;
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wx-tile-price { font-size: 13px; font-weight: 800; line-height: 1.2; color: #ffc93c; letter-spacing: 0.01em; }
.wx-tile-price .wx-tile-cur { font-style: normal; }

/* 右侧支付面板 */
.wx-pay { width: 100%; text-align: left; align-items: stretch; }
.wx-order {
  margin: 14px 0 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wx-order-row { display: flex; align-items: baseline; justify-content: space-between; font-size: 12px; color: var(--muted); }
.wx-order-row strong { font-size: 12.5px; color: var(--text); }
.wx-order-total strong { font-size: 22px; font-weight: 800; color: #ffbe1a; }
.wx-methods { display: flex; gap: 8px; margin-bottom: 10px; }
.wx-method {
  flex: 1;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  color: #cfd5dd;
  transition: background 0.16s, border-color 0.16s, color 0.16s;
}
.wx-method.on { border-color: rgba(7, 193, 96, 0.7); background: rgba(7, 193, 96, 0.14); color: #7df0b3; }
.wx-pay-btn {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  background: #e6002d;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(230, 0, 45, 0.3);
  transition: background 0.16s;
}
.wx-pay-btn:hover { background: #f2113b; }
.wx-pay-all {
  width: 100%;
  height: 44px;
  margin-top: 0;
  border: 0;
  border-radius: 12px;
  background: #e6002d;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 18px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(230, 0, 45, 0.3);
  transition: background 0.16s;
}
.wx-pay-all:hover { background: #f2113b; }
.wx-pay-all .wx-all-price {
  justify-self: start;
  font-size: 18px;
  font-weight: 800;
  color: #ffe08a;
  letter-spacing: 0.02em;
}
.wx-pay-hint { min-height: 16px; margin-top: 8px; font-size: 11px; line-height: 1.5; color: #ff9aa8; }
/* 购买选中按钮：金额嵌在按钮左侧，支付方式在按钮下方 */
.wx-pay-btn {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 18px;
  text-align: center;
}
.wx-pay-btn .wx-pay-sum {
  justify-self: start;
  font-size: 18px;
  font-weight: 800;
  color: #ffe08a;
  letter-spacing: 0.02em;
}
.wx-pay-label { justify-self: center; }
/* 购买按钮左侧：金额与已选数量同一行（数量仅手机端显示） */
.wx-pay-left { justify-self: start; display: flex; flex-direction: row; align-items: baseline; gap: 5px; line-height: 1.05; }
.wx-pay-sel { display: none; font-style: normal; }
/* 购买动作整合成一组：购买选中 + 全套购买 */
/* 两个购买按钮之间留更大间距；下方支付方式与售后卡随之整体下移 */
.wx-buy-group { display: flex; flex-direction: column; gap: 16px; margin-top: 12px; }
.wx-buy-group .wx-pay-btn { width: 100%; }
.wx-buy-group .wx-pay-all { margin-top: 0; }
/* 两个购买按钮：悬停柔和放大、按下回弹；切换购买模式时轻微弹一下 */
.wx-buy-group .wx-pay-btn,
.wx-buy-group .wx-pay-all {
  transform-origin: center center;
  transition: background 0.18s ease,
              transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.22s ease;
}
.wx-buy-group .wx-pay-btn:hover,
.wx-buy-group .wx-pay-all:hover { transform: scale(1.03); }
.wx-buy-group .wx-pay-btn:active,
.wx-buy-group .wx-pay-all:active { transform: scale(0.985); }
@keyframes wxBtnPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.055); }
  100% { transform: scale(1); }
}
.wx-buy-group.is-pop .wx-pay-btn,
.wx-buy-group.is-pop .wx-pay-all {
  animation: wxBtnPop 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
/* 全套购买按钮里的价格用黄色 */
.wx-all-price { color: #ffe08a; font-weight: 800; }
.wx-methods { margin-top: 10px; }
.wx-sub-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(64, 104, 162, 0.18), rgba(146, 168, 118, 0.12));
}
.wx-sub-info { display: flex; flex-direction: column; gap: 2px; }
.wx-sub-info strong { font-size: 12px; color: #fff; }
.wx-sub-info span { font-size: 10.5px; color: var(--muted); }
.wx-sub-btn {
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
/* 售后与订阅更新：说明浮层 */
/* 售后浮层：整页统一压暗，面板浮在页面中央，与页面背景自然融合 */
.wx-sub-detail {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-radius: 0;
  background: rgba(5, 8, 12, 0.6);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
/* 导入教程页右下角入口：固定在整体界面右下角，不进入教程框内 */
.imp-sub-entry {
  position: fixed;
  right: 24px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 7px 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
  box-shadow: 0 10px 26px -18px rgba(0, 0, 0, 0.8);
}
.imp-sub-entry[hidden] { display: none; }
.imp-sub-entry strong { font-size: 11px; font-weight: 600; color: #fff; }
.imp-sub-btn {
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: #111;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}
.wx-sub-detail[hidden] { display: none; }
.wx-sub-panel {
  position: relative;
  width: min(540px, 100%);
  max-height: 82%;
  overflow-y: auto;
  padding: 22px 24px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #14181e;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  text-align: left;
}
.wx-sub-panel h5 { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: #fff; }
.wx-sub-panel ol { margin: 0; padding-left: 18px; color: #cfd5dd; font-size: 12.5px; line-height: 1.8; }
.wx-sub-panel li { margin-bottom: 12px; }
.wx-sub-panel li:last-child { margin-bottom: 0; }
.wx-sub-panel b { color: #ffbe1a; font-weight: 700; }
.wx-sub-note { color: #9aa4ae; }
.wx-copy-mini {
  margin-left: 8px;
  height: 21px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 26, 0.4);
  background: rgba(255, 190, 26, 0.12);
  color: #ffbe1a;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  vertical-align: 1px;
  transition: background 0.16s, border-color 0.16s;
}
.wx-copy-mini:hover { background: rgba(255, 190, 26, 0.24); border-color: rgba(255, 190, 26, 0.6); }
.wx-sub-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 23px;
  font-weight: 500;
  line-height: 33px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: background 0.16s, border-color 0.16s, transform 0.16s;
}
.wx-sub-close:hover { background: #e6002d; border-color: #e6002d; transform: scale(1.06); }

/* 弹窗关闭按钮更醒目：胶囊 + 文字 */
.wx-close {
  top: 12px;
  right: 12px;
  width: auto;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.13);
  color: #eaeef3;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.16s, border-color 0.16s, color 0.16s;
}
.wx-close:hover { background: rgba(255, 255, 255, 0.24); border-color: rgba(255, 255, 255, 0.32); color: #fff; }
.wx-close svg { width: 11px; height: 11px; }

/* 预设卡片：悬停放大 + 选中绿勾 */
.wx-tile {
  position: relative;
  transition: transform 0.18s ease-out, background 0.15s, border-color 0.15s;
}
.wx-tile:hover { transform: scale(1.06); z-index: 3; }
.wx-tile-ok {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #e6002d;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(230, 0, 45, 0.45), 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* 弹窗返回按钮移到左上角；窗口顶部留出按钮空间，比例更舒展 */
.wx-card.with-favs { width: 1020px; padding: 46px 22px 18px; }
.wx-pick { width: 616px; }
.wx-close {
  left: 14px;
  right: auto;
  top: 12px;
}
.wx-close svg { width: 13px; height: 13px; }
/* 悬停放大更明显 */
.wx-tile:hover { transform: scale(1.12); }

/* 弹窗再向左扩展；返回按钮固定在左上角并更醒目；悬停放大再加强 */
.wx-card.with-favs { width: 1100px; padding: 48px 22px 18px; }
.wx-pick { width: 692px; }
.wx-close {
  left: 16px;
  right: auto;
  top: 12px;
  height: 32px;
  padding: 0 14px;
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.26);
}
.wx-close svg { width: 14px; height: 14px; }
.wx-tile:hover { transform: scale(1.2); z-index: 5; }

/* 左栏自适应，窄窗口下不会被固定宽度撑破 */
.wx-card.with-favs .wx-pick { width: auto; flex: 1 1 auto; min-width: 0; }
.wx-card.with-favs .wx-main.wx-pay { flex: 0 0 344px; width: auto; min-width: 0; }

/* 弹窗再放宽，网格间距加大，避免放大时边框互相压住 */
.wx-card.with-favs { width: 1260px; }
.wx-tiles { gap: 14px 14px; }
.wx-tile:hover {
  transform: scale(1.25);
  z-index: 6;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
}
/* 返回按钮回到右上角 */
.wx-close { left: auto; right: 16px; top: 12px; }

/* 悬停放大改为在间距内完成：加大网格间距 + 适度缩放，边框不再互相压住 */
.wx-card.with-favs { width: 1310px; }
.wx-tiles { gap: 16px 30px; }
.wx-tile:hover {
  transform: scale(1.18);
  z-index: 6;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

/* 放大不再压到上方分区标题；弹窗再放宽；返回键放到左上角（在标题右侧一点） */
.wx-card.with-favs { width: 1400px; padding: 52px 22px 18px; }
.wx-sec { gap: 12px; }
.wx-close { left: 36px; right: auto; top: 14px; }

/* 返回键放到卡片最左上角，比预设网格的左边界更靠左 */
.wx-card.with-favs .wx-close { left: 14px; right: auto; top: 12px; }

/* 与参考图一致：返回键贴卡片左上角，预设区在其右下开始 */
.wx-card.with-favs .wx-close { left: 10px; top: 10px; }

/* 返回键独占左上角，预设内容整体在它右侧；同时收窄预设区，左右边距不再拉那么长 */
.wx-card.with-favs {
  width: 1180px;
  padding: 52px 22px 18px 104px;
}

/* 购买弹窗：按住空白处可自由拖动 */
.wx-card { cursor: grab; }
.wx-card.is-dragging { cursor: grabbing; }
body.wx-dragging { user-select: none; -webkit-user-select: none; }

/* 右侧支付面板：全套购买 + 优惠说明 + 支付图标 */

/* 全套购买名字右侧的「后续更新」标签：更小、更轻，与按钮主字区分 */
.wx-update-tag {
  display: inline-block;
  margin-left: 7px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 26, 0.65);
  background: rgba(255, 190, 26, 0.18);
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #ffd23f;
  vertical-align: 1px;
}
.wx-method { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.pay-ico {
  width: 18px; height: 18px; border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 10.5px; font-weight: 700; color: #fff;
}
.pay-ico.wechat { background: #07c160; }
.pay-ico.alipay { background: #1677ff; }

/* 全套展示模式：隐藏分组标题、裁剪扇形动画、禁用卡片点击 */
.wx-sec-title { transition: opacity 0.22s ease; }
.wx-pick.wx-full { overflow: hidden; }
.wx-pick.wx-full .wx-sec-title { opacity: 0; }
.wx-pick.wx-full .wx-tile { pointer-events: none; }
/* 全套已选中：底部按钮压暗，视觉重心让给上方的「全套购买」 */
.wx-pay-all.on {
  border-color: transparent;
  background: #5c0011;
  color: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}
.wx-pay-all.on .wx-pay-label { opacity: 0.85; }
.wx-pay-all.on:hover { background: #740016; }

/* 全套模式：只留放大的图标 + 一个大对勾 + 下方取消按钮 */
.wx-pick { position: relative; }
.wx-full-ui { display: none; position: absolute; inset: 0; pointer-events: none; }
.wx-pick.wx-full .wx-full-ui { display: block; }
.wx-full-badge {
  position: absolute; left: 50%; top: 50%;
  /* 等全部图标聚拢完成后再淡入：默认透明、缩小，由 .is-in 触发 */
  transform: translate(48px, -100px) scale(0.6);
  opacity: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(7, 193, 96, 0.72);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; font-weight: 700;
  box-shadow: 0 0 0 2px rgba(7, 193, 96, 0.22), 0 8px 20px rgba(7, 193, 96, 0.32);
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.25);
}
.wx-full-ui.is-in .wx-full-badge {
  opacity: 1;
  transform: translate(48px, -100px) scale(1);
}
.wx-full-cancel {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, 76px);
  pointer-events: auto;
  height: 38px; padding: 0 34px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff; font-size: 14px; font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  transition: background 0.16s, border-color 0.16s, transform 0.16s;
}
.wx-full-cancel:hover { background: rgba(255, 255, 255, 0.26); border-color: rgba(255, 255, 255, 0.6); }
.wx-pick.wx-full .wx-tile { border-color: transparent; background: transparent; box-shadow: none; }
.wx-pick.wx-full .wx-tile-name,
.wx-pick.wx-full .wx-tile-price { visibility: hidden; }
.wx-pick.wx-full .wx-tile-ok,
.wx-pick.wx-full .wx-tile-fav { display: none; }
/* 图标放大只用绝对定位的图片，不改变格子尺寸（全套/普通页高度一致，
   切换时弹窗边框不会突然变大） */
.wx-pick.wx-full .wx-tile-icon img {
  position: absolute;
  left: 50%; top: 50%;
  width: 96px; height: 96px;
  margin: -48px 0 0 -48px;
  border-radius: 18px;
  transition: none;
}

.wx-tile-icon, .wx-tile-icon img { transition: width 0.22s ease, height 0.22s ease, border-radius 0.22s ease; }

/* 右侧「已选」独立区域 */
.wx-cart {
  margin: 12px 0 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(230, 0, 45, 0.32);
  background: linear-gradient(160deg, rgba(230, 0, 45, 0.10), rgba(255, 255, 255, 0.03));
  /* 固定为装下 20 个预设（3 行缩略图）的高度，切换/取消全套时不再伸缩 */
  height: 176px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wx-cart-head { display: flex; align-items: baseline; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.wx-cart-head strong { font-size: 18px; font-weight: 800; color: #ffbe1a; letter-spacing: 0.01em; text-shadow: 0 2px 10px rgba(255, 190, 26, 0.35); }
/* 已选缩略图带名称（无价格），超出固定高度时在框内上下滚动 */
.wx-cart-slots {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
  align-content: flex-start;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}
.wx-cart-slots::-webkit-scrollbar { width: 5px; }
.wx-cart-slots::-webkit-scrollbar-track { background: transparent; }
.wx-cart-slots::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.22); border-radius: 3px; }
.wx-cart-empty { margin: auto; font-size: 11px; color: var(--faint); }
.wx-cart-chip {
  width: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.wx-cart-chip img { display: block; width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.wx-cart-name {
  width: 100%;
  font-size: 10px;
  line-height: 1.35;
  color: #cfd5dd;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wx-cart-more { align-self: center; font-size: 10.5px; color: var(--faint); }

/* 飞入已选的纸飞机元素 */
.wx-fly { position: fixed; z-index: 9999; pointer-events: none; border-radius: 8px; object-fit: cover; }

/* 已收藏分区：独立光影与边框，和其他预设区分 */
.wx-sec-fav {
  /* 收紧内边距与标题间距，让金色边框更贴合图标 */
  padding: 8px 10px 8px;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 190, 26, 0.18);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(255, 190, 26, 0.10), transparent 62%),
    linear-gradient(160deg, rgba(255, 190, 26, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* 单独购买：图标放大，悬停放大仍在间距内 */
.wx-tile-icon { width: 44px; height: 44px; }
.wx-tile-icon img { width: 44px; height: 44px; border-radius: 9px; }
.wx-tile { padding: 9px 4px 7px; gap: 3px; }
.wx-tile-name { font-size: 10.5px; }
.wx-tiles { gap: 14px 24px; }

/* 图标再放大（卡片边框尺寸基本不变），并拉开卡片底部与最后一行的距离 */
.wx-card.with-favs { padding: 52px 22px 28px 104px; }
.wx-tile-icon, .wx-tile-icon img { width: 54px; height: 54px; }
.wx-tile-icon img { border-radius: 10px; }
.wx-tile { padding: 6px 4px 4px; gap: 2px; }

/* 全套动画期间关闭卡片自身的过渡，避免与 WAAPI 互相干扰 */
.wx-pick.wx-full .wx-tile { transition: none; }

/* 矮窗口（笔记本常见视口高度）：整体压缩，保证最后一行图标不溢出弹窗 */
@media (max-height: 760px) {
  .wx-card.with-favs { padding: 44px 22px 18px 104px; }
  .wx-tile-icon, .wx-tile-icon img { width: 42px; height: 42px; }
  .wx-tile { padding: 4px 4px 3px; gap: 2px; }
  .wx-tiles { gap: 10px 20px; }
  .wx-sec-fav { padding: 6px 8px 6px; }
  .wx-cart { height: 158px; }
  .wx-cart-slots { min-height: 0; gap: 7px 5px; }
  .wx-cart-chip { width: 54px; }
  .wx-cart-chip img { width: 32px; height: 32px; }
}

/* 普通购买页：裁剪已收藏区的悬停放大与投影，避免压住金色边框；
   全套模式下不裁剪，否则聚拢动画里的收藏图标会被截掉 */
.wx-pick:not(.wx-full) .wx-sec-fav { overflow: hidden; }
/* 已收藏区悬停放大收敛一点，避免图标边框撑得过大 */
.wx-pick:not(.wx-full) .wx-sec-fav .wx-tile:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* 全套模式：只隐藏收藏区边框光影，标题与占位保留在布局里，
   使进入 / 退出全套时卡片高度完全不变；对勾置顶；取消按钮下移 */
.wx-pick.wx-full .wx-sec-fav {
  border-color: transparent;
  background: none;
  box-shadow: none;
}
/* 没有收藏时，已收藏区的虚线占位只做视觉隐藏、保留占位高度 */
.wx-pick.wx-full .wx-sec-empty { visibility: hidden; }
.wx-full-badge { z-index: 999; }
.wx-full-cancel { transform: translate(-50%, 148px); }

/* 全套 UI（对勾 / 取消）浮在堆叠图标之上，确保可点 */
.wx-pick .wx-full-ui { z-index: 60; }

/* ============================================================
   导入至机内 · 纯教程页
   ============================================================ */
.imp-doc {
  flex: 1;
  min-height: 0;
  width: 100%;
  /* 大屏放宽教程页，避免左右大片留白 */
  max-width: min(1600px, 96%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* 教程卡：标题横跨顶部，下面左侧竖排步骤导航、右侧滚动教程内容 */
.imp-doc .tut-card {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 192px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 16px 18px;
  padding: 20px 22px 18px;
}
/* 教程头部：标题居中，机型名跟在标题后面 */
.tut-head {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}
.imp-doc .tut-head { grid-column: 1 / -1; }
.imp-doc .tut-nav { grid-column: 1; grid-row: 2; }
.imp-doc .tut-body { grid-column: 2; grid-row: 2; min-height: 0; }
.imp-doc .tut-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  text-align: center;
  font-size: 21px;
  letter-spacing: 0.04em;
}
.tut-model {
  flex: none;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #c9d2dd;
  white-space: nowrap;
}
/* 软件安装步骤里的下载入口 */
.tut-dl-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.tut-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 12px;
  border: 1px solid rgba(230, 0, 45, 0.7);
  background: linear-gradient(180deg, rgba(230, 0, 45, 0.5), rgba(230, 0, 45, 0.22));
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 10px 26px -12px rgba(230, 0, 45, 0.65);
  transition: transform 0.2s cubic-bezier(0.22, 0.9, 0.24, 1), border-color 0.2s, background 0.2s;
}
.tut-dl-btn svg { width: 21px; height: 21px; }
.tut-dl-btn:hover {
  border-color: rgba(230, 0, 45, 0.8);
  background: linear-gradient(180deg, rgba(230, 0, 45, 0.34), rgba(230, 0, 45, 0.14));
  transform: translateY(-1px);
}
.tut-dl-btn:active { transform: scale(0.97); }

/* 彩色字标图片仅手机端使用，桌面沿用原来的 Anton 白色字标 */
.mw-image { display: none; }
.model-title-img { display: none; }
.sub-mobile { display: none; }

/* ============================================================
   手机 / 平板适配（≤900px）
   思路：取消整体等比缩放，改为流式单列；Dock 变横向滑动图标条；
   购买弹窗全屏；教程单列、图片满宽。
   ============================================================ */
@media (max-width: 900px) {
  html, body { height: auto; min-height: 100%; }
  body {
    overflow: visible;
    -webkit-text-size-adjust: 100%;
  }
  .app { height: auto; min-height: 100vh; min-height: 100dvh; }

  /* ---------- 顶部导航：单行吸顶，页签固定居中，右上角机型 ---------- */
  .site-header {
    position: sticky;
    top: 0;
    inset: 0 0 auto 0;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    background: rgba(6, 7, 9, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .site-logo { display: none; }
  /* 手机端不要页签导航：首页选机型，进入后直接是预览页 */
  .site-nav { display: none; }
  body:not(.ws-open) .site-header { display: none; }
  /* 左上角机型区：固定宽高，换机型不会影响右侧样图区位置 */
  .site-header .model-box {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    margin: 0;
    width: 64px;
    min-width: 64px;
    flex: 0 0 64px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* 机型块竖排：相机图标在上，机型名在下 */
  .site-header .model-chip {
    flex-direction: column-reverse;
    gap: 3px;
    align-items: center;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
  }
  .site-header .chip-name {
    margin-top: 0;
    width: 100%;
    max-width: none;
    font-size: 11px;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .site-header .chip-icon {
    width: 56px;
    height: 30px;
    flex: 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .site-header .chip-photo { width: 56px; height: 30px; object-fit: contain; }
  .site-header .chip-icon svg { width: 30px; height: 30px; }
  /* 顶部左侧：样图条（同一尺寸样图横排 + 全部样图箭头 + 说明） */
  .ms-strip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    min-width: 0;
    max-width: 100%;
    flex: 1 1 0;
    pointer-events: auto;
  }
  .ms-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    min-width: 0;
  }
  /* 所有样图放在同一个可横向滑动的容器里，第一张也跟随滑动，不单独固定 */
  .ms-scroll {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex: 1 1 auto;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ms-scroll::-webkit-scrollbar { display: none; }
  .ms-thumb {
    flex: 0 0 68px;
    width: 68px;
    height: 50px;
    padding: 0;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: #1a1d22 center / cover no-repeat;
    opacity: 0.85;
  }
  .ms-thumb.active {
    border: 2px solid rgba(255, 43, 71, 0.9);
    border-radius: 14px;
    box-shadow: none;
    opacity: 1;
  }
  /* 箭头改为半透明浮层，叠在最右侧图片之上，不再占用布局宽度，
     让样图条能完整露出 4 张、最右侧图片不被裁切 */
  .ms-more {
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(10, 12, 16, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }
  .ms-more svg { width: 16px; height: 16px; }
  /* 顶部：左侧相机 + 机型名（竖排），右侧样图条 */
  body.ws-open .site-header {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 70px;
    padding: 6px 12px;
    /* 顶部不再纯黑，透出与下方一致的页面渐变背景 */
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 0;
  }
  /* 机型图标 + 样图条放在同一个横向滚动条里，滑一条即一起滑动 */
  body.ws-open .site-header {
    overflow: hidden;
  }
  body.ws-open .site-header .model-box {
    order: 0 !important;
    margin-right: 8px;
    flex: 0 0 64px;
  }
  body.ws-open .site-header .ms-strip {
    order: 2;
    margin-left: 0;
    align-self: center;
    margin-bottom: 0;
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    width: auto;
    overflow: visible;
    position: relative;
  }
  body.ws-open .ms-row {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
  }
  body.ws-open .ms-row::-webkit-scrollbar { display: none; }
  body.ws-open .ms-scroll {
    flex: 0 0 auto;
    min-width: 0;
    overflow: visible;
  }
  body.ws-open .ms-more {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9;
  }

  /* ---------- 全部样图弹窗 ---------- */
  .sample-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }
  .sample-modal[hidden] { display: none; }
  .sample-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
  .sample-sheet {
    position: relative;
    width: 100%;
    max-height: 78vh;
    display: flex;
    flex-direction: column;
    padding: 14px 14px calc(16px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
    background: #14171c;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 -18px 50px -20px #000;
  }
  .sample-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  .sample-sheet-head strong { font-size: 15px; color: #fff; font-weight: 600; }
  .sample-sheet-close {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    color: #cfd5dd;
    background: rgba(255, 255, 255, 0.08);
  }
  .sample-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .sample-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid transparent;
  }
  .sample-cell-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 8px;
    background: #1a1d22 center / cover no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.18);
  }
  .sample-cell-name {
    font-size: 10px;
    color: #aeb6c1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sample-cell.active .sample-cell-thumb {
    border-color: #ff2b47;
    box-shadow: 0 0 0 1px rgba(255, 43, 71, 0.7);
  }
  .sample-cell.active .sample-cell-name { color: #fff; }
  body.sample-modal-open { overflow: hidden; }

  /* ---------- 选机型页 ---------- */
  /* ============================================================
     手机端机型页 · 字标 / 标题自定义区
     · 字标现在是透明图片（还原醒图里选的字体效果），
       改大小用 --mw-width；换字标就替换
       assets/img/eos2209-wordmark.png（纯黑底导出的图即可）。
     · 标题 / 副标题仍是文字，可改 --mw-title-* / --mw-sub-*。
     ============================================================ */
  .model-screen {
    --mw-width: 94%;
    --mw-title-color: #ffffff;
    --mw-title-size: clamp(34px, 11.2vw, 46px);
    --mw-sub-color: #eef1f3;
    --mw-sub-size: clamp(13px, 4vw, 16px);
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 34px 16px 24px;
    overflow: visible;
    background:
      radial-gradient(120% 60% at 18% 0%, rgba(255, 255, 255, 0.07), transparent 62%),
      linear-gradient(180deg, #88a376 0%, #829c7a 15%, #7b957d 27%, #719083 40%, #67858a 53%, #5f7b8e 66%, #557094 79%, #4e6798 92%, #476099 100%);
  }
  .model-screen .model-glow,
  .model-screen .model-top { display: none; }
  .model-screen .model-brand::before { display: none; }
  .model-inner { max-width: 100%; padding: 0 0 20px; }
  .model-screen .model-brand { margin: 0 0 26px; }
  .model-screen .model-wordmark {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    line-height: 0;
    text-align: center;
  }
  .mw-plain { display: none; }
  .mw-image {
    display: block;
    width: var(--mw-width);
    max-width: 400px;
    height: auto;
    margin: 0 auto;
  }
  .model-screen .model-title {
    font-size: var(--mw-title-size);
    color: var(--mw-title-color);
    font-weight: 900;
    text-align: center;
    line-height: 1.12;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
  }
  .title-text { display: none; }
  .model-screen .model-title-img {
    display: block;
    width: 76%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
  }
  .model-screen .model-sub {
    margin: 6px 0 26px;
    font-size: var(--mw-sub-size);
    font-weight: 500;
    color: var(--mw-sub-color);
    letter-spacing: 0.04em;
    text-align: center;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
  }
  .sub-mobile { display: inline; }
  .sub-desktop { display: none; }
  .model-select { gap: 10px; }
  /* 4 个系列压成一整行 */
  .model-screen .cat-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }
  .model-screen .cat-tabs .cat-item {
    flex: none;
    width: auto;
    min-width: 0;
    padding: 7px 2px;
    gap: 0;
    justify-content: center;
    border-radius: 10px;
  }
  .model-screen .cat-tabs .cat-icon { display: none; }
  .model-screen .cat-tabs .cat-item-text { align-items: center; text-align: center; }
  .model-screen .cat-tabs .cat-item-text strong {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0;
  }
  .cat-tabs .cat-item-count { display: none; }
  .model-panel {
    padding: 10px 10px 12px;
    border-radius: 14px;
    overflow: visible;
    background: rgba(5, 12, 17, 0.82);
    border-color: rgba(255, 255, 255, 0.16);
  }
  .cat-tabs .cat-item {
    background: rgba(5, 12, 17, 0.5);
    border-color: rgba(255, 255, 255, 0.16);
  }
  .cat-tabs .cat-item.active {
    background: linear-gradient(180deg, rgba(230, 0, 45, 0.5), rgba(230, 0, 45, 0.24));
  }
  .model-card { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.14); will-change: auto; }
  .model-pic img { filter: none; }
  /* 手机端切换系列：去掉整块位移动画，切换更跟手 */
  .model-screen .model-panel.swap .model-chips { animation: none; }
  .model-screen .cat-tabs .cat-item,
  .model-screen .cat-tabs .cat-item.active { transform: none; transition: background-color 0.12s ease, border-color 0.12s ease; }
  .model-screen .model-chips,
  .model-screen.dense .model-chips {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 6px;
  }
  .model-screen,
  .model-screen.dense,
  .model-screen.dense.cat-mirrorless { --model-pic: 38px; }
  .model-screen .model-pic { flex: 0 0 38px; height: 38px; }
  .model-screen .model-pic img { max-height: 36px; }
  .model-screen .model-name,
  .model-screen.dense .model-name,
  .model-screen.cat-mirrorless .model-name {
    font-size: 10px;
    line-height: 1.2;
  }

  /* ---------- 工作台：左侧预设竖排 + 右侧预览 ---------- */
  .workspace {
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    column-gap: 8px;
    align-items: start;
    padding: 0 10px 14px;
  }
  .workspace::before { display: none; }

  .preset-deck {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: 80px;
    align-self: start;
    display: flex;
    flex-direction: column;
    max-height: calc(100dvh - 90px);
    margin: 0;
    height: auto;
  }
  .deck-tools {
    position: static;
    display: block;
    padding: 0 0 6px 10px;
  }
  .deck-hint, .deck-note { display: none; }
  /* 排序框放大并向右延伸一点，占用中间空隙，不与右侧导航抢位置 */
  .sort-toggle {
    position: static;
    display: flex;
    width: calc(100% + 10px);
    gap: 2px;
    padding: 3px;
    border-color: rgba(255, 255, 255, 0.22);
    border-radius: 9px;
  }
  .sort-toggle::after { display: none; }
  .sort-btn { flex: 1; padding: 7px 0; font-size: 11px; white-space: nowrap; letter-spacing: 0; border-radius: 7px; }
  .dock { position: static; flex: 1; min-height: 0; touch-action: pan-y; }
  .dock::after { display: none; }
  .dock-track {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    height: calc(100dvh - 132px);
    padding: 6px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .dock-track::-webkit-scrollbar { display: none; }
  /* 预设栏底部：全透明的下滑箭头，点击可自动下滑 */
  .rail-scroll-btn {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    z-index: 4;
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 32px;
    padding: 0;
    color: #ffffff;
    background: transparent;
    border: 0;
    -webkit-tap-highlight-color: transparent;
  }
  body.ws-open .rail-scroll-btn {
    display: flex;
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    z-index: 40;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.65));
  }
  .dock-item {
    position: static;
    left: auto;
    bottom: auto;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .dock-card {
    width: 100%;
    height: 66px;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.82);
    background-size: cover;
    background-position: center;
  }
  body.ws-open .dock-item.active .dock-card {
    border: 2px solid rgba(255, 43, 71, 0.85) !important;
    box-shadow: none !important;
    border-radius: 10px !important;
  }
  .dock-item:not(.active) .dock-card { opacity: 0.55; }
  /* 预设图标下方的中文名称 */
  .dock-label {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
    display: block;
    margin-top: 3px;
    font-size: 9px;
    line-height: 1.15;
    color: #b9c0c9;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
  }

  /* ---------- 右侧预览 ---------- */
  .preview-view {
    grid-column: 2;
    grid-row: 1;
    display: block;
    min-width: 0;
    padding-bottom: 0;
  }
  .preview-head { display: none; }
  .import-view { grid-column: 1 / -1; }

  .sample-rail {
    display: block;
    margin: 6px 0 16px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    overflow: visible;
  }
  /* 覆盖桌面「玻璃面板」样式（body.ws-open .sample-rail 优先级更高），
     手机端样图栏彻底去掉边框 / 底色 / 投影 */
  body.ws-open .sample-rail {
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  /* 滑动预览 / 全局预览：不要整条导航底色，仅给两个名字各自加一个方框 */
  .rail-view {
    width: fit-content;
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    gap: 8px;
    justify-content: flex-end;
  }
  .rail-view-btn {
    flex: 0 0 auto;
    padding: 7px 16px;
    font-size: 13.5px;
    color: #99a1ac;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 9px;
    box-shadow: none;
  }
  .rail-view-btn.active {
    color: #fff;
    font-weight: 700;
    background: none;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: none;
  }
  .rail-view-btn.active::after { display: none; }
  .rail-scroll, .rail-label { display: none; }

  .shot-panel, .shot-body { width: 100%; }
  .shot-body {
    display: block;
    flex: none;
    min-height: 0;
    overflow: visible;
    padding: 0 0 10px;
  }
  .shot-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 10px;
  }
  /* 草稿里的 Before / After 标签：缩小并靠右 */
  #beforeFrame::before,
  #afterFrame::before {
    position: absolute;
    right: 10px;
    left: auto;
    top: 10px;
    /* 盖过 .shot-clip(z4) / 切换按钮(z6) / 收藏星标(z7) */
    z-index: 8;
    font-family: "Segoe UI", "PingFang SC", system-ui, sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: right;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75), 0 2px 16px rgba(0, 0, 0, 0.55);
    pointer-events: none;
  }
  /* 原图（Before）的英文再小一点，与下方 After 右侧对齐 */
  #beforeFrame::before { content: "Before"; font-size: 16px; }
  #afterFrame::before { content: "After"; font-size: 20px; }
  /* 手机端：成片上的前后对比滑动条
     手柄只保留一个半透明白点，尽量不遮挡图片；白色竖线仍提示可左右拖动 */
  .shot-nav { display: none !important; }
  .cmp-divider { display: block !important; }
  .cmp-divider .cmp-grip {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .cmp-divider .cmp-grip::before { display: none; }
  .grid-back-btn { left: 8px !important; top: 8px !important; }

  .grid-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 4px 0 12px;
    overflow: visible;
  }
  .grid-cell span { font-size: 12px; padding-right: 46px; }
  .grid-cell .grid-price { font-size: 12px; }

  .side-col { display: block; top: 0; }
  .info-panel {
    height: auto;
    max-height: none;
    overflow: visible;
    margin-bottom: 10px;
    padding: 14px 14px 12px;
  }
  .info-head h2 { font-size: 19px; }
  .side-actions { margin-top: 0; padding-top: 12px; gap: 8px; }
  .side-get, .side-fav { height: 44px; }
  .side-get .foot-get-text strong,
  .side-fav .foot-get-text strong { font-size: 12.5px; }

  .app-footer { margin: 12px 0 0; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); }
  .foot-copy { font-size: 12px; }
  .foot-tips { font-size: 10px; line-height: 1.6; }

  /* ---------- 导入教程：单列 ---------- */
  .import-view { display: block; overflow: visible; padding: 0 0 64px; }
  .imp-doc { max-width: 100%; }
  .imp-doc .tut-card { display: block; padding: 14px 12px 16px; }
  .imp-doc .tut-head { margin-bottom: 10px; }
  .imp-doc .tut-title { font-size: 17px; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .tut-model { font-size: 10px; padding: 4px 10px; }
  .imp-doc .tut-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    margin-bottom: 10px;
    overflow: visible;
  }
  .tut-ink, .tut-glow { display: none !important; }
  .tut-tab {
    flex: none;
    min-width: 0;
    justify-content: flex-start;
    padding: 8px 10px;
    font-size: 12px;
    gap: 6px;
  }
  .tut-tab.active { font-size: 12px; background: rgba(230, 0, 45, 0.22); border-radius: 9px; }
  .tut-tab-no { width: 20px; height: 20px; font-size: 10.5px; }
  .imp-doc .tut-body { min-height: 0; overflow: visible; padding-right: 0; }
  .tut-subbody { margin-top: 10px; }
  .tut-two-col { grid-template-columns: 1fr; gap: 12px; height: auto; }
  .tut-step-row { flex-direction: column; gap: 10px; overflow: visible; padding-bottom: 4px; }
  .tut-step-row > .tut-substep { flex: none; width: 100%; min-width: 0; max-width: none; }
  .tut-step-row.is-gx-install { gap: 0; }
  .tut-step-row.is-gx-install > .tut-substep:nth-child(2) { margin-left: 0; margin-right: 0; }
  .tut-figure { padding: 10px 0; }
  .tut-figure img,
  .tut-step-row .tut-figure img { max-width: 100%; max-height: none; }
  .tut-figure-legacy.tut-figure-l3 img { width: 100%; }
  .tut-cable-row { flex-direction: column; gap: 10px; padding: 8px 0 0; }
  .tut-cable-table { flex: none; width: 100%; }
  .tut-cable-row .tut-figure img { max-width: 100%; max-height: 240px; }
  .tut-dl-row { margin-top: 8px; }
  .tut-dl-btn { width: 100%; justify-content: center; padding: 13px 16px; font-size: 14px; }
  .tut-branch-tabs { flex-wrap: wrap; gap: 6px; }
  .tut-branch-tab { flex: 1 1 calc(50% - 3px); padding: 9px 6px; font-size: 12px; }
  .tut-go { height: auto; min-height: 44px; padding: 10px 12px; }
  .tut-pane[data-pane="3"] { height: auto; }
  .tut-pane[data-pane="3"].active { display: block; }
  .tut-video-wrap { display: block; }
  .tut-player { width: 100%; height: auto; }
  .tut-player video { width: 100%; height: auto; }
  .tut-tip-card { flex: none; width: 100%; margin: 10px 0 0; }
  .tut-cable-dialog { width: min(92vw, 560px); max-height: 82dvh; }
  .tut-legal { font-size: 10px; line-height: 1.7; }
  .imp-sub-entry {
    right: 12px !important;
    bottom: calc(14px + env(safe-area-inset-bottom));
  }

  /* ---------- 购买弹窗：全屏 ---------- */
  .wx-card,
  .wx-card.with-favs {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    transform: none !important;
    cursor: default;
    animation: none;
    overflow: hidden;
    text-align: left;
  }
  .wx-close {
    z-index: 20;
    top: 8px;
    left: 8px;
    right: auto;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
  }
  .wx-pick {
    flex: 1 1 auto;
    width: auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 52px 12px 12px;
    border-right: 0;
    gap: 12px;
  }
  .wx-sec-title { font-size: 13.5px; }
  .wx-sec-fav:has(.wx-sec-empty) { display: none; }
  .wx-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 6px; }
  .wx-tile { padding: 7px 4px 6px; }
  .wx-tile-icon, .wx-tile-icon img { width: 46px; height: 46px; }
  .wx-tile-name { font-size: 11.5px; }
  .wx-tile-price { font-size: 13px; }
  .wx-main.wx-pay {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(10, 12, 16, 0.97);
  }
  .wx-main.wx-pay h3 { display: none; }
  .wx-cart { height: auto; margin: 0 0 10px; padding: 8px 10px; gap: 6px; }
  .wx-cart-head { font-size: 11px; }
  .wx-cart-slots { max-height: 62px; overflow-y: auto; gap: 6px 4px; }
  .wx-buy-group { flex-direction: column; gap: 8px; margin-top: 0; }
  .wx-pay-btn, .wx-pay-all { height: 48px; }
  .wx-pay-btn .wx-pay-sum,
  .wx-pay-all .wx-all-price { font-size: 17px; }
  .wx-methods { display: none; }
  .wx-method { height: 40px; }
  .wx-pay-hint { margin-top: 6px; min-height: 14px; color: #9aa4ae; }
  .wx-sub-card { margin-top: 8px; padding: 8px 10px; }
  .wx-full-cancel { transform: translate(-50%, 130px); }

  /* ---------- 下载弹窗 / 售后浮层 ---------- */
  .dl-card {
    width: min(92vw, 430px);
    height: auto;
    max-height: 88vh;
    max-height: 88dvh;
    padding: 26px 18px 22px;
  }
  .wx-sub-detail { padding: 14px; }
  .wx-sub-panel {
    width: 100%;
    max-height: 88vh;
    max-height: 88dvh;
    padding: 18px 16px 16px;
  }

  /* 样图条：滑到最右时最后一张与箭头分开（右侧预留箭头宽度） */
  .ms-scroll { padding-right: 44px; }
  /* 预设图标栏：底部为其预留箭头区域，最后一张卡不被遮住 */
  .dock-track { padding-bottom: 8px; }
  /* 删除预设介绍里的「色调取样」 */
  .side-col .info-tone { display: none; }

  /* ---- 整页固定一屏：内容按可用高度收缩，页面不再上下滚动 ---- */
  body.ws-open { height: 100dvh; overflow: hidden; overscroll-behavior: none; }
  body.ws-open .app { height: 100dvh; overflow: hidden; }
  body.ws-open .workspace {
    height: calc(100dvh - 70px);
    min-height: 0;
    overflow: hidden;
    grid-template-rows: minmax(0, 1fr);
    align-items: stretch;
    padding: 0 10px 4px;
  }
  body.ws-open .preset-deck {
    position: relative;
    top: auto;
    left: auto;
    height: calc(100dvh - 78px);
    max-height: calc(100dvh - 78px);
    align-self: start;
    overflow: visible;
  }
  body.ws-open .dock {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }
  body.ws-open .dock-track {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    padding-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
  body.ws-open .preview-view {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }
  body.ws-open .sample-rail { flex: 0 0 auto; margin: 0 0 6px; }
  /* 图片区保持原比例、不被压缩，只让下方预设介绍缩小 */
  body.ws-open .shot-panel { flex: 0 0 auto; }
  body.ws-open .shot-body { padding: 0 0 8px; }
  body.ws-open .side-col { flex: 0 1 auto; min-height: 0; }
  /* 压缩预设介绍卡片，给图片让空间、整页不滚动 */
  body.ws-open .side-col .info-panel {
    min-height: 0 !important;
    height: auto !important;
    padding: 8px 11px !important;
    gap: 3px !important;
    margin-bottom: 6px;
  }
  body.ws-open .side-col .info-head h2 { font-size: 14px; }
  body.ws-open .side-col .info-desc {
    font-size: 10px;
    line-height: 1.36;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  body.ws-open .side-col .info-tags span { font-size: 9.5px; padding: 2px 7px; }
  body.ws-open .side-col .info-price-block { margin-top: 5px !important; margin-bottom: 2px !important; }
  body.ws-open .side-col .side-actions { padding-top: 6px; }
  body.ws-open .side-col .side-get,
  body.ws-open .side-col .side-fav { height: 38px; }
  body.ws-open .app-footer { display: none; }

  /* ========== 新版手机预览页（按草稿）：通栏双图 + 底部横向预设 + 精简信息 ========== */
  body.ws-open .workspace {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: calc(100dvh - 70px);
    padding: 0 10px 8px;
    overflow: hidden;
    grid-template-columns: none;
    grid-template-rows: none;
    align-items: stretch;
  }
  body.ws-open .preview-view { display: contents; }
  body.ws-open .preview-head { display: none !important; }
  body.ws-open .grid-view { display: none !important; }
  /* 砍掉「滑动预览 / 全局预览」切换 */
  body.ws-open .rail-view { display: none !important; }

  /* 顺序：样图条 → 原图 → 效果图 → 横向预设 → 信息卡 */
  body.ws-open .sample-rail { order: 1; flex: 0 0 auto; margin: 0; }
  body.ws-open #beforePanel { order: 2; }
  body.ws-open #afterPanel { order: 3; }
  body.ws-open .preset-deck { order: 4; }
  body.ws-open .side-col { order: 5; }

  /* 双图通栏、按原比例完整显示（不压缩、不裁切）；左右留边，下方与预设区留出空隙 */
  body.ws-open .shot-panel { flex: 0 0 auto; display: flex; flex-direction: column; padding: 0 8px; }
  body.ws-open .shot-body { flex: none; height: auto; padding: 0; display: block; }
  body.ws-open .shot-frame { flex: none; width: 100%; height: auto; aspect-ratio: 3 / 2; }
  body.ws-open .shot-frame img,
  body.ws-open .shot-clip img,
  body.ws-open .shot-clip canvas { width: 100%; height: 100%; object-fit: cover; }

  /* 预设：横向滑动，去掉排序、下滑箭头、外框 */
  body.ws-open .deck-tools,
  body.ws-open .rail-scroll-btn { display: none !important; }
  body.ws-open .preset-deck {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    height: auto !important;
    max-height: none !important;
    align-self: stretch !important;
    margin: 0;
    flex: 0 0 auto;
    overflow: visible !important;
  }
  /* 预设条右侧：只有箭头本身，无底色，保留轻微左右呼吸 */
  .dock-swipe-hint { display: none; }
  body.ws-open .dock-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 6px;
    width: 28px;
    height: 58px;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.95);
    background: none;
    pointer-events: none;
    z-index: 5;
    animation: dockHintNudge 1.8s ease-in-out infinite;
  }
  body.ws-open .dock-swipe-hint svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
  }
  @keyframes dockHintNudge {
    0%, 100% { transform: translateX(0); opacity: 0.75; }
    50% { transform: translateX(3px); opacity: 1; }
  }
  body.ws-open .dock {
    display: block !important;
    position: relative !important;
    flex: 0 0 auto !important;
    min-height: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
  body.ws-open .dock-track {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 8px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 2px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    touch-action: pan-x;
  }
  body.ws-open .dock-item {
    flex: 0 0 auto !important;
    width: 68px !important;
    height: auto !important;
  }
  body.ws-open .dock-card {
    width: 68px !important;
    height: 50px !important;
    border-radius: 9px !important;
  }
  body.ws-open .dock-card .dock-thumb {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
  }
  body.ws-open .dock-label {
    position: static !important;
    display: block !important;
    max-width: 68px;
    margin-top: 3px;
    font-size: 10px !important;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #c9ced6;
  }
  body.ws-open .dock-item.active .dock-label { color: #ff6a7f; }

  /* 信息卡：长窄条 —— 左「名称/版权/场景」，右「收藏·下载」 */
  body.ws-open .side-col {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: auto !important;
    align-self: stretch !important;
    padding: 6px 10px;
    border-radius: 14px;
    background: linear-gradient(158deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.22);
  }
  body.ws-open .side-col .info-panel {
    width: auto !important;
    min-height: 0 !important;
    height: auto !important;
    /* 右侧给「收藏 / 下载」大号文字留空间 */
    padding: 0 120px 0 0 !important;
    margin: 0 !important;
    gap: 3px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  body.ws-open .side-col .info-desc,
  body.ws-open .side-col .info-tone,
  body.ws-open .side-col .info-price-block { display: none !important; }
  body.ws-open .side-col .info-head { gap: 10px; align-items: center; }
  body.ws-open .side-col .info-icon { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 6px; overflow: hidden; }
  body.ws-open .side-col .info-icon img { width: 100%; height: 100%; object-fit: cover; }
  body.ws-open .side-col .info-title h2 { font-size: 17px; font-weight: 700; }
  body.ws-open .side-col .info-author { font-size: 12px; color: #a9afb8; }
  /* 标签缩进到图标右侧，和名称 / 版权左对齐，位于版权下方 */
  body.ws-open .side-col .info-block { margin-top: 2px; margin-left: 66px !important; }
  /* 去掉「适用场景」标题，只保留标签 */
  body.ws-open .side-col .info-block .block-head { display: none !important; }
  /* 标签：纯文字、无边框无底色 */
  body.ws-open .side-col .info-tags { gap: 8px !important; flex-wrap: wrap; }
  body.ws-open .side-col .info-tags span {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    color: #e8eaee !important;
    line-height: 1.35;
  }
  /* 收藏 / 下载：大号纯文字按钮，无底色无边框、无图标 */
  body.ws-open .side-col .side-actions {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 0 !important;
    margin: 0 !important;
  }
  body.ws-open .side-col .side-get,
  body.ws-open .side-col .side-fav {
    position: relative;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-size: 19px !important;
    font-weight: 700 !important;
  }
  body.ws-open .side-col .side-get::before,
  body.ws-open .side-col .side-fav::before { display: none !important; }
  body.ws-open .side-col .foot-get-icon,
  body.ws-open .side-col .side-fav-icon { display: none !important; }
  body.ws-open .side-col .side-get .foot-get-text strong,
  body.ws-open .side-col .side-fav .foot-get-text strong { font-size: 19px !important; font-weight: 700 !important; }

  /* ===== 底部：横向预设 + 预设介绍 合成一个外框 ===== */
  body.ws-open .workspace { gap: 0; }
  body.ws-open .sample-rail { margin: 0 0 6px !important; }
  body.ws-open #beforePanel { margin: 0 0 6px !important; }
  body.ws-open #afterPanel { margin: 0 0 4px !important; }

  /* 外框上半：横向预设区 */
  body.ws-open .preset-deck {
    margin: 0 !important;
    padding: 8px 8px 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-bottom: 0 !important;
    border-radius: 16px 16px 0 0 !important;
    background: rgba(255, 255, 255, 0.06) !important;
  }
  /* 预设条的内框 */
  body.ws-open .dock {
    padding: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.20) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }
  body.ws-open .dock-track { padding: 0 !important; }

  /* 外框下半：预设介绍 */
  body.ws-open .side-col {
    margin: 0 !important;
    padding: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-top: 0 !important;
    border-radius: 0 0 16px 16px !important;
    background: rgba(255, 255, 255, 0.06) !important;
  }

  /* 信息：图标在左，名称/版权/标签在右侧成组、垂直居中、间距统一 */
  body.ws-open .side-col .info-panel {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;
    row-gap: 2px;
    padding: 0 122px 0 0 !important;
  }
  body.ws-open .side-col .info-head { display: contents; }
  body.ws-open .side-col .info-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 64px;
    height: 64px;
    flex: none;
    border-radius: 6px;
    overflow: hidden;
  }
  body.ws-open .side-col .info-icon img { width: 100%; height: 100%; object-fit: cover; }
  body.ws-open .side-col .info-title {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  body.ws-open .side-col .info-title h2 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.15; }
  body.ws-open .side-col .info-meta { margin: 0; }
  body.ws-open .side-col .info-author { font-size: 12px; color: #a9afb8; }
  body.ws-open .side-col .info-block { grid-column: 2; grid-row: 2; margin: 0 !important; }
  body.ws-open .side-col .info-tags { gap: 8px !important; flex-wrap: wrap; }
  body.ws-open .side-col .info-tags span {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    color: #e8eaee !important;
    line-height: 1.3;
  }

  /* ===== 介绍区细化：图标更大且无底框、名称顶对齐、标签底对齐并描边 ===== */
  body.ws-open .side-col { padding: 0 !important; }
  body.ws-open .side-col .info-panel {
    position: relative !important;
    display: block !important;
    min-height: 86px !important;
    height: auto !important;
    padding: 0 !important;
  }
  body.ws-open .side-col .info-head { display: contents !important; }
  body.ws-open .side-col .info-icon {
    position: absolute !important;
    left: 8px;
    top: 8px;
    width: 70px !important;
    height: 70px !important;
    flex: none;
    border: 0 !important;
    border-radius: 6px;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden;
  }
  /* 素材自带浅色投影和留白：放大 1.18 并裁边，让影片盒本身填满、投影被裁掉 */
  body.ws-open .side-col .info-icon img {
    width: 100%; height: 100%;
    object-fit: contain;
    filter: none !important;
    transform: scale(1.18);
    transform-origin: center center;
  }
  body.ws-open .side-col .info-title {
    position: absolute !important;
    left: 86px;
    right: 156px;
    width: auto !important;
    top: 13px;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  body.ws-open .side-col .info-title h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body.ws-open .side-col .info-meta { margin: 0; }
  body.ws-open .side-col .info-author {
    font-size: 10px;
    color: #a9afb8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  body.ws-open .side-col .info-block {
    position: absolute !important;
    left: 86px;
    right: 156px;
    width: auto !important;
    bottom: 8px;
    margin: 0 !important;
  }
  body.ws-open .side-col .info-tags { gap: 3px !important; flex-wrap: wrap; }
  body.ws-open .side-col .info-tags span {
    font-size: 8px !important;
    padding: 1px 4px !important;
    border: 1px solid rgba(255, 255, 255, 0.20) !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #dfe3e8 !important;
    line-height: 1.3;
  }

  /* 收藏 / 下载：沿用网站既有 UI（玻璃底 + 品牌红按钮）并自适应宽度 */
  body.ws-open .side-col .side-actions {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    gap: clamp(6px, 2vw, 8px);
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: none !important;
  }
  body.ws-open .side-col .side-get,
  body.ws-open .side-col .side-fav {
    height: clamp(34px, 9.4vw, 38px) !important;
    min-height: 0 !important;
    padding: 0 clamp(10px, 3vw, 12px) !important;
    border: 0 !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    font-size: clamp(14px, 4.1vw, 16px) !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transform-origin: center center;
    transition: background-color 0.18s ease, transform 0.26s cubic-bezier(0.22, 1.3, 0.36, 1), box-shadow 0.26s ease !important;
  }
  /* 下载：品牌红实底 + 柔光投影（与站内主行动按钮一致） */
  body.ws-open .side-col .side-get {
    background: #e6002d !important;
    box-shadow: 0 10px 24px rgba(230, 0, 45, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  }
  /* 收藏：站内玻璃面板渐变底 */
  body.ws-open .side-col .side-fav {
    background: linear-gradient(158deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 55%, rgba(255, 255, 255, 0.10) 100%) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.24) !important;
  }
  body.ws-open .side-col .side-get:active {
    background: #c60027 !important;
    transform: scale(0.96);
    box-shadow: inset 0 4px 10px rgba(122, 0, 24, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  }
  body.ws-open .side-col .side-fav:active {
    transform: scale(0.96);
    box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  }
  body.ws-open .side-col .side-get .foot-get-icon,
  body.ws-open .side-col .side-fav .side-fav-icon { display: none !important; }
  body.ws-open .side-col .side-get .foot-get-text strong,
  body.ws-open .side-col .side-fav .foot-get-text strong {
    font-size: clamp(14px, 4.1vw, 16px) !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  }
  /* 点击收藏按钮保持原尺寸，不做放大动画 */
  body.ws-open .side-col .side-fav:hover,
  body.ws-open .side-col .side-fav:active,
  body.ws-open .side-col .side-get:hover,
  body.ws-open .side-col .side-get:active {
    transform: none !important;
  }
  /* 已收藏：按钮转品牌红 */
  body.ws-open .side-col .side-fav.on {
    background: #e6002d !important;
    box-shadow: 0 10px 24px rgba(230, 0, 45, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  }
  /* 收藏按钮固定为「取消收藏」时的宽度：两种状态尺寸一致，不再向左扩张 */
  body.ws-open .side-col .side-actions > button { flex: 0 0 auto !important; }
  body.ws-open .side-col .side-fav {
    width: 74px !important;
    padding: 0 4px !important;
    gap: 3px !important;
    justify-content: center;
  }
  body.ws-open .side-col .side-get {
    padding: 0 6px !important;
    gap: 3px !important;
  }
  /* 收藏 / 下载 名字左侧的图标 */
  body.ws-open .side-col .side-get .foot-get-icon,
  body.ws-open .side-col .side-fav .side-fav-icon {
    display: flex !important;
    width: auto !important;
    height: auto !important;
    flex: none;
    margin: 0;
    color: #ffffff;
  }
  body.ws-open .side-col .side-get .foot-get-icon svg,
  body.ws-open .side-col .side-fav .side-fav-icon svg { width: 13px; height: 13px; }
  body.ws-open .side-col .side-fav .side-fav-icon { color: #ffd45e; }
  /* 收藏后的「取消收藏」字号更小，配合图标仍能装进固定宽度 */
  body.ws-open .side-col .side-fav.on .foot-get-text strong {
    font-size: 12px !important;
  }
  /* 预设图标右上角收藏星标：收进卡片内，避免被上方区域裁掉 */
  body.ws-open .dock-item.is-fav::after {
    top: 2px;
    right: 2px;
  }

  /* 收藏 / 下载贴到介绍框底部，并稍微加宽（向左扩） */
  body.ws-open .side-col .side-actions {
    top: auto !important;
    bottom: 7px;
    right: 10px;
    transform: none !important;
  }
  body.ws-open .side-col .side-fav { width: 76px !important; }
  body.ws-open .side-col .side-get { min-width: 74px !important; }
  /* 文字区右侧让出按钮加宽后的空间，避免名字 / 标签被压住 */
  body.ws-open .side-col .info-title,
  body.ws-open .side-col .info-block { right: 158px; }
  /* 价格：显示在下载按钮正上方 */
  body.ws-open .side-col .info-price-block {
    display: flex !important;
    position: absolute !important;
    left: auto !important;
    right: 10px;
    bottom: 50px;
    width: 74px !important;
    justify-content: center !important;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    transform: none !important;
    line-height: 1;
  }
  body.ws-open .side-col .info-price {
    flex: 1 1 auto;
    text-align: center;
    font-size: 16px;
    color: #ffbe1a;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  }
  body.ws-open .side-col .info-price-cur { font-size: 0.82em; }
  /* 场景标签收紧一点，保证 4 个标签单行放下 */
  body.ws-open .side-col .info-tags { gap: 2px !important; }
  body.ws-open .side-col .info-tags span {
    font-size: 7.5px !important;
    padding: 1px 3px !important;
  }

  /* ===== 整页可竖向滚动：滑到底部显示版权信息 ===== */
  body.ws-open {
    height: auto !important;
    min-height: 100dvh;
    overflow: visible !important;
  }
  body.ws-open .app {
    height: auto !important;
    min-height: 100dvh;
    overflow: visible !important;
  }
  /* 头部跟随页面一起滚走，避免透明头部压住下方内容 */
  body.ws-open .site-header {
    position: relative !important;
    top: auto !important;
  }
  body.ws-open .workspace {
    height: auto !important;
    min-height: calc(100dvh - 70px);
    overflow: visible !important;
  }
  body.ws-open .app-footer {
    display: block !important;
    order: 6;
    margin: 6px 0 0 !important;
    padding: 10px 2px calc(14px + env(safe-area-inset-bottom)) !important;
    pointer-events: auto !important;
  }
  body.ws-open .app-footer .foot-copy { font-size: 12px; color: #c9d0da; }
  body.ws-open .app-footer .foot-tips { font-size: 10px; line-height: 1.6; }
  /* 版权注释：整体居中、行距更舒展 */
  body.ws-open .app-footer .foot-note {
    align-items: center;
    gap: 6px;
    text-align: center;
    width: 100%;
  }
  body.ws-open .app-footer .foot-copy {
    letter-spacing: 0.08em;
    text-align: center;
  }
  body.ws-open .app-footer .foot-tips {
    display: block;
    width: 100%;
    font-size: 10px;
    line-height: 1.75;
    letter-spacing: 0.04em;
    text-align: center;
  }
  /* 两行说明各自成行、居中，分隔点不再参与断行 */
  body.ws-open .app-footer .foot-tips span { display: block; }
  body.ws-open .app-footer .foot-tips .foot-sep { display: none; }

  /* ===== 图片区下方改为纯色 #2E2B2B，并去掉预设区外框 ===== */
  body.ws-open {
    background: #151313 !important;
  }
  body.ws-open::before { display: none !important; }
  body.ws-open .app::after { display: none !important; }
  body.ws-open .preset-deck,
  body.ws-open .side-col {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  /* ===== 预设图标区：整条铺满屏幕左右边界、置顶不被遮挡 ===== */
  body.ws-open .preset-deck {
    margin-left: -10px !important;
    margin-right: -10px !important;
    width: calc(100% + 20px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    z-index: 20;
  }
  body.ws-open .dock {
    padding: 0 !important;
    z-index: 21;
  }
  body.ws-open .dock-track {
    /* 容器铺满屏幕，内边距只用于静置时与下方图标对齐；滑动时内容会一直显示到屏幕边缘 */
    padding-left: 18px !important;
    padding-right: 18px !important;
    z-index: 21;
  }

  /* ===== 预设图标区：去框、放大，并与介绍区图标左对齐 ===== */
  body.ws-open .dock {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body.ws-open .dock-track {
    /* 滚动容器铺满整屏；左右内边距只让静置时与下方图标对齐 */
    padding: 0 18px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body.ws-open .dock-item { width: 58px !important; }
  body.ws-open .dock-card {
    width: 58px !important;
    height: 58px !important;
    border-radius: 10px !important;
  }
  body.ws-open .dock-label {
    max-width: 58px;
    font-size: 10.5px !important;
  }
  body.ws-open .dock-swipe-hint {
    top: 0;
    right: 0;
    height: 58px;
  }
  /* 手机端去掉选中图标外发光，避免最左侧/最右侧被滚动容器裁掉 */
  body.ws-open .dock-item.is-art.active .dock-thumb { filter: none !important; }
  /* 预设图标区与预设介绍之间的白色分割线 */
  body.ws-open .side-col {
    border-top: 1px solid rgba(255, 255, 255, 0.26) !important;
  }
  /* 预设区域与页面统一底色（不再单独加深），用光影做层次 */
  body.ws-open .preset-deck {
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 -10px 22px -14px rgba(0, 0, 0, 0.9) !important;
  }
  /* 顶部渐隐阴影：让预设区像一块浮起的面板 */
  body.ws-open .preset-deck::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.42));
  }
  /* 图标名称上提，贴近图标 */
  body.ws-open .dock-label {
    margin-top: 0 !important;
  }
  /* 预设介绍区加边框 */
  body.ws-open .side-col {
    border: 1px solid rgba(255, 255, 255, 0.20) !important;
    border-radius: 12px !important;
    margin-top: 3px !important;
  }
  /* 底部版权再下移，与预设介绍拉开距离 */
  body.ws-open .app-footer {
    margin-top: 40px !important;
  }

  /* ===== 顶部图片参考条：铺满屏幕左右边界 ===== */
  body.ws-open .site-header {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body.ws-open .ms-row {
    padding-left: 12px;
    padding-right: 12px;
  }
  body.ws-open .ms-more { right: 6px; }

  /* ===== 只保留滑动预览：隐藏所有「全局预览」残留元素 ===== */
  body.ws-open .grid-view,
  body.ws-open .grid-back-btn,
  body.ws-open .rail-view,
  body.ws-open .deck-tools,
  body.ws-open .sort-toggle,
  body.ws-open .deck-hint,
  body.ws-open .deck-note,
  body.ws-open .rail-scroll-btn,
  body.ws-open .preview-head { display: none !important; }

  /* ===== 对比滑块：点击分割线也能拖动；白点保持白色 ===== */
  body.ws-open .shot-frame { touch-action: pan-y; }
  body.ws-open .cmp-divider { pointer-events: auto; }
  body.ws-open .cmp-divider::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -20px;
    right: -20px;
  }
  body.ws-open .cmp-divider .cmp-grip,
  body.ws-open .cmp-divider:active .cmp-grip,
  body.ws-open .cmp-divider:focus .cmp-grip,
  body.ws-open .cmp-divider:focus-visible .cmp-grip {
    background: rgba(255, 255, 255, 0.72) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
  }

  /* ===== 上下滑动更跟手 ===== */
  body.ws-open {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto;
  }
  /* 横向滚动条允许纵向手势透传，避免在图片/预设条上上下滑不动 */
  body.ws-open .ms-row,
  body.ws-open .dock-track { touch-action: pan-x pan-y; }
  /* 分割线/白点区域独占手势：横向拖动不会再被页面上下滚动抢走 */
  body.ws-open .cmp-divider { touch-action: none; }

  /* ===== 机型选择：切换系列更流畅，减少绘制开销 ===== */
  .model-screen .model-pic img { filter: none !important; }
  .model-screen .model-card { will-change: auto !important; }
  .model-screen .model-pic img { contain: paint; }
}

/* 平板宽度：机型卡片排 5 列，避免单卡过宽 */
@media (min-width: 600px) and (max-width: 900px) {
  .model-screen .model-chips,
  .model-screen.dense .model-chips {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .model-screen,
  .model-screen.dense,
  .model-screen.dense.cat-mirrorless { --model-pic: 56px; }
  .model-screen .model-pic { flex: 0 0 56px; height: 56px; }
  .model-screen .model-pic img { max-height: 54px; }
  .model-screen .model-name,
  .model-screen.dense .model-name,
  .model-screen.cat-mirrorless .model-name { font-size: 12px; }
}

/* 触屏设备：没有鼠标悬停，去掉机型卡片的放大/上浮/提亮效果，避免点按后残留放大 */
@media (hover: none) and (pointer: coarse) {
  .model-screen .model-card {
    transition: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .model-screen .model-card:hover {
    transform: none;
    z-index: auto;
  }
  .model-screen .model-card:hover .model-pic img {
    transform: none;
    filter: none;
  }
  .model-screen .model-card:hover .model-pic { color: var(--faint); }
  .model-screen .model-card:hover .model-name { color: #eef3fa; }
  /* 机型机身图标：加载、切换、点按都不做任何动画 */
  .model-screen .model-chips,
  .model-screen .model-card,
  .model-screen .model-pic,
  .model-screen .model-pic img {
    animation: none !important;
    transition: none !important;
  }
  .model-screen .cat-tabs .cat-item {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .model-screen .cat-tabs .cat-item:hover,
  .model-screen .cat-tabs .cat-item:active {
    transform: none !important;
  }
}

/* 手机/平板宽度：彻底禁用机型卡片和系列页签的按压放大（含微信内置浏览器） */
@media (max-width: 900px) {
  body { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  /* 去掉所有按钮点按时系统的蓝色高亮/聚焦描边，避免「蓝屏一下」 */
  button,
  .dock-card,
  .ms-thumb,
  .sort-btn,
  .rail-view-btn { -webkit-tap-highlight-color: transparent; }
  button:focus { outline: none; }
  button:focus-visible { outline: none; }
  .model-screen .model-card,
  .model-screen .model-card:hover,
  .model-screen .model-card:active,
  .model-screen .cat-tabs .cat-item,
  .model-screen .cat-tabs .cat-item:hover,
  .model-screen .cat-tabs .cat-item:active,
  .model-screen .cat-tabs .cat-item.active {
    transform: none !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .model-screen .model-card:hover .model-pic img,
  .model-screen .model-card:active .model-pic img {
    transform: none !important;
    filter: none !important;
  }
}

@media (max-width: 360px) {
  .site-header .chip-name { max-width: 40px; }
  .site-header .chip-icon,
  .site-header .chip-photo { height: 16px; }
  .site-header .chip-icon svg { width: 16px; height: 16px; }
}

/* ============================================================
   购买弹窗打开时锁定页面滚动（弹窗内部列表仍可滑动）
   ============================================================ */
html.wx-lock,
body.wx-lock {
  overflow: hidden !important;
  height: 100% !important;
  overscroll-behavior: none;
}
.wx-modal .wx-mask { touch-action: none; }
/* 复制提示要盖在售后浮层（z-index 300）之上，否则点复制看不到提示 */
.toast { z-index: 400; }

/* 复制订单链接成功提示弹窗 */
.wx-copied {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.wx-copied[hidden] { display: none; }
.wx-copied-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.wx-copied-card {
  position: relative;
  width: min(86vw, 300px);
  padding: 20px 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #171a1f;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  text-align: center;
}
.wx-copied-card h5 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.wx-copied-card p {
  margin: 0 0 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}
/* 弹窗内的客服微信号，可一键复制 */
.wx-copied-wx {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}
.wx-copied-wx b {
  color: #ffd34d;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.wx-copied-copy {
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid rgba(230, 0, 45, 0.55);
  background: rgba(230, 0, 45, 0.12);
  color: #ffb7c2;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
}
.wx-copied-copy:active { background: rgba(230, 0, 45, 0.26); color: #fff; }
.wx-copied-ok {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: #e6002d;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* ============================================================
   购买弹窗 · 手机端整页重排
   目标：一屏看到全部 20 个预设图标；点击图标不做放大动画
   ============================================================ */
@media (max-width: 900px) {
  .wx-modal .wx-card,
  .wx-modal .wx-card.with-favs {
    width: 100% !important;
    max-width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    padding: calc(12px + env(safe-area-inset-top)) 10px calc(20px + env(safe-area-inset-bottom)) !important;
    /* 统一成一块纯色背景，已收藏 / 其他预设都不再有自己的底色 */
    background: #121417 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    overflow: hidden;
  }
  /* 返回按钮随内容一起排布：贴着「已收藏」上方，不再固定悬浮在屏幕顶部 */
  .wx-modal .wx-close {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    align-self: flex-start;
    margin: auto 0 6px 0 !important;
  }
  /* 预设选择区：高度跟随内容，结算条紧跟在「预设文件」下方 */
  .wx-modal .wx-pick {
    width: auto !important;
    /* 覆盖桌面「有收藏」规则的 flex:1，避免把结算条顶到屏幕最底部 */
    flex: 0 1 auto !important;
    min-height: 0;
    padding: 0 0 4px !important;
    border-right: 0 !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    gap: 5px !important;
  }
  .wx-modal .wx-sec { gap: 2px !important; }
  /* 已收藏列表不再保留固定占位高度，有收藏时由图标自然撑开 */
  .wx-modal .wx-tiles-selected {
    min-height: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .wx-modal .wx-sec-title { font-size: 12px !important; gap: 6px; }
  .wx-modal .wx-sec-title::before { width: 3px; height: 11px; }
  /* 已收藏区：整体加一圈细边框，背景保持透明 */
  .wx-modal .wx-sec-fav {
    display: flex !important;
    padding: 3px 5px 4px !important;
    border: 1px solid rgba(255, 190, 26, 0.22) !important;
    border-radius: 10px !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .wx-modal .wx-sec-fav .wx-sec-title { background: transparent !important; }
  .wx-modal .wx-sec-fav .wx-sec-title::before { background: #ffbe1a; }
  /* 没有收藏时保留分区，用一行轻提示代替大块虚线占位 */
  .wx-modal .wx-sec-empty {
    grid-column: 1 / -1;
    min-height: 0 !important;
    padding: 1px 2px;
    border: 0 !important;
    background: none !important;
    font-size: 10px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.34);
  }
  /* 图标网格：一行 5 个；图标本身即卡片，去掉边框与底色 */
  .wx-modal .wx-tiles {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 5px 4px !important;
  }
  .wx-modal .wx-tile {
    padding: 3px 2px 2px !important;
    gap: 1px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  /* 取消点击/悬停放大与底色 */
  .wx-modal .wx-pick:not(.wx-anim) .wx-tile,
  .wx-modal .wx-pick:not(.wx-anim) .wx-tile:hover,
  .wx-modal .wx-pick:not(.wx-anim) .wx-tile:active {
    transform: none !important;
    background: transparent !important;
  }
  /* 图标缩小，适配 5 列 */
  .wx-modal .wx-tile-icon,
  .wx-modal .wx-tile-icon img { width: 48px !important; height: 48px !important; }
  .wx-modal .wx-tile-icon img { border-radius: 9px !important; }
  /* 选中态：整块（图标 + 名称 + 价格）描红框；描边画在内侧，避免最左/最右被裁切 */
  .wx-modal .wx-tile.on {
    background: rgba(230, 0, 45, 0.08) !important;
    box-shadow: inset 0 0 0 1.5px #e6002d !important;
  }
  .wx-modal .wx-tile.on .wx-tile-icon { box-shadow: none; }
  .wx-modal .wx-tile-name { font-size: 10px !important; line-height: 1.25 !important; color: #cfd5dd; }
  .wx-modal .wx-tile-price { font-size: 12px !important; line-height: 1.2 !important; font-weight: 800 !important; color: rgba(255, 201, 60, 0.5) !important; }
  .wx-modal .wx-tile.on .wx-tile-price { color: #ffd34d !important; }
  /* 选中态不再显示叉号角标（红框已足够） */
  .wx-modal .wx-tile-ok { display: none !important; }
  /* 全套聚拢视图：隐藏选中红框与收藏区边框，避免堆叠后线条交错 */
  .wx-modal .wx-pick.wx-full .wx-tile.on {
    background: transparent !important;
    box-shadow: none !important;
  }
  .wx-modal .wx-pick.wx-full .wx-sec-fav { border-color: transparent !important; }
  .wx-modal .wx-tile-fav { right: -1px !important; top: -2px !important; font-size: 8px !important; }

  /* 右侧支付面板改为底部结算条（整体压紧，把高度留给图标） */
  .wx-modal .wx-main.wx-pay {
    flex: 0 0 auto !important;
    width: auto !important;
    /* 与上方 auto 边距一起把整块内容居中，并整体略微下移 */
    margin-bottom: auto !important;
    /* 预设区与购买按钮之间留出间隔，不再紧贴 */
    margin-top: 10px !important;
    padding-top: 0 !important;
    /* 不要独立底色，跟弹窗统一背景融合；间隔本身已分隔，不再画线 */
    background: transparent !important;
    border-top: 0 !important;
  }
  .wx-modal .wx-main.wx-pay > h3 { display: none; }
  /* 手机端不显示底部「已选预设」清单，把高度全部让给上方预设图标 */
  .wx-modal .wx-cart { display: none !important; }
  .wx-modal .wx-buy-group { gap: 12px !important; margin-top: 0 !important; }
  .wx-modal .wx-pay-btn,
  .wx-modal .wx-pay-all { height: 38px !important; }
  .wx-modal .wx-pay-btn .wx-pay-sum { font-size: 15px; }
  .wx-modal .wx-pay-all .wx-all-price { font-size: 16px; }
  /* 「复制订单链接」按钮左侧：已选数量与按钮名字同字号 */
  .wx-modal .wx-pay-sel {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0;
    white-space: nowrap;
  }
  /* 手机端按钮文字靠右：左侧保留金额 / 已选数量 */
  .wx-modal .wx-pay-btn { grid-template-columns: auto 1fr !important; }
  .wx-modal .wx-pay-btn .wx-pay-label {
    grid-column: 2;
    justify-self: end;
    text-align: right;
    padding: 0 !important;
  }
  .wx-modal .wx-pay-all { grid-template-columns: auto 1fr !important; }
  .wx-modal .wx-pay-all .wx-pay-label {
    grid-column: 2;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .wx-modal .wx-methods { margin: 6px 0 0 !important; }
  .wx-modal .wx-method { height: 28px !important; font-size: 11px; }
  .wx-modal .wx-pay-hint { margin-top: 2px !important; min-height: 0; font-size: 10px; line-height: 1.4; text-align: center; }
  .wx-modal .wx-sub-card { margin-top: 12px !important; padding: 4px 8px !important; }
  .wx-modal .wx-sub-info strong { font-size: 11.5px; }
  .wx-modal .wx-sub-info span { font-size: 9.5px; }
}




/* 预设条的右滑箭头只给手机端用：桌面端隐藏，避免 SVG 无尺寸时撑满整条 */
.dock-swipe-hint { display: none; }
.dock-swipe-hint svg { width: 20px; height: 20px; }

