/* ============================================================================
   喜乐享 PHOTO BOOTH · 官网设计系统
   品牌取自 logo：暖橙 → 琥珀渐变 + 深棕文字 + 奶油底色。
   颜色、圆角、阴影、字阶全部走变量，页面里不写死色值，改一处全站生效。
   ============================================================================ */

:root {
  /* 墨色：正文用深棕而不是纯黑，纯黑在奶油底上会显得脏 */
  --ink: #1f1512;
  --ink-2: #4b3a31;
  --ink-3: #7a665a;
  --muted: #9a8878;

  /* 纸面 */
  --paper: #fffcf7;
  --paper-2: #fff6ea;
  --paper-3: #fdefdc;
  --white: #ffffff;

  /* 品牌
     ⚠ 这三个变量目前是全站一套（暖橙），所有子站共用。
       官网改成软件家族之后，如果哪天要给「美颜修图」单独一个主色，
       正确做法是加作用域而不是直接改这里的值 —— 直接改会把 PHOTO BOOTH
       一起染掉：

         [data-product="beauty"] { --brand: #6f8cff; --brand-deep: …; --brand-soft: …; }

       页面上给 <body data-product="beauty"> 即可，页面里所有用到
       var(--brand) 的地方会自动跟着变，不用逐个改。

       —— 1.1.39 起已按此约定落地，四个子站各有主色（见下方 [data-product] 段）。 */
  --brand: #ef8a2e;
  --brand-deep: #d9701a;
  --brand-soft: #ffe6c8;
  --brand-glow: rgba(239, 138, 46, 0.28);

  /* 辅助色：只用于状态，不做装饰 */
  --ok: #2f9e63;
  --warn: #d99b1a;
  --danger: #d2453c;
  --info: #3a7bd5;

  --line: rgba(31, 21, 18, 0.1);
  --line-strong: rgba(31, 21, 18, 0.16);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;

  --shadow-sm: 0 1px 2px rgba(31, 21, 18, 0.05), 0 2px 8px rgba(31, 21, 18, 0.04);
  --shadow-md: 0 4px 12px rgba(31, 21, 18, 0.06), 0 14px 40px rgba(31, 21, 18, 0.07);
  --shadow-lg: 0 10px 30px rgba(31, 21, 18, 0.08), 0 40px 90px rgba(31, 21, 18, 0.1);
  --shadow-brand: 0 10px 26px rgba(217, 112, 26, 0.24);

  --maxw: 1180px;
  --nav-h: 68px;

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  --font-serif: "Songti SC", "STSong", "Source Han Serif SC", Georgia, serif;
  --font-mono: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;
}

/* ══════════════════════════════════════════════════════════════════════
   各产品的主色（1.1.39）
   ---------------------------------------------------------------------------
   官网现在是四款软件的集合体，每款给一个主色，客户扫一眼就知道自己在看哪一款。

   ⚠ 作用域只在 <body data-product="xxx"> 下生效 —— 页面里所有用 var(--brand)
     的地方（按钮、卡片、图标底色、hover 态、渐变）会自动跟着变，不用逐个改。

   ⚠ 集合体主页（/）不带 data-product，用 :root 的默认暖橙 ——
     它代表「喜乐享」这个家族本身，不是任何单独一款软件。

   ⚠ 绝对不要直接改 :root 里的 --brand —— 那样四款软件会一起被染成同一个颜色。
   ══════════════════════════════════════════════════════════════════════ */
[data-product="photobooth"] {
  --brand: #ef8a2e;
  --brand-deep: #d9701a;
  --brand-soft: #ffe6c8;
  --brand-glow: rgba(239, 138, 46, 0.28);
  --shadow-brand: 0 10px 26px rgba(217, 112, 26, 0.24);
}
/* 共享打印 —— 墨青：打印机的冷色调，和现场出片的暖橙拉开距离 */
[data-product="share-print"] {
  --brand: #1f8f8a;
  --brand-deep: #15736f;
  --brand-soft: #d5f0ee;
  --brand-glow: rgba(31, 143, 138, 0.26);
  --shadow-brand: 0 10px 26px rgba(21, 115, 111, 0.24);
}
/* 美颜修图 —— 玫瑰紫：修图软件的常见气质 */
[data-product="beauty"] {
  --brand: #8a5cd6;
  --brand-deep: #6f42bd;
  --brand-soft: #e9ddfb;
  --brand-glow: rgba(138, 92, 214, 0.26);
  --shadow-brand: 0 10px 26px rgba(111, 66, 189, 0.24);
}
/* 拼图 —— 靛蓝：排版工具的冷静感 */
[data-product="pintu"] {
  --brand: #3a6fd8;
  --brand-deep: #2c56ac;
  --brand-soft: #dbe6fb;
  --brand-glow: rgba(58, 111, 216, 0.26);
  --shadow-brand: 0 10px 26px rgba(44, 86, 172, 0.24);
}

* { box-sizing: border-box; }

/* hidden 属性必须真的隐藏（1.1.25 返工，这是「登录后点进去还是登录界面」的真凶）。
   HTML 的 hidden 靠浏览器默认样式 [hidden]{display:none} 生效，而作者样式一旦给同一个
   元素写了 display（这里 .login-wrap 与 .acct 都是 display:grid），特异性更高就会把
   默认样式盖掉 —— 结果 hidden="true" 形同虚设，登录卡片和账号面板同时渲染、上下叠着。
   客户登录成功后看到的正是压在面板上面的那张登录卡，所以「怎么点都是登录界面」。 */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 暖色环境光：铺在页面顶部，让奶油底不至于一片死白 */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 720px;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(760px 420px at 18% -8%, rgba(255, 186, 110, 0.34), transparent 68%),
    radial-gradient(680px 380px at 88% -14%, rgba(255, 214, 160, 0.3), transparent 66%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
::selection { background: var(--brand-soft); color: var(--ink); }

/* ── 通用容器与节奏 ─────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.section { padding: 108px 0; position: relative; z-index: 1; }
.section--tight { padding: 76px 0; }
.section--paper2 { background: linear-gradient(180deg, var(--paper-2), var(--paper)); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 650; letter-spacing: 0.16em;
  color: var(--brand-deep); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-deep)); }

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.022em; line-height: 1.16; font-weight: 720; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.4vw, 66px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 19px; letter-spacing: -0.012em; }
p { margin: 0; }
/* balance 让标题自己均分两行，不会出现「最后一行只剩两个字」；
   pretty 让正文别把单个词／孤字丢到末行。两个都是渐进增强，老浏览器直接忽略。 */
.lede, .section-head p, .studio-txt p { text-wrap: pretty; }

.lede { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head h2 { margin: 14px 0 16px; }
.section-head p { color: var(--ink-2); font-size: 16px; }

/* ── 按钮 ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 650; letter-spacing: 0.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.18s, background 0.18s, border-color 0.18s, color 0.18s;
}
.btn:active { transform: translateY(1px) scale(0.995); }
.btn--primary { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { box-shadow: 0 14px 34px var(--brand-glow); transform: translateY(-1px); }
.btn--ghost { background: rgba(255, 255, 255, 0.7); border-color: var(--line-strong); color: var(--ink); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: #fff; border-color: rgba(31, 21, 18, 0.26); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2c1e18; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn--lg { height: 54px; padding: 0 30px; font-size: 15.5px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none; }
.btn--block { width: 100%; }

/* ── 顶部导航 ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 252, 247, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(255, 252, 247, 0.94); }
.nav .wrap { display: flex; align-items: center; gap: 30px; }

.brand { display: flex; align-items: center; gap: 11px; font-weight: 750; letter-spacing: -0.02em; font-size: 16.5px; white-space: nowrap; color: var(--ink); }
.brand span { white-space: nowrap; display: flex; flex-direction: column; line-height: 1.12; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 3px 10px var(--brand-glow); }
/* 副行是中文「摄影软件工作室」，不能再套英文那套大字距 —— 中文吃字距会散成四个词 */
.brand small { display: block; font-size: 10.5px; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 26px; margin-left: 8px; }
.nav-links a { font-size: 14px; color: var(--ink-2); font-weight: 550; position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  border-radius: 2px; background: var(--brand-deep); transform: scaleX(0); transform-origin: left;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* 窄屏菜单按钮：桌面端不出现，≤720 才接管导航 */
.nav-burger {
  display: none; width: 38px; height: 38px; border-radius: 11px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.72);
  color: var(--ink); cursor: pointer; place-items: center; padding: 0;
}
.nav-burger svg { width: 19px; height: 19px; }
.nav-burger:hover { background: #fff; }

/* ── 产品下拉（多产品集合体的入口） ─────────────────────────────────
   官网现在是一个软件家族，导航里必须有一处能看见全部产品。
   这个下拉由 site.js 依据 PRODUCTS 渲染，页面里只留空容器。
   ⚠ 下面是 .nav-links a 的覆盖：条目本身是 <a>，会继承导航链接的
     字号/下划线/左右 padding，不覆盖的话菜单里会出现下划线和错位的字。 */
.nav-prod { position: relative; }
.nav-prod-btn {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 14px; font-weight: 550; color: var(--ink-2);
  font-family: inherit; background: transparent; border: 0;
  padding: 4px 0; cursor: pointer;
}
.nav-prod-btn:hover { color: var(--ink); }
.nav-prod-btn .np-caret { width: 13px; height: 13px; opacity: .55; transition: transform .22s; }
.nav-prod.open .nav-prod-btn { color: var(--ink); }
.nav-prod.open .np-caret { transform: rotate(180deg); }

.nav-prod-menu {
  position: absolute; top: calc(100% + 12px); left: -16px;
  min-width: 366px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); z-index: 80;
  display: none;
}
/* 按钮与菜单之间那 12px 的透明感应区。
   没有它，鼠标从「产品」往下移动到菜单的途中会短暂离开 .nav-prod，
   mouseleave 立刻把菜单收起来 —— 客户看到的就是「还没选就自动缩回、点不进去」。
   这块伪元素本身属于菜单，指针经过时仍算停留在 .nav-prod 内。 */
.nav-prod-menu::before {
  content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
/* 展开不做淡入动画：菜单是 display:none → block 切换，
   动画一挂上去就会被「重新布局」反复从头播放（截图、切换窗口大小都会触发），
   表现成菜单半透明、正文透出来。菜单要的是「立刻能点」，不是过渡效果。 */
.nav-prod.open .nav-prod-menu { display: block; }

.nav-links .np-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 11px;
  font-size: inherit; font-weight: inherit; color: inherit; text-decoration: none;
}
.nav-links .np-item::after { display: none; }   /* 导航链接的下划线对菜单项不适用 */
.nav-links .np-item:hover { background: var(--paper-2); color: inherit; }
.np-ico {
  width: 34px; height: 34px; flex: none; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-deep);
}
.np-ico svg { width: 18px; height: 18px; }
.np-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.np-txt b { font-size: 13.5px; font-weight: 680; color: var(--ink); }
.np-txt i { font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.np-flag {
  flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: .02em;
  padding: 3px 8px; border-radius: 999px;
  background: var(--paper-2); color: var(--ink-3); border: 1px solid var(--line);
}
.np-flag--online { background: rgba(47, 158, 99, .1); border-color: rgba(47, 158, 99, .24); color: #1f7a4b; }
/* beta = 可用但仍在迭代（1.1.39 三个新软件落位后启用） */
.np-flag--beta { background: var(--brand-soft); border-color: rgba(0, 0, 0, .08); color: var(--brand-deep); }
.nav-links .np-item.is-current { background: var(--paper-2); }
.nav-links .np-item.is-current .np-txt b { color: var(--brand-deep); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero { padding: 74px 0 96px; position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero h1 { margin: 18px 0 22px; }
/* 标题里的强调：一条压在字底下的手绘感横线。
   原来是一块 12px 高的色块，位置正好落在基线附近，两行标题时会压到下一行字上；
   现在改成贴在基线下方的粗横线，只作「下划强调」，不跨行、不挡字。
   ⚠ 强调词要放在 <br> 之后的**最后一行**，否则横线还是会贴着下一行。 */
.hero h1 em { font-style: normal; position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: .02em; right: .02em; bottom: -.1em; height: .1em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), #f8c07a);
  opacity: .9;
}
.hero .lede { max-width: 520px; }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 18px; margin-top: 26px; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 14px; height: 14px; opacity: 0.7; }

/* 右视觉：一张会“浮起来”的照片条 */
.hero-art { position: relative; height: 592px; }
.strip {
  /* 真实照片条就是细长的：4 格竖排、宽约 130。做成大方块会撑破 Hero。 */
  position: absolute; top: 42%; left: 22%; transform: translate(-50%, -50%) rotate(-5deg);
  width: 132px; padding: 10px 10px 30px; border-radius: 11px;
  background: #fffdfa;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(31, 21, 18, 0.06);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.strip:hover { transform: translate(-50%, -51%) rotate(-2.5deg); }
.strip .frame { border-radius: 5px; overflow: hidden; margin-bottom: 7px; background: var(--paper-3); aspect-ratio: 1 / 1; }
.strip .frame img { width: 100%; height: 100%; object-fit: cover; }
.strip .frame:last-of-type { margin-bottom: 0; }
.strip .caption {
  position: absolute; left: 0; right: 0; bottom: 10px; text-align: center;
  font-family: var(--font-serif); font-size: 9px; letter-spacing: 0.24em; color: var(--muted);
}

.hero-chip {
  position: absolute; display: flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line);
  border-radius: 14px; padding: 11px 15px; box-shadow: var(--shadow-md);
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  backdrop-filter: blur(10px);
  animation: floaty 6s ease-in-out infinite;
}
.hero-chip b { font-size: 15px; color: var(--ink); font-weight: 750; }
.hero-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(47, 158, 99, 0.14); }
.hero-chip--a { top: 10px; right: 0; animation-delay: -1.2s; }
.hero-chip--b { bottom: 2px; left: 0; animation-delay: -3.4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ── Hero 里的取景面板（不是截图，是产品概念的示意） ───────────── */
.hero-panel {
  position: absolute; right: -4px; bottom: 4px; width: 272px;
  background: rgba(255, 255, 255, 0.97); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden;
  backdrop-filter: blur(10px);
}
.hp-bar {
  display: flex; align-items: center; gap: 6px; padding: 11px 14px;
  border-bottom: 1px solid var(--line); background: rgba(255, 246, 234, 0.7);
}
.hp-bar i { width: 8px; height: 8px; border-radius: 50%; background: #e6d8c9; display: block; }
.hp-bar i:first-child { background: #f0a25c; }
.hp-bar span { margin-left: 8px; font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.hp-stage { position: relative; padding: 14px; }
.hp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hp-slot { aspect-ratio: 1/1; border-radius: 9px; background: var(--paper-3); border: 1.5px dashed rgba(31, 21, 18, 0.13); }
.hp-slot.on {
  border: 0;
  background: linear-gradient(150deg, #ffe3c2, #f2a967);
  box-shadow: inset 0 0 0 1px rgba(31, 21, 18, 0.06);
}
.hp-slot.on:nth-child(2) { background: linear-gradient(150deg, #ffe9d2, #eda05e); }
.hp-slot.on:nth-child(3) { background: linear-gradient(150deg, #fff0dd, #f5b877); }
.hp-count { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.hp-count svg { width: 74px; height: 74px; transform: rotate(-90deg); }
.hp-count .ring-bg { fill: rgba(255, 255, 255, 0.86); stroke: rgba(31, 21, 18, 0.08); stroke-width: 3; }
.hp-count .ring-fg {
  fill: none; stroke: var(--brand-deep); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 113; stroke-dashoffset: 38;
  animation: countdown 3s linear infinite;
}
@keyframes countdown { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 113; } }
.hp-count b {
  position: absolute; font-size: 26px; font-weight: 760; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.hp-foot { display: flex; gap: 8px; padding: 0 14px 14px; }
.hp-btn {
  flex: 1; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff;
  font-size: 12.5px; font-weight: 650;
}
.hp-btn.ghost { background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line); }

/* ── 数字条 ──────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 26px 24px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font-size: 27px; font-weight: 750; letter-spacing: -0.03em; }
.stats span { font-size: 12.5px; color: var(--ink-3); }

/* ── 功能 Bento ──────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card {
  grid-column: span 4;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 26px 24px; position: relative; overflow: hidden;
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.24s, border-color 0.24s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(239, 138, 46, 0.34); }
.card--wide { grid-column: span 6; }
.card--half { grid-column: span 6; }
.card--full { grid-column: span 12; }
.card h3 { margin: 16px 0 8px; }
.card p { font-size: 13.8px; color: var(--ink-2); line-height: 1.72; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.card .tags i {
  font-style: normal; font-size: 11.5px; padding: 3px 9px; border-radius: 999px;
  background: var(--paper-2); color: var(--ink-3); border: 1px solid var(--line);
}
.ico {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(140deg, #fff3e2, #ffe2c0); border: 1px solid rgba(239, 138, 46, 0.24);
}
.ico svg { width: 22px; height: 22px; stroke: var(--brand-deep); stroke-width: 1.55; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* 功能卡里的迷你示意 */
.demo-strip { display: flex; gap: 7px; margin-top: 18px; }
.demo-strip div { flex: 1; aspect-ratio: 1/1; border-radius: 8px; background: linear-gradient(150deg, #ffe3c2, #ffd0a0); }
.demo-strip div:nth-child(2) { background: linear-gradient(150deg, #ffd9c0, #ffc39b); }
.demo-strip div:nth-child(3) { background: linear-gradient(150deg, #ffe7cf, #ffcf9e); }
.demo-strip div:nth-child(4) { background: linear-gradient(150deg, #ffe0c8, #ffbf95); }

/* 相机来源卡片里的设备列表小样。
   这张卡原来只有文字和标签，和右边带四张缩略图的卡并排时，
   底下会空出一大块 —— 加一块同高度的示意，两列才对得齐。 */
.demo-cam { display: grid; gap: 8px; margin-top: 18px; }
.dc-row {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; border-radius: 9px;
  background: var(--paper-2); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-3); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.dc-row i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.dc-row.on {
  background: var(--white); border-color: rgba(239, 138, 46, 0.34); color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.dc-row.on i { background: var(--brand); box-shadow: 0 0 0 3px rgba(239, 138, 46, 0.16); }

/* 视频卡片里的迷你播放器：一张深色片子 + 进度条，比纯文字更能说明「这是一段视频」 */
.demo-clip {
  position: relative; margin-top: 18px; height: 76px; border-radius: 10px; overflow: hidden;
  background: linear-gradient(135deg, #2a1a12, #4a2c1a); display: grid; place-items: center;
}
.demo-clip::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(130px 66px at 28% 34%, rgba(255, 176, 96, 0.4), transparent 72%);
}
.demo-clip .play {
  width: 0; height: 0; position: relative; z-index: 1;
  border-left: 15px solid #fff; border-top: 9.5px solid transparent; border-bottom: 9.5px solid transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}
.demo-clip .ln { position: absolute; left: 12px; right: 48px; bottom: 12px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.24); }
.demo-clip .ln::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 34%; border-radius: 2px; background: var(--brand); }
.demo-clip em {
  position: absolute; right: 12px; bottom: 5px; font-style: normal;
  font-family: var(--font-mono); font-size: 10.5px; color: rgba(255, 255, 255, 0.68);
}

/* 花絮卡片里的五连帧：比四宫格更密，暗示「一直在录」 */
.demo-bts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 18px; }
.demo-bts div {
  aspect-ratio: 1 / 1; border-radius: 7px; overflow: hidden; position: relative;
  background: linear-gradient(150deg, #ffe3c2, #f6b26b);
}
.demo-bts div:nth-child(odd) { background: linear-gradient(150deg, #ffdfc4, #efa25f); }
.demo-bts div::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: rgba(31, 21, 18, 0.13); }

/* ── 工作流 ──────────────────────────────────────────────────────
   出片流程与上面「重点功能」共用同一套卡片语言：白底、细边、大圆角、
   悬停抬起。之前这里是裸文字加一条虚线，缩到平板尺寸就散成一堆行，
   与页面其它板块不是同一个东西。 */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px 22px 24px; position: relative; overflow: hidden;
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.24s, border-color 0.24s;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(239, 138, 46, 0.34); }
.step-top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.step-n {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--brand-deep); background: var(--brand-soft); border-radius: 8px; padding: 3px 9px;
}
.step-bar { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(239, 138, 46, 0.34), transparent); }
.step-ico {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(140deg, #fff3e2, #ffe2c0); border: 1px solid rgba(239, 138, 46, 0.24);
}
.step-ico svg { width: 22px; height: 22px; stroke: var(--brand-deep); stroke-width: 1.55; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-size: 17px; margin: 15px 0 8px; }
.step p { font-size: 13.5px; color: var(--ink-2); line-height: 1.72; }

/* ── 价格 ────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px 26px; display: flex; flex-direction: column; position: relative;
  transition: transform 0.24s, box-shadow 0.24s, border-color 0.24s;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan.is-featured { border-color: rgba(239, 138, 46, 0.55); box-shadow: 0 0 0 3px rgba(239, 138, 46, 0.1), var(--shadow-md); }
.plan .badge {
  position: absolute; top: -11px; left: 24px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em;
  background: linear-gradient(135deg, #f79a3c, var(--brand-deep)); color: #fff;
  padding: 3px 11px; border-radius: 999px; box-shadow: 0 4px 12px rgba(217, 112, 26, 0.3);
}
.plan .pname { font-size: 15px; font-weight: 700; }
.plan .ptag { font-size: 12.5px; color: var(--ink-3); min-height: 22px; margin-top: 2px; }
.plan .price { margin: 16px 0 4px; display: flex; align-items: baseline; gap: 4px; }
.plan .price b { font-size: 38px; font-weight: 760; letter-spacing: -0.04em; }
.plan .price i { font-style: normal; font-size: 15px; font-weight: 650; }
.plan .price span { font-size: 12.5px; color: var(--muted); }
.plan .equiv { font-size: 12px; color: var(--ink-3); margin-bottom: 16px; min-height: 18px; }
/* 赠送积分：套餐卡上唯一一项「直接给钱」的差异，放在价格折合下面单独一行 */
.plan .gift-line {
  margin: -6px 0 14px; font-size: 13px; font-weight: 750; color: var(--brand-deep);
  background: var(--brand-soft); border-radius: 8px; padding: 6px 10px;
}
.plan .gift-line span { font-weight: 500; font-size: 11.5px; color: var(--ink-3); }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.plan li { display: flex; gap: 8px; font-size: 13.2px; color: var(--ink-2); padding: 5px 0; line-height: 1.55; }
.plan li svg { width: 15px; height: 15px; flex: none; margin-top: 3px; stroke: var(--ok); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.plan li.off { color: var(--muted); }
.plan li.off svg { stroke: var(--muted); opacity: 0.6; }

.matrix { margin-top: 40px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.matrix table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.matrix th, .matrix td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.matrix thead th { background: var(--paper-2); font-size: 12.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.matrix tbody tr:last-child td { border-bottom: 0; }
.matrix td:first-child { font-weight: 600; color: var(--ink); }
.matrix td { color: var(--ink-2); }
.matrix .yes { color: var(--ok); font-weight: 650; }
.matrix .no { color: var(--muted); }
.matrix-wrap { overflow-x: auto; }
.matrix-toggle { margin-top: 14px; }

.note {
  margin-top: 26px; padding: 18px 20px; border-radius: var(--r-md);
  background: var(--paper-2); border: 1px solid var(--line);
  font-size: 12.8px; color: var(--ink-3); line-height: 1.8;
}
.note b { color: var(--ink-2); }

/* ── 下载 ────────────────────────────────────────────────────── */
.dl { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; align-items: start; }
.dl-main {
  background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 44px 44px 40px;
  position: relative; overflow: hidden;
}
.dl-main::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -160px;
  background: radial-gradient(circle, rgba(239, 138, 46, 0.5), transparent 62%);
  pointer-events: none;
}
.dl-main .eyebrow { color: #ffbe7a; }
.dl-main .eyebrow::before { background: linear-gradient(90deg, #ffbe7a, transparent); }
.dl-main h2 { margin: 14px 0 12px; color: #fff; }
.dl-main p { color: rgba(255, 255, 255, 0.66); font-size: 14.5px; max-width: 460px; }
.dl-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; position: relative; z-index: 1; }
.dl-meta { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }
.dl-meta b { color: rgba(255, 255, 255, 0.86); font-weight: 600; }

/* 平台切换：深色卡里的一枚白色胶囊，选中态用白底把「当前平台」点明 */
.plat-switch {
  display: inline-flex; gap: 6px; padding: 5px; margin-top: 24px;
  border-radius: 14px; background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14); position: relative; z-index: 1;
}
.plat {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px;
  border: 0; border-radius: 10px; background: transparent;
  color: rgba(255, 255, 255, 0.72); font-size: 13.5px; font-weight: 620; font-family: inherit;
  cursor: pointer; transition: background 0.18s, color 0.18s;
}
.plat svg { width: 17px; height: 17px; flex: none; }
.plat:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.plat.on { background: #fff; color: var(--ink); }
.plat.on:hover { background: #fff; }
.plat em { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.plat .tag-on { background: rgba(47, 158, 99, 0.14); color: #2b8a56; }
.plat .tag-soon { background: rgba(217, 155, 26, 0.18); color: #8a6410; }
.plat:not(.on) .tag-on { background: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.82); }
.plat:not(.on) .tag-soon { background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.74); }

/* Windows 未发布时的说明块 */
.dl-soon {
  display: flex; flex-direction: column; gap: 4px; max-width: 520px;
  margin-top: 20px; padding: 14px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12.6px; line-height: 1.75; color: rgba(255, 255, 255, 0.68);
  position: relative; z-index: 1;
}
.dl-soon b { color: #ffbe7a; font-size: 13px; font-weight: 700; }
.soon-text { color: var(--warn) !important; }
.ok-text { color: var(--ok) !important; }
.dl-side { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px 30px 26px; }
.dl-side h3 { font-size: 15px; margin-bottom: 14px; }
.req { display: flex; flex-direction: column; gap: 11px; }
.req div { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; padding-bottom: 11px; border-bottom: 1px dashed var(--line); }
.req div:last-child { border-bottom: 0; padding-bottom: 0; }
.req span { color: var(--ink-3); flex: none; }
.req b { font-weight: 600; text-align: right; color: var(--ink-2); }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.qa { border-bottom: 1px solid var(--line); padding: 18px 0; }
.qa summary {
  cursor: pointer; list-style: none; font-weight: 640; font-size: 15px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; font-size: 20px; font-weight: 400; color: var(--brand-deep);
  transition: transform 0.24s; line-height: 1;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { margin-top: 12px; font-size: 13.8px; color: var(--ink-2); line-height: 1.8; }

/* ── 页脚 ────────────────────────────────────────────────────── */
.foot { background: var(--paper-2); border-top: 1px solid var(--line); padding: 62px 0 34px; position: relative; z-index: 1; }
/* 页脚五列：品牌 | 产品 | PHOTO BOOTH 栏目 | 账号 | 条款。
   「产品」回答"有哪些软件"，「PHOTO BOOTH」回答"这一款里有什么"，
   集合体之后这两件事必须分开列，混在一起会让人以为共享打印是 PHOTO BOOTH 的功能。 */
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; }
.foot h4 { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 700; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot a { font-size: 13.5px; color: var(--ink-2); }
.foot a:hover { color: var(--brand-deep); }
.foot-desc { font-size: 13px; color: var(--ink-3); max-width: 320px; margin-top: 14px; line-height: 1.8; }
.foot-bottom {
  margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted);
}

/* ── 通用小组件 ──────────────────────────────────────────────── */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink-2); }
.pill--ok { background: rgba(47, 158, 99, 0.1); border-color: rgba(47, 158, 99, 0.24); color: #1f7a4b; }
.pill--warn { background: rgba(217, 155, 26, 0.12); border-color: rgba(217, 155, 26, 0.28); color: #8a6410; }
.pill--danger { background: rgba(210, 69, 60, 0.1); border-color: rgba(210, 69, 60, 0.24); color: #a8352d; }
.pill--brand { background: var(--brand-soft); border-color: var(--brand-glow); color: var(--brand-deep); }
.mono { font-family: var(--font-mono); font-size: 12px; }
.hide { display: none !important; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }

/* 滚动淡入 */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ── 表单（登录 / 账号中心共用） ───────────────────────────────── */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 620; color: var(--ink-2); margin-bottom: 7px; }
.input {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink);
  font-size: 14.5px; font-family: inherit; outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.input::placeholder { color: #b9a99b; }
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(239, 138, 46, 0.14); }
textarea.input { height: auto; padding: 12px 14px; line-height: 1.65; resize: vertical; }
.check { display: flex; align-items: flex-start; gap: 9px; font-size: 12.8px; color: var(--ink-2); cursor: pointer; line-height: 1.6; }
.check input { margin: 3px 0 0; width: 15px; height: 15px; accent-color: var(--brand-deep); flex: none; cursor: pointer; }
.check a { color: var(--brand-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ── 响应式 ──────────────────────────────────────────────────── */

/* 平板横屏：正文单列，右侧视觉仍有整幅宽度 */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  /* 照片条 4 格竖排的真实高度约 509px（旋转后的包围盒 526），
     容器给 460 会上下各漏 30px 压到文案上，这里按实际高度留足。 */
  .hero-art { height: 560px; max-width: 620px; margin: 0 auto; width: 100%; }
  .strip { top: 50%; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .bento .card, .bento .card--wide, .bento .card--half { grid-column: span 6; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .dl { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* 导航在 900 以下就折叠：五个链接 + 两个按钮在这个宽度已经挤到贴边 */
@media (max-width: 900px) {
  .nav-burger { display: grid; order: 3; flex: none; margin-left: 2px; }
  .nav-right { margin-left: auto; order: 2; gap: 8px; }
  .nav-links {
    display: none; position: absolute; left: 12px; right: 12px; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 9px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    box-shadow: var(--shadow-lg); z-index: 70;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 13px; border-radius: 10px; font-size: 14.5px; }
  .nav-links a:hover { background: var(--paper-2); }
  .nav-links a::after { display: none; }

  /* 窄屏里产品下拉不能还是浮层 —— 浮层会被抽屉裁掉、也会挡住后面的链接。
     改成贴着左边线竖排展开，点一下按钮就铺开。 */
  .nav-prod { width: 100%; }
  .nav-prod-btn {
    width: 100%; justify-content: space-between;
    padding: 11px 13px; border-radius: 10px; font-size: 14.5px;
  }
  .nav-prod-menu {
    position: static; min-width: 0; width: 100%;
    padding: 3px 0 4px; margin: 2px 0 4px 13px;
    background: transparent; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; box-shadow: none;
  }
  .nav-links .np-item { padding: 9px 12px; }
  .np-ico { width: 30px; height: 30px; border-radius: 9px; }
  .np-ico svg { width: 16px; height: 16px; }
}

/* 平板竖屏 / 小笔记本：Hero 右侧改成「照片条 + 取景面板」并排的真实布局。
   原来这里只把照片条放大到 208px —— 四条方图竖排下来将近 850px，
   而容器只有 360px，直接把取景面板和下一节盖住。 */
@media (max-width: 860px) {
  .hero-art {
    height: auto; max-width: 100%; display: flex; align-items: center; justify-content: center;
    gap: 28px; padding: 10px 0 18px;
  }
  .strip {
    position: static; flex: none; width: 118px;
    transform: rotate(-4deg); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.3, 1);
  }
  .strip:hover { transform: rotate(-1.5deg) translateY(-4px); }
  .hero-panel { position: static; flex: none; width: 240px; }
  .hero-chip { display: none; }
  .dl-meta { gap: 12px 18px; font-size: 12px; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .wrap { padding: 0 20px; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(1), .stats > div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .stats > div { padding: 20px 18px; }
  .stats b { font-size: 23px; }
  .stats span { font-size: 11.5px; }

  .plans { grid-template-columns: 1fr; }
  .bento .card, .bento .card--wide, .bento .card--half, .bento .card--full { grid-column: span 12; }
  .flow { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }

  .hero { padding: 44px 0 62px; }
  .hero-meta { gap: 10px 16px; font-size: 12.5px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 100%; }

  .dl-main { padding: 32px 24px 30px; }
  .plat-switch { display: flex; width: 100%; }
  .plat { flex: 1; justify-content: center; padding: 0 10px; }
  .dl-actions .btn { flex: 1 1 100%; }
  .dl-meta span { flex: 1 1 42%; }

  /* 功能对照表横向滚动，别把四列压成一条条竖字 */
  .matrix > table { min-width: 560px; }
}

@media (max-width: 430px) {
  /* 品牌只留 logo：三个按钮 + 完整字标在 390 上放不下，
     压到换行反而更难看（「喜乐享」被拆成三行）。 */
  .brand span { display: none; }
  .hero-art { gap: 15px; }
  .strip { width: 96px; padding: 8px 8px 24px; }
  .hero-panel { width: 202px; }
  .hero-panel .hp-count svg { width: 60px; height: 60px; }
  .hero-panel .hp-count b { font-size: 21px; }
  .hero h1 { font-size: clamp(29px, 9vw, 36px); }
  .plat { gap: 6px; padding: 0 8px; font-size: 13px; }
  .plat em { font-size: 10px; padding: 2px 6px; }
  .foot-bottom { flex-direction: column; gap: 8px; }
}

/* ============================================================================
   账号中心
   ============================================================================ */

/* ── 登录 ────────────────────────────────────────────────────── */
.login-wrap { min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; padding: 48px 24px 80px; position: relative; z-index: 1; }
.login-card {
  width: 100%; max-width: 424px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 38px 36px 32px; box-shadow: var(--shadow-lg);
}
.login-card h1 { font-size: 24px; letter-spacing: -0.02em; }
.login-card .sub { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }
.tabs2 { display: flex; gap: 4px; background: var(--paper-2); border-radius: 12px; padding: 4px; margin: 24px 0 20px; }
.tabs2 button {
  flex: 1; height: 34px; border: 0; border-radius: 9px; background: transparent;
  font-size: 13.5px; font-weight: 620; color: var(--ink-3); cursor: pointer; transition: all 0.18s;
}
.tabs2 button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.code-row { display: flex; gap: 9px; }
.code-row .input { flex: 1; }
.code-row .btn { flex: none; height: 46px; padding: 0 16px; }
.form-err { font-size: 12.8px; color: var(--danger); margin-top: 4px; min-height: 18px; }
.legal-checks { margin: 18px 0 4px; display: flex; flex-direction: column; gap: 10px; }
.login-links { margin-top: 4px; text-align: right; }
.login-links a { font-size: 12.5px; color: var(--brand-deep); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.login-links a:hover { color: var(--ink); }
.login-foot { margin-top: 20px; font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.8; }

/* ── 主体框架 ────────────────────────────────────────────────── */
.acct { display: grid; grid-template-columns: 236px 1fr; gap: 0; min-height: calc(100vh - var(--nav-h)); position: relative; z-index: 1; }
.acct-side {
  border-right: 1px solid var(--line); padding: 26px 16px 26px 24px;
  position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h));
  display: flex; flex-direction: column; overflow-y: auto;
}
.acct-user { display: flex; align-items: center; gap: 11px; padding: 0 8px 20px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.avatar {
  width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, #ffd9ae, #f0a25c); color: #7a3d13;
  font-weight: 750; font-size: 15px;
}
.acct-user .nm { font-size: 14px; font-weight: 680; line-height: 1.3; }
.acct-user .ph { font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); }
.acct-nav { display: flex; flex-direction: column; gap: 2px; }
.acct-nav a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px;
  font-size: 13.5px; color: var(--ink-2); font-weight: 550; transition: background 0.16s, color 0.16s;
}
.acct-nav a svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.75; flex: none; }
.acct-nav a:hover { background: var(--paper-2); color: var(--ink); }
.acct-nav a.on { background: var(--brand-soft); color: var(--brand-deep); font-weight: 680; }
.acct-nav a.on svg { opacity: 1; }
.acct-nav .grp { font-size: 11px; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; padding: 16px 12px 6px; text-transform: uppercase; }
.acct-side-foot { margin-top: auto; padding-top: 18px; }

.acct-main { padding: 34px 40px 80px; min-width: 0; }
.acct-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.acct-head h1 { font-size: 26px; letter-spacing: -0.026em; }
.acct-head p { font-size: 13.5px; color: var(--ink-3); margin-top: 5px; }

/* ── 概览五板块 ──────────────────────────────────────────────── */
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 22px; }
.kpi {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 16px 15px; position: relative; transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.kpi.link { cursor: pointer; }
.kpi.link:hover { border-color: rgba(239, 138, 46, 0.4); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.kpi .k { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 5px; }
.kpi .v { font-size: 25px; font-weight: 750; letter-spacing: -0.03em; margin-top: 6px; line-height: 1.2; }
.kpi .v small { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-left: 2px; }
.kpi .s { font-size: 11.5px; color: var(--muted); margin-top: 3px; }

/* ── 卡片 / 表格 ─────────────────────────────────────────────── */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-bottom: 18px; }
.panel-h { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panel-h h3 { font-size: 14.5px; }
.panel-h .r { display: flex; align-items: center; gap: 10px; }
.panel-b { padding: 20px; }
.panel-b.flush { padding: 0; }

.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font-size: 11.5px; color: var(--muted); font-weight: 650; padding: 10px 16px; background: var(--paper-2); letter-spacing: 0.02em; white-space: nowrap; }
.tbl td { padding: 13px 16px; border-top: 1px solid var(--line); color: var(--ink-2); vertical-align: middle; }
.tbl tbody tr:first-child td { border-top: 0; }
.tbl tbody tr:hover td { background: rgba(255, 246, 234, 0.5); }
.tbl .strong { color: var(--ink); font-weight: 620; }
.tbl-wrap { overflow-x: auto; }

.rows { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 14px; padding: 13px 20px; border-top: 1px solid var(--line); }
.rows .row:first-child { border-top: 0; }
.row .grow { flex: 1; min-width: 0; }
.row .t1 { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.row .t2 { font-size: 12px; color: var(--muted); margin-top: 2px; }

.empty { padding: 46px 20px; text-align: center; color: var(--muted); font-size: 13.5px; }
.empty svg { width: 38px; height: 38px; margin: 0 auto 12px; stroke: var(--line-strong); fill: none; stroke-width: 1.4; display: block; }

/* ── 进度条 ──────────────────────────────────────────────────── */
.bar { height: 6px; border-radius: 3px; background: var(--paper-3); overflow: hidden; margin-top: 9px; }
.bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #f7a447, var(--brand-deep)); transition: width 0.5s; }

/* ── 购买流程 ────────────────────────────────────────────────── */
.buy { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.buy-opt {
  border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 16px 16px 15px;
  cursor: pointer; background: #fff; transition: all 0.18s; position: relative;
}
.buy-opt:hover { border-color: rgba(239, 138, 46, 0.4); }
.buy-opt.on { border-color: var(--brand-deep); box-shadow: 0 0 0 3px rgba(239, 138, 46, 0.12); }
.buy-opt .n { font-size: 13.5px; font-weight: 680; }
.buy-opt .p { font-size: 22px; font-weight: 750; letter-spacing: -0.03em; margin-top: 6px; }
.buy-opt .p i { font-style: normal; font-size: 13px; font-weight: 600; }
.buy-opt .e { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.buy-opt .g { font-size: 11.5px; font-weight: 700; color: var(--brand-deep); margin-top: 5px; }
.buy-sum { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; background: var(--paper-2); border-radius: var(--r-md); margin-top: 16px; flex-wrap: wrap; }
.buy-sum .amt { font-size: 24px; font-weight: 760; letter-spacing: -0.03em; }

/* ── 提示条 / 弹层 ───────────────────────────────────────────── */
.alert {
  display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: 12px;
  font-size: 12.8px; line-height: 1.7; margin-bottom: 16px;
  background: var(--paper-2); border: 1px solid var(--line); color: var(--ink-2);
}
.alert--warn { background: rgba(217, 155, 26, 0.09); border-color: rgba(217, 155, 26, 0.26); color: #7c5a0e; }
.alert--err { background: rgba(210, 69, 60, 0.08); border-color: rgba(210, 69, 60, 0.24); color: #98322a; }
.alert--ok { background: rgba(47, 158, 99, 0.08); border-color: rgba(47, 158, 99, 0.22); color: #1d6b44; }

.toast-host { position: fixed; right: 22px; bottom: 22px; z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.toast {
  background: var(--ink); color: #fff; font-size: 13px; padding: 12px 18px; border-radius: 12px;
  box-shadow: var(--shadow-lg); animation: toastIn 0.26s cubic-bezier(0.2, 0.8, 0.3, 1);
  max-width: 340px; line-height: 1.6;
}
.toast.err { background: #a8352d; }
.toast.ok { background: #1f7a4b; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }

.modal-mask {
  position: fixed; inset: 0; background: rgba(31, 21, 18, 0.42); backdrop-filter: blur(3px);
  z-index: 150; display: grid; place-items: center; padding: 24px;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #fff; border-radius: var(--r-lg); width: 100%; max-width: 460px;
  box-shadow: var(--shadow-lg); overflow: hidden; animation: toastIn 0.24s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.modal-h { padding: 20px 24px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.modal-h h3 { font-size: 16px; }
.modal-b { padding: 16px 24px 4px; }
.modal-f { padding: 14px 24px 22px; display: flex; gap: 10px; justify-content: flex-end; }

.x-btn { border: 0; background: transparent; cursor: pointer; color: var(--muted); font-size: 20px; line-height: 1; padding: 2px 6px; border-radius: 6px; }
.x-btn:hover { background: var(--paper-2); color: var(--ink); }

.spin { width: 18px; height: 18px; border: 2px solid var(--line-strong); border-top-color: var(--brand-deep); border-radius: 50%; animation: spin 0.7s linear infinite; display: inline-block; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-block { display: grid; place-items: center; padding: 60px; }

/* ── 账号中心响应式 ──────────────────────────────────────────── */
@media (max-width: 1080px) {
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .buy { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .acct { grid-template-columns: 1fr; }
  .acct-side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 20px; }
  .acct-user { padding-bottom: 14px; }
  .acct-nav { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .acct-nav .grp { display: none; }
  .acct-nav a { white-space: nowrap; }
  /* 1.1.25：手机上导航是横向滚动条，「我的主页」排在第 6 位会被滚出视野。
     商家用手机打开官网的概率比电脑高，这一项是他最想找的，所以排到第一位。 */
  .acct-nav a[data-p="mysite"] { order: -1; }
  .acct-nav a[data-p="mysite"].on { order: -1; }
  .acct-side-foot { margin-top: 12px; padding-top: 0; }
  .acct-main { padding: 24px 20px 60px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .buy { grid-template-columns: 1fr; }
}

/* ── 条款正文排版 ─────────────────────────────────────────────── */
.doc { font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }
.doc h1 { font-size: 27px; margin: 6px 0 20px; color: var(--ink); letter-spacing: -0.026em; }
.doc h2 {
  font-size: 17px; margin: 34px 0 12px; color: var(--ink); letter-spacing: -0.01em;
  padding-top: 18px; border-top: 1px solid var(--line);
}
.doc h3 { font-size: 15px; margin: 24px 0 10px; color: var(--ink); }
.doc h4 { font-size: 14px; margin: 20px 0 8px; color: var(--ink); }
.doc p { margin: 0 0 14px; }
.doc strong { color: var(--ink); font-weight: 680; }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin-bottom: 7px; }
.doc li::marker { color: var(--brand); }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.doc blockquote {
  margin: 0 0 16px; padding: 12px 18px; border-left: 3px solid var(--brand);
  background: var(--paper-2); border-radius: 0 10px 10px 0; color: var(--ink-2); font-size: 13.8px;
}
.doc code {
  font-family: var(--font-mono); font-size: 12.5px; background: var(--paper-3);
  padding: 1px 6px; border-radius: 5px; color: var(--brand-deep);
}
.doc a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 2px; }

/* 协议里的对照表（隐私政策的数据收集清单、客户须知的两套计费等） */
.doc .md-table { margin: 0 0 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.doc table { width: 100%; border-collapse: collapse; font-size: 13.2px; line-height: 1.7; }
.doc thead th {
  text-align: left; font-weight: 680; color: var(--ink); white-space: nowrap;
  background: var(--paper-2); padding: 9px 12px; border-bottom: 1px solid var(--line);
}
.doc thead th:first-child { border-radius: 10px 0 0 0; }
.doc thead th:last-child { border-radius: 0 10px 0 0; }
.doc tbody td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 860px) {
  #legal-layout { grid-template-columns: 1fr !important; gap: 26px !important; }
  #legal-layout aside { position: static !important; }
  #doc-list { flex-direction: row !important; overflow-x: auto; gap: 6px !important; }
  #doc-list a { white-space: nowrap; }
}

/* ── 条款弹层（站点共用，逻辑在 assets/site.js）───────────────────── */
.legal-mask {
  position: fixed; inset: 0; background: rgba(31, 21, 18, 0.46); backdrop-filter: blur(3px);
  z-index: 160; display: grid; place-items: center; padding: 28px; animation: fadeIn 0.2s;
}
.legal-modal {
  background: var(--white); border-radius: var(--r-lg); width: 100%; max-width: 860px;
  height: min(78vh, 760px); display: flex; flex-direction: column; overflow: hidden;
  box-shadow: var(--shadow-lg); animation: toastIn 0.24s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.legal-modal-h {
  padding: 16px 20px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; border-bottom: 1px solid var(--line); flex: none;
}
.legal-modal-h h3 { font-size: 15.5px; margin: 0; }
.legal-modal-act { display: flex; align-items: center; gap: 14px; }
.legal-ext { font-size: 12.5px; color: var(--brand-deep); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.legal-x {
  border: 0; background: transparent; cursor: pointer; color: var(--muted);
  font-size: 22px; line-height: 1; padding: 0 4px; border-radius: 6px;
}
.legal-x:hover { background: var(--paper-2); color: var(--ink); }
.legal-modal-b { flex: 1 1 auto; min-height: 0; background: var(--paper); }
.legal-modal-b iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 640px) {
  .legal-mask { padding: 12px; }
  .legal-modal { height: min(86vh, 720px); }
  .legal-ext { display: none; }   /* 手机上弹层已占满屏，不需要再给一个开新窗口的入口 */
}

/* ============================================================================
   在线模板页（1.1.16）
   与首页同一套设计语言：奶油纸面、暖橙点缀、圆角卡片。
   唯一刻意不同的是卡片比例 —— 模板是竖向的（2:3 / 3:4），
   所以封面固定 4:5 裁切，纵向拉长一点，看起来像一张待选的照片而不是按钮。
   ============================================================================ */

.tpl-page .nav-links a.is-current { color: var(--ink); font-weight: 600; }
.tpl-page .nav-links a.is-current::after {
  content: ""; display: block; height: 2px; margin-top: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), #ffcf9a);
}

/* ── 页头 ── */
.tpl-hero {
  position: relative; padding: 118px 0 34px;
}
.tpl-hero h1 {
  font-size: clamp(28px, 4vw, 44px); line-height: 1.18; margin: 12px 0 14px;
  letter-spacing: -0.4px; max-width: 18em;
}
.tpl-hero .lede { max-width: 44em; color: var(--ink-2); font-size: 15.5px; }
.tpl-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.tpl-facts span {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.8px; color: var(--ink-3);
}
.tpl-facts svg { width: 14px; height: 14px; color: var(--ok); flex: none; }

/* ── 工具栏 ── */
.tpl-section { padding-top: 4px; }
.tpl-toolbar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 20px;
}
.tpl-cats { display: flex; gap: 8px; flex-wrap: wrap; flex: 1 1 auto; }
.tpl-cat {
  border: 1px solid var(--line-strong); background: var(--white); color: var(--ink-2);
  font: inherit; font-size: 13px; padding: 6px 13px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; transition: all .16s ease;
}
.tpl-cat i {
  font-style: normal; font-size: 11px; color: var(--muted);
  background: var(--paper-3); border-radius: 999px; padding: 0 6px;
}
.tpl-cat:hover { border-color: var(--brand); color: var(--brand-deep); }
.tpl-cat.on {
  background: var(--ink); border-color: var(--ink); color: #fff;
}
.tpl-cat.on i { background: rgba(255,255,255,.18); color: #fff; }

.tpl-search {
  position: relative; flex: 0 0 auto; min-width: 220px;
}
.tpl-search svg {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; color: var(--muted); pointer-events: none;
}
.tpl-search input {
  width: 100%; font: inherit; font-size: 13.5px; color: var(--ink);
  padding: 8px 12px 8px 32px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--white);
  outline: none; transition: border-color .16s ease, box-shadow .16s ease;
}
.tpl-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow); }

/* ── 网格 ── */
.tpl-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
}
.tpl-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; cursor: pointer; text-align: left; padding: 0;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex; flex-direction: column;
}
.tpl-card:hover {
  transform: translateY(-3px); border-color: rgba(239,138,46,.45); box-shadow: var(--shadow-md);
}
.tpl-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.tpl-cover {
  position: relative; aspect-ratio: 4 / 5; background: var(--paper-2); overflow: hidden;
}
.tpl-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpl-ph {
  width: 100%; height: 100%; display: grid; place-items: center;
}
.tpl-ph b {
  font-family: var(--font-serif); font-size: 34px; color: rgba(255,255,255,.9);
  letter-spacing: 2px; text-shadow: 0 2px 12px rgba(120,60,10,.25);
}
.tpl-badge {
  position: absolute; left: 9px; top: 9px;
  font-size: 11px; font-weight: 600; letter-spacing: .2px;
  color: #fff; background: rgba(31,21,18,.62); backdrop-filter: blur(6px);
  padding: 3px 9px; border-radius: 999px;
}
.tpl-badge--single { background: rgba(31,21,18,.4); font-weight: 500; }
.tpl-body { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 5px; }
.tpl-body h3 {
  font-size: 14.5px; margin: 0; line-height: 1.45; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tpl-meta {
  margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 11.5px; color: var(--muted);
}
.tpl-cat-pill {
  color: var(--brand-deep); background: var(--brand-soft);
  padding: 1px 8px; border-radius: 999px; font-size: 11px;
}
.tpl-thumbs { display: flex; gap: 5px; margin-top: 3px; }
.tpl-thumbs img {
  width: 34px; height: 34px; border-radius: 6px; object-fit: cover;
  border: 1px solid var(--line); background: var(--paper-2);
}

/* ── 状态与分页 ── */
.tpl-state {
  grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; padding: 64px 20px; text-align: center;
  color: var(--muted); font-size: 13.5px;
  border: 1px dashed var(--line-strong); border-radius: var(--r-md); background: var(--white);
}
.tpl-state b { color: var(--ink-2); font-size: 14.5px; }
.tpl-state .btn { margin-top: 6px; }
.tpl-state--err { color: var(--danger); }
.tpl-state .spin, .tpl-state .spin::after { color: var(--brand); }
.spin {
  width: 16px; height: 16px; border-radius: 50%; display: inline-block;
  border: 2px solid var(--line-strong); border-top-color: var(--brand);
  animation: tplspin .7s linear infinite; vertical-align: -2px; margin-right: 6px;
}
@keyframes tplspin { to { transform: rotate(360deg); } }
.tpl-more { display: flex; justify-content: center; margin-top: 24px; }
.tpl-count { font-size: 12.5px; color: var(--muted); }
.tpl-legal {
  margin: 26px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.85;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.tpl-legal a { color: var(--brand-deep); }

/* ── 详情弹层 ── */
.tpl-mask {
  position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center;
  padding: 28px; background: rgba(31,21,18,.46); backdrop-filter: blur(3px);
}
.tpl-mask[hidden] { display: none; }
.tpl-modal {
  width: min(980px, 100%); max-height: min(88vh, 860px); background: var(--paper);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
}
.tpl-modal-h {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 16px 20px; border-bottom: 1px solid var(--line); flex: none;
}
.tpl-modal-h h3 { margin: 0; font-size: 17px; line-height: 1.4; }
.tpl-modal-h p { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); }
.tpl-modal-act { display: flex; align-items: center; gap: 8px; flex: none; }
.tpl-modal-act .btn svg { width: 14px; height: 14px; }
.tpl-x {
  border: 0; background: transparent; cursor: pointer; color: var(--muted);
  font-size: 24px; line-height: 1; padding: 0 4px; border-radius: 6px;
}
.tpl-x:hover { background: var(--paper-2); color: var(--ink); }
.tpl-modal-b { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 18px 20px 24px; }

.tpl-detail { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; }
.tpl-stage {
  border-radius: var(--r-md); overflow: hidden; background: var(--paper-2);
  border: 1px solid var(--line); aspect-ratio: 4 / 5; display: grid; place-items: center;
}
.tpl-stage img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.tpl-stage--ph b { font-family: var(--font-serif); font-size: 40px; color: rgba(255,255,255,.9); }
.tpl-strip { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.tpl-thumb {
  flex: 0 0 auto; width: 54px; height: 54px; padding: 0; border-radius: 8px; overflow: hidden;
  border: 2px solid transparent; background: var(--paper-2); cursor: pointer;
}
.tpl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpl-thumb.on { border-color: var(--brand); }

.tpl-info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tpl-summary { margin: 0; font-size: 13.8px; color: var(--ink-2); line-height: 1.8; }
.tpl-details { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.tpl-details div {
  display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px;
  font-size: 12.8px; border-bottom: 1px solid var(--line);
}
.tpl-details div:last-child { border-bottom: 0; }
.tpl-details span { color: var(--muted); flex: none; }
.tpl-details b { color: var(--ink-2); font-weight: 600; text-align: right; }
.tpl-tip {
  font-size: 12.8px; color: var(--ink-2); background: var(--paper-3);
  border-radius: var(--r-sm); padding: 10px 12px; line-height: 1.75;
}
.tpl-link {
  border: 0; background: none; padding: 0; font: inherit; cursor: pointer;
  color: var(--brand-deep); text-decoration: underline; text-underline-offset: 2px;
}
.tpl-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.tpl-fine { margin: 0; font-size: 11.8px; color: var(--muted); line-height: 1.75; }

.tpl-block { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.tpl-block h4 { margin: 0 0 12px; font-size: 14px; }
.tpl-members {
  display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}
.tpl-member { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tpl-member-cover {
  aspect-ratio: 4 / 5; border-radius: var(--r-sm); overflow: hidden;
  background: var(--paper-2); border: 1px solid var(--line);
}
.tpl-member-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpl-member span {
  font-size: 12px; color: var(--ink-2); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ── 轻提示 ── */
.toast-host {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 14px);
  z-index: 120; pointer-events: none; opacity: 0; transition: all .22s ease;
  background: var(--ink); color: #fff; font-size: 13px; padding: 9px 18px; border-radius: 999px;
  box-shadow: var(--shadow-md); max-width: min(86vw, 520px); text-align: center;
}
.toast-host.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 860px) {
  .tpl-detail { grid-template-columns: 1fr; }
  .tpl-modal { max-height: 92vh; }
}
@media (max-width: 640px) {
  .tpl-hero { padding: 96px 0 24px; }
  .tpl-toolbar { gap: 10px; }
  .tpl-search { min-width: 100%; }
  .tpl-grid { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
  .tpl-body { padding: 10px 11px 12px; }
  .tpl-thumbs { display: none; }
  .tpl-mask { padding: 10px; }
  .tpl-modal-b { padding: 14px; }
}

/* ── 详情页「效果预览」（1.1.17） ─────────────────────────────────────
   预览图按大图铺开，就是电商详情页那种「往下拉看效果」。
   官网是浅色纸面，所以用 --white 卡面 + --line 边框，不用深色块。 */
.tpl-shots { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.tpl-shots figure {
  margin: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
}
.tpl-shots img { display: block; width: 100%; height: auto; }
.tpl-shots figcaption {
  padding: 9px 12px; font-size: 12.4px; color: var(--muted); line-height: 1.65;
  border-top: 1px solid var(--line);
}
@media (max-width: 640px) { .tpl-shots { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   1.1.25 · 商家「我的主页」编辑页（账号中心内页）
   与全站同一套浅色纸面：--white 卡面 + --line 边框。
   这一页是给商家用的工具，视觉上要比官网营销页更「安静」——
   主角是作品图，不是我们的品牌色。
   ═══════════════════════════════════════════════════════════════ */
.nav-badge {
  display: inline-grid; place-items: center;
  min-width: 16px; height: 16px; padding: 0 4px; margin-left: 6px;
  border-radius: 999px; background: var(--brand); color: #fff;
  font-size: 10.5px; font-weight: 700; line-height: 1; vertical-align: 1px;
}
.nav-badge[hidden] { display: none; }

.ms-share { display: flex; gap: 8px; align-items: center; }
.ms-share .input { flex: 1; min-width: 0; font-size: 12.5px; color: var(--ink-3); }

/* 二维码区：左边是码，右边是「这是干什么用的」。
   客户第一次见到这块需要知道该拿它做什么，否则只是一张不知道干嘛的图。 */
.ms-qrbox {
  display: flex; gap: 16px; align-items: center;
  margin-top: 12px; padding: 14px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px;
}
.ms-qrcode { flex: 0 0 auto; line-height: 0; background: #fff; padding: 6px; border-radius: 10px; }
.ms-qrcode canvas { display: block; width: 148px; height: 148px; }
.ms-qrside { min-width: 0; }
.ms-qrh { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.ms-qrt { font-size: 12px; line-height: 1.75; color: var(--ink-3); margin-bottom: 9px; }
.ms-qrerr { font-size: 12px; color: var(--brand-deep); padding: 20px 8px; }
@media (max-width: 520px) {
  .ms-qrbox { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ms-qrcode canvas { width: 132px; height: 132px; }
}
.ms-slugrow { display: flex; align-items: center; gap: 0; }
.ms-prefix {
  font-size: 13px; color: var(--muted); background: var(--paper-2);
  border: 1px solid var(--line); border-right: none; border-radius: 10px 0 0 10px;
  padding: 9px 8px 9px 11px; line-height: 1.4;
}
.ms-slugrow .input { border-radius: 0 10px 10px 0; }

.ms-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .ms-two { grid-template-columns: 1fr; } }

.ms-pick {
  height: 96px; border-radius: 12px; border: 1px dashed var(--line);
  background: var(--paper-2) center/cover no-repeat;
  display: grid; place-items: center; cursor: pointer;
  font-size: 12px; color: var(--muted); overflow: hidden;
  transition: border-color .15s, color .15s;
}
.ms-pick:hover { border-color: var(--brand); color: var(--brand-deep); }
.ms-pick--sq { height: 96px; width: 96px; border-radius: 50%; }

.ms-grid { display: grid; gap: 10px; }
.ms-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--white);
}
.ms-thumb {
  width: 92px; height: 70px; flex: none; border-radius: 8px;
  background: var(--paper-3) center/cover no-repeat;
  display: grid; place-items: center; font-size: 11px; color: var(--muted);
}
.ms-ops { display: flex; flex-direction: column; gap: 6px; }
.ms-pkg {
  border: 1px solid var(--line); border-radius: 12px; background: var(--white);
  padding: 12px; margin-bottom: 10px;
}
.ms-pkg .field { margin-bottom: 8px; }
.ms-chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 30px; align-items: center; }
.ms-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-soft); color: var(--brand-deep);
  border-radius: 999px; padding: 4px 6px 4px 11px; font-size: 12.5px; font-weight: 600;
}
.ms-chip i {
  font-style: normal; cursor: pointer; width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(217,112,26,.16); font-size: 12px; line-height: 1;
}
.ms-chip i:hover { background: var(--brand); color: #fff; }
/* 未授权：不改成危险红，只是把「这枚可能交付不了」说清楚 */
.ms-chip--warn { background: var(--paper-2); color: var(--muted); }
.ms-chip--warn em {
  font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 6px;
  border-radius: 999px; background: rgba(217,112,26,.14); color: var(--brand-deep);
}
.ms-empty {
  padding: 16px; text-align: center; font-size: 12.5px; color: var(--muted);
  border: 1px dashed var(--line); border-radius: 10px; background: var(--paper-2);
}
.input--sm { padding: 7px 10px; font-size: 13px; }
/* 必填星号。注意别叫 .req —— 那个类名在 471 行已经被「需求清单」占用了，
   撞名会把星号渲染成一条独占整行的 flex 块。 */
.reqmark { color: var(--danger); font-style: normal; margin-left: 2px; display: inline; }

/* ═══════════════════ 我的主页编辑器（1.1.27 重构） ═══════════════════
   思路：状态带 → 完成度 → 双栏（主编辑 / 侧预览+留资）→ 底部固定保存条。
   全部沿用站点既有的纸面配色，不自带一套颜色，免得账号中心里出现「另一个产品」。 */

/* ── 顶部状态带 ── */
.ms-top {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 12px 14px; margin-bottom: 14px; box-shadow: var(--shadow-sm);
}
.ms-top-l { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.ms-state {
  font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; flex: none;
}
.ms-state.on { background: rgba(47, 158, 99, 0.12); color: var(--ok); }
.ms-state.off { background: var(--paper-3); color: var(--brand-deep); }
.ms-addr {
  font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ms-top-r { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ms-switch {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600;
  color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 11px; cursor: pointer;
}
.ms-switch input { accent-color: var(--brand-deep); margin: 0; }

/* ── 完成度仪表 ── */
.ms-dash {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 15px 16px 13px; margin-bottom: 14px; box-shadow: var(--shadow-sm);
}
.ms-dash-head { display: flex; align-items: flex-start; gap: 12px; }
.ms-dash-t { font-size: 14px; font-weight: 700; color: var(--ink); }
.ms-dash-s { font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.6; }
.ms-dash-pct {
  margin-left: auto; font-size: 24px; font-weight: 800; color: var(--brand-deep);
  line-height: 1; font-variant-numeric: tabular-nums;
}
.ms-dash-pct small { font-size: 12px; font-weight: 700; margin-left: 1px; }
.ms-bar { height: 6px; border-radius: 999px; background: var(--paper-3); overflow: hidden; margin: 11px 0 12px; }
.ms-bar i { display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #f7b061, var(--brand-deep)); transition: width .35s ease; }
.ms-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.ms-fact {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; background: var(--paper);
}
.ms-fact b { font-weight: 600; color: var(--ink-2); }
.ms-fact em { font-style: normal; color: var(--muted); font-size: 11.5px; }
.ms-fact .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.ms-fact.ok .dot { background: var(--ok); }
.ms-fact.warn { background: #fffaf2; border-color: rgba(217, 112, 26, 0.28); }
.ms-fact.warn .dot { background: var(--brand); }
.ms-dash-tip { font-size: 12px; color: var(--ink-3); margin-top: 11px; line-height: 1.7; }
.ms-dash-tip b { color: var(--brand-deep); }

/* ── 双栏 ── */
.ms-cols { display: grid; grid-template-columns: minmax(0, 1fr) 306px; gap: 16px; align-items: start; }
.ms-col-main, .ms-col-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ms-col-side { position: sticky; top: 16px; }
@media (max-width: 1080px) {
  .ms-cols { grid-template-columns: 1fr; }
  .ms-col-side { position: static; }
}

/* ── 可折叠分组 ── */
.ms-sec {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.ms-sec-h {
  display: flex; align-items: center; gap: 9px; padding: 13px 16px;
  border-bottom: 1px solid var(--line); background: var(--paper);
}
.ms-sec-h h3 { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.ms-sec-tip { font-size: 11.5px; color: var(--muted); }
.ms-sec-n {
  margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--brand-deep);
  background: var(--brand-soft); border-radius: 999px; padding: 2px 9px; flex: none;
}
.ms-sec-b { padding: 15px 16px 16px; }
.ms-side .ms-sec-b { padding: 13px 14px 15px; }
.ms-sub {
  font-size: 12px; font-weight: 700; color: var(--ink-2); margin: 16px 0 9px;
  padding-top: 13px; border-top: 1px dashed var(--line);
}
.ms-sub:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.ms-sub-t { font-weight: 400; color: var(--muted); font-size: 11.5px; margin-left: 6px; }
.ms-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ms-line { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.ms-real-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.ms-real { display: flex; flex-direction: column; gap: 5px; align-items: stretch; }
.ms-real .btn { align-self: flex-end; padding: 3px 8px; font-size: 11px; }
.ms-thumb--sm { width: 54px; height: 54px; flex: none; }
.ms-thumb--sq { width: 100%; height: 74px; }

/* ── 分享 / 预览 ── */
.ms-share-acts { display: flex; gap: 8px; margin-top: 8px; }
.ms-qrbox { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.ms-qrbox canvas { width: 96px; height: 96px; border-radius: 8px; background: #fff;
  border: 1px solid var(--line); flex: none; }
.ms-qrt { font-size: 11.5px; color: var(--muted); line-height: 1.65; }
.ms-phone {
  border: 6px solid #2b2320; border-radius: 22px; overflow: hidden; background: #0b0b0d;
  box-shadow: 0 10px 24px rgba(31, 21, 18, 0.16);
}
.ms-phone-hero {
  height: 190px; background: #14141a center/cover no-repeat; display: flex; align-items: flex-end;
  position: relative;
}
.ms-phone-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,.35), rgba(10,10,12,.86));
}
.ms-phone-in { position: relative; padding: 14px; width: 100%; }
.ms-pv-k { font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; color: #d8a24a; font-weight: 700; }
.ms-pv-t { font-size: 17px; font-weight: 800; color: #fff; margin-top: 5px; line-height: 1.25;
  word-break: break-word; }
.ms-pv-s { font-size: 11px; color: #d9d9e0; margin-top: 4px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── 防抖：底部固定保存条 ── */
.ms-savebar {
  position: sticky; bottom: 0; z-index: 6; margin-top: 16px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 252, 247, 0.92); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 10px 14px; box-shadow: 0 -6px 18px rgba(31, 21, 18, 0.06);
}
.ms-sb-t { font-size: 12.5px; color: var(--muted); flex: 1; }
.ms-sb-t.warn { color: var(--brand-deep); font-weight: 700; }
.ms-savebar.dirty { border-color: rgba(217, 112, 26, 0.4); }

/* ── 模板：两档切换 + 缩略图点选 ── */
.ms-seg {
  display: inline-flex; gap: 4px; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px; margin-bottom: 12px;
}
.ms-seg button {
  border: none; background: none; font-family: inherit; font-size: 12.5px; font-weight: 600;
  color: var(--ink-3); padding: 6px 14px; border-radius: 999px; cursor: pointer;
}
.ms-seg button em { font-style: normal; font-size: 11px; color: var(--muted); margin-left: 3px; }
.ms-seg button.on { background: var(--white); color: var(--brand-deep); box-shadow: var(--shadow-sm); }
.ms-tplgrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px;
  margin-top: 12px;
}
.ms-tp {
  position: relative; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: var(--paper); cursor: pointer; padding: 0; font-family: inherit; text-align: left;
}
.ms-tp .im { display: block; width: 100%; aspect-ratio: 3/4; background: var(--paper-3) center/cover no-repeat; }
.ms-tp .nm {
  display: block; font-size: 11px; color: var(--ink-2); padding: 5px 6px 6px; line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ms-tp .own {
  position: absolute; left: 4px; top: 4px; font-size: 9px; font-weight: 700;
  background: rgba(47, 158, 99, 0.9); color: #fff; border-radius: 999px; padding: 1px 5px;
}
.ms-tp .own.no { background: rgba(31, 21, 18, 0.55); }
.ms-tp .tick {
  position: absolute; right: 4px; top: 4px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--brand-deep); color: #fff; font-size: 11px; display: none;
  place-items: center; font-weight: 700;
}
.ms-tp.on { border-color: var(--brand-deep); box-shadow: 0 0 0 1px var(--brand-deep); }
.ms-tp.on .tick { display: grid; }
.ms-pkg-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ms-pkg-n { font-size: 13px; font-weight: 700; color: var(--ink); }
.ms-pkg-hot {
  font-size: 10.5px; font-weight: 700; color: var(--brand-deep); background: var(--brand-soft);
  border-radius: 999px; padding: 1px 8px;
}

/* ══════════════════════════ 我的主页 · 年卡门禁锁屏（1.1.28） ══════════════════════════
   非年度会员进「我的主页」看到的就是这一屏。
   刻意不做成灰色报错页：这个功能对很多人是「还没买」，不是「坏了」，
   所以按售卖页的方式呈现 —— 先说清能做什么，再说清现在是什么状态。 */
.ms-lock {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 32px 28px; box-shadow: var(--shadow-sm); max-width: 780px;
}
.ms-lock-badge {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.12em;
  color: var(--brand-deep); background: var(--brand-soft);
  border-radius: 999px; padding: 5px 12px; margin-bottom: 14px;
}
.ms-lock h2 { font-size: 25px; font-weight: 800; color: var(--ink); margin: 0 0 10px; letter-spacing: -0.01em; }
.ms-lock-lead { font-size: 14px; line-height: 1.85; color: var(--ink-2); margin: 0 0 20px; max-width: 44em; }

.ms-lock-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px; margin-bottom: 20px;
}
.ms-lock-item {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 12px 14px;
}
.ms-lock-item b { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.ms-lock-item span { font-size: 12px; line-height: 1.65; color: var(--ink-3); }

.ms-lock-now {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--paper-3); border-radius: var(--r-sm);
  padding: 13px 15px; font-size: 12.5px; line-height: 1.8; color: var(--ink-2);
  margin-bottom: 18px;
}
.ms-lock-k { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; color: var(--brand-deep); flex: none; padding-top: 1px; }
.ms-lock-now b { color: var(--ink); font-weight: 700; }

.ms-lock-act { display: flex; gap: 10px; flex-wrap: wrap; }
.ms-lock-fine {
  font-size: 11.5px; line-height: 1.8; color: var(--muted);
  margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  .ms-lock { padding: 26px 20px 22px; border-radius: var(--r-md); }
  .ms-lock h2 { font-size: 21px; }
  .ms-lock-grid { grid-template-columns: 1fr; }
  .ms-lock-act .btn { flex: 1; justify-content: center; }
}

/* ============================================================================
   在线客服（1.1.29）
   右下角一个常驻按钮 + 一个面板。面板走纸面底色（--paper），
   不用半透明黑 —— 官网上那会像广告弹窗，客户第一反应是关掉。
   ============================================================================ */
.sup-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 18px 0 14px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff; font-size: 14px; font-weight: 600; font-family: inherit;
  box-shadow: 0 10px 24px var(--brand-glow), 0 2px 6px rgba(31,21,18,.12);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.sup-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 30px var(--brand-glow); }
.sup-fab.is-open { opacity: 0; pointer-events: none; transform: translateY(6px); }
.sup-fab-ico {
  display: inline-grid; place-items: center; width: 22px; height: 22px;
  border-radius: 50%; background: rgba(255,255,255,.22); font-size: 13px; font-weight: 800;
}

.sup-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  width: min(380px, calc(100vw - 32px));
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 24px 60px rgba(31,21,18,.18), 0 2px 8px rgba(31,21,18,.08);
  overflow: hidden;
  animation: supIn .22s ease;
}
@keyframes supIn { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
.sup-head { position: relative; padding: 16px 44px 12px 18px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.sup-title { font-size: 15.5px; font-weight: 700; }
.sup-sub { margin-top: 4px; font-size: 12px; line-height: 1.6; color: var(--ink-3); }
.sup-close {
  position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border: 0; border-radius: 8px;
  background: transparent; color: var(--ink-3); font-size: 20px; line-height: 1; cursor: pointer;
}
.sup-close:hover { background: var(--paper-3); color: var(--ink); }
.sup-body { padding: 14px 18px 16px; display: grid; gap: 10px; }
.sup-field { display: grid; gap: 5px; }
.sup-label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.sup-hint { font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.sup-input {
  width: 100%; box-sizing: border-box; padding: 9px 11px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--white); color: var(--ink); font-size: 13.5px; font-family: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sup-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow); }
.sup-textarea { resize: vertical; min-height: 84px; line-height: 1.65; }
.sup-tip { font-size: 12px; color: var(--ink-3); min-height: 16px; }
.sup-tip.is-err { color: var(--danger); }
.sup-submit {
  height: 40px; border: 0; border-radius: var(--r-sm); cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff; font-size: 14px; font-weight: 600; font-family: inherit;
}
.sup-submit:disabled { opacity: .65; cursor: default; }
.sup-ghost { background: transparent; color: var(--brand-deep); border: 1px solid var(--line-strong); }
.sup-done { text-align: center; padding: 14px 4px 6px; }
.sup-done-ico {
  width: 40px; height: 40px; margin: 0 auto 10px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(47,158,99,.12); color: var(--ok); font-size: 20px; font-weight: 800;
}
.sup-done-t { font-size: 15px; font-weight: 700; }
.sup-done-s { margin-top: 6px; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }

@media (max-width: 640px) {
  .sup-fab { right: 14px; bottom: 14px; height: 44px; padding: 0 14px 0 12px; font-size: 13px; }
  .sup-panel { right: 8px; left: 8px; bottom: 8px; width: auto; max-height: calc(100vh - 16px); overflow: auto; }
  body.sup-lock { overflow: hidden; }
}

/* ============================================================================
   产品集合体主页（/）与产品占位页（/products/*）
   ---------------------------------------------------------------------------
   官网现在是一个软件家族：根路径是集合体，每款软件各占一个子路径
   （/photobooth/、/products/shared-print/、/products/beauty/）。
   集合体主页这一轮只做导航结构级别的内容 —— 三张产品卡 + 品牌说明，
   不铺大段营销文案。等另外两款软件有真实原型了再补各自的子站内容。
   ============================================================================ */

.hub-hero { padding: 86px 0 76px; position: relative; z-index: 1; }
.hub-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
/* 标题用 em 限宽而不是 ch —— 中文字宽接近 1em，ch（"0" 的宽度）只有半格，
   15ch 实际只有七个半字宽，会把「开拍」这样的词从中间劈开。 */
.hub-hero h1 { margin: 18px 0 22px; max-width: 15em; }
.hub-hero .lede { max-width: 620px; }
.hub-hero .hero-actions { margin-top: 30px; }
.hub-hero .hero-meta { margin-top: 26px; }

/* Hero 右侧的产品家族面板：同样来自 PRODUCTS，页面只留一个空容器 */
.hub-list { display: flex; flex-direction: column; gap: 13px; }
.hub-list-item {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px; border-radius: 16px; text-decoration: none; color: inherit;
  background: rgba(255, 255, 255, .74); border: 1px solid var(--line);
  backdrop-filter: blur(8px); box-shadow: var(--shadow-sm);
  transition: transform .2s cubic-bezier(.2,.8,.3,1), box-shadow .2s, border-color .2s;
}
.hub-list-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(239, 138, 46, .42);
}
.hub-list-item .np-ico { width: 40px; height: 40px; border-radius: 12px; }
.hub-list-item .np-ico svg { width: 21px; height: 21px; }
.hub-list-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.hub-list-txt b { font-size: 15px; font-weight: 700; color: var(--ink); }
.hub-list-txt i { font-style: normal; font-size: 12.5px; color: var(--ink-3); }

/* 集合体主页的产品卡：三列 */
/* 4 个产品 → 两列比三列好看：卡片里的描述文字有 3~4 行，三列会挤成窄条 */
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.hub-card {
  display: flex; flex-direction: column;
  position: relative;
  padding: 30px 28px 26px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
  transition: transform .22s cubic-bezier(.2,.8,.3,1), box-shadow .22s, border-color .22s;
}
.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(239, 138, 46, .38);
}
.hub-ico {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-deep);
}
.hub-ico svg { width: 24px; height: 24px; }
/* 状态徽标挪到右上角绝对定位：原来夹在图标和标题之间占一行，
   把标题往下推了一整行的距离，四张卡片看起来都松垮。 */
.hub-flag {
  position: absolute; top: 26px; right: 26px;
  font-size: 11px; font-weight: 700; letter-spacing: .02em;
  padding: 4px 10px; border-radius: 999px;
  background: var(--paper-2); color: var(--ink-3); border: 1px solid var(--line);
}
.hub-flag--online { background: rgba(47, 158, 99, .1); border-color: rgba(47, 158, 99, .24); color: #1f7a4b; }
.hub-flag--beta { background: var(--brand-soft); border-color: rgba(0, 0, 0, .08); color: var(--brand-deep); }
.hub-card h3 { font-size: 20px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
/* 四款软件的记忆点：拍 / 打 / 修 / 拼。用方块字把它做成一眼能记住的标记，
   和标题同一行、但视觉上先跳出来 —— 客户扫一眼卡片就先记住这四个字。 */
.hub-verb {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; flex: none;
  font-size: 15px; font-weight: 800; line-height: 1;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  box-shadow: inset 0 0 0 1px var(--brand-glow);
}
.hub-tag { margin-top: 7px; font-size: 13.5px; font-weight: 600; color: var(--brand-deep); }
.hub-desc { margin-top: 12px; font-size: 13.5px; line-height: 1.75; color: var(--ink-3); }
.hub-go {
  margin-top: auto; padding-top: 20px;
  font-size: 13.5px; font-weight: 650; color: var(--ink);
}
.hub-card:hover .hub-go { color: var(--brand-deep); }

/* 四款卡片下面的一行补充说明（原来是三行大段，客户读不完也就记不住） */
.hub-note-line {
  margin-top: 26px; font-size: 13.5px; line-height: 1.7; color: var(--ink-3);
  padding-left: 14px; border-left: 2px solid var(--brand-soft);
}
.hub-note-line b { color: var(--ink-2); font-weight: 650; }

/* ── 怎么选（把「哪款适合我」做成一张可扫读的表） ─────────────────────
   原来这段是一整段散文（「现场出片交给…店里要打交给…」），
   客户得自己从五个分句里抽答案。改成行：左边是「你的情况」，右边直接是软件名。 */
.pick {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--white); box-shadow: var(--shadow-sm); overflow: hidden;
}
.pick-row {
  display: grid; grid-template-columns: 1.12fr .92fr 1.36fr 64px;
  gap: 20px; align-items: center;
  padding: 21px 26px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: background .18s;
}
.pick-row:last-child { border-bottom: 0; }
.pick-row:hover { background: var(--paper-2); }
.pick-row:hover .pick-go { color: var(--brand); transform: translateX(2px); }
.pick-when { display: flex; flex-direction: column; gap: 3px; }
.pick-when b { font-size: 15px; font-weight: 700; color: var(--ink); }
.pick-when i { font-style: normal; font-size: 12px; color: var(--ink-3); }
.pick-tool { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 650; color: var(--ink); }
.pick-why { font-size: 13px; line-height: 1.65; color: var(--ink-2); }
.pick-go {
  justify-self: end; font-size: 13px; font-weight: 650; color: var(--brand-deep);
  white-space: nowrap; transition: color .18s, transform .18s;
}

/* ── 工作室（官网是「工作室的站」，不是「一款软件的广告页」） ─────────── */
.studio { display: grid; grid-template-columns: 1.12fr .88fr; gap: 60px; align-items: start; }
.studio-txt h2 { margin: 14px 0 18px; }
.studio-txt p { font-size: 15px; line-height: 1.9; color: var(--ink-2); margin-bottom: 14px; max-width: 33em; }
.studio-txt p b { color: var(--ink); font-weight: 650; }
.studio-facts { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 14px; }
.studio-facts li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 18px 22px; border-radius: var(--r-md);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.studio-facts b {
  flex: none; min-width: 3.1em;
  font-size: 19px; font-weight: 750; letter-spacing: -.02em; color: var(--brand-deep);
}
.studio-facts span { font-size: 13px; line-height: 1.6; color: var(--ink-3); }

/* ── 产品占位页（尚未发布的产品） ─────────────────────────────────── */
.coming-hero { padding: 76px 0 60px; position: relative; z-index: 1; }
.coming-hero h1 { margin: 16px 0 20px; }
.coming-hero .lede { max-width: 640px; }
.coming-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.coming-point {
  padding: 24px 22px; border-radius: var(--r-md);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.coming-point h3 { font-size: 16.5px; margin-bottom: 9px; }
.coming-point p { font-size: 13.5px; line-height: 1.75; color: var(--ink-3); }
.coming-cta {
  margin-top: 30px; padding: 24px 26px; border-radius: var(--r-md);
  background: var(--paper-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.coming-cta p { font-size: 13.5px; line-height: 1.75; color: var(--ink-2); max-width: 560px; }
.coming-cta .btn { flex: none; }

@media (max-width: 900px) {
  .hub-grid { grid-template-columns: 1fr; }
  .coming-points { grid-template-columns: 1fr; }
  .hub-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .studio { grid-template-columns: 1fr; gap: 30px; }
  /* 窄屏上「你的情况 / 软件 / 一句话」横排放不下，改成竖排四行，
     顺序仍是：情况 → 软件 → 理由 → 入口，读起来还是一句话。 */
  .pick-row { grid-template-columns: 1fr; gap: 7px; padding: 18px 20px; }
  .pick-go { justify-self: start; }
  .pick-why { font-size: 12.5px; }
}

/* ══════════════════════════════════════════════════════════════════════
   产品介绍页（1.1.39）
   ---------------------------------------------------------------------------
   三个新软件（共享打印 / 美颜修图 / 拼图）各有独立子站，页面结构一致：
     Hero → 能力网格 → 界面/流程说明 → 平台与版本 → 行动号召

   组件全部走 var(--brand)，所以 <body data-product="xxx"> 换主色时
   整页跟着变，一份样式服务四个子站。
   ══════════════════════════════════════════════════════════════════════ */

/* ── 产品页 Hero ───────────────────────────────────────────────── */
.prod-hero { padding: 74px 0 62px; position: relative; z-index: 1; }
.prod-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
/* 子站标题比集合体主页窄一格，字号跟着收一点，保证 <br> 断的两行各自都放得下、不出孤字 */
.prod-hero h1 { margin: 16px 0 20px; font-size: clamp(28px, 4vw, 54px); }
.prod-hero .lede { max-width: 620px; }
.prod-hero .hero-actions { margin-top: 28px; }
.prod-hero .hero-meta { margin-top: 24px; }
.prod-ver {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 4px;
  font-size: 12.5px; color: var(--ink-3); font-family: var(--font-mono);
}

/* 右侧的「能力速览」面板 */
.prod-panel {
  padding: 24px 24px 22px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.prod-panel h3 { font-size: 15px; margin-bottom: 14px; }
.prod-panel ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.prod-panel li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; line-height: 1.65; color: var(--ink-2);
}
.prod-panel li::before {
  content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%;
  background: var(--brand);
}
.prod-panel-foot {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px;
}

/* ── 能力网格 ─────────────────────────────────────────────────── */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* 美颜修图页把「联机拍摄」也算一项能力，一共四张卡。
   硬塞进三列会让第四张单独占半行 —— 改成 2×2，读起来是两两一组。
   窄屏仍由下面 900px 的 .prod-grid 规则收成一列。 */
.prod-grid--4 { grid-template-columns: repeat(2, 1fr); }
.prod-cell {
  padding: 24px 22px; border-radius: var(--r-md);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.prod-cell-ico {
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-deep);
}
.prod-cell-ico svg { width: 21px; height: 21px; }
.prod-cell h3 { font-size: 16.5px; margin-bottom: 9px; }
.prod-cell p { font-size: 13.5px; line-height: 1.75; color: var(--ink-3); }
.prod-cell ul { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.prod-cell ul li {
  font-size: 12.5px; line-height: 1.6; color: var(--ink-2);
  padding-left: 15px; position: relative;
}
.prod-cell ul li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand); opacity: .65;
}

/* ── 界面截图/流程说明块 ─────────────────────────────────────── */
.prod-split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.prod-steps { display: flex; flex-direction: column; gap: 18px; }
.prod-step { display: flex; gap: 14px; align-items: flex-start; }
.prod-step-n {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  background: var(--brand); color: #fff;
}
.prod-step h4 { font-size: 15px; margin-bottom: 5px; }
.prod-step p { font-size: 13.5px; line-height: 1.7; color: var(--ink-3); }

/* 终端/界面代码块 —— 用来说明「界面里长什么样」 */
.prod-shot {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.prod-shot-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--paper-2);
}
.prod-shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); display: block; }
.prod-shot-bar span { margin-left: 6px; font-size: 12px; color: var(--ink-3); font-family: var(--font-mono); }
.prod-shot-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 9px; }
.prod-shot-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 13px; border-radius: var(--r-sm);
  background: var(--paper); border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2);
}
.prod-shot-row b { color: var(--ink); font-weight: 650; }
.prod-shot-row em {
  font-style: normal; font-size: 11.5px; font-weight: 600;
  padding: 2px 8px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-deep);
}

/* ── 平台与版本 ───────────────────────────────────────────────── */
.prod-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prod-spec {
  padding: 20px 18px; border-radius: var(--r-md);
  background: var(--paper-2); border: 1px solid var(--line);
}
.prod-spec dt { font-size: 12px; color: var(--ink-3); margin-bottom: 7px; }
.prod-spec dd { margin: 0; font-size: 14.5px; font-weight: 650; color: var(--ink); }
.prod-spec dd small { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 400; color: var(--ink-3); }

/* ── 行动号召 ─────────────────────────────────────────────────── */
.prod-cta {
  margin-top: 34px; padding: 28px 30px; border-radius: var(--r-lg);
  background: var(--brand-soft); border: 1px solid rgba(0, 0, 0, .06);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.prod-cta p { font-size: 14px; line-height: 1.75; color: var(--ink-2); max-width: 600px; }
.prod-cta p b { color: var(--ink); }
.prod-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: 0 1 auto; min-width: 0; }

/* ── 通用下载块（1.1.45）────────────────────────────────────────
   子站页面上只有「有安装包」时才被脚本填充；没有包时 div 是空的，
   高度为 0、不占位，客户看到的就是原来的「留个联系方式」。
   prod-cta 是两列布局（文案 + 按钮），按钮多了会自动换行 —— 不设固定宽度，
   否则 Windows 与 macOS 两个按钮并排时会被挤成两截。

   min-width:0 不是可选项：flex 子项默认 min-width:auto，会按「最长那一行」
   （这里就是 meta 里的版本 + 体积）把宽度撑住，390px 手机上整块会将卡片顶出
   屏幕、文字被截断（真机量过：卡片 350px，这块被撑到 410px）。允许收缩 +
   行内 flex-wrap 才是正确组合。 */
.prod-dl { min-width: 0; max-width: 100%; }
.prod-dl:empty { display: none; }
.prod-dl-row { display: flex; gap: 10px; flex-wrap: wrap; min-width: 0; }
.prod-dl-meta {
  margin: 10px 0 0; font-size: 12.5px; color: var(--ink-3); line-height: 1.6;
  overflow-wrap: anywhere;
}
.prod-dl-note { display: block; margin-top: 4px; color: var(--ink-3); opacity: .85; }

/* 窄屏：下载按钮各占一行、点击区域拉满，避免两枚小按钮挤在右侧 */
@media (max-width: 640px) {
  .prod-cta { flex-direction: column; align-items: stretch; }
  .prod-cta-actions { width: 100%; }
  .prod-dl { width: 100%; }
  .prod-dl-row .btn { flex: 1 1 auto; justify-content: center; }
}

/* ── 事实提示条（写清「哪些还没做」，避免客户预期错位）───────── */
.prod-note {
  margin-top: 26px; padding: 18px 20px; border-radius: var(--r-md);
  background: var(--paper-2); border: 1px solid var(--line);
  font-size: 13px; line-height: 1.8; color: var(--ink-2);
}
.prod-note b { color: var(--ink); }
.prod-note code {
  font-family: var(--font-mono); font-size: 12px;
  background: var(--white); padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line);
}

/* 官方文档里的「不做什么」清单 */
.prod-limit { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 22px; margin-top: 12px; }
.prod-limit li {
  font-size: 13px; line-height: 1.65; color: var(--ink-3);
  padding-left: 20px; position: relative; list-style: none;
}
.prod-limit li::before {
  content: "×"; position: absolute; left: 0; top: 0;
  color: var(--ink-3); font-weight: 700; opacity: .6;
}

@media (max-width: 900px) {
  .prod-grid { grid-template-columns: 1fr; }
  .prod-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .prod-hero h1 { font-size: clamp(28px, 6.4vw, 42px); }
  .prod-split { grid-template-columns: 1fr; gap: 30px; }
  .prod-specs { grid-template-columns: repeat(2, 1fr); }
  .prod-limit { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   我的主页 · 主页风格选择器（1.1.44）
   六张缩略图全部用 CSS 画：不加载截图，所以不会随展示页改版过期。
   每张卡片通过内联 --p-bg / --p-fg / --p-acc / --p-r 表达该风格的
   底色、文字色、强调色与圆角，与展示页那六套一一对应。
   ══════════════════════════════════════════════════════════ */
.ms-th-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ms-th {
  border: 1px solid var(--line); border-radius: 12px; padding: 0; background: #fff;
  cursor: pointer; overflow: hidden; text-align: left; font-family: inherit;
  transition: border-color .16s, box-shadow .16s, transform .16s;
  -webkit-appearance: none; appearance: none;
}
.ms-th:hover { border-color: var(--brand); transform: translateY(-1px); }
.ms-th.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.ms-th-pv { display: block; padding: 8px; background: var(--p-bg); }
.ms-th-hero {
  display: flex; flex-direction: column; gap: 4px; justify-content: flex-end;
  height: 54px; padding: 7px 8px; border-radius: var(--p-r);
  background: linear-gradient(155deg, rgba(255, 255, 255, .12), rgba(0, 0, 0, .18));
  box-shadow: inset 0 0 0 1px rgba(128, 128, 128, .2);
}
.ms-th-l1, .ms-th-l2 { display: block; height: 4px; border-radius: 2px; background: var(--p-fg); }
.ms-th-l1 { width: 64%; opacity: .88; }
.ms-th-l2 { width: 42%; height: 3px; opacity: .42; }
.ms-th-btn { display: block; width: 26px; height: 8px; border-radius: 999px; background: var(--p-acc); margin-top: 2px; }
.ms-th-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 4px; }
.ms-th-grid i { display: block; height: 18px; border-radius: var(--p-r); background: var(--p-acc); opacity: .24; }
.ms-th-nm {
  display: block; padding: 8px 10px 9px; font-size: 12.5px; font-weight: 700;
  color: var(--ink); background: #fff; line-height: 1.3;
}
.ms-th-nm em { display: block; font-style: normal; font-weight: 400; font-size: 11px; color: var(--muted); margin-top: 2px; }
@media (max-width: 640px) { .ms-th-row { grid-template-columns: repeat(2, 1fr); } }
