.wood-journal {
  --wj-paper: #fbfaf6;
  --wj-ink: #202f2b;
  --wj-muted: #59665c;
  --wj-line: #d4d8cc;
  --wj-accent: #355545;
  max-width: 1250px;
  margin: 0 auto;
  padding: clamp(20px, 3.5vw, 58px);
  background: var(--wj-paper);
  border: 1px solid var(--wj-line);
  border-radius: 20px;
  color: var(--wj-ink);
  overflow-wrap: anywhere;
}
.wood-journal :is(h1,h2,p,figure) { margin: 0; }
.wood-journal a { color: inherit; text-decoration: none; }
.wood-journal a:focus-visible { outline: 3px solid var(--wj-accent); outline-offset: 3px; }
.wj-header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 26px;
  padding-bottom: clamp(22px, 3vw, 42px);
}
.wj-header h1, .wj-story-header h1, .wj-card-copy h2, .wj-not-found h1 {
  font-family: Georgia, "Songti SC", "Noto Serif CJK SC", SimSun, serif;
  font-weight: 550;
  text-wrap: pretty;
}
.wj-header h1 { font-size: clamp(30px, 3.7vw, 58px); line-height: 1.2; }
.wj-header p { max-width: 40ch; font-size: 15px; line-height: 1.7; color: var(--wj-muted); }
.wj-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 clamp(16px, 2.5vw, 34px);
  padding: 2px 0 0;
  border-block: 1px solid var(--wj-line);
}
.wj-categories a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding-block: 8px;
  border-bottom: 2px solid transparent;
  color: var(--wj-muted);
  font-size: 14px;
  line-height: 1.45;
}
.wj-categories a[aria-current="page"] {
  border-bottom-color: var(--wj-accent);
  color: var(--wj-accent);
  font-weight: 650;
}
.wj-categories a:hover, .wj-back:hover { color: var(--wj-accent); text-decoration: underline; text-underline-offset: 4px; }
.wj-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.2vw, 46px);
  margin-top: clamp(22px, 3vw, 40px);
}
.wj-card, .wj-card-copy { min-width: 0; }
.wj-card-link { display: grid; height: 100%; }
.wj-card--lead { grid-column: 1 / -1; }
.wj-card--lead .wj-card-link {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  background: #efefe7;
  border: 1px solid var(--wj-line);
}
.wj-card-copy { display: grid; justify-items: start; align-content: start; gap: 14px; padding-top: 18px; }
.wj-card--lead .wj-card-copy { padding: clamp(20px, 3vw, 50px); }
.wj-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 18px; font-size: 13px; line-height: 1.65; color: var(--wj-accent); }
.wj-meta time { font-variant-numeric: tabular-nums; color: var(--wj-muted); }
.wj-event-meta b { color: #4d613e; font-weight: 650; }
.wj-post-date { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.wj-schedule { display: grid; justify-items: start; gap: 3px; }
.wj-schedule-label { font-size: 13px; color: var(--wj-muted); }
.wj-schedule-venue { display: grid; gap: 3px; margin-top: 6px; }
.wj-schedule-venue strong { color: var(--wj-ink); font-size: clamp(15px, 1.4vw, 18px); font-weight: 550; line-height: 1.45; }
.wj-schedule-range { display: flex; flex-wrap: wrap; align-items: center; gap: .4em; color: var(--wj-accent); font: 500 clamp(17px, 1.65vw, 25px)/1.45 Georgia, serif; font-variant-numeric: tabular-nums; }
.wj-ended { font-size: 13px; color: var(--wj-muted); }
.wj-card-copy h2 { font-size: clamp(22px, 2.6vw, 38px); line-height: 1.35; }
.wj-card-copy p, .wj-story-header p { font-size: clamp(15px, 1.3vw, 18px); line-height: 1.85; color: var(--wj-muted); }
.wj-read, .wj-related, .wj-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--wj-accent);
  font-weight: 550;
  font-size: 14px;
}
.wj-card-link:hover .wj-read span:first-child, .wj-related:hover span:first-child {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.wj-visual {
  position: relative;
  display: flex;
  height: auto;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #e5e3d9;
}
.wj-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wj-visual--whole { padding: clamp(18px, 2.5vw, 38px); }
.wj-visual--whole img { width: auto; max-width: 100%; object-fit: contain; }
.wj-empty { padding: clamp(38px, 6vw, 78px) 0; }
.wj-empty p { margin-bottom: 12px; line-height: 1.75; color: var(--wj-muted); }
.wj-empty a { display: inline-flex; align-items: center; min-height: 44px; color: var(--wj-accent); text-decoration: underline; text-underline-offset: 4px; }
.wj-story-header { display: grid; max-width: 840px; margin: clamp(16px, 3vw, 38px) auto 26px; gap: 14px; }
.wj-story-header h1, .wj-not-found h1 { font-size: clamp(29px, 3.6vw, 50px); line-height: 1.34; }
.wj-story > .wj-visual { width: 100%; max-width: 840px; aspect-ratio: 1.9; margin-inline: auto; }
.wj-story-body { max-width: 72ch; padding-top: clamp(22px, 3vw, 40px); margin-inline: auto; }
.wj-story-body p { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.95; margin-bottom: 1.05em; }
.wj-visual--artwork, .wj-story > .wj-visual--artwork { aspect-ratio: auto; }
.wj-visual--artwork img { height: auto; object-fit: contain; }
.wj-story-footer { max-width: 72ch; margin-inline: auto; }
.wj-story-footer p { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.85; margin-bottom: 1.05em; }
.wj-studies { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(18px, 3vw, 32px); max-width: 840px; margin: clamp(22px, 3vw, 38px) auto; }
.wj-studies img { display: block; width: 100%; height: auto; }
.wj-studies figcaption { padding-top: 14px; }
.wj-studies h2 { font-family: Georgia, "Songti SC", "Noto Serif CJK SC", SimSun, serif; font-size: clamp(19px, 2vw, 27px); font-weight: 550; line-height: 1.4; }
.wj-studies p { color: var(--wj-muted); margin-top: 8px; font-size: 15px; line-height: 1.8; }
.wj-walk { max-width: 840px; margin: clamp(32px, 5vw, 64px) auto; }
.wj-walk h2 { font: 550 clamp(24px, 3vw, 38px)/1.4 Georgia, "Songti SC", "Noto Serif CJK SC", SimSun, serif; }
.wj-walk > p, .wj-route-body > p, .wj-wall-detail > p { color: var(--wj-muted); font-size: 15px; line-height: 1.8; margin: 8px 0 16px; }
.wj-walk-links { display: flex; flex-wrap: wrap; column-gap: 8px; row-gap: 6px; margin-bottom: 20px; }
.wood-journal .wj-guide-download { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 12px; color: var(--wj-accent); font-size: 15px; font-weight: 550; text-decoration: underline; text-underline-offset: 4px; }
.wj-walk-links button { padding: 7px 13px; min-height: 44px; border: 1px solid var(--wj-line); border-radius: 4px; color: var(--wj-accent); background: #f4f4ec; font: inherit; font-size: 14px; cursor: pointer; }
.wj-walk button:focus-visible, .wj-walk summary:focus-visible { outline: 3px solid var(--wj-accent); outline-offset: 2px; }
.wj-route { border-block-start: 1px solid var(--wj-line); scroll-margin-block-start: 88px; }
.wj-route:last-child { border-block-end: 1px solid var(--wj-line); }
.wj-route > summary, .wj-wall > summary { display: flex; gap: 12px; align-items: center; list-style: none; cursor: pointer; line-height: 1.5; }
.wj-walk summary::-webkit-details-marker { display: none; }
.wj-route > summary { min-height: 58px; padding-block: 10px; font-size: 18px; font-weight: 600; }
.wj-route > summary::after, .wj-wall > summary::after { content: ''; flex: 0 0 8px; height: 8px; margin-inline: auto 6px; border: solid var(--wj-accent); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.wj-route[open] > summary::after, .wj-wall[open] > summary::after { transform: rotate(225deg); }
.wj-route-body { padding: 0 8px 20px; }
.wj-wall { border-block-start: 1px solid var(--wj-line); }
.wj-wall > summary { min-height: 46px; padding-block: 6px; font-weight: 550; }
.wj-wall-id { color: var(--wj-muted); min-width: 3.4em; font: 500 .84em/1.5 ui-monospace, monospace; }
.wj-wall-detail { padding-block-end: 14px; }
.wj-wall-front, .wj-panorama { display: block; }
.wj-wall-front img:not([hidden]), .wj-panorama img:not([hidden]) { display: block; max-width: 100%; height: auto; margin-inline: auto; }
.wj-wall-front img { max-height: 420px; }
.wj-wall-front span, .wj-panorama span, .wj-wall-detail-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--wj-accent); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.wj-wall-front { margin-bottom: 0; }
.wj-related { border-bottom: 1px solid var(--wj-line); }
.wj-invite { margin-top: 26px; padding: clamp(18px, 3vw, 32px); background: #eff1e9; border-left: 2px solid #74836b; }
.wj-invite h2 { margin-bottom: 10px; font-size: 20px; color: var(--wj-ink); }
.wj-invite p { white-space: pre-line; }
.wj-invite-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; }
.wj-invite button { min-height: 44px; padding: 10px 16px; border-radius: 6px; background: var(--wj-accent); border: 1px solid var(--wj-accent); color: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.wj-invite button:hover { background: #264437; }
.wj-invite button:focus-visible { outline: 3px solid var(--wj-accent); outline-offset: 3px; }
.wood-journal .wj-poster { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--wj-accent); text-decoration: underline; text-underline-offset: 4px; }
.wj-copy-status:not(:empty) { display: block; margin-top: 10px; color: var(--wj-accent); font-size: 14px; }
.wj-invite textarea { width: 100%; margin-top: 10px; padding: 10px; border: 1px solid var(--wj-line); border-radius: 4px; background: #fff; font: inherit; font-size: 16px; line-height: 1.6; resize: vertical; }
.wj-not-found .wj-back { margin-top: 24px; }
/* Share material stays off the network until the visitor opens this panel. */

.wj-vr-entry {
  display: grid; grid-template-columns: clamp(116px, 20vw, 248px) minmax(0, 1fr) auto;
  gap: clamp(14px, 3vw, 36px); align-items: center; overflow: hidden;
  margin: 0 0 clamp(18px, 3vw, 34px); padding-inline-end: clamp(14px, 3vw, 34px);
  border: 1px solid var(--wj-line); border-radius: 10px; background: #f0f1e8;
}
.wj-vr-entry:hover { background: #e8ece1; }
.wj-vr-entry img { width: 100%; height: clamp(86px, 9vw, 126px); object-fit: cover; display: block; }
.wj-vr-entry strong { display: block; font-size: clamp(17px, 2vw, 25px); line-height: 1.45; }
.wj-vr-entry small { display: block; color: var(--wj-muted); font-size: 14px; line-height: 1.6; }
.wj-vr-entry > span:last-child { font-size: 24px; }
@media (max-width: 600px) {
  .wj-vr-entry { grid-template-columns: minmax(64px, 26%) minmax(0, 1fr) auto; gap: 10px; padding-inline-end: 10px; }
  .wj-vr-entry small { font-size: 12px; }
}
.wj-share-open, .wj-share-actions :is(button,a), .wj-share-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  border: 1px solid var(--wj-line);
  background: var(--wj-paper);
  color: var(--wj-accent);
  padding: 8px 16px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 550;
  text-align: center;
  cursor: pointer;
}
.wj-share-open, .wj-share-actions [data-moments-copy] {
  background: var(--wj-accent);
  color: white;
  border-color: var(--wj-accent);
}
.wj-share-open::after { content: '↗'; margin-inline-start: 12px; }
.wj-share-open:hover, .wj-share-actions [data-moments-copy]:hover { background: #284739; }
.wj-share-dialog {
  width: min(760px, calc(100vw - 32px));
  max-width: none;
  max-height: 90vh;
  max-height: min(90dvh, 880px);
  overflow: auto;
  overscroll-behavior: contain;
  margin: auto;
  padding: clamp(16px, 3.3vw, 28px);
  border: 1px solid var(--wj-line);
  border-radius: 14px;
  background: var(--wj-paper);
  color: var(--wj-ink);
  box-shadow: 0 22px 80px #14201d30;
}
.wj-share-dialog::backdrop { background: #1c2926a6; }
.wj-share-dialog:not([open]), .wj-share-dialog [hidden] { display: none; }
.wj-share-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wj-share-heading h2 { font: 550 clamp(23px, 3vw, 32px)/1.3 Georgia, "Songti SC", SimSun, serif; }
.wj-share-close { padding: 0; width: 44px; flex: 0 0 44px; border: 0; font-size: 26px; }
.wj-share-choices { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; margin: 10px 0 14px; padding: 0; border: 0; }
.wj-share-choices legend, .wj-share-controls h3 { font-size: 14px; font-weight: 650; color: var(--wj-ink); line-height: 1.6; }
.wj-share-choices legend { margin-bottom: 5px; }
.wj-share-choices label { position: relative; max-width: 100%; cursor: pointer; }
.wj-share-choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wj-share-choices label span { display: flex; align-items: center; min-height: 44px; border: 1px solid var(--wj-line); border-radius: 5px; padding: 5px 11px; color: var(--wj-muted); font-size: 13px; line-height: 1.45; }
.wj-share-choices input:checked + span { background: #e7ede4; color: #244132; box-shadow: inset 0 0 0 1px var(--wj-accent); }
.wj-share-choices input:focus-visible + span, .wj-share :is(button,a,textarea):focus-visible { outline: 3px solid var(--wj-accent); outline-offset: 2px; }
.wj-share-body { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1fr); align-items: start; gap: clamp(14px,3vw,26px); }
.wj-share-art { display: grid; justify-items: center; background: #eae8de; }
.wj-share-art img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(56vh,440px); object-fit: contain; -webkit-touch-callout: default; }
.wj-share-art a, .wj-share-controls [data-moments-article] { display: inline-flex; align-items: center; min-height: 44px; color: var(--wj-accent); text-decoration: underline; text-underline-offset: 3px; }
.wj-share-controls { min-width: 0; }
.wj-share-controls h3 { margin: 0 0 8px; }
.wj-share-controls .wj-share-caption { white-space: pre-line; color: var(--wj-ink); font-size: clamp(15px,1.4vw,17px); line-height: 1.66; }
.wj-share-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 14px 10px; }
.wj-share-controls :is(.wj-share-how,.wj-share-status,[data-moments-wechat] p) { color: var(--wj-muted); font-size: 13px; line-height: 1.7; }
.wj-share-controls [data-moments-wechat] { margin-top: 8px; }
.wj-share-status:not(:empty) { margin-top: 8px; }
.wj-share-controls textarea { width: 100%; padding: 8px; margin-top: 8px; border: 1px solid var(--wj-line); border-radius: 4px; font: inherit; font-size: 16px; resize: vertical; }
.wj-invite [data-journal-invite-text] { white-space: pre-line; }
.wj-ticket[hidden], .wj-ticket [hidden] { display: none; }
.wj-ticket { margin: clamp(20px, 4vw, 40px) auto; max-width: 780px; padding: clamp(18px, 3vw, 32px); border: 1px solid var(--wj-line); border-left: 4px solid var(--wj-accent); background: #f0f3ed; border-radius: 7px; }
.wj-ticket h2 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 30px); }
.wj-ticket p { margin: 8px 0; line-height: 1.65; }
.wj-ticket .wj-ticket-state { font-weight: 650; }
.wj-ticket-links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.wj-ticket :is(a,button) { box-sizing: border-box; display: inline-flex; align-items: center; min-height: 44px; color: var(--wj-accent); }
.wj-ticket button { padding: 8px 14px; background: white; border: 1px solid var(--wj-line); border-radius: 5px; font: inherit; cursor: pointer; }
.wj-ticket button:disabled { opacity: .6; }
.wj-ticket button[type=submit] { color: white; background: var(--wj-accent); }
.wj-ticket label { display: grid; gap: 4px; margin: 6px 0; font-size: 14px; font-weight: 600; }
.wj-ticket :is(input,select) { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; padding: 7px 10px; border: 1px solid var(--wj-line); border-radius: 4px; background: white; color: var(--wj-ink); font: inherit; font-size: 16px; }
.wj-ticket-contact { margin: 15px 0; padding: 12px 0; border-block: 1px solid var(--wj-line); }
.wj-ticket-contact label { max-width: 480px; }
.wj-ticket-contact p, .wj-ticket-note { color: var(--wj-muted); font-size: 14px; }
.wj-ticket .wj-ticket-note:empty { margin: 0; }
.wj-ticket-story-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  max-width: 840px;
  min-height: 48px;
  margin: 0 auto 16px;
  padding: 8px 15px;
  border-block: 1px solid var(--wj-line);
  font-weight: 600;
}
.wj-ticket-story-link:hover span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.wj-ticket-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  margin: 18px 0 28px;
}
.wj-ticket-lead .wj-story-header { margin: 0; min-width: 0; }
.wj-ticket-lead h1 { font-size: clamp(28px, 3vw, 44px); }
.wj-ticket-editorial { max-width: 780px; margin-inline: auto; }
.wj-ticket-editorial section { border-top: 1px solid var(--wj-line); padding-block: clamp(18px, 2.2vw, 29px); }
.wj-ticket-editorial section h2 { margin-bottom: 8px; font: 550 clamp(21px, 2vw, 29px)/1.4 Georgia, "Songti SC", SimSun, serif; }
.wj-ticket-editorial p { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.85; }
@media (max-width: 850px) {
  .wj-ticket-lead { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .wj-share-dialog { width: min(480px, calc(100vw - 16px)); max-height: 94vh; max-height: 94dvh; padding: 14px; }
  .wj-share-body { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .wj-share-art img { max-height: 34vh; max-height: clamp(170px, 34dvh, 315px); }
  .wj-share-actions { margin-top: 10px; }
  .wj-share-choices { gap: 4px; }
  .wj-share-choices label span { padding-inline: 7px; }
}

@media (max-width: 820px) {
  .wj-card--lead .wj-card-link { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wj-visual { aspect-ratio: 1; }
}
@media (max-width: 640px) {
  .wood-journal { padding: 22px 16px; border-radius: 14px; }
  .wj-list { grid-template-columns: minmax(0, 1fr); }
  .wj-card--lead .wj-card-link { grid-template-columns: minmax(0, 1fr); }
  .wj-card--lead .wj-card-copy { padding: 20px 16px 14px; }
  .wj-visual, .wj-story > .wj-visual { aspect-ratio: 4 / 3; }
  .wj-visual--artwork, .wj-story > .wj-visual--artwork { aspect-ratio: auto; }
  .wj-studies { grid-template-columns: minmax(0,1fr); }
  .wj-categories { column-gap: 15px; }
  .wj-header { display: grid; }
}

