@font-face {
  font-family: "Geist";
  src: url("fonts/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --paper: #fff;
  --ink: #1d1d1f;
  --body: #33383e;
  --muted: #575e67;
  --accent: #0066cc;
  --deep-blue: #004c99;
  --wash: #b4d0ea;
  --soft: #e5effa;
  --line: rgba(32, 62, 96, .15);
  --accent-line: rgba(0, 102, 204, .20);
  --shadow: 0 2px 3px #203e6005, 0 8px 24px #203e6009;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans CJK SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--body); font: 1.0625rem/1.8 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { color: var(--ink); text-wrap: pretty; overflow-wrap: anywhere; }
h2 { font-size: 1.875rem; font-weight: 600; line-height: 1.35; letter-spacing: -.035em; }
h3 { font-size: 1.375rem; font-weight: 600; line-height: 1.45; letter-spacing: -.025em; }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { color: var(--deep-blue); }
button, select, input { font: inherit; }
button, summary { cursor: pointer; }
button, a, select, label { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: #82baff55; }
img { display: block; max-width: 100%; height: auto; }
sup { font-size: .68em; line-height: 0; color: var(--deep-blue); }
[hidden] { display: none !important; }
.wrap { width: min(1152px, calc(100% - 64px)); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 8; top: 8px; left: 8px; padding: 6px 12px; background: #fff; border-radius: 6px; }

.mast { background: var(--wash); }
.nav-inner { min-height: 76px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1rem; }
.brand { display: inline-flex; justify-self: start; align-items: center; gap: 9px; font-weight: 650; color: var(--ink); letter-spacing: -.03em; text-decoration: none; }
.nav-utilities { display: flex; justify-self: end; align-items: center; font-size: .9rem; }
.nav-utilities a { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; min-width: 40px; color: var(--ink); text-decoration: none; }
.nav-utilities a:hover { text-decoration: underline; }
html[lang|="zh"] :is(.paper-title,h2,h3) { letter-spacing: -.02em; }
.mast nav { display: flex; align-items: center; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fffffff0; box-shadow: var(--shadow); }
.mast nav a, .footer-links a { color: var(--body); text-decoration: none; font-size: .875rem; font-weight: 500; }
.mast nav a { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 13px; border-radius: 999px; }
.mast nav a:hover { color: var(--deep-blue); background: var(--soft); }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }

.hero { background: linear-gradient(180deg, var(--wash) 0, var(--bg) min(550px, 84%)); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr); padding-block: clamp(20px, 3vw, 44px) clamp(40px, 5vw, 72px); }
.intro { text-align: center; margin-bottom: clamp(32px, 4.5vw, 58px); }
.eyebrow, .film-label { color: var(--accent); font-size: .875rem; font-weight: 550; line-height: 1.55; letter-spacing: .065em; }
.intro .eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 5px 15px; color: var(--deep-blue); background: var(--soft); border: 1px solid var(--accent-line); border-radius: 999px; font-size: .8125rem; letter-spacing: .015em; }
.intro .line { display: none; }
.meta-sep { color: #5e7693; }
.intro h1 { margin: 17px auto 18px; max-width: 820px; }
.display { display: block; color: var(--deep-blue); font-size: clamp(2.375rem, 4.2vw, 3.375rem); font-weight: 650; line-height: 1.12; letter-spacing: -.035em; }
.paper-title { display: block; max-width: 42ch; margin: 10px auto 0; font-size: clamp(1.35rem, 2.3vw, 1.875rem); font-weight: 600; line-height: 1.32; letter-spacing: -.035em; text-wrap: balance; }
.authors { max-width: 82ch; margin-inline: auto; color: var(--ink); font-size: .9375rem; line-height: 1.75; text-wrap: pretty; }
.affils, .notes { color: var(--muted); }
.affils { margin-top: 8px; font-size: .875rem; line-height: 1.6; }
.notes { margin-top: 4px; font-size: .8125rem; line-height: 1.5; }
.notes span { padding-inline: 4px; }
.actions, .inline-links, .footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.actions { justify-content: center; margin-top: 21px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 17px; border: 1px solid var(--line); border-radius: 999px; font-size: .875rem; line-height: 1.5; font-weight: 550; text-decoration: none; }
.btn.primary { color: #fff; background: var(--ink); border-color: var(--ink); }
.btn.primary:hover { background: var(--deep-blue); border-color: var(--deep-blue); }
.btn.ghost { background: #fffffff2; color: var(--ink); }
.btn.ghost:hover { color: var(--deep-blue); border-color: var(--accent-line); }
.btn svg, .camera-tools svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }

/* Neither primary media item shares a row with its introduction or caption. */
.film-panel, .forest-block { width: 100%; min-width: 0; }
.film-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }
.film-label > span:last-child { font: 500 .8rem/1.5 var(--mono); color: var(--muted); letter-spacing: .01em; }
.film-label > span:last-child span { padding: 0 4px; }
.film-screen { position: relative; overflow: hidden; border-radius: 16px; background: #101923; box-shadow: var(--shadow); }
.film-screen video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #ffffffcf; background: #fffffff2; color: var(--deep-blue); box-shadow: 0 2px 16px #10203b4a; }
.play svg { width: 23px; height: 23px; margin-left: 2px; fill: currentColor; }
.play:hover { background: #fff; }
.paper-figure figcaption { color: var(--muted); font-size: .875rem; line-height: 1.7; }
.abstract-note { margin-top: clamp(20px, 2.6vw, 34px); padding: clamp(18px, 2.6vw, 32px) clamp(20px, 4vw, 54px); background: #f1f6fc; border: 1px solid var(--accent-line); border-inline-start: 4px solid #4b81b9; border-radius: 14px; }
.abstract-note summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; }
.abstract-note summary::-webkit-details-marker { display: none; }
.abstract-note summary::after { content: ""; width: 10px; height: 10px; flex: none; margin-inline: 5px; border: solid var(--deep-blue); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.abstract-note[open] summary::after { transform: rotate(225deg); }
.abstract-note summary h2 { color: var(--deep-blue); font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.abstract-note p { max-width: 84ch; margin-top: 12px; line-height: 1.8; }

.overview, .atlas, .band > .wrap { padding-block: clamp(48px, 5.2vw, 76px); }
.overview { padding-bottom: 0; }
.band { background: #fff; border-block: 1px solid var(--line); }
.section-top { display: grid; grid-template-columns: 1fr minmax(230px, 1.1fr); align-items: end; gap: clamp(24px, 7vw, 96px); margin-bottom: 26px; }
.section-top.heading-only { display: block; }
.section-top .eyebrow, .forest-block .eyebrow, .footer .eyebrow { margin-bottom: 6px; }
.section-top > p, .result-text p, .forest-block p:not(.eyebrow) { font-size: 1rem; line-height: 1.75; }
.paper-figure, .forest-block > a { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); }
.paper-figure > a, .forest-block > a { display: block; min-width: 0; }
.paper-figure img { width: 100%; object-fit: contain; }
.flight-figure { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(218px, 1fr); align-items: center; gap: clamp(20px, 3.5vw, 48px); padding: clamp(16px, 2.5vw, 32px); }
.flight-figure figcaption { max-width: 43ch; }
.flight-story { font-size: clamp(1rem, 1.35vw, 1.1875rem); line-height: 1.65; color: var(--ink); }
.flight-key { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9375rem; }
.paper-figure figcaption span { display: block; margin-bottom: 5px; color: var(--accent); font-weight: 550; }
.method-figure { padding: clamp(10px, 2.3vw, 30px); }
.method-figure img { max-height: 435px; }
.method-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); margin-top: 28px; }
.method-steps article { border-top: 2px solid var(--accent-line); padding-top: 12px; }
.method-steps p { margin-top: 7px; font-size: .9375rem; line-height: 1.75; }
.explorer {
  --hud-bg: #14263bee; --hud-ink: #f0f6ff; --hud-border: #7692ac; --hud-hover: #314c68; --hud-dot: #89c1ff;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow);
}
.atlas-top, .atlas-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 13px; padding: 13px 18px; }
.atlas-top { background: #f0f5fa; }
.atlas-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 17px; }
.atlas-actions a { font-size: .875rem; font-weight: 550; }
.select-wrap { display: flex; align-items: center; gap: 11px; max-width: 100%; min-width: 0; }
.select-wrap > label, .control-title { font-size: .875rem; font-weight: 600; color: var(--ink); }
.select-wrap select { color: var(--ink); background: #fff; border: 1px solid #aebdd0; border-radius: 7px; font-size: .94rem; font-weight: 550; padding: 6px 9px; min-width: 0; max-width: 100%; }
.view-buttons { display: inline-flex; gap: 2px; border: 1px solid var(--line); padding: 2px; background: #fff; border-radius: 999px; }
.view-buttons button { border: 0; border-radius: 999px; padding: 5px 12px; color: var(--muted); background: transparent; font-size: .875rem; }
.view-buttons button[aria-pressed=true] { color: var(--deep-blue); background: var(--soft); }
.viewport { height: clamp(330px, 44vw, 560px); background: var(--map-background, #0b181b); position: relative; isolation: isolate; }
.viewport canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.viewport canvas:active { cursor: grabbing; }
.viewport canvas:focus-visible { outline-offset: -5px; }
.viewport-key, .load-state { position: absolute; pointer-events: none; background: var(--hud-bg); color: var(--hud-ink); border: 1px solid var(--hud-border); border-radius: 6px; }
.viewport-key { top: 13px; left: 14px; display: flex; gap: 8px; align-items: center; padding: 5px 9px; font: 500 .75rem/1.4 var(--mono); }
.viewport-key b { font: inherit; }
.viewport-key span { width: 7px; height: 7px; background: var(--hud-dot); border-radius: 2px; }
.camera-tools { position: absolute; right: 13px; bottom: 15px; display: flex; gap: 5px; }
.camera-tools button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--hud-border); border-radius: 6px; color: var(--hud-ink); background: var(--hud-bg); font: 400 1.1rem/1 var(--sans); }
.camera-tools button:hover { background: var(--hud-hover); }
.load-state { top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 8px 14px; text-align: center; font-size: .95rem; }
.layer-group { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; }
.layer { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; color: var(--ink); font: .86rem/1.4 var(--mono); }
.layer input { width: 16px; height: 16px; accent-color: var(--accent); margin: 0 1px 0 0; }
.swatch { width: 11px; height: 11px; border: 1px solid #0003; border-radius: 50%; }
/* Scientific map legends must match the renderer, independently of the page theme. */
.l0 .swatch { background: var(--level-0, #21795e); }
.l1 .swatch { background: var(--level-1, #9b6400); }
.l2 .swatch { background: var(--level-2, #bb4b3e); }
.layer:has(input:not(:checked)) .swatch { opacity: .45; }
.hint, #height-key { font-size: .82rem; color: var(--muted); }
.height-ramp { display: inline-block; width: 60px; height: 8px; margin-right: 7px; border-radius: 3px; background: linear-gradient(90deg, #3d96b8, #f7d66b); }
.inline-links { gap: 6px 18px; margin-top: 10px; }
.inline-links a, .inline-single { font-size: .9rem; font-weight: 550; }

.accuracy-card { margin-top: clamp(28px, 4.5vw, 60px); min-width: 0; padding: clamp(18px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); scroll-margin-top: 20px; }
.accuracy-header { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 8px 22px; }
.accuracy-header h3 { font: 610 clamp(1.55rem, 2.7vw, 2.15rem)/1.22 var(--sans); letter-spacing: -.035em; }
.accuracy-header .eyebrow { margin-bottom: 3px; }
.accuracy-source { font-size: .875rem; font-weight: 540; }
.accuracy-intro { margin-top: 12px; max-width: 85ch; color: var(--body); font-size: 1rem; line-height: 1.65; }
.accuracy-switch { display: inline-flex; flex-wrap: wrap; gap: 3px; max-width: 100%; margin: 19px 0 1px; border: 1px solid var(--line); padding: 3px; border-radius: 9px; background: #f2f5f9; }
.accuracy-switch button { border: 0; border-radius: 6px; background: transparent; color: var(--muted); min-height: 39px; padding: 6px 13px; font-size: .9rem; line-height: 1.4; font-weight: 550; }
.accuracy-switch button span { margin-left: 4px; font: 500 .76rem/1.2 var(--mono); }
.accuracy-switch button[aria-selected="true"] { color: #fff; background: var(--deep-blue); }
.accuracy-switch button:not([aria-selected="true"]):hover { background: #e5edf6; color: var(--deep-blue); }
.metric-panel { margin-top: 21px; scroll-margin-top: 16px; }
.metric-panel h4 { margin: 0 0 9px; color: var(--ink); font-size: 1.025rem; font-weight: 600; line-height: 1.45; }
.accuracy-scroll { overflow-x: auto; overscroll-behavior-x: contain; max-width: 100%; border: 1px solid var(--line); border-radius: 8px; }
.accuracy-table { min-width: 720px; width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.accuracy-table th, .accuracy-table td { padding: 9px clamp(8px, 1vw, 14px); text-align: right; font-size: .91rem; line-height: 1.4; border-bottom: 1px solid #e4eaf0; }
.accuracy-table thead th { background: #f1f5f9; color: #3f5062; font-weight: 600; font-size: .86rem; }
.accuracy-table tr > :first-child { position: sticky; left: 0; z-index: 1; text-align: left; border-inline-end: 1px solid #dbe4ed; }
.accuracy-table tbody th { background: #fff; color: #314457; font: 550 .89rem/1.4 var(--mono); }
.accuracy-table tbody td { color: var(--ink); background: #fff; }
.accuracy-table tbody tr:nth-child(even) > * { background: #fafbfd; }
.accuracy-table tbody tr:last-child > * { border-bottom: 0; }
.accuracy-table thead .primary-method { background: #e3eef9; color: var(--deep-blue); }
.accuracy-table tbody .primary-method, .accuracy-table tbody tr:nth-child(even) .primary-method { background: #f0f6fc; }
.accuracy-table strong { font-weight: 750; }
.accuracy-notes { margin-top: 12px; }
.accuracy-notes p { font-size: .865rem; line-height: 1.65; color: var(--muted); }
.accuracy-notes p + p { margin-top: 3px; }
.accuracy-notes strong { color: var(--ink); }
@media print { .accuracy-switch { display: none !important; } #accuracy .metric-panel[hidden] { display: block !important; } .accuracy-scroll { overflow: visible; } .accuracy-table {min-width: 0;} }
.result-layout { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(20px, 4vw, 65px); align-items: center; }
.result-fig { padding: 14px; }
.result-fig img { max-height: 425px; }
.result-fig figcaption { padding: 12px 2px 2px; }
.result-text > p { margin-top: 10px; }
.table-scroll { margin-block: 18px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
th, td { white-space: nowrap; font-size: .875rem; line-height: 1.4; padding: 10px 6px; border-bottom: 1px solid var(--line); }
thead th { font-size: .82rem; font-weight: 550; background: #f0f5fa; }
tbody th { font-weight: 550; }
.ours th, .ours td { color: var(--deep-blue); font-weight: 650; }
.result-text .table-note { font-size: .875rem; color: var(--muted); }
.inline-single { display: inline-block; margin-top: 12px; }
.forest-block { display: grid; grid-template-columns: minmax(0,1fr); gap: 20px; margin-top: clamp(36px, 5vw, 62px); border-top: 1px solid var(--line); padding-top: clamp(26px, 4vw, 42px); }
.forest-block > div { max-width: 75ch; }
.forest-block p:not(.eyebrow) { margin-top: 6px; }
.forest-block > a { overflow: hidden; }
.forest-block img { width: 100%; height: auto; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 36px; }
.footer strong { font-size: 1.75rem; font-weight: 650; letter-spacing: -.04em; line-height: 1.2; color: var(--deep-blue); }
.footer p:not(.eyebrow) { font-size: .875rem; color: var(--muted); margin-top: 4px; }
.footer-links { gap: 16px; }

@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .section-top, .result-layout { gap: 25px; }
  .result-layout { grid-template-columns: minmax(0,1fr); }
  .result-text { max-width: 76ch; }
}
@media (max-width: 800px) {
  .nav-inner { grid-template-columns: minmax(0, 1fr) auto; min-height: 0; gap: .6rem; padding-block: 14px 4px; }
  .mast-nav { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .nav-utilities { grid-column: 2; grid-row: 1; }
  .mast nav a { min-height: 34px; padding: 3px 10px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .brand { font-size: 1rem; gap: 6px; }
  .brand img { width: 26px; height: 26px; }
  .mast nav a { padding: 5px 9px; min-height: 34px; font-size: .8125rem; }
  .hero-layout { padding-top: 25px; }
  .intro { margin-bottom: 30px; }
  .paper-title { font-size: 1.375rem; }
  .authors { font-size: .875rem; }
  .actions { margin-top: 17px; }
  .film-screen, .paper-figure, .explorer, .forest-block > a { border-radius: 12px; }
  .section-top, .flight-figure, .method-steps { grid-template-columns: minmax(0,1fr); }
  .section-top { gap: 12px; margin-bottom: 18px; }
  .flight-figure { gap: 15px; padding: 12px; }
  .flight-figure figcaption { max-width: none; padding: 3px 4px 5px; }
  .flight-key { margin-top: 12px; padding-top: 10px; }
  .method-steps { gap: 16px; margin-top: 20px; }
  .method-steps p { margin-top: 4px; }
  .atlas-top, .atlas-controls { padding: 10px; gap: 9px; }
  .accuracy-card { padding: 15px 12px; border-radius: 12px; }
  .accuracy-header { align-items: start; }
  .accuracy-switch { margin-top: 13px; }
  .accuracy-switch button { min-height: 40px; padding: 6px 9px; }
  .metric-panel { margin-top: 15px; }
  .accuracy-table th, .accuracy-table td { padding-inline: 9px; }
  .select-wrap { gap: 7px; flex: 1 1 240px; }
  .select-wrap select { flex: 1; }
  .layer-group { gap: 10px; }
  .viewport { height: 340px; }
  .forest-block { gap: 14px; }
  .footer { flex-direction: column; align-items: start; }
}
@media (max-width: 395px) {
  .wrap { width: calc(100% - 28px); }
  .mast nav a { padding-inline: 6px; }
  .layer-group { gap: 8px; }
  .control-title { width: 100%; }
  .viewport { height: 290px; }
  .btn { padding: 8px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
