﻿/* ==========================================================================
 * FishKing Dark V2 — premium.css 分区索引（2026-07-31 整理）
 *
 * 本文件只做分区注释整理：未移动任何规则、未改动任何选择器。
 * 01 令牌与全局基础            :root / scrollbar / html / body / a / :focus-visible
 * 02 顶栏与站点标识            #header / .topbar-shell / .brand-lockup / #logo / .description
 * 03 搜索与主导航              .site-search / #search / #nav-menu
 * 04 首页 Hero                 .hero-panel
 * 05 阅读进度与归档页头        #reading-progress / .archive-header / .breadcrumb
 * 06 列表与组件                .post-loop-grid / .post-cover / .pagination / .post-share /
 *                             .related-posts / .author-box / .footer-links
 * 07 邻近文章与图片灯箱        .post-near / .image-lightbox
 * 08 正文阅读层                .post-content 及其子元素
 * 09 目录与侧栏                .post-outline / #secondary / .widget
 * 10 文章卡片与元信息          .home-post / .post-title / .post-meta / .timeline-content
 * 11 代码块与复制              .code-block-shell / .code-copy-button
 * 12 归档热力图与说说          .archive-page / .archive-heatmap / .shuoshuo-*
 * 13 关于页                    .about-*
 * 14 评论、页脚与错误页        .email-copy / #footer / #comments / .error-page
 * 15 页面跳转按钮              .page-jump / .page-jump-btn
 * 16 交互增强 A/B 档           ::selection / 链接下划线 / 行内代码 / blockquote / 标签 / 进度条 /
 *                             标题字距 / 背景视差 / 光标光晕 / 滚动渐入 / 复制 toast
 * ========================================================================== */
:root {
  --fk-bg: #f5f7f3;
  --fk-surface: #ffffff;
  --fk-ink: #1d2b2d;
  --fk-muted: #5d6d70;
  --fk-soft: #e8f0ec;
  --fk-line: rgba(29, 43, 45, .16);
  --fk-accent: #00d4aa;
  --fk-accent-dim: #007763;
  --fk-accent-bright: #008a74;
  --fk-warm: #ff4d6d;
  --fk-warm-dim: #b3264b;
  --fk-warm-bright: #e03d62;
  --fk-motion-fast: 140ms;
  --fk-motion-base: 220ms;
  --fk-motion-slow: 360ms;
  --fk-ease-out: cubic-bezier(.16, 1, .3, 1);
  --fk-ease-smooth: cubic-bezier(.22, .61, .36, 1);
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--fk-accent);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 58px;
}

/* Keep wide content scrollable inside its own component, never at page level. */
img,
video,
iframe {
  max-width: 100%;
}

table {
  max-width: 100%;
}

pre {
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
}

pre code {
  min-width: 0;
}

a,
#logo,
.post-title a {
  color: var(--fk-ink);
}

a:hover,
a:active,
.post-title a:hover {
  color: var(--fk-accent-bright);
}

:focus-visible {
  outline: 2px solid var(--fk-accent);
  outline-offset: 4px;
}

/* ===== 02 顶栏与站点标识 ===== */
#header {
  position: relative;
  padding: 28px 0 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

  .topbar-shell {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(29, 43, 45, .14);
  background: rgba(251, 252, 248, .84);
  box-shadow: 0 8px 24px rgba(35, 74, 70, .08);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transition: transform .28s ease, opacity .28s ease;
    will-change: transform, opacity;
  }

  .topbar-shell.is-scroll-compact > .container {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .topbar-shell .description {
    max-height: 2em;
    overflow: hidden;
    transition: opacity .2s ease, transform .28s ease, max-height .28s ease;
  }

  .topbar-shell.is-scroll-compact .description {
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
  }

  .topbar-shell .site-name,
  .topbar-shell #nav-menu,
  .topbar-shell .site-search {
    transition: transform .28s cubic-bezier(.2, .8, .2, 1);
  }

  .topbar-shell.is-scroll-compact .site-name {
    transform: translateX(-10px);
  }

  .topbar-shell.is-scroll-compact #nav-menu,
  .topbar-shell.is-scroll-compact .site-search {
    transform: translateX(10px);
  }.topbar-shell > .container {
  transition: padding .28s ease;
  padding-top: 13px;
  padding-bottom: 13px;
}

#header::after {
  display: none;
}

#header > .container,
#body > .container {
  position: relative;
  z-index: 1;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  float: none;
  width: 32%;
  box-sizing: border-box;
}

.site-avatar {
  display: block;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 170, .28);
  border-radius: 50%;
  background: var(--fk-surface);
}

.site-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  min-width: 0;
}

.topbar-shell > .container > .row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0;
}

#logo {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  font-size: 1.95rem;
  font-weight: 700;
  letter-spacing: -.05em;
}

.description {
  margin: 0;
  color: var(--fk-muted);
  font-size: .8rem;
  font-style: normal;
}

/* ===== 03 搜索与主导航 ===== */
.site-search {
  position: relative;
  display: flex;
  flex: 0 0 210px;
  width: 210px;
  justify-content: flex-end;
}

#search {
  width: 40px;
  height: 38px;
  margin-top: 0;
}

#search input {
  position: absolute;
  top: 0;
  right: 0;
  width: 210px;
  height: 38px;
  padding: 0 42px 0 14px;
  border: 1px solid var(--fk-line);
  border-radius: 999px;
  background: transparent;
  color: var(--fk-ink);
  opacity: 0;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .28s ease, opacity .2s ease, border-color .2s ease;
}

#search button {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 40px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fk-muted);
  cursor: pointer;
  direction: ltr;
  font-size: 0;
  text-indent: -9999px;
}

#search button::before,
#search button::after {
  position: absolute;
  display: block;
  content: "";
  transition: border-color .2s ease, background-color .2s ease;
}

#search button::before {
  top: 10px;
  left: 11px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

#search button::after {
  top: 24px;
  left: 25px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

#search:hover input,
#search:focus-within input {
  opacity: 1;
  pointer-events: auto;
  transform: scaleX(1);
}

#search:hover input,
#search:focus-within input,
#search input:focus {
  border-color: rgba(0, 212, 170, .55);
  outline: none;
}

#search:hover button,
#search:focus-within button {
  color: var(--fk-accent-bright);
}

#nav-menu {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  border: 0;
}

#nav-menu a {
  float: none;
  height: auto;
  padding: 0;
  border: 0;
  color: var(--fk-muted);
  font-size: .86rem;
  line-height: 1.6;
}

#nav-menu a:hover,
#nav-menu .current {
  background: none;
  color: var(--fk-accent-bright);
}

/* ===== 04 首页 Hero ===== */
.hero-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(100svh - 128px);
  padding: clamp(68px, 12vh, 132px) 0 clamp(76px, 12vh, 124px);
  box-sizing: border-box;
  border-bottom: 0;
  background: transparent;
  overflow: hidden;
}

.hero-panel::before,
.hero-panel::after {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-panel .eyebrow,
.hero-panel h1,
.hero-panel .hero-description,
.hero-panel .hero-actions {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-content-enter .72s cubic-bezier(.2, .8, .2, 1) forwards;
}
.hero-panel .hero-description { animation-delay: .28s; }
.hero-panel .hero-actions { animation-delay: .42s; }

@keyframes hero-content-enter {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-decoration-enter {
  to { opacity: 1; }
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--fk-accent-bright);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .2em;
}.hero-panel h1 {
  animation-delay: .12s;
  margin: 0;
  color: var(--fk-ink);
  font-family: "STKaiti", "KaiTi", "FZKai-Z03", "SimKai", serif;
  font-size: clamp(2.4rem, 6vw, 5.3rem);
  font-weight: 500;
  letter-spacing: -.075em;
  line-height: 1.05;
}

.hero-quote-line {
  display: inline-block;
  min-height: 1.05em;
}

.hero-quote-line.is-typing::after {
  display: inline-block;
  width: 2px;
  height: .9em;
  margin-left: 7px;
  vertical-align: -.06em;
  background: var(--fk-accent);
  content: "";
  animation: hero-typing-caret 1s steps(1, end) infinite;
}

@keyframes hero-typing-caret {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

.hero-quote-accent {
  background: none;
  color: var(--fk-accent-bright);
}

.hero-quote-line:not(.hero-quote-accent) {
  background: none;
  color: var(--fk-warm-bright);
}

.hero-description {
  max-width: 34rem;
  margin: 22px 0 0;
  color: var(--fk-muted);
  font-size: .98rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.hero-button {
  display: inline-flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--fk-accent-bright);
  color: var(--fk-accent-bright);
  font-size: .86rem;
}

.hero-button:hover {
  transform: translateX(4px);
}

.hero-button span {
  font-size: 1rem;
}

.hero-status {
  color: var(--fk-muted);
  font-size: .78rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel::before,
  .hero-panel::after,
  .hero-panel .eyebrow,
  .hero-panel h1,
  .hero-panel .hero-description,
  .hero-panel .hero-actions {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ===== 05 阅读进度与归档页头 ===== */
/* Theme architecture v2: structural modules, preserving the existing visual system. */
#reading-progress {
  position: absolute;
  z-index: 3;
  top: calc(100% + 1px);
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

#reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--fk-accent), var(--fk-warm));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.archive-header,
.breadcrumb,
.post-share,
.related-posts,
.author-box {
  margin-bottom: 28px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--fk-muted);
  font-size: .84rem;
}

.breadcrumb a,
.footer-links a {
  color: var(--fk-accent-bright);
}

/* ===== 06 列表与组件 ===== */
.post-loop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.post-loop-grid .home-post {
  margin: 0;
}

.post-cover {
  display: block;
  width: 100%;
  max-height: 320px;
  margin-bottom: 18px;
  border-radius: 4px;
  object-fit: cover;
}

.pagination {
  clear: both;
}

.inline-toc {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid var(--fk-line);
  background: rgba(0, 212, 170, .04);
}

.post-share,
.related-posts,
.author-box {
  padding: 22px;
  border: 1px solid var(--fk-line);
  background: rgba(255, 255, 255, .32);
}

.post-share h2,
.related-posts h2,
.author-box h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.post-share-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.post-share-links a,
.post-share-links button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--fk-line);
  border-radius: 50%;
  background: transparent;
  color: var(--fk-ink);
  font: inherit;
  cursor: pointer;
}

.post-share-links svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.post-share-links a:hover,
.post-share-links button:hover,
.post-share-links button.is-copied {
  border-color: var(--fk-accent);
  color: var(--fk-accent-bright);
}

.copy-permalink {
  position: relative;
  perspective: 420px;
}

.copy-permalink .share-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: transform var(--fk-motion-slow) var(--fk-ease-out),
              opacity var(--fk-motion-base) var(--fk-ease-out),
              color var(--fk-motion-base) var(--fk-ease-out);
  backface-visibility: hidden;
}

.copy-permalink .share-icon-check {
  transform: rotateY(180deg);
  color: var(--fk-accent);
}

.copy-permalink:hover .share-icon-link,
.copy-permalink:focus-visible .share-icon-link {
  transform: rotate(360deg);
}

.copy-permalink.is-copied .share-icon-link {
  transform: rotateY(180deg);
  opacity: 0;
}

.copy-permalink.is-copied .share-icon-check {
  transform: rotateY(0deg);
}

.related-posts ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-posts li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--fk-line);
}

.related-posts li:last-child {
  border-bottom: 0;
}

.related-posts time {
  flex: 0 0 auto;
  color: var(--fk-muted);
  font-size: .82rem;
}

.author-box {
  display: flex;
  align-items: center;
  gap: 18px;
}

.author-box img {
  flex: 0 0 auto;
  border-radius: 50%;
}

.author-box p {
  margin: 0 0 8px;
}

/* ===== 07 邻近文章与图片灯箱 ===== */
.post-near > div {
  flex: 1 1 0;
  padding: 18px;
  border: 1px solid var(--fk-line);
}

.post-near-next {
  text-align: right;
}

.footer-links {
  align-items: center;
}

.post-content.has-lightbox img:not(a img) {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: none;
  place-items: center;
  padding: 48px;
  background: rgba(7, 11, 13, .9);
}

.image-lightbox.is-open {
  display: grid;
}

.image-lightbox figure {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  margin: 0;
  text-align: center;
}

.image-lightbox img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.image-lightbox figcaption {
  margin-top: 10px;
  color: #f5f6f2;
}

.image-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

body.has-open-lightbox {
  overflow: hidden;
}

@media (max-width: 767px) {
  .post-loop-grid {
    grid-template-columns: 1fr;
  }

  .related-posts li,
  .author-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .image-lightbox {
    padding: 20px;
  }
}

.post-content p {
  margin: 0 0 1.3em;
}

.post-content > :last-child {
  margin-bottom: 0;
}

.post-content h4 {
  margin: 1.5em 0 .45em;
  color: var(--fk-warm-bright);
  font-size: 1.1rem;
}

.post-content strong,
.post-content b {
  color: #162426;
  font-weight: 700;
}

.post-content a {
  color: var(--fk-accent-dim);
  border-bottom: 1px solid rgba(0, 119, 99, .34);
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}

.post-content a:hover {
  color: var(--fk-warm-dim);
  border-bottom-color: currentColor;
}

.post-content ul,
.post-content ol {
  margin: 0 0 1.35em;
  padding-left: 1.65em;
}

.post-content li {
  margin: .35em 0;
  padding-left: .2em;
}

.post-content li::marker {
  color: var(--fk-accent);
  font-weight: 700;
}

.post-content blockquote p:last-child {
  margin-bottom: 0;
}

.post-content pre code,
.post-content pre[class*="language-"] code {
  display: block;
  min-width: max-content;
  padding: 0;
  background: transparent;
  color: #1d2b2d;
  font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
  font-size: .88rem;
  line-height: 1.7;
}

.post-content tr:nth-child(even) td {
  background: rgba(0, 212, 170, .035);
}

.post-content figure {
  margin: 1.6em 0;
}

.post-content figcaption {
  margin-top: -.9em;
  color: var(--fk-muted);
  font-size: .8rem;
  text-align: center;
}

.post-content kbd {
  padding: .12em .4em;
  border: 1px solid var(--fk-line);
  background: var(--fk-surface);
  box-shadow: 0 1px 0 var(--fk-line);
  color: #526466;
  font-family: inherit;
  font-size: .82em;
}

@media (max-width: 767px) {
  .post-content {
    font-size: 1rem;
    line-height: 1.85;
  }

  .post-content pre {
    margin-right: -2px;
    margin-left: -2px;
    padding: 1em;
  }

  .post-content th,
  .post-content td {
    padding: .55em .65em;
  }
}

@keyframes bgDrift {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

.post-near li {
  flex: 1 1 0;
  min-width: 0;
  padding: 16px 20px;
  border: 1px solid var(--fk-line);
  border-radius: 0;
  background: rgba(255, 255, 255, .86);
}

.post-nav-label {
  display: block;
  color: var(--fk-muted);
  font-size: .75rem;
}

.post-near a {
  display: block;
  margin-top: 4px;
  color: var(--fk-ink);
  font-weight: 500;
}

.post-near a:hover {
  color: var(--fk-accent-bright);
}

.post-outline.is-near-comments {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 767px) {
  #nav-menu {
    max-width: calc(100vw - 20px);
    gap: 14px;
    padding-bottom: 12px;
    mask-image: linear-gradient(to right, black 80%, transparent 98%);
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 98%);
    scrollbar-width: none;
  }

  #nav-menu::-webkit-scrollbar {
    display: none;
  }

  .hero-panel {
    min-height: 60vh;
    padding: 40px 0 60px;
  }

  .post-near {
    flex-direction: column;
    gap: 12px;
  }
}

.hero-status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--fk-accent);
}

#body {
  border: 0;
  background: transparent;
}

#body > .container > .row {
  display: flex;
  align-items: flex-start;
  gap: 54px;
  padding-top: 48px;
}

#main {
  float: none;
  width: calc(100% - 270px);
  padding: 0;
  scroll-margin-top: 58px;
}

#secondary {
  float: none;
  width: 216px;
  margin: 0;
  padding: 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--fk-line);
}

.section-heading h2 {
  margin: 0;
  color: var(--fk-ink);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -.05em;
}

.section-count {
  color: var(--fk-muted);
  font-size: .75rem;
}

.post,
.post-single {
  margin: 0;
  padding: 30px 0 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.post-title {
  margin: 3px 0 8px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.25;
}

.post-single > .post-title {
  margin: 0 0 18px;
  font-size: clamp(2.15rem, 3.5vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -.06em;
}

.post-meta {
  margin: 0 0 15px;
  color: var(--fk-muted);
  font-size: .75rem;
}

.post-meta li {
  margin-right: 9px;
  padding-left: 0;
  border: 0;
}.post-content {
  color: #1d2b2d;
  font-size: 1rem;
  line-height: 1.95;
  overflow-wrap: anywhere;
}

.post-read-more {
  display: inline-flex;
  gap: 10px;
  margin-top: 16px;
  color: var(--fk-accent-bright);
  font-size: .82rem;
}

.home-post-link {
  display: block;
  width: 100%;
  color: inherit;
  border: 0;
  text-decoration: none;
}

.home-post-link:hover {
  color: inherit;
}

.home-post {
  position: relative;
  padding: 30px 18px 34px;
  border: 1px solid transparent;
  border-radius: 0;
  transition: transform .22s cubic-bezier(.2, .8, .2, 1), background-color .22s ease, border-color .22s ease, box-shadow .22s ease;
  transform-origin: center top;
}

/* 悬停响应已迁移到下方“文章卡片”区块的墨线描边；这里仅保留层级提升与按下反馈 */
.home-post:hover,
.home-post:focus-within {
  z-index: 3;
}

.home-post:active,
.home-post:has(.home-post-link:active) {
  box-shadow: 0 5px 14px rgba(0, 0, 0, .18);
  transform: translateY(1px) scale(.988);
  transition-duration: .08s;
}

.home-post-link:focus-visible {
  outline: 2px solid var(--fk-accent);
  outline-offset: 5px;
  border-radius: 0;
}.home-post + .home-post {
  border-top: 1px solid var(--fk-line);
  border-top-color: var(--fk-line);
}

.home-post .post-meta,
.timeline-content .post-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
  margin-bottom: 0;
}

.home-post .post-meta .post-category-tag,
.timeline-content .post-meta .post-category-tag {
  margin-left: 0;
}

.post-meta .post-category-tag {
  display: inline-block;
  margin-left: 12px;
  padding: 1px 8px;
  border: 1px solid rgba(255, 77, 109, .58);
  border-radius: 999px;
  color: var(--fk-warm-bright);
  font-size: .7rem;
  line-height: 1.55;
}

.post-category-tag a {
  color: inherit;
  border-bottom: 0;
}

.post-read-more:hover {
  transform: translateX(4px);
}.post-content h1, .post-content h2, .post-content h3, .post-content h4 {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  line-height: 1.35;
  letter-spacing: -.035em;
  color: var(--fk-ink);
  font-weight: 600;
}
.post-content img, .post-content video, .post-content iframe {
  display: block;
  margin: 1.5em 0;
  border: 1px solid var(--fk-line);
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.code-copy-button {
  position: absolute;
  top: 8px;
  z-index: 1;
  right: 10px;
  opacity: 0;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: var(--fk-muted);
  font: inherit;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .65rem;
  line-height: 1.35;
  cursor: pointer;
  transition: opacity .18s ease, color .18s ease;
}

.code-block-shell:hover .code-copy-button,
.code-block-shell:focus-within .code-copy-button {
  opacity: 1;
}.post-content pre code {
  display: block;
  min-width: max-content;
  padding-top: 18px;
  background: transparent;
  cursor: text;
}

/* Prevent inherited button rules from changing the compact copy control. */
.code-block-shell .code-copy-button {
  min-height: 0;
  width: auto;
  box-sizing: border-box;
}.code-copy-state {
  display: none;
  padding: 2px 7px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .65rem;
  line-height: 1.35;
  pointer-events: none;
}

.post-content code {
  background: #e8f0ec;
  color: #007763;
}

/* Prism tokens mapped to a readable light-theme palette. */
.post-content pre[class*="language-"],
.post-content code[class*="language-"] {
  color: #1d2b2d;
  text-shadow: none;
}

.post-content code[class*="language-"] {
  background: transparent;
}

.post-content .token.comment,
.post-content .token.prolog,
.post-content .token.doctype,
.post-content .token.cdata {
  color: #5f7d68;
}

.post-content .token.punctuation,
.post-content .token.operator {
  color: #526466;
}

.post-content .token.namespace,
.post-content .token.class-name,
.post-content .token.builtin,
.post-content .token.type-declaration {
  color: #007763;
}

.post-content .token.keyword,
.post-content .token.atrule,
.post-content .token.tag,
.post-content .token.selector {
  color: #9b3f56;
}

.post-content .token.boolean,
.post-content .token.constant,
.post-content .token.symbol,
.post-content .token.number {
  color: #a85a00;
}

.post-content .token.string,
.post-content .token.char,
.post-content .token.attr-value,
.post-content .token.regex {
  color: #a04c37;
}

.post-content .token.function,
.post-content .token.function-variable {
  color: #007763;
}

.post-content .token.variable,
.post-content .token.property,
.post-content .token.attr-name {
  color: #2e5f81;
}

.post-content .token.important,
.post-content .token.deleted {
  color: #b3264b;
}

.post-content .token.inserted {
  color: #a85a00;
}

.post-content .token.entity,
.post-content .token.url {
  color: #176f8d;
}

.post-content table::-webkit-scrollbar {
  height: 7px;
}

.post-content table::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
}

.post-content table::-webkit-scrollbar-thumb {
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: rgba(0, 212, 170, .72);
}

.post-content table::-webkit-scrollbar-thumb:hover {
  background: var(--fk-accent);
}.post-content th, .post-content td {
  padding: .65em .85em;
  border: 1px solid var(--fk-line);
  text-align: left;
  vertical-align: top;
  border-color: var(--fk-line);
}

/* ===== 12 归档热力图与说说 ===== */
.archive-page {
  padding-top: 8px;
}

.archive-page > .post-title {
  margin-bottom: 28px;
}

.archive-years {
  display: grid;
  gap: 28px;
}

.archive-year {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--fk-line);
}

.archive-year h3 {
  margin: 0;
  color: var(--fk-warm-bright);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.archive-months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.archive-months a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
  color: var(--fk-muted);
  border-bottom: 1px solid transparent;
}

.archive-months a:hover {
  border-bottom-color: var(--fk-accent-bright);
  color: var(--fk-accent-bright);
}

.archive-months small {
  color: var(--fk-muted);
  font-size: .72rem;
}

.archive-heatmap-wrap {
  margin: 18px 0 10px;
  padding: 18px;
  border: 1px solid var(--fk-line);
  border-radius: 0;
  background: rgba(255, 255, 255, .72);
}

.archive-month-summary {
  margin: 22px 0 36px;
}

.archive-month-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.archive-month-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--fk-line);
  color: var(--fk-muted);
  font-size: .8rem;
  text-decoration: none;
}

a.archive-month-card:hover {
  border-bottom-color: var(--fk-accent-bright);
  color: var(--fk-accent-bright);
}

a.archive-month-card {
  border: 1px solid transparent;
  border-radius: 0;
  transition: transform .22s cubic-bezier(.2, .8, .2, 1), background-color .22s ease, border-color .22s ease, box-shadow .22s ease;
}

a.archive-month-card:hover,
a.archive-month-card:focus-visible {
  border-color: rgba(0, 212, 170, .32);
  background: rgba(0, 212, 170, .06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  transform: translateY(-2px) scale(1.018);
}

a.archive-month-card:active {
  box-shadow: 0 4px 10px rgba(0, 0, 0, .14);
  transform: translateY(1px) scale(.988);
  transition-duration: .08s;
}

.archive-month-card strong {
  color: var(--fk-ink);
  font-weight: 500;
}

.archive-heatmap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--fk-muted);
  font-size: .75rem;
}

.heatmap-legend {
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 0;
}

.archive-heatmap {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  overflow-x: auto;
  padding: 2px 1px 8px;
  scrollbar-color: rgba(0, 212, 170, .72) rgba(255, 255, 255, .9);
  scrollbar-width: thin;
}

.archive-heatmap::-webkit-scrollbar {
  height: 7px;
}

.archive-heatmap::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
}

.archive-heatmap::-webkit-scrollbar-thumb {
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: rgba(0, 212, 170, .72);
}

.archive-heatmap::-webkit-scrollbar-thumb:hover {
  background: var(--fk-accent);
}

.heatmap-week {
  display: grid;
  align-items: start;
  flex: 0 0 auto;
  gap: 4px;
  grid-template-rows: repeat(7, 12px);
}

.heatmap-cell {
  display: block;
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  border-radius: 3px;
  background: #e1f0ee;
  border: 1px solid rgba(29, 43, 45, .08);
  cursor: default;
}

a.heatmap-cell {
  cursor: pointer;
  border-bottom: 0;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

a.heatmap-cell:hover {
  transform: scale(1.25);
  box-shadow: 0 0 0 2px var(--fk-bg), 0 0 0 3px var(--fk-accent);
}

.heatmap-cell.level-1 {
  background: #fbd9dc;
}

.heatmap-cell.level-2 {
  background: #f3aeb5;
}

.heatmap-cell.level-3 {
  background: #ed7f8c;
}

.heatmap-cell.level-4 {
  background: #ff4d6d;
}

/* Category heading and first card need breathing room before hover scaling. */
.archive-title {
  margin: 0 0 30px;
  padding-top: 20px;
  color: var(--fk-ink);
  font-size: 1.15rem;
}

.heatmap-legend .heatmap-cell {
  display: block;
  flex: 0 0 11px;
  width: 11px;
  height: 11px;
  margin: 0;
}

.archive-summary {
  color: var(--fk-muted);
  font-size: .8rem;
}

.shuoshuo-item .post-content {
  max-width: 46rem;
}

.empty-state {
  color: var(--fk-muted);
}

/* ===== 13 关于页 ===== */
.about-page > .post-title {
  margin-bottom: 28px;
}

.about-intro {
  max-width: 48rem;
}

.about-lead {
  color: var(--fk-ink);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  font-size: 1.35rem;
  line-height: 1.6;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin: 44px 0;
}

.about-block {
  padding-top: 18px;
  border-top: 1px solid var(--fk-line);
}

.about-block h2 {
  margin: 0 0 14px;
  color: var(--fk-ink);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.about-block ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--fk-muted);
}

.about-block li {
  margin: 4px 0;
}

.about-projects {
  margin-top: 18px;
}

.about-project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-project-list span {
  padding: 5px 10px;
  border: 1px solid rgba(0, 212, 170, .32);
  border-radius: 999px;
  color: var(--fk-accent-bright);
  font-size: .78rem;
}

.about-custom-content {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--fk-line);
}

/* Full-width about page. */

.about-page-view .description {
  display: none;
}

.about-redesign {
  padding-top: clamp(42px, 8vw, 92px);
}

.about-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--fk-line);
}

.about-hero .post-title {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
}

.about-hero-note {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-bottom: 8px;
  color: var(--fk-muted);
  font-size: .78rem;
  white-space: nowrap;
}

.about-hero-avatar {
  width: clamp(76px, 9vw, 112px);
  height: clamp(76px, 9vw, 112px);
  overflow: hidden;
  border: 1px solid var(--fk-line);
  background: var(--fk-soft);
  box-shadow: 10px 10px 0 rgba(0, 212, 170, .08);
}

.about-hero-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-learning {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.about-wide-copy {
  max-width: 52rem;
  margin: 42px 0 68px;
  color: var(--fk-muted);
  font-size: 1.08rem;
  line-height: 2;
}

.about-wide-copy p {
  margin: 0 0 18px;
}

.about-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 76px;
}

.about-info-block {
  min-height: 220px;
  padding: 20px 22px 24px 0;
  border-top: 1px solid var(--fk-line);
}

.about-info-block h2,
.about-practice h2,
.about-now h2 {
  margin: 0 0 16px;
  color: var(--fk-ink);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.about-info-block p,
.about-info-block li,
.about-now > p {
  color: var(--fk-muted);
  font-size: .9rem;
  line-height: 1.85;
}

.about-info-block ul {
  margin: 0;
  padding-left: 1.1rem;
}

.about-info-block li {
  margin: 5px 0;
}

.about-practice {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr);
  gap: 42px;
  margin-bottom: 72px;
  padding: 28px 0;
  border-top: 1px solid var(--fk-line);
  border-bottom: 1px solid var(--fk-line);
}

.about-practice-list {
  display: grid;
  gap: 0;
}

.about-practice-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(203, 225, 228, .08);
}

.about-practice-item:last-child {
  border-bottom: 0;
}

.about-practice-item strong {
  color: var(--fk-warm-bright);
  font-size: .9rem;
  font-weight: 600;
}

.about-practice-item span {
  color: var(--fk-muted);
  font-size: .88rem;
}

.about-now > p {
  margin: 0;
  max-width: 44rem;
}

.article-timeline {
  position: relative;
  margin: 30px 0 0 18px;
  padding-left: 32px;
}

.article-timeline::before {
  position: absolute;
  top: 16px;
  bottom: 36px;
  left: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--fk-accent-dim), var(--fk-line));
  content: "";
}

.timeline-entry {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  border: 0;
}

/* 悬停响应已迁移到下方“文章卡片”区块的墨线描边；这里仅保留层级提升与按下反馈 */
.timeline-entry:not(:has(.timeline-node:hover)):hover .timeline-content,
.timeline-entry:not(:has(.timeline-node:focus-visible)):focus-within .timeline-content {
  z-index: 3;
}

.timeline-entry:not(:has(.timeline-node:active)):active .timeline-content,
.timeline-entry:has(.timeline-entry-link:active) .timeline-content {
  box-shadow: 0 5px 14px rgba(0, 0, 0, .18);
  transform: translateY(1px) scale(.988);
  transition-duration: .08s;
}

.timeline-entry-link:focus-visible {
  outline: 2px solid var(--fk-accent);
  outline-offset: 5px;
  border-radius: 0;
}

.timeline-node-wrap {
  position: absolute;
  top: 28px;
  left: -40px;
  z-index: 2;
}

.timeline-node {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border: 3px solid var(--fk-bg);
  border-radius: 50%;
  background: var(--fk-warm);
  color: transparent;
  cursor: help;
  box-shadow: 0 0 0 1px rgba(255, 77, 109, .58), 0 0 0 6px rgba(255, 77, 109, .08);
  transition: background-color 1s var(--fk-ease-smooth), box-shadow 1s var(--fk-ease-smooth);
}

/* 悬停：青绿圆环从 12 点钟方向顺时针扫出并覆盖红环 */
@property --fk-sweep {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

@keyframes fk-ring-sweep {
  from {
    --fk-sweep: 0;
  }
  to {
    --fk-sweep: 360;
  }
}

.timeline-node::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from -90deg, var(--fk-accent) 0 var(--fk-sweep), transparent var(--fk-sweep) 360deg);
  opacity: 0;
  pointer-events: none;
}

.timeline-node::after {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  padding: 6px 11px;
  border: 1px solid rgba(0, 212, 170, .32);
  border-radius: 8px;
  background: var(--fk-surface);
  color: var(--fk-accent-dim);
  content: attr(data-date);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transform: translate(-5px, -50%);
  box-shadow: 0 8px 20px rgba(0, 119, 99, .14);
  transition: opacity var(--fk-motion-fast) var(--fk-ease-out), transform var(--fk-motion-fast) var(--fk-ease-out);
}

.timeline-node:hover::after,
.timeline-node:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.timeline-node:hover::before,
.timeline-node:focus-visible::before {
  animation: fk-ring-sweep 1s var(--fk-ease-smooth) forwards;
  opacity: 1;
}

.timeline-node:hover,
.timeline-node:focus-visible {
  background-color: var(--fk-accent);
  box-shadow: 0 0 0 1px rgba(0, 212, 170, .58), 0 0 0 6px rgba(0, 212, 170, .10);
}.timeline-entry-link {
  border-radius: 12px;
  display: block;
  width: 100%;
  color: inherit;
  border: 0;
  text-decoration: none;
}

.timeline-entry-link:hover {
  color: inherit;
}

.timeline-content .post-title {
  margin-top: 0;
}

.timeline-content .post-meta {
  margin-bottom: 0;
}

.shuoshuo-timeline {
  position: relative;
  margin: 34px 0 0 8px;
  padding-left: 34px;
}

.shuoshuo-timeline::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 1px;
  background: var(--fk-line);
  content: "";
}

.shuoshuo-entry {
  position: relative;
  margin: 0 0 36px;
}

.shuoshuo-time-wrap {
  position: absolute;
  top: 0;
  left: -34px;
  width: 1px;
}

.shuoshuo-time-wrap::before {
  position: absolute;
  top: 7px;
  left: -4px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--fk-bg);
  border-radius: 50%;
  background: var(--fk-accent);
  box-shadow: 0 0 0 4px rgba(0, 212, 170, .10);
  content: "";
}

.shuoshuo-time {
  display: block;
  width: 150px;
  margin-left: -184px;
  padding-top: 1px;
  color: var(--fk-accent-bright);
  font-size: .76rem;
  line-height: 1.5;
  text-align: right;
  white-space: nowrap;
}

.shuoshuo-time-absolute {
  display: none;
  color: var(--fk-muted);
}

.shuoshuo-entry-link {
  display: block;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--fk-line);
  color: inherit;
  text-decoration: none;
}

.shuoshuo-entry-link:hover {
  color: inherit;
}

.shuoshuo-entry-link .post-content {
  margin: 0;
}

/* The public "说说" page reuses the article timeline geometry and interaction. */
.shuoshuo-article-timeline .shuoshuo-entry {
  margin: 0;
}

.shuoshuo-article-timeline .shuoshuo-entry-link {
  width: 100%;
  padding: 0;
  border: 0;
}

.shuoshuo-article-timeline .shuoshuo-time {
  width: 16px;
  height: 16px;
  margin-left: 0;
  padding-top: 0;
  color: transparent;
  font-size: 0;
  line-height: 1;
  text-align: left;
  white-space: normal;
}

.shuoshuo-article-timeline .shuoshuo-time-relative,
.shuoshuo-article-timeline .shuoshuo-time-absolute {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

#secondary .widget {
  margin: 0 0 30px;
  padding: 0 0 22px;
  border: 0;
  border-bottom: 1px solid var(--fk-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#secondary a,
#secondary a:hover,
#secondary a:focus-visible {
  border-bottom: 0;
  text-decoration: none;
}

#secondary .post-outline {
  border-bottom: 0;
}

.sidebar-quote {
  margin: 0 0 28px;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--fk-line);
}

.sidebar-quote p {
  margin: 0;
  color: var(--fk-accent-bright);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  font-size: .98rem;
  font-style: italic;
  line-height: 1.8;
  letter-spacing: .03em;
}.post-outline {
  transition: opacity .28s ease, visibility .28s ease;
  position: fixed;
  top: 168px;
  right: max(12px, calc((100vw - 960px) / 2 - 36px));
  z-index: 20;
  width: 216px;
  max-height: calc(100vh - 154px);
  overflow-y: auto;
}

.outline-list {
  margin: 0;
  padding: 8px 0 8px 20px;
  border-left: 1px solid var(--fk-line);
  list-style: none;
}

.outline-list li {
  position: relative;
  margin: 0;
  padding: 8px 0 8px 20px;
  line-height: 1.55;
}

.outline-list li::before {
  position: absolute;
  top: 14px;
  left: -5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fk-accent);
  content: "";
}

.outline-list a {
  display: block;
  color: var(--fk-muted);
  font-size: .78rem;
  overflow-wrap: anywhere;
  border-bottom: 0;
  text-decoration: none;
}

.outline-list a:hover {
  color: var(--fk-accent-bright);
}

.outline-list a.is-active {
  color: var(--fk-accent-bright);
  font-weight: 600;
}

.outline-empty {
  margin: 8px 0 0;
  color: var(--fk-muted);
  font-size: .78rem;
}

.outline-list li.is-active::before {
  width: 8px;
  height: 8px;
  top: 13px;
  left: -6px;
  box-shadow: 0 0 0 4px rgba(0, 212, 170, .12);
}

.outline-level-3 {
  padding-left: 30px;
}

.outline-level-4 {
  padding-left: 40px;
}

.widget-title {
  margin: 0 0 12px;
  color: var(--fk-ink);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.widget-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.widget-list li {
  padding: 5px 0;
  border: 0;
  color: var(--fk-muted);
  font-size: .8rem;
  line-height: 1.6;
}

.widget-list a {
  color: var(--fk-muted);
}

.widget-list a:hover {
  color: var(--fk-accent-bright);
}

/* ===== 14 评论、页脚与错误页 ===== */
.email-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  width: 100%;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--fk-muted);
  cursor: pointer;
  text-align: left;
}

.email-copy:hover,
.email-copy.is-copied {
  color: var(--fk-accent-bright);
}

.email-copy small {
  margin-top: 2px;
  color: var(--fk-muted);
  font-size: .68rem;
}

#footer {
  max-width: 960px;
  margin: 50px auto 0;
  padding: 25px 10px 42px;
  border-top: 1px solid var(--fk-line);
  color: var(--fk-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner strong {
  display: block;
  color: var(--fk-ink);
}

.footer-inner span,
.footer-meta {
  font-size: .75rem;
}

.post-near,
#comments {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--fk-line);
}.post-near {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  padding-left: 0;
  list-style: none;
}

#comments h3,
.respond h3 {
  color: var(--fk-ink);
}

#comments input,
#comments textarea {
  border-color: var(--fk-line);
  border-radius: 6px;
  background: var(--fk-surface);
  color: var(--fk-ink);
}

/* Comment form: keep controls quiet and consistent with the light theme. */
#comment-form p {
  margin: 0 0 16px;
}

#comment-form label {
  display: block;
  margin: 0 0 7px;
  color: var(--fk-muted);
  font-size: .78rem;
  letter-spacing: .04em;
}

#comment-form input,
#comment-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid var(--fk-line);
  border-radius: 8px;
  background: var(--fk-surface);
  color: var(--fk-ink);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

#comment-form input:focus,
#comment-form textarea:focus {
  outline: none;
  border-color: rgba(0, 212, 170, .78);
  background: var(--fk-surface);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, .10);
}

#comment-form textarea {
  min-height: 170px;
  resize: vertical;
}

#comment-form p:last-child {
  margin-top: 20px;
  margin-bottom: 0;
}

#comment-form button.submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border: 1px solid var(--fk-accent-dim) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--fk-accent-dim) !important;
  font: inherit;
  font-size: .86rem;
  line-height: 1.2;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

#comment-form button.submit:hover,
#comment-form button.submit:focus-visible {
  outline: none;
  border-color: var(--fk-accent-dim) !important;
  background: var(--fk-accent-dim) !important;
  color: var(--fk-bg) !important;
  transform: translateY(-1px);
}

.comment-list li,
.comment-list li.comment-level-odd,
.comment-list li.comment-level-even {
  border-color: var(--fk-line);
  background: var(--fk-surface);
  color: var(--fk-ink);
}

.comment-list li.comment-by-author {
  background: rgba(0, 212, 170, .08);
}

.comment-author,
.comment-author cite,
.comment-content,
.comment-meta,
.comment-list li .comment-reply {
  color: var(--fk-ink);
}

.comment-author img {
  width: 48px;
  height: 48px;
  margin-right: 12px;
  border: 1px solid var(--fk-line);
  border-radius: 12px;
  vertical-align: middle;
}

.comment-meta a,
.comment-list li .comment-reply a {
  color: var(--fk-muted);
  border-bottom: 0;
}

.comment-list .respond {
  border-top-color: var(--fk-line);
}

/* 404 search card */
.error-page {
  position: relative;
  isolation: isolate;
  max-width: 720px;
  margin: clamp(64px, 12vw, 150px) auto;
  padding: clamp(26px, 5vw, 52px);
  overflow: hidden;
  border: 1px solid var(--fk-line);
  border-radius: 0;
  background:
    radial-gradient(circle at 100% 0, rgba(0, 212, 170, .12), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(245, 247, 243, .94));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .24);
}

.error-page::before {
  position: absolute;
  top: -120px;
  right: -90px;
  z-index: -1;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(0, 212, 170, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(0, 212, 170, .025), 0 0 0 64px rgba(0, 212, 170, .018);
  content: "";
}

.error-page .post-title {
  margin-top: 0;
  color: var(--fk-ink);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.error-page > p {
  margin: 12px 0 0;
  color: var(--fk-muted);
}

.error-page form {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 24px;
}

.error-page form p {
  margin: 0;
}

.error-page form p:first-child {
  flex: 1 1 auto;
}

.error-page form input[type="text"] {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 16px;
  border: 1px solid var(--fk-line);
  border-radius: 0;
  background: var(--fk-surface);
  color: var(--fk-ink);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.error-page form input[type="text"]::placeholder {
  color: var(--fk-muted);
}

.error-page form input[type="text"]:focus {
  outline: none;
  border-color: rgba(0, 212, 170, .78);
  background: var(--fk-surface);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, .10);
}

.error-page form button.submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--fk-accent-dim) !important;
  border-radius: 0 !important;
  background: var(--fk-accent-dim) !important;
  color: var(--fk-bg) !important;
  font: inherit;
  font-size: .88rem;
  line-height: 1.2;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.error-page form button.submit:hover,
.error-page form button.submit:focus-visible {
  outline: none;
  border-color: #ffdce3 !important;
  background: #ffdce3 !important;
  color: var(--fk-ink) !important;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  body {
    padding-top: 112px;
  }

  html {
    scroll-padding-top: 126px;
  }

  
  #header {
    padding-top: 18px;
  }

  .topbar-shell > .container > .row {
    display: block;
    min-width: 0;
  }

  
  .brand-lockup {
    display: flex;
    width: auto;
  }

  
  .description {
    display: block;
  }

  .site-search.kit-hidden-tb {
    position: absolute;
    top: 18px;
    right: 10px;
    display: block;
    width: 40px;
  }

  #nav-menu {
    min-width: 0;
    max-width: calc(100vw - 20px);
    justify-content: flex-start;
    gap: 18px;
    margin-top: 22px;
    padding-bottom: 8px;
    overflow-x: auto;
    white-space: nowrap;
  }

  #search:hover input,
  #search:focus-within input {
    width: min(210px, calc(100vw - 32px));
  }

  .hero-panel {
    min-height: 0;
    min-height: calc(100svh - 92px);
    padding: 56px 0 64px;
  }

  .error-page {
    margin: 52px 0;
    padding: 26px 18px;
    border-radius: 0;
  }

  .error-page form {
    flex-direction: column;
  }

  .error-page form button.submit {
    width: 100%;
  }

  .hero-panel::before {
    top: 8%;
    right: -8rem;
    width: min(26rem, 90vw);
    height: min(26rem, 90vw);
  }

  .hero-panel::after {
    left: -12rem;
    width: min(34rem, 110vw);
    height: min(34rem, 110vw);
  }

  .hero-panel h1 {
    font-size: 2.5rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  #body > .container > .row {
    display: block;
    padding-top: 30px;
  }

  #main,
  #secondary {
    width: 100%;
  }

  #main {
    scroll-margin-top: 126px;
  }

  #secondary {
    margin-top: 34px;
  }

  .section-heading {
    display: block;
  }

  .section-count {
    display: block;
    margin-top: 4px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .archive-year {
    display: block;
  }

  .archive-year h3 {
    margin-bottom: 10px;
  }

  .archive-months {
    grid-template-columns: 1fr;
  }

  .archive-heatmap-wrap {
    padding: 12px;
  }

  .archive-month-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 32px 0;
  }

  .archive-heatmap-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .article-timeline {
    margin-left: 10px;
    padding-left: 25px;
  }

  .shuoshuo-timeline {
    margin-left: 10px;
    padding-left: 25px;
  }

  .shuoshuo-time {
    position: relative;
    width: auto;
    margin: 0 0 12px;
    padding: 0;
    text-align: left;
  }

  .shuoshuo-time-wrap {
    position: static;
    width: auto;
  }

  .shuoshuo-time-wrap::before {
    top: 6px;
    left: -29px;
  }

  .post-outline {
    position: static;
    width: auto;
    max-height: none;
    margin-top: 56px;
  }

  .timeline-node-wrap {
    left: -33px;
  }

  .timeline-node::after {
    display: none;
  }

  .timeline-node::before {
    display: none;
  }

  .timeline-node {
    color: var(--fk-muted);
    font-size: .65rem;
    line-height: 1;
    text-indent: 23px;
    white-space: nowrap;
  }

  .about-redesign {
    padding-top: 30px;
  }

  .about-hero,
  .about-practice,
  .about-now {
    display: block;
  }

  .about-hero-note {
    margin-top: 24px;
  }

  .about-wide-copy {
    margin: 32px 0 48px;
    font-size: 1rem;
  }

  .about-info-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 48px;
  }

  .about-info-block {
    min-height: 0;
    padding: 22px 0 26px;
  }

  .about-practice {
    margin-bottom: 48px;
    padding: 24px 0;
  }

  .about-practice-heading {
    margin-bottom: 16px;
  }

  .about-now > p {
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Final Markdown color override: keep readable dark ink after all legacy rules. */
.post-content,
.post-content p,
.post-content li,
.post-content dd,
.post-content dt {
  color: #1d2b2d;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content strong,
.post-content b {
  color: #162426 !important;
}.post-content em, .post-content i {
  color: #405456 !important;
}

.post-content blockquote,
.post-content blockquote p {
  color: #405456 !important;
}

.post-content pre,
.post-content pre code,
.post-content code[class*="language-"] {
  background: #f0f4f2;
  color: #1d2b2d;
}.post-content code:not(pre code) {
  padding: .12em .38em;
  border: 1px solid rgba(0, 212, 170, .16);
  border-radius: 0;
  font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
  font-size: .88em;
  background: #e8f0ec;
  color: #007763;
  display: inline-block;
  transition: color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.post-content code:not(pre code):hover {
  background: var(--fk-warm);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 3px 3px 0 rgba(255, 77, 109, .16);
}body {
  background: radial-gradient(circle at 78% 18%, rgba(0, 212, 170, .12), transparent 32%),
    radial-gradient(circle at 14% 78%, rgba(255, 77, 109, .08), transparent 28%),
    linear-gradient(180deg, #fbfcf8 0%, #f5f7f3 55%, #eef4ef 100%);
  background-attachment: fixed;
  color: var(--fk-ink);
  padding-top: 76px;
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
  background-size: 200% 200%;
  animation: bgDrift 30s ease-in-out infinite alternate;
  position: relative;
  isolation: isolate;
}

body::before {
  top: 11vh;
  right: 8vw;
  width: min(30vw, 360px);
  height: min(30vw, 360px);
  border: 1px solid rgba(0, 212, 170, .28);
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(0, 212, 170, .16) 50%, transparent 50.5%),
    linear-gradient(transparent 49.5%, rgba(0, 212, 170, .16) 50%, transparent 50.5%),
    rgba(0, 212, 170, .035);
  background-size: 36px 36px;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  opacity: .72;
  animation: geometry-diamond 25s ease-in-out infinite alternate;
}

body::after {
  bottom: 12vh;
  left: 7vw;
  width: min(18vw, 220px);
  height: min(18vw, 220px);
  border: 1px solid rgba(255, 77, 109, .32);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 28%, rgba(255, 77, 109, .08) 29% 30%, transparent 31%),
    radial-gradient(circle at 50% 50%, transparent 0 58%, rgba(255, 77, 109, .12) 59% 60%, transparent 61%);
  opacity: .7;
  animation: geometry-orbit 32s linear infinite;
}

#header,
#body,
#footer {
  position: relative;
  z-index: 1;
}

@keyframes geometry-diamond {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(-28px, 24px, 0) rotate(9deg); }
}

@keyframes geometry-orbit {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(32px, -18px, 0) rotate(180deg); }
  100% { transform: translate3d(0, 0, 0) rotate(360deg); }
}

@media (max-width: 767px) {
  body::before {
    top: 20vh;
    right: -18vw;
    width: 52vw;
    height: 52vw;
  }

  body::after {
    bottom: 14vh;
    left: -10vw;
    width: 34vw;
    height: 34vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none !important;
  }
}body::before, body::after {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  content: "";
  display: none;
}

#fk-ripple-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: .82;
}html, body, * {
  scrollbar-color: transparent transparent;
  scrollbar-width: thin;
}
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
*::-webkit-scrollbar-track {
  border-radius: 999px;
  background: transparent;
}
*::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: transparent;
  background-clip: padding-box;
}

#nav-menu:hover,
pre:hover,
.post-content table:hover,
.archive-heatmap:hover,
.post-outline:hover {
  scrollbar-color: rgba(0, 212, 170, .78) rgba(232, 240, 236, .72);
}

#nav-menu:hover::-webkit-scrollbar-track,
pre:hover::-webkit-scrollbar-track,
.post-content table:hover::-webkit-scrollbar-track,
.archive-heatmap:hover::-webkit-scrollbar-track,
.post-outline:hover::-webkit-scrollbar-track {
  background: rgba(232, 240, 236, .72);
}

#nav-menu:hover::-webkit-scrollbar-thumb,
pre:hover::-webkit-scrollbar-thumb,
.post-content table:hover::-webkit-scrollbar-thumb,
.archive-heatmap:hover::-webkit-scrollbar-thumb,
.post-outline:hover::-webkit-scrollbar-thumb {
  border-color: rgba(232, 240, 236, .72);
  background: linear-gradient(180deg, #00d4aa, #ff4d6d);
}

#nav-menu:hover::-webkit-scrollbar,
#nav-menu:hover::-webkit-scrollbar-thumb {
  display: block;
}

@media (max-width: 767px) {
  #nav-menu:hover {
    scrollbar-width: thin;
  }
}

/* About page placeholder sections. Replace the sample copy with personal content. */
.about-social {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.about-social a {
  color: var(--fk-muted);
  border-bottom: 1px solid transparent;
  font-size: .9rem;
  transition: color .2s, border-color .2s;
}

.about-social a:hover {
  color: var(--fk-accent-bright);
  border-bottom-color: var(--fk-accent-bright);
}

.about-skills {
  margin: 48px 0 32px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 16px;
}

.skill-tags span {
  padding: 4px 18px;
  border: 1px solid var(--fk-accent-dim);
  border-radius: 999px;
  background: transparent;
  color: var(--fk-accent-bright);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: background .2s, color .2s;
}

.skill-tags span:hover {
  background: var(--fk-accent);
  color: var(--fk-bg);
}

.about-timeline {
  margin: 48px 0 32px;
}

.timeline-list {
  margin-top: 20px;
  padding-left: 28px;
  border-left: 2px solid var(--fk-accent-dim);
}

.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-date {
  flex: 0 0 90px;
  padding-top: 2px;
  color: var(--fk-warm-bright);
  font-size: .85rem;
  font-weight: 600;
}.timeline-content {
  padding: 26px 18px 32px;
  border: 1px solid transparent;
  border-bottom-color: var(--fk-line);
  transition: transform .22s cubic-bezier(.2, .8, .2, 1);
  transform-origin: center top;
  min-width: 0;
  flex: 1;
}

.timeline-content strong {
  display: block;
  color: var(--fk-ink);
  font-size: 1rem;
}

.timeline-content p {
  margin: 4px 0 0;
  color: var(--fk-muted);
  font-size: .88rem;
  line-height: 1.7;
}.about-now {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr);
  gap: 42px;
  margin: 48px 0 18px;
  padding-top: 28px;
  border-top: 1px solid var(--fk-line);
}

.about-now > div:last-child p {
  margin: 0 0 12px;
  color: var(--fk-muted);
  font-size: .95rem;
}

.about-now .email-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--fk-accent-bright);
  cursor: pointer;
  font-size: .9rem;
}

.about-now .email-copy small {
  padding: 0 8px;
  border: 1px solid var(--fk-line);
  border-radius: 999px;
  color: var(--fk-muted);
  font-size: .7rem;
  transition: all .2s;
}

.about-now .email-copy:hover small {
  border-color: var(--fk-accent);
  background: var(--fk-accent);
  color: var(--fk-bg);
}

.about-social .email-copy {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fk-muted);
  cursor: pointer;
  font: inherit;
  font-size: .9rem;
  transition: color .2s, transform .2s;
}

.about-social .email-copy:hover,
.about-social .email-copy.is-copied {
  color: var(--fk-accent-bright);
  transform: translateY(-1px);
}

.about-social .email-copy small {
  display: none;
}.about-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fk-accent);
  box-shadow: 0 0 0 5px rgba(0, 212, 170, .12);
  animation: about-pulse-breathe 2.4s ease-in-out infinite;
}

@keyframes about-pulse-breathe {
  0%, 100% {
    opacity: .72;
    transform: scale(.88);
    box-shadow: 0 0 0 4px rgba(0, 212, 170, .08);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
    box-shadow: 0 0 0 8px rgba(0, 212, 170, .2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-pulse {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767px) {
  .about-skills,
  .about-timeline {
    margin: 32px 0 24px;
  }

  .timeline-list {
    padding-left: 16px;
  }

  .timeline-item {
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
  }

  .timeline-date {
    flex: 0 0 auto;
    font-size: .8rem;
  }

  .about-now {
    display: block;
    margin: 32px 0 12px;
    padding-top: 20px;
  }

  .about-now > div:last-child {
    margin-top: 16px;
  }

  .about-social {
    gap: 16px;
  }
}

/* Integrated Markdown layer: Typora-inspired details, adapted to FishKing. */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  position: relative;
  transition: color .25s ease, transform .25s ease, background-color .3s ease;
}.post-content h1 {
  margin: 2.2em 0 .7em;
  font-size: clamp(1.9rem, 4vw, 2.65rem);
  padding-bottom: .55em;
  border-bottom: 0;
}

.post-content h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  background: var(--fk-warm);
  transition: width .35s ease;
}

.post-content h1:hover::after {
  width: 120px;
}.post-content h2 {
  margin: 2em 0 .7em;
  padding-bottom: .28em;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  width: auto;
  padding: 0 0 .3em 13px;
  border: 0;
  border-left: 3px solid var(--fk-accent);
  border-bottom: 1px solid var(--fk-line);
  background: transparent;
  transition: color .25s ease, transform .25s ease, border-color .25s ease;
}

.post-content h2:hover {
  background: transparent;
  color: var(--fk-accent-bright);
  transform: translateX(3px);
  border-left-color: var(--fk-warm);
  box-shadow: none;
}.post-content h3 {
  margin: 1.7em 0 .55em;
  color: var(--fk-accent-bright);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  padding-left: 14px;
}

.post-content h3::before {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: 0;
  width: 4px;
  background: var(--fk-warm);
  transition: width .25s ease;
}

.post-content h3:hover {
  padding-left: 18px;
  color: var(--fk-warm-bright);
}

.post-content h3:hover::before {
  width: 6px;
}

.post-content h4,
.post-content h5,
.post-content h6 {
  padding-left: 17px;
}

.post-content h4::before,
.post-content h5::before,
.post-content h6::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  box-sizing: border-box;
  transform: translateY(-50%);
  transition: transform .25s ease, box-shadow .25s ease;
}

.post-content h4::before {
  background: var(--fk-warm);
}

.post-content h5::before {
  border: 2px solid var(--fk-accent);
}

.post-content h6::before {
  width: 11px;
  height: 2px;
  background: var(--fk-accent);
}

.post-content h4:hover::before,
.post-content h5:hover::before {
  transform: translateY(-50%) scale(1.25);
  box-shadow: 0 0 0 3px rgba(255, 77, 109, .12);
}.post-content blockquote {
  position: relative;
  margin: 2em 0;
  border: 0;
  border-radius: 0;
  font-style: italic;
  margin-left: 0;
  padding: 5px 0 5px 20px;
  border-left: 2px solid var(--fk-accent-dim);
  color: #526466;
  overflow: hidden;
  padding-left: 1.25em;
  background: rgba(0, 212, 170, .065);
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.post-content blockquote::before {
  font-family: Georgia, serif;
  font-style: normal;
  position: absolute;
  top: 12px;
  left: 20px;
  color: var(--fk-accent);
  font-size: 2.4rem;
  line-height: 1;
  content: none;
  display: none;
}

.post-content blockquote:hover {
  transform: translateX(3px);
  background: rgba(255, 77, 109, .065);
  box-shadow: 6px 6px 0 rgba(255, 77, 109, .06);
}.post-content mark {
  color: #8e3044;
  padding: 0 .16em;
  background: linear-gradient(transparent 58%, rgba(255, 77, 109, .25) 58%);
  transition: background-size .25s ease, color .25s ease;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.post-content mark:hover {
  color: var(--fk-warm-bright);
  background-size: 100% 160%;
}

.post-content em {
  padding: 0 .1em .08em;
  color: var(--fk-accent-bright);
  background-image: linear-gradient(90deg, var(--fk-accent) 50%, transparent 50%);
  background-position: 0 100%;
  background-size: 6px 2px;
  background-repeat: repeat-x;
  transition: color .2s ease, background-size .25s ease;
}

.post-content em:hover {
  color: var(--fk-warm-bright);
  background-size: 3px 2px;
}.post-content hr {
  width: 100%;
  margin: 2.5rem 0;
  height: 2px;
  border: 0;
  background: repeating-linear-gradient(90deg, var(--fk-accent) 0 8px, transparent 8px 14px);
  opacity: .42;
  transform: scaleX(.84);
  transition: transform .3s ease, opacity .25s ease, background-color .25s ease;
}

.post-content hr:hover {
  opacity: .9;
  transform: scaleX(1);
  background: repeating-linear-gradient(90deg, var(--fk-warm) 0 8px, transparent 8px 14px);
}

.post-content img {
  transition: transform .3s ease, box-shadow .3s ease;
}

.post-content img:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 rgba(0, 212, 170, .08);
}

.post-content .task-list-item input[type="checkbox"] {
  appearance: none;
  width: 1.05em;
  height: 1.05em;
  margin: 0 .45em 0 0;
  border: 1px solid var(--fk-accent);
  background: var(--fk-surface);
  vertical-align: -.12em;
  cursor: pointer;
  transition: transform .25s ease, background-color .2s ease, box-shadow .2s ease;
}

.post-content .task-list-item input[type="checkbox"]:checked {
  border-color: var(--fk-warm);
  background: var(--fk-warm);
  box-shadow: 0 0 0 3px rgba(255, 77, 109, .12);
  transform: scale(1.06);
}

.post-content .task-list-item input[type="checkbox"]:checked::after {
  content: "✓";
  display: block;
  color: #fff;
  font-size: .78em;
  line-height: 1.2;
  text-align: center;
}.code-block-shell {
  position: relative;
  border-left: 3px solid var(--fk-accent);
  background: #f4f8f6;
  box-shadow: 6px 6px 0 rgba(0, 212, 170, .06);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.code-block-shell:hover {
  border-left-color: var(--fk-warm);
  transform: translateY(-2px);
  box-shadow: 7px 7px 0 rgba(255, 77, 109, .07);
}.post-content pre {
  max-width: 100%;
  margin: 1.6em 0;
  padding: 1.15em 1.25em;
  box-sizing: border-box;
  line-height: 1.7;
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--fk-line);
  color: #1d2b2d;
  border-radius: 0;
  background: #f4f8f6;
  box-shadow: none;
}

.code-language,
.code-copy-button {
  padding: 3px 7px;
  border: 0;
  background: transparent;
  line-height: 1.35;
}.code-language {
  position: absolute;
  top: 8px;
  left: 10px;
  z-index: 1;
  padding: 2px 0;
  border: 0;
  background: transparent;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .65rem;
  line-height: 1.35;
  pointer-events: none;
  color: var(--fk-accent-bright);
  letter-spacing: .03em;
  text-transform: lowercase;
}
.code-copy-button:hover, .code-copy-button:focus-visible {
  outline: none;
  background: rgba(255, 77, 109, .1);
  color: var(--fk-warm-bright);
  transform: translateY(-1px);
}
.code-copy-button.is-copied {
  opacity: 1;
  background: transparent;
  color: var(--fk-accent-bright);
  animation: code-copy-pop .36s cubic-bezier(.25, .8, .25, 1);
}

@keyframes code-copy-pop {
  0% {
    opacity: .55;
    transform: scale(.9);
  }
  55% {
    opacity: 1;
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}.post-content table {
  width: max-content;
  min-width: 100%;
  max-width: 100%;
  margin: 1.6em 0;
  color: #1d2b2d;
  display: block;
  overflow-x: auto;
  border-color: var(--fk-line);
  white-space: nowrap;
  scrollbar-color: rgba(0, 212, 170, .72) rgba(255, 255, 255, .9);
  scrollbar-width: thin;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--fk-line);
  box-shadow: 5px 5px 0 rgba(0, 212, 170, .05);
}
.post-content th {
  font-weight: 700;
  background: rgba(0, 212, 170, .11);
  color: var(--fk-accent-bright);
}

.post-content tr {
  transition: background-color .2s ease;
}

.post-content tr:hover {
  background: rgba(255, 77, 109, .05);
}

@media (prefers-reduced-motion: reduce) {
  .post-content h1,
  .post-content h2,
  .post-content h3,
  .post-content h4,
  .post-content h5,
  .post-content h6,
  .post-content blockquote,
  .post-content img,
  .post-content hr,
  .code-block-shell {
    transition: none;
  }

  .code-copy-button.is-copied {
    animation: none;
  }
}

/* ===== codeTheme：暗色代码主题（body.code-theme-dark，2026-07-31 实现）=====
 * 面板深底 #0f1b1e，正文浅色；token 对比度均 ≥4.5:1。
 * 亮色代码主题由上方全局规则提供（body.code-theme-light 无额外覆盖）。 */
body.code-theme-dark .post-content pre,
body.code-theme-dark .post-content pre code,
body.code-theme-dark .post-content code[class*="language-"] {
  background: #0f1b1e;
  color: #dce6ea;
  border-color: rgba(0, 212, 170, .28);
}

body.code-theme-dark .post-content pre code {
  background: transparent;
}

body.code-theme-dark .code-language {
  color: #7fe8d4;
}

body.code-theme-dark .code-copy-button {
  color: #71888d;
}

body.code-theme-dark .code-copy-button:hover,
body.code-theme-dark .code-copy-button:focus-visible {
  color: #ff9db2;
}

body.code-theme-dark .code-copy-button.is-copied {
  color: #7fe8d4;
}

body.code-theme-dark .post-content .token.comment,
body.code-theme-dark .post-content .token.prolog,
body.code-theme-dark .post-content .token.doctype,
body.code-theme-dark .post-content .token.cdata {
  color: #71888d;
}

body.code-theme-dark .post-content .token.punctuation {
  color: #9fb6bb;
}

body.code-theme-dark .post-content .token.property,
body.code-theme-dark .post-content .token.tag,
body.code-theme-dark .post-content .token.boolean,
body.code-theme-dark .post-content .token.number,
body.code-theme-dark .post-content .token.constant,
body.code-theme-dark .post-content .token.symbol,
body.code-theme-dark .post-content .token.deleted {
  color: #ffd28a;
}

body.code-theme-dark .post-content .token.selector,
body.code-theme-dark .post-content .token.attr-name,
body.code-theme-dark .post-content .token.string,
body.code-theme-dark .post-content .token.char,
body.code-theme-dark .post-content .token.builtin,
body.code-theme-dark .post-content .token.inserted {
  color: #ff9db2;
}

body.code-theme-dark .post-content .token.operator,
body.code-theme-dark .post-content .token.entity,
body.code-theme-dark .post-content .token.url,
body.code-theme-dark .post-content .token.variable {
  color: #8fd0ff;
}

body.code-theme-dark .post-content .token.atrule,
body.code-theme-dark .post-content .token.attr-value,
body.code-theme-dark .post-content .token.keyword,
body.code-theme-dark .post-content .token.class-name,
body.code-theme-dark .post-content .token.function,
body.code-theme-dark .post-content .token.function-variable,
body.code-theme-dark .post-content .token.type-declaration {
  color: #7fe8d4;
}

body.code-theme-dark .post-content .token.regex,
body.code-theme-dark .post-content .token.important {
  color: #ff9db2;
}

body.code-theme-dark .post-content pre::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 170, .45);
}

/* ===== 17 悬停与动效（2026-07-31 新增，全部 transform/opacity/background-size/shadow）===== */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: .3s;
  animation-timing-function: var(--fk-ease-out);
}

/* 公共：下划线划入（导航/页脚/侧栏链接） */
#nav-menu a,
.footer-links a,
.widget-list a,
.outline-list a {
  position: relative;
  text-decoration: none;
}

#nav-menu a::after,
.footer-links a::after,
.widget-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--fk-motion-base) var(--fk-ease-out);
}

#nav-menu a:hover::after,
#nav-menu .current::after,
#nav-menu a:focus-visible::after,
.footer-links a:hover::after,
.footer-links a:focus-visible::after,
.widget-list a:hover::after,
.widget-list a:focus-visible::after {
  transform: scaleX(1);
}

#nav-menu a:hover,
#nav-menu a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.widget-list a:hover,
.widget-list a:focus-visible {
  color: var(--fk-accent-bright);
}

/* 站点头像与品牌 */
.site-avatar img {
  transition: transform var(--fk-motion-base) var(--fk-ease-out), box-shadow var(--fk-motion-base) var(--fk-ease-out);
}

.site-avatar:hover img,
.site-avatar:focus-visible img {
  transform: scale(1.06);
  box-shadow: 0 0 0 5px rgba(0, 212, 170, .16);
}

#logo {
  transition: letter-spacing var(--fk-motion-slow) var(--fk-ease-out), color var(--fk-motion-base) var(--fk-ease-out);
}

#logo:hover,
#logo:focus-visible {
  color: var(--fk-warm-bright);
  letter-spacing: .02em;
}

/* 搜索声呐环（悬停触发一次） */
@keyframes fk-sonar {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 77, 109, .38);
  }
  100% {
    box-shadow: 0 0 0 9px rgba(255, 77, 109, 0);
  }
}

#search:hover button::before {
  animation: fk-sonar .6s var(--fk-ease-out) 1;
}

/* 文章卡片：墨线描边（从鼠标进入方向起笔）+ 标题青绿（主页卡片与文章页时间轴卡片共用） */
@property --fk-card-sweep {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

.home-post,
.timeline-content {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.home-post::before,
.timeline-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(from var(--fk-start, 180deg) at 50% 50%, var(--fk-accent-bright) 0deg calc(var(--fk-card-sweep) * 1deg), transparent calc(var(--fk-card-sweep) * 1deg) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s ease, --fk-card-sweep .5s var(--fk-ease-out);
}

.home-post:hover::before,
.home-post:focus-within::before,
.timeline-entry:not(:has(.timeline-node:hover)):hover .timeline-content::before,
.timeline-entry:not(:has(.timeline-node:focus-visible)):focus-within .timeline-content::before {
  opacity: 1;
}

.home-post:focus-within::before,
.timeline-entry:focus-within .timeline-content::before {
  --fk-card-sweep: 360;
}

.home-post .home-post-link {
  position: relative;
  z-index: 1;
}

.home-post .post-title,
.timeline-content .post-title {
  transition: color var(--fk-motion-base) var(--fk-ease-out);
}

.home-post:hover .post-title,
.home-post:focus-within .post-title,
.timeline-entry:not(:has(.timeline-node:hover)):hover .timeline-content .post-title,
.timeline-entry:not(:has(.timeline-node:focus-visible)):focus-within .timeline-content .post-title {
  color: var(--fk-accent-bright);
}

/* 正文阅读层 */
.post-content h2,
.post-content h3 {
  transition: color .25s ease, transform .25s ease, border-color .25s ease, background-color .35s var(--fk-ease-out);
}

.post-content h2:hover,
.post-content h3:hover {
  background-color: rgba(0, 212, 170, .05);
}

.post-content img:not(a img) {
  transition: transform var(--fk-motion-slow) var(--fk-ease-out), box-shadow var(--fk-motion-slow) var(--fk-ease-out);
}

.post-content img:not(a img):hover {
  transform: scale(1.015);
  box-shadow: 0 10px 26px rgba(0, 119, 99, .12);
}

.post-content tr {
  transition: background-color var(--fk-motion-base) var(--fk-ease-out);
}

.code-block-shell {
  transition: box-shadow var(--fk-motion-slow) var(--fk-ease-out);
}

.code-block-shell:hover {
  box-shadow: 0 14px 34px rgba(0, 119, 99, .12);
}

.code-language {
  transition: opacity var(--fk-motion-fast) var(--fk-ease-out);
}

.code-block-shell:hover .code-language,
.code-block-shell:focus-within .code-language {
  opacity: 0;
}

/* 侧栏目录：悬停墨条滑动 */
.outline-list a::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 10%;
  bottom: 10%;
  width: 3px;
  background: var(--fk-accent-bright);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform var(--fk-motion-base) var(--fk-ease-out);
}

.outline-list a:hover::before,
.outline-list a.is-active::before,
.outline-list a:focus-visible::before {
  transform: scaleY(1);
}

.widget-list li {
  transition: transform var(--fk-motion-base) var(--fk-ease-out);
}

.widget-list li:hover {
  transform: translateX(3px);
}

/* 归档热力图格子 */
.heatmap-cell {
  transition: transform var(--fk-motion-base) var(--fk-ease-out), outline-color var(--fk-motion-base) var(--fk-ease-out);
}

a.heatmap-cell:hover,
a.heatmap-cell:focus-visible {
  transform: scale(1.35);
  outline: 2px solid rgba(255, 77, 109, .55);
  z-index: 1;
}

/* 邮箱复制：珊瑚光环 */
.email-copy {
  transition: color var(--fk-motion-base) var(--fk-ease-out), box-shadow var(--fk-motion-base) var(--fk-ease-out);
}

.email-copy:hover,
.email-copy:focus-visible {
  box-shadow: 0 0 0 5px rgba(255, 77, 109, .10);
}

/* 关于页技术栈标签：以鼠标悬停位置为圆心扩散青绿覆盖标签（1s） */
.skill-tags span {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--fk-motion-base) var(--fk-ease-out), border-color var(--fk-motion-base) var(--fk-ease-out);
}

.skill-tags span::after {
  content: "";
  position: absolute;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  z-index: -1;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--fk-accent-bright);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 2s var(--fk-ease-out), opacity .2s ease;
}

.skill-tags span:hover::after,
.skill-tags span:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.skill-tags span:hover,
.skill-tags span:focus-visible {
  background: transparent;
  color: #fff;
  border-color: var(--fk-accent-bright);
}

/* 页脚 */
.footer-links a {
  transition: color var(--fk-motion-base) var(--fk-ease-out);
}

/* Hero 一次性进场编排（默认可见；JS 失败或 reduced-motion 时保持可见） */
@keyframes fk-hero-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.is-entered .hero-panel .section-kicker {
  animation: fk-hero-in .5s var(--fk-ease-out) both;
}

.is-entered .hero-description {
  animation: fk-hero-in .5s var(--fk-ease-out) .12s both;
}

.is-entered .hero-button {
  animation: fk-hero-in .5s var(--fk-ease-out) .2s both;
}

.is-entered .hero-status {
  animation: fk-hero-in .5s var(--fk-ease-out) .26s both;
}

/* Hero 指针视差平滑 */
.hero-quote-accent,
.hero-quote-line:not(.hero-quote-accent),
.hero-description {
  transition: transform var(--fk-motion-slow) var(--fk-ease-out);
}

/* 磁吸按钮平滑 */
.hero-button,
.hero-button span {
  transition: transform var(--fk-motion-slow) var(--fk-ease-out);
}

/* ===== 15 页面跳转按钮 ===== */
.page-jump {
  position: fixed;
  left: 18px;
  bottom: 22px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-jump-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(0, 212, 170, .34);
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--fk-accent-bright);
  box-shadow: 0 8px 22px rgba(35, 74, 70, .12);
  cursor: pointer;
  transition: color var(--fk-motion-base) var(--fk-ease-out),
              background-color var(--fk-motion-base) var(--fk-ease-out),
              border-color var(--fk-motion-base) var(--fk-ease-out),
              transform var(--fk-motion-base) var(--fk-ease-out),
              box-shadow var(--fk-motion-base) var(--fk-ease-out);
}

.page-jump-btn svg {
  width: 18px;
  height: 18px;
}

.page-jump-btn:hover,
.page-jump-btn:focus-visible {
  border-color: var(--fk-accent);
  background: var(--fk-accent);
  color: var(--fk-bg);
  box-shadow: 0 10px 26px rgba(0, 119, 99, .22);
  transform: translateY(-1px);
}

.page-jump-btn:active {
  transform: translateY(1px);
  transition-duration: .08s;
}

/* ===== 16 交互增强 A/B 档（2026-08-01）===== */
/* A1 正文链接：下划线自左划入 + 轻微上浮（图片链接不画线） */
.post-content a {
  border-bottom: 0;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: color .2s ease, background-size .28s var(--fk-ease-out), transform .28s var(--fk-ease-out);
}

.post-content a:not(:has(img)):hover {
  color: var(--fk-warm-dim);
  background-size: 100% 1px;
  transform: translateY(-1px);
}

/* A2 行内代码 hover：青绿实底白字 + 上浮（覆盖原珊瑚底） */
.post-content code:not(pre code):hover {
  background: var(--fk-accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 0 rgba(0, 119, 99, .2);
}

/* A3 引用块：左侧竖线由珊瑚渐变青绿，去掉整体位移 */
.post-content blockquote {
  border-left: 0;
  padding-left: 1.25em;
  background: rgba(0, 212, 170, .065);
}

.post-content blockquote::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--fk-warm), var(--fk-accent));
  background-size: 100% 200%;
  background-position: 0 0;
  transition: background-position .45s var(--fk-ease-out);
}

.post-content blockquote:hover::after {
  background-position: 0 100%;
}

.post-content blockquote:hover {
  transform: none;
  background: rgba(0, 212, 170, .09);
  box-shadow: none;
}

/* A4 分类标签：hover 青绿实底白字 + 上浮 */
.post-meta .post-category-tag {
  transition: color .25s var(--fk-ease-out), background-color .25s var(--fk-ease-out),
              border-color .25s var(--fk-ease-out), transform .25s var(--fk-ease-out);
}

.post-meta .post-category-tag:hover {
  border-color: var(--fk-accent);
  background: var(--fk-accent);
  color: #fff;
  transform: translateY(-1px);
}

/* A5 回顶/到底按钮：箭头沿方向弹跳 */
.page-jump-top:hover svg {
  animation: fk-jump-up .5s var(--fk-ease-out) 1;
}

.page-jump-bottom:hover svg {
  animation: fk-jump-down .5s var(--fk-ease-out) 1;
}

@keyframes fk-jump-up {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-3px); }
  60% { transform: translateY(0); }
  80% { transform: translateY(-1px); }
}

@keyframes fk-jump-down {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(3px); }
  60% { transform: translateY(0); }
  80% { transform: translateY(1px); }
}

/* A6 阅读进度条：青绿/珊瑚渐变斜向流动 */
#reading-progress span {
  background: linear-gradient(90deg, var(--fk-accent), var(--fk-warm), var(--fk-accent), var(--fk-warm));
  background-size: 200% 100%;
  animation: fk-progress-flow 3s linear infinite;
}

@keyframes fk-progress-flow {
  from { background-position: 0 0; }
  to { background-position: -200% 0; }
}

/* A7 标题字距微展（卡片标题 + 正文 h2） */
.home-post .post-title,
.timeline-content .post-title {
  transition: color var(--fk-motion-base) var(--fk-ease-out),
              letter-spacing .28s var(--fk-ease-out);
}

.home-post:hover .post-title,
.home-post:focus-within .post-title,
.timeline-entry:not(:has(.timeline-node:hover)):hover .timeline-content .post-title,
.timeline-entry:not(:has(.timeline-node:focus-visible)):focus-within .timeline-content .post-title {
  letter-spacing: .02em;
}

.post-content h2 {
  transition: color .25s ease, transform .25s ease, border-color .25s ease,
              background-color .35s var(--fk-ease-out), letter-spacing .28s ease;
}

.post-content h2:hover {
  letter-spacing: .02em;
}

/* A8 选中文本主题色：正文青绿，引用/代码/标记珊瑚 */
::selection {
  background: var(--fk-accent);
  color: #fff;
}

.post-content blockquote ::selection,
.post-content code ::selection,
.post-content mark ::selection {
  background: var(--fk-warm);
  color: #fff;
}

/* B9 背景几何随鼠标视差：变量叠加进既有 keyframes */
@keyframes geometry-diamond {
  0% {
    transform: translate3d(calc(var(--fk-mouse-x, 0px) * -1), calc(var(--fk-mouse-y, 0px) * -1), 0) rotate(0deg);
  }
  100% {
    transform: translate3d(calc(var(--fk-mouse-x, 0px) * -1 - 28px), calc(var(--fk-mouse-y, 0px) * -1 + 24px), 0) rotate(9deg);
  }
}

@keyframes geometry-orbit {
  0% {
    transform: translate3d(calc(var(--fk-mouse-x, 0px) * .6), calc(var(--fk-mouse-y, 0px) * .6), 0) rotate(0deg);
  }
  50% {
    transform: translate3d(calc(var(--fk-mouse-x, 0px) * .6 + 32px), calc(var(--fk-mouse-y, 0px) * .6 - 18px), 0) rotate(180deg);
  }
  100% {
    transform: translate3d(calc(var(--fk-mouse-x, 0px) * .6), calc(var(--fk-mouse-y, 0px) * .6), 0) rotate(360deg);
  }
}

/* B10 页面级光标青绿光晕（由 motion.js 创建 .fk-pointer-glow） */
.fk-pointer-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 170, .09), transparent 65%);
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: multiply;
  transition: opacity .3s ease;
  will-change: transform;
}

/* B11 滚动渐入（由 motion.js 添加/移除 is-reveal） */
.is-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--fk-ease-out), transform .5s var(--fk-ease-out);
}

.is-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* B12 复制成功全局 toast（由 motion.js 创建 #fk-copy-toast） */
#fk-copy-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1500;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--fk-accent);
  color: var(--fk-bg);
  font-size: .82rem;
  box-shadow: 0 8px 22px rgba(0, 119, 99, .22);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

#fk-copy-toast.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* reduced-motion：新动效全部降级为静态 */
@media (prefers-reduced-motion: reduce) {
  .is-entered .hero-panel .section-kicker,
  .is-entered .hero-description,
  .is-entered .hero-button,
  .is-entered .hero-status {
    animation: none;
  }

  .home-post,
  .home-post::before,
  .timeline-content::before,
  .post-cover,
  .home-post .post-title,
  .home-post .post-meta,
  .timeline-content .post-title,
  .timeline-entry,
  .timeline-node,
  .post-content h2,
  .post-content h3,
  .post-content img:not(a img),
  .post-content tr,
  .code-block-shell,
  .code-language,
  .outline-list a::before,
  .widget-list li,
  .heatmap-cell,
  .email-copy,
  .skill-tags span,
  .skill-tags span::after,
  .footer-links a,
  .hero-quote-accent,
  .hero-quote-line:not(.hero-quote-accent),
  .hero-description,
  .hero-button,
  .hero-button span,
  .page-jump-btn,
  .copy-permalink .share-icon,
  .post-content a,
  .post-content code:not(pre code),
  .post-content blockquote,
  .post-content blockquote::after,
  .post-meta .post-category-tag,
  .home-post .post-title,
  .timeline-content .post-title,
  .fk-pointer-glow,
  #fk-copy-toast {
    transition: none !important;
  }

  #reading-progress span,
  .page-jump-top:hover svg,
  .page-jump-bottom:hover svg,
  .is-reveal {
    animation: none !important;
  }

  .is-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .home-post:hover,
  .timeline-entry:hover,
  a.heatmap-cell:hover,
  .skill-tags span:hover {
    transform: none;
  }

  .timeline-node::before {
    animation: none !important;
    opacity: 0 !important;
  }

  .home-post::before,
  .timeline-content::before {
    --fk-card-sweep: 360;
  }
}
