/* ============================================================
   我的江湖 · 剑网3故事集
   纸本索引式静态页面
   ============================================================ */

:root {
  --paper: #f2efe6;
  --paper-light: #fbf9f2;
  --paper-deep: #e9e4d8;
  --ink: #24211c;
  --ink-soft: #5c574d;
  --muted: #8a8376;
  --line: #cec7b8;
  --line-dark: #a79f8e;
  --accent: #8f3d33;
  --accent-soft: #b46a5f;
  --font-serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  --font-sans: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --font-kai: "KaiTi", "STKaiti", "Kaiti SC", "FangSong", serif;
  --shell: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(255, 255, 255, 0.42), transparent 70%),
    radial-gradient(1000px 700px at 100% 30%, rgba(168, 150, 118, 0.08), transparent 65%),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

::selection {
  background: var(--accent);
  color: var(--paper-light);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
blockquote,
figure {
  margin-top: 0;
}

button,
input,
textarea {
  font: inherit;
}

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

.shell {
  width: min(var(--shell), calc(100% - 80px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper-light);
  font-size: 12px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.noscript {
  position: relative;
  z-index: 10;
  max-width: 760px;
  padding: 16px 20px;
  margin: 20px auto;
  border: 1px solid var(--accent);
  background: var(--paper-light);
  color: var(--accent);
  font-size: 12px;
  line-height: 1.9;
}

/* ---------- 顶部导航 ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 239, 230, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
}

.main-nav {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.main-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 6px;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  line-height: 1.3;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.main-nav a:last-child {
  border-right: 0;
}

.main-nav a:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.38);
}

.main-nav a[aria-current="page"] {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 -2px 0 var(--accent);
}

/* ---------- 首页 ---------- */

.home-main {
  padding: 76px 0 0;
}

.home-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-dark);
}

.home-title {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.home-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  line-height: 1.7;
}

.home-title h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(58px, 8.4vw, 112px);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 0.95;
}

.seal {
  display: grid;
  place-items: center;
  width: 42px;
  height: 56px;
  flex: 0 0 42px;
  background: var(--accent);
  color: var(--paper-light);
  font-family: var(--font-kai);
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.06em;
  writing-mode: vertical-rl;
  box-shadow: inset 0 0 0 2px var(--accent), inset 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.home-meta {
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.9;
  text-align: right;
  white-space: nowrap;
}

.home-meta strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
}

.gallery {
  column-count: 3;
  column-gap: 16px;
  padding-top: 30px;
}

.photo {
  position: relative;
  display: block;
  margin: 0 0 16px;
  padding: 6px;
  break-inside: avoid;
  page-break-inside: avoid;
  border: 1px solid var(--line);
  background: var(--paper-light);
  box-shadow: 0 1px 0 rgba(75, 62, 44, 0.04);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.photo img {
  width: 100%;
  height: auto;
  filter: saturate(0.94) contrast(0.99);
  transition: filter 0.35s ease;
}

.photo__level {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 4px 8px;
  border: 1px solid rgba(167, 159, 142, 0.7);
  background: rgba(242, 239, 230, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.photo:hover {
  border-color: var(--line-dark);
  background: #fffdf8;
}

.photo:hover img {
  filter: saturate(1.02) contrast(1.01);
}

.photo:hover .photo__level {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--paper-light);
}

.gallery-empty {
  column-span: all;
  padding: 70px 0;
  color: var(--muted);
  font-family: var(--font-serif);
  text-align: center;
}

/* ---------- 年代页 ---------- */

.level-page {
  padding: 58px 0 0;
}

.level-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-dark);
}

.level-kicker {
  margin: 0 0 15px;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.24em;
  line-height: 1.7;
}

.level-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 26px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(58px, 8.4vw, 108px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.98;
}

.level-title em {
  color: var(--accent);
  font-family: var(--font-kai);
  font-size: 0.27em;
  font-style: normal;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

.level-note {
  max-width: 540px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 13.5px;
  line-height: 1.95;
}

.level-side {
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  line-height: 1.9;
  text-align: right;
  white-space: nowrap;
}

.level-side strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.level-side span {
  display: block;
}

.archive {
  margin-top: 32px;
  border: 1px solid var(--line-dark);
}

.archive-head,
.archive-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 134px 56px;
}

.archive-head {
  border-bottom: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.32);
}

.archive-head span {
  padding: 9px 14px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-align: center;
}

.archive-head span:first-child {
  text-align: left;
}

.archive-head span:nth-child(3) {
  text-align: right;
}

.archive-head span:last-child {
  border-right: 0;
}

.archive-row {
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.archive-row:last-child {
  border-bottom: 0;
}

.archive-row:hover {
  background: rgba(255, 255, 255, 0.5);
}

.archive-cell {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 22px 14px;
  border-right: 1px solid var(--line);
}

.archive-cell:last-child {
  border-right: 0;
}

.archive-no {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.archive-title {
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-align: center;
  transition: color 0.2s ease;
}

.archive-date {
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-align: right;
}

.archive-date time {
  color: var(--ink-soft);
}

.archive-arrow {
  justify-content: center;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 17px;
  transition: color 0.2s ease, transform 0.25s var(--ease);
}

.archive-row:hover .archive-title {
  color: var(--accent);
}

.archive-row:hover .archive-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

.archive-empty {
  padding: 64px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 14px;
  text-align: center;
}

.tag {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid var(--line-dark);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.7;
  vertical-align: 0.12em;
  white-space: nowrap;
}

.tag--sample {
  border-color: var(--accent-soft);
  color: var(--accent);
}

.level-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 2px 0;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.level-foot a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s ease;
}

.level-foot a:hover {
  color: var(--accent);
}

.level-foot__mark {
  color: var(--accent);
  font-family: var(--font-kai);
  font-size: 13px;
  letter-spacing: 0.14em;
}

/* ---------- 故事阅读页 ---------- */

.story-main {
  padding: 44px 0 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.breadcrumb a {
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.reading {
  max-width: 900px;
  margin: 0 auto;
}

.story-header {
  padding: 42px 0 32px;
  border-bottom: 1px solid var(--line-dark);
  text-align: center;
}

.story-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  line-height: 1.8;
}

.story-title {
  max-width: 840px;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 400;
  letter-spacing: 0.07em;
  line-height: 1.3;
}

.story-summary {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 2;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.story-meta span {
  position: relative;
}

.story-meta span + span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -11px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
}

.story-body {
  padding: 46px 0 0;
}

.story-prose {
  max-width: 760px;
  margin: 0 auto;
  color: #2b2822;
  font-family: var(--font-serif);
  font-size: 17.5px;
  letter-spacing: 0.02em;
  line-height: 2.15;
}

.story-prose > p {
  margin: 0 0 1.55em;
}

.story-prose h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 2.5em 0 1.2em;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.22em;
  line-height: 1.6;
}

.story-prose h2::before,
.story-prose h2::after {
  content: "";
  width: 32px;
  height: 1px;
  flex: 0 0 32px;
  background: var(--line-dark);
}

.story-prose blockquote {
  margin: 2.2em 0;
  padding: 18px 26px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.38);
  color: var(--accent);
  font-family: var(--font-kai);
  font-size: 21px;
  letter-spacing: 0.03em;
  line-height: 1.95;
}

.story-prose blockquote p {
  margin: 0;
}

.story-prose em {
  color: var(--accent);
  font-style: normal;
}

.story-prose strong {
  color: var(--ink);
  font-weight: 600;
}

.story-prose figure {
  margin: 2.2em 0;
}

.story-prose figure img {
  width: 100%;
}

.story-prose figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-align: center;
}

.story-prose a {
  border-bottom: 1px solid var(--accent-soft);
  color: var(--accent);
}

.story-end {
  max-width: 760px;
  padding-top: 34px;
  margin: 58px auto 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.story-end .seal {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  flex-basis: 40px;
  font-size: 16px;
  writing-mode: horizontal-tb;
}

.story-end .tag-list {
  justify-content: center;
  margin-top: 16px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.story-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  max-width: 900px;
  margin: 38px auto 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.story-pager > * {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 66px;
  padding: 12px 4px;
}

.story-pager small {
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.story-pager strong {
  overflow: hidden;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.7;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.story-pager a:hover strong {
  color: var(--accent);
}

.story-pager__next {
  align-items: flex-end;
  text-align: right;
}

.story-pager__back {
  align-items: center;
  padding-inline: 20px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.back-row {
  padding: 26px 0 0;
  text-align: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  line-height: 1.8;
  transition: gap 0.25s var(--ease);
}

.text-link:hover {
  gap: 12px;
}

/* ---------- 404 ---------- */

.notfound {
  display: flex;
  align-items: center;
  min-height: 58vh;
  padding: 90px 0 60px;
}

.notfound__inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.notfound .level-kicker {
  margin-bottom: 20px;
}

.notfound h1 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.notfound p {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 2;
}

/* ---------- 页脚 ---------- */

.site-footer {
  padding: 28px 0 34px;
  margin-top: 84px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.8;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.footer-divider {
  margin: 0 4px;
  color: var(--line-dark);
}

.icp-link {
  border-bottom: 1px solid var(--line-dark);
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.icp-link:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.footer-police {
  margin-top: 4px !important;
}

.police-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.police-link img {
  width: 18px;
  height: 20px;
  object-fit: contain;
}

.police-link:hover {
  color: var(--accent);
}

/* ---------- 响应式 ---------- */

@media (max-width: 1000px) {
  .shell {
    width: min(var(--shell), calc(100% - 56px));
  }

  .gallery {
    column-count: 2;
  }

  .home-main {
    padding-top: 62px;
  }

  .archive-head,
  .archive-row {
    grid-template-columns: 92px minmax(0, 1fr) 120px 48px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 58px;
  }

  .shell {
    width: calc(100% - 40px);
  }

  .main-nav a {
    min-height: 48px;
    padding: 10px 2px;
    font-size: clamp(9px, 2.65vw, 12px);
    letter-spacing: 0.01em;
  }

  .home-main {
    padding-top: 48px;
  }

  .home-head {
    display: block;
    padding-bottom: 24px;
  }

  .home-title {
    gap: 14px;
  }

  .home-title h1 {
    font-size: clamp(54px, 15vw, 78px);
    letter-spacing: 0.07em;
  }

  .home-kicker {
    margin-bottom: 12px;
    font-size: 9px;
    letter-spacing: 0.2em;
  }

  .home-meta {
    padding-top: 20px;
    text-align: left;
  }

  .home-meta strong {
    display: inline;
    margin-right: 6px;
    font-size: 22px;
  }

  .gallery {
    padding-top: 22px;
  }

  .level-page {
    padding-top: 42px;
  }

  .level-head {
    display: block;
    padding-bottom: 24px;
  }

  .level-title {
    font-size: clamp(52px, 15vw, 76px);
  }

  .level-title em {
    flex-basis: 100%;
    font-size: 20px;
  }

  .level-note {
    margin-top: 16px;
    font-size: 12.5px;
  }

  .level-side {
    margin-top: 20px;
    text-align: left;
  }

  .level-side strong {
    display: inline;
    margin-right: 4px;
    font-size: 20px;
  }

  .level-side span {
    display: block;
    margin-top: 2px;
  }

  .archive {
    margin-top: 24px;
  }

  .archive-head,
  .archive-row {
    grid-template-columns: 54px minmax(0, 1fr) 76px;
  }

  .archive-head span {
    padding: 8px 8px;
  }

  .archive-head span:nth-child(4) {
    display: none;
  }

  .archive-cell {
    padding: 18px 8px;
  }

  .archive-cell:nth-child(4) {
    display: none;
  }

  .archive-cell:nth-child(3) {
    border-right: 0;
  }

  .archive-title {
    font-size: 18px;
    letter-spacing: 0.04em;
  }

  .archive-date {
    font-size: 8.5px;
  }

  .archive-date span {
    display: none;
  }

  .archive-no {
    font-size: 8.5px;
  }

  .level-foot {
    gap: 12px;
    font-size: 8.5px;
  }

  .level-foot__mark {
    font-size: 11px;
  }

  .story-main {
    padding-top: 30px;
  }

  .reading {
    max-width: none;
  }

  .story-header {
    padding: 32px 0 26px;
  }

  .story-title {
    font-size: clamp(34px, 10vw, 48px);
  }

  .story-summary {
    font-size: 13px;
  }

  .story-body {
    padding-top: 34px;
  }

  .story-prose {
    font-size: 16.5px;
    line-height: 2.1;
  }

  .story-prose h2 {
    font-size: 19px;
    gap: 12px;
  }

  .story-prose h2::before,
  .story-prose h2::after {
    width: 22px;
    flex-basis: 22px;
  }

  .story-prose blockquote {
    padding: 16px 20px;
    font-size: 19px;
  }

  .story-pager {
    grid-template-columns: 1fr auto 1fr;
  }

  .story-pager > * {
    min-height: 60px;
  }

  .story-pager strong {
    font-size: 12px;
  }

  .story-pager__back {
    padding-inline: 12px;
    font-size: 8.5px;
  }

  .site-footer {
    margin-top: 64px;
  }
}

@media (max-width: 600px) {
  .gallery {
    column-count: 1;
  }

  .photo {
    margin-bottom: 12px;
  }

  .seal {
    width: 36px;
    height: 50px;
    flex-basis: 36px;
    font-size: 13px;
  }

  .home-title h1 {
    font-size: clamp(50px, 15.5vw, 68px);
  }

  .home-kicker {
    letter-spacing: 0.14em;
  }

  .archive-title {
    font-size: 17px;
  }

  .tag {
    font-size: 8px;
  }

  .story-title {
    font-size: clamp(32px, 10.5vw, 42px);
  }

  .story-meta {
    gap: 7px 16px;
  }

  .story-meta span + span::before {
    left: -9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  body::before,
  .topbar,
  .site-footer,
  .story-pager,
  .back-row,
  .breadcrumb {
    display: none !important;
  }

  .story-main {
    padding: 0;
  }

  .story-prose {
    max-width: none;
    font-size: 12pt;
  }
}
