@charset "utf-8";
/* ==========================================================================
   星琊官网（软件门户）· 样式
   设计源：~/.zcode/workspace/default/xingya（Tailwind v4）
   本文件是该设计语言的等价 CSS 实现（zinc 灰阶 + blue-600 强调 + 圆角卡 + pill 按钮）
   Tailwind 类 → CSS 对照：max-w-6xl=1152px / h-14=56px / rounded-xl=12px /
   text-xs=12px / text-sm=14px / 蓝 #2563eb / 锌灰 #fafafa·#e4e4e7·#71717a·#18181b
   仅官网使用；商城见 store.css，后台见 admin.css。
   ========================================================================== */

:root {
  /* 品牌色（blue-600 系） */
  --pt-brand: #2563eb;
  --pt-brand-hover: #1d4ed8;
  --pt-brand-50: #eff6ff;
  --pt-brand-100: #dbeafe;
  --pt-brand-200: #bfdbfe;

  /* zinc 灰阶 */
  --pt-900: #18181b;
  --pt-700: #3f3f46;
  --pt-600: #52525b;
  --pt-500: #71717a;
  --pt-400: #a1a1aa;
  --pt-300: #d4d4d8;
  --pt-200: #e4e4e7;
  --pt-100: #f4f4f5;
  --pt-50: #fafafa;

  --pt-danger: #ef4444;
  --pt-ok: #16a34a;

  --pt-r-sm: 8px;
  --pt-r: 12px;
  --pt-r-lg: 16px;
  --pt-pill: 9999px;

  --pt-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);
  --pt-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .10), 0 2px 4px -2px rgba(0, 0, 0, .10);

  --pt-wrap: 1152px;
  --pt-head-h: 56px;
  --pt-font: "Geist", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body.pt-body {
  margin: 0;
  font-family: var(--pt-font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--pt-900);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .15s ease, border-color .15s ease, background .15s ease; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; color: var(--pt-900); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
code {
  padding: 1px 5px;
  font-size: 12px;
  color: var(--pt-brand);
  background: var(--pt-brand-50);
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.pt-wrap { width: min(var(--pt-wrap), 100% - 32px); margin: 0 auto; }
.pt-hidden { display: none !important; }
.pt-req { color: var(--pt-danger); }

/* ============================================================ 页头 h-14 sticky */
.pt-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--pt-200);
}
.pt-head { display: flex; align-items: center; gap: 32px; height: var(--pt-head-h); }
.pt-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.pt-logo__mark {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: var(--pt-r-sm);
  background: var(--pt-brand);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.pt-logo__txt { display: flex; align-items: baseline; gap: 6px; }
.pt-logo__txt b { font-size: 18px; font-weight: 600; letter-spacing: .02em; color: var(--pt-900); }
.pt-logo__txt span { font-size: 14px; font-weight: 400; color: var(--pt-400); }

.pt-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; color: var(--pt-600); flex: 1; min-width: 0; }
.pt-nav > a { white-space: nowrap; }
.pt-nav > a:hover { color: var(--pt-brand); }
.pt-nav > a.is-active { color: var(--pt-900); font-weight: 500; }
.pt-nav__flag {
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: var(--pt-pill);
  border: 1px solid var(--pt-brand-200);
  font-size: 11px;
  color: var(--pt-brand);
  background: var(--pt-brand-50);
}

.pt-head-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; flex-shrink: 0; }

.pt-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border: 1px solid var(--pt-200);
  border-radius: var(--pt-pill);
  font-size: 14px;
  color: var(--pt-600);
  background: #fff;
}
.pt-cart:hover { border-color: var(--pt-brand); color: var(--pt-brand); }
.pt-cart-num {
  position: absolute;
  right: -6px; top: -6px;
  min-width: 20px; height: 20px;
  padding: 0 4px;
  display: grid; place-items: center;
  border-radius: var(--pt-pill);
  background: var(--pt-brand);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}
.pt-userbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border: 1px solid var(--pt-200);
  border-radius: var(--pt-pill);
  background: #fff;
  font-size: 14px;
  color: var(--pt-600);
  cursor: pointer;
}
.pt-userbtn:hover { border-color: var(--pt-brand); color: var(--pt-brand); }
.pt-burger {
  display: none;
  width: 36px; height: 36px;
  border: 1px solid var(--pt-200);
  border-radius: var(--pt-r-sm);
  background: #fff;
  color: var(--pt-600);
  cursor: pointer;
  font-size: 15px;
}

/* ============================================================ 按钮（pill） */
.pt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--pt-300);
  border-radius: var(--pt-pill);
  background: #fff;
  color: var(--pt-700);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s ease;
}
.pt-btn:hover { border-color: var(--pt-brand); color: var(--pt-brand); }
.pt-btn--main { background: var(--pt-brand); border-color: var(--pt-brand); color: #fff; }
.pt-btn--main:hover { background: var(--pt-brand-hover); border-color: var(--pt-brand-hover); color: #fff; }
.pt-btn--dark { background: var(--pt-900); border-color: var(--pt-900); color: #fff; }
.pt-btn--dark:hover { background: #000; border-color: #000; color: #fff; }
.pt-btn--outline { border-color: var(--pt-300); color: var(--pt-700); }
.pt-btn--gray { background: var(--pt-100); border-color: var(--pt-100); color: var(--pt-600); }
.pt-btn--gray:hover { background: var(--pt-200); border-color: var(--pt-200); color: var(--pt-900); }
.pt-btn--danger { border-color: #fecaca; color: var(--pt-danger); }
.pt-btn--danger:hover { background: var(--pt-danger); border-color: var(--pt-danger); color: #fff; }
.pt-btn--white { background: #fff; border-color: #fff; color: var(--pt-brand); }
.pt-btn--white:hover { background: var(--pt-brand-50); border-color: var(--pt-brand-50); color: var(--pt-brand-hover); }
.pt-btn--glass { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); color: #fff; }
.pt-btn--glass:hover { background: rgba(255, 255, 255, .28); border-color: #fff; color: #fff; }
.pt-btn--sm { padding: 6px 14px; font-size: 12px; }
.pt-btn--lg { padding: 12px 32px; font-size: 14px; }
.pt-btn--block { width: 100%; }
.pt-btn:disabled, .pt-btn.is-disabled { opacity: .5; cursor: not-allowed; }

/* ============================================================ 标签 / 价格 */
.pt-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: var(--pt-pill);
  border: 1px solid var(--pt-200);
  background: #fff;
  font-size: 12px;
  color: var(--pt-500);
  white-space: nowrap;
}
.pt-tag--brand { border-color: var(--pt-brand-200); background: var(--pt-brand-50); color: var(--pt-brand); }
.pt-tag--hot { border-color: #fecaca; background: #fef2f2; color: var(--pt-danger); }
.pt-tag--new { border-color: var(--pt-brand-200); background: #fff; color: var(--pt-brand); }
.pt-tag--paid { border-color: #fde68a; background: #fffbeb; color: #b45309; }
.pt-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.pt-price { font-size: 18px; font-weight: 600; color: var(--pt-brand); }
.pt-price small { font-size: 12px; font-weight: 600; margin-right: 1px; }
.pt-price del { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--pt-400); }

/* ============================================================ 首屏（居中 · blue-50 渐变） */
.pt-hero {
  border-bottom: 1px solid var(--pt-100);
  background: linear-gradient(180deg, rgba(239, 246, 255, .6), #fff);
  padding: 96px 0;
}
.pt-hero__in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.pt-hero__logo {
  width: 80px; height: 80px;
  display: grid; place-items: center;
  border-radius: 20px;
  background: var(--pt-brand);
  color: #fff;
  font-size: 34px;
  font-weight: 600;
  box-shadow: var(--pt-shadow-md);
}
.pt-hero__flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--pt-pill);
  border: 1px solid var(--pt-brand-200);
  background: #fff;
  font-size: 12px;
  color: var(--pt-brand);
}
.pt-hero h1 {
  font-size: 48px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.025em;
}
.pt-hero h1 em { font-style: normal; color: var(--pt-brand); }
.pt-hero__lede { max-width: 576px; color: var(--pt-500); font-size: 14px; line-height: 1.7; }
.pt-hero__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 8px; }
.pt-hero__acts .pt-btn { padding: 12px 32px; font-size: 14px; }

.pt-hero__card {
  width: 100%;
  max-width: 1152px;
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: left;
}
.pt-hero__card > div {
  padding: 20px;
  border: 1px solid var(--pt-200);
  border-radius: var(--pt-r);
  background: #fff;
}
.pt-hero__card b { display: block; font-size: 24px; font-weight: 600; }
.pt-hero__card span { display: block; margin-top: 2px; font-size: 12px; color: var(--pt-400); }

/* ============================================================ 区块 */
.pt-sec { padding: 64px 0; }
.pt-sec--tight { padding: 40px 0; }
.pt-sec--soft { border-top: 1px solid var(--pt-100); background: rgba(250, 250, 250, .6); }

.pt-sec-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.pt-sec-hd h2 { font-size: 20px; font-weight: 600; }
.pt-sec-hd p { margin-top: 6px; font-size: 14px; color: var(--pt-500); }
.pt-sec-more { font-size: 14px; color: var(--pt-brand); white-space: nowrap; }
.pt-sec-more:hover { text-decoration: underline; }
.pt-eyebrow { font-size: 12px; color: var(--pt-400); }

/* ============================================================ 软件产品卡 */
.pt-apps { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.pt-app {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--pt-200);
  border-radius: var(--pt-r);
  background: #fff;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.pt-app:hover { box-shadow: var(--pt-shadow-md); }
.pt-app__hd { display: flex; align-items: center; gap: 12px; }
.pt-app__ico {
  width: 56px; height: 56px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: var(--pt-r);
  background: linear-gradient(to bottom right, var(--pt-100), var(--pt-200));
  color: var(--pt-400);
  font-size: 22px;
}
.pt-app__name { min-width: 0; }
.pt-app__name b { font-size: 15px; font-weight: 500; color: var(--pt-900); }
.pt-app__name span { display: block; font-size: 12px; color: var(--pt-400); }
.pt-app__desc {
  margin-top: 16px;
  font-size: 14px;
  line-height: 24px;
  color: var(--pt-500);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 48px;
}
.pt-app__meta { margin-top: 12px; font-size: 12px; color: var(--pt-400); }
.pt-app__meta b { color: var(--pt-600); font-weight: 500; }
.pt-app__ft { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }

/* ============================================================ 面板 / 卡片 */
.pt-panel {
  border: 1px solid var(--pt-200);
  border-radius: var(--pt-r);
  background: #fff;
  overflow: hidden;
}
.pt-panel + .pt-panel { margin-top: 24px; }
.pt-panel__hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--pt-100);
}
.pt-panel__hd h2, .pt-panel__hd h3 { font-size: 16px; font-weight: 600; }
.pt-panel__note { font-size: 12px; color: var(--pt-400); }
.pt-panel__bd { padding: 24px; }
.pt-panel__bd--tight { padding: 8px 24px; }
.pt-panel__bd--pad0 { padding: 0; }
.pt-panel__ft {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--pt-100);
  background: var(--pt-50);
}

.pt-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pt-cols--main { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.pt-cols--side { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.pt-cols--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.pt-cols--4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }

/* ============================================================ 列表 */
.pt-rows { display: flex; flex-direction: column; }
.pt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--pt-100);
  font-size: 14px;
  color: var(--pt-500);
}
.pt-row:last-child { border-bottom: 0; }
.pt-row b { color: var(--pt-900); font-weight: 500; }
.pt-row__k { color: var(--pt-400); }
.pt-row--total { padding-top: 16px; border-top: 1px solid var(--pt-200); border-bottom: 0; }
.pt-row--total .pt-row__k { color: var(--pt-900); font-weight: 500; }

.pt-updates { display: flex; flex-direction: column; }
.pt-updates li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--pt-100);
  font-size: 14px;
}
.pt-updates li:last-child { border-bottom: 0; }
.pt-updates li time { flex-shrink: 0; font-size: 12px; color: var(--pt-400); font-variant-numeric: tabular-nums; }
.pt-updates li a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--pt-500); }
.pt-updates li a:hover { color: var(--pt-brand); }
.pt-updates li .pt-tag { flex-shrink: 0; }

.pt-rank li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--pt-100);
  font-size: 14px;
}
.pt-rank li:last-child { border-bottom: 0; }
.pt-rank__no {
  width: 20px; height: 20px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: var(--pt-pill);
  background: var(--pt-100);
  color: var(--pt-500);
  font-size: 12px;
  font-weight: 500;
}
.pt-rank a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--pt-500); }
.pt-rank a:hover { color: var(--pt-brand); }
.pt-rank em { font-style: normal; font-size: 12px; color: var(--pt-400); }

/* 信任条卡 */
.pt-facts { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.pt-fact { padding: 24px; border: 1px solid var(--pt-200); border-radius: var(--pt-r); background: #fff; }
.pt-fact h4 { font-size: 15px; font-weight: 500; color: var(--pt-900); }
.pt-fact p { margin-top: 8px; font-size: 14px; line-height: 24px; color: var(--pt-500); }
.pt-fact b { display: block; font-size: 24px; font-weight: 600; }
.pt-fact span { display: block; margin-top: 2px; font-size: 12px; color: var(--pt-400); }

.pt-kpis { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.pt-kpi { padding: 20px; border: 1px solid var(--pt-200); border-radius: var(--pt-r); }
.pt-kpi b { display: block; font-size: 24px; font-weight: 600; }
.pt-kpi span { display: block; margin-top: 2px; font-size: 12px; color: var(--pt-400); }

/* ============================================================ 商品卡（官网内嵌商城） */
.pt-prods { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.pt-prod {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--pt-200);
  border-radius: var(--pt-r);
  background: #fff;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.pt-prod:hover { box-shadow: var(--pt-shadow-md); }
.pt-prod__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--pt-brand), #60a5fa);
  color: #fff;
  font-size: 38px;
}
.pt-prod__badge {
  position: absolute;
  left: 12px; top: 12px;
  padding: 2px 10px;
  border-radius: var(--pt-pill);
  background: #fff;
  color: var(--pt-brand);
  font-size: 12px;
  font-weight: 500;
}
.pt-prod__bd { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.pt-prod__bd h4 { font-size: 14px; font-weight: 500; }
.pt-prod__bd h4 a { color: inherit; }
.pt-prod__bd h4 a:hover { color: var(--pt-brand); }
.pt-prod__bd p { margin-top: 4px; font-size: 12px; color: var(--pt-500); }
.pt-prod__ft {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
}

/* ============================================================ FAQ */
.pt-faq { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.pt-faq details { border: 1px solid var(--pt-200); border-radius: var(--pt-r); background: #fff; overflow: hidden; }
.pt-faq summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.pt-faq summary::-webkit-details-marker { display: none; }
.pt-faq summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-left: auto;
  font-size: 11px;
  color: var(--pt-400);
  transition: transform .2s ease;
}
.pt-faq details[open] summary::after { transform: rotate(180deg); }
.pt-faq__bd { padding: 0 20px 18px; font-size: 14px; line-height: 24px; color: var(--pt-500); }

/* ============================================================ 提示 / 通知 */
.pt-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--pt-brand-200);
  border-radius: var(--pt-r-sm);
  background: var(--pt-brand-50);
  font-size: 14px;
  line-height: 1.7;
  color: var(--pt-brand-hover);
}
.pt-tip i { margin-top: 3px; }
.pt-tip--ok { border-color: #bbf7d0; background: #f0fdf4; color: #15803d; }
.pt-tip--err { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }
.pt-tip--warn { border-color: #fde68a; background: #fffbeb; color: #b45309; }

.pt-note {
  padding: 16px 20px;
  border: 1px dashed var(--pt-300);
  border-radius: var(--pt-r-sm);
  font-size: 14px;
  line-height: 1.8;
  color: var(--pt-500);
}
.pt-note b { color: var(--pt-900); }

/* ============================================================ 面包屑 / 页头 */
.pt-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 0 0;
  font-size: 12px;
  color: var(--pt-400);
}
.pt-crumb a:hover { color: var(--pt-brand); }
.pt-crumb i { font-size: 9px; }

.pt-pagehd { padding: 20px 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--pt-100); }
.pt-pagehd h1 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.pt-pagehd h1 i { display: none; }
.pt-pagehd p { margin-top: 8px; max-width: 720px; font-size: 14px; line-height: 1.7; color: var(--pt-500); }
.pt-pagehd__acts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

/* ============================================================ 表单 */
.pt-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pt-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pt-field--full { grid-column: 1 / -1; }
.pt-field label { font-size: 14px; font-weight: 500; color: var(--pt-700); }
.pt-input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--pt-300);
  border-radius: var(--pt-r-sm);
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--pt-900);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pt-input:focus { border-color: var(--pt-brand); box-shadow: 0 0 0 3px var(--pt-brand-100); }
textarea.pt-input { min-height: 96px; resize: vertical; }
.pt-hint { font-size: 12px; color: var(--pt-400); }
.pt-form__acts {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 4px;
}
.pt-radio-row { display: flex; gap: 12px; flex-wrap: wrap; }
.pt-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--pt-300);
  border-radius: var(--pt-pill);
  font-size: 14px;
  color: var(--pt-700);
  cursor: pointer;
}
.pt-radio:hover { border-color: var(--pt-brand); color: var(--pt-brand); }

/* ============================================================ 窄栏页 */
.pt-narrow { width: min(520px, 100%); margin: 64px auto 80px; }
.pt-narrow__hd { text-align: center; margin-bottom: 28px; }
.pt-narrow__ico {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  border-radius: var(--pt-r);
  background: linear-gradient(to bottom right, var(--pt-100), var(--pt-200));
  color: var(--pt-400);
  font-size: 22px;
}
.pt-narrow__hd h1 { font-size: 24px; }
.pt-narrow__hd p { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--pt-500); }
.pt-narrow__ft { margin-top: 20px; text-align: center; font-size: 14px; color: var(--pt-500); }
.pt-narrow__ft a { color: var(--pt-brand); }
.pt-narrow__ft a:hover { text-decoration: underline; }

/* ============================================================ 空状态 */
.pt-empty { padding: 60px 20px; border: 1px dashed var(--pt-300); border-radius: var(--pt-r); text-align: center; }
.pt-empty i { font-size: 32px; color: var(--pt-300); }
.pt-empty h3 { margin-top: 16px; font-size: 16px; font-weight: 500; }
.pt-empty p { margin-top: 6px; font-size: 14px; color: var(--pt-500); }
.pt-empty .pt-btn { margin-top: 20px; }

/* ============================================================ 时间线 */
.pt-tl { position: relative; padding-left: 24px; }
.pt-tl::before { content: ''; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--pt-200); }
.pt-tl__item { position: relative; padding-bottom: 24px; }
.pt-tl__item:last-child { padding-bottom: 0; }
.pt-tl__dot { position: absolute; left: -24px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--pt-300); }
.pt-tl__item--key .pt-tl__dot { border-color: var(--pt-brand); background: var(--pt-brand); }
.pt-tl__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.pt-tl__date { font-size: 12px; color: var(--pt-400); font-variant-numeric: tabular-nums; }
.pt-tl__ver { font-size: 12px; font-weight: 500; color: var(--pt-600); }
.pt-tl__card h4 { font-size: 15px; font-weight: 500; }
.pt-tl__card p { margin-top: 8px; font-size: 14px; line-height: 1.8; color: var(--pt-500); }

.pt-catnav { display: flex; flex-direction: column; padding: 4px 0; }
.pt-catnav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin: 2px 12px;
  width: calc(100% - 24px);
  padding: 8px 12px;
  border: 0;
  border-radius: var(--pt-r-sm);
  background: transparent;
  font-size: 14px;
  color: var(--pt-600);
  text-align: left;
  cursor: pointer;
  transition: all .15s ease;
}
.pt-catnav button:hover { background: var(--pt-brand-50); color: var(--pt-brand-hover); }
.pt-catnav button.active { background: var(--pt-brand-50); color: var(--pt-brand-hover); font-weight: 500; }
.pt-catnav .cnt { font-size: 12px; color: var(--pt-400); }

/* ============================================================ 账号 / 联系 */
.pt-account { padding: 24px; border: 1px solid var(--pt-200); border-radius: var(--pt-r); text-align: center; }
.pt-account__avatar {
  width: 64px; height: 64px;
  margin: 0 auto 12px;
  display: grid; place-items: center;
  border-radius: var(--pt-pill);
  background: var(--pt-brand);
  color: #fff;
  font-size: 24px;
  font-weight: 600;
}
.pt-account h3 { font-size: 17px; }
.pt-account__mail { margin-top: 4px; font-size: 12px; color: var(--pt-500); word-break: break-all; }
.pt-account__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--pt-100); }
.pt-account__meta b { display: block; font-size: 14px; font-weight: 500; }
.pt-account__meta span { font-size: 12px; color: var(--pt-400); }

.pt-contact { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--pt-100); }
.pt-contact:last-child { border-bottom: 0; }
.pt-contact > i { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: var(--pt-r-sm); background: var(--pt-100); color: var(--pt-600); font-size: 14px; }
.pt-contact b { display: block; font-size: 14px; font-weight: 500; }
.pt-contact small { display: block; margin-top: 2px; font-size: 12px; color: var(--pt-400); }

/* ============================================================ 结果 / 错误页 */
.pt-result { width: min(640px, 100%); margin: 72px auto 88px; text-align: center; }
.pt-result__ico {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  border-radius: var(--pt-pill);
  background: var(--pt-brand-50);
  color: var(--pt-brand);
  font-size: 26px;
}
.pt-result h1 { font-size: 24px; }
.pt-result > p { margin-top: 10px; font-size: 14px; line-height: 1.8; color: var(--pt-500); }
.pt-result__meta { margin: 24px 0 28px; padding: 20px; border: 1px solid var(--pt-200); border-radius: var(--pt-r); text-align: left; }

.pt-error { width: min(640px, 100%); margin: 88px auto 96px; text-align: center; }
.pt-error__code { font-size: 72px; font-weight: 600; line-height: 1; color: var(--pt-200); letter-spacing: -.02em; }
.pt-error h1 { margin-top: 16px; font-size: 24px; }
.pt-error p { margin-top: 12px; font-size: 14px; line-height: 1.9; color: var(--pt-500); }
.pt-error__req { display: inline-flex; align-items: center; gap: 8px; margin: 20px 0 24px; padding: 10px 16px; border: 1px solid var(--pt-200); border-radius: var(--pt-r-sm); font-size: 12px; color: var(--pt-500); }
.pt-error__acts { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ============================================================ 页脚 */
.pt-footer { border-top: 1px solid var(--pt-200); background: var(--pt-50); }
.pt-footer__grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(3, 1fr);
  padding: 48px 0;
}
.pt-footer__brand { display: flex; align-items: center; gap: 8px; }
.pt-footer__brand b { font-size: 18px; font-weight: 600; }
.pt-footer__brand span { font-size: 14px; font-weight: 400; color: var(--pt-400); }
.pt-footer__desc { margin-top: 12px; font-size: 14px; line-height: 24px; color: var(--pt-500); }
.pt-footer__tel { margin-top: 16px; font-size: 14px; color: var(--pt-500); }
.pt-footer__tel b { display: block; font-size: 18px; color: var(--pt-900); font-weight: 600; }
.pt-footer h5 { margin-bottom: 12px; font-size: 14px; font-weight: 500; color: var(--pt-900); }
.pt-footer__col a { display: block; padding: 4px 0; font-size: 14px; color: var(--pt-500); }
.pt-footer__col a:hover { color: var(--pt-brand); }
.pt-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid var(--pt-200);
  font-size: 12px;
  color: var(--pt-400);
}

/* ============================================================ 悬浮 / 动效 */
.pt-totop {
  position: fixed;
  right: 24px; bottom: 32px;
  z-index: 60;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--pt-200);
  border-radius: var(--pt-pill);
  background: #fff;
  color: var(--pt-600);
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  box-shadow: var(--pt-shadow-sm);
  transition: all .2s ease;
}
.pt-totop.on { opacity: 1; visibility: visible; transform: none; }
.pt-totop:hover { border-color: var(--pt-brand); color: var(--pt-brand); }

.pt-toast {
  position: fixed;
  left: 50%;
  top: 76px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(520px, 90vw);
  padding: 12px 20px;
  border-radius: var(--pt-pill);
  background: var(--pt-900);
  color: #fff;
  font-size: 14px;
  box-shadow: var(--pt-shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: all .2s ease;
}
.pt-toast.on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.pt-toast i { color: #60a5fa; }

.pt-reveal { opacity: 1; }
html.pt-js .pt-reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
html.pt-js .pt-reveal.is-in { opacity: 1; transform: none; }

/* ============================================================ 弹窗 */
.pt-modal .modal-content { border: 0; border-radius: var(--pt-r); overflow: hidden; box-shadow: var(--pt-shadow-md); }
.pt-modal .modal-header { padding: 16px 20px; border-bottom: 1px solid var(--pt-100); }
.pt-modal .modal-title { font-size: 16px; font-weight: 600; }
.pt-modal .modal-body { padding: 20px; }
.pt-modal .modal-footer { padding: 16px 20px; border-top: 1px solid var(--pt-100); }
.pt-modal__foot { font-size: 14px; color: var(--pt-500); }
.pt-modal__foot a { color: var(--pt-brand); font-weight: 500; }
.pt-modal .form-check-input:checked { background-color: var(--pt-brand); border-color: var(--pt-brand); }
.pt-modal .btn-close { opacity: .5; }

/* ============================================================ 数量控件 */
.pt-qty { display: inline-flex; align-items: center; height: 40px; border: 1px solid var(--pt-300); border-radius: var(--pt-r-sm); overflow: hidden; }
.pt-qty button { width: 36px; height: 100%; border: 0; background: #fff; color: var(--pt-600); font-size: 14px; cursor: pointer; }
.pt-qty button:hover { background: var(--pt-brand-50); color: var(--pt-brand); }
.pt-qty input { width: 48px; height: 100%; border: 0; border-left: 1px solid var(--pt-200); border-right: 1px solid var(--pt-200); text-align: center; font-family: inherit; font-size: 14px; outline: none; color: var(--pt-900); }

/* ============================================================ 响应式 */
@media (max-width: 1024px) {
  .pt-apps, .pt-prods, .pt-kpis { grid-template-columns: repeat(2, 1fr); }
  .pt-hero__card { grid-template-columns: repeat(2, 1fr); }
  .pt-cols--main, .pt-cols--side { grid-template-columns: 1fr; }
  .pt-facts { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .pt-burger { display: grid; place-items: center; }
  .pt-nav {
    position: absolute;
    top: var(--pt-head-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    background: #fff;
    border-bottom: 1px solid var(--pt-200);
    box-shadow: var(--pt-shadow-md);
    display: none;
  }
  .pt-nav.open { display: flex; }
  .pt-nav > a { padding: 12px 0; border-bottom: 1px solid var(--pt-100); }
  .pt-nav > a:last-child { border-bottom: 0; }
  .pt-hero { padding: 56px 0; }
  .pt-hero h1 { font-size: 34px; }
  .pt-faq, .pt-facts, .pt-cols, .pt-cols--3, .pt-cols--4 { grid-template-columns: 1fr; }
  .pt-sec { padding: 44px 0; }
  .pt-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .pt-apps, .pt-prods, .pt-kpis, .pt-hero__card, .pt-form, .pt-footer__grid { grid-template-columns: 1fr; }
  .pt-hero { padding: 40px 0; }
  .pt-hero h1 { font-size: 28px; }
  .pt-cart span:not(.pt-cart-num) { display: none; }
  .pt-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================ 软件卡：品牌图标位（设计源用 logo 图片 h-16 w-16） */
.pt-app__logo {
  width: 64px; height: 64px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: var(--pt-r-lg);
  border: 1px solid var(--pt-100);
  background: #fff;
  color: var(--pt-brand);
  font-size: 24px;
  font-weight: 600;
}

/* ============================================================ 软件详情页 */
.pt-shead { background: linear-gradient(135deg, var(--pt-brand), #3b82f6); color: #fff; }
.pt-shead__grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.pt-shead__logo {
  width: 144px; height: 144px;
  display: grid; place-items: center;
  border-radius: 24px;
  background: #fff;
  color: var(--pt-brand);
  font-size: 56px;
  font-weight: 600;
  box-shadow: var(--pt-shadow-md);
}
.pt-shead__crumb { margin-bottom: 12px; font-size: 12px; color: var(--pt-brand-100); }
.pt-shead__crumb a { color: var(--pt-brand-100); }
.pt-shead__crumb a:hover { color: #fff; }
.pt-shead__crumb span { margin: 0 8px; }
.pt-shead h1 { font-size: 30px; font-weight: 600; color: #fff; }
.pt-shead__slogan { margin-top: 8px; font-size: 15px; color: var(--pt-brand-100); }
.pt-shead__meta {
  display: flex; flex-wrap: wrap; gap: 6px 24px;
  margin-top: 20px;
  font-size: 14px; color: var(--pt-brand-100);
}
.pt-shead__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.pt-shead__note { font-size: 12px; color: var(--pt-brand-100); }

.pt-sh2 { font-size: 18px; font-weight: 600; }
.pt-intro { max-width: 768px; margin-top: 16px; }
.pt-intro p { font-size: 15px; line-height: 28px; color: var(--pt-600); }
.pt-intro p + p { margin-top: 16px; }

.pt-card { border: 1px solid var(--pt-200); border-radius: var(--pt-r); padding: 24px; background: #fff; }
.pt-card p { margin-top: 12px; font-size: 14px; line-height: 24px; color: var(--pt-500); }
.pt-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.pt-feats__hd { display: flex; align-items: center; gap: 12px; }
.pt-feats__hd h3 { font-size: 15px; font-weight: 500; }
.pt-feats__no {
  width: 32px; height: 32px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: var(--pt-r-sm);
  background: var(--pt-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.pt-scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.pt-scene { padding: 20px; border-radius: var(--pt-r); background: var(--pt-50); }
.pt-scene h3 { font-size: 14px; font-weight: 500; }
.pt-scene p { margin-top: 8px; font-size: 14px; line-height: 24px; color: var(--pt-500); }

.pt-previews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.pt-preview {
  aspect-ratio: 16 / 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--pt-r);
  background: linear-gradient(to bottom right, var(--pt-100), var(--pt-200));
  color: var(--pt-400);
  font-size: 12px;
}
.pt-preview i { font-size: 28px; }

.pt-reqs {
  max-width: 672px;
  margin-top: 16px;
  padding: 0 24px;
  border: 1px solid var(--pt-200);
  border-radius: var(--pt-r);
}
.pt-req { display: flex; gap: 24px; padding: 12px 0; font-size: 14px; border-bottom: 1px solid var(--pt-100); }
.pt-req:last-child { border-bottom: 0; }
.pt-req dt { width: 96px; flex-shrink: 0; color: var(--pt-400); }
.pt-req dd { margin: 0; color: var(--pt-600); }
.pt-sha { margin-top: 12px; font-size: 12px; color: var(--pt-400); word-break: break-all; font-family: ui-monospace, Menlo, monospace; }

.pt-faqs { max-width: 768px; margin-top: 20px; }
.pt-faq-item {
  border: 1px solid var(--pt-200);
  border-radius: var(--pt-r);
  padding: 16px 20px;
  background: #fff;
}
.pt-faq-item + .pt-faq-item { margin-top: 12px; }
.pt-faq-item[open] { border-color: var(--pt-brand-200); background: rgba(239, 246, 255, .3); }
.pt-faq-item summary { list-style: none; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--pt-900); }
.pt-faq-item summary::-webkit-details-marker { display: none; }
.pt-faq-item[open] summary { color: var(--pt-brand-hover); }
.pt-faq-item p { margin-top: 12px; font-size: 14px; line-height: 24px; color: var(--pt-500); }

.pt-log { margin-top: 20px; padding-left: 24px; border-left: 2px solid var(--pt-100); }
.pt-log__item { position: relative; }
.pt-log__item + .pt-log__item { margin-top: 24px; }
.pt-log__dot {
  position: absolute;
  left: -31px; top: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--pt-brand);
}
.pt-log__hd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.pt-log__hd h3 { font-size: 15px; font-weight: 500; }
.pt-log__date { font-size: 12px; color: var(--pt-400); }
.pt-log__latest {
  padding: 2px 8px;
  border-radius: var(--pt-pill);
  background: var(--pt-brand-50);
  color: var(--pt-brand);
  font-size: 12px;
}
.pt-log__notes { margin-top: 8px; padding-left: 20px; list-style: disc; }
.pt-log__notes li { font-size: 14px; line-height: 1.8; color: var(--pt-500); }
.pt-log__dl {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px;
  font-size: 12px; font-weight: 500; color: var(--pt-brand);
}
.pt-log__dl:hover { text-decoration: underline; }
.pt-log__dl.is-disabled { color: var(--pt-400); cursor: not-allowed; text-decoration: none; }

.pt-others { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.pt-other {
  display: flex; align-items: center; gap: 16px;
  padding: 16px;
  border: 1px solid var(--pt-200);
  border-radius: var(--pt-r);
}
.pt-other:hover { border-color: var(--pt-brand); }
.pt-other__logo {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: var(--pt-r);
  border: 1px solid var(--pt-100);
  color: var(--pt-brand);
  font-weight: 600;
}
.pt-other__name { display: block; font-size: 14px; font-weight: 500; color: var(--pt-900); }
.pt-other__slogan { display: block; font-size: 12px; color: var(--pt-400); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-other__cta {
  margin-left: auto;
  flex-shrink: 0;
  padding: 6px 16px;
  border: 1px solid var(--pt-brand);
  border-radius: var(--pt-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--pt-brand);
}

@media (max-width: 1024px) {
  .pt-shead__grid { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
  .pt-shead__logo { width: 96px; height: 96px; border-radius: 20px; font-size: 40px; }
  .pt-feats, .pt-scenes, .pt-previews, .pt-others { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pt-feats, .pt-scenes, .pt-previews, .pt-others { grid-template-columns: 1fr; }
  .pt-shead h1 { font-size: 24px; }
}


/* ============================================================ 品牌图标（logo 图片，白底以适应任意背景） */
img.pt-logo__mark,
img.pt-hero__logo,
img.pt-app__logo,
img.pt-shead__logo,
img.pt-other__logo {
  background: #fff;
  object-fit: contain;
  padding: 3px;
  color: transparent;
}
img.pt-logo__mark { border: 1px solid var(--pt-line); }
img.pt-hero__logo { box-shadow: var(--pt-shadow-md); }
img.pt-shead__logo { box-shadow: var(--pt-shadow-md); }
