/* =========================================================
   没节操网址导航 · 文章页公共样式（posts/ 统一文章目录）
   依赖 ../css/app.css 提供的设计令牌与顶栏 / 页脚 / 品牌样式
   ========================================================= */

.post-page {
  padding-bottom: 48px;
}

/* ===== 阅读进度条 ===== */
.post-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 0;
  height: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, var(--accent), #5be39a);
  box-shadow: 0 0 10px rgba(7, 193, 96, 0.45);
  transition: width 0.12s linear;
  pointer-events: none;
}

/* ===== 顶栏文章入口 ===== */
.post-header-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 13px;
  transition:
    color 0.16s var(--ease),
    border-color 0.16s var(--ease),
    background 0.16s var(--ease),
    transform 0.12s var(--ease);
}

.post-header-link i {
  font-size: 14px;
  color: var(--accent-ink);
}

.post-header-link:hover {
  color: var(--accent-ink);
  border-color: rgba(7, 193, 96, 0.35);
  background: var(--accent-weak);
}

.post-header-link:active {
  transform: scale(0.96);
}

@media (max-width: 560px) {
  .post-header-link span {
    display: none;
  }

  .post-header-link {
    width: 36px;
    padding: 0;
    justify-content: center;
  }
}

/* ===== 面包屑 ===== */
.post-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 22px;
  color: var(--text-mute);
  font-size: 12.5px;
}

.post-breadcrumb a {
  color: var(--text-mute);
  transition: color 0.16s var(--ease);
}

.post-breadcrumb a:hover {
  color: var(--accent-ink);
}

.post-breadcrumb .sep {
  color: var(--text-mute);
  opacity: 0.6;
  font-size: 10px;
}

.post-breadcrumb [aria-current="page"] {
  color: var(--text-soft);
}

/* ===== 文章 Hero ===== */
.post-hero {
  position: relative;
  margin-top: 16px;
  padding: 38px 40px 32px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.post-hero::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(7, 193, 96, 0.14) 0%,
    rgba(7, 193, 96, 0) 70%
  );
  pointer-events: none;
}

.post-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.post-hero-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.post-hero h1 {
  margin-top: 12px;
  max-width: 760px;
  color: var(--text);
  font-size: clamp(26px, 4.2vw, 38px);
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.post-hero-lead {
  margin-top: 12px;
  max-width: 680px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.85;
}

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.post-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface-raised);
  color: var(--text-soft);
  font-size: 12px;
}

.post-meta-chip i {
  color: var(--accent-ink);
  font-size: 11px;
}

.post-meta-chip.is-local {
  border-color: rgba(7, 193, 96, 0.28);
  background: var(--accent-weak);
  color: var(--accent-ink);
}

.post-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.post-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition:
    background 0.18s var(--ease),
    color 0.18s var(--ease),
    border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    transform 0.12s var(--ease);
}

.post-btn:active {
  transform: scale(0.97);
}

.post-btn-primary {
  background: var(--accent);
  color: #f2fff6;
  box-shadow: 0 8px 20px -10px rgba(7, 193, 96, 0.6);
}

.post-btn-primary:hover {
  background: var(--accent-press);
  box-shadow: 0 10px 24px -10px rgba(7, 193, 96, 0.7);
}

:root[data-theme="dark"] .post-btn-primary {
  color: var(--on-accent);
}

.post-btn-ghost {
  background: var(--surface-raised);
  border-color: var(--border-strong);
  color: var(--text-soft);
}

.post-btn-ghost:hover {
  color: var(--accent-ink);
  border-color: rgba(7, 193, 96, 0.35);
  background: var(--accent-weak);
}

/* ===== 正文布局：目录 + 文章 ===== */
.post-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 760px);
  gap: 44px;
  justify-content: center;
  align-items: start;
  margin-top: 38px;
}

.post-toc {
  position: sticky;
  top: 86px;
}

.post-toc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 0 12px;
  color: var(--text-mute);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.post-toc ol {
  border-left: 1px solid var(--border);
}

.post-toc li {
  list-style: none;
}

.post-toc a {
  display: block;
  padding: 7px 12px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--text-mute);
  font-size: 13px;
  line-height: 1.5;
  transition:
    color 0.16s var(--ease),
    border-color 0.16s var(--ease),
    background 0.16s var(--ease);
}

.post-toc a:hover {
  color: var(--accent-ink);
}

.post-toc a.is-active {
  color: var(--accent-ink);
  border-left-color: var(--accent);
  background: var(--accent-weak);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-weight: 600;
}

.post-toc-mobile {
  display: none;
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  padding: 4px 16px;
}

.post-toc-mobile summary {
  padding: 12px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  list-style: none;
}

.post-toc-mobile summary::-webkit-details-marker {
  display: none;
}

.post-toc-mobile summary::before {
  content: "\f0ca";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 8px;
  color: var(--accent-ink);
  font-size: 12px;
}

.post-toc-mobile ol {
  padding: 4px 0 14px 4px;
}

.post-toc-mobile a {
  display: block;
  padding: 6px 0;
  color: var(--text-soft);
  font-size: 13.5px;
}

.post-toc-mobile a:hover {
  color: var(--accent-ink);
}

/* ===== 正文排版 ===== */
.post-article {
  min-width: 0;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.92;
}

.post-section {
  scroll-margin-top: 84px;
}

.post-section + .post-section {
  margin-top: 44px;
}

.post-section > h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
  color: var(--text);
  font-size: 23px;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.post-section > h2::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 22px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), #06ad56);
}

.post-section h3 {
  margin: 26px 0 8px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
}

.post-section h3 i {
  margin-right: 8px;
  color: var(--accent-ink);
  font-size: 15px;
}

.post-article p {
  margin: 12px 0;
  color: var(--text-soft);
}

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

.post-article a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-decoration-color: rgba(7, 193, 96, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.16s var(--ease);
}

.post-article a:hover {
  text-decoration-color: var(--accent);
}

.post-article ul,
.post-article ol {
  margin: 12px 0;
  padding-left: 4px;
}

.post-article ul li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
  list-style: none;
  color: var(--text-soft);
}

.post-article ul li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.82em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.75;
}

.post-article li strong {
  color: var(--text);
}

.post-article code {
  padding: 2px 7px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 0.86em;
  word-break: break-all;
}

.post-blockcode {
  margin: 16px 0;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface-2);
  overflow-x: auto;
}

.post-blockcode pre {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.8;
  color: var(--text);
}

.post-blockcode .code-comment {
  color: var(--text-mute);
}

/* ===== 提示卡片（info / tip / warn） ===== */
.post-callout {
  display: flex;
  gap: 13px;
  margin: 18px 0;
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--r);
  background: var(--surface);
}

.post-callout i {
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--accent-ink);
  font-size: 15px;
}

.post-callout p {
  margin: 0;
  font-size: 14px;
}

.post-callout p + p {
  margin-top: 6px;
}

.post-callout.is-tip {
  border-left-color: #36a9e8;
}

.post-callout.is-tip i {
  color: #2b93d1;
}

.post-callout.is-warn {
  border-left-color: #e8913a;
}

.post-callout.is-warn i {
  color: #d97722;
}

.post-callout.is-warn strong,
.post-callout.is-tip strong {
  color: var(--text);
}

/* ===== 步骤卡片 ===== */
.post-steps {
  display: grid;
  gap: 14px;
  margin: 20px 0 6px;
  counter-reset: poststep;
}

.post-step {
  position: relative;
  padding: 20px 22px 18px 68px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.post-step:hover {
  border-color: rgba(7, 193, 96, 0.32);
  transform: translateY(-2px);
}

.post-step::before {
  counter-increment: poststep;
  content: counter(poststep);
  position: absolute;
  left: 20px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-weak);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  border: 1px solid rgba(7, 193, 96, 0.25);
}

.post-step h3 {
  margin: 2px 0 4px;
  font-size: 16px;
}

.post-step p {
  margin: 4px 0;
  font-size: 14px;
}

/* ===== 两栏能力卡片 ===== */
.post-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 6px;
}

.post-feature {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.post-feature:hover {
  border-color: rgba(7, 193, 96, 0.32);
  transform: translateY(-2px);
}

.post-feature-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--accent-weak);
  color: var(--accent-ink);
  font-size: 18px;
  flex: 0 0 auto;
}

.post-feature-head h3 {
  margin: 0;
  font-size: 16.5px;
}

.post-feature-head small {
  display: block;
  margin-top: 2px;
  color: var(--text-mute);
  font-size: 11.5px;
}

.post-feature > p {
  margin: 12px 0 8px;
  font-size: 14px;
}

.post-fields {
  margin-top: auto;
  padding-top: 10px;
}

.post-fields li {
  position: relative;
  padding-left: 20px;
  margin: 7px 0;
  list-style: none;
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.6;
}

.post-fields li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: 2px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--accent);
  font-size: 10px;
}

.post-fields li.optional::before {
  content: "\f054";
  color: var(--text-mute);
  font-size: 9px;
  top: 4px;
}

/* ===== 字段表格 ===== */
.post-table-wrap {
  margin: 18px 0;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow-x: auto;
  background: var(--surface);
}

.post-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 480px;
}

.post-table th,
.post-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.post-table th {
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.post-table td {
  color: var(--text-soft);
  line-height: 1.7;
}

.post-table tr:last-child td {
  border-bottom: 0;
}

.post-table td:first-child {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

/* ===== 按钮操作小标签 ===== */
.post-key {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 1px 9px;
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 7px;
  background: var(--surface-raised);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.post-key i {
  color: var(--accent-ink);
  font-size: 10px;
}

/* ===== FAQ ===== */
.post-faq {
  margin-top: 10px;
}

.post-faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 4px 20px;
  margin: 12px 0;
  transition: border-color 0.2s var(--ease);
}

.post-faq details[open] {
  border-color: rgba(7, 193, 96, 0.3);
}

.post-faq summary {
  cursor: pointer;
  padding: 14px 26px 14px 0;
  position: relative;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  list-style: none;
}

.post-faq summary::-webkit-details-marker {
  display: none;
}

.post-faq summary::after {
  content: "\f078";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 11px;
  color: var(--text-mute);
  transition: transform 0.22s var(--ease);
}

.post-faq details[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
  color: var(--accent-ink);
}

.post-faq details p {
  margin: 0 0 14px;
  font-size: 14px;
}

/* ===== 文末 CTA ===== */
.post-endcta {
  margin-top: 48px;
  padding: 34px 32px;
  text-align: center;
  border: 1px solid rgba(7, 193, 96, 0.22);
  border-radius: var(--r-lg);
  background:
    radial-gradient(
      120% 140% at 50% 0%,
      rgba(7, 193, 96, 0.1),
      transparent 60%
    ),
    var(--surface);
}

.post-endcta h2 {
  margin: 0;
  font-size: 22px;
  color: var(--text);
}

.post-endcta p {
  margin: 10px auto 22px;
  max-width: 520px;
  color: var(--text-soft);
  font-size: 14px;
}

.post-endcta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== 文章分页（相关文章 / 返回首页） ===== */
.post-pager {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}

.post-pager a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 13.5px;
  transition:
    color 0.16s var(--ease),
    border-color 0.16s var(--ease),
    background 0.16s var(--ease);
}

.post-pager a:hover {
  color: var(--accent-ink);
  border-color: rgba(7, 193, 96, 0.35);
  background: var(--accent-weak);
}

.post-pager a.is-center {
  margin: 0 auto;
}

/* ===== 反馈渠道卡 ===== */
.post-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 6px;
}

.post-channel {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.post-channel:hover {
  border-color: rgba(7, 193, 96, 0.32);
  transform: translateY(-2px);
}

.post-channel.is-primary {
  border-color: rgba(7, 193, 96, 0.3);
  background:
    radial-gradient(
      130% 120% at 0% 0%,
      rgba(7, 193, 96, 0.08),
      transparent 55%
    ),
    var(--surface);
}

.post-channel-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-channel-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--accent-weak);
  color: var(--accent-ink);
  font-size: 18px;
  flex: 0 0 auto;
}

.post-channel.is-primary .post-channel-icon {
  background: var(--accent);
  color: #f2fff6;
}

:root[data-theme="dark"] .post-channel.is-primary .post-channel-icon {
  color: var(--on-accent);
}

.post-channel-head h3 {
  margin: 0;
  font-size: 16.5px;
}

.post-channel-head small {
  display: block;
  margin-top: 2px;
  color: var(--text-mute);
  font-size: 11.5px;
}

.post-channel > p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--text-soft);
}

.post-channel-meta {
  margin: 8px 0 0;
  padding: 0;
  font-size: 13px;
  color: var(--text-mute);
  word-break: break-all;
}

.post-channel-meta code {
  font-size: 12px;
}

.post-channel-foot {
  margin-top: auto;
  padding-top: 14px;
}

.post-channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(7, 193, 96, 0.35);
  background: var(--accent-weak);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.16s var(--ease),
    border-color 0.16s var(--ease);
}

.post-channel-btn:hover {
  background: rgba(7, 193, 96, 0.2);
  border-color: rgba(7, 193, 96, 0.55);
}

.post-channel.is-primary .post-channel-btn {
  background: var(--accent);
  border-color: transparent;
  color: #f2fff6;
}

:root[data-theme="dark"] .post-channel.is-primary .post-channel-btn {
  color: var(--on-accent);
}

.post-channel.is-primary .post-channel-btn:hover {
  background: var(--accent-press);
}

/* ===== 问题分类索引卡 ===== */
.post-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 6px;
}

.post-topic {
  display: flex;
  gap: 13px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  transition:
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.post-topic:hover {
  border-color: rgba(7, 193, 96, 0.32);
  transform: translateY(-2px);
}

.post-topic-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--accent-weak);
  color: var(--accent-ink);
  font-size: 15px;
}

.post-topic-body {
  min-width: 0;
}

.post-topic-body h3 {
  margin: 2px 0 3px;
  font-size: 15px;
}

.post-topic-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-soft);
}

.post-topic-body a {
  white-space: nowrap;
}

/* ===== 返回顶部 ===== */
.post-top {
  position: fixed;
  right: 26px;
  bottom: 30px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--glass-bg);
  color: var(--accent-ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease),
    background 0.16s var(--ease);
}

.post-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.post-top:hover {
  background: var(--accent);
  color: #f2fff6;
  border-color: transparent;
}

.post-top i {
  font-size: 15px;
}

/* ===== 响应式 ===== */
@media (max-width: 1080px) {
  .post-layout {
    grid-template-columns: minmax(0, 760px);
  }

  .post-toc {
    display: none;
  }

  .post-toc-mobile {
    display: block;
  }
}

@media (max-width: 720px) {
  .post-feature-grid,
  .post-channel-grid,
  .post-topic-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .post-hero {
    padding: 28px 22px 24px;
  }

  .post-layout {
    margin-top: 28px;
  }

  .post-article {
    font-size: 15px;
  }

  .post-section > h2 {
    font-size: 20px;
  }

  .post-step {
    padding: 18px 18px 16px 62px;
  }

  .post-step::before {
    left: 16px;
    top: 18px;
  }

  .post-endcta {
    padding: 28px 20px;
  }

  .post-top {
    right: 16px;
    bottom: 18px;
  }

  .post-pager {
    flex-direction: column;
    align-items: stretch;
  }

  .post-pager a {
    justify-content: center;
  }

  .post-pager a.is-center {
    margin: 0;
  }
}

/* ===== 减弱动效 ===== */
@media (prefers-reduced-motion: reduce) {
  .post-progress,
  .post-feature,
  .post-step,
  .post-channel,
  .post-topic,
  .post-top,
  .post-faq summary::after,
  .post-toc a,
  .post-btn {
    transition: none;
  }

  .post-feature:hover,
  .post-step:hover,
  .post-channel:hover,
  .post-topic:hover {
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
