@font-face {
  font-family: "Roboto Condensed";
  src: url("assets/roboto-condensed-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("assets/roboto-condensed-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --night: #202c33;
  --chalk: #eff1ef;
  --paper: #dbe1e1;
  --ink: #202f38;
  --enamel: #bbd3df;
  --stamp: #762e40;
  --rule: #a8b5ba;
  --display: "Roboto Condensed", "Arial Narrow", "Microsoft YaHei", sans-serif;
  --body: "Segoe UI", "Microsoft YaHei", sans-serif;
  --mono: Consolas, "SFMono-Regular", "Microsoft YaHei", monospace;
  --gutter: clamp(20px, 5.6vw, 100px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font: 1rem/1.55 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; }
button, select { font: inherit; }
button, select, .watch { cursor: pointer; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #18789b; outline-offset: 4px; }
.mast :focus-visible, .hero :focus-visible, .viewer :focus-visible, footer :focus-visible, .journal :focus-visible { outline-color: #c5e1ec; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1440px); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 12px; z-index: 10; background: white; color: black; padding: 8px 16px; }
.mast { background: var(--night); color: var(--chalk); border-bottom: 1px solid #434840; }
.mast-inner { min-height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand, .mast-nav, .mast-tools, .footer-inner, .hero-actions, .place, .watch, .hero-foot, .chapter-play { display: flex; align-items: center; }
.brand { text-decoration: none; gap: 10px; width: fit-content; font: 800 1.56rem/1 var(--display); letter-spacing: -.035em; }
.brand img { width: 39px; height: 39px; }
.mast-nav { gap: clamp(20px, 3vw, 48px); }
.mast-nav a, .mast-tools a { font: 600 1rem/1 var(--display); text-decoration: none; }
.mast-nav a { padding-block: 12px; color: #e1e0d4; }
.mast-nav a:hover, .hero-secondary:hover, .footer-inner a:hover { color: var(--enamel); }
.mast-tools { justify-content: end; gap: 16px; }
.language { position: relative; }
.language::after { content: ""; position: absolute; right: 8px; top: 42%; width: 6px; height: 6px; transform: rotate(45deg); border: solid #c7cabb; border-width: 0 1px 1px 0; pointer-events: none; }
.language select { appearance: none; color-scheme: dark; background: var(--night); color: #ebebdf; border: 0; padding: 10px 23px 10px 6px; font: 0.875rem var(--mono); }
.support-link { border: 1px solid #77796b; padding: 10px 17px; }
.support-link:hover { color: var(--night); background: var(--chalk); border-color: var(--chalk); }
.hero { position: relative; display: grid; grid-template-rows: 1fr auto; min-height: clamp(520px, 76svh, 840px); overflow: hidden; background: #172228; color: var(--chalk); isolation: isolate; }
.hero-photo { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 15%; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgb(16 29 37 / .94), rgb(16 29 37 / .72) 30%, rgb(16 29 37 / .15) 64%, transparent 86%), linear-gradient(0deg, rgb(16 29 37 / .91), transparent 25%, transparent 80%, rgb(16 29 37 / .15)); }
.hero-body { align-self: center; padding-block: clamp(48px, 7vw, 110px) 36px; }
.place, .period, .state, .entry-kind { font-family: var(--mono); font-size: .81rem; font-weight: 600; line-height: 1.5; letter-spacing: .09em; text-transform: uppercase; }
.place { gap: 11px; color: #eee7d7; }
.place::before, .period::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--enamel); }
.place-divider { color: var(--enamel); }
.hero h1 { width: fit-content; margin: .1em 0 .08em -.029em; font: 900 clamp(6.3rem, 13vw, 14.5rem)/.88 var(--display); letter-spacing: -.052em; color: #f1f1ea; }
.hero-line { margin-top: .65em; font: 650 clamp(1.65rem, 2.8vw, 3rem)/1.07 var(--display); letter-spacing: -.025em; }
.hero-intro { margin-top: 14px; max-width: 40ch; color: #e0e1d7; font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.55; text-wrap: pretty; }
.hero-actions { flex-wrap: wrap; gap: 20px 28px; margin-top: 30px; }
.watch { justify-content: center; gap: 13px; min-height: 50px; padding: 12px 20px; background: var(--enamel); color: #162730; font: 750 1.12rem var(--display); text-decoration: none; box-shadow: 0 2px 12px #1114; }
.watch:hover { background: #d8e8ee; }
.watch time { padding-left: 13px; border-left: 1px solid #698493; font: .81rem var(--mono); }
.play { width: 0; height: 0; border: solid transparent; border-width: 6px 0 6px 10px; border-left-color: currentColor; flex: none; }
.hero-secondary, .text-link { text-decoration-thickness: 1px; text-underline-offset: 6px; font: 630 1.05rem/1.5 var(--display); }
.hero-foot { align-self: end; justify-content: space-between; gap: 16px; padding: 16px 0 20px; border-top: 1px solid rgb(242 234 213 / .37); font-size: .82rem; color: #dfdfd2; }
.state { display: inline-flex; gap: 9px; align-items: center; font-size: .79rem; }
.state i { width: 7px; height: 7px; background: var(--enamel); }
.archive { background: var(--paper); padding-block: clamp(50px, 6.1vw, 94px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding-bottom: 25px; border-bottom: 1px solid #797c70; }
h2 { font: 800 clamp(2.5rem, 5.2vw, 5rem)/1 var(--display); letter-spacing: -.041em; text-wrap: balance; }
.tabs { display: inline-flex; max-width: 100%; flex-wrap: wrap; gap: 4px; }
.tabs a { text-decoration: none; font: 650 1rem/1.3 var(--display); padding: 9px 13px; color: #42463c; border: 1px solid #96998a; }
.tabs a:hover { background: #c4d0d3; color: #1d231d; }
.tabs a[aria-selected="true"] { color: var(--chalk); background: var(--ink); border-color: var(--ink); }
.folio { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .85fr); gap: clamp(30px, 5.4vw, 90px); align-items: center; margin-top: 32px; scroll-margin-top: 20px; }
.plate { position: relative; background: #c8d1d2; border: 1px solid #9cabb0; }
.plate img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; }
.map-plate { padding: clamp(5px, .62vw, 11px); background: #c3cdd1; }
.map-surface { position: relative; }
.map-pins { position: absolute; inset: 0; pointer-events: none; }
.map-pin { position: absolute; width: 30px; height: 30px; transform: translate(-50%,-50%); pointer-events: auto; background: transparent; border: 0; padding: 0; border-radius: 50%; }
.map-pin::after { content: ""; position: absolute; inset: 27%; border-radius: 50%; border: 1px solid #742d40; box-shadow: 0 0 0 2px #eff2edaa; }
.map-pin:hover::after, .map-pin:focus-visible::after, .map-pin[aria-pressed="true"]::after { inset: 16%; background: #983a5366; border: 2px solid #72283a; }
.enlarge { position: absolute; bottom: 8px; right: 8px; display: inline-flex; gap: 6px; align-items: center; padding: 6px 9px; text-decoration: none; color: var(--chalk); background: #23343df0; font: 560 .87rem/1.35 var(--display); }
.enlarge i { width: .65em; height: .65em; border: 1.5px solid currentColor; border-radius: 50%; position: relative; margin-right: 2px; }
.enlarge i::after { content: ""; position: absolute; width: .4em; height: 1.5px; left: 79%; top: 87%; transform: rotate(45deg); transform-origin: left; background: currentColor; }
.enlarge:hover { background: #384f5b; }
.compare-frame { --split: 46%; position: relative; isolation: isolate; overflow: hidden; }
.compare-frame .day-photo { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.compare-line { position: absolute; inset: 0 auto 0 var(--split); border-left: 2px solid #edf3f3; pointer-events: none; z-index: 1; }
.compare-line i { position: absolute; top: 50%; left: 0; width: 36px; height: 36px; border-radius: 50%; border: 2px solid #d6e3e8; background: #23343ded; transform: translate(-50%,-50%); }
.compare-line i::before, .compare-line i::after { content: ""; position: absolute; top: 9px; height: 14px; width: 2px; background: #d4e3e7; }
.compare-line i::before { left: 12px; } .compare-line i::after { right: 12px; }
.compare-label { position: absolute; bottom: 8px; padding: 4px 9px; font: 600 .87rem var(--display); color: var(--chalk); background: #1c303ae6; }
.day-label { left: 8px; } .night-label { right: 8px; }
.compare-control { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-frame:focus-within { outline: 3px solid #17799c; outline-offset: 3px; }
.comparison figcaption { font-size: .91rem; line-height: 1.4; padding: 9px 12px; background: #ded9ca; }
.folio-copy { max-width: 45ch; }
.period { display: flex; align-items: center; gap: 10px; color: var(--stamp); }
.period::before { background: var(--stamp); width: 21px; }
.folio-copy h3 { margin: 14px 0 14px; font: 760 clamp(2.25rem, 3.5vw, 3.7rem)/1.03 var(--display); letter-spacing: -.038em; text-wrap: balance; }
.folio-copy > p:not(.period), .journal-intro { line-height: 1.65; }
.chapter-play { width: fit-content; gap: 10px; margin-top: 20px; font: 700 1.03rem/1.3 var(--display); color: var(--stamp); text-decoration: none; min-height: 36px; }
.chapter-play .play { border-width: 4px 0 4px 7px; }
.chapter-play time { border-left: 1px solid #b6a694; padding-left: 10px; font: .82rem var(--mono); }
.chapter-play:hover span:nth-child(2) { text-decoration: underline; text-underline-offset: 3px; }
.journal { padding-block: clamp(50px, 5.5vw, 85px); background: #30414a; color: var(--chalk); }
.journal-grid { display: grid; grid-template-columns: 1fr 1.16fr; gap: clamp(42px, 8vw, 130px); }
.journal h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.journal-intro { margin: 16px 0 17px; max-width: 41ch; color: #d0d4c7; }
.text-link { color: #c9dce4; }
.entries { border-top: 1px solid #737c6f; }
.entries a { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 3px 12px; padding: 17px 0; border-bottom: 1px solid #737c6f; text-decoration: none; }
.entry-kind { grid-column: 1 / -1; color: #ccdce4; font-size: .75rem; }
.entries strong { font: 650 clamp(1.3rem, 2vw, 1.9rem)/1.15 var(--display); }
.entries a:hover strong { color: var(--enamel); }
.read-mark { font-size: .84rem; color: #d2d5c8; }
footer { background: var(--night); color: #c8cabd; }
.footer-inner { min-height: 90px; flex-wrap: wrap; gap: 8px 18px; padding-block: 22px; font-size: .9rem; }
.footer-name { font: 750 1.45rem var(--display); color: var(--chalk); }
.footer-inner > div { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-left: auto; }
.footer-inner a { text-underline-offset: 4px; }
.viewer { position: fixed; width: min(1120px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; margin: auto; background: #26353e; border: 1px solid #72776b; color: var(--chalk); }
.viewer:not([open]) { display: none; }
.viewer::backdrop { background: rgb(16 29 37 / .89); }
.viewer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 18px; }
.viewer-head h2 { font: 700 1.5rem/1.15 var(--display); letter-spacing: -.015em; }
.close { width: 44px; height: 44px; border: 0; background: transparent; color: var(--chalk); font: 2rem/1 var(--body); }
.close:hover, .map-zoom:hover { background: #39483d; }
.viewer video { display: block; width: 100%; height: auto; max-height: calc(100dvh - 220px); background: #080b09; }
.film-chapters { display: grid; grid-template-columns: repeat(4, 1fr); }
.film-chapters button { display: flex; align-items: baseline; justify-content: start; flex-wrap: wrap; gap: 3px 9px; padding: 10px 13px; min-height: 44px; text-align: left; border: solid #495449; border-width: 2px 1px 0 0; color: #eae9de; background: #293a43; font: 600 1rem var(--display); }
.film-chapters button[aria-current="true"] { border-top-color: var(--enamel); background: #374d59; color: #dfecf1; }
.film-chapters button:hover { background: #35443a; }
.film-chapters time { font: .78rem var(--mono); }
.viewer-note, .video-fallback { display: block; padding: 10px 18px; font-size: .88rem; }
.viewer-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.youtube-link { padding: 8px 18px; color: #c9dce4; font-size: .9rem; text-underline-offset: 3px; }
.map-view { width: min(1560px, calc(100% - 32px)); }
.map-scroll { position: relative; max-height: calc(100dvh - 180px); overflow: auto; overscroll-behavior: contain; background: #273028; }
.map-canvas { width: min(100%, calc((100dvh - 180px) * 16 / 9)); aspect-ratio: 16 / 9; margin-inline: auto; }
.map-canvas img { width: 100%; height: auto; user-select: none; }
.map-scroll.is-zoomed { cursor: grab; }
.map-scroll.is-zoomed:active { cursor: grabbing; }
.map-scroll.is-zoomed .map-canvas { width: 1920px; }
.map-controls { padding: 9px 15px; display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: center; }
.map-zoom, .well-picker select { padding: 6px 10px; min-height: 38px; background: var(--night); border: 1px solid #838a7e; color: var(--chalk); font: .92rem var(--body); }
.well-picker select { color-scheme: dark; }
.map-readout { color: #d5d9ca; font: .9rem var(--body); }
.map-detail { margin: 0; padding: 0 15px 12px; color: var(--chalk); font-size: 1rem; line-height: 1.45; }
.map-zoom { margin-left: auto; }
@media (max-width: 850px) {
  .mast-inner { gap: 12px; }
  .mast-nav { gap: 18px; }
  .mast-tools { gap: 8px; }
  .folio { grid-template-columns: 1.2fr 1fr; gap: 24px; }
  .section-head { align-items: start; }
}
@media (max-width: 640px) {
  .mast-inner { grid-template-columns: 1fr auto; gap: 0 12px; padding-top: 4px; }
  .mast-tools { grid-column: 2; grid-row: 1; }
  .brand { min-height: 48px; font-size: 1.38rem; }
  .brand img { width: 34px; height: 34px; }
  .mast-nav { order: 3; grid-column: 1 / -1; justify-content: space-between; border-top: 1px solid #38433b; }
  .mast-nav a { padding: 11px 0; }
  .support-link { padding: 9px 12px; }
  .hero { min-height: 570px; }
  .hero-photo { height: 68%; object-position: 60% 39%; }
  .hero::before { background: linear-gradient(0deg, #172228 17%, rgb(16 29 37 / .91) 33%, rgb(16 29 37 / .43) 60%, transparent 79%), linear-gradient(90deg, rgb(16 29 37 / .44), transparent 70%); }
  .hero-body { align-self: end; padding: 145px 0 22px; }
  .place { gap: 7px; font-size: .75rem; }
  .place::before { width: 18px; }
  .hero h1 { font-size: clamp(5.2rem, 20vw, 7.8rem); }
  .hero-line { margin-top: .5em; }
  .hero-intro { margin-top: 9px; font-size: 1rem; }
  .hero-actions { gap: 12px 18px; margin-top: 21px; }
  .watch { gap: 9px; min-height: 46px; padding: 10px 14px; }
  .watch time { padding-left: 9px; }
  .hero-foot { align-items: start; padding: 12px 0; font-size: .75rem; }
  .hero-foot > :last-child { text-align: end; max-width: 55%; }
  .state { font-size: .74rem; }
  .section-head { gap: 20px; padding-bottom: 16px; }
  .tabs { gap: 4px; }
  .tabs a { padding: 8px 10px; }
  .folio, .journal-grid { grid-template-columns: 1fr; }
  .folio { margin-top: 20px; gap: 21px; }
  .folio-copy { max-width: 55ch; }
  .folio-copy h3 { margin: 8px 0; }
  .film-chapters { grid-template-columns: repeat(2, 1fr); }
  .film-chapters button { padding: 8px 10px; }
  .map-controls { padding: 8px; gap: 6px 10px; }
  .map-readout { order: 3; width: 100%; }
  .map-canvas { width: min(100%, calc((100dvh - 210px) * 16 / 9)); }
  .map-scroll { max-height: calc(100dvh - 210px); }
  .map-pin { width: 24px; height: 24px; }
  .journal-grid { gap: 25px; }
  .footer-inner > div { flex-basis: 100%; margin: 2px 0 0; }
}
@media (max-width: 360px) {
  .place { letter-spacing: .035em; }
  .tabs a { padding-inline: 7px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
