/* --- 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(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--lc-border-divider);
  border-radius: var(--lc-radius-xl);
  padding: clamp(16px, 1.75vw, 32px);
  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.35s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    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;
}

/*
 * 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 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: 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.2s ease;
}

.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.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.lc-post--row:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(54, 80, 199, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .lc-post--row:hover {
    transform: none;
  }
}

.lc-post--row .lc-post__title {
  transition: color 0.2s ease;
}

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

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

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

