:root {
  --paper: #f9f8fc;
  --white: #fff;
  --ink: #343442;
  --muted: #686575;
  --blue: #526d8b;
  --blue-dark: #435d7b;
  --blue-soft: #edf3fa;
  --pink: #c996aa;
  --pink-dark: #8f5c71;
  --pink-soft: #fbf0f3;
  --yellow: #d9b876;
  --yellow-soft: #faf5e9;
  --mint: #87b4aa;
  --mint-soft: #eff7f4;
  --violet: #756381;
  --accent: var(--violet);
  --accent-dark: #594663;
  --accent-soft: #f1edf5;
  --accent-line: #ded3e7;
  --line: #e6e2ed;
  --card-radius: 20px;
  --shadow: 0 8px 32px rgba(44, 65, 91, 0.045);
  --font-sans: "Avenir Next", "Hiragino Sans GB", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Songti SC", "Noto Serif CJK SC", "STSong", "Hiragino Mincho ProN", Georgia, serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: radial-gradient(circle at 12% 0, rgba(135, 180, 170, 0.11), transparent 32rem), radial-gradient(circle at 90% 5%, rgba(201, 150, 170, 0.13), transparent 30rem), var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

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

img {
  max-width: 100%;
  height: auto;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shell {
  width: min(1180px, 100% - 44px);
  margin: 0 auto;
}

.site-main {
  min-height: 65vh;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.journal-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.journal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  height: 78px;
}

.journal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.journal-brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 52px;
  padding: 10px 3px 4px;
  color: var(--accent);
  background: linear-gradient(172deg, #faf7fd 0%, #eee8f6 58%, #f9eff3 100%);
  border: 0;
  border-radius: 0;
  clip-path: path("M19 1 C26 10.5 34 17 34 29 C34 42.3 27.4 50.3 19 50.3 C10.6 50.3 4 42.3 4 29 C4 17 12 10.5 19 1 Z");
  transform: rotate(-3deg);
}

.journal-brand-mark img {
  display: block;
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.journal-brand strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.7px;
}

.journal-brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.2px;
}

.journal-nav {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 30px;
}

.journal-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s;
}

.journal-nav a:hover,
.journal-nav a[aria-current] {
  color: var(--accent-dark);
}

.journal-nav a[aria-current]::after {
  content: "";
  position: absolute;
  bottom: 17px;
  left: calc(50% - 7px);
  width: 14px;
  height: 3px;
  background: var(--pink);
  border-radius: 3px;
}

.journal-header-actions {
  display: flex;
  align-items: center;
  gap: 11px;
}

.journal-search {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: 188px;
  padding: 10px 13px;
  color: var(--muted);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 12px;
  transition: all 0.2s;
}

.journal-search:hover {
  color: var(--accent-dark);
  border-color: var(--accent-line);
}

.journal-mobile-menu {
  position: static;
  display: none;
}

.journal-mobile-menu summary {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  list-style: none;
}

.journal-mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu-panel {
  position: fixed;
  top: 61px;
  right: 0;
  left: 0;
  z-index: 90;
  display: grid;
  padding: 12px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 13px 25px rgba(75, 98, 131, 0.09);
}

.mobile-menu-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 13px;
}

.mobile-menu-panel a:hover {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.journal-home {
  padding-bottom: 15px;
}

.home-prelude {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 2px 17px;
  color: var(--muted);
  font-size: 12px;
}

.home-prelude > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.home-prelude i {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  background: #91b9a4;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(145, 185, 164, 0.09);
}

.home-prelude > span:last-child {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.2px;
}

.journal-hero {
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: 400px;
  overflow: hidden;
  background: #f1f6fc;
  border: 1px solid #e0e8f0;
  border-radius: 22px;
  box-shadow: 0 8px 34px rgba(92, 121, 146, 0.04);
}

.journal-hero-copy {
  position: relative;
  z-index: 1;
  padding: 43px 0 27px 39px;
}

.hero-greeting {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.1px;
}

.journal-hero h1 {
  position: relative;
  max-width: 116%;
  margin: 22px 0 20px;
  color: #354960;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.52;
}

.journal-hero h1 i {
  color: var(--pink);
  font-style: normal;
}

.journal-hero-copy > p:not(.hero-greeting) {
  max-width: 92%;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2.1;
}

.journal-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 25px;
}

.journal-button,
.journal-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 23px;
  font-size: 12px;
}

.journal-button {
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 9px;
  box-shadow: 0 5px 12px rgba(117, 99, 129, 0.1);
  transition: all 0.2s;
}

.journal-button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.journal-text-link {
  color: var(--muted);
}

.journal-text-link:hover {
  color: var(--accent-dark);
}

.hero-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 33px !important;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.7px;
}

.journal-hero-art {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background-image: var(--hero-image);
  background-position: 77% center;
  background-size: cover;
}

.journal-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f1f6fc 0, rgba(241, 246, 252, 0) 22%);
  pointer-events: none;
}

.hero-art-label {
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 1;
  color: var(--muted);
  writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: 3px;
}

.hero-art-label span {
  display: block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
}

.hero-art-note {
  position: absolute;
  right: 23px;
  bottom: 27px;
  z-index: 1;
  width: 159px;
  padding: 17px 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  box-shadow: 0 5px 20px rgba(70, 98, 120, 0.08);
  transform: rotate(-5deg);
}

.hero-art-note::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 59px;
  width: 44px;
  height: 12px;
  background: rgba(233, 196, 206, 0.53);
  transform: rotate(2deg);
}

.hero-art-note span {
  display: block;
  color: var(--muted);
  font-family: var(--font-display);
  font-style: italic;
}

.hero-art-note p {
  margin: 10px 0 0;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 1.85;
}

.home-topic-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.home-topic {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  transition: all 0.2s;
}

.home-topic:hover {
  border-color: var(--accent-line);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.home-topic:nth-child(4n+2) {
  --topic: var(--blue);
  --topic-soft: var(--blue-soft);
}

.home-topic:nth-child(4n+3) {
  --topic: var(--pink-dark);
  --topic-soft: var(--pink-soft);
}

.home-topic:nth-child(4n+4) {
  --topic: #5c7862;
  --topic-soft: var(--mint-soft);
}

.home-topic {
  --topic: var(--accent);
  --topic-soft: var(--accent-soft);
}

.home-topic-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 40px;
  color: var(--topic);
  background: var(--topic-soft);
  border-radius: 12px 12px 12px 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.home-topic > div,
.home-topic > span:not(.home-topic-icon) {
  min-width: 0;
}

.home-topic strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.home-topic strong small {
  color: var(--muted);
  font-family: var(--font-mono);
}

.home-topic p {
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-topic > svg {
  flex: 0 0 auto;
  color: var(--topic);
}

.home-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  margin-top: 41px;
}

.home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
}

.home-section-heading h2,
.home-profile h2,
.home-reading-shelf h2,
.archive-hero h2,
.archive-hero h1 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1.35;
}

.home-section-heading h2 span {
  margin-right: 5px;
  color: var(--pink);
}

.home-section-heading > a {
  color: var(--muted);
  font-size: 12px;
}

.home-note {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 40px;
  gap: 16px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.home-note-date {
  padding-top: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  text-align: right;
}

.home-note-date span {
  display: block;
  font-size: 17px;
}

.home-note-date small {
  font-size: 11px;
}

.home-note-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.home-note-meta a {
  padding: 2px 6px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 5px;
}

.home-note h3 {
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.55;
}

.home-note h3 a:hover {
  color: var(--accent-dark);
}

.home-note > div > p:not(.home-note-meta) {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.home-note-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: 5px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: all 0.2s;
}

.home-note-arrow:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.home-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.home-profile,
.home-reading-shelf,
.article-reading-note,
.article-toc {
  padding: 23px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
}

.owner-avatar {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 16px 0 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  border-radius: 20px 20px 20px 6px;
  font-family: var(--font-display);
  font-size: 27px;
}

.owner-avatar-image {
  display: block;
  object-fit: cover;
}

.home-profile p,
.home-reading-shelf p:not(.section-kicker) {
  color: var(--muted);
}

.home-profile h2 {
  font-size: 21px;
}

.home-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0;
}

.home-profile-tags span {
  padding: 4px 8px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.home-profile-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.home-profile-stats span {
  padding: 12px;
  color: var(--muted);
  background: #fafafd;
  border-radius: 10px;
  font-size: 12px;
}

.home-profile-stats strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 20px;
}

.home-profile > a,
.home-archive-link,
.home-endnote > a {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 650;
}

.sidebar-category-list {
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.sidebar-category-list li + li {
  margin-top: 7px;
}

.sidebar-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  color: var(--muted);
  background: #fafafd;
  border-radius: 9px;
  font-size: 12px;
}

.sidebar-category-list a:hover {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.sidebar-category-list strong {
  color: var(--ink);
}

.home-endnote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding: 23px 25px;
  background: #f1f6fc;
  border: 1px solid #e0e8f0;
  border-radius: var(--card-radius);
}

.home-endnote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
}

.moe-subpage {
  min-height: 65vh;
  padding: 48px 0 60px;
}

.archive-hero {
  position: relative;
  max-width: 780px;
  margin-bottom: 24px;
}

.archive-hero h1 {
  font-size: clamp(31px, 4vw, 45px);
}

.archive-hero p:not(.section-kicker) {
  margin: 12px 0 0;
  color: var(--muted);
}

.page-hero {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #f1f6fc;
  background-image: linear-gradient(90deg, rgba(249, 248, 252, 0.98) 0%, rgba(249, 248, 252, 0.9) 30%, rgba(249, 248, 252, 0.48) 54%, rgba(249, 248, 252, 0) 74%), var(--hero-image);
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid var(--line);
}

.page-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 730px;
  padding: 78px 0 62px;
}

.page-hero h1 {
  margin: 18px 0;
  color: #354960;
  font-family: var(--font-display);
  font-size: clamp(35px, 4.6vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1.35;
}

.page-hero-copy > p:not(.section-kicker) {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.page-hero-signature {
  display: block;
  margin-top: 34px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.035em;
}

.page-photo-label {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 1;
  padding: 7px 11px;
  color: #fff;
  background: rgba(44, 39, 56, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 6px;
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.045em;
}

.about-page-hero,
.links-page-hero {
  min-height: 470px;
}

.about-page {
  padding: 34px 0 62px;
}

.about-interest-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.about-interest-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink);
  font-size: 12px;
}

.about-interest-strip span + span {
  border-left: 1px solid var(--line);
}

.about-interest-strip strong {
  color: var(--accent-dark);
  font-family: var(--font-mono);
}

.about-interest-strip small {
  color: var(--muted);
}

.about-story {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 60px;
  padding: 64px 24px 58px;
}

.about-story-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding-top: 6px;
}

.about-story-aside > span {
  font-size: 15px;
}

.about-story-aside small {
  margin-top: 30px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.8;
}

.about-story-copy h2 {
  margin: 0 0 22px;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.about-story-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2.1;
}

.about-story-copy blockquote {
  display: flex;
  align-items: flex-start;
  gap: 19px;
  margin: 30px 0 0;
  padding: 23px 25px;
  background: var(--pink-soft);
  border-left: 2px solid var(--pink);
  border-radius: 0 12px 12px 0;
}

.about-story-copy blockquote > span {
  color: var(--pink);
  font-family: Georgia, serif;
  font-size: 52px;
  line-height: 1;
}

.about-story-copy blockquote p {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

.about-story-copy blockquote small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.about-contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 36px 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
}

.about-contact-copy h2 {
  margin: 17px 0 12px;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.about-contact-copy > p {
  max-width: 370px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.about-contact-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  min-width: 0;
  margin: 0;
  padding-left: 40px;
  border-left: 1px solid var(--line);
}

.about-contact-list dt {
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
}

.about-contact-list dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  user-select: all;
}

.about-contact-list a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.links-page {
  padding: 44px 0 62px;
}

.links-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-right: 60px;
  margin-bottom: 28px;
}

.links-header h2 {
  max-width: 650px;
  margin: 14px 0 12px;
  font-size: clamp(26px, 3vw, 37px);
  line-height: 1.45;
}

.links-header > div > p:not(.section-kicker) {
  max-width: 620px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.friends-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.friend-card {
  --friend-accent: var(--blue);
  --friend-soft: var(--blue-soft);
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 23px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  transition: all 0.2s;
}

.friend-card.tone-1 {
  --friend-accent: var(--pink-dark);
  --friend-soft: var(--pink-soft);
}

.friend-card.tone-2 {
  --friend-accent: #5c7862;
  --friend-soft: var(--mint-soft);
}

.friend-card:hover {
  border-color: var(--friend-accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.friend-avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 49px;
  height: 49px;
  color: #fff;
  background: var(--friend-accent);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 20px;
}

.friend-avatar i {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 12px;
  height: 12px;
  background: var(--friend-accent);
  border: 3px solid #fff;
  border-radius: 50%;
}

.friend-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.friend-copy strong {
  font-size: 15px;
  overflow-wrap: anywhere;
}

.friend-copy small {
  overflow: hidden;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.friend-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.friend-arrow {
  flex: 0 0 auto;
  margin-left: auto;
  color: #acb7c4;
  transition: all 0.2s;
}

.friend-card:hover .friend-arrow {
  color: var(--friend-accent);
  transform: translate(2px, -2px);
}

.friends-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding: 22px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.friends-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
}

.friends-note span {
  flex-shrink: 0;
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.archive-collection {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.archive-topic-panel {
  position: sticky;
  top: 108px;
  min-width: 0;
  padding: 23px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
}

.archive-panel-title {
  padding: 0 9px 17px;
}

.archive-filter-list {
  display: grid;
  gap: 4px;
}

.archive-filter-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding: 9px 11px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: color 0.18s, background 0.18s;
}

.archive-filter-list button > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.archive-filter-list small {
  color: inherit;
  font-family: var(--font-mono);
  font-size: 12px;
}

.archive-filter-list button:hover {
  color: var(--accent-dark);
  background: var(--paper);
}

.archive-filter-list button[aria-pressed=true] {
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-weight: 650;
}

.archive-panel-note {
  margin: 20px 9px 0;
  padding-top: 19px;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  font-size: 12px;
  line-height: 1.9;
}

.archive-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 43px;
  margin-bottom: 13px;
}

.archive-list-heading h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
}

.archive-list-heading > span {
  color: var(--muted);
  font-size: 12px;
}

.archive-list {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: 0 6px 24px rgba(38, 54, 74, 0.025);
}

.archive-row {
  position: relative;
  display: grid;
  grid-template-columns: 61px minmax(0, 1fr) 40px;
  gap: 23px;
  align-items: start;
  padding: 28px;
  background: var(--white);
  border: 0;
  transition: background 0.18s;
}

.archive-row[hidden] {
  display: none;
}

.archive-row + .archive-row {
  border-top: 1px solid var(--line);
}

.archive-row:hover {
  background: #fcfdff;
}

.archive-number {
  padding-top: 3px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.3;
}

.archive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.archive-meta a {
  padding: 2px 6px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 5px;
}

.archive-row h2 {
  margin: 9px 0;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.55;
}

.archive-empty {
  margin: 0;
  padding: 35px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 18px;
  text-align: center;
}

.archive-row h2 a:hover,
.archive-row h2 a:focus {
  color: var(--accent-dark);
}

.archive-row > div > p:not(.archive-meta) {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.round-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-top: 7px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.article-hero {
  position: relative;
  padding: 78px 0 50px;
  background-image: linear-gradient(rgba(249, 248, 252, 0.88), rgba(249, 248, 252, 0.97)), var(--hero-image);
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid var(--line);
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.2));
  pointer-events: none;
}

.article-hero-inner {
  position: relative;
  max-width: 1000px;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.article-title-wrap {
  max-width: 860px;
}

.article-title-wrap h1 {
  margin: 13px 0;
  color: #354960;
  font-family: var(--font-display);
  font-size: clamp(31px, 4.5vw, 53px);
  line-height: 1.42;
  letter-spacing: 0.2px;
}

.article-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.article-eyebrow i {
  width: 42px;
  height: 2px;
  background: var(--pink);
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.article-byline a {
  padding: 2px 7px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 5px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 34px;
  align-items: start;
  padding-top: 36px;
}

.article-content {
  max-width: 760px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: clamp(25px, 4vw, 47px);
  overflow-wrap: break-word;
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
  color: #354960;
  font-family: var(--font-display);
  line-height: 1.45;
  scroll-margin-top: 110px;
}

.article-content h1 {
  margin: 1.6em 0 0.7em;
  font-size: 29px;
}

.article-content h2 {
  margin: 1.8em 0 0.7em;
  font-size: 24px;
}

.article-content h3 {
  margin: 1.7em 0 0.65em;
  font-size: 20px;
}

.article-content h4 {
  margin: 1.5em 0 0.6em;
  font-size: 17px;
}

.article-content p,
.article-content li {
  color: #414050;
  line-height: 1.95;
}

.article-content a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-decoration-color: rgba(82, 109, 139, 0.28);
  text-underline-offset: 3px;
}

.article-content blockquote {
  margin: 1.6em 0;
  padding: 14px 20px;
  color: var(--muted);
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
}

.article-content blockquote > *:first-child {
  margin-top: 0;
}

.article-content blockquote > *:last-child {
  margin-bottom: 0;
}

.article-content img {
  display: block;
  margin: 1.5em auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.article-content table {
  display: block;
  width: 100%;
  margin: 1.6em 0;
  overflow-x: auto;
  border-collapse: collapse;
}

.article-content th,
.article-content td {
  padding: 10px 12px;
  border: 1px solid var(--line);
}

.article-content th {
  color: #354960;
  background: #f5f6fa;
  text-align: left;
}

.article-content code,
.article-content pre {
  font-family: var(--font-mono);
}

.article-content :not(pre) > code {
  padding: 0.15em 0.36em;
  color: var(--pink-dark);
  background: var(--pink-soft);
  border-radius: 5px;
  font-size: 0.89em;
}

.article-content pre {
  margin: 1.5em 0;
  padding: 18px;
  overflow-x: auto;
  color: #24292f;
  background: #f6f8fa;
  border: 1px solid #d8dee4;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.72;
}

.article-content pre code {
  padding: 0;
  color: inherit;
  background: transparent;
}

.article-content .highlight,
.article-content .highlighter-rouge {
  color: #24292f;
  background: #f6f8fa;
}

.article-content .highlight pre {
  margin: 0;
  border: 0;
}

.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.post-navigation a {
  display: grid;
  gap: 5px;
  padding: 17px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.post-navigation a:last-child {
  text-align: right;
}

.post-navigation span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.post-navigation strong {
  font-size: 14px;
  line-height: 1.6;
}

.article-toc-list {
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.article-toc-list a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  border-bottom: 1px solid #f1eff5;
  font-size: 12px;
  line-height: 1.65;
}

.article-toc-list a:hover {
  color: var(--accent-dark);
}

.article-reading-note {
  margin-top: 18px;
}

.article-reading-note dl {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.article-reading-note div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.article-reading-note dt {
  color: rgba(104, 101, 117, 0.68);
}

.article-reading-note dd {
  margin: 0;
  color: var(--ink);
  text-align: right;
}

.mobile-article-toc {
  display: none;
}

.generic-page,
.search-results {
  max-width: 840px;
}

.generic-page {
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
}

.generic-page > *:first-child {
  margin-top: 0;
}

.search-form {
  display: flex;
  gap: 10px;
  max-width: 620px;
  margin-bottom: 18px;
}

.search-form input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.search-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.search-form button {
  min-width: 80px;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.2s;
}

.search-form button:hover {
  background: var(--accent-dark);
}

.search-summary {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.search-results article {
  padding: 19px 21px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.search-results article + article {
  margin-top: 10px;
}

.search-results a {
  display: grid;
  gap: 3px;
}

.search-results a strong {
  color: #354960;
  font-family: var(--font-display);
  font-size: 18px;
}

.search-results a span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.search-results p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.journal-footer {
  margin-top: 60px;
  padding: 34px 0 25px;
  border-top: 1px solid #dfe5ed;
}

.journal-footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.journal-footer-name {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 19px;
  font-weight: 650;
}

.journal-footer-name span {
  color: var(--accent);
}

.journal-footer-main p:not(.journal-footer-name) {
  margin: 12px 0 0 33px;
  color: var(--muted);
  font-size: 12px;
}

.journal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

.journal-footer a:hover {
  color: var(--accent-dark);
}

.journal-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 19px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.footer-separator {
  color: #c2cad3;
}

.pagination {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.pagination a {
  padding: 12px 16px;
  color: var(--accent-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
}

.pagination a:hover {
  border-color: var(--accent-line);
}

@media (max-width: 1080px) {
  .home-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}
@media (max-width: 860px) {
  .shell {
    width: min(1180px, 100% - 32px);
  }
  .journal-nav {
    display: none;
  }
  .journal-mobile-menu {
    display: block;
  }
  .journal-brand small {
    display: none;
  }
  .journal-hero {
    display: flex;
    flex-direction: column-reverse;
    min-height: 0;
    border-radius: 17px;
  }
  .journal-hero-copy {
    padding: 25px 26px;
  }
  .journal-hero h1 {
    max-width: 100%;
    margin: 14px 0 13px;
    font-size: clamp(28px, 7.8vw, 36px);
    line-height: 1.47;
  }
  .journal-hero-copy > p:not(.hero-greeting) {
    width: 100%;
  }
  .journal-hero-art {
    min-height: 230px;
  }
  .journal-hero-art::after {
    background: linear-gradient(rgba(241, 246, 252, 0) 72%, #f1f6fc);
  }
  .home-topic-strip {
    grid-template-columns: 1fr 1fr;
  }
  .home-sidebar {
    grid-template-columns: 1fr;
  }
  .page-hero {
    min-height: 470px;
  }
  .page-hero-copy {
    padding: 62px 0 48px;
  }
  .about-story {
    grid-template-columns: 0.3fr 1fr;
    gap: 38px;
    padding-inline: 10px;
  }
  .about-contact-card {
    gap: 28px;
    padding: 32px;
  }
  .about-contact-list {
    padding-left: 26px;
  }
  .friends-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .links-header {
    padding-right: 15px;
  }
  .archive-collection {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .archive-topic-panel {
    position: static;
    padding: 17px;
    border-radius: 18px;
  }
  .archive-filter-list {
    display: flex;
    gap: 7px;
    padding-bottom: 7px;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .archive-filter-list button {
    flex-shrink: 0;
    justify-content: center;
    gap: 8px;
    border-color: var(--line);
  }
  .archive-panel-note {
    display: none;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-toc {
    display: none;
  }
  .mobile-article-toc {
    display: block;
    margin-bottom: 16px;
    padding: 15px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
  }
  .mobile-article-toc summary {
    color: var(--accent-dark);
    cursor: pointer;
    font-weight: 650;
  }
  .home-endnote {
    align-items: flex-start;
    flex-direction: column;
  }
  .journal-footer-main {
    align-items: flex-start;
    flex-direction: column;
  }
  .journal-footer-main p:not(.journal-footer-name) {
    margin-left: 0;
  }
  .journal-footer-bottom {
    flex-wrap: wrap;
  }
}
@media (max-width: 620px) {
  .journal-search span {
    display: none;
  }
  .journal-search {
    justify-content: center;
    width: 41px;
    padding: 10px;
  }
  .home-topic-strip {
    grid-template-columns: 1fr;
  }
  .home-note {
    grid-template-columns: 54px minmax(0, 1fr);
  }
  .home-note-arrow {
    display: none;
  }
  .home-prelude > span:first-child {
    display: none;
  }
  .page-hero {
    min-height: 500px;
    align-items: flex-start;
  }
  .page-hero-copy {
    width: 100%;
    padding: 29px 0;
  }
  .page-hero h1 {
    font-size: 37px;
  }
  .page-hero-copy > p:not(.section-kicker) {
    max-width: 340px;
    font-size: 13px;
  }
  .page-hero-signature {
    margin-top: 18px;
  }
  .page-photo-label {
    right: 15px;
    bottom: 15px;
  }
  .about-interest-strip {
    padding-block: 22px;
  }
  .about-interest-strip small {
    display: none;
  }
  .about-story {
    display: block;
    padding: 35px 4px;
  }
  .about-story-aside {
    flex-flow: wrap;
    align-items: center;
    gap: 11px;
    margin-bottom: 26px;
    padding-top: 0;
  }
  .about-story-aside > span:nth-child(2) {
    display: none;
  }
  .about-story-aside small {
    margin: 0 0 0 auto;
  }
  .about-story-copy blockquote {
    gap: 12px;
    padding: 21px 18px;
  }
  .about-contact-card {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 28px 25px;
  }
  .about-contact-list {
    gap: 21px;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .friends-grid {
    grid-template-columns: 1fr;
  }
  .friend-card {
    min-height: 96px;
    padding: 20px;
  }
  .friends-note {
    align-items: flex-start;
  }
  .friends-note span {
    display: none;
  }
  .archive-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .archive-number {
    font-size: 22px;
  }
  .round-arrow {
    display: none;
  }
  .article-content {
    padding: 22px;
    border-radius: 15px;
  }
  .post-navigation {
    grid-template-columns: 1fr;
  }
  .search-form {
    flex-direction: column;
  }
  .journal-footer-bottom {
    justify-content: flex-start;
  }
}
@media print {
  .journal-header,
  .article-aside,
  .post-navigation,
  .journal-footer {
    display: none;
  }
  body {
    background: #fff;
  }
  .article-content {
    border: 0;
    box-shadow: none;
    padding: 0;
  }
}

/*# sourceMappingURL=main.css.map */