body.content-page,
body.article-page {
  --edition-paper: #f7f7f2;
  --edition-ink: #1b1c18;
  --edition-muted: #71736a;
  --edition-line: #d7d9ce;
  --edition-acid: #dce883;
  --edition-blue: #324de2;
  --edition-card: #eeeFE8;
  --edition-display: "Inter Content", "Inter Article", "Microsoft YaHei", sans-serif;
  background: var(--edition-paper) !important;
  color: var(--edition-ink) !important;
}

html[data-theme="dark"] body.content-page,
html[data-theme="dark"] body.article-page {
  --edition-paper: #141611;
  --edition-ink: #eff0e6;
  --edition-muted: #a1a596;
  --edition-line: #383d30;
  --edition-card: #20241b;
  background: var(--edition-paper) !important;
}

body.content-page {
  --content-bg: var(--edition-paper);
  --content-surface: var(--edition-card);
  --content-ink: var(--edition-ink);
  --content-muted: var(--edition-muted);
  --content-rule: var(--edition-line);
}

html[data-theme="dark"] body.content-page {
  --content-bg: var(--edition-paper);
  --content-surface: var(--edition-card);
  --content-ink: var(--edition-ink);
  --content-muted: var(--edition-muted);
  --content-rule: var(--edition-line);
}

body.content-page .content-shell {
  width: min(82rem, calc(100% - 7rem));
  padding-bottom: 7rem;
}

.edition-masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 6.5rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--edition-ink);
  border-bottom: 1px solid var(--edition-line);
  font: 10px/1.4 "Geist Mono Content", Consolas, monospace;
  letter-spacing: 0.06em;
}

.edition-masthead .edition-brand {
  font: 650 19px/1 var(--edition-display);
  letter-spacing: -0.07em;
}

.edition-masthead > span:last-child {
  color: var(--edition-muted);
}

body.content-page .page-intro,
html[data-theme="dark"] body.content-page .page-intro {
  display: flex;
  min-height: 34rem;
  justify-content: center;
  gap: 0;
  margin: 0 0 4rem;
  padding: 3.5rem 0 5rem;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid var(--edition-line);
  border-radius: 0;
  background: none;
  box-shadow: none;
}

body.content-page .page-intro > .eyebrow,
html[data-theme="dark"] body.content-page .page-intro > .eyebrow {
  gap: 0.7rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--edition-muted);
  font-size: 0.66rem;
  backdrop-filter: none;
}

body.content-page .page-intro > .eyebrow::before {
  display: none;
}

body.content-page .page-intro .edition-index {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border: 1px solid var(--edition-line);
  border-radius: 50%;
  color: var(--edition-ink);
  font-size: 0.66rem;
}

body.content-page .page-intro h1,
body.content-page:has(.about-content) .page-intro h1 {
  max-width: 71%;
  margin: 1.8rem 0 0;
  font-family: var(--edition-display);
  font-size: clamp(3.5rem, 6.9vw, 6.5rem);
  font-weight: 540;
  letter-spacing: -0.065em;
  line-height: 1.16;
  white-space: pre-line;
  text-wrap: initial;
}

body.content-page .page-intro > p {
  max-width: 52%;
  margin-top: 1.7rem;
  font-size: 1rem;
  line-height: 1.8;
}

body.content-page .page-intro .content-buddy {
  top: auto;
  right: 17rem;
  bottom: 5rem;
  width: 4.5rem;
  filter: none;
}

body.content-page .page-intro .edition-buddy-note {
  position: absolute;
  right: 0;
  bottom: 5.6rem;
  width: 16rem;
}

.edition-buddy-note > span {
  color: var(--edition-muted);
  font: 9px/1.5 Consolas, monospace;
  letter-spacing: 0.12em;
}

.edition-buddy-note p {
  margin: 0.45rem 0 0;
  color: var(--edition-ink);
  font-size: 0.8rem;
}

body.content-page .page-intro .edition-sculpture {
  position: absolute;
  z-index: 0;
  top: 0.6rem;
  right: 0;
  display: grid;
  width: 29%;
  height: 22rem;
  place-items: center;
}

.edition-metal {
  position: relative;
  width: 100%;
  height: 100%;
  background: url("/brand/star-still.png") center / 80% auto no-repeat;
}

.edition-metal[data-edition-metal="icon"] {
  background-image: url("/brand/icon-still.png");
}

.edition-metal[data-metal-state="ready"] {
  background-image: none;
}

.edition-metal canvas {
  position: absolute !important;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.edition-sculpture .edition-metal {
  position: absolute;
  inset: 0;
  filter: drop-shadow(0 1.3rem 1rem rgb(0 0 0 / 0.13));
}

.edition-orbit {
  position: absolute;
  inset: 22% -3%;
  border: 1px solid var(--edition-line);
  border-radius: 50%;
  rotate: -28deg;
}

.edition-orbit-two {
  inset: 12% 12%;
  rotate: 28deg;
}

.edition-specimen {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  color: var(--edition-muted);
  font: 8px/1.5 Consolas, monospace;
  letter-spacing: 0.16em;
  text-align: center;
}

body.content-page .page-intro .edition-hero-rail {
  position: absolute;
  right: 0;
  bottom: 1rem;
  left: 0;
  display: flex;
  justify-content: space-between;
  color: var(--edition-muted);
  font: 9px/1.5 Consolas, monospace;
  letter-spacing: 0.1em;
}

body.content-page .edition-section-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--edition-ink);
  color: var(--edition-muted);
  font: 10px/1.4 "Geist Mono Content", Consolas, monospace;
  letter-spacing: 0.05em;
}

body.content-page .edition-section-label > span:first-child {
  color: var(--edition-ink);
}

body.content-page .edition-features {
  margin-bottom: 5.5rem;
}

.edition-feature-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: start;
  gap: 2.8rem;
}

.edition-feature:nth-child(2) {
  margin-top: 5rem;
}

.edition-feature-visual {
  position: relative;
  aspect-ratio: 1.5;
  overflow: hidden;
  background: var(--edition-card);
}

.edition-feature-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.edition-feature:hover img {
  scale: 1.045;
}

.edition-feature-visual.image-unavailable img {
  visibility: hidden;
}

.edition-feature-visual.image-unavailable::after {
  position: absolute;
  inset: 20%;
  background: url("/brand/star-still.png") center / contain no-repeat;
  content: "";
}

.edition-feature-no {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.55rem;
  background: var(--edition-paper);
  color: var(--edition-ink);
  font: 11px/1 Consolas, monospace;
}

.edition-feature-open {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 50%;
  background: var(--edition-paper);
  color: var(--edition-ink);
  font-size: 1.4rem;
  transition: rotate 250ms ease;
}

.edition-feature:hover .edition-feature-open {
  rotate: 45deg;
}

.edition-feature-copy {
  padding: 1.3rem 0;
}

.edition-feature-meta {
  color: var(--edition-muted);
  font: 10px/1.6 Consolas, "Microsoft YaHei", monospace;
  letter-spacing: 0.05em;
}

.edition-feature-copy h2 {
  margin: 0.7rem 0 0.7rem;
  font: 550 clamp(1.35rem, 2vw, 1.9rem)/1.45 var(--edition-display);
  letter-spacing: -0.04em;
}

.edition-feature-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--edition-muted);
  font-size: 0.85rem;
  line-height: 1.8;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body.content-page .discovery-nav {
  gap: 1.5rem;
  margin: 0 0 2rem;
}

body.content-page .discovery-nav a,
html[data-theme="dark"] body.content-page .discovery-nav a {
  padding: 0.25rem 0;
  border: 0;
  border-bottom: 1px solid var(--edition-line);
  border-radius: 0;
  background: none;
  font-size: 0.7rem;
}

body.content-page .journal-tools,
html[data-theme="dark"] body.content-page .journal-tools {
  gap: 1.5rem;
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid var(--edition-line);
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
}

body.content-page .filters {
  flex: 1;
  row-gap: 1.1rem;
}

body.content-page .post-row {
  gap: 1.3rem;
  margin: 0;
  padding: 1.9rem 0;
  border-radius: 0;
}

body.content-page .row-number {
  font-size: 0.68rem;
}

body.content-page .row-content h3 {
  font-size: clamp(1.25rem, 2.15vw, 1.8rem);
  font-weight: 520;
  line-height: 1.5;
}

body.content-page .post-row:hover,
html[data-theme="dark"] body.content-page .post-row:hover {
  padding-right: 0.6rem;
  padding-left: 0.6rem;
  background: var(--edition-card);
}

body.content-page .space-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.3rem;
}

body.content-page .space-card,
html[data-theme="dark"] body.content-page .space-card {
  grid-column: span 4;
  min-height: 19rem;
  justify-content: flex-end;
  padding: 1.8rem;
  border: 0;
  border-radius: 0.25rem;
  background: var(--edition-card);
  box-shadow: none;
}

body.content-page .space-card:first-child {
  grid-column: span 8;
  min-height: 24rem;
  background: var(--edition-acid);
  color: #20251a;
}

body.content-page .space-card:nth-child(2),
html[data-theme="dark"] body.content-page .space-card:nth-child(2) {
  background: var(--edition-blue);
  color: #fff;
}

body.content-page .space-card:nth-child(6) {
  grid-column: span 8;
}

body.content-page .space-card:nth-child(7),
body.content-page .space-card:nth-child(8) {
  grid-column: span 6;
}

body.content-page .space-card::after,
body.content-page .space-card::before {
  display: none;
}

.edition-room-icon {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 4.6rem;
  height: 4.6rem;
  transition: rotate 400ms ease, scale 400ms ease;
}

.edition-room-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

body.content-page .space-card:first-child .edition-room-icon {
  top: 1rem;
  right: 2rem;
  width: 13rem;
  height: 13rem;
  opacity: 0.85;
  rotate: -12deg;
}

body.content-page .space-card:hover .edition-room-icon {
  rotate: 10deg;
  scale: 1.06;
}

body.content-page .space-card h2 {
  margin: 0.8rem 0;
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 520;
}

body.content-page .space-card .eyebrow,
body.content-page .space-card p {
  color: inherit;
  opacity: 0.62;
}

body.content-page .space-card > span:last-child,
html[data-theme="dark"] body.content-page .space-card > span:last-child {
  right: 1.6rem;
  bottom: 1.6rem;
  border-color: currentColor;
  background: transparent;
  color: inherit;
  box-shadow: none;
}

body.content-page .space-card:hover,
html[data-theme="dark"] body.content-page .space-card:hover {
  box-shadow: none;
}

body.content-page .about-content {
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 7%;
  padding: 0 0 5rem;
}

body.content-page .about-monogram,
html[data-theme="dark"] body.content-page .about-monogram {
  min-height: 37rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 2rem;
  border: 0;
  border-radius: 0;
  background: var(--edition-acid);
  color: #23271c;
}

body.content-page .about-monogram::before {
  top: 3.5rem;
  right: 2rem;
  left: auto;
  width: 3rem;
  translate: none;
  opacity: 1;
  background: #23271c;
}

body.content-page .about-monogram > span:first-child {
  color: #414932;
  font-size: 0.58rem;
  text-align: left;
}

body.content-page .about-monogram .edition-person-number {
  margin: auto 0;
  color: #23271c;
  font: 580 clamp(6rem, 12vw, 11.5rem)/0.85 var(--edition-display);
  letter-spacing: -0.09em;
  white-space: pre-line;
  text-align: left;
}

body.content-page .about-monogram .edition-person-note {
  color: #414932;
  font-size: 0.65rem;
  line-height: 1.7;
  text-align: left;
  white-space: pre-line;
}

body.content-page .about-content > div:last-child {
  align-self: center;
}

body.content-page .about-content h2 {
  margin: 0 0 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--edition-ink);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-family: var(--edition-display);
}

body.content-page .about-content p {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 2;
}

body.content-page .project-grid {
  border: 0;
}

body.content-page .project-empty {
  padding: 0;
  text-align: left;
}

body.content-page .project-empty > .large-star {
  display: none;
}

.edition-workbench {
  position: relative;
  height: 35rem;
  margin-bottom: 3rem;
  overflow: hidden;
  background: #232820;
  color: #e5ead8;
}

.edition-workbench::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(229 234 216 / 0.06) 1px, transparent 1px), linear-gradient(90deg, rgb(229 234 216 / 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
}

.edition-workbench .edition-metal {
  position: absolute;
  inset: 0 0 0 42%;
  width: 58%;
}

.edition-workbench-code,
.edition-workbench-foot {
  position: absolute;
  z-index: 1;
  top: 2rem;
  left: 2rem;
  font: 10px/1.6 Consolas, monospace;
  letter-spacing: 0.1em;
}

.edition-workbench-foot {
  top: auto;
  bottom: 2rem;
  color: #9ca98e;
}

.edition-workbench-type {
  position: absolute;
  top: 6.5rem;
  left: 2rem;
  color: var(--edition-acid);
  font: 570 clamp(4rem, 8vw, 8rem)/0.94 var(--edition-display);
  letter-spacing: -0.07em;
  white-space: pre-line;
}

body.content-page .project-empty h2 {
  max-width: 22ch;
  font-size: 2rem;
  font-family: var(--edition-display);
}

body.content-page .project-empty p,
body.content-page .project-empty .text-link {
  margin-left: 0;
}

body.content-page .project,
html[data-theme="dark"] body.content-page .project {
  min-height: 23rem;
  border: 0;
  border-radius: 0;
  background: var(--edition-card);
  box-shadow: none;
}

body.content-page .tag-card,
html[data-theme="dark"] body.content-page .tag-card {
  min-height: 8rem;
  padding: 1.7rem;
  border: 0;
  border-bottom: 1px solid var(--edition-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.content-page .tag-card:hover,
html[data-theme="dark"] body.content-page .tag-card:hover {
  background: var(--edition-card);
}

body.content-page .tag-card > span:first-child {
  font-size: 2rem;
}

body.content-page .archive-year > h2 {
  color: var(--edition-ink);
  font-size: 2.5rem;
  letter-spacing: -0.08em;
}

body.content-page .activity-panel,
html[data-theme="dark"] body.content-page .activity-panel {
  padding: 2.5rem;
  border: 1px solid var(--edition-line);
  border-radius: 0;
  background: var(--edition-card);
  box-shadow: none;
}

body.content-page .series-card,
body.content-page .reading-list-panel,
html[data-theme="dark"] body.content-page .series-card,
html[data-theme="dark"] body.content-page .reading-list-panel {
  border-radius: 0;
  background: var(--edition-card);
  box-shadow: none;
}

body.content-page .tool-panel,
body.content-page .music-deck,
body.content-page .playlist,
body.content-page .friend-card,
body.content-page .note-card,
body.content-page .subscribe-panel,
body.content-page .level-panel,
html[data-theme="dark"] body.content-page .tool-panel,
html[data-theme="dark"] body.content-page .music-deck,
html[data-theme="dark"] body.content-page .playlist,
html[data-theme="dark"] body.content-page .friend-card,
html[data-theme="dark"] body.content-page .note-card,
html[data-theme="dark"] body.content-page .subscribe-panel,
html[data-theme="dark"] body.content-page .level-panel {
  border: 1px solid var(--edition-line);
  border-radius: 0.25rem;
  background: var(--edition-card);
  box-shadow: none;
}

body.content-page[data-edition="music"] .music-deck,
html[data-theme="dark"] body.content-page[data-edition="music"] .music-deck {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  border: 0;
  background: #232820;
  color: #eff0e6;
}

body.content-page[data-edition="music"] .music-deck .music-artist,
body.content-page[data-edition="music"] .music-deck label {
  color: #a1a596;
}

body.content-page[data-edition="music"] .music-controls button {
  border-color: #66715c;
  color: #eff0e6;
}

body.content-page[data-edition="tools"] .tool-panel output {
  padding: 1.2rem 0;
  border-top: 1px solid var(--edition-line);
  border-bottom: 1px solid var(--edition-line);
  font-size: clamp(2rem, 5vw, 4rem);
}

body.content-page .note-card h2,
body.content-page .series-card h2,
body.content-page .archive-row > span:nth-child(2) {
  font-family: var(--edition-display);
}

body.content-page .article-footer,
body.article-page .article-footer {
  width: min(82rem, calc(100% - 7rem));
  padding-top: 0;
  border-top: 1px solid var(--edition-ink);
}

.edition-next {
  position: relative;
  display: grid;
  gap: 1.3rem;
  padding: 3rem 0 4rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--edition-line);
}

.edition-next > span:first-child {
  color: var(--edition-muted);
  font: 10px/1.5 Consolas, monospace;
  letter-spacing: 0.12em;
}

.edition-next strong {
  font: 530 clamp(2.5rem, 6vw, 6rem)/1.2 var(--edition-display);
  letter-spacing: -0.055em;
}

.edition-next .edition-next-arrow {
  position: absolute;
  right: 0;
  top: 3.4rem;
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 1;
  transition: translate 300ms ease;
}

.edition-next:hover .edition-next-arrow {
  translate: 0.4rem -0.4rem;
}

body.article-page,
html[data-theme="dark"] body.article-page {
  --article-bg: var(--edition-paper);
  --article-ink: var(--edition-ink);
  --article-muted: var(--edition-muted);
  --article-rule: var(--edition-line);
  --article-soft: var(--edition-card);
}

body.article-page .article-top {
  width: min(82rem, calc(100% - 7rem));
  padding-top: 7rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--edition-line);
}

body.article-page .article-header.article-hero {
  width: min(82rem, calc(100% - 7rem));
  padding-top: 3.5rem;
}

body.article-page .article-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 22rem);
  align-items: center;
  gap: 4rem;
}

body.article-page .article-buddy-avatar,
html[data-theme="dark"] body.article-page .article-buddy-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border: 0;
  border-radius: 0;
  background: #b8bac0;
  box-shadow: none;
}

body.article-page .article-buddy-avatar {
  border-radius: 50%;
}

body.article-page .article-buddy-avatar .buddy-head {
  position: absolute;
  inset: -15%;
  width: 130%;
  height: 130%;
}

body.article-page .article-buddy-avatar canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

body.article-page .article-buddy-avatar .edition-eye {
  position: absolute;
  top: 35%;
  width: 10%;
  height: 22%;
  border-radius: 50%;
  background: #111;
}

body.article-page .edition-eye-left {
  left: 32%;
}

body.article-page .edition-eye-right {
  right: 32%;
}

body.article-page .article-buddy-avatar .edition-mouth {
  position: absolute;
  top: 56%;
  left: 42%;
  width: 18%;
  height: 13%;
  border-bottom: 2px solid #111;
  border-radius: 50%;
}

body.article-page .article-buddy-avatar.edition-buddy-ready,
html[data-theme="dark"] body.article-page .article-buddy-avatar.edition-buddy-ready {
  background: none;
}

body.article-page .edition-buddy-ready > .edition-eye,
body.article-page .edition-buddy-ready > .edition-mouth {
  display: none;
}

body.article-page .article-buddy-avatar > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.article-page .article-header h1 {
  max-width: 19ch;
  margin-top: 1.5rem;
  font-size: clamp(2.6rem, 4.6vw, 4.5rem);
  font-weight: 540;
  letter-spacing: -0.055em;
  line-height: 1.25;
  text-wrap: initial;
}

body.article-page .article-deck {
  max-width: 43rem;
  font-size: 1.1rem;
  line-height: 1.85;
  text-wrap: initial;
}

body.article-page .article-hero-side {
  position: relative;
  aspect-ratio: 0.9;
  align-self: center;
  border: 1px solid var(--edition-line);
  border-radius: 50% 50% 0 0;
  background: var(--edition-card);
}

body.article-page .article-hero-side .edition-metal {
  position: absolute;
  inset: 0 0 2rem;
  width: 100%;
  height: calc(100% - 2rem);
}

body.article-page .article-hero-side p {
  position: absolute;
  bottom: 1.4rem;
}

body.article-page .article-byline-mark,
html[data-theme="dark"] body.article-page .article-byline-mark {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--edition-acid);
  color: #20251a;
  box-shadow: none;
  font: 600 12px/1 Consolas, monospace;
}

body.article-page .article-stats {
  gap: 0;
  margin-top: 3rem;
  padding-top: 0;
  border-top: 1px solid var(--edition-ink);
  border-bottom: 1px solid var(--edition-line);
}

body.article-page .article-stats > div {
  padding: 1.8rem 1.5rem;
  border-right: 1px solid var(--edition-line);
}

body.article-page .article-stats > div:first-child {
  padding-left: 0;
}

body.article-page .article-stats > div:last-child {
  border-right: 0;
}

body.article-page .article-stats dt {
  font-size: 2.7rem;
  letter-spacing: -0.065em;
}

body.article-page .article-cover {
  width: min(82rem, calc(100% - 7rem));
  margin-top: 4rem;
  border-radius: 0.2rem;
}

body.article-page .article-cover img {
  max-height: 39rem;
  aspect-ratio: 1.9;
}

body.article-page .reading-layout {
  width: min(76rem, calc(100% - 7rem));
  grid-template-columns: minmax(0, 45rem) 14rem;
  justify-content: center;
  gap: 5rem;
  padding-top: 5rem;
}

body.article-page .article-prose {
  max-width: none;
  font-size: calc(1.1rem * var(--reading-scale, 1));
  line-height: 1.95;
}

body.article-page .article-prose > p:first-of-type {
  margin-bottom: 2.5rem;
  font-size: 1.5rem;
  font-weight: 450;
  line-height: 1.8;
  letter-spacing: -0.035em;
}

body.article-page .article-prose h2 {
  position: relative;
  margin-top: 4.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--edition-line);
  font-size: clamp(1.6rem, 2.7vw, 2.5rem);
  line-height: 1.45;
}

body.article-page .article-prose h2::before {
  display: block;
  width: fit-content;
  height: auto;
  margin: 0 0 1rem;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--edition-muted);
  content: "CHAPTER / " attr(data-chapter);
  font: 10px/1.5 Consolas, monospace;
  letter-spacing: 0.09em;
}

body.article-page .article-prose blockquote {
  margin: 2.5rem 0 3rem 9%;
  padding: 2rem;
  border: 0;
  border-radius: 1.3rem 1.3rem 0.2rem 1.3rem;
  background: var(--edition-ink);
  color: var(--edition-paper);
  box-shadow: 0 12px 30px -22px rgb(0 0 0 / 0.6);
}

body.article-page .article-prose blockquote::before {
  display: none;
}

body.article-page .article-prose blockquote a {
  color: inherit;
}

body.article-page .article-toc {
  top: 7rem;
  padding: 1.5rem 0 0 1.5rem;
  border-top: 1px solid var(--edition-ink);
  border-left: 1px solid var(--edition-line);
  border-radius: 0;
  background: none;
}

.edition-reading-cue {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  color: var(--edition-muted);
  font: 9px/1.5 Consolas, monospace;
  letter-spacing: 0.08em;
}

.edition-reading-percent {
  color: var(--edition-ink);
  font-size: 2.2rem;
  letter-spacing: -0.08em;
}

body.article-page .article-end > span {
  width: auto;
  height: auto;
  background: none;
  color: var(--edition-ink);
  filter: none;
  mask: none;
  -webkit-mask: none;
  font: 4rem/1 var(--edition-display);
}

body.article-page .post-navigation a,
body.article-page .related-posts a {
  border-radius: 0;
}

.edition-reveal {
  transition: opacity 650ms ease, translate 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.edition-reveal:not(.edition-in) {
  opacity: 0.25;
  translate: 0 18px;
}

@media (max-width: 1100px) {
  body.content-page .content-shell,
  body.content-page .article-footer,
  body.article-page .article-footer,
  body.article-page .article-top,
  body.article-page .article-header.article-hero,
  body.article-page .article-cover {
    width: calc(100% - 4rem);
  }
  body.content-page .page-intro h1 {
    max-width: 66%;
  }
  body.content-page .page-intro .edition-sculpture {
    height: 19rem;
  }
  body.content-page .page-intro .content-buddy {
    right: 13rem;
  }
  body.content-page .page-intro .edition-buddy-note {
    width: 12rem;
  }
  body.content-page .space-card {
    grid-column: span 6;
  }
  body.content-page .space-card:first-child,
  body.content-page .space-card:nth-child(6) {
    grid-column: span 6;
  }
  body.content-page .space-card:first-child .edition-room-icon {
    width: 8rem;
    height: 8rem;
  }
  body.article-page .article-hero-grid {
    grid-template-columns: minmax(0, 1fr) 14rem;
    gap: 2rem;
  }
  body.article-page .article-hero-side {
    display: grid;
  }
  body.article-page .reading-layout {
    display: flex;
    width: min(48rem, calc(100% - 4rem));
    flex-direction: column;
  }
  body.article-page .article-toc {
    position: static;
    order: -1;
    padding: 1.5rem;
    border: 1px solid var(--edition-line);
    background: var(--edition-card);
  }
  .edition-reading-cue {
    margin-bottom: 1rem;
  }
}

@media (max-width: 760px) {
  body.content-page .content-shell,
  body.content-page .article-footer,
  body.article-page .article-footer,
  body.article-page .article-top,
  body.article-page .article-header.article-hero,
  body.article-page .article-cover {
    width: calc(100% - 2.5rem);
  }
  .edition-masthead {
    margin-top: 5.5rem;
    padding: 1rem 0;
    font-size: 8px;
  }
  .edition-masthead > span:last-child {
    display: none;
  }
  body.content-page .page-intro,
  html[data-theme="dark"] body.content-page .page-intro {
    min-height: 29rem;
    justify-content: flex-start;
    margin: 0 0 2.5rem;
    padding: 2rem 0 4rem;
  }
  body.content-page .page-intro > .eyebrow {
    font-size: 9px;
  }
  body.content-page .page-intro h1,
  body.content-page:has(.about-content) .page-intro h1,
  body.content-page:has(.tag-grid) .page-intro h1,
  body.content-page:has(.series-grid) .page-intro h1,
  body.content-page:has(.archives) .page-intro h1 {
    max-width: 100%;
    margin-top: 1.5rem;
    font-size: clamp(2.7rem, 10.2vw, 4rem);
    line-height: 1.25;
  }
  body.content-page .page-intro > p {
    max-width: 100%;
    margin-top: 1.3rem;
    font-size: 0.87rem;
  }
  body.content-page .page-intro .edition-sculpture {
    top: auto;
    right: -0.2rem;
    bottom: 4rem;
    width: 42%;
    height: 10rem;
  }
  body.content-page .page-intro .content-buddy {
    right: auto;
    bottom: 7rem;
    left: 0;
    width: 3.4rem;
  }
  body.content-page .page-intro .edition-buddy-note {
    right: auto;
    bottom: 5.2rem;
    left: 0;
    width: 52%;
  }
  .edition-buddy-note > span {
    font-size: 8px;
  }
  .edition-buddy-note p {
    margin-top: 0.2rem;
    font-size: 0.7rem;
  }
  .edition-specimen {
    font-size: 6px;
    letter-spacing: 0.06em;
  }
  .edition-orbit {
    inset: 22% 0;
  }
  .edition-orbit-two {
    inset: 14% 15%;
  }
  body.content-page .page-intro .edition-hero-rail {
    font-size: 7px;
  }
  body.content-page .edition-section-label {
    font-size: 8px;
    line-height: 1.6;
  }
  .edition-feature-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .edition-feature:nth-child(2) {
    margin-top: 0;
  }
  body.content-page .edition-features {
    margin-bottom: 3rem;
  }
  .edition-feature-copy h2 {
    font-size: 1.4rem;
  }
  .edition-feature-copy p {
    font-size: 0.8rem;
  }
  body.content-page .journal-tools {
    padding: 1rem 0;
  }
  body.content-page .filters {
    flex-wrap: nowrap;
    gap: 1.2rem;
    min-height: 2.4rem;
    padding-bottom: 0.8rem;
  }
  body.content-page .filter {
    font-size: 0.74rem;
  }
  body.content-page .post-row {
    grid-template-columns: 1.4rem minmax(0, 1fr) 0.8rem;
    gap: 0.6rem;
    margin: 0;
    padding: 1.5rem 0;
  }
  body.content-page .row-content h3 {
    font-size: 1.2rem;
  }
  body.content-page .discovery-nav {
    gap: 0.6rem 1rem;
  }
  body.content-page .discovery-nav a {
    font-size: 0.65rem;
  }
  body.content-page .space-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }
  body.content-page .space-card,
  html[data-theme="dark"] body.content-page .space-card {
    grid-column: span 1;
    min-height: 15rem;
    padding: 1.2rem;
  }
  body.content-page .space-card:first-child,
  body.content-page .space-card:nth-child(6) {
    grid-column: span 2;
    min-height: 18rem;
  }
  body.content-page .space-card:nth-child(7),
  body.content-page .space-card:nth-child(8) {
    grid-column: span 1;
  }
  body.content-page .space-card h2 {
    margin-top: 0.6rem;
    font-size: 2rem;
  }
  body.content-page .space-card p {
    max-width: 85%;
    font-size: 0.7rem;
  }
  body.content-page .space-card .eyebrow {
    font-size: 8px;
  }
  .edition-room-icon {
    top: 1.2rem;
    right: 1.2rem;
    width: 3rem;
    height: 3rem;
  }
  body.content-page .space-card > span:last-child {
    right: 0.85rem;
    bottom: 0.85rem;
    width: 1.7rem;
    height: 1.7rem;
    font-size: 0.8rem;
  }
  body.content-page .about-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  body.content-page .about-monogram {
    min-height: 29rem;
    padding: 1.5rem;
  }
  body.content-page .about-monogram .edition-person-number {
    font-size: 8rem;
  }
  .edition-workbench {
    height: 30rem;
  }
  .edition-workbench-type {
    top: 4rem;
    left: 1.5rem;
    font-size: 4.2rem;
  }
  .edition-workbench .edition-metal {
    inset: 12rem 0 0 20%;
    width: 80%;
    height: 15rem;
  }
  .edition-workbench-code,
  .edition-workbench-foot {
    left: 1.5rem;
    font-size: 8px;
  }
  body.content-page .activity-panel {
    padding: 1.3rem;
  }
  body.content-page .activity-filters {
    gap: 1rem;
  }
  body.content-page .tag-card > span:first-child {
    font-size: 1.6rem;
  }
  body.content-page .tag-card {
    padding: 1.5rem 0.2rem;
  }
  body.article-page .article-top {
    padding-top: 6rem;
    font-size: 10px;
  }
  body.article-page .article-header.article-hero {
    padding-top: 2rem;
  }
  body.article-page .article-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  body.article-page .article-header h1 {
    max-width: none;
    font-size: clamp(2rem, 8.6vw, 3.2rem);
    line-height: 1.4;
    letter-spacing: -0.05em;
  }
  body.article-page .article-deck {
    font-size: 0.95rem;
    line-height: 1.9;
  }
  body.article-page .article-hero-side {
    display: none;
  }
  body.article-page .article-stats {
    margin-top: 2rem;
  }
  body.article-page .article-stats > div {
    padding: 1.2rem 0.8rem;
    border-bottom: 1px solid var(--edition-line);
  }
  body.article-page .article-stats > div:nth-child(3) {
    padding-left: 0;
  }
  body.article-page .article-stats > div:nth-child(2) {
    border-right: 0;
  }
  body.article-page .article-stats dt {
    font-size: 2.2rem;
  }
  body.article-page .article-cover {
    margin-top: 2rem;
  }
  body.article-page .reading-layout {
    width: calc(100% - 2.5rem);
    gap: 2.5rem;
    padding-top: 2.5rem;
  }
  body.article-page .article-prose {
    font-size: calc(1rem * var(--reading-scale, 1));
  }
  body.article-page .article-prose > p:first-of-type {
    font-size: 1.18rem;
    line-height: 1.9;
  }
  body.article-page .article-prose h2 {
    margin-top: 3.5rem;
    font-size: 1.6rem;
  }
  body.article-page .article-prose blockquote {
    margin-left: 5%;
    padding: 1.3rem;
  }
  .edition-next {
    padding: 2rem 0 3rem;
  }
  .edition-next .edition-next-arrow {
    top: 3.3rem;
    font-size: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edition-reveal:not(.edition-in) {
    opacity: 1;
    translate: none;
  }
}

@media print {
  body.content-page,
  body.article-page,
  html[data-theme="dark"] body.content-page,
  html[data-theme="dark"] body.article-page {
    --edition-paper: #fff;
    --edition-ink: #111;
    --edition-muted: #555;
    --edition-line: #ddd;
    --edition-card: #f4f4f4;
    background: #fff !important;
  }
  .edition-sculpture,
  .edition-next,
  .edition-reading-cue,
  .edition-buddy-note,
  .edition-hero-rail {
    display: none !important;
  }
  .edition-reveal {
    opacity: 1 !important;
    translate: none !important;
  }
}
