/* VPNAF · 博客列表与文章页样式
   颜色 / 字体 / 圆角 / 阴影一律引用 base.css 的 :root 设计令牌 */

:root {
  --reading-col: 54rem;
}

/* ---------- 阅读列：面包屑 / 刊头 / 正文 / 推广卡 / 关联内容共用同一条列 ---------- */
.crumbs,
.article-hero,
.reading-wrap,
.promo-card,
#related-posts,
#post-nav {
  width: 100%;
  max-width: calc(var(--reading-col) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 1. 列表页刊头（居中刊头） ---------- */
.blog-hero {
  position: relative;
  padding-block: clamp(2.25rem, 5.5vw, 4rem) clamp(1.5rem, 3.5vw, 2.5rem);
  text-align: center;
  overflow-x: clip;
}

.blog-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.blog-hero__dots {
  display: inline-flex;
  gap: 0.28rem;
}

.blog-hero__dots i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: var(--radius-pill);
  background: var(--border);
}

.blog-hero__dots i:nth-child(1) {
  background: var(--error);
}

.blog-hero__dots i:nth-child(2) {
  background: var(--warn);
}

.blog-hero__dots i:nth-child(3) {
  background: var(--success);
}

.blog-hero__title {
  margin: var(--sp-4) auto 0;
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: pretty;
}

.blog-hero__rule {
  display: block;
  width: 3.5em;
  height: 3px;
  margin: var(--sp-5) auto;
  border-radius: var(--radius-pill);
  background: var(--accent);
}

.blog-hero__lede {
  max-width: 44rem;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.8;
}

/* ---------- 2. 列表区与标签筛选 ---------- */
.blog-list {
  padding-block: 0 clamp(3rem, 7vw, 5rem);
}

.tag-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-panel);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.tag-chip:hover {
  color: var(--text);
  border-color: var(--accent-dark);
}

.tag-chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent-dark);
  color: var(--accent-ink);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

/* ---------- 3. 文章卡 ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
  gap: clamp(1.25rem, 2.6vw, 1.75rem);
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: clamp(1.25rem, 2.4vw, 1.7rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
  box-shadow: var(--shadow-card);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.post-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.post-card:hover,
.post-card:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent-dark) 45%, var(--border));
  box-shadow: var(--shadow-lift);
}

.post-card:hover::after,
.post-card:focus-visible::after {
  opacity: 1;
}

.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.post-card__date {
  white-space: nowrap;
}

.post-card__tag {
  padding: 0.16rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--accent-wash);
  color: var(--accent-ink);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: pretty;
}

.post-card__sum {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.post-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: var(--sp-2);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
}

.post-card__arrow {
  color: var(--accent-dark);
  transition: transform 0.18s ease;
}

.post-card:hover .post-card__arrow {
  transform: translateX(3px);
}

.post-empty {
  margin: var(--sp-6) 0 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- 4. 面包屑（与页头留呼吸空间） ---------- */
.crumbs {
  margin-top: 1.5rem;
  padding-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crumbs__list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.crumbs__list a {
  color: var(--text-muted);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.crumbs__list a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.crumbs__sep {
  color: var(--border);
}

.crumbs [aria-current="page"] {
  color: var(--text);
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* ---------- 5. 文章刊头（居中刊头，无卡片无底色） ---------- */
.article-hero {
  padding-block: clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
}

.article-hero__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.article-hero__title {
  margin<|place_holder_mm_span_0442|> var(--sp-4) 0 0;
  margin: var(--sp-4) 0 0;
  max-width: none;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.6rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: pretty;
}

.article-hero__rule {
  display: block;
  width: 3.5em;
  height: 3px;
  margin: var(--sp-4) auto;
  border-radius: var(--radius-pill);
  background: var(--accent);
}

.article-hero__lede {
  max-width: 40rem;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.6rem;
  margin: var(--sp-4) auto 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  max-width: 100%;
  padding: 0.15rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-panel);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meta-pill--tag {
  background: var(--accent);
  border-color: var(--accent-dark);
  color: var(--accent-ink);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
}

.meta-dot {
  width: 3px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--border);
}

/* ---------- 6. 正文排版 ---------- */
.reading-wrap {
  padding-block: clamp(0.5rem, 1.5vw, 1rem) 0;
}

.article-body {
  max-width: var(--reading-col);
  margin-inline: auto;
  counter-reset: sec;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}

.article-body p {
  margin: 0 0 1.15em;
}

.article-body > p:first-of-type {
  font-size: 1.05rem;
}

.article-body a {
  color: var(--text);
  text-decoration-color: var(--accent-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: var(--accent-ink);
  background: var(--accent-wash);
}

.article-body strong {
  font-weight: 700;
  color: var(--text-strong, var(--text));
}

.article-body h2 {
  counter-increment: sec;
  margin: 2.3em 0 0.85em;
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2.1vw, 1.6rem);
  line-height: 1.36;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: pretty;
}

.article-body h2::before {
  content: counter(sec, decimal-leading-zero);
  display: inline-block;
  margin-right: 0.6em;
  padding: 0.14em 0.45em;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.66em;
  font-weight: 700;
  letter-spacing: 0.06em;
  vertical-align: 0.14em;
}

.article-body h3 {
  margin: 1.85em 0 0.6em;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.42;
  letter-spacing: -0.005em;
  color: var(--text);
  text-wrap: pretty;
}

.article-body h3::before {
  content: "";
  display: inline-block;
  width: 0.52em;
  height: 0.52em;
  margin-right: 0.55em;
  border-radius: var(--radius-flag);
  background: var(--accent-dark);
  transform: rotate(45deg) translateY(-0.06em);
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.2em;
  padding-left: 1.35em;
}

.article-body li {
  margin: 0.4em 0;
}

.article-body li::marker {
  color: var(--accent-dark);
}

.article-body blockquote {
  margin: 1.6em 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--bg-panel);
  color: var(--text-muted);
  font-size: 1.02rem;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-body hr {
  margin: 2.2em 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.article-body figure {
  margin: 1.6em 0;
}

.article-body figcaption {
  margin-top: 0.5rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  text-align: center;
}

.article-body code {
  padding: 0.12em 0.4em;
  border-radius: var(--radius-sm);
  background: var(--bg-panel-2);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

.article-body pre {
  position: relative;
  margin: 1.6em 0;
  padding: 2.3rem 1.15rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--text);
  color: var(--bg-panel);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.75;
  overflow-x: auto;
  box-shadow: var(--shadow-soft);
}

.article-body pre::before {
  content: "";
  position: absolute;
  top: 0.9rem;
  left: 1.1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--error);
  box-shadow: 1.05rem 0 0 var(--warn), 2.1rem 0 0 var(--success);
}

.article-body pre code {
  padding: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font-size: 1em;
  overflow-wrap: normal;
}

/* ---------- 7. 正文表格（实色表头 + 斑马纹 + 窄屏横滑） ---------- */
.article-body .table-scroll {
  margin: 1.6em 0;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
}

.article-body table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.94rem;
  line-height: 1.6;
}

.article-body thead th {
  padding: 0.7em 0.9em;
  background: var(--text);
  color: var(--bg-panel);
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  word-break: keep-all;
}

.article-body tbody td {
  padding: 0.65em 0.9em;
  border-top: 1px solid var(--border);
  color: var(--text);
  word-break: keep-all;
}

.article-body tbody tr:nth-child(even) {
  background: var(--bg-panel-2);
}

.article-body tbody tr:hover {
  background: color-mix(in srgb, var(--accent) 22%, var(--bg-panel));
}

@media (max-width: 860px) {
  .article-body table {
    display: block;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
  }

  .article-body .table-scroll {
    border: 0;
    background: none;
  }
}

/* ---------- 8. 数据卡网格 ---------- */
.article-body .stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: var(--sp-3);
  margin: 1.6em 0;
}

.article-body .stat-card {
  position: relative;
  padding: 1.05rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  overflow: hidden;
}

.article-body .stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
}

.article-body .stat-card:nth-child(3n+2) {
  background: color-mix(in srgb, var(--accent) 12%, var(--bg-panel));
  border-color: color-mix(in srgb, var(--accent-dark) 35%, var(--border));
}

.article-body .stat-card:nth-child(3n+2)::before {
  background: var(--accent-dark);
}

.article-body .stat-card:nth-child(3n) {
  background: color-mix(in srgb, var(--bg-panel-2) 55%, var(--bg-panel));
}

.article-body .stat-card:nth-child(3n)::before {
  background: color-mix(in srgb, var(--accent-dark) 45%, var(--text));
}

.article-body .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
}

.article-body .stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ---------- 9. 勾叉清单（只做容器装饰，不注入任何符号） ---------- */
.article-body .check-list {
  display: grid;
  gap: 0.55rem;
  margin: 1.5em 0;
  padding: 0;
  list-style: none;
}

.article-body .check-list li {
  margin: 0;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  line-height: 1.7;
}

.article-body .check-list li:hover {
  border-color: color-mix(in srgb, var(--accent-dark) 40%, var(--border));
}

/* ---------- 10. 结论块 ---------- */
.article-body .verdict {
  margin: 1.8em 0;
  padding: 1.05rem 1.15rem 1.05rem 1.25rem;
  border-left: 4px solid var(--accent-dark);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: color-mix(in srgb, var(--accent) 14%, var(--bg-panel));
  line-height: 1.8;
}

.article-body .verdict p:last-child {
  margin-bottom: 0;
}

.article-body .verdict strong:first-child {
  color: var(--text);
  font-weight: 700;
}

/* ---------- 11. 提示块 ---------- */
.article-body .callout {
  position: relative;
  margin: 1.6em 0;
  padding: 1rem 1.15rem 1rem 2.9rem;
  border-left: 4px solid var(--accent-dark);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  font-size: 0.98rem;
  line-height: 1.75;
}

.article-body .callout::before {
  content: "i";
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.article-body .callout p:last-child {
  margin-bottom: 0;
}

.article-body .callout--warning {
  border-left-color: var(--warn);
  background: color-mix(in srgb, var(--warn) 10%, var(--bg-panel));
}

.article-body .callout--warning::before {
  content: "!";
  background: var(--warn);
  color: var(--white);
}

.article-body .callout--success {
  border-left-color: var(--success);
  background: color-mix(in srgb, var(--success) 10%, var(--bg-panel));
}

.article-body .callout--success::before {
  content: "✓";
  background: var(--success);
  color: var(--white);
}

/* ---------- 12. 文末推广卡 ---------- */
.promo-card {
  margin-top: clamp(2rem, 5vw, 3rem);
}

.promo-card__inner {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--text) 0%, color-mix(in srgb, var(--text) 68%, var(--accent-dark)) 100%);
  color: var(--bg-panel);
  box-shadow: var(--shadow-panel);
}

.promo-card__inner::before {
  content: "";
  position: absolute;
  top: -45%;
  right: -12%;
  width: 18rem;
  height: 18rem;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 38%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

.promo-card__inner > * {
  position: relative;
}

.promo-card__brand {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.promo-card__title {
  margin: var(--sp-2) 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--white);
  text-wrap: pretty;
}

.promo-card__note {
  margin: var(--sp-2) 0 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--white) 82%, transparent);
}

.promo-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--sp-4);
}

.promo-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: 100%;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.promo-card__btn--primary {
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.promo-card__btn--primary:hover {
  transform: translateY(-1px);
  background: var(--accent);
  color: var(--accent-ink);
}

.promo-card__btn--ghost {
  border: 1px solid color-mix(in srgb, var(--white) 45%, transparent);
  background: transparent;
  color: var(--white);
}

.promo-card__btn--ghost:hover {
  border-color: var(--white);
  background: color-mix(in srgb, var(--white) 14%, transparent);
}

/* ---------- 13. 延伸阅读 ---------- */
#related-posts {
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
}

.related__title {
  margin: 0 0 var(--sp-3);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: pretty;
}

.related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: var(--sp-3);
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.related-card:hover,
.related-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent-dark);
  box-shadow: var(--shadow-soft);
}

.related-card__meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.related-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
}

/* ---------- 14. 上一篇 / 下一篇 ---------- */
#post-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  padding-top: var(--sp-3);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

.post-nav__link {
  flex: 1 1 14rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.post-nav__link:hover,
.post-nav__link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent-dark);
  box-shadow: var(--shadow-soft);
}

.post-nav__link--next {
  margin-left: auto;
  text-align: right;
}

.post-nav__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.post-nav__title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

/* ---------- 15. 文章页悬浮 CTA（仅文章页使用，列表页不放） ---------- */
.float-cta {
  position: fixed;
  right: clamp(0.9rem, 3vw, 1.75rem);
  bottom: calc(clamp(0.9rem, 3vw, 1.75rem) + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: calc(100vw - 1.5rem);
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-pill);
  background: var(--grad-accent);
  color: var(--accent-ink);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.float-cta:hover,
.float-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.float-cta svg {
  flex: none;
  width: 16px;
  height: 16px;
}

.float-cta__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .float-cta {
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    gap: 0.35rem;
    padding: 0.55rem 0.9rem;
    font-size: 0.82rem;
  }

  .float-cta svg {
    width: 14px;
    height: 14px;
  }
}

/* ---------- 16. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .tag-chip,
  .post-card,
  .post-card::after,
  .post-card__arrow,
  .related-card,
  .post-nav__link,
  .promo-card__btn,
  .float-cta {
    transition: none;
  }

  .post-card:hover,
  .post-card:focus-visible,
  .related-card:hover,
  .related-card:focus-visible,
  .post-nav__link:hover,
  .post-nav__link:focus-visible,
  .promo-card__btn--primary:hover,
  .float-cta:hover,
  .float-cta:focus-visible {
    transform: none;
  }

  .post-card:hover .post-card__arrow {
    transform: none;
  }
}