:root {
    --paper: #f7f3ec;
    --white: #fffdf9;
    --ink: #403a32;
    --muted: #756b60;
    --rust: #a35135;
    --peach: #f0dfd1;
    --sage: #e5e8dd;
    --line: #e5ded3;
    --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.8 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { line-height: 1.5; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:hover { color: var(--rust); }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; border-radius: 4px; }
[hidden] { display: none !important; }
.shell { width: min(1100px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 30; padding: 8px 16px; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 19px; }
.brand { max-width: calc(100% - 92px); }
.brand img { width: 156px; height: 28px; object-fit: contain; object-position: left; }
.nav-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; min-height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 99px; font-size: 12px; }
.menu-icon { width: 14px; height: 7px; border-block: 1px solid currentColor; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; width: 100%; padding-top: 8px; font-size: 13px; }
.site-nav > a, .nav-item > a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-item { display: flex; align-items: flex-start; gap: 6px; }
.nav-group summary { padding: 10px 2px; cursor: pointer; color: var(--muted); font-size: 11px; min-height: 44px; }
.nav-children { display: flex; flex-direction: column; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.nav-children a { padding: 5px 8px; min-height: 44px; }
.hero { padding-top: 38px; }
.eyebrow { font-size: 10px; letter-spacing: 1.7px; color: var(--rust); font-weight: 600; line-height: 1.6; }
.sun-mark { display: inline-block; font-size: 25px; vertical-align: middle; margin-right: 6px; font-weight: 400; }
.hero h1 { margin-top: 15px; font-family: var(--serif); font-size: clamp(29px, 7.2vw, 46px); letter-spacing: 1px; font-weight: 500; line-height: 1.55; }
.hero-description { margin-top: 19px; font-size: 13px; line-height: 2; color: var(--muted); }
.text-link { display: inline-flex; gap: 20px; align-items: center; min-height: 44px; font-size: 12px; color: var(--rust); border-bottom: 1px solid #cda38c; margin-top: 19px; }
.hero-signature { display: none; }
.hero-photo { margin-top: 28px; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 1.38; object-fit: cover; border-radius: 55% 55% 5px 5px / 20% 20% 5px 5px; }
.hero-photo figcaption { margin-top: 11px; text-align: right; color: var(--muted); font-family: var(--serif); font-size: 11px; letter-spacing: 1px; }
.topic-rail { display: flex; gap: 10px; overflow-x: auto; padding: 30px 3px 7px; scrollbar-width: thin; }
.topic-rail a { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 99px; font-size: 12px; background: var(--white); }
.topic-rail .topic-all { background: var(--rust); color: var(--white); border-color: var(--rust); }
.content-layout { display: grid; gap: 48px; margin-top: 37px; }
.main-column, .side-column { min-width: 0; }
.section-heading { display: flex; gap: 10px; justify-content: space-between; align-items: flex-end; margin-bottom: 23px; }
.section-heading h2, .side-section h2, .friend-section h2, .article-topics h2 { font-family: var(--serif); font-weight: 500; font-size: 23px; }
.section-heading .eyebrow { margin-bottom: 7px; }
.section-note { color: var(--muted); font-size: 10px; padding-bottom: 4px; }
.article-feed { display: grid; gap: 26px; }
.story-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; min-width: 0; }
.story-cover { display: block; overflow: hidden; }
.story-cover img { width: 100%; aspect-ratio: 1.64; object-fit: cover; transition: transform .4s ease; }
.story-cover:hover img { transform: scale(1.025); }
.story-copy { padding: 20px; }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 10px; color: var(--muted); margin-bottom: 9px; }
.category-label { color: var(--rust); background: #f4e8dc; border-radius: 4px; padding: 3px 8px; }
.story-copy h2 { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.65; }
.story-excerpt { font-size: 12px; line-height: 1.95; color: var(--muted); margin-top: 10px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.read-link { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; min-height: 44px; margin-top: 8px; color: var(--rust); }
.story-text { background: #f0ede3; }
.story-text .story-copy { padding-block: 27px; }
.story-images { display: grid; gap: 4px; padding: 8px 8px 0; }
.images-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.images-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.story-images img { width: 100%; height: 100%; aspect-ratio: 1.1; object-fit: cover; border-radius: 4px; }
.images-four img { aspect-ratio: 1.5; }
.empty-state { width: 100%; padding: 27px 16px; font-size: 13px; color: var(--muted); text-align: center; border: 1px dashed var(--line); border-radius: 8px; }
.empty-state:not(:only-child) { display: none; }
.slow-note { padding: 29px; background: var(--sage); border-radius: 70px 10px 10px 10px; }
.slow-note .sun-mark { color: #626d52; }
.slow-note p { margin-block: 12px; font-family: var(--serif); font-size: 22px; line-height: 1.8; }
.slow-note > span:last-child { font-size: 11px; color: #626954; }
.side-section { margin-top: 33px; }
.side-section h2 { font-size: 20px; margin: 7px 0 18px; }
.mini-story { display: flex; gap: 14px; align-items: center; padding-block: 13px; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.8; }
.mini-story img { width: 60px; height: 60px; object-fit: cover; border-radius: 7px; flex-shrink: 0; }
.mini-story span { flex: 1; min-width: 0; }
.mini-text time { font-size: 10px; color: var(--muted); flex-shrink: 0; }
.tag-cloud { display: flex; gap: 10px; flex-wrap: wrap; }
.tag-cloud a { border: 1px solid var(--line); background: var(--white); padding: 7px 13px; border-radius: 6px; font-size: 12px; min-height: 40px; display: inline-flex; align-items: center; max-width: 100%; }
.tag-cloud a:nth-child(3n + 1) { background: #f0e2d5; border-color: #f0e2d5; }
.tag-cloud a:nth-child(3n + 2) { background: var(--sage); border-color: var(--sage); }
.tag-cloud a:hover { border-color: var(--rust); }
.friend-section { margin-block: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.friend-section h2 { margin-block: 7px 15px; font-size: 20px; }
.friend-links, .external-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; }
.friend-links a, .external-links a { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; }
.page-heading { padding-block: 30px 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; margin-bottom: 27px; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 36px; }
.page-heading h1 { font-family: var(--serif); font-size: clamp(29px, 7vw, 42px); font-weight: 500; line-height: 1.55; margin-top: 12px; }
.heading-description { color: var(--muted); font-size: 13px; margin-top: 15px; max-width: 620px; }
.catalog-cover { width: 100%; aspect-ratio: 2; object-fit: cover; margin-top: 23px; border-radius: 9px; }
.tag-panel { padding: 24px 20px; border: 1px solid var(--line); background: var(--white); border-radius: 12px; align-self: start; }
.tag-panel .section-heading h2 { font-size: 20px; }
.large-tags { gap: 12px; }
.large-tags a { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-block: 30px 10px; }
.pagination a, .pagination span { min-width: 40px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 5px 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); font-size: 12px; }
.pagination [aria-current] { background: var(--rust); color: var(--white); border-color: var(--rust); }
.article-heading h1 { font-size: clamp(28px, 7.2vw, 40px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 5px 15px; color: var(--muted); font-size: 11px; margin-block: 20px 25px; }
.article-cover { width: 100%; aspect-ratio: 1.5; object-fit: cover; border-radius: 10px; margin-bottom: 28px; }
.article-body { line-height: 2; font-size: 16px; overflow-wrap: anywhere; min-width: 0; }
.article-body p { margin-block: 0 23px; }
.article-body h2, .article-body h3 { font-family: var(--serif); margin-block: 35px 18px; font-weight: 500; }
.article-body h2 { font-size: 25px; }
.article-body h3 { font-size: 21px; }
.article-body a { color: var(--rust); text-decoration: underline; text-underline-offset: 4px; }
.article-body blockquote { margin: 28px 0; padding: 20px; border-left: 3px solid #b78a6d; background: #efe4d6; font-family: var(--serif); }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body img, .article-body video { max-width: 100% !important; height: auto !important; border-radius: 6px; }
.article-body iframe { max-width: 100%; }
.article-body figure { margin: 24px 0; }
.article-body figcaption { font-size: 12px; color: var(--muted); }
.article-body pre { max-width: 100%; padding: 16px; background: #eae5dc; overflow-x: auto; border-radius: 7px; font-size: 12px; line-height: 1.8; overflow-wrap: normal; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 13px; }
.article-body th, .article-body td { padding: 10px; border: 1px solid var(--line); min-width: 100px; }
.article-body ul, .article-body ol { padding-left: 24px; }
.reading-end { margin-top: 32px; padding-top: 25px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-family: var(--serif); font-size: 12px; }
.article-topics { margin-block: 33px; }
.article-topics h2 { font-size: 19px; margin-bottom: 16px; }
.adjacent-posts { display: grid; gap: 12px; }
.adjacent-posts a { padding: 20px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.adjacent-posts span { display: block; font-size: 10px; color: var(--rust); margin-bottom: 9px; }
.adjacent-posts strong { font-family: var(--serif); font-weight: 500; font-size: 16px; }
.recommend-section { margin-top: 42px; }
.site-footer { margin-top: 50px; border-top: 1px solid var(--line); background: #eee8de; }
.footer-inner { padding: 32px 0 calc(112px + env(safe-area-inset-bottom)); text-align: center; }
.footer-motto { font-family: var(--serif); font-size: 16px; letter-spacing: 1px; margin-bottom: 18px; }
.external-links { justify-content: center; margin-bottom: 12px; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px 20px; font-size: 11px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 40px; }
.copyright, .beian { color: var(--muted); font-size: 10px; }
.beian { display: inline-block; padding-block: 6px; }
.mobile-dock { position: fixed; bottom: max(12px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; width: min(280px, calc(100% - 40px)); padding: 8px; gap: 8px; background: #fffdf9f5; border: 1px solid #dfd4c6; border-radius: 99px; box-shadow: 0 6px 25px #59402b14; z-index: 10; }
.mobile-dock a { flex: 1; min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 9px; line-height: 1.5; border-radius: 99px; }
.mobile-dock span { font-size: 19px; line-height: 1.2; }
.page-index .dock-home, .page-tag_index .dock-tags, .page-tag_list .dock-tags { background: var(--peach); color: #7b3e29; }
.preview-label { background: #403a32; color: #fffdf9; font-size: 11px; text-align: center; padding: 5px 15px; }

@media (min-width: 600px) {
    .shell { width: min(1100px, calc(100% - 64px)); }
    .hero { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; padding-top: 50px; }
    .hero-photo { margin-top: 0; }
    .hero h1 { font-size: 36px; }
    .story-single { display: grid; grid-template-columns: 43% 1fr; }
    .story-single .story-cover img { height: 100%; aspect-ratio: auto; min-height: 240px; }
    .story-copy { padding: 25px; }
    .side-column { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
    .side-section { margin: 0; }
    .adjacent-posts { grid-template-columns: 1fr 1fr; }
    .reading-shell { max-width: 760px; }
}

@media (min-width: 960px) {
    .header-row { flex-wrap: nowrap; padding-block: 24px; }
    .site-nav { width: auto; padding: 0; justify-content: flex-end; }
    .nav-item { position: relative; }
    .nav-children { position: absolute; top: 100%; right: 0; min-width: 190px; z-index: 15; box-shadow: 0 8px 24px #59402b14; }
    .hero { gap: 90px; padding-block: 58px 10px; }
    .hero h1 { font-size: 45px; }
    .hero-description { font-size: 14px; }
    .hero-signature { display: block; margin-top: 33px; color: var(--muted); font-size: 10px; letter-spacing: 2px; }
    .hero-photo img { aspect-ratio: 1.2; }
    .content-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 60px; margin-top: 45px; }
    .side-column { display: block; }
    .side-section { margin-top: 35px; }
    .section-heading { margin-bottom: 28px; }
    .section-heading h2 { font-size: 26px; }
    .story-copy h2 { font-size: 23px; }
    .story-gallery .story-images { padding: 12px 12px 0; }
    .friend-section { margin-block: 60px; }
    .page-heading { padding-top: 44px; }
    .mobile-dock { display: none; }
    .footer-inner { padding-bottom: 38px; }
    .reading-paper { padding-inline: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
