:root {
  --color-bg: #f7f5ef;
  --color-surface: #ffffff;
  --color-surface-muted: #eef3ef;
  --color-text: #18201e;
  --color-muted: #63716d;
  --color-border: #d9e1dc;
  --color-primary: #27675d;
  --color-primary-dark: #1d4f47;
  --color-accent: #d99a3d;
  --color-blue: #526fd6;
  --shadow-soft: 0 18px 44px rgba(31, 45, 42, 0.1);
  --radius-sm: 6px;
  --radius-md: 8px;
  --container: min(1120px, calc(100vw - 48px));
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--color-bg);
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0) 260px),
    var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button,
[data-card-link] {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
[data-card-link]:focus-visible {
  outline: 3px solid rgba(39, 103, 93, 0.28);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 72px;
  margin: 0;
  padding-right: max(24px, calc((100vw - 1120px) / 2));
  padding-left: max(24px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(217, 225, 220, 0.72);
  background: rgba(247, 245, 239, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #ffffff;
  line-height: 1;
}

.brand__text {
  font-size: 18px;
}

.site-nav {
  gap: 4px;
}

.site-nav__link {
  min-width: 58px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  background: var(--color-surface-muted);
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--color-text);
}

.hero,
.section,
.page-heading,
.article {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 424px;
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 112px);
  padding: 48px 0 72px;
}

.hero h1,
.page-heading h1,
.article__header h1 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.08;
}

.hero h1 {
  max-width: 720px;
  font-size: 72px;
}

.hero__summary,
.page-heading p {
  max-width: 680px;
  color: var(--color-muted);
  font-size: 18px;
}

.hero__summary {
  margin: 24px 0 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__visual {
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 800;
  line-height: 1;
}

.button--primary {
  background: var(--color-primary);
  color: #ffffff;
}

.button--primary:hover {
  background: var(--color-primary-dark);
}

.button--ghost {
  border-color: var(--color-border);
  background: var(--color-surface);
}

.button--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.section {
  padding: 72px 0;
}

.section--compact {
  padding-top: 32px;
}

.section--muted {
  width: 100%;
  padding-right: max(24px, calc((100vw - 1120px) / 2));
  padding-left: max(24px, calc((100vw - 1120px) / 2));
  background: var(--color-surface-muted);
}

.section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section__header h2,
.panel h2,
.prose h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.22;
}

.text-link {
  color: var(--color-primary);
  font-weight: 800;
  white-space: nowrap;
}

.post-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.post-list {
  display: grid;
  gap: 16px;
}

.post-grid.featured-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  grid-auto-rows: minmax(218px, auto);
  gap: 20px;
}

.featured-card {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 218px;
  overflow: hidden;
  border: 1px solid rgba(39, 103, 93, 0.16);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 239, 0.92)),
    var(--color-surface);
  box-shadow: 0 12px 36px rgba(31, 45, 42, 0.08);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.featured-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(39, 103, 93, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 103, 93, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  mask-image: linear-gradient(90deg, transparent 0, #000 26%, #000 100%);
}

.featured-card--lead {
  grid-row: span 2;
  grid-template-columns: 1fr;
  min-height: 456px;
}

.featured-card--clickable:hover {
  border-color: rgba(39, 103, 93, 0.58);
  box-shadow: 0 22px 56px rgba(31, 45, 42, 0.14);
  transform: translateY(-3px);
}

.featured-card__cover {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100%;
  overflow: hidden;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(39, 103, 93, 0.96), rgba(82, 111, 214, 0.82)),
    var(--color-primary);
}

.featured-card--lead .featured-card__cover {
  aspect-ratio: 16 / 9;
  min-height: 246px;
}

.featured-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    filter 240ms ease,
    transform 420ms ease;
}

.featured-card--clickable:hover .featured-card__cover img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.045);
}

.featured-card__cover-fallback {
  color: rgba(255, 255, 255, 0.86);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.featured-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
}

.featured-card--lead .featured-card__content {
  padding: 28px;
}

.featured-card__kicker,
.featured-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
}

.featured-card__kicker a {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(39, 103, 93, 0.1);
  color: var(--color-primary-dark);
  line-height: 1.35;
}

.featured-card__kicker a:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.featured-card__number {
  color: var(--color-accent);
  text-transform: uppercase;
}

.featured-card h3 {
  margin: 14px 0 10px;
  font-size: 22px;
  line-height: 1.26;
}

.featured-card--lead h3 {
  max-width: 680px;
  font-size: 34px;
  line-height: 1.18;
}

.featured-card h3 a:hover {
  color: var(--color-primary-dark);
}

.featured-card p {
  display: -webkit-box;
  margin: 0 0 20px;
  overflow: hidden;
  color: var(--color-muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.featured-card:not(.featured-card--lead) p {
  -webkit-line-clamp: 2;
}

.featured-card__meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(39, 103, 93, 0.14);
}

.featured-card__read {
  margin-left: auto;
  color: var(--color-primary);
  font-weight: 900;
}

.featured-card__read:hover {
  color: var(--color-primary-dark);
}

.post-card,
.panel,
.author-card,
.prose--boxed,
.category-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.post-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 268px;
  padding: 24px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.post-list .post-card {
  grid-template-columns: 1fr 280px;
  grid-template-rows: 1fr;
  min-height: 220px;
  padding: 0;
  overflow: hidden;
}

.post-card--clickable:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.post-card__cover {
  position: relative;
  overflow: hidden;
  background: var(--color-surface-muted);
  order: 1;
}

.post-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.post-card--clickable:hover .post-card__cover img {
  transform: scale(1.05);
}

.post-card__cover--empty {
  background: transparent;
}

.post-card__body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: 20px 24px;
}

.post-card h3 {
  margin: 14px 0 10px;
  font-size: 22px;
  line-height: 1.3;
}

.post-card h3 a:hover,
.text-link:hover,
.social-links a:hover {
  color: var(--color-primary-dark);
}

.post-card p {
  margin: 0;
  color: var(--color-muted);
}

.post-card__meta,
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.post-card__meta a,
.article__meta a {
  color: var(--color-primary);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #edf3f1;
  color: var(--color-primary-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.tag:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.read-more {
  align-self: end;
  width: fit-content;
  margin-top: 18px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 900;
}

.read-more:hover {
  color: var(--color-primary-dark);
}

.split-layout,
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 16px;
}

.panel,
.author-card,
.prose--boxed {
  padding: 28px;
}

.panel--accent {
  border-color: #ebd2aa;
  background: #fff7ea;
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.topic-list a {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-weight: 700;
}

.topic-list a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.subscribe-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 24px;
}

.subscribe-form input {
  min-width: 0;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font: inherit;
}

.subscribe-form.is-submitted::after {
  content: "已记录订阅信息";
  grid-column: 1 / -1;
  color: var(--color-primary);
  font-weight: 800;
}

.page-heading {
  padding: 72px 0 20px;
}

.page-heading h1,
.article__header h1 {
  font-size: 56px;
}

.page-heading--center {
  text-align: center;
}

.page-heading--center p {
  margin-right: auto;
  margin-left: auto;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-chip {
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-muted);
  font-weight: 800;
  line-height: 1.4;
}

.filter-chip.is-active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
}

.filter-chip:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.filter-chip.is-active:hover {
  color: #ffffff;
}

.category-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 112px;
  padding: 20px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.category-card.is-active,
.category-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-soft);
}

/* 分类页面文章网格 */
.category-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.category-posts-grid .post-card {
  grid-template-columns: 1fr;
  grid-template-rows: 220px 1fr;
  min-height: auto;
  padding: 0;
  overflow: hidden;
}

.category-posts-grid .post-card__cover {
  order: 0;
}

.category-posts-grid .post-card__cover img {
  transition: transform 400ms ease;
}

.category-posts-grid .post-card:hover .post-card__cover img {
  transform: scale(1.08);
}

.category-posts-grid .post-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px 20px;
}

.category-posts-grid .post-card__title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.category-posts-grid .post-card__title-row h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

.category-posts-grid .post-card__title-row h3 a {
  color: var(--color-text);
}

.category-posts-grid .post-card__title-row h3 a:hover {
  color: var(--color-primary-dark);
}

.category-posts-grid .post-card__read-time {
  flex-shrink: 0;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.category-posts-grid .post-card__category a {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--color-surface-muted);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
}

.category-posts-grid .post-card__category a:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.category-posts-grid .post-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

.category-posts-grid .post-card__footer time {
  color: var(--color-muted);
  font-size: 14px;
}

.category-posts-grid .post-card__footer .read-more {
  margin-top: 0;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 800;
}

.category-posts-grid .post-card__footer .read-more:hover {
  color: var(--color-primary-dark);
}

.category-card__count {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--color-surface-muted);
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 900;
}

.category-card__body {
  display: grid;
  gap: 4px;
}

.category-card strong {
  font-size: 20px;
  line-height: 1.25;
}

.category-card small {
  color: var(--color-muted);
  font-size: 13px;
}

/* 阅读进度条 */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #3a8a7e, var(--color-accent));
  z-index: 100;
  transition: width 120ms ease-out;
  border-radius: 0 2px 0 0;
  box-shadow: 0 1px 8px rgba(39, 103, 93, 0.25);
}

/* 文章详情页布局 */
.article-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px max(24px, calc((100vw - 1200px) / 2)) 72px;
  position: relative;
}

/* 左侧目录侧边栏 */
.article-toc {
  position: sticky;
  top: 100px;
  height: fit-content;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.article-toc::-webkit-scrollbar {
  width: 4px;
}

.article-toc::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

.article-toc__inner {
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(217, 225, 220, 0.7);
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(31, 45, 42, 0.06), 0 1px 3px rgba(31, 45, 42, 0.04);
  transition: box-shadow 300ms ease;
}

.article-toc__inner:hover {
  box-shadow: 0 8px 32px rgba(31, 45, 42, 0.1), 0 2px 6px rgba(31, 45, 42, 0.06);
}

.article-toc__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 700;
}

.article-toc__header-icon {
  display: flex;
  align-items: center;
  color: var(--color-primary);
}

.article-toc__count {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--color-surface-muted);
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 700;
}

.article-toc__nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
}

.article-toc__nav::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--color-border);
  border-radius: 0.5px;
  z-index: 0;
}

.article-toc__link {
  position: relative;
  z-index: 1;
  display: block;
  padding: 7px 12px 7px 24px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  border-radius: var(--radius-sm);
  transition: all 220ms ease;
}

.article-toc__link::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--color-border);
  transition: all 220ms ease;
  z-index: 2;
}

.article-toc__link:hover {
  color: var(--color-primary-dark);
  background: rgba(39, 103, 93, 0.04);
}

.article-toc__link:hover::before {
  border-color: var(--color-primary);
  background: rgba(39, 103, 93, 0.15);
}

.article-toc__link.is-active {
  color: var(--color-primary);
  background: rgba(39, 103, 93, 0.07);
  font-weight: 650;
}

.article-toc__link.is-active::before {
  border-color: var(--color-primary);
  background: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(39, 103, 93, 0.15);
  width: 8px;
  height: 8px;
  left: 7.5px;
}

.article-toc__link[data-level="3"] {
  padding-left: 38px;
  font-size: 12px;
}

.article-toc__link[data-level="3"]::before {
  left: 22px;
  width: 5px;
  height: 5px;
}

.article-toc__link[data-level="3"].is-active::before {
  width: 6px;
  height: 6px;
  left: 21.5px;
}

.article-toc__link[data-level="4"] {
  padding-left: 52px;
  font-size: 11px;
}

.article-toc__link[data-level="4"]::before {
  left: 36px;
  width: 4px;
  height: 4px;
}

.article-toc__link[data-level="4"].is-active::before {
  width: 5px;
  height: 5px;
  left: 35.5px;
}

.article-toc__link[data-level="5"] {
  padding-left: 64px;
  font-size: 11px;
}

.article-toc__link[data-level="5"]::before {
  left: 48px;
  width: 3px;
  height: 3px;
}

.article-toc__link[data-level="5"].is-active::before {
  width: 4px;
  height: 4px;
  left: 47.5px;
}

/* TOC Progress Ring */
.article-toc__progress {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: center;
}

.article-toc__progress-ring {
  position: relative;
  width: 48px;
  height: 48px;
}

.article-toc__progress-ring svg {
  width: 48px;
  height: 48px;
  transform: rotate(-90deg);
}

.article-toc__progress-ring-bg {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 2.5;
}

.article-toc__progress-ring-fill {
  fill: none;
  stroke: url(#tocGradient);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 300ms ease;
}

.article-toc__progress-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

/* 文章详情页 */
.article {
  width: 100%;
  max-width: 780px;
  padding: 0;
  margin: 0;
}

/* 浮动操作栏 */
.article-float-bar {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(217, 225, 220, 0.6);
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(31, 45, 42, 0.1), 0 1px 4px rgba(31, 45, 42, 0.06);
  opacity: 0;
  visibility: hidden;
  transition: all 350ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 90;
}

.article-float-bar.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.article-float-bar__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
  position: relative;
}

.article-float-bar__btn:hover {
  color: var(--color-primary);
  background: rgba(39, 103, 93, 0.06);
}

.article-float-bar__btn:active {
  transform: scale(0.95);
}

.article-float-bar__btn.is-active {
  color: var(--color-primary);
  background: rgba(39, 103, 93, 0.1);
}

.article-float-bar__btn svg {
  flex-shrink: 0;
  transition: transform 200ms ease;
}

.article-float-bar__btn:hover svg {
  transform: scale(1.1);
}

.article-float-bar__btn.is-active svg {
  fill: var(--color-primary);
}

/* 分隔线 */
.article-float-bar__divider {
  width: 1px;
  height: 20px;
  background: var(--color-border);
  margin: 0 4px;
  border-radius: 0.5px;
}

.article__header {
  margin-bottom: 44px;
  text-align: left;
  position: relative;
}

.article__header::before {
  content: "";
  position: absolute;
  top: 0;
  left: -24px;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-primary) 0%, #3a8a7e 40%, var(--color-accent) 100%);
  border-radius: 2px;
  opacity: 0.8;
}

.article__back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 600;
  transition: all 250ms ease;
  padding: 6px 14px;
  border-radius: 20px;
  background: transparent;
}

.article__back-link:hover {
  color: var(--color-primary);
  background: rgba(39, 103, 93, 0.06);
  transform: translateX(-3px);
}

.article__back-link::before {
  content: "←";
  font-size: 16px;
  transition: transform 250ms ease;
}

.article__back-link:hover::before {
  transform: translateX(-2px);
}

.article__header h1 {
  margin: 0 0 28px;
  font-size: 44px;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-text);
  background: linear-gradient(135deg, #18201e 0%, #1a3a35 35%, var(--color-primary-dark) 70%, #1d4f47 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
  padding: 16px 22px;
  background: linear-gradient(135deg, rgba(238, 243, 239, 0.7), rgba(255, 255, 255, 0.7));
  border-radius: 12px;
  border: 1px solid rgba(217, 225, 220, 0.6);
  backdrop-filter: blur(6px);
}

.article__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 600;
}

.article__meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  opacity: 0.8;
  flex-shrink: 0;
}

.article__meta-item a {
  color: var(--color-primary);
  font-weight: 700;
  transition: color 200ms ease;
}

.article__meta-item a:hover {
  color: var(--color-primary-dark);
}

.article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

/* 文章封面图 */
.article__cover-wrapper {
  position: relative;
  margin-bottom: 52px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(31, 45, 42, 0.15), 0 4px 16px rgba(31, 45, 42, 0.08);
  transition: box-shadow 400ms ease, transform 400ms ease;
  cursor: pointer;
}

.article__cover-wrapper:hover {
  box-shadow: 0 24px 72px rgba(31, 45, 42, 0.2), 0 6px 20px rgba(31, 45, 42, 0.1);
  transform: translateY(-2px);
}

.article__cover-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
  pointer-events: none;
  z-index: 1;
}

.article__cover {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}

.article__cover-wrapper:hover .article__cover {
  transform: scale(1.02);
}

.article__cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
}

/* 图片查看器遮罩 */
.image-viewer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 300ms ease;
  cursor: zoom-out;
}

.image-viewer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.image-viewer-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: scale(0.9);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.image-viewer-overlay.is-open img {
  transform: scale(1);
}

/* 文章内容排版 */
.prose {
  color: #2d3730;
  font-size: 18px;
  line-height: 1.88;
  letter-spacing: 0.008em;
  word-break: break-word;
}

.prose > * + * {
  margin-top: 1.6em;
}

.prose p {
  margin: 0;
}

/* 首段大字 — drop cap style */
.prose > p:first-of-type {
  font-size: 19px;
  line-height: 1.9;
  color: #222d29;
}

.prose > p:first-of-type::first-letter {
  float: left;
  font-size: 3.6em;
  font-weight: 900;
  line-height: 0.75;
  padding-right: 10px;
  padding-top: 4px;
  color: var(--color-primary);
  letter-spacing: -0.03em;
}

.prose h2 {
  margin: 2.8em 0 0.8em;
  padding-bottom: 0.5em;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-border);
  position: relative;
}

.prose h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 2.2em 0 0.6em;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  padding-left: 14px;
  border-left: 3px solid var(--color-primary);
}

.prose h4 {
  margin: 1.8em 0 0.5em;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
}

.prose strong {
  font-weight: 700;
  color: #18201e;
}

.prose em {
  font-style: italic;
}

.prose a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(39, 103, 93, 0.25);
  text-underline-offset: 4px;
  transition: all 200ms ease;
}

.prose a:hover {
  text-decoration-color: var(--color-primary);
  color: var(--color-primary-dark);
}

/* 引用块 */
.prose blockquote {
  margin: 2em 0;
  padding: 24px 28px;
  border-left: 4px solid var(--color-primary);
  background: linear-gradient(135deg, rgba(238, 243, 239, 0.6), rgba(255, 255, 255, 0.4));
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--color-muted);
  position: relative;
  box-shadow: 0 2px 12px rgba(31, 45, 42, 0.04);
}

.prose blockquote::before {
  content: """;
  position: absolute;
  top: -12px;
  left: 16px;
  font-size: 52px;
  font-weight: 900;
  color: var(--color-primary);
  opacity: 0.15;
  font-style: normal;
  line-height: 1;
  font-family: Georgia, serif;
}

.prose blockquote p:first-child {
  margin-top: 0;
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.prose ul,
.prose ol {
  margin: 1.4em 0;
  padding-left: 1.6em;
}

.prose li {
  margin: 0.55em 0;
  padding-left: 2px;
}

.prose li::marker {
  color: var(--color-primary);
  font-weight: 600;
}

/* 行内代码 */
.prose code {
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(238, 243, 239, 0.8);
  font-family: "SF Mono", "Fira Code", "Cascadia Code", Consolas, monospace;
  font-size: 0.88em;
  color: var(--color-primary-dark);
  border: 1px solid rgba(217, 225, 220, 0.5);
}

/* 代码块 */
.prose pre {
  margin: 2em 0;
  padding: 24px 28px;
  border-radius: 12px;
  background: #1a1f2e;
  overflow-x: auto;
  line-height: 1.7;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
}

.prose pre::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 16px;
  display: flex;
  gap: 6px;
}

.prose pre code {
  padding: 0;
  background: transparent;
  color: #c9d1d9;
  font-size: 14px;
  border: none;
  font-family: "SF Mono", "Fira Code", "Cascadia Code", Consolas, monospace;
}

/* 代码块语言标签（通过 data-lang 属性） */
.prose pre[data-lang]::after {
  content: attr(data-lang);
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-sans);
}

.prose hr {
  margin: 3em 0;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border) 20%, var(--color-border) 80%, transparent);
}

/* 文章内容图片样式 */
.prose img {
  max-width: 100%;
  height: auto;
  margin: 2.2em auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 350ms ease, box-shadow 350ms ease;
  cursor: zoom-in;
}

.prose img:hover {
  transform: scale(1.015);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.16);
}

.prose figure {
  margin: 2.8em 0;
}

.prose figure img {
  margin: 0;
}

.prose figcaption {
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 14px;
  text-align: center;
  font-style: italic;
}

.prose a img {
  border: 3px solid var(--color-primary);
}

/* 表格样式 */
.prose table {
  width: 100%;
  margin: 2em 0;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-border);
}

.prose th,
.prose td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.prose th {
  background: linear-gradient(180deg, #eef3ef, #e4ede8);
  font-weight: 700;
  color: var(--color-text);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.prose td {
  background: var(--color-surface);
}

.prose tr:last-child td {
  border-bottom: none;
}

.prose tr:nth-child(even) td {
  background: rgba(238, 243, 239, 0.4);
}

.prose tr:hover td {
  background: rgba(39, 103, 93, 0.04);
}

/* 文章底部导航 */
.article-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 72px;
  padding-top: 44px;
  border-top: 1px solid var(--color-border);
}

.article-nav__link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 28px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  transition: all 280ms cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.article-nav__link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(39, 103, 93, 0.04), transparent);
  opacity: 0;
  transition: opacity 280ms ease;
}

.article-nav__link:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(39, 103, 93, 0.1);
  transform: translateY(-3px);
}

.article-nav__link:hover::before {
  opacity: 1;
}

.article-nav__link--prev {
  align-items: flex-start;
}

.article-nav__link--next {
  align-items: flex-end;
  text-align: right;
}

.article-nav__label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.article-nav__link--next .article-nav__label {
  flex-direction: row-reverse;
}

.article-nav__label::before {
  content: "←";
  font-size: 14px;
}

.article-nav__link--next .article-nav__label::before {
  content: "→";
}

.article-nav__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  transition: color 200ms ease;
}

.article-nav__link:hover .article-nav__title {
  color: var(--color-primary);
}

/* 文章结尾标识 */
.article__end {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 56px 0 20px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.article__end::before,
.article__end::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.article__end::before {
  background: linear-gradient(90deg, transparent, var(--color-border));
}

.article__end::after {
  background: linear-gradient(90deg, var(--color-border), transparent);
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(39, 103, 93, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 350ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 90;
  cursor: pointer;
  border: none;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(39, 103, 93, 0.45);
}

.back-to-top:active {
  transform: translateY(-2px) scale(0.95);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  transition: transform 200ms ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

.author-card {
  align-self: start;
}

.author-card__avatar {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--color-blue);
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
}

.author-card h2 {
  margin: 20px 0 8px;
}

.author-card p {
  margin: 0;
  color: var(--color-muted);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  color: var(--color-primary);
  font-weight: 800;
}

.empty-state {
  padding: 64px 0;
  text-align: center;
}

.site-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 34px 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
    padding-top: 40px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero__visual {
    order: -1;
    max-width: 520px;
  }

  .post-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-grid.featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-card,
  .featured-card--lead {
    grid-row: auto;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 230px;
  }

  .featured-card--lead .featured-card__cover {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .featured-card--lead h3 {
    font-size: 30px;
  }

  .post-list .post-card {
    grid-template-columns: 1fr 220px;
  }

  /* 文章页平板适配 */
  .article-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px max(24px, calc((100vw - 760px) / 2)) 64px;
  }

  .article-toc {
    position: relative;
    top: 0;
    order: -1;
    max-height: none;
  }

  .article-toc__inner {
    background: var(--color-surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .article-toc__nav {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 4px;
  }

  .article-toc__nav::before {
    display: none;
  }

  .article-toc__link {
    padding: 8px 12px;
  }

  .article-toc__link::before {
    display: none;
  }

  .article-toc__link.is-active {
    border-left: 2px solid var(--color-primary);
  }

  .article-toc__progress {
    justify-content: flex-start;
  }

  .article-toc__progress-ring {
    width: 36px;
    height: 36px;
  }

  .article-toc__progress-ring svg {
    width: 36px;
    height: 36px;
  }

  .article {
    max-width: 100%;
  }

  .article__header::before {
    left: 0;
  }

  .article__header h1 {
    font-size: 36px;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 32px, 1120px);
  }

  .site-header {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: grid;
    gap: 6px;
  }

  .site-nav__link {
    width: 100%;
    text-align: left;
  }

  .split-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .section__header {
    align-items: start;
    flex-direction: column;
  }

  .page-heading h1,
  .article__header h1 {
    font-size: 36px;
  }

  .subscribe-form {
    grid-template-columns: 1fr;
  }

  .article-actions {
    grid-template-columns: 1fr;
  }

  /* 文章详情页移动端适配 */
  .article-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 0 80px;
  }

  .article-toc {
    position: relative;
    top: 0;
    order: -1;
    max-height: none;
  }

  .article-toc__inner {
    background: var(--color-surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 12px;
    padding: 18px;
  }

  .article-toc__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
  }

  .article-toc__nav::before {
    display: none;
  }

  .article-toc__link {
    padding: 7px 10px;
    font-size: 12px;
  }

  .article-toc__link::before {
    display: none;
  }

  .article-toc__link[data-level="3"] {
    padding-left: 16px;
    font-size: 11px;
  }

  .article-toc__progress {
    justify-content: flex-start;
  }

  .article-toc__progress-ring {
    width: 32px;
    height: 32px;
  }

  .article-toc__progress-ring svg {
    width: 32px;
    height: 32px;
  }

  .article {
    padding: 0;
    max-width: 100%;
  }

  .article__header {
    padding-left: 0;
  }

  .article__header::before {
    display: none;
  }

  .article__header h1 {
    font-size: 30px;
    line-height: 1.22;
  }

  .article__meta {
    gap: 16px;
    padding: 12px 16px;
    border-radius: 10px;
  }

  .article__back-link {
    margin-bottom: 24px;
  }

  .article__cover-wrapper {
    border-radius: 12px;
    margin-bottom: 32px;
  }

  .article__cover {
    max-height: 340px;
  }

  .prose > p:first-of-type::first-letter {
    font-size: 3em;
  }

  .article-nav {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
  }

  .article-nav__link--next {
    align-items: flex-start;
    text-align: left;
  }

  .article-nav__link--next .article-nav__label {
    flex-direction: row;
  }

  .article-nav__link--next .article-nav__label::before {
    content: "←";
  }

  .back-to-top {
    bottom: 84px;
    right: 20px;
    width: 42px;
    height: 42px;
  }

  .article-float-bar {
    bottom: 16px;
    padding: 8px 14px;
    gap: 2px;
  }

  .article-float-bar__btn {
    padding: 8px 10px;
    font-size: 12px;
    gap: 4px;
  }

  .article-float-bar__btn svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(100vw - 24px, 1120px);
  }

  .hero {
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero__summary,
  .page-heading p,
  .prose {
    font-size: 16px;
  }

  .hero__actions,
  .button,
  .post-grid,
  .category-grid,
  .topic-list {
    width: 100%;
  }

  .post-grid,
  .category-grid,
  .topic-list {
    grid-template-columns: 1fr;
  }

  .featured-card,
  .featured-card--lead {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .featured-card__cover,
  .featured-card--lead .featured-card__cover {
    aspect-ratio: 16 / 9;
    min-height: 180px;
  }

  .featured-card__content,
  .featured-card--lead .featured-card__content {
    padding: 20px;
  }

  .featured-card--lead h3,
  .featured-card h3 {
    font-size: 22px;
  }

  .featured-card__read {
    margin-left: 0;
  }

  .post-list .post-card {
    grid-template-columns: 1fr;
    grid-template-rows: 180px 1fr;
  }

  .post-list .post-card__cover {
    order: 0;
    max-height: 180px;
  }

  .post-card,
  .panel,
  .author-card,
  .prose--boxed {
    padding: 20px;
  }

  .post-list .post-card {
    padding: 0;
  }

  .post-list .post-card__body {
    padding: 20px;
  }

  .category-card {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 16px;
  }

  .category-card__count {
    width: 44px;
    height: 44px;
  }

  /* 文章详情页小屏幕适配 */
  .article-layout {
    padding: 20px 0 72px;
  }

  .article__header h1 {
    font-size: 26px;
  }

  .article__meta {
    flex-direction: column;
    gap: 10px;
  }

  .article__cover {
    max-height: 240px;
  }

  .article__cover-wrapper {
    border-radius: 10px;
    margin-bottom: 24px;
  }

  .prose h2 {
    font-size: 23px;
  }

  .prose h2::after {
    width: 36px;
  }

  .prose h3 {
    font-size: 19px;
    padding-left: 10px;
  }

  .prose > p:first-of-type::first-letter {
    font-size: 2.6em;
  }

  .prose pre {
    padding: 16px;
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
  }

  .prose blockquote {
    padding: 18px 20px;
  }

  .prose table {
    font-size: 14px;
  }

  .prose th,
  .prose td {
    padding: 10px 12px;
  }

  .article__end {
    margin: 36px 0 12px;
  }

  .article-nav__link {
    padding: 18px 20px;
  }

  .back-to-top {
    bottom: 84px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

  .article-float-bar {
    bottom: 12px;
    padding: 6px 10px;
  }

  .article-float-bar__btn {
    padding: 7px 9px;
    font-size: 11px;
    gap: 3px;
  }

  .article-float-bar__btn svg {
    width: 15px;
    height: 15px;
  }
}
