:root {
  color-scheme: light;
  --paper: #f7f8f2;
  --ink: #354634;
  --muted: #6f7a67;
  --green: #637d52;
  --line: #dfe5d7;
  --pink: #9b635f;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
::selection { background: #dce5d2; color: var(--ink); }
.page-shell { max-width: 1280px; padding: 0 clamp(22px, 5.5vw, 80px); margin: auto; }
.site-header { min-height: 104px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 600; letter-spacing: 1px; }
.wordmark svg { width: 29px; height: 29px; fill: #e7ecd9; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wordmark-dot { color: #a5b887; }
.header-note { font-size: 12px; letter-spacing: 2px; color: var(--muted); }
.main-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: clamp(48px, 7vw, 106px); padding-top: 72px; }
.introduction { position: relative; }
.intro-content { position: sticky; top: 48px; padding-top: 6px; }
.eyebrow { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 10px; font-weight: 500; letter-spacing: 2.4px; color: var(--muted); display: flex; align-items: center; gap: 9px; }
.eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: #9dad85; }
h1 { font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif; font-size: clamp(36px, 3.6vw, 48px); font-weight: 500; line-height: 1.55; letter-spacing: 1px; margin: 26px 0 20px; }
.title-emphasis { position: relative; display: inline-block; color: var(--green); }
.title-emphasis svg { position: absolute; bottom: -2px; left: -4px; width: 100%; height: 12px; fill: none; stroke: #c4cfae; stroke-width: 2; stroke-linecap: round; }
.intro-copy { font-size: 14px; line-height: 2.15; color: var(--muted); letter-spacing: .5px; margin: 0; }
.botanical { width: 250px; max-width: 100%; margin: 27px 0 36px; text-align: center; }
.botanical svg { display: block; width: 100%; }
.botanical > span { display: block; margin-top: -4px; font-family: Georgia, serif; font-style: italic; font-size: 13px; letter-spacing: .5px; color: #7f8c73; }
.intro-footnote { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding-top: 23px; max-width: 290px; }
.small-heart { color: #a18a7d; font-size: 25px; }
.intro-footnote p { color: var(--muted); font-size: 11px; line-height: 1.9; letter-spacing: .5px; margin: 0; }
.memories { min-width: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
h2 { margin: 14px 0 0; font-family: "Songti SC", "STSong", serif; font-weight: 600; font-size: 24px; line-height: 1.5; }
.count { display: inline-block; margin-left: 13px; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 11px; font-weight: 400; color: var(--muted); white-space: nowrap; vertical-align: middle; }
.heading-flower { font-size: 35px; color: #b6c49f; font-weight: 400; }
.toolbar { margin-top: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.month-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.month-tab { border: 0; background: transparent; color: var(--muted); padding: 8px 13px; border-radius: 6px; font-size: 12px; line-height: 1.5; transition: background .2s, color .2s; }
.month-tab[aria-pressed="true"] { color: #496039; background: #e7eddc; font-weight: 600; }
.month-tab:hover { background: #edf0e6; color: var(--ink); }
.sort-button { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: 8px 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.sort-button:hover { color: var(--green); }
.sort-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.month-section { margin-top: 34px; }
.month-heading { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-weight: 400; }
.month-number { font-family: Georgia, serif; font-size: 28px; color: var(--green); font-style: italic; }
.month-label { font-size: 13px; }
.month-total { margin-left: auto; color: var(--muted); font-size: 10px; letter-spacing: .4px; }
.event-list { list-style: none; padding: 0; margin: 0; }
.event { display: grid; grid-template-columns: 48px 26px minmax(0, 1fr); gap: 11px; position: relative; min-height: 66px; align-items: start; }
.event-date { color: var(--muted); font-family: Georgia, serif; font-size: 13px; padding-top: 16px; font-variant-numeric: tabular-nums; }
.event-marker { width: 26px; height: 26px; position: relative; margin-top: 11px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--pink); z-index: 1; }
.event-marker:before { content: ""; position: absolute; width: 7px; height: 7px; background: #a5b991; border: 3px solid var(--paper); border-radius: 50%; box-sizing: content-box; }
.event:before { content: ""; position: absolute; top: 25px; bottom: -25px; width: 1px; left: 72px; background: var(--line); }
.event:last-child:before { display: none; }
.event-content { padding: 13px 0 19px; border-bottom: 1px dashed #e2e6da; min-width: 0; }
.event:last-child .event-content { border-bottom-color: transparent; }
.event-title { margin: 0; font-size: 14px; font-weight: 400; line-height: 1.8; overflow-wrap: anywhere; }
.event-note { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
.event-highlight { margin-bottom: 12px; }
.event-highlight .event-content { background: #eeefe4; border-bottom-color: transparent; border-radius: 3px 16px 16px 16px; padding: 16px 20px; }
.event-highlight .event-date { padding-top: 20px; }
.event-highlight .event-marker { margin-top: 16px; background: var(--paper); }
.event-highlight .event-marker:before { display: none; }
.event-highlight .event-title { color: #405332; }
.event-badge { display: inline-block; color: var(--pink); font-size: 10px; letter-spacing: 1px; margin-top: 9px; }
.story-ending { margin: 48px 0 64px 85px; padding: 29px 0 0; border-top: 1px solid var(--line); }
.story-ending > span { font-size: 24px; color: #a5b58e; }
.story-ending p { margin: 11px 0 9px; font-family: "Songti SC", "STSong", serif; font-size: 19px; letter-spacing: 1px; }
.story-ending small { color: var(--muted); font-size: 11px; letter-spacing: .5px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 25px 0 30px; color: var(--muted); font-size: 10px; letter-spacing: 1px; }
.site-footer > span:first-child { color: var(--green); }
.site-footer a { padding: 8px 0; }
.empty-message { padding: 32px 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; padding: 12px; background: var(--paper); z-index: 10; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
@media (min-width: 761px) {
  .intro-content { animation: arrive .65s ease-out both; }
  .memories { animation: arrive .65s .1s ease-out both; }
}
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1000px) {
  .main-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 38px; }
  .toolbar { flex-wrap: wrap; gap: 6px; }
  .count { display: block; margin: 6px 0 0; }
}
@media (max-width: 760px) {
  .page-shell { padding: 0 24px; }
  .site-header { min-height: 78px; }
  .wordmark { font-size: 16px; gap: 8px; }
  .wordmark svg { width: 25px; height: 25px; }
  .header-note { font-size: 10px; letter-spacing: .5px; }
  .main-layout { display: block; padding-top: 40px; }
  .intro-content { position: relative; top: auto; padding: 0 0 36px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.9px; }
  h1 { font-size: clamp(34px, 7vw, 45px); margin: 22px 0 16px; line-height: 1.5; }
  .intro-copy { font-size: 12px; line-height: 2; }
  .botanical { position: absolute; width: 160px; right: -8px; top: 106px; margin: 0; }
  .botanical > span { font-size: 10px; }
  .intro-footnote { margin-top: 27px; max-width: none; padding-top: 17px; }
  .intro-footnote p br { display: none; }
  .intro-footnote p { font-size: 10px; }
  .small-heart { font-size: 20px; }
  h2 { font-size: 22px; margin-top: 10px; }
  .count { display: inline-block; margin: 0 0 0 10px; font-size: 10px; }
  .heading-flower { font-size: 29px; }
  .toolbar { margin-top: 22px; flex-wrap: nowrap; gap: 10px; padding-bottom: 18px; }
  .month-tab { padding: 8px 10px; font-size: 11px; min-height: 36px; }
  .sort-button { font-size: 10px; min-height: 36px; }
  .month-section { margin-top: 29px; }
  .event { grid-template-columns: 41px 22px minmax(0, 1fr); gap: 8px; min-height: 64px; }
  .event:before { left: 59px; }
  .event-marker { width: 22px; }
  .event-title { font-size: 13px; }
  .event-date { font-size: 12px; }
  .event-highlight .event-content { padding: 15px 16px; }
  .story-ending { margin: 36px 0 42px 79px; }
  .site-footer { flex-wrap: wrap; padding: 18px 0; font-size: 9px; gap: 10px; letter-spacing: .3px; }
}
@media (max-width: 380px) {
  .page-shell { padding: 0 18px; }
  .header-note { max-width: 76px; text-align: right; line-height: 1.8; }
  .botanical { width: 122px; top: 129px; right: -6px; }
  .toolbar { flex-wrap: wrap; }
  .count { display: block; margin: 5px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
}
