:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #282b28; background: #fff; font-synthesis: none; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; min-width: 320px; font-size: 14px; line-height: 1.8; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
a:hover, button:hover { color: #64755c; }
:focus-visible { outline: 2px solid #64755c; outline-offset: 5px; }
p, h1, h2, h3 { margin: 0; }
.page { width: min(1080px, calc(100% - 96px)); margin: auto; }
.site-header { height: 108px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e9e9e5; }
.wordmark { font: bold 34px Georgia, "Times New Roman", serif; letter-spacing: -1.5px; }
.wordmark span, .profile-mark span { color: #708067; }
nav { display: flex; align-items: center; gap: 32px; font-size: 13px; }
nav button { border: 0; border-left: 1px solid #e4e5df; padding: 0 0 0 28px; background: transparent; color: inherit; }
nav button span { margin-left: 8px; }
.intro { position: relative; padding: 74px 0 64px; }
.overline { font-size: 10px; letter-spacing: 2.1px; color: #777c72; font-weight: 600; }
.little-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #75806b; vertical-align: middle; margin-right: 9px; }
h1 { font-family: "Songti SC", "Noto Serif CJK SC", "SimSun", serif; font-size: clamp(30px, 3.8vw, 46px); font-weight: 500; letter-spacing: 1px; line-height: 1.65; margin: 25px 0 24px; }
.title-dot { color: #83907c; }
.intro-bottom { display: flex; align-items: flex-end; gap: 48px; }
.intro-bottom p { color: #747870; line-height: 2; }
.text-link { font-size: 12px; border-bottom: 1px solid #d5d9d1; padding-bottom: 3px; white-space: nowrap; }
.text-link span { padding-left: 20px; }
.margin-note { position: absolute; right: 0; top: 148px; writing-mode: vertical-rl; color: #9a9e96; font: italic 13px Georgia, serif; letter-spacing: .6px; }
.journal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: 74px; border-top: 1px solid #e9e9e5; padding: 35px 0 62px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; }
.section-heading h2 { font-size: 13px; font-weight: 500; }
.section-heading > span { color: #999e95; font-size: 9px; letter-spacing: 1.5px; }
.entry { padding: 29px 0 30px; border-bottom: 1px solid #e9e9e5; }
.entry:last-child { border-bottom: 0; padding-bottom: 0; }
.entry-meta { display: flex; gap: 15px; color: #7b8175; font-size: 10px; letter-spacing: 1px; margin-bottom: 11px; }
.entry-meta span:first-child { color: #a4a89f; font-family: Georgia, serif; }
summary { list-style: none; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary h3 { font-size: 21px; font-weight: 550; letter-spacing: .2px; }
.entry-arrow { font-size: 21px; color: #a3a99c; transition: transform .18s; }
details[open] .entry-arrow { transform: rotate(90deg); }
summary:hover h3 { color: #64755c; }
.entry-excerpt { color: #7c8078; margin: 11px 26px 14px 0; font-size: 13px; line-height: 1.9; }
.reading-time { color: #979c91; font-size: 10px; }
.entry-body { margin: 18px 0 10px; border-left: 2px solid #dce2d6; padding-left: 18px; font-size: 14px; color: #5b6255; }
.entry-body p + p { margin-top: 14px; }
details[open] + .entry-excerpt { display: none; }
aside { border-left: 1px solid #e9e9e5; padding-left: 34px; padding-top: 6px; }
.profile-mark { display: grid; place-content: center; width: 62px; height: 62px; background: #f4f4f0; border-radius: 50%; font: italic 40px Georgia, serif; margin-bottom: 25px; position: relative; }
.profile-mark span { position: absolute; left: 43px; top: 19px; }
aside .overline { font-size: 8px; letter-spacing: 1.2px; }
aside h2 { font-size: 16px; font-weight: 550; margin: 12px 0 14px; }
.about-copy { color: #7c8176; font-size: 12px; line-height: 2.2; }
.sidebar-note { margin-top: 29px; }
.note-label { font-size: 10px; color: #a0a599; }
.sidebar-note p { font-size: 12px; color: #666e60; margin-top: 7px; line-height: 2; }
.signature { font: italic 25px Georgia, serif; margin-top: 32px; color: #77806f; transform: rotate(-6deg); display: inline-block; }
footer { border-top: 1px solid #e9e9e5; padding: 25px 0 35px; display: flex; justify-content: space-between; gap: 20px; color: #8c9385; font-size: 10px; }
.skip-link { position: absolute; left: 20px; top: -80px; background: white; padding: 10px 20px; z-index: 5; }
.skip-link:focus { top: 10px; }
dialog { color: #282b28; background: #fff; border: 1px solid #e4e5df; border-radius: 12px; width: min(420px, calc(100% - 32px)); padding: 38px; max-height: calc(100dvh - 32px); overflow: auto; box-shadow: 0 24px 80px #20282020; }
dialog::backdrop { background: #20282055; }
body:has(dialog[open]) { overflow: hidden; }
.close-dialog { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: #737a6c; font-size: 26px; }
dialog h2 { font-size: 26px; margin-top: 12px; font-weight: 500; }
#login-description { margin-top: 8px; color: #82887b; font-size: 13px; }
form { display: grid; margin-top: 26px; }
label { font-size: 12px; margin-bottom: 7px; }
input { width: 100%; border: 1px solid #dce0d7; border-radius: 5px; background: #fafbf8; color: #282b28; padding: 10px 12px; margin-bottom: 17px; }
.login-submit { display: flex; justify-content: space-between; background: #343d30; color: white; border: 0; border-radius: 5px; padding: 11px 16px; margin-top: 4px; }
.login-submit:hover { background: #4e5b46; color: white; }
.login-submit:disabled { opacity: .6; cursor: wait; }
#login-error { color: #a53b31; font-size: 12px; min-height: 22px; margin-top: 12px; }
@media (max-width: 760px) {
  .page { width: calc(100% - 40px); }
  .site-header { height: 84px; }
  nav { gap: 18px; }
  nav button { padding-left: 18px; }
  .intro { padding: 48px 0; }
  .intro-bottom { display: block; }
  .intro-bottom .text-link { display: inline-block; margin-top: 22px; }
  .margin-note { display: none; }
  .journal-layout { grid-template-columns: 1fr; gap: 40px; padding-top: 28px; }
  aside { border-left: 0; border-top: 1px solid #e9e9e5; padding: 32px 0 0; }
  summary h3 { font-size: 19px; }
  footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .entry-arrow { transition: none; } }
