.emdash-image-media[data-astro-cid-6depetnu] {
  max-width: 100%;
  height: auto;
}
/* A `dark` or `light` class on <html> wins over the system preference. */
	:where(:root.dark) .emdash-image--light {
		display: none;
	}
	:where(:root.light) .emdash-image--dark {
		display: none;
	}
	@media (prefers-color-scheme: dark) {
		:where(:root:not(.light)) .emdash-image--light {
			display: none;
		}
	}
	@media (prefers-color-scheme: light) {
		:where(:root:not(.dark)) .emdash-image--dark {
			display: none;
		}
	}.has-text-align-center[data-astro-cid-44ocxh3s] {
  text-align: center;
}

.has-text-align-right[data-astro-cid-44ocxh3s] {
  text-align: right;
}

.has-text-align-justify[data-astro-cid-44ocxh3s] {
  text-align: justify;
}
.emdash-image[data-astro-cid-nzlefzml] {
  margin: 1.5rem 0;
}

.emdash-image[data-astro-cid-nzlefzml] img[data-astro-cid-nzlefzml] {
  max-width: 100%;
  height: auto;
}

.emdash-image[data-astro-cid-nzlefzml] figcaption[data-astro-cid-nzlefzml] {
  font-size: .875rem;
  color: var(--emdash-caption-color, var(--color-muted, #666));
  margin-top: .5rem;
  text-align: center;
}

.emdash-image--align-left[data-astro-cid-nzlefzml], .emdash-image--align-right[data-astro-cid-nzlefzml] {
  width: fit-content;
  max-width: 50%;
}

.emdash-image--align-left[data-astro-cid-nzlefzml] {
  float: left;
  margin: 0 1.5rem 1rem 0;
}

.emdash-image--align-right[data-astro-cid-nzlefzml] {
  float: right;
  margin: 0 0 1rem 1.5rem;
}

.emdash-image--align-center[data-astro-cid-nzlefzml] {
  width: fit-content;
  margin-inline: auto;
}

.emdash-image--align-wide[data-astro-cid-nzlefzml], .emdash-image--align-full[data-astro-cid-nzlefzml] {
  width: 100%;
}

@media (width <= 640px) {
  .emdash-image--align-left[data-astro-cid-nzlefzml], .emdash-image--align-right[data-astro-cid-nzlefzml] {
    float: none;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }
}
.emdash-code[data-astro-cid-dgremz56] {
  margin: 1.5rem 0;
}

.emdash-code-filename[data-astro-cid-dgremz56] {
  font-size: .75rem;
  font-family: monospace;
  background: #2d2d2d;
  color: #ccc;
  padding: .5rem 1rem;
  border-radius: .5rem .5rem 0 0;
}

.emdash-code[data-astro-cid-dgremz56] pre[data-astro-cid-dgremz56] {
  margin: 0;
  padding: 1rem;
  background: #1e1e1e;
  border-radius: .5rem;
  overflow-x: auto;
}

.emdash-code-filename[data-astro-cid-dgremz56] + pre[data-astro-cid-dgremz56] {
  border-radius: 0 0 .5rem .5rem;
}

.emdash-code[data-astro-cid-dgremz56] code[data-astro-cid-dgremz56] {
  font-family: Fira Code, Consolas, monospace;
  font-size: .875rem;
  color: #e0e0e0;
}
.emdash-embed[data-astro-cid-n4v2ghzc] {
  margin: 1.5rem 0;
}

.emdash-embed-video[data-astro-cid-n4v2ghzc] {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.emdash-embed-video[data-astro-cid-n4v2ghzc] iframe[data-astro-cid-n4v2ghzc], .emdash-embed-video[data-astro-cid-n4v2ghzc] video[data-astro-cid-n4v2ghzc] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.emdash-embed-audio[data-astro-cid-n4v2ghzc] {
  width: 100%;
}

.emdash-embed-audio[data-astro-cid-n4v2ghzc] audio[data-astro-cid-n4v2ghzc] {
  width: 100%;
}

.emdash-embed[data-astro-cid-n4v2ghzc] figcaption[data-astro-cid-n4v2ghzc] {
  font-size: .875rem;
  color: var(--emdash-caption-color, var(--color-muted, #666));
  margin-top: .5rem;
  text-align: center;
}
.emdash-gallery[data-astro-cid-d6nmylgu] {
  display: grid;
  grid-template-columns: repeat(var(--columns, 3), 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.emdash-gallery-item[data-astro-cid-d6nmylgu] {
  margin: 0;
}

.emdash-gallery-item[data-astro-cid-d6nmylgu] img[data-astro-cid-d6nmylgu] {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1;
}

.emdash-gallery-item[data-astro-cid-d6nmylgu] figcaption[data-astro-cid-d6nmylgu] {
  font-size: .75rem;
  color: var(--emdash-caption-color, var(--color-muted, #666));
  margin-top: .25rem;
  text-align: center;
}

@media (width <= 640px) {
  .emdash-gallery[data-astro-cid-d6nmylgu] {
    grid-template-columns: repeat(2, 1fr);
  }
}
.emdash-columns[data-astro-cid-sjaxkm7w] {
  display: flex;
  gap: 2rem;
  margin: 1.5rem 0;
}

.emdash-column[data-astro-cid-sjaxkm7w] {
  flex: 1;
  min-width: 0;
}

@media (width <= 768px) {
  .emdash-columns[data-astro-cid-sjaxkm7w] {
    flex-direction: column;
    gap: 1rem;
  }
}
.emdash-break[data-astro-cid-gvovdxls] {
  margin: 2rem 0;
}

.emdash-break-line[data-astro-cid-gvovdxls] {
  border: none;
  border-top: 1px solid var(--emdash-break-color, var(--color-border, #e0e0e0));
}

.emdash-break-dots[data-astro-cid-gvovdxls] {
  text-align: center;
  color: var(--emdash-break-dots-color, var(--color-muted, #999));
  letter-spacing: .5em;
}

.emdash-break-space[data-astro-cid-gvovdxls] {
  height: 2rem;
}
iframe[data-emdash-html-block] {
		display: block;
		width: 100%;
		border: 0;
		margin: 1.5rem 0;
	}.emdash-html-block[data-astro-cid-7hlqo6bn] {
  margin: 1.5rem 0;
}
.emdash-iframe[data-astro-cid-fhxykd76] {
  aspect-ratio: 16 / 9;
  margin: 1.5rem 0;
  width: 100%;
}

.emdash-iframe[data-astro-cid-fhxykd76] iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.emdash-video[data-astro-cid-ymu5gvpn] {
  margin: 1.5rem 0;
}

.emdash-video[data-astro-cid-ymu5gvpn] video[data-astro-cid-ymu5gvpn] {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
}

.emdash-video[data-astro-cid-ymu5gvpn] figcaption[data-astro-cid-ymu5gvpn] {
  font-size: .875rem;
  color: var(--emdash-caption-color, var(--color-muted, #666));
  margin-top: .5rem;
  text-align: center;
}
.emdash-table-wrapper[data-astro-cid-7uypp5bz] {
  max-inline-size: 100%;
  margin-block: 1.5rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.emdash-table[data-astro-cid-7uypp5bz] {
  inline-size: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.emdash-table[data-astro-cid-7uypp5bz] th[data-astro-cid-7uypp5bz], .emdash-table[data-astro-cid-7uypp5bz] td[data-astro-cid-7uypp5bz] {
  position: relative;
  border: 1px solid var(--color-border, #ddd);
  padding: .75rem;
  text-align: start;
  vertical-align: top;
}

.emdash-table[data-astro-cid-7uypp5bz] th[data-astro-cid-7uypp5bz] p, .emdash-table[data-astro-cid-7uypp5bz] td[data-astro-cid-7uypp5bz] p {
  margin: 0;
}

.emdash-table[data-astro-cid-7uypp5bz] th[data-astro-cid-7uypp5bz] {
  background: var(--color-surface, #f5f5f5);
  font-weight: 600;
}

.emdash-table[data-astro-cid-7uypp5bz] tbody[data-astro-cid-7uypp5bz] tr[data-astro-cid-7uypp5bz]:nth-child(2n) {
  background: var(--color-bg-subtle, #fafafa);
}

.emdash-table[data-astro-cid-7uypp5bz] tbody[data-astro-cid-7uypp5bz] tr[data-astro-cid-7uypp5bz]:hover {
  background: var(--color-surface, #f0f0f0);
}
.emdash-button[data-astro-cid-i644adhy] {
  display: inline-block;
  padding: .75em 1.5em;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}

.emdash-button--default[data-astro-cid-i644adhy], .emdash-button--fill[data-astro-cid-i644adhy] {
  background-color: var(--emdash-button-bg, #0073aa);
  color: var(--emdash-button-color, #fff);
  border: 2px solid var(--emdash-button-bg, #0073aa);
}

.emdash-button--default[data-astro-cid-i644adhy]:hover, .emdash-button--fill[data-astro-cid-i644adhy]:hover {
  background-color: var(--emdash-button-bg-hover, #005177);
  border-color: var(--emdash-button-bg-hover, #005177);
}

.emdash-button--outline[data-astro-cid-i644adhy] {
  background-color: #0000;
  color: var(--emdash-button-bg, #0073aa);
  border: 2px solid var(--emdash-button-bg, #0073aa);
}

.emdash-button--outline[data-astro-cid-i644adhy]:hover {
  background-color: var(--emdash-button-bg, #0073aa);
  color: var(--emdash-button-color, #fff);
}
.emdash-buttons[data-astro-cid-pxkpowas] {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1.5rem 0;
}

.emdash-buttons--vertical[data-astro-cid-pxkpowas] {
  flex-direction: column;
  align-items: flex-start;
}

.emdash-buttons--horizontal[data-astro-cid-pxkpowas] {
  flex-direction: row;
  align-items: center;
}
.emdash-cover[data-astro-cid-g6rigryn] {
  position: relative;
  display: flex;
  align-items: center;
  padding: 2rem;
  margin: 1.5rem 0;
  overflow: hidden;
  border-radius: 4px;
  background-color: var(--emdash-cover-fallback-bg, #333);
}

.emdash-cover__background[data-astro-cid-g6rigryn] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.emdash-cover__video[data-astro-cid-g6rigryn] {
  object-fit: cover;
}

.emdash-cover__overlay[data-astro-cid-g6rigryn] {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.emdash-cover__content[data-astro-cid-g6rigryn] {
  position: relative;
  z-index: 2;
  width: 100%;
  color: var(--emdash-cover-text-color, #fff);
}

.emdash-cover--align-left[data-astro-cid-g6rigryn] {
  justify-content: flex-start;
  text-align: left;
}

.emdash-cover--align-center[data-astro-cid-g6rigryn] {
  justify-content: center;
  text-align: center;
}

.emdash-cover--align-right[data-astro-cid-g6rigryn] {
  justify-content: flex-end;
  text-align: right;
}

.emdash-cover__content[data-astro-cid-g6rigryn] h1, .emdash-cover__content[data-astro-cid-g6rigryn] h2, .emdash-cover__content[data-astro-cid-g6rigryn] h3, .emdash-cover__content[data-astro-cid-g6rigryn] h4, .emdash-cover__content[data-astro-cid-g6rigryn] p {
  color: inherit;
}
.emdash-file[data-astro-cid-dsnn5jk3] {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem;
  margin: 1rem 0;
  background-color: var(--emdash-file-bg, #f5f5f5);
  border-radius: 4px;
  border: 1px solid var(--emdash-file-border, #e0e0e0);
}

.emdash-file__link[data-astro-cid-dsnn5jk3] {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: 1;
  text-decoration: none;
  color: var(--emdash-file-color, #333);
}

.emdash-file__link[data-astro-cid-dsnn5jk3]:hover {
  text-decoration: underline;
}

.emdash-file__icon[data-astro-cid-dsnn5jk3] {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  color: var(--emdash-file-icon-color, #666);
}

.emdash-file__name[data-astro-cid-dsnn5jk3] {
  font-weight: 500;
  word-break: break-all;
}

.emdash-file__download[data-astro-cid-dsnn5jk3] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--emdash-button-bg, #0073aa);
  color: var(--emdash-button-color, #fff);
  border-radius: 4px;
  transition: background-color .2s;
}

.emdash-file__download[data-astro-cid-dsnn5jk3]:hover {
  background-color: var(--emdash-button-bg-hover, #005177);
}

.emdash-file__download[data-astro-cid-dsnn5jk3] svg[data-astro-cid-dsnn5jk3] {
  width: 1.25rem;
  height: 1.25rem;
}
.emdash-pullquote[data-astro-cid-mtrxdgkr] {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-top: 4px solid var(--emdash-pullquote-border, #0073aa);
  border-bottom: 4px solid var(--emdash-pullquote-border, #0073aa);
  text-align: center;
}

.emdash-pullquote__text[data-astro-cid-mtrxdgkr] {
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--emdash-pullquote-color, #333);
  margin: 0;
}

.emdash-pullquote__citation[data-astro-cid-mtrxdgkr] {
  margin-top: 1rem;
  font-size: .9rem;
  font-style: normal;
  color: var(--emdash-pullquote-citation-color, #666);
}
/*
 * Cyber Crayon — design tokens (design.md / High-End Editorial).
 * Auto mode removed in v1.0.58 — only light/dark now.
 */

@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --lc-surface: #f9f9fb;
  --lc-surface-low: #f3f5f7;
  --lc-surface-raised: #f3f5f7;
  --lc-widget-surface: #f3f5f7;
  --lc-on-surface: #191c1e;
  --lc-primary: #4a6cf4;
  --lc-primary-soft: #6b85f5;
  --lc-primary-dark: #3a5ce4;
  --lc-primary-glow: rgba(74, 108, 244, 0.4);
  --lc-neutral: #5a5e6b;
  /* Smaller text on glass (excerpts, dates, .lc-muted): higher contrast than --lc-neutral */
  --lc-meta: #454a57;
  --lc-mesh: #7c8de6;

  /* Status colors */
  --lc-status-running: #16a34a;
  --lc-status-developing: #ea580c;
  --lc-status-paused: #64748b;
  /* Status glow */
  --lc-status-running-glow: rgba(22, 163, 74, 0.2);
  --lc-status-developing-glow: rgba(234, 88, 12, 0.2);

  /* Platform tag colors */
  --lc-platform-android: #2b7a41;
  --lc-platform-ios: #5d6372;
  --lc-platform-web: #3650c7;
  --lc-platform-linux: #7a5a17;
  --lc-platform-windows: #2b67b8;
  --lc-platform-macos: #5d6372;

  --lc-glass: rgba(255, 255, 255, 0.72);
  --lc-glass-strong: rgba(255, 255, 255, 0.82);
  --lc-glass-soft: rgba(255, 255, 255, 0.62);
  /* Main column + right-sidebar widget islands: same rgba tier as --lc-glass / --lc-glass-soft (resolves with theme). */
  --lc-surface-panel: var(--lc-glass);
  --lc-surface-panel-aside: var(--lc-glass-soft);
  --lc-glass-search: rgba(255, 255, 255, 0.4);
  --lc-chip-bg: rgba(74, 108, 244, 0.10);
  --lc-radius-xl: 1.5rem;
  --lc-shadow-sm: 0 2px 6px rgba(30, 40, 60, 0.04), 0 4px 12px rgba(30, 40, 60, 0.04);
  --lc-shadow: 0 2px 8px rgba(30, 40, 60, 0.04), 0 8px 24px rgba(30, 40, 60, 0.06), 0 24px 48px rgba(30, 40, 60, 0.04);
  --lc-shadow-lg: 0 4px 12px rgba(30, 40, 60, 0.05), 0 12px 32px rgba(30, 40, 60, 0.08), 0 32px 64px rgba(30, 40, 60, 0.06);
  --lc-inner-light: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  --lc-font-display: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --lc-font-body: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --lc-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --lc-sidebar-w: 260px;
  --lc-aside-w: 240px;
  --lc-aside-max: min(26vw, 280px);
  --lc-space: clamp(20px, 3vw, 48px);
  --lc-max: 1200px;
  --lc-input-border: rgba(74, 108, 244, 0.14);
  --lc-highlight-bg: gold;
  --lc-highlight-color: #1a1a1a;
  --lc-input-bg: rgba(255, 255, 255, 0.62);
  --lc-search-focus-bg: rgba(255, 255, 255, 0.72);
  --lc-placeholder: rgba(69, 74, 87, 0.78);
  --lc-elevated: rgba(255, 255, 255, 0.52);
  --lc-pill-bg: rgba(255, 255, 255, 0.55);
  --lc-border-divider: rgba(74, 108, 244, 0.1);
  --lc-thread-border: rgba(74, 108, 244, 0.18);
  --lc-reply-title-bg: rgba(255, 255, 255, 0.55);
  --lc-reply-title-border: rgba(74, 108, 244, 0.12);
  --lc-brand-mark-border: rgba(255, 255, 255, 0.55);
  --lc-brand-mark-bg: rgba(255, 255, 255, 0.55);
  --lc-mesh-blob-opacity: 0.55;
  --lc-focus-ring: rgba(74, 108, 244, 0.28);
  --lc-island-bg: rgba(255, 255, 255, 0.42);
  --lc-color-switch-track: rgba(0, 0, 0, 0.07);
  --lc-postnav-card-bg: var(--lc-elevated);
  --lc-postnav-hover-ring: rgba(74, 108, 244, 0.2);
  --lc-postnav-wrap-border: rgba(74, 108, 244, 0.1);
  --lc-list-row-hover: rgba(74, 108, 244, 0.045);
  --lc-noise-opacity: 0.005;
  --lc-blur-main: 14px;
  --lc-blur-sidebar: 12px;
  --lc-blur-widget: 10px;
  --lc-blur-header: 12px;

  /* Hero 动画变量 */
  --lc-hero-height: 100vh;
  --lc-hero-min-height: 64px;
  --lc-hero-collapse-max-height: 88px;
  --lc-hero-progress: 0;
  
  /* 导航栏 padding - 独立于 --lc-space 的紧凑值 */
  --lc-navbar-padding: 10px;
  --lc-navbar-height: 64px;
  --lc-radius: 0.75rem;
  --lc-border: var(--lc-border-divider);
  --lc-text: var(--lc-on-surface);
  --lc-text-primary: var(--lc-primary);
  --lc-text-secondary: var(--lc-neutral);
  --lc-text-muted: var(--lc-meta);
  --lc-surface-2: var(--lc-surface-low);
  --lc-accent: var(--lc-primary);
  --lc-thumb-i: 0;

  /* Terminal theme */
  --lc-terminal-bg: #12121e;
  --lc-terminal-text: #a8d8ea;
  --lc-terminal-comment: #6a9955;
  --lc-terminal-prompt: #569cd6;
  --lc-terminal-cursor: #4af;
  --lc-terminal-border: rgba(74, 108, 244, 0.25);
  --lc-terminal-header: #1e1e2e;
  --lc-terminal-dot-red: #ff5f57;
  --lc-terminal-dot-yellow: #ffbd2e;
  --lc-terminal-dot-green: #28c840;
}

/* 导航栏 padding 响应式调整 */
@media (max-width: 1023px) {
  :root {
    --lc-navbar-padding: 10px;
  }
}

@media (max-width: 767px) {
  :root {
    --lc-navbar-padding: 12px;
  }
}

@media (max-width: 374px) {
  :root {
    --lc-navbar-padding: 8px;
  }
}

html[data-lc-color-scheme="light"] {
  color-scheme: light;
}

html[data-lc-color-scheme="dark"] {
  --lc-surface: #0f1115;
  --lc-surface-low: #151a22;
  --lc-surface-raised: #151a22;
  --lc-widget-surface: #151a22;
  --lc-on-surface: #e8eaef;
  --lc-neutral: #9aa3b2;
  --lc-meta: #b8c0ce;
  --lc-mesh: #8c9de8;
  --lc-primary-dark: #5a7cff;
  --lc-primary-glow: rgba(91, 124, 245, 0.5);
  --lc-glass: rgba(22, 27, 38, 0.82);
  --lc-glass-strong: rgba(30, 36, 50, 0.9);
  --lc-glass-soft: rgba(28, 34, 48, 0.78);
  --lc-glass-search: rgba(18, 22, 32, 0.72);
  --lc-chip-bg: rgba(91, 124, 245, 0.15);
  --lc-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.14);
  --lc-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.18), 0 24px 48px rgba(0, 0, 0, 0.12);
  --lc-shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.25), 0 12px 32px rgba(0, 0, 0, 0.2), 0 32px 64px rgba(0, 0, 0, 0.15);
  --lc-inner-light: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  --lc-input-border: rgba(255, 255, 255, 0.12);
  --lc-input-bg: rgba(255, 255, 255, 0.06);
  --lc-search-focus-bg: rgba(255, 255, 255, 0.1);
  --lc-placeholder: rgba(200, 208, 220, 0.72);
  --lc-elevated: rgba(255, 255, 255, 0.06);
  --lc-pill-bg: rgba(255, 255, 255, 0.08);
  --lc-border-divider: rgba(255, 255, 255, 0.1);
  --lc-thread-border: rgba(140, 160, 255, 0.35);
  --lc-reply-title-bg: rgba(255, 255, 255, 0.08);
  --lc-reply-title-border: rgba(255, 255, 255, 0.12);
  --lc-brand-mark-border: rgba(255, 255, 255, 0.12);
  --lc-brand-mark-bg: rgba(255, 255, 255, 0.08);
  --lc-mesh-blob-opacity: 0.32;
  --lc-focus-ring: rgba(140, 160, 255, 0.35);
  --lc-island-bg: rgba(255, 255, 255, 0.055);
  --lc-color-switch-track: rgba(255, 255, 255, 0.1);
  --lc-postnav-card-bg: rgba(255, 255, 255, 0.1);
  --lc-postnav-hover-ring: rgba(150, 175, 255, 0.42);
  --lc-postnav-wrap-border: rgba(255, 255, 255, 0.12);
  --lc-list-row-hover: rgba(255, 255, 255, 0.04);
  --lc-terminal-bg: #0a0a14;
  --lc-terminal-header: #13131f;
  --lc-terminal-border: rgba(140, 160, 255, 0.25);
  --lc-highlight-bg: #c01b05;
  --lc-highlight-color: #ffffff;
  color-scheme: dark;
}

html, body {
  margin: 0;
  padding: 0;
}

/* ============================================================
 * 日出日落主题切换系统 Sunrise/Sunset Theme Transition
 * ============================================================ */

/* 
 * 基础过渡：自然流畅的切换
 * 模拟光线变化的柔和感觉
 */
/* html,
html *,
html *::before,
html *::after {
  transition-property: background-color, border-color, color, fill, stroke, 
                       box-shadow, text-shadow, opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
} */

/* 
 * 快速响应交互元素 - 但颜色过渡保持平滑
 */
/* html button,
html a,
html [role="button"],
html input,
html textarea {
  transition-property: background-color, border-color, color, fill, stroke, 
                       box-shadow, text-shadow, opacity, transform;
  transition-duration: 0.8s, 0.8s, 0.8s, 0.8s, 0.8s, 
                       0.8s, 0.8s, 0.8s, 0.2s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
} */

/* 对于交互元素，transform 保持快速响应 */
/* html button:hover,
html a:hover,
html [role="button"]:hover {
  transition-duration: 0.2s;
} */

/* 
 * 禁用特定元素的过渡以保持性能
 */
/* html img,
html video,
html iframe,
html canvas {
  transition-property: opacity;
} */

/* 
 * 日出光效 - 从底部升起的温暖光芒
 */
html::before {
  content: '';
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(
    to top,
    rgba(255, 200, 100, 0.3) 0%,
    rgba(255, 150, 80, 0.15) 30%,
    rgba(255, 100, 60, 0.05) 60%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
}

html[data-lc-color-scheme="light"].lc-theme-transitioning::before {
  animation: none;
}

@keyframes lc-sunrise {
  0% {
    height: 0;
    opacity: 0;
  }
  30% {
    opacity: 0.6;
  }
  100% {
    height: 100vh;
    opacity: 0;
  }
}

/* 
 * 月出光效 - 从顶部洒下的柔和月光
 */
html::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(
    to bottom,
    rgba(100, 150, 255, 0.2) 0%,
    rgba(80, 120, 200, 0.1) 40%,
    rgba(60, 100, 180, 0.03) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
}

html[data-lc-color-scheme="dark"].lc-theme-transitioning::after {
  animation: none;
}

@keyframes lc-moonrise {
  0% {
    height: 0;
    opacity: 0;
  }
  30% {
    opacity: 0.5;
  }
  100% {
    height: 100vh;
    opacity: 0;
  }
}

/* 
 * 太阳/月亮图标旋转动画
 */
.lc-color-scheme__trigger-icon,
#themeToggle svg,
.lc-binary-toggle__icon svg {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

html.lc-theme-transitioning .lc-color-scheme__trigger-icon,
html.lc-theme-transitioning #themeToggle svg,
html.lc-theme-transitioning .lc-binary-toggle__icon svg {
  animation: lc-celestial-rotate 1s ease-in-out forwards;
}

@keyframes lc-celestial-rotate {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(0.8);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* 
 * 切换按钮的光晕效果
 */
#lc-color-scheme-trigger,
#themeToggle,
.lc-binary-toggle {
  position: relative;
}

#lc-color-scheme-trigger::before,
#themeToggle::before,
.lc-binary-toggle::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: radial-gradient(
    circle at center,
    var(--lc-primary-glow) 0%,
    transparent 70%
  );
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

html.lc-theme-transitioning #lc-color-scheme-trigger::before,
html.lc-theme-transitioning #themeToggle::before,
html.lc-theme-transitioning .lc-binary-toggle::before {
  opacity: 0.5;
  transform: scale(1.1);
}

/*
 * 明暗切换时让表面色跟着变量走，避免整页瞬间跳色。
 * 减少动效时不挂这个类。
 */
@media (prefers-reduced-motion: no-preference) {
  html.lc-theme-transitioning,
  html.lc-theme-transitioning body,
  html.lc-theme-transitioning body * {
    transition:
      background-color 0.45s ease,
      color 0.45s ease,
      border-color 0.45s ease,
      outline-color 0.45s ease,
      box-shadow 0.45s ease,
      fill 0.45s ease,
      stroke 0.45s ease !important;
  }
}

/* 
 * 玻璃态元素的柔和过渡
 */
/* .lc-glass,
.lc-header,
.lc-hero--navbar,
.lc-toc,
.lc-widget,
.lc-card,
.lc-article__toc-sidebar {
  transition: 
    background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    backdrop-filter 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
} */

/* 
 * 内容区域呼吸效果
 */
/* 呼吸效果已移除以避免闪烁 */

/* 
 * 边框的柔和发光
 */
html.lc-theme-transitioning .lc-card,
html.lc-theme-transitioning .lc-widget,
html.lc-theme-transitioning .lc-post,
html.lc-theme-transitioning .lc-toc {
  box-shadow: 0 0 20px rgba(255, 200, 100, 0.1);
}

html[data-lc-color-scheme="dark"].lc-theme-transitioning .lc-card,
html[data-lc-color-scheme="dark"].lc-theme-transitioning .lc-widget,
html[data-lc-color-scheme="dark"].lc-theme-transitioning .lc-post,
html[data-lc-color-scheme="dark"].lc-theme-transitioning .lc-toc {
  box-shadow: 0 0 20px rgba(100, 150, 255, 0.08);
}

/* 
 * 减少动画偏好支持
 */
@media (prefers-reduced-motion: reduce) {
  html,
  html *,
  html *::before,
  html *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  
  html::before,
  html::after {
    display: none !important;
  }
}
/*
 * Map leftover EmDash template tokens onto Cyber Crayon variables
 * so Portable Text, widgets, and pagination still render.
 */

:root {
	--color-text: var(--lc-on-surface);
	--color-bg: var(--lc-surface);
	--color-brand: var(--lc-primary);
	--color-brand-hover: var(--lc-primary-dark);
	--color-brand-ring: var(--lc-focus-ring);
	--color-on-brand: #fff;
	--color-muted: var(--lc-meta);
	--color-text-secondary: var(--lc-neutral);
	--color-surface: var(--lc-glass);
	--color-border: var(--lc-border);
	--color-border-strong: var(--lc-input-border);
	--color-fill: var(--lc-chip-bg);
	--color-fill-strong: var(--lc-chip-bg);
	--font-body: var(--lc-font-body);
	--font-mono: var(--lc-font-mono);
	--font-heading: var(--lc-font-display);
	--font-size-sm: 0.875rem;
	--font-size-base: 1rem;
	--font-size-lg: 1.05rem;
	--font-size-xl: 1.35rem;
	--font-size-2xl: 1.75rem;
	--font-size-display: clamp(2rem, 4vw, 3rem);
	--font-size-label: 0.75rem;
	--leading-normal: 1.7;
	--leading-snug: 1.35;
	--leading-tight: 1.15;
	--content-width: 720px;
	--nav-height: var(--lc-navbar-height);
	--spacing-1: 0.25rem;
	--spacing-2: 0.5rem;
	--spacing-3: 0.75rem;
	--spacing-4: 1rem;
	--spacing-5: 1.25rem;
	--spacing-6: 1.5rem;
	--spacing-8: 2rem;
	--spacing-10: 2.5rem;
	--radius: var(--lc-radius);
	--shadow-sm: var(--lc-shadow-sm);
	--shadow-card: var(--lc-shadow);
	--transition-fast: 0.2s ease;
}

body.home .lc-default-content,
body.front-page .lc-default-content {
	padding-top: 0 !important;
}

.lc-page {
	padding-bottom: 4rem;
}

.lc-page__header {
	margin: 0 0 2rem;
}

.lc-page__title {
	margin: 0;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.lc-page__lead {
	margin: 0.75rem 0 0;
	color: var(--lc-meta);
}

.lc-empty {
	padding: 4rem 0;
	text-align: center;
	color: var(--lc-meta);
}

.lc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
	padding: 0.55rem 1.2rem;
	border-radius: 999px;
	background: var(--lc-primary);
	color: #fff;
	text-decoration: none;
	cursor: pointer;
}

.lc-button--ghost {
	background: transparent;
	color: var(--lc-primary);
	box-shadow: inset 0 0 0 1px var(--lc-input-border);
}

.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.pagination a,
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 2.25rem;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	background: var(--lc-glass);
	color: var(--lc-on-surface);
	text-decoration: none;
	box-shadow: inset 0 0 0 1px var(--lc-border);
}

.empty-state {
	padding: 4rem 0;
	text-align: center;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--lc-font-body);
	color: var(--lc-on-surface);
	background: var(--lc-surface);
}

a {
	color: inherit;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.lc-search-page {
	margin: 0 auto 2rem;
	max-width: 36rem;
}

.lc-search-results {
	max-width: var(--lc-max);
	margin: 0 auto;
	padding: 0 var(--lc-space) 4rem;
}

.lc-project-item__icon-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lc-comments-tech .ec-comments-heading:empty {
	display: none;
}

.lc-comments-tech .ec-comments-list {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	display: grid;
	gap: 1.25rem;
}

.lc-comments-tech .ec-comment {
	padding: 1rem 0;
	border-bottom: 1px solid var(--lc-border);
}

.lc-comments-tech .ec-comment-header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.lc-comments-tech .ec-comment-author {
	font-weight: 600;
	color: var(--lc-on-surface);
}

.lc-comments-tech .ec-comment-date {
	font-family: var(--lc-font-mono);
	font-size: 0.75rem;
	color: var(--lc-meta);
}

.lc-comments-tech .ec-comment-body {
	line-height: 1.7;
	color: var(--lc-on-surface);
}

.lc-comments-tech .ec-comment-replies {
	list-style: none;
	margin: 1rem 0 0 1.25rem;
	padding: 0;
}

html[data-lc-color-scheme="dark"] {
	--ec-form-bg: var(--lc-input-bg);
	--ec-form-border: var(--lc-input-border);
	--ec-form-color: var(--lc-on-surface);
	--ec-form-user-bg: var(--lc-glass);
	--ec-form-user-bg-dark: var(--lc-glass);
	--ec-form-user-border: var(--lc-input-border);
	--ec-form-submit-bg: var(--lc-primary);
}

.ec-comment-form {
	display: grid;
	gap: 1rem;
}

.ec-comment-form-fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: 1rem;
}

.ec-comment-form-field {
	display: grid;
	gap: 0.4rem;
	font-size: 0.875rem;
	color: var(--lc-neutral);
}

.ec-comment-form-field input,
.ec-comment-form-field textarea {
	width: 100%;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--lc-input-border);
	border-radius: 0.75rem;
	background: var(--lc-glass);
	color: var(--lc-on-surface);
	font: inherit;
}

.ec-comment-form-field textarea {
	min-height: 8rem;
	resize: vertical;
}

.ec-comment-form-submit {
	justify-self: start;
	min-height: 2.5rem;
	padding: 0.55rem 1.4rem;
	border: 0;
	border-radius: 999px;
	background: var(--lc-primary);
	color: #fff;
	font: inherit;
	cursor: pointer;
}

.ec-comment-form-status {
	font-size: 0.875rem;
	color: var(--lc-meta);
}

html[data-lc-color-scheme="light"] .lc-hero__name.lc-text-rainbow,
html[data-lc-color-scheme="light"] .lc-hero--navbar .lc-hero__name {
	filter: saturate(1.35) contrast(1.25);
}

.lc-section--bare {
	padding: 0;
}

.lc-section--bare .lc-tech-marquee {
	margin-top: 0;
}

.lc-article__content :where(h2, h3) {
	scroll-margin-top: 6rem;
}

.lc-writing-bars {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 0.5rem;
	align-items: end;
	min-height: 180px;
}

.lc-writing-bars__item {
	display: grid;
	justify-items: center;
	gap: 0.35rem;
}

.lc-writing-bars__track {
	display: flex;
	align-items: flex-end;
	width: 100%;
	height: 140px;
}

.lc-writing-bars__bar {
	display: block;
	width: 100%;
	border-radius: 999px 999px 6px 6px;
	background: var(--lc-primary);
	opacity: 0.85;
}

.lc-writing-bars__label,
.lc-writing-bars__count {
	font-size: 0.7rem;
	color: var(--lc-meta);
}

.lc-lightbox {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: grid;
	place-items: center;
	padding: 2rem;
	background: rgba(8, 10, 16, 0.82);
}

.lc-lightbox[hidden] {
	display: none;
}

.lc-lightbox__image {
	max-width: min(1100px, 100%);
	max-height: 86vh;
	border-radius: 12px;
}

.lc-comment-tech__avatar--initials {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--lc-chip-bg);
	color: var(--lc-primary);
	font-weight: 700;
}

.lc-comment-tech--reply .lc-comment-tech__avatar--initials {
	width: 40px;
	height: 40px;
}

.lc-lightbox__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	border-radius: 999px;
	background: var(--lc-glass);
	color: #fff;
	font-size: 1.5rem;
	cursor: pointer;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

img {
  -webkit-user-drag: none;
  user-select: none;
}

a {
  -webkit-user-drag: none;
}

/*
 * Motion serves interaction & theme surfaces — not universal * (no per-pixel backdrop-filter transitions).
 * See DEVELOPMENT.md §9.
 * 主题切换时颜色过渡保持平滑 0.8s
 */
/* a,
button,
input,
textarea,
select,
summary {
  transition:
    color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease;
} */

/* 悬停时保持快速响应 */
/* a:hover,
button:hover {
  transition-duration: 0.2s;
}

.lc-header,
.lc-mobile-header,
.lc-sidebar__glass,
.lc-island,
.lc-post,
.lc-pagehead,
.lc-main__surface {
  transition:
    color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1);
} */

@media (prefers-reduced-motion: reduce) {

  html,
  body {
    transition: none;
  }

  a,
  button,
  input,
  textarea,
  select,
  summary,
  .lc-header,
  .lc-mobile-header,
  .lc-sidebar__glass,
  .lc-island,
  .lc-post,
  .lc-pagehead,
  .lc-main__surface,
  .lc-glass {
    transition: none;
  }
}

body.lc-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--lc-font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--lc-on-surface);
  background: var(--lc-surface);
}

::selection {
  background: var(--lc-highlight-bg);
  color: var(--lc-highlight-color);
}

.lc-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.lc-mesh__blob {
  position: absolute;
  width: clamp(220px, 32vw, 420px);
  height: clamp(220px, 32vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
      var(--lc-mesh),
      transparent 65%);
  filter: blur(60px);
  opacity: var(--lc-mesh-blob-opacity);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

@keyframes blob-drift-a {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
  }

  25% {
    transform: translate3d(6vw, 4vh, 0) scale(1.08);
    border-radius: 65% 35% 55% 45% / 55% 45% 65% 35%;
  }

  50% {
    transform: translate3d(4vw, -5vh, 0) scale(0.96);
    border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%;
  }

  75% {
    transform: translate3d(-5vw, 3vh, 0) scale(1.05);
    border-radius: 55% 45% 65% 35% / 35% 65% 45% 55%;
  }
}

@keyframes blob-drift-b {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
  }

  33% {
    transform: translate3d(-5vw, 5vh, 0) scale(1.1);
    border-radius: 35% 65% 50% 50% / 50% 50% 65% 35%;
  }

  66% {
    transform: translate3d(4vw, -3vh, 0) scale(0.94);
    border-radius: 60% 40% 65% 35% / 35% 65% 40% 60%;
  }
}

@keyframes blob-drift-c {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
  }

  20% {
    transform: translate3d(5vw, -3vh, 0) scale(1.09);
    border-radius: 65% 35% 45% 55% / 45% 55% 35% 65%;
  }

  50% {
    transform: translate3d(-4vw, 5vh, 0) scale(1.07);
    border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%;
  }

  80% {
    transform: translate3d(3vw, -2vh, 0) scale(0.95);
    border-radius: 55% 45% 65% 35% / 35% 65% 45% 55%;
  }
}

.lc-mesh__blob--a {
  top: -8%;
  left: -6%;
  animation: blob-drift-a 18s ease-in-out infinite;
}

.lc-mesh__blob--b {
  bottom: 10%;
  right: -4%;
  background: radial-gradient(circle at 70% 40%, var(--lc-primary-soft), transparent 60%);
  animation: blob-drift-b 20s ease-in-out infinite;
}

.lc-mesh__blob--c {
  top: 38%;
  left: 35%;
  width: clamp(180px, 26vw, 360px);
  height: clamp(180px, 26vw, 360px);
  opacity: calc(var(--lc-mesh-blob-opacity) * 0.65);
  animation: blob-drift-c 22s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .lc-mesh__blob {
    animation: none;
    will-change: auto;
  }
}

@media (max-width: 768px) {

  .lc-mesh__blob--b,
  .lc-mesh__blob--c {
    display: none;
  }

  .lc-mesh__blob--a {
    animation: none;
    width: clamp(180px, 50vw, 300px);
    height: clamp(180px, 50vw, 300px);
    top: -5%;
    left: -10%;
  }
}

/* ============================================================================
   Lazy Loading Styles
   ============================================================================ */

/* Placeholder state for lazy loading images */
img.lc-lazy-loading {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img.lc-lazy-loaded {
  opacity: 1;
}

/* Smooth fade-in for lazy loaded images */
img[data-src] {
  background-color: var(--lc-surface-2);
  min-height: 100px;
}

/* Hide broken image icons while loading */
img[data-src]:not([src]) {
  visibility: hidden;
}

/* ============================================================================
   Tech Background System - 科技感背景系统 (Hero Style)
   ============================================================================
   为各页面提供统一的动态背景效果（类似 Hero Section）
   使用方式：
   <div class="lc-tech-bg" aria-hidden="true">
       <div class="lc-tech-bg__grid"></div>
       <div class="lc-tech-bg__blobs">
           <div class="lc-tech-bg__blob lc-tech-bg__blob--1"></div>
           <div class="lc-tech-bg__blob lc-tech-bg__blob--2"></div>
           <div class="lc-tech-bg__blob lc-tech-bg__blob--3"></div>
           <div class="lc-tech-bg__blob lc-tech-bg__blob--4"></div>
       </div>
   </div>
   ============================================================================ */

.lc-tech-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

/* Section variant for contained backgrounds */
.lc-tech-bg--section {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.6;
}

/* 动态网格背景 */
.lc-tech-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74, 108, 244, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 108, 244, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  will-change: transform;
}

/* 网格鼠标高亮层 — 仅在有 hover 能力的设备上显示 */
.lc-tech-bg__grid--highlight {
  background-image:
    linear-gradient(rgba(74, 108, 244, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 108, 244, 0.12) 1px, transparent 1px);
  mask-image: radial-gradient(150px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      black 50%,
      transparent 100%);
  -webkit-mask-image: radial-gradient(150px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      black 50%,
      transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (hover: hover) {
  .lc-tech-bg__grid--highlight {
    opacity: 1;
  }
}

/* 背景光斑 */
.lc-tech-bg__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.lc-tech-bg__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  will-change: transform;
}

.lc-tech-bg__blob--1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -80px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.4), rgba(99, 102, 241, 0.3));
  animation: lc-tech-blob-float-1 20s ease-in-out infinite;
}

.lc-tech-bg__blob--2 {
  width: 250px;
  height: 250px;
  top: -80px;
  right: -60px;
  background: linear-gradient(225deg, rgba(168, 85, 247, 0.35), rgba(236, 72, 153, 0.25));
  animation: lc-tech-blob-float-2 18s ease-in-out infinite;
}

.lc-tech-bg__blob--3 {
  width: 280px;
  height: 280px;
  bottom: -80px;
  left: -40px;
  background: linear-gradient(45deg, rgba(244, 114, 182, 0.35), rgba(251, 146, 60, 0.25));
  animation: lc-tech-blob-float-3 22s ease-in-out infinite;
}

.lc-tech-bg__blob--4 {
  width: 220px;
  height: 220px;
  bottom: -60px;
  right: -40px;
  background: linear-gradient(315deg, rgba(250, 204, 21, 0.3), rgba(251, 146, 60, 0.2));
  animation: lc-tech-blob-float-4 16s ease-in-out infinite;
}

@keyframes lc-tech-blob-float-1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(30px, 40px) scale(1.05);
  }

  50% {
    transform: translate(-20px, 60px) scale(0.95);
  }

  75% {
    transform: translate(40px, 20px) scale(1.02);
  }
}

@keyframes lc-tech-blob-float-2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(-40px, 50px) scale(1.08);
  }

  66% {
    transform: translate(20px, 30px) scale(0.92);
  }
}

@keyframes lc-tech-blob-float-3 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }

  20% {
    transform: translate(50px, -30px) scale(1.03);
  }

  40% {
    transform: translate(20px, -60px) scale(0.97);
  }

  60% {
    transform: translate(-30px, -40px) scale(1.05);
  }

  80% {
    transform: translate(40px, -20px) scale(0.98);
  }
}

@keyframes lc-tech-blob-float-4 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-50px, -40px) scale(1.06);
  }
}

/* 页面主容器需要相对定位以显示在背景之上 */
.lc-page-container,
.lc-single-post,
.lc-page-content,
.lc-projects-archive,
.lc-about-page,
.lc-guestbook-page,
.lc-articles-page,
.lc-404-page,
.lc-project-single-tech {
  position: relative;
  z-index: 1;
}

/* 深色模式 */
html[data-lc-color-scheme="dark"] .lc-tech-bg__grid {
  background-image:
    linear-gradient(rgba(74, 108, 244, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 108, 244, 0.05) 1px, transparent 1px);
}

html[data-lc-color-scheme="dark"] .lc-tech-bg__blob--1 {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(79, 70, 229, 0.2));
}

html[data-lc-color-scheme="dark"] .lc-tech-bg__blob--2 {
  background: linear-gradient(225deg, rgba(147, 51, 234, 0.22), rgba(219, 39, 119, 0.15));
}

html[data-lc-color-scheme="dark"] .lc-tech-bg__blob--3 {
  background: linear-gradient(45deg, rgba(219, 39, 119, 0.2), rgba(234, 88, 12, 0.15));
}

html[data-lc-color-scheme="dark"] .lc-tech-bg__blob--4 {
  background: linear-gradient(315deg, rgba(202, 138, 4, 0.18), rgba(234, 88, 12, 0.12));
}

html[data-lc-color-scheme="dark"] .lc-tech-bg__blob {
  opacity: 0.4;
}

/* 响应式优化 */
@media (max-width: 768px) {
  .lc-tech-bg__blob {
    filter: blur(40px);
  }

  .lc-tech-bg__blob--1 {
    width: 200px;
    height: 200px;
  }

  .lc-tech-bg__blob--2 {
    width: 180px;
    height: 180px;
  }

  .lc-tech-bg__blob--3 {
    width: 190px;
    height: 190px;
  }

  .lc-tech-bg__blob--4 {
    width: 160px;
    height: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .lc-tech-bg__grid--highlight,
  .lc-tech-bg__blob {
    animation: none;
  }

  .lc-tech-bg__grid--highlight {
    display: none;
  }
}

/* --- Stage (main + optional widgets) --- */

.lc-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(12px, 2.5vw, 24px);
  padding: 0;
}

body.has-right-sidebar .lc-stage {
  grid-template-columns: minmax(0, 1fr) minmax(180px, var(--lc-aside-max));
}

.lc-main {
  min-width: 0;
  outline: none;
}

.lc-main__surface {
  background: var(--lc-surface-panel);
  backdrop-filter: blur(var(--lc-blur-main, 14px));
  -webkit-backdrop-filter: blur(var(--lc-blur-main, 14px));
  border: 1px solid var(--lc-border-divider);
  border-radius: 1.5rem;
  padding: clamp(24px, 2vw, 40px);
  min-height: 60vh;
  box-shadow: var(--lc-shadow), var(--lc-inner-light);
}

.lc-widgets {
  min-width: 0;
}

.lc-widgets__inner {
  position: sticky;
  top: var(--lc-space);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.25vw, 18px);
}

.lc-widgets .lc-island--widget {
  margin-bottom: 0;
}

/* --- Glass cards --- */

.lc-glass {
  background: var(--lc-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--lc-shadow), var(--lc-inner-light);
  border-radius: var(--lc-radius-xl);
  transition:
    color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.lc-glass--soft {
  background: var(--lc-glass-soft);
}

.lc-card {
  padding: 24px;
  /* margin-bottom: 24px; */
}

/* 确保卡片内所有元素都有平滑过渡 */
/* .lc-card *,
.lc-card *::before,
.lc-card *::after {
  transition-property: background-color, border-color, color, fill, stroke,
                       box-shadow, text-shadow, opacity;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
} */

.lc-card--pad {
  /* padding already on .lc-card */
}

.lc-card:last-child {
  margin-bottom: 0;
}

/*
 * Glass cards: avoid animating backdrop-filter or scaling the whole surface (GPU / layout).
 * List & project cards use their own hover rules; other .lc-card.lc-glass get a light shadow lift only.
 */
.lc-js .lc-card.lc-glass:not(.lc-post--row):not(.lc-project-card):hover {
  box-shadow:
    0 4px 12px rgba(30, 40, 60, 0.05),
    0 12px 32px rgba(30, 40, 60, 0.08),
    var(--lc-inner-light);
}

.lc-feed .lc-card:last-child {
  margin-bottom: 0;
}

.lc-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* List feed: divider rows instead of stacked glass cards */
.lc-feed .lc-post--row.lc-glass {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-radius: 0;
  border-bottom: 1px solid var(--lc-border-divider);
  transition: background-color 0.2s ease;
}

.lc-feed .lc-post--row.lc-glass:last-child {
  border-bottom: none;
}

.lc-feed .lc-post--row:hover {
  transform: none;
  box-shadow: none;
  background: var(--lc-list-row-hover);
}

.lc-feed .lc-post--row .lc-post__cardlink {
  border-radius: 0;
}

/* Compact square thumb — list reads as one line of story, not a slab */
.lc-feed .lc-post--row {
  align-items: center;
}

.lc-feed .lc-post__cover {
  flex: 0 0 104px;
  width: 104px;
  max-width: 104px;
  min-width: 104px;
  align-self: center;
  height: auto;
  aspect-ratio: 1;
  max-height: 104px;
  border-radius: 12px;
}

@media (max-width: 720px) {
  .lc-feed .lc-post__cover {
    flex: 0 0 80px;
    width: 80px;
    max-width: 80px;
    min-width: 80px;
    max-height: 80px;
    border-radius: 10px;
  }
}

/* --- Type --- */

.lc-display {
  font-family: var(--lc-font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.5rem;
}

.lc-display--sm {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.lc-headline {
  font-family: var(--lc-font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.lc-headline--md {
  font-size: 1.75rem;
}

.lc-pagehead {
  padding: 28px 32px;
  margin-bottom: 28px;
}

.lc-pagehead__title {
  font-family: var(--lc-font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin: 0 0 0.35rem;
  line-height: 1.05;
}

.lc-pagehead__subtitle {
  margin: 0;
  font-size: 1rem;
}

.lc-muted {
  color: var(--lc-meta);
}

.lc-label {
  font-family: var(--lc-font-mono);
  font-size: 0.78rem;
  color: var(--lc-meta);
}

.lc-label--dim {
  opacity: 0.85;
}

/* --- Post list / single --- */

.lc-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.lc-post__meta--inline {
  align-items: center;
}

.lc-post__meta--inline .lc-chips {
  margin: 0;
}

/* Post list: horizontal cover + body — card padding only on .lc-post__body; cover flush to card edges */
.lc-post--row {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
}

.lc-post--row.lc-card {
  padding: 0;
  overflow: hidden;
}

.lc-post--row .lc-post__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 14px 18px;
  justify-content: center;
}

.lc-post__kicker {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-family: var(--lc-font-mono);
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.2;
}

.lc-post__kicker-link {
  color: var(--lc-meta);
  text-decoration: none;
  transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.lc-post__kicker-link:hover {
  color: var(--lc-primary);
}

/* Cover: default wide strip (non-.lc-feed contexts may still use archive layouts) */
.lc-post__cover {
  flex: 0 0 auto;
  flex-shrink: 0;
  width: min(280px, max(168px, 23%));
  min-height: 0;
  align-self: stretch;
  border-radius: var(--lc-radius-xl) 0 0 var(--lc-radius-xl);
  overflow: hidden;
  background: var(--lc-elevated);
  line-height: 0;
  box-shadow: none;
}

.lc-post--single .lc-post__cover {
  width: 100%;
}

.lc-post__cover img,
.lc-post__cover-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lc-post__cardlink {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--lc-radius-xl);
  text-decoration: none;
}

.lc-post__cardlink:focus-visible {
  outline: 2px solid var(--lc-focus-ring);
  outline-offset: 2px;
}

.lc-post--row {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lc-post--row:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(30, 40, 60, 0.06), 0 6px 20px rgba(30, 40, 60, 0.06);
}

@media (prefers-reduced-motion: reduce) {

  .lc-card,
  .lc-cta,
  .lc-chip,
  .lc-sidebar__glass,
  .lc-mobile-header {
    transition: none !important;
  }

  .lc-js .lc-card.lc-glass:hover {
    transform: none;
  }

  .lc-mobile-brand--scrolling .lc-mobile-brand__name-track {
    animation: none;
  }
}

/* Mobile touch feedback */
@media (hover: none) and (pointer: coarse) {
  .lc-post--row:active {
    transform: scale(0.98);
  }

  .lc-chip:active,
  .lc-btn:active {
    transform: scale(0.97);
  }

  .lc-cta:active {
    transform: scale(0.98);
  }
}

.lc-post--row .lc-post__title {
  transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.lc-post--row:hover .lc-post__title {
  color: var(--lc-primary);
}

.lc-post--row .lc-post__header {
  margin-bottom: 6px;
}

.lc-post--row .lc-post__headline {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.lc-feed .lc-post--row .lc-post__excerpt {
  margin-top: 0;
  flex: 1;
  color: var(--lc-meta);
  font-size: 0.8125rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.lc-post--row .lc-post__excerpt {
  margin-top: 0;
  flex: 1;
  color: var(--lc-meta);
  font-size: 0.88rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.lc-feed .lc-post--row .lc-post__footer {
  display: block;
  margin-top: 10px;
  padding-top: 0;
}

.lc-post--row .lc-post__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding-top: 8px;
}

.lc-feed .lc-post--row .lc-post__date {
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--lc-meta);
  opacity: 0.92;
}

.lc-post--row .lc-post__footline {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.lc-post__avatar {
  flex-shrink: 0;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50%;
  box-shadow: var(--lc-inner-light);
}

.lc-post__byline {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--lc-meta);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lc-post__sep {
  margin: 0 0.35rem;
  opacity: 0.65;
}

.lc-post__bookmark {
  flex-shrink: 0;
  display: flex;
  color: var(--lc-meta);
  opacity: 0.65;
}

.lc-post__bookmark-icon {
  display: block;
}

@media (max-width: 720px) {
  .lc-post--row {
    flex-direction: row;
  }

  .lc-post--row .lc-post__body {
    padding: 14px 16px;
  }

  .lc-post--row.lc-post--no-cover .lc-post__body {
    padding-top: 14px;
  }

  .lc-post__cover {
    width: min(140px, max(100px, 38%));
    max-width: none;
    align-self: stretch;
    aspect-ratio: auto;
    border-radius: var(--lc-radius-xl) 0 0 var(--lc-radius-xl);
  }

  .lc-post--row .lc-post__byline {
    white-space: normal;
  }
}

.lc-feed .lc-project-card {
  width: 100%;
}

.lc-post__header {
  margin-bottom: 8px;
}

.lc-post__header--single {
  margin-bottom: 16px;
}

.lc-post__titlelink {
  color: inherit;
  text-decoration: none;
}

.lc-post__titlelink:hover {
  color: var(--lc-primary);
}

.lc-post--row .lc-post__title {
  display: block;
  color: inherit;
}

.lc-post__excerpt {
  display: block;
  margin-top: 8px;
  color: inherit;
  text-decoration: none;
}

.lc-post__excerpt,
.lc-post__excerpt *,
.lc-post__excerpt *::before,
.lc-post__excerpt *::after {
  transition-property: background-color, border-color, color, fill, stroke,
                       box-shadow, text-shadow, opacity;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.lc-post__excerpt p {
  margin: 0;
}

.lc-post__excerpt:hover {
  color: var(--lc-primary);
}

/* List cards: excerpt is not a link; hover handled on card */
.lc-post--row .lc-post__excerpt:hover {
  color: inherit;
}

.lc-chips {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lc-chips--tags {
  margin-top: 8px;
}

.lc-post-tags .lc-chips--tags {
  margin-top: 0;
  margin-bottom: 0;
}

.lc-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-family: var(--lc-font-mono);
  font-size: 0.78rem;
  text-decoration: none;
  color: var(--lc-on-surface);
  background: var(--lc-chip-bg);
  gap: 0.5rem;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.lc-chip:hover {
  color: #fff;
  background: linear-gradient(120deg,
      var(--lc-primary),
      var(--lc-primary-soft));
  box-shadow: 0 4px 14px rgba(74, 108, 244, 0.2);
}

/* .lc-hero {
  margin: 1.25rem 0 1.5rem;
  border-radius: calc(var(--lc-radius-xl) - 6px);
  overflow: hidden;
  box-shadow: var(--lc-shadow);
}

.lc-hero__img {
  display: block;
  width: 100%;
  height: auto;
} */

.lc-bodytext {
  font-size: 1rem;
  line-height: 1.6;
}

.lc-content>*:first-child {
  margin-top: 0;
}

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

.lc-content a {
  color: var(--lc-primary);
  font-weight: 500;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.lc-content a:hover {
  color: var(--lc-primary-soft);
}

.lc-content .wp-block-file .wp-block-file__button,
.lc-content .wp-block-button__link {
  text-decoration: none;
  font-weight: 600;
}

.lc-content img,
.lc-content video {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* --- Single entry: Gutenberg blocks & prose（与玻璃主题统一）--- */

.lc-content>*:not(:last-child) {
  margin-bottom: 1.15rem;
}

.lc-content h2,
.lc-content h3,
.lc-content h4 {
  font-family: var(--lc-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--lc-on-surface);
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
}

.lc-content h2 {
  font-size: 1.45rem;
}

.lc-content h3 {
  font-size: 1.2rem;
}

.lc-content h4 {
  font-size: 1.05rem;
}

.lc-content ul,
.lc-content ol {
  padding-left: 1.35rem;
  margin: 0 0 1.15rem;
}

.lc-content li {
  margin: 0.35rem 0;
}

.lc-content li::marker {
  color: var(--lc-primary-soft);
}

.lc-content blockquote,
.lc-content .wp-block-quote {
  margin: 1.35rem 0;
  padding: 1.1rem 1.15rem 1.15rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--lc-input-border);
  border-left: 4px solid var(--lc-primary-soft);
  background: var(--lc-elevated);
  box-shadow: var(--lc-inner-light);
  font-style: normal;
  color: var(--lc-on-surface);
}

.lc-content blockquote p:last-child,
.lc-content .wp-block-quote p:last-child {
  margin-bottom: 0;
}

.lc-content blockquote cite,
.lc-content .wp-block-quote cite,
.lc-content .wp-block-quote .wp-block-quote__citation {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--lc-font-mono);
  font-size: 0.78rem;
  font-style: normal;
  color: var(--lc-neutral);
}

.lc-content .wp-block-pullquote {
  margin: 1.5rem 0;
  padding: 1.35rem 1.25rem;
  border-radius: var(--lc-radius-xl);
  border: 1px solid var(--lc-input-border);
  background: var(--lc-elevated);
  box-shadow: var(--lc-inner-light);
  text-align: center;
}

.lc-content .wp-block-pullquote blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* 不对 pre、code 做主题样式，避免与 Prismatic 等代码高亮插件冲突 */

.lc-content hr,
.lc-content .wp-block-separator {
  margin: 2rem 0;
  border: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      var(--lc-border-divider),
      transparent);
}

.lc-content .wp-block-separator.is-style-dots::before {
  color: var(--lc-neutral);
}

.lc-content .wp-block-table,
.lc-content table {
  margin: 1.25rem 0;
  width: 100%;
  border-collapse: collapse;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--lc-input-border);
  font-size: 0.92rem;
  box-shadow: var(--lc-inner-light);
}

.lc-content .wp-block-table thead,
.lc-content table thead {
  background: var(--lc-chip-bg);
}

.lc-content .wp-block-table th,
.lc-content .wp-block-table td,
.lc-content table th,
.lc-content table td {
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--lc-border-divider);
  text-align: left;
}

.lc-content figure,
.lc-content .wp-block-gallery {
  margin: 1.35rem 0;
}

.lc-content figcaption {
  margin-top: 0.5rem;
  font-family: var(--lc-font-mono);
  font-size: 0.75rem;
  color: var(--lc-neutral);
  line-height: 1.45;
}

.lc-content .wp-block-image figcaption {
  text-align: center;
}

.lc-content .wp-block-embed {
  margin: 1.35rem 0;
}

.lc-content .wp-block-embed__wrapper {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--lc-shadow);
}

.lc-content .wp-block-file {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--lc-input-border);
  background: var(--lc-elevated);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.lc-content .wp-block-file a:not(.wp-block-file__button) {
  font-weight: 600;
  text-decoration: none;
}

.lc-content .wp-block-file .wp-block-file__button {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-family: var(--lc-font-display);
  font-size: 0.85rem;
  color: #fff !important;
  background: linear-gradient(120deg,
      var(--lc-primary),
      var(--lc-primary-soft)) !important;
  box-shadow: var(--lc-shadow);
  border: 0 !important;
}

.lc-content .wp-block-buttons {
  margin: 1.25rem 0;
  gap: 0.65rem;
}

.lc-content .wp-block-button .wp-block-button__link {
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-family: var(--lc-font-display);
  font-weight: 700;
  background: linear-gradient(120deg,
      var(--lc-primary),
      var(--lc-primary-soft));
  color: #fff !important;
  box-shadow: var(--lc-shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.lc-content .wp-block-button .wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(74, 108, 244, 0.22);
}

.lc-content .wp-block-group.has-background {
  border-radius: 16px;
  padding: 1.25rem 1.35rem !important;
  border: 1px solid var(--lc-input-border);
  box-shadow: var(--lc-inner-light);
}

.lc-post__media {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.lc-post__media--1 {
  grid-template-columns: 1fr;
}

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

.lc-post__media--3,
.lc-post__media--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lc-post__thumb {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--lc-shadow);
}

.lc-post__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.lc-post__footer {
  margin-top: 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--lc-border-divider);
}

.lc-post-tags {
  margin: 0;
  padding: 1rem 1.1rem 1.05rem;
  border-radius: 18px;
  background: var(--lc-elevated);
  border: 1px solid var(--lc-input-border);
  box-shadow: var(--lc-inner-light);
}

.lc-post-tags__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  padding: 0;
}

.lc-post-tags__icon {
  display: flex;
  color: var(--lc-primary-soft);
  flex-shrink: 0;
}

.lc-post-tags__label {
  font-family: var(--lc-font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lc-neutral);
}

.lc-post-tags .lc-chips {
  margin-bottom: 0;
}

.lc-main__surface>.lc-post--single.lc-card {
  margin-bottom: 0;
}

.lc-postnav {
  padding: 20px 22px;
  margin-top: 24px;
  margin-bottom: 0;
  border-radius: var(--lc-radius-xl);
  border: 1px solid var(--lc-postnav-wrap-border);
}

.lc-comments {
  margin-top: 24px;
}

.lc-postnav .post-navigation {
  margin: 0;
}

.lc-postnav .post-navigation .nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 640px) {
  .lc-postnav .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }
}

.lc-postnav .nav-previous:empty,
.lc-postnav .nav-next:empty {
  display: none;
}

.lc-postnav .nav-previous a,
.lc-postnav .nav-next a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  text-decoration: none;
  color: var(--lc-on-surface);
  font-family: var(--lc-font-body);
  font-weight: 600;
  line-height: 1.35;
  background: var(--lc-postnav-card-bg);
  border: 1px solid var(--lc-input-border);
  box-shadow: var(--lc-inner-light);
  transition:
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.lc-postnav .nav-next a {
  align-items: flex-end;
  text-align: right;
}

.lc-postnav .nav-previous a:hover,
.lc-postnav .nav-next a:hover {
  color: var(--lc-primary-soft);
  box-shadow:
    var(--lc-inner-light),
    0 0 0 1px var(--lc-postnav-hover-ring);
  transform: translateY(-1px);
}

.lc-postnav__hint {
  display: block;
  font-family: var(--lc-font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lc-neutral);
}

.lc-postnav__title {
  font-family: var(--lc-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--lc-on-surface);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Pagination --- */

.lc-pagination {
  margin-top: 26px;
  padding: 14px 16px;
}

.lc-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0;
}

.lc-pagination a,
.lc-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-family: var(--lc-font-mono);
  font-size: 0.8rem;
  text-decoration: none;
  background: var(--lc-pill-bg);
  color: var(--lc-on-surface);
  box-shadow: var(--lc-inner-light);
  border: 1px solid var(--lc-input-border);
}

.lc-pagination a:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg,
      var(--lc-primary),
      var(--lc-primary-soft));
}

.lc-pagination span.current {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg,
      var(--lc-primary),
      var(--lc-primary-soft));
  box-shadow: var(--lc-shadow);
}

/* --- Comments --- */

.lc-comments__head {
  margin-bottom: 0.35rem;
}

.lc-comments__title {
  margin: 0 0 1rem;
}

.lc-comments__reply-title {
  margin: 1rem 0 1rem;
  padding: 0.65rem 0 0.7rem;
  font-family: var(--lc-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--lc-on-surface);
  background: var(--lc-reply-title-bg);
  /* border: 1px solid var(--lc-reply-title-border); */
  border-radius: 16px;
  box-shadow: var(--lc-inner-light);
}

.lc-comments__reply-title small {
  font-family: var(--lc-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--lc-neutral);
}

#cancel-comment-reply-link {
  display: inline-block;
  margin-top: 0.35rem;
  margin-left: 0.35rem;
  font-family: var(--lc-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--lc-primary);
  text-decoration: none;
}

#cancel-comment-reply-link:hover {
  text-decoration: underline;
}

.lc-comments__pagination {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--lc-border-divider);
}

.lc-comments__pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.lc-comments__pagination a,
.lc-comments__pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-family: var(--lc-font-mono);
  font-size: 0.78rem;
  text-decoration: none;
  background: var(--lc-pill-bg);
  color: var(--lc-on-surface);
  box-shadow: var(--lc-inner-light);
  border: 1px solid var(--lc-input-border);
}

.lc-comments__pagination a:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg,
      var(--lc-primary),
      var(--lc-primary-soft));
}

.lc-comments__pagination span.current {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg,
      var(--lc-primary),
      var(--lc-primary-soft));
  box-shadow: var(--lc-shadow);
}

.lc-comments__respond {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--lc-border-divider);
}

.lc-guestbook-layout .lc-post--page {
  margin-bottom: 20px;
}

.lc-guestbook-layout .lc-comments {
  margin-top: 0;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comment-list .children {
  list-style: none;
  margin: 16px 0 0;
  padding: 0 0 0 16px;
  border-left: 3px solid var(--lc-thread-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-list>li.pingback,
.comment-list>li.trackback {
  list-style: none;
}

.comment-body {
  position: relative;
  padding: 1rem 1.1rem 1.05rem;
  border-radius: 20px;
  background: var(--lc-elevated);
  border: 1px solid var(--lc-input-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--lc-inner-light), var(--lc-shadow);
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.35rem 0.75rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid var(--lc-border-divider);
  font-family: var(--lc-font-mono);
  font-size: 0.72rem;
  color: var(--lc-neutral);
}

.comment-author.vcard {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.comment-author .avatar {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--lc-shadow);
  border: 1px solid var(--lc-input-border);
}

.comment-author .fn,
.comment-author .fn a {
  font-family: var(--lc-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--lc-on-surface);
  text-decoration: none;
}

.comment-author .fn a:hover {
  color: var(--lc-primary);
}

.comment-list .says {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.comment-metadata {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
}

.comment-metadata a {
  color: var(--lc-neutral);
  text-decoration: none;
  font-weight: 500;
}

.comment-metadata a:hover {
  color: var(--lc-primary);
}

.comment-metadata time {
  font-variant-numeric: tabular-nums;
}

.comment-awaiting-moderation {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-family: var(--lc-font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--lc-on-surface);
  background: var(--lc-chip-bg);
  border: 1px solid var(--lc-input-border);
}

.comment-content {
  margin-top: 0.35rem;
  font-family: var(--lc-font-body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--lc-on-surface);
}

.comment-content>*:first-child {
  margin-top: 0;
}

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

.comment-content p {
  margin: 0.5rem 0 0;
}

.comment-content a {
  color: var(--lc-primary);
  font-weight: 500;
  text-decoration: none;
  word-break: break-word;
}

.comment-content a:hover {
  text-decoration: underline;
}

.reply {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--lc-border-divider);
}

.reply a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-family: var(--lc-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--lc-primary);
  background: var(--lc-chip-bg);
  border: 1px solid var(--lc-input-border);
  box-shadow: var(--lc-inner-light);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.reply a:hover {
  color: #fff;
  background: linear-gradient(120deg,
      var(--lc-primary),
      var(--lc-primary-soft));
  border-color: transparent;
  transform: translateY(-1px);
}

.pingback .comment-body,
.trackback .comment-body {
  padding: 0.85rem 1rem;
}

.pingback .comment-content,
.trackback .comment-content {
  font-family: var(--lc-font-mono);
  font-size: 0.8rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 16px;
  border: 1px solid var(--lc-input-border);
  padding: 0.75rem 1rem;
  font-family: var(--lc-font-body);
  font-size: 0.95rem;
  color: var(--lc-on-surface);
  background: var(--lc-input-bg);
  box-shadow: var(--lc-inner-light);
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: 2px solid var(--lc-focus-ring);
  outline-offset: 1px;
}

.lc-btn {
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  border: 0;
  cursor: pointer;
  font-family: var(--lc-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lc-btn--primary {
  color: #fff;
  background: linear-gradient(120deg,
      var(--lc-primary),
      var(--lc-primary-soft));
  box-shadow: var(--lc-shadow);
}

/* ============================================================================
   Tech Comments - 科技风格留言板
   ============================================================================ */

.lc-comments-tech {
  position: relative;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--lc-glass);
  border: 1px solid var(--lc-border);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--lc-shadow);
  overflow: hidden;
}

/* Section variant of tech background */
.lc-tech-bg--section {
  opacity: 0.5;
}

.lc-comments-tech__container {
  position: relative;
  z-index: 1;
}

/* Comments Header */
.lc-comments-tech__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--lc-border);
}

.lc-comments-tech__header--empty {
  border-bottom: none;
  margin-bottom: 0;
}

.lc-comments-tech__title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lc-comments-tech__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--lc-chip-bg);
  border: 1px solid var(--lc-border);
  border-radius: 12px;
  color: var(--lc-primary);
}

.lc-comments-tech__title {
  margin: 0;
  font-family: var(--lc-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lc-on-surface);
}

.lc-comments-tech__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 20px;
}

.lc-comments-tech__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: lc-status-pulse 2s ease-in-out infinite;
}

@keyframes lc-status-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0);
  }
}

.lc-comments-tech__status-text {
  font-family: var(--lc-font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: #22c55e;
}

/* Comments List */
.lc-comments-tech__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lc-comments-tech__list .children {
  list-style: none;
  margin: 1rem 0 0 0;
  padding: 0 0 0 1.5rem;
  border-left: 2px solid var(--lc-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Individual Comment */
.lc-comment-tech {
  position: relative;
}

.lc-comment-tech__body {
  padding: 1rem;
  background: transparent;
  border: 1px solid var(--lc-border-divider);
  border-radius: 14px;
  box-shadow: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.lc-comment-tech__body:hover {
  border-color: var(--lc-primary);
  box-shadow: 0 0 0 1px var(--lc-primary);
}

.lc-comments-tech__list .children .lc-comment-tech__body {
  background: var(--lc-surface-low);
}

.lc-comments-tech__list .children .lc-comment-tech__avatar-wrap,
.lc-comments-tech__list .children .lc-comment-tech__avatar-wrap .lc-avatar,
.lc-comments-tech__list .children .lc-comment-tech__avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

/* Comment Header */
.lc-comment-tech__header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.lc-comment-tech__meta {
  min-width: 0;
}

.lc-comment-tech__avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}

.lc-avatar {
  position: relative;
  display: inline-grid;
  overflow: hidden;
  line-height: 0;
  vertical-align: middle;
}

.lc-comment-tech__avatar-wrap .lc-avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--lc-surface);
}

.lc-article__author .lc-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: transparent;
}

.lc-avatar--40,
.lc-comment-feed__avatar-wrap--sm,
.lc-comment-feed__avatar-wrap--sm .lc-avatar,
.lc-comment-tech--reply .lc-comment-tech__avatar-wrap,
.lc-comment-tech--reply .lc-comment-tech__avatar-wrap .lc-avatar {
  width: 40px;
  height: 40px;
}

.lc-avatar > img,
.lc-avatar > .lc-avatar__fallback {
  grid-area: 1 / 1;
}

.lc-avatar__fallback {
  display: none;
  place-items: center;
  width: 100%;
  height: 100%;
  background: var(--lc-chip-bg);
  color: var(--lc-primary);
  font-family: var(--lc-font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
}

.lc-avatar.is-fallback > img {
  display: none;
}

.lc-avatar.is-fallback > .lc-avatar__fallback {
  display: grid;
}

.lc-comment-tech__avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  border: 2px solid var(--lc-border);
  box-shadow: var(--lc-shadow);
}

.lc-comment-tech__badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: linear-gradient(120deg, var(--lc-primary), var(--lc-primary-soft));
  border: 2px solid var(--lc-surface);
  border-radius: 50%;
  color: #fff;
}

.lc-comment-tech__meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}

.lc-comment-tech__author-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.lc-comment-tech__author {
  font-family: var(--lc-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--lc-on-surface);
}

.lc-comment-tech__author a {
  color: inherit;
  text-decoration: none;
}

.lc-comment-tech__author a:hover {
  color: var(--lc-primary);
}

.lc-comment-tech__pending {
  padding: 0.15rem 0.5rem;
  background: var(--lc-chip-bg);
  border: 1px solid var(--lc-border);
  border-radius: 999px;
  font-family: var(--lc-font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--lc-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lc-comment-tech__info-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lc-comment-tech__time {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--lc-font-mono);
  font-size: 0.75rem;
  color: var(--lc-neutral);
}

.lc-comment-tech__edit {
  font-family: var(--lc-font-mono);
  font-size: 0.75rem;
}

.lc-comment-tech__edit a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--lc-neutral);
  text-decoration: none;
}

.lc-comment-tech__edit a:hover {
  color: var(--lc-primary);
}

/* Comment Content */
.lc-comment-tech__content {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--lc-on-surface);
}

.lc-comment-tech__content>*:first-child {
  margin-top: 0;
}

.lc-comment-tech__content>*:last-child {
  margin-bottom: 0;
}

.lc-comment-tech__content p {
  margin: 0.75rem 0;
}

.lc-comment-tech__content a {
  color: var(--lc-primary);
  text-decoration: none;
  font-weight: 500;
}

.lc-comment-tech__content a:hover {
  text-decoration: underline;
}

.lc-comment-tech__content code {
  padding: 0.15rem 0.4rem;
  background: var(--lc-surface-low);
  border: 1px solid var(--lc-border);
  border-radius: 4px;
  font-family: var(--lc-font-mono);
  font-size: 0.85em;
  color: var(--lc-on-surface);
}

.lc-comment-tech__content pre {
  padding: 1rem;
  background: var(--lc-surface-low);
  border: 1px solid var(--lc-border);
  border-radius: 8px;
  overflow-x: auto;
}

.lc-comment-tech__content pre code {
  padding: 0;
  background: none;
  border: none;
}

.lc-comment-tech__header .comment-reply-link,
.lc-comment-tech__header .lc-comment-feed__reply {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  align-self: flex-start;
  margin: 0 0 0 auto;
  padding: 0.3rem 0.7rem;
  background: var(--lc-chip-bg);
  border: 1px solid var(--lc-border);
  border-radius: 8px;
  font-family: var(--lc-font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--lc-primary);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lc-comment-tech__header .comment-reply-link:hover,
.lc-comment-tech__header .lc-comment-feed__reply:hover,
.lc-comment-tech__header .lc-comment-feed__reply[aria-expanded="true"] {
  background: var(--lc-primary);
  border-color: var(--lc-primary);
  color: #fff;
}

/* Pagination */
.lc-comments-tech__pagination {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--lc-border);
}

.lc-comments-tech__pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.lc-comments-tech__pagination a,
.lc-comments-tech__pagination span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  background: var(--lc-surface);
  border: 1px solid var(--lc-border);
  border-radius: 8px;
  font-family: var(--lc-font-mono);
  font-size: 0.8rem;
  color: var(--lc-on-surface);
  text-decoration: none;
  transition: all 0.2s ease;
}

.lc-comments-tech__pagination a:hover {
  border-color: var(--lc-primary);
  color: var(--lc-primary);
}

.lc-comments-tech__pagination .current {
  background: var(--lc-primary);
  border-color: var(--lc-primary);
  color: #fff;
}

/* Empty State */
.lc-comments-tech__empty {
  text-align: center;
  padding: 3rem 1.5rem;
}

.lc-comments-tech__empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  background: var(--lc-surface);
  border: 1px solid var(--lc-border);
  border-radius: 20px;
  color: var(--lc-neutral);
}

.lc-comments-tech__empty-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--lc-neutral);
}

/* Comment Form */
.lc-comments-tech__respond {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--lc-border);
}

.lc-comments-tech__form-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.lc-comments-tech__form-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(120deg, var(--lc-primary), var(--lc-primary-soft));
  border-radius: 10px;
  color: #fff;
}

.lc-comments-tech__form-title {
  margin: 0;
  font-family: var(--lc-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lc-on-surface);
}

/* Tech Comment Form */
.lc-comment-form-tech {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lc-comment-form-tech__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lc-comment-form-tech__label {
  font-family: var(--lc-font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lc-neutral);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lc-comment-form-tech__required {
  color: #ef4444;
}

.lc-comment-form-tech__input,
.lc-comment-form-tech__textarea {
  padding: 0.75rem 1rem;
  background: var(--lc-surface);
  border: 1px solid var(--lc-border);
  border-radius: 10px;
  font-family: var(--lc-font-body);
  font-size: 0.95rem;
  color: var(--lc-on-surface);
  transition: all 0.2s ease;
}

.lc-comment-form-tech__input::placeholder,
.lc-comment-form-tech__textarea::placeholder {
  color: var(--lc-placeholder);
}

.lc-comment-form-tech__input:focus,
.lc-comment-form-tech__textarea:focus {
  outline: none;
  border-color: var(--lc-primary);
  box-shadow: 0 0 0 3px var(--lc-primary-glow);
}

.lc-comment-form-tech__textarea {
  min-height: 120px;
  resize: vertical;
}

/* Form Grid for Name/Email/URL */
.lc-comment-form-tech .comment-form-author,
.lc-comment-form-tech .comment-form-email,
.lc-comment-form-tech .comment-form-url {
  margin: 0;
}

.lc-comment-form-tech .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
}

.lc-comment-form-tech .comment-form-cookies-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--lc-primary);
}

.lc-comment-form-tech .comment-form-cookies-consent label {
  font-size: 0.85rem;
  color: var(--lc-neutral);
  line-height: 1.5;
}

.lc-comment-form-tech .form-submit {
  margin: 0;
}

.lc-comment-form-tech__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(120deg, var(--lc-primary), var(--lc-primary-soft));
  border: none;
  border-radius: 10px;
  font-family: var(--lc-font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--lc-shadow);
}

.lc-comment-form-tech__submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--lc-shadow-lg);
}

.lc-comment-form-tech__submit:active {
  transform: translateY(0);
}

.lc-comment-form-tech__logged-in-as,
.lc-comment-form-tech__must-log-in {
  margin: 0;
  padding: 1rem;
  background: var(--lc-surface);
  border: 1px solid var(--lc-border);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--lc-neutral);
}

.lc-comment-form-tech__logged-in-as a,
.lc-comment-form-tech__must-log-in a {
  color: var(--lc-primary);
  text-decoration: none;
  font-weight: 500;
}

.lc-comment-form-tech__logged-in-as a:hover,
.lc-comment-form-tech__must-log-in a:hover {
  text-decoration: underline;
}

/* Cancel Reply Link */
.lc-comment-form-tech__cancel {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.75rem;
  padding: 0.35rem 0.75rem;
  background: var(--lc-surface);
  border: 1px solid var(--lc-border);
  border-radius: 8px;
  font-family: var(--lc-font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--lc-neutral);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lc-comment-form-tech__cancel:hover {
  border-color: #ef4444;
  color: #ef4444;
}

/* Reply title with cancel link */
#reply-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--lc-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lc-on-surface);
}

#reply-title small {
  font-size: inherit;
  font-weight: normal;
}

/* Reply form when moved under a comment */
.lc-comment-tech .lc-comments-tech__respond {
  margin-top: 1rem;
  padding: 1.25rem;
  background: var(--lc-surface);
  border: 1px solid var(--lc-border);
  border-radius: 12px;
  box-shadow: var(--lc-inner-light);
}

.lc-comment-tech .lc-comments-tech__form-header {
  margin-bottom: 1rem;
}

.lc-comment-tech .lc-comment-form-tech {
  gap: 0.75rem;
}

.lc-comment-tech .lc-comment-form-tech__field {
  gap: 0.3rem;
}

.lc-comment-tech .lc-comment-form-tech__input,
.lc-comment-tech .lc-comment-form-tech__textarea {
  padding: 0.625rem 0.875rem;
}

.lc-comment-tech .lc-comment-form-tech__textarea {
  min-height: 100px;
}

.lc-comment-tech .lc-comment-form-tech__submit {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .lc-comments-tech {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .lc-comments-tech__header {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .lc-comment-tech__header {
    align-items: flex-start;
    gap: 0.75rem;
  }

  .lc-comment-tech__avatar-wrap,
  .lc-comment-tech__avatar-wrap .lc-avatar,
  .lc-comment-tech__avatar {
    width: 44px;
    height: 44px;
  }

  .lc-comments-tech__list .children {
    padding-left: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lc-comments-tech__pulse {
    animation: none;
  }
}

/* Guestbook page: comments-tech flat section override (no glass card) */
body.lc-guestbook .lc-comments-tech {
  background: transparent;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  padding: 0;
  margin-top: 1.5rem;
}

body.lc-guestbook .lc-comments-tech__header {
  padding-bottom: 1.5rem;
  margin-bottom: 0;
  /* border-bottom: 1px solid var(--lc-border-divider); */
  border-bottom: none;
}

body.lc-guestbook .lc-comments-tech__respond {
  margin-top: 2.5rem;
  padding-top: 2rem;
}

body.lc-guestbook .lc-comment-tech .lc-comments-tech__respond {
  background: var(--lc-surface);
  border: 1px solid var(--lc-border);
  border-radius: 12px;
  box-shadow: var(--lc-inner-light);
}

@media (max-width: 768px) {
  body.lc-guestbook .lc-comments-tech {
    padding: 0;
    border-radius: 0;
  }
}

/* Single post: comments-tech flat section override (no glass card) */
.lc-single-post .lc-comments-tech {
  background: transparent;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  padding: 2rem 3rem 2.5rem;
  margin-top: 0;
  border-top: 1px solid var(--lc-border-divider);
}

.lc-single-post .lc-comments-tech__header {
  padding-bottom: 1.5rem;
  margin-bottom: 0;
  border-bottom: 1px solid var(--lc-border-divider);
}

.lc-single-post .lc-comments-tech__respond {
  margin-top: 2.5rem;
  padding-top: 2rem;
}

.lc-single-post .lc-comment-tech .lc-comments-tech__respond {
  background: var(--lc-surface);
  border: 1px solid var(--lc-border);
  border-radius: 12px;
  box-shadow: var(--lc-inner-light);
}

@media (max-width: 768px) {
  .lc-single-post .lc-comments-tech {
    padding: 0 1.25rem 2rem;
    border-radius: 0;
  }
}

/* ============================================================================
   Social Links - 通用社交链接样式
   ============================================================================ */

.lc-social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lc-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.lc-social-link__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lc-social-link__icon svg {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.lc-social-link__label {
  margin-left: 0.5rem;
  font-size: 0.875rem;
}

/* ============================================================================
   Spotlight search dialog
   Radius/shadow alias existing v2 tokens. Later nav-expand rules in
   sections.css stay in the file; these selectors outrank them.
   ============================================================================ */

html {
  --lc-panel-duration: 250ms;
}

#searchOverlay.lc-search {
  --lc-radius-card: var(--lc-radius-xl);
  --lc-shadow-card: var(--lc-shadow);
  --lc-panel-duration: 250ms;
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  gap: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  align-items: stretch;
}

#searchOverlay.lc-search.is-open {
  display: block;
}

#searchOverlay.lc-search:focus-within {
  background: transparent;
  box-shadow: none;
}

html.lc-search-open {
  overflow: hidden;
}

#searchOverlay .lc-search__veil {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#searchOverlay .lc-search-inline,
#searchOverlay .lc-search-inline.is-open {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  transform: none;
  display: block;
  width: auto;
  max-width: 640px;
  height: auto;
  margin: 12vh auto 0;
  padding: 1.15rem 1.15rem 0.75rem;
  overflow: visible;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  background: var(--lc-surface-panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--lc-border);
  border-radius: var(--lc-radius-card);
  box-shadow: var(--lc-shadow-card), var(--lc-inner-light);
  transition: none;
}

#searchOverlay .lc-search-inline__container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: auto;
  min-height: 3.25rem;
  padding: 0.35rem 0.65rem 0.35rem 0.85rem;
  background: color-mix(in srgb, var(--lc-surface) 72%, transparent);
  border: 1px solid transparent;
  border-radius: 0.9rem;
  box-shadow: none;
}

#searchOverlay .lc-search-inline__icon {
  color: var(--lc-primary);
  flex-shrink: 0;
}

#searchOverlay .lc-search-inline__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--lc-on-surface);
  font-family: var(--lc-font-body);
  font-size: 1rem;
  outline: none;
  box-shadow: none;
}

#searchOverlay .lc-search-inline__input::placeholder {
  color: var(--lc-placeholder);
}

#searchOverlay .lc-search-inline__input::-webkit-search-cancel-button,
#searchOverlay .lc-search-inline__input::-webkit-search-decoration,
#searchOverlay .lc-search-inline__input::-webkit-search-results-button,
#searchOverlay .lc-search-inline__input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

#searchOverlay .lc-search-inline__input::-ms-clear {
  display: none;
}

#searchOverlay .lc-search-inline__kbd {
  display: none;
  align-items: center;
  padding: 0.125rem 0.4rem;
  border: 1px solid var(--lc-border-divider);
  background: var(--lc-glass-soft);
  color: var(--lc-text-secondary);
  border-radius: 0.375rem;
  font-family: var(--lc-font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.4;
}

@media (min-width: 768px) {
  #searchOverlay .lc-search-inline:not(.has-value) .lc-search-inline__kbd {
    display: inline-flex;
  }
}

#searchOverlay .lc-search-inline.has-value .lc-search-inline__kbd {
  display: none;
}

#searchOverlay .lc-search-inline__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--lc-neutral);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

#searchOverlay .lc-search-inline__close[hidden] {
  display: none !important;
}

#searchOverlay .lc-search-inline__close:hover {
  background: var(--lc-list-row-hover);
  color: var(--lc-on-surface);
}

#searchOverlay .lc-search-inline__panel {
  margin-top: 0.35rem;
  border-top: 1px solid var(--lc-border-divider);
  opacity: 0;
  transition: opacity var(--lc-panel-duration, 250ms) ease;
}

#searchOverlay .lc-search-inline__panel.is-visible {
  opacity: 1;
}

#searchOverlay .lc-search-inline__hint,
#searchOverlay .lc-search-inline__status {
  margin: 0;
  padding: 0.75rem 0.35rem 0.35rem;
  font-family: var(--lc-font-mono);
  font-size: 0.75rem;
  color: var(--lc-neutral);
}

#searchOverlay .lc-search-inline__results {
  max-height: min(50vh, 24rem);
  overflow: auto;
  padding-bottom: 0.25rem;
}

#searchOverlay .lc-search-inline__result {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: calc(var(--lc-radius-card) - 0.85rem);
  background: transparent;
  color: var(--lc-on-surface);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#searchOverlay .lc-search-inline__result:hover,
#searchOverlay .lc-search-inline__result.is-active {
  background: var(--lc-list-row-hover);
}

#searchOverlay .lc-search-inline__result-type {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: var(--lc-chip-bg);
  color: var(--lc-primary);
  font-family: var(--lc-font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  white-space: nowrap;
}

#searchOverlay .lc-search-inline__result-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#searchOverlay .lc-search-inline:focus-within {
  border-color: color-mix(in srgb, var(--lc-primary) 42%, var(--lc-border));
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--lc-primary) 14%, transparent),
    var(--lc-shadow-card),
    var(--lc-inner-light);
}

#searchOverlay .lc-search-inline__input:focus,
#searchOverlay .lc-search-inline__input:focus-visible {
  outline: none;
  box-shadow: none;
}

#searchOverlay .lc-search-inline__close:focus-visible,
#searchOverlay .lc-search-inline__result:focus-visible {
  outline: 2px solid var(--lc-focus-ring);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  #searchOverlay .lc-search-inline,
  #searchOverlay .lc-search-inline.is-open {
    max-width: none;
    margin: 12vh 12px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #searchOverlay .lc-search__veil,
  #searchOverlay .lc-search-inline,
  #searchOverlay .lc-search-inline__panel,
  #searchOverlay .lc-search-inline__result {
    transition: none;
  }
}

/* === Desktop Header === */

.lc-header {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 50;
  background: var(--lc-glass);
  backdrop-filter: blur(var(--lc-blur-header, 12px));
  -webkit-backdrop-filter: blur(var(--lc-blur-header, 12px));
  box-shadow: 0 1px 0 var(--lc-border-divider);
}

.lc-header__inner {
  max-width: var(--lc-max);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 var(--lc-space);
  gap: 24px;
  width: 100%;
  justify-content: space-between;
}

.lc-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--lc-on-surface);
  flex: 0 0 auto;
}

.lc-header__brand-mark {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--lc-font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--lc-primary), var(--lc-primary-soft));
  box-shadow: 0 2px 8px rgba(30, 40, 60, 0.12);
}

.lc-header__brand-mark--image {
  background: none;
  box-shadow: none;
}

.lc-header__brand-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.lc-header__brand-initial {
  display: block;
}

.lc-header__brand-text {
  display: flex;
  flex-direction: column;
}

.lc-header__brand-name {
  font-family: var(--lc-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.lc-header__nav {
  flex: 0 1 auto;
  display: flex;
  justify-content: center;
}

.lc-header__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lc-header__menu .lc-nav__link {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--lc-on-surface);
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1), color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.lc-header__menu .lc-nav__link:hover {
  background: var(--lc-chip-bg);
  color: var(--lc-primary);
}

.lc-header__menu .lc-nav__link:focus-visible {
  outline: 2px solid var(--lc-focus-ring);
  outline-offset: 2px;
}

.lc-header__menu>.current-menu-item>.lc-nav__link,
.lc-header__menu>.current-menu-ancestor>.lc-nav__link {
  color: var(--lc-primary);
  background: var(--lc-chip-bg);
}

.lc-header__menu>.current-menu-item>.lc-nav__link:hover,
.lc-header__menu>.current-menu-ancestor>.lc-nav__link:hover {
  background: rgba(74, 108, 244, 0.18);
}

.lc-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 0 0 auto;
  flex-shrink: 0;
  min-width: 96px;
}

.lc-header__search {
  display: flex;
  align-items: center;
}

.lc-header__search .lc-search {
  display: flex;
  align-items: center;
  gap: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 4px;
  box-shadow: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.lc-header__search:not(:focus-within):not(.lc-header__search--expanded) .lc-search {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.lc-header__search:focus-within .lc-search,
.lc-header__search--expanded .lc-search {
  background: var(--lc-glass-search);
  border: 1px solid var(--lc-input-border);
  box-shadow: none;
}

.lc-header__search .lc-search__input {
  width: 0;
  padding: 0;
  opacity: 0;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  font-family: var(--lc-font-body);
  color: var(--lc-on-surface);
  outline: none;
  transition: width 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.lc-header__search .lc-search__input::placeholder {
  color: var(--lc-placeholder);
}

.lc-header__search:focus-within .lc-search__input,
.lc-header__search--expanded .lc-search__input {
  width: 200px;
  padding: 8px 14px;
  opacity: 1;
  background: transparent;
  border-radius: 999px;
}

.lc-header__search .lc-search__submit {
  background: transparent;
  border: none;
  color: var(--lc-meta);
  padding: 8px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lc-header__search .lc-search__submit:hover {
  color: var(--lc-primary);
  background: var(--lc-chip-bg);
}

.lc-header__theme {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--lc-meta);
  cursor: pointer;
  opacity: 0.88;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    opacity 0.2s ease;
}

.lc-header__theme:hover {
  color: var(--lc-on-surface);
  background: var(--lc-chip-bg);
  opacity: 1;
}

.lc-header__theme:focus-visible {
  outline: 2px solid var(--lc-focus-ring);
  outline-offset: 2px;
}

/* Theme icon visibility - sun shown in light mode, moon shown in dark mode */
html[data-lc-color-scheme="light"] .lc-header__theme .lc-icon--moon,
html[data-lc-color-scheme="dark"] .lc-header__theme .lc-icon--sun {
  display: none;
}

html[data-lc-color-scheme="light"] .lc-header__theme .lc-icon--sun,
html[data-lc-color-scheme="dark"] .lc-header__theme .lc-icon--moon {
  display: block;
}

/* Non-front-page content spacing to avoid fixed header overlap */
/* body:not(.home):not(.front-page) .lc-pagehead,
body:not(.home):not(.front-page) .lc-page-header {
  margin-top: calc(var(--lc-hero-min-height) + 20px);
} */

.lc-default-content {
  padding-top: calc(var(--lc-hero-min-height) + var(--lc-space)) !important;
}

/* body:not(.home):not(.front-page) main#primary,
body:not(.home):not(.front-page) .lc-guestbook-page,
body:not(.home):not(.front-page) .lc-single-post,
body:not(.home):not(.front-page) .lc-project-grid,
body:not(.home):not(.front-page) article.lc-project-single,
body:not(.home):not(.front-page) .lc-posts-list--archive {
  padding-top: calc(var(--lc-hero-min-height) + 20px);
} */

/* Ensure projects archive page has proper spacing */
/* body:not(.home):not(.front-page).archive-lc_project .lc-pagehead,
body:not(.home):not(.front-page).post-type-archive-lc_project .lc-pagehead {
  margin-top: calc(var(--lc-hero-min-height) + 20px);
}

body:not(.home):not(.front-page).archive-lc_project .lc-project-grid,
body:not(.home):not(.front-page).post-type-archive-lc_project .lc-project-grid {
  padding-top: 20px;
} */

/* Desktop: icon opens popover with the same 3-segment switch as the mobile drawer */
.lc-color-scheme--header {
  position: relative;
  display: flex;
  align-items: center;
}

.lc-color-scheme__trigger {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--lc-meta);
  cursor: pointer;
  opacity: 0.88;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    opacity 0.2s ease;
}

.lc-color-scheme__trigger:hover {
  color: var(--lc-on-surface);
  background: var(--lc-chip-bg);
  opacity: 1;
}

.lc-color-scheme__trigger:focus-visible {
  outline: 2px solid var(--lc-focus-ring);
  outline-offset: 2px;
}

.lc-color-scheme__trigger-icon {
  display: block;
}

/* Desktop: popover styles commented out (desktop uses icon + popover, kept for reference)
.lc-color-scheme__popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  min-width: 148px;
  padding: 10px;
  border-radius: 14px;
  background: var(--lc-glass-strong);
  border: 1px solid var(--lc-input-border);
  box-shadow: var(--lc-shadow), var(--lc-inner-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
*/

.lc-color-scheme__popover[hidden] {
  display: none;
}

.lc-color-scheme__popover .lc-color-scheme__switch {
  width: 100%;
  min-width: 120px;
}

/* === Sidebar: Mobile Drawer Only === */

.lc-root {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* 居中画幅：侧栏 fixed 顶满视口；主内容在 .lc-shell 内 */

.lc-frame {
  margin-left: auto;
  margin-right: auto;
  /* padding: 0 var(--lc-space); */
  box-sizing: border-box;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

/* --- Sidebar：桌面 fixed 满窗高；小屏抽屉 --- */

.lc-sidebar {
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: 0;
  min-width: 0;
  width: var(--lc-sidebar-w);
}

.lc-sidebar__glass {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  padding: 1.25rem 1.25rem 1.5rem;
  border-radius: var(--lc-radius-xl);
  background: var(--lc-glass);
  backdrop-filter: blur(var(--lc-blur-sidebar, 12px));
  -webkit-backdrop-filter: blur(var(--lc-blur-sidebar, 12px));
  box-shadow: var(--lc-shadow), var(--lc-inner-light);
  min-width: 0;
}

@media (min-width: 901px) {
  .lc-header {
    display: flex;
  }

  .lc-sidebar {
    display: none;
  }

  .lc-mobile-header {
    display: none;
  }

  .lc-root {
    padding-top: 72px;
  }

  .lc-shell {
    padding-top: calc(var(--lc-space) + 48px);
    padding-bottom: calc(var(--lc-space) + 48px);
  }

  .lc-shell {
    margin-left: 0;
    width: auto;
    max-width: 100%;
    min-width: 0;
  }

  .lc-widgets__inner {
    position: sticky;
    top: calc(72px + var(--lc-space)) !important;
  }
}

.lc-mobile-header {
  display: none;
}

.lc-root {
  padding-top: 72px;
}

.lc-shell {
  padding-top: calc(var(--lc-space) + 48px);
  padding-bottom: calc(var(--lc-space) + 48px);
}

.lc-shell {
  margin-left: 0;
  width: auto;
  max-width: 100%;
  min-width: 0;
}


/* 主内容 + 右侧栏（小屏蒙层只盖此处） */

.lc-shell {
  position: relative;
  max-width: var(--lc-max);
  margin: 0 auto;
  z-index: 1;
  min-width: 0;
  padding: var(--lc-space);
}

.lc-sidebar__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lc-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.lc-brand__mark {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--lc-font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(135deg,
      var(--lc-primary),
      var(--lc-primary-soft));
  box-shadow: var(--lc-shadow);
}

.lc-brand__mark--image {
  padding: 0;
  overflow: hidden;
  background: var(--lc-brand-mark-bg);
  border: 1px solid var(--lc-brand-mark-border);
}

.lc-brand__mark-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.lc-brand__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lc-brand__name {
  font-family: var(--lc-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 站点描述：默认单行；溢出时由 JS 加 --scroll，LED 风跑马灯循环 */
.lc-brand__tag-wrap {
  display: block;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  line-height: 1.35;
  min-height: 1em;
}

.lc-brand__tag-led {
  display: block;
  overflow: hidden;
  width: 100%;
}

.lc-brand__tag-led__track {
  display: inline-flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  will-change: transform;
}

.lc-brand__tag-wrap--scroll .lc-brand__tag-led__track {
  animation: lc-brand-tag-marquee linear infinite;
  animation-duration: var(--lc-marquee-sec, 14s);
}

.lc-brand__tag-wrap--scroll:hover .lc-brand__tag-led__track {
  animation-play-state: paused;
}

@keyframes lc-brand-tag-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.lc-brand__tag-led__chunk {
  display: inline-block;
  flex-shrink: 0;
  padding-right: 2.25rem;
  box-sizing: content-box;
  font-family: var(--lc-font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--lc-neutral);
  /* 轻微 LED 感：等宽字 + 淡光（不依赖深色/浅色单独调色） */
  text-shadow:
    0 0 10px rgba(72, 200, 170, 0.28),
    0 0 1px rgba(30, 40, 60, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .lc-brand__tag-wrap--scroll .lc-brand__tag-led__track {
    animation: none;
  }
}

.lc-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--lc-input-border);
  cursor: pointer;
  color: var(--lc-on-surface);
  background: var(--lc-pill-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--lc-shadow), var(--lc-inner-light);
}

.lc-menu-toggle:focus-visible {
  outline: 2px solid var(--lc-focus-ring);
  outline-offset: 2px;
}

.lc-sidebar__panel {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* 菜单与岛屿区滚动，版权条始终贴在玻璃卡片底部 */
.lc-sidebar__panel-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  justify-content: space-between;
}

.lc-sidebar__panel-body::-webkit-scrollbar {
  display: none;
}

.lc-nav__menu,
.lc-nav>ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lc-nav__menu>li,
.lc-nav>ul>li {
  margin: 0;
}

.lc-nav__link,
.lc-nav>ul>li>a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--lc-font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--lc-on-surface);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.lc-nav__link:focus-visible,
.lc-nav>ul>li>a:focus-visible {
  outline: 2px solid var(--lc-focus-ring);
  outline-offset: 2px;
}

.lc-nav__menu>.current-menu-item>.lc-nav__link,
.lc-nav__menu>.current-menu-ancestor>.lc-nav__link,
.lc-nav>ul>li.current_page_item>a,
.lc-nav>ul>li.current_page_parent>a {
  color: #fff;
  background: linear-gradient(120deg,
      var(--lc-primary),
      var(--lc-primary-soft));
  box-shadow: 0 4px 14px rgba(74, 108, 244, 0.2);
}

.lc-nav__link:hover,
.lc-nav>ul>li>a:hover {
  background: var(--lc-chip-bg);
}

.lc-sidebar__islands {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.5vw, 20px);
  margin-top: 0.5rem;
}

.lc-island {
  padding: 1rem 1.1rem;
  border-radius: 1.25rem;
  background: var(--lc-island-bg);
  border: 1px solid var(--lc-border-divider);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: none;
}

.lc-island__label,
.lc-island .widget-title {
  font-family: var(--lc-font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lc-neutral);
  margin: 0 0 0.65rem;
}

.lc-island--widget {
  margin-bottom: 16px;
}

.lc-island--widget:last-child {
  margin-bottom: 0;
}

.lc-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--lc-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(120deg,
      var(--lc-primary),
      var(--lc-primary-soft));
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.lc-cta:hover {
  transform: translateY(-1px);
}

.lc-island--theme {
  padding-bottom: 0.85rem;
}

.lc-color-scheme {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* 三档开关：轨道 + 滑块（thumb）在浅色 / 系统 / 深色 之间滑动 */
.lc-color-scheme__switch {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  padding: 5px;
  border-radius: 999px;
  background: var(--lc-color-switch-track);
  box-shadow: inset 0 0 0 1px var(--lc-input-border);
}

.lc-color-scheme__thumb {
  --lc-thumb-i: 1;
  position: absolute;
  z-index: 1;
  top: 5px;
  left: 5px;
  width: calc((100% - 10px) / 3);
  height: calc(100% - 10px);
  border-radius: 999px;
  background: linear-gradient(145deg,
      var(--lc-primary-soft),
      var(--lc-primary));
  box-shadow: 0 2px 12px rgba(74, 108, 244, 0.25);
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.6s ease;
  transform: translateX(calc(var(--lc-thumb-i) * 100%));
}

/* 顺滑过渡 */
html.lc-theme-transitioning .lc-color-scheme__thumb {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.8s ease;
}

.lc-color-scheme__seg {
  position: relative;
  z-index: 2;
  flex: 1 1 0;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: var(--lc-neutral);
  background: transparent;
  line-height: 0;
  transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.lc-color-scheme__seg svg {
  display: block;
  flex-shrink: 0;
}

.lc-color-scheme__seg:hover {
  color: var(--lc-on-surface);
}

.lc-color-scheme__seg[aria-checked="true"] {
  color: #fff;
}

.lc-color-scheme__seg:focus {
  outline: none;
}

.lc-color-scheme__seg:focus-visible {
  box-shadow: 0 0 0 2px var(--lc-focus-ring);
}

/* ── Binary Toggle（移动端主题切换）── */

.lc-binary-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--lc-color-switch-track);
  box-shadow: inset 0 0 0 1px var(--lc-input-border);
  cursor: pointer;
}

.lc-binary-toggle__icon {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--lc-meta);
  cursor: pointer;
  transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.lc-binary-toggle__icon--active {
  color: var(--lc-on-surface);
}

.lc-binary-toggle__thumb {
  position: absolute;
  z-index: 1;
  width: 50%;
  height: calc(100% - 12px);
  top: 6px;
  left: 8px;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--lc-primary-soft), var(--lc-primary));
  box-shadow: 0 2px 12px rgba(74, 108, 244, 0.25);
  pointer-events: none;
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.6s ease;
}

/* 顺滑过渡 */
html.lc-theme-transitioning .lc-binary-toggle__thumb {
  transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s ease,
              box-shadow 0.8s ease;
}

.lc-binary-toggle[data-scheme="dark"] .lc-binary-toggle__thumb {
  left: calc(50% - 8px);
}

.lc-binary-toggle[data-scheme="dark"] .lc-binary-toggle__icon:last-child {
  color: var(--lc-on-surface);
}

.lc-binary-toggle[data-scheme="dark"] .lc-binary-toggle__icon:first-child {
  color: var(--lc-meta);
}

.lc-sidebar__foot {
  flex: 0 0 auto;
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--lc-border-divider);
  font-family: var(--lc-font-mono);
  font-size: 0.7rem;
  color: var(--lc-neutral);
}

/* --- Search (pill) --- */

.lc-island.lc-island--search {
  min-width: 0;
  width: 100%;
}

.lc-island--search {
  padding: 0 1px;
}

.lc-search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 4px 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--lc-input-border);
  background: var(--lc-glass-search);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--lc-inner-light);
  transition:
    box-shadow 0.2s ease,
    background 0.2s ease;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.lc-sidebar .lc-search {
  flex-wrap: nowrap;
}

.lc-sidebar .lc-search__input {
  font-size: 0.875rem;
}

.lc-sidebar .lc-search__submit {
  flex-shrink: 0;
}

.lc-search:focus-within {
  box-shadow:
    0 0 0 1px var(--lc-primary),
    var(--lc-inner-light);
  background: var(--lc-search-focus-bg);
}

.lc-search__input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--lc-font-body);
  font-size: 0.95rem;
  color: var(--lc-on-surface);
  min-width: 0;
}

.lc-search__input:focus {
  outline: none;
}

.lc-search__input::placeholder {
  color: var(--lc-placeholder);
}

.lc-search__submit {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg,
      var(--lc-primary),
      var(--lc-primary-soft));
  box-shadow: var(--lc-shadow);
}

.lc-search__submit:focus-visible {
  outline: 2px solid var(--lc-focus-ring);
  outline-offset: 2px;
}

.lc-search-highlight {
  background: var(--lc-highlight-bg, #c01b05);
  color: var(--lc-highlight-color, #1a1a1a);
  border-radius: 2px;
  padding: 0 2px;
}

/**
 * Sections CSS
 * 
 * 首页各 Section 的样式，包括 Hero、文章、项目、统计
 * 
 * 文件结构：
 * 1. Front Page Layout - 首页整体布局
 * 2. Hero Section - Hero 组件及变形动画
 * 3. Hero Actions - 搜索、主题切换等按钮
 * 4. Hero Mobile Menu - 移动端菜单
 * 5. Background Blobs - 背景动画效果
 * 6. Content Sections - 文章、项目、统计等
 * 7. Single Post - 文章详情页
 * 8. Archive Pages - 归档页面
 * 9. Responsive Styles - 响应式样式（集中管理）
 */

/* ========================================
   1. Front Page Layout
   ======================================== */

/* 首页主容器 */
.lc-front-page {
    position: relative;
    min-height: 100vh;
}

/* 第一个 section 的顶部间距 */
.lc-front-page .lc-section:first-of-type {
    padding-top: 2rem;
}

/* 首页 full-screen */
.lc-front-page .lc-section {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lc-front-page .lc-section > * {
    width: 100%;
}

/* 每个 section 内容限宽居中 */
.lc-front-page .lc-section > * {
    max-width: var(--lc-max);
    width: 100%;
}

/* section 标题调整 */
.lc-front-page .lc-section__title {
    margin-bottom: 1.5rem;
}

/* ========================================
   2. Hero Section
   ======================================== */

/* Hero 基础样式 - 首页普通内容区域 */
/* 
 * 首页 Hero 作为普通内容展示，不固定，不收缩
 * 滚动时自然滚出视口
 */
.lc-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--lc-space);
    box-sizing: border-box;
    overflow: hidden;
}

section#lcHero {
    padding-top: calc(var(--lc-navbar-padding) * 2 + 2rem);
}

/* Hero 内部容器 */
.lc-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--lc-max);
    display: grid;
    grid-template-columns: minmax(0, 36rem);
    justify-content: center;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    transition: gap 0.3s ease;
}

.lc-hero__inner > * {
    min-width: 0;
}

section#lcHero .lc-hero__inner {
    max-width: var(--lc-max);
    /* margin: 0 auto; */
    padding: 0 var(--lc-space);
}

.lc-hero[data-no-visual] .lc-hero__inner {
    grid-template-columns: 1fr;
    max-width: 600px;
}

.lc-hero[data-no-visual] .lc-hero__profile {
    align-items: center;
    text-align: center;
}

/* Profile 区域 */
.lc-hero__profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    text-align: center;
    transition: gap 0.3s ease;
    text-decoration: none;
}

/* 头像 */
.lc-hero__avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--lc-glass);
    box-shadow: var(--lc-shadow);
    transition: all 0.3s ease;
}

.lc-hero__avatar:hover {
    transform: scale(1.05);
    box-shadow: var(--lc-shadow-lg);
}

.lc-hero__avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lc-hero__avatar-initial {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--lc-font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--lc-primary);
    background: var(--lc-glass);
    transition: font-size 0.3s ease;
}

/* 站点名称 */
.lc-hero__name {
    font-family: var(--lc-font-display);
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 800;
    color: var(--lc-on-surface);
    margin: 0;
    letter-spacing: -0.04em;
    line-height: 1.05;
    transition: font-size 0.3s ease, margin 0.3s ease;
}

/* 站点描述 */
.lc-hero__tagline {
    font-family: var(--lc-font-body);
    font-size: 1.125rem;
    color: var(--lc-neutral);
    margin: 0;
    max-width: 500px;
    line-height: 1.65;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 社交链接 */
.lc-hero__social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lc-hero__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--lc-glass);
    color: var(--lc-neutral);
    transition: all 0.2s ease;
}

.lc-hero__social-link:hover {
    background: var(--lc-primary);
    color: white;
    transform: translateY(-2px);
}

/* 社交链接 SVG 图标约束 */
.lc-hero__social-link svg {
    width: 55%;
    height: 55%;
    flex-shrink: 0;
}

/* ========================================
   Enhanced Hero Section Styles
   ======================================== */

/* Grid Background */
.lc-hero__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 108, 244, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 108, 244, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
    pointer-events: none;
}

@keyframes grid-move {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(50px);
    }
}

/* Floating Particles */
.lc-hero__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.lc-hero__particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--lc-primary);
    border-radius: 50%;
    opacity: 0.3;
    left: calc(50% + var(--x));
    top: calc(50% + var(--y));
    animation: particle-float 8s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes particle-float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) scale(1.5);
        opacity: 0.6;
    }
}

/* Noise Texture Overlay */
.lc-hero__noise {
    position: absolute;
    inset: 0;
    opacity: 0.025;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}

html[data-lc-color-scheme="dark"] .lc-hero__noise {
    opacity: 0.04;
}

/* Vignette */
.lc-hero__vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(ellipse at center, transparent 55%, var(--lc-surface) 100%);
    opacity: 0.5;
}

html[data-lc-color-scheme="dark"] .lc-hero__vignette {
    opacity: 0.7;
}

/* Decorative Geometry */
.lc-hero__geometry {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.lc-hero__geo {
    position: absolute;
}

.lc-hero__geo--ring {
    width: clamp(280px, 40vw, 500px);
    height: clamp(280px, 40vw, 500px);
    border-radius: 50%;
    border: 1px solid var(--lc-border-divider);
    opacity: 0.3;
}

.lc-hero__geo--ring-left {
    top: -15%;
    left: -10%;
    animation: geo-float-1 25s ease-in-out infinite;
}

.lc-hero__geo--ring-right {
    bottom: -10%;
    right: -8%;
    width: clamp(200px, 30vw, 380px);
    height: clamp(200px, 30vw, 380px);
    border-style: dashed;
    animation: geo-float-2 30s ease-in-out infinite;
}

@keyframes geo-float-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33%  { transform: translate(12px, -16px) rotate(3deg); }
    66%  { transform: translate(-8px, 20px) rotate(-2deg); }
}

@keyframes geo-float-2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50%  { transform: translate(-16px, -12px) rotate(-4deg); }
}

.lc-hero__geo--dots {
    top: 40%;
    right: 5%;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(var(--lc-primary) 1.2px, transparent 1.2px);
    background-size: 14px 14px;
    opacity: 0.25;
    animation: geo-dots-drift 20s ease-in-out infinite;
}

@keyframes geo-dots-drift {
    0%, 100% { transform: translate(0, 0); }
    50%  { transform: translate(-10px, -15px); }
}

/* Status Badge */
.lc-hero__status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border: 1px solid var(--lc-border-divider);
    border-radius: 2rem;
    background: var(--lc-glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-family: var(--lc-font-mono);
    font-size: 0.75rem;
    color: var(--lc-neutral);
    letter-spacing: 0.04em;
    align-self: flex-start;
}

.lc-hero__status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lc-neutral);
    flex-shrink: 0;
}

.lc-hero__status-dot--active {
    background: #3abf7d;
    box-shadow: 0 0 6px #3abf7d;
    animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.6); }
}

/* Text Reveal Spans */
.lc-hero__name.has-word-spans .lc-hero__name-word {
    display: inline-block;
    background: inherit;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    opacity: 0;
    transform: translateY(0.4em);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: calc(0.08s * var(--wi, 0));
}

.lc-hero__name.has-word-spans .lc-hero__name-word.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Typing Effect */
.lc-hero__typing {
    font-family: var(--lc-font-mono);
    font-size: 1rem;
    color: var(--lc-neutral);
    margin: 0.5rem 0;
}

.lc-hero__typing-prefix {
    color: var(--lc-meta);
}

.lc-hero__typing-text {
    color: var(--lc-primary);
    font-weight: 500;
}

.lc-hero__typing-cursor {
    color: var(--lc-primary);
    animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Stats Section */
.lc-hero__stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 0.75rem;
}

.lc-hero__stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.lc-hero__stat-icon {
    display: none;
}

.lc-hero__stat-value {
    font-family: var(--lc-font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--lc-primary);
    line-height: 1;
}

.lc-hero__stat-label {
    font-family: var(--lc-font-mono);
    font-size: 0.75rem;
    color: var(--lc-neutral);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* Scroll Indicator */
.lc-hero__scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--lc-neutral);
    font-family: var(--lc-font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    opacity: 0.45;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    cursor: pointer;
}

.lc-hero__scroll.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.lc-hero__scroll:hover {
    opacity: 0.8;
}

.lc-hero__scroll-icon {
    display: block;
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}

/* Hero 右栏：项目图标滚动轨 */
.lc-hero__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lc-hero__visual-label {
    font-family: var(--lc-font-mono);
    font-size: 0.5625rem;
    color: var(--lc-neutral);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 0.875rem;
    opacity: 0.5;
}

.lc-hero__projects {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 420px;
}

/* 单条轨道 */
.lc-hero__track {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 64px, black calc(100% - 64px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 64px, black calc(100% - 64px), transparent);
}

/* 滚动内容条 */
.lc-hero__track-strip {
    display: flex;
    gap: 0.75rem;
    width: fit-content;
    animation: scroll-right 30s linear infinite;
}

.lc-hero__track--left .lc-hero__track-strip {
    animation-name: scroll-left;
    animation-duration: 35s;
}

.lc-hero__track:nth-child(3) .lc-hero__track-strip {
    animation-duration: 28s;
}

@keyframes scroll-right {
    0% { transform: translateX(-16.6667%); }
    100% { transform: translateX(0); }
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-16.6667%); }
}

/* App 风格图标 */
.lc-hero__track-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--lc-surface-low);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.25s ease;
}

html[data-lc-color-scheme="dark"] .lc-hero__track-icon {
    background: #f3f5f7;
}

.lc-hero__track-icon:hover {
    opacity: 0.75;
}

.lc-hero__track-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.lc-hero__track-icon-fallback {
    font-family: var(--lc-font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--lc-primary);
}

/* 导航菜单 */
.lc-hero__nav {
    margin-top: 1rem;
    transition: margin-top 0.3s ease;
}

.lc-hero__menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: gap 0.3s ease;
}

.lc-hero__menu a {
    font-family: var(--lc-font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--lc-on-surface);
    text-decoration: none;
    padding: 0.4rem 0.875rem;
    border-radius: 2rem;
    transition: font-size 0.3s ease, padding 0.3s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Hover expand background */
.lc-hero__menu a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 2rem;
    background: var(--lc-chip-bg);
    clip-path: inset(0 50%);
    transition: clip-path 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.lc-hero__menu a:hover::before,
.lc-hero__menu a:focus-visible::before {
    clip-path: inset(0 0%);
}

/* .lc-hero__menu a:hover,
.lc-hero__menu a:focus-visible {
    color: var(--lc-primary);
} */

/* Ensure text stays above the pseudo-element */
.lc-hero__menu a > * {
    position: relative;
    z-index: 1;
}

.lc-hero__menu .current-menu-item a::before,
.lc-hero__menu .current_page_item a::before {
    clip-path: inset(0 0);
    background: var(--lc-primary);
}

.lc-hero__menu .current-menu-item a,
.lc-hero__menu .current_page_item a {
    color: white;
    background: var(--lc-primary);
}

/* ========================================
   2.1 Hero Transform (变形为导航栏)
   ======================================== */

/* 
 * 2.1 Hero Transform (变形为导航栏)
 * ======================================== */

/* 收缩状态已移到 .lc-hero 主类中定义，使用 is-collapsed 类触发 */

/* 非首页导航栏（直接作为固定导航栏使用） */
.lc-hero--navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: var(--lc-hero-min-height);
    background: var(--lc-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--lc-shadow-sm);
    z-index: 1000;
    padding: var(--lc-navbar-padding) 0;
    margin-top: 0;
}

/* 所有页面默认透明 */
.lc-hero--navbar {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.lc-hero--navbar .lc-hero__inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: var(--lc-max);
    margin: 0 auto;
    padding: 0 var(--lc-space);
}

.lc-hero--navbar .lc-hero__visual {
    display: none;
}

.lc-hero--navbar .lc-hero__profile {
    flex-direction: row;
    gap: 0.75rem;
    text-align: left;
    align-items: center;
}

.lc-hero--navbar .lc-hero__avatar {
    width: 40px;
    height: 40px;
}

.lc-hero--navbar .lc-hero__avatar-initial {
    font-size: 1rem;
}

.lc-hero--navbar .lc-hero__name {
    font-size: 1.25rem;
    margin: 0;
}

.lc-text-rainbow {
    mix-blend-mode: normal;
    background-clip: text;
    -webkit-background-clip: text !important;
    color: transparent !important;
    background: linear-gradient(135deg, #ee7752, #e73c7e, #23a6d5, #23d5ab, #6a82fb, #fc5c7d);
    background-size: 200% 200%;
    animation: lc-rainbow-shift 8s ease infinite;
}

@keyframes lc-rainbow-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.lc-hero--navbar .lc-hero__tagline,
.lc-hero--navbar .lc-hero__social {
    display: none;
}

.lc-hero--navbar .lc-hero__nav {
    margin-top: 0;
}

.lc-hero--navbar .lc-hero__menu {
    gap: 1rem;
}

.lc-hero--navbar .lc-hero__menu a {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

/* ========================================
   3. Hero Actions (按钮组)
   ======================================== */

/* 按钮容器 */
.lc-hero__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

/* 搜索按钮 */
.lc-hero__search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--lc-neutral);
    cursor: pointer;
    transition: all 0.2s ease;
}

.lc-hero__search-toggle:hover {
    background: var(--lc-primary);
    color: white;
}

/* 主题切换按钮 */
.lc-hero__theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--lc-neutral);
    cursor: pointer;
    transition: all 0.2s ease;
}

.lc-hero__theme-toggle:hover {
    background: var(--lc-primary);
    color: white;
}

.lc-hero__theme-icon {
    display: block;
}

/* 主题图标显示逻辑 */
html[data-lc-color-scheme="light"] .lc-hero__theme-icon--moon,
html[data-lc-color-scheme="dark"] .lc-hero__theme-icon--sun {
    display: none;
}

/* 汉堡菜单按钮 */
.lc-hero__menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    gap: 5px;
    transition: all 0.2s ease;
}

.lc-hero__menu-toggle:hover {
    background: var(--lc-primary);
}

.lc-hero__menu-toggle:hover .lc-hero__menu-bar {
    background: white;
}

.lc-hero__menu-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--lc-on-surface);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.lc-hero__menu-toggle.is-active .lc-hero__menu-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.lc-hero__menu-toggle.is-active .lc-hero__menu-bar:nth-child(2) {
    opacity: 0;
}

.lc-hero__menu-toggle.is-active .lc-hero__menu-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 变形状态下显示汉堡菜单 */


.lc-hero--navbar .lc-hero__menu-toggle {
    display: flex;
}

/* ========================================
   3.1 Inline Search
   ======================================== */

.lc-search-inline {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.lc-search-inline.is-open {
    width: 280px;
    opacity: 1;
    visibility: visible;
}

.lc-search-inline__container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--lc-glass);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    height: 100%;
    border: 1px solid var(--lc-border-divider);
}

.lc-search-inline__icon {
    color: var(--lc-neutral);
    flex-shrink: 0;
}

.lc-search-inline__input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--lc-font-body);
    font-size: 0.9375rem;
    color: var(--lc-on-surface);
    padding: 0;
    min-width: 0;
}

.lc-search-inline__input::placeholder {
    color: var(--lc-neutral);
}

.lc-search-inline__clear,
.lc-search-inline__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--lc-neutral);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.lc-search-inline__clear:hover,
.lc-search-inline__close:hover {
    background: var(--lc-glass);
    color: var(--lc-on-surface);
}

.lc-search-inline__clear {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lc-search-inline__input:not(:placeholder-shown)~.lc-search-inline__clear {
    opacity: 1;
}

/* 搜索框展开时隐藏其他按钮 */
.lc-hero__actions.is-search-open .lc-hero__search-toggle,
.lc-hero__actions.is-search-open .lc-hero__theme-toggle,
.lc-hero__actions.is-search-open .lc-hero__menu-toggle {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

/* ========================================
   4. Mobile Navigation
   ======================================== */

.lc-mobile-nav {
    position: fixed;
    top: var(--lc-hero-min-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    pointer-events: none;
    visibility: hidden;
}

.lc-mobile-nav.is-open {
    pointer-events: auto;
    visibility: visible;
}

.lc-mobile-nav.is-open .lc-mobile-nav__overlay {
    opacity: 1;
}

.lc-mobile-nav.is-open .lc-mobile-nav__content {
    transform: none;
}

.lc-mobile-nav.is-open .lc-mobile-nav__list>li {
    opacity: 1;
    transform: none;
}

.lc-mobile-nav__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
}

.lc-mobile-nav__content {
    position: relative;
    width: 100%;
    background: var(--lc-surface);
    overflow-y: auto;
    max-height: calc(100vh - var(--lc-hero-min-height));
    -webkit-overflow-scrolling: touch;
    transform: translateY(-100%);
}

/* Mobile Menu */
.lc-mobile-nav__menu {
    padding: 0.75rem 0 2rem;
}

.lc-mobile-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lc-mobile-nav__list>li {
    margin: 0 0.75rem;
    opacity: 0;
    transform: translateY(-16px);
}

.lc-mobile-nav__list>li + li {
    margin-top: 2px;
}

.lc-mobile-nav__list li.menu-item-has-children {
    position: relative;
}

.lc-mobile-nav__list li.menu-item-has-children>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 3.5rem;
}

.lc-mobile-nav__list a {
    display: block;
    padding: 0.875rem 1.25rem 0.875rem 2rem;
    font-family: var(--lc-font-mono);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--lc-on-surface);
    text-decoration: none;
    border-radius: 10px;
    position: relative;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lc-mobile-nav__list a::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 18px;
    background: var(--lc-primary);
    border-radius: 2px;
    transition: transform 0.2s ease;
}

.lc-mobile-nav__list a:hover,
.lc-mobile-nav__list a:active {
    background: var(--lc-surface-low);
    color: var(--lc-primary);
}

.lc-mobile-nav__list a:hover::before,
.lc-mobile-nav__list a:active::before {
    transform: translateY(-50%) scaleY(1);
}

.lc-mobile-nav__list .current-menu-item>a,
.lc-mobile-nav__list .current_page_item>a {
    background: rgba(74, 108, 244, 0.08);
    color: var(--lc-primary);
}

.lc-mobile-nav__list .current-menu-item>a::before,
.lc-mobile-nav__list .current_page_item>a::before {
    transform: translateY(-50%) scaleY(1);
}

/* Submenu */
.lc-mobile-menu__toggle {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--lc-neutral);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lc-mobile-menu__toggle:hover {
    background: var(--lc-surface-low);
    color: var(--lc-on-surface);
}

.lc-mobile-menu__toggle svg {
    transition: transform 0.25s ease;
}

.lc-mobile-menu__toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.lc-mobile-menu__submenu {
    list-style: none;
    margin: 2px 0 0;
    padding: 0;
    background: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.lc-mobile-menu__submenu.is-open {
    max-height: 600px;
}

.lc-mobile-menu__submenu a {
    display: block;
    padding: 0.75rem 1.25rem 0.75rem 2.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--lc-neutral);
    border-radius: 8px;
    position: relative;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lc-mobile-menu__submenu a::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--lc-border-divider);
}

.lc-mobile-menu__submenu a:hover,
.lc-mobile-menu__submenu a:active {
    background: var(--lc-surface-low);
    color: var(--lc-on-surface);
}

.lc-mobile-menu__submenu .current-menu-item a {
    color: var(--lc-primary);
    background: rgba(74, 108, 244, 0.06);
}

/* ========================================
   5. Background Blobs
   ======================================== */

.lc-hero__blobs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    transition: opacity 0.4s ease;
}

.lc-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    will-change: transform;
}

.lc-hero__blob--1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -80px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.4), rgba(99, 102, 241, 0.3));
    animation: blob-float-1 20s ease-in-out infinite;
}

.lc-hero__blob--2 {
    width: 250px;
    height: 250px;
    top: -80px;
    right: -60px;
    background: linear-gradient(225deg, rgba(168, 85, 247, 0.35), rgba(236, 72, 153, 0.25));
    animation: blob-float-2 18s ease-in-out infinite;
}

.lc-hero__blob--3 {
    width: 280px;
    height: 280px;
    bottom: -80px;
    left: -40px;
    background: linear-gradient(45deg, rgba(244, 114, 182, 0.35), rgba(251, 146, 60, 0.25));
    animation: blob-float-3 22s ease-in-out infinite;
}

.lc-hero__blob--4 {
    width: 220px;
    height: 220px;
    bottom: -60px;
    right: -40px;
    background: linear-gradient(315deg, rgba(250, 204, 21, 0.3), rgba(251, 146, 60, 0.2));
    animation: blob-float-4 16s ease-in-out infinite;
}

.lc-hero__blob--5 {
    width: 180px;
    height: 180px;
    top: 45%;
    left: 55%;
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.3), rgba(99, 102, 241, 0.2));
    animation: blob-float-5 24s ease-in-out infinite;
}

.lc-hero__blob--6 {
    width: 160px;
    height: 160px;
    top: 30%;
    right: 25%;
    background: linear-gradient(270deg, rgba(251, 146, 60, 0.25), rgba(244, 114, 182, 0.2));
    animation: blob-float-6 19s ease-in-out infinite;
}

/* 变形时隐藏 blobs */

.lc-hero--navbar .lc-hero__blobs {
    opacity: 0;
    transition: opacity 0.5s ease;
}

@keyframes blob-float-1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, 40px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 60px) scale(0.95);
    }

    75% {
        transform: translate(40px, 20px) scale(1.02);
    }
}

@keyframes blob-float-2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-40px, 50px) scale(1.08);
    }

    66% {
        transform: translate(20px, 30px) scale(0.92);
    }
}

@keyframes blob-float-3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    20% {
        transform: translate(50px, -30px) scale(1.03);
    }

    40% {
        transform: translate(20px, -60px) scale(0.97);
    }

    60% {
        transform: translate(-30px, -40px) scale(1.05);
    }

    80% {
        transform: translate(40px, -20px) scale(0.98);
    }
}

@keyframes blob-float-4 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-50px, -40px) scale(1.06);
    }
}

@keyframes blob-float-5 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(-20px, 30px) scale(1.04); }
    50%      { transform: translate(25px, -25px) scale(0.96); }
    75%      { transform: translate(15px, 15px) scale(1.02); }
}

@keyframes blob-float-6 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, -20px) scale(1.05); }
    66%      { transform: translate(-15px, 25px) scale(0.97); }
}

/* Dark Mode Blobs */
[data-lc-color-scheme="dark"] .lc-hero__blob--1 {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(79, 70, 229, 0.2));
}

[data-lc-color-scheme="dark"] .lc-hero__blob--2 {
    background: linear-gradient(225deg, rgba(147, 51, 234, 0.22), rgba(219, 39, 119, 0.15));
}

[data-lc-color-scheme="dark"] .lc-hero__blob--3 {
    background: linear-gradient(45deg, rgba(219, 39, 119, 0.2), rgba(234, 88, 12, 0.15));
}

[data-lc-color-scheme="dark"] .lc-hero__blob--4 {
    background: linear-gradient(315deg, rgba(202, 138, 4, 0.18), rgba(234, 88, 12, 0.12));
}

[data-lc-color-scheme="dark"] .lc-hero__blob--5 {
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.18), rgba(79, 70, 229, 0.12));
}

[data-lc-color-scheme="dark"] .lc-hero__blob--6 {
    background: linear-gradient(270deg, rgba(234, 88, 12, 0.15), rgba(219, 39, 119, 0.12));
}

[data-lc-color-scheme="dark"] .lc-hero__blob {
    opacity: 0.4;
}

/* Dark mode for post card type badges */
html[data-lc-color-scheme="dark"] .lc-post-card__type--project {
    background: rgba(59, 130, 246, 0.25);
    color: #60a5fa;
}

html[data-lc-color-scheme="dark"] .lc-post-card__type--page {
    background: rgba(139, 92, 246, 0.25);
    color: #a78bfa;
}

html[data-lc-color-scheme="dark"] .lc-post-card__type--post {
    background: rgba(34, 197, 94, 0.25);
    color: #4ade80;
}

/* Dark mode for project status in search results */
html[data-lc-color-scheme="dark"] .lc-post-card__status--running {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.4);
}

html[data-lc-color-scheme="dark"] .lc-post-card__status--developing {
    background: rgba(249, 115, 22, 0.2);
    color: #fb923c;
    border-color: rgba(249, 115, 22, 0.4);
}

html[data-lc-color-scheme="dark"] .lc-post-card__status--paused {
    background: rgba(148, 163, 184, 0.2);
    color: #94a3b8;
    border-color: rgba(148, 163, 184, 0.4);
}

/* ========================================
   6. Content Sections
   ======================================== */

.lc-section {
    padding: 4rem 0;
    max-width: var(--lc-max);
    margin: 0 auto;
    position: relative;
    /* overflow: hidden; */
    --lc-section-title-bg-offset-x: 0px;
    --lc-section-title-bg-offset-y: 0px;
}

.lc-section__title {
    font-family: var(--lc-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--lc-on-surface);
    margin: 0;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    text-align: center;
}

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

.lc-section__title::before {
    content: attr(data-title);
    position: absolute;
    top: 50%;
    left: 50%;
    font-family: var(--lc-font-display);
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 700;
    color: var(--lc-on-surface);
    opacity: 0;
    z-index: -1;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: -0.04em;
    pointer-events: none;
    will-change: transform;
    transition: opacity 0.7s ease-out;
    transform: translate(-50%, -50%) translate(0, 0);
}

.lc-section__title.is-revealed::before {
    opacity: 0.05;
}

.lc-section__title--center {
    text-align: center;
}

.lc-section__title--center::before {
    transform: translate(-50%, -50%) translate(
        calc(var(--lc-section-title-bg-offset-x) * 0.7),
        calc(var(--lc-section-title-bg-offset-y) * 0.5)
    );
}

.lc-section__more {
    font-family: var(--lc-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lc-primary);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.lc-section__more:hover {
    opacity: 0.8;
}

.lc-section__footer {
    text-align: center;
    margin-top: 3rem;
}

.lc-section__title {
    font-family: var(--lc-font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--lc-on-surface);
    margin: 0;
}

.lc-section__title--center {
    text-align: center;
}

.lc-section__more {
    font-family: var(--lc-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lc-primary);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.lc-section__more:hover {
    opacity: 0.8;
}

.lc-section__footer {
    text-align: center;
    margin-top: 3rem;
}

/* Section Animations */
.lc-section.will-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lc-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   6.1 Posts Section
   ======================================== */

.lc-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

/* 极简列表流（首页最新文章） */
.lc-posts-minimal {
    margin-top: 2.5rem;
}

.lc-post-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0.75rem;
    border-bottom: 1px solid var(--lc-border-divider);
    text-decoration: none;
    transition: background 0.25s ease, box-shadow 0.25s ease;
    border-radius: 10px;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.lc-post-row:hover {
    background: var(--lc-glass-strong);
    box-shadow: var(--lc-shadow-sm);
}

.lc-post-row:hover .lc-post-row__title {
    color: var(--lc-primary);
}

.lc-post-row:last-child {
    border-bottom: none;
}

.lc-post-row__thumb {
    flex-shrink: 0;
    width: 72px;
    height: 54px;
    border-radius: 8px;
    overflow: hidden;
}

.lc-post-row__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.lc-post-row:hover .lc-post-row__thumb-img {
    transform: scale(1.06);
}

.lc-post-row__body {
    flex: 1;
    min-width: 0;
}

.lc-post-row__date {
    flex-shrink: 0;
    margin-left: auto;
    font-family: var(--lc-font-mono);
    font-size: 0.8125rem;
    color: var(--lc-neutral);
    line-height: 1.5;
}

.lc-post-row__title {
    font-family: var(--lc-font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--lc-on-surface);
    margin: 0;
    line-height: 1.4;
    transition: color 0.25s ease;
}

.lc-post-row__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.lc-post-row__title a:hover {
    color: var(--lc-primary);
}

.lc-post-row__link {
    position: absolute;
    inset: 0;
}

.lc-post-card {
    position: relative;
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--lc-glass);
    border-radius: var(--lc-radius-xl);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    border: 1px solid var(--lc-border-divider);
}

.lc-post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lc-shadow);
}

.lc-post-card--has-cover {
    flex-direction: row;
}

.lc-post-card:not(.lc-post-card--has-cover) {
    flex-direction: column;
}

.lc-post-card__cover {
    flex-shrink: 0;
    width: 120px;
    height: 90px;
    border-radius: 0.75rem;
    overflow: hidden;
}

.lc-post-card__cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lc-post-card:hover .lc-post-card__cover-img {
    transform: scale(1.05);
}

.lc-post-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lc-post-card__title {
    font-family: var(--lc-font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.lc-post-card__title a {
    color: var(--lc-on-surface);
    text-decoration: none;
    /* transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1); */
}

.lc-post-card__title a:hover {
    color: var(--lc-primary);
}

.lc-post-card__excerpt {
    font-family: var(--lc-font-body);
    font-size: 0.9375rem;
    color: var(--lc-meta);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lc-post-card__excerpt p {
    margin: 0;
}

.lc-post-card__date {
    font-family: var(--lc-font-mono);
    font-size: 0.8125rem;
    color: var(--lc-neutral);
    margin-top: auto;
    padding-top: 0.5rem;
}

.lc-post-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.lc-post-card__content a {
    position: relative;
    z-index: 2;
}

.lc-post-card .lc-kicker {
    display: inline-block;
    font-family: var(--lc-font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--lc-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    /* margin-bottom: 0.25rem; */
}

/* Post card meta (type + status/category) */
.lc-post-card__meta {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.25rem;
}

.lc-post-card__type {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: var(--lc-font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1;
}

.lc-post-card__type--project {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.lc-post-card__type--page {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.lc-post-card__type--post {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.lc-post-card__status {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: var(--lc-font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    background: var(--lc-chip-bg);
    color: var(--lc-neutral);
    border: 1px solid var(--lc-border);
}

/* Project status colors in search results */
.lc-post-card__status--running {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    border-color: rgba(34, 197, 94, 0.3);
}

.lc-post-card__status--developing {
    background: rgba(249, 115, 22, 0.12);
    color: #ea580c;
    border-color: rgba(249, 115, 22, 0.3);
}

.lc-post-card__status--paused {
    background: rgba(148, 163, 184, 0.12);
    color: #64748b;
    border-color: rgba(148, 163, 184, 0.3);
}

/* ========================================
   6.2 Projects Section
   ======================================== */

.lc-section--projects {
    padding: 5rem 0;
}

.lc-projects-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

/* Project card styles moved to project.css (.lc-project-item) */

/* ========================================
   6.3 Stats Section
   ======================================== */

.lc-section--stats {
    padding: 4rem 0;
    /* border-top: 1px solid var(--lc-border-divider); */
    /* border-bottom: 1px solid var(--lc-border-divider); */
}

.lc-stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem 0;
    margin-top: 2rem;
    padding: 1.5rem 0;
}

.lc-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem 1.5rem;
    position: relative;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: hidden;
}

.lc-stat-card::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 36px;
    background: var(--lc-border-divider);
}

.lc-stat-card:last-child::after {
    display: none;
}

.lc-stat-card:hover {
    transform: none;
    box-shadow: none;
}

.lc-stat-card__icon {
    color: var(--lc-primary);
    margin-bottom: 0.75rem;
    opacity: 0.6;
    flex-shrink: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lc-stat-card:hover .lc-stat-card__icon {
    opacity: 1;
    transform: scale(1.1);
}

.lc-stat-card__value {
    font-family: var(--lc-font-display);
    font-size: clamp(1.75rem, 2.5vw, 3rem);
    font-weight: 800;
    color: var(--lc-on-surface);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.lc-stat-card__label {
    font-family: var(--lc-font-mono);
    font-size: 0.6875rem;
    color: var(--lc-neutral);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.3;
    white-space: nowrap;
}

/* ========================================
   6.4 Tech Stack Section
   ======================================== */

.lc-tech-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lc-tech-track {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 64px, black calc(100% - 64px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 64px, black calc(100% - 64px), transparent);
}

.lc-tech-track__strip {
    display: flex;
    gap: 3rem;
    width: fit-content;
}

.lc-tech-track--right .lc-tech-track__strip {
    animation: scroll-right 30s linear infinite;
}

.lc-tech-track--left .lc-tech-track__strip {
    animation: scroll-left 35s linear infinite;
}

.lc-tech-track__item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
}

.lc-tech-track__icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--lc-on-surface);
}

.lc-tech-track__icon svg {
    width: 100%;
    height: 100%;
}

.lc-tech-track__label {
    font-family: var(--lc-font-mono);
    font-size: 1rem;
    font-weight: 500;
    color: var(--lc-on-surface);
    white-space: nowrap;
}

/* Tech Stack Chips (for project page) */
.lc-chip--tech {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.lc-chip__icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lc-chip__icon svg {
    width: 100%;
    height: 100%;
}

/* ========================================
   7. Single Post / Article Page
   ======================================== */

.lc-single-post {
    max-width: var(--lc-max);
    margin: 0 auto;
    padding: var(--lc-space) 0;
    display: flex;
    justify-content: center;
}

.lc-article {
    width: 100%;
    border: 1px solid var(--lc-border);
    border-radius: var(--lc-radius);
}

.lc-article__cover {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--lc-radius) var(--lc-radius) 0 0;
}

.lc-article__cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lc-article__header {
    padding: 2.5rem 3rem 1.5rem;
}

.lc-article__category {
    display: inline-block;
    font-family: var(--lc-font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--lc-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    text-decoration: none;
}

.lc-article__category:hover {
    opacity: 0.8;
}

.lc-article__title {
    font-family: var(--lc-font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--lc-on-surface);
    margin: 0 0 1.5rem;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-break: normal;
}

.lc-article__meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: var(--lc-neutral);
    font-size: 0.875rem;
}

.lc-article__date {
    font-family: var(--lc-font-mono);
}

.lc-article__views,
.lc-article__reading {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.lc-article__author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lc-article__author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.lc-article__content {
    padding: 0 3rem 2.5rem;
    font-family: var(--lc-font-body);
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--lc-on-surface);
    overflow: hidden;
}

/* 确保文章内容所有子元素都有平滑过渡 */
.lc-article__content *,
.lc-article__content *::before,
.lc-article__content *::after {
    transition-property: background-color, border-color, color, fill, stroke, 
                         box-shadow, text-shadow, opacity;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.lc-article__content h2,
.lc-article__content h3,
.lc-article__content h4 {
    font-family: var(--lc-font-display);
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--lc-on-surface);
}

.lc-article__content h2 {
    font-size: 1.75rem;
}

.lc-article__content h3 {
    font-size: 1.375rem;
}

.lc-article__content p {
    margin-bottom: 1.25rem;
}

.lc-article__content a {
    color: var(--lc-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* .lc-article__content a:hover {
    opacity: 0.8;
} */

.lc-article__content img,
.lc-page-article img,
.lc-project-single-tech__content-card img {
    max-width: 100%;
    height: auto;
    border-radius: var(--lc-radius);
    margin: 1.5rem 0;
    cursor: zoom-in;
}

.lc-lightbox-trigger {
    cursor: zoom-in;
}

.lc-article__content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--lc-primary);
    background: var(--lc-glass);
    border-radius: 0 var(--lc-radius) var(--lc-radius) 0;
    font-style: italic;
}

.lc-article__content ul,
.lc-article__content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.lc-article__content li {
    margin-bottom: 0.5rem;
}

/* --- Inline code in article content --- */
.lc-article__content code {
    font-family: var(--lc-font-mono);
    font-size: 0.85em;
    padding: 0.2em 0.45em;
    border-radius: 6px;
    background: var(--lc-chip-bg);
    border: 1px solid var(--lc-input-border);
    color: var(--lc-on-surface);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.lc-article__content code:hover {
    background: var(--lc-elevated);
    border-color: var(--lc-primary);
}

/* Article Footer */
.lc-article__footer {
    padding: 2.5rem 3rem;
    border-top: 1px solid var(--lc-border-divider);
}

.lc-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.lc-tag {
    padding: 0.375rem 0.75rem;
    background: var(--lc-glass);
    border-radius: 2rem;
    font-family: var(--lc-font-mono);
    font-size: 0.8125rem;
    color: var(--lc-neutral);
    text-decoration: none;
    transition: all 0.2s ease;
}

.lc-tag:hover {
    background: var(--lc-primary);
    color: white;
}

.lc-article__share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lc-article__share-label {
    font-size: 0.875rem;
    color: var(--lc-neutral);
}

.lc-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--lc-glass);
    color: var(--lc-neutral);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lc-share-btn:hover {
    background: var(--lc-primary);
    color: white;
}

/* Post Navigation */
.lc-post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 3rem;
    border-top: 1px solid var(--lc-border-divider);
}

.lc-post-navigation__prev,
.lc-post-navigation__next {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-width: 45%;
    text-decoration: none;
    color: inherit;
}

.lc-post-navigation__next {
    text-align: right;
    margin-left: auto;
}

.lc-post-navigation__label {
    font-family: var(--lc-font-mono);
    font-size: 0.75rem;
    color: var(--lc-neutral);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lc-post-navigation__title {
    font-family: var(--lc-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--lc-on-surface);
    transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.lc-post-navigation__prev:hover .lc-post-navigation__title,
.lc-post-navigation__next:hover .lc-post-navigation__title {
    color: var(--lc-primary);
}

/* Related Posts */
.lc-related-posts {
    padding: 2.5rem 3rem;
    border-top: 1px solid var(--lc-border-divider);
}

.lc-related-posts__title {
    font-family: var(--lc-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--lc-on-surface);
}

.lc-related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.lc-related-post {
    border: 1px solid var(--lc-border);
    border-radius: var(--lc-radius);
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.lc-related-post:hover {
    border-color: var(--lc-primary);
}

.lc-related-post__cover {
    height: 140px;
    overflow: hidden;
}

.lc-related-post__cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lc-related-post:hover .lc-related-post__cover-img {
    transform: scale(1.05);
}

.lc-related-post__title {
    font-family: var(--lc-font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 1rem;
    line-height: 1.4;
}

.lc-related-post__title a {
    color: var(--lc-on-surface);
    text-decoration: none;
}

.lc-related-post__title a:hover {
    color: var(--lc-primary);
}

.lc-related-post__date {
    display: block;
    font-family: var(--lc-font-mono);
    font-size: 0.75rem;
    color: var(--lc-neutral);
    margin: 0 1rem 1rem;
}

/* ========================================
   8. Archive Pages
   ======================================== */

.lc-articles-archive {
    max-width: var(--lc-max);
    margin: 0 auto;
    padding: 20px 0;
}

.lc-articles-archive__header {
    margin-bottom: 48px;
    text-align: center;
}

.lc-articles-archive__title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.lc-articles-archive__title {
    font-family: var(--lc-font-display);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    color: var(--lc-on-surface);
    letter-spacing: -0.02em;
    margin: 0;
}

.lc-articles-archive__page-num {
    font-weight: 400;
    font-size: 0.6em;
    color: var(--lc-neutral);
    white-space: nowrap;
}

.lc-articles-archive__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 28px;
    padding: 0 10px;
    background: var(--lc-glass);
    border-radius: 14px;
    font-family: var(--lc-font-mono);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lc-neutral);
}

.lc-articles-archive__subtitle {
    font-size: 1rem;
    color: var(--lc-neutral);
    margin: 0;
}

/* 文章列表：杂志风格卡片 */
.lc-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.lc-article-card {
    border: 1px solid var(--lc-border-divider);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.lc-article-card:hover {
    border-color: var(--lc-primary);
    box-shadow: 0 0 0 1px var(--lc-primary);
    transform: translateY(-4px);
}

.lc-article-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.lc-article-card__cover {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--lc-surface-low), var(--lc-surface));
}

.lc-article-card__cover--empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lc-article-card__cover--empty::after {
    content: '';
    width: 32px;
    height: 32px;
    opacity: 0.3;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.lc-article-card__cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.lc-article-card:hover .lc-article-card__cover-img {
    transform: scale(1.08);
}

.lc-article-card__body {
    padding: 1rem 1.25rem 1.25rem;
}

.lc-article-card__category {
    display: inline-block;
    font-family: var(--lc-font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--lc-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
}

.lc-article-card__title {
    font-family: var(--lc-font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--lc-on-surface);
    margin: 0 0 0.5rem;
    line-height: 1.35;
}

.lc-article-card__date {
    font-family: var(--lc-font-mono);
    font-size: 0.8125rem;
    color: var(--lc-neutral);
}

.lc-page-header {
    padding: 4rem 2rem 2rem;
    text-align: center;
    max-width: var(--lc-max);
    margin: 0 auto;
}

.lc-page-header__inner {
    position: relative;
}

.lc-page-header__badge {
    display: inline-block;
    font-family: var(--lc-font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--lc-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--lc-border-divider);
    border-radius: 100px;
}

.lc-page-header__title {
    font-family: var(--lc-font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--lc-on-surface);
    margin: 0;
    line-height: 1.2;
}

.lc-page-header__title .page-description {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: var(--lc-neutral);
    margin-top: 0.5rem;
}

.lc-page-header__description {
    font-family: var(--lc-font-body);
    font-size: 1rem;
    color: var(--lc-neutral);
    max-width: 560px;
    margin: 0 auto 1.25rem;
    padding-top: 0.75rem;
    line-height: 1.6;
}

.lc-page-header__description p {
    margin: 0;
}

.lc-page-header__count {
    display: inline-block;
    font-family: var(--lc-font-mono);
    font-size: 0.8125rem;
    color: var(--lc-neutral);
    padding-top: 0.75rem;
    border-top: 1px solid var(--lc-border-divider);
}

/* Pagination */
.lc-pagination {
    display: flex;
    justify-content: center;
    padding: 3rem var(--lc-space);
}

.lc-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lc-pagination a,
.lc-pagination span {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-family: var(--lc-font-body);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lc-pagination a {
    background: var(--lc-glass);
    color: var(--lc-on-surface);
}

.lc-pagination a:hover {
    background: var(--lc-primary);
    color: white;
}

.lc-pagination .current {
    background: var(--lc-primary);
    color: white;
}

.lc-pagination .dots {
    background: transparent;
    color: var(--lc-neutral);
}

/* ========================================
   9. Comments & Guestbook
   ======================================== */

.lc-default-content {
    max-width: var(--lc-max);
    margin: 0 auto;
    padding: 0 var(--lc-space) 4rem;
}

.lc-comments-area {
    margin-top: 3rem;
}

.lc-comments-title {
    font-family: var(--lc-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lc-on-surface);
    margin-bottom: 2rem;
}

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

.lc-comment {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--lc-glass);
    border-radius: var(--lc-radius-xl);
    margin-bottom: 1rem;
    box-shadow: var(--lc-shadow);
}

.lc-comment__avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.lc-comment__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lc-comment__body {
    flex: 1;
}

.lc-comment__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.lc-comment__author {
    font-family: var(--lc-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--lc-on-surface);
}

.lc-comment__time {
    font-family: var(--lc-font-mono);
    font-size: 0.75rem;
    color: var(--lc-neutral);
}

.lc-comment__content {
    font-family: var(--lc-font-body);
    font-size: 0.9375rem;
    color: var(--lc-meta);
    line-height: 1.6;
}

.lc-comment__content p {
    margin: 0 0 0.75rem;
}

.lc-comment__content p:last-child {
    margin-bottom: 0;
}

.lc-comment .children {
    list-style: none;
    margin: 1rem 0 0;
    padding-left: 3rem;
    border-left: 2px solid var(--lc-border-divider);
}

/* ========================================
   9.4 Post Content Lightbox
   ======================================== */

.lc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lc-lightbox--active {
    opacity: 1;
    visibility: visible;
}

.lc-lightbox__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lc-lightbox__content.is-zoomed {
    max-width: 100%;
    max-height: 100%;
    overflow: auto;
    align-items: flex-start;
    justify-content: flex-start;
}

.lc-lightbox__img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    cursor: zoom-in;
    transition: max-width 0.3s ease, max-height 0.3s ease, border-radius 0.3s ease;
}

.lc-lightbox__img.is-zoomed {
    max-width: none;
    max-height: none;
    border-radius: 0;
    cursor: zoom-out;
    min-width: 0;
    flex-shrink: 0;
}

/* Zoomed mode: allow lightbox body to scroll */
.lc-lightbox--zoomed {
    align-items: flex-start;
}

.lc-lightbox__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    z-index: 10;
}

.lc-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lc-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    z-index: 10;
}

.lc-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lc-lightbox__nav--prev {
    left: 24px;
}

.lc-lightbox__nav--next {
    right: 24px;
}

.lc-lightbox__counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--lc-font-mono);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .lc-lightbox__nav--prev {
        left: 12px;
    }

    .lc-lightbox__nav--next {
        right: 12px;
    }

    .lc-lightbox__close {
        top: 12px;
        right: 12px;
    }

    .lc-lightbox__counter {
        bottom: 12px;
    }
}

/* ========================================
   12. Empty State
   ======================================== */

/* ========================================
   13. Hero Section
   ======================================== */

.lc-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--lc-neutral);
}

.lc-empty-state p {
    font-family: var(--lc-font-body);
    font-size: 1.125rem;
    margin: 0;
}

.lc-page-links {
    margin: 2rem 0;
    padding: 1rem;
}

/* ========================================
   12. Responsive Styles
   ======================================== */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {

    /* Hero */
    .lc-hero__inner {
        gap: 2rem;
    }

    .lc-hero__name {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .lc-hero__tagline {
        font-size: 0.9375rem;
    }

    .lc-hero__project-name {
        font-size: 1.125rem;
    }

    .lc-hero__menu {
        gap: 1rem;
    }

    .lc-hero__menu a {
        font-size: 0.9375rem;
        padding: 0.375rem 0.75rem;
    }

    /* .lc-hero__menu a:hover,
    .lc-hero__menu a:focus-visible {
        color: var(--lc-primary);
    } */

    /* Sections */
    .lc-section {
        padding: 3rem 0;
    }

    .lc-section--stats {
        padding: 3rem 1rem;
    }

    /* Posts */
    .lc-post-card {
        padding: 1.25rem;
    }

    .lc-post-card__cover {
        width: 100px;
        height: 75px;
    }

    .lc-post-row {
        gap: 0.75rem;
        padding: 0.875rem 0;
    }

    .lc-post-row__thumb {
        width: 60px;
        height: 45px;
    }

    .lc-post-row__date {
        font-size: 0.75rem;
    }

    .lc-post-row__title {
        font-size: 0.9375rem;
    }

    /* Projects */
    .lc-projects-list {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stats */
    .lc-stats-strip {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }

    .lc-stat-card {
        padding: 0 1rem;
    }

    .lc-stat-card__value {
        font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    }

    /* Tech Stack */
    .lc-tech-track__strip {
        gap: 2rem;
    }

    .lc-tech-track__icon {
        width: 22px;
        height: 22px;
    }

    .lc-tech-track__label {
        font-size: 0.875rem;
    }

    /* Page Header */
    .lc-page-header {
        padding: 3.5rem 2rem 2rem;
    }

    .lc-page-header__title {
        font-size: 2rem;
    }

    /* Single Post */
    .lc-article__header,
    .lc-article__content,
    .lc-article__footer,
    .lc-post-navigation,
    .lc-related-posts {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .lc-article__title {
        font-size: 1.875rem;
    }

    .lc-related-posts__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {

    /* Hero - 移动端适配
     * 首页 Hero 作为普通内容，使用 relative
     * 导航栏 .lc-hero--navbar 保持 fixed
     */
    .lc-hero:not(.lc-hero--navbar) {
        height: auto;
        min-height: auto;
        padding: 0 1.25rem 3rem;
        position: relative;
    }

    .lc-hero .lc-hero__scroll{
        display: none;
    }

    .lc-hero:not(.lc-hero--navbar) .lc-hero__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .lc-hero:not(.lc-hero--navbar) .lc-hero__visual {
        display: none;
    }

    .lc-hero:not(.lc-hero--navbar) .lc-hero__profile {
        align-items: center;
        text-align: center;
    }

    .lc-hero:not(.lc-hero--navbar) .lc-hero__visual {
        order: 2;
    }

    .lc-hero:not(.lc-hero--navbar) .lc-hero__projects {
        gap: 0.6rem;
    }

    .lc-hero:not(.lc-hero--navbar) .lc-hero__track-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .lc-hero:not(.lc-hero--navbar) .lc-hero__track-icon-fallback {
        font-size: 1rem;
    }

    .lc-hero:not(.lc-hero--navbar) .lc-hero__track-strip {
        gap: 0.6rem;
    }

    /* 导航栏在移动端保持 fixed */
    .lc-hero--navbar {
        position: fixed !important;
    }

    .lc-hero__avatar {
        width: 80px;
        height: 80px;
    }

    .lc-hero__avatar-initial {
        font-size: 2rem;
    }

    .lc-hero__name {
        font-size: 2rem;
    }

    .lc-hero__tagline {
        font-size: 0.9375rem;
    }

    .lc-hero__social {
        gap: 0.75rem;
    }

    .lc-hero__social-link {
        width: 36px;
        height: 36px;
    }

    .lc-hero__menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .lc-hero__menu a {
        font-size: 0.875rem;
        padding: 0.375rem 0.625rem;
    }

    /* .lc-hero__menu a:hover,
    .lc-hero__menu a:focus-visible {
        color: var(--lc-primary);
    } */

    /* 变形后的 Hero（移动端导航栏） */

    .lc-hero--navbar {
        min-height: 56px;
        padding: var(--lc-navbar-padding) 0;
    }


    .lc-hero--navbar .lc-hero__inner {
        flex-direction: row;
        justify-content: space-between;
    }


    .lc-hero--navbar .lc-hero__profile {
        flex-direction: row;
        gap: 0.5rem;
    }


    .lc-hero--navbar .lc-hero__avatar {
        width: 32px;
        height: 32px;
    }


    .lc-hero--navbar .lc-hero__name {
        font-size: 1rem;
    }


    .lc-hero--navbar .lc-hero__nav {
        display: none;
    }

    /* Enhanced Hero Responsive */
    .lc-hero__typing {
        font-size: 0.875rem;
    }

    .lc-hero__stats {
        gap: 0.5rem;
    }

    .lc-hero__stat-card {
        padding: 0.55rem 0.65rem;
    }

    .lc-hero__stat-value {
        font-size: 1rem;
    }

    .lc-hero__stat-label {
        font-size: 0.5625rem;
    }

    /* .lc-hero__scroll {
        display: none;
    } */

    .lc-hero__grid-bg {
        background-size: 30px 30px;
    }

    .lc-hero__particle {
        width: 3px;
        height: 3px;
    }

    /* Sections */
    .lc-section {
        padding: 2.5rem 0;
    }

    .lc-section--stats {
        padding: 2.5rem 1rem;
    }

    .lc-section__title {
        font-size: 1.5rem;
    }

    /* Posts */
    .lc-post-card {
        flex-direction: column;
        padding: 1rem;
    }

    .lc-post-card--has-cover {
        flex-direction: column;
    }

    .lc-post-card__cover {
        width: 100%;
        height: 160px;
    }

    .lc-post-card__title {
        font-size: 1.125rem;
    }

    .lc-post-row__thumb {
        width: 64px;
        height: 48px;
    }

    .lc-post-row__date {
        font-size: 0.75rem;
    }

    .lc-post-row__title {
        font-size: 1rem;
    }

    /* Projects */
    .lc-projects-list {
        grid-template-columns: 1fr;
    }

    /* Stats */
    .lc-stats-strip {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.75rem 0;
    }

    .lc-stat-card {
        padding: 0.75rem 0.75rem;
    }

    .lc-stat-card::after {
        display: none;
    }

    .lc-stat-card__value {
        font-size: clamp(1.25rem, 3vw, 1.75rem);
    }

    /* Page Header */
    .lc-page-header {
        padding: 3rem 1.25rem 1.5rem;
    }

    .lc-page-header__title {
        font-size: 1.75rem;
    }

    .lc-page-header__badge {
        font-size: 0.6875rem;
        margin-bottom: 0.5rem;
    }

    /* Single Post */
    .lc-single-post {
        padding: 1rem 0 3rem;
    }

    /* .lc-article {
        border-radius: 0;
    } */

    .lc-article__cover {
        height: 240px;
        /* border-radius: 0; */
    }

    .lc-article__header,
    .lc-article__content,
    .lc-article__footer,
    .lc-post-navigation,
    .lc-related-posts {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .lc-article__title {
        font-size: 1.5rem;
    }

    .lc-article__meta {
        gap: 1rem;
        font-size: 0.8125rem;
    }

    .lc-article__content {
        font-size: 1rem;
        line-height: 1.75;
    }

    .lc-post-navigation {
        flex-direction: column;
        gap: 1.5rem;
    }

    .lc-post-navigation__prev,
    .lc-post-navigation__next {
        max-width: 100%;
    }

    .lc-post-navigation__next {
        text-align: left;
        margin-left: 0;
    }

    .lc-related-posts__grid {
        grid-template-columns: 1fr;
    }

    /* Comments */
    .lc-comment .children {
        padding-left: 1.5rem;
    }

    .lc-comment-form__grid {
        grid-template-columns: 1fr;
    }

    /* Archive */
    .lc-articles-archive {
        padding: calc(var(--lc-hero-min-height) + 10px) 0;
    }

    .lc-articles-archive__header {
        margin-bottom: 32px;
    }

    .lc-articles-archive__title-wrap {
        gap: 8px;
    }

    .lc-articles-archive__title {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .lc-articles-archive__count {
        min-width: 36px;
        height: 24px;
        padding: 0 8px;
        font-size: 0.8125rem;
    }

    .lc-articles-grid {
        gap: 1.25rem;
    }

    .lc-article-card__cover {
        aspect-ratio: 16 / 9;
    }

    .lc-article-card__body {
        padding: 0.875rem 1rem 1rem;
    }

    .lc-article-card__title {
        font-size: 1rem;
    }

    /* Mobile nav 隐藏桌面端 */
    .lc-mobile-nav {
        /* display: none !important; */
    }
}

/* Small Mobile (< 375px) */
@media (max-width: 374px) {
    .lc-hero__name {
        font-size: 1.75rem;
    }

    .lc-stat-card {
        padding: 0.75rem 1rem;
    }

    .lc-stat-card__value {
        font-size: 1.5rem;
    }

    .lc-stat-card__label {
        font-size: 0.625rem;
    }

    .lc-tech-track__strip {
        gap: 1.5rem;
    }

    .lc-tech-track__icon {
        width: 20px;
        height: 20px;
    }

    .lc-tech-track__label {
        font-size: 0.8125rem;
    }
}

/* Desktop (>= 768px) */
@media (min-width: 768px) {
    /* 桌面端隐藏汉堡菜单 */


    .lc-hero--navbar .lc-hero__menu-toggle {
        display: none;
    }

    /* 桌面端显示导航 */

    .lc-hero--navbar .lc-hero__nav {
        display: block;
    }
}

/* ========================================
   13. Accessibility
   ======================================== */

@media (prefers-reduced-motion: reduce) {

    /* 禁用动画 */
    .lc-hero,
    .lc-hero__inner,
    .lc-hero__profile,
    .lc-hero__avatar,
    .lc-hero__name,
    .lc-hero__tagline,
    .lc-hero__social,
    .lc-hero__nav {
        transition: none !important;
    }

    .lc-hero__avatar:hover,
    .lc-hero__social-link:hover {
        transform: none !important;
    }

    .lc-hero__blob {
        animation: none !important;
    }

    .lc-hero__geo {
        animation: none !important;
    }

    .lc-hero__scroll-icon {
        animation: none !important;
    }

    .lc-hero__name.has-word-spans .lc-hero__name-word {
        opacity: 1;
        transform: translateY(0);
        transition: none !important;
    }

    .lc-hero__status-dot--active {
        animation: none !important;
    }

    .lc-text-rainbow,
    .lc-hero__name,
    .lc-footer-tech__site-name {
        animation: none !important;
    }

    .lc-mobile-nav__content,
    .lc-mobile-nav__overlay,
    .lc-mobile-nav__list>li,
    .lc-mobile-menu__toggle svg,
    .lc-mobile-menu__submenu {
        transition: none !important;
        animation: none !important;
    }

    .lc-mobile-nav.is-open .lc-mobile-nav__content,
    .lc-mobile-nav.is-open .lc-mobile-nav__overlay,
    .lc-mobile-nav.is-open .lc-mobile-nav__list>li {
        opacity: 1;
        transform: none;
    }

    .lc-section.will-animate {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .lc-hero__menu a::before {
        transition: none;
    }
}

/* Hidden state for animation */
.lc-hero__tagline.is-hidden,
.lc-hero__social.is-hidden {
    opacity: 0;
    pointer-events: none;
}

/* --- Terminal Code Block (single post) --- */
.lc-terminal--code {
    background: var(--lc-terminal-bg);
    border: 1px solid var(--lc-terminal-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(74, 108, 244, 0.08);
    font-family: var(--lc-font-mono);
}

.lc-terminal--code .lc-terminal__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--lc-terminal-header);
    border-bottom: 1px solid var(--lc-terminal-border);
}

.lc-terminal--code .lc-terminal__header br {
    display: none;
}

.lc-terminal--code .lc-terminal__dots {
    display: flex;
    gap: 6px;
}

.lc-terminal--code .lc-terminal__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.lc-terminal--code .lc-terminal__dot--red { background: var(--lc-terminal-dot-red); }
.lc-terminal--code .lc-terminal__dot--yellow { background: var(--lc-terminal-dot-yellow); }
.lc-terminal--code .lc-terminal__dot--green { background: var(--lc-terminal-dot-green); }

.lc-terminal--code .lc-terminal__title {
    font-size: 0.75rem;
    color: var(--lc-neutral);
    margin-left: 6px;
}

.lc-terminal--code .lc-terminal__title:empty {
    display: none;
    margin: 0;
}

.lc-terminal--code pre {
    margin: 0;
    padding: 16px 20px;
    background: var(--lc-terminal-bg);
    border: none;
    border-radius: 0 0 12px 12px;
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #e8eaef;
}

.lc-terminal--code pre code {
    background: transparent;
    padding: 0;
    border: none;
    font-size: inherit;
    color: var(--lc-terminal-text);
}

.lc-terminal--code pre code:hover{
    background: transparent;
}

.lc-article__content .lc-terminal--code {
    margin: 1.5rem 0;
}

/* ========================================
   Post Content Video Device Mockup
   ======================================== */

.lc-post-video-mockup {
    margin: 2rem auto;
    max-width: 100%;
}

/* Phone mockup */
.lc-post-video-mockup--phone {
    width: 280px;
}

.lc-post-video-mockup--phone .lc-post-video-mockup__frame {
    position: relative;
    background: linear-gradient(145deg, #2a2a3a, #1a1a2e);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.1),
        inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.lc-post-video-mockup--phone .lc-post-video-mockup__notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1a1a2e;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.lc-post-video-mockup--phone .lc-post-video-mockup__screen {
    position: relative;
    background: #000;
    border-radius: 32px;
    overflow: hidden;
}

.lc-post-video-mockup--phone .lc-post-video-mockup__screen iframe,
.lc-post-video-mockup--phone .lc-post-video-mockup__screen video {
    border-radius: 20px;
}

.lc-post-video-mockup--phone .lc-post-video-mockup__home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    z-index: 10;
}

/* Tablet mockup */
.lc-post-video-mockup--tablet {
    width: 500px;
}

.lc-post-video-mockup--tablet .lc-post-video-mockup__frame {
    position: relative;
    background: linear-gradient(145deg, #3a3a4a, #2a2a3a);
    border-radius: 20px;
    padding: 15px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.1);
}

.lc-post-video-mockup--tablet .lc-post-video-mockup__screen {
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

/* Laptop mockup */
.lc-post-video-mockup--laptop {
    width: 100%;
    max-width: 700px;
}

.lc-post-video-mockup--laptop .lc-post-video-mockup__frame {
    position: relative;
    background: linear-gradient(145deg, #3a3a4a, #2a2a3a);
    border-radius: 12px 12px 0 0;
    padding: 8px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.1);
}

.lc-post-video-mockup--laptop .lc-post-video-mockup__camera {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #1a1a2e;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.lc-post-video-mockup--laptop .lc-post-video-mockup__screen {
    position: relative;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

.lc-post-video-mockup__screen iframe,
.lc-post-video-mockup__screen video {
    width: 100%;
    display: block;
    border: none;
    aspect-ratio: auto;
}

.lc-post-video-mockup--laptop .lc-post-video-mockup__screen iframe,
.lc-post-video-mockup--laptop .lc-post-video-mockup__screen video {
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .lc-post-video-mockup--phone {
        width: 220px;
    }

    .lc-post-video-mockup--phone .lc-post-video-mockup__frame {
        border-radius: 30px;
        padding: 8px;
    }

    .lc-post-video-mockup--phone .lc-post-video-mockup__screen {
        border-radius: 24px;
    }

    .lc-post-video-mockup--phone .lc-post-video-mockup__notch {
        width: 80px;
        height: 20px;
        border-radius: 0 0 12px 12px;
    }

    .lc-post-video-mockup--tablet {
        width: 100%;
    }
}

/* ============================================================================
   16. Table of Contents (TOC)
   ============================================================================ */

/* TOC Sidebar Layout */
.lc-article__content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.lc-article__toc-sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .lc-article__content-wrapper:not(.lc-article__content-wrapper--no-toc) {
        grid-template-columns: minmax(0, 1fr) minmax(10.5rem, 15rem);
        column-gap: 2.5rem;
        align-items: start;
        padding: 0 3rem 2.5rem;
    }

    .lc-article__content-wrapper:not(.lc-article__content-wrapper--no-toc) .lc-article__content {
        padding: 0;
    }

    .lc-article__content-wrapper--no-toc {
        grid-template-columns: 1fr;
    }

    .lc-article__toc-sidebar {
        display: block;
        position: sticky;
        top: calc(var(--lc-navbar-height, 64px) + 1.25rem);
        align-self: start;
        max-height: calc(100vh - var(--lc-navbar-height, 64px) - 2.5rem);
        overflow-y: auto;
        order: 2;
        scrollbar-width: thin;
    }

    .lc-article__content {
        order: 1;
    }

    .lc-article__toc-sidebar .lc-toc {
        position: static;
        max-height: none;
        overflow: visible;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .lc-article__toc-sidebar .lc-toc__header {
        margin: 0;
        padding: 0;
        border: 0;
    }

    .lc-article__toc-sidebar .lc-toc__icon {
        display: none;
    }

    .lc-article__toc-sidebar .lc-toc__title {
        font-family: var(--lc-font-mono);
        font-size: 0.6875rem;
        font-weight: 500;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--lc-meta);
    }

    .lc-article__toc-sidebar .lc-toc__list {
        margin-top: 0.875rem;
        border-left: 1px solid var(--lc-border-divider);
    }

    .lc-article__toc-sidebar .lc-toc__sublist {
        margin-top: 0;
        padding-left: 0;
    }

    .lc-article__toc-sidebar .lc-toc__link,
    .lc-article__toc-sidebar .lc-toc__item--level-3 .lc-toc__link {
        margin-left: -1px;
        padding: 7px 0 7px 16px;
        border-radius: 0;
        border-left: 1px solid transparent;
        background: transparent;
        font-size: 0.8125rem;
        font-weight: 400;
        color: var(--lc-neutral);
    }

    .lc-article__toc-sidebar .lc-toc__item--level-3 .lc-toc__link {
        padding-left: 28px;
        font-size: 0.75rem;
    }

    .lc-article__toc-sidebar .lc-toc__link:hover,
    .lc-article__toc-sidebar .lc-toc__item--level-3 .lc-toc__link:hover {
        color: var(--lc-on-surface);
        background: transparent;
        border-left-color: var(--lc-border);
    }

    .lc-article__toc-sidebar .lc-toc__link--active,
    .lc-article__toc-sidebar .lc-toc__link--active:hover,
    .lc-article__toc-sidebar .lc-toc__item--level-3 .lc-toc__link--active,
    .lc-article__toc-sidebar .lc-toc__item--level-3 .lc-toc__link--active:hover {
        color: var(--lc-primary);
        background: color-mix(in srgb, var(--lc-primary) 12%, transparent);
        border-left-color: var(--lc-primary);
        box-shadow: inset 3px 0 0 var(--lc-primary);
        font-weight: 600;
        border-radius: 0 8px 8px 0;
    }

    body:has(.lc-article__toc-sidebar) .lc-floating-toc,
    body:has(.lc-article__toc-sidebar) .lc-floating-toc__panel {
        display: none;
    }
}

/* TOC Container */
.lc-toc {
    background: var(--lc-glass);
    border: 1px solid var(--lc-border);
    border-radius: 16px;
    padding: 1.25rem;
    position: sticky;
    top: calc(var(--lc-navbar-height, 64px) + 1rem);
    max-height: calc(100vh - var(--lc-navbar-height, 64px) - 2rem);
    overflow-y: auto;
    box-shadow: var(--lc-shadow-sm);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lc-toc::-webkit-scrollbar {
    width: 5px;
}

.lc-toc::-webkit-scrollbar-track {
    background: transparent;
    margin: 4px 0;
}

.lc-toc::-webkit-scrollbar-thumb {
    background: var(--lc-border);
    border-radius: 3px;
}

.lc-toc::-webkit-scrollbar-thumb:hover {
    background: var(--lc-neutral);
}

/* TOC Header */
.lc-toc__header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding-bottom: 0.875rem;
    margin-bottom: 0.875rem;
    border-bottom: 1px solid var(--lc-border);
}

.lc-toc__icon {
    color: var(--lc-primary);
    flex-shrink: 0;
    opacity: 0.9;
}

.lc-toc__title {
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--lc-text-primary);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* TOC List */
.lc-toc__list,
.lc-toc__sublist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lc-toc__sublist {
    padding-left: 0.75rem;
    margin-top: 0.25rem;
}

.lc-toc__item {
    margin: 0;
}

.lc-toc__item--level-2+.lc-toc__item--level-2,
.lc-toc__item--level-3+.lc-toc__item--level-3 {
    margin-top: 0.25rem;
}

.lc-toc__link {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--lc-text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
    margin-left: 0;
}

.lc-toc__link:hover {
    color: var(--lc-text-primary);
    background: var(--lc-surface-2);
    border-left-color: var(--lc-border);
    padding-left: 0.875rem;
}

.lc-toc__link--active {
    color: var(--lc-text-primary);
    background: var(--lc-surface-2);
    border-left-color: var(--lc-primary);
    font-weight: 600;
    padding-left: 0.875rem;
}

.lc-toc__link--active:hover {
    background: var(--lc-surface);
    border-left-color: var(--lc-primary);
}

/* Level 3 specific */
.lc-toc__item--level-3 .lc-toc__link {
    font-size: 0.75rem;
    padding-left: 1rem;
}

.lc-toc__item--level-3 .lc-toc__link:hover {
    padding-left: 1.125rem;
}

.lc-toc__item--level-3 .lc-toc__link--active {
    padding-left: 1.125rem;
}

/* TOC Mobile Toggle */
.lc-toc__toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--lc-surface);
    border: 1px solid var(--lc-border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lc-text-primary);
}

.lc-toc__toggle-icon {
    transition: transform 0.2s ease;
}

.lc-toc__toggle[aria-expanded="true"] .lc-toc__toggle-icon {
    transform: rotate(180deg);
}

/* Mobile TOC */
@media (max-width: 1023px) {
    .lc-article__content-wrapper {
        grid-template-columns: 1fr;
    }

    .lc-article__toc-sidebar {
        display: none;
    }

    .lc-toc {
        position: static;
        max-height: none;
        padding: 0;
        border: none;
        background: transparent;
    }

    .lc-toc__header {
        display: none;
    }

    .lc-toc__toggle {
        display: flex;
    }

    .lc-toc__list {
        display: none;
        margin-top: 0.5rem;
        padding: 0.75rem;
        background: var(--lc-surface);
        border: 1px solid var(--lc-border);
        border-radius: 8px;
        max-height: 60vh;
        overflow-y: auto;
    }

    .lc-toc__list.is-open {
        display: block;
    }
}

/* Print: Hide TOC */
@media print {
    .lc-article__toc-sidebar {
        display: none;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .lc-comments-tech {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .lc-comments-tech__header {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .lc-comment-tech__header {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .lc-comment-tech__avatar-wrap,
    .lc-comment-tech__avatar-wrap .lc-avatar,
    .lc-comment-tech__avatar {
        width: 44px;
        height: 44px;
    }

    .lc-comments-tech__list .children {
        padding-left: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lc-comments-tech__pulse {
        animation: none;
    }
}

/* ============================================================================
   Empty State - 空状态提示
   ============================================================================ */

.lc-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.lc-empty-state__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    background: var(--lc-glass);
    border: 1px solid var(--lc-border);
    border-radius: 24px;
    color: var(--lc-primary);
    box-shadow: var(--lc-shadow);
}

.lc-empty-state__title {
    margin: 0 0 0.75rem;
    font-family: var(--lc-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lc-on-surface);
}

.lc-empty-state__description {
    margin: 0 0 2rem;
    font-size: 1rem;
    color: var(--lc-neutral);
    line-height: 1.6;
}

/* Suggestions (for search) */
.lc-empty-state__suggestions {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--lc-glass);
    border: 1px solid var(--lc-border);
    border-radius: 16px;
}

.lc-empty-state__suggestions-title {
    margin: 0 0 1rem;
    font-family: var(--lc-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--lc-on-surface);
}

.lc-empty-state__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.lc-empty-state__tag {
    display: inline-flex;
    padding: 0.4rem 0.85rem;
    background: var(--lc-surface);
    border: 1px solid var(--lc-border);
    border-radius: 999px;
    font-family: var(--lc-font-mono);
    font-size: 0.8rem;
    color: var(--lc-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.lc-empty-state__tag:hover {
    background: var(--lc-primary);
    border-color: var(--lc-primary);
    color: #fff;
}

.lc-empty-state__no-tags {
    font-size: 0.85rem;
    color: var(--lc-neutral);
}

/* Recent posts (for search) */
.lc-empty-state__recent {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--lc-glass);
    border: 1px solid var(--lc-border);
    border-radius: 16px;
}

.lc-empty-state__recent-title {
    margin: 0 0 1rem;
    font-family: var(--lc-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--lc-on-surface);
}

.lc-empty-state__posts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lc-empty-state__post {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--lc-surface);
    border: 1px solid var(--lc-border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lc-empty-state__post:hover {
    border-color: var(--lc-primary);
    box-shadow: 0 0 0 1px var(--lc-primary-glow);
}

.lc-empty-state__post-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.lc-empty-state__post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lc-empty-state__post-info {
    text-align: left;
    min-width: 0;
}

.lc-empty-state__post-title {
    margin: 0 0 0.25rem;
    font-family: var(--lc-font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lc-on-surface);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lc-empty-state__post-date {
    font-family: var(--lc-font-mono);
    font-size: 0.75rem;
    color: var(--lc-neutral);
}

/* Actions */
.lc-empty-state__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.lc-empty-state__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lc-empty-state__btn--primary {
    background: var(--lc-primary);
    color: #fff;
    border: 1px solid var(--lc-primary);
}

.lc-empty-state__btn--primary:hover {
    background: var(--lc-primary-dark);
    border-color: var(--lc-primary-dark);
}

.lc-empty-state__btn--secondary {
    background: var(--lc-glass);
    color: var(--lc-on-surface);
    border: 1px solid var(--lc-border);
}

.lc-empty-state__btn--secondary:hover {
    background: var(--lc-surface);
    border-color: var(--lc-primary);
}

/* ============================================================================
   Search Page Form - 搜索页搜索框
   ============================================================================ */

.lc-search-page-form {
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.lc-search-page-form__box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--lc-glass);
    border: 1px solid var(--lc-border);
    border-radius: 12px;
    transition: all 0.2s ease;
    box-shadow: var(--lc-shadow);
}

.lc-search-page-form__box:focus-within {
    border-color: var(--lc-primary);
    box-shadow: 0 0 0 3px var(--lc-primary-glow);
}

.lc-search-page-form__icon {
    color: var(--lc-neutral);
    flex-shrink: 0;
}

.lc-search-page-form__input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--lc-on-surface);
    font-size: 1rem;
    outline: none;
    min-width: 0;
}

.lc-search-page-form__input::placeholder {
    color: var(--lc-placeholder);
}

.lc-search-page-form__btn {
    padding: 0.5rem 1rem;
    background: var(--lc-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.lc-search-page-form__btn:hover {
    background: var(--lc-primary-dark);
}

/* Responsive */
@media (max-width: 640px) {
    .lc-empty-state {
        padding: 2rem 1rem;
    }

    .lc-empty-state__icon {
        width: 80px;
        height: 80px;
    }

    .lc-empty-state__title {
        font-size: 1.25rem;
    }

    .lc-empty-state__suggestions,
    .lc-empty-state__recent {
        padding: 1rem;
    }

    .lc-empty-state__actions {
        flex-direction: column;
    }

    .lc-empty-state__btn {
        justify-content: center;
    }

    .lc-search-page-form {
        padding: 0;
        margin-bottom: 1.5rem;
    }

    .lc-search-page-form__box {
        padding: 0.625rem 0.75rem;
    }
}



/* ============================================================
   Page Header — Background Title Effect
   ============================================================ */

.lc-page-header {
    position: relative;
    overflow: hidden;
    --lc-page-title-bg-offset-x: 0px;
    --lc-page-title-bg-offset-y: 0px;
}

.lc-page-header__title {
    font-family: var(--lc-font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--lc-on-surface);
    margin: 0;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    text-align: center;
}

.lc-page-header__title.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.lc-page-header__title::before {
    content: attr(data-title);
    position: absolute;
    top: 50%;
    left: 50%;
    font-family: var(--lc-font-display);
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 700;
    color: var(--lc-on-surface);
    opacity: 0;
    z-index: -1;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: -0.04em;
    pointer-events: none;
    will-change: transform;
    transition: opacity 0.7s ease-out;
    transform: translate(-50%, -50%) translate(0, 0);
}

.lc-page-header__title.is-revealed::before {
    opacity: 0.05;
}

.lc-page-header__title[data-title]::before {
    transform: translate(-50%, -50%) translate(
        calc(var(--lc-page-title-bg-offset-x) * 0.7),
        calc(var(--lc-page-title-bg-offset-y) * 0.5)
    );
}

.lc-articles-archive,
.lc-projects-archive {
    position: relative;
    /* overflow: hidden; */
    --lc-page-title-bg-offset-x: 0px;
    --lc-page-title-bg-offset-y: 0px;
}

.lc-guestbook-page {
    position: relative;
}

.lc-articles-archive__title,
.lc-projects-archive__title {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    text-align: center;
}

.lc-articles-archive__title.is-revealed,
.lc-projects-archive__title.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.lc-articles-archive__title::before,
.lc-projects-archive__title::before {
    content: attr(data-title);
    position: absolute;
    top: 50%;
    left: 50%;
    font-family: var(--lc-font-display);
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 700;
    color: var(--lc-on-surface);
    opacity: 0;
    z-index: -1;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: -0.04em;
    pointer-events: none;
    will-change: transform;
    transition: opacity 0.7s ease-out;
    transform: translate(-50%, -50%) translate(0, 0);
}

.lc-articles-archive__title.is-revealed::before,
.lc-projects-archive__title.is-revealed::before {
    opacity: 0.05;
}

.lc-articles-archive__title.is-revealed[data-title]::before,
.lc-projects-archive__title.is-revealed[data-title]::before {
    transform: translate(-50%, -50%) translate(
        calc(var(--lc-page-title-bg-offset-x) * 0.7),
        calc(var(--lc-page-title-bg-offset-y) * 0.5)
    );
}


/* ========================================
    10. Regular Page Template
    ======================================== */

.lc-page-content {
    max-width: var(--lc-max);
    margin: 0 auto;
    padding: var(--lc-space) 0;
}

.lc-page-content__meta {
    margin: 0 0 1.25rem;
}

.lc-page-article {
    width: 100%;
    /* background: var(--lc-surface); */
    border-radius: var(--lc-radius-xl);
    /* box-shadow: var(--lc-shadow); */
}

.lc-page-article__content {
    padding: 2.5rem 3rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.lc-page-article__content p {
    margin: 1em 0;
    line-height: 1.8;
}

.lc-page-article__content h1,
.lc-page-article__content h2,
.lc-page-article__content h3,
.lc-page-article__content h4,
.lc-page-article__content h5,
.lc-page-article__content h6 {
    margin-top: 2em;
    margin-bottom: 0.5em;
    font-family: var(--lc-font-display);
    font-weight: 700;
    color: var(--lc-on-surface);
}

.lc-page-article__content h2 {
    font-size: 1.75rem;
}

.lc-page-article__content h3 {
    font-size: 1.5rem;
}

.lc-page-article__content a {
    color: var(--lc-primary);
    text-decoration: underline;
    text-decoration-color: rgba(124, 132, 255, 0.3);
}

.lc-page-article__content a:hover {
    text-decoration-color: var(--lc-primary);
}

.lc-page-article__content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--lc-radius-md);
}

.lc-page-article__content ul,
.lc-page-article__content ol {
    padding-left: 2rem;
    margin: 1em 0;
}

.lc-page-article__content li {
    margin: 0.5em 0;
    line-height: 1.8;
}

.lc-page-article__content blockquote {
    margin: 1.5em 0;
    padding: 1em 1.5em;
    border-left: 4px solid var(--lc-primary);
    background: var(--lc-surface-raised);
    border-radius: 0 var(--lc-radius-md) var(--lc-radius-md) 0;
    font-style: italic;
}

.lc-page-article__content pre {
    margin: 1.5em 0;
    border-radius: var(--lc-radius-md);
    overflow-x: auto;
}

.lc-page-article__content code {
    font-family: var(--lc-font-mono);
    font-size: 0.9em;
    background: var(--lc-surface-raised);
    padding: 0.2em 0.4em;
    border-radius: 4px;
}

.lc-page-article__content table {
    width: 100%;
    margin: 1.5em 0;
    border-collapse: collapse;
    border-radius: var(--lc-radius-md);
    overflow: hidden;
}

.lc-page-article__content th,
.lc-page-article__content td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--lc-border);
    text-align: left;
}

.lc-page-article__content th {
    background: var(--lc-surface-raised);
    font-weight: 600;
}

@media (max-width: 767px) {
    .lc-page-article__content {
        padding: 1.5rem;
    }

    .lc-page-article__content h2 {
        font-size: 1.5rem;
    }

    .lc-page-article__content h3 {
        font-size: 1.25rem;
    }
}

/* ========================================
    11. Password Protected Posts
    ======================================== */

.post-password-form {
    margin: 2em 0;
}

.post-password-form p {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post-password-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--lc-font-mono);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--lc-on-surface-variant);
    letter-spacing: 0.04em;
}

.post-password-form label svg {
    flex-shrink: 0;
    opacity: 0.5;
}

.post-password-form input[type="password"],
.post-password-form input[type="text"] {
    flex: 1;
    padding: 0.625rem 0.875rem;
    font-family: var(--lc-font-mono);
    font-size: 0.875rem;
    color: var(--lc-on-surface);
    background: var(--lc-input-bg);
    border: 1px solid var(--lc-input-border);
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    min-width: 0;
}

.post-password-form input[type="password"]::placeholder,
.post-password-form input[type="text"]::placeholder {
    color: var(--lc-placeholder);
}

.post-password-form input[type="password"]:focus,
.post-password-form input[type="text"]:focus {
    background: var(--lc-search-focus-bg);
    border-color: var(--lc-primary);
    box-shadow: 0 0 0 3px var(--lc-primary-glow);
}

.post-password-form input[type="submit"] {
    padding: 0.625rem 1rem;
    font-family: var(--lc-font-mono);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--lc-on-primary);
    background: var(--lc-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.post-password-form input[type="submit"]:hover {
    background: var(--lc-primary-dark);
}

/* ========================================

/* ========================================
   Hero → Navbar Morph Transition
   ======================================== */

/* 变形激活时，禁用 hero 的鼠标 parallax */
#lcHero.is-morphing .lc-hero__inner {
    transform: none !important;
}

/* 变形激活时，hero profile 启用 GPU 加速 */
#lcHero.is-morphing .lc-hero__profile {
    will-change: transform, opacity;
    transform-origin: center center;
}

/* 变形激活时，hero 内容层启用 GPU 加速 */
#lcHero.is-morphing .lc-hero__visual,
#lcHero.is-morphing .lc-hero__typing,
#lcHero.is-morphing .lc-hero__tagline,
#lcHero.is-morphing .lc-hero__stats,
#lcHero.is-morphing .lc-hero__social,
#lcHero.is-morphing .lc-hero__scroll {
    will-change: opacity, transform;
}

/* 背景装饰层：变形期间直接隐藏，避免 will-change 闪烁 */
#lcHero.is-morphing .lc-hero__particles,
#lcHero.is-morphing .lc-hero__noise,
#lcHero.is-morphing .lc-hero__vignette,
#lcHero.is-morph-done .lc-hero__particles,
#lcHero.is-morph-done .lc-hero__noise,
#lcHero.is-morph-done .lc-hero__vignette {
    opacity: 0 !important;
}

/* Navbar profile 初始隐藏（变形完成后显现） */
.lc-hero--navbar .lc-hero__profile.is-morph-hidden {
    opacity: 0;
}

/* 变形完成后清理 will-change */
#lcHero.is-morph-done .lc-hero__profile {
    will-change: auto;
}

#lcHero.is-morph-done .lc-hero__visual,
#lcHero.is-morph-done .lc-hero__typing,
#lcHero.is-morph-done .lc-hero__tagline,
#lcHero.is-morph-done .lc-hero__stats,
#lcHero.is-morph-done .lc-hero__social,
#lcHero.is-morph-done .lc-hero__scroll {
    will-change: auto;
}

/* 移动端简化变形：仅缩放 + 淡出，不追踪位移 */
@media (max-width: 767px) {
    #lcHero.is-morphing .lc-hero__profile {
        transform-origin: top center;
    }
}

/* 首页滚动后恢复玻璃感（has-glass 由 JS 添加） */
.lc-hero--navbar.has-glass {
    background: var(--lc-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Navbar 玻璃态过渡 */
.lc-hero--navbar {
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* ========================================
   Floating Back-to-Top with Progress Ring
   ======================================== */

.lc-back-to-top {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    background: var(--lc-glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.lc-back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.lc-back-to-top__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.lc-back-to-top__ring .lc-back-to-top__track {
    fill: none;
    stroke: var(--lc-border-divider);
    stroke-width: 2;
}

.lc-back-to-top__ring .lc-back-to-top__progress {
    fill: none;
    stroke: var(--lc-primary);
    stroke-width: 2;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.15s linear;
}

.lc-back-to-top__pct {
    position: relative;
    z-index: 1;
    font-family: var(--lc-font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--lc-on-surface);
    line-height: 1;
    transition: opacity 0.2s ease;
}

.lc-back-to-top__icon {
    position: absolute;
    inset: 0;
    margin: auto;
    z-index: 1;
    color: var(--lc-on-surface);
    width: 20px;
    height: 20px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lc-back-to-top:hover .lc-back-to-top__pct {
    opacity: 0;
}

.lc-back-to-top:hover .lc-back-to-top__icon {
    opacity: 1;
}

@media (max-width: 767px) {
    .lc-back-to-top {
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   Section Divider
   ======================================== */

.lc-section-divider {
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--lc-border-divider) 20%,
        var(--lc-border-divider) 80%,
        transparent 100%);
    margin: 0 auto;
    max-width: var(--lc-max);
    padding: 0 var(--lc-space);
}

/* ========================================
   Floating Actions (TOC + Back-to-Top)
   ======================================== */

.lc-floating-actions {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.lc-floating-actions--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lc-floating-toc {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    background: var(--lc-glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--lc-on-surface);
    transition: background 0.2s ease, color 0.2s ease;
}

.lc-floating-comments {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    background: var(--lc-glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--lc-on-surface);
    transition: background 0.2s ease, color 0.2s ease;
}

.lc-floating-toc:hover,
.lc-floating-toc.is-active {
    background: var(--lc-primary);
    color: #fff;
}

.lc-floating-comments:hover {
    background: var(--lc-primary);
    color: #fff;
}

.lc-floating-toc__panel {
    position: fixed;
    bottom: 28px;
    right: 84px;
    z-index: 1000;
    max-width: 300px;
    max-height: 60vh;
    overflow-y: auto;
    background: var(--lc-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--lc-border-divider);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.lc-floating-toc__panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lc-floating-toc__inner .lc-toc__list {
    display: block !important;
    list-style: none;
    margin: 0;
    padding: 0;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

.lc-floating-toc__inner .lc-toc__link {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--lc-on-surface);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.lc-floating-toc__inner .lc-toc__link:hover {
    background: var(--lc-surface-low);
}

.lc-floating-toc__inner .lc-toc__link--active,
.lc-floating-toc__inner .lc-toc__link--active:hover {
    color: var(--lc-primary);
    background: color-mix(in srgb, var(--lc-primary) 14%, transparent);
    box-shadow: inset 3px 0 0 var(--lc-primary);
    font-weight: 600;
}

@media (max-width: 767px) {
    .lc-floating-actions {
        bottom: 20px;
        right: 16px;
    }

    .lc-floating-toc {
        width: 40px;
        height: 40px;
    }

    .lc-floating-comments {
        width: 40px;
        height: 40px;
    }

    .lc-floating-toc__panel {
        bottom: 20px;
        right: 68px;
        max-width: 220px;
    }

    .lc-back-to-top {
        width: 40px;
        height: 40px;
    }
}

/* Footer friend links */
.lc-footer-tech__links {
  --lc-text-caption: 0.75rem;
  margin: 0;
  min-width: 0;
}

.lc-footer-tech__link-list {
  display: grid;
  grid-template-columns: max-content max-content;
  justify-content: start;
  align-items: center;
  column-gap: 1.25rem;
  row-gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lc-footer-tech__link-list li {
  display: flex;
  align-items: center;
}

.lc-footer-tech__link-list a {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 16px;
  color: var(--lc-neutral);
  font-size: var(--lc-text-caption);
  line-height: 1;
  text-decoration: none;
}

.lc-footer-tech__link-list a:hover {
  color: var(--lc-primary);
}

.lc-footer-tech__link-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  object-fit: cover;
}

.lc-footer-tech__link-mark {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--lc-chip-bg);
  color: var(--lc-primary);
  font-size: 0.625rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .lc-footer-tech__link-list {
    justify-content: center;
  }
}

@media (max-width: 374px) {
  .lc-footer-tech__link-list {
    grid-template-columns: max-content;
  }
}

/* --- Projects Archive (Elegant & Minimalist) --- */

.lc-projects-archive {
  max-width: var(--lc-max);
  margin: 0 auto;
  padding: 20px 0;
}

.lc-projects-archive__header {
  margin-bottom: 48px;
  text-align: center;
}

.lc-projects-archive__title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.lc-projects-archive__title {
  font-family: var(--lc-font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--lc-on-surface);
  letter-spacing: -0.02em;
  margin: 0;
}

.lc-projects-archive__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 28px;
  padding: 0 10px;
  background: var(--lc-glass);
  border-radius: 14px;
  font-family: var(--lc-font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--lc-neutral);
}

.lc-projects-archive__subtitle {
  font-size: 1rem;
  color: var(--lc-neutral);
  margin: 0;
}

/* Project List */
.lc-projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* Project Item — 横向紧凑布局 */
.lc-project-item {
  position: relative;
  background: transparent;
  border-radius: 14px;
  border: 1px solid var(--lc-border-divider);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.lc-project-item:hover {
  border-color: var(--lc-primary);
  box-shadow: 0 0 0 1px var(--lc-primary);
  transform: translateY(-3px);
}

.lc-project-item--running:hover {
  border-color: #16a34a;
  box-shadow: 0 0 0 1px #16a34a;
}

.lc-project-item--developing:hover {
  border-color: #ea580c;
  box-shadow: 0 0 0 1px #ea580c;
}

.lc-project-item--paused:hover {
  border-color: #64748b;
  box-shadow: 0 0 0 1px #64748b;
}

.lc-project-item__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
}

.lc-project-item__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 13px;
  overflow: hidden;
  background: var(--lc-surface-low);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lc-project-item__icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.lc-project-item__icon-fallback {
  font-family: var(--lc-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lc-primary);
}

.lc-project-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.lc-project-item__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lc-project-item__name {
  font-family: var(--lc-font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--lc-on-surface);
  line-height: 1.3;
}

.lc-project-item__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.lc-project-item__dot--running {
  background: #16a34a;
}

.lc-project-item__dot--developing {
  background: #ea580c;
}

.lc-project-item__dot--paused,
.lc-project-item__dot--maintenance {
  background: #64748b;
}

.lc-project-item__desc {
  font-size: 0.8125rem;
  color: var(--lc-neutral);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Project Single --- */

.lc-project-card--featured .lc-project-card__logo {
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  border-radius: 20px;
}

.lc-project-card--featured .lc-project-card__heading h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.lc-project-card--featured .lc-project-card__intro {
  -webkit-line-clamp: 4;
  line-clamp: 4;
  font-size: 1rem;
}

.lc-project-card--featured .lc-project-card__coverlink {
  border-radius: 1.5rem;
}

@media (max-width: 768px) {
  .lc-project-card--featured {
    grid-column: 1;
    padding: 20px;
    gap: 16px;
  }

  .lc-project-card--featured .lc-project-card__logo {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border-radius: 16px;
  }

  .lc-project-card--featured .lc-project-card__heading h2 {
    font-size: 1.5rem;
  }
}

.lc-project-card__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.lc-project-card__logo {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  overflow: hidden;
  flex: 0 0 72px;
  box-shadow: 0 2px 6px rgba(30, 40, 60, 0.06), 0 6px 16px rgba(30, 40, 60, 0.05);
  background: var(--lc-elevated);
}

.lc-project-card__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lc-project-card__logo-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: var(--lc-font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg,
      var(--lc-primary),
      var(--lc-primary-soft));
  color: #fff;
}

.lc-project-card__heading h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.lc-project-card__title {
  color: var(--lc-on-surface);
  text-decoration: none;
}

.lc-project-card__intro {
  margin: 0;
  color: var(--lc-meta);
  font-size: 0.92rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lc-chips--stack {
  margin-bottom: 0;
}

.lc-project-platforms {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lc-platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.34rem 0.7rem 0.34rem 0.62rem;
  border-radius: 999px;
  font-family: var(--lc-font-mono);
  font-size: 0.76rem;
  color: var(--lc-on-surface);
  background: var(--lc-chip-bg);
  border: 1px solid var(--lc-input-border);
  box-shadow: var(--lc-inner-light);
}

.lc-platform-chip__icon {
  display: inline-flex;
  width: 0.95rem;
  height: 0.95rem;
}

.lc-platform-chip__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lc-platform-chip__label {
  line-height: 1;
}

.lc-platform-chip--android {
  color: #2b7a41;
}

.lc-platform-chip--ios,
.lc-platform-chip--macos {
  color: #5d6372;
}

.lc-platform-chip--web {
  color: #3650c7;
}

.lc-platform-chip--linux {
  color: #7a5a17;
}

.lc-platform-chip--windows {
  color: #2b67b8;
}

.lc-project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: auto;
}

.lc-project-card__coverlink {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.lc-project-card__coverlink:focus-visible {
  outline: 2px solid var(--lc-focus-ring);
  outline-offset: 2px;
}

.lc-project-card:hover {
  box-shadow:
    0 4px 14px rgba(30, 40, 60, 0.07),
    0 12px 28px rgba(30, 40, 60, 0.08),
    var(--lc-inner-light);
  transform: none;
}

.lc-project-single {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ── Elegant Vertical Header ── */
.lc-project-single__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding: 16px 0 8px;
}

.lc-project-single__logo-wrap {
  flex: 0 0 auto;
}

.lc-project-single__logo,
.lc-project-single__logo-fallback {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 28px;
  box-shadow: var(--lc-shadow-lg), var(--lc-inner-light);
  background: var(--lc-elevated);
}

.lc-project-single__logo {
  object-fit: contain;
}

.lc-project-single__logo-fallback {
  display: grid;
  place-items: center;
  font-family: var(--lc-font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(120deg,
      var(--lc-primary),
      var(--lc-primary-soft));
}

.lc-project-single__title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

.lc-project-single__intro {
  margin: -12px 0 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--lc-meta);
  max-width: 600px;
}

.lc-project-single__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.lc-project-single__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 10px;
  font-family: var(--lc-font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--lc-primary);
  border: 1px solid var(--lc-input-border);
  background: transparent;
  transition: all 0.2s ease;
}

.lc-project-single__cta:hover {
  background: var(--lc-chip-bg);
  border-color: var(--lc-primary);
}

.lc-project-single__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 10px;
  font-family: var(--lc-font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--lc-neutral);
  transition: all 0.2s ease;
}

.lc-project-single__back:hover {
  color: var(--lc-primary);
}

.lc-project-single__divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      var(--lc-border-divider) 20%,
      var(--lc-border-divider) 80%,
      transparent);
  margin-top: 8px;
}

.lc-project-single__section {
  padding-top: 32px;
  border-top: 1px solid var(--lc-border-divider);
  position: relative;
  padding-left: 20px;
}

.lc-project-single__section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 32px;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--lc-primary), var(--lc-primary-soft));
  border-radius: 2px;
  opacity: 0.6;
}

.lc-project-single__section:first-of-type {
  border-top: none;
  padding-top: 8px;
}

.lc-project-single__section:first-of-type::before {
  top: 8px;
}

.lc-project-single__label {
  margin: 0 0 12px;
  font-family: var(--lc-font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lc-meta);
}

.lc-project-status {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-family: var(--lc-font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.lc-project-status--badge {
  position: relative;
  top: auto;
  right: auto;
  z-index: auto;
  border-radius: 999px;
  min-width: auto;
  padding: 0.22rem 0.55rem;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  order: -1;
  margin-bottom: -16px;
}

.lc-project-status--running {
  color: #0f7a55;
  background: rgba(58, 191, 125, 0.18);
  border-color: rgba(58, 191, 125, 0.3);
}

.lc-project-status--paused {
  color: #9b6a07;
  background: rgba(240, 185, 67, 0.2);
  border-color: rgba(240, 185, 67, 0.35);
}

.lc-project-status--developing {
  color: var(--lc-primary);
  background: rgba(74, 108, 244, 0.15);
  border-color: rgba(74, 108, 244, 0.25);
}

.lc-project-gallery {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 12px;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.lc-project-gallery__item {
  display: block;
  flex: none;
  height: clamp(320px, 52vw, 560px);
  width: auto;
  min-width: 0;
  max-width: 90vw;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--lc-shadow), var(--lc-inner-light);
  scroll-snap-align: start;
}

.lc-project-gallery__item img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.06);
}

.lc-project-videos {
  display: grid;
  gap: 14px;
}

.lc-project-videos__item {
  padding: 10px;
  border-radius: 18px;
  background: var(--lc-elevated);
  border: 1px solid var(--lc-input-border);
  box-shadow: var(--lc-inner-light);
  overflow: hidden;
}

.lc-project-videos__player {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: visible;
}

.lc-project-videos__player .wp-video {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
}

.lc-project-videos__player .wp-video-shortcode {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
}



.lc-project-videos__player iframe,
.lc-project-videos__player video {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: clamp(220px, 46vw, 620px);
  border: 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
}

.lc-project-videos__player .wp-video-shortcode {
  aspect-ratio: 16 / 9;
  height: auto !important;
}

/* Mixed feed (home / archive / search): align with article list divider rows */
.lc-feed .lc-project-card.lc-glass {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-radius: 0;
  border-bottom: 1px solid var(--lc-border-divider);
  padding: 12px 0;
  transition: background-color 0.2s ease;
}

.lc-feed .lc-project-card.lc-glass:last-child {
  border-bottom: none;
}

.lc-feed .lc-project-card:hover {
  box-shadow: none;
  transform: none;
  background: var(--lc-list-row-hover);
}

.lc-feed .lc-project-card {
  overflow: visible;
}

.lc-feed .lc-project-card__logo {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 14px;
  box-shadow: var(--lc-inner-light);
}

.lc-feed .lc-project-card__head {
  align-items: center;
  gap: 12px;
}

.lc-feed .lc-project-card__heading h2 {
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.lc-feed .lc-project-card__intro {
  font-size: 0.8125rem;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Search results: keep mixed order but render Project as full glass card (match /projects). */
body.search .lc-feed .lc-project-card.lc-glass {
  background: var(--lc-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--lc-shadow), var(--lc-inner-light);
  border-radius: var(--lc-radius-xl);
  border-bottom: none;
  padding: 24px;
  transition:
    color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

body.search .lc-feed .lc-project-card.lc-glass:last-child {
  border-bottom: none;
}

body.search .lc-feed .lc-project-card:hover {
  background: var(--lc-glass);
  box-shadow:
    0 4px 14px rgba(30, 40, 60, 0.07),
    0 12px 28px rgba(30, 40, 60, 0.08),
    var(--lc-inner-light);
}

body.search .lc-feed .lc-project-card {
  overflow: hidden;
}

body.search .lc-feed .lc-project-card__logo {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 18px;
  box-shadow: var(--lc-shadow), var(--lc-inner-light);
}

body.search .lc-feed .lc-project-card__head {
  align-items: flex-start;
  gap: 14px;
}

body.search .lc-feed .lc-project-card__heading h2 {
  font-size: 1.35rem;
}

body.search .lc-feed .lc-project-card__intro {
  font-size: 0.92rem;
  line-height: 1.55;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

/* ── Mobile Responsive for Project Header ── */
@media (max-width: 640px) {
  .lc-project-single__head {
    gap: 20px;
    padding: 12px 0 4px;
  }

  .lc-project-single__logo,
  .lc-project-single__logo-fallback {
    width: 88px;
    height: 88px;
    border-radius: 22px;
  }

  .lc-project-single__intro {
    font-size: 0.9375rem;
    line-height: 1.6;
    padding: 0 8px;
  }

  .lc-project-single__actions {
    flex-direction: column;
    gap: 8px;
  }

  .lc-project-single__cta,
  .lc-project-single__back {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* ========================================
   7. Enhanced Project Single Page Styles
   ======================================== */

/* Breadcrumbs */
.lc-breadcrumbs {
  padding: 16px var(--lc-space);
  margin-bottom: 8px;
}

.lc-breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  color: var(--lc-meta);
}

.lc-breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lc-breadcrumbs__item:not(:last-child)::after {
  content: "/";
  opacity: 0.4;
}

.lc-breadcrumbs__link {
  color: var(--lc-meta);
  text-decoration: none;
  transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.lc-breadcrumbs__link:hover {
  color: var(--lc-primary);
}

.lc-breadcrumbs__item--current {
  color: var(--lc-primary);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

/* Hero Section - New Layout */
.lc-project-single__hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 0 16px;
}

.lc-project-single__hero-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.lc-project-single__header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 680px;
}

.lc-project-single__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.lc-project-single__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--lc-meta);
}

.lc-project-single__date svg {
  opacity: 0.6;
}

.lc-project-single__date-modified {
  opacity: 0.7;
}

/* Status badge with dot */
.lc-project-status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 4px;
}

.lc-project-status--badge .lc-project-status__dot {
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* Logo fallback with gradient */
.lc-project-single__logo-letter {
  font-family: var(--lc-font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Button Styles */
.lc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-family: var(--lc-font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.lc-btn--primary {
  background: var(--lc-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.25);
}

.lc-btn--primary:hover {
  background: var(--lc-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 122, 255, 0.35);
  color: var(--lc-primary);
}

.lc-btn--secondary {
  background: var(--lc-surface);
  color: var(--lc-neutral);
  border: 1px solid var(--lc-input-border);
}

.lc-btn--secondary:hover {
  background: var(--lc-elevated);
  border-color: var(--lc-primary);
  color: var(--lc-primary);
}

/* Info Grid - Platform & Tech Stack */
.lc-project-single__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--lc-border-divider);
}

.lc-project-single__info-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lc-project-single__info-block .lc-project-single__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.lc-project-single__info-block .lc-project-single__label svg {
  opacity: 0.6;
}

/* Section Titles with Icons */
.lc-project-single__section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--lc-text);
}

.lc-project-single__section-title svg {
  color: var(--lc-primary);
}

.lc-project-single__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  background: var(--lc-chip-bg);
  color: var(--lc-meta);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 12px;
  margin-left: 4px;
}

/* Gallery Zoom Icon */
.lc-project-gallery__zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  color: #fff;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.lc-project-gallery__item:hover .lc-project-gallery__zoom {
  opacity: 1;
}

.lc-project-gallery__item {
  position: relative;
}

/* Lightbox close button improvement */
.lc-lightbox__close svg {
  width: 24px;
  height: 24px;
}

/* Responsive Enhancements */
@media (min-width: 768px) {
  .lc-project-single__hero-main {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 32px;
  }

  .lc-project-single__header-content {
    align-items: flex-start;
    flex: 1;
  }

  .lc-project-single__meta-row {
    justify-content: flex-start;
  }

  .lc-project-single__actions {
    justify-content: flex-start;
  }

  .lc-breadcrumbs__item--current {
    max-width: 300px;
  }
}

@media (max-width: 640px) {
  .lc-breadcrumbs {
    padding: 12px var(--lc-space);
  }

  .lc-breadcrumbs__item--current {
    max-width: 120px;
  }

  .lc-project-single__hero {
    padding: 16px 0 12px;
  }

  .lc-project-single__info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .lc-btn {
    width: 100%;
    max-width: 320px;
  }

  .lc-project-single__actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .lc-project-single__section-title {
    font-size: 1rem;
  }
}

/* ========================================
   8. Project Tech Stack - Enhanced Styles
   ======================================== */

/* Project page tech stack container */
.lc-project-single__info-block .lc-chips--stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Project page tech chip */
.lc-project-single__info-block .lc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  border-radius: 10px;
  font-family: var(--lc-font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--lc-on-surface);
  background: var(--lc-surface);
  border: 1px solid var(--lc-input-border);
  box-shadow: var(--lc-inner-light), 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  cursor: default;
}

.lc-project-single__info-block .lc-chip:hover {
  background: var(--lc-elevated);
  border-color: var(--lc-primary);
  box-shadow: 0 2px 8px rgba(74, 108, 244, 0.12);
  transform: translateY(-1px);
}

/* Tech icon container */
.lc-project-single__info-block .lc-chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.lc-project-single__info-block .lc-chip__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Tech chip without icon - add subtle bullet */
.lc-project-single__info-block .lc-chip:not(:has(.lc-chip__icon))::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lc-primary);
  opacity: 0.5;
  flex-shrink: 0;
}

/* Tech stack tooltip style (optional enhancement) */
.lc-project-single__info-block .lc-chip {
  position: relative;
}

/* Grid layout for tech stack when there are many items */
@media (min-width: 768px) {
  .lc-project-single__info-block .lc-chips--stack {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
  }

  .lc-project-single__info-block .lc-chip {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile: keep flex layout */
@media (max-width: 767px) {
  .lc-project-single__info-block .lc-chips--stack {
    display: flex;
  }

  .lc-project-single__info-block .lc-chip {
    flex: 0 0 auto;
  }
}

/* Dark mode adjustments */
html[data-lc-color-scheme="dark"] .lc-project-item__icon {
  background: #f3f5f7;
}

html[data-lc-color-scheme="dark"] .lc-project-single__info-block .lc-chip {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-lc-color-scheme="dark"] .lc-project-single__info-block .lc-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--lc-primary);
}

/* ========================================
   Tech Style Project Single Page
   ======================================== */

/* Light mode (default) - use standard theme colors */
.lc-project-single-tech {
  position: relative;
  color: var(--lc-on-surface);
  overflow-x: hidden;
}

.lc-project-single-tech__container {
  position: relative;
  z-index: 1;
  max-width: var(--lc-max);
  margin: 0 auto;
  padding: 2rem 0;
}

/* Hero Section */
.lc-project-single-tech__hero {
  padding: 3rem 0;
  text-align: center;
}

.lc-project-single-tech__hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Logo - Light Mode */
.lc-project-single-tech__logo-wrap {
  position: relative;
  width: 140px;
  height: 140px;
}

.lc-project-single-tech__logo-glow {
  display: none;
}

.lc-project-single-tech__logo {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--lc-border-divider);
  box-shadow: var(--lc-shadow-lg);
}

.lc-project-single-tech__logo-fallback {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 700;
  background: var(--lc-glass);
  border-radius: 50%;
  border: 2px solid var(--lc-primary);
  color: var(--lc-primary);
}

/* Logo - Dark Mode */
html[data-lc-color-scheme="dark"] .lc-project-single-tech__logo-glow {
  display: block;
  position: absolute;
  inset: -10px;
  background: linear-gradient(135deg, rgba(74, 108, 244, 0.4), rgba(6, 182, 212, 0.4));
  border-radius: 50%;
  filter: blur(20px);
  animation: logo-glow 3s ease-in-out infinite;
}

@keyframes logo-glow {
  0%, 100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

html[data-lc-color-scheme="dark"] .lc-project-single-tech__logo {
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 40px rgba(74, 108, 244, 0.3);
}

html[data-lc-color-scheme="dark"] .lc-project-single-tech__logo-fallback {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 2px solid rgba(74, 108, 244, 0.3);
  color: #4a6cf4;
}

/* Header Main */
.lc-project-single-tech__header-main {
  max-width: 600px;
}

.lc-project-single-tech__meta-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Status Badge - Light Mode */
.lc-project-status-tech {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--lc-chip-bg);
  border: 1px solid var(--lc-input-border);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--lc-primary);
}

.lc-project-status-tech__pulse {
  width: 8px;
  height: 8px;
  background: var(--lc-primary);
  border-radius: 50%;
  animation: project-status-pulse 2s ease-in-out infinite;
}

/* Status Badge Colors - Running (Green) */
.lc-project-status-tech--running {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #16a34a;
}

.lc-project-status-tech--running .lc-project-status-tech__pulse {
  background: #16a34a;
}

/* Status Badge Colors - Developing (Orange) */
.lc-project-status-tech--developing {
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.3);
  color: #ea580c;
}

.lc-project-status-tech--developing .lc-project-status-tech__pulse {
  background: #ea580c;
}

/* Status Badge Colors - Paused (Gray) */
.lc-project-status-tech--paused {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.3);
  color: #64748b;
}

.lc-project-status-tech--paused .lc-project-status-tech__pulse {
  background: #64748b;
}

@keyframes project-status-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* Status Badge - Dark Mode */
html[data-lc-color-scheme="dark"] .lc-project-status-tech {
  background: rgba(74, 108, 244, 0.1);
  border-color: rgba(74, 108, 244, 0.3);
  color: #4a6cf4;
}

html[data-lc-color-scheme="dark"] .lc-project-status-tech__pulse {
  background: #4a6cf4;
}

/* Dark Mode - Running (Green) */
html[data-lc-color-scheme="dark"] .lc-project-status-tech--running {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

html[data-lc-color-scheme="dark"] .lc-project-status-tech--running .lc-project-status-tech__pulse {
  background: #4ade80;
}

/* Dark Mode - Developing (Orange) */
html[data-lc-color-scheme="dark"] .lc-project-status-tech--developing {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.4);
  color: #fb923c;
}

html[data-lc-color-scheme="dark"] .lc-project-status-tech--developing .lc-project-status-tech__pulse {
  background: #fb923c;
}

/* Dark Mode - Paused (Gray) */
html[data-lc-color-scheme="dark"] .lc-project-status-tech--paused {
  background: rgba(148, 163, 184, 0.15);
  border-color: rgba(148, 163, 184, 0.4);
  color: #94a3b8;
}

html[data-lc-color-scheme="dark"] .lc-project-status-tech--paused .lc-project-status-tech__pulse {
  background: #94a3b8;
}

/* Title & Intro - Light Mode */
.lc-project-single-tech__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--lc-on-surface);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  font-family: var(--lc-font-display);
  line-height: 1.2;
}

.lc-project-single-tech__intro {
  font-size: 1.0625rem;
  color: var(--lc-neutral);
  margin: 0 0 1.5rem;
  line-height: 1.6;
  max-width: 600px;
}

/* Title & Intro - Dark Mode */
html[data-lc-color-scheme="dark"] .lc-project-single-tech__title {
  color: var(--lc-on-surface);
}

html[data-lc-color-scheme="dark"] .lc-project-single-tech__intro {
  color: #94a3b8;
}

.lc-project-single-tech__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Tech Buttons - Light Mode */
.lc-btn-tech {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.lc-btn-tech--primary {
  background: var(--lc-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(74, 108, 244, 0.3);
}

.lc-btn-tech--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(74, 108, 244, 0.4);
}

.lc-btn-tech--secondary {
  background: var(--lc-surface);
  color: var(--lc-neutral);
  border-color: var(--lc-input-border);
}

.lc-btn-tech--secondary:hover {
  background: var(--lc-elevated);
  color: var(--lc-on-surface);
}

/* Tech Buttons - Dark Mode */
html[data-lc-color-scheme="dark"] .lc-btn-tech--primary {
  background: linear-gradient(135deg, #4a6cf4, #06b6d4);
  box-shadow: 0 4px 20px rgba(74, 108, 244, 0.4);
}

html[data-lc-color-scheme="dark"] .lc-btn-tech--primary:hover {
  box-shadow: 0 6px 30px rgba(74, 108, 244, 0.5);
}

html[data-lc-color-scheme="dark"] .lc-btn-tech--secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-lc-color-scheme="dark"] .lc-btn-tech--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Info Section */
.lc-project-single-tech__info-section {
  padding: 2rem 0;
}

.lc-project-single-tech__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.lc-project-single-tech__info-card {
  background: transparent;
  border: 1px solid var(--lc-border-divider);
  border-radius: 14px;
  padding: 1.5rem;
}

.lc-project-single-tech__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--lc-font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lc-neutral);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
}

/* Platform Chips Tech */
.lc-project-platforms-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lc-platform-chip-tech {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: var(--lc-glass);
  border: 1px solid var(--lc-input-border);
  border-radius: 0.5rem;
  font-size: 0.78rem;
  color: var(--lc-on-surface);
  transition: all 0.2s ease;
  font-family: var(--lc-font-mono);
}

.lc-platform-chip-tech:hover {
  background: var(--lc-chip-bg);
  border-color: var(--lc-primary);
}

/* Platform Chip - Dark Mode */
html[data-lc-color-scheme="dark"] .lc-platform-chip-tech {
  background: var(--lc-glass);
  border-color: var(--lc-input-border);
  color: var(--lc-on-surface);
}

html[data-lc-color-scheme="dark"] .lc-platform-chip-tech:hover {
  background: var(--lc-chip-bg);
  border-color: var(--lc-primary);
}

.lc-platform-chip-tech__icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lc-platform-chip-tech__icon svg {
  width: 100%;
  height: 100%;
}

/* Content Section - Light Mode */
.lc-project-single-tech__content-section {
  padding: 2rem 0;
}

.lc-project-single-tech__content-card {
  background: transparent;
  border: 1px solid var(--lc-border-divider);
  border-radius: 14px;
  padding: 2rem;
  line-height: 1.8;
  color: var(--lc-on-surface);
}

.lc-project-single-tech__content-card h2,
.lc-project-single-tech__content-card h3 {
  color: var(--lc-on-surface);
  margin-top: 1.5rem;
}

.lc-project-single-tech__content-card p {
  margin-bottom: 1rem;
}

/* Content Section - Dark Mode */
html[data-lc-color-scheme="dark"] .lc-project-single-tech__content-card {
  background: transparent;
  border-color: var(--lc-border-divider);
}

/* Gallery Section - Light Mode */
.lc-project-single-tech__gallery-section,
.lc-project-single-tech__videos-section {
  padding: 2rem 0;
}

.lc-project-single-tech__section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--lc-on-surface);
  margin: 0 0 1.5rem;
}

.lc-project-single-tech__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 0.5rem;
  background: var(--lc-chip-bg);
  border-radius: 1rem;
  font-size: 0.875rem;
  color: var(--lc-primary);
  margin-left: 0.5rem;
}

.lc-project-gallery-tech {
  column-count: 3;
  column-gap: 1rem;
}

.lc-project-gallery-tech__item {
  position: relative;
  display: block;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--lc-border-divider);
  transition: all 0.3s ease;
  break-inside: avoid;
  margin-bottom: 1rem;
}

.lc-project-gallery-tech__item:hover {
  border-color: var(--lc-primary);
  box-shadow: var(--lc-shadow);
}

.lc-project-gallery-tech__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.lc-project-gallery-tech__item:hover img {
  transform: scale(1.04);
}

.lc-project-gallery-tech__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lc-project-gallery-tech__item:hover::after {
  opacity: 1;
}

/* Gallery Section - Dark Mode */
html[data-lc-color-scheme="dark"] .lc-project-single-tech__section-title {
  color: #fff;
}

html[data-lc-color-scheme="dark"] .lc-project-single-tech__count {
  background: rgba(74, 108, 244, 0.2);
  color: #4a6cf4;
}

html[data-lc-color-scheme="dark"] .lc-project-gallery-tech__item {
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-lc-color-scheme="dark"] .lc-project-gallery-tech__item:hover {
  border-color: rgba(74, 108, 244, 0.4);
  box-shadow: 0 0 30px rgba(74, 108, 244, 0.2);
}

/* ========================================
   Device Mockup Styles
   ======================================== */

.lc-project-videos-tech {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.lc-project-video-tech {
  display: flex;
  justify-content: center;
}

/* Device Mockup Base */
.lc-device-mockup {
  position: relative;
  perspective: 1000px;
  transition: transform 0.3s ease;
}

.lc-device-mockup:hover {
  transform: translateY(-5px);
}

/* Phone Mockup */
.lc-device-mockup--phone {
  width: 280px;
}

.lc-device-mockup--phone .lc-device-mockup__frame {
  position: relative;
  background: linear-gradient(145deg, #2a2a3a, #1a1a2e);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.lc-device-mockup__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #0a0a0f;
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.lc-device-mockup__screen {
  position: relative;
  background: #000;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: var(--lc-screen-ratio, 9 / 16);
}

.lc-device-mockup__screen iframe,
.lc-device-mockup__screen video {
  width: 100%;
  height: 100%;
  border: none;
}

.lc-device-mockup__home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  z-index: 10;
}

/* Laptop Mockup */
.lc-device-mockup--laptop {
  width: 100%;
  max-width: var(--lc-max);
}

.lc-device-mockup--laptop .lc-device-mockup__frame {
  position: relative;
  background: linear-gradient(145deg, #3a3a4a, #2a2a3a);
  border-radius: 12px;
  padding: 8px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.lc-device-mockup--laptop .lc-device-mockup__camera {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #1a1a2e;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.lc-device-mockup--laptop .lc-device-mockup__screen {
  border-radius: 8px;
  aspect-ratio: 16 / 9;
}

/* Responsive */
@media (max-width: 768px) {
  .lc-project-single-tech__container {
    padding: 1rem 0;
  }

  .lc-project-single-tech__hero {
    padding: 2rem 0;
  }

  .lc-project-single-tech__logo-wrap {
    width: 100px;
    height: 100px;
  }

  .lc-project-single-tech__info-grid {
    grid-template-columns: 1fr;
  }

  .lc-project-gallery-tech {
    column-count: 2;
  }

  .lc-device-mockup--phone {
    width: 220px;
  }

  .lc-device-mockup--phone .lc-device-mockup__frame {
    border-radius: 30px;
    padding: 8px;
  }

  .lc-device-mockup--phone .lc-device-mockup__screen {
    border-radius: 24px;
  }

  .lc-device-mockup__notch {
    width: 80px;
    height: 20px;
    border-radius: 0 0 12px 12px;
  }
}

/* ========================================
   Native Video Player - Clean Default Style
   ======================================== */

/* Base native video styles - use browser defaults */
.lc-native-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  background: #000;
  display: block;
}

/* Device-specific adjustments */
.lc-device-mockup--phone .lc-native-video {
  border-radius: 24px;
}

.lc-device-mockup--laptop .lc-native-video {
  border-radius: 2px;
}

/* Make sure video iframe (YouTube/Vimeo) fits properly */
.lc-device-mockup__screen iframe {
  width: 100% !important;
  height: 100% !important;
  border: none;
  display: block;
}

/* Info Card - Light Mode */

/* --- Right sidebar: glass islands, slightly softer tier than main column --- */
.lc-widgets .lc-island {
  background: var(--lc-surface-panel-aside);
  backdrop-filter: blur(var(--lc-blur-widget, 10px));
  -webkit-backdrop-filter: blur(var(--lc-blur-widget, 10px));
  border: 1px solid var(--lc-border-divider);
  box-shadow: var(--lc-inner-light);
  padding: 1rem 1rem;
  border-radius: 1.25rem;
}

/* 确保小工具内所有元素都有平滑过渡 */
.lc-widgets .lc-island *,
.lc-widgets .lc-island *::before,
.lc-widgets .lc-island *::after {
  transition-property: background-color, border-color, color, fill, stroke,
                       box-shadow, text-shadow, opacity;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.lc-widgets .lc-island .widget-title {
  font-family: var(--lc-font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lc-meta);
  margin-bottom: 0.75rem;
}

/* --- Widgets inner lists --- */

.lc-island--widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lc-island--widget a {
  color: var(--lc-primary);
  text-decoration: none;
  font-weight: 500;
}

.lc-island--widget a:hover {
  text-decoration: underline;
}

/* --- Tag Cloud（经典小工具 / 区块）--- */

.lc-widgets .tagcloud,
.lc-widgets .wp-block-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px 10px;
  margin: 0;
  line-height: 1.35;
}

.lc-widgets .tagcloud a,
.lc-widgets .wp-block-tag-cloud a {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  font-family: var(--lc-font-mono);
  font-weight: 500;
  text-decoration: none;
  color: var(--lc-meta);
  background: transparent;
  border: 1px solid var(--lc-input-border);
  box-shadow: none;
  max-width: 100%;
  font-size: 0.76rem;
}

.lc-widgets .tagcloud a:hover,
.lc-widgets .tagcloud a:focus-visible,
.lc-widgets .wp-block-tag-cloud a:hover,
.lc-widgets .wp-block-tag-cloud a:focus-visible {
  color: var(--lc-primary);
  background: var(--lc-chip-bg);
  border-color: var(--lc-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 108, 244, 0.12), 0 4px 12px rgba(74, 108, 244, 0.08);
}

/* 经典标签云字号由插件生成：用 clamp 统一视觉权重 */
.lc-widgets .tagcloud a[style*="font-size"],
.lc-widgets .wp-block-tag-cloud a[style*="font-size"] {
  font-size: clamp(0.68rem, 0.65rem + 0.2vw, 0.8rem) !important;
}

/* Glow effect for tag cloud container on hover */
.lc-widgets .lc-tagcloud:has(.lc-tagcloud__link:hover) {
  gap: 8px 12px;
}

/* --- WP Statistics 小工具 --- */

.lc-island.widget_wp_statistics_widget,
.lc-island[class*="wp_statistics"] {
  font-size: 0.875rem;
  line-height: 1.5;
}

.lc-island.widget_wp_statistics_widget table,
.lc-island[class*="wp_statistics"] table {
  width: 100%;
  border: 0;
  border-collapse: separate;
  border-spacing: 0 12px;
  margin: 0;
}

.lc-island.widget_wp_statistics_widget tr,
.lc-island[class*="wp_statistics"] tr {
  vertical-align: top;
}

.lc-island.widget_wp_statistics_widget td,
.lc-island[class*="wp_statistics"] td {
  padding: 0;
  font-family: var(--lc-font-mono);
  font-size: 0.78rem;
  color: var(--lc-neutral);
}

.lc-island.widget_wp_statistics_widget td:last-child:not(:only-child),
.lc-island[class*="wp_statistics"] td:last-child:not(:only-child) {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--lc-meta);
}

.lc-island.widget_wp_statistics_widget ul,
.lc-island.widget_wp_statistics_widget ol,
.lc-island[class*="wp_statistics"] ul,
.lc-island[class*="wp_statistics"] ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lc-island.widget_wp_statistics_widget li,
.lc-island[class*="wp_statistics"] li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-family: var(--lc-font-mono);
  font-size: 0.78rem;
  color: var(--lc-neutral);
}

.lc-island.widget_wp_statistics_widget li strong,
.lc-island[class*="wp_statistics"] li strong {
  font-family: var(--lc-font-display);
  font-weight: 600;
  font-size: 0.92em;
  color: var(--lc-on-surface);
  letter-spacing: -0.02em;
}

.lc-island.widget_wp_statistics_widget a,
.lc-island[class*="wp_statistics"] a {
  color: var(--lc-primary);
  text-decoration: none;
  font-weight: 500;
}

.lc-island.widget_wp_statistics_widget a:hover,
.lc-island[class*="wp_statistics"] a:hover {
  text-decoration: underline;
}

.lc-island.widget_wp_statistics_widget p,
.lc-island[class*="wp_statistics"] p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-family: var(--lc-font-mono);
  font-size: 0.78rem;
  color: var(--lc-neutral);
}

.lc-island.widget_wp_statistics_widget p+p,
.lc-island[class*="wp_statistics"] p+p {
  margin-top: 12px;
}

/* --- Cyber Crayon · WP Statistics 小工具（API 自绘） --- */

.widget_cyber_crayon_wp_statistics .lc-wp-stats {
  margin: 0;
}

.widget_cyber_crayon_wp_statistics .lc-wp-stats--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.widget_cyber_crayon_wp_statistics .lc-wp-stats--grid.lc-wp-stats--single {
  grid-template-columns: 1fr;
}

.widget_cyber_crayon_wp_statistics .lc-wp-stats__tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 0.65rem;
  border-radius: 12px;
  background: var(--lc-elevated);
  border: 1px solid var(--lc-border-divider);
  box-shadow: none;
  min-width: 0;
  transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.widget_cyber_crayon_wp_statistics .lc-wp-stats__tile:hover {
  background: var(--lc-chip-bg);
  box-shadow: 0 2px 12px rgba(30, 40, 60, 0.08), 0 4px 20px rgba(30, 40, 60, 0.04);
}

.widget_cyber_crayon_wp_statistics .lc-wp-stats__value {
  font-family: var(--lc-font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: clamp(1.15rem, 3vw, 1.25rem);
  font-variant-numeric: tabular-nums;
  color: var(--lc-on-surface);
}

.widget_cyber_crayon_wp_statistics .lc-wp-stats__label {
  font-family: var(--lc-font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lc-meta);
  line-height: 1.35;
}

@media (prefers-reduced-motion: reduce) {
  .widget_cyber_crayon_wp_statistics .lc-wp-stats__tile {
    transition: none;
  }

  .widget_cyber_crayon_wp_statistics .lc-wp-stats__tile:hover {
    transform: none;
  }
}

/* ── Statistics Icon ── */

.widget_cyber_crayon_wp_statistics .lc-wp-stats__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lc-primary-soft);
  opacity: 0.6;
  margin-bottom: 0.25rem;
  transition: opacity 0.2s ease, color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.widget_cyber_crayon_wp_statistics .lc-wp-stats__tile:hover .lc-wp-stats__icon {
  opacity: 1;
  color: var(--lc-primary);
}

/* --- Cyber Crayon · Site uptime 小工具（一行主文案 + Since 元信息）--- */

.widget_cyber_crayon_site_uptime .lc-site-uptime {
  margin: 0;
}

.widget_cyber_crayon_site_uptime .lc-site-uptime__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15em 0.35em;
  margin: 0;
  font-family: var(--lc-font-body);
  font-size: 0.9rem;
}

/* Live pulsing indicator */
.widget_cyber_crayon_site_uptime .lc-site-uptime__live {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lc-success, #22c55e);
  margin-right: 6px;
  position: relative;
  top: -1px;
  animation: lc-live-pulse 2.4s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
}

@keyframes lc-live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.widget_cyber_crayon_site_uptime .lc-site-uptime__line--future {
  color: var(--lc-meta);
  font-size: 0.875rem;
}

.widget_cyber_crayon_site_uptime .lc-site-uptime__prefix {
  color: var(--lc-meta);
  font-weight: 500;
}

.widget_cyber_crayon_site_uptime .lc-site-uptime__dur {
  display: inline;
  font-variant-numeric: tabular-nums;
  white-space: normal;
}

.widget_cyber_crayon_site_uptime .lc-site-uptime__part {
  display: inline;
  white-space: nowrap;
}

.widget_cyber_crayon_site_uptime .lc-site-uptime__value {
  font-family: var(--lc-font-mono);
  font-weight: 600;
  font-size: 0.9em;
  color: var(--lc-on-surface);
  font-variant-numeric: tabular-nums;
}

.widget_cyber_crayon_site_uptime .lc-site-uptime__suffix {
  font-family: var(--lc-font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lc-meta);
}

.widget_cyber_crayon_site_uptime .lc-site-uptime__meta {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--lc-border-divider);
}

.widget_cyber_crayon_site_uptime .lc-site-uptime__since {
  margin: 0;
  font-family: var(--lc-font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.45;
  color: var(--lc-meta);
}

.widget_cyber_crayon_site_uptime .lc-site-uptime__since time {
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

.widget_cyber_crayon_site_uptime .lc-site-uptime__since-label {
  margin-right: 0.35em;
  opacity: 0.92;
}

/* --- Cyber Crayon · Contact links 小工具 --- */

.widget_cyber_crayon_contact_links .lc-contact-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.widget_cyber_crayon_contact_links .lc-contact-links__item {
  margin: 0;
}

.widget_cyber_crayon_contact_links .lc-contact-links__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.55rem 0.65rem;
  border-radius: 0.85rem;
  text-decoration: none;
  color: var(--lc-neutral);
  background: transparent;
  border: 1px solid var(--lc-input-border);
  box-shadow: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    color 0.2s ease;
}

.widget_cyber_crayon_contact_links .lc-contact-links__link:hover,
.widget_cyber_crayon_contact_links .lc-contact-links__link:focus-visible {
  border-color: var(--lc-primary-soft);
  box-shadow: 0 2px 10px rgba(74, 108, 244, 0.08), 0 4px 16px rgba(74, 108, 244, 0.04);
  transform: translateY(-1px);
  color: var(--lc-primary);
  outline: none;
}

.widget_cyber_crayon_contact_links .lc-contact-links__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: var(--lc-meta);
  opacity: 0.85;
  transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.widget_cyber_crayon_contact_links .lc-contact-links__link:hover .lc-contact-links__icon {
  color: var(--lc-primary);
  opacity: 1;
}

.widget_cyber_crayon_contact_links .lc-contact-links__text {
  font-family: var(--lc-font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  .widget_cyber_crayon_contact_links .lc-contact-links__link {
    transition: none;
  }

  .widget_cyber_crayon_contact_links .lc-contact-links__link:hover,
  .widget_cyber_crayon_contact_links .lc-contact-links__link:focus-visible {
    transform: none;
  }
}

/* --- Blocks alignment --- */

.lc-content .alignwide,
.lc-content .alignfull {
  margin-left: 0;
  margin-right: 0;
}

/* --- Accessibility --- */

/* Skip to main content link for keyboard navigation */
.lc-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  left: -9999px;
}

.lc-skip-link:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--lc-surface);
  color: var(--lc-primary);
  z-index: 100000;
  box-shadow: var(--lc-shadow);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
}

.skip-link.screen-reader-text {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link.screen-reader-text:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: #fff;
  color: var(--lc-primary);
  z-index: 100000;
  box-shadow: var(--lc-shadow);
  border-radius: 8px;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  word-wrap: normal !important;
}

/* --- Mobile --- */

@media (max-width: 680px) {
  .lc-project-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1180px) {
  .lc-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.has-right-sidebar .lc-widgets__inner {
    position: sticky;
  }
}

@media (max-width: 900px) {

  .lc-root {
    padding-top: 0;
  }

  .lc-project-card__corner,
  .lc-project-single__corner {
    top: 10px;
    right: -42px;
    transform: rotate(34deg) scale(0.92);
  }

  .lc-project-single__logo-wrap {
    flex-basis: 80px;
  }

  .lc-project-single__logo,
  .lc-project-single__logo-fallback {
    width: 80px;
    height: 80px;
    border-radius: 16px;
  }

  .lc-project-gallery {
    gap: 10px;
  }

  .lc-project-gallery__item {
    flex: none;
    height: clamp(300px, 72vw, 480px);
    width: auto;
    min-width: 0;
    max-width: 90vw;
  }

  .lc-project-gallery__item img {
    height: 100%;
    width: auto;
  }

  .lc-frame {
    max-width: none;
    margin: 0;
    padding: 0;
    min-height: 0;
  }

  .lc-shell {
    margin-left: 0 !important;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    isolation: isolate;
  }

  .lc-root.lc-menu-open .lc-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 30;
    background: rgba(25, 28, 30, 0.24);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: auto;
  }

  .lc-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 88vw);
    max-width: 100%;
    height: 100vh;
    max-height: none;
    padding: 12px;
    pointer-events: none;
    z-index: 110;
    overflow: visible;
  }

  .lc-sidebar__glass {
    height: 100%;
    max-height: none;
    min-height: 0;
    pointer-events: auto;
    transform: translateX(calc(-100% - 24px));
    transition: transform 0.28s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .lc-sidebar__panel {
    overflow: hidden;
  }

  .lc-sidebar__panel-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .lc-root.lc-menu-open .lc-sidebar {
    pointer-events: auto;
  }

  .lc-root.lc-menu-open .lc-sidebar__glass {
    transform: translateX(0);
  }

  .lc-stage {
    width: 100%;
    padding: 72px 0 24px;
    position: relative;
    z-index: 1;
  }

  body.has-right-sidebar .lc-stage {
    grid-template-columns: 1fr;
    /* padding-right: var(--lc-space); */
  }


  .lc-main__surface {
    padding: 18px;
  }

  .lc-card {
    padding: 24px;
  }

  .lc-main__surface {
    padding: 18px;
  }

  .lc-stage {
    padding-top: 76px;
  }

  .lc-mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    z-index: 100;
    transition: transform 0.3s ease;
    pointer-events: none;
  }

  .lc-mobile-header--hidden {
    transform: translateY(-100%);
  }

  .lc-mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--lc-glass-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
      var(--lc-shadow),
      var(--lc-inner-light);
    text-decoration: none;
    color: var(--lc-on-surface);
    max-width: calc(100vw - 120px);
    pointer-events: auto;
  }

  .lc-mobile-brand__icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
  }

  .lc-mobile-brand__name-wrap {
    overflow: hidden;
    min-width: 0;
  }

  .lc-mobile-brand__name-track {
    display: inline-flex;
    white-space: nowrap;
    will-change: transform;
  }

  .lc-mobile-brand:not(.lc-mobile-brand--scrolling) .lc-mobile-brand__name:last-child {
    display: none;
  }

  .lc-mobile-brand__name {
    font-family: var(--lc-font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }

  .lc-mobile-brand--scrolling .lc-mobile-brand__name-track {
    animation: lc-mobile-brand-marquee linear infinite;
    animation-duration: var(--lc-marquee-sec, 12s);
  }

  .lc-mobile-brand--scrolling:hover .lc-mobile-brand__name-track {
    animation-play-state: paused;
  }

  @keyframes lc-mobile-brand-marquee {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-50%);
    }
  }

  .lc-menu-toggle {
    position: static;
    z-index: 101;
    pointer-events: auto;
  }

  /* Mobile: disable widget island blur for performance */
  .lc-widgets .lc-island {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (max-width: 600px) {
  .lc-main__surface {
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding-bottom: var(--lc-space);
  }
}

@media (prefers-reduced-motion: reduce) {

  .lc-card,
  .lc-cta,
  .lc-chip,
  .lc-sidebar__glass,
  .lc-mobile-header {
    transition: none !important;
  }

  .lc-js .lc-card.lc-glass:hover {
    transform: none;
  }

  .lc-mobile-brand--scrolling .lc-mobile-brand__name-track {
    animation: none;
  }

  .widget_cyber_crayon_site_uptime .lc-site-uptime__live {
    animation: none;
  }
}

/* --- Project Gallery Navigation --- */

.lc-project-gallery-wrapper {
  position: relative;
}

.lc-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--lc-input-border);
  background: var(--lc-elevated);
  color: var(--lc-on-surface);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0.85;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    var(--lc-inner-light);
}

.lc-gallery-nav:hover:not(:disabled) {
  opacity: 1;
  transform: translateY(-50%) scale(1.05);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.12),
    var(--lc-inner-light);
}

.lc-gallery-nav:focus-visible {
  outline: 2px solid var(--lc-focus-ring);
  outline-offset: 2px;
}

.lc-gallery-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.lc-gallery-nav--prev {
  left: 12px;
}

.lc-gallery-nav--next {
  right: 12px;
}

.lc-gallery-nav__icon {
  display: block;
  width: 20px;
  height: 20px;
}

.lc-gallery-nav__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

/* 移动端适配 */
@media (max-width: 900px) {
  .lc-gallery-nav {
    width: 40px;
    height: 40px;
    opacity: 0.7;
  }

  .lc-gallery-nav__icon {
    width: 16px;
    height: 16px;
  }
}

/* --- About Page --- */

.about-projects .wp-block-image:hover {
  transform: scale(1.1);
}

.about-projects .wp-block-image {
  transition: transform 0.3s ease-in-out;
}

.about-projects .wp-block-image {
  border-radius: 1.5rem;
  overflow: hidden;
  max-width: 120px !important;
}

.about-projects .wp-block-image img {
  border: solid 1px var(--lc-input-border);
  border-radius: 1.5rem;
  background-color: var(--lc-surface);
  box-shadow: var(--lc-shadow-sm);
  object-fit: contain !important;
  aspect-ratio: 1;
}

.about-projects .wp-block-image figcaption {
  padding: 4px !important;
}

.about-github,
.about-github a,
.about-github a img {
  width: 100%;
}

.about-github a {
  display: block;
}

/* ============================================================================
   Tech Footer - 科技感页脚
   ============================================================================ */

.lc-footer-tech {
  position: relative;
  /* background: linear-gradient(180deg, var(--lc-surface-low) 0%, var(--lc-surface) 100%); */
  border-top: 1px solid var(--lc-border-divider);
  margin-top: 4rem;
  box-shadow: var(--lc-shadow-sm);
  background: var(--lc-glass);
}

/* Decorative Line */
.lc-footer-tech__deco {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  overflow: hidden;
}

.lc-footer-tech__deco-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--lc-primary) 20%,
      var(--lc-primary-soft) 50%,
      var(--lc-primary) 80%,
      transparent 100%);
  opacity: 0.5;
}

.lc-footer-tech__deco-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 40px;
  background: radial-gradient(ellipse at center, var(--lc-primary-glow) 0%, transparent 70%);
  opacity: 0.6;
}

/* Container */
.lc-footer-tech__container {
  max-width: var(--lc-max);
  margin: 0 auto;
  padding: 3rem var(--lc-space) 1.5rem;
}

/* Main Content */
.lc-footer-tech__main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(12rem, 1fr) auto;
  gap: 2rem 3rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

/* Brand Section */
.lc-footer-tech__brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.lc-footer-tech__logo {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--lc-primary), var(--lc-primary-soft));
  border-radius: 12px;
  box-shadow: var(--lc-shadow);
}

.lc-footer-tech__logo-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.lc-footer-tech__logo-text {
  font-family: var(--lc-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.lc-footer-tech__brand-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.lc-footer-tech__site-name {
  margin: 0;
  font-family: var(--lc-font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--lc-on-surface);
  letter-spacing: -0.02em;
}

.lc-footer-tech__site-desc {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--lc-neutral);
  line-height: 1.5;
  max-width: 240px;
}

/* Navigation */
.lc-footer-tech__nav-title,
.lc-footer-tech__social-title {
  margin: 0 0 1rem;
  font-family: var(--lc-font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lc-meta);
}

.lc-footer-tech__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.25rem;
  row-gap: 0.5rem;
}

.lc-footer-tech__nav-list li {
  margin: 0;
  padding: 0;
}

.lc-footer-tech__nav-list a {
  display: inline-flex;
  align-items: center;
  color: var(--lc-neutral);
  text-decoration: none;
  font-family: var(--lc-font-mono);
  font-size: 0.8125rem;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.lc-footer-tech__nav-list a:hover {
  color: var(--lc-primary);
}

/* Social Links */
.lc-footer-tech__social-links {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.lc-footer-tech__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--lc-glass);
  border: 1px solid var(--lc-border);
  border-radius: 10px;
  color: var(--lc-neutral);
  transition: all 0.2s ease;
}

.lc-footer-tech__social-link:hover {
  background: var(--lc-primary);
  border-color: var(--lc-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 108, 244, 0.3);
}

/* Footer 社交链接 SVG 图标约束 */
.lc-footer-tech__social-link svg {
  width: 55%;
  height: 55%;
  flex-shrink: 0;
}

/* Bottom Bar */
.lc-footer-tech__bottom {
  position: relative;
}

.lc-footer-tech__divider {
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--lc-border) 20%,
      var(--lc-border) 80%,
      transparent 100%);
  margin-bottom: 1.5rem;
}

.lc-footer-tech__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.lc-footer-tech__copyright {
  margin: 0;
  font-family: var(--lc-font-mono);
  font-size: 0.75rem;
  color: var(--lc-meta);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.lc-footer-tech__heart {
  display: inline-flex;
  color: #ef4444;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }

  10% {
    transform: scale(1.1);
  }

  20% {
    transform: scale(1);
  }

  30% {
    transform: scale(1.1);
  }

  40% {
    transform: scale(1);
  }
}

.lc-footer-tech__meta {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lc-footer-tech__version {
  padding: 0.25rem 0.625rem;
  background: var(--lc-chip-bg);
  border: 1px solid var(--lc-border);
  border-radius: 999px;
  color: var(--lc-primary);
  font-weight: 500;
}

.lc-footer-tech__sep {
  color: var(--lc-border);
}

.lc-footer-tech__moeicp {
  display: inline-block;
  font-family: var(--lc-font-mono);
  font-size: 0.6875rem;
  color: #f472b6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.lc-footer-tech__moeicp:hover {
  color: #f9a8d4;
}

/* Badge (shields.io style) */
.lc-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 3px;
  overflow: hidden;
  font-family: var(--lc-font-mono);
  font-size: 0.625rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.lc-badge__label {
  padding: 0.3em 0.5em;
  background: rgba(0, 0, 0, 0.08);
  color: var(--lc-neutral);
  text-transform: uppercase;
}

.lc-badge__value {
  padding: 0.3em 0.55em;
  background: var(--lc-surface);
  color: var(--lc-on-surface);
}

/* Badge link */
a.lc-badge { text-decoration: none; }

.lc-badge--image {
  overflow: visible;
  background: transparent;
}

.lc-footer-tech__badge-img {
  display: block;
  height: 20px;
  width: auto;
}

/* Dark Mode */
html[data-lc-color-scheme="dark"] .lc-footer-tech {
  background: linear-gradient(180deg, rgba(15, 17, 21, 0.8) 0%, var(--lc-surface) 100%);
}

html[data-lc-color-scheme="dark"] .lc-badge__label {
  background: rgba(255, 255, 255, 0.06);
}

/* Responsive */
@media (max-width: 768px) {
  .lc-footer-tech__main {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .lc-footer-tech__brand {
    flex-direction: column;
    align-items: center;
  }

  .lc-footer-tech__site-desc {
    max-width: 100%;
  }

  .lc-footer-tech__nav-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
  }

  .lc-footer-tech__nav-list a {
    font-size: 0.8125rem;
  }

  .lc-footer-tech__social-links {
    justify-content: center;
  }

  .lc-footer-tech__bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lc-footer-tech__heart {
    animation: none;
  }
}

/**
 * About Page Styles
 *
 * Conditionally loaded on page-about.php only.
 *
 * @package Cyber_Crayon
 */

/* ========================================
   11. About Page - Terminal Theme
   ======================================== */

.lc-about-page {
    max-width: var(--lc-max);
    margin: 0 auto;
    /* padding: calc(var(--lc-hero-min-height) + 40px) var(--lc-space) var(--lc-space); */
}

/* --- Terminal Window Component --- */
.lc-terminal {
    background: var(--lc-terminal-bg);
    border: 1px solid var(--lc-terminal-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(74, 108, 244, 0.08);
    font-family: var(--lc-font-mono);
}

.lc-about-page .lc-terminal {
    background: var(--lc-glass);
}

.lc-terminal__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--lc-terminal-header);
    border-bottom: 1px solid var(--lc-terminal-border);
}

.lc-about-page .lc-terminal__header {
    background: var(--lc-glass);
}

.lc-terminal__dots {
    display: flex;
    gap: 6px;
}

.lc-terminal__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.lc-terminal__dot--red { background: var(--lc-terminal-dot-red); }
.lc-terminal__dot--yellow { background: var(--lc-terminal-dot-yellow); }
.lc-terminal__dot--green { background: var(--lc-terminal-dot-green); }

.lc-terminal__title {
    font-size: 0.75rem;
    color: var(--lc-neutral);
    margin-left: 6px;
}

.lc-terminal__body {
    padding: 16px 20px;
    min-height: 120px;
}

.lc-terminal__line {
    display: block;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--lc-terminal-text);
    white-space: pre-wrap;
    word-break: break-word;
}

.lc-terminal__line--prompt {
    color: var(--lc-terminal-prompt);
    font-weight: 500;
}

.lc-terminal__line--comment {
    color: var(--lc-terminal-comment);
}

.lc-terminal__line--output {
    color: var(--lc-neutral);
}

.lc-terminal__cursor {
    display: inline-block;
    width: 8px;
    height: 1.1em;
    background: var(--lc-terminal-cursor);
    animation: lc-cursor-blink 1s step-end infinite;
    vertical-align: text-bottom;
    margin-left: 2px;
}

@keyframes lc-cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.lc-terminal__body .lc-terminal__line--hidden {
    display: none;
}

/* --- Hero Section --- */
.lc-about-hero {
    padding: 5rem 0;
    border-bottom: 1px solid var(--lc-border-divider);
}

.lc-about-hero__container {
    max-width: var(--lc-max);
    margin: 0 auto;
    text-align: center;
}

.lc-about-hero__avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--lc-border);
}

.lc-about-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lc-about-hero__avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--lc-font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--lc-primary);
    background: var(--lc-surface-low);
}

.lc-about-hero__title {
    font-family: var(--lc-font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--lc-on-surface);
    margin: 0 0 1rem;
    position: relative;
    z-index: 1;
}

.lc-about-hero__title::before {
    content: attr(data-title);
    position: absolute;
    top: 50%;
    left: 50%;
    font-family: var(--lc-font-display);
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 700;
    color: var(--lc-on-surface);
    opacity: 0.05;
    z-index: -1;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: -0.04em;
    pointer-events: none;
    transform: translate(-50%, -50%) translate(
        calc(var(--lc-about-title-bg-offset-x, 0px) * 0.7),
        calc(var(--lc-about-title-bg-offset-y, 0px) * 0.5)
    );
}

.lc-about-hero__desc {
    font-size: 1.125rem;
    color: var(--lc-neutral);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.lc-about-hero__stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.lc-about-hero__stat {
    text-align: center;
}

.lc-about-hero__stat-value {
    display: block;
    font-family: var(--lc-font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--lc-primary);
}

.lc-about-hero__stat-label {
    display: block;
    font-family: var(--lc-font-mono);
    font-size: 0.75rem;
    color: var(--lc-neutral);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.lc-about-hero__focus {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.lc-about-hero__focus-item {
    padding: 0.35rem 1rem;
    border: 1px solid var(--lc-border);
    border-radius: 2rem;
    font-family: var(--lc-font-mono);
    font-size: 0.8125rem;
    color: var(--lc-neutral);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.lc-about-hero__focus-item:hover {
    border-color: var(--lc-primary);
    color: var(--lc-primary);
}

.lc-about-hero__bio {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--lc-on-surface);
}

.lc-about-hero__bio p {
    margin: 0.75rem 0;
}

/* Whoami output row */
.lc-terminal__whoami {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.lc-terminal__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--lc-terminal-border);
    background: var(--lc-glass);
}

.lc-terminal__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lc-terminal__avatar-initial {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--lc-font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--lc-primary);
    background: var(--lc-terminal-header);
}

.lc-terminal__name {
    font-family: var(--lc-font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--lc-terminal-text);
}

/* --- Bio Section --- */
.lc-about-section {
    padding: 5rem 0;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lc-about-section > * {
    width: 100%;
}

.lc-about-section__container {
    max-width: var(--lc-max);
    margin: 0 auto;
}

.lc-about-section__title {
    font-family: var(--lc-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--lc-on-surface);
    margin: 0 0 2.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.lc-about-section__title.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.lc-about-section__title::before {
    content: attr(data-title);
    position: absolute;
    top: 50%;
    left: 50%;
    font-family: var(--lc-font-display);
    font-size: clamp(3rem, 7vw, 4.5rem);
    font-weight: 700;
    color: var(--lc-on-surface);
    opacity: 0;
    z-index: -1;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: -0.04em;
    pointer-events: none;
    will-change: transform;
    transition: opacity 0.7s ease-out;
    transform: translate(-50%, -50%) translate(0, 0);
}

.lc-about-section__title.is-revealed::before {
    opacity: 0.05;
}

.lc-about-section__title[data-title]::before {
    transform: translate(-50%, -50%) translate(
        calc(var(--lc-about-title-bg-offset-x) * 0.7),
        calc(var(--lc-about-title-bg-offset-y) * 0.5)
    );
}

.lc-about-section__title--terminal {
    font-family: var(--lc-font-mono);
    font-size: 1rem;
    font-weight: 500;
    color: var(--lc-terminal-prompt);
    text-align: left;
    margin-bottom: 1rem;
}

.lc-about-section__title--terminal::before {
    content: '$ ';
}

.lc-about-section__footer {
    text-align: center;
    margin-top: 2rem;
}

.lc-about-section__subtitle {
    text-align: center;
    font-family: var(--lc-font-mono);
    font-size: 0.875rem;
    color: var(--lc-neutral);
    margin: -1rem 0 1.5rem;
}

/* --- GitHub Section --- */
.lc-about-github__notice {
    margin: 0 0 0.75rem;
    font-family: var(--lc-font-mono);
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--lc-neutral);
    text-align: center;
}

.lc-about-github__graph {
    background: var(--lc-glass);
    border: 1px solid var(--lc-border-divider);
    border-radius: var(--lc-radius-xl);
    padding: 1.25rem;
}

.lc-about-github__card {
    overflow: hidden;
    /* border: 1px solid var(--lc-border-divider); */
    border-radius: var(--lc-radius);
    /* background: var(--lc-surface); */
}

.lc-about-github__body {
    position: relative;
    /* padding: 0.75rem 0.75rem 0.5rem; */
}

.lc-about-github__scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.lc-about-github__chart {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

.lc-about-github__day-label,
.lc-about-github__month-label {
    fill: var(--lc-neutral);
    font-family: var(--lc-font-mono);
    font-size: 9px;
}

.lc-about-github__cell {
    fill: color-mix(in srgb, var(--lc-on-surface) 14%, var(--lc-surface-low));
}

.lc-about-github__cell--l1 {
    fill: color-mix(in srgb, var(--lc-terminal-dot-green) 38%, var(--lc-surface));
}

.lc-about-github__cell--l2 {
    fill: color-mix(in srgb, var(--lc-terminal-dot-green) 58%, var(--lc-surface));
}

.lc-about-github__cell--l3 {
    fill: color-mix(in srgb, var(--lc-terminal-dot-green) 80%, var(--lc-surface-low));
}

.lc-about-github__cell--l4 {
    fill: var(--lc-terminal-dot-green);
}

.lc-about-github__cell.is-active,
.lc-about-github__cell:hover {
    stroke: var(--lc-on-surface);
    stroke-width: 1.5;
}

.lc-about-github__tip {
    position: absolute;
    z-index: 3;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--lc-border-divider);
    border-radius: 8px;
    background: var(--lc-glass-strong);
    box-shadow: var(--lc-shadow-sm);
    color: var(--lc-on-surface);
    font-family: var(--lc-font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    pointer-events: none;
    transform: translateX(-50%);
}

.lc-about-github__tip[hidden] {
    display: none;
}

.lc-about-github__skeleton .lc-about-github__body {
    min-height: 7rem;
}

.lc-about-github__skeleton-bar {
    display: block;
    height: 1.75rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    background: color-mix(in srgb, var(--lc-terminal-dot-green) 22%, var(--lc-surface-low));
    animation: lc-github-skeleton 1.4s ease-in-out infinite;
}

.lc-about-github__skeleton-bar:last-child {
    width: 62%;
    margin-bottom: 0;
}

@keyframes lc-github-skeleton {
    0%,
    100% {
        opacity: 0.45;
    }

    50% {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lc-about-github__skeleton,
    .lc-about-github__skeleton-bar {
        animation: none !important;
    }
}

/* --- Projects Section --- */
.lc-about-projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

@media (max-width: 1023px) {
    .lc-about-projects {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .lc-about-projects {
        grid-template-columns: 1fr;
    }
}

.lc-about-project {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--lc-border-divider);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.lc-about-project:hover {
    border-color: var(--lc-primary);
    box-shadow: 0 0 0 1px var(--lc-primary);
}

.lc-about-project__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--lc-surface-low);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lc-about-project__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lc-about-project__fallback {
    font-family: var(--lc-font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--lc-primary);
}

.lc-about-project__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.lc-about-project__name {
    font-family: var(--lc-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--lc-on-surface);
}

.lc-about-project__desc {
    font-family: var(--lc-font-body);
    font-size: 0.8125rem;
    color: var(--lc-neutral);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Contact Section --- */
.lc-about-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.lc-about-contact__link {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1rem;
    border: 1px solid var(--lc-border-divider);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.lc-about-contact__link:hover {
    border-color: var(--lc-primary);
    box-shadow: 0 0 0 1px var(--lc-primary);
}

.lc-about-contact__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--lc-neutral);
}

.lc-about-contact__icon svg {
    width: 100%;
    height: 100%;
    /* fill: currentColor; */
}

.lc-about-contact__label {
    font-family: var(--lc-font-body);
    font-size: 0.875rem;
    color: var(--lc-on-surface);
}

/* --- Responsive --- */
@media (max-width: 767px) {
    /* .lc-about-page {
        padding-top: calc(var(--lc-hero-min-height) + 20px);
    } */

    .lc-about-hero {
        padding: 3rem 0;
    }

    .lc-about-hero__avatar {
        width: 100px;
        height: 100px;
    }

    .lc-about-hero__title {
        font-size: 1.75rem;
    }

    .lc-about-hero__stats {
        gap: 2rem;
    }

    .lc-about-hero__stat-value {
        font-size: 1.5rem;
    }

    .lc-terminal__body {
        padding: 12px 14px;
        min-height: 100px;
    }

    .lc-terminal__avatar {
        width: 28px;
        height: 28px;
    }

    .lc-terminal__name {
        font-size: 1rem;
    }

    .lc-terminal__line {
        font-size: 0.8125rem;
    }

    .lc-about-section {
        padding: 3rem 0;
    }

    .lc-about-section__title {
        font-size: 1.5rem;
    }

    .lc-about-project {
        padding: 0.625rem 0.75rem;
    }

    .lc-about-project__icon {
        width: 40px;
        height: 40px;
    }

    .lc-about-project__name {
        font-size: 0.9375rem;
    }

    .lc-about-contact {
        gap: 0.5rem;
    }

    .lc-about-contact__link {
        padding: 0.5rem 0.75rem;
    }

    .lc-about-contact__link {
        grid-template-columns: 16px 70px auto;
    }

    .lc-about-github__graph {
        padding: 0.75rem;
    }
}


    12. Chart Sections
    ======================================== */

.lc-chart-wrap {
    position: relative;
    width: 100%;
    max-height: 280px;
    margin-top: 1.5rem;
}

.lc-chart-wrap canvas {
    width: 100% !important;
    max-height: 280px;
}

.lc-chart-placeholder {
    text-align: center;
    color: var(--lc-neutral);
    font-family: var(--lc-font-mono);
    font-size: 0.875rem;
    padding: 3rem 1rem;
    opacity: 0.7;
}

.lc-about-section--posts-chart,
.lc-about-section--views-chart {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (max-width: 767px) {
    .lc-chart-wrap {
        max-height: 220px;
    }

    .lc-chart-wrap canvas {
        max-height: 220px;
    }

    .lc-about-section--posts-chart,
    .lc-about-section--views-chart {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Background Title Effect */
.lc-about-page {
    position: relative;
    /* overflow: hidden; */
    --lc-about-title-bg-offset-x: 0px;
    --lc-about-title-bg-offset-y: 0px;
}
/*
 * Contact page — glass cards for visible social links.
 */

.lc-contact-page {
  --lc-radius-card: var(--lc-radius-xl);
  --lc-shadow-card: var(--lc-shadow);
  position: relative;
  z-index: 1;
}

.lc-contact-page__body {
  padding-bottom: 1rem;
}

.lc-contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lc-contact-card {
  border: 1px solid var(--lc-border);
  border-radius: var(--lc-radius-card);
  background: var(--lc-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--lc-shadow-card), var(--lc-inner-light);
  color: var(--lc-on-surface);
}

.lc-contact-card__link {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  height: 100%;
  padding: 1.25rem;
  color: inherit;
  text-decoration: none;
}

.lc-contact-card__link:hover {
  color: var(--lc-primary);
}

.lc-contact-card__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--lc-chip-bg);
  color: var(--lc-primary);
}

.lc-contact-card__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.lc-contact-card__body {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.lc-contact-card__type,
.lc-contact-card__name,
.lc-contact-card__value {
  display: block;
}

.lc-contact-card__type {
  font-family: var(--lc-font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lc-meta);
}

.lc-contact-card__name {
  font-weight: 700;
  color: var(--lc-on-surface);
}

.lc-contact-card__value {
  color: var(--lc-neutral);
  font-size: 0.8125rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.lc-contact-card__arrow {
  margin-left: auto;
  font-size: 0;
  line-height: 1;
  color: var(--lc-meta);
}

.lc-contact-card__arrow::after {
  content: "↗";
  font-size: 1rem;
  font-family: var(--lc-font-body);
}

.lc-contact-cards-empty {
  margin: 0;
  padding: 2rem 1.25rem;
  border: 1px solid var(--lc-border);
  border-radius: var(--lc-radius-card);
  background: var(--lc-glass);
  box-shadow: var(--lc-shadow-card);
  color: var(--lc-on-surface);
  text-align: center;
}

.lc-contact-cards-empty p {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .lc-contact-card__link {
    transition: none;
  }
}

/*
 * Guestbook site-wide comment feed.
 * Thread cards and reply surfaces use existing --lc-surface / --lc-glass tokens,
 * which already switch under html[data-lc-color-scheme="dark"].
 * Button rules live here because project.css (global .lc-btn-tech) is not loaded
 * on this page.
 */

.lc-guestbook-page__body {
  display: grid;
  gap: 1.25rem;
}

.lc-guestbook-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.lc-guestbook-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lc-guestbook-filters .lc-chip.is-active,
.lc-guestbook-filters .lc-chip[aria-current="page"] {
  color: #fff;
  background: linear-gradient(120deg, var(--lc-primary), var(--lc-primary-soft));
  box-shadow: 0 4px 14px var(--lc-primary-glow);
}

.lc-guestbook-feed__meta {
  margin: 0;
  font-family: var(--lc-font-mono);
  font-size: 0.8125rem;
  color: var(--lc-neutral);
}

.lc-guestbook-page .lc-threads {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lc-guestbook-page .lc-thread {
  list-style: none;
  margin: 0;
  padding: 1rem;
  background: transparent;
  border: 1px solid var(--lc-border-divider);
  border-radius: 14px;
  box-shadow: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.lc-guestbook-page .lc-thread:hover {
  border-color: var(--lc-primary);
  box-shadow: 0 0 0 1px var(--lc-primary);
}

.lc-guestbook-page .lc-thread > .lc-comment-feed__item .lc-comment-tech__body {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.lc-guestbook-page .lc-thread > .lc-comment-feed__item .lc-comment-tech__body:hover {
  border-color: transparent;
  box-shadow: none;
}

.lc-guestbook-page .lc-thread__replies {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0 0 0 1.5rem;
  border-left: 2px solid var(--lc-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lc-guestbook-page .lc-thread__replies .lc-comment-tech__body {
  padding: 1rem;
  background: var(--lc-surface-low);
  border: 1px solid var(--lc-border-divider);
  border-radius: 14px;
  box-shadow: none;
}

.lc-guestbook-page .lc-comment-tech--reply .lc-comment-tech__avatar-wrap,
.lc-guestbook-page .lc-comment-tech--reply .lc-comment-tech__avatar-wrap .lc-avatar,
.lc-guestbook-page .lc-comment-feed__avatar-wrap--sm,
.lc-guestbook-page .lc-comment-feed__avatar-wrap--sm .lc-avatar,
.lc-guestbook-page .lc-comment-tech--reply .lc-comment-tech__avatar,
.lc-guestbook-page .lc-comment-feed__avatar-wrap--sm .lc-comment-tech__avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.lc-guestbook-page .lc-comment-feed__source {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  margin-top: 0.35rem;
  min-width: 0;
}

.lc-guestbook-page .lc-comment-feed__type {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: var(--lc-chip-bg);
  border: 1px solid var(--lc-border);
  font-family: var(--lc-font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--lc-primary);
}

.lc-guestbook-page .lc-comment-feed__source-link,
.lc-guestbook-page .lc-comment-feed__source-missing {
  min-width: 0;
  font-family: var(--lc-font-mono);
  font-size: 0.75rem;
  color: var(--lc-neutral);
}

.lc-guestbook-page .lc-comment-feed__source-link {
  color: var(--lc-primary);
  text-decoration: none;
}

.lc-guestbook-page .lc-comment-feed__source-link:hover {
  text-decoration: underline;
}

.lc-guestbook-page .lc-comment-feed__reply-prefix {
  margin-right: 0.25rem;
  font-weight: 600;
  color: var(--lc-primary);
  text-decoration: none;
}

.lc-guestbook-page .lc-comment-feed__reply-form[hidden] {
  display: none;
}

.lc-guestbook-page .lc-comment-feed__reply-form.is-open {
  display: block;
}

.lc-guestbook-page .lc-comment-form-tech__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.lc-guestbook-page .lc-comment-feed__item.is-highlighted {
  outline: 2px solid var(--lc-primary);
  outline-offset: 4px;
  border-radius: 12px;
}

.lc-guestbook-page .lc-guestbook-empty,
.lc-guestbook-page .lc-guestbook-compose {
  margin-top: 0;
}

.lc-guestbook-page .lc-guestbook-compose .lc-comments-tech__respond {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.lc-guestbook-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.lc-guestbook-page .lc-btn-tech {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.875rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  background: var(--lc-primary);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--lc-primary-glow);
}

.lc-guestbook-page .lc-btn-tech--secondary {
  background: var(--lc-surface);
  color: var(--lc-on-surface);
  border-color: var(--lc-border);
  box-shadow: none;
}

.lc-guestbook-page .lc-btn-tech:hover {
  color: #fff;
  box-shadow: 0 6px 24px var(--lc-primary-glow);
}

.lc-guestbook-page .lc-btn-tech--secondary:hover {
  background: var(--lc-elevated);
  color: var(--lc-on-surface);
  box-shadow: none;
}

.lc-guestbook-page .lc-btn-tech:focus-visible,
.lc-guestbook-page .lc-comment-feed__reply:focus-visible,
.lc-guestbook-filters .lc-chip:focus-visible {
  outline: 2px solid var(--lc-focus-ring);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .lc-guestbook-page .lc-thread {
    padding: 1rem;
  }

  .lc-guestbook-page .lc-thread__replies {
    padding-left: 0.75rem;
  }

  .lc-guestbook-page .lc-comment-tech__avatar-wrap,
  .lc-guestbook-page .lc-comment-tech__avatar-wrap .lc-avatar,
  .lc-guestbook-page .lc-comment-tech__avatar {
    width: 44px;
    height: 44px;
  }
}

/*
 * Friend links page — v2 glass cards and native dialog.
 * Card radius/shadow alias existing tokens; dark mode follows html[data-lc-color-scheme="dark"].
 */

.lc-friend-links-page {
  --lc-radius-card: var(--lc-radius-xl);
  --lc-shadow-card: var(--lc-shadow);
  position: relative;
  z-index: 1;
}

.lc-friend-links-page__body {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 1rem;
}

.lc-friend-links-page__actions {
  display: flex;
  justify-content: flex-start;
}

.lc-friend-apply-note {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 1.25rem 1.5rem;
  background: transparent;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--lc-border);
  border-radius: var(--lc-radius-card);
  /* box-shadow: var(--lc-shadow-card), var(--lc-inner-light); */
  color: var(--lc-on-surface);
}

.lc-friend-apply-note__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lc-friend-apply-note__kicker,
.lc-friend-apply-note__lead {
  margin: 0;
}

.lc-friend-apply-note__kicker {
  font-family: var(--lc-font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lc-meta);
}

.lc-friend-apply-note__lead {
  line-height: 1.7;
  color: var(--lc-neutral);
}

.lc-friend-apply-note__copy-all {
  flex-shrink: 0;
  margin: 0;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--lc-border);
  border-radius: 0.75rem;
  background: var(--lc-surface);
  color: var(--lc-primary);
  font-family: var(--lc-font-mono);
  font-size: 0.75rem;
  line-height: 1.2;
  cursor: pointer;
}

.lc-friend-apply-note__copy-all:hover {
  border-color: var(--lc-primary);
  background: var(--lc-elevated);
}

.lc-friend-apply-note__facts {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.lc-friend-apply-note__facts > div {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
}

.lc-friend-apply-note__facts dt,
.lc-friend-apply-note__facts dd {
  margin: 0;
  min-width: 0;
}

.lc-friend-apply-note__facts dt {
  font-family: var(--lc-font-mono);
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--lc-meta);
}

.lc-friend-apply-note__facts button {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  appearance: none;
  background: none;
  color: var(--lc-on-surface);
  font: inherit;
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  word-break: break-all;
}

.lc-friend-apply-note__facts button:hover,
.lc-friend-apply-note__facts button:focus-visible {
  color: var(--lc-primary);
}

.lc-friend-apply-note__icon-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.lc-friend-apply-note__icon-row button {
  flex: 1;
  width: auto;
}

.lc-friend-apply-note__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--lc-surface-low);
}

@media (max-width: 767px) {
  .lc-friend-apply-note {
    gap: 0.625rem;
    padding: 0.875rem 1rem;
  }

  .lc-friend-apply-note__head {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
  }

  .lc-friend-apply-note__lead {
    line-height: 1.55;
  }

  .lc-friend-apply-note__facts {
    gap: 0.35rem;
  }

  .lc-friend-apply-note__facts > div {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.15rem 0.65rem;
    align-items: baseline;
  }

  .lc-friend-apply-note__facts > div:has(.lc-friend-apply-note__icon-row) {
    align-items: center;
  }

  .lc-friend-apply-note__facts dt {
    white-space: nowrap;
  }

  .lc-friend-apply-note__icon {
    width: 22px;
    height: 22px;
  }
}

.lc-friend-links-page .lc-btn-tech {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.875rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  background: var(--lc-primary);
  color: #fff;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--lc-primary-glow);
}

.lc-friend-links-page .lc-btn-tech--secondary {
  background: var(--lc-surface);
  color: var(--lc-on-surface);
  border-color: var(--lc-border);
  box-shadow: none;
}

.lc-friend-links-page .lc-btn-tech:hover {
  box-shadow: 0 6px 24px var(--lc-primary-glow);
}

.lc-friend-links-page .lc-btn-tech--secondary:hover {
  background: var(--lc-elevated);
  box-shadow: none;
}

.lc-friend-links-page .lc-btn-tech:disabled {
  opacity: 0.7;
  cursor: progress;
}

.lc-friend-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lc-friend-link-card {
  border: 1px solid var(--lc-border-divider);
  border-radius: 14px;
  background: transparent;
  color: var(--lc-on-surface);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.lc-friend-link-card:hover {
  border-color: var(--lc-primary);
  box-shadow: 0 0 0 1px var(--lc-primary);
  transform: translateY(-3px);
}

.lc-friend-link-card__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  padding: 1rem;
  color: inherit;
  text-decoration: none;
}

.lc-friend-link-card__link:hover {
  color: inherit;
}

.lc-friend-link-card__icon {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 13px;
  background: var(--lc-surface-low);
}

.lc-friend-link-card__icon-img,
.lc-friend-link-card__icon-fallback {
  width: 56px;
  height: 56px;
  border-radius: 13px;
}

.lc-friend-link-card__icon-img {
  display: block;
  object-fit: contain;
  background: transparent;
}

.lc-friend-link-card__icon-fallback:not([hidden]) {
  display: grid;
  place-items: center;
  background: var(--lc-chip-bg);
  color: var(--lc-primary);
  font-weight: 700;
}

.lc-friend-link-card__body {
  min-width: 0;
}

.lc-friend-link-card__title,
.lc-friend-link-card__desc {
  display: block;
}

.lc-friend-link-card__title {
  font-family: var(--lc-font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--lc-on-surface);
}

.lc-friend-link-card__desc {
  display: -webkit-box;
  margin-top: 0.2rem;
  overflow: hidden;
  color: var(--lc-neutral);
  font-size: 0.8125rem;
  line-height: 1.4;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
}

@media (max-width: 1023px) {
  .lc-friend-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .lc-friend-links-grid {
    grid-template-columns: 1fr;
  }
}

.lc-friend-links-empty,
.lc-friend-links-page .lc-notice {
  margin: 0 0 1rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--lc-border);
  border-radius: var(--lc-radius, 0.75rem);
  background: var(--lc-glass);
  color: var(--lc-on-surface);
}

.lc-friend-links-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1200;
  box-sizing: border-box;
  width: max-content;
  max-width: min(22rem, calc(100% - 2.5rem));
  margin: 0;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--lc-border);
  border-radius: 0.9rem;
  background: color-mix(in srgb, var(--lc-surface) 94%, transparent);
  box-shadow: var(--lc-shadow);
  color: var(--lc-on-surface);
  font-size: 0.9375rem;
  line-height: 1.5;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -46%) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lc-friend-links-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.lc-friend-links-toast[hidden] {
  display: none;
}

.lc-friend-links-empty {
  text-align: center;
}

.lc-friend-links-page .lc-notice--success {
  background: color-mix(in srgb, var(--lc-status-running) 14%, var(--lc-surface));
}

.lc-friend-links-page .lc-notice--error {
  background: color-mix(in srgb, #ef4444 12%, var(--lc-surface));
}

.lc-friend-links-page .lc-notice--warning {
  background: color-mix(in srgb, var(--lc-status-developing) 14%, var(--lc-surface));
}

.lc-friend-links-toast--success {
  border-color: color-mix(in srgb, var(--lc-status-running) 36%, var(--lc-border));
  background: color-mix(in srgb, var(--lc-status-running) 16%, var(--lc-surface));
}

.lc-friend-links-toast--error {
  border-color: color-mix(in srgb, #ef4444 36%, var(--lc-border));
  background: color-mix(in srgb, #ef4444 14%, var(--lc-surface));
}

.lc-friend-links-toast--warning {
  border-color: color-mix(in srgb, var(--lc-status-developing) 36%, var(--lc-border));
  background: color-mix(in srgb, var(--lc-status-developing) 16%, var(--lc-surface));
}

.lc-friend-links-dialog {
  width: min(32rem, calc(100vw - 2rem));
  max-height: min(90vh, 44rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--lc-border);
  border-radius: var(--lc-radius-card);
  background: var(--lc-surface);
  color: var(--lc-on-surface);
  box-shadow: var(--lc-shadow-card);
}

.lc-friend-links-dialog::backdrop {
  background: color-mix(in srgb, var(--lc-on-surface) 38%, transparent);
}

.lc-friend-links-form {
  position: relative;
  display: grid;
  gap: 0.25rem;
}

.lc-friend-links-form__honeypot {
  position: fixed;
  left: -10000px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.lc-friend-links-dialog__head,
.lc-friend-links-dialog__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
}

.lc-friend-links-dialog__head h2 {
  margin: 0;
  font-family: var(--lc-font-display);
  font-size: 1.25rem;
  color: var(--lc-on-surface);
}

.lc-friend-links-dialog__close {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--lc-border);
  border-radius: 0.75rem;
  background: var(--lc-surface);
  color: var(--lc-on-surface);
  cursor: pointer;
}

.lc-friend-links-dialog__lead,
.lc-friend-links-dialog__body {
  padding: 0 1.5rem;
}

.lc-friend-links-dialog__lead {
  margin: 0 0 1rem;
  color: var(--lc-neutral);
  line-height: 1.6;
}

.lc-friend-links-dialog__body {
  display: grid;
  gap: 0.875rem;
}

.lc-friend-links-form__field {
  display: grid;
  gap: 0.4rem;
  margin: 0;
}

.lc-friend-links-form__field label {
  font-family: var(--lc-font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--lc-meta);
}

.lc-friend-links-form__field input,
.lc-friend-links-form__field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--lc-border);
  border-radius: 0.75rem;
  background: var(--lc-input-bg);
  color: var(--lc-on-surface);
  font-family: var(--lc-font-body);
  font-size: 0.9375rem;
}

.lc-friend-links-form__field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.lc-friend-links-form__field input:focus,
.lc-friend-links-form__field textarea:focus {
  outline: 2px solid var(--lc-focus-ring);
  outline-offset: 1px;
  border-color: var(--lc-primary);
}

.lc-friend-links-dialog__foot {
  justify-content: flex-end;
  padding-top: 1rem;
}

@media (max-width: 767px) {
  .lc-friend-links-dialog__head,
  .lc-friend-links-dialog__foot,
  .lc-friend-links-dialog__lead,
  .lc-friend-links-dialog__body {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .lc-friend-links-dialog__foot {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lc-friend-links-page .lc-btn-tech,
  .lc-friend-link-card__link {
    transition: none;
  }
}

/**
 * 404 Page Styles
 *
 * Conditionally loaded on 404.php only.
 *
 * @package Cyber_Crayon
 */

/* ========================================
   10. 404 Page
   ======================================== */

/* 404 Page Container */
.lc-404-page {
    position: relative;
    min-height: calc(100vh - var(--lc-navbar-height, 64px));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--lc-space);
    overflow: hidden;
}

/* 404 Container */
.lc-404-page__container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

/* Visual Section */
.lc-404-page__visual {
    position: relative;
    margin-bottom: 2rem;
}

.lc-404-page__code {
    font-size: clamp(120px, 20vw, 180px);
    font-weight: 900;
    line-height: 1;
    color: var(--lc-text);
    font-family: var(--lc-font-mono, monospace);
    letter-spacing: -0.05em;
    text-shadow:
        0 0 20px var(--lc-primary-glow),
        0 0 40px var(--lc-primary-glow),
        0 0 80px var(--lc-primary-glow);
}

/* Glitch Effect */
.lc-404-page__glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-size: clamp(120px, 20vw, 180px);
    font-weight: 900;
    line-height: 1;
    font-family: var(--lc-font-mono, monospace);
    letter-spacing: -0.05em;
    color: var(--lc-accent);
    opacity: 0.3;
    animation: lc-glitch 3s infinite;
    pointer-events: none;
}

@keyframes lc-glitch {
    0%, 90%, 100% {
        transform: translate(0);
        opacity: 0.3;
    }

    92% {
        transform: translate(-3px, 2px);
        opacity: 0.5;
    }

    94% {
        transform: translate(3px, -2px);
        opacity: 0.4;
    }

    96% {
        transform: translate(-2px, -1px);
        opacity: 0.5;
    }

    98% {
        transform: translate(2px, 1px);
        opacity: 0.3;
    }
}

/* Status */
.lc-404-page__status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--lc-glass);
    border: 1px solid var(--lc-border);
    border-radius: 20px;
    margin-top: 1rem;
}

.lc-404-page__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    animation: lc-404-pulse 2s ease-in-out infinite;
}

@keyframes lc-404-pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
}

.lc-404-page__status-text {
    font-size: 0.875rem;
    color: var(--lc-text-secondary);
    font-family: var(--lc-font-mono, monospace);
}

/* Content */
.lc-404-page__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--lc-text);
    margin-bottom: 0.75rem;
}

.lc-404-page__description {
    font-size: 1rem;
    color: var(--lc-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Search */
.lc-404-page__search {
    margin-bottom: 2rem;
}

.lc-404-page__search-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--lc-glass);
    border: 1px solid var(--lc-border-divider);
    border-radius: 12px;
    transition: all 0.2s ease;
    box-shadow: var(--lc-shadow);
}

.lc-404-page__search-box:focus-within {
    border-color: var(--lc-primary);
    box-shadow: 0 0 0 3px var(--lc-primary-glow);
}

.lc-404-page__search-icon {
    color: var(--lc-text-muted);
    flex-shrink: 0;
}

.lc-404-page__search-input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--lc-text);
    font-size: 1rem;
    outline: none;
}

.lc-404-page__search-input::placeholder {
    color: var(--lc-text-muted);
}

.lc-404-page__search-btn {
    padding: 0.5rem 1rem;
    background: var(--lc-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lc-404-page__search-btn:hover {
    background: var(--lc-primary-dark);
}

/* Actions */
.lc-404-page__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.lc-404-page__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lc-404-page__btn svg {
    flex-shrink: 0;
}

.lc-404-page__btn--primary {
    background: var(--lc-primary);
    color: white;
    border: 1px solid var(--lc-primary);
}

.lc-404-page__btn--primary:hover {
    background: var(--lc-primary-dark);
    border-color: var(--lc-primary-dark);
}

.lc-404-page__btn--secondary {
    background: var(--lc-glass);
    color: var(--lc-text);
    border: 1px solid var(--lc-border);
}

.lc-404-page__btn--secondary:hover {
    background: var(--lc-surface);
    border-color: var(--lc-primary);
}


/* Responsive */
.lc-404-page__code,
.lc-404-page__glitch {
    font-size: 100px;
}

.lc-404-page__title {
    font-size: 1.5rem;
}

.lc-404-page__actions {
    flex-direction: column;
    align-items: stretch;
}

.lc-404-page__btn {
    justify-content: center;
}

.lc-404-page__search-box {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.75rem;
}

.lc-404-page__search-icon {
    order: 0;
}

.lc-404-page__search-input {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 16px;
    /* 防止iOS缩放 */
}

.lc-404-page__search-btn {
    flex: 0 0 auto;
    padding: 0.625rem 1.25rem;
    white-space: nowrap;
}

/* Reduced Motion */
/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .lc-404-page__glitch {
        animation: none;
    }

    .lc-404-page__status-dot {
        animation: none;
    }
}

/* Background Title Effect */
.lc-404-page {
    position: relative;
    overflow: hidden;
    --lc-page-title-bg-offset-x: 0px;
    --lc-page-title-bg-offset-y: 0px;
}

.lc-404-page__title {
    position: relative;
    z-index: 1;
}

.lc-404-page__title::before {
    content: '404';
    position: absolute;
    top: 50%;
    left: 50%;
    font-family: var(--lc-font-display);
    font-size: clamp(8rem, 20vw, 14rem);
    font-weight: 700;
    color: var(--lc-on-surface);
    opacity: 0.03;
    z-index: -1;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: -0.06em;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

/*
  prose.css -- reading typography for Portable Text bodies. Wrap rendered
  content in an element with class="prose".

  These rules sit in @layer base, so overrides in theme.css win without
  specificity tricks. The variables at the top theme EmDash's built-in
  block components (images, pullquotes, buttons, files, tables) to match.
  The exception is the short unlayered block at the end, which needs
  !important to restyle EmDash's code, button, and file blocks; override
  those properties with !important too.
*/

@layer base {
	.prose {
		--prose-color: color-mix(in srgb, var(--color-text) 82%, var(--color-bg));
		--emdash-caption-color: var(--color-muted);
		--emdash-break-color: var(--color-border);
		--emdash-break-dots-color: var(--color-muted);
		--emdash-pullquote-border: var(--color-border);
		--emdash-pullquote-color: var(--color-text);
		--emdash-pullquote-citation-color: var(--color-muted);
		--emdash-button-bg: var(--color-brand);
		--emdash-button-bg-hover: var(--color-brand-hover);
		--emdash-button-color: var(--color-on-brand);
		--emdash-file-bg: var(--color-surface);
		--emdash-file-border: var(--color-border);
		--emdash-file-color: var(--color-text);
		--emdash-file-icon-color: var(--color-muted);

		max-width: var(--content-width);
		font-size: var(--font-size-lg);
		line-height: 1.75;
		color: var(--prose-color);
		overflow-wrap: break-word;
	}

	/* Vertical rhythm */
	.prose > * {
		margin-block: 0;
	}

	.prose > * + * {
		margin-block-start: 1.25em;
	}

	.prose > :is(h1, h2) {
		margin-block-start: 2em;
	}

	.prose > :is(h3, h4, h5, h6) {
		margin-block-start: 1.75em;
	}

	.prose > :is(h1, h2, h3, h4, h5, h6) + * {
		margin-block-start: 0.75em;
	}

	.prose > :first-child {
		margin-block-start: 0;
	}

	/* Headings */
	.prose :is(h1, h2, h3, h4, h5, h6) {
		color: var(--color-text);
		line-height: var(--leading-snug);
	}

	.prose h1 {
		font-size: var(--font-size-3xl);
		line-height: var(--leading-tight);
	}

	.prose h2 {
		font-size: var(--font-size-2xl);
	}

	.prose h3 {
		font-size: var(--font-size-xl);
	}

	.prose h4 {
		font-size: var(--font-size-lg);
	}

	.prose :is(h5, h6) {
		font-size: var(--font-size-base);
	}

	.prose h6 {
		color: var(--color-text-secondary);
	}

	/* Inline text */
	.prose a:where(:not([class*="emdash"])) {
		color: var(--color-text);
		text-decoration-line: underline;
		text-decoration-thickness: 1px;
		text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
		text-decoration-skip-ink: auto;
		text-underline-offset: 0.2em;
	}

	.prose a:where(:not([class*="emdash"])):hover {
		text-decoration-color: currentColor;
	}

	.prose :is(strong, b) {
		font-weight: 600;
		color: var(--color-text);
	}

	.prose :is(sub, sup) {
		font-size: 0.75em;
		line-height: 0;
	}

	.prose :not(pre) > code {
		padding: 0.15em 0.35em;
		border-radius: var(--radius-sm);
		background: var(--color-fill);
		color: var(--color-text);
		font-family: var(--font-mono);
		font-size: 0.85em;
		box-decoration-break: clone;
		-webkit-box-decoration-break: clone;
	}

	/* Lists */
	.prose :is(ul, ol) {
		padding-inline-start: 1.5em;
	}

	.prose li {
		padding-inline-start: 0.25em;
	}

	.prose li + li,
	.prose li > :is(ul, ol) {
		margin-block-start: 0.5em;
	}

	.prose li::marker {
		color: var(--color-muted);
		font-variant-numeric: tabular-nums;
	}

	/* Quotes, code, rules */
	.prose blockquote:where(:not([class*="emdash"])) {
		padding-inline-start: 1.25em;
		border-inline-start: 2px solid var(--color-border-strong);
		color: var(--color-text);
	}

	.prose blockquote > * + * {
		margin-block-start: 0.75em;
	}

	.prose hr {
		margin-block: 2.5em;
		border: 0;
		border-block-start: 1px solid var(--color-border);
	}

	/* Media */
	.prose img {
		border-radius: var(--radius-lg);
	}

	.prose :is(figure > img, figure > a > img, .emdash-gallery-item img) {
		outline: 1px solid var(--color-media-outline);
		outline-offset: -1px;
	}

	.prose figcaption {
		margin-block-start: 0.75em;
		color: var(--color-muted);
		font-size: var(--font-size-sm);
		line-height: var(--leading-normal);
		text-align: center;
	}

	.prose :is(.emdash-embed-video, .emdash-iframe),
	.prose .emdash-video video {
		overflow: hidden;
		border-radius: var(--radius-lg);
		background: var(--color-fill);
	}

	/* EmDash's table block reads these for its header row and stripes */
	.prose .emdash-table-wrapper {
		--color-surface: var(--color-fill);
		--color-bg-subtle: color-mix(in srgb, var(--color-fill) 50%, transparent);
	}

	@media (max-width: 640px) {
		.prose {
			font-size: 1.0625rem;
			line-height: 1.7;
		}
	}
}

/*
  EmDash's code, button, and file blocks ship scoped, unlayered styles.
  !important lets these few overrides win without copying their generated
  selectors.
*/
.prose .emdash-code pre {
	padding: 1rem 1.25rem !important;
	border-radius: var(--radius-lg) !important;
	background: var(--color-fill) !important;
}

.prose .emdash-code-filename + pre {
	border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
}

.prose .emdash-code code {
	color: var(--color-text) !important;
	font-family: var(--font-mono) !important;
	font-size: var(--font-size-sm) !important;
	line-height: 1.7;
}

.prose .emdash-code-filename {
	padding: 0.5rem 1.25rem !important;
	border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
	border-block-end: 1px solid var(--color-border);
	background: var(--color-fill-strong) !important;
	color: var(--color-text-secondary) !important;
	font-family: var(--font-mono) !important;
}

.prose .emdash-button {
	border-radius: var(--radius-full) !important;
}

.prose .emdash-file {
	border-radius: var(--radius-lg) !important;
}

/*
  theme.css -- your theme overrides. This is the file to edit to
  retheme the site.

  Every design token lives in src/styles/tokens.css (colors, type
  scale, spacing, layout, shadows) with its default value. Override any
  of them here: declarations in this file are unlayered, so they always
  beat the @layer base defaults in tokens.css.

  Colors are defined with light-dark(). Overriding with a plain color
  changes light and dark mode at once; use light-dark(<light>, <dark>)
  to set different values per mode.

  Set the three brand tokens together, as in the example below:
  --color-on-brand defaults to near-black in dark mode.

  Webfonts are loaded in astro.config.mjs (--font-body, --font-mono).
  Swap the loaded font there; use overrides here for system fonts or a
  separate heading face.

  Example:

  :root {
    --color-brand: light-dark(#0f766e, #2dd4bf);
    --color-brand-hover: light-dark(#115e59, #5eead4);
    --color-on-brand: light-dark(#ffffff, #0a0a0a);
    --font-heading: "Iowan Old Style", Georgia, serif;
    --radius-lg: 18px;
    --radius-xl: 24px;
  }
*/

:root {
}

.lc-hero__menu-toggle {
	background: transparent;
}

.lc-mobile-nav.is-open .lc-mobile-nav__overlay {
	opacity: 1;
}

.lc-mobile-nav.is-open .lc-mobile-nav__content {
	transform: none;
}

.lc-mobile-nav.is-open .lc-mobile-nav__list > li {
	opacity: 1;
	transform: none;
}
