/* 雁城动物园：游客服务网 · 作者 Bobby */
:root {
  --green: #17634c;
  --green-dark: #10543f;
  --green-pale: #eef5ef;
  --ink: #26332e;
  --muted: #5f6b64;
  --muted-soft: #6f7a73;
  --line: #dfe5df;
  --paper: #f7f9f6;
  --orange: #a9552e;
  --brass: #c9a76a;
  --serif: "SimSun", "Songti SC", "Noto Serif CJK SC", serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --shadow-soft: 0 1px 2px #12302108;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { color: #0d3f30; background: #cfe3d5; }
button, input, select, textarea { font: inherit; }
button {
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease,
    box-shadow .16s ease, transform .16s ease;
}
button:disabled { cursor: not-allowed; opacity: .55; }
button:active:not(:disabled) { transform: translateY(1px); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
#app:focus { outline: none; }
.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; z-index: 100; padding: 10px 15px;
  color: #fff; background: var(--green-dark); font-size: 13px; font-weight: 700;
  transform: translateY(-200%); transition: transform .16s ease;
}
.skip-link:focus { color: #fff; transform: translateY(0); }
.site-shell { min-height: 100vh; }

.utility-bar {
  height: 36px; display: flex; justify-content: space-between; align-items: center;
  padding: 0 max(24px, calc((100vw - 1180px)/2));
  color: var(--muted); background: #f5f7f5; border-bottom: 1px solid #ebeeeb; font-size: 12px;
}
.utility-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.utility-hours { color: #74857a; }
.utility-right { display: flex; gap: 12px; align-items: center; }
.utility-divider { color: #b8c4bb; }
.utility-right a:hover { color: var(--green-dark); }
.site-header {
  max-width: 1228px; min-height: 110px; margin: auto; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.identity { display: flex; align-items: center; gap: 14px; flex: none; }
.identity-mark {
  width: 55px; height: 55px; border: 3px solid var(--green); border-radius: 50%;
  display: grid; place-items: center; position: relative;
}
.identity-mark::after { content: ""; position: absolute; width: 25px; height: 5px; bottom: 9px; left: 10px; border-radius: 50%; background: var(--green); transform: rotate(-12deg); }
.identity-mark span { width: 19px; height: 29px; background: var(--green); border-radius: 90% 4% 70% 4%; transform: rotate(33deg) translate(1px, -3px); }
.identity strong { display: block; font: 700 29px/1.25 "SimSun", "Songti SC", serif; letter-spacing: .14em; color: var(--green-dark); }
.identity small { display: block; margin-top: 4px; font: 11px Georgia, serif; letter-spacing: .14em; color: var(--muted); }
.site-search {
  display: flex; width: min(312px, 33vw); height: 40px;
  border: 1px solid #c6d3c9; background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.site-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px #17634c1c; }
.site-search input { min-width: 0; width: 100%; border: 0; background: transparent; padding: 0 13px; color: var(--ink); font-size: 13px; outline: 0; }
.site-search input::placeholder { color: var(--muted-soft); opacity: 1; }
.site-search button { flex: none; border: 0; background: var(--green); color: white; padding: 0 17px; font-size: 13px; font-weight: 700; }
.site-search button:hover { background: var(--green-dark); }
.nav-bar { background: var(--green); }
.main-nav { max-width: 1180px; margin: auto; display: flex; }
.main-nav a {
  min-width: 0; flex: 1 1 0; padding: 17px 8px; text-align: center; color: white;
  font-size: 14px; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
  transition: background-color .16s ease, color .16s ease;
}
.main-nav a:hover, .main-nav a.active { color: white; background: #0d4d3a; }
.main-nav a.nav-tool {
  flex: 0 0 auto; min-width: 138px; padding-inline: 21px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-left: 1px solid #ffffff2b; background: #0f4b39;
}
.main-nav a.nav-tool:hover, .main-nav a.nav-tool.active { background: #0a3f2f; }
.nav-tool-icon { width: 15px; height: 15px; flex: none; opacity: .92; }
.menu-button { display: none; }
.menu-icon { float: right; width: 16px; height: 16px; margin-top: 1px; }
.menu-icon svg { display: block; width: 100%; height: 100%; }
.notice-strip { border-bottom: 1px solid #e9e2cf; background: #fbf8ef; }
.notice-strip-inner { max-width: 1180px; min-height: 44px; margin: auto; display: flex; align-items: center; gap: 14px; }
.notice-strip-label { flex: none; padding: 3px 8px; border: 1px solid #d9c79d; color: #8a6127; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.notice-strip-link { min-width: 0; min-height: 44px; display: inline-flex; align-items: center; color: #6b5b3d; font-size: 13px; }
.notice-strip-link:hover { color: var(--orange); }
.notice-strip-long, .notice-strip-short { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-strip-short { display: none; }
.notice-strip-more { flex: none; margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: 12px; }
.notice-strip-more:hover { color: var(--green); }

.hero { height: clamp(300px, 32vw, 455px); position: relative; overflow: hidden; background: #376a4a; }
.hero img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 45%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 47, 34, .84), rgba(11, 47, 34, .44) 40%, transparent 75%); pointer-events: none; }
.hero-copy { position: absolute; z-index: 1; top: 50%; left: max(24px, calc((100vw - 1180px)/2)); max-width: 570px; transform: translateY(-50%); color: white; }
.hero-overline { font-size: 14px; letter-spacing: .36em; color: #dcebdc; }
.hero h1 { font: 600 clamp(36px, 4.6vw, 64px)/1.2 "SimSun", "Songti SC", serif; letter-spacing: .08em; margin: 17px 0; }
.hero p { font-size: 16px; letter-spacing: .09em; margin: 0 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .button { min-height: 44px; }
.hero-clearance::after { background: linear-gradient(90deg, rgba(7, 37, 32, .95), rgba(11, 47, 38, .82) 51%, rgba(11, 47, 34, .15)); }
.hero-clearance .hero-copy { max-width: 690px; right: 24px; }
.hero-clearance h1 { letter-spacing: .035em; }
.hero-clearance p { margin-bottom: 12px; }
.hero-counterrecord { display: grid; gap: 5px; width: fit-content; max-width: 100%; padding: 11px 16px; margin-bottom: 17px; border: 1px solid rgba(255, 255, 255, .26); background: rgba(4, 27, 24, .74); }
.hero-counterrecord span { color: #d8e4d9; font-size: 11px; letter-spacing: .12em; }
.hero-counterrecord strong { color: #fff3d4; font-size: 16px; font-weight: 600; letter-spacing: .06em; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 40px; padding: 9px 18px; border: 1px solid var(--green); background: white; color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.button:hover { background: var(--green-pale); }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: var(--green-dark); color: white; }
.button-outline { background: white; color: var(--green); }
.button-light { color: var(--green-dark); border-color: #fff; background: #fff; font-size: 13px; }
.button-light:hover { color: var(--green-dark); border-color: #e7f0e9; background: #e7f0e9; }
.button-light-outline { color: #fff; border-color: #ffffff80; background: transparent; font-size: 13px; }
.button-light-outline:hover { color: var(--green-dark); border-color: #fff; background: #fff; }
.button-danger { border-color: var(--orange); background: var(--orange); color: white; }
.button:disabled { box-shadow: none; }
.text-link { display: inline-flex; align-items: center; min-height: 34px; color: var(--green); text-decoration: underline; text-underline-offset: 4px; font-weight: 700; font-size: 13px; }
.text-link:hover { color: var(--orange); }

.visit-strip { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.visit-item { min-width: 0; min-height: 78px; display: flex; align-items: center; gap: 14px; padding: 17px 24px; border-right: 1px solid var(--line); transition: background-color .16s ease; }
.visit-item:first-child { padding-left: 0; }
.visit-item:last-child { border-right: 0; }
.visit-item:hover, .visit-item:focus-visible { color: inherit; background: #f6faf6; }
.visit-item-label { flex: none; padding: 5px 8px; border: 1px solid #bdd6c6; color: var(--green); white-space: nowrap; font-size: 12px; }
.visit-item-value { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.visit-item-value strong { font-size: 15px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.visit-item-value small { color: var(--muted); font-size: 11px; white-space: nowrap; }
.visitor-message { max-width: 1180px; margin: 18px auto 0; padding: 15px 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 1px solid #d9e3da; background: #f4f8f4; }
.visitor-message strong { color: var(--green-dark); font-size: 13px; }
.visitor-message p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.visitor-message a { flex: none; display: inline-flex; align-items: center; min-height: 36px; color: var(--green); font-size: 13px; font-weight: 700; }
.journey-guide { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.journey-guide-home { max-width: 1180px; margin: 18px auto 0; padding: 18px 20px; border: 1px solid #cfdcd2; background: #fbfdf9; }
.journey-current > span { display: block; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.journey-current h2 { margin: 6px 0; color: var(--green-dark); font: 600 20px/1.45 var(--serif); }
.journey-current p { margin: 0 0 8px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.journey-current a { display: inline-flex; align-items: center; min-height: 34px; color: var(--green); font-size: 13px; font-weight: 700; }
.journey-help { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; margin-top: 10px; }
.journey-help details { min-width: min(100%, 190px); border: 1px solid #d9e3da; background: #fff; color: var(--green-dark); font-size: 12px; }
.journey-help summary { padding: 7px 10px; cursor: pointer; font-weight: 700; }
.journey-help details[open] { flex: 1 1 220px; }
.journey-help details > div { padding: 1px 10px 9px; border-top: 1px solid var(--line); }
.journey-help p { margin: 6px 0 !important; }
.journey-acts { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.journey-acts li { display: flex; align-items: center; gap: 7px; color: var(--muted-soft); font-size: 11px; white-space: nowrap; }
.journey-acts li.active { color: #7a5c28; }
.journey-acts li.done { color: var(--green); }
.journey-update { max-width: 1180px; margin: 22px auto 0; padding: 16px 20px; border: 1px solid #ddcfb0; background: #fbf8ee; }
.journey-update > span { color: #7a5c28; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.journey-update > strong { display: block; margin: 7px 0; color: #4c4639; font-size: 14px; line-height: 1.8; }
.journey-update > p { margin: 0 0 10px; color: #6b5d45; font-size: 12px; line-height: 1.75; }
.journey-update > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid #e5dac2; padding-top: 9px; }
.journey-update small { color: #6b5d45; }
.journey-update a { flex: none; color: var(--green); font-size: 12px; font-weight: 700; }
.source-lead, .route-handoff { margin: 16px 0 0; padding: 14px 16px; border: 1px solid var(--line); background: var(--paper); }
.source-lead strong, .route-handoff strong { display: block; color: var(--green-dark); font-size: 14px; line-height: 1.6; }
.source-lead p, .route-handoff p { margin: 6px 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.route-handoff .text-link { margin-right: 15px; }
.camera-discovery { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 14px; margin: 0 18px 12px; padding: 10px 12px; border: 1px solid var(--line); background: var(--paper); color: var(--green-dark); font-size: 12px; }
.camera-discovery a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.proof-details > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; color: var(--green-dark); font-size: 13px; }
.proof-details > summary span { color: var(--muted); font-size: 11px; font-weight: 400; }
.home-aftermath { width: calc(100% - 36px); max-width: 1180px; margin: 18px auto 0; border: 1px solid #d9e3da; background: #fbfdf9; }
.home-aftermath-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 18px; border-bottom: 1px solid #d9e3da; }
.home-aftermath-heading span { color: var(--green-dark); font-size: 13px; font-weight: 700; }
.home-aftermath-heading small { color: var(--muted); font-size: 11px; }
.home-aftermath-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.home-aftermath-grid article { padding: 17px 18px; }
.home-aftermath-grid article + article { border-left: 1px solid #d9e3da; }
.home-aftermath-grid strong { display: block; margin: 7px 0; color: #3f5046; font-size: 13px; line-height: 1.8; }
.home-aftermath-grid small { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; }
.home-aftermath-grid a { display: inline-flex; align-items: center; min-height: 32px; color: var(--green); font-size: 12px; font-weight: 700; }
.home-aftermath-grid .aftermath-warning { background: #fbf7ec; }
.home-aftermath-grid .aftermath-warning strong { color: #795a32; }
.visitor-pass { max-width: 1180px; margin: 18px auto 0; display: grid; grid-template-columns: 250px minmax(0, 1fr); border: 1px solid #cfdcd2; background: #fbfdf9; }
.pass-stub { position: relative; min-height: 172px; padding: 20px 24px 18px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: var(--green-dark); color: #fff; }
.pass-stub::after { content: ""; position: absolute; top: 50%; right: -12px; width: 24px; height: 24px; border-radius: 50%; background: #fbfdf9; transform: translateY(-50%); }
.pass-stub span { color: #d7e9dc; font: 12px Georgia, serif; letter-spacing: .12em; }
.pass-stub strong { margin: 8px 0; font: 700 48px/1 Georgia, "Times New Roman", serif; letter-spacing: .18em; font-variant-numeric: tabular-nums; }
.pass-stub small { color: #cfe3d5; font-size: 11px; letter-spacing: .12em; }
.pass-role { display: block; min-height: 17px; }
.pass-role::after { position: absolute; left: 24px; color: #cfe3d5; font-size: 11px; letter-spacing: .12em; }
body[data-attention="3"] .pass-stub::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 100% 0%, rgba(184, 205, 188, .3), transparent 48%), radial-gradient(ellipse at 0% 100%, rgba(119, 151, 133, .26), transparent 52%); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body:not([data-attention="0"]) .pass-stub:hover .pass-role { font-size: 0; }
  body:not([data-attention="0"]) .pass-stub:hover .pass-role::after { content: attr(data-role-obs); }
}
@media (prefers-reduced-motion: reduce) {
  body:not([data-attention="0"]) .pass-role { font-size: 0; }
  body:not([data-attention="0"]) .pass-role::after { content: attr(data-role-obs); }
}
.pass-copy { padding: 22px 27px 20px; }
.pass-copy .meta { margin-bottom: 5px; }
.pass-copy h2 { margin: 0 0 9px; color: var(--green-dark); font: 600 25px/1.35 "SimSun", "Songti SC", serif; letter-spacing: .04em; }
.pass-copy p { margin: 0 0 8px; color: #4f5b54; font-size: 13px; line-height: 1.85; }
.pass-copy .pass-memory { margin: 10px 0 0; padding: 7px 0; color: #6b5b3d; }
.pass-actions { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 13px; }
.pass-actions a { color: var(--green); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.pass-actions a:hover { color: var(--orange); }
.credential-code { margin: 2px 0 0 !important; color: var(--green-dark) !important; font: 700 34px/1.2 Georgia, serif; letter-spacing: .24em; }
.memory-line { padding: 12px 14px; border: 1px solid #e5dac4; background: #fbf8ee; color: #6b5d45 !important; }
.home-content, .page-wrap { max-width: 1228px; margin: auto; padding: 36px 24px 85px; }
.home-columns { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 50px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; padding-bottom: 6px; }
.section-heading h2 { margin: 0; color: var(--green-dark); font: 600 24px/1.3 var(--serif); letter-spacing: .06em; }
.section-heading a { display: inline-flex; align-items: center; min-height: 34px; color: var(--muted); font-size: 13px; }
.news-list { margin-top: 8px; }
.news-row { min-height: 70px; display: grid; grid-template-columns: 74px 1fr auto; gap: 15px; align-items: center; border-bottom: 1px solid var(--line); font-size: 14px; }
.news-row:hover > span:nth-child(2) { color: var(--green); }
.news-row.important > span:nth-child(2) { color: var(--orange); font-weight: 700; }
.news-date { display: grid; border-right: 1px solid var(--line); padding-right: 10px; text-align: center; }
.news-date b { font-size: 17px; font-weight: 500; color: #4f6658; font-variant-numeric: tabular-nums; }
.news-date small { color: var(--muted); font-size: 12px; }
.news-row em { font-size: 12px; font-style: normal; color: var(--muted); }
.home-side { border: 1px solid #dbe5dc; background: #f8fbf8; padding: 22px; }
.side-heading { font: 600 21px/1.3 var(--serif); color: var(--green-dark); padding-bottom: 5px; letter-spacing: .05em; }
.home-side a { display: block; padding: 15px 3px; }
.home-side a:hover strong { color: var(--green); }
.home-side strong { display: block; font-size: 15px; }
.home-side span { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); }
.featured-heading { margin-top: 55px; }
.animal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-top: 22px; }
.animal-card { display: block; border: 1px solid var(--line); background: white; overflow: hidden; transition: border-color .18s ease, box-shadow .18s ease; }
.animal-card:hover { border-color: #9bc2a4; box-shadow: 0 7px 20px #175f3420; }
.animal-card img { display: block; width: 100%; height: 175px; object-fit: cover; }
.animal-card:nth-child(4) img { object-position: 35% center; }
.animal-caption { display: block; padding: 13px 15px 16px; }
.animal-caption small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.animal-caption strong { display: block; color: var(--green-dark); font-size: 17px; }
.listing-grid { padding-top: 0; }
.education-teasers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 22px; }
.education-teasers a { min-height: 142px; padding: 20px; border: 1px solid var(--line); background: #fafcf9; transition: border-color .18s ease, background-color .18s ease; }
.education-teasers a:hover { border-color: #9bc2a4; background: #f4f9f2; }
.education-teasers span { display: block; color: var(--green); font-size: 12px; margin-bottom: 16px; }
.education-teasers strong { display: block; font-size: 16px; line-height: 1.45; }
.education-teasers small { display: block; margin-top: 13px; color: var(--muted); font-size: 12px; }
.education-articles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.education-articles .card { margin: 0; }
.card .education-facts { margin: -2px 0 12px; color: var(--muted); font-size: 12px; line-height: 1.7; }

.breadcrumbs { color: var(--muted); font-size: 12px; margin: 3px 0 25px; }
.breadcrumbs, .archive-breadcrumb, .forum-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 9px; }
.breadcrumb-prefix { flex: none; }
.breadcrumbs ol, .archive-breadcrumb ol, .forum-crumb ol { display: flex; align-items: center; flex: 1 1 230px; flex-wrap: wrap; gap: 3px 8px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li, .archive-breadcrumb li, .forum-crumb li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.breadcrumbs li + li::before, .archive-breadcrumb li + li::before, .forum-crumb li + li::before { content: "›"; color: #a5b2a7; font-size: 16px; }
.breadcrumbs a, .archive-breadcrumb a, .forum-crumb a { display: inline-flex; align-items: center; min-height: 34px; }
.breadcrumbs a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb-back { flex: none; min-height: 34px; margin-left: auto; padding: 4px 9px; border: 1px solid #d0dcd2; border-radius: 2px; background: #fff; color: var(--green-dark); font-size: 12px; }
.breadcrumb-back:hover { border-color: var(--green); background: var(--green-pale); }
.page-intro { padding: 2px 0 0; margin-bottom: 28px; }
.page-intro::before {
  content: "雁城动物园 · 官方网站"; display: block; margin-bottom: 10px;
  color: var(--muted); font: 600 12px/1 var(--serif); letter-spacing: .16em;
}
body[data-page="notebook"] .page-intro::before { content: "雁城动物园 · 调查记录"; }
body[data-page="credits"] .page-intro::before { content: "雁城动物园 · 作品信息"; }
body[data-page="ops"] .page-intro::before { content: "雁城动物园 · 值班系统"; }
body[data-page="exit"] .page-intro::before { content: "雁城动物园 · 离园登记"; }
body[data-world="obs"] .page-intro::before { content: "雁城动物园 · 内部记录"; }
.page-intro h1 { display: inline-block; margin: 0 0 10px; font: 600 32px/1.25 var(--serif); letter-spacing: .05em; color: var(--green-dark); }
.page-intro p { max-width: 76ch; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: start; }
.content-grid > *, .card { min-width: 0; }
.card { background: #fff; border: 1px solid var(--line); padding: 23px 25px; box-shadow: var(--shadow-soft); }
.card + .card { margin-top: 18px; }
.card h2 { margin: 0 0 17px; font-size: 20px; color: var(--green-dark); }
.card h3 { margin: 0 0 13px; font-size: 16px; color: var(--green-dark); }
.card p { color: #4f5b54; font-size: 14px; line-height: 1.9; margin: 0 0 14px; }
.card p:last-child { margin-bottom: 0; }
.meta { display: block; margin-bottom: 12px; color: var(--muted); font-size: 12px; letter-spacing: .01em; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li { padding: 11px 0; font-size: 13px; }
.side-links a:hover { color: var(--green); }
.article-card { padding: 28px 33px; }
.article-card p { font-size: 15px; }
.article-photo { height: 240px; margin: -27px -32px 27px; background: url("./assets/wetland-egrets.jpg") center 46% / cover; }
.edu-article-image { display: block; width: calc(100% + 50px); height: 168px; margin: -23px -25px 16px; object-fit: cover; }
.notice-side-image { display: block; width: calc(100% + 50px); height: 148px; margin: -23px -25px 15px; object-fit: cover; }
.about-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0 0 30px; }
.about-stats > div { padding: 6px 0; }
.about-stats strong { display: block; color: var(--green-dark); font: 600 26px/1.2 Georgia, var(--serif); font-variant-numeric: tabular-nums; }
.about-stats strong small { margin-left: 3px; font: 400 13px/1 var(--sans); }
.about-stats span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.about-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 24px 0 10px; }
.about-gallery figure { margin: 0; border: 1px solid var(--line); background: #fbfcfa; }
.about-gallery img { display: block; width: 100%; height: 190px; object-fit: cover; }
.about-gallery figcaption { padding: 9px 11px; color: var(--muted); font-size: 11.5px; line-height: 1.6; }
.animal-detail-image { display: block; width: calc(100% + 64px); height: 360px; margin: -27px -32px 27px; object-fit: cover; }
.animal-record-id { display: inline-block; padding: 5px 8px; background: var(--green-pale); color: var(--green-dark) !important; font-size: 11px !important; }
.observation-note { margin: 22px 0 0; padding: 16px 18px; border: 1px solid #d5dfd5; background: #f8faf7; }
.observation-note strong { display: block; margin-bottom: 8px; color: var(--green-dark); font-size: 14px; }
.observation-note p { margin-bottom: 12px; }
.audio-guide { margin: 22px 0 0; padding: 16px 18px; border: 1px solid #d5dfd5; background: #f8faf7; }
.audio-guide-head { display: flex; align-items: center; gap: 13px; }
.audio-guide-play {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center;
  padding: 0; border: 1px solid var(--green); border-radius: 50%; background: #fff; color: var(--green);
}
.audio-guide-play:hover { background: var(--green-pale); }
.audio-guide-play svg { display: block; width: 16px; height: 16px; fill: currentColor; }
.audio-guide-play .icon-stop { display: none; }
.audio-guide-play[aria-pressed="true"] { color: #fff; background: var(--green); }
.audio-guide-play[aria-pressed="true"]:hover { background: var(--green-dark); }
.audio-guide-play[aria-pressed="true"] .icon-play { display: none; }
.audio-guide-play[aria-pressed="true"] .icon-stop { display: block; }
.audio-guide-title strong { display: block; color: var(--green-dark); font-size: 14px; }
.audio-guide-title span { display: block; margin-top: 2px; color: var(--muted-soft); font-size: 12px; }
.audio-guide-script { margin: 12px 0 0; font-size: 13px; line-height: 1.75; color: var(--muted-soft); }
.audio-guide-read { margin-top: 14px; }
.audio-guide-count { margin: 0 0 10px; font-size: 13px; color: var(--ink); }
.audio-guide-count strong { color: var(--orange); }
.audio-guide-status { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.record-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.record-index span { padding: 10px 12px; border: 1px solid var(--line); font-size: 13px; }
.record-index .suspect { color: var(--orange); border-color: #e4c9b7; background: #fff9f3; }
.record-options { margin-top: 15px; }
.record-appendix { margin-top: 18px !important; }
.info-table { margin: 6px 0 18px; border-top: 1px solid var(--line); }
.info-table div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 13px; }
.info-table strong { color: var(--green-dark); text-align: right; }
.route-suggest { margin: 4px 0 16px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.route-suggest li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.route-suggest strong { display: flex; justify-content: space-between; gap: 14px; color: var(--green-dark); font-size: 14px; }
.route-suggest strong span { flex: none; color: var(--muted); font-size: 12px; font-weight: 400; }
.route-suggest p { margin: 5px 0 0 !important; color: var(--muted) !important; font-size: 13px !important; line-height: 1.7; }
.rule-list { list-style: none; padding: 0; margin: 7px 0 18px; border-top: 1px solid var(--line); }
.rule-list li { display: grid; grid-template-columns: 35px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.rule-list li span { color: var(--green); font: 700 17px Georgia, serif; }
.rule-list li p { margin: 0; }
.rule-list li.rule-changed { background: #fff9f3; }
.rule-toolbar { display: flex; gap: 7px; flex-wrap: wrap; margin: 5px 0 13px; }
.rule-toolbar button { min-height: 34px; border: 1px solid #c6d8ca; padding: 8px 13px; background: white; color: var(--green-dark); font-size: 12px; }
.rule-toolbar button:hover { border-color: var(--green); background: var(--green-pale); }
.rule-toolbar button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: white; }
.rule-source { margin: 0 0 13px !important; color: var(--muted) !important; font-size: 12px !important; }
.rule-version { color: var(--muted) !important; font-size: 12px !important; }
.callout { margin: 19px 0 0; padding: 14px 16px; background: #f0f6f1; border: 1px solid #cddfd1; color: #355c45; font-size: 13px; line-height: 1.75; }
.callout.warn { border-color: #edcfbc; background: #fff6ef; color: #7c482e; }
.callout strong { display: block; margin-bottom: 3px; }
.callout p { color: inherit; margin: 0; font-size: 13px; }
.signal-record { margin: 23px 0 0; padding: 18px 0 20px; }
.signal-record h3 { margin-bottom: 7px; }
.signal-record .button { margin-top: 3px; }
.signal-filters { display: flex; gap: 7px; margin-top: 14px; }
.signal-filters button { min-height: 34px; padding: 7px 12px; border: 1px solid #c7d7ca; background: white; color: var(--green-dark); font-size: 12px; }
.signal-filters button:hover { border-color: var(--green); background: var(--green-pale); }
.signal-filters button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: white; }
.signal-list { list-style: none; padding: 0; margin: 15px 0 0; border-top: 1px solid var(--line); }
.signal-list li { display: flex; gap: 14px; padding: 10px 4px; border-bottom: 1px solid var(--line); font-size: 12px; }
.signal-list span { color: var(--green-dark); font-family: Georgia, serif; font-weight: 700; }
.signal-result { margin: 11px 0 0 !important; font-size: 12px !important; }
.camera-archive { margin: 22px 0; border: 1px solid #d7e1d9; background: #f8faf8; }
.camera-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 15px 18px 0; }
.camera-heading h3 { margin: 0; color: var(--green-dark); font-size: 15px; }
.camera-heading small { color: var(--muted); font-size: 12px; }
.camera-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 14px 18px; }
.camera-tabs button { min-height: 34px; border: 1px solid #c7d7ca; background: white; padding: 8px 13px; color: var(--green-dark); font-size: 12px; cursor: pointer; }
.camera-tabs button:hover { border-color: var(--green); background: var(--green-pale); }
.camera-tabs button[aria-pressed="true"] { background: var(--green); color: white; border-color: var(--green); }
.camera-waiting { color: var(--muted); font-size: 12px; }
.new-mark { margin-left: 4px; font-size: 11px; color: var(--orange); font-weight: 700; }
.camera-tabs button[aria-pressed="true"] .new-mark { color: #ffe2c7; }
.camera-frame, .camera-pair figure { margin: 0; }
.camera-frame { padding: 0 18px; }
.camera-frame img, .camera-pair img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #c8cfca; }
.camera-frame figcaption, .camera-pair figcaption { padding: 9px 0; color: var(--muted); font-size: 12px; }
.camera-frame figcaption a, .camera-pair figcaption a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.camera-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 18px; }
.camera-compare-button { margin: 4px 18px 18px; }
.camera-service-link { margin-top: 15px !important; }
.image-description { margin: 0 18px 17px; padding: 11px 13px; border: 1px dashed #b9cbbd; background: white; }
.image-description summary { display: inline-flex; align-items: center; min-height: 30px; color: var(--green-dark); cursor: pointer; font-size: 13px; font-weight: 700; }
.image-description p { margin: 9px 0 0; }
.image-report { border-top: 1px solid #d7e1d9; margin-top: 4px; padding: 18px; background: white; }
.image-report h3 { margin-bottom: 6px; }
.image-report p { margin-bottom: 13px; }
.mark-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 13px; }
.mark-options button { min-height: 34px; border: 1px solid #c7d7ca; background: white; padding: 8px 13px; color: var(--green-dark); font-size: 12px; }
.mark-options button:hover { border-color: var(--green); background: var(--green-pale); }
.mark-options button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: white; }
.image-report .callout { margin-bottom: 12px; }
.report-code { color: var(--green-dark) !important; }

.map-visual { width: 100%; max-width: 100%; border: 1px solid #d2dfd4; background: #edf1e7; margin: 15px 0 24px; overflow: hidden; }
.map-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 12px 16px; border-bottom: 1px solid #d2dfd4; background: #f7faf5; }
.map-heading small { display: block; margin-bottom: 3px; color: var(--muted); font-family: ui-monospace, "Cascadia Mono", monospace; font-size: 11px; letter-spacing: .12em; }
.map-heading strong { color: var(--green-dark); font-size: 16px; }
.map-heading-meta { flex: none; display: grid; justify-items: end; gap: 3px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.map-pan-hint { color: var(--muted-soft); font-size: 12px; font-weight: 400; letter-spacing: .02em; }
.map-heading b { color: #b5c3b7; font-weight: 400; }
.map-tools { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-bottom: 1px solid #d2dfd4; background: #fff; }
.map-tools-label { margin-right: 3px; color: var(--muted); font-size: 12px; }
.map-tool { min-width: 36px; min-height: 36px; padding: 0 9px; border: 1px solid #c7d7ca; background: white; color: var(--green-dark); font-size: 14px; font-weight: 700; line-height: 1; }
.map-tool:hover:not(:disabled) { border-color: var(--green); background: var(--green-pale); }
.map-tool:disabled { opacity: .42; }
.map-zoom-label { min-width: 42px; color: var(--muted); font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.map-locate { margin-left: auto; padding: 0 12px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.map-scroll { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: thin; }
.map-canvas { position: relative; width: calc(100% * var(--map-zoom, 1)); min-width: calc(760px * var(--map-zoom, 1)); aspect-ratio: 1000 / 560; }
.map-art { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.map-visual-obs .map-art { filter: saturate(.65) contrast(1.02); }
.map-art-labels { fill: #5d755f; font: 600 14px var(--sans); letter-spacing: .08em; paint-order: stroke; stroke: #f4f7eb; stroke-width: 4px; stroke-linejoin: round; }
.map-art-anomaly { fill: #596c5e; font: 700 13px var(--sans); paint-order: stroke; stroke: #edf1e7; stroke-width: 3px; }
.map-compass text { fill: #315f4a; font: 700 15px Georgia, serif; }
.map-route { stroke: #267a69; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 7 10; }
.map-route-warning { stroke: #b66c46; }
.map-you-pulse { fill: rgba(22, 128, 106, .22); transform-box: fill-box; transform-origin: center; animation: map-pulse 2.8s ease-out infinite; }
.map-you-halo { fill: #fff; stroke: #16806a; stroke-width: 2; }
.map-you-dot { fill: #16806a; }
@keyframes map-pulse { 0% { transform: scale(.8); opacity: .8; } 70% { transform: scale(1.8); opacity: 0; } 100% { opacity: 0; } }
.map-icon { display: block; width: 17px; height: 17px; flex: none; }
.map-hotspot { position: absolute; left: var(--map-x); top: var(--map-y); transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 4px 12px 4px 4px; border: 1px solid #b9cdbc; border-radius: 999px; background: rgba(255, 255, 255, .97); color: var(--green-dark); font-family: inherit; font-size: 12px; font-weight: 700; line-height: 1.1; text-decoration: none; white-space: nowrap; box-shadow: 0 3px 9px rgba(31, 62, 48, .17); cursor: pointer; touch-action: manipulation; }
.map-hotspot b { display: inline-grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #315f4a; color: white; }
.map-hotspot-place[data-map-kind="wetland"] b, .map-directory-grid [data-map-kind="wetland"] b { background: #397887; }
.map-hotspot-place[data-map-kind="bird"] b, .map-directory-grid [data-map-kind="bird"] b { background: #77734a; }
.map-hotspot-place[data-map-kind="education"] b, .map-directory-grid [data-map-kind="education"] b { background: #866b4b; }
.map-hotspot-place[data-map-kind="service"] b, .map-directory-grid [data-map-kind="service"] b { background: #365d70; }
.map-hotspot-gate b { background: var(--orange); }
.map-hotspot:hover, .map-hotspot:focus-visible { border-color: var(--green); background: white; box-shadow: 0 4px 14px rgba(31, 62, 48, .2); }
.map-hotspot:focus-visible { outline: 3px solid #c1a35d; outline-offset: 3px; }
.map-hotspot.is-closed { border-color: #c9cdc8; background: rgba(244, 246, 243, .92); color: #7c857d; }
.map-hotspot.is-closed b { background: #8b948c; }
.map-hotspot-static { cursor: default; opacity: .7; box-shadow: none; }
.map-hotspot-static:hover { border-color: #c5d6c7; background: rgba(255, 255, 255, .94); box-shadow: none; }
.map-facility { position: absolute; left: var(--map-x); top: var(--map-y); transform: translate(-50%, -50%); width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid #8fa98c; border-radius: 5px; background: #f7fbf4; color: #4e6b50; box-shadow: 0 1px 4px #12302121; pointer-events: none; }
.map-facility .map-icon { width: 16px; height: 16px; }
.map-caption { display: grid; gap: 4px; padding: 12px 16px; border-top: 1px solid #d2dfd4; background: white; font-size: 13px; }
.map-caption a { justify-self: start; min-height: 40px; display: inline-flex; align-items: center; color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; touch-action: manipulation; }
.map-caption strong { color: var(--green-dark); }
.map-caption span { color: var(--muted); line-height: 1.7; }
.map-index { padding: 10px 16px; border-top: 1px solid #d2dfd4; background: #fbfcfa; font-size: 12.5px; }
.map-index summary { cursor: pointer; color: var(--green-dark); font-weight: 700; }
.map-index ul { margin: 10px 0 0; padding-left: 18px; columns: 2; column-gap: 24px; color: var(--muted); line-height: 1.9; }
.map-legend { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px 16px; padding: 9px 12px; border-top: 1px solid #d2dfd4; background: white; font-size: 12px; color: var(--muted); }
.map-legend span { display: inline-flex; align-items: center; gap: 5px; }
.map-legend i { display: inline-block; width: 10px; height: 10px; }
.legend-you { background: #16806a; border-radius: 50%; }
.legend-path, .legend-route { width: 20px !important; height: 0 !important; border-top: 3px dashed #267a69; }
.map-visual-closed .legend-route { border-top-color: #b66c46; }
.legend-closed { background: #8b948c; border-radius: 2px; }
.legend-water { background: #b7d9da; }
.legend-facility { background: #dbead8; border: 1px solid #7fa27b; }
.map-services { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 9px 16px; border-top: 1px solid #d2dfd4; background: #fbfcfa; color: var(--muted); font-size: 11.5px; }
.map-services span { display: inline-flex; align-items: center; gap: 6px; }
.map-services b { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #b9cdbc; border-radius: 4px; color: var(--green-dark); }
.map-services .map-icon { width: 15px; height: 15px; }
.map-directory { display: none; }
.map-directory-title { display: block; margin-bottom: 8px; color: var(--green-dark); font-size: 13px; font-weight: 700; }
.map-directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.map-directory-grid a,
.map-directory-grid button,
.map-directory-grid span { min-width: 0; min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid var(--line); background: white; color: var(--ink); font-size: 12px; text-align: left; }
.map-directory-grid a, .map-directory-grid button { touch-action: manipulation; }
.map-directory-grid a:hover,
.map-directory-grid button:hover { border-color: var(--green); background: var(--green-pale); color: var(--green-dark); }
.map-directory-grid span { color: var(--muted); background: #f7f9f6; }
.map-directory-grid button.is-closed { color: var(--muted); }
.map-directory-grid b { flex: none; display: inline-grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #315f4a; color: white; }
.map-directory-grid button b { background: var(--orange); }
.map-directory-grid span b { background: #aab5ac; }
.map-directory-grid button.is-closed b { background: #8b948c; }
.route-list { border-top: 1px solid var(--line); }
.route-card { display: grid; grid-template-columns: minmax(0, 1fr) 152px; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.route-card button, .route-card a, .map-tool { touch-action: manipulation; }
.route-card strong { font-size: 14px; }
.route-card small { display: block; color: var(--muted); margin-top: 5px; font-size: 12px; }
.route-card .button { width: 100%; min-width: 0; }
.route-card.dim { background: #fbfcfa; }
.tag { display: inline-block; margin-left: 6px; padding: 3px 6px; color: var(--orange); background: #fff1e9; font-size: 11px; }
.search-form label, .claim-form label { display: block; font-size: 13px; font-weight: 700; margin: 0 0 9px; }
.input-row { display: flex; gap: 8px; }
.input-row input { min-width: 0; flex: 1; min-height: 42px; border: 1px solid #c4d2c8; border-radius: 0; padding: 9px 13px; font-size: 14px; background: #fff; }
.input-row input:focus { border-color: var(--green); }
.input-row .button { flex: none; }
.notice { padding: 20px 6px; border-bottom: 1px solid var(--line); }
.notice small { color: var(--muted); font-size: 12px; }
.notice h2 { margin: 8px 0; color: var(--ink); font-size: 16px; }
.notice p { margin: 0; color: var(--muted); line-height: 1.8; font-size: 13px; }
.notice.new h2 { color: var(--orange); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.service-lower { margin-top: 24px; }
.faq-list { margin-top: 6px; }
.faq-list details + details { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 50px; padding: 12px 2px; cursor: pointer; font-size: 14px; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; color: var(--green); font-size: 18px; font-weight: 400; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 2px 14px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.tile { display: block; padding: 26px; min-height: 185px; border: 1px solid var(--line); background: white; box-shadow: var(--shadow-soft); transition: border-color .18s ease, box-shadow .18s ease; }
.tile:hover { border-color: #97be9f; box-shadow: 0 9px 24px #135c3014; }
.tile-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #dbe7dd; color: var(--green); background: var(--green-pale); }
.tile-icon svg { display: block; width: 22px; height: 22px; }
.tile h3 { margin: 18px 0 7px; font-size: 17px; }
.tile p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.chat-line { max-width: 86%; padding: 11px 13px; margin: 9px 0; border: 1px solid #e4e9e3; background: white; font-size: 13px; line-height: 1.75; }
.chat-line small { display: block; color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.chat-line.you { margin-left: auto; background: #e4f1e7; }
.chat-guidance-link { display: block; width: fit-content; margin-top: 6px; color: var(--green); font-weight: 700; }
.chat-widget { position: fixed; right: 24px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.chat-widget > * { pointer-events: auto; }
.chat-scrim { display: none; }
.chat-launch { display: flex; align-items: center; gap: 9px; position: relative; min-height: 48px; padding: 7px 17px 7px 8px; border: 0; border-radius: 28px; background: var(--green); box-shadow: 0 7px 24px #103d2f45; color: white; font-size: 13px; font-weight: 700; }
.chat-launch:hover { background: var(--green-dark); }
.chat-launch-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: #ffffff25; }
.chat-launch-icon svg { display: block; width: 18px; height: 18px; }
.chat-unread { display: grid; place-items: center; width: 18px; height: 18px; position: absolute; top: -5px; right: -3px; border-radius: 50%; background: var(--orange); color: white; font-size: 11px; }
.chat-panel { width: min(370px, calc(100vw - 24px)); max-height: min(62dvh, 490px); display: flex; flex-direction: column; border: 1px solid #b4c9b9; border-radius: 9px; background: white; box-shadow: 0 17px 55px #193a2e40; overflow: hidden; }
.chat-widget-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 17px; background: var(--green); color: white; }
.chat-widget-heading strong { display: block; font-size: 14px; }
.chat-widget-heading small { display: block; margin-top: 4px; font-size: 11px; color: #d9ebdd; }
.chat-widget-heading button { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border: 0; border-radius: 4px; background: transparent; color: white; font-size: 22px; line-height: 1; }
.chat-widget-heading button:hover { background: #ffffff1f; }
.chat-widget-body { min-height: 0; flex: 1 1 auto; overflow-y: auto; padding: 15px; background: #f4f7f3; }
.chat-widget-body .chat-line { font-size: 12.5px; }
.service-voice-note { margin-top: 18px; border-color: #e5dac4; background: #fffcf6; }
.service-voice-note blockquote { margin: 14px 0; color: #504b3f; font: 600 16px/1.8 var(--serif); }
.service-voice-note p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.route-evidence-list { display: grid; gap: 6px; margin: 10px 0 14px; padding: 0; list-style: none; font-size: 13px; }
.route-evidence-list li { color: #735837; }
.route-evidence-list li span { display: inline-block; min-width: 68px; margin-right: 7px; font-size: 11px; }
.route-evidence-list li.done { color: var(--green); }
.route-followup { margin: 18px 0 22px; padding: 15px 17px; border: 1px solid #d9e3da; background: #f4f8f4; }
.route-followup p { margin: 5px 0 10px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.route-followup .callout { margin-top: 12px; }
.route-followup > a { margin-top: 12px; }
.chat-widget-actions { display: flex; gap: 7px; padding: 10px 14px; border-top: 1px solid var(--line); }
.chat-widget-actions button { flex: 1; min-height: 38px; padding: 8px 5px; border: 1px solid var(--green); background: white; color: var(--green); font-size: 12px; }
.chat-widget-actions button:first-child { background: var(--green); color: white; }
.chat-widget-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); }
.chat-widget-form input { min-width: 0; min-height: 42px; padding: 8px 10px; border: 1px solid #cbd9cd; font-size: 13px; }
.chat-widget-form button { min-width: 58px; min-height: 42px; border: 0; padding: 0 12px; background: var(--green); color: white; font-size: 13px; }
.chat-privacy { margin: 0; padding: 0 14px 12px; color: var(--muted); font-size: 11px; line-height: 1.6; }
@media (min-width: 721px) {
  .chat-launch { width: 50px; min-height: 50px; padding: 0; justify-content: center; border-radius: 50%; }
  .chat-launch-text { display: none; }
  .chat-launch-icon { width: 100%; height: 100%; background: transparent; }
  .chat-launch-icon svg { width: 22px; height: 22px; }
}
@media (min-width: 901px) {
  .chat-panel { width: 340px; max-height: min(68dvh, 520px); }
}
@media (max-width: 900px) {
  body[data-chat-open="1"] { overflow: hidden; }
  .chat-scrim { display: block; position: fixed; inset: 0; z-index: 0; background: #102c2266; }
  .chat-panel, .chat-launch { position: relative; z-index: 1; }
}
@media (max-height: 480px) {
  .chat-panel { max-height: calc(100dvh - 78px); }
  .chat-widget-heading { padding: 8px 12px; }
  .chat-widget-actions { padding: 6px 10px; }
  .chat-widget-form { padding: 7px 10px; }
  .chat-privacy { display: none; }
}
.mini-list { margin: 0; padding: 0; list-style: none; }
.mini-list li { padding: 12px 0; font-size: 13px; }
.mini-list small { display: block; color: var(--muted); margin-top: 4px; }
.log-lock-card { border-style: dashed; border-color: #c3b8a4; background: #fbfaf6; }
.log-lock-card h2 { color: #6b5d45; }
.log-lock-card .button { margin-top: 6px; }
.card > .button + .text-link, .card > .button-outline + .text-link { display: inline-block; margin-left: 14px; }
.glitch { color: var(--orange); letter-spacing: .07em; }
.search-results { max-width: 780px; }
.search-results a, .search-results button { display: block; width: 100%; padding: 20px 8px; border: 0; border-bottom: 1px solid var(--line); background: white; color: var(--ink); text-align: left; cursor: pointer; transition: background-color .16s ease, color .16s ease; }
.search-results a:hover, .search-results button:hover { background: #f5f9f5; color: var(--green); }
.search-results strong { display: block; font-size: 15px; margin-bottom: 6px; }
.search-results span { font-size: 13px; color: var(--muted); }
.search-empty { padding: 18px 8px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.help-panel { background: #f9fbf8; }
.help-panel .button { margin-top: 2px; }
.help-answer { margin: 13px 0 0 !important; padding: 11px 12px; border: 1px solid #d9e3da; background: white; }
.record-card { border-top: 3px solid var(--green); }
.record-card.pending { border-top-color: var(--orange); }
.record-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 19px; }
.record-heading span { color: var(--muted); font-size: 12px; }
.record-heading strong { color: var(--green); font-size: 20px; }
.record-card.pending .record-heading strong { color: var(--orange); }
.record-card .info-table strong { text-align: right; }
.record-note { margin-top: 19px !important; font-size: 12px !important; color: var(--muted) !important; }
.record-card .button { margin-top: 18px; }
.record-card .checkpoint-button { margin-left: 8px; }

/* 本轮结局：把回执页收成一个明确的结束 */
.ending-close { margin: 0 0 26px; padding: 26px 30px 24px; border: 1px solid #d7e0d7; border-top: 3px solid var(--brass); background: linear-gradient(180deg, #fbfaf4, #fff); }
.ending-close .meta { margin-bottom: 8px; color: var(--muted); font-size: 11px; letter-spacing: .14em; }
.ending-close h2 { margin: 0 0 10px; color: var(--green-dark); font: 600 34px/1.3 var(--serif); letter-spacing: .16em; }
.ending-close-line { max-width: 62ch; margin: 0 0 20px; color: #46524b; font-size: 14px; line-height: 1.95; }
.ending-close-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ending-close-foot { margin: 18px 0 0; padding-top: 13px; border-top: 1px dashed #dfe3dc; color: var(--muted); font-size: 12px; }
.ending-close-foot .text-link { margin-left: 6px; }
@media (max-width: 720px) {
  .ending-close { padding: 20px 18px; margin-bottom: 20px; }
  .ending-close h2 { font-size: 26px; letter-spacing: .12em; }
  .ending-close-line { font-size: 13.5px; }
  .ending-close-actions { flex-direction: column; align-items: stretch; }
  .ending-close-actions .button { width: 100%; min-height: 46px; }
  .ending-close-foot { line-height: 1.9; }
  .ending-close-foot .text-link { margin-left: 0; }
}

/* 污染度分级视觉（由 render() 写入 body[data-corruption]） */
body[data-corruption="1"]::after, body[data-corruption="2"]::after, body[data-corruption="3"]::after {
  content: "未经人工核验"; position: fixed; left: 10px; bottom: 8px; z-index: 60;
  color: #b3402e; font-size: 10px; letter-spacing: .22em; opacity: .72; pointer-events: none;
}
body[data-corruption="2"] .hero img, body[data-corruption="3"] .hero img { filter: saturate(.5) hue-rotate(-22deg) contrast(1.06); }
body[data-corruption="2"] .animal-card img, body[data-corruption="3"] .animal-card img,
body[data-corruption="2"] .camera-frame img, body[data-corruption="3"] .camera-frame img,
body[data-corruption="2"] .camera-pair img, body[data-corruption="3"] .camera-pair img { filter: saturate(.62) hue-rotate(-10deg); }
body[data-corruption="3"] #app { text-shadow: 1px 0 rgba(196, 30, 58, .26), -1px 0 rgba(36, 138, 198, .26); }
.nav-ghost { color: #ffd9d0 !important; background: #3a1420; animation: ghost-flicker 2.6s infinite; }
.nav-ghost:hover { color: #fff !important; background: #571b28; }
@keyframes ghost-flicker {
  0%, 100% { opacity: 1; }
  7% { opacity: .3; }
  9% { opacity: .92; }
  44% { opacity: 1; }
  46% { opacity: .45; }
  50% { opacity: 1; }
}
.chat-line.glitch-line { border-color: #d8b3ac; background: #fdf3f0; color: #8a2f22; text-shadow: 1px 0 rgba(196, 30, 58, .35), -1px 0 rgba(36, 138, 198, .35); }

/* 闭园期间游客临时守则 */
.night-rules-card { border-color: #e7d4d0; }
.night-rules li span { color: #9c2f2f; }
.night-rules li.rule-changed { background: #fdf0ea; }
.night-rules li.rule-changed p { text-decoration: underline wavy #c05a41; text-underline-offset: 4px; }
.rule-check { margin-top: 7px; display: flex; align-items: center; gap: 10px; }
.rule-check button { min-height: 30px; border: 1px solid #c9a79c; background: white; padding: 5px 10px; color: #8a4030; font-size: 12px; }
.rule-check button:hover { background: #fdf0ea; }
.rule-check-status { color: var(--muted); font-size: 11.5px; letter-spacing: .04em; }
.rule-tenth { background: #1c1215; }
.rule-tenth span { color: #e0604f !important; }
.rule-tenth p { color: #f3d7ce !important; animation: tenth-jitter 1.7s infinite; }
@keyframes tenth-jitter {
  0%, 100% { transform: translateX(0); }
  18% { transform: translateX(1px); }
  20% { transform: translateX(-1px); }
  58% { transform: translateX(0); }
  61% { transform: translateX(1px); }
  63% { transform: translateX(0); }
}

/* 退件登记簿 */
.stub-book { margin-top: 22px; }
.stub-book h3 { margin-bottom: 7px; }
.stub-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 13px; }
.stub-options button { padding: 15px 17px; border: 1px solid #d3c9ae; background: #fbf8ee; text-align: left; }
.stub-options button:hover { border-color: var(--orange); background: #fffdf6; }
.stub-options strong { display: block; margin-bottom: 7px; color: #6b5326; font-size: 13px; }
.stub-options span { display: block; color: #7d7461; font-size: 11px; line-height: 1.75; }

/* 值班日志残页 */
.log-entries { display: grid; gap: 22px; max-width: 860px; }
.log-entry { padding: 24px 28px; border: 1px solid #d9cba4; background: #f4ecd7; box-shadow: 0 3px 0 #e3d6b4, 0 10px 26px #5a4a2014; font-family: "Courier New", "SimSun", monospace; }
.log-entry:nth-child(odd) { transform: rotate(-.35deg); }
.log-entry:nth-child(even) { transform: rotate(.3deg); }
.log-entry .meta { color: #97855c; }
.log-entry h2 { margin: 0 0 13px; color: #6b4a2a; font-size: 16px; letter-spacing: .06em; }
.log-entry p { color: #4a4132; font-size: 13px; line-height: 2; margin: 0 0 12px; }
.log-entry p:last-child { margin-bottom: 0; }
.log-entry strong { color: #8a2f22; }
.log-return { max-width: 860px; margin-top: 24px; }

/* claimed 结局登记卡 */
.record-card.claimed { border-top-color: #9c2f2f; background: #fbf5f1; }
.record-card.claimed .record-heading strong { color: #9c2f2f; }
.record-card.claimed .info-table strong { color: #6e2a20; }


.site-footer { background: #224f3e; color: #d8e4d9; padding: 36px max(24px, calc((100vw - 1180px)/2)) 32px; }
.footer-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.footer-head strong { display: block; font: 600 20px var(--serif); margin-bottom: 7px; letter-spacing: .05em; }
.footer-head span { color: #c1d6c6; font-size: 12px; line-height: 1.75; }
.site-footer small { color: #c1d6c6; font-size: 12px; line-height: 1.8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 8px 0; margin: 18px 0 14px; }
.footer-links a, .footer-links button { display: inline-flex; align-items: center; min-height: 32px; padding: 0; background: none; border: 0; font-size: 12.5px; }
.footer-links a { color: #d8e4d9; }
.footer-links button { margin-left: auto; color: #edd4c2; }
.footer-links a:hover, .footer-links button:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer small a { color: #e2eee4; text-decoration: underline; text-underline-offset: 3px; }
.site-footer small a:hover { color: #fff; }
.footer-partners { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin: 0 0 18px; }
.footer-partners-label { color: #9fc0a9; font-size: 11px; font-weight: 600; letter-spacing: .12em; }
.footer-partners a { display: inline-flex; align-items: center; min-height: 32px; color: #d8e4d9; font-size: 12.5px; }
.footer-partners a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-partners small { flex-basis: 100%; color: #a9c2af; font-size: 11px; line-height: 1.7; }
.reset-dialog { width: min(420px, 90vw); border: 1px solid #bdd2bf; padding: 28px; color: var(--ink); }
.reset-dialog::backdrop { background: #173a2eb0; }
.reset-dialog .kicker { color: var(--green); font-size: 11px; }
.reset-dialog h2 { margin: 10px 0; font-size: 22px; }
.reset-dialog p { color: var(--muted); line-height: 1.8; font-size: 13px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }

@media (max-width: 1080px) {
  .nav-bar { padding: 0 24px; }
  .menu-button { display: block; width: 100%; min-height: 46px; padding: 13px 0; text-align: left; color: white; background: transparent; border: 0; font-size: 14px; font-weight: 700; }
  .menu-button span { float: right; }
  .main-nav { display: none; flex-wrap: wrap; padding-bottom: 9px; }
  .main-nav.open { display: flex; }
  .main-nav a { min-width: 25%; flex: 0 0 25%; padding: 10px 0; text-align: left; font-size: 13px; }
  .main-nav a.nav-tool { flex: 0 0 100%; min-width: 100%; justify-content: flex-start; gap: 8px; padding: 12px 0; border-left: 0; border-top: 1px solid #ffffff2e; background: transparent; }
  .main-nav a.nav-tool:hover, .main-nav a.nav-tool.active { background: #0a3f2f; }
}
@media (max-width: 900px) {
  .home-columns { grid-template-columns: minmax(0, 1fr) 260px; gap: 25px; }
  .visit-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit-item { padding: 16px 20px; border-bottom: 1px solid var(--line); }
  .visit-item:first-child { padding-left: 24px; }
  .visit-item:nth-child(2n) { border-right: 0; }
  .visit-item:nth-last-child(-n+2) { border-bottom: 0; }
  .animal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .education-teasers { grid-template-columns: 1fr; gap: 10px; }
  .education-teasers a { min-height: 0; }
}
@media (max-width: 720px) {
  .utility-bar { padding: 0 18px; }
  .utility-hours { display: none; }
  .site-header { min-height: 80px; padding: 14px 18px; }
  .identity strong { font-size: 20px; }
  .identity small { font-size: 10px; letter-spacing: .1em; }
  .identity-mark { width: 41px; height: 41px; }
  .site-search { width: min(220px, 40vw); }
  .nav-bar { padding: 0 18px; }
  .menu-button { display: block; width: 100%; padding: 13px 0; text-align: left; color: white; background: transparent; border: 0; font-size: 14px; font-weight: 700; }
  .menu-button span { float: right; }
  .main-nav { display: none; flex-wrap: wrap; padding-bottom: 9px; }
  .main-nav.open { display: flex; }
  .main-nav a { min-width: 50%; flex: 0 0 50%; padding: 10px 0; text-align: left; font-size: 13px; }
  .hero { height: 320px; }
  .hero-copy { left: 25px; }
  .hero::after { background: linear-gradient(90deg, #113e32ca, #113e3250 70%, transparent); }
  .hero h1 { font-size: 38px; }
  .visit-strip { margin: 0 18px; }
  .visitor-message { margin: 16px 18px 0; }
  .notice-strip-inner { padding: 0 18px; min-height: 44px; gap: 10px; }
  .notice-strip-link { min-height: 44px; overflow: hidden; }
  .notice-strip-long { display: none; }
  .notice-strip-short { display: block; }
  .notice-strip-more { display: none; }
  .visit-item, .visit-item:first-child { padding: 14px 16px; }
  .visit-item-value strong { font-size: 13px; white-space: normal; }
  .visit-item-value small { white-space: normal; }
  .home-content, .page-wrap { padding: 30px 18px 60px; }
  .home-columns, .content-grid, .education-articles { grid-template-columns: minmax(0, 1fr); }
  .home-side { margin-top: 10px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .page-intro { padding: 2px 0 0; margin-bottom: 24px; }
  .page-intro::before { margin-bottom: 8px; font-size: 10px; letter-spacing: .16em; }
  .page-intro h1 { font-size: 28px; }
  .page-intro p { font-size: 13px; line-height: 1.75; }
  .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
  .about-stats > div, .about-stats > div:first-child { padding: 4px 0; }
}
@media (max-width: 500px) {
  .utility-right { display: none; }
  .site-header { flex-wrap: wrap; gap: 13px; }
  .site-search { width: 100%; }
  .hero { height: 285px; }
  .hero-overline { font-size: 12px; letter-spacing: .26em; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 13px; }
  .visit-strip { grid-template-columns: 1fr; }
  .visit-item, .visit-item:first-child { padding: 11px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .visit-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .visit-item:last-child { border-bottom: 0; }
  .visitor-message { display: block; }
  .visitor-message a { display: inline-flex; min-height: 44px; margin-top: 9px; }
  .visit-item-label { min-width: 69px; text-align: center; }
  .news-row { grid-template-columns: 62px 1fr; gap: 10px; font-size: 13px; }
  .news-row em { display: none; }
  .page-intro h1 { font-size: 26px; }
  .service-grid { grid-template-columns: 1fr; }
  .animal-grid { gap: 10px; }
  .animal-card img { height: 125px; }
  .animal-caption { padding: 10px; }
  .animal-caption strong { font-size: 14px; }
  .animal-detail-image { height: 240px; }
  .about-stats strong { font-size: 18px; white-space: nowrap; }
  .about-gallery { grid-template-columns: 1fr; }
  .about-gallery img { height: 180px; }
  .record-index { grid-template-columns: 1fr; }
  .home-aftermath-grid article + article { border-left: 0; border-top: 1px solid #d9e3da; }
  .journey-guide { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .journey-guide-home, .journey-update { width: calc(100% - 36px); }
  .journey-acts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .journey-acts li { white-space: normal; }
  .journey-update > div { align-items: flex-start; flex-direction: column; gap: 5px; }
  .camera-heading { display: block; }
  .camera-heading small { display: block; margin-top: 4px; }
  .camera-pair { grid-template-columns: 1fr; }
  .route-card { grid-template-columns: minmax(0, 1fr); }
  .record-card .checkpoint-button { margin-left: 0; display: flex; }
  .chat-widget { right: 12px; left: 12px; bottom: 12px; }
  .chat-panel { width: 100%; max-height: min(70dvh, 520px); }
  .chat-launch { width: 56px; min-height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
  .chat-launch-text { display: none; }
  .chat-launch-icon { width: 100%; height: 100%; background: transparent; }
  .chat-launch-icon svg { width: 23px; height: 23px; }
  .chat-widget-form input { font-size: 16px; }
  .map-canvas { width: calc(100% * var(--map-zoom, 1)); min-width: calc(760px * var(--map-zoom, 1)); }
  .map-heading { display: block; }
  .map-heading-meta { justify-items: start; margin-top: 7px; text-align: left; white-space: normal; }
  .map-legend { gap: 8px 12px; justify-content: flex-start; flex-wrap: wrap; }
  .map-directory { display: block; padding: 13px 16px 15px; border-top: 1px solid #d2dfd4; background: #fbfcfa; }
  .map-services { gap: 5px 12px; font-size: 11px; }
  .map-tools { gap: 5px; padding: 7px 10px; }
  .map-tools-label { display: none; }
  .map-hotspot, .map-hotspot:hover, .map-hotspot:focus-visible, .map-hotspot.is-closed { width: 48px; height: 48px; min-height: 48px; padding: 0; justify-content: center; border: 0; border-radius: 50%; background: transparent; box-shadow: none; }
  .map-hotspot .map-label { display: none; }
  .map-hotspot b { width: 37px; height: 37px; border: 2px solid #fff; box-shadow: 0 2px 9px #1f3e302e; }
  .map-hotspot .map-icon { width: 19px; height: 19px; }
  .map-facility { display: none; }
  .map-tool { min-width: 44px; min-height: 44px; }
  .map-index ul { columns: 1; }
  .input-row { flex-direction: column; }
  .site-footer { padding-bottom: 92px; }
  .footer-head { display: block; }
  .footer-head > span { display: block; margin-top: 14px; }
  .footer-links button { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-ghost, .rule-tenth p, .map-you-pulse { animation: none; }
}
@media (max-width: 720px) {
  .stub-options { grid-template-columns: 1fr; }
  .log-entry:nth-child(odd), .log-entry:nth-child(even) { transform: none; }
}

/* ── 读取模式：园方视图 / 观测视图 ───────────────── */
.w-obs { display: none; }
body[data-world="obs"] .w-park { display: none; }
body[data-world="obs"] .w-obs { display: inline; }
.ops-nav { display: none !important; }
body[data-world="obs"][data-observed="1"] .ops-nav { display: inline-flex !important; }
.world-bar {
  display: none; max-width: 1180px; margin: 0 auto; padding: 9px 24px;
  align-items: center; gap: 9px; border-bottom: 1px solid var(--line);
  background: #f7f9f7; font-size: 12px; color: var(--muted);
}
body[data-observed="1"] .world-bar { display: flex; }
.world-label { letter-spacing: .14em; color: var(--muted); }
.world-option { min-height: 30px; padding: 5px 12px; border: 1px solid #c7d7ca; background: #fff; color: var(--green-dark); font-size: 12px; }
.world-option[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.world-note { margin-left: auto; color: var(--muted-soft); }

/* 观测视图：去饱和的里世界读数 */
body[data-world="obs"] {
  --green: #5b6570; --green-dark: #39424c; --green-pale: #eef0f2;
  --line: #dfe3e6; --muted: #6b737b; --orange: #8a5040;
}
body[data-world="obs"] img { filter: grayscale(.5) contrast(1.06); }
body[data-world="obs"] .world-bar { background: #eef1f4; border-bottom-color: #c9d0d6; }
body[data-world="obs"] .world-option[aria-pressed="true"] { background: #4a5560; border-color: #4a5560; }
body[data-world="obs"]::before {
  content: "观测视图 · 内部档案"; position: fixed; right: 10px; bottom: 8px; z-index: 60;
  color: #7b858e; font-size: 10px; letter-spacing: .2em; opacity: .8; pointer-events: none;
}
body[data-world="obs"] .page-intro h1 { letter-spacing: .12em; }
body[data-world="obs"] .audio-guide-count { font-family: ui-monospace, "Cascadia Mono", monospace; letter-spacing: .04em; }

/* ── 多出来的观察记录 / 条目索引 ─────────────────── */
.animal-card.sighting { position: relative; border-color: #e0bda9; }
.animal-card.sighting:hover { border-color: var(--orange); box-shadow: 0 7px 20px #a9552e26; }
.sighting-flag {
  position: absolute; top: 8px; left: 8px; padding: 4px 8px;
  background: var(--orange); color: #fff; font-size: 11px; letter-spacing: .06em;
}
.entry-table { margin: 0 0 22px; border-top: 1px solid var(--line); }
.entry-row { display: grid; grid-template-columns: 78px 96px minmax(0, 1fr); gap: 14px; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 13px; color: #444f57; }
.entry-row strong { color: var(--green-dark); font: 700 13px "Courier New", monospace; letter-spacing: .1em; }
.entry-row.active { background: #fdf1ea; }
.entry-row.active strong { color: #8a4030; }
.entry-row.unknown strong { color: var(--muted-soft); }
.entry-row.unknown span:last-child { letter-spacing: .3em; }

@media (max-width: 720px) {
  .world-bar { padding: 8px 18px; flex-wrap: wrap; }
  .world-note { display: none; }
  .entry-row { grid-template-columns: 62px minmax(0, 1fr); row-gap: 2px; }
  .entry-row span:nth-child(2) { grid-column: 2; }
}

/* ── 调查笔记本 ───────────────────────────────── */
.clue-count { color: var(--muted); font-size: 12px; font-weight: 400; }
.clue-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.clue-card { position: relative; padding: 16px 18px; border: 1px solid var(--line); background: #fbfdfa; }
.clue-card strong { display: block; margin: 6px 0 6px; color: var(--green-dark); font-size: 15px; }
.clue-card p { margin: 0; color: #4f5b54; font-size: 13px; line-height: 1.8; }
.clue-tag { display: inline-block; padding: 3px 8px; background: var(--green-pale); color: var(--green); font-size: 11px; letter-spacing: .08em; }
.cipher-note { display: inline-block; margin-left: 6px; color: var(--muted); font-size: 12px; }
.decode-readout { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding: 14px 16px; border: 1px dashed #b9cbbd; background: #f4f8f4; }
.decode-readout span { color: var(--muted); font: 700 16px Georgia, serif; letter-spacing: .3em; }
.decode-readout strong { color: var(--green-dark); font-size: 26px; letter-spacing: .22em; }
.anomaly-card { border-color: #d8b3ac; background: #fdf3f0; }
.anomaly-card h3 { color: #8a2f22; }
.anomaly-card p { color: #7c482e; }
.visited-directory h3 { margin-bottom: 6px; }
.visited-group { padding: 8px 0; }
.visited-group > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.visited-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.visited-links a { color: var(--green-dark); font-size: 13px; text-decoration: none; border-bottom: 1px solid transparent; }
.visited-links a:hover, .visited-links a:focus-visible { border-bottom-color: currentColor; }

/* ── 来源对照台与离园证据 ─────────────────────── */
.evidence-card { background: #fbfcfb; }
.evidence-table { margin-top: 14px; border-top: 1px solid var(--line); }
.evidence-row { display: grid; grid-template-columns: 118px minmax(0, 1fr) minmax(0, 1fr) 34px; gap: 10px; align-items: stretch; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.evidence-label span { display: block; color: var(--green-dark); font-size: 13px; font-weight: 700; line-height: 1.5; }
.evidence-label small { display: block; margin-top: 5px; color: var(--muted); font-size: 11.5px; line-height: 1.6; }
.evidence-source { min-width: 0; padding: 9px 11px; border: 1px solid #e2e8e2; background: #fff; }
.evidence-source small { display: block; margin-bottom: 4px; color: var(--muted-soft); font-size: 11px; letter-spacing: .06em; }
.evidence-source p { margin: 0; color: #3f4a43; font-size: 12.5px; line-height: 1.7; overflow-wrap: anywhere; }
.evidence-state { align-self: center; justify-self: center; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #c9d3cb; border-radius: 50%; color: var(--muted-soft); font-size: 13px; }
.evidence-state.done { border-color: #7aa78a; background: #eef6f0; color: #2f6a4a; }
.proof-block { margin-top: 20px; }
.proof-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.proof-heading strong { color: var(--green-dark); font-size: 15px; }
.proof-heading span { color: var(--muted); font-size: 12px; }
.proof-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin: 12px 0 8px; padding: 0; list-style: none; }
.proof-list li { display: flex; align-items: flex-start; gap: 8px; padding: 9px 11px; border: 1px solid #e4eae4; background: #fff; color: #4d5951; font-size: 12.5px; line-height: 1.6; }
.proof-list li span { flex: none; color: var(--muted-soft); }
.proof-list li.done { border-color: #cddfd2; background: #f3f9f4; color: var(--green-dark); }
.proof-list li.done span { color: #2f6a4a; }
.archive-excerpt { margin-top: 16px; padding: 14px 16px; border: 1px dashed #c9a79c; background: #fdf7f4; }
.archive-excerpt strong { display: block; margin-bottom: 6px; color: #8a4030; font-size: 13px; }
.archive-excerpt p { margin: 0; color: #7c482e; font-size: 13px; line-height: 1.8; }
[data-feedback] { scroll-margin: 90px; }

/* ── 编号对照与频段（密码破译） ─────────────────── */
.cipher-sheet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 4px 0 16px; }
.cipher-sheet.single { grid-template-columns: minmax(0, 1fr); }
.cipher-half { padding: 14px 16px; border: 1px solid #d3c9ae; background: #fbf8ee; }
.signal-controls { margin-left: auto; display: inline-flex; gap: 4px; }
.signal-controls button { border: 1px solid var(--line); background: var(--paper); color: var(--green-dark); min-width: 34px; min-height: 34px; }
.signal-list li { display: flex; align-items: center; gap: 10px; }
.camera-zoom-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.camera-zoom-grid figure { margin: 0; min-width: 0; }
.camera-zoom-frame { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; background: var(--paper); border: 1px solid var(--line); }
.camera-zoom-frame img { display: block; width: max(100%, 560px); max-width: none; height: auto; }
.camera-zoom-grid figcaption { padding-top: 5px; color: var(--muted); font-size: 12px; }
.live-frame { margin: 18px 0; }
.live-frame img { display: block; max-width: 100%; max-height: 310px; object-fit: cover; }
.live-frame figcaption { color: var(--muted); font-size: 12px; padding-top: 6px; }
.ops-tabs { display: flex; gap: 7px; flex-wrap: wrap; margin: 0 0 16px; }
.ops-tabs button { padding: 9px 13px; border: 1px solid var(--line); background: var(--paper); color: var(--green-dark); }
.ops-tabs button[aria-pressed="true"] { background: var(--green-pale); border-color: var(--green); }
.ops-panel { max-width: 960px; }
.ops-panel h2:not(:first-child) { margin-top: 28px; }
.ops-login { max-width: 460px; }
.ops-login form { display: grid; gap: 9px; }
.ops-login input { padding: 10px; border: 1px solid var(--line); font: inherit; }
.ops-login form button { margin-top: 12px; justify-self: start; }

/* ── 值班端 · 状态门 ─────────────────────────── */
.choice-records { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px; margin-bottom: 22px; }
.choice-records article { padding: 13px 15px; border: 1px solid #d6dfd6; background: #f8faf7; }
.choice-records article + article { border-color: #d8c9a8; background: #fbf8ee; }
.choice-records span { color: var(--muted); font-size: 11px; }
.choice-records strong { display: block; margin: 4px 0; color: var(--green-dark); font-size: 15px; }
.choice-records p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.mark-options button strong, .mark-options button small { display: block; }
.mark-options button small { margin-top: 3px; font-size: 10px; line-height: 1.45; opacity: .78; }
.ops-lock { margin: 18px 0 0; padding: 13px 15px; border: 1px dashed #c9a79c; background: #fdf7f4; color: #7c482e; font-size: 12.5px; line-height: 1.8; }
.ops-lock a, .ops-selection-note a { text-decoration: underline; text-underline-offset: 3px; }
.ops-selection-note, .ops-selection-ready { margin: 14px 0 0; padding: 10px 13px; font-size: 12px; line-height: 1.75; }
.ops-selection-note { border: 1px solid #edcfbc; background: #fdf7f4; color: #7c482e; }
.ops-selection-ready { border: 1px solid #cddfd1; background: var(--green-pale); color: var(--green-dark); }

.animal-card.sixth img { filter: grayscale(1) contrast(1.08); }
.cipher-half strong { display: block; margin-bottom: 9px; color: #6b5326; font-size: 12px; letter-spacing: .06em; }
.cipher-map { margin: 0; color: #4a4132; font: 700 15px "Courier New", monospace; letter-spacing: .18em; }
.tag-code { display: inline-block; padding: 3px 9px; background: #efe6cd; color: #7a5a1f; font: 700 15px "Courier New", monospace; letter-spacing: .16em; }
.freq-box { margin-top: 16px; padding: 16px 17px; border: 1px dashed #c9a79c; background: #fdf7f4; }
.freq-box h3 { margin-bottom: 7px; color: #8a4030; }

/* ── 轻度跳吓层（Web Audio + CSS，无素材文件） ───── */
.scare-layer {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 42%, rgba(58, 6, 6, .86), rgba(4, 0, 0, .97) 72%);
  opacity: 0; visibility: hidden; pointer-events: none;
}
.scare-layer span {
  color: #f4d9cf; font: 700 clamp(26px, 7vw, 62px)/1.3 "SimSun", "Songti SC", serif;
  letter-spacing: .34em; text-shadow: 2px 0 rgba(196, 30, 58, .6), -2px 0 rgba(36, 138, 198, .5);
}
.scare-layer.on { visibility: visible; animation: scare-blink 0.9s steps(1, end) 1; }
@keyframes scare-blink {
  0% { opacity: 0; }
  10% { opacity: .72; }
  70% { opacity: .72; }
  100% { opacity: 0; }
}
.scare-layer[data-kind="denied"] { background: radial-gradient(circle at 50% 42%, rgba(6, 30, 58, .86), rgba(0, 2, 6, .97) 72%); }
body[data-attention="3"] .site-header .identity small::after { content: " · 071 在园"; color: #b3402e; }
body[data-attention="3"] .hero img { filter: saturate(.32) contrast(1.12) brightness(.86); }

@media (max-width: 900px) {
  .proof-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hero-clearance { height: 365px; }
  .hero-clearance .hero-copy { right: 18px; }
  .hero-clearance h1 { font-size: 30px; }
  .hero-counterrecord strong { font-size: 14px; }
  .cipher-sheet { grid-template-columns: 1fr; }
  .camera-zoom-grid { grid-template-columns: 1fr; }
  .visitor-pass { margin: 14px 18px 0; grid-template-columns: minmax(0, 1fr); }
  .pass-stub { min-height: 0; padding: 14px 20px; flex-direction: row; align-items: center; gap: 14px; }
  .pass-stub::after { display: none; }
  .pass-stub strong { margin: 0; font-size: 34px; }
  .pass-stub small { margin-left: auto; text-align: right; }
  .pass-copy { padding: 18px 20px; }
  .evidence-row { grid-template-columns: minmax(0, 1fr) 30px; }
  .evidence-label, .evidence-source { grid-column: 1; }
  .evidence-state { grid-column: 2; grid-row: 1 / span 3; }
}
@media (max-width: 500px) {
  .pass-stub small { display: none; }
  .pass-copy h2 { font-size: 21px; }
  .proof-list { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .scare-layer.on { animation: none; opacity: 1; visibility: visible; }
  .scare-layer { background: rgba(6, 0, 0, .96); }
}

/* ── v9 外部站点：档案馆 / 旧论坛 ───────────────── */
body[data-site="city"], body[data-site="forum"] { background: #f1ede2; }
body[data-site="city"] .utility-bar,
body[data-site="city"] .site-header,
body[data-site="city"] .nav-bar,
body[data-site="city"] .notice-strip,
body[data-site="city"] .world-bar,
body[data-site="city"] .site-footer,
body[data-site="city"] .chat-widget,
body[data-site="forum"] .utility-bar,
body[data-site="forum"] .site-header,
body[data-site="forum"] .nav-bar,
body[data-site="forum"] .notice-strip,
body[data-site="forum"] .world-bar,
body[data-site="forum"] .site-footer,
body[data-site="forum"] .chat-widget { display: none !important; }
body[data-site="city"]::before, body[data-site="forum"]::before { content: none !important; }
body[data-site="city"] .site-shell, body[data-site="forum"] .site-shell { min-height: 100vh; }
.external-site { display: flex; flex-direction: column; min-height: 100vh; }
.external-site > * { width: 100%; }
.external-site > main { flex: 1 0 auto; }
.footer-external { color: #8b6c3f !important; }
.archive-external-link { margin: 18px 0; padding: 14px 16px; border: 1px dashed #cdbfa4; background: #fbf8ef; }
.archive-external-link > span { display: block; margin-bottom: 6px; color: #8b6c3f; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.archive-external-link p { margin-bottom: 10px; }
.archive-external-link a + a { margin-left: 18px; }

/* 档案馆 */
.city-site {
  --city-ink: #2e3432; --city-muted: #6b6b5f; --city-blue: #243c43; --city-red: #8a3f31;
  --city-paper: #f6f1e5; --city-card: #fffdf7; --city-rule: #d7ccb5;
  min-height: 100vh; color: var(--city-ink); background:
    linear-gradient(rgba(246, 241, 229, .94), rgba(246, 241, 229, .94)),
    repeating-linear-gradient(0deg, #e9e1d0 0, #e9e1d0 1px, transparent 1px, transparent 5px);
  font-family: "Songti SC", "SimSun", Georgia, serif;
}
.city-site a { color: var(--city-blue); }
.city-site a:hover { color: var(--city-red); }
.city-site button, .city-site input { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; }
.city-govbar { display: flex; justify-content: space-between; gap: 20px; padding: 7px max(22px, calc((100vw - 1120px)/2)); background: #1f343b; color: #d6ddd7; font: 11px/1.4 "Microsoft YaHei", sans-serif; letter-spacing: .06em; }
.city-masthead { max-width: 1120px; margin: 0 auto; padding: 28px 24px 22px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--city-rule); }
.city-brand { display: flex; align-items: center; gap: 15px; flex: none; }
.city-brand:hover { color: var(--city-blue) !important; }
.city-seal { display: grid; place-items: center; width: 55px; height: 55px; border: 2px solid var(--city-red); color: var(--city-red); font: 700 30px/1 "Songti SC", serif; transform: rotate(-2deg); }
.city-brand strong { display: block; color: var(--city-blue); font-size: 28px; letter-spacing: .12em; }
.city-brand small { display: block; margin-top: 7px; color: #797668; font: 10px/1.4 Georgia, serif; letter-spacing: .16em; }
.city-search-form { display: flex; width: min(410px, 45vw); height: 39px; border: 1px solid #b9ad95; background: #fffdf7; }
.city-search-form input { min-width: 0; flex: 1; padding: 0 13px; border: 0; outline: 0; color: var(--city-ink); background: transparent; font-size: 13px; }
.city-search-form button { flex: none; padding: 0 18px; border: 0; background: var(--city-blue); color: #fffdf7; font-size: 13px; }
.city-nav { max-width: 1120px; margin: 0 auto; padding: 0 24px; display: flex; align-items: stretch; gap: 0; border-bottom: 1px solid var(--city-rule); font-family: "Microsoft YaHei", sans-serif; }
.city-nav a { padding: 13px 18px; color: #52554d; font-size: 13px; border-bottom: 3px solid transparent; }
.city-nav a:first-child { padding-left: 0; }
.city-nav a:hover, .city-nav a.active { color: var(--city-red); border-bottom-color: var(--city-red); }
.city-nav-spacer { flex: 1; }
.city-nav .city-return { color: #716b5e; font-size: 11px; border-bottom: 0; align-self: center; }
.archive-wrap { max-width: 1120px; margin: 0 auto; padding: 38px 24px 72px; }
.city-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); border: 1px solid var(--city-rule); background: var(--city-card); }
.city-hero-copy { padding: 48px 45px 42px; }
.city-kicker { display: block; color: var(--city-red); font: 11px/1.5 "Microsoft YaHei", sans-serif; letter-spacing: .17em; }
.city-hero h1 { margin: 17px 0 16px; color: var(--city-blue); font-size: clamp(30px, 4vw, 49px); line-height: 1.32; letter-spacing: .06em; font-weight: 600; }
.city-hero p { max-width: 520px; margin: 0 0 25px; color: var(--city-muted); font-size: 14px; line-height: 2; }
.city-hero figure { margin: 0; min-height: 380px; overflow: hidden; background: #c8c4b7; position: relative; }
.city-hero figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36,60,67,.13), transparent 45%); }
.city-hero img { width: 100%; height: 100%; display: block; object-fit: cover; filter: sepia(.38) saturate(.72) contrast(.96); }
.city-hero figcaption { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 11px 14px; background: rgba(28, 39, 38, .78); color: #f2eee2; font: 10.5px/1.5 "Microsoft YaHei", sans-serif; letter-spacing: .04em; }
.city-hero-search { display: flex; max-width: 460px; height: 42px; border: 1px solid #b9ad95; background: #fff; }
.city-hero-search input { min-width: 0; flex: 1; padding: 0 13px; border: 0; outline: 0; font-size: 13px; background: transparent; }
.city-hero-search button { flex: none; border: 0; padding: 0 20px; background: var(--city-red); color: #fff; font-size: 13px; }
.city-home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 38px; margin-top: 36px; align-items: start; }
.archive-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 0 0 12px; border-bottom: 2px solid var(--city-blue); }
.archive-section-heading span { color: var(--city-blue); font-size: 22px; font-weight: 700; letter-spacing: .07em; }
.archive-section-heading a { font: 12px "Microsoft YaHei", sans-serif; color: var(--city-muted); }
.catalog-record { padding: 23px 24px; border: 1px solid var(--city-rule); border-top: 0; background: var(--city-card); }
.catalog-record-heading { display: flex; align-items: baseline; gap: 12px; }
.catalog-record-heading span { flex: none; padding: 3px 7px; border: 1px solid #cbbda1; color: var(--city-red); font: 10px "Microsoft YaHei", sans-serif; letter-spacing: .08em; }
.catalog-record-heading strong { color: var(--city-blue); font-size: 20px; line-height: 1.5; }
.catalog-record-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 13px 0; color: #6c6a5d; font: 11px/1.5 "Microsoft YaHei", sans-serif; }
.catalog-record p { margin: 0 0 15px; color: #50534b; font-size: 14px; line-height: 1.9; }
.catalog-open { display: inline-flex; align-items: center; min-height: 30px; font: 12px "Microsoft YaHei", sans-serif; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.archive-supplement { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; border: 1px solid var(--city-rule); border-top: 0; background: #f6efdd; }
.archive-supplement span { color: #7a3428; font: 11px/1.5 "Microsoft YaHei", sans-serif; letter-spacing: .09em; }
.archive-supplement small { color: #7c7567; font: 10px/1.5 "Microsoft YaHei", sans-serif; }
.city-note { margin-top: 18px; padding: 18px 20px; border: 1px solid var(--city-rule); background: #fbf8ee; }
.city-note strong { display: block; margin-bottom: 6px; color: #705c35; font-size: 13px; }
.city-note p { margin: 0 0 8px; color: #6b6657; font-size: 12px; line-height: 1.85; }
.city-note a { font: 12px "Microsoft YaHei", sans-serif; font-weight: 700; }
.city-aside-card { padding: 20px 21px; border: 1px solid var(--city-rule); background: var(--city-card); }
.city-aside-card + .city-aside-card { margin-top: 16px; }
.city-aside-card h2 { margin: 0 0 14px; padding-bottom: 9px; border-bottom: 1px solid var(--city-rule); color: var(--city-blue); font-size: 16px; }
.city-aside-card p { margin: 0 0 11px; color: #5c5d52; font-size: 12px; line-height: 1.85; }
.city-aside-card p:last-child { margin-bottom: 0; }
.city-aside-card strong { display: inline-block; min-width: 42px; color: var(--city-red); font-family: Georgia, serif; font-size: 11px; }
.city-aside-card a { font: 12px "Microsoft YaHei", sans-serif; font-weight: 700; }
.archive-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 17px; border-bottom: 2px solid var(--city-blue); }
.archive-title-row h1 { margin: 8px 0 0; color: var(--city-blue); font-size: 32px; font-weight: 600; letter-spacing: .08em; }
.archive-count { flex: none; color: #777264; font: 11px "Microsoft YaHei", sans-serif; }
.catalog-searchwide { margin: 24px 0 18px; padding: 20px 22px; border: 1px solid var(--city-rule); background: var(--city-card); }
.catalog-searchwide label { display: block; margin-bottom: 8px; color: #5d5b50; font: 12px "Microsoft YaHei", sans-serif; }
.catalog-searchwide > div { display: flex; gap: 8px; }
.catalog-searchwide input { min-width: 0; flex: 1; padding: 10px 12px; border: 1px solid #baaf98; background: #fff; font-size: 13px; }
.catalog-query-state { margin: 0 0 16px; color: #6c6a5d; font: 12px "Microsoft YaHei", sans-serif; }
.catalog-query-state strong { color: var(--city-red); }
.catalog-list { display: grid; }
.catalog-list .catalog-record + .catalog-record { border-top: 0; }
.catalog-empty { padding: 38px 28px; border: 1px solid var(--city-rule); background: var(--city-card); text-align: center; }
.catalog-empty strong { display: block; color: var(--city-blue); font-size: 20px; }
.catalog-empty p { color: #6b6b5f; font-size: 13px; line-height: 1.9; }
.catalog-empty .button { margin-top: 5px; }
.archive-hint { margin: 15px auto 0 !important; max-width: 520px; padding: 11px 13px; border: 1px dashed #c7b996; background: #fbf7ea; color: #62563d !important; font: 12px/1.8 "Microsoft YaHei", sans-serif !important; }
.archive-breadcrumb { margin-bottom: 18px; color: #777264; font: 11px "Microsoft YaHei", sans-serif; }
.archive-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.archive-breadcrumb .breadcrumb-back { border-color: #cfc4ad; background: #faf7ef; color: #5b5345; }
.archive-breadcrumb .breadcrumb-back:hover { background: #efe9dc; }
.document-sheet { position: relative; padding: clamp(26px, 5vw, 52px); border: 1px solid var(--city-rule); background: var(--city-card); box-shadow: 0 8px 24px rgba(63, 54, 37, .05); }
.document-sheet::before { content: ""; position: absolute; top: 13px; right: 13px; bottom: 13px; left: 13px; border: 1px solid rgba(183, 155, 99, .23); pointer-events: none; }
.document-heading { position: relative; padding-bottom: 21px; border-bottom: 2px solid var(--city-blue); }
.document-type { display: inline-block; margin-bottom: 10px; padding: 3px 8px; border: 1px solid #c4b28f; color: var(--city-red); font: 10px "Microsoft YaHei", sans-serif; letter-spacing: .1em; }
.document-heading h1 { margin: 0 0 13px; color: var(--city-blue); font-size: clamp(25px, 3.4vw, 38px); font-weight: 600; line-height: 1.4; letter-spacing: .04em; }
.document-heading p { margin: 0; color: #696a5e; font-size: 13px; line-height: 1.9; }
.document-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 18px 0 28px; border-top: 1px solid var(--city-rule); border-left: 1px solid var(--city-rule); font-family: "Microsoft YaHei", sans-serif; }
.document-meta div { padding: 10px 12px; border-right: 1px solid var(--city-rule); border-bottom: 1px solid var(--city-rule); }
.document-meta span { display: block; color: #7c7567; font-size: 10px; }
.document-meta strong { display: block; margin-top: 4px; color: #44483f; font-size: 12px; font-weight: 500; }
.document-body { position: relative; max-width: 780px; margin: 0 auto; }
.document-body p { color: #393d37; font-size: 15px; line-height: 2.25; text-indent: 2em; margin: 0 0 17px; letter-spacing: .02em; }
.memoir-back { margin: 0 0 16px; }
.memoir-document { background: #fbf7ec; }
.memoir-sheet { position: relative; max-width: 780px; margin: 30px auto 0; padding: clamp(24px, 4vw, 46px); border: 1px solid #cbbfa6; background-color: #f7f0df; background-image: linear-gradient(rgba(249, 244, 232, .82), rgba(249, 244, 232, .82)), url("./assets/manuscript-paper.jpg"); background-size: cover; background-position: center; box-shadow: inset 0 0 40px rgba(120, 95, 55, .08); }
.memoir-sheet-head { display: grid; gap: 6px; padding-bottom: 17px; border-bottom: 1px solid rgba(150, 128, 86, .35); text-align: center; }
.memoir-sheet-head span { color: #8a6b35; font: 10px/1.5 "Microsoft YaHei", sans-serif; letter-spacing: .16em; }
.memoir-sheet-head strong { color: #3d3a30; font: 600 clamp(22px, 3vw, 30px)/1.5 var(--serif); letter-spacing: .06em; }
.memoir-sheet-head small { color: #7a705c; font: 11px/1.6 "Microsoft YaHei", sans-serif; }
.memoir-text { position: relative; margin-top: 22px; }
.memoir-text p { margin: 0 0 16px; color: #33322b; font: 15px/2.35 var(--serif); letter-spacing: .02em; text-indent: 2em; }
.memoir-text p:last-child { margin-bottom: 0; }
.document-photo { position: relative; margin: 24px 0 27px; padding: 10px 10px 0; border: 1px solid #cbbfa6; background: #f4eedf; }
.document-photo img { width: 100%; max-height: 470px; display: block; object-fit: cover; filter: sepia(.55) contrast(.95) brightness(.97); }
.document-photo figcaption { padding: 9px 2px 10px; color: #6d6658; font: 11px/1.7 "Microsoft YaHei", sans-serif; }
.annex-block { position: relative; max-width: 780px; margin: 36px auto 0; padding: 22px 24px; border: 1px solid #c8b691; background: #faf5e8; }
.annex-heading { display: grid; gap: 4px; padding-bottom: 13px; border-bottom: 1px dashed #c8b691; }
.annex-heading span { color: var(--city-red); font: 10px "Microsoft YaHei", sans-serif; letter-spacing: .13em; }
.annex-heading strong { color: #504b3e; font-size: 17px; }
.annex-heading em { color: #786d57; font: 11px "Microsoft YaHei", sans-serif; font-style: normal; }
.annex-lock-copy { color: #686252 !important; font-size: 13px !important; line-height: 1.9 !important; text-indent: 0 !important; }
.annex-form { margin-top: 15px; }
.annex-form label { display: block; margin-bottom: 8px; color: #554e3f; font: 700 12px "Microsoft YaHei", sans-serif; }
.annex-form .input-row input { border-color: #bfb094; background: #fffdf7; }
.annex-form .button { background: var(--city-blue); border-color: var(--city-blue); }
.annex-footnote { margin: 15px 0 0 !important; color: #7c715c !important; font: 11px/1.8 "Microsoft YaHei", sans-serif !important; text-indent: 0 !important; }
.annex-footnote a { color: var(--city-blue); text-decoration: underline; text-underline-offset: 3px; }
.transcript { margin: 18px 0; padding: 18px 20px; border: 1px solid #cbbfa6; background: #fffdf7; color: #4c4a3f; font: 13px/2 "Microsoft YaHei", monospace; }
.transcript p { margin: 0; text-indent: 0; font-size: 13px; line-height: 2; }
.transcript span { display: inline-block; min-width: 73px; color: #8d8068; }
.transcript strong { color: var(--city-red); font-weight: 600; }
.archive-reveal { margin: 18px 0; padding: 17px 19px; border: 1px solid #d3c3a9; background: #f2ead9; }
.archive-reveal strong { display: block; margin-bottom: 8px; color: var(--city-red); font-size: 14px; }
.archive-reveal p { margin: 0 0 8px; color: #504a3d; font-size: 13px; line-height: 1.95; }
.archive-reveal p:last-child { margin: 0; }
.annex-related { margin: 0 !important; color: #6a6150 !important; font: 12px/1.8 "Microsoft YaHei", sans-serif !important; text-indent: 0 !important; }
.annex-related a { font-weight: 700; }
.related-reading { margin-top: 8px; color: #6a6150; font: 12px/1.8 "Microsoft YaHei", sans-serif; }
.related-reading summary { cursor: pointer; color: var(--city-blue); font-weight: 700; }
.related-reading p { margin: 6px 0 0; }
.document-actions { display: flex; align-items: center; gap: 22px; margin-top: 24px; font-family: "Microsoft YaHei", sans-serif; }
.archive-hint, .city-site .callout { font-family: "Microsoft YaHei", sans-serif; }
.city-footer { padding: 26px max(24px, calc((100vw - 1120px)/2)); border-top: 1px solid #cfc4ad; background: #eae3d4; color: #756f61; font-family: "Microsoft YaHei", sans-serif; }
.city-footer div { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.city-footer strong { color: #4d4b42; font-family: "Songti SC", serif; font-size: 14px; letter-spacing: .05em; }
.city-footer span, .city-footer p { margin: 0; font-size: 11px; line-height: 1.7; color: #746e60; }

/* 旧论坛 */
.forum-site { min-height: 100vh; color: #202923; background: #edf0ec; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; font-size: 13px; }
.forum-site a { color: #275c7b; }
.forum-site a:hover { color: #a64b2e; }
.forum-topbar { display: flex; justify-content: space-between; gap: 20px; padding: 7px max(20px, calc((100vw - 1100px)/2)); background: #16252e; color: #b8c6cb; font-size: 11px; letter-spacing: .06em; }
.forum-header { max-width: 1100px; margin: 0 auto; padding: 26px 20px 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.forum-brand strong { display: block; color: #214b63; font: 700 34px/1.2 "SimHei", "Microsoft YaHei", sans-serif; letter-spacing: .09em; }
.forum-brand small { display: block; margin-top: 4px; color: #64757e; font: 10px/1.4 "Courier New", monospace; letter-spacing: .15em; }
.forum-status { display: flex; gap: 13px; color: #66777e; font: 11px "Courier New", monospace; }
.forum-nav { display: flex; align-items: center; gap: 0; max-width: 1100px; margin: 0 auto; padding: 0 20px; background: #315d76; }
.forum-nav a { padding: 10px 14px; color: #eaf2f4; font-size: 12px; border-right: 1px solid #4a7287; }
.forum-nav a:first-child { border-left: 1px solid #4a7287; }
.forum-nav a.active, .forum-nav a:hover { background: #1f4357; color: #fff; }
.forum-nav-note { margin-left: auto; color: #c3d4da; font-size: 10px; }
.forum-search { max-width: 1100px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #c7d0c9; background: #dfe6e1; }
.forum-search label { color: #43534a; font-size: 11px; }
.forum-search input { width: 260px; height: 30px; padding: 0 8px; border: 1px solid #aebbb2; background: #fff; font-size: 12px; }
.forum-search button { height: 30px; padding: 0 13px; border: 1px solid #82948a; background: #f5f7f4; color: #2b463b; font-size: 11px; }
.forum-search span { color: #748077; font-size: 10px; }
.forum-wrap { max-width: 1100px; margin: 0 auto; padding: 26px 20px 68px; }
.forum-crumb { margin-bottom: 18px; color: #6f7c74; font: 11px "Courier New", monospace; }
.forum-board-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-bottom: 15px; border-bottom: 2px solid #315d76; }
.forum-board-intro h1 { margin: 0 0 6px; color: #223d4c; font-size: 26px; letter-spacing: .04em; }
.forum-board-intro p { margin: 0; color: #68756d; font-size: 12px; }
.forum-readonly { flex: none; padding: 4px 8px; border: 1px solid #b1bdb4; color: #69776d; background: #f8faf7; font: 10px "Courier New", monospace; }
.forum-search-state { margin: 14px 0 0; color: #526157; font-size: 12px; }
.forum-table { margin-top: 16px; border: 1px solid #bcc8c0; border-bottom: 0; background: #fbfcfa; }
.forum-table-head, .forum-thread-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) 105px 92px 146px; gap: 10px; align-items: center; }
.forum-table-head { padding: 8px 12px; border-bottom: 1px solid #bcc8c0; background: #dbe4de; color: #56695e; font: 10px "Courier New", monospace; }
.forum-thread-row { min-height: 59px; padding: 10px 12px; border-bottom: 1px solid #c8d2cb; color: #303d35; }
.forum-thread-row:hover { background: #f5f8f4; color: #303d35; }
.forum-thread-row > span { min-width: 0; color: #5f6e64; font: 11px "Courier New", monospace; }
.forum-thread-row > span:nth-child(2) strong { display: block; color: #244b63; font: 700 13.5px/1.5 "Microsoft YaHei", sans-serif; overflow-wrap: anywhere; }
.forum-thread-row > span:nth-child(2) small { display: block; margin-bottom: 2px; color: #758179; font: 10px "Courier New", monospace; }
.forum-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #b06743; box-shadow: 0 0 0 2px #f2dfd4; }
.forum-dot.read { background: #8b9a90; box-shadow: 0 0 0 2px #e3e9e4; }
.forum-empty { padding: 35px 25px; border: 1px solid #c4cfc7; background: #fbfcfa; color: #58685e; font-size: 13px; }
.forum-cache-note { margin: 17px 0 0; color: #707d75; font-size: 11px; line-height: 1.7; }
.forum-back { margin-top: 22px; font-size: 12px; }
.forum-crumb .breadcrumb-back { border-color: #bdc9c1; color: #315d76; background: #f7faf6; font-family: var(--sans); }
.forum-crumb .breadcrumb-back:hover { background: #e7f0ea; }
.forum-thread-title { padding-bottom: 19px; border-bottom: 2px solid #315d76; }
.forum-thread-title > span { color: #75827a; font: 11px "Courier New", monospace; }
.forum-thread-title h1 { margin: 8px 0 9px; color: #223d4c; font-size: clamp(21px, 3vw, 31px); line-height: 1.5; }
.forum-thread-title p { margin: 0; color: #69766e; font: 11px "Courier New", monospace; }
.forum-posts { margin-top: 17px; border: 1px solid #bdc9c1; background: #fbfcfa; }
.forum-post { display: grid; grid-template-columns: 140px minmax(0, 1fr); border-bottom: 1px solid #c8d2cb; }
.forum-post:last-child { border-bottom: 0; }
.forum-post-user { padding: 15px 13px; border-right: 1px solid #c8d2cb; background: #f0f4ef; }
.forum-post-user strong { display: block; color: #315d76; font-size: 12px; overflow-wrap: anywhere; }
.forum-post-user span { display: inline-block; margin-top: 8px; padding: 3px 6px; background: #dce5df; color: #66756c; font: 10px "Courier New", monospace; }
.forum-post-user small { display: block; margin-top: 7px; color: #758179; font: 10.5px/1.6 "Courier New", monospace; }
.forum-post-body { padding: 16px 20px 18px; }
.forum-post-body p { margin: 0; color: #38443c; font-size: 13px; line-height: 2; white-space: pre-wrap; }
.forum-post.deleted { background: #f6f3ed; }
.forum-post.deleted .forum-post-body > p { color: #9b9284; }
.forum-edit-button { margin-top: 12px; min-height: 30px; padding: 5px 9px; border: 1px dashed #b4a793; background: #fdfaf3; color: #7e603a; font-size: 11px; }
.forum-edit-history { margin-top: 12px; padding: 12px 14px; border: 1px solid #d8c9b3; background: #f1e9dc; }
.forum-edit-history span { display: block; margin-bottom: 5px; color: #7c5230; font: 10px "Courier New", monospace; letter-spacing: .06em; }
.forum-edit-history p { margin: 0; color: #554a3a; font-size: 12px; line-height: 1.9; white-space: normal; }
.forum-cache-panel { margin-top: 14px; padding: 15px 16px 16px; border: 1px solid #c3b292; background: #fbf7ec; }
.forum-cache-panel p { white-space: normal; }
.forum-cache-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed #cbbca1; }
.forum-cache-head span { color: #8a6336; font: 10px "Courier New", monospace; letter-spacing: .08em; }
.forum-cache-head strong { color: #574834; font: 700 13px "Microsoft YaHei", sans-serif; }
.forum-cache-panel > p { margin: 9px 0 0; color: #5f5747; font-size: 11.5px; line-height: 1.8; }
.forum-cache-versions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.forum-cache-versions > div { padding: 9px 11px; border: 1px solid #d6cab5; background: #fffdf7; }
.forum-cache-versions span { display: block; margin-bottom: 5px; color: #8b7a60; font: 10px "Courier New", monospace; }
.forum-cache-versions p { margin: 0; color: #463f34; font: 12.5px/1.85 "Microsoft YaHei", sans-serif; }
.forum-cache-versions mark { padding: 0 2px; background: #f2d69e; color: #713f1b; }
.forum-cache-diff { margin: 11px 0 0 !important; padding: 8px 10px; border: 1px solid #dac9ad; background: #f4ecdd; color: #685034 !important; font-size: 11.5px !important; line-height: 1.8 !important; }
.forum-cache-form { margin-top: 12px; }
.forum-cache-form label { display: block; margin-bottom: 6px; color: #5b5243; font: 700 11.5px "Microsoft YaHei", sans-serif; }
.forum-cache-form .input-row input { min-height: 38px; border-color: #c2b398; background: #fffdf8; font-size: 13px; }
.forum-cache-form .input-row input:focus { border-color: #8e7442; }
.forum-cache-form .button, .forum-cache-actions .button { min-height: 38px; padding: 7px 13px; border: 1px solid #99855f; background: #fffdf7; color: #6b5330; font-size: 11px; }
.forum-cache-form .button-primary { background: #315d54; border-color: #315d54; color: #fff; }
.forum-cache-message { margin: 10px 0 0 !important; padding: 8px 10px; border: 1px solid #dacdb7; background: #f7f1e4; color: #67573f !important; font-size: 11.5px !important; line-height: 1.75 !important; }
.forum-cache-message.warn { border-color: #e3c6b9; background: #fbf0ea; color: #7c452f !important; }
.forum-cache-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 11px; }
.forum-cache-source { color: #877a64; font: 10px "Courier New", monospace; }
.forum-cache-hint { margin: 10px 0 0 !important; padding: 9px 11px; border: 1px solid #e2d0a9; background: #fdf4e0; color: #6b5a3c !important; font-size: 11.5px !important; line-height: 1.8 !important; }
.forum-cache-proof { margin-top: 10px !important; padding: 8px 10px; border: 1px solid #d8c9b3; background: #f7efe2; color: #6b5337 !important; font-size: 11.5px !important; line-height: 1.75 !important; white-space: normal; }
.forum-thread-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 19px; }
.forum-thread-actions .button { min-height: 34px; padding: 6px 12px; border-color: #879e94; color: #315d54; font-size: 11px; }
.forum-footer { padding: 23px max(20px, calc((100vw - 1100px)/2)); border-top: 1px solid #8fa298; background: #315d76; color: #d4e0e3; font-size: 10.5px; line-height: 1.8; }
.forum-footer p { margin: 0; }

/* 核心证据链与结局档案 */
.chain-target { margin: 8px 0 10px; padding: 9px 11px; border: 1px solid #e0d5bd; background: #fbf8ee; }
.chain-target summary { cursor: pointer; color: #6b5d45; font-size: 12px; font-weight: 700; }
.chain-target p { margin: 7px 0 0; color: #5f5540; font-size: 12.5px; line-height: 1.7; }
.act-list { list-style: none; margin: 4px 0 12px; padding: 0; }
.act-list li { display: grid; grid-template-columns: 27px minmax(0, 1fr) auto; gap: 9px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); opacity: .55; }
.act-list li:last-child { border-bottom: 0; }
.act-list > li > span { color: #9a8a6c; font: 700 16px Georgia, serif; }
.act-list li div small { display: block; color: #716753; font-size: 10.5px; letter-spacing: .08em; }
.act-list li div strong { display: block; margin: 2px 0 3px; color: var(--green-dark); font-size: 14px; }
.act-list li div p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.act-list li em { color: #6f6a5f; font-size: 11px; font-style: normal; white-space: nowrap; }
.act-list li.active { opacity: 1; background: #fbf8ee; margin: 0 -8px; padding: 12px 8px; }
.act-list li.active > span, .act-list li.active em { color: #7a5c28; }
.act-list li.done { opacity: 1; }
.act-list li.done > span { color: #2f6a4a; }
.ending-archive-card { margin-top: 18px; }
.ending-archive-card > p { font-size: 13px; }
.ending-archive-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 13px; }
.ending-archive-list div { min-height: 72px; padding: 11px 13px; border: 1px solid #e2e6e0; background: #fbfcfa; }
.ending-archive-list span { display: block; color: #404a43; font-size: 15px; font-weight: 700; }
.ending-archive-list small { display: block; margin-top: 5px; color: var(--muted-soft); font-size: 11.5px; line-height: 1.6; }
.ending-archive-list div.unlocked { border-color: #b9d2c2; background: #f3f8f3; }
.ending-archive-list div.unlocked span { color: var(--green-dark); }
.ending-author-note { margin-top: 14px; padding: 14px 17px 13px; border: 1px dashed #c7b689; background: #fdfaf1; transform: rotate(-.35deg); }
.ending-author-note span { display: block; color: #7e6d4b; font-size: 10.5px; letter-spacing: .12em; }
.ending-author-note p { margin: 6px 0 7px; color: #5f5543; font-family: var(--serif); font-size: 13px; line-height: 1.85; }
.ending-author-note strong { display: block; color: #7a6337; font: 700 12px Georgia, serif; letter-spacing: .06em; text-align: right; }

/* 制作说明与彩蛋附录 */
.credits-byline { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 0 0 20px; padding-bottom: 4px; }
.credits-byline span { color: var(--muted); font-size: 11.5px; letter-spacing: .16em; }
.credits-byline strong { color: var(--green-dark); font: 700 32px/1 Georgia, "Times New Roman", serif; letter-spacing: .06em; }
.credits-note { margin: 24px 0; padding: 18px 20px; border: 1px solid #e5dac4; background: #fbf8ee; }
.credits-note strong { display: block; margin-bottom: 6px; color: #6f5a30; font-size: 11.5px; letter-spacing: .14em; }
.credits-note p { margin: 0; color: #5f5543; font-family: var(--serif); font-size: 15px; line-height: 1.95; }
.credits-eggs { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); }
.credits-eggs li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 11px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.credits-eggs li:last-child { border-bottom: 0; }
.credits-eggs li > span { color: #8f7d5b; font: 700 13px Georgia, serif; }
.credits-eggs strong { display: block; color: var(--green-dark); font-size: 14px; }
.credits-eggs p { margin: 3px 0 0 !important; color: var(--muted); font-size: 13px !important; line-height: 1.75; }
.map-index-egg { color: #8a6b35; }
body[data-page="credits"] .world-bar, body[data-page="help"] .world-bar { display: none; }
.city-footer a, .forum-footer a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.opening-page { min-height: 680px; display: grid; place-items: center; padding: 64px 24px 80px; background: linear-gradient(135deg, #f3f7f2, #fff 58%, #f7f3e9); }
.opening-card { width: min(100%, 720px); padding: 46px 50px 38px; border: 1px solid #bdcec1; border-top: 4px solid var(--green-dark); background: #ffffffed; box-shadow: 0 18px 60px #173d2a12; }
.opening-kicker { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.opening-card h1 { margin: 15px 0 28px; color: var(--green-dark); font: 600 clamp(30px, 4vw, 42px)/1.35 var(--serif); letter-spacing: .04em; }
.opening-facts { border-top: 1px solid var(--line); }
.opening-facts p { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 16px; margin: 0; padding: 15px 0; border-bottom: 1px solid var(--line); color: #45544c; font-size: 14px; line-height: 1.8; }
.opening-facts p > span { color: var(--muted); font: 700 13px/1.8 Georgia, serif; letter-spacing: .06em; }
.opening-facts strong { color: var(--green-dark); }
.opening-objective { margin: 24px 0; padding: 16px 18px; border-left: 3px solid var(--orange); background: #fbf7ef; color: #5c4d39; font-size: 15px; font-weight: 700; line-height: 1.85; }
.opening-actions, .instructions-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.opening-actions .button { min-height: 46px; }
.opening-help-link { display: inline-flex; margin-top: 20px; color: var(--green); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.opening-card > small { display: block; margin-top: 24px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.instructions-actions { margin: -8px 0 26px; }
.instructions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.instruction-card { position: relative; min-width: 0; padding: 24px 25px; border: 1px solid var(--line); background: var(--paper); }
.instruction-card > span { color: #8b7852; font: 700 12px Georgia, serif; letter-spacing: .1em; }
.instruction-card h2 { margin: 7px 0 10px; color: var(--green-dark); font: 600 20px/1.4 var(--serif); }
.instruction-card p { margin: 0; color: #526058; font-size: 13px; line-height: 1.9; }
.instructions-spoiler-free { margin-top: 18px; border: 1px solid #d8e2d8; background: #fff; }
.instructions-spoiler-free summary { padding: 14px 17px; color: var(--green-dark); font-size: 13px; font-weight: 700; cursor: pointer; }
.instructions-spoiler-free p { margin: 0; padding: 0 17px 16px; color: var(--muted); font-size: 13px; line-height: 1.85; }
@media (max-width: 700px) {
  .opening-page { min-height: 0; padding: 30px 16px 50px; }
  .opening-card { padding: 30px 23px 26px; }
  .opening-card h1 { margin-bottom: 22px; }
  .opening-facts p { grid-template-columns: 48px minmax(0, 1fr); gap: 10px; font-size: 13px; }
  .opening-actions { flex-direction: column; }
  .opening-actions .button, .instructions-actions .button { width: 100%; }
  .instructions-grid { grid-template-columns: minmax(0, 1fr); }
  .instruction-card { padding: 20px; }
}

@media (max-width: 960px) {
  .city-home-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .city-hero { grid-template-columns: minmax(0, 1fr); }
  .city-hero figure { min-height: 260px; max-height: 330px; }
  .city-masthead { flex-wrap: wrap; }
  .city-search-form { width: 100%; }
  .city-nav { flex-wrap: wrap; }
  .city-nav-spacer { display: none; }
  .city-nav .city-return { margin-left: auto; }
  .forum-nav { flex-wrap: wrap; }
  .forum-nav-note { display: none; }
  .forum-header { align-items: flex-start; flex-direction: column; gap: 10px; }
}
@media (max-width: 700px) {
  .city-govbar, .forum-topbar { padding-left: 16px; padding-right: 16px; }
  .city-govbar span:last-child, .forum-topbar span:last-child { display: none; }
  .city-masthead { padding: 20px 16px 16px; gap: 15px; }
  .city-brand strong { font-size: 23px; }
  .city-seal { width: 44px; height: 44px; font-size: 24px; }
  .city-nav { padding: 0 16px; }
  .city-nav a { padding: 10px 11px; font-size: 12px; }
  .city-nav .city-return { width: 100%; margin: 0; padding: 8px 0; }
  .archive-wrap { padding: 24px 16px 50px; }
  .city-hero-copy { padding: 29px 24px 28px; }
  .city-hero h1 { font-size: 31px; }
  .city-hero p { font-size: 13px; }
  .city-hero figure { min-height: 210px; }
  .archive-title-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .archive-title-row h1 { font-size: 27px; }
  .catalog-record { padding: 18px 17px; }
  .catalog-record-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .catalog-record-heading strong { font-size: 17px; }
  .catalog-searchwide { padding: 15px; }
  .catalog-searchwide > div { flex-direction: column; }
  .catalog-searchwide .button { width: 100%; }
  .document-sheet { padding: 24px 20px; }
  .document-sheet::before { inset: 7px; }
  .document-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .document-body p { font-size: 14px; line-height: 2.05; }
  .archive-supplement { align-items: flex-start; flex-direction: column; gap: 3px; padding: 11px 17px; }
  .memoir-sheet { margin-top: 20px; padding: 24px 18px; }
  .memoir-text p { font-size: 14px; line-height: 2.15; }
  .annex-block { padding: 18px 16px; }
  .annex-form .input-row { flex-direction: column; }
  .annex-form .button { width: 100%; }
  .document-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .city-footer div { flex-direction: column; gap: 3px; }
  .forum-wrap { padding: 20px 14px 50px; }
  .forum-header { padding: 20px 14px 13px; }
  .forum-brand strong { font-size: 28px; }
  .forum-status { flex-wrap: wrap; }
  .forum-nav { padding: 0 14px; }
  .forum-nav a { padding: 9px 10px; font-size: 11px; }
  .forum-search { padding: 10px 14px; flex-wrap: wrap; }
  .forum-search input { flex: 1; min-width: 0; width: auto; }
  .forum-search span { display: none; }
  .forum-table-head { display: none; }
  .forum-thread-row { grid-template-columns: 24px minmax(0, 1fr); gap: 4px 8px; padding: 12px 10px; }
  .forum-thread-row > span:nth-child(3), .forum-thread-row > span:nth-child(4), .forum-thread-row > span:nth-child(5) { grid-column: 2; display: inline; font-size: 10px; }
  .forum-thread-row > span:nth-child(4)::before { content: "回复 "; }
  .forum-thread-row > span:nth-child(5)::before { content: "更新 "; }
  .forum-thread-row > span:nth-child(2) strong { font-size: 12px; }
  .forum-post { grid-template-columns: minmax(0, 1fr); }
  .forum-post-user { display: flex; align-items: center; gap: 8px; border-right: 0; border-bottom: 1px solid #d3dcd5; padding: 9px 12px; }
  .forum-post-user span, .forum-post-user small { margin-top: 0; margin-left: auto; }
  .forum-post-user small { margin-left: 0; }
  .forum-post-body { padding: 14px 14px 17px; }
  .forum-cache-panel { padding: 13px 12px 14px; }
  .forum-cache-head { flex-direction: column; align-items: flex-start; gap: 3px; }
  .forum-cache-versions { grid-template-columns: minmax(0, 1fr); }
  .forum-cache-form .input-row { flex-direction: column; }
  .forum-cache-form .button { width: 100%; }
  .forum-thread-title h1 { font-size: 21px; }
  .ending-archive-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credits-byline { align-items: flex-start; flex-direction: column; gap: 8px; }
  .credits-byline strong { font-size: 27px; }
  .credits-note { padding: 15px 16px; }
  .credits-note p { font-size: 14px; }
}
@media (max-width: 430px) {
  .city-brand small { letter-spacing: .08em; }
  .city-nav a { padding: 9px 8px; }
  .document-meta { grid-template-columns: minmax(0, 1fr); }
  .city-hero h1 { font-size: 27px; }
  .forum-brand small { letter-spacing: .07em; }
  .forum-thread-row > span:nth-child(3) { display: none; }
  .forum-cache-actions { align-items: flex-start; flex-direction: column; }
  .ending-archive-list { grid-template-columns: minmax(0, 1fr); }
}

/* ── v9.1 西侧门：两张 071 ─────────────────────── */
.gate-panel > .meta { display: block; margin-bottom: 7px; color: var(--orange); }
.gate-panel h2 { margin: 0 0 10px; font: 600 26px/1.4 var(--serif); letter-spacing: .05em; }
.gate-panel > p { max-width: 64ch; }
.gate-photo { margin: 12px 0 16px; border: 1px solid #cdd9cf; background: #1c2220; overflow: hidden; }
.gate-photo img { display: block; width: 100%; max-height: 240px; object-fit: cover; }
.gate-passes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin: 19px 0 21px; }
.gate-pass {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 14px;
  padding: 14px 17px; border: 1px solid #cdd9cf; background: #f8faf7;
}
.gate-pass small { color: var(--muted); font-size: 11px; letter-spacing: .1em; }
.gate-pass strong { color: var(--green-dark); font: 700 32px/1.05 Georgia, "Times New Roman", serif; letter-spacing: .14em; }
.gate-pass span { align-self: center; color: var(--muted); font-size: 12px; line-height: 1.7; }
.gate-pass.old { border-color: #dcc89c; background: #fbf6e9; }
.gate-pass.old small { color: #8b7447; }
.gate-pass.old strong { color: #7b5c25; }
.gate-pass.old span { color: #7c6d4c; }
button.gate-pass.old { width: 100%; color: inherit; font: inherit; text-align: left; cursor: pointer; }
button.gate-pass.old:hover { border-color: #b89a5e; background: #f8efda; }
.gate-pass-hint { margin: -10px 0 18px; color: #8b7447; font-size: 11px; }
.gate-bell-echo { margin: -8px 0 20px; color: #7b5c25; font: 13px/1.8 Georgia, "Times New Roman", serif; letter-spacing: .18em; animation: gate-bell-fade 1.8s ease-out both; }
@keyframes gate-bell-fade { from { opacity: 0; } to { opacity: 1; } }
.gate-job-state { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin: 0 0 13px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.gate-job-state strong { color: var(--green-dark); font-size: 12px; font-weight: 600; }
.gate-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gate-options button { min-height: 112px; padding: 15px 16px; border: 1px solid #cdd9cf; background: #fff; text-align: left; }
.gate-options button:hover { border-color: var(--green); background: #f4faf5; }
.gate-options strong { display: block; margin-bottom: 7px; color: var(--green-dark); font-size: 15px; }
.gate-options span { display: block; color: var(--muted); font-size: 12px; line-height: 1.75; }
.gate-receipt { margin: 16px 0 0; padding: 14px 16px; border: 1px dashed #c8b691; background: #fbf7ec; }
.gate-receipt span { display: block; margin-bottom: 4px; color: #8b7447; font-size: 11px; letter-spacing: .1em; }
.gate-receipt p { margin: 0; color: #5e533e; font-size: 13px; line-height: 1.9; }
.annex-rules { margin: 20px 0 4px; padding: 16px 18px; border: 1px solid #c8b691; background: #f4ecd7; }
.annex-rules > strong { display: block; margin-bottom: 5px; color: #7a3428; font: 600 15px/1.5 var(--serif); letter-spacing: .04em; }
.annex-rules .rule-list { margin: 5px 0 0; border-top-color: #d8c9a8; }
.annex-rules .rule-list li { grid-template-columns: 28px 1fr; gap: 9px; padding: 9px 0; border-bottom-color: #ddcfb0; }
.annex-rules .rule-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.annex-rules .rule-list li span { color: var(--city-red); font-size: 14px; }
.annex-rules .rule-list li p { color: #4c4639; font: 13px/1.85 "Microsoft YaHei", sans-serif; text-indent: 0; }

@media (max-width: 720px) {
  .pass-stub { flex-wrap: wrap; }
  .gate-panel h2 { font-size: 22px; }
  .gate-passes { grid-template-columns: minmax(0, 1fr); }
  .gate-pass { padding: 12px 15px; }
  .gate-options { grid-template-columns: minmax(0, 1fr); }
  .gate-options button { min-height: 0; padding: 13px 15px; }
  .annex-rules { padding: 14px 14px; }
  body[data-page="exit"] .chat-widget { display: none; }
}

/* ── 触屏：关键控件接近或达到 44px ─────────────── */
@media (pointer: coarse) {
  .button { min-height: 44px; }
  .site-search { height: 44px; }
  .site-search input { font-size: 16px; }
  .site-search button { min-width: 58px; }
  .main-nav a { padding-top: 12px; padding-bottom: 12px; }
  .rule-toolbar button, .signal-filters button, .camera-tabs button, .mark-options button, .ops-tabs button { min-height: 40px; }
  .rule-check button { min-height: 38px; }
  .signal-controls button { min-width: 40px; min-height: 40px; }
  .map-hotspot { min-height: 40px; }
  .map-tool { min-width: 44px; min-height: 44px; }
  .map-directory-grid a, .map-directory-grid button, .map-directory-grid span { min-height: 48px; }
  .map-index summary { display: flex; align-items: center; min-height: 44px; }
  .breadcrumbs a, .archive-breadcrumb a, .forum-crumb a, .breadcrumb-back, .section-heading a, .text-link { min-height: 44px; }
  .image-description summary { min-height: 38px; }
  .chat-widget-heading button { width: 40px; height: 40px; }
  .chat-widget-actions button { min-height: 44px; }
  .chat-widget-form input, .chat-widget-form button { min-height: 44px; }
  .chat-widget-form input, .site-search input, .input-row input, .ops-login input { font-size: 16px; }
  .footer-links a, .footer-links button, .footer-partners a { min-height: 44px; }
  .pass-actions a { display: inline-flex; align-items: center; min-height: 44px; }
  .gate-options button { min-height: 48px; }
  .side-links li { padding: 0; }
  .side-links a { display: flex; align-items: center; min-height: 44px; padding: 12px 0; }
  .city-search-form input, .city-hero-search input, .catalog-searchwide input, .annex-form input, .forum-search input { font-size: 16px; }
  .city-nav a, .forum-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .forum-search input, .forum-search button { height: 38px; }
  .forum-thread-actions .button { min-height: 40px; }
  .forum-edit-button { min-height: 38px; }
  .forum-cache-form input, .forum-cache-form .button, .forum-cache-actions .button { min-height: 44px; }
  .forum-cache-form input { font-size: 16px; }
  .forum-cache-form .button, .forum-cache-actions .button { font-size: 13px; }
  .catalog-open { min-height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
