/*
 * Liquid Curator — design tokens from design.md (High-End Editorial / Liquid Curator)
 */

:root {
  --lc-surface: #f8f9fb;
  --lc-surface-low: #f2f4f6;
  --lc-on-surface: #191c1e;
  --lc-primary: #3650c7;
  --lc-primary-soft: #526ae2;
  --lc-neutral: #5a5e6b;
  --lc-mesh: #6a82fb;
  --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);
  --lc-glass-search: rgba(255, 255, 255, 0.4);
  --lc-chip-bg: rgba(82, 106, 226, 0.12);
  --lc-radius-xl: 1.5rem;
  --lc-shadow: 0 12px 40px rgba(54, 80, 199, 0.08);
  --lc-inner-light: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  --lc-font-display: "Manrope", system-ui, -apple-system, sans-serif;
  --lc-font-body: "Inter", system-ui, -apple-system, sans-serif;
  --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: 1440px;
  --lc-input-border: rgba(54, 80, 199, 0.14);
  --lc-input-bg: rgba(255, 255, 255, 0.62);
  --lc-search-focus-bg: rgba(255, 255, 255, 0.72);
  --lc-placeholder: rgba(90, 94, 107, 0.72);
  --lc-elevated: rgba(255, 255, 255, 0.52);
  --lc-pill-bg: rgba(255, 255, 255, 0.55);
  --lc-border-divider: rgba(54, 80, 199, 0.1);
  --lc-thread-border: rgba(54, 80, 199, 0.18);
  --lc-reply-title-bg: rgba(255, 255, 255, 0.55);
  --lc-reply-title-border: rgba(54, 80, 199, 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(54, 80, 199, 0.28);
  --lc-island-bg: rgba(255, 255, 255, 0.55);
  --lc-color-switch-track: rgba(0, 0, 0, 0.07);
  --lc-postnav-card-bg: var(--lc-elevated);
  --lc-postnav-hover-ring: rgba(54, 80, 199, 0.2);
  --lc-postnav-wrap-border: rgba(54, 80, 199, 0.1);
}

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

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

@media (prefers-color-scheme: dark) {
  html[data-lc-color-scheme="auto"] {
    --lc-surface: #0f1115;
    --lc-surface-low: #151a22;
    --lc-on-surface: #e8eaef;
    --lc-neutral: #9aa3b2;
    --lc-mesh: #5c6fd4;
    --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(108, 132, 255, 0.2);
    --lc-shadow: 0 14px 44px rgba(0, 0, 0, 0.45);
    --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(180, 188, 204, 0.55);
    --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(120, 140, 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.07);
    --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);
  }
}

html[data-lc-color-scheme="dark"] {
  --lc-surface: #0f1115;
  --lc-surface-low: #151a22;
  --lc-on-surface: #e8eaef;
  --lc-neutral: #9aa3b2;
  --lc-mesh: #5c6fd4;
  --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(108, 132, 255, 0.2);
  --lc-shadow: 0 14px 44px rgba(0, 0, 0, 0.45);
  --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(180, 188, 204, 0.55);
  --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(120, 140, 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.07);
  --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);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

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);
}

.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(80px);
  opacity: var(--lc-mesh-blob-opacity);
  transform: translate3d(0, 0, 0);
}

.lc-mesh__blob--a {
  top: -8%;
  left: -6%;
}

.lc-mesh__blob--b {
  bottom: 10%;
  right: -4%;
  background: radial-gradient(circle at 70% 40%, #526ae2, transparent 60%);
}

.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);
}

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

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

.lc-frame {
  max-width: var(--lc-max);
  margin-left: auto;
  margin-right: auto;
  padding: 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(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--lc-shadow), var(--lc-inner-light);
  min-width: 0;
}

@media (min-width: 901px) {
  .lc-sidebar {
    position: fixed;
    top: var(--lc-space);
    bottom: var(--lc-space);
    left: calc((100vw - min(100vw, var(--lc-max))) / 2 + var(--lc-space));
    height: auto;
    overflow: visible;
  }

  .lc-sidebar__glass {
    height: 100%;
    max-height: none;
  }

  .lc-shell {
    margin-left: calc(var(--lc-sidebar-w) + clamp(16px, 2vw, 32px));
    width: auto;
    max-width: 100%;
    min-width: 0;
  }
}

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

.lc-shell {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.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(54, 80, 199, 0.15);
}

@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: 999px;
  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 rgba(54, 80, 199, 0.35);
  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 rgba(54, 80, 199, 0.35);
  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 10px 30px rgba(54, 80, 199, 0.22);
}

.lc-nav__link:hover,
.lc-nav > ul > li > a:hover {
  background: rgba(82, 106, 226, 0.1);
}

.lc-sidebar__islands {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 0.5rem;
}

.lc-island {
  padding: 1rem 1.1rem;
  border-radius: var(--lc-radius-xl);
  background: var(--lc-island-bg);
  border: 1px solid var(--lc-input-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.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(54, 80, 199, 0.38);
  pointer-events: none;
  transition: transform 0.22s cubic-bezier(0.22, 0.85, 0.32, 1);
  transform: translateX(calc(var(--lc-thumb-i) * 100%));
}

.lc-color-scheme__seg {
  position: relative;
  z-index: 2;
  flex: 1 1 0;
  min-width: 0;
  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.18s ease;
}

.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);
}

.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 40px;
  width: 40px;
  height: 40px;
  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 rgba(54, 80, 199, 0.45);
  outline-offset: 2px;
}

/* --- 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;
}

.lc-main__surface {
  background: var(--lc-surface-low);
  border-radius: var(--lc-radius-xl);
  padding: clamp(20px, 2vw, 40px);
  min-height: 60vh;
  box-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: 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:
    transform 0.25s ease,
    backdrop-filter 0.25s ease,
    box-shadow 0.25s ease;
}

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

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

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

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

.lc-js .lc-card.lc-glass:hover {
  transform: scale(1.02);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  box-shadow:
    0 18px 48px rgba(54, 80, 199, 0.12),
    var(--lc-inner-light);
}

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

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

/* --- 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-neutral);
}

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

.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: 24px;
}

.lc-post--row .lc-chips {
  position: absolute;
  z-index: 2;
  margin: 0 0 12px;
  top: -1px;
  left: 0;
}

.lc-post--row .lc-chips .lc-chip {
  position: relative;
  z-index: 2;
  padding: 0.28rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lc-neutral);
  background: var(--lc-chip-bg);
  border: 1px solid var(--lc-input-border);
  background: rgba(82, 106, 226, 0.82);
  color: #fff;
  border-radius: var(--lc-radius-xl) 0 var(--lc-radius-xl) 0;
}

/* Cover: large screen — flush top / left / bottom to card; only left corners rounded */
.lc-post__cover {
  flex: 0 0 auto;
  flex-shrink: 0;
  width: min(280px, max(168px, 32%));
  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__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:hover .lc-post__title {
  color: var(--lc-primary);
}

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

.lc-post--row .lc-post__headline {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

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

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

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

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

.lc-post__byline {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--lc-neutral);
  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-neutral);
  opacity: 0.55;
}

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

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

  .lc-post--row .lc-post__body {
    padding: 20px 24px 24px;
  }

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

  .lc-post__cover {
    width: 100%;
    max-width: none;
    align-self: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--lc-radius-xl) var(--lc-radius-xl) 0 0;
  }

  .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 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);
  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 8px 26px rgba(54, 80, 199, 0.25);
}

.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 12px 32px rgba(54, 80, 199, 0.28);
}

.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);
}

/* --- Projects --- */

.lc-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.lc-project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  overflow: hidden;
}

.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: var(--lc-shadow), var(--lc-inner-light);
  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-neutral);
  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 16px 40px rgba(54, 80, 199, 0.14),
    var(--lc-inner-light);
}

.lc-project-single {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.lc-project-single__head {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
}

.lc-project-single__logo-wrap {
  flex: 0 0 112px;
}

.lc-project-single__logo,
.lc-project-single__logo-fallback {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 22px;
  box-shadow: var(--lc-shadow), 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__heading {
  flex: 1 1 360px;
  min-width: 0;
}

.lc-project-single__heading h1 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
}

.lc-project-single__intro {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--lc-neutral);
}

.lc-project-single__actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.lc-project-single__section + .lc-project-single__section {
  padding-top: 18px;
  border-top: 1px solid var(--lc-border-divider);
}

.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-neutral);
}

.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--corner {
  min-width: 132px;
  justify-content: center;
  padding: 0.3rem 0.65rem;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  border-radius: 0;
  box-shadow: var(--lc-inner-light);
}

.lc-project-card__corner,
.lc-project-single__corner {
  position: absolute;
  top: 14px;
  right: -36px;
  z-index: 3;
  transform: rotate(36deg);
  transform-origin: center;
  pointer-events: none;
}

.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: #3650c7;
  background: rgba(82, 106, 226, 0.18);
  border-color: rgba(82, 106, 226, 0.3);
}

.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: hidden;
}

.lc-project-videos__player .wp-video {
  width: 100% !important;
  max-width: 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 .wp-video .mejs-container,
.lc-project-videos__player .wp-video .mejs-overlay,
.lc-project-videos__player .wp-video .mejs-mediaelement {
  max-width: 100% !important;
  width: 100% !important;
}

.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,
.lc-project-videos__player .mejs-container {
  aspect-ratio: 16 / 9;
  height: auto !important;
}

/* --- 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 1rem 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;
}

.lc-comment-form .comment-form-author,
.lc-comment-form .comment-form-email,
.lc-comment-form .comment-form-url,
.lc-comment-form .comment-form-comment {
  margin-bottom: 0.85rem;
}

.lc-comment-form label {
  display: block;
  font-family: var(--lc-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lc-neutral);
  margin-bottom: 0.35rem;
}

.lc-comment-form .required {
  color: var(--lc-primary);
  font-weight: 700;
}

.lc-comment-form .logged-in-as {
  font-family: var(--lc-font-body);
  font-size: 0.85rem;
  margin: 0 0 1rem;
  color: var(--lc-on-surface);
}

.lc-comment-form .logged-in-as a {
  color: var(--lc-primary);
  font-weight: 600;
  text-decoration: none;
}

.lc-comment-form .logged-in-as a:hover {
  text-decoration: underline;
}

.lc-comment-form .comment-form-cookies-consent {
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 0 0 1rem;
  color: var(--lc-on-surface);
}

.lc-comment-form .comment-form-cookies-consent label {
  display: inline;
  font-family: inherit;
  font-size: inherit;
  text-transform: none;
  letter-spacing: normal;
  margin: 0;
  color: inherit;
}

.lc-comment-form input[type="text"],
.lc-comment-form input[type="email"],
.lc-comment-form input[type="url"],
.lc-comment-form textarea,
.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);
}

.lc-comment-form textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}

.lc-comment-form .form-submit {
  margin: 0.5rem 0 0;
  padding: 0;
}

.lc-comment-form input:focus,
.lc-comment-form textarea:focus,
.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);
}

/* --- 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,
.widget_liquid_curator_tag_cloud .lc-tagcloud,
.widget_liquid_curator_category_cloud .lc-tagcloud {
  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,
.widget_liquid_curator_tag_cloud .lc-tagcloud__link,
.widget_liquid_curator_category_cloud .lc-tagcloud__link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-family: var(--lc-font-mono);
  font-weight: 500;
  text-decoration: none;
  color: var(--lc-on-surface);
  background: var(--lc-chip-bg);
  box-shadow: var(--lc-inner-light);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  max-width: 100%;
  font-size: 0.8rem;
}

.widget_liquid_curator_tag_cloud a.lc-tagcloud__link:hover,
.widget_liquid_curator_category_cloud a.lc-tagcloud__link:hover {
  text-decoration: none;
}

.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,
.widget_liquid_curator_tag_cloud .lc-tagcloud__link:hover,
.widget_liquid_curator_tag_cloud .lc-tagcloud__link:focus-visible,
.widget_liquid_curator_category_cloud .lc-tagcloud__link:hover,
.widget_liquid_curator_category_cloud .lc-tagcloud__link:focus-visible {
  color: #fff;
  background: linear-gradient(
    120deg,
    var(--lc-primary),
    var(--lc-primary-soft)
  );
  box-shadow: 0 8px 26px rgba(54, 80, 199, 0.25);
  outline: none;
  transform: translateY(-1px);
}

/* 经典标签云字号由插件生成：用 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;
}

.widget_liquid_curator_tag_cloud .lc-tagcloud__count,
.widget_liquid_curator_category_cloud .lc-tagcloud__count {
  margin-left: 0.2em;
  font-size: 0.72em;
  font-weight: 500;
  opacity: 0.72;
  font-variant-numeric: tabular-nums;
}

/* --- 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;
  color: var(--lc-on-surface);
}

.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: 700;
  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;
}

/* --- Liquid Curator · WP Statistics 小工具（API 自绘） --- */

.widget_liquid_curator_wp_statistics .lc-wp-stats {
  margin: 0;
}

.widget_liquid_curator_wp_statistics .lc-wp-stats--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.widget_liquid_curator_wp_statistics .lc-wp-stats--grid.lc-wp-stats--single {
  grid-template-columns: 1fr;
}

.widget_liquid_curator_wp_statistics .lc-wp-stats__tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.9rem 0.75rem;
  border-radius: 1rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.65),
    rgba(82, 106, 226, 0.07)
  );
  box-shadow:
    var(--lc-inner-light),
    0 8px 24px rgba(54, 80, 199, 0.06);
  min-width: 0;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.widget_liquid_curator_wp_statistics .lc-wp-stats__tile:hover {
  box-shadow:
    var(--lc-inner-light),
    0 12px 32px rgba(54, 80, 199, 0.1);
  transform: translateY(-1px);
}

.widget_liquid_curator_wp_statistics .lc-wp-stats__value {
  font-family: var(--lc-font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-variant-numeric: tabular-nums;
  background: linear-gradient(
    125deg,
    var(--lc-primary) 0%,
    var(--lc-primary-soft) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.widget_liquid_curator_wp_statistics .lc-wp-stats__label {
  font-family: var(--lc-font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lc-neutral);
  line-height: 1.35;
}

@media (prefers-reduced-motion: reduce) {
  .widget_liquid_curator_wp_statistics .lc-wp-stats__tile {
    transition: none;
  }

  .widget_liquid_curator_wp_statistics .lc-wp-stats__tile:hover {
    transform: none;
  }
}

/* --- Liquid Curator · Site uptime 小工具 --- */

.widget_liquid_curator_site_uptime .lc-site-uptime {
  margin: 0;
}

.widget_liquid_curator_site_uptime .lc-site-uptime__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  text-align: center;
}

.widget_liquid_curator_site_uptime .lc-site-uptime__hero--future {
  margin-bottom: 0;
}

.widget_liquid_curator_site_uptime .lc-site-uptime__orbit {
  position: relative;
  width: 56px;
  height: 56px;
  color: var(--lc-primary);
  filter: drop-shadow(0 6px 18px rgba(82, 106, 226, 0.28));
}

.widget_liquid_curator_site_uptime .lc-site-uptime__orbit-ring-svg,
.widget_liquid_curator_site_uptime .lc-site-uptime__orbit-core {
  position: absolute;
  inset: 0;
  display: block;
}

.widget_liquid_curator_site_uptime .lc-site-uptime__orbit-ring-svg {
  transform-origin: 28px 28px;
  animation: lc-uptime-orbit-spin 56s linear infinite;
}

.widget_liquid_curator_site_uptime .lc-site-uptime__orbit-hand {
  transform-origin: 28px 28px;
  animation: lc-uptime-hand 5s ease-in-out infinite;
}

.widget_liquid_curator_site_uptime
  .lc-site-uptime__orbit--pulse
  .lc-site-uptime__orbit-ring-svg {
  animation:
    lc-uptime-orbit-spin 56s linear infinite,
    lc-uptime-future-pulse 2.4s ease-in-out infinite;
}

.widget_liquid_curator_site_uptime .lc-site-uptime__tagline {
  margin: 0;
  font-family: var(--lc-font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--lc-neutral);
}

.widget_liquid_curator_site_uptime .lc-site-uptime__future-msg {
  margin: 0.75rem 0 0;
  font-family: var(--lc-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: center;
  color: var(--lc-neutral);
}

.widget_liquid_curator_site_uptime .lc-site-uptime__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.widget_liquid_curator_site_uptime .lc-site-uptime__grid--single {
  grid-template-columns: 1fr;
}

.widget_liquid_curator_site_uptime
  .lc-site-uptime__grid--cols
  .lc-site-uptime__tile:nth-child(odd):last-child {
  grid-column: 1 / -1;
  max-width: 100%;
}

.widget_liquid_curator_site_uptime .lc-site-uptime__tile {
  --lc-u-i: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 0.75rem;
  border-radius: 1rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.65),
    rgba(82, 106, 226, 0.08)
  );
  box-shadow:
    var(--lc-inner-light),
    0 8px 24px rgba(54, 80, 199, 0.07);
  min-width: 0;
  opacity: 0;
  animation: lc-uptime-tile-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.06s * var(--lc-u-i));
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.widget_liquid_curator_site_uptime .lc-site-uptime__tile:hover {
  box-shadow:
    var(--lc-inner-light),
    0 12px 32px rgba(54, 80, 199, 0.12);
  transform: translateY(-2px);
}

.widget_liquid_curator_site_uptime .lc-site-uptime__value {
  position: relative;
  font-family: var(--lc-font-display);
  font-weight: 800;
  font-size: clamp(1.45rem, 4.5vw, 1.95rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(
    125deg,
    var(--lc-primary) 0%,
    var(--lc-primary-soft) 55%,
    var(--lc-primary) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lc-uptime-shimmer 7s ease-in-out infinite;
}

.widget_liquid_curator_site_uptime
  .lc-site-uptime__tile[data-unit="s"]
  .lc-site-uptime__value {
  animation:
    lc-uptime-shimmer 7s ease-in-out infinite,
    lc-uptime-sec-pulse 1s ease-in-out infinite;
}

.widget_liquid_curator_site_uptime .lc-site-uptime__label {
  font-family: var(--lc-font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lc-neutral);
  line-height: 1.35;
}

.widget_liquid_curator_site_uptime .lc-site-uptime__since-wrap {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(82, 106, 226, 0.12);
}

.widget_liquid_curator_site_uptime .lc-site-uptime__since {
  margin: 0;
  font-family: var(--lc-font-mono);
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--lc-neutral);
}

.widget_liquid_curator_site_uptime .lc-site-uptime__since-label {
  margin-right: 0.35em;
  opacity: 0.85;
}

@keyframes lc-uptime-orbit-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes lc-uptime-hand {
  0%,
  100% {
    transform: rotate(-6deg);
  }

  50% {
    transform: rotate(10deg);
  }
}

@keyframes lc-uptime-future-pulse {
  0%,
  100% {
    opacity: 1;
    filter: drop-shadow(0 6px 18px rgba(82, 106, 226, 0.28));
  }

  50% {
    opacity: 0.82;
    filter: drop-shadow(0 2px 10px rgba(82, 106, 226, 0.15));
  }
}

@keyframes lc-uptime-tile-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lc-uptime-shimmer {
  0%,
  100% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }
}

@keyframes lc-uptime-sec-pulse {
  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .widget_liquid_curator_site_uptime .lc-site-uptime__orbit-ring-svg,
  .widget_liquid_curator_site_uptime .lc-site-uptime__orbit-hand,
  .widget_liquid_curator_site_uptime
    .lc-site-uptime__orbit--pulse
    .lc-site-uptime__orbit-ring-svg {
    animation: none;
  }

  .widget_liquid_curator_site_uptime .lc-site-uptime__tile {
    animation: none;
    opacity: 1;
  }

  .widget_liquid_curator_site_uptime .lc-site-uptime__value {
    animation: none;
  }

  .widget_liquid_curator_site_uptime
    .lc-site-uptime__tile[data-unit="s"]
    .lc-site-uptime__value {
    animation: none;
  }

  .widget_liquid_curator_site_uptime .lc-site-uptime__tile:hover {
    transform: none;
  }
}

/* --- Liquid Curator · Contact links 小工具 --- */

.widget_liquid_curator_contact_links .lc-contact-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.widget_liquid_curator_contact_links .lc-contact-links__item {
  margin: 0;
}

.widget_liquid_curator_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-ink, inherit);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.55),
    rgba(82, 106, 226, 0.06)
  );
  box-shadow:
    var(--lc-inner-light),
    0 4px 16px rgba(54, 80, 199, 0.05);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.widget_liquid_curator_contact_links .lc-contact-links__link:hover,
.widget_liquid_curator_contact_links .lc-contact-links__link:focus-visible {
  box-shadow:
    var(--lc-inner-light),
    0 8px 22px rgba(54, 80, 199, 0.1);
  transform: translateY(-1px);
  color: var(--lc-primary);
  outline: none;
}

.widget_liquid_curator_contact_links .lc-contact-links__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: var(--lc-primary);
  opacity: 0.95;
}

.widget_liquid_curator_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_liquid_curator_contact_links .lc-contact-links__link {
    transition: none;
  }

  .widget_liquid_curator_contact_links .lc-contact-links__link:hover,
  .widget_liquid_curator_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-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: 1280px) {
  .lc-project-grid {
    grid-template-columns: 1fr;
  }
}

@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-stage {
    grid-template-columns: 1fr;
    padding-right: var(--lc-space);
  }

  body.has-right-sidebar .lc-widgets__inner {
    position: static;
  }
}

@media (max-width: 900px) {
  .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-shell::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-menu-toggle {
    display: inline-flex;
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 60;
  }

  .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: 50;
    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 16px 24px;
    position: relative;
    z-index: 1;
  }

  .lc-main__surface {
    padding: 18px;
  }

  .lc-card {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lc-card,
  .lc-cta,
  .lc-chip,
  .lc-sidebar__glass {
    transition: none !important;
  }

  .lc-js .lc-card.lc-glass:hover {
    transform: 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 #ccc;
  border-radius: 1.5rem;
  background-color: #fff;
  box-shadow: 0 0 5px #aaa;
  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;
}
