/* ==========================================================================
   GTX Demos — interactive demo components ported from the FY27 fixed-canvas deck
   All rules are scoped under .gtx-demo. Layout is fluid (grid two-column,
   stacks below 900px); phone mockups keep their original aspect ratios and
   every former px-positioned sticker is converted to % of the mockup box.

   Conversion bases (original deck px):
   - 04 f5v4 phone canvas : 390 wide, bg 853×1844 → canvas 390×843.06, vp 390×660
   - 05 p7   phone        : 360×640
   - 06 p8   phone vp     : 406×592 (pinner 390 wide, long img 853×10472)
   - 07 c11  phone        : 360×779 (full 1170×2532 base)
   - 08 sg6  phone        : 470×612 (img 1170×1524)
   ========================================================================== */

.gtx-demo {
  /* local tokens — self-contained, no dependency on site-level variables */
  --ink: #111;
  --paper: #fff;
  --accent: #C8102E;
  --paper-2: #F7F6F2;
  --line: #E5E3DC;
  --g1: #6F6C64;
  --g2: #9B988F;
  --g3: #D8D5CC;
  --cn: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --en: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;

  display: block;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 32px) 0;
  font-family: var(--cn);
  color: var(--ink);
  background: var(--paper);
}
.gtx-demo *,
.gtx-demo *::before,
.gtx-demo *::after { box-sizing: border-box; }
.gtx-demo img { user-select: none; -webkit-user-drag: none; }
.gtx-demo .reg { font-size: 1.08em; line-height: 0; vertical-align: super; }

/* hidden state radios (CSS/JS hooks — keep in flow-free position, never fixed) */
.gtx-demo .ipg-r { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }

/* --------------------------------------------------------------------------
   Shared header
   -------------------------------------------------------------------------- */
.gtx-demo .gtx-demo-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-bottom: clamp(18px, 3vw, 30px);
}
.gtx-demo .gtx-demo-head h2 {
  margin: 0;
  font-family: var(--cn);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.1;
  color: var(--ink);
}
.gtx-demo .gtx-demo-head .en {
  display: block;
  margin-top: 8px;
  font-family: var(--en);
  font-weight: 600;
  font-size: clamp(11px, 1.4vw, 14px);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--g1);
}
.gtx-demo .gtx-demo-head p {
  margin: 10px 0 0;
  max-width: 640px;
  color: #59564E;
  font-size: clamp(13px, 1.6vw, 16px);
  line-height: 1.55;
}
.gtx-demo .gtx-demo-headnote {
  min-width: 170px;
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 12px;
}
.gtx-demo .gtx-demo-headnote span {
  display: block;
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.gtx-demo .gtx-demo-headnote b {
  display: block;
  margin-top: 5px;
  font-size: clamp(13px, 1.5vw, 14px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Shared two-column body: control column 320–380px / fluid stage,
   stacked (control on top) at ≤900px
   -------------------------------------------------------------------------- */
.gtx-demo .gtx-demo-body {
  display: grid;
  grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}
@media (max-width: 900px) {
  .gtx-demo .gtx-demo-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .gtx-demo .gtx-demo-body { grid-template-columns: minmax(0, 1fr); }
}
/* 商品详情页：左步骤栏与右手机预览等宽（各 430，与手机 max-width 一致）、整体居中 */
#demo-detail .gtx-demo-body { grid-template-columns: minmax(0, 430px) minmax(0, 430px); justify-content: center; }
@media (max-width: 940px) { #demo-detail .gtx-demo-body { grid-template-columns: minmax(0, 1fr); } }

/* control cards */
.gtx-demo .f5v4-control,
.gtx-demo .p7-control,
.gtx-demo .c11-control,
.gtx-demo .p8-elev,
.gtx-demo .sg6-panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: clamp(14px, 2vw, 20px);
  min-width: 0;
}
.gtx-demo .gtx-control-title {
  padding: 2px 2px 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--g3);
}
.gtx-demo .gtx-control-title span {
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g1);
}
.gtx-demo .gtx-control-title b {
  display: block;
  margin-top: 6px;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  line-height: 1.25;
}

/* step rows (label in 04, buttons in 05/07) */
.gtx-demo .f5v4-step,
.gtx-demo .p7-step,
.gtx-demo .c11-step,
.gtx-demo .sg6-step {
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--g3);
  background: transparent;
  width: 100%;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: clamp(11px, 1.6vw, 14px) 8px clamp(11px, 1.6vw, 14px) 0;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--cn);
  transition: background .18s ease, color .18s ease;
}
/* sg6「已加入关键词」开启态：编号菱形转红 */
.gtx-demo.ss-has-ph .sg6-step[data-ss-step="ph"],
.gtx-demo.ss-has-hot .sg6-step[data-ss-step="hot"] { --dia-bg: var(--accent); --dia-fg: #fff; --dia-bd: var(--accent); }
.gtx-demo .f5v4-step .num,
.gtx-demo .p7-step .num,
.gtx-demo .c11-step .num,
.gtx-demo .sg6-step .num {
  color: var(--accent);
  font-family: var(--en);
  font-weight: 600;
  font-size: clamp(14px, 1.8vw, 17px);
  line-height: 1.3;
  letter-spacing: .04em;
  text-align: center;
}
/* 文字列是 grid 的 1fr 轨道：必须允许收缩，否则其中 nowrap 内容（kwline/芯片）
   会把轨道撑宽并溢出到卡片左侧（主图页 p7 网格更窄时尤为明显） */
.gtx-demo .f5v4-step .txt,
.gtx-demo .p7-step .txt,
.gtx-demo .c11-step .txt,
.gtx-demo .sg6-step .txt {
  min-width: 0;
}
.gtx-demo .f5v4-step .txt b,
.gtx-demo .p7-step .txt b,
.gtx-demo .c11-step .txt b,
.gtx-demo .sg6-step .txt b {
  display: block;
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 600;
  line-height: 1.28;
}
.gtx-demo .f5v4-step .txt i,
.gtx-demo .p7-step .txt i,
.gtx-demo .c11-step .txt i,
.gtx-demo .sg6-step .txt i {
  display: block;
  margin-top: 5px;
  color: var(--g1);
  font-size: clamp(12px, 1.5vw, 13.5px);
  line-height: 1.45;
  font-style: normal;
}

/* active step state — toggled by JS on the .gtx-demo root */
.gtx-demo.f5-has-logo .step-logo,
.gtx-demo.f5-has-icons .step-icons,
.gtx-demo.f5-has-copy .step-copy,
.gtx-demo.p7-has-logo .p7-step-logo,
.gtx-demo.p7-has-icons .p7-step-icons,
.gtx-demo.p7-has-tech .p7-step-tech,
.gtx-demo.p7-has-title .p7-step-title,
.gtx-demo.c11-has-nav .c11-step-nav,
.gtx-demo.c11-has-gore .c11-step-gore,
.gtx-demo.c11-has-wind .c11-step-wind { --dia-bg: var(--accent); --dia-fg: #fff; --dia-bd: var(--accent); }
.gtx-demo.f5-has-logo .step-logo .txt i,
.gtx-demo.f5-has-icons .step-icons .txt i,
.gtx-demo.f5-has-copy .step-copy .txt i,
.gtx-demo.p7-has-logo .p7-step-logo .txt i,
.gtx-demo.p7-has-icons .p7-step-icons .txt i,
.gtx-demo.p7-has-tech .p7-step-tech .txt i,
.gtx-demo.p7-has-title .p7-step-title .txt i,
.gtx-demo.c11-has-nav .c11-step-nav .txt i,
.gtx-demo.c11-has-gore .c11-step-gore .txt i,
.gtx-demo.c11-has-wind .c11-step-wind .txt i { color: var(--g1); }

/* principle blocks */
.gtx-demo .gtx-principle {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 4px solid var(--ink);
  background: var(--paper);
}
.gtx-demo .gtx-principle span {
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g1);
}
.gtx-demo .gtx-principle b {
  display: block;
  margin-top: 7px;
  font-size: clamp(13px, 1.6vw, 15px);
  font-weight: 600;
  line-height: 1.4;
}

/* shared blink animation for dashed focus callouts */
@keyframes gtxDashBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* ==========================================================================
   04 — Search Results (f5v4)
   Phone: 390 wide; viewport 390×660 → aspect-ratio 390/660.
   Canvas height at 390 wide = 390×1844/853 = 843.06px (basis of % tops).
   ========================================================================== */
.gtx-demo .f5v4-stage { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.gtx-demo .f5v4-phone { align-self: center; }
/* 适用渠道标签行（右上角，表示适用平台） */
.gtx-demo .f5v4-channels {
  display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap;
  gap: 6px; width: 100%; max-width: 390px; margin: 0 auto 10px;
}
/* 各示范页渠道行宽度与其样机对齐；stage 改纵向使渠道行落在样机上方 */
.gtx-demo .p7-stage .f5v4-channels { max-width: 460px; }
.gtx-demo .p8-mockwrap .f5v4-channels { max-width: 500px; }
.gtx-demo .c11-stage .f5v4-channels { max-width: 385px; }
.gtx-demo .sg6-stage .f5v4-channels { max-width: 520px; }
.gtx-demo .p7-stage, .gtx-demo .c11-stage { flex-direction: column; align-items: center; }
.gtx-demo .p8-mockwrap { flex-direction: column; align-items: center; }
.gtx-demo .f5ch-label { font-size: 11px; font-weight: 800; color: var(--g1); letter-spacing: .04em; margin-right: 2px; }
.gtx-demo .f5ch {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 700; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  padding: 2.5px 10px 2.5px 3px;
}
.gtx-demo .f5ch i {
  width: 16px; height: 16px; border-radius: 5px; flex: 0 0 16px;
  display: inline-flex; align-items: center; justify-content: center;
}
.gtx-demo .f5ch i svg { width: 12px; height: 12px; fill: #fff; display: block; }
.gtx-demo .f5ch.tm i { background: #FF0036; }   /* 天猫红 */
.gtx-demo .f5ch.jd i { background: #E1251B; }   /* 京东红 */
.gtx-demo .f5ch.wx i { background: #07C160; }   /* 微信绿 */
.gtx-demo .f5ch.dy i { background: #161823; }   /* 抖音黑 */
/* 控制项①②编号+冒号紧贴标签，不分离换行 */
.gtx-demo .f5v4-step .txt i b { white-space: nowrap; }
/* 关键词行：标签 + 关键词整行不换行；标签转回行内，与关键词同行 */
.gtx-demo .kwline { display: block; white-space: nowrap; margin-top: 5px; font-size: clamp(11px, 1.35vw, 12.5px); }
.gtx-demo .kwline:first-child { margin-top: 0; }
/* 标签（品牌词/核心功能词/品类词）与正文一致：不加粗放大、不变色 */
.gtx-demo .txt i .kwline b { display: inline; font-weight: 600; white-space: nowrap; }
/* 品牌词 4 个词分两行（GORE-TEX·GORETEX / GTX·WINDSTOPPER），上下左对齐 */
.gtx-demo .kw2col { display: inline-grid; grid-template-columns: repeat(2, max-content); gap: 5px 6px; vertical-align: top; }
/* 含芯片的整段文字（会换行）加大行距，避免上下行芯片贴在一起（搜索页/主图页通用） */
.gtx-demo .txt i:has(.kw) { line-height: 2.1; }
/* 主图页 p7 的文字列比搜索页窄：关键词行与含芯片的描述需在列内换行，
   不能 nowrap 撑破卡片。芯片块按 inline-flex 排布并允许换行，
   标签与第一组芯片同行、溢出芯片整齐回落到下一行（仍在文字列内）。 */
.gtx-demo .p7-step .kwline {
  display: block;
  white-space: normal;
}
.gtx-demo .p7-step .txt i .kwline b { white-space: nowrap; }
.gtx-demo .p7-step .txt i .kw,
.gtx-demo .p7-step .txt i b { vertical-align: middle; }
/* 素材下载按钮（02 logo / 03 功能 icon），在步骤文字下方 */
.gtx-demo .dlrow { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-top: 9px; }
.gtx-demo .dlbtn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  pointer-events: auto; cursor: pointer;
  background: #fff; border: 1px solid var(--g3); border-radius: 8px;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.gtx-demo .dlbtn svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gtx-demo .dlbtn:hover { border-color: var(--accent); box-shadow: 0 2px 9px rgba(200, 16, 46, .18); }
.gtx-demo .dlbtn:active { transform: translateY(1px); }
.gtx-demo .dlbtn::after {
  content: attr(data-tip);
  position: absolute; left: 50%; bottom: calc(100% + 7px);
  transform: translateX(-50%) translateY(3px);
  background: var(--ink); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .02em;
  line-height: 1; white-space: nowrap; padding: 5px 8px; border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
  opacity: 0; pointer-events: none; z-index: 30;
  transition: opacity .15s ease, transform .15s ease;
}
.gtx-demo .dlbtn:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }
/* 关键词芯片：浅黄底、可点复制、hover 显示「点击复制」气泡 */
.gtx-demo .kw {
  position: relative;
  display: inline-block;
  margin: 0 1px;
  padding: 1px 6px;
  background: #fff3c4;
  border: 1px solid #efd97a;
  border-radius: 5px;
  color: var(--ink);
  font-family: var(--cn);
  font-weight: 700;
  font-style: normal;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
  transition: background .15s ease, transform .1s ease;
}
.gtx-demo .kw:hover { background: #ffe683; }
.gtx-demo .kw:active { transform: scale(.94); }
.gtx-demo .kw::after {
  content: "点击复制";
  position: absolute;
  left: 50%; bottom: calc(100% + 7px);
  transform: translateX(-50%) translateY(3px);
  background: var(--ink); color: #fff;
  font-size: 10px; font-weight: 600; letter-spacing: .02em;
  line-height: 1; white-space: nowrap;
  padding: 5px 8px; border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
  opacity: 0; pointer-events: none; z-index: 30;
  transition: opacity .15s ease, transform .15s ease;
}
.gtx-demo .kw::before {
  content: ""; position: absolute; left: 50%; bottom: calc(100% + 2px);
  transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--ink);
  opacity: 0; pointer-events: none; z-index: 30; transition: opacity .15s ease;
}
.gtx-demo .kw:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.gtx-demo .kw:hover::before { opacity: 1; }
.gtx-demo .kw.copied::after { content: "已复制 ✓"; opacity: 1; transform: translateX(-50%) translateY(0); background: var(--accent); }
.gtx-demo .kw.copied::before { opacity: 1; border-top-color: var(--accent); }
/* 贴片标题里的关键词高亮（黄底标注"必须照写的词"：品牌词 + 核心功能词） */
.gtx-demo .f5v4-copy b mark {
  background: #ffe680; color: #1a1a1a; border-radius: 2px;
  padding: 0 1px; font-weight: 600;
}

/* 「可选」单项标签（灰描边） */
.gtx-demo .f5v4-step .tag-opt {
  font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .04em;
  border-radius: 3px; padding: 2px 8px; margin-left: 7px; vertical-align: 1px; white-space: nowrap;
  color: var(--g1); background: #f1f1f1; border: 1px solid var(--g3);
}
/* 「二选一」虚线括号：右侧把①标题与②科技logo连起来（③功能icon在下方·可选）。
   括号中央是红色菱形「二选一」徽标，沿用编号菱形的标注语言。top/height 由 JS 按①②标题行定位 */
.gtx-demo .f5v4-steps { position: relative; padding-right: 56px; }
/* 虚线括号 spine（top/height 由 JS 定到①②标题行）；右移使大菱形左缘贴正文边界、右缘溢出到控制列↔手机的空隙 */
.gtx-demo .f5v4-pick {
  position: absolute; right: 24px; width: 13px;
  border: 1.6px dashed var(--accent); border-left: 0;
  border-radius: 0 8px 8px 0;
  pointer-events: none; z-index: 2;
}
/* 徽标组「至少 / 二选一菱形 / 必须」：竖向堆叠，中心压在 spine（right:28px）上；top 由 JS 设到①②中点，translate 做水平+垂直居中 */
.gtx-demo .f5v4-pickbadge {
  position: absolute; right: 24px; transform: translate(50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  pointer-events: none; z-index: 3;
}
/* 菱形内两行：至少 / 二选一 */
.gtx-demo .f5v4-pickbadge .pb-dia {
  width: 64px; height: 64px;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  background: var(--accent); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  line-height: 1; box-shadow: 0 2px 10px rgba(200, 16, 46, .34);
}
.gtx-demo .f5v4-pickbadge .pb-dia .pd-top {
  font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .02em; line-height: 1;
}
.gtx-demo .f5v4-pickbadge .pb-dia .pd-main {
  font-size: 11px; font-weight: 800; letter-spacing: .02em; line-height: 1;
}
.gtx-demo .f5v4-pickbadge .pb-bot {
  font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .06em;
  color: #fff; background: var(--accent); border-radius: 3px;
  padding: 2px 9px; line-height: 1.2;
}
.gtx-demo .f5v4-phone {
  width: 100%;
  max-width: 390px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 54px -42px rgba(12, 12, 13, .45);
  container-type: inline-size;
}
.gtx-demo .f5v4-vp {
  position: relative;
  aspect-ratio: 390 / 660;
  overflow: hidden;
  background: #fff;
}
.gtx-demo .f5v4-vp .pinner { width: 100%; background: #fff; }
.gtx-demo .f5v4-canvas { position: relative; width: 100%; }
.gtx-demo .f5v4-canvas > img.bgfull { display: block; width: 100%; height: auto; }

.gtx-demo .f5v4-logo-sticker,
.gtx-demo .f5v4-icons-sticker,
.gtx-demo .f5v4-copy {
  opacity: 0;
  transform: translateY(4px) scale(.98);
  transition: opacity .24s ease, transform .24s ease;
}
.gtx-demo.f5-has-logo .f5v4-logo-sticker,
.gtx-demo.f5-has-icons .f5v4-icons-sticker,
.gtx-demo.f5-has-copy .f5v4-copy { opacity: 1; transform: none; }

/* logo sticker: 142,207 34×34 → l 36.41% t 24.55% w 8.72% (square) */
.gtx-demo .f5v4-logo-sticker {
  position: absolute;
  /* 两侧科技 logo 同放各自卡片「左上角」（与下方功能 icon 同列），左右位置一致；略靠左、略靠上，同时避开背景圆圈 logo 占位 */
  left: 4.2%; top: 28%;
  width: 8.72%; aspect-ratio: 1 / 1;
  z-index: 4; display: block;
}
.gtx-demo .f5v4-logo-sticker img {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .26));
}
/* icons sticker: 8,314 w42 → l 2.05% t 37.25% w 10.77%; icon img 22/42 of group */
.gtx-demo .f5v4-icons-sticker {
  position: absolute;
  left: 2.05%; top: 37.25%;
  width: 10.77%;
  z-index: 4;
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; gap: 1cqw;
  color: var(--ink);
}
.gtx-demo .f5v4-icon-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 1px; line-height: 1; color: inherit; width: 100%;
}
.gtx-demo .f5v4-icon-item img { width: 52.4%; height: auto; display: block; object-fit: contain; }
.gtx-demo .f5v4-icon-item b {
  display: block;
  font-size: 9px; font-size: 2.31cqw;
  line-height: 1.05; white-space: nowrap; font-weight: 400;
}
/* copy card: 9,452 w180 → l 2.31% t 53.61% w 46.15% */
.gtx-demo .f5v4-copy {
  position: absolute;
  left: 2.31%; top: 52.3%;
  width: 48%; min-height: 5%;
  padding: 1.8cqw 0 2cqw;
  z-index: 3;
}
.gtx-demo .f5v4-copy b {
  display: block; color: var(--ink);
  font-size: 11px; font-size: 2.55cqw;
  line-height: 1.22; font-weight: 400;
  white-space: nowrap;
}
.gtx-demo .f5v4-copy i {
  display: block; margin-top: 4px; margin-top: 1cqw;
  color: var(--g1);
  font-size: 10px; font-size: 2.56cqw;
  line-height: 1.2; font-style: normal;
}
/* dashed focus callouts: 138,203 42² / 4,308 54×116 / 6,448 190×48 */
.gtx-demo .f5v4-focus {
  display: none;
  position: absolute;
  z-index: 6;
  border: 1.5px dashed var(--accent);
  background: transparent;
  border-radius: 5px;
  pointer-events: none;
}
.gtx-demo .f5v4-focus-logo  { left: 3.17%; top: 27.53%; width: 10.77%; aspect-ratio: 1 / 1; }
.gtx-demo .f5v4-focus-icons { left: 1.03%;  top: 36.53%; width: 13.85%; height: 13.76%; }
.gtx-demo .f5v4-focus-copy  { left: 1.54%;  top: 51.8%; width: 48.72%; height: 5.69%; }
.gtx-demo.f5-pulse-logo .f5v4-focus-logo,
.gtx-demo.f5-pulse-icons .f5v4-focus-icons,
.gtx-demo.f5-pulse-copy .f5v4-focus-copy { display: block; animation: gtxDashBlink .28s step-end 0s 3; }

/* 右侧白标产品（WINDSTOPPER）贴片：停顿后再出现 → 先左、停顿、再右逐个示范。
   右侧 logo 放在左上、与下方功能 icon 对齐（同一列） */
.gtx-demo .f5v4-r-logo  { left: 52.65%; }
.gtx-demo .f5v4-r-icons { left: 50.5%; }
.gtx-demo .f5v4-r-copy  { left: 52%; }
/* 右侧 logo 既在左列，菱形编号改回右上角（避免落到两品中缝） */
.gtx-demo .f5v4-r-logo::after { left: auto; right: -9px; }
.gtx-demo .f5v4-r-logo,
.gtx-demo .f5v4-r-icons,
.gtx-demo .f5v4-r-copy { transition-delay: .9s; }
/* 右侧产品的红色闪烁焦点框（镜像左侧位置），由 JS pulse-r 在停顿后触发 */
.gtx-demo .f5v4-focus-r-logo  { left: 51.65%; top: 27.53%; width: 10.77%; aspect-ratio: 1 / 1; }
.gtx-demo .f5v4-focus-r-icons { left: 49.5%;   top: 36.53%; width: 13.85%; height: 13.76%; }
.gtx-demo .f5v4-focus-r-copy  { left: 51.5%; top: 51.8%; width: 48.72%; height: 5.69%; }
.gtx-demo.f5-pulse-r-logo .f5v4-focus-r-logo,
.gtx-demo.f5-pulse-r-icons .f5v4-focus-r-icons,
.gtx-demo.f5-pulse-r-copy .f5v4-focus-r-copy { display: block; animation: gtxDashBlink .28s step-end 0s 3; }

/* ===== 搜索结果页 HTML 复刻（替代原 PNG）===== */
.gtx-demo .srhtml{ background:#fff; border-radius:14px; overflow:hidden; }
/* 进场动画（与 sr-mock 一致）：搜索词打字 + 商品卡逐个淡入上移 */
.gtx-demo .srhtml .srh-card{ transition:opacity .5s ease, transform .55s cubic-bezier(.2,.75,.25,1); }
.gtx-demo .srhtml.srh-intro .srh-card{ opacity:0; transform:translateY(24px); }
.gtx-demo .srhtml.srh-intro .srh-card.in{ opacity:1; transform:none; }
.gtx-demo .srhtml .srh-t.caret::after{ content:""; display:inline-block; width:1.5px; height:14px; background:#333; margin-left:1px; vertical-align:-2px; animation:srhBlink .8s steps(1) infinite; }
@keyframes srhBlink{ 50%{ opacity:0 } }
.gtx-demo .srhtml .srh-srow{ display:flex; align-items:center; gap:10px; padding:12px 12px 9px; }
.gtx-demo .srhtml .srh-back{ font-size:20px; color:#222; line-height:1; }
.gtx-demo .srhtml .srh-box{ flex:1; display:flex; align-items:center; gap:6px; background:#f4f4f6; border-radius:999px; padding:7px 12px; font-size:13px; font-weight:700; color:#222; }
.gtx-demo .srhtml .srh-box .srh-t{ flex:1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gtx-demo .srhtml .srh-x{ flex:none; width:14px; height:14px; border-radius:50%; background:#c7c7cb; color:#fff; font-size:9px; display:flex; align-items:center; justify-content:center; }
.gtx-demo .srhtml .srh-ic{ width:20px; height:20px; flex:none; color:#333; }
.gtx-demo .srhtml .srh-tabs{ display:flex; align-items:center; padding:2px 12px 9px; font-size:13px; }
.gtx-demo .srhtml .srh-tabs a{ flex:1; text-align:center; font-weight:800; color:#333; }
.gtx-demo .srhtml .srh-tabs a.on{ color:#ff3a2f; }
.gtx-demo .srhtml .srh-tabs a.ai{ flex:none; color:#ff3a2f; font-weight:900; padding-left:9px; margin-left:4px; border-left:1px solid #e2e2e2; }
.gtx-demo .srhtml .srh-chips{ display:flex; gap:8px; padding:0 12px 12px; }
.gtx-demo .srhtml .srh-chips span{ font-size:11.5px; font-weight:700; color:#555; background:#f4f4f6; border-radius:7px; padding:7px 13px; white-space:nowrap; }
.gtx-demo .srhtml .srh-chips span.on{ color:#ff3a2f; background:#fdeceb; }
.gtx-demo .srhtml .srh-grid{ display:grid; grid-template-columns:1fr 1fr; gap:9px; padding:0 9px 12px; background:#f2f3f5; }
.gtx-demo .srhtml .srh-card{ min-width:0; }
.gtx-demo .srhtml .srh-cimg{ position:relative; width:100%; height:0; padding-bottom:138%; background:#cdcdcf; border-radius:11px; overflow:hidden; }
.gtx-demo .srhtml .srh-cimg > img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.gtx-demo .srhtml .srh-info{ padding:8px 4px 2px; }
.gtx-demo .srhtml .srh-price{ color:#ff3a2f; font-weight:900; }
.gtx-demo .srhtml .srh-price .y{ font-size:12px; }
.gtx-demo .srhtml .srh-price b{ font-size:17px; }
.gtx-demo .srhtml .srh-sold{ color:#9a9a9f; font-size:11px; font-weight:600; margin-left:6px; }
.gtx-demo .srhtml .srh-shop{ display:block; margin-top:5px; font-size:11.5px; color:#333; font-weight:700; }
.gtx-demo .srhtml .srh-shop b{ color:#111; }
/* 贴纸重新锚定到卡片（显隐仍由 f5-has-* 控制）*/
/* logo 与图标：同一中轴（都 left:5% width:15% → 中心 12.5%），logo 更小更靠下、图标整体更小 */
.gtx-demo .srhtml .f5v4-logo-sticker,
.gtx-demo .srhtml .f5v4-logo-sticker.f5v4-r-logo{ position:absolute; left:3%; top:11%; right:auto; width:17%; height:auto; }
.gtx-demo .srhtml .f5v4-icons-sticker,
.gtx-demo .srhtml .f5v4-icons-sticker.f5v4-r-icons{ position:absolute; left:3%; top:38%; right:auto; bottom:auto; width:17%; display:flex; flex-direction:column; align-items:center; gap:6px; }
.gtx-demo .srhtml .f5v4-icon-item{ display:flex; flex-direction:column; align-items:center; gap:2px; width:100%; flex:none; overflow:hidden; }
.gtx-demo .srhtml .f5v4-icon-item img{ position:static; width:19px; height:19px; object-fit:contain; display:block; }
.gtx-demo .srhtml .f5v4-icon-item b{ font-size:8px; line-height:1; font-weight:600; color:#222; white-space:nowrap; }
.gtx-demo .srhtml .f5v4-copy,
.gtx-demo .srhtml .f5v4-copy.f5v4-r-copy{ position:relative; left:auto; top:auto; width:auto; min-height:0; max-height:none; opacity:1; overflow:visible; padding:0 4px; transform:none; box-shadow:none; background:transparent; }
.gtx-demo .srhtml .f5v4-copy .f5cin{ display:block; max-height:0; opacity:0; overflow:hidden; transition:max-height .45s cubic-bezier(.2,.75,.25,1), opacity .4s ease .1s, padding-top .45s ease; }
.gtx-demo.f5-has-copy .srhtml .f5v4-copy .f5cin{ max-height:48px; opacity:1; padding-top:7px; }
/* 徽标「1」浮在标题左上角，不占标题文字位置 */
.gtx-demo .srhtml .f5v4-copy::after{ top:-8px; left:-2px; right:auto; }
.gtx-demo .srhtml .f5v4-copy b{ display:block; width:100%; font-size:11px; font-weight:800; color:#222; line-height:1.4; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gtx-demo .srhtml .f5v4-copy i{ display:block; margin-top:2px; font-size:10.5px; font-style:normal; color:#8a8a8f; white-space:nowrap; }

/* 贴上时：logo/图标「弹入」（从 0.82 缩放 + 回弹）*/
.gtx-demo .srhtml .f5v4-logo-sticker,
.gtx-demo .srhtml .f5v4-icons-sticker{ transform:scale(.82); transition:opacity .28s ease, transform .44s cubic-bezier(.34,1.5,.5,1); }
.gtx-demo.f5-has-logo .srhtml .f5v4-logo-sticker,
.gtx-demo.f5-has-icons .srhtml .f5v4-icons-sticker{ transform:none; }
/* 落点扫一圈品牌红柔光，脉冲一次即淡出（替代旧红框闪烁）*/
.gtx-demo .srhtml .f5v4-logo-sticker::before,
.gtx-demo .srhtml .f5v4-icons-sticker::before,
.gtx-demo .srhtml .f5v4-copy::before{ content:""; position:absolute; left:50%; top:50%; width:150%; height:150%; transform:translate(-50%,-50%) scale(.3); border-radius:50%; background:radial-gradient(circle, rgba(255,58,47,.55) 0%, rgba(255,58,47,0) 68%); opacity:0; pointer-events:none; z-index:0; }
.gtx-demo .srhtml .f5v4-copy::before{ width:64%; height:230%; left:30%; }
.gtx-demo.f5-has-logo .srhtml .f5v4-logo-sticker::before,
.gtx-demo.f5-has-icons .srhtml .f5v4-icons-sticker::before,
.gtx-demo.f5-has-copy .srhtml .f5v4-copy::before{ animation:gtxGlowPulse .72s ease-out 1; }
@keyframes gtxGlowPulse{ 0%{ opacity:0; transform:translate(-50%,-50%) scale(.28); } 28%{ opacity:1; } 100%{ opacity:0; transform:translate(-50%,-50%) scale(1.45); } }
@media (prefers-reduced-motion: reduce){ .gtx-demo .srhtml .f5v4-logo-sticker, .gtx-demo .srhtml .f5v4-icons-sticker{ transition:opacity .2s ease; transform:none; } .gtx-demo .srhtml .f5v4-logo-sticker::before, .gtx-demo .srhtml .f5v4-icons-sticker::before, .gtx-demo .srhtml .f5v4-copy::before{ display:none; } }
.gtx-demo .srhtml .f5v4-copy b mark{ background:transparent; color:#ff3a2f; }

/* 控制项「最重要」徽标 */
.gtx-demo .f5v4-step .must {
  font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .04em;
  color: #fff; background: var(--accent); border-radius: 3px;
  padding: 1px 6px; margin-left: 6px; vertical-align: 1px;
}
.gtx-demo .f5v4-step .txt i b { font-weight: 800; color: inherit; }

/* ==========================================================================
   05 — Main image & title (p7)
   Phone fixed box 360×640 → aspect-ratio 9/16; all px → % of 360 / 640.
   ========================================================================== */
.gtx-demo .p7-stage { display: flex; justify-content: center; min-width: 0; }
.gtx-demo .p7-phone-card {
  width: 100%;
  max-width: 390px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 54px -42px rgba(12, 12, 13, .45);
  padding: 12px;
}
.gtx-demo .p7-visual-label {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.gtx-demo .p7-visual-label span {
  font-family: var(--en); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--g1);
}
.gtx-demo .p7-visual-label b { font-size: clamp(13px, 1.7vw, 16px); font-weight: 600; color: var(--ink); }
.gtx-demo .p7-phone {
  position: relative;
  width: 100%;
  aspect-ratio: 360 / 640;
  overflow: hidden;
  background: #fff;
  container-type: inline-size;
}
.gtx-demo .p7-phone-base { width: 100%; height: auto; display: block; }

.gtx-demo .p7-logo-sticker,
.gtx-demo .p7-icons-sticker,
.gtx-demo .p7-title-overlay {
  opacity: 0;
  transform: translateY(4px) scale(.98);
  transition: opacity .24s ease, transform .24s ease;
}
.gtx-demo.p7-has-logo .p7-logo-sticker,
.gtx-demo.p7-has-icons .p7-icons-sticker,
.gtx-demo.p7-has-title .p7-title-overlay { opacity: 1; transform: none; }

/* logo: 25,105 64² → l 6.94% t 16.41% w 17.78% */
.gtx-demo .p7-logo-sticker {
  position: absolute;
  left: 6.94%; top: 16.41%;
  width: 17.78%; aspect-ratio: 1 / 1;
  z-index: 4; display: block;
}
.gtx-demo .p7-logo-sticker img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .26));
}
/* icons: 29,232; icon 32px → 8.89cqw */
.gtx-demo .p7-icons-sticker {
  position: absolute;
  left: 8.06%; top: 36.25%;
  z-index: 4;
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; gap: 2.2cqw;
  color: var(--ink);
}
.gtx-demo .p7-icons-sticker span {
  display: flex; flex-direction: column; align-items: center;
  gap: 1px; line-height: 1; color: inherit;
}
.gtx-demo .p7-icons-sticker img { width: 32px; width: 8.89cqw; height: auto; display: block; object-fit: contain; }
.gtx-demo .p7-icons-sticker b {
  display: block;
  font-size: 11px; font-size: 3.06cqw;
  line-height: 1.05; white-space: nowrap; font-weight: 400;
}
/* carousel: 0,74 360×398 → t 11.56% h 62.19% */
.gtx-demo .p7-carousel {
  position: absolute;
  left: 0; top: 11.56%;
  width: 100%; height: 62.19%;
  overflow: hidden;
  z-index: 5;
  pointer-events: none;
  background: transparent;
}
.gtx-demo .p7-carousel-track {
  position: absolute; inset: 0;
  width: 200%; height: 100%;
  display: flex;
  transform: translateX(0);
  transition: transform .58s cubic-bezier(.22, .75, .2, 1);
}
.gtx-demo.p7-has-tech .p7-carousel-track { transform: translateX(-50%); }
.gtx-demo .p7-carousel-slide {
  width: 50%; height: 100%; flex: 0 0 50%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.gtx-demo .p7-carousel-main { background: transparent; }
.gtx-demo .p7-carousel-tech { background: #090806; }
.gtx-demo .p7-carousel-tech img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gtx-demo .p7-carousel-dots {
  position: absolute; left: 0; right: 0; bottom: 1.4%;
  z-index: 7;
  display: flex; justify-content: center;
  gap: 7px; gap: 1.94cqw;
}
.gtx-demo .p7-carousel-dots span {
  width: 28px; width: 7.78cqw;
  height: 3px;
  background: rgba(8, 9, 12, .28);
  transition: background .28s ease;
}
.gtx-demo .p7-carousel-dots span:first-child { background: var(--ink); }
.gtx-demo.p7-has-tech .p7-carousel-dots span:first-child { background: rgba(8, 9, 12, .28); }
.gtx-demo.p7-has-tech .p7-carousel-dots span:last-child { background: var(--ink); }
/* title: 24,596 w292 → l 6.67% t 93.13% w 81.11% */
.gtx-demo .p7-title-overlay {
  position: absolute;
  left: 6.67%; top: 93.13%;
  width: 81.11%; min-height: 3.1%;
  z-index: 8;
  background: transparent; padding: 0;
}
.gtx-demo .p7-title-overlay b {
  display: block; color: var(--ink);
  font-size: 12px; font-size: 3.33cqw;
  line-height: 1.22; font-weight: 400;
}

/* ===== 主图与标题 → 天猫商详页 HTML 复刻 ===== */
.gtx-demo .p7-phone.p7html{ aspect-ratio:auto; height:auto; display:flex; flex-direction:column; background:#f4f4f6; overflow:hidden; }
/* 顶部店铺头 */
.gtx-demo .p7html .p7h-top{ display:flex; align-items:center; gap:9px; padding:11px 12px 9px; background:#fff; }
.gtx-demo .p7html .p7h-back{ font-size:21px; color:#222; line-height:1; }
.gtx-demo .p7html .p7h-shop{ display:flex; align-items:center; gap:7px; flex:1; min-width:0; }
.gtx-demo .p7html .p7h-ava{ width:29px; height:29px; border-radius:50%; background:var(--ink); color:#fff; display:flex; align-items:center; justify-content:center; flex:none; }
.gtx-demo .p7html .p7h-ava svg{ width:16px; height:16px; fill:none; stroke:#fff; stroke-width:1.6; stroke-linejoin:round; stroke-linecap:round; }
.gtx-demo .p7html .p7h-shopn{ display:flex; flex-direction:column; min-width:0; line-height:1.25; }
.gtx-demo .p7html .p7h-shopn b{ font-size:13px; font-weight:800; color:#222; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gtx-demo .p7html .p7h-shopn i{ font-size:10px; font-style:normal; color:#999; }
.gtx-demo .p7html .p7h-acts{ display:flex; gap:13px; flex:none; }
.gtx-demo .p7html .p7h-acts svg{ width:19px; height:19px; fill:none; stroke:#333; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
/* 主图 */
.gtx-demo .p7html .p7h-main{ position:relative; width:100%; padding-bottom:112%; background:#cdcdcf; overflow:hidden; flex:none; }
.gtx-demo .p7html .p7-carousel-track{ position:absolute; inset:0; width:200%; height:100%; display:flex; transform:translateX(0); transition:transform .58s cubic-bezier(.22,.75,.2,1); z-index:1; }
.gtx-demo.p7-has-tech .p7html .p7-carousel-track{ transform:translateX(-50%); }
.gtx-demo .p7html .p7-carousel-slide{ width:50%; height:100%; flex:0 0 50%; overflow:hidden; }
.gtx-demo .p7html .p7h-slide-main img{ width:100%; height:100%; object-fit:cover; display:block; }
.gtx-demo .p7html .p7-carousel-tech{ background:#000; display:flex; align-items:center; justify-content:center; }
.gtx-demo .p7html .p7-carousel-tech img{ width:100%; height:100%; object-fit:contain; display:block; }
.gtx-demo .p7html .p7h-imgbar{ position:absolute; left:0; right:0; bottom:0; z-index:6; display:flex; align-items:center; gap:10px; padding:14px 12px 8px; background:linear-gradient(transparent, rgba(0,0,0,.3)); }
.gtx-demo .p7html .p7h-find{ font-size:11px; color:#fff; font-weight:600; }
.gtx-demo .p7html .p7h-slidehint{ margin-left:auto; font-size:11px; color:#fff; opacity:.9; }
.gtx-demo .p7html .p7h-count{ font-size:11px; color:#fff; background:rgba(0,0,0,.4); border-radius:999px; padding:2px 9px; }
.gtx-demo .p7html .p7h-count::before{ content:"1/4"; }
.gtx-demo.p7-has-tech .p7html .p7h-count::before{ content:"4/4"; }
/* logo + 功能 icon 竖排（教学）*/
/* logo + 功能 icon 贴法与搜索页一致：左侧同轴、小尺寸、竖排 */
.gtx-demo .p7html .p7-logo-sticker{ position:absolute; left:4%; top:14%; right:auto; width:12%; aspect-ratio:auto; z-index:4; transform:scale(.82); transition:opacity .28s ease, transform .44s cubic-bezier(.34,1.5,.5,1); }
.gtx-demo .p7html .p7-icons-sticker{ position:absolute; left:4%; top:28%; right:auto; width:12%; z-index:4; display:flex; flex-direction:column; align-items:center; gap:7px; transform:scale(.82); transition:opacity .28s ease, transform .44s cubic-bezier(.34,1.5,.5,1); }
.gtx-demo.p7-has-logo .p7html .p7-logo-sticker,
.gtx-demo.p7-has-icons .p7html .p7-icons-sticker{ transform:none; }
.gtx-demo .p7html .p7-icons-sticker span{ display:flex; flex-direction:column; align-items:center; gap:2px; }
.gtx-demo .p7html .p7-icons-sticker img{ width:20px; height:20px; }
.gtx-demo .p7html .p7-icons-sticker b{ font-size:8px; line-height:1; font-weight:600; color:#222; }
/* 落点柔光脉冲（与搜索页一致）*/
.gtx-demo .p7html .p7-logo-sticker::before,
.gtx-demo .p7html .p7-icons-sticker::before,
.gtx-demo .p7html .p7-title-overlay::before{ content:""; position:absolute; left:26%; top:50%; width:60%; height:150%; transform:translate(-50%,-50%) scale(.3); border-radius:50%; background:radial-gradient(circle, rgba(255,58,47,.5) 0%, rgba(255,58,47,0) 68%); opacity:0; pointer-events:none; z-index:0; }
.gtx-demo.p7-has-logo .p7html .p7-logo-sticker::before,
.gtx-demo.p7-has-icons .p7html .p7-icons-sticker::before,
.gtx-demo.p7-has-title .p7html .p7-title-overlay::before{ animation:gtxGlowPulse .72s ease-out 1; }
/* 04 科技图解出现时，logo/icon 不叠在图解上 → 隐藏 */
.gtx-demo.p7-has-tech .p7html .p7-logo-sticker,
.gtx-demo.p7-has-tech .p7html .p7-icons-sticker{ opacity:0; pointer-events:none; transition:opacity .3s ease; }
/* 加载动画：商详页各区块依次淡入上移 */
.gtx-demo .p7html .p7h-top,
.gtx-demo .p7html .p7h-main,
.gtx-demo .p7html .p7h-thumbs,
.gtx-demo .p7html .p7h-info,
.gtx-demo .p7html .p7h-bar{ transition:opacity .5s ease, transform .55s cubic-bezier(.2,.75,.25,1); }
.gtx-demo .p7html.p7-intro .p7h-top,
.gtx-demo .p7html.p7-intro .p7h-main,
.gtx-demo .p7html.p7-intro .p7h-thumbs,
.gtx-demo .p7html.p7-intro .p7h-info,
.gtx-demo .p7html.p7-intro .p7h-bar{ opacity:0; transform:translateY(16px); }
.gtx-demo .p7html.p7-intro .p7h-top.in,
.gtx-demo .p7html.p7-intro .p7h-main.in,
.gtx-demo .p7html.p7-intro .p7h-thumbs.in,
.gtx-demo .p7html.p7-intro .p7h-info.in,
.gtx-demo .p7html.p7-intro .p7h-bar.in{ opacity:1; transform:none; }
/* 缩略图行 */
.gtx-demo .p7html .p7h-thumbs{ display:flex; align-items:center; gap:7px; padding:9px 12px; background:#fff; overflow-x:auto; scrollbar-width:none; -ms-overflow-style:none; }
.gtx-demo .p7html .p7h-thumbs::-webkit-scrollbar{ display:none; }
.gtx-demo .p7html .p7h-thumbs .th{ width:44px; height:44px; border-radius:7px; overflow:hidden; border:1.5px solid transparent; background:#f0f0f2; flex:none; display:flex; align-items:center; justify-content:center; }
.gtx-demo .p7html .p7h-thumbs .th img{ width:100%; height:100%; object-fit:cover; display:block; }
.gtx-demo .p7html .p7h-thumbs .th-album{ flex-direction:column; background:#3a3a3a; color:#fff; }
.gtx-demo .p7html .p7h-thumbs .th-album b{ font-size:10px; font-weight:700; }
.gtx-demo .p7html .p7h-thumbs .th-tech{ background:#090806; }
.gtx-demo .p7html .p7h-thumbs .th-tech img{ object-fit:contain; }
.gtx-demo .p7html .p7h-thumbs .th-all{ font-size:11px; color:#666; background:transparent; border:0; width:auto; margin-left:auto; }
.gtx-demo .p7html .p7h-thumbs .th-main{ border-color:#ff3a2f; }
.gtx-demo.p7-has-tech .p7html .p7h-thumbs .th-main{ border-color:transparent; }
.gtx-demo.p7-has-tech .p7html .p7h-thumbs .th-tech{ border-color:#ff3a2f; }
/* 价格 / 信息区 */
.gtx-demo .p7html .p7h-info{ padding:12px 13px 13px; background:#fff; margin-top:0; }
.gtx-demo .p7html .p7h-price{ display:flex; align-items:baseline; gap:5px; }
.gtx-demo .p7html .p7h-price .p7h-plat{ font-size:11.5px; font-weight:800; color:#ff3a2f; }
.gtx-demo .p7html .p7h-price .cur{ color:#ff3a2f; font-size:14px; font-weight:900; margin-left:2px; }
.gtx-demo .p7html .p7h-price b{ color:#ff3a2f; font-size:26px; font-weight:900; letter-spacing:-.02em; line-height:1; }
.gtx-demo .p7html .p7h-price .pre{ color:#9a9a9f; font-size:11px; font-weight:600; }
.gtx-demo .p7html .p7h-price .p7h-sold{ color:#9a9a9f; font-size:11px; font-weight:600; margin-left:auto; }
.gtx-demo .p7html .p7h-promo{ display:inline-flex; align-items:center; gap:4px; margin-top:9px; font-size:11px; font-weight:700; color:#c8102e; background:#fdeceb; border-radius:5px; padding:4px 9px; }
.gtx-demo .p7html .p7h-promo i{ font-style:normal; }
/* 标题（step 02 揭示）*/
.gtx-demo .p7html .p7-title-overlay{ position:relative; left:auto; top:auto; width:auto; min-height:0; z-index:auto; overflow:visible; padding:0; opacity:1; transform:none; }
/* 标题区不预留：整块折叠为 0，贴时(step 02)展开把下方内容顶下去 */
.gtx-demo .p7html .p7-title-overlay .p7tin{ display:flex; align-items:flex-start; gap:10px; max-height:0; opacity:0; overflow:hidden; transition:max-height .45s cubic-bezier(.2,.75,.25,1), opacity .4s ease .12s, margin-top .45s ease; }
.gtx-demo.p7-has-title .p7html .p7-title-overlay .p7tin{ max-height:64px; opacity:1; margin-top:12px; }
.gtx-demo .p7html .p7-title-overlay .p7cin{ display:block; flex:1; min-width:0; }
.gtx-demo .p7html .p7-title-overlay b{ font-size:14px; font-weight:800; line-height:1.45; color:#222; }
.gtx-demo .p7html .p7-title-overlay mark{ background:transparent; color:#ff3a2f; }
.gtx-demo .p7html .p7h-fav{ flex:none; display:flex; flex-direction:column; align-items:center; gap:2px; font-size:10px; color:#999; }
.gtx-demo .p7html .p7h-fav svg{ width:18px; height:18px; fill:none; stroke:#999; stroke-width:1.5; }
/* 标签 */
.gtx-demo .p7html .p7h-tags{ display:flex; align-items:center; gap:7px; margin-top:11px; }
.gtx-demo .p7html .p7h-tag{ font-size:10.5px; font-weight:700; color:#c8102e; background:#fdeceb; border-radius:4px; padding:3px 8px; white-space:nowrap; }
.gtx-demo .p7html .p7h-tags i{ font-style:normal; color:#bbb; margin-left:auto; font-size:14px; }
/* 底部购买栏 */
.gtx-demo .p7html .p7h-bar{ display:flex; align-items:center; padding:8px 10px; background:#fff; margin-top:0; }
.gtx-demo .p7html .p7h-baric{ display:flex; flex-direction:column; align-items:center; gap:2px; font-size:9px; color:#666; padding:0 7px; flex:none; }
.gtx-demo .p7html .p7h-baric svg{ width:18px; height:18px; fill:none; stroke:#555; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.gtx-demo .p7html .p7h-cart{ flex:1; margin-left:6px; text-align:center; font-size:13px; font-weight:800; color:#fff; background:#ffb300; border-radius:999px 0 0 999px; padding:11px 0; }
.gtx-demo .p7html .p7h-buy{ flex:1; text-align:center; font-size:13px; font-weight:800; color:#fff; background:#ff3a2f; border-radius:0 999px 999px 0; padding:11px 0; }
/* 徽标编号：logo=1 / 标题=2 / icon=3 / 科技图解=4 */
.gtx-demo .p7html .p7-title-overlay::after{ content:"2"; width:15px; height:15px; line-height:15px; font-size:9px; top:-13px; left:0; right:auto; }
.gtx-demo .p7html .p7-icons-sticker::after{ content:"3"; }
.gtx-demo .p7html .p7-carousel-tech::after{ content:"4"; }
/* focus callouts: 18,98 78² / 18,224 94×174 / 0,74 360×398 / 18,590 304×34 */
.gtx-demo .p7-focus {
  display: none;
  position: absolute;
  z-index: 9;
  border: 1.5px dashed var(--accent);
  background: transparent;
  border-radius: 5px;
  pointer-events: none;
}
.gtx-demo .p7-focus-logo  { left: 5%; top: 15.31%; width: 21.67%; height: 12.19%; }
.gtx-demo .p7-focus-icons { left: 5%; top: 35%;    width: 26.11%; height: 27.19%; }
.gtx-demo .p7-focus-tech  { left: 0;  top: 11.56%; width: 100%;   height: 62.19%; }
.gtx-demo .p7-focus-title { left: 5%; top: 92.19%; width: 84.44%; height: 5.31%; }
.gtx-demo.p7-pulse-logo .p7-focus-logo,
.gtx-demo.p7-pulse-icons .p7-focus-icons,
.gtx-demo.p7-pulse-tech .p7-focus-tech,
.gtx-demo.p7-pulse-title .p7-focus-title { display: block; animation: gtxDashBlink .28s step-end 0s 3; }

/* ==========================================================================
   06 — Product detail long page (p8)
   Viewport 406×592 → aspect-ratio 406/592; pinner fills viewport width;
   zones already %-based on the long canvas. Lens + scroll driven by JS.
   ========================================================================== */
.gtx-demo .p8-elev .sphead {
  display: block;
  border-bottom: 1px solid var(--g3);
  padding: 2px 2px 12px;
  margin-bottom: 4px;
}
.gtx-demo .p8-elev .sphead::before {
  content: "Tap modules";
  display: block;
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g1);
  margin-bottom: 6px;
}
.gtx-demo .p8-elev .sphead .l { font-size: clamp(16px, 2vw, 19px); font-weight: 700; line-height: 1.25; }
.gtx-demo .p8-elev .sphead .r { display: none; }
.gtx-demo .rrow {
  display: flex; align-items: flex-start; gap: 10px;
  min-height: 52px;
  padding: 12px 8px 12px 0;
  border-bottom: 1px solid var(--g3);
  transition: background .18s ease;
}
.gtx-demo .rrow .rt {
  flex: 1;
  min-width: 0;
  font-size: clamp(13px, 1.7vw, 16px);
  line-height: 1.3;
  font-weight: 500;
  color: var(--ink);
}
/* 卡片化 rrow：标题（含 ptag 徽章）在上、灰色说明在下，与搜索页/主图页 .txt 卡片一致 */
.gtx-demo .rrow .rt b {
  display: block;
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 600;
  line-height: 1.28;
  color: var(--ink);
}
.gtx-demo .rrow .rt i {
  display: block;
  margin-top: 5px;
  color: var(--g1);
  font-size: clamp(12px, 1.5vw, 13.5px);
  line-height: 1.45;
  font-style: normal;
  font-weight: 400;
}
/* 含芯片的说明加大行距，避免上下行芯片相贴 */
.gtx-demo .rrow .rt i:has(.kw) { line-height: 2.1; }
.gtx-demo .tag {
  flex: none;
  font-family: var(--cn);
  font-size: clamp(11px, 1.4vw, 12.5px);
  font-weight: 600;
  padding: 3px 10px;
  white-space: nowrap;
}
.gtx-demo .tag.req { background: var(--ink); color: #fff; }
.gtx-demo .tag.rec { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.gtx-demo .tag.opt { color: var(--g1); box-shadow: inset 0 0 0 1.5px var(--g3); }
/* rrow 行内素材按钮：跟在标签后，靠右、不撑破行（与搜索页/主图页的 .dlbtn 同款图标按钮） */
.gtx-demo .rrow .dlbtn-rrow { flex: none; width: 30px; height: 30px; margin-left: 2px; }
.gtx-demo .rrow .dlbtn-rrow svg { width: 15px; height: 15px; }
/* 逐项 必须 / 可选 / 酌情 标签（行内，跟在标题后）——搜索页与主图页统一样式 */
.gtx-demo .ptag {
  font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .04em;
  border-radius: 3px; padding: 2px 8px; margin-left: 8px; vertical-align: 2px; white-space: nowrap;
}
.gtx-demo .ptag-req  { color: #fff; background: var(--ink); }
.gtx-demo .ptag-opt  { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.gtx-demo .ptag-disc { color: var(--g1); box-shadow: inset 0 0 0 1.5px var(--g3); }

/* selected row — pure radio CSS, inputs are siblings of .ispec */
/* 选中行：只把该行的菱形编号转成红色（不整行变深、不反色标签）——与步骤示范一致 */
.gtx-demo #r8-1:checked ~ .ispec .rrow-1,
.gtx-demo #r8-2:checked ~ .ispec .rrow-2,
.gtx-demo #r8-3:checked ~ .ispec .rrow-3,
.gtx-demo #r8-4:checked ~ .ispec .rrow-4,
.gtx-demo #r8-5:checked ~ .ispec .rrow-5,
.gtx-demo #r8-6:checked ~ .ispec .rrow-6,
.gtx-demo #r9-1:checked ~ .ispec .rrow-1,
.gtx-demo #r9-2:checked ~ .ispec .rrow-2,
.gtx-demo #r9-3:checked ~ .ispec .rrow-3,
.gtx-demo #r10-1:checked ~ .ispec .rrow-1,
.gtx-demo #r10-2:checked ~ .ispec .rrow-2,
.gtx-demo #r10-3:checked ~ .ispec .rrow-3,
.gtx-demo #r10-4:checked ~ .ispec .rrow-4,
.gtx-demo #r10-5:checked ~ .ispec .rrow-5,
.gtx-demo #r10-6:checked ~ .ispec .rrow-6,
.gtx-demo #r10-7:checked ~ .ispec .rrow-7,
.gtx-demo #r10-8:checked ~ .ispec .rrow-8 { --dia-bg: var(--accent); --dia-fg: #fff; --dia-bd: var(--accent); }
/* HTML 详情页：点击「贴上」后编号菱形转红（点击切换，可取消）*/
.gtx-demo .rrow .rn.rn-on { --dia-bg: var(--accent); --dia-fg: #fff; --dia-bd: var(--accent); }

/* phone + long-scroll viewport */
.gtx-demo .p8-mockwrap { display: flex; justify-content: center; min-width: 0; }
.gtx-demo .p8-phone {
  width: 100%;
  max-width: 430px;
  border-radius: 22px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 54px -42px rgba(12, 12, 13, .45);
}
.gtx-demo .p8-pvp {
  position: relative;
  aspect-ratio: 406 / 722; /* 加高视口使页6 fit 缩放比≈04 页（字体/菱形视觉大小一致） */
  background: #E8EDF1;
  border-radius: 12px;
  overflow: hidden;
}
.gtx-demo .p8-pvp .pinner {
  width: 100%;
  background: #fff;
  position: relative;
  transition: transform .5s cubic-bezier(.25, .7, .3, 1);
  will-change: transform;
}
/* HTML 详情页：视口可自由滚动（看完整页），点步骤仍平滑定位 */
.gtx-demo .p8-pvp.p8-scroll { overflow-y: auto; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.gtx-demo .p8-pvp.p8-scroll .pinner { transform: none !important; transition: none; }
.gtx-demo .p8-long-canvas { position: relative; width: 100%; background: #E6EDF2; }
.gtx-demo .p8-long-img { display: block; width: 100%; height: auto; }

/* ===== 商品详情页 → HTML 长页复刻 ===== */
.gtx-demo .p8-long-canvas.p8html{ background:#fff; }
.gtx-demo .p8html .p8s{ position:relative; width:100%; }
/* 主图 hero */
.gtx-demo .p8html .p8hero{ background:#cdcdcf; }
.gtx-demo .p8html .p8hero-img{ display:block; width:100%; height:auto; }
.gtx-demo .p8html .p8hero .p8-logo{ position:absolute; left:5%; top:13%; width:13%; }
.gtx-demo .p8html .p8hero .p8-logo img{ width:100%; display:block; filter:drop-shadow(0 2px 5px rgba(0,0,0,.25)); }
.gtx-demo .p8html .p8hero .p8-icons{ position:absolute; left:5%; top:24%; display:flex; flex-direction:column; align-items:center; gap:8px; }
.gtx-demo .p8html .p8hero .p8-icons span{ display:flex; flex-direction:column; align-items:center; gap:2px; }
.gtx-demo .p8html .p8hero .p8-icons img{ width:22px; height:22px; }
.gtx-demo .p8html .p8hero .p8-icons b{ font-size:9px; line-height:1; font-weight:600; color:#222; }
/* 科技名称 */
/* ② 科技名称 */
.gtx-demo .p8html .p8name{ background:#0d0d0f; color:#fff; text-align:center; padding:40px 22px; }
.gtx-demo .p8html .p8name-en{ font-size:19px; font-weight:900; letter-spacing:.04em; line-height:1.5; }
.gtx-demo .p8html .p8name-mark{ width:52px; margin:16px auto 14px; }
.gtx-demo .p8html .p8name-mark img{ width:100%; display:block; }
.gtx-demo .p8html .p8name-cn{ font-size:13px; color:#cfcfd4; letter-spacing:.02em; }
.gtx-demo .p8html .p8name-cn b{ color:#fff; font-weight:800; }
/* ③ 3 重强效防护（图 + 竖排图文）*/
.gtx-demo .p8html .p8feat{ background:#fff; padding:34px 20px; }
.gtx-demo .p8html .p8feat-h{ font-size:17px; font-weight:900; color:#222; text-align:center; margin-bottom:20px; }
.gtx-demo .p8html .p8feat-fabric{ display:block; width:100%; height:auto; border-radius:12px; margin-bottom:22px; }
.gtx-demo .p8html .p8feat-list{ display:flex; flex-direction:column; gap:18px; }
.gtx-demo .p8html .p8feat-row{ display:flex; align-items:center; gap:14px; }
.gtx-demo .p8html .p8feat-row>img{ width:38px; height:38px; flex:none; }
.gtx-demo .p8html .p8feat-row b{ display:block; font-size:14px; font-weight:800; color:#222; }
.gtx-demo .p8html .p8feat-row i{ display:block; margin-top:3px; font-size:11.5px; font-style:normal; color:#8a8a8f; line-height:1.5; }
/* ④ 科技图解 */
.gtx-demo .p8html .p8tech{ background:#000; padding-bottom:8px; }
.gtx-demo .p8html .p8tech-h{ color:#fff; text-align:center; font-size:16px; font-weight:800; padding:30px 20px 6px; }
.gtx-demo .p8html .p8tech-img{ display:block; width:100%; height:auto; }
/* ⑤ 产品测试 */
.gtx-demo .p8html .p8test{ background:#f4f4f6; padding:34px 20px; }
.gtx-demo .p8html .p8sec-h{ text-align:center; margin-bottom:18px; }
.gtx-demo .p8html .p8sec-h b{ display:block; font-size:18px; font-weight:900; color:#222; }
.gtx-demo .p8html .p8sec-h i{ display:block; font-size:11px; font-style:normal; color:#8a8a8f; letter-spacing:.06em; margin-top:4px; }
.gtx-demo .p8html .p8test-img{ display:block; width:100%; height:auto; border-radius:12px; margin-bottom:16px; }
.gtx-demo .p8html .p8test-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.gtx-demo .p8html .p8test-card{ background:#fff; border-radius:12px; padding:18px 14px; text-align:center; }
.gtx-demo .p8html .p8test-card em{ display:block; font-style:normal; font-size:14px; font-weight:800; color:var(--accent); }
.gtx-demo .p8html .p8test-card small{ display:block; font-size:10px; color:#8a8a8f; margin-top:6px; line-height:1.5; }
/* ⑥ 售后服务 */
.gtx-demo .p8html .p8after{ background:#fff; padding:34px 18px 42px; }
.gtx-demo .p8html .p8after-card{ position:relative; background:#f5f5f7; border-radius:14px; padding:22px 20px 20px; text-align:center; }
.gtx-demo .p8html .p8after-logo{ height:28px; width:auto; display:block; margin:0 auto 13px; }
.gtx-demo .p8html .p8after-lead{ font-size:12.5px; color:#666; line-height:1.65; margin:0 0 16px; }
.gtx-demo .p8html .p8after-rows{ display:flex; flex-direction:column; gap:9px; text-align:left; }
.gtx-demo .p8html .p8after-r{ display:flex; align-items:flex-start; gap:12px; padding:11px 13px; background:#fff; border-radius:10px; }
.gtx-demo .p8html .p8after-r .k{ flex:none; width:56px; font-size:12px; font-weight:700; color:#9a9a9f; padding-top:2px; }
.gtx-demo .p8html .p8after-r .v{ font-size:13px; color:#222; font-weight:700; line-height:1.7; }
.gtx-demo .p8html .p8after-r .v b{ color:var(--accent); }
.gtx-demo .p8html .p8after-r .v em{ font-style:normal; font-weight:500; color:#9a9a9f; font-size:11px; margin:0 10px 0 4px; }
/* === 一项一项「贴上」+ 自动滚动（与搜索/主图页一致）=== */
.gtx-demo .p8html .p8-zone{ display:none; }
.gtx-demo .p8html .p8-logo,
.gtx-demo .p8html .p8-icons{ opacity:0; transform:scale(.8); transition:opacity .3s ease, transform .44s cubic-bezier(.34,1.5,.5,1); }
.gtx-demo.p8-has-1 .p8html .p8-logo,
.gtx-demo.p8-has-1 .p8html .p8-icons{ opacity:1; transform:none; }
.gtx-demo .p8html .p8-logo::before{ content:""; position:absolute; left:50%; top:50%; width:210%; height:210%; transform:translate(-50%,-50%) scale(.3); border-radius:50%; background:radial-gradient(circle, rgba(255,58,47,.5) 0%, rgba(255,58,47,0) 68%); opacity:0; pointer-events:none; }
.gtx-demo.p8-has-1 .p8html .p8-logo::before{ animation:gtxGlowPulse .72s ease-out 1; }
/* GORE-TEX 触点段落：默认折叠（连 padding 一起收，不留白），贴上时按各段恢复 */
/* 折叠默认（无留白）；渐入只用 opacity/transform，max-height/padding 即时切换（不参与动画，避免滚动中页面变高造成停顿）*/
.gtx-demo .p8html .p8gtx{ max-height:0; opacity:0; overflow:hidden; padding-top:0; padding-bottom:0; transform:translateY(12px); transition:opacity .55s ease, transform .6s cubic-bezier(.2,.75,.25,1); }
/* p8-open-N：即时预留空间（页面到完整高度，便于一次平滑滚到正确落点），内容仍隐藏 */
.gtx-demo.p8-open-2 .p8html .p8name{ max-height:520px; padding-top:40px; padding-bottom:40px; }
.gtx-demo.p8-open-3 .p8html .p8feat{ max-height:720px; padding-top:34px; padding-bottom:34px; }
.gtx-demo.p8-open-4 .p8html .p8tech{ max-height:640px; padding-bottom:8px; }
.gtx-demo.p8-open-5 .p8html .p8test{ max-height:900px; padding-top:34px; padding-bottom:34px; }
.gtx-demo.p8-open-6 .p8html .p8after{ max-height:480px; padding-top:34px; padding-bottom:42px; }
/* p8-has-N：滚到位后内容渐入 */
.gtx-demo.p8-has-2 .p8html .p8name,
.gtx-demo.p8-has-3 .p8html .p8feat,
.gtx-demo.p8-has-4 .p8html .p8tech,
.gtx-demo.p8-has-5 .p8html .p8test,
.gtx-demo.p8-has-6 .p8html .p8after{ opacity:1; transform:none; }
/* GORE-TEX® 大写强调：等该段图层展开后再放大 + 品牌红闪动（整段不加光晕）*/
.gtx-demo .p8html .p8name-cn b{ display:inline-block; }
.gtx-demo.p8-has-2 .p8html .p8name-cn b{ animation:gtxUpper 1s ease-out .7s 1; }
@keyframes gtxUpper{ 0%,15%{ transform:scale(1); color:#fff; } 45%{ transform:scale(1.18); color:#ff5a4f; text-shadow:0 0 14px rgba(255,58,47,.6); } 100%{ transform:scale(1); color:#fff; text-shadow:none; } }
/* 「高级高亮」：品牌红描边+内发光 + 一道流光扫过，延后到展开后播放。
   02 只强调 GORE-TEX®（见 gtxUpper，不框整段）；03 只高亮三行功能列表；04/05/06 高亮整段 */
.gtx-demo .p8html .p8gtx, .gtx-demo .p8html .p8feat-list{ position:relative; }
.gtx-demo .p8html .p8target-4::before, .gtx-demo .p8html .p8target-4::after,
.gtx-demo .p8html .p8target-5::before, .gtx-demo .p8html .p8target-5::after,
.gtx-demo .p8html .p8after-card::before, .gtx-demo .p8html .p8after-card::after,
.gtx-demo .p8html .p8feat-list::before, .gtx-demo .p8html .p8feat-list::after{ content:""; position:absolute; pointer-events:none; z-index:4; opacity:0; }
.gtx-demo .p8html .p8target-4::before, .gtx-demo .p8html .p8target-4::after,
.gtx-demo .p8html .p8target-5::before, .gtx-demo .p8html .p8target-5::after,
.gtx-demo .p8html .p8after-card::before, .gtx-demo .p8html .p8after-card::after{ inset:0; border-radius:14px; }
.gtx-demo .p8html .p8feat-list::before, .gtx-demo .p8html .p8feat-list::after{ inset:-10px -8px; border-radius:12px; }
.gtx-demo .p8html .p8target-4::before, .gtx-demo .p8html .p8target-5::before, .gtx-demo .p8html .p8after-card::before,
.gtx-demo .p8html .p8feat-list::before{ box-shadow:inset 0 0 0 2px rgba(255,58,47,.5), inset 0 0 40px rgba(255,58,47,.16); }
.gtx-demo .p8html .p8target-4::after, .gtx-demo .p8html .p8target-5::after, .gtx-demo .p8html .p8after-card::after,
.gtx-demo .p8html .p8feat-list::after{ background:linear-gradient(100deg, transparent 34%, rgba(255,255,255,.26) 47%, rgba(255,255,255,.55) 50%, rgba(255,255,255,.26) 53%, transparent 66%); background-size:220% 100%; background-position:135% 0; mix-blend-mode:screen; }
.gtx-demo.p8-has-3 .p8html .p8feat-list::before,
.gtx-demo.p8-has-4 .p8html .p8target-4::before,
.gtx-demo.p8-has-5 .p8html .p8target-5::before,
.gtx-demo.p8-has-6 .p8html .p8after-card::before{ animation:gtxFrame 1.7s ease-out .65s 1; }
.gtx-demo.p8-has-3 .p8html .p8feat-list::after,
.gtx-demo.p8-has-4 .p8html .p8target-4::after,
.gtx-demo.p8-has-5 .p8html .p8target-5::after,
.gtx-demo.p8-has-6 .p8html .p8after-card::after{ animation:gtxSheen 1.3s ease-out .72s 1; }
@keyframes gtxFrame{ 0%{ opacity:0; } 22%{ opacity:1; } 66%{ opacity:1; } 100%{ opacity:0; } }
@keyframes gtxSheen{ 0%{ opacity:0; background-position:135% 0; } 12%{ opacity:1; } 88%{ opacity:1; } 100%{ opacity:0; background-position:-35% 0; } }
/* ===== 标准电商段（常显）===== */
.gtx-demo .p8html .p8basic{ padding:16px 16px 14px; background:#fff; }
.gtx-demo .p8html .p8b-price{ display:flex; align-items:baseline; gap:8px; }
.gtx-demo .p8html .p8b-price .cur{ color:var(--accent); font-size:15px; font-weight:900; }
.gtx-demo .p8html .p8b-price b{ color:var(--accent); font-size:27px; font-weight:900; letter-spacing:-.02em; line-height:1; }
.gtx-demo .p8html .p8b-price s{ color:#aaa; font-size:12px; }
.gtx-demo .p8html .p8b-price .sold{ color:#9a9a9f; font-size:11px; font-weight:600; margin-left:auto; }
.gtx-demo .p8html .p8b-title{ font-size:15px; font-weight:800; color:#222; line-height:1.5; margin-top:10px; }
.gtx-demo .p8html .p8b-specs{ display:flex; flex-wrap:wrap; gap:6px 14px; margin-top:12px; }
.gtx-demo .p8html .p8b-specs span{ font-size:11.5px; color:#8a8a8f; }
.gtx-demo .p8html .p8divider{ display:flex; align-items:center; justify-content:center; gap:12px; padding:20px 0 6px; }
.gtx-demo .p8html .p8divider i{ width:36px; height:1px; background:#ddd; }
.gtx-demo .p8html .p8divider span{ font-size:13px; font-weight:800; letter-spacing:.24em; color:#555; }
.gtx-demo .p8html .p8detail{ padding:30px 16px; background:#fff; }
.gtx-demo .p8html .p8detail-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.gtx-demo .p8html .p8dt{ text-align:center; }
.gtx-demo .p8html .p8dt .p8ph{ display:flex; align-items:center; justify-content:center; width:100%; height:112px; background:#ececed; border-radius:10px; color:#b3b3b8; font-size:12px; margin-bottom:8px; }
.gtx-demo .p8html .p8dt img{ display:block; width:100%; height:140px; object-fit:cover; border-radius:10px; margin-bottom:8px; }
.gtx-demo .p8html .p8dt b{ font-size:12.5px; font-weight:700; color:#333; }
.gtx-demo .p8html .p8size{ padding:30px 16px; background:#f4f4f6; }
.gtx-demo .p8html .p8size-t{ width:100%; border-collapse:collapse; font-size:12px; background:#fff; border-radius:10px; overflow:hidden; }
.gtx-demo .p8html .p8size-t th{ background:#ececee; color:#555; font-weight:700; padding:9px 4px; }
.gtx-demo .p8html .p8size-t td{ text-align:center; padding:9px 4px; border-top:1px solid #f0f0f2; color:#333; }
.gtx-demo .p8html .p8color{ padding:30px 16px; background:#fff; }
.gtx-demo .p8html .p8color-row{ display:flex; gap:12px; }
.gtx-demo .p8html .p8cl{ text-align:center; }
.gtx-demo .p8html .p8cl img{ width:70px; height:70px; object-fit:cover; border-radius:10px; border:2px solid transparent; }
.gtx-demo .p8html .p8cl.on img{ border-color:var(--accent); }
.gtx-demo .p8html .p8cl em{ display:block; font-style:normal; font-size:11px; color:#666; margin-top:6px; }
.gtx-demo .p8html .p8model{ padding:30px 16px; background:#f4f4f6; }
.gtx-demo .p8html .p8model-grid{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px; }
.gtx-demo .p8html .p8model-grid img{ width:100%; height:auto; border-radius:8px; display:block; }
.gtx-demo .p8html .p8care{ padding:30px 16px 40px; background:#fff; }
.gtx-demo .p8html .p8care-list{ display:flex; flex-direction:column; gap:8px; }
.gtx-demo .p8html .p8care-list span{ font-size:12px; color:#8a8a8f; line-height:1.5; }
/* 详情页顶部导航：吸顶常驻（返回 + 店铺 + 搜索/分享/更多 + 标签栏）*/
.gtx-demo .p8-pvp .p8h-top{ position:sticky; top:0; z-index:30; background:#fff; box-shadow:0 3px 10px rgba(12,12,13,.05); }
.gtx-demo .p8-pvp .p8h-nav{ display:flex; align-items:center; gap:8px; padding:9px 11px 6px; }
.gtx-demo .p8-pvp .p8h-back svg{ width:22px; height:22px; fill:none; stroke:#222; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.gtx-demo .p8-pvp .p8h-shop{ display:flex; align-items:center; gap:7px; flex:1; min-width:0; }
.gtx-demo .p8-pvp .p8h-ava{ width:30px; height:30px; border-radius:50%; background:#ececed; display:flex; align-items:center; justify-content:center; flex:none; }
.gtx-demo .p8-pvp .p8h-ava svg{ width:19px; height:19px; fill:none; stroke:#888; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.gtx-demo .p8-pvp .p8h-shopn{ display:flex; flex-direction:column; min-width:0; line-height:1.25; }
.gtx-demo .p8-pvp .p8h-shopn b{ font-size:13px; font-weight:800; color:#1a1a1a; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gtx-demo .p8-pvp .p8h-shopn i{ font-style:normal; font-size:10px; color:#9a9a9f; }
.gtx-demo .p8-pvp .p8h-nav-acts{ display:flex; align-items:center; gap:13px; flex:none; }
.gtx-demo .p8-pvp .p8h-nav-acts svg{ width:19px; height:19px; fill:none; stroke:#333; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.gtx-demo .p8-pvp .p8h-tabs{ display:flex; align-items:center; padding:0 6px 7px; }
.gtx-demo .p8-pvp .p8h-tabs span{ flex:1; text-align:center; font-size:14px; color:#666; padding:5px 0; position:relative; }
.gtx-demo .p8-pvp .p8h-tabs span.on{ color:#1a1a1a; font-weight:800; }
.gtx-demo .p8-pvp .p8h-tabs span.on::after{ content:""; position:absolute; left:50%; bottom:-1px; transform:translateX(-50%); width:22px; height:3px; border-radius:2px; background:var(--accent); }
/* 详情页底部操作栏：吸底常驻（滚动时一直在手机底部，像真实天猫）*/
.gtx-demo .p8-pvp .p8h-bar{ position:sticky; bottom:0; z-index:20; display:flex; align-items:center; padding:8px 10px; background:#fff; border-top:1px solid #eee; box-shadow:0 -6px 16px rgba(12,12,13,.06); }
.gtx-demo .p8-pvp .p8h-baric{ display:flex; flex-direction:column; align-items:center; gap:2px; font-size:9px; color:#666; padding:0 7px; flex:none; }
.gtx-demo .p8-pvp .p8h-baric svg{ width:18px; height:18px; fill:none; stroke:#555; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.gtx-demo .p8-pvp .p8h-cart{ flex:1; margin-left:6px; text-align:center; font-size:13px; font-weight:800; color:#fff; background:#ffb300; border-radius:999px 0 0 999px; padding:11px 0; }
.gtx-demo .p8-pvp .p8h-buy{ flex:1; text-align:center; font-size:13px; font-weight:800; color:#fff; background:#ff3a2f; border-radius:0 999px 999px 0; padding:11px 0; }
/* ============ 产品专辑页 gfhtml（功能/图解/测试/售后 复用 p8 段样式）============ */
.gtx-demo .gfhtml{ background:#fff; }
.gtx-demo .gfhtml .gf-hero{ position:relative; }
.gtx-demo .gfhtml .gf-hero-img{ display:block; width:100%; height:auto; }
.gtx-demo .gfhtml .gf-hero::after{ content:""; position:absolute; inset:0; background:linear-gradient(to bottom, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,.08) 52%, rgba(0,0,0,.72) 100%); pointer-events:none; }
.gtx-demo .gfhtml .gf-logo{ position:absolute; left:5%; top:4.5%; width:15%; height:auto; z-index:3; filter:drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.gtx-demo .gfhtml .gf-hero-cap{ position:absolute; left:0; right:0; bottom:26px; z-index:3; text-align:center; color:#fff; padding:0 20px; }
.gtx-demo .gfhtml .gf-htitle{ font-size:40px; font-weight:900; letter-spacing:.05em; line-height:1; text-shadow:0 2px 18px rgba(0,0,0,.5); }
.gtx-demo .gfhtml .gf-htitle .reg{ font-size:.38em; vertical-align:super; }
.gtx-demo .gfhtml .gf-hsub{ font-size:13px; margin-top:11px; opacity:.94; text-shadow:0 1px 10px rgba(0,0,0,.5); }
.gtx-demo .gfhtml .gf-hicons{ display:flex; justify-content:center; gap:30px; margin-top:20px; }
.gtx-demo .gfhtml .gf-hicons span{ display:flex; flex-direction:column; align-items:center; gap:7px; font-size:12px; font-weight:700; letter-spacing:.04em; }
.gtx-demo .gfhtml .gf-hicons img{ width:30px; height:30px; object-fit:contain; filter:brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0,0,0,.4)); }
.gtx-demo .gfhtml .gf-care{ padding:0 16px; background:#f4f4f6; }
.gtx-demo .gfhtml .gf-care-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:16px; }
.gtx-demo .gfhtml .gf-care-it{ background:#fff; border-radius:11px; padding:18px 14px; text-align:center; }
.gtx-demo .gfhtml .gf-care-it svg{ width:30px; height:30px; fill:none; stroke:var(--accent); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.gtx-demo .gfhtml .gf-care-it img{ width:48px; height:48px; object-fit:contain; }
.gtx-demo .gfhtml .gf-care-it b{ display:block; font-size:13px; font-weight:800; color:#222; margin:9px 0 4px; }
.gtx-demo .gfhtml .gf-care-it i{ font-style:normal; font-size:11px; color:#9a9a9f; line-height:1.5; }
.gtx-demo .gfhtml .gf-prods{ padding:30px 16px 42px; background:#fff; }
.gtx-demo .gfhtml .gf-prods-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:16px; }
.gtx-demo .gfhtml .gf-prods-grid .sf-pc{ background:#f7f7f9; border-radius:10px; overflow:hidden; }
.gtx-demo .gfhtml .gf-prods-grid .sf-pc img{ width:100%; height:170px; object-fit:cover; display:block; }
.gtx-demo .gfhtml .gf-prods-grid .sf-pn{ display:block; font-size:12.5px; color:#333; padding:8px 10px 2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gtx-demo .gfhtml .gf-prods-grid .sf-pp{ display:block; font-size:15px; font-weight:800; color:var(--accent); padding:0 10px 10px; }
/* ===== 专辑页教学交互：01/02/03 贴在 Hero，04-08 段落折叠→贴上，highlight 与详情页一致 ===== */
/* 01 logo */
.gtx-demo .gfhtml .gf-logo{ opacity:0; transform:scale(.8); }
.gtx-demo.p8-has-1 .gfhtml .gf-logo{ animation:gfLogoIn .8s cubic-bezier(.34,1.4,.5,1) forwards; }
@keyframes gfLogoIn{ 0%{ opacity:0; transform:scale(.72); filter:drop-shadow(0 0 0 rgba(255,58,47,0)); } 55%{ opacity:1; transform:scale(1.05); filter:drop-shadow(0 0 18px rgba(255,58,47,.78)); } 100%{ opacity:1; transform:scale(1); filter:drop-shadow(0 2px 8px rgba(0,0,0,.4)); } }
/* 02 科技名称 / 03 功能icon */
.gtx-demo .gfhtml .gf-name,
.gtx-demo .gfhtml .gf-hicons{ position:relative; opacity:0; transform:translateY(14px); transition:opacity .5s ease, transform .55s cubic-bezier(.2,.75,.25,1); }
.gtx-demo.p8-has-2 .gfhtml .gf-name{ opacity:1; transform:none; }
.gtx-demo.p8-has-3 .gfhtml .gf-hicons{ opacity:1; transform:none; }
.gtx-demo .gfhtml .gf-name::before,
.gtx-demo .gfhtml .gf-hicons::before{ content:""; position:absolute; left:50%; top:50%; width:70%; height:170%; transform:translate(-50%,-50%) scale(.4); border-radius:50%; background:radial-gradient(ellipse, rgba(255,58,47,.42) 0%, rgba(255,58,47,0) 70%); opacity:0; pointer-events:none; z-index:-1; }
.gtx-demo.p8-has-2 .gfhtml .gf-name::before{ animation:gtxGlowPulse .72s ease-out 1; }
.gtx-demo.p8-has-3 .gfhtml .gf-hicons::before{ animation:gtxGlowPulse .72s ease-out 1; }
/* 04-08 段落：折叠（复用 p8gtx）→ 即时占位 + 渐入 */
.gtx-demo.p8-open-4 .gfhtml .p8feat{ max-height:760px; padding-top:34px; padding-bottom:34px; }
.gtx-demo.p8-open-5 .gfhtml .p8tech{ max-height:640px; padding-bottom:8px; }
.gtx-demo.p8-open-6 .gfhtml .p8test{ max-height:920px; padding-top:34px; padding-bottom:34px; }
.gtx-demo.p8-open-7 .gfhtml .gf-care{ max-height:640px; padding-top:30px; padding-bottom:30px; }
.gtx-demo.p8-open-8 .gfhtml .p8after{ max-height:480px; padding-top:34px; padding-bottom:42px; }
.gtx-demo.p8-has-4 .gfhtml .p8feat,
.gtx-demo.p8-has-5 .gfhtml .p8tech,
.gtx-demo.p8-has-6 .gfhtml .p8test,
.gtx-demo.p8-has-7 .gfhtml .gf-care,
.gtx-demo.p8-has-8 .gfhtml .p8after{ opacity:1; transform:none; }
/* 段落红框高亮（与详情页一致）*/
.gtx-demo .gfhtml .p8gtx::before{ content:""; position:absolute; inset:0; z-index:5; pointer-events:none; opacity:0; box-shadow:inset 0 0 0 2px rgba(255,58,47,.55), inset 0 0 42px rgba(255,58,47,.2); }
.gtx-demo.p8-has-4 .gfhtml .p8target-4::before,
.gtx-demo.p8-has-5 .gfhtml .p8target-5::before,
.gtx-demo.p8-has-6 .gfhtml .p8target-6::before,
.gtx-demo.p8-has-7 .gfhtml .p8target-7::before,
.gtx-demo.p8-has-8 .gfhtml .p8target-8::before{ animation:gtxFrame 1.7s ease-out .55s 1; }
/* ============ 店铺首页 sfhtml ============ */
.gtx-demo .sfhtml{ background:#f4f4f6; }
.gtx-demo .sfhtml .sf-nav{ display:flex; align-items:center; gap:8px; padding:9px 11px; background:#fff; }
.gtx-demo .sfhtml .sf-back svg{ width:22px; height:22px; fill:none; stroke:#222; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.gtx-demo .sfhtml .sf-search{ flex:1; display:flex; align-items:center; gap:6px; background:#f2f3f5; border-radius:999px; padding:7px 12px; }
.gtx-demo .sfhtml .sf-search svg{ width:15px; height:15px; fill:none; stroke:#9a9a9f; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.gtx-demo .sfhtml .sf-search span{ flex:1; font-size:12.5px; color:#9a9a9f; }
.gtx-demo .sfhtml .sf-search .sf-cam{ stroke:#666; }
.gtx-demo .sfhtml .sf-nav-acts svg{ width:20px; height:20px; fill:#333; }
.gtx-demo .sfhtml .sf-shop{ display:flex; align-items:center; gap:9px; padding:12px; background:#fff; }
.gtx-demo .sfhtml .sf-ava{ width:40px; height:40px; border-radius:9px; background:#111; display:flex; align-items:center; justify-content:center; flex:none; }
.gtx-demo .sfhtml .sf-ava svg{ width:24px; height:24px; fill:none; stroke:#fff; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.gtx-demo .sfhtml .sf-shopn{ flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; }
.gtx-demo .sfhtml .sf-shopn b{ font-size:14px; font-weight:800; color:#1a1a1a; }
.gtx-demo .sfhtml .sf-shopn i{ font-style:normal; font-size:10.5px; color:#9a9a9f; }
.gtx-demo .sfhtml .sf-follow{ font-size:12px; font-weight:700; color:#fff; background:var(--accent); border-radius:999px; padding:6px 13px; flex:none; }
.gtx-demo .sfhtml .sf-enter{ font-size:12px; font-weight:700; color:#333; border:1px solid #ddd; border-radius:999px; padding:6px 13px; flex:none; }
.gtx-demo .sfhtml .sf-promo{ display:flex; align-items:center; gap:8px; padding:0 12px 12px; background:#fff; }
.gtx-demo .sfhtml .sf-promo span{ font-size:11px; padding:3px 8px; border-radius:5px; }
.gtx-demo .sfhtml .sf-hot{ color:#e8541a; background:#fdeee6; }
.gtx-demo .sfhtml .sf-vip{ color:#b8892f; background:#faf3e2; font-weight:800; }
.gtx-demo .sfhtml .sf-buy{ color:#888; background:#f2f3f5; }
.gtx-demo .sfhtml .sf-kv{ position:relative; }
.gtx-demo .sfhtml .sf-kv > img:not(.sf-kv-logo){ display:block; width:100%; height:auto; }
.gtx-demo .sfhtml .sf-kv-cap{ position:absolute; left:20px; bottom:24px; color:#fff; text-shadow:0 2px 14px rgba(0,0,0,.55); }
.gtx-demo .sfhtml .sf-kv-cap b{ display:block; font-size:27px; font-weight:900; letter-spacing:.05em; line-height:1.1; }
.gtx-demo .sfhtml .sf-kv-cap i{ font-style:normal; font-size:12.5px; opacity:.92; }
.gtx-demo .sfhtml .sf-kv-dots{ position:absolute; right:16px; bottom:18px; display:flex; gap:5px; }
.gtx-demo .sfhtml .sf-kv-dots i{ width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,.5); }
.gtx-demo .sfhtml .sf-kv-dots i.on{ width:16px; border-radius:3px; background:#fff; }
.gtx-demo .sfhtml .sf-cats{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; padding:14px 12px; background:#fff; }
.gtx-demo .sfhtml .sf-cat{ text-align:center; }
.gtx-demo .sfhtml .sf-cat img{ width:100%; height:74px; object-fit:cover; border-radius:8px; margin-bottom:6px; display:block; }
.gtx-demo .sfhtml .sf-cat b{ font-size:11.5px; font-weight:600; color:#333; }
/* 功能科技楼层 */
.gtx-demo .sfhtml .sf-tech{ padding:16px 12px 18px; background:#fff; margin-top:9px; }
.gtx-demo .sfhtml .sf-tech-h{ display:flex; align-items:baseline; gap:9px; margin-bottom:12px; }
.gtx-demo .sfhtml .sf-tech-h b{ font-size:17px; font-weight:900; color:#1a1a1a; }
.gtx-demo .sfhtml .sf-tech-h i{ font-style:normal; font-size:11px; color:#9a9a9f; }
.gtx-demo .sfhtml .sf-tech-tabs{ display:flex; gap:8px; margin-bottom:12px; }
.gtx-demo .sfhtml .sf-tech-tabs em{ font-style:normal; font-size:12px; font-weight:700; color:#666; padding:6px 14px; border-radius:999px; background:#f2f3f5; white-space:nowrap; }
.gtx-demo .sfhtml .sf-tech-tabs em.on{ color:#fff; background:#1a1a1a; }
.gtx-demo .sfhtml .sf-tech-tabs em .reg{ font-size:.66em; vertical-align:super; }
.gtx-demo .sfhtml .sf-tech-banner{ position:relative; border-radius:12px; overflow:hidden; aspect-ratio:16/9; }
.gtx-demo .sfhtml .sf-tb-bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.gtx-demo .sfhtml .sf-tech-banner::after{ content:""; position:absolute; inset:0; background:radial-gradient(ellipse at center, rgba(8,10,14,.62) 0%, rgba(8,10,14,.36) 60%, rgba(8,10,14,.28) 100%); }
.gtx-demo .sfhtml .sf-tb-inner{ position:absolute; inset:0; z-index:2; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:0 20px; text-align:center; }
.gtx-demo .sfhtml .sf-tb-logo{ width:78px; height:auto; filter:drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.gtx-demo .sfhtml .sf-tb-kw{ display:flex; gap:8px; }
.gtx-demo .sfhtml .sf-tb-kw span{ font-size:12px; font-weight:700; color:#fff; letter-spacing:.06em; padding:3px 10px; border:1px solid rgba(255,255,255,.5); border-radius:999px; }
.gtx-demo .sfhtml .sf-tb-cta{ font-size:12.5px; font-weight:700; color:#fff; }
.gtx-demo .sfhtml .sf-tb-cta .reg{ font-size:.66em; vertical-align:super; }
/* 店铺首页教学：01 logo + 02 功能icon 都贴在 KV hero 上（像主图与标题页）；03 图解 banner 点后显示。highlight 与详情页一致 */
/* 01/02：KV 左上贴 logo（靠下、偏小）+ 竖排功能icon */
.gtx-demo .sfhtml .sf-kv-logo{ position:absolute; left:5%; top:18%; width:12%; height:auto; z-index:4; opacity:0; transform:scale(.82); transition:opacity .3s ease, transform .44s cubic-bezier(.34,1.5,.5,1); }
.gtx-demo .sfhtml .sf-kv-icons{ position:absolute; left:5%; top:30%; width:12%; z-index:4; display:flex; flex-direction:column; align-items:center; gap:9px; opacity:0; transform:scale(.82); transition:opacity .3s ease, transform .44s cubic-bezier(.34,1.5,.5,1); }
.gtx-demo .sfhtml .sf-kv-icons span{ display:flex; flex-direction:column; align-items:center; gap:3px; }
.gtx-demo .sfhtml .sf-kv-icons img{ width:23px; height:23px; object-fit:contain; filter:drop-shadow(0 1px 3px rgba(0,0,0,.35)); }
.gtx-demo .sfhtml .sf-kv-icons b{ font-size:9px; line-height:1; font-weight:700; color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.65); }
.gtx-demo.p8-has-1 .sfhtml .sf-kv-logo{ opacity:1; transform:none; }
.gtx-demo.p8-has-2 .sfhtml .sf-kv-icons{ opacity:1; transform:none; }
/* 贴上红光脉冲（与详情页 logo 一致）*/
.gtx-demo .sfhtml .sf-kv-logo::before,
.gtx-demo .sfhtml .sf-kv-icons::before{ content:""; position:absolute; left:50%; top:50%; width:200%; height:150%; transform:translate(-50%,-50%) scale(.3); border-radius:50%; background:radial-gradient(circle, rgba(255,58,47,.5) 0%, rgba(255,58,47,0) 68%); opacity:0; pointer-events:none; z-index:-1; }
.gtx-demo.p8-has-1 .sfhtml .sf-kv-logo::before{ animation:gtxGlowPulse .72s ease-out 1; }
.gtx-demo.p8-has-2 .sfhtml .sf-kv-icons::before{ animation:gtxGlowPulse .72s ease-out 1; }
/* 03：科技图解 banner，默认折叠 → 点后显示；播放按钮 + 红框流光高亮（与详情页 section 一致）*/
.gtx-demo .sfhtml .sf-tech-banner{ max-height:0; overflow:hidden; opacity:0; margin:0; transform:translateY(10px); transition:opacity .5s ease, transform .5s cubic-bezier(.2,.75,.25,1); }
.gtx-demo.p8-open-3 .sfhtml .sf-tech-banner{ max-height:340px; margin:12px 0 0; }
.gtx-demo.p8-has-3 .sfhtml .sf-tech-banner{ opacity:1; transform:none; }
.gtx-demo .sfhtml .sf-tb-play{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); z-index:6; width:58px; height:58px; padding:0; border:none; background:none; cursor:pointer; filter:drop-shadow(0 3px 10px rgba(0,0,0,.4)); }
.gtx-demo .sfhtml .sf-tb-play svg{ width:100%; height:100%; }
.gtx-demo .sfhtml .sf-tb-play circle{ fill:rgba(20,20,22,.34); stroke:#fff; stroke-width:1.4; }
.gtx-demo .sfhtml .sf-tb-play path{ fill:#fff; }
.gtx-demo .sfhtml .sf-tech-banner::before{ content:""; position:absolute; inset:0; z-index:5; pointer-events:none; opacity:0; box-shadow:inset 0 0 0 2px rgba(255,58,47,.55), inset 0 0 42px rgba(255,58,47,.2); border-radius:12px; }
.gtx-demo.p8-has-3 .sfhtml .sf-tech-banner::before{ animation:gtxFrame 1.7s ease-out .55s 1; }
.gtx-demo .sfhtml .sf-tech-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:12px; }
.gtx-demo .sfhtml .sf-tech-grid .sf-pc{ background:#f7f7f9; border-radius:9px; overflow:hidden; }
.gtx-demo .sfhtml .sf-tech-grid .sf-pc img{ width:100%; height:118px; object-fit:cover; display:block; }
.gtx-demo .sfhtml .sf-tech-grid .sf-pn{ display:block; font-size:11px; color:#333; padding:6px 7px 1px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gtx-demo .sfhtml .sf-tech-grid .sf-pp{ display:block; font-size:13px; font-weight:800; color:var(--accent); padding:0 7px 8px; }
.gtx-demo .sfhtml .sf-new{ padding:16px 12px 22px; background:#fff; margin-top:9px; }
.gtx-demo .sfhtml .sf-new-h{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.gtx-demo .sfhtml .sf-new-h > b{ font-size:17px; font-weight:900; color:#1a1a1a; }
.gtx-demo .sfhtml .sf-tabs{ display:flex; gap:18px; }
.gtx-demo .sfhtml .sf-tabs em{ font-style:normal; font-size:13px; color:#9a9a9f; position:relative; }
.gtx-demo .sfhtml .sf-tabs em.on{ color:#1a1a1a; font-weight:800; }
.gtx-demo .sfhtml .sf-tabs em.on::after{ content:""; position:absolute; left:0; right:0; bottom:-6px; height:2.5px; border-radius:2px; background:var(--accent); }
.gtx-demo .sfhtml .sf-new-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.gtx-demo .sfhtml .sf-pc{ background:#f7f7f9; border-radius:10px; overflow:hidden; }
.gtx-demo .sfhtml .sf-pc img{ width:100%; height:184px; object-fit:cover; display:block; }
.gtx-demo .sfhtml .sf-pn{ display:block; font-size:12.5px; color:#333; padding:8px 10px 2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gtx-demo .sfhtml .sf-pp{ display:block; font-size:15px; font-weight:800; color:var(--accent); padding:0 10px 10px; }
.gtx-demo .sfhtml .sf-tab{ position:sticky; bottom:0; z-index:20; display:flex; background:#fff; border-top:1px solid #eee; padding:6px 0 7px; box-shadow:0 -6px 16px rgba(12,12,13,.05); }
.gtx-demo .sfhtml .sf-tab span{ flex:1; display:flex; flex-direction:column; align-items:center; gap:3px; font-size:10px; color:#9a9a9f; }
.gtx-demo .sfhtml .sf-tab span svg{ width:20px; height:20px; fill:none; stroke:#9a9a9f; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.gtx-demo .sfhtml .sf-tab span.on{ color:var(--accent); }
.gtx-demo .sfhtml .sf-tab span.on svg{ stroke:var(--accent); }
/* ============ 宝贝分类页 cathtml（参考天猫店铺分类页）============ */
.gtx-demo .cathtml{ position:absolute; inset:0; display:flex; flex-direction:column; background:#f4f4f6; }
/* 搜索栏 */
.gtx-demo .cathtml .cat-top{ display:flex; align-items:center; gap:8px; padding:8px 10px; background:#fff; flex:none; }
.gtx-demo .cathtml .cat-back svg{ width:20px; height:20px; fill:none; stroke:#222; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.gtx-demo .cathtml .cat-search{ flex:1; display:flex; align-items:center; gap:5px; border:1.5px solid var(--accent); border-radius:999px; padding:5px 10px; min-width:0; }
.gtx-demo .cathtml .cat-search .cat-sp{ width:13px; height:13px; fill:var(--accent); flex:none; }
.gtx-demo .cathtml .cat-search span{ flex:1; font-size:11.5px; color:#888; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gtx-demo .cathtml .cat-search span b{ color:#222; font-weight:600; }
.gtx-demo .cathtml .cat-search .cat-se{ width:15px; height:15px; fill:none; stroke:#333; stroke-width:2; flex:none; }
.gtx-demo .cathtml .cat-more svg{ width:18px; height:18px; fill:#333; }
/* 店铺头 */
.gtx-demo .cathtml .cat-shop{ display:flex; align-items:center; gap:8px; padding:4px 11px 10px; background:#fff; flex:none; }
.gtx-demo .cathtml .cat-ava{ width:34px; height:34px; border-radius:8px; background:#111; display:flex; align-items:center; justify-content:center; flex:none; }
.gtx-demo .cathtml .cat-ava svg{ width:21px; height:21px; fill:none; stroke:#fff; stroke-width:1.5; stroke-linejoin:round; stroke-linecap:round; }
.gtx-demo .cathtml .cat-shop-info{ flex:1; min-width:0; }
.gtx-demo .cathtml .cat-shop-n{ display:flex; align-items:center; gap:6px; }
.gtx-demo .cathtml .cat-shop-n b{ font-size:13px; font-weight:800; color:#1a1a1a; }
.gtx-demo .cathtml .cat-tmall{ font-style:normal; font-size:9px; font-weight:700; color:#fff; background:#ff4200; border-radius:3px; padding:1px 4px; }
.gtx-demo .cathtml .cat-shop-meta{ font-size:10px; color:#9a9a9f; margin-top:2px; }
.gtx-demo .cathtml .cat-follow{ font-size:12px; font-weight:700; color:#fff; background:#ff5000; border-radius:999px; padding:5px 14px; flex:none; }
/* 分类 tabs */
.gtx-demo .cathtml .cat-tabs2{ display:flex; background:#fff; border-bottom:1px solid #f0f0f2; flex:none; }
.gtx-demo .cathtml .cat-tabs2 span{ flex:1; text-align:center; font-size:14px; color:#666; padding:9px 0; position:relative; }
.gtx-demo .cathtml .cat-tabs2 span.on{ color:#1a1a1a; font-weight:800; }
.gtx-demo .cathtml .cat-tabs2 span.on::after{ content:""; position:absolute; left:50%; bottom:2px; transform:translateX(-50%); width:24px; height:3px; border-radius:2px; background:#1a1a1a; }
/* 左导航 + 右内容 */
.gtx-demo .cathtml .cat-body{ flex:1; display:flex; min-height:0; }
.gtx-demo .cathtml .cat-side{ width:86px; flex:none; background:#f4f4f6; overflow-y:auto; }
.gtx-demo .cathtml .cat-side span{ display:flex; align-items:center; justify-content:center; text-align:center; min-height:60px; padding:8px 5px; font-size:12px; color:#666; line-height:1.35; position:relative; }
.gtx-demo .cathtml .cat-side span.on{ background:#fff; font-weight:800; color:#1a1a1a; }
.gtx-demo .cathtml .cat-side span.on::before{ content:""; position:absolute; left:0; top:18px; bottom:18px; width:3px; border-radius:2px; background:var(--accent); }
.gtx-demo .cathtml .cat-main{ flex:1; background:#f4f4f6; overflow-y:auto; padding:10px 10px 16px; scrollbar-width:none; }
.gtx-demo .cathtml .cat-main::-webkit-scrollbar{ display:none; }
.gtx-demo .cathtml .cat-side{ scrollbar-width:none; }
.gtx-demo .cathtml .cat-side::-webkit-scrollbar{ display:none; }
/* 图片式分类卡：白色圆角浮层卡（灰底衬托）+ 大图 + 下方 logo+功能文字 + 箭头 */
.gtx-demo .cathtml .cat-card{ background:#fff; overflow:hidden; margin-bottom:11px; box-shadow:0 3px 14px rgba(12,12,13,.07); }
.gtx-demo .cathtml .cat-card-media{ position:relative; }
.gtx-demo .cathtml .cat-card-img{ display:block; width:100%; height:auto; }
.gtx-demo .cathtml .cat-card-media::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:52%; background:linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.55)); pointer-events:none; }
.gtx-demo .cathtml .cat-fns-ov{ position:absolute; left:13px; bottom:10px; z-index:2; display:flex; gap:16px; }
.gtx-demo .cathtml .cat-fns-ov span{ display:flex; flex-direction:column; align-items:center; gap:4px; font-size:10.5px; font-weight:700; color:#fff; letter-spacing:.03em; text-shadow:0 1px 4px rgba(0,0,0,.5); }
.gtx-demo .cathtml .cat-fns-ov img{ width:24px; height:24px; object-fit:contain; filter:brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
.gtx-demo .cathtml .cat-card-row{ position:relative; display:flex; align-items:center; gap:9px; padding:12px 24px 13px 12px; }
.gtx-demo .cathtml .cat-card-logo{ width:40px; height:40px; object-fit:contain; flex:none; }
.gtx-demo .cathtml .cat-card-txt{ flex:1; min-width:0; }
.gtx-demo .cathtml .cat-card-txt b{ display:block; font-size:14px; font-weight:800; color:#1a1a1a; letter-spacing:.02em; white-space:nowrap; }
.gtx-demo .cathtml .cat-card-txt i{ font-style:normal; font-size:11px; color:#9a9a9f; margin-top:3px; line-height:1.45; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.gtx-demo .cathtml .cat-card-row::after{ content:"›"; position:absolute; right:12px; top:50%; transform:translateY(-52%); color:#c6c6cc; font-size:21px; font-weight:400; }
/* 底部 tab */
.gtx-demo .cathtml .cat-tabbar{ display:flex; background:#fff; border-top:1px solid #eee; padding:8px 0; flex:none; }
.gtx-demo .cathtml .cat-tabbar span{ flex:1; text-align:center; font-size:11px; color:#888; }
.gtx-demo .cathtml .cat-tabbar span.on{ color:var(--accent); font-weight:700; }
/* 分类页教学：整张卡片默认隐藏（折叠）→ 点对应步骤，整卡「从无到有」出现 + 卡内 logo/icon 渐入 + 红框高亮 */
.gtx-demo .cathtml .cat-card-gore, .gtx-demo .cathtml .cat-card-wind{ position:relative; max-height:0; opacity:0; overflow:hidden; margin-bottom:0; transition:max-height .55s cubic-bezier(.2,.75,.25,1), opacity .5s ease, margin-bottom .5s ease; }
.gtx-demo.c11-has-gore .cathtml .cat-card-gore{ max-height:360px; opacity:1; margin-bottom:11px; }
.gtx-demo.c11-has-wind .cathtml .cat-card-wind{ max-height:360px; opacity:1; margin-bottom:11px; }
.gtx-demo .cathtml .cat-card-logo{ opacity:0; transform:scale(.8); }
.gtx-demo .cathtml .cat-fns-ov{ opacity:0; transform:translateY(8px); transition:opacity .45s ease .2s, transform .5s cubic-bezier(.2,.75,.25,1) .2s; }
.gtx-demo.c11-has-gore .cathtml .cat-card-gore .cat-fns-ov,
.gtx-demo.c11-has-wind .cathtml .cat-card-wind .cat-fns-ov{ opacity:1; transform:none; }
.gtx-demo.c11-has-gore .cathtml .cat-card-gore .cat-card-logo,
.gtx-demo.c11-has-wind .cathtml .cat-card-wind .cat-card-logo{ animation:gfLogoIn .75s cubic-bezier(.34,1.4,.5,1) .25s forwards; }
.gtx-demo .cathtml .cat-card-gore::after, .gtx-demo .cathtml .cat-card-wind::after{ content:""; position:absolute; inset:0; z-index:6; pointer-events:none; opacity:0; box-shadow:inset 0 0 0 2px rgba(255,58,47,.55), inset 0 0 42px rgba(255,58,47,.2); }
.gtx-demo.c11-has-gore .cathtml .cat-card-gore::after{ animation:gtxFrame 1.7s ease-out .5s 1; }
.gtx-demo.c11-has-wind .cathtml .cat-card-wind::after{ animation:gtxFrame 1.7s ease-out .5s 1; }
/* ============ 店铺内搜索词 sshtml（宝贝首页 + 搜索界面）============ */
.gtx-demo .ss-phone{ position:relative; width:100%; max-width:328px; margin:0 auto; aspect-ratio:328/690; background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 0 0 1px rgba(10,14,22,.08); }
.gtx-demo .sshtml .ss-home{ position:absolute; inset:0; display:flex; flex-direction:column; background:#f4f4f6; }
.gtx-demo .sshtml .ss-htop{ display:flex; align-items:center; gap:8px; padding:9px 10px; background:#fff; flex:none; }
.gtx-demo .sshtml .ss-hback svg{ width:19px; height:19px; fill:none; stroke:#222; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.gtx-demo .sshtml .ss-searchbox{ flex:1; display:flex; align-items:center; gap:6px; background:#f2f3f5; border-radius:999px; padding:6px 11px; min-width:0; cursor:pointer; }
.gtx-demo .sshtml .ss-sicon{ width:14px; height:14px; fill:none; stroke:#9a9a9f; stroke-width:2; stroke-linecap:round; flex:none; }
.gtx-demo .sshtml .ss-cam{ width:15px; height:15px; fill:none; stroke:#888; stroke-width:1.6; stroke-linejoin:round; flex:none; }
.gtx-demo .sshtml .ss-ph{ flex:1; height:17px; overflow:hidden; min-width:0; }
.gtx-demo .sshtml .ss-ph-t{ display:block; height:17px; line-height:17px; font-size:12px; color:#9a9a9f; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gtx-demo .sshtml .ss-ph-t.in{ animation:ssPhIn .4s ease-out; }
@keyframes ssPhIn{ 0%{ transform:translateY(100%); opacity:0 } 100%{ transform:none; opacity:1 } }
/* 高亮：01 搜索框 / 02 店内热搜（与详情页红框一致）*/
.gtx-demo .sshtml .ss-searchbox{ position:relative; }
.gtx-demo .sshtml .ss-searchbox::after{ content:""; position:absolute; inset:-2px; border-radius:999px; box-shadow:0 0 0 2px rgba(255,58,47,.7); opacity:0; pointer-events:none; transition:opacity .3s ease; }
/* 点中 01 时搜索框边框变红（静态，只取决于 ss-has-ph）*/
.gtx-demo.ss-has-ph .sshtml .ss-searchbox::after{ opacity:1; }
.gtx-demo .sshtml .ss-chips{ position:relative; }
.gtx-demo .sshtml .ss-chips::after{ content:""; position:absolute; inset:-8px -6px; border-radius:12px; box-shadow:inset 0 0 0 2px rgba(255,58,47,.55), inset 0 0 30px rgba(255,58,47,.18); opacity:0; pointer-events:none; z-index:3; }
.gtx-demo.ss-pulse-hot .sshtml .ss-chips::after{ animation:gtxFrame 1.7s ease-out 1; }
.gtx-demo .sshtml .ss-hmore svg{ width:18px; height:18px; fill:#333; }
.gtx-demo .sshtml .ss-shop{ display:flex; align-items:center; gap:8px; padding:8px 11px; background:#fff; flex:none; }
.gtx-demo .sshtml .ss-ava{ width:32px; height:32px; border-radius:7px; background:#111; display:flex; align-items:center; justify-content:center; flex:none; }
.gtx-demo .sshtml .ss-ava svg{ width:19px; height:19px; fill:none; stroke:#fff; stroke-width:1.5; stroke-linejoin:round; }
.gtx-demo .sshtml .ss-shopn{ flex:1; min-width:0; }
.gtx-demo .sshtml .ss-shopn b{ font-size:12.5px; font-weight:800; color:#1a1a1a; display:block; }
.gtx-demo .sshtml .ss-shopn i{ font-style:normal; font-size:10px; color:#9a9a9f; }
.gtx-demo .sshtml .ss-follow{ font-size:11px; font-weight:700; color:#fff; background:var(--accent); border-radius:999px; padding:4px 11px; flex:none; }
.gtx-demo .sshtml .ss-tabs{ display:flex; gap:24px; padding:6px 14px 0; background:#fff; flex:none; }
.gtx-demo .sshtml .ss-tabs span{ font-size:13px; color:#666; padding-bottom:7px; position:relative; }
.gtx-demo .sshtml .ss-tabs span.on{ color:#1a1a1a; font-weight:800; }
.gtx-demo .sshtml .ss-tabs span.on::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:2.5px; border-radius:2px; background:#1a1a1a; }
.gtx-demo .sshtml .ss-subtabs{ display:flex; gap:16px; padding:8px 14px; background:#fff; border-bottom:1px solid #f0f0f2; flex:none; }
.gtx-demo .sshtml .ss-subtabs span{ font-size:12px; color:#888; }
.gtx-demo .sshtml .ss-subtabs span.on{ color:var(--accent); font-weight:700; }
.gtx-demo .sshtml .ss-grid{ flex:1; overflow-y:auto; display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:10px; scrollbar-width:none; align-content:start; }
.gtx-demo .sshtml .ss-grid::-webkit-scrollbar{ display:none; }
.gtx-demo .sshtml .ss-pc{ background:#fff; border-radius:9px; overflow:hidden; }
.gtx-demo .sshtml .ss-pc img{ width:100%; height:118px; object-fit:cover; display:block; }
.gtx-demo .sshtml .ss-pc b{ display:block; font-size:11px; font-weight:600; color:#333; padding:6px 8px 1px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gtx-demo .sshtml .ss-pp{ display:block; font-size:13px; font-weight:800; color:var(--accent); padding:0 8px 8px; }
.gtx-demo .sshtml .ss-search{ position:absolute; inset:0; background:#fff; z-index:5; display:flex; flex-direction:column; transform:translateX(100%); transition:transform .32s cubic-bezier(.3,.7,.3,1); }
.gtx-demo.ss-open .sshtml .ss-search{ transform:none; }
.gtx-demo .sshtml .ss-sbar{ display:flex; align-items:center; gap:9px; padding:10px 11px; flex:none; }
.gtx-demo .sshtml .ss-sback svg{ width:20px; height:20px; fill:none; stroke:#222; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.gtx-demo .sshtml .ss-sinput{ flex:1; display:flex; align-items:center; background:#f2f3f5; border-radius:8px; padding:8px 11px; min-width:0; }
.gtx-demo .sshtml .ss-cursor{ width:1.5px; height:15px; background:var(--accent); margin-right:2px; animation:ssBlink 1s step-end infinite; flex:none; }
@keyframes ssBlink{ 50%{opacity:0} }
.gtx-demo .sshtml .ss-sph{ font-size:13px; color:#9a9a9f; }
.gtx-demo .sshtml .ss-sbtn{ font-size:13px; font-weight:700; color:#fff; background:var(--accent); border-radius:6px; padding:8px 14px; flex:none; }
.gtx-demo .sshtml .ss-hot{ padding:14px 13px; }
.gtx-demo .sshtml .ss-hot-h{ font-size:14px; font-weight:800; color:#1a1a1a; margin-bottom:12px; }
.gtx-demo .sshtml .ss-chips{ display:flex; flex-wrap:wrap; gap:10px; }
.gtx-demo .sshtml .ss-chips span{ font-size:12.5px; color:#333; background:#f2f3f5; border-radius:8px; padding:8px 14px; }
.gtx-demo .sshtml .ss-chips .reg{ font-size:.62em; vertical-align:super; }
.gtx-demo .sshtml .ss-gtx{ display:none; }
/* 点 02 后先滑入搜索页 + 停顿(约 0.6s),关键词才逐个从无到有弹入 */
.gtx-demo.ss-has-hot .sshtml .ss-gtx{ display:inline-flex; color:var(--accent); background:#fdecea; font-weight:700; animation:ssChipIn .45s cubic-bezier(.34,1.5,.5,1) .62s both; }
@keyframes ssChipIn{ 0%{opacity:0; transform:scale(.7)} 100%{opacity:1; transform:none} }
.gtx-demo.ss-has-hot .sshtml .ss-chips span:nth-child(6){ animation-delay:.72s }
.gtx-demo.ss-has-hot .sshtml .ss-chips span:nth-child(7){ animation-delay:.82s }
.gtx-demo.ss-has-hot .sshtml .ss-chips span:nth-child(8){ animation-delay:.92s }
.gtx-demo .sshtml .ss-mic{ margin-top:auto; display:flex; justify-content:center; padding:16px; }
.gtx-demo .sshtml .ss-mic svg{ width:26px; height:26px; fill:none; stroke:#999; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
/* 加载进入动画：顶栏 → 主图 → 底栏 依次淡入上移（与主图与标题页一致）*/
.gtx-demo.p8-intro .p8h-top,
.gtx-demo.p8-intro .p8hero,
.gtx-demo.p8-intro .p8h-bar{ transition:opacity .5s ease, transform .55s cubic-bezier(.2,.75,.25,1); }
.gtx-demo.p8-intro .p8h-top{ opacity:0; transform:translateY(-14px); }
.gtx-demo.p8-intro .p8hero{ opacity:0; transform:translateY(18px); }
.gtx-demo.p8-intro .p8h-bar{ opacity:0; transform:translateY(18px); }
.gtx-demo.p8-intro .p8h-top.in,
.gtx-demo.p8-intro .p8hero.in,
.gtx-demo.p8-intro .p8h-bar.in{ opacity:1; transform:none; }
/* 店铺首页 / 专辑页 进入动画 */
.gtx-demo.p8-intro .sf-nav,
.gtx-demo.p8-intro .sf-shop,
.gtx-demo.p8-intro .sf-kv,
.gtx-demo.p8-intro .gf-hero{ transition:opacity .5s ease, transform .55s cubic-bezier(.2,.75,.25,1); }
.gtx-demo.p8-intro .sf-nav{ opacity:0; transform:translateY(-14px); }
.gtx-demo.p8-intro .sf-shop,
.gtx-demo.p8-intro .sf-kv,
.gtx-demo.p8-intro .gf-hero{ opacity:0; transform:translateY(18px); }
.gtx-demo.p8-intro .sf-nav.in,
.gtx-demo.p8-intro .sf-shop.in,
.gtx-demo.p8-intro .sf-kv.in,
.gtx-demo.p8-intro .gf-hero.in{ opacity:1; transform:none; }
/* 宝贝分类页 / 店铺内搜索页 进入动画 */
.gtx-demo.p8-intro .cat-top,
.gtx-demo.p8-intro .cat-shop,
.gtx-demo.p8-intro .cat-tabs2,
.gtx-demo.p8-intro .cat-body,
.gtx-demo.p8-intro .ss-htop,
.gtx-demo.p8-intro .ss-shop,
.gtx-demo.p8-intro .ss-subtabs,
.gtx-demo.p8-intro .ss-grid{ transition:opacity .5s ease, transform .55s cubic-bezier(.2,.75,.25,1); }
.gtx-demo.p8-intro .cat-top,
.gtx-demo.p8-intro .ss-htop{ opacity:0; transform:translateY(-12px); }
.gtx-demo.p8-intro .cat-shop,
.gtx-demo.p8-intro .cat-tabs2,
.gtx-demo.p8-intro .cat-body,
.gtx-demo.p8-intro .ss-shop,
.gtx-demo.p8-intro .ss-subtabs,
.gtx-demo.p8-intro .ss-grid{ opacity:0; transform:translateY(16px); }
.gtx-demo.p8-intro .cat-top.in,
.gtx-demo.p8-intro .cat-shop.in,
.gtx-demo.p8-intro .cat-tabs2.in,
.gtx-demo.p8-intro .cat-body.in,
.gtx-demo.p8-intro .ss-htop.in,
.gtx-demo.p8-intro .ss-shop.in,
.gtx-demo.p8-intro .ss-subtabs.in,
.gtx-demo.p8-intro .ss-grid.in{ opacity:1; transform:none; }
.gtx-demo .p8html .p8scene{ font-size:0; }
.gtx-demo .p8html .p8scene img{ display:block; width:100%; height:auto; }
.gtx-demo .p8html .p8tagline{ background:#fff; text-align:center; padding:34px 20px; }
.gtx-demo .p8html .p8tagline b{ display:block; font-size:19px; font-weight:900; color:#222; letter-spacing:.02em; }
.gtx-demo .p8html .p8tagline i{ display:block; font-style:normal; font-size:12px; color:#9a9a9f; margin-top:9px; letter-spacing:.14em; }
/* zone 重锚到各段元素（覆盖原 % 定位）*/
.gtx-demo .p8html .p8-z1{ left:3%; top:3%; width:17%; height:13%; }
.gtx-demo .p8html .p8-z2{ left:16%; top:36%; width:68%; height:20%; }
.gtx-demo .p8html .p8-z3{ left:4%; top:34%; width:92%; height:48%; }
.gtx-demo .p8html .p8-z4{ left:3%; top:6%; width:94%; height:88%; }
.gtx-demo .p8html .p8-z5{ left:4%; top:40%; width:92%; height:46%; }
.gtx-demo .p8html .p8-z6{ left:4%; top:42%; width:92%; height:40%; }
.gtx-demo .p8-zone {
  position: absolute;
  display: block;
  border-radius: 4px;
  background: transparent;
  pointer-events: none;
  transition: box-shadow .18s ease;
}
.gtx-demo .p8-z1 { left: 11.2%; top: 20.15%; width: 14.2%; height: 1.55%; }
.gtx-demo .p8-z2 { left: 21.8%; top: 18.88%; width: 58.4%; height: 0.68%; }
.gtx-demo .p8-z3 { left: 0;     top: 32.72%; width: 100%;  height: 7.55%; }
.gtx-demo .p8-z4 { left: 0;     top: 25.25%; width: 100%;  height: 7.45%; }
.gtx-demo .p8-z5 { left: 0;     top: 40.25%; width: 100%;  height: 5.75%; }
.gtx-demo .p8-z6 { left: 0;     top: 97.45%; width: 100%;  height: 2.55%; }
/* 07 店铺首页：长图 430×2300，zone 对应 KV 里 LOGO 菱形 / 功能 icon 列 / 持久防水图解 */
/* 像素检测对位（长图 860×4600）：菱形 / icon列 / 持久防水图解 */
.gtx-demo .sf-z1 { left: 71.9%; top: 19.9%; width: 15.1%; height: 2.9%; }
.gtx-demo .sf-z2 { left: 8.6%;  top: 30.3%; width: 9.1%;  height: 8.2%; }
.gtx-demo .sf-z3 { left: 2.8%;  top: 43.7%; width: 94.2%; height: 9.8%; }
.gtx-demo #r9-1:checked ~ .ispec .zr1,
.gtx-demo #r9-2:checked ~ .ispec .zr2,
.gtx-demo #r9-3:checked ~ .ispec .zr3 {
  outline: 2px dashed var(--accent);   /* 统一虚线框 */
  outline-offset: 3px;
}
.gtx-demo #r8-1:checked ~ .ispec .zr1,
.gtx-demo #r8-2:checked ~ .ispec .zr2,
.gtx-demo #r8-3:checked ~ .ispec .zr3,
.gtx-demo #r8-4:checked ~ .ispec .zr4,
.gtx-demo #r8-5:checked ~ .ispec .zr5,
.gtx-demo #r8-6:checked ~ .ispec .zr6 {
  outline: 2px dashed var(--accent);   /* 统一虚线框（与 07/08 一致） */
  outline-offset: 3px;
}
/* magnifier lens frame — positioned by JS in viewport coordinates */
.gtx-demo .p8-pvp .lens {
  position: absolute;
  left: 0; top: 0;
  opacity: 0;
  border: 2px dashed var(--accent);
  border-radius: 4px;
  transition: all .5s cubic-bezier(.25, .7, .3, 1);
  pointer-events: none;
  z-index: 6;
}

/* ==========================================================================
   07 — Category page (c11)
   Phone 360×779 → aspect-ratio 360/779; deck %-values kept, px → % of 360/779.
   ========================================================================== */
.gtx-demo .c11-stage { display: flex; justify-content: center; min-width: 0; }
.gtx-demo .c11-phone-card {
  width: 100%;
  max-width: 392px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 54px -42px rgba(12, 12, 13, .45);
  padding: 12px;
}
.gtx-demo .c11-phone {
  position: relative;
  width: 100%;
  aspect-ratio: 360 / 779;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(10, 14, 22, .08);
  container-type: inline-size;
}
.gtx-demo .c11-base {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.gtx-demo .c11-mask { position: absolute; background: #fff; z-index: 2; }
.gtx-demo .c11-mask-side { left: 0;     top: 31.1%; width: 27.7%; height: 50.6%; }
.gtx-demo .c11-mask-main { left: 27.7%; top: 31.1%; right: 0;     height: 50.6%; }
.gtx-demo .c11-side-list {
  position: absolute;
  left: 0; top: 31.1%;
  width: 27.7%; height: 50.6%;
  z-index: 3;
  color: #A4A4A4;
  font-weight: 400;
  font-size: 13px; font-size: 3.61cqw;
  line-height: 1.05;
}
.gtx-demo .c11-side-list span { position: absolute; left: 26.1%; white-space: nowrap; }
.gtx-demo .c11-side-list span:nth-child(1) { top: 7.5%; }
.gtx-demo .c11-side-list span:nth-child(2) { top: 25%; }
.gtx-demo .c11-side-list span:nth-child(3) { top: 43.3%; font-family: var(--en); font-size: 14px; font-size: 3.89cqw; transition: color .24s ease; }
.gtx-demo .c11-side-list span:nth-child(4) { top: 60.5%; }
.gtx-demo .c11-side-list span:nth-child(5) { top: 77%; }
.gtx-demo .c11-side-list span:nth-child(6) { top: 94%; }
/* nav marker: 5px,52.5% 6×58 → l 1.39% w 1.67% h 7.45% */
.gtx-demo .c11-nav-marker {
  position: absolute;
  left: 1.39%; top: 52.5%;
  width: 1.67%; height: 7.45%;
  background: #000; border-radius: 2px;
  z-index: 4;
  opacity: 0;
  transition: opacity .24s ease;
}
.gtx-demo .c11-card {
  position: absolute;
  left: 30.45%;
  width: 66.08%; height: 18.76%;
  z-index: 4;
  opacity: 0;
  transform: translateY(5px) scale(.985);
  transition: opacity .24s ease, transform .24s ease;
}
.gtx-demo .c11-card-gore { top: 33.18%; }
.gtx-demo .c11-card-wind { top: 54.95%; }
.gtx-demo .c11-card-img { width: 100%; height: 100%; object-fit: fill; display: block; }
.gtx-demo .c11-card-logo { position: absolute; display: block; object-fit: contain; z-index: 5; }
.gtx-demo .c11-gore-logo { right: 5.2%; top: 6.8%; width: 23.5%; height: auto; }
.gtx-demo .c11-wind-logo { right: 4.4%; top: 5.6%; width: 27.5%; height: auto; }
.gtx-demo.c11-has-nav .c11-nav-marker { opacity: 1; }
.gtx-demo.c11-has-nav .c11-nav-gore { color: #12151E; }
.gtx-demo.c11-has-gore .c11-card-gore,
.gtx-demo.c11-has-wind .c11-card-wind { opacity: 1; transform: none; }
/* focus callouts: nav 3px,51.8% 94×74 → l 0.83% w 26.11% h 9.5% */
.gtx-demo .c11-focus {
  display: none;
  position: absolute;
  z-index: 8;
  border: 1.5px dashed var(--accent);
  background: transparent;
  border-radius: 5px;
  pointer-events: none;
}
.gtx-demo .c11-focus-nav  { left: 0.83%; top: 51.8%;  width: 26.11%; height: 9.5%; }
.gtx-demo .c11-focus-gore { left: 29.4%; top: 32.75%; width: 68.2%;  height: 19.65%; }
.gtx-demo .c11-focus-wind { left: 29.4%; top: 54.52%; width: 68.2%;  height: 19.65%; }
.gtx-demo.c11-pulse-nav .c11-focus-nav,
.gtx-demo.c11-pulse-gore .c11-focus-gore,
.gtx-demo.c11-pulse-wind .c11-focus-wind { display: block; animation: gtxDashBlink .28s step-end 0s 3; }

/* ==========================================================================
   08 — Store search guide (sg6)
   Phone 470×612 (img 1170×1524) → aspect-ratio 1170/1524; callouts kept in %.
   ========================================================================== */
.gtx-demo .sg6-panel { display: flex; flex-direction: column; }
.gtx-demo .sg6-panel-head { padding-bottom: 14px; border-bottom: 1px solid var(--g3); }
.gtx-demo .sg6-panel-head span {
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g1);
}
.gtx-demo .sg6-panel-head h3 {
  margin: 8px 0 0;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
}
.gtx-demo .sg6-action {
  appearance: none;
  width: 100%;
  border: 1.5px solid var(--ink);
  background: #fff;
  color: var(--ink);
  margin: 18px 0 16px;
  padding: clamp(12px, 1.8vw, 16px);
  display: flex; align-items: center; gap: 12px;
  text-align: left;
  cursor: pointer;
  font-family: var(--cn);
  font-size: clamp(14px, 1.8vw, 17px);
  line-height: 1.3;
  font-weight: 600;
  transition: background .22s ease, border-color .22s ease, color .22s ease, transform .16s ease;
}
.gtx-demo .sg6-action:hover { background: #F6F5F1; }
.gtx-demo .sg6-action:active { transform: translateY(1px); }
.gtx-demo .sg6-action[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.gtx-demo .sg6-action-mark {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  flex: 0 0 auto;
  transition: background .22s ease, border-color .22s ease;
}
.gtx-demo .sg6-action[aria-pressed="true"] .sg6-action-mark { background: #fff; border-color: #fff; }
.gtx-demo .sg6-simple-copy {
  margin: 0 0 16px;
  border-top: 1px solid var(--g3);
  border-bottom: 1px solid var(--g3);
  padding: 14px 0;
}
.gtx-demo .sg6-simple-copy p {
  margin: 0;
  font-size: clamp(13px, 1.6vw, 15px);
  line-height: 1.6;
  color: #59564E;
}
.gtx-demo .sg6-keywords {
  border-left: 4px solid var(--ink);
  background: #fff;
  padding: 13px 14px 14px;
}
.gtx-demo .sg6-keywords span {
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g1);
}
.gtx-demo .sg6-keywords p {
  margin: 8px 0 0;
  font-family: var(--en);
  font-size: clamp(13px, 1.7vw, 15px);
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
}
.gtx-demo .sg6-stage { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.gtx-demo .sg6-status {
  width: 100%;
  max-width: 470px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--g3);
  border-bottom: 1px solid var(--g3);
  padding: 10px 2px;
  margin-bottom: 12px;
}
.gtx-demo .sg6-status span {
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g1);
}
.gtx-demo .sg6-status strong {
  font-size: clamp(13px, 1.7vw, 16px);
  line-height: 1.25;
  font-weight: 600;
  color: var(--ink);
  transition: color .22s ease;
}
.gtx-demo.sg6-on .sg6-status strong { color: var(--accent); }
.gtx-demo .sg6-phone {
  position: relative;
  display: block;
  width: 100%;
  max-width: 470px;
  aspect-ratio: 1170 / 1524;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(16, 18, 20, .14);
}
.gtx-demo .sg6-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: left top;
  background: #fff;
  transition: opacity .28s ease;
}
.gtx-demo .sg6-after { opacity: 0; }
.gtx-demo.sg6-on .sg6-after { opacity: 1; }
.gtx-demo .sg6-callouts { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.gtx-demo .sg6-callout {
  position: absolute;
  border: 1.5px dashed var(--accent);
  border-radius: 8px;
  opacity: 0;
}
.gtx-demo.sg6-on.sg6-pulse .sg6-callout { animation: gtxDashBlink .28s step-end 0s 3; }
.gtx-demo .sg6-c1 { left: 21.35%; top: 32.35%; width: 22.85%; height: 6.05%; }
.gtx-demo .sg6-c2 { left: 44.9%;  top: 32.35%; width: 13.4%;  height: 6.05%; }
.gtx-demo .sg6-c3 { left: 59.1%;  top: 32.35%; width: 35.8%;  height: 6.05%; }
.gtx-demo .sg6-c4 { left: 3.35%;  top: 39.35%; width: 29.95%; height: 6.05%; }

/* 「查看真实案例」按钮 + 弹层（通用：data-img 逗号分隔可多图） */
.gtx-demo .gtx-case-btn {
  appearance: none; cursor: pointer; font-family: var(--cn);
  align-self: flex-start; /* sg6-panel 等 flex 纵向容器里防止被拉伸成通栏 */
  margin-top: 16px; padding: 10px 18px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: transparent;
  font-size: 13px; font-weight: 800; color: var(--ink);
  display: inline-flex; align-items: center; gap: 7px;
  transition: background .15s ease, color .15s ease;
}
.gtx-demo .gtx-case-btn:hover { background: var(--ink); color: #fff; }
.gtx-demo .gtx-case-btn i { font-style: normal; font-size: 12px; }
/* 弹层挂在 body 上（deck 的 transform 缩放会改变 fixed 定位基准，故不可放在 .dk-in 内） */
.gtx-case-modal {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(8, 8, 8, .68); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; gap: 18px; padding: 28px;
}
.gtx-case-modal img {
  max-height: 82vh; max-width: min(23vw, 300px);
  border-radius: 14px; display: block;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.gtx-case-close {
  position: absolute; top: 18px; right: 22px;
  appearance: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .16); color: #fff;
  font-size: 17px; font-weight: 800; line-height: 1;
}
.gtx-case-close:hover { background: var(--accent); }

/* ==========================================================================
   First-interaction guide hint (pulsing ring + floating tip), injected by JS
   ========================================================================== */
.gtx-demo .gtx-guide-host { position: relative; }
.gtx-demo .gtx-guide {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 34px; height: 34px;
  margin-top: -17px;
  pointer-events: none;
  z-index: 30;
  opacity: 1;
  transition: opacity .25s ease;
}
.gtx-demo .gtx-guide.gtx-guide-out { opacity: 0; }
/* 各示范页：任一规则选中时隐藏点击提示，全部未选中时显示跳动提示（由各 init 切换 .gtx-picked） */
.gtx-demo.f5-picked .gtx-guide,
.gtx-demo.gtx-picked .gtx-guide { opacity: 0; }
/* in the detail-page list the right edge holds the 必要/建议 tag — shift the ring left of it */
.gtx-demo .rrow.gtx-guide-host .gtx-guide { right: 86px; }
.gtx-demo .gtx-guide-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: gtxGuidePulse 1.6s ease-out infinite;
}
.gtx-demo .gtx-guide-ring::after {
  content: "";
  position: absolute; inset: 10px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .85;
}
.gtx-demo .gtx-guide-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--ink);
  color: #fff;
  font-family: var(--cn);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 7px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
  animation: gtxGuideBob 1.6s ease-in-out infinite;
}
.gtx-demo .gtx-guide-tip::after {
  content: "";
  position: absolute;
  left: 50%; top: 100%;
  margin-left: -5px;
  border: 5px solid transparent;
  border-top-color: var(--ink);
}
@keyframes gtxGuidePulse {
  0%   { transform: scale(.55); opacity: .95; }
  70%  { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}
@keyframes gtxGuideBob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, -6px); }
}
/* 极简提示：编号菱形下方一个很细的上箭头（上下浮动）+「点击」二字 */
.gtx-demo .gtx-guide-mini {
  right: auto; top: calc(100% + 3px); left: 50%; bottom: auto;
  width: auto; height: auto; margin-top: 0;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.gtx-demo .gtx-guide-mini .gtx-guide-arrow {
  width: 14px; height: 22px; display: block;
  fill: none; stroke: var(--accent); stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
  animation: gtxArrowFloat 1.25s ease-in-out infinite;
}
.gtx-demo .gtx-guide-mini .gtx-guide-txt {
  font-size: 10.5px; font-weight: 700; color: var(--accent); letter-spacing: .06em;
}
@keyframes gtxArrowFloat {
  0%, 100% { transform: translateY(3px); opacity: .65; }
  50%      { transform: translateY(-3px); opacity: 1; }
}

/* --------------------------------------------------------------------------
   Small-screen refinements
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .gtx-demo .gtx-demo-head { align-items: flex-start; flex-direction: column; }
  .gtx-demo .gtx-demo-headnote { border-left-width: 2px; }
  .gtx-demo .f5v4-phone,
  .gtx-demo .p7-phone-card,
  .gtx-demo .c11-phone-card,
  .gtx-demo .p8-phone,
  .gtx-demo .sg6-phone { max-width: min(100%, 420px); }
  .gtx-demo .gtx-guide { right: 14px; }
}
@media (max-width: 480px) {
  .gtx-demo .f5v4-step,
  .gtx-demo .p7-step,
  .gtx-demo .c11-step { grid-template-columns: 32px 1fr; gap: 8px; }
  .gtx-demo .rrow { min-height: 44px; }
  .gtx-demo .gtx-guide { width: 28px; height: 28px; margin-top: -14px; }
  .gtx-demo .gtx-guide-ring::after { inset: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .gtx-demo *,
  .gtx-demo *::before,
  .gtx-demo *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================================
   菱形编号标注体系 — 参照 GORE-TEX 全球站（one.gore-tex.com）标注规范：
   控制列序号与样机上的标注点用同号红菱形一一对应
   ========================================================================== */
/* 列表序号 → 菱形徽章（旋转方形+真实描边）：默认白底黑边黑字，应用态红底白字；触控友好 */
.gtx-demo .f5v4-step .num,
.gtx-demo .p7-step .num,
.gtx-demo .c11-step .num,
.gtx-demo .sg6-step .num,
.gtx-demo .rrow .rn {
  position: relative;
  isolation: isolate;
  width: 46px;
  height: 46px;
  background: transparent;
  color: var(--dia-fg, var(--ink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--en);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1;
  justify-self: center;
  flex: 0 0 46px;
}
.gtx-demo .f5v4-step .num::before,
.gtx-demo .p7-step .num::before,
.gtx-demo .c11-step .num::before,
.gtx-demo .sg6-step .num::before,
.gtx-demo .rrow .rn::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 33px;
  height: 33px;
  box-sizing: border-box;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--dia-bg, #fff);
  border: 1px solid var(--dia-bd, #9a9a9a);
  z-index: -1;
}
/* 点击区域只在菱形：整条不可点，仅菱形序号可点（rrow 内 .rn 本身是 label，原生可点） */
.gtx-demo .f5v4-step, .gtx-demo .p7-step, .gtx-demo .c11-step, .gtx-demo .sg6-step { pointer-events: none; }
.gtx-demo .f5v4-step .num, .gtx-demo .p7-step .num, .gtx-demo .c11-step .num, .gtx-demo .sg6-step .num, .gtx-demo .rrow .rn { pointer-events: auto; cursor: pointer; transition: transform .12s ease; }
.gtx-demo .f5v4-step .num:hover, .gtx-demo .p7-step .num:hover, .gtx-demo .c11-step .num:hover, .gtx-demo .sg6-step .num:hover, .gtx-demo .rrow .rn:hover { transform: scale(1.1); }

/* 样机标注点（与列表同号；host 不一定自带定位，逐一兜底） */
.gtx-demo .p7-carousel-tech { position: relative; }
.gtx-demo .f5v4-logo-sticker::after,
.gtx-demo .f5v4-icons-sticker::after,
.gtx-demo .f5v4-copy::after,
.gtx-demo .p7-logo-sticker::after,
.gtx-demo .p7-icons-sticker::after,
.gtx-demo .p7-carousel-tech::after,
.gtx-demo .p7-title-overlay::after,
.gtx-demo .c11-nav-marker::after,
.gtx-demo .c11-card-gore::after,
.gtx-demo .c11-card-wind::after,
.gtx-demo .p8-zone::after {
  position: absolute;
  z-index: 6;
  top: -9px;
  right: -9px;
  width: 20px;
  height: 20px;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--en);
  font-weight: 700;
  font-size: 9.5px;
  line-height: 20px;
  text-align: center;
  opacity: 0;
  transform: scale(.5);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
/* 菱形编号：标题=1 / logo=2 / icons=3；左右两个产品同号（右侧编号随其贴片延迟一同浮现） */
.gtx-demo .f5v4-copy::after { content: "1"; }
.gtx-demo .f5v4-logo-sticker::after { content: "2"; left: auto; right: -9px; } /* logo 在卡片左上、贴近画布左缘，菱形编号放右侧防裁切（左右产品一致） */
.gtx-demo .f5v4-icons-sticker::after { content: "3"; }
.gtx-demo .p7-logo-sticker::after { content: "1"; }
.gtx-demo .p7-icons-sticker::after { content: "2"; }
.gtx-demo .p7-carousel-tech::after { content: "3"; right: 10px; top: 10px; }
.gtx-demo .p7-title-overlay::after { content: "4"; }
.gtx-demo .c11-nav-marker::after { content: "1"; }
.gtx-demo .c11-card-gore::after { content: "2"; }
.gtx-demo .c11-card-wind::after { content: "3"; }
.gtx-demo .p8-z1::after { content: "1"; }
.gtx-demo .p8-z2::after { content: "2"; }
.gtx-demo .p8-z3::after { content: "3"; }
.gtx-demo .p8-z4::after { content: "4"; }
.gtx-demo .p8-z5::after { content: "5"; }
.gtx-demo .p8-z6::after { content: "6"; }
.gtx-demo .sf-z1::after { content: "1"; }
.gtx-demo .sf-z2::after { content: "2"; }
.gtx-demo .sf-z3::after { content: "3"; }

/* 点亮对应模块时浮现 */
.gtx-demo.f5-has-logo .f5v4-logo-sticker::after,
.gtx-demo.f5-has-icons .f5v4-icons-sticker::after,
.gtx-demo.f5-has-copy .f5v4-copy::after,
.gtx-demo.p7-has-logo .p7-logo-sticker::after,
.gtx-demo.p7-has-icons .p7-icons-sticker::after,
.gtx-demo.p7-has-tech .p7-carousel-tech::after,
.gtx-demo.p7-has-title .p7-title-overlay::after,
.gtx-demo.c11-has-nav .c11-nav-marker::after,
.gtx-demo.c11-has-gore .c11-card-gore::after,
.gtx-demo.c11-has-wind .c11-card-wind::after,
#r8-1:checked ~ .ispec .p8-z1::after,
#r8-2:checked ~ .ispec .p8-z2::after,
#r8-3:checked ~ .ispec .p8-z3::after,
#r8-4:checked ~ .ispec .p8-z4::after,
#r8-5:checked ~ .ispec .p8-z5::after,
#r8-6:checked ~ .ispec .p8-z6::after,
#r9-1:checked ~ .ispec .sf-z1::after,
#r9-2:checked ~ .ispec .sf-z2::after,
#r9-3:checked ~ .ispec .sf-z3::after {
  opacity: 1;
  transform: scale(1);
}

/* 贴边 host 的菱形内收，避免被样机视口裁切 */
.gtx-demo .p8-zone::after { right: 8px; }
.gtx-demo .f5v4-copy::after { right: 6px; }

/* 08 GORE-TEX® 专题页 zone（占位坐标，后按像素检测精调） */
.gtx-demo .gf-z1 { left: 4.5%;  top: 1%;    width: 12.5%; height: 3%; }
.gtx-demo .gf-z2 { left: 31.5%; top: 76.6%; width: 37%; height: 1.7%; }
.gtx-demo .gf-z3 { left: 32%;   top: 79.3%; width: 25%; height: 2.6%; }
.gtx-demo .gf-z4 { left: 6%;    top: 32.6%; width: 88%; height: 17.7%; }
.gtx-demo .gf-z5 { left: 10%;   top: 19%;   width: 80%; height: 9%; }
.gtx-demo #r10-1:checked ~ .ispec .zr1,
.gtx-demo #r10-2:checked ~ .ispec .zr2,
.gtx-demo #r10-3:checked ~ .ispec .zr3,
.gtx-demo #r10-4:checked ~ .ispec .zr4,
.gtx-demo #r10-5:checked ~ .ispec .zr5 {
  outline: 2px dashed var(--accent); outline-offset: 3px;
}
.gtx-demo .gf-z1::after { content: "1"; }
.gtx-demo .gf-z2::after { content: "2"; }
.gtx-demo .gf-z3::after { content: "3"; }
.gtx-demo .gf-z4::after { content: "4"; }
.gtx-demo .gf-z5::after { content: "5"; }
#r10-1:checked ~ .ispec .gf-z1::after,
#r10-2:checked ~ .ispec .gf-z2::after,
#r10-3:checked ~ .ispec .gf-z3::after,
#r10-4:checked ~ .ispec .gf-z4::after,
#r10-5:checked ~ .ispec .gf-z5::after {
  opacity: 1; transform: scale(1);
}

/* ==========================================================================
   商品详情页组装器（02 按产品选素材）—— .assemble 命名空间，独立于 .gtx-demo
   ========================================================================== */
.assemble { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,404px); gap: clamp(30px,4.4vw,68px); align-items: center; max-width: 1160px; margin: 0 auto; }
@media (max-width: 900px){ .assemble { grid-template-columns: minmax(0,1fr); gap: 26px; } }

/* —— 左：内容积木面板 —— */
.asm-head b { display: block; font-size: clamp(18px,2.3vw,24px); font-weight: 800; letter-spacing: -.01em; }
.asm-head p { margin-top: 7px; font-size: 13px; color: var(--g1); line-height: 1.55; max-width: 44ch; }
.asm-count { margin: 16px 0 16px; }
.asm-count-txt { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--g1); padding: 5px 12px; border-radius: 999px; background: var(--paper-2); }
.assemble.as-complete .asm-count-txt { color: #0f8a3c; background: #eaf7ef; }

/* 素材方形卡网格 */
.asm-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
@media (max-width: 1240px){ .asm-blocks { grid-template-columns: repeat(2, 1fr); } }
.asm-block { position: relative; appearance: none; text-align: left; cursor: pointer; padding: 0;
  display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden;
  background: #fff; font-family: var(--cn); color: var(--ink);
  transition: border-color .18s, box-shadow .2s, transform .14s; }
.asm-block:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -20px rgba(12,12,13,.55); border-color: var(--g3); }
.asm-thumb { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #0e1813; }
.asm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.asm-tnum { position: absolute; top: 8px; left: 8px; width: 22px; height: 22px; clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%); background: var(--accent); color: #fff; font-family: var(--en); font-weight: 700; font-size: 11px; line-height: 22px; text-align: center; font-style: normal; z-index: 2; }
.asm-tag { position: absolute; top: 8px; right: 8px; z-index: 2; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.asm-tag-req { background: var(--ink); color: #fff; }
.asm-tag-rec { background: rgba(255,255,255,.94); color: var(--ink); }
.asm-tag-opt { background: rgba(255,255,255,.86); color: var(--g1); }
.asm-dl { position: absolute; bottom: 8px; right: 8px; z-index: 3; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 3px 10px rgba(0,0,0,.22); transition: background .15s, color .15s; }
.asm-dl svg { width: 15px; height: 15px; }
.asm-dl .asm-dln { position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--en); font-style: normal; font-size: 9.5px; font-weight: 700; line-height: 16px; text-align: center; }
.asm-dl:hover { background: var(--ink); color: #fff; }
.asm-pick { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; background: rgba(8,40,22,.34); opacity: 0; transition: opacity .2s; }
.asm-pick::before { content: "✓"; width: 48px; height: 48px; border-radius: 50%; background: #0f8a3c; color: #fff; font-size: 25px; font-weight: 800; display: flex; align-items: center; justify-content: center; transform: scale(.4); transition: transform .26s cubic-bezier(.34,1.56,.64,1); box-shadow: 0 6px 18px rgba(15,138,60,.5); }
.asm-blk-body { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.asm-blk-ttl { font-size: 14px; font-weight: 800; line-height: 1.25; }
.asm-state { font-size: 11.5px; font-weight: 800; margin-top: 2px; }
.asm-add { color: var(--accent); }
.asm-done { display: none; color: #0f8a3c; }
.asm-block.placed { border-color: #0f8a3c; box-shadow: 0 0 0 1.5px #0f8a3c; }
.asm-block.placed .asm-pick { opacity: 1; }
.asm-block.placed .asm-pick::before { transform: scale(1); }
.asm-block.placed .asm-add { display: none; }
.asm-block.placed .asm-done { display: inline; }

.asm-actions { display: flex; gap: 10px; margin-top: 16px; }
.asm-auto { flex: 1; appearance: none; cursor: pointer; border: 0; border-radius: 11px; background: var(--accent); color: #fff; font-family: var(--cn); font-weight: 800; font-size: 14.5px; padding: 13px; transition: filter .15s, transform .1s; }
.asm-auto:hover { filter: brightness(1.07); }
.asm-auto:active { transform: scale(.99); }
.asm-auto:disabled { opacity: .65; cursor: default; }
.asm-reset { appearance: none; cursor: pointer; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); font-family: var(--cn); font-weight: 800; font-size: 14.5px; padding: 13px 20px; }
.asm-reset:hover { border-color: var(--ink); }

/* —— 左栏底部：适用天气 + 全部素材下载 —— */
.asm-foot { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.asm-foot .boundary { margin: 0; padding: 0; border: 0; background: none; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.asm-foot .boundary > b { font-size: 12px; color: var(--g1); }
.asm-dlbox > summary { cursor: pointer; font-size: 12.5px; font-weight: 800; color: var(--g1); list-style: none; display: inline-flex; align-items: center; gap: 5px; }
.asm-dlbox > summary::-webkit-details-marker { display: none; }
.asm-dlbox > summary::before { content: "▸"; }
.asm-dlbox[open] > summary::before { content: "▾"; }
.asm-dlbox .asset-grid { margin-top: 12px; }
.asm-leftdl { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.asm-dlchip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 8px; background: var(--paper-2); color: var(--ink); font-size: 11.5px; font-weight: 700; line-height: 1; max-width: 100%; }
.asm-dlchip svg { width: 13px; height: 13px; flex: none; }
.asm-dlchip em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asm-dlchip:hover { background: var(--ink); color: #fff; }

/* —— 右：手机详情页（设备主角）—— */
.asm-stage { display: flex; justify-content: center; min-width: 0; }
.asm-phone { position: relative; width: 100%; max-width: 404px; background: #0c0c0d; border-radius: 44px; padding: 11px; box-shadow: 0 44px 84px -42px rgba(12,12,13,.62), 0 0 0 1px rgba(0,0,0,.06); container-type: inline-size; }
.asm-notch { position: absolute; top: 21px; left: 50%; transform: translateX(-50%); width: 104px; height: 21px; background: #0c0c0d; border-radius: 999px; z-index: 7; }
.asm-screen { position: relative; background: #fff; border-radius: 33px; overflow: hidden; }
.asm-statusbar { display: flex; justify-content: space-between; align-items: center; padding: 11px 24px 4px; font-size: 11px; font-weight: 700; color: var(--ink); }
.asm-sig { letter-spacing: .04em; }
.asm-nav { display: flex; align-items: center; gap: 8px; padding: 4px 14px 9px; border-bottom: 1px solid var(--line); }
.asm-back { font-size: 21px; line-height: 1; color: var(--ink); }
.asm-navttl { flex: 1; font-size: 12.5px; font-weight: 700; }
.asm-dots { color: var(--g1); letter-spacing: 1px; }
.asm-vp { position: relative; aspect-ratio: 360 / 678; overflow: hidden; background: #fff; }
.asm-pinner { position: relative; width: 100%; transition: transform .55s cubic-bezier(.25,.7,.3,1); will-change: transform; }

.asm-kv { position: relative; background: #f1f1f3; }
.asm-kv > img { display: block; width: 100%; }
.asm-kvtag { position: absolute; top: 14px; right: 14px; width: 58px; height: 58px; opacity: 0; transform: scale(.5) rotate(-8deg); transition: opacity .3s, transform .3s cubic-bezier(.34,1.56,.64,1); }
.asm-kvtag img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.asm-kvcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 14px; font-size: 12.5px; font-weight: 800; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
/* 主图功能图标列（防水/防风/透汽，随头图放入显现） */
.asm-kvicons { position: absolute; left: 12px; top: 50%; transform: translateY(-50%) translateX(-6px); display: flex; flex-direction: column; gap: 14px; opacity: 0; transition: opacity .3s, transform .3s; }
.asm-kvicons span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 800; color: var(--ink); }
.asm-kvicons img { width: 26px; height: 26px; object-fit: contain; }
.asm-kvdots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; z-index: 3; }
.asm-kvdots i { width: 6px; height: 6px; border-radius: 999px; background: rgba(0,0,0,.22); }
.asm-kvdots i.on { width: 16px; background: var(--ink); }
.assemble.as-has-kv .asm-kvtag { opacity: 1; transform: scale(1) rotate(0); }
.assemble.as-has-kv .asm-kvcap { opacity: 1; transform: none; }
.assemble.as-has-kv .asm-kvicons { opacity: 1; transform: translateY(-50%) translateX(0); }

/* 图集 / 颜色缩略行 */
.asm-gallery { display: flex; align-items: center; gap: 8px; padding: 11px 13px; }
.asm-gthumb { width: 50px; height: 50px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: #f1f1f3; flex: none; }
.asm-gthumb.on { border-color: var(--ink); }
.asm-gthumb img { width: 100%; height: 100%; object-fit: contain; }
.asm-gall { margin-left: auto; font-size: 10.5px; font-weight: 700; color: var(--g1); text-align: center; line-height: 1.25; }

.asm-info { padding: 4px 15px 10px; }
.asm-pricerow { display: flex; align-items: baseline; justify-content: space-between; }
.asm-price { font-size: 14px; color: var(--accent); font-weight: 800; }
.asm-price b { font-size: 27px; }
.asm-price s { color: var(--g2); font-weight: 400; font-size: 12px; margin-left: 5px; }
.asm-fav { font-size: 11px; font-weight: 700; color: var(--g1); }
.asm-tag-hot { background: var(--accent); color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 3px; margin-right: 5px; }
.asm-ttl { margin-top: 7px; font-size: 14px; font-weight: 700; line-height: 1.35; }

/* 服务保障三件套 */
.asm-serv { display: flex; gap: 6px; padding: 11px 15px; border-top: 1px solid var(--line); }
.asm-serv span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.asm-serv b { font-size: 11.5px; font-weight: 800; }
.asm-serv b::before { content: "✓"; color: #0f8a3c; margin-right: 3px; }
.asm-serv i { font-size: 10px; font-style: normal; color: var(--g2); }

/* 选择 / 参数 折叠行 */
.asm-rows { margin: 4px 15px 0; }
.asm-rrow { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 12.5px; }
.asm-rrow > span { color: var(--g2); flex: none; width: 34px; }
.asm-rrow > b { font-weight: 700; }
.asm-rrow > i { margin-left: auto; color: var(--g2); font-style: normal; }

/* 商品详情 分割标题 */
.asm-divider { display: flex; align-items: center; justify-content: center; margin: 12px 0 4px; }
.asm-divider span { position: relative; font-size: 13px; font-weight: 800; padding: 0 16px; }
.asm-divider span::before, .asm-divider span::after { content: ""; position: absolute; top: 50%; width: 22px; height: 1px; background: var(--g3); }
.asm-divider span::before { right: 100%; } .asm-divider span::after { left: 100%; }

/* 区段眉标 + 标题（细节 / COLOR / SIZE / LAB） */
.asm-eyebrow { display: block; font-family: var(--en); font-size: 9.5px; letter-spacing: .18em; color: var(--g2); font-weight: 700; }
.asm-secttl { display: block; margin: 4px 0 12px; font-size: 17px; font-weight: 900; letter-spacing: -.01em; }
.asm-imgsec { padding: 16px 15px; }
.asm-imgsec img { width: 100%; display: block; border-radius: 10px; }

/* COLOR 颜色款式大卡 */
.asm-color { padding: 16px 15px; background: var(--paper-2); }
.asm-ccards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.asm-ccard { background: #fff; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--line); }
.asm-ccard.on { border-color: var(--ink); }
.asm-ccard img { width: 100%; aspect-ratio: 1/1; object-fit: contain; background: #f1f1f3; }
.asm-ccard span { display: flex; align-items: center; gap: 6px; padding: 8px 10px; font-size: 11.5px; font-weight: 700; }
.asm-cdot { width: 12px; height: 12px; border-radius: 50%; background: #2a3142; flex: none; }
.asm-ccard:nth-child(2) .asm-cdot { background: #5a6472; }
.asm-ccard:nth-child(3) .asm-cdot { background: #8a929e; }
.asm-params { margin: 0 15px 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.asm-params > b { font-size: 13px; }
.asm-prow { display: flex; justify-content: space-between; font-size: 12px; color: var(--g1); margin-top: 7px; }
.asm-prow span:first-child { color: var(--g2); }

/* GORE-TEX 槽位：积木拼入则真实内容淡入，占位卡淡出（高度恒定） */
.asm-sec { position: relative; margin: 10px 15px; border-radius: 12px; overflow: hidden; min-height: 108px; }
.asm-sec .asm-fill { display: block; width: 100%; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; }
.asm-sec .asm-ph { position: absolute; inset: 0; border: 1.5px dashed #cdd5ce; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 10px; background: #f6f8f6; opacity: 1; transition: opacity .25s; }
.asm-ph i { font-style: normal; font-size: 12.5px; font-weight: 800; color: #5a6b60; }
.asm-ph em { font-style: normal; font-size: 11px; color: #93a096; }
.asm-secno { width: 24px; height: 24px; clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%); background: #b9c4bc; color: #fff; font-family: var(--en); font-weight: 700; font-size: 11px; line-height: 24px; text-align: center; }
.asm-sec .asm-lab { padding: 16px 15px; background: #fff; }
.asm-lab b { font-size: 14px; }
.asm-lab-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 9px 0; }
.asm-lab-row span { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); }
.asm-lab p { font-size: 11.5px; color: var(--g1); line-height: 1.4; }
.asm-sec .asm-album { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px; background: linear-gradient(110deg,#0e1813,#1d2b22); }
.asm-album b { display: block; font-size: 13.5px; font-weight: 800; color: #fff; }
.asm-album span { display: block; margin-top: 3px; font-size: 11.5px; color: #9fb3a6; }
.asm-album img { width: 34px; flex: none; filter: invert(1) brightness(1.6); opacity: .9; }
.assemble.as-has-scene .asm-sec-scene .asm-fill,
.assemble.as-has-tech .asm-sec-tech .asm-fill,
.assemble.as-has-wwb .asm-sec-wwb .asm-fill,
.assemble.as-has-lab .asm-sec-lab .asm-fill,
.assemble.as-has-album .asm-sec-album .asm-fill { opacity: 1; transform: none; }
.assemble.as-has-scene .asm-sec-scene .asm-ph,
.assemble.as-has-tech .asm-sec-tech .asm-ph,
.assemble.as-has-wwb .asm-sec-wwb .asm-ph,
.assemble.as-has-lab .asm-sec-lab .asm-ph,
.assemble.as-has-album .asm-sec-album .asm-ph { opacity: 0; pointer-events: none; }
/* 区位脉冲绿框（拼入瞬间） */
.assemble.as-pulse-scene .asm-sec-scene,
.assemble.as-pulse-tech .asm-sec-tech,
.assemble.as-pulse-wwb .asm-sec-wwb,
.assemble.as-pulse-lab .asm-sec-lab,
.assemble.as-pulse-album .asm-sec-album,
.assemble.as-pulse-kv .asm-kv { animation: asmFlash .3s step-end 0s 3; }
@keyframes asmFlash { 0%,49%{ box-shadow: inset 0 0 0 3px #0f8a3c; } 50%,100%{ box-shadow: inset 0 0 0 3px transparent; } }

.asm-variants, .asm-sizes { margin: 10px 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.asm-variants > b, .asm-sizes > b { font-size: 13px; }
.asm-vrow { display: flex; gap: 8px; margin-top: 9px; }
.asm-vthumb { width: 56px; height: 56px; border-radius: 9px; overflow: hidden; border: 2px solid transparent; background: #f1f1f3; }
.asm-vthumb.on { border-color: var(--accent); }
.asm-vthumb img { width: 100%; height: 100%; object-fit: contain; }
.asm-srow { display: flex; gap: 7px; margin-top: 9px; }
.asm-srow span { min-width: 38px; text-align: center; font-size: 12px; font-weight: 700; padding: 7px 0; border-radius: 7px; border: 1px solid var(--line); }
.asm-verify { margin: 15px; padding: 18px 15px; border-radius: 12px; background: var(--ink); color: #fff; text-align: center; }
.asm-verify img { width: 50px; margin-bottom: 8px; }
.asm-verify b { display: block; font-size: 14px; }
.asm-verify p { font-size: 11px; color: rgba(255,255,255,.6); margin-top: 6px; line-height: 1.4; }

.asm-buy { display: flex; gap: 8px; padding: 10px 13px; border-top: 1px solid var(--line); }
.asm-cart, .asm-now { flex: 1; text-align: center; font-size: 13px; font-weight: 800; padding: 12px; border-radius: 999px; }
.asm-cart { background: #ffb000; color: #5a3d00; }
.asm-now { background: var(--accent); color: #fff; }

@media (prefers-reduced-motion: reduce){
  .asm-sec .asm-fill, .asm-kvtag, .asm-kvcap, .asm-pick::before { transition-duration: .01ms; }
}

/* ==========================================================================
   资源包图标墙（02 按产品选素材新模型）—— .packs 命名空间
   ========================================================================== */
/* 适用天气并入 header（标题下方一行） */
.dk-ct-wx { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 12px; }
.dk-ct-wx > b { font-size: 12px; font-weight: 700; color: var(--g1); flex: none; }
/* 天气动画只在「适用天气」框内：框裁剪 + canvas 绝对定位铺满框 */
.boundary { position: relative; overflow: hidden; }
.wfx-canvas { border-radius: inherit; }
/* ct 页头：标题旁的单页分享图标按钮 */
.dk-ct-titlerow { display: flex; align-items: center; gap: 12px; }
.dk-share-btn { flex: none; appearance: none; cursor: pointer; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 11px; transition: background .15s, color .15s, border-color .15s, transform .1s; }
.dk-share-btn svg { width: 19px; height: 19px; }
.dk-share-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.dk-share-btn:active { transform: scale(.94); }
/* 单页分享模式：访问者看不到分享按钮，也无导航/目录（这些在分享模式下根本不渲染） */
body.deck-share .dk-share-btn { display: none; }
body.deck-share .dk-chip { display: none; }
/* 分享弹窗：一键复制按钮 */
.share-copyall { width: 100%; margin-top: 4px; border: 0; cursor: pointer; background: var(--ink); color: #fff; font-family: var(--cn); font-weight: 800; font-size: 13.5px; padding: 12px; border-radius: 10px; transition: filter .15s; }
.share-copyall:hover { filter: brightness(1.2); }

.packs { width: 100%; }
.packs-head b { display: block; font-size: clamp(18px,2.3vw,24px); font-weight: 800; letter-spacing: -.01em; }
.packs-head p { margin-top: 7px; font-size: 13px; color: var(--g1); line-height: 1.55; }
.packs-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1080px){ .packs-grid { grid-template-columns: repeat(2, 1fr); } }

.pack-card { position: relative; appearance: none; cursor: pointer; text-align: left; padding: 0;
  display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden;
  background: #fff; font-family: var(--cn); color: var(--ink);
  transition: border-color .18s, box-shadow .2s, transform .14s; }
.pack-card:hover { transform: translateY(-4px); box-shadow: 0 20px 38px -22px rgba(12,12,13,.55); border-color: var(--g3); }
.pack-ic { width: 100%; aspect-ratio: 16 / 10; background: #0e1813; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pack-ic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pack-ic.pad { background: #f3f4f3; }
.pack-ic.pad img { width: 62%; height: 62%; object-fit: contain; }
.pack-tier { position: absolute; top: 10px; right: 10px; z-index: 2; }
.pack-row { display: flex; align-items: center; gap: 10px; padding: 12px 12px 0 14px; }
.pack-name { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 800; line-height: 1.25; }
.pack-sub { padding: 5px 14px 14px; font-size: 11.5px; color: var(--g1); line-height: 1.4; flex: 1; }
.pack-zip { flex: none; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--paper-2); color: var(--g1); transition: background .15s, color .15s, transform .1s; }
.pack-zip svg { width: 16px; height: 16px; }
.pack-zip:hover { background: var(--ink); color: #fff; }
.pack-zip:active { transform: scale(.94); }

/* 弹窗（挂到 body 层，避开 deck 缩放） */
.pack-overlay { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(10,12,14,.55); backdrop-filter: blur(2px); opacity: 0; transition: opacity .2s; }
.pack-overlay.on { opacity: 1; }
.pack-dialog { position: relative; width: min(720px, 94vw); max-height: 86vh; overflow: auto; background: #fff; border-radius: 18px; padding: 26px 26px 22px; box-shadow: 0 50px 110px -30px rgba(0,0,0,.55); transform: translateY(12px) scale(.98); transition: transform .25s cubic-bezier(.22,.75,.2,1); }
.pack-overlay.on .pack-dialog { transform: none; }
.pack-x { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border: 0; border-radius: 9px; background: var(--paper-2); cursor: pointer; font-size: 14px; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.pack-x:hover { background: var(--ink); color: #fff; }
.pack-modal-head b { display: block; font-size: 19px; font-weight: 900; letter-spacing: -.01em; padding-right: 40px; }
.pack-modal-head p { margin-top: 5px; font-size: 13px; color: var(--g1); }
/* 类型筛选 + 分组板块 */
.pack-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pack-fchip { appearance: none; cursor: pointer; border: 1.5px solid var(--line); background: #fff; color: var(--g1); font-family: var(--cn); font-size: 12.5px; font-weight: 800; padding: 7px 14px; border-radius: 999px; transition: background .15s, color .15s, border-color .15s; }
.pack-fchip:hover { border-color: var(--ink); color: var(--ink); }
.pack-fchip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pack-group { margin-top: 20px; }
.pack-group[hidden] { display: none; }
.pack-ghead { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; }
.pack-ghead b { font-size: 14px; font-weight: 800; flex: none; }
.pack-ghead span { font-size: 11px; font-weight: 700; color: var(--g1); background: var(--paper-2); padding: 1px 9px; border-radius: 999px; flex: none; }
.pack-ghead::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pack-group .pack-items { margin-top: 0; }
.pack-items { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
@media (max-width: 480px){ .pack-items { grid-template-columns: 1fr; } }
/* WWB 页（标签页里）版面更宽：多列网格，海报更小，整页收进一屏 */
.ltab-panel .pack-items { margin-top: 12px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.ltab-panel .pack-group { margin-top: 14px; }
.pack-item { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.pack-prev { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fff; }
.pack-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pack-prev.contain img { object-fit: contain; padding: 12px; }
.pack-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(15,16,17,.55); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .15s, background .15s; }
.pack-play svg { width: 22px; height: 22px; }
.pack-play:hover { background: rgba(15,16,17,.82); transform: translate(-50%,-50%) scale(1.08); }
.pack-item-foot { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.pack-it-body { flex: 1; min-width: 0; }
.pack-it-body b { display: block; font-size: 13px; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pack-it-body i { display: block; margin-top: 2px; font-size: 11px; font-style: normal; color: var(--g1); }
.pack-itdl { flex: none; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: var(--paper-2); color: var(--ink); transition: background .15s, color .15s; }
.pack-itdl svg { width: 15px; height: 15px; }
.pack-itdl:hover { background: var(--ink); color: #fff; }
/* 媒体查看器 */
.pack-viewer { position: fixed; inset: 0; z-index: 10001; display: flex; align-items: center; justify-content: center; padding: 32px; background: rgba(6,8,10,.82); opacity: 0; transition: opacity .2s; }
.pack-viewer.on { opacity: 1; }
.pack-viewer-box { position: relative; display: flex; flex-direction: column; align-items: center; }
.pack-viewer-box video, .pack-viewer-box img { max-width: 90vw; max-height: 80vh; border-radius: 12px; display: block; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.pack-viewer-box video { background: #000; }
.pack-viewer-box img { background: #fff; padding: 24px; box-sizing: border-box; }
.pack-vx { position: absolute; top: -46px; right: 0; width: 36px; height: 36px; border: 0; border-radius: 9px; background: rgba(255,255,255,.16); color: #fff; cursor: pointer; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.pack-vx:hover { background: rgba(255,255,255,.32); }
.pack-viewer-cap { margin-top: 14px; color: #fff; font-size: 13px; font-weight: 700; }

/* 表单项卡 + 在线申请表弹窗 */
.pack-formcard { width: 100%; aspect-ratio: 4 / 3; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; background: linear-gradient(135deg, #233029, #0e1813); color: #fff; transition: filter .15s; }
.pack-formcard svg { width: 42px; height: 42px; }
.pack-formcard span { font-size: 13px; font-weight: 800; letter-spacing: 1px; }
.pack-formcard:hover { filter: brightness(1.15); }
/* 应用示意：mockup 灰底占位 + placeholder 标 */
.pack-phold { background: #e8e8ea; display: flex; align-items: center; justify-content: center; }
.pack-ph-badge { font-family: var(--en); font-size: 10.5px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #9aa0a8; padding: 5px 13px; border: 1.5px dashed #b8bcc4; border-radius: 999px; background: rgba(255,255,255,.5); }
.pack-formdialog { width: min(560px, 94vw); }
.pf-form { margin-top: 16px; display: flex; flex-direction: column; gap: 13px; }
.pf-field { display: flex; flex-direction: column; gap: 5px; }
.pf-field > span { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.pf-field > span > i { color: var(--accent); font-style: normal; margin-left: 3px; }
.pf-field input, .pf-field select, .pf-field textarea { font-family: var(--cn); font-size: 13px; padding: 9px 11px; border: 1.5px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); outline: none; width: 100%; box-sizing: border-box; }
.pf-field input:focus, .pf-field select:focus, .pf-field textarea:focus { border-color: var(--ink); }
.pf-field textarea { resize: vertical; }
.pf-msg { font-size: 12.5px; font-weight: 700; padding: 9px 12px; border-radius: 8px; }
.pf-msg.err { background: #fdecec; color: var(--accent); }
.pf-foot { margin-top: 4px; }
.pf-submit { width: 100%; appearance: none; border: 0; cursor: pointer; background: var(--accent); color: #fff; font-family: var(--cn); font-weight: 800; font-size: 14.5px; padding: 13px; border-radius: 11px; }
.pf-submit:hover { filter: brightness(1.08); }
.pf-submit:disabled { opacity: .6; cursor: default; }
.pf-done { text-align: center; padding: 32px 10px; }
.pf-done b { font-size: 18px; font-weight: 900; color: #0f8a3c; }
.pf-done p { margin-top: 8px; font-size: 13px; color: var(--g1); }
.pack-modal-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; }
.pack-zipall { display: inline-flex; align-items: center; gap: 7px; padding: 11px 20px; border-radius: 11px; background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 800; }
.pack-zipall svg { width: 15px; height: 15px; }
.pack-zipall:hover { filter: brightness(1.08); }

/* ==========================================================================
   分享弹窗（生成带验证码 + 有效期的访问链接）
   ========================================================================== */
.share-overlay { position: fixed; inset: 0; z-index: 10002; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(10,12,14,.55); backdrop-filter: blur(2px); opacity: 0; transition: opacity .2s; }
.share-overlay.on { opacity: 1; }
.share-dialog { position: relative; width: min(440px, 94vw); background: #fff; color: var(--ink); border-radius: 18px; padding: 28px 26px 24px; box-shadow: 0 50px 110px -30px rgba(0,0,0,.55); font-family: var(--cn); transform: translateY(12px) scale(.98); transition: transform .25s cubic-bezier(.22,.75,.2,1); }
.share-overlay.on .share-dialog { transform: none; }
.share-x { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border: 0; border-radius: 9px; background: var(--paper-2); cursor: pointer; font-size: 14px; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.share-x:hover { background: var(--ink); color: #fff; }
.share-dialog h3 { font-size: 19px; font-weight: 900; margin: 0; }
.share-dialog > p { font-size: 13px; color: var(--g1); margin: 6px 0 18px; line-height: 1.5; }
.share-explabel { font-size: 12px; font-weight: 800; color: var(--g1); margin-bottom: 9px; }
.share-exp { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.share-exp label { display: flex; align-items: center; gap: 8px; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 11px; cursor: pointer; font-size: 13px; font-weight: 700; transition: border-color .15s, background .15s; }
.share-exp label:has(input:checked) { border-color: var(--ink); background: var(--paper-2); }
.share-exp input { accent-color: var(--accent); }
.share-custom { margin-top: 10px; width: 100%; box-sizing: border-box; font-family: var(--cn); font-size: 13px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; }
.share-gen { width: 100%; margin-top: 16px; border: 0; cursor: pointer; background: var(--accent); color: #fff; font-family: var(--cn); font-weight: 800; font-size: 14.5px; padding: 13px; border-radius: 11px; }
.share-gen:hover { filter: brightness(1.08); }
.share-gen:disabled { opacity: .6; cursor: default; }
.share-result { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.share-row { display: flex; align-items: center; gap: 8px; }
.share-lbl { flex: none; width: 40px; font-size: 12px; font-weight: 800; color: var(--g1); }
.share-row input { flex: 1; min-width: 0; box-sizing: border-box; font-family: var(--cn); font-size: 13px; padding: 9px 11px; border: 1.5px solid var(--line); border-radius: 9px; background: var(--paper-2); color: var(--ink); }
.share-code { letter-spacing: 3px; font-weight: 800; }
.share-copy { flex: none; border: 0; cursor: pointer; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; padding: 9px 14px; border-radius: 9px; white-space: nowrap; }
.share-copy:hover { filter: brightness(1.25); }
.share-exptxt { font-size: 12px; color: var(--g1); font-weight: 700; }
.share-err { color: var(--accent); font-size: 12.5px; font-weight: 700; margin-top: 10px; min-height: 16px; }

/* ===== 03 LOGO 与科技素材：素材卡弹窗 + 使用要点（复用资源包墙） ===== */
.pack-brandmodal { display: flex; gap: 22px; align-items: stretch; }
.pack-brandmodal.pbm-textonly { display: block; }
.pbm-prev { flex: none; width: 220px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 18px; }
.pbm-prev img { max-width: 100%; max-height: 200px; object-fit: contain; }
.pack-brandmodal.pbm-noimg .pbm-prev { background: var(--paper-2); }
.pack-brandmodal.pbm-noimg .pbm-prev img { max-height: 120px; opacity: .9; }
.pbm-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.pbm-info p { font-size: 14px; line-height: 1.7; color: var(--ink-2); margin: 0; }
.pbm-textonly .pbm-info p { font-size: 14.5px; }
.pbm-chans { display: flex; flex-wrap: wrap; gap: 7px; }
.pbm-chans span { font-size: 11.5px; font-weight: 700; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; }
.pbm-soon { align-self: flex-start; font-size: 12px; font-weight: 800; color: var(--ink-3); background: var(--paper-2); border-radius: 8px; padding: 7px 14px; }
.pack-brandmodal .pack-zipall { align-self: flex-start; }

.brand-guide { margin: 4px 0 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.brand-guide-h { font-size: 12px; font-weight: 900; letter-spacing: .18em; color: var(--ink-3); margin-bottom: 14px; }
.brand-guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.bg-item { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 13px 16px; }
.bg-item p { font-size: 12.8px; line-height: 1.65; color: var(--ink-2); margin: 0; }
.bg-item b { display: block; font-size: 13.5px; font-weight: 800; margin-bottom: 5px; }
.bg-item.rule { display: flex; gap: 12px; align-items: flex-start; }
.bg-item.rule .bg-n { flex: none; font-size: 13px; font-weight: 900; color: var(--accent); line-height: 1.4; }
.bg-item.note { border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); background: color-mix(in srgb, var(--accent) 4%, #fff); }
@media (max-width: 700px) { .pack-brandmodal { flex-direction: column; } .pbm-prev { width: 100%; } }

/* 03 规范参考图弹窗（应用矩阵 / 留白示意 / 产品架构）：点图放大 + 下载 */
.pack-refwrap { display: flex; flex-direction: column; gap: 14px; }
.pack-refbtn { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: zoom-in; overflow: hidden; }
.pack-refbtn img { display: block; width: 100%; max-height: 54vh; object-fit: contain; }
/* 放大提示：默认隐藏，悬停时居中浮现，避免常驻遮挡图内容 */
.pack-refzoom { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(0,0,0,.66); color: #fff; font-size: 12.5px; font-weight: 700; padding: 7px 14px; border-radius: 999px; pointer-events: none; opacity: 0; transition: opacity .16s ease; }
.pack-refbtn:hover .pack-refzoom { opacity: 1; }
.pack-refdesc { display: flex; flex-direction: column; gap: 12px; }
.pack-refdesc p { font-size: 13.5px; line-height: 1.75; color: var(--ink-2); margin: 0; }
.pack-refdesc .pack-zipall { align-self: flex-start; }

/* ===== 25 页 LOGO 使用规范：标签页分区（图与描述分开） ===== */
.ltabs { margin-top: 6px; }
.ltabs-bar { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.ltab { appearance: none; border: 0; background: none; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--ink-3); padding: 10px 18px; border-bottom: 2px solid transparent; margin-bottom: -1px; border-radius: 8px 8px 0 0; }
.ltab:hover { color: var(--ink); background: var(--paper-2); }
.ltab.on { color: var(--ink); border-bottom-color: var(--accent); }
/* 所有面板堆叠在同一网格单元：容器高度恒为最高面板，切 tab 不跳动。
   min-height 让 25/26 页内容区高度一致（内容矮的页补足到同一高度） */
.ltabs-body { display: grid; min-height: 46vh; align-content: start; }
.ltab-panel { align-self: start; }
.ltab-panel { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .22s ease; pointer-events: none; }
.ltab-panel.on { visibility: visible; opacity: 1; pointer-events: auto; }

/* LOGO 类型：图（上）+ 描述（下）分块 */
.ltype-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ltype { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.ltype-fig { background: #f2f2f2; display: flex; align-items: center; justify-content: center; padding: 24px; aspect-ratio: 3 / 2; }
.ltype-fig img { max-width: 74%; max-height: 158px; object-fit: contain; }
.ltype-txt { padding: 16px 18px 20px; }
.ltype-txt b { display: block; font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.ltype-txt p { font-size: 13px; line-height: 1.7; color: var(--ink-2); margin: 0; }

/* 参考图 panel：图（左）+ 描述（右）分开 */
.lref { display: flex; gap: 28px; align-items: flex-start; }
.lref-fig { flex: 1 1 58%; min-width: 0; }
.lref-fig img { max-height: 44vh; }
.lref-txt { flex: 1 1 42%; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.lref-txt h4 { font-size: 17px; font-weight: 800; margin: 0; }
.lref-txt > p { font-size: 14px; line-height: 1.8; color: var(--ink-2); margin: 0; }
.lref-dl { align-self: flex-start; }
.lr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lr-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 13px; line-height: 1.65; color: var(--ink-2); }
.lr-list .lr-n { flex: none; font-size: 12.5px; font-weight: 900; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, #fff); border-radius: 6px; padding: 1px 8px; }

/* 素材下载 panel */
.lasset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 16px; }
.lasset { display: flex; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: #fff; }
.lasset-ic { flex: none; width: 84px; height: 84px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); display: flex; align-items: center; justify-content: center; padding: 12px; }
.lasset-ic img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lasset-txt { min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.lasset-txt b { font-size: 15px; font-weight: 800; }
.lasset-txt p { font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.6; }
.lasset-txt .pack-zipall { align-self: flex-start; }
@media (max-width: 760px) { .ltype-grid { grid-template-columns: 1fr; } .lref { flex-direction: column; } .lref-fig, .lref-txt { width: 100%; flex-basis: auto; } }

/* 26 页 标准字体 panel */
.lfont { display: flex; flex-direction: column; gap: 18px; }
.lfont > p { font-size: 14px; line-height: 1.8; color: var(--ink-2); margin: 0; max-width: 840px; }
.lfont-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.lfont-card { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 22px 24px; }
.lfont-lab { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; color: var(--ink-3); margin-bottom: 8px; }
.lfont-name { display: block; font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.lfont-sample { font-size: 22px; color: var(--ink); line-height: 1.5; }
.lfont .pack-zipall { align-self: flex-start; }
@media (max-width: 760px) { .lfont-grid { grid-template-columns: 1fr; } }

/* 26 页 联合 LOGO 锁定示意（代码重绘，替代 PPT 截图）。
   三列网格 占位｜分隔｜LOGO，两行共用列 → 分隔线左右位置一致、固定等高 → 上下对齐 */
.colock-fig { display: flex; }
/* 联合 LOGO 面板：图框贴着文字、收紧间距，避免松散 */
.lref-lock { gap: 40px; align-items: flex-start; }
.lref-lock .lref-fig { flex: 0 1 auto; }
.lref-lock .lref-txt { flex: 1 1 auto; max-width: 480px; }
.colock { flex: 1; max-width: 500px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; row-gap: 12px; column-gap: 22px; padding: 24px 20px; background: #fafafa; border: 1px solid var(--line); border-radius: 14px; }
.colock-ph { justify-self: end; font-size: 13.5px; font-weight: 700; color: var(--ink-3); letter-spacing: .02em; border: 1.5px dashed #cdcdcd; border-radius: 10px; padding: 20px 16px; min-width: 104px; text-align: center; background: #fff; }
.colock-sep { justify-self: center; width: 1px; height: 78px; background: #d6d6d6; }
.colock-gt { justify-self: start; height: 76px; width: auto; object-fit: contain; }
.colock-wordmark { height: 44px; }
.colock-or { grid-column: 1 / -1; text-align: center; font-size: 13px; font-weight: 700; color: var(--ink-3); }

/* 28/29 科技素材：每结构一张卡（分层图封面 + ▶播放），固定卡宽不被拉伸 */
.ltab-panel .pack-items.tech-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 250px)); justify-content: start; gap: 16px; }
.tech-card .pack-prev { background: #0c0c0d; }
.tech-view { display: block; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; }
.tech-view img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tech-zoom { position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.55); border-radius: 8px; pointer-events: none; }
.tech-zoom svg { width: 16px; height: 16px; color: #fff; }
.tech-card .pack-item-foot { align-items: center; }

/* 媒体查看器：标题行 + 下载按钮 */
.pack-viewer-cap { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.pack-vdl { display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; padding: 7px 15px; border-radius: 8px; text-decoration: none; }
.pack-vdl svg { width: 15px; height: 15px; }

/* 28/29 科技素材：更密的网格 + 更扁的封面，让视频/大图两段都收进一屏（不被缩小） */
.tech-pane .pack-items { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.tech-pane .pack-prev { aspect-ratio: 16 / 10; }
.tech-pane .pack-group { margin-top: 12px; }
.tech-pane .pack-ghead { margin-bottom: 8px; }
/* C-KNIT 并入 PERFORMANCE 的说明条 */
.tech-subnote { margin: 14px 0 4px; padding: 9px 12px; background: var(--paper, #f5f6f7); border-left: 3px solid var(--accent, #c8102e); border-radius: 0 8px 8px 0; font-size: 12.5px; line-height: 1.55; color: #444; }
.tech-subnote b { font-weight: 800; color: #161616; }
/* 主图与标题：把要求分成 首图 / 轮播图 / 标题 三组 */
.gtx-demo .p7-grp { margin: 14px 0 2px; font-size: 12px; font-weight: 900; letter-spacing: .06em; color: var(--accent, #c8102e); display: flex; align-items: baseline; gap: 8px; }
.gtx-demo .p7-grp:first-of-type { margin-top: 6px; }
.gtx-demo .p7-grp i { font-style: normal; font-size: 11px; font-weight: 600; color: var(--g1, #888); letter-spacing: 0; }

/* ===== 04 直播支持（重做）===== */
.lf-list2 { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lf-list2 li { position: relative; padding-left: 16px; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.lf-list2 li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.live-lead { font-size: 14px; line-height: 1.75; color: var(--ink-2); margin: 0 0 16px; max-width: 920px; }
.live-subh { font-size: 13px; font-weight: 900; letter-spacing: .04em; color: var(--ink); margin: 22px 0 12px; padding-left: 11px; border-left: 3px solid var(--accent); }

/* before / after 模块 */
.ba-mod { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 16px 18px; margin-bottom: 18px; }
.ba-h { font-size: 14px; font-weight: 800; margin-bottom: 10px; }
.ba-row { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.ba-row p { font-size: 12.8px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.ba-tag { flex: none; font-size: 10.5px; font-weight: 900; letter-spacing: .06em; padding: 2px 8px; border-radius: 5px; margin-top: 1px; }
.ba-tag.before { background: #f1f1f1; color: var(--ink-3); }
.ba-tag.after { background: var(--accent); color: #fff; }

/* 脚本：两栏 + 分段编号列表 */
.live-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.live-scol { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 14px 16px; }
.live-scol-h { font-size: 13.5px; font-weight: 800; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.live-script { list-style: none; counter-reset: ls; margin: 0; padding: 0; }
.live-script li { counter-increment: ls; position: relative; padding: 6px 0 6px 30px; border-bottom: 1px dashed var(--line); }
.live-script li:last-child { border-bottom: 0; }
.live-script li::before { content: counter(ls); position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 6px; background: var(--paper-2); color: var(--accent); font-size: 11px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.live-script b { display: block; font-size: 12.8px; font-weight: 800; }
.live-script span { display: block; font-size: 11.8px; line-height: 1.55; color: var(--ink-3); margin-top: 2px; }
.live-dl { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; }
.live-proptypes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.live-matlinks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.live-link { display: block; text-decoration: none; transition: border-color .15s, transform .15s; }
.live-link:hover { border-color: var(--accent); transform: translateY(-1px); }

/* 表单按钮 */
.live-formbtn { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 800; padding: 11px 20px; border-radius: 10px; cursor: pointer; text-decoration: none; }
.live-formbtn:hover { filter: brightness(.94); }

/* 品牌大使 */
.amb-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.amb-card2 { display: flex; gap: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 16px; }
.amb-photo { flex: none; width: 132px; height: 176px; border-radius: 10px; overflow: hidden; background: var(--paper-2); }
.amb-photo img { width: 100%; height: 100%; object-fit: cover; }
.amb-info { min-width: 0; display: flex; flex-direction: column; }
.amb-info b { font-size: 17px; font-weight: 900; }
.amb-role { font-size: 12px; font-weight: 700; color: var(--accent); margin: 5px 0 9px; }
.amb-info p { font-size: 12.8px; line-height: 1.7; color: var(--ink-2); margin: 0; }

/* 赠品图墙 */
.gift-grid2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gift-card2 { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.gift-img { aspect-ratio: 3/2; background: var(--paper-2); }
.gift-img img { width: 100%; height: 100%; object-fit: cover; }
.gift-card2 b { display: block; font-size: 13.5px; font-weight: 800; text-align: center; padding: 11px 6px; }

/* 活动 rundown 时间线 */
.live-rundown { display: flex; flex-direction: column; gap: 8px; }
.rd-item { display: flex; gap: 14px; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 11px 14px; }
.rd-time { flex: none; width: 64px; font-size: 12px; font-weight: 900; color: var(--accent); display: flex; align-items: center; }
.rd-body b { font-size: 13.5px; font-weight: 800; }
.rd-body p { font-size: 12.5px; line-height: 1.55; color: var(--ink-2); margin: 3px 0 0; }

/* 数据指标 + 案例 */
.live-metrics { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.lm-item { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 13px 10px; text-align: center; }
.lm-item b { display: block; font-size: 13px; font-weight: 800; }
.lm-item span { display: block; font-size: 11px; color: var(--ink-3); margin-top: 4px; }
.live-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lc-card { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 16px 18px; }
.lc-h { font-size: 13.5px; font-weight: 800; margin-bottom: 12px; }
.lc-kpis { display: flex; flex-wrap: wrap; gap: 16px; }
.lc-kpis span { display: flex; flex-direction: column; font-size: 11px; color: var(--ink-3); }
.lc-kpis b { font-size: 18px; font-weight: 900; color: var(--ink); }
.lc-kpis .lc-roi b { color: var(--accent); }
.lc-txt { font-size: 12.8px; line-height: 1.7; color: var(--ink-2); }
@media (max-width: 860px) { .live-2col, .live-matlinks, .amb-grid2, .live-cases { grid-template-columns: 1fr; } .live-proptypes { grid-template-columns: 1fr; } .gift-grid2 { grid-template-columns: repeat(2,1fr); } .live-metrics { grid-template-columns: repeat(3,1fr); } }

/* 直播脚本流程图：服饰 / 鞋品两列，每列竖向时间线式 stepper（编号圆点串在竖线上） */
.sflow-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.sflow-h { font-size: 14px; font-weight: 800; margin-bottom: 16px; }
.sflow-list { position: relative; display: flex; flex-direction: column; gap: 11px; }
.sflow-list::before { content: ""; position: absolute; left: 22px; top: 28px; bottom: 28px; width: 2px; background: var(--line); z-index: 0; }
.sflow-card { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; }
.sflow-ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.sflow-ic svg { width: 25px; height: 25px; }
.sflow-card b { font-size: 14px; font-weight: 700; color: var(--ink); }
.sflow-dl { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; }
.live-dls { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media (max-width: 760px) { .sflow-2col { grid-template-columns: 1fr; } }

/* 直播道具：四格（WWB 测试道具 / 鞋类水箱 / 展示道具 / 道具视频）——统一灰底图框 + 等高，收进一屏 */
.prop4 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
.prop-cell { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 12px 13px 13px; display: flex; flex-direction: column; }
.prop-cell-h { font-size: 13px; font-weight: 800; margin-bottom: 9px; padding-left: 9px; border-left: 3px solid var(--accent); line-height: 1.2; }
.prop-note { font-size: 11px; line-height: 1.5; color: var(--ink-2); margin: 8px 0 0; }
/* 单图英雄框（WWB / 水箱）——固定高度灰底，contain 居中，绝不浮空 */
.prop-fig { display: block; width: 100%; height: 150px; background: #f4f5f6; border: 1px solid var(--line); border-radius: 8px; padding: 0; overflow: hidden; position: relative; }
.prop-fig img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* 展示道具：一行四个等大灰底方框 */
.prop-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.prop-tile { display: flex; flex-direction: column; gap: 5px; }
.prop-tile .pack-refbtn { display: block; width: 100%; aspect-ratio: 1 / 1; background: #f4f5f6; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; padding: 0; position: relative; }
.prop-tile .pack-refbtn img { width: 100%; height: 100%; object-fit: contain; display: block; }
.prop-tile > b { font-size: 11px; font-weight: 700; color: var(--ink); text-align: center; line-height: 1.2; }
/* 道具视频：两个横向缩略图（中段裁切，整洁），foot 紧凑 */
.prop-cell .pack-items { margin-top: 0; gap: 8px; grid-template-columns: 1fr 1fr; }
.prop-cell .pack-prev { aspect-ratio: 16 / 10; background: #f4f5f6; }
.prop-cell .pack-prev img { object-fit: cover; }
.prop-cell .pack-item-foot { padding: 6px 2px 0; }
/* 角标缩到右下小圆点 */
.prop-fig .pack-refzoom, .prop-tile .pack-refzoom { left: auto; top: auto; right: 6px; bottom: 6px; transform: none; padding: 2px 6px; font-size: 11px; }
@media (max-width: 760px) { .prop4 { grid-template-columns: 1fr; } .prop-tiles { grid-template-columns: repeat(2, 1fr); } }
