@font-face {
  font-family: "Shanhai Glyphs";
  src: url("assets/fonts/shanhai-glyphs.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+3428, U+352E, U+35B6, U+35F8, U+369F, U+3917, U+3B07, U+3B49, U+3C59, U+3D2C, U+3D8C, U+3E32, U+3E65, U+3EEC, U+40CC, U+40E4, U+424B, U+42A7, U+4343, U+4376, U+437A, U+43B6, U+43FF, U+4406, U+444F, U+44D6, U+44D8, U+4504, U+452D, U+4580, U+45AA, U+45BA, U+45E1, U+45E4, U+475E, U+47E3, U+4862, U+48C0, U+496B, U+49A0, U+49FF, U+4A3C, U+4B05, U+4B9D, U+4C1D, U+4C20, U+4C37, U+4C3D, U+4C64, U+4C71, U+4C7B, U+4C80, U+4C83, U+4CA2, U+4CA6, U+4CB9, U+4CCB, U+4CD0, U+4CD1, U+4CDC, U+4CE9, U+4D05, U+4D14, U+4D26, U+4E26, U+4E9D, U+4EB6, U+4EED, U+4F86, U+4F96, U+4FC2, U+5015, U+502B, U+5099, U+50B3, U+50B7, U+50D5, U+50E5, U+5104, U+511B, U+5135, U+5152, U+5169, U+51A1, U+51F1, U+520F, U+5247, U+525B, U+528D, U+52D5, U+52D9, U+52DD, U+52DE, U+52F3, U+5340, U+536C, U+536D, U+53AD, U+53B2, U+53C3, U+53E2, U+5433, U+5449, U+54E1, U+5553, U+5557, U+55AC, U+55AE, U+5614, U+562F, U+56AE, U+56B3, U+56C2, U+56F7, U+570B, U+570D, U+5713, U+57F7, U+57FB, U+5805, U+580A, U+582F, U+5857, U+5875, U+588A, U+58A0, U+58A6, U+58C7, U+58CE, U+58FD, U+593E, U+5967, U+596A, U+59B4, U+59D6, U+59EA, U+5A41, U+5A66, U+5AA7, U+5AB1, U+5AD7, U+5B2A, U+5B30, U+5B6B, U+5BE2, U+5BE6, U+5BE7, U+5C07, U+5C0B, U+5C0D, U+5C0E, U+5C64, U+5C6C, U+5CA1, U+5CDA, U+5CF3, U+5D0C, U+5D0D, U+5D11, U+5D19, U+5D93, U+5DA7, U+5DBD, U+5DD6, U+5E2B, U+5E36, U+5E79, U+5E7E, U+5EC6, U+5EE3, U+5EEC, U+5F07, U+5F1E, U+5F35, U+5F4A, U+5F59, U+5F6B, U+5F83, U+5F9E, U+5FA7, U+5FA9, U+5FAF, U+6113, U+611B, U+616E, U+6182, U+61B2, U+61C9, U+61F7, U+6230, U+6232, U+625C, U+63C0, U+63FA, U+6476, U+64CA, U+64DA, U+6557, U+6578, U+65AC, U+65B7, U+65B8, U+6610, U+6642, U+6649, U+665D, U+668D, U+6703, U+670C, U+670F, U+6745, U+6771, U+677B, U+67CE, U+67DF, U+67E4, U+67F8, U+6812, U+682F, U+685E, U+689D, U+689F, U+68C4, U+68D7, U+68EA, U+68EB, U+68F7, U+6906, U+6944, U+694A, U+6953, U+695B, U+6962, U+6968, U+6975, U+6991, U+6996, U+69A3, U+69AE, U+69C3, U+6A02, U+6A15, U+6A1E, U+6A39, U+6A3B, U+6A3F, U+6A5A, U+6A7F, U+6AB7, U+6ABB, U+6ABF, U+6AC4, U+6AD4, U+6ADF, U+6AE7, U+6AE8, U+6AF0, U+6AFE, U+6B0A, U+6B12, U+6B18, U+6B3D, U+6B4D, U+6B50, U+6B5C, U+6B72, U+6B77, U+6B78, U+6B98, U+6BBA, U+6C23, U+6C4E, U+6C75, U+6C78, U+6CC2, U+6CD1, U+6CDA, U+6CDC, U+6CFF, U+6D08, U+6D87, U+6DB4, U+6DB9, U+6DD2, U+6DEA, U+6DEF, U+6DF5, U+6E1B, U+6E3E, U+6E63, U+6E68, U+6E6F, U+6E87, U+6E9D, U+6EB9, U+6EC5, U+6ECE, U+6EF1, U+6EFD, U+6F0A, U+6F22, U+6F28, U+6F3F, U+6F4F, U+6F50, U+6F55, U+6F97, U+6FA0, U+6FA4, U+6FC1, U+6FD5, U+6FDB, U+6FDD, U+6FDF, U+6FE9, U+6FEB, U+6FF1, U+6FFC, U+7006, U+701F, U+7024, U+7042, U+7043, U+70CF, U+70DD, U+7121, U+7147, U+71ED, U+722D, U+7232, U+723E, U+7240, U+7277, U+729B, U+72A7, U+72B3, U+72C0, U+72CC, U+72D5, U+72EA, U+7319, U+7328, U+7332, U+7336, U+733C, U+7342, U+7344, U+7359, U+735C, U+7368, U+7372, U+7373, U+7378, U+737B, U+738A, U+7395, U+7397, U+73A4, U+73DA, U+73EA, U+7401, U+7408, U+744A, U+7486, U+74B0, U+74BD, U+74C0, U+750C, U+7562, U+7570, U+7576, U+75D3, U+75E0, U+75F8, U+75FA, U+761E, U+7627, U+763B, U+7649, U+7658, U+7659, U+7661, U+766C, U+766D, U+7670, U+767C, U+769E, U+76E1, U+76E7, U+76E9, U+7734, U+776A, U+7782, U+77F0, U+7806, U+78C8, U+791C, U+791D, U+7928, U+792A, U+7947, U+7951, U+7959, U+79A6, U+79AA, U+79AE, U+79B1, U+7A0C, U+7A2E, U+7A40, U+7A4B, U+7A4D, U+7A61, U+7AAB, U+7AAE, U+7AC5, U+7ACA, U+7AEA, U+7B40, U+7B6D, U+7B98, U+7BC0, U+7C33, U+7D00, U+7D05, U+7D14, U+7D42, U+7D44, U+7D50, U+7D5C, U+7D61, U+7D72, U+7D76, U+7D93, U+7DAD, U+7DB8, U+7DBD, U+7DCD, U+7DD1, U+7DE3, U+7DF1, U+7E1B, U+7E1E, U+7E23, U+7E31, U+7E3E, U+7E4B, U+7E5E, U+7E61, U+7E62, U+7E69, U+7E7C, U+7E8D, U+7E93, U+7F77, U+7F85, U+7F86, U+7FA9, U+7FAC, U+7FAD, U+8056, U+805E, U+806F, U+8072, U+8076, U+807D, U+807E, U+8085, U+80D5, U+811B, U+8129, U+814E, U+816B, U+8178, U+81CD, U+81E8, U+81F7, U+81FA, U+8207, U+8209, U+8271, U+8283, U+82D6, U+830D, U+831D, U+8396, U+83A2, U+83AC, U+83D1, U+83EF, U+840A, U+841A, U+842C, U+842F, U+8449, U+844C, U+846A, U+846F, U+8474, U+8490, U+84A8, U+84BC, U+84C7, U+84CB, U+84F2, U+853F, U+856A, U+856D, U+8581, U+858E, U+8594, U+859D, U+85B2, U+85C7, U+85DF, U+85E5, U+85ED, U+85F7, U+8600, U+8607, U+8621, U+862A, U+862D, U+8655, U+8656, U+865F, U+86B3, U+86EB, U+872A, U+873C, U+875F, U+8761, U+87A3, U+87BB, U+87C4, U+87DC, U+87DE, U+87F2, U+8812, U+881A, U+882A, U+882D, U+8831, U+8835, U+883B, U+8846, U+8853, U+8855, U+8858, U+885B, U+885D, U+8922, U+898B, U+8996, U+89C0, U+89E1, U+89E7, U+89F4, U+8A06, U+8A08, U+8A0E, U+8A11, U+8A17, U+8A18, U+8A1E, U+8A1F, U+8A54, U+8A68, U+8AA6, U+8ACB, U+8AF1, U+8AF8, U+8B01, U+8B02, U+8B1B, U+8B1D, U+8B21, U+8B39, U+8B4C, U+8B58, U+8B59, U+8B93, U+8B99, U+8C3F, U+8C50, U+8C6C, U+8C86, U+8C9D, U+8CA0, U+8CA8, U+8CA9, U+8CAB, U+8CB3, U+8CBA, U+8CC1, U+8CC7, U+8CC8, U+8CDC, U+8CEA, U+8CF4, U+8D1B, U+8DC2, U+8E06, U+8E07, U+8E10, U+8E3C, U+8E8D, U+8ECA, U+8ED2, U+8EE8, U+8EF2, U+8F09, U+8F12, U+8F29, U+8F45, U+8FAF, U+9023, U+9032, U+9039, U+904A, U+904B, U+904E, U+9078, U+907A, U+9084, U+908A, U+90BD, U+9109, U+9127, U+919C, U+91C0, U+91CB, U+91D0, U+91D8, U+920E, U+9210, U+9245, U+9264, U+9280, U+9285, U+929A, U+929C, U+92B7, U+92ED, U+92F8, U+9304, U+931E, U+9322, U+932B, U+932F, U+9332, U+937E, U+93A9, U+9414, U+9418, U+9419, U+9421, U+9435, U+943B, U+947F, U+9577, U+9580, U+9589, U+958B, U+9593, U+95A9, U+95AD, U+95BC, U+95D2, U+9618, U+9658, U+9670, U+9673, U+9678, U+967C, U+967D, U+9684, U+969B, U+96A8, U+96CB, U+96D8, U+96D9, U+96DA, U+96DC, U+96DE, U+96E2, U+96E3, U+96F2, U+9748, U+9788, U+97AE, U+97CB, U+97D3, U+9806, U+9808, U+980A, U+9818, U+9821, U+982D, U+9830, U+9834, U+9835, U+9838, U+984C, U+9853, U+985B, U+985E, U+9867, U+9895, U+98A8, U+98C4, U+98DB, U+98E2, U+98F2, U+98F4, U+990A, U+9918, U+9952, U+9957, U+99AC, U+99D5, U+99DA, U+99DD, U+99EE, U+99F1, U+99FC, U+9A05, U+9A0A, U+9A29, U+9A36, U+9A55, U+9A5A, U+9A69, U+9AD4, U+9AEE, U+9B31, U+9B35, U+9B3F, U+9B5A, U+9B6E, U+9B7C, U+9B84, U+9B86, U+9B92, U+9BA8, U+9BAA, U+9BAB, U+9BAD, U+9BAE, U+9BAF, U+9BC0, U+9BC8, U+9BC9, U+9BE2, U+9BE5, U+9BE9, U+9BFF, U+9C15, U+9C20, U+9C27, U+9C29, U+9C3C, U+9C43, U+9C44, U+9C45, U+9C4F, U+9C54, U+9C56, U+9C57, U+9C63, U+9C64, U+9C6C, U+9C6F, U+9C80, U+9CDB, U+9CE0, U+9CE1, U+9CE3, U+9CE5, U+9CE7, U+9CE9, U+9CF2, U+9CF3, U+9CF4, U+9D06, U+9D0D, U+9D10, U+9D12, U+9D1B, U+9D1E, U+9D1F, U+9D22, U+9D23, U+9D26, U+9D27, U+9D33, U+9D38, U+9D3B, U+9D41, U+9D52, U+9D55, U+9D60, U+9D61, U+9D70, U+9D72, U+9D77, U+9D78, U+9D7A, U+9D89, U+9D8B, U+9D8C, U+9D98, U+9D9A, U+9DA1, U+9DB4, U+9DB5, U+9DB9, U+9DC4, U+9DD4, U+9DD7, U+9DE9, U+9DEE, U+9DF9, U+9E00, U+9E07, U+9E13, U+9E1A, U+9E1C, U+9E1E, U+9E24, U+9E2E, U+9E30, U+9E53, U+9E56, U+9E60, U+9E6F, U+9E7D, U+9E96, U+9E97, U+9EA2, U+9EC3, U+9EFD, U+9F08, U+9F09, U+9F23, U+9F4A, U+9F4B, U+9F52, U+9F8D, U+9F94, U+9F9C, U+21589, U+21E64, U+21EAF, U+224E8, U+22606, U+23206, U+233CC, U+235BE, U+235E5, U+23C98, U+23CB5, U+244F0, U+2461D, U+246CE, U+24723, U+2477B, U+2479E, U+247C7, U+247D1, U+247E4, U+24822, U+248BA, U+248CE, U+248E5, U+253F0, U+25B90, U+2604E, U+26359, U+2688A, U+26B38, U+26C4C, U+26D67, U+27138, U+27464, U+27525, U+27566, U+27C82, U+27D06, U+28730, U+28CA0, U+291EF, U+291F5, U+298A2, U+298E1, U+29CC1, U+29D40, U+29DAF, U+29FE7, U+2A050, U+2A07A, U+2A086, U+2A0A7, U+2A0CD, U+2A0D1, U+2A100, U+2A136, U+2A1BB, U+2A1F1, U+2A218, U+2A2A8, U+2B1ED, U+2B5B3, U+2B626, U+2B696, U+2BB83, U+2CB5A, U+2CCFF, U+2DB80;
}
:root {
  color-scheme: light;
  --paper: #f8f6ee;
  --panel: #fdfbf4;
  --ink: #242c27;
  --dim: #5c6459;
  --hair: #d9d5c5;
  --red: #973e2b;
  --teal: #24564f;
  --serif:
    "Shanhai Glyphs", "Songti SC", "STSong", "Source Han Serif SC",
    "Noto Serif CJK SC", "Noto Serif SC", "SimSun", serif;
  --sans:
    "Shanhai Glyphs", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    system-ui, sans-serif;
  --width: 1530px;
}
* {
  box-sizing: border-box;
}
html {
  height: 100%;
  overflow: clip;
}
body {
  margin: 0;
  height: 100%;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: clip;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
a {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
button {
  background: none;
  border: 0;
}
button,
a,
input {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #a95d36;
  outline-offset: 3px;
}
button:hover:not(:disabled),
a:hover {
  color: var(--red);
}
h1,
h2,
h3,
h4,
p,
blockquote,
figure {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 700;
}
b,
strong {
  font-weight: 650;
}
.skip {
  position: fixed;
  top: -6rem;
  left: 1rem;
  background: var(--paper);
  padding: 0.4rem;
  z-index: 10;
}
.skip:focus {
  top: 0;
}
.mast {
  border-bottom: 1px solid var(--hair);
  background: var(--paper);
}
.mast-inner {
  max-width: var(--width);
  margin: auto;
  padding: 0 clamp(20px, 4vw, 70px);
  min-height: clamp(46px, 7.5dvh, 68px);
  display: flex;
  align-items: center;
  gap: clamp(26px, 4.5vw, 88px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  font: 700 26px var(--serif);
  letter-spacing: 0.09em;
  color: #202c26;
}
.seal {
  display: grid;
  place-content: center;
  text-align: center;
  font: 700 12px/0.92 var(--serif);
  letter-spacing: 0;
  color: #fff3d8;
  background: var(--red);
  width: 25px;
  height: 34px;
  border: 2px solid var(--red);
  outline: 1px solid #f1d8ac;
  outline-offset: -3px;
  border-radius: 3px 2px 4px 2px;
}
.primary-nav {
  display: flex;
  align-self: stretch;
  gap: clamp(20px, 2.6vw, 42px);
}
.primary-nav a {
  position: relative;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 15px;
  color: var(--dim);
}
.primary-nav a[aria-current="page"] {
  color: var(--red);
  font-weight: 650;
}
.primary-nav a[aria-current="page"]:after {
  content: "";
  position: absolute;
  bottom: -1px;
  height: 3px;
  background: var(--red);
  inset-inline: 0;
}
.search-trigger {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--dim);
}
.search-trigger kbd {
  padding: 0 7px;
  color: #787d70;
  border: 1px solid var(--hair);
  border-radius: 4px;
  line-height: 1.45;
}
i[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
i[data-icon] svg {
  width: 18px;
  height: 18px;
  display: block;
}
main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  width: 100%;
  max-width: var(--width);
  margin: 0 auto;
  padding: clamp(7px, 1.7dvh, 18px) clamp(16px, 3.4vw, 60px) 0;
}
main > .crumb,
main > .intro {
  flex: none;
}
main:focus {
  outline: none;
}
.crumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--dim);
  margin: 0 0 4px;
}
.crumb .slash {
  opacity: 0.55;
}
.crumb [aria-current] {
  color: var(--red);
}
.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(8px, 1.6dvh, 16px);
}
.intro h1 {
  font-size: clamp(30px, 4.8dvh, 48px);
  letter-spacing: 0.06em;
  line-height: 1.15;
}
.intro p {
  margin-top: 3px;
  color: var(--dim);
  font-size: 15px;
}
.edition {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font: 16px var(--serif);
  color: var(--teal);
  padding-bottom: 5px;
}
.edition:before,
.kicker:before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}
.kicker {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.kicker:before {
  width: 17px;
}
.atlas-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(270px, 24vw, 345px);
  align-items: stretch;
  gap: 18px;
}
.map-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #c5c4b1;
  background: #e9e8d9;
}
.map-window {
  position: relative;
  isolation: isolate;
  flex: 1;
  min-height: 370px;
}
.map-scroll {
  position: absolute;
  inset: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #8a9785 transparent;
  direction: ltr;
}
.map-plane {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 640px;
  min-height: 360px;
  isolation: isolate;
}
.map-paint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  user-select: none;
  pointer-events: none;
}
.route-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.route-lines path {
  fill: none;
  stroke: #f0dcb1;
  stroke-width: 4.4;
  vector-effect: non-scaling-stroke;
  opacity: 0.85;
}
.route-lines path + path {
  stroke: #91553b;
  stroke-width: 1.55;
  stroke-dasharray: 5 5;
  opacity: 0.92;
}
.marker {
  position: absolute;
  padding: 0;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  z-index: 1;
  border-radius: 50%;
}
.marker .point {
  display: block;
  width: 11px;
  height: 11px;
  background: #274e43;
  border: 2px solid #fff3d1;
  box-shadow: 0 1px 3px #243a2b99;
  border-radius: 50%;
}
.marker[aria-pressed="true"],
.marker:hover,
.marker:focus-visible {
  z-index: 2;
}
.marker[aria-pressed="true"] .point {
  width: 16px;
  height: 16px;
  background: var(--red);
  border-color: #fff0cf;
  outline: 1.5px solid var(--red);
}
.marker .pin-name {
  position: absolute;
  top: 24px;
  white-space: nowrap;
  padding: 2px 8px;
  background: #f7efd8f5;
  color: #2b342c;
  border: 1px solid #998e6c;
  border-radius: 2px;
  font: 700 14px/1.4 var(--serif);
  box-shadow: 0 1px 2px #4b4f3821;
}
.marker:nth-child(3n) .pin-name {
  top: auto;
  bottom: 24px;
}
.marker[aria-pressed="true"] .pin-name {
  background: var(--red);
  color: #fff4de;
  border-color: #843323;
}
.map-controls {
  position: absolute;
  right: 13px;
  bottom: 14px;
  display: flex;
  gap: 1px;
  background: var(--hair);
  padding: 1px;
  box-shadow: 0 2px 6px #323b2822;
}
.map-controls button,
.icon-btn {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: var(--panel);
  padding: 0;
}
.map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 8px 14px;
  background: #f4f1e5;
  border-top: 1px solid #cdc9b9;
  color: var(--dim);
  font-size: 13px;
}
.map-caption span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.legend-line {
  width: 20px;
  border-top: 2px dashed #97644a;
  margin-left: 9px;
}
.side-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: clamp(18px, 1.7vw, 29px);
  border: 1px solid var(--hair);
  border-top: 3px solid var(--teal);
  background: var(--panel);
}
.side-panel h2 {
  font-size: clamp(30px, 2.7vw, 46px);
  line-height: 1.14;
  letter-spacing: 0.06em;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 2px;
}
.counter {
  color: var(--dim);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.summary {
  color: #4c564b;
  line-height: 1.75;
}
.mini-heading {
  font-size: 14px;
  font-weight: 650;
  margin: 0 0 7px;
  color: var(--dim);
}
.small-animal {
  display: grid;
  grid-template-columns: 77px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 1px solid var(--hair);
  text-align: left;
  padding: 0 10px 0 0;
  background: #f5f1e4;
  margin-top: 5px;
}
.small-animal img {
  width: 77px;
  height: 62px;
  object-fit: cover;
}
.small-animal strong {
  font: 700 21px var(--serif);
}
.small-animal .open-sign {
  color: var(--red);
  font-size: 19px;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag-link,
.tag-muted {
  border: 1px solid #cecdbb;
  background: #f7f6ec;
  padding: 2px 9px;
  font-size: 14px;
  line-height: 1.55;
  border-radius: 2px;
}
.tag-link:hover {
  border-color: #9b7b61;
}
.panel-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--hair);
}
.text-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  padding: 0;
  text-align: left;
}
.text-action i svg {
  width: 16px;
}
.itinerary {
  margin-top: 23px;
  padding: 18px 0 7px;
  border-top: 1px solid var(--hair);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}
.section-heading h2 {
  font-size: 23px;
  letter-spacing: 0.05em;
}
.section-heading small,
.quiet {
  color: var(--dim);
  font-size: 13px;
}
.route-list {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  border: 1px solid var(--hair);
  background: var(--panel);
  overflow-x: auto;
}
.route-stop {
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  text-align: center;
  white-space: nowrap;
  position: relative;
  border-right: 1px solid var(--hair);
  font: 700 17px var(--serif);
}
.route-stop:last-child {
  border-right: 0;
}
.route-stop small {
  font: 12px/1.6 var(--sans);
  color: var(--dim);
}
.route-stop.current {
  background: #e7ede0;
  color: var(--teal);
  box-shadow: inset 0 -3px var(--teal);
}
.colophon {
  width: 100%;
  max-width: var(--width);
  margin: 0 auto;
  padding: 5px clamp(16px, 3.4vw, 60px) max(5px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--dim);
  font-size: 13px;
}
.footer-brand {
  color: var(--teal);
  font: 700 16px var(--serif);
  letter-spacing: 0.06em;
}
.colophon a {
  margin-left: auto;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tabbar {
  display: flex;
  gap: 8px;
  margin: 0 0 20px;
  flex-wrap: wrap;
}
.chip {
  border: 1px solid var(--hair);
  background: var(--panel);
  padding: 6px 15px;
  font-size: 15px;
  border-radius: 2px;
}
.chip.active {
  color: var(--paper);
  background: var(--teal);
  border-color: var(--teal);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr));
  gap: 18px;
}
.animal-card,
.product-card {
  border: 1px solid var(--hair);
  background: var(--panel);
  text-align: left;
  display: block;
  padding: 0;
}
.animal-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.38;
  object-fit: cover;
  background: #eee7d8;
}
.card-txt {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--hair);
  padding: 10px 14px;
}
.card-txt strong,
.product-card h2 {
  font: 700 23px var(--serif);
}
.card-txt small,
.product-card small {
  color: var(--dim);
  font-size: 14px;
}
.product-card {
  padding: 15px;
}
.product-card p {
  font-size: 14px;
  color: var(--dim);
  margin-top: 5px;
}
.read-layout,
.detail-layout {
  display: grid;
  grid-template-columns: minmax(180px, 24%) minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 3.5vw, 55px);
}
.reader-nav {
  border-top: 2px solid var(--teal);
  padding: 14px 0;
  position: sticky;
  top: 20px;
}
.reader-nav h2 {
  font-size: 21px;
  margin: 0 0 13px;
}
.reader-nav a {
  display: block;
  border-bottom: 1px solid var(--hair);
  padding: 7px 10px;
  font-size: 15px;
}
.reader-nav a.current {
  background: #e6ebe0;
  color: var(--teal);
  font-weight: 600;
}
.reader-text,
.source-page,
.detail-card,
.region-desc {
  padding: clamp(20px, 3.3vw, 49px);
  border: 1px solid var(--hair);
  background: var(--panel);
}
.reader-text {
  max-width: 920px;
}
.reader-text article + article {
  border-top: 1px solid var(--hair);
  margin-top: 30px;
  padding-top: 23px;
}
.reader-text h2 {
  font-size: 25px;
  margin-bottom: 11px;
}
.reader-text p.classic,
blockquote,
.classic {
  font-family: var(--serif);
  font-size: clamp(19px, 1.55vw, 25px);
  line-height: 2.05;
}
.reader-text a.anchor {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #82998b;
  text-decoration-thickness: 1px;
}
.reader-text a.anchor:hover {
  background: #e4ebd9;
  color: #164e46;
}
.reader-text mark {
  background: #f4deb1;
  color: inherit;
  border-bottom: 2px solid #b57242;
  padding-block: 2px;
}
.reader-text article {
  scroll-margin-top: 22px;
}
.reader-text .subnote {
  margin-top: 12px;
  color: var(--dim);
  font-size: 15px;
}
.source-link {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.detail-layout {
  grid-template-columns: minmax(275px, 0.94fr) minmax(0, 1.06fr);
  gap: 18px;
}
.detail-art {
  margin: 0;
  border: 1px solid var(--hair);
  background: #eee8d7;
  align-self: start;
}
.detail-art img {
  display: block;
  width: 100%;
  height: auto;
}
.detail-art figcaption {
  padding: 7px 14px;
  color: var(--dim);
  background: var(--panel);
  border-top: 1px solid var(--hair);
  font-size: 13px;
}
.detail-card h2,
.source-page h2,
.region-desc h2 {
  font-size: 24px;
  margin: 0 0 8px;
}
.detail-card h3 {
  font-size: 19px;
  margin: 0 0 4px;
}
.detail-card section + section,
.source-page section + section {
  border-top: 1px solid var(--hair);
  margin-top: 20px;
  padding-top: 16px;
}
.detail-card p + p,
.region-desc p + p,
.source-page p + p {
  margin-top: 8px;
}
.detail-card blockquote,
.quote {
  font: 18px/1.85 var(--serif);
  color: #35463b;
  border-left: 3px solid var(--teal);
  padding-left: 14px;
  margin: 9px 0;
}
.detail-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
}
.source-page {
  max-width: 890px;
}
.region-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
  gap: 18px;
}
.region-image {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
.region-desc .kicker {
  margin-bottom: 12px;
}
.region-desc .detail-actions {
  margin-top: 22px;
}
.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--teal);
  color: #fff9ed;
  font-size: 15px;
}
.primary-action:hover {
  color: white;
  background: #366c61;
}
.source-page ul {
  padding-left: 1.3em;
}
.source-page li + li {
  margin-top: 5px;
}
.search-dialog {
  width: min(520px, calc(100% - 30px));
  max-height: 78vh;
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--hair);
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 25px 90px #17242050;
}
.search-dialog::backdrop {
  background: #20282061;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.dialog-head h2 {
  font-size: 26px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #9aa698;
  background: white;
  padding: 7px 10px;
}
.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  min-height: 36px;
}
.results {
  margin-top: 14px;
}
.result {
  display: flex;
  padding: 8px 4px;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--hair);
}
.result span {
  color: var(--dim);
  font-size: 14px;
}
.search-dialog .quiet {
  padding: 7px 3px;
}
@media (min-width: 1200px) {
  .map-window {
    min-height: clamp(440px, 34vw, 560px);
  }
}
@media (max-width: 940px) {
  .atlas-grid {
    grid-template-columns: minmax(0, 1fr) 254px;
    gap: 12px;
  }
  .mast-inner {
    gap: 22px;
  }
  .route-list {
    grid-template-columns: repeat(9, minmax(80px, 1fr));
  }
  .map-plane {
    min-width: 525px;
  }
  .marker .pin-name {
    font-size: 13px;
    padding: 1px 4px;
  }
  .side-panel {
    padding: 17px;
  }
  .atlas-grid:has(.side-panel) .map-caption {
    flex-wrap: wrap;
  }
  .map-window {
    min-height: 380px;
  }
}
@media (max-width: 730px) {
  .mast-inner {
    padding: 11px 16px 0;
    min-height: 65px;
    gap: 0;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 23px;
    order: 0;
  }
  .seal {
    width: 22px;
    height: 29px;
    font-size: 11px;
  }
  .search-trigger {
    order: 1;
  }
  .primary-nav {
    order: 2;
    flex-basis: 100%;
    justify-content: space-around;
    gap: 18px;
  }
  .primary-nav a {
    padding: 9px 3px 7px;
    font-size: 14px;
  }
  .search-trigger kbd {
    display: none;
  }
  main {
    padding: 17px 14px 0;
  }
  .intro {
    margin-bottom: 15px;
    align-items: center;
  }
  .intro h1 {
    font-size: 37px;
  }
  .intro p {
    font-size: 14px;
  }
  .edition {
    display: none;
  }
  .atlas-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .map-window {
    min-height: 315px;
  }
  .map-plane {
    min-width: 560px;
  }
  .side-panel {
    gap: 10px;
  }
  .side-panel h2 {
    font-size: 30px;
  }
  .side-panel .small-animal {
    max-width: 300px;
  }
  .map-caption {
    padding: 6px 9px;
  }
  .map-caption .legend-line {
    margin-left: 3px;
  }
  .map-caption {
    font-size: 12px;
  }
  .itinerary {
    margin-top: 18px;
  }
  .route-list {
    grid-template-columns: repeat(9, 83px);
  }
  .colophon {
    padding: 18px 14px;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
  }
  .colophon a {
    margin-left: auto;
  }
  .read-layout,
  .detail-layout,
  .region-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .reader-nav {
    position: static;
    border: 0;
    padding: 0;
    display: flex;
    gap: 5px;
    overflow: auto;
  }
  .reader-nav h2 {
    display: none;
  }
  .reader-nav a {
    white-space: nowrap;
    border: 1px solid var(--hair);
  }
  .reader-text,
  .detail-card,
  .source-page,
  .region-desc {
    padding: 18px;
  }
  .detail-art {
    max-width: 430px;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .card-txt {
    padding: 8px;
    flex-wrap: wrap;
    gap: 2px 6px;
  }
  .card-txt strong {
    font-size: 20px;
  }
  .card-txt small {
    font-size: 12px;
  }
  .region-image {
    min-height: 0;
    max-height: 310px;
  }
  .crumb {
    font-size: 12px;
  }
  .section-heading {
    align-items: baseline;
  }
  .route-stop {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  a,
  button {
    transition:
      color 0.15s,
      background-color 0.15s;
  }
  .animal-card:hover img {
    filter: contrast(1.045);
  }
}
.fox-medallion {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px 3px 3px;
  border: 1px solid #bba77d;
  border-radius: 25px;
  background: #f9efd8ed;
  color: #654735;
  font: 700 13px var(--serif);
  box-shadow: 0 2px 5px #414b3630;
}
.fox-medallion img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 50%;
}
.water-note {
  font-size: 14px;
  color: var(--dim);
}
.region-notes {
  margin-top: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--hair);
}
.region-notes h2 {
  font-size: 24px;
}
.region-notes p {
  margin: 6px 0 11px;
}
.detail-card .kicker + h2 {
  margin-top: 6px;
}
.onward {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--red);
  font-size: 14px;
  font-weight: 650;
}
.side-panel .panel-foot {
  justify-content: space-between;
}
@media (min-width: 731px) {
  .map-card {
    align-self: start;
  }
  .map-window {
    height: clamp(400px, 34vw, 555px);
    flex: auto;
  }
  .atlas-grid .side-panel {
    max-height: calc(clamp(400px, 34vw, 555px) + 44px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #b0b4a2 transparent;
  }
}
@media (max-width: 730px) {
  .map-window {
    min-height: 320px;
  }
}
.map-scroll {
  cursor: grab;
}
.map-scroll.dragging {
  cursor: grabbing;
}

.search-dialog {
  max-height: var(--search-room, min(620px, 95dvh));
  overflow: clip;
  padding: 18px;
}
.search-dialog[open] {
  display: flex;
  flex-direction: column;
}
.search-dialog .dialog-head,
.search-field,
.search-pages {
  flex: none;
}
.search-dialog .results {
  min-height: 0;
}
.search-dialog .result {
  line-height: 1.4;
}
.search-pages {
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--hair);
  padding-top: 6px;
  color: var(--dim);
  font-size: 14px;
}
.search-pages:not([hidden]) {
  display: flex;
}
.search-pages button {
  padding: 4px 9px;
  color: var(--teal);
}
@media (max-width: 730px) {
  .mast-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 49px;
    padding: 0 12px;
    gap: 12px;
  }
  .brand,
  .primary-nav,
  .search-trigger {
    order: initial;
  }
  .brand {
    font-size: 19px;
    gap: 5px;
  }
  .brand .seal {
    width: 19px;
    height: 26px;
    font-size: 10px;
  }
  .primary-nav {
    justify-content: space-evenly;
    gap: 4px;
  }
  .primary-nav a {
    padding: 0 1px;
    font-size: 13px;
  }
  .search-trigger {
    padding: 8px 0 8px 5px;
  }
  .search-trigger span {
    display: none;
  }
  main {
    padding: 7px 12px 0;
  }
  .intro {
    margin-bottom: 8px;
  }
  .intro h1 {
    font-size: 30px;
  }
  .intro p {
    line-height: 1.45;
  }
  .colophon {
    padding: 3px 12px max(3px, env(safe-area-inset-bottom));
    margin: 0 auto;
    font-size: 12px;
  }
  .footer-brand {
    display: none;
  }
}
@media (max-width: 350px) {
  .mast-inner {
    padding-inline: 8px;
    gap: 5px;
  }
  .brand .seal {
    display: none;
  }
  .brand {
    font-size: 18px;
  }
}
@media (max-height: 580px) {
  .mast-inner {
    min-height: 40px;
  }
  main {
    padding-top: 4px;
  }
  .intro {
    margin-bottom: 5px;
  }
  .intro h1 {
    font-size: 25px;
  }
  .crumb {
    margin-bottom: 1px;
    line-height: 1.3;
  }
  .colophon {
    font-size: 12px;
    padding-block: 2px;
  }
  .search-dialog {
    padding: 10px 14px;
  }
  .search-dialog .dialog-head {
    margin-bottom: 4px;
  }
  .search-dialog h2 {
    font-size: 20px;
  }
  .search-dialog .results {
    margin-top: 4px;
  }
}
@media (min-width: 731px) and (max-height: 640px) {
  .intro > div {
    display: flex;
    align-items: baseline;
    gap: 14px;
  }
  .intro p {
    margin: 0;
  }
}
