:root {
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: #292821;
  background: #f6f2e9;
  font-size: 18px;
  line-height: 1.65;
  --red: #8b3527;
  --wine: #67281f;
  --paper: #fffdf7;
  --edge: #ded5c7;
  --muted: #61594e;
}
:root.large { font-size: 22px; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, .primary { cursor: pointer; min-height: 48px; border-radius: 8px; padding: .42rem .86rem; border: 1px solid var(--edge); background: var(--paper); color: var(--wine); }
button:hover { background: #f1e7d9; }
:focus-visible { outline: 3px solid #23645c; outline-offset: 4px; }
[hidden] { display: none !important; }
.skip { position: fixed; top: .5rem; left: .5rem; background: white; padding: .5rem; z-index: 9; transform: translateY(-150%); }
.skip:focus { transform: none; }
.frame { width: min(1200px, 100% - 64px); margin-inline: auto; }
.top { background: var(--paper); border-bottom: 1px solid var(--edge); }
.bar { display: flex; min-height: 90px; align-items: center; justify-content: space-between; gap: .8rem 1.1rem; }
.brand { display: flex; align-items: center; gap: .62rem; text-decoration: none; flex-shrink: 0; line-height: 1.3; }
.brand strong { display: block; font-family: "Songti SC", SimSun, serif; font-size: 1.55rem; letter-spacing: .1em; }
.brand small { font-size: .72rem; color: var(--muted); }
.seal { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; background: var(--red); color: white; border: 4px double #f5d8bc; border-radius: 7px; font: bold 1.4rem SimSun, serif; }
nav { display: flex; gap: .25rem 1rem; flex-wrap: wrap; }
nav a { display: grid; align-items: center; min-height: 48px; text-decoration: none; padding: 0 .15rem; }
nav a[aria-current], nav a:hover { color: var(--wine); text-decoration: underline 2px; text-underline-offset: .4em; }
#large { white-space: nowrap; }
#large[aria-pressed="true"] { background: #efe0cb; }
main { padding-block: 28px 64px; }
section { scroll-margin-top: 20px; }
.hero { display: grid; grid-template-columns: 43% 57%; border-radius: 17px; overflow: hidden; background: #ebdfca; border: 1px solid #dbccb4; }
.intro { padding: clamp(24px, 4vw, 56px); position: relative; }
.location { display: flex; align-items: center; gap: .55rem; color: var(--wine); font-weight: bold; letter-spacing: .14em; margin: 0 0 .6rem; font-size: .84rem; }
.location::before { content: ""; width: 1.35rem; border-top: 2px solid var(--red); }
h1, h2 { font-family: "Songti SC", SimSun, serif; }
h1 { font-size: clamp(2.25rem, 5vw, 4.15rem); line-height: 1.14; margin: 0; letter-spacing: .01em; }
.lede { color: #4e4337; margin: .8rem 0 1.05rem; }
.primary { display: inline-flex; align-items: center; justify-content: center; background: var(--red); color: white; border-color: var(--red); font-weight: bold; text-decoration: none; white-space: nowrap; }
.primary:hover { background: var(--wine); }
figure { margin: 0; position: relative; min-height: 100%; }
figure img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 51%; }
figcaption { position: absolute; right: .7rem; bottom: .7rem; background: #231b16e8; color: white; border-radius: 5px; padding: .18rem .55rem; font-size: .76rem; }
.columns { display: grid; grid-template-columns: 1.75fr 1fr; gap: clamp(22px, 3vw, 42px); padding-top: 32px; align-items: start; }
.columns > * { min-width: 0; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: .7rem; }
h2 { font-size: 1.7rem; margin: 0; line-height: 1.3; }
.section-head p, .meta { margin: .15rem 0 0; color: var(--muted); font-size: .85rem; }
.card { background: var(--paper); border: 1px solid var(--edge); border-radius: 13px; padding: 1rem; margin-bottom: .75rem; overflow-wrap: anywhere; }
.person { display: flex; align-items: center; gap: .6rem; }
.avatar { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #ebdcc0; color: var(--wine); font-weight: bold; }
.person p { margin: 0; }
.post-copy { white-space: pre-wrap; margin: .75rem 0; }
.post-photo { width: 100%; max-height: 325px; object-fit: cover; object-position: center; display: block; border-radius: 8px; }
.actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .75rem; }
.actions button[aria-pressed="true"] { background: #f1dfd3; font-weight: bold; }
.comments { border-top: 1px solid var(--edge); margin-top: .8rem; padding-top: .5rem; }
.comments ol { padding-left: 1.3rem; margin: .3rem 0 .6rem; }
.comments li { white-space: pre-wrap; }
.comments form { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem; }
.comments label { flex: 1 1 160px; }
h3 { margin: 0; font-size: 1.14rem; line-height: 1.4; }
.event { display: flex; align-items: start; gap: .7rem; }
.date { background: #f1e4d1; color: var(--wine); border-radius: 8px; text-align: center; min-width: 3rem; padding: .3rem; font-size: .77rem; line-height: 1.35; }
.date strong { display: block; font-size: 1.3rem; }
.event button { margin-top: .55rem; }
.stories { margin-top: 1.5rem; }
.story { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .5rem; }
.story p { margin: .15rem 0 0; }
footer { background: #eae1d2; padding: 1.1rem 0; color: #4c443a; }
footer span { display: inline-block; margin-inline-start: .55rem; font-size: .85rem; }
dialog { width: min(640px, 100% - 28px); max-height: 88vh; padding: 1.1rem; border-radius: 14px; color: inherit; border: 1px solid var(--edge); background: var(--paper); }
dialog::backdrop { background: #241b16a3; }
.dialog-head { display: flex; justify-content: space-between; gap: .6rem; align-items: center; }
.dialog-head button { white-space: nowrap; }
.dialog-photo { width: 100%; max-height: 260px; object-fit: contain; margin-top: .7rem; border-radius: 8px; background: #ede2d1; }
label { display: block; margin-top: .5rem; }
input, textarea { width: 100%; padding: .5rem; color: inherit; background: #fff; border: 1px solid #928474; border-radius: 6px; }
textarea { resize: vertical; min-height: 130px; }
.notice:not(:empty) { position: fixed; z-index: 3; bottom: .75rem; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 2rem); padding: .45rem .75rem; background: #322b24; color: white; border-radius: 8px; margin: 0; }
@media (max-width: 850px) {
  .bar { flex-wrap: wrap; padding-block: .5rem; }
  nav { order: 3; width: 100%; justify-content: space-between; }
  .frame { width: calc(100% - 36px); }
  .columns { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  nav { justify-content: flex-start; column-gap: .75rem; font-size: .92rem; }
  .hero { grid-template-columns: 1fr; }
  figure { height: 225px; }
  main { padding-top: 16px; }
  .section-head { flex-wrap: wrap; }
  footer span { display: block; margin-inline-start: 0; }
}
