@charset "UTF-8";
:root {
  --ink: #142f32;
  --muted: #4f6869;
  --teal: #17615b;
  --paper: #f6f5ef;
  --line: #ced6cd;
  --coral: #ec8358;
  --dark: #0c3339;
  --sans:
    "Inter", "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC",
    "Microsoft YaHei", sans-serif;
  --display: Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  background: var(--paper);
  line-height: 1.55;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
  outline: 0;
}
.shell {
  max-width: 1232px;
  width: calc(100% - 88px);
  margin: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid #c96634;
  outline-offset: 3px;
}
button svg,
a svg,
summary svg {
  flex: none;
}
button {
  border: 0;
  background: none;
}
p,
h1,
h2,
h3,
figure,
ol,
ul {
  margin: 0;
}
img {
  max-width: 100%;
  display: block;
}
[hidden] {
  display: none !important;
}
.skip,
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  width: auto;
  height: auto;
  clip-path: none;
  z-index: 30;
  background: white;
  padding: 8px;
}
.loading {
  padding: 68px 0;
  min-height: 55vh;
}
.mast {
  background: #fbfbf6;
  border-bottom: 1px solid #d9dfd5;
}
.mast-inner {
  min-height: 75px;
  display: flex;
  align-items: center;
  gap: 42px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #143c3e;
}
.brand img {
  width: 42px;
  height: 42px;
}
.brand span {
  font:
    800 22px/0.92 Georgia,
    serif;
  letter-spacing: 0.07em;
}
.brand small {
  display: block;
  margin-top: 6px;
  font: 700 10px/1.1 var(--sans);
  letter-spacing: 0.32em;
}
.mast nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 30px;
  margin-left: auto;
}
.mast nav a {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 650;
}
.mast nav a[aria-current="page"]:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
}
.spoiler-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  padding: 0 0 0 18px;
}
.switch-track {
  display: block;
  width: 31px;
  height: 18px;
  padding: 3px;
  background: #8b9993;
  border-radius: 12px;
}
.switch-track span {
  display: block;
  background: #fff;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: transform 0.15s;
}
.spoiler-switch[aria-pressed="true"] .switch-track {
  background: #197268;
}
.spoiler-switch[aria-pressed="true"] .switch-track span {
  transform: translateX(13px);
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #16484c;
  color: white;
}
.cover-image,
.cover-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.cover-image {
  background-size: cover;
  background-position: 50% 52%;
}
.cover-wash {
  background:
    linear-gradient(
      90deg,
      rgba(4, 38, 41, 0.96),
      rgba(5, 44, 44, 0.81) 28%,
      rgba(11, 48, 47, 0.34) 58%,
      rgba(5, 31, 34, 0.03) 83%
    ),
    linear-gradient(0deg, rgba(7, 32, 31, 0.4), transparent 28%);
}
.hero-inner {
  padding: 46px 0 48px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--teal);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.17em;
  line-height: 1.5;
  font-weight: 750;
}
.eyebrow.light {
  color: #bfe1d4;
}
.short-line {
  display: inline-block;
  height: 2px;
  width: 25px;
  background: var(--coral);
}
.hero h1 {
  margin: 12px 0 5px;
  font-size: clamp(35px, 4.3vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.14;
}
.hero h1 span {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.045em;
}
.hero-intro {
  font-size: 17px;
  color: #edf1e7;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 545px);
  border-radius: 7px;
  background: #fffff9;
  color: var(--ink);
  padding: 6px 7px 6px 18px;
  margin-top: 25px;
  box-shadow: 0 5px 18px #01262926;
}
.search-box:focus-within {
  outline: 2px solid #ffc09f;
  outline-offset: 3px;
}
.search-box input {
  border: 0;
  box-shadow: none;
  outline: 0;
  background: none;
  min-width: 0;
  flex: 1;
  color: var(--ink);
  font-size: 16px;
  min-height: 39px;
}
.search-box input:focus-visible {
  outline: 0;
}
.search-box input::placeholder {
  color: #627575;
}
.search-box input::-webkit-search-cancel-button {
  display: none;
}
.submit,
.solid {
  background: var(--teal);
  color: white;
  font-weight: 650;
  border-radius: 4px;
  padding: 9px 21px;
}
.submit:hover,
.solid:hover {
  background: #10524f;
}
#clear-q {
  padding: 5px;
  display: flex;
}
.cover-control {
  position: absolute;
  right: max(32px, calc((100% - 1232px) / 2));
  bottom: 15px;
  display: flex;
  gap: 9px;
  align-items: center;
  color: #fff;
  font-size: 12px;
  text-shadow: 0 1px 4px #123;
}
.cover-control > span {
  background: #10353b99;
  padding: 1px 6px;
  border-radius: 3px;
}
.cover-control button {
  border: 1px solid #d7e7e1a6;
  background: #10353bb0;
  border-radius: 18px;
  color: white;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
}
.cover-control b {
  font-size: 12px;
  letter-spacing: 0.06em;
}
.work-area {
  padding-top: 39px;
  padding-bottom: 62px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(245px, 28%);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.section-title h2,
.route-note h2,
.connections h2 {
  font-size: 29px;
  letter-spacing: -0.035em;
  line-height: 1.4;
}
.section-title h2 {
  margin-top: 5px;
}
#result-count {
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 4px;
}
.filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
  margin: 16px 0 19px;
}
.filters button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 37px;
  padding: 5px 13px;
  background: #fffefa;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}
.filters button:hover {
  border-color: var(--teal);
}
.filters button[aria-pressed="true"] {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}
#cards {
  display: grid;
  gap: 12px;
}
.entry-card {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fffffb;
  border-radius: 9px;
  min-height: 130px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.entry-card:hover {
  border-color: #84a79c;
  box-shadow: 0 3px 12px #122f3210;
}
.card-img {
  width: clamp(130px, 19vw, 218px);
  flex: none;
  background: #eceee2;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
}
.card-img img {
  width: 100%;
  height: 100%;
  max-height: 180px;
  object-fit: contain;
}
.card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: 14px 6px 14px 18px;
}
.type-line {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
}
.type-line i {
  height: 3px;
  width: 3px;
  border-radius: 50%;
  background: #c48457;
}
.card-copy strong {
  margin: 4px 0 0;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 750;
}
.eng {
  color: var(--muted);
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
}
.brief {
  font-size: 14px;
  color: #465e5e;
  line-height: 1.55;
  margin-top: 5px;
}
.reward {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #805338;
  background: #fbf1df;
  border-radius: 3px;
  padding: 1px 6px;
  font-size: 12px;
  margin: 7px 0 0;
}
.card-open {
  flex: none;
  display: grid;
  place-content: center;
  color: var(--teal);
  margin-left: auto;
  padding: 0 12px;
}
.rail {
  margin-top: 4px;
}
.route-note {
  padding: 24px;
  border-radius: 9px;
  border: 1px solid #b9c9b9;
  background: #e9eee1;
  position: relative;
  overflow: hidden;
}
.route-note:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: repeating-linear-gradient(
    100deg,
    #174d4b 0 16px,
    #dbe6cf 16px 20px,
    #db8b63 20px 36px,
    #dbe6cf 36px 40px
  );
}
.route-note h2 {
  font-size: 24px;
  margin: 8px 0;
}
.route-note > p:not(.eyebrow) {
  font-size: 15px;
  color: #46605b;
}
.steps {
  list-style: none;
  padding: 8px 0;
  margin: 4px 0 10px;
}
.steps li {
  position: relative;
}
.steps li + li:before {
  content: "";
  position: absolute;
  height: 24px;
  left: 16px;
  bottom: calc(50% + 13px);
  border-left: 1px dashed #7e9990;
}
.steps a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}
.steps small,
.steps b {
  display: block;
}
.steps small {
  font-size: 12px;
  color: var(--muted);
}
.steps b {
  font-size: 15px;
}
.steps a > svg {
  margin-left: auto;
  color: var(--teal);
}
.step-no {
  display: grid;
  place-content: center;
  background: #f5f6eb;
  color: #1a615a;
  border: 1px solid #a4baab;
  border-radius: 50%;
  width: 33px;
  height: 33px;
  flex: none;
  font: italic bold 16px var(--display);
}
.rail-link {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #c5d2c1;
  padding-top: 15px;
  color: #154f4a;
  font-size: 15px;
  font-weight: 700;
}
.rail-link > svg:last-child {
  margin-left: auto;
}
.edition {
  display: grid;
  gap: 4px;
  margin: 20px 0 0;
  padding: 0 2px;
}
.edition b {
  font-size: 14px;
}
.edition span,
.edition small {
  font-size: 13px;
  color: var(--muted);
}
.empty {
  border: 1px dashed var(--line);
  padding: 32px 20px;
  text-align: center;
  border-radius: 8px;
}
.empty svg {
  color: var(--teal);
}
.empty p {
  margin: 7px 0 14px;
  color: var(--muted);
}
.actionbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #f5f6eef5;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.actions {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.actions button,
.actions a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  min-height: 38px;
  padding: 4px;
}
.actions a {
  color: var(--muted);
  font-weight: 500;
}
.actions #share {
  margin-left: auto;
  color: var(--teal);
}
.actions input {
  max-width: 50%;
}
.detail,
.flow-page {
  padding-top: 34px;
  padding-bottom: 56px;
}
.detail h1,
.flow-page h1,
.loading h1 {
  font-size: clamp(30px, 4vw, 51px);
  line-height: 1.2;
  letter-spacing: -0.045em;
  margin: 8px 0;
}
.subtitle {
  font: italic 24px var(--display);
  color: var(--teal);
}
.lead {
  color: #486560;
  font-size: 17px;
  max-width: 790px;
  margin-top: 14px;
  line-height: 1.65;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(265px, 1fr);
  gap: 44px;
  align-items: start;
  margin-top: 23px;
}
.detail-body,
.detail-side {
  min-width: 0;
}
.answer {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.answer h3 {
  font-size: 19px;
  margin: 0 0 6px;
}
.answer p,
.reveal p {
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.reveal {
  background: #edf1e7;
  border: 1px solid #c7d4c5;
  border-radius: 6px;
  margin: 9px 0;
}
.reveal summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  color: #245c53;
  font-size: 15px;
  font-weight: 650;
  list-style: none;
}
.reveal summary:after {
  content: "＋";
  margin-left: auto;
}
.reveal[open] summary:after {
  content: "−";
}
.reveal summary::-webkit-details-marker {
  display: none;
}
.reveal p {
  padding: 0 14px 13px;
}
.detail-side figure {
  background: #fffef8;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.detail-side figure img {
  width: 100%;
  object-fit: contain;
}
.detail-side figcaption {
  font-size: 13px;
  padding: 9px 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.connections {
  margin-top: 19px;
}
.connections h2,
.sources h2 {
  font-size: 19px;
  margin-bottom: 8px;
}
.related-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 7px;
  border-bottom: 1px solid var(--line);
}
.related-link > svg {
  color: var(--teal);
}
.related-link span {
  display: grid;
}
.related-link small {
  color: var(--muted);
  font-size: 12px;
}
.related-link b {
  font-size: 15px;
}
.related-link > svg:last-child {
  margin-left: auto;
}
.compact {
  margin: 8px 0;
}
.compact .related-link {
  border: 0;
  padding: 4px 14px 13px;
}
.sources {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.sources ul {
  padding-left: 18px;
}
.sources li {
  margin: 6px 0;
}
.sources a,
.text-link {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 15px;
}
.deadline {
  margin: 21px 0 24px;
  background: #faecd7;
  border-left: 4px solid var(--coral);
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: #6d4936;
}
.deadline b {
  white-space: nowrap;
}
.flow-list {
  max-width: 820px;
}
.flow-card {
  position: relative;
  display: flex;
  gap: 20px;
  padding: 21px 0;
  border-top: 1px solid var(--line);
}
.flow-no {
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: grid;
  place-content: center;
  background: #e3eddd;
  flex: none;
  color: var(--teal);
  border: 1px solid #a5bbad;
  font: italic 22px var(--display);
}
.flow-card + .flow-card:before {
  content: "";
  position: absolute;
  left: 22px;
  bottom: calc(100% - 20px);
  height: calc(100% - 43px);
  border-left: 1px dashed #8da79c;
}
.flow-card h2 {
  font-size: 23px;
}
.flow-card p:not(.type-line, .eng) {
  margin: 8px 0;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}
footer {
  border-top: 1px solid var(--line);
  background: #eff0e7;
}
.foot {
  min-height: 80px;
  padding: 17px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}
.foot b {
  font: 700 14px var(--display);
  letter-spacing: 0.05em;
  color: var(--ink);
}
.foot a {
  margin-left: auto;
}
.toast {
  position: fixed;
  z-index: 12;
  left: 50%;
  bottom: 23px;
  transform: translateX(-50%);
  pointer-events: none;
  border-radius: 7px;
  background: #173f40;
  color: white;
  padding: 9px 14px;
  max-width: 95vw;
  width: max-content;
  opacity: 0;
  font-size: 14px;
}
.toast.show {
  opacity: 1;
}
@media (max-width: 880px) {
  .shell {
    width: calc(100% - 48px);
  }
  .work-area {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 20px;
  }
  .route-note {
    padding: 19px;
  }
  .card-img {
    width: 125px;
  }
  .card-open {
    padding: 0 8px;
  }
  .card-copy {
    padding-left: 12px;
  }
  .detail-grid {
    gap: 25px;
    grid-template-columns: minmax(0, 1.3fr) minmax(230px, 1fr);
  }
}
@media (max-width: 700px) {
  .shell {
    width: calc(100% - 32px);
  }
  .mast-inner {
    min-height: 59px;
    gap: 15px;
  }
  .brand {
    gap: 6px;
  }
  .brand img {
    width: 31px;
    height: 31px;
  }
  .brand span {
    font-size: 15px;
  }
  .brand small {
    font-size: 8px;
    margin-top: 4px;
    letter-spacing: 0.23em;
  }
  .mast nav {
    gap: 15px;
  }
  .mast nav a {
    font-size: 14px;
  }
  .spoiler-switch {
    padding: 0;
    gap: 5px;
    font-size: 13px;
  }
  .switch-track {
    width: 27px;
    height: 16px;
    padding: 2px;
  }
  .spoiler-switch[aria-pressed="true"] .switch-track span {
    transform: translateX(11px);
  }
  .hero-inner {
    padding: 28px 0 40px;
  }
  .cover-wash {
    background:
      linear-gradient(90deg, #072e32e8, #0c343cad 56%, #123a3a3b),
      linear-gradient(0deg, #143d3d66, transparent);
  }
  .hero h1 {
    margin: 9px 0 5px;
    font-size: 38px;
  }
  .hero-intro {
    font-size: 15px;
  }
  .search-box {
    margin-top: 18px;
    padding: 5px 6px 5px 12px;
    gap: 7px;
  }
  .search-box input {
    min-height: 36px;
  }
  .submit {
    padding: 8px 13px;
    font-size: 14px;
    min-height: 36px;
  }
  .cover-control {
    bottom: 5px;
    right: 15px;
    gap: 5px;
  }
  .cover-control button {
    padding: 3px 8px;
  }
  .work-area {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 22px 0 32px;
  }
  .catalog,
  .rail {
    width: 100%;
  }
  .rail {
    margin: 0;
  }
  .section-title h2 {
    font-size: 25px;
    margin-top: 3px;
  }
  .filters {
    gap: 5px;
    margin: 10px 0 13px;
  }
  .filters button {
    padding: 5px 10px;
    font-size: 13px;
    min-height: 35px;
  }
  .filters button svg {
    width: 14px;
  }
  .card-img {
    width: 30%;
    max-width: 156px;
  }
  .entry-card {
    min-height: 118px;
  }
  .card-copy {
    padding: 10px 3px 10px 11px;
  }
  .card-copy strong {
    font-size: 18px;
  }
  .eng {
    font-size: 14px;
  }
  .brief {
    font-size: 13px;
  }
  .card-open {
    padding: 0 6px;
  }
  .card-open svg {
    width: 13px;
  }
  .card-img img {
    max-height: 160px;
  }
  .route-note {
    padding: 19px;
  }
  .edition {
    margin-top: 14px;
  }
  .foot {
    gap: 6px 12px;
    min-height: 70px;
  }
  .foot a {
    margin-left: 0;
  }
  .detail,
  .flow-page {
    padding: 23px 0 34px;
  }
  .detail-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 17px;
  }
  .detail-body,
  .detail-side {
    width: 100%;
  }
  .answer {
    padding: 14px 0;
  }
  .subtitle {
    font-size: 20px;
  }
  .lead {
    font-size: 16px;
    margin-top: 9px;
  }
  .detail-side figure {
    max-width: 620px;
  }
  .deadline {
    align-items: flex-start;
  }
  .flow-card {
    gap: 12px;
  }
  .actions {
    height: 45px;
  }
  .eyebrow {
    font-size: 12px;
  }
  .card-copy .type-line {
    font-size: 11px;
  }
}
@media (max-width: 370px) {
  .shell {
    width: calc(100% - 24px);
  }
  .mast-inner {
    gap: 10px;
  }
  .mast nav {
    gap: 10px;
  }
  .mast nav a {
    font-size: 13px;
  }
  .brand span {
    font-size: 14px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .spoiler-switch {
    font-size: 12px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .filters {
    gap: 4px;
  }
  .filters button {
    padding: 4px 8px;
  }
  .card-open {
    display: none;
  }
  .card-copy {
    padding-right: 8px;
  }
  .brief {
    font-size: 13px;
  }
  .search-box input {
    font-size: 16px;
  }
  .hero-intro {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 700px) {
  .entry-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(80px, 30%) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 12px;
    row-gap: 0;
    padding: 11px 12px;
    align-content: center;
  }
  .card-copy {
    display: contents;
  }
  .card-img {
    grid-column: 1;
    grid-row: 1/4;
    width: 100%;
    max-width: none;
    align-self: center;
    overflow: hidden;
    border: 0;
    border-radius: 4px;
    background: none;
  }
  .card-img img {
    height: auto;
    max-height: none;
  }
  .card-copy .type-line {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }
  .card-copy strong {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
  }
  .card-copy .eng {
    grid-column: 2;
    grid-row: 3;
    align-self: start;
  }
  .card-copy .brief {
    grid-column: 1/-1;
    margin-top: 8px;
    font-size: 14px;
  }
  .card-copy .reward {
    grid-column: 1/-1;
    justify-self: start;
    margin-top: 6px;
  }
  .card-open {
    display: none;
  }
}
.cover-control > a {
  background: #10353bb0;
  border-radius: 3px;
  padding: 1px 6px;
}
.edition details {
  font-size: 13px;
  color: var(--muted);
  max-width: 31em;
}
.edition details p {
  margin: 6px 0;
}
.edition details a {
  font-size: 13px;
}
.jump-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 15px 0 0;
}
.jump-links a,
.jump-links button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e7ede2;
  border: 1px solid #bacaba;
  border-radius: 5px;
  color: #205c54;
  padding: 6px 10px;
  min-height: 34px;
  font-size: 14px;
  font-weight: 600;
}
.connections {
  scroll-margin-top: 60px;
}
.sources summary {
  font-weight: 650;
  font-size: 16px;
}
.sources ul {
  margin-top: 10px;
}
.figure-button {
  display: block;
  width: 100%;
  position: relative;
  padding: 0;
}
.figure-button span {
  position: absolute;
  right: 7px;
  bottom: 6px;
  font-size: 12px;
  background: #173b3ddd;
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
}
.picture-dialog {
  border: 0;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  max-width: min(1100px, 96vw);
  width: 100%;
  background: #f6f5ef;
  color: var(--ink);
  max-height: 94dvh;
}
.picture-dialog::backdrop {
  background: #071e21de;
}
.picture-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
}
.picture-tools strong {
  flex: 1;
}
.picture-tools button {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 38px;
  background: #e3e9de;
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 14px;
}
.picture-stage {
  background: #e1e7dc;
  overflow: auto;
  max-height: 65dvh;
  display: block;
}
.picture-stage img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 65dvh;
  margin: auto;
}
.full-size .picture-stage img {
  max-width: none;
  max-height: none;
  margin: 0;
}
.picture-dialog > p {
  font-size: 13px;
  line-height: 1.5;
  padding: 8px 12px;
}
