/* PicLoom 官网样式 —— 全部取自设计系统 token（assets/css/tokens.css）。
   Default Blue appearance; keep / delete stay semantic, Time Stroll uses the stroll tokens. */

:root {
  /* Colours, type, spacing, radii and shadows come from tokens.css, generated
     from the PicLoom Design System. Only page-layout values live here. */
  --container: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
/* Keep the intrinsic ratio when a responsive width overrides HTML dimensions. */
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.5em; letter-spacing: 0.01em; }
h1 { font-family: var(--font-display); font-size: clamp(34px, 5.4vw, 56px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-family: var(--font-display); }
h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 650; }
p { margin: 0 0 1em; }
::selection { background: var(--accent-fill); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.center { text-align: center; }
.lead { color: var(--muted); font-size: 19px; max-width: 640px; }
.lead-center { margin: 0 auto 1em; }

/* ---------- 徽标与导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--canvas) 90%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav {
  display: flex; align-items: center; gap: 28px;
  height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 700; font-size: 19px;
  flex-shrink: 0; white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand-icon { display: block; width: 32px; height: 32px; border-radius: 7px; flex-shrink: 0; }
.download-icon, .error-brand-icon { display: block; width: 80px; height: 80px; border-radius: 18px; margin-bottom: 20px; }
.error-brand-icon { margin-inline: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 15.5px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.btn-primary { color: var(--on-accent); }
.nav-links a[aria-current="page"] { color: var(--text); font-weight: 600; }
.nav-cta { margin-left: 4px; }

/* 语言切换器(单按钮下拉) */
.lang-switch { position: relative; display: inline-flex; }
.lang-switch summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 6px 13px; color: var(--muted); font-size: 13.5px; font-weight: 600;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { color: var(--text); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.lang-switch summary .chev { transition: transform 0.15s ease; }
.lang-switch[open] summary .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 70;
  min-width: 176px; padding: 6px;
  background: var(--panel); border: 0; border-radius: var(--radius-bubble);
  box-shadow: var(--shadow-popover);
  display: grid; gap: 2px; max-height: min(370px, 65vh); overflow-y: auto;
}
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 12px; border-radius: 9px; min-height: 44px;
  color: var(--text); font-size: 14px;
}
.lang-menu a:hover { background: color-mix(in srgb, var(--text) 7%, transparent); text-decoration: none; }
.lang-menu a.on { color: var(--accent); }
.lang-menu a.on::after { content: "✓"; font-weight: 700; }
.footer-lang .lang-menu { top: auto; bottom: calc(100% + 8px); }
.article-languages { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; font-size: 14px; }
.article-languages > span { color: var(--muted); width: 100%; }
.article-languages a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: 4px; }
.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 8px 12px; font-size: 15px; cursor: pointer;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius-pill); min-height: var(--hit-target); padding: 12px 26px;
  font-size: var(--type-headline-size); font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary { box-shadow: 0 8px 24px var(--accent-glow); }
.btn:active { transform: scale(var(--scale-pressed)); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
.btn-sm { padding: 9px 18px; font-size: 14.5px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- 徽章 / 小标签 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: var(--type-eyebrow-size); font-weight: var(--type-eyebrow-weight);
  letter-spacing: var(--type-eyebrow-tracking); text-transform: uppercase; margin-bottom: var(--space-16);
}
.chip {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--muted-fill); border: 0;
  color: var(--muted); font-size: 13.5px;
}
.tag-free { color: var(--accent); background: var(--accent-fill); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 420px at 85% 10%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 65%),
    radial-gradient(520px 380px at 5% 90%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-copy .lead { font-size: 20px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 18px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-visual figure { margin: 0; }
.hero-visual img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-photo);
}
.hero-visual .tall img { height: auto; object-fit: contain; }
.hero-visual figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; text-align: center; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--panel); border: 0;
  border-radius: var(--radius-card); padding: 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-paper); transform: translateY(-2px); }
.card .icon { font-size: 30px; line-height: 1; margin-bottom: 14px; }
.card p { color: var(--muted); font-size: 15.5px; margin-bottom: 0; }
.card h3 a { color: var(--text); }
.more-link { font-size: 15px; font-weight: 600; }

/* ---------- iPhone 17 机型模型 ---------- */
.phone {
  position: relative;
  width: min(334px, 88vw); margin: 0 auto;
  border-radius: 56px;
  padding: 3px; /* 金属中框 */
  background: linear-gradient(155deg, #9aa0a8 0%, #43474e 16%, #14171b 45%, #05070a 62%, #3e434a 86%, #83888f 100%);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.6),
    0 6px 18px rgba(0, 0, 0, 0.45),
    inset 0 0 3px rgba(255, 255, 255, 0.28);
}
.phone::before, .phone::after { /* 侧边实体按键:音量/动作键(左)、电源键(右) */
  content: ""; position: absolute; width: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #4a4e55, #1a1d21);
}
.phone::before {
  left: -2.5px; top: 138px; height: 24px;
  box-shadow: 0 40px 0 0 #2a2d32, 0 82px 0 0 #2a2d32;
}
.phone::after {
  right: -2.5px; top: 188px; height: 72px;
  background: linear-gradient(270deg, #4a4e55, #1a1d21);
}
.screen {
  position: relative;
  border-radius: 48px; overflow: hidden; background: var(--canvas);
  border: 8px solid #05070a; /* 黑色 bezel */
  aspect-ratio: 393 / 816; display: flex; flex-direction: column;
}
.screen::before { /* 灵动岛 */
  content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 25px; border-radius: 14px; background: #000;
  border: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 6;
}
.screen::after { /* Home 指示条 */
  content: ""; position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%);
  width: 118px; height: 4px; border-radius: 999px;
  background: color-mix(in srgb, var(--text) 32%, transparent); z-index: 6;
}
.screen-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 26px 4px; color: var(--text); font-size: 13px; font-weight: 600;
}
.screen-bar .status-icons { display: inline-flex; color: var(--text); }
.screen-title { padding: 6px 22px; font-weight: 700; font-size: 22px; }
.screen-body { flex: 1; padding: 10px 18px; position: relative; overflow: hidden; }
.tab-bar {
  display: flex; justify-content: space-around; padding: 10px 8px 16px;
  border-top: 1px solid var(--hairline); color: var(--muted); font-size: 11.5px;
}
.tab-bar span.on { color: var(--accent); }

/* 顶部进度条 */
.progress { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--text) 8%, transparent); overflow: hidden; margin: 4px 22px 8px; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--keep)); border-radius: inherit; }

/* 滑动卡片(复刻 SwipeCardStack) */
.card-stack { position: relative; height: 100%; }
.swipe-card {
  position: absolute; inset: 0 0 12px;
  border-radius: 26px; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
  background: var(--panel);
  display: flex; flex-direction: column;
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
  cursor: grab;
}
.swipe-card.under { transform: scale(0.94) translateY(14px); filter: brightness(0.7); }
.swipe-card .photo { flex: 1; position: relative; }
.swipe-card .photo .gradient { position: absolute; inset: 0; }
.swipe-card .photo .subject {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 76px; filter: drop-shadow(0 8px 18px var(--scrim));
}
.swipe-card .meta {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px; background: var(--panel); font-size: 14px; color: var(--muted);
}
.swipe-card .meta b { color: var(--text); font-weight: 600; }
.stamp {
  position: absolute; top: 18px; padding: 6px 14px; border-radius: 12px;
  font-size: 17px; font-weight: 800; letter-spacing: 0.12em;
  border: 3px solid; opacity: 0; transition: opacity 0.12s ease;
  background: color-mix(in srgb, var(--panel) 80%, transparent); backdrop-filter: blur(2px);
}
.stamp-keep { left: 18px; color: var(--keep); border-color: var(--keep); transform: rotate(-14deg); }
.stamp-delete { right: 18px; color: var(--delete); border-color: var(--delete); transform: rotate(14deg); }
.demo-actions { display: flex; justify-content: center; gap: 14px; padding: 10px 0 14px; }
.round-btn {
  width: 52px; height: 52px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); font-size: 20px; cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.round-btn:hover { transform: scale(1.06); }
.round-btn.keep { color: var(--keep); border-color: color-mix(in srgb, var(--keep) 50%, transparent); }
.round-btn.del { color: var(--delete); border-color: color-mix(in srgb, var(--delete) 50%, transparent); }
.demo-stats { display: flex; justify-content: space-between; color: var(--muted); font-size: 13.5px; padding: 0 6px 17px; }
.demo-stats b { color: var(--accent); }
.demo-hint { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 14px; }

/* 日历复刻 */
.cal-head { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); padding: 2px 4px 10px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-grid .dow { color: var(--muted); font-size: 11px; text-align: center; }
.cal-cell {
  aspect-ratio: 1; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; color: var(--muted); background: color-mix(in srgb, var(--text) 4%, transparent); position: relative;
}
.cal-cell.has-photos { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--text); font-weight: 600; }
.cal-cell.has-photos::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.cal-cell.today { outline: 1.5px solid var(--accent); }

/* 热力图(53 周) */
.heatmap-wrap { background: var(--panel); border: 0; border-radius: var(--radius-card); padding: 22px; }
.heatmap { display: grid; grid-template-rows: repeat(7, 10px); grid-auto-flow: column; grid-auto-columns: 10px; gap: 3px; overflow-x: auto; padding-bottom: 6px; }
.heatmap i { border-radius: 2.5px; background: color-mix(in srgb, var(--text) 6%, transparent); }
.heatmap .l1 { background: color-mix(in srgb, var(--accent) 25%, transparent); }
.heatmap .l2 { background: color-mix(in srgb, var(--accent) 45%, transparent); }
.heatmap .l3 { background: color-mix(in srgb, var(--accent) 68%, transparent); }
.heatmap .l4 { background: var(--accent); }
.heatmap-legend { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; margin-top: 10px; }
.heatmap-legend i { width: 10px; height: 10px; border-radius: 2.5px; display: inline-block; }

/* 故事卡复刻 */
.story-card { background: var(--soft); border: 0; border-radius: 22px; padding: 22px; }
.story-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; min-height: 28px; }
.story-facts .chip { opacity: 0; transform: translateY(6px); transition: all 0.35s ease; }
.story-facts .chip.in { opacity: 1; transform: none; }
.story-text { min-height: 120px; font-size: 15.5px; color: var(--text); }
.story-text .caret { display: inline-block; width: 2px; height: 1em; background: var(--accent); vertical-align: -2px; animation: blink 0.9s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.story-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; margin-top: 10px; }

/* ---------- 小组件状态切换 ---------- */
.widget-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.widget-stage img {
  width: 100%; height: auto; object-fit: contain;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-photo);
  transition: opacity 0.25s ease;
}
.widget-stage img.fading { opacity: 0; }
.widget-caption { color: var(--muted); font-size: 15px; min-height: 48px; margin-top: 14px; }
.seg { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.seg button {
  border: 0; background: var(--panel); color: var(--muted);
  border-radius: 999px; padding: 9px 18px; font-size: 14.5px; cursor: pointer;
}
.seg button.on { color: var(--on-accent); background: var(--accent); border-color: var(--accent); font-weight: 600; }

/* ---------- 下载 / 二维码 ---------- */
.download-box {
  display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center;
  background: var(--panel); border: 0; border-radius: var(--radius-card);
  padding: 40px; max-width: 760px; margin: 0 auto;
}
.qr-card {
  background: #fff; padding: 14px; border-radius: 18px; width: 196px;
  box-shadow: var(--shadow-paper);
}
.qr-card img { width: 100%; }
.qr-card figcaption { color: var(--paper-muted); font-size: 12.5px; text-align: center; margin-top: 8px; }
.download-side .lead { font-size: 16.5px; margin-bottom: 18px; }
.appstore-note { color: var(--muted); font-size: 13.5px; margin-top: 12px; }

/* ---------- 步骤 ---------- */
.step-num {
  width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-fill); color: var(--accent); font-weight: 700; margin-bottom: 14px;
}

/* ---------- 隐私板块 ---------- */
.privacy-band { border-block: 1px solid var(--hairline); background: linear-gradient(180deg, var(--soft), transparent 70%); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; color: var(--muted); }
.check-list li b { color: var(--text); font-weight: 600; }
.check-list .tick { color: var(--keep); font-weight: 700; }

/* ---------- 价格 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.purchase-scope { max-width: 760px; margin: 24px auto 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card .amount { font-size: 40px; font-weight: 800; margin: 6px 0 2px; }
.price-card .amount small { font-size: 16px; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 10px; flex: 1; }
.price-card ul li { display: flex; gap: 10px; font-size: 15px; color: var(--muted); }
.price-card ul .tick { color: var(--keep); }
.price-card ul .dot { color: var(--muted); }
.price-card.featured { border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, transparent), var(--panel) 55%); }
.price-flag {
  position: absolute; top: -13px; left: 26px;
  background: var(--pop); color: var(--on-pop); font-size: 12.5px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
}
.soon { color: var(--muted); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 0; border-radius: var(--radius-cell); background: var(--panel); padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 16px; color: var(--accent); font-size: 20px; }
.faq details[open] summary::after { content: "–"; }
.faq .faq-a { color: var(--muted); font-size: 15.5px; padding-bottom: 18px; }

/* ---------- 博客 ---------- */
.narrow { max-width: 880px; margin: 0 auto; }
.blog-hero { padding-bottom: 0; }
.blog-links { margin: 18px 0 0; color: var(--muted); font-size: 14.5px; }
.blog-links a { color: var(--muted); }
.blog-links a:hover { color: var(--text); }
.post-list { display: grid; gap: 16px; }
.post-card { background: var(--panel); border: 0; border-radius: var(--radius-card); transition: transform 0.18s ease, border-color 0.18s ease; }
.post-card:hover { box-shadow: var(--shadow-paper); transform: translateY(-2px); }
.post-card-readonly:hover { box-shadow: none; transform: none; }
.post-card-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 18px 22px; }
.post-card-main:hover { text-decoration: none; }
.post-card img { width: 160px; height: 120px; object-fit: cover; border-radius: var(--radius-thumb); display: block; }
.post-featured .post-card-main { padding: 24px 26px; gap: 26px; }
.post-featured img { width: 320px; height: 240px; }
.post-body h2 { margin: 10px 0 8px; font-size: 21px; line-height: 1.4; }
.post-featured .post-body h2 { font-size: 26px; }
.post-body p { margin: 0; color: var(--muted); font-size: 15px; }
.post-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.post-meta time { font-variant-numeric: tabular-nums; }
.post-topic { color: var(--accent); background: var(--accent-fill); border-radius: 999px; padding: 3px 10px; font-size: 11.5px; letter-spacing: 0.07em; text-transform: uppercase; }
.post-arrow { color: var(--muted); font-size: 20px; transition: transform 0.18s ease, color 0.18s ease; }
.post-card:hover .post-arrow, .related-row:hover .post-arrow { color: var(--accent); transform: translateX(3px); }
.post-card .article-languages { padding: 0 22px 18px; margin-top: 0; }
@media (max-width: 820px) {
  .post-card-main, .post-featured .post-card-main { grid-template-columns: 1fr; gap: 14px; }
  .post-card img, .post-featured img { width: 100%; height: 180px; }
  .post-arrow { display: none; }
}

.article { max-width: 720px; margin: 0 auto; }
.article-meta { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.article h2 { font-size: 24px; margin-top: 1.8em; }
.article h3 { margin-top: 1.5em; }
.article p, .article li { color: var(--text); font-size: 16.5px; line-height: 1.75; }
.article ul, .article ol { padding-left: 24px; }
.article blockquote {
  margin: 1.2em 0; padding: 14px 20px; border-left: 3px solid var(--accent);
  background: var(--panel); border-radius: 0 12px 12px 0; color: var(--muted);
}
.article code { background: var(--soft); border: 0; border-radius: 6px; padding: 1px 7px; font-size: 14px; color: var(--accent); }
.article pre { background: var(--panel); border: 0; border-radius: 14px; padding: 18px; overflow-x: auto; }
.article pre code { background: none; border: none; padding: 0; }
code, pre, kbd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
.article .callout { background: var(--accent-fill); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 14px; padding: 16px 20px; margin: 1.4em 0; color: var(--text); }
/* ---------- 文章底部导航 ---------- */
.post-nav { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--hairline); }
.post-nav-all { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14.5px; }
.post-nav-all:hover { color: var(--text); text-decoration: none; }
.post-nav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.post-nav-card { display: grid; gap: 6px; padding: 18px 20px; background: var(--panel); border: 0; border-radius: 16px; transition: transform 0.18s ease, border-color 0.18s ease; }
.post-nav-card:hover { text-decoration: none; box-shadow: var(--shadow-paper); transform: translateY(-2px); }
.post-nav-card span { color: var(--muted); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.post-nav-card strong { color: var(--text); font-size: 16.5px; line-height: 1.45; }
.post-nav-card.next { text-align: right; }
.post-nav-card.next:only-child { grid-column: 2; }
@media (max-width: 700px) {
  .post-nav-grid { grid-template-columns: 1fr; }
  .post-nav-card.next { text-align: left; }
  .post-nav-card.next:only-child { grid-column: auto; }
}

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--hairline); padding: 48px 0 40px; margin-top: 40px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-grid nav a { color: var(--muted); font-size: 14.5px; }
.footer-grid nav a:hover { color: var(--text); }
.footer-note { color: var(--muted); font-size: 13px; margin-top: 26px; }

/* ---------- 面包屑 ---------- */
.crumbs { color: var(--muted); font-size: 13.5px; padding: 22px 0 0; }
.crumbs a { color: var(--muted); }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; background: var(--panel); border: 0; border-radius: var(--radius-card); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 13px 20px; border-bottom: 1px solid var(--hairline); white-space: nowrap; }
th { color: var(--muted); font-weight: 600; font-size: 13.5px; }
tr:last-child td { border-bottom: none; }
td.yes { color: var(--keep); font-weight: 600; }
td.no { color: var(--muted); }
td .sub { color: var(--muted); font-size: 12.5px; display: block; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .widget-demo { grid-template-columns: 1fr; }
  .try-grid { grid-template-columns: 1fr !important; }
  .try-grid .phone { justify-self: center; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .download-box { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .download-side .cta-row { justify-content: center; }
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--panel); border-bottom: 1px solid var(--hairline);
    box-shadow: var(--shadow-popover);
    padding: 8px 24px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--hairline); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { margin: 12px 0 0; }
  .nav-links .lang-switch { margin-top: 10px; align-self: flex-start; }
  .nav-links .lang-menu { right: auto; left: 0; }
  .nav-links .lang-menu a { padding: 8px 12px; border-bottom: none; font-size: 14px; }
}

/* ---------- 文章目录、相关文章与回到顶部 ---------- */
.article-toc {
  border: 0; border-radius: 16px; background: var(--panel);
  padding: 16px 22px 18px; margin: 6px 0 34px;
}
.article-toc > span {
  display: block; color: var(--muted); font-size: 12px; letter-spacing: 0.09em;
  text-transform: uppercase; margin-bottom: 10px;
}
.article-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 30px; }
.article-toc li { margin: 5px 0; font-size: 15px; color: var(--muted); }
.article-toc a { color: var(--muted); text-decoration: none; }
.article-toc a:hover { color: var(--accent); text-decoration: underline; }

.related-posts { margin-top: 54px; }
.related-posts h2 { font-size: 21px; margin: 0 0 16px; }
.related-list { display: grid; gap: 12px; }
.related-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center;
  padding: 16px 18px; background: var(--panel); border: 0;
  border-radius: 16px; transition: transform 0.18s ease, border-color 0.18s ease;
}
.related-row:hover { text-decoration: none; box-shadow: var(--shadow-paper); transform: translateY(-2px); }
.related-row img { width: 132px; height: 99px; object-fit: cover; border-radius: var(--radius-thumb); display: block; }
.related-body { display: grid; gap: 6px; justify-items: start; }
.related-body strong { color: var(--text); font-size: 17px; line-height: 1.4; }
.related-body p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 700px) {
  .related-row { grid-template-columns: 1fr; }
  .related-row img { width: 100%; height: 160px; }
  .related-row .post-arrow { display: none; }
}
.article-figure { margin: 28px 0; }
.article-figure img { width: 100%; height: auto; border-radius: var(--radius-thumb); display: block; }
.article-figure figcaption { color: var(--muted); font-size: 13.5px; margin-top: 10px; }

.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 46px; height: 46px; border-radius: 999px;
  border: 0; background: var(--panel); color: var(--text);
  font-size: 18px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: var(--shadow-popover);
}
.back-to-top[hidden] { display: none; }
.back-to-top:hover { color: var(--accent); }

@media (max-width: 640px) {
  .article-toc ol { columns: 1; }
}
