.dt-player { display: grid; gap: clamp(16px, 2.6vh, 22px); }
.dt-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: clamp(16px, 2vw, 28px);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 80px -50px rgba(23, 18, 8, .6);
}
.dt-frame video { width: 100%; height: 100%; object-fit: contain; background: var(--ink); display: block; }
.dt-frame video:focus-visible { outline-offset: -3px; }
.dt-ph[hidden] { display: none; }
.dt-ph {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-content: center; gap: 14px;
  text-align: center; padding: 24px;
  background: var(--ink); color: var(--on-dark); font-size: 14px;
}
.dt-ph::before {
  content: ""; width: 34px; height: 34px; margin: 0 auto;
  border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--on-dark) 40%, transparent);
}
.dt-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.dt-bar .btn { margin-left: auto; }
.dt-flag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--gray-2); }
.dt-flag i { width: 7px; height: 7px; border-radius: 999px; background: var(--flag-red); flex-shrink: 0; }
.dt-credit { font-size: 13.5px; line-height: 1.6; color: var(--gray-3); max-width: 72ch; text-wrap: pretty; }
.dt-credit b { color: var(--gray); font-weight: 600; }
.dt-note { font-size: 13.5px; line-height: 1.6; color: var(--gray-2); max-width: 72ch; }
.dt-note b { color: var(--gray); font-weight: 600; }
.dt-claim { padding: 20px 2px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.dt-claim b { color: var(--ink); font-weight: 600; }
.dt-sources { font-size: 13.5px; line-height: 1.6; color: var(--gray-2); max-width: 60ch; }
.dt-links .fact svg { width: 15px; height: 15px; color: var(--gray-3); flex-shrink: 0; }
.dt-links .fact:hover { color: var(--ink); }
.dt-links .fact:hover svg { color: var(--ink); }
.dt-dir { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vh, 44px) clamp(32px, 5vw, 64px); margin-top: clamp(32px, 5vh, 52px); align-items: start; }
.dt-glabel { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-2); margin: 0 0 8px; }
.dt-meta { display: inline-flex; align-items: center; gap: 10px; }

.dt-sticker { display: grid; gap: 14px; justify-items: start; }
.dt-sticker img { width: min(100%, 380px); height: auto; display: block; }

.dt-vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

#main [hidden]:not([hidden="until-found"]) { display: none !important; }

#main [hidden="until-found"] { padding: 0 !important; margin: 0 !important; border: 0 !important; }

html.reveal-off [data-reveal] { opacity: 1 !important; transform: none !important; }

html:not(.js) [data-copy-link] { display: none; }

#main,
#main [id] { scroll-margin-top: var(--ug-nav, 96px); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  html:has(.vbar.is-drag) { scroll-behavior: auto; }
}

.dt-toc ul {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; padding: 0;
  margin: clamp(20px, 3vh, 32px) 0 0;
}

.dt-acc__h {
  margin: 0;
  border-top: 1px solid var(--rule);
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.2;
  color: var(--ink);
}
.dt-acc__h:first-child { border-top: 0; }

.dt-acc__h > span { display: block; padding: 18px 2px; }

.dt-acc__b {
  display: flex; align-items: center; gap: 16px;
  width: 100%; padding: 18px 2px;
  background: none; border: 0; cursor: pointer;
  font: inherit; color: inherit; text-align: left;
  transition: color .22s var(--ease);
}

.dt-acc__b > span:not(.dt-acc__i) { flex: 1 1 auto; }
.dt-acc__b:hover { color: var(--gray); }
.dt-acc__b:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.dt-acc__i {
  position: relative; flex: 0 0 auto;
  width: 14px; height: 14px;
  color: var(--gray-2);
}
.dt-acc__i::before,
.dt-acc__i::after {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 14px; height: 1.5px;
  background: currentColor; border-radius: 2px;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.dt-acc__i::before { transform: translateY(-50%); }
.dt-acc__i::after { transform: translateY(-50%) rotate(90deg); }
.dt-acc__b[aria-expanded="true"] .dt-acc__i::after { opacity: 0; transform: translateY(-50%) rotate(0deg); }

.dt-acc__p { padding: 0 0 clamp(20px, 3vh, 30px); }
.dt-acc__p > * + * { margin-top: clamp(16px, 2.4vh, 24px); }

.dt-acc__all { margin-bottom: clamp(16px, 2.4vh, 24px); }

.dt-more-btn { margin-top: clamp(16px, 2.4vh, 24px); }

details.dt-more,
details.dt-docs {
  border-top: 1px solid var(--rule);
}
details.dt-more > summary,
details.dt-docs > summary {
  padding: 16px 2px 16px 4px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  cursor: pointer;
}
details.dt-more > summary:hover,
details.dt-docs > summary:hover { color: var(--ink); }
details.dt-more > summary:focus-visible,
details.dt-docs > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
details.dt-more[open] > summary,
details.dt-docs[open] > summary { color: var(--ink); }
details.dt-more > summary + *,
details.dt-docs > summary + * { margin-top: 4px; }
details.dt-more > *:last-child,
details.dt-docs > *:last-child { margin-bottom: clamp(16px, 2.4vh, 24px); }

.dt-doc {
  position: relative;
  display: grid; gap: 8px;

  padding: 20px 14px;
  margin-inline: -14px;
}
.dt-doc__t {
  font-family: var(--display);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 700; letter-spacing: -.025em; line-height: 1.25;
  text-wrap: pretty;
}

.dt-doc__t a::after { content: ""; position: absolute; inset: 0; }

.dt-doc { border-radius: 12px; }

@supports not selector(:has(*)) {
  .dt-doc:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
}
@supports selector(:has(*)) {
  .dt-doc:has(:focus-visible) {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
    background: var(--surface);
  }
}

.dt-doc--multi .dt-doc__t a::after { content: none; }

.dt-doc__m { font-size: 13px; line-height: 1.6; color: var(--gray-2); }
.dt-doc__w { font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }

.dt-cw {
  font-size: 13px; line-height: 1.55; color: var(--gray-2);
  padding-left: 12px; border-left: 2px solid var(--flag-red);
  max-width: 62ch;
}

.dt-langs {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 4px;
}

.dt-tl {
  list-style: none; margin: 0; padding: 0;
  border-left: 1px solid var(--rule);
}
.dt-tl > li { position: relative; padding: 0 0 26px 26px; }
.dt-tl > li::before {
  content: "";
  position: absolute; left: -4px; top: 6px;
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--gray-2);
}

.dt-tl > li.is-key::before { background: var(--flag-red); }

.dt-tl time {
  display: block;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: var(--gray-2);
  margin-bottom: 6px;
}
.dt-tl p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.dt-tl .dt-src { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--gray-2); }
.dt-tl .dt-src:hover { color: var(--ink); }

.dt-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  list-style: none; padding: 0;
  margin: clamp(24px, 4vh, 40px) 0 0;
  align-items: start;
}
.dt-strip figure { display: grid; gap: 10px; }
.dt-strip img {
  width: 100%; height: auto; display: block;
  border-radius: 10px; background: var(--surface);
}

.dt-band, .dt-band--thin { display: grid; gap: 10px; margin: 0; }
.dt-band img, .dt-band--thin img {
  width: 100%; height: auto; display: block;
  border-radius: clamp(12px, 1.6vw, 20px);
  background: var(--surface);
  aspect-ratio: 16 / 5;
  object-fit: cover;
}
.dt-band--thin img { aspect-ratio: 16 / 4; }

.dt-photos {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 32px);
  margin: clamp(24px, 4vh, 40px) 0 0;
  align-items: start;
}
.dt-photos figure { display: grid; gap: 10px; margin: 0; }
.dt-photos img {
  width: 100%; height: auto; display: block;
  border-radius: 10px; background: var(--surface);
}

figure.dt-narrow { display: grid; gap: 10px; margin: clamp(24px, 4vh, 40px) 0 0; max-width: 340px; }
figure.dt-narrow img { width: 100%; height: auto; display: block; border-radius: 10px; background: var(--surface); }

figcaption.dt-credit { font-size: 12.5px; color: var(--gray-3); }
figcaption.dt-credit a { color: var(--gray-2); text-decoration: underline; text-underline-offset: 2px; }
figcaption.dt-credit a:hover { color: var(--ink); }

.dt-person h3 {
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.15;
}
.dt-person .dt-role {
  font-size: 13px; font-weight: 500; letter-spacing: .04em;
  text-transform: uppercase; color: var(--gray-2);
}
.dt-person p { font-size: 15px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.dt-person .dt-sources { margin-top: 4px; }

.dt-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.dt-scroll:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.dt-table {
  border-collapse: collapse;
  width: 100%; min-width: 540px;
  font-size: 14.5px; line-height: 1.5;
  text-align: left;
}
.dt-table th,
.dt-table td {
  padding: 12px 18px 12px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
  text-align: left;
}
.dt-table th {
  font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray-2);
  white-space: nowrap;
}
.dt-table td { color: var(--ink-2); }
.dt-table tr:last-child td { border-bottom: 0; }
.dt-table a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.dt-n { color: var(--gray-3); font-weight: 400; }

.dt-src { color: var(--gray-2); }
.dt-src:hover { color: var(--ink); }
.dt-sources a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.dt-sources a:hover { color: var(--ink); }

:lang(ar), :lang(ug), :lang(ru), :lang(kk), :lang(zh) {
  font-family: system-ui, "Segoe UI", sans-serif;
}
:lang(ar), :lang(ug) { line-height: 1.8; }

@media (max-width: 900px) {
  .dt-doc__w { max-width: none; }
}

@media (max-width: 760px) {
  .dt-dir { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {

  .dt-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dt-band img { aspect-ratio: 16 / 7; }
  .dt-band--thin img { aspect-ratio: 16 / 6; }
}

@media (max-width: 560px) {
  .dt-bar .btn { margin-left: 0; flex: 1 1 100%; }
  .dt-photos { grid-template-columns: 1fr; }
  .dt-tl > li { padding-left: 20px; }
  .dt-acc__b { gap: 12px; }
}

@media print {
  .dt-toc,
  .dt-acc__all,
  .dt-more-btn,
  [data-share-x],
  [data-copy-link] { display: none; }

  .dt-acc__i { display: none; }

  .dt-frame { box-shadow: none; border: 1px solid #ccc; }
  .dt-doc, .dt-person, .dt-tl > li { break-inside: avoid; }
  .dt-scroll { overflow: visible; }
  .dt-table { min-width: 0; }
  .dt-strip img, .dt-photos img, figure.dt-narrow img { border: 1px solid #ccc; }
}

@media (prefers-reduced-motion: reduce) {
  .dt-acc__i::before,
  .dt-acc__i::after { transition: none; }
}

.dt-map { display: grid; gap: clamp(12px, 1.8vh, 16px); position: relative; }

.dt-map__toggle {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 500; color: var(--gray);
  width: fit-content;
}
.dt-map__toggle input {
  width: 16px; height: 16px;
  accent-color: var(--ink); cursor: pointer;
}
.dt-map__toggle label { cursor: pointer; }
.dt-map__toggle:hover { color: var(--ink); }

@supports selector(:has(*)) {
  .dt-map:has(#m-sites:not(:checked)) .m-sites { display: none; }

  .dt-map:has(#m-sites:not(:checked)) .dt-legend__s { opacity: .35; }
}
@supports not selector(:has(*)) {
  .dt-map__toggle { display: none; }
}

.dt-map__svg,
.dt-map__svg text { -webkit-user-select: none; user-select: none; }

.dt-map__svg {
  display: block;
  width: 100%; min-width: 700px; height: auto;
  background: var(--bg);
}

@property --mz { syntax: "<number>"; inherits: true; initial-value: 1 }

.m-land {
  fill: var(--surface);

  stroke: var(--gray-3); stroke-opacity: .38;
  stroke-width: calc(.8px / var(--mz, 1)); stroke-linejoin: round;
}

.m-region { fill: var(--ink); fill-opacity: .07; stroke: var(--ink); stroke-width: calc(1.3px / var(--mz, 1)); stroke-linejoin: round; }

.m-s1, .m-s2a, .m-s2b, .m-s4a, .m-s4b { fill: none; stroke-linecap: round; }
.m-s1  { stroke: var(--flag-red); stroke-width: calc(4.4px / var(--mz, 1)); }
.m-s2a { stroke: var(--flag-red); stroke-width: calc(4.8px / var(--mz, 1)); }
.m-s2b { stroke: var(--bg);       stroke-width: calc(2.2px / var(--mz, 1)); }

.m-s3  { fill: var(--gray-2); }
.m-s4a { stroke: var(--gray-2);   stroke-width: calc(4.4px / var(--mz, 1)); }
.m-s4b { stroke: var(--bg);       stroke-width: calc(2.0px / var(--mz, 1)); }

.m-city-h { fill: none; stroke: var(--bg);  stroke-width: calc(9px / var(--mz, 1)); stroke-linecap: round; }
.m-city-d { fill: none; stroke: var(--ink); stroke-width: calc(5px / var(--mz, 1)); stroke-linecap: round; }

.m-city {
  font-family: var(--sans);
  font-size: 14px; font-weight: 600; fill: var(--ink);
  paint-order: stroke; stroke: var(--bg); stroke-width: 3.6px; stroke-linejoin: round;
}

.m-country {
  font-family: var(--sans);
  font-size: calc(13px / var(--mz, 1)); font-weight: 600; letter-spacing: .1em;
  fill: var(--gray-2);
}
.m-region-n {
  font-family: var(--display);
  font-size: calc(27px / var(--mz, 1)); font-weight: 700; letter-spacing: -.02em;
  fill: var(--ink); text-anchor: middle;
  paint-order: stroke; stroke: var(--bg); stroke-width: calc(5px / var(--mz, 1)); stroke-linejoin: round;
}

.m-region-cn {
  font-family: var(--sans);

  font-size: calc(14.5px / var(--mz, 1)); font-weight: 500;
  fill: var(--gray); text-anchor: middle;
  paint-order: stroke; stroke: var(--bg); stroke-width: calc(4px / var(--mz, 1)); stroke-linejoin: round;
}
.m-scale path { fill: none; stroke: var(--gray-2); stroke-width: calc(1.4px / var(--mz, 1)); }
.m-scale text { font-family: var(--sans); font-size: calc(11.5px / var(--mz, 1)); fill: var(--gray-2); }

.dt-legend {
  display: grid; gap: 8px;
  font-size: 13.5px; line-height: 1.55; color: var(--ink-2); max-width: 76ch;
}
.dt-legend li { display: flex; gap: 10px; align-items: flex-start; }
.dt-legend__s { flex: none; width: 16px; height: 16px; margin-top: 2px; }

.dt-legend__note { padding-left: 26px; color: var(--gray-2); font-size: 12.5px; }

.dt-legend a, .dt-map__dl a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.dt-legend a:hover, .dt-map__dl a:hover { color: var(--gray); }
.dt-legend .dt-n { margin-left: .35em; white-space: nowrap; }

.dt-map__places > * + * { margin-top: clamp(18px, 2.6vh, 26px); }
.dt-map__places .dt-table caption {
  caption-side: top; text-align: left;
  font-size: 12.5px; color: var(--gray-2); padding-bottom: 10px; max-width: 72ch;
}

.dt-map__counts .dt-table td { text-align: right; font-variant-numeric: tabular-nums; }
.dt-map__counts .dt-table th[scope="row"] { white-space: normal; text-transform: none; font-size: 13.5px; color: var(--ink-2); letter-spacing: 0; }
.dt-map__counts .dt-table th[scope="col"]:not(:first-child) { text-align: right; }
.dt-map__cities .dt-table td:first-child { font-size: 17px; }

.dt-map.is-zoomed .dt-map__svg { min-width: 0; }

.dt-map.is-zoomed > .dt-scroll { overflow: hidden; touch-action: pan-y; cursor: grab; }
.dt-map.is-zoomed .dt-scroll.is-drag { cursor: grabbing; }

.dt-map.is-far .m-names,
.dt-map.is-far .m-title { display: none; }

.m-hi__h { fill: none; stroke: var(--bg);  stroke-width: calc(13px / var(--mz, 1)); stroke-linecap: round; }
.m-hi__r { fill: none; stroke: var(--ink); stroke-width: calc(9px / var(--mz, 1));  stroke-linecap: round; }
.m-hi__c { fill: none; stroke: var(--bg);  stroke-width: calc(5px / var(--mz, 1));  stroke-linecap: round; }
@supports selector(:has(*)) {

  .dt-map:has(#m-sites:not(:checked)) .m-hi { display: none; }
}

.dt-map__bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--gray);
}

.dt-map__bar .btn { min-width: 36px; min-height: 36px; }
.dt-map__z { font-variant-numeric: tabular-nums; margin-inline-start: 2px; }
.dt-map__hint { font-size: 12.5px; color: var(--gray); transition: color .2s var(--ease), background-color .2s var(--ease); }

.dt-map__hint.is-on {
  color: var(--ink); font-weight: 500;
  background: var(--surface); border-radius: var(--radius, 8px);
  box-shadow: 0 0 0 6px var(--surface);
}
@media (prefers-reduced-motion: reduce) { .dt-map__hint { transition: none; } }

.dt-map__panel {
  position: relative;
  border: 1px solid var(--rule); background: var(--surface);
  padding: 14px 16px 16px; display: grid; gap: 8px; font-size: 14px;
}
.dt-map__panel h3 { font-size: 16px; line-height: 1.3; }
.dt-map__panel h3:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.dt-map__x {
  position: absolute; top: 6px; inset-inline-end: 6px; width: 32px; height: 32px;
  border: 0; background: transparent; color: var(--gray);
  font-size: 20px; line-height: 1; cursor: pointer; border-radius: 2px;
}
.dt-map__x:hover { color: var(--ink); background: var(--bg); }
.dt-map__co { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.dt-map__list { display: grid; gap: 6px; }
.dt-map__list li {
  display: flex; gap: 8px; align-items: baseline;
  border-top: 1px solid var(--rule); padding-top: 6px;
}
.dt-map__sw { width: 14px; height: 14px; flex: none; }
.dt-map__ty { font-weight: 600; }
.dt-map__meta { font-size: 12.5px; color: var(--gray); }
.dt-map__panel a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.dt-map__doc { display: grid; gap: 8px; border-top: 1px solid var(--rule); padding-top: 8px; }
.dt-map__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dt-map__pair img { width: 100%; height: auto; display: block; border: 1px solid var(--rule); }
.dt-map__pair figcaption { font-size: 12px; color: var(--gray); font-variant-numeric: tabular-nums; }

@media (min-width: 760px) {
  .dt-map__panel {
    position: absolute; top: 44px; inset-inline-end: 12px; width: 320px;
    max-height: calc(100% - 120px); overflow: auto; z-index: 2;
    box-shadow: 0 6px 24px rgba(23, 18, 8, .13);
  }
}

.dt-browse { display: grid; gap: 10px; }
.dt-browse__f {
  display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: flex-end;
  font-size: 13.5px;
}
.dt-browse__f fieldset { border: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.dt-browse__f legend {
  font-weight: 600; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gray);
}
.dt-browse__f label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.dt-browse__f select {
  font: inherit; font-size: 13.5px; padding: 6px 8px;
  border: 1px solid var(--rule); background: var(--bg); color: var(--ink);
}
.dt-browse__f input { accent-color: var(--ink); cursor: pointer; }
.dt-browse__n { font-size: 13px; color: var(--gray); }
.dt-browse__ul {
  max-height: 320px; overflow-y: auto;
  border: 1px solid var(--rule); background: var(--surface);
}
.dt-browse__ul li {
  display: flex; gap: 10px; align-items: center; padding: 7px 10px;
  font-size: 13.5px; border-bottom: 1px solid var(--rule); cursor: pointer;

  content-visibility: auto; contain-intrinsic-size: auto 34px;
}
.dt-browse__ul li:last-child { border-bottom: 0; }
.dt-browse__ul li:hover { background: var(--bg); }
.dt-browse__ul li[aria-selected="true"] { background: var(--ink); color: var(--on-dark); }
.dt-browse__ul:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.dt-browse__ul li.is-cur { box-shadow: inset 3px 0 0 var(--flag-red); }
.dt-browse__d {
  margin-inline-start: auto; color: var(--gray);
  font-variant-numeric: tabular-nums; font-size: 12.5px; white-space: nowrap;
}
.dt-browse__ul li[aria-selected="true"] .dt-browse__d { color: var(--surface); }

.dt-browse__doc {
  font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--flag-red);
  border: 1px solid currentColor; padding: 0 4px; border-radius: 2px;
}
.dt-browse__ul li[aria-selected="true"] .dt-browse__doc { color: var(--bg); }

.sw-s1  { fill: none; stroke: var(--flag-red); stroke-width: 4.4; stroke-linecap: round; }
.sw-s2a { fill: none; stroke: var(--flag-red); stroke-width: 4.8; stroke-linecap: round; }
.sw-s2b { fill: none; stroke: var(--surface);  stroke-width: 2.2; stroke-linecap: round; }
.sw-s3  { fill: var(--gray-2); }
.sw-s4a { fill: none; stroke: var(--gray-2);   stroke-width: 4.4; stroke-linecap: round; }
.sw-s4b { fill: none; stroke: var(--surface);  stroke-width: 2.0; stroke-linecap: round; }

html:not(.js) .dt-map__bar,
html:not(.js) .dt-map__panel,
html:not(.js) .dt-map__browse { display: none; }

@media (max-width: 760px) {

  .m-s2a { stroke-width: calc(6px / var(--mz, 1)); }
  .m-s2b { stroke-width: calc(2.6px / var(--mz, 1)); }
  .m-s4a { stroke-width: calc(5.4px / var(--mz, 1)); }
  .m-s4b { stroke-width: calc(2.4px / var(--mz, 1)); }
}
@media (max-width: 560px) {

  .dt-legend__note { padding-left: 0; }
}

@media print {
  .dt-map__toggle { display: none; }

  .dt-map__bar,
  .dt-map__panel,
  .dt-map__browse { display: none; }
  .dt-map__svg { min-width: 0; }

  .dt-map .m-sites { display: inline !important; }
  .dt-legend__s { opacity: 1 !important; }
  .dt-map { break-inside: avoid; }
}

.dt-sat { display: grid; gap: 10px; margin: clamp(24px, 4vh, 40px) 0 0; }

.dt-sat__pair {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 14px);
}

.dt-sat__im { position: relative; }
.dt-sat__im img {
  width: 100%; height: auto; display: block;
  border-radius: 10px; background: var(--surface);
}

.dt-sat__yr {
  position: absolute; left: 8px; top: 8px;
  background: var(--ink); color: var(--bg);
  font: 600 12px/1 var(--sans); letter-spacing: .04em;
  padding: 6px 8px; border-radius: 6px;
}

.dt-sat__scale {
  grid-column: 1;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--gray-3);
}
.dt-sat__bar {
  width: var(--sat-km, 25%); height: 4px; border-radius: 2px;
  background: var(--gray-2); flex: none;
}
.dt-sat--dabancheng { --sat-km: 22.73%; }
.dt-sat--korla      { --sat-km: 26.32%; }

.dt-sat__cap {
  font-size: 13.5px; line-height: 1.6; color: var(--gray);
  max-width: 72ch; text-wrap: pretty;
}
.dt-sat__cap b { color: var(--ink); font-weight: 600; }

@media (max-width: 720px) {
  .dt-sat__pair { grid-template-columns: 1fr; }
}

@media print {

  .dt-sat__im img { border: 1px solid #ccc; }
  .dt-sat { break-inside: avoid; }

  .dt-sat__yr {
    position: static; background: none; color: var(--ink);
    padding: 4px 0 0; display: block;
  }
}

.dt-map__panel .btn { white-space: normal; }
.dt-map__panel { overflow-wrap: anywhere; }

.has-cursor .dt-map,
.has-cursor .dt-map * { cursor: auto !important; }
.has-cursor .dt-map > .dt-scroll,
.has-cursor .dt-map > .dt-scroll * { cursor: crosshair !important; }
.has-cursor .dt-map.is-zoomed > .dt-scroll,
.has-cursor .dt-map.is-zoomed > .dt-scroll * { cursor: grab !important; }
.has-cursor .dt-map.is-zoomed > .dt-scroll.is-drag,
.has-cursor .dt-map.is-zoomed > .dt-scroll.is-drag * { cursor: grabbing !important; }
.has-cursor .dt-map a,
.has-cursor .dt-map button,
.has-cursor .dt-map label,
.has-cursor .dt-map summary,
.has-cursor .dt-map select,
.has-cursor .dt-map input,
.has-cursor .dt-map [role="option"] { cursor: pointer !important; }

html.dt-map-hover .cursor,
html.dt-map-hover .cursor__dot { opacity: 0 !important; }
