.archive-app, .archive-standalone{color-scheme:light dark;--paper:light-dark(#f5f3ed,#171e1b);--surface:light-dark(#fffef9,#232d27);--ink:light-dark(#233b30,#ecf1e8);--muted:light-dark(#52675a,#b1c2b4);--line:light-dark(#cfd5ca,#46564a);--green:light-dark(#294f39,#b2d2ab);--on-green:light-dark(#fffef9,#1b2d20);--soft:light-dark(#e1e9dd,#354638);--water:light-dark(#e5ebe6,#23342f);--land:light-dark(#bdcbb8,#53684f);--error:light-dark(#963d34,#ffb4a8);font:400 16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}
.archive-standalone { margin: 0; }
.archive-standalone > .skip{position:absolute;left:15px;top:0;transform:translateY(-120%);z-index:20;background:var(--surface);padding:12px}.archive-standalone > .skip:focus{transform:none}
html:has(.youtube-viewer) { scrollbar-gutter: stable; }
html:has(.youtube-viewer:modal) { overflow: hidden; }
html:has(:is(.memory-window, .museum-photo-dialog):modal) { overflow: hidden; }

.archive-app {
  background:
    radial-gradient(ellipse at 91% 16%, color-mix(in srgb, var(--soft) 72%, transparent), transparent 48%),
    linear-gradient(168deg, var(--paper) 20%, color-mix(in srgb, var(--water) 55%, var(--paper)) 87%);

  *{box-sizing:border-box}button,input,select{font:inherit;color:inherit}a{color:var(--green);text-underline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:var(--surface);padding:9px 14px;border-radius:8px;min-height:44px}button:disabled{cursor:default;opacity:.55}button[aria-pressed=true],button.primary{background:var(--green);color:var(--on-green);border-color:var(--green)}button:hover:not(:disabled){box-shadow:0 0 0 2px var(--line)}:focus-visible{outline:3px solid var(--green);outline-offset:4px}[hidden]{display:none!important}p{margin:0 0 14px}h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:1.16;margin:0 0 14px}h1{font-size:clamp(36px,5vw,58px);max-width:900px;letter-spacing:-.025em}h2{font-size:28px}h3{font-size:23px}.small{font-size:13px}.muted{color:var(--muted)}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin-bottom:10px}.site-header,.archive-content,.archive-footer{max-width:1240px;margin-inline:auto;padding-inline:30px}.site-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-block:23px;border-bottom:1px solid var(--line)}.brand{text-decoration:none;font-weight:500;letter-spacing:-.02em}.site-header nav{display:flex;gap:24px;flex-wrap:wrap}.site-header nav a{font-size:14px;text-decoration:none}.connection{display:flex;justify-content:space-between;align-items:center;gap:15px;border-block:1px solid var(--line);padding:12px 0;font-size:14px;color:var(--muted)}.connection.error{color:var(--error)}.search-field{flex:1}label{display:block;min-width:0;font-size:13px;color:var(--muted)}label span{display:block;margin-bottom:5px}input,select{display:block;width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);min-height:44px;min-width:0;font-size:16px}input[type=search]{padding:12px 15px}.view-switch{display:flex;gap:3px;padding-bottom:1px}.view-switch button{border-radius:6px}.result-count{font-size:13px;color:var(--muted);margin:18px 0}.map-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;font-size:13px}.map-heading button{min-height:38px;padding:6px 10px;font-size:13px}.map-canvas{position:relative;overflow:hidden;width:100%;height:340px;background:var(--water);border-radius:12px}.map-canvas svg{display:block;width:100%;height:100%}.map-land{fill:var(--land);stroke:var(--water);stroke-width:.6}.map-graticule{fill:none;stroke:var(--line);stroke-width:.5}.map-marker{position:absolute;transform:translate(-50%,-50%);z-index:1;display:grid;place-items:center;padding:0;width:44px;min-height:44px;border-radius:50%;background:var(--surface);border:2px solid var(--green);font-size:14px;font-weight:500;box-shadow:0 2px 10px #0002}.map-marker[aria-pressed=true]{z-index:2}.map-marker .marker-count{pointer-events:none}.record-list{display:grid;gap:10px;margin-top:17px}.record-card{display:block;width:100%;text-align:left;padding:18px 19px;background:var(--surface);border:1px solid var(--line);border-radius:10px}.record-card[aria-pressed=true]{background:var(--soft);color:var(--ink);border-color:var(--green)}.record-card h3{font-size:22px;margin-bottom:9px}.record-card p{font-size:13px;margin-bottom:5px}.record-card .creator{color:var(--muted)}.source-label{display:inline-block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:9px;color:var(--muted)}.record-detail{background:var(--surface);padding:25px;border:1px solid var(--line);border-radius:12px;min-width:0;overflow-wrap:anywhere}.record-detail h2{font-size:31px}.record-detail h3{font-size:22px;margin-top:20px}.record-detail .context{white-space:pre-line}.detail-empty{padding:20px 0;color:var(--muted)}dl{margin:20px 0}dl>div{border-bottom:1px solid var(--line);padding:10px 0}dt{font-size:12px;color:var(--muted);margin-bottom:3px}dd{margin:0;font-size:14px}.source-action{display:inline-block;text-align:center;background:var(--green);color:var(--on-green);padding:11px 16px;border-radius:8px;text-decoration:none;min-height:44px;margin:6px 0 12px}.visits{display:grid;gap:7px;margin:15px 0}.visits button{text-align:left;font-size:13px;padding:10px}.empty-message{padding:25px 0;color:var(--muted)}.about{border-top:1px solid var(--line);margin-top:55px;padding:35px 0;max-width:770px}.about p{color:var(--muted)}.archive-footer{border-top:1px solid var(--line);padding-block:22px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted)}noscript{display:block;padding:20px}
  @media(max-width:850px){.site-header,.archive-content,.archive-footer{padding-inline:22px}.record-detail{padding:22px}.map-canvas{height:330px}.view-switch{align-items:center;height:100%}}@media(max-width:460px){.site-header,.archive-content,.archive-footer{padding-inline:17px}.site-header{align-items:start;flex-direction:column;gap:12px;padding-block:16px}.site-header nav{gap:18px}.map-canvas{height:265px}.record-card{padding:16px}.record-detail{padding:19px}.source-action{width:100%}.connection{align-items:start}.connection button{flex:0 0 auto}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

  .media-attachment{border-top:1px solid var(--line);margin-top:22px;padding-top:8px}.media-attachment .creator{font-size:14px}.file-identity{margin-bottom:18px;font-size:13px}.file-identity summary{cursor:pointer;padding-block:8px}.file-identity p{margin-bottom:8px}.file-identity code{display:block;white-space:normal;overflow-wrap:anywhere;user-select:all}.record-identity{font-family:ui-monospace,monospace;overflow-wrap:anywhere}.media-unavailable{padding:14px;background:var(--soft);border-radius:8px}.media-status[role=alert]{color:var(--error)}

  .contribute{border-top:1px solid var(--line);margin-top:48px;padding-block:32px;max-width:900px}.contribute>p{max-width:760px}.contribute h3{margin-top:24px}.contribute form{display:grid;gap:16px}.contribute form>label{max-width:600px}.contribute form>button{justify-self:start}.contribute fieldset{margin:0;padding:18px;border:1px solid var(--line);border-radius:10px;min-width:0;display:grid;gap:16px}.contribute legend{padding-inline:7px;font-size:14px}.contribute label{font-size:14px}.contribute input,.contribute select,.contribute textarea{margin-top:6px}.contribute textarea{display:block;font:inherit;font-size:16px;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:10px 12px;width:100%;min-height:90px;resize:vertical}.contribute input[readonly]{background:var(--soft)}.contribute .check-label{display:flex;align-items:start;gap:12px}.contribute .check-label input{width:24px;min-width:24px;min-height:24px;height:24px;margin:0;accent-color:var(--green)}.contribute .check-label span{margin:0}.contribution-actions{display:flex;gap:10px;flex-wrap:wrap;margin-block:18px}.contribution-notice{padding:14px;background:var(--soft);border-radius:8px;overflow-wrap:anywhere}.contribution-notice.error{color:var(--error)}.private-records{display:grid;gap:12px}.private-record{border:1px solid var(--line);background:var(--surface);padding:18px;border-radius:10px;overflow-wrap:anywhere}.private-record h4{font-size:18px;font-weight:500;margin:0 0 10px}.private-feedback{white-space:pre-line}.contribute dd{white-space:pre-line;overflow-wrap:anywhere}.contribute section>button{margin:0 8px 10px 0}@media(max-width:460px){.contribute fieldset{padding:13px}.contribution-actions{flex-direction:column}.contribution-actions button{width:100%}}

  .ordinary-video{display:block;width:100%;max-height:60vh;background:#000;border-radius:8px;margin-block:12px}

  .photo-preview { display: block; width: 100%; max-height: 60vh; object-fit: contain; background: #fff; margin: 16px 0; }
  .photo-preview[hidden] { display: none; }

  .intro { max-width: none; padding-block: 24px 16px; }
  .intro h1 { font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 7px; }
  .intro > p:last-child { max-width: 72ch; font-size: 15px; margin: 0; }
  .collection-discovery { padding-block: 12px 10px; border-block: 1px solid var(--line); }
  .collection-discovery h2 { font-size: 19px; margin-bottom: 7px; }
  .collection-cards {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
    padding: 4px 4px 8px;
    margin-inline: -4px;
  }
  .collection-card {
    --collection-color: #63805e;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    font-size: 14px;
    font-weight: 600;
    border-radius: 5px;
    background: color-mix(in srgb, var(--collection-color) 11%, var(--surface));
    box-shadow: inset 0 3px var(--collection-color);
  }
  .collection-card:is([data-collection="us-canada-coasts"], [data-collection="places-as-they-are"]) {
    --collection-color: #42808d;
  }
  .collection-card:is([data-collection="us-canada-mountains"], [data-collection="us-canada-snow-ice"]) {
    --collection-color: #6999b1;
  }
  .collection-card:is([data-collection="us-canada-city-life"], [data-collection="us-canada-autumn"], [data-collection="us-canada-summer"]) {
    --collection-color: #aa7545;
  }
  .collection-card:hover:not([aria-pressed=true]) {
    background: color-mix(in srgb, var(--collection-color) 21%, var(--surface));
  }
  .collection-card[aria-pressed=true] {
    background: var(--green);
  }
  .collection-count { font-size: 11px; font-weight: 400; color: var(--muted); }
  .collection-card[aria-pressed=true] .collection-count { color: inherit; }
  .browse-controls { margin-top: 14px; scroll-margin-top: 20px; }
  .browse-tools { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 14px; }
  .browse-tools .search-field { flex: 1 1 200px; }
  #shuffle-place { font-size: 14px; white-space: nowrap; }
  .browse-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; margin: 5px 0 8px; }
  .browse-filters[open] { flex-basis: 100%; }
  .browse-filters summary, .collection-context summary {
    width: fit-content;
    padding-block: 9px;
    cursor: pointer;
    font-size: 13px;
    color: var(--green);
  }
  .browse-filters summary { min-height: 38px; }
  .filter-fields { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 10px; }
  .filter-fields label { flex: 1 1 160px; }
  .browse-status { display: flex; flex: 1 1 200px; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
  .browse-status .result-count { margin: 0; }
  .connection { padding: 0; margin-left: auto; border: 0; font-size: 13px; }
  .browse-status button { padding: 4px 10px; font-size: 13px; }
  .collection-context { margin-bottom: 6px; }
  .collection-context p { margin: 0 0 10px; font-size: 14px; }
  .browse-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(280px, 1fr); gap: 22px; align-items: start; }
  .browse-grid > * { min-width: 0; }
  .browse-grid:has(#map-section[hidden]):has(#globe-section[hidden]) { grid-template-columns: minmax(0, 1fr); }
  :is(#map-section, #globe-section) { position: sticky; top: 20px; }
  .map-canvas { height: 420px; border: 1px solid var(--line); border-radius: 6px; }
  #map-section {
    --map-chrome: #123a51;
    --map-cream: #f8f1dc;
    --map-amber: #f1be74;
  }
  #map-canvas {
    background: radial-gradient(ellipse at 35% 27%, #1d586d, #112f46 91%);
    border-color: #3b6c7d;
  }
  #map :is(.map-ocean, .map-land, .map-graticule) { vector-effect: non-scaling-stroke; }
  #map .map-ocean { fill: url("#map-water-shade"); stroke: #9edbe38c; }
  #map .map-graticule { fill: none; stroke: #d0edf44a; stroke-width: .65; }
  #map .map-land { fill: url("#map-land-shade"); stroke: #516c5b; stroke-width: .65; stroke-linejoin: round; }
  #map .map-pin-guides { stroke: var(--map-cream); }
  #map-section .map-heading span {
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--map-chrome);
    color: var(--map-cream);
    font: 600 11px/1.6 Mono, ui-monospace, monospace;
  }
  #map-section :is(.map-heading, .map-zoom-controls) button {
    background: var(--map-cream);
    border-color: #d9d0b9;
    color: var(--map-chrome);
  }
  #map-canvas .map-marker:not(.map-pin) {
    background: var(--map-chrome);
    border-color: #e7eec9;
    color: var(--map-cream);
    font: 650 13px Mono, ui-monospace, monospace;
    box-shadow: 0 2px 7px #081e26a0;
  }
  #map-canvas .map-marker:not(.map-pin):is(:hover, :focus-visible) {
    background: #215d72;
    border-color: var(--map-amber);
  }
  .map-pin { border-color: transparent; background: transparent; box-shadow: none; overflow: visible; }
  .map-pin:hover:not(:disabled), .map-pin[aria-pressed=true] { background: var(--surface); border-color: var(--green); }
  .map-pin::before { content: ''; width: 13px; height: 13px; border: 2px solid var(--surface); border-radius: 50%; background: var(--green); box-shadow: 0 0 0 1px var(--green); }
  .map-pin[aria-pressed=true] { border-color: var(--archive-accent, var(--green)); }
  .map-pin[aria-pressed=true]::before { background: var(--archive-accent, var(--green)); }
  .map-pin-label {
    position: absolute;
    z-index: 2;
    visibility: hidden;
    left: 0;
    top: 0;
    width: max-content;
    padding: 2px 6px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .map-pin:is(:hover, :focus-visible) .map-pin-label { border-color: var(--green); }
  .map-pin[aria-pressed=true] .map-pin-label {
    background: var(--green);
    color: var(--on-green);
    border-color: var(--green);
    font-weight: 750;
  }
  #map-canvas .map-pin::before {
    background: var(--map-cream);
    border-color: var(--map-chrome);
    box-shadow: 0 0 0 1px var(--map-cream);
  }
  #map-canvas .map-pin[aria-pressed=true] { border-color: var(--map-amber); }
  #map-canvas .map-pin[aria-pressed=true]::before { background: var(--map-amber); }
  #map-canvas .map-pin[aria-pressed=true] .map-pin-label {
    background: var(--map-chrome);
    border-color: var(--map-amber);
    color: var(--map-cream);
  }
  .map-pin-guides { fill: none; stroke: var(--green); stroke-width: 1.5; pointer-events: none; }
  .map-canvas:focus-visible { outline-offset: 2px; }
  .map-canvas.map-zoomed { cursor: grab; user-select: none; }
  .map-canvas.map-zoomed:active { cursor: grabbing; }
  @media (pointer: coarse) { #map-controls-help { display: none; } }
  .map-zoom-controls { position: absolute; z-index: 3; right: 10px; bottom: 10px; display: flex; gap: 4px; }
  .map-zoom-controls button { width: 44px; padding: 0; font-size: 22px; line-height: 1; }
  .map-heading { margin-bottom: 8px; }
  #globe-section .map-heading { justify-content: flex-end; }
  .globe-canvas {
    background:
      repeating-radial-gradient(ellipse at 50% 130%, transparent 0 34px, light-dark(#789d9b31, #a1c9d126) 35px, transparent 36px 43px),
      radial-gradient(ellipse at 45% 32%, light-dark(#f6fbf5, #243b4a), light-dark(#d8ecec, #192d3c) 66%, light-dark(#afcdcf, #11232b));
    cursor: grab;
    touch-action: none;
    user-select: none;
  }
  .globe-canvas.globe-dragging { cursor: grabbing; }
  .globe-sphere { fill: url("#globe-water"); stroke: #6a9aa5; stroke-width: 1.5; filter: drop-shadow(4px 9px 14px #163d4f54); }
  .globe-grid { fill: none; stroke: #d1e1cd; stroke-width: .55; opacity: .47; }
  .globe-land { fill: url("#globe-land"); stroke: #697862; stroke-width: .5; stroke-linejoin: round; }
  .globe-light { fill: url("#globe-light"); pointer-events: none; }
  .globe-canvas .map-pin:not([aria-pressed=true])::before { background: #9a422a; box-shadow: 0 0 0 1px #643021; }
  .place-preview { margin: 4px 0 6px; }
  .place-preview img { display: block; width: 100%; height: auto; border-radius: 5px; }
  .place-preview figcaption { margin-top: 5px; font-size: 12px; color: var(--muted); }
  .place-photo-subject { display: block; font-weight: 650; }
  .place-panel {
    padding: 18px;
    background: linear-gradient(143deg, var(--surface) 31%, color-mix(in srgb, var(--soft) 48%, var(--surface)));
    border: 1px solid var(--line);
    border-radius: 8px;
  }
  .place-panel h2 { font-size: 24px; }
  .place-panel > p:last-of-type { margin-bottom: 0; }
  .place-panel .record-list:not(:empty) { margin-top: 14px; }
  .place-option { display: grid; width: 100%; gap: 3px; text-align: left; overflow-wrap: anywhere; }
  .place-back { justify-self: start; font-size: 13px; }
  .record-list { margin-top: 0; gap: 8px; }
  .record-card { position: relative; border-radius: 5px; padding: 18px 42px 18px 18px; }
  .record-card::after { content: '↗'; position: absolute; right: 18px; top: 18px; color: var(--muted); }
  .record-card[aria-pressed=true]::after { content: '←'; color: var(--green); }
  .record-card h3 { font-size: 23px; }
  .record-card .source-label { font-size: 10px; margin-bottom: 7px; }
  .record-card p { display: inline; }
  .record-card p::after { content: ''; display: block; }
  .record-card p.muted { display: inline-block; font-size: 12px; margin-right: 12px; }
  .record-card p.muted::after { display: none; }
  .record-card p.creator { display: block; margin-top: 4px; font-size: 12px; }
  .record-detail { border-radius: 6px; scroll-margin-top: 20px; }
  .record-detail .source-action { display: block; width: 100%; margin-top: 20px; }
  .record-overview .back-to-results { margin-bottom: 12px; }
  .record-overview > h2 { margin-bottom: 12px; }
  .record-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px 14px;
    margin: 0;
  }
  .record-summary > div { padding: 0; border: 0; }
  .record-summary > div:first-child { grid-column: 1 / -1; }
  .record-summary dd { font-weight: 650; }
  .record-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .record-detail .record-actions :is(.source-action, .record-external-action) {
    display: grid;
    place-items: center;
    width: auto;
    flex: 1 0 auto;
    margin: 0;
  }
  .record-external-action {
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font-size: 14px;
    text-decoration: none;
    min-height: 44px;
  }
  .record-external-action:hover { box-shadow: 0 0 0 2px var(--line); }
  .record-actions button { flex: 1 0 auto; font-size: 14px; }
  .youtube-viewer {
    position: fixed;
    inset: 0;
    width: min(calc(100% - 24px), max(560px, 132dvh), 1120px);
    max-width: none;
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: clamp(12px, 2vw, 24px);
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    color: var(--ink);
    overflow: auto;
    overscroll-behavior: contain;
  }
  .youtube-viewer::backdrop { background: rgb(7 18 16 / 72%); }
  .youtube-viewer-header, .youtube-viewer-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .youtube-viewer-header { justify-content: space-between; margin-bottom: 12px; }
  .youtube-viewer-header h2 { font-size: clamp(20px, 3vw, 28px); margin: 0; }
  .youtube-viewer-actions :is(a, button) { font-size: 14px; }
  .youtube-viewer-actions a { display: inline-grid; place-items: center; }
  .youtube-viewer-hint { margin: 0 0 12px; }
  .youtube-viewer iframe {
    display: block;
    width: 100%;
    min-height: 200px;
    aspect-ratio: 16 / 9;
    border: 0;
    background: var(--ink);
  }
  .youtube-viewer iframe.isolated-spherical-player { min-height: 294px; aspect-ratio: 16 / 10; }
  .archive-youtube-consent { width: min(520px, calc(100% - 32px)); border: 1px solid var(--line); padding: 24px; color: var(--ink); background: var(--surface); }
  .archive-youtube-consent::backdrop { background: rgb(7 18 16 / 72%); }
  .archive-youtube-consent button + button { margin-left: 8px; }
  .record-viewing-hint { margin: 8px 0 0; }
  .record-overview input { margin-top: 8px; }
  .record-action-status { margin: 0; }
  .record-action-status:not(:empty) { margin-top: 8px; }
  .record-navigation { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
  .record-navigation-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 13px; margin-bottom: 8px; }
  .record-neighbors { display: flex; flex-wrap: wrap; gap: 8px; }
  .record-neighbor {
    display: grid;
    flex: 1 1 140px;
    align-content: start;
    gap: 3px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
  }
  .record-neighbor:hover { border-color: var(--green); }
  .record-neighbor:hover strong { text-decoration: underline; }
  .record-provenance { border-block: 1px solid var(--line); margin: 16px 0 12px; }
  .record-provenance > summary { cursor: pointer; padding: 12px 0; font-weight: 650; }
  .record-provenance > dl { margin: 0 0 10px; }
  .record-provenance > dl > div:last-child { border-bottom: 0; }
  .record-detail:focus { outline: 2px solid var(--green); outline-offset: 4px; }
  .back-to-results { font-size: 13px; margin-bottom: 20px; background: transparent; }
  .empty-message { margin: 0; padding: 22px 0; }
  .about { max-width: 820px; }

  @media (min-width: 851px) {
    .intro { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; padding-block: 14px 12px; }
    .intro h1 { font-size: clamp(32px, 3vw, 44px); margin: 0; }
    .collection-discovery { padding-block: 8px 6px; }
    .browse-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 10px 0 8px; }
    .browse-tools { flex: 1 1 305px; flex-wrap: nowrap; }
    .browse-tools .search-field > span {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip-path: inset(50%);
      white-space: nowrap;
    }
    .browse-meta { margin: 0; }
    .browse-status { flex-basis: auto; }
    .browse-meta:has(.browse-filters[open]) { flex-basis: 100%; }
    .map-heading {
      position: absolute;
      z-index: 3;
      top: 8px;
      inset-inline: 10px;
      pointer-events: none;
    }
    .map-heading span { padding: 3px 7px; background: var(--surface); border-radius: 5px; }
    .map-heading button { pointer-events: auto; }
  }

  @media (max-width: 850px) {
    .browse-grid { grid-template-columns: minmax(0, 1fr); }
    :is(#map-section, #globe-section) { position: relative; top: auto; }
    .map-canvas { height: 330px; }
  }
  @media (max-width: 560px) {
    .intro { padding-block: 16px 12px; }
    .browse-tools { gap: 6px 8px; }
    .browse-tools .search-field { flex-basis: 160px; }
    .view-switch button { padding-inline: 10px; }
    .map-canvas { height: 295px; }
  }
}

.archive-app {
  .globe-surface {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  .has-texture .globe-surface { display: block; }
  .has-texture #globe { position: relative; }
  .has-texture :is(.globe-sphere, .globe-land, .globe-light) { visibility: hidden; }
  .has-texture .globe-grid { opacity: .045; }
}

.archive-app.earth-room {
  color-scheme: dark;
  --paper: #0b2020;
  --surface: #172f2e;
  --ink: #f4e9d3;
  --muted: #b9c7bd;
  --line: #4b6259;
  --green: #efb66a;
  --on-green: #102322;
  --soft: #1e3835;
  --water: #0c2b34;
  --archive-accent: #f6cd86;
  --archive-display: system-ui, sans-serif;
  background: #0b2020;

  .site-header { border-color: #4b6259; padding-block: 12px; }
  .site-header .brand { color: var(--ink); font-weight: 700; }
  .site-header nav a { color: var(--muted); }
  .site-header nav a:hover { color: var(--green); }
  :is(h1, h2, h3) { font-family: var(--archive-display); font-weight: 750; letter-spacing: -.04em; }
  .intro {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px clamp(30px, 4vw, 60px);
    align-items: center;
    padding-block: 16px 12px;
  }
  .intro h1 {
    font: 750 clamp(36px, 4.5vw, 64px)/1.03 var(--archive-display);
    letter-spacing: -.038em;
    margin: 0;
  }
  .intro > p:last-child {
    max-width: 62ch;
    padding-inline-start: 24px;
    border-inline-start: 1px solid var(--line);
    font-size: clamp(14px, 1.3vw, 18px);
    color: var(--muted);
  }
  :is(input, select, button) { accent-color: var(--green); }
  input::placeholder { color: var(--muted); opacity: .9; }
  .browse-controls { margin-top: 10px; }
  .browse-tools { gap: 8px 12px; }
  .browse-tools input { background: var(--surface); }
  .view-switch button { min-width: 68px; }
  .browse-status { color: var(--muted); }
  .browse-grid { grid-template-columns: minmax(0, 2.15fr) minmax(280px, 1fr); gap: clamp(16px, 2.4vw, 38px); }
  .browse-sidebar { min-width: 0; }
  .globe-canvas {
    border: 0;
    background: radial-gradient(ellipse at 49% 47%, #194347 0%, #0b2020 67%);
  }
  #globe-canvas .map-marker:not(.map-pin) {
    isolation: isolate;
    background: transparent;
    border-color: transparent;
    color: var(--ink);
    font-weight: 700;
    box-shadow: none;
  }
  #globe-canvas .map-marker:not(.map-pin)::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 4px;
    background: #112c2e;
    border: 1.5px solid var(--green);
    border-radius: 50%;
  }
  #globe-canvas .map-marker:not(.map-pin):is(:hover, :focus-visible)::before { background: #375447; }
  #globe-canvas .map-pin::before {
    background: var(--green);
    border-color: #17302b;
    box-shadow: 0 0 0 1px var(--green);
  }
  #globe-canvas .map-pin[aria-pressed=true] { background: #4b3c22; border-color: var(--green); }
  #globe-canvas .map-pin[aria-pressed=true]::before { background: var(--archive-accent); }
  #globe-canvas .map-pin-label { box-shadow: 0 2px 7px #0005; }
  #globe-section .map-heading button { background: var(--paper); }
  #globe-canvas .map-zoom-controls {
    flex-direction: column-reverse;
    gap: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 7px;
    overflow: hidden;
  }
  #globe-canvas .map-zoom-controls button { border: 0; border-radius: 0; background: var(--paper); }
  #globe-canvas .map-zoom-controls button:first-child { border-top: 1px solid var(--line); }
  .place-panel, .record-detail {
    background: transparent;
    border: 0;
    border-inline-start: 1px solid var(--line);
    border-radius: 0;
    padding: 12px 0 20px clamp(16px, 2.6vw, 38px);
  }
  .place-panel h2, .record-place-name {
    margin: 0 0 10px;
    font: 750 clamp(26px, 2.55vw, 37px)/1.1 var(--archive-display);
    letter-spacing: -.018em;
  }
  .record-overview > h2 { font-size: clamp(19px, 2vw, 25px); font-weight: 500; color: var(--muted); }
  .record-summary {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 14px;
    border-top: 1px solid var(--line);
  }
  .record-summary > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
  .record-summary dd { margin: 0; }
  .record-actions { gap: 8px 12px; }
  .record-detail .record-actions .source-action {
    flex: 0 1 auto;
    min-width: min(220px, 100%);
    background: var(--green);
    color: var(--on-green);
    border-color: var(--green);
    font-weight: 700;
  }
  .record-detail .record-actions .source-action:hover { background: var(--archive-accent); }
  .record-detail .record-actions .record-external-action {
    background: transparent;
    border-color: transparent;
    color: var(--ink);
    text-decoration: underline;
  }
  .record-actions button:not(.source-action) { flex-grow: 0; }
  .youtube-viewer iframe { background: #081110; }
  .collection-discovery {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-block: 6px;
    border-bottom: 0;
  }
  .collection-discovery h2 { flex: none; margin: 0; font-size: 15px; }
  .collection-cards { flex: 1; min-width: 0; padding-bottom: 4px; }
  .collection-card { background: transparent; box-shadow: none; border-color: transparent; }
  .collection-card[aria-pressed=true] {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--line);
  }

  @media (min-width: 851px) {
    .browse-sidebar { margin-top: 25px; }
  }
  @media (max-width: 850px) {
    .intro, .browse-grid { grid-template-columns: minmax(0, 1fr); }
    .site-header { padding-block: 9px; }
    .intro { gap: 8px; padding-block: 12px 8px; }
    .intro h1 { font-size: clamp(29px, 7.4vw, 45px); }
    .intro > p:last-child { padding-inline-start: 0; border: 0; }
    .browse-tools .search-field > span {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip-path: inset(50%);
    }
    #globe-section .map-heading { position: absolute; z-index: 3; inset: 4px 4px auto; pointer-events: none; }
    #globe-section .map-heading button { pointer-events: auto; }
    .place-panel, .record-detail {
      border-inline-start: 0;
      border-top: 1px solid var(--line);
      padding: 16px 0 0;
    }
    .collection-discovery { display: block; }
    .collection-discovery h2 { margin: 4px 0; }
    .globe-canvas { height: clamp(275px, 83vw, 435px); }
  }
}

.archive-app {
  .gallery-detail > .browse-sidebar { width: min(100%, 740px); margin: 18px auto 0; }
  .gallery-detail :is(.record-detail, .selected-place) { padding: clamp(16px, 3vw, 32px); }

  .place-panel.selected-place {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: clamp(14px, 1.8vw, 24px);
  }
  .selected-place h2 { margin-bottom: 6px; }
  .selected-place > .eyebrow { color: var(--green); margin-block: 0 7px; }
  .selected-place .record-list { gap: 12px; }
  .selected-place :is(.place-preview, .place-highlight) { margin: 0; }
  .selected-place .place-preview img { max-height: 270px; object-fit: cover; }
  .place-highlight { font-size: 16px; font-weight: 650; }
  .place-editorial { border-top: 1px solid var(--line); padding-top: 13px; font-size: 15px; }
  .place-editorial :is(h3, h4) { font-size: 16px; margin: 0 0 6px; font-weight: 700; }
  .place-editorial p { margin-bottom: 10px; }
  .place-editorial a, .place-story-links a { font-size: 13px; }
  .place-story-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
  .place-recording { border-top: 1px solid var(--line); padding-top: 14px; min-width: 0; }
  .place-recording .eyebrow { margin-bottom: 3px; }
  .place-recording .record-actions { margin-top: 10px; }
  .place-recording .record-actions :is(.source-action, .record-external-action) {
    display: inline-grid;
    place-items: center;
    flex: 0 1 auto;
    margin: 0;
    min-height: 44px;
    width: auto;
    font-size: 14px;
  }
  .place-recording .record-actions .source-action { font-weight: 700; }
  .place-recording .record-action-status:empty { display: none; }
  .place-recording > .muted { margin-bottom: 8px; }
  .place-record-link {
    display: block;
    width: fit-content;
    padding: 6px 0;
    border: 0;
    background: transparent;
    text-align: start;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .place-record-context { margin: 6px 0; font-size: 14px; }
  .place-navigation { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
  .selected-place .place-back { justify-self: start; }
  .place-map-art {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--water);
    border-radius: 5px;
  }
  .place-map-art svg { display: block; width: 100%; height: 100%; }
  .place-map-art circle { fill: #f9c26e; stroke: #17302b; stroke-width: 2; }
  .place-map-art span {
    position: absolute;
    bottom: 7px;
    inset-inline-start: 7px;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    background: #0b2020;
    color: #fff0d6;
  }

  .featured-gallery { padding-block: clamp(16px, 2.8vw, 38px); }
  .featured-gallery h2 { font-size: clamp(25px, 3vw, 39px); margin-bottom: 14px; }
  .featured-gallery h3 { font-size: clamp(19px, 2.2vw, 27px); margin: 18px 0 12px; scroll-margin-top: 24px; }
  .featured-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; }
  .featured-shortcuts button { font-size: 14px; }
  .featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr));
    gap: clamp(12px, 1.4vw, 22px);
    margin-bottom: 26px;
  }
  .featured-tile {
    min-width: 0;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 9px;
    padding: 12px;
  }
  .featured-tile :is(.place-preview, .place-map-art) { margin: 0 0 8px; }
  .featured-tile .place-preview img { aspect-ratio: 16 / 9; object-fit: cover; }
  .featured-tile h4 { margin: 0; }
  .featured-tile > p { margin: 0 0 7px; }
  .featured-tile > p:last-child { margin: 0; }
  .featured-open {
    display: block;
    padding: 4px 0;
    border: 0;
    background: transparent;
    text-align: start;
    font-size: 19px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .featured-open:hover { color: var(--green); }
  .featured-highlight { font-size: 14px; }
  @media (max-width: 460px) {
    .browse-tools .view-switch button { min-width: 0; padding-inline: 8px; }
    .browse-tools .search-field { flex-basis: 100%; }
  }
}

.archive-app {
  .browse-grid.full-globe { grid-template-columns: minmax(0, 1fr); }
  .full-globe #globe-reset { margin-inline-start: auto; }
  .globe-preview {
    position: absolute;
    z-index: 4;
    inset-inline-end: clamp(56px, 5vw, 90px);
    inset-block-start: 50%;
    transform: translateY(-50%);
    width: clamp(224px, 27vw, 370px);
    padding: 12px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 32px #06141090;
  }
  .globe-preview :is(.place-preview, .place-map-art) { margin: 0 0 9px; }
  .globe-preview img { aspect-ratio: 16 / 9; object-fit: cover; }
  .globe-preview h2 { margin-bottom: 4px; font-size: clamp(18px, 2vw, 26px); }
  .globe-preview p { margin-bottom: 8px; }
  .globe-preview-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
  .globe-preview button { font-weight: 700; }

  .memory-window {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: auto;
    color: #fff5df;
    background: #0b2020;
    scroll-padding-top: 80px;
  }
  .memory-window::backdrop { background: transparent; }
  .memory-window-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 100dvh;
    align-items: end;
  }
  .memory-window .place-preview {
    position: relative;
    display: grid;
    min-height: inherit;
    margin: 0;
    align-items: end;
  }
  .memory-window .place-preview img {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
  .memory-window .place-preview img { object-fit: cover; object-position: 52% center; }
  .memory-window .memory-window-caption {
    margin: 0;
    padding: 82px clamp(24px, 4vw, 64px) max(33px, env(safe-area-inset-bottom));
    color: inherit;
    background: linear-gradient(transparent, rgb(7 18 16 / 87%) 45%, #071210);
    font-size: 14px;
  }
  .memory-window-caption h2 {
    max-width: 19ch;
    margin-bottom: 12px;
    font: 750 clamp(36px, 5.5vw, 80px)/1.02 var(--archive-display, system-ui, sans-serif);
    color: inherit;
    text-wrap: balance;
  }
  .memory-window-region { margin-bottom: 12px; font-size: clamp(16px, 2vw, 21px); }
  .memory-window-highlight { max-width: 55ch; margin-bottom: 12px; font-size: clamp(15px, 1.6vw, 19px); }
  .memory-window-credit { margin-bottom: 14px; }
  .memory-window-credit a { color: inherit; }
  .memory-window-shortcuts { display: flex; flex-wrap: wrap; gap: 8px 12px; }
  .memory-window-shortcuts button:not(.primary) { background: #142b2b; }
  .memory-window-header {
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 72px;
    margin-bottom: -72px;
    padding: max(10px, env(safe-area-inset-top)) clamp(24px, 4vw, 64px) 10px;
    background: #0b2020de;
  }
  .memory-window-header p { margin: 0; font-size: 15px; font-weight: 700; }
  .memory-window-identity { min-width: 0; }
  .memory-window-report { display: inline-block; color: #fff5df; font-size: 13px; line-height: 1.4; padding-block: 5px; }
  .memory-window-navigation { display: flex; flex-wrap: wrap; gap: 8px; }
  .memory-window-navigation button { background: #142b2b; color: #fff5df; }
  .memory-window-hero.memory-window-map {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(18px, 4vw, 64px);
    align-items: start;
    min-height: auto;
    max-width: 78rem;
    margin-inline: auto;
    padding: calc(72px + clamp(24px, 4vw, 54px)) clamp(20px, 4vw, 60px) 28px;
  }
  .memory-window-map > .memory-window-caption { padding: 0; background: transparent; }
  .memory-window-map h2 { font-size: clamp(36px, 5vw, 68px); }
  .memory-window-map .memory-window-region { color: var(--muted); }
  .memory-window-map-context > .place-map-art {
    border: 1px solid var(--line);
    border-radius: 10px;
  }
  .memory-window-map-context .place-editorial { margin-top: 20px; }
  .memory-window-map .memory-recordings { margin-top: 24px; }
  .memory-window-details { max-width: 78rem; margin: 0 auto; padding: clamp(24px, 4vw, 60px); }
  .memory-window-loading { padding-top: max(110px, 16svh); }
  .memory-window-details:has(.place-editorial):has(.memory-recordings) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(24px, 5vw, 72px);
  }
  .memory-recordings h3 { font-size: clamp(22px, 3vw, 34px); }
  .memory-window-details .place-editorial { border: 0; padding-top: 0; }
  .memory-window .place-editorial h3 { font-size: clamp(22px, 3vw, 34px); }
  .memory-window .place-editorial > a + h4 { margin-top: 16px; }
  .memory-recordings .place-recording { margin-top: 14px; }
  .memory-recordings h4 { margin: 0 0 8px; }
  .memory-exhibit {
    --exhibit-accent: #9dd9c9;
    --exhibit-panel: #132c2c;
    --exhibit-film: #0b302f;
    max-width: 85rem;
    margin-inline: auto;
    padding: calc(72px + clamp(24px, 4vw, 54px)) clamp(16px, 4vw, 60px) 60px;
  }
  .memory-window:has(.memory-exhibit) .memory-window-header { background: #0b2020; }
  .memory-exhibit[data-theme="dunes"] { --exhibit-accent: #f7c18a; --exhibit-panel: #302a25; --exhibit-film: #3a291f; }
  .memory-exhibit[data-theme="city"] { --exhibit-accent: #f1c3aa; --exhibit-panel: #2a2b35; --exhibit-film: #332934; }
  .memory-exhibit[data-theme="forest"] { --exhibit-accent: #c9dfa5; --exhibit-panel: #1d312c; --exhibit-film: #1a3125; }
  .memory-exhibit-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    flex-wrap: wrap;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
  }
  .memory-exhibit-header h2 {
    max-width: 22ch;
    margin: 0;
    color: inherit;
    font: 750 clamp(34px, 5vw, 68px)/1.04 var(--archive-display, system-ui, sans-serif);
    text-wrap: balance;
  }
  .memory-exhibit-region, .memory-exhibit-date {
    margin-bottom: 7px;
    color: var(--exhibit-accent);
    font: 650 13px/1.4 ui-monospace, monospace;
  }
  .memory-exhibit-journey, .memory-exhibit-timeline, .memory-exhibit-details { margin-top: clamp(26px, 4vw, 50px); }
  .memory-exhibit h3 { margin-bottom: 8px; font-size: clamp(25px, 4vw, 42px); }
  .memory-exhibit-intro { max-width: 65ch; color: var(--muted); }
  .memory-exhibit-prompt { margin: 16px 0 10px; color: var(--exhibit-accent); font-size: 13px; font-weight: 650; }
  .memory-exhibit-scene {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(17rem, 1fr);
    gap: clamp(16px, 3vw, 36px);
    align-items: start;
  }
  .memory-exhibit-display, .memory-exhibit-label {
    min-width: 0;
    background: var(--exhibit-panel);
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  .memory-exhibit-display {
    position: sticky;
    top: 84px;
    z-index: 1;
    padding: 14px;
  }
  .memory-exhibit-display figure { margin: 0; }
  .memory-exhibit-display canvas {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #fff5df44;
    border-radius: 7px;
    background: #283f45;
  }
  .memory-exhibit-display figcaption { margin: 8px 0 0; }
  .memory-exhibit-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
  }
  .memory-exhibit-controls button {
    flex: 1;
    min-height: 44px;
    padding: 6px 9px;
    font-size: 13px;
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--line);
  }
  .memory-exhibit-controls button[aria-current="step"] {
    color: var(--exhibit-accent);
    border-color: var(--exhibit-accent);
    background: #ffffff14;
  }
  .memory-exhibit-chapter {
    min-height: clamp(320px, 62svh, 560px);
    padding-bottom: 22px;
  }
  .memory-exhibit-chapter:focus-visible { outline: none; }
  .memory-exhibit-chapter:focus-visible .memory-exhibit-label { outline: 2px solid var(--exhibit-accent); }
  .memory-exhibit-label { padding: clamp(16px, 2.4vw, 30px); }
  .memory-exhibit-label h4, .memory-exhibit-timeline h4 {
    margin: 0 0 8px;
    font: 700 clamp(18px, 2vw, 24px)/1.2 var(--archive-display, system-ui, sans-serif);
  }
  .memory-exhibit-label a:not(.source-action), .memory-exhibit-timeline a { color: var(--exhibit-accent); }
  .memory-exhibit-object { margin: 18px 0 0; font-weight: 700; }
  .memory-exhibit-record { margin: 18px 0 2px; font-weight: 750; }
  .memory-exhibit-label .record-action-status:empty { display: none; }
  .memory-exhibit-timeline ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 25px;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
  }
  .memory-exhibit-timeline li { border-top: 2px solid var(--exhibit-accent); padding-block: 14px; }
  .memory-exhibit-timeline li > p:not(.memory-exhibit-date) { margin-bottom: 8px; }
  .memory-exhibit-details {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(22px, 4vw, 56px);
    padding-top: 22px;
    border-top: 1px solid var(--line);
  }
  .memory-exhibit-details .place-editorial { border: 0; padding-top: 0; }
  @media (max-width: 760px) {
    .memory-window-hero.memory-window-map,
    .memory-window-details:has(.place-editorial):has(.memory-recordings),
    .memory-exhibit-timeline ol, .memory-exhibit-details { grid-template-columns: minmax(0, 1fr); }
    .memory-exhibit-scene { display: block; }
    .memory-exhibit-display { top: 76px; margin-bottom: 16px; padding: 8px; }
    .memory-exhibit-display figcaption { margin-top: 4px; }
    .memory-exhibit-controls { margin-top: 6px; gap: 4px; }
    .memory-exhibit-chapter { min-height: clamp(285px, 49svh, 420px); }
    .memory-exhibit-chapter :is(a, button):focus-visible { scroll-margin-top: min(290px, 45svh); }
  }
  @media (max-height: 480px), (prefers-reduced-motion: reduce) {
    .memory-exhibit-display { position: static; }
    .memory-exhibit-chapter { min-height: auto; }
    .memory-exhibit-chapter :is(a, button):focus-visible { scroll-margin-top: 84px; }
  }

  .memory-exhibit.memory-exhibit-fullscreen {
    --journey-gutter: clamp(20px, 6vw, 100px);
    max-width: none;
    padding: 0;
  }
  .memory-window:has(.memory-exhibit-fullscreen) { scroll-padding-bottom: max(74px, calc(env(safe-area-inset-bottom) + 54px)); }
  .memory-window:has(.memory-exhibit-fullscreen) .memory-window-header {
    background: linear-gradient(#06191af5, #06191a63);
  }
  .memory-exhibit-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(24px, 5vw, 72px);
    max-width: 84rem;
    margin-inline: auto;
    padding: calc(72px + clamp(20px, 4vw, 56px)) var(--journey-gutter) clamp(30px, 6vw, 80px);
  }
  .memory-window .memory-exhibit-lead > .place-preview { display: block; }
  .memory-window .memory-exhibit-lead > .place-preview img {
    position: static;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
  }
  .memory-exhibit-lead .place-preview figcaption a { color: inherit; }
  .memory-exhibit-lead .memory-exhibit-recordings > h3 { font-size: clamp(20px, 2.2vw, 28px); }
  .memory-exhibit-recording-cards { display: grid; gap: 10px; }
  .memory-exhibit-recording-cards .memory-immersive-recording { margin: 0; }
  .memory-recording-cue { margin-bottom: 6px; }
  .memory-exhibit-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
  .memory-exhibit-shortcuts button:not(.primary), .memory-chapter-recording { background: #142b2b; }
  .memory-chapter-recording { margin-top: 16px; }
  .memory-exhibit-fullscreen .memory-exhibit-journey { margin-top: 0; }
  .memory-exhibit-fullscreen .memory-exhibit-scene { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .memory-exhibit-fullscreen :is(.memory-exhibit-display, .memory-exhibit-chapters) { grid-area: 1 / 1; }
  .memory-exhibit-fullscreen .memory-exhibit-display {
    top: 0;
    z-index: 0;
    height: 100dvh;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #12333d;
  }
  .memory-exhibit-fullscreen .memory-exhibit-display :is(figure, .memory-exhibit-frame) { height: 100%; }
  .memory-exhibit-fullscreen .memory-exhibit-display figure::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, #06191ab3, transparent 80%),
      linear-gradient(0deg, #051c21ec, transparent 36%);
  }
  .memory-exhibit-fullscreen .memory-exhibit-display canvas { height: 100%; border: 0; border-radius: 0; }
  .memory-exhibit-fullscreen .memory-exhibit-display figcaption {
    position: absolute;
    right: var(--journey-gutter);
    bottom: max(76px, calc(env(safe-area-inset-bottom) + 70px));
    z-index: 1;
    color: #fff5df;
    text-shadow: 0 1px 4px #001113;
  }
  .memory-exhibit-fullscreen .memory-exhibit-controls {
    grid-area: 1 / 1;
    position: sticky;
    z-index: 2;
    align-self: start;
    justify-self: end;
    top: calc(100dvh - 44px - max(18px, env(safe-area-inset-bottom)));
    width: min(360px, calc(100% - 2 * var(--journey-gutter)));
    margin: 0 var(--journey-gutter);
  }
  .memory-exhibit-fullscreen .memory-exhibit-controls button { background: #0a2429ef; color: #fff5df; }
  .memory-exhibit-fullscreen .memory-exhibit-controls button[aria-current="step"] {
    background: var(--exhibit-accent);
    border-color: var(--exhibit-accent);
    color: #0b2425;
  }
  .memory-exhibit-fullscreen .memory-exhibit-chapters { z-index: 1; pointer-events: none; }
  .memory-exhibit-fullscreen :is(.memory-exhibit-opening, .memory-exhibit-chapter) {
    display: grid;
    min-height: 100svh;
    align-content: start;
    justify-items: start;
    padding: max(125px, 25svh) var(--journey-gutter) 120px;
  }
  .memory-exhibit-fullscreen .memory-exhibit-opening { align-content: center; }
  .memory-exhibit-fullscreen .memory-exhibit-journey-opening { min-height: 54svh; }
  .memory-exhibit-fullscreen .memory-exhibit-header {
    display: grid;
    align-items: start;
    gap: 16px;
    width: fit-content;
    border: 0;
    padding: 0 0 22px;
  }
  .memory-exhibit-fullscreen .memory-exhibit-header button { justify-self: start; }
  .memory-exhibit-fullscreen .memory-exhibit-introduction { max-width: 34rem; }
  .memory-exhibit-fullscreen .memory-exhibit-intro { color: inherit; }
  .memory-exhibit-fullscreen .memory-exhibit-prompt { margin-bottom: 0; }
  .memory-exhibit-fullscreen :is(.memory-exhibit-introduction, .memory-exhibit-header, .memory-exhibit-label) {
    pointer-events: auto;
  }
  .memory-exhibit-fullscreen .memory-exhibit-opening { text-shadow: 0 2px 16px #001113, 0 1px 4px #001113; }
  .memory-exhibit-fullscreen .memory-exhibit-label {
    width: min(100%, 30rem);
    background: color-mix(in srgb, var(--exhibit-panel) 95%, transparent);
    border-color: color-mix(in srgb, var(--exhibit-accent) 35%, transparent);
    box-shadow: 0 16px 48px #0214176b;
  }
  .memory-exhibit-fullscreen .memory-exhibit-label h4 { font-size: clamp(23px, 3vw, 36px); }
  .memory-exhibit-fullscreen .memory-exhibit-chapter :is(a, button):focus-visible { scroll-margin-top: 8px; }
  .memory-exhibit-fullscreen .memory-exhibit-gallery {
    display: grid;
    min-height: 85svh;
    align-content: start;
    justify-items: start;
    padding: max(120px, 20svh) var(--journey-gutter) max(104px, 14svh);
  }
  .memory-exhibit-fullscreen .memory-exhibit-gallery:has(.memory-exhibit-timeline, .place-editorial) { justify-items: end; }
  .memory-exhibit-fullscreen .memory-exhibit-gallery > .memory-exhibit-label {
    width: min(100%, 39rem);
    margin: 0;
    padding: clamp(20px, 4vw, 44px);
  }
  .memory-exhibit-fullscreen .memory-exhibit-gallery h3 { margin-bottom: 18px; }
  .memory-exhibit-fullscreen .memory-exhibit-gallery h4 { font-size: clamp(18px, 2vw, 24px); }
  .memory-exhibit-fullscreen .memory-exhibit-gallery:has(.memory-exhibit-resources) {
    min-height: auto;
    padding-bottom: 26px;
  }
  .memory-exhibit-fullscreen .memory-exhibit-gallery:has(.memory-exhibit-resources) + .memory-exhibit-gallery {
    padding-top: 20px;
  }
  .memory-exhibit-resources ul { list-style: none; margin: 0 0 18px; padding: 0; }
  .memory-exhibit-resources li, .memory-related-exhibit { border-top: 1px solid var(--line); padding-top: 14px; }
  .memory-exhibit-resources li + li { margin-top: 14px; }
  .memory-exhibit-resources h4 { margin-bottom: 5px; }
  .memory-related-exhibit > p { margin-bottom: 12px; }
  .memory-exhibit-fullscreen .memory-exhibit-gallery:has(.memory-exhibit-resources) + .memory-exhibit-closing {
    min-height: auto;
    padding-block: 32px 56px;
  }
  .memory-exhibit-fullscreen .memory-exhibit-timeline ol { grid-template-columns: minmax(0, 1fr); }
  .memory-exhibit-fullscreen .memory-exhibit-timeline li { border-top: 1px solid var(--line); }
  .memory-immersive-recording {
    margin-top: 22px;
    padding: clamp(12px, 2vw, 20px);
    border: 1px solid color-mix(in srgb, var(--exhibit-accent) 65%, transparent);
    border-radius: 10px;
    background: var(--exhibit-film);
  }
  .memory-immersive-format {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--exhibit-accent);
    font-weight: 750;
    font-size: 14px;
  }
  .memory-immersive-icon {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 17px;
  }
  .memory-exhibit-fullscreen .memory-immersive-recording h4 { font-size: clamp(19px, 2vw, 26px); }
  .memory-immersive-recording [data-inline-watch] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .memory-immersive-recording [data-inline-watch]::before {
    content: '';
    display: inline-block;
    margin-right: 0.55em;
    border: 0.33em solid transparent;
    border-right: 0;
    border-left: 0.5em solid currentColor;
  }
  .memory-scene-plate {
    position: relative;
    margin: 12px 0;
    overflow: hidden;
    border: 1px solid #90d9c45e;
    border-radius: 8px;
    background: #132c2c;
  }
  .memory-scene-plate canvas { display: block; width: 100%; height: auto; }
  .memory-archive-plate img { display: block; width: 100%; height: auto; }
  .memory-archive-plate > p { padding: 12px; }
  .memory-scene-plate figcaption {
    position: absolute;
    bottom: 6px;
    right: 6px;
    padding: 3px 7px;
    border-radius: 4px;
    background: #06191aee;
    color: #fff5df;
    font-size: 11px;
  }
  .memory-scene-plate.memory-visual-plate figcaption {
    position: static;
    padding: 8px 12px;
    border-radius: 0;
    line-height: 1.5;
    font-size: 12px;
  }
  .memory-exhibit-display[data-era="0"] canvas, [data-era="0"] .memory-scene-plate:not(.memory-visual-plate) canvas {
    filter: sepia(.75) saturate(.75);
  }
  .memory-exhibit-display[data-era="1"] canvas, [data-era="1"] .memory-scene-plate:not(.memory-visual-plate) canvas {
    filter: saturate(.6);
  }
  .memory-exhibit-fullscreen .memory-exhibit-timeline li { padding-block: 16px 26px; }
  .memory-exhibit-timeline li button { display: block; margin-top: 12px; }
  .memory-field-topic { border-top: 1px solid var(--line); padding: 14px 0; }
  .memory-field-topic:last-child { padding-bottom: 0; }
  .memory-field-topic .memory-exhibit-date { margin-bottom: 6px; color: var(--exhibit-accent, #bce7db); }
  .memory-exhibit-fullscreen .memory-exhibit-gallery :is(a, button, summary):focus-visible { scroll-margin-bottom: 84px; }
  .memory-exhibit-fullscreen .memory-exhibit-closing {
    display: grid;
    min-height: 65svh;
    place-items: center;
    padding: 100px var(--journey-gutter);
  }
  .memory-exhibit-closing button { pointer-events: auto; }
  @media (max-width: 760px) {
    .memory-exhibit-lead { grid-template-columns: minmax(0, 1fr); }
    .memory-window .memory-exhibit-lead > .place-preview img { aspect-ratio: 16 / 9; }
    .memory-exhibit-fullscreen .memory-exhibit-display figure::after {
      background: linear-gradient(90deg, #06191a8c, #06191a26), linear-gradient(0deg, #051c21ec, transparent 30%);
    }
    .memory-exhibit-fullscreen :is(.memory-exhibit-opening, .memory-exhibit-chapter) { padding-top: max(100px, 19svh); }
    .memory-exhibit-fullscreen .memory-exhibit-gallery { padding-top: max(100px, 16svh); }
  }
  @media (max-height: 480px), (prefers-reduced-motion: reduce) {
    .memory-exhibit-fullscreen .memory-exhibit-display { position: relative; height: clamp(200px, 54vh, 480px); }
    .memory-exhibit-fullscreen .memory-exhibit-chapters { grid-area: 2 / 1; }
    .memory-exhibit-fullscreen .memory-exhibit-controls {
      position: relative;
      top: auto;
      align-self: end;
      margin-bottom: 18px;
    }
    .memory-exhibit-fullscreen :is(.memory-exhibit-opening, .memory-exhibit-chapter, .memory-exhibit-gallery, .memory-exhibit-closing) {
      min-height: auto;
      padding-block: 24px;
    }
  }

  @media (max-width: 680px) {
    .memory-exhibit { padding-top: 88px; }
    .memory-exhibit-header { padding-bottom: 14px; }
    .memory-exhibit-journey { margin-top: 22px; }
    .globe-preview {
      display: grid;
      grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
      align-items: center;
      gap: 9px;
      inset: auto 60px 10px 8px;
      transform: none;
      width: auto;
      padding: 8px;
    }
    .globe-preview :is(.place-preview, .place-map-art) { margin: 0; }
    .globe-preview figcaption { font-size: 11px; }
    .globe-preview h2 { font-size: clamp(15px, 4vw, 20px); }
    .globe-preview button { padding-inline: 8px; font-size: 13px; }
    .memory-window-header { padding-inline: 16px; }
    .memory-window .memory-window-caption { padding-inline: 18px; }
    .memory-window-map > .memory-window-caption { padding-inline: 0; }
    .memory-window-caption h2 { font-size: clamp(30px, 9vw, 42px); }
    .memory-window-navigation button { padding-inline: 8px; font-size: 13px; }
  }
  @media (max-width: 410px) {
    .memory-window-header p { display: none; }
    .memory-window-navigation { width: 100%; justify-content: space-between; }
  }
}

.archive-app {
  --coverage-line: #f8cf88;
  --coverage-sparse: #d3b269;
  --coverage-moderate: #78bda8;
  --coverage-dense: #5ee1b8;

  .coverage-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
  }
  .coverage-panel label { display: grid; gap: 3px; max-width: 100%; }
  .coverage-panel label span { font-size: 13px; font-weight: 650; }
  .coverage-panel select { min-height: 44px; max-width: 100%; }
  .coverage-panel :is(p, ul) { margin: 0; }
  .coverage-key { display: flex; flex-wrap: wrap; list-style: none; padding: 0; gap: 5px 12px; font-size: 13px; }
  .coverage-key li { display: flex; align-items: center; gap: 5px; }
  .coverage-key-swatch { width: 15px; height: 12px; border: 1px solid var(--line); border-radius: 2px; }
  .coverage-key-none { background: repeating-linear-gradient(135deg, #4c3f28 0 2px, var(--coverage-line) 2px 3px, #4c3f28 3px 5px); }
  .coverage-key-sparse { background: var(--coverage-sparse); }
  .coverage-key-moderate { background: var(--coverage-moderate); }
  .coverage-key-dense { background: var(--coverage-dense); }
  .coverage-summary { flex-basis: 100%; font-size: 14px; font-weight: 650; }
  .coverage-summary:empty { display: none; }

  .coverage-country {
    vector-effect: non-scaling-stroke;
    stroke: #132b2e;
    stroke-width: .8;
  }
  .coverage-country.coverage-none { fill: url("#globe-coverage-hatch"); stroke: #cdb071b0; }
  #map .coverage-country.coverage-none { fill: url("#map-coverage-hatch"); }
  .coverage-country.coverage-sparse { fill: var(--coverage-sparse); fill-opacity: .46; }
  .coverage-country.coverage-moderate { fill: var(--coverage-moderate); fill-opacity: .36; }
  .coverage-country.coverage-dense { fill: var(--coverage-dense); fill-opacity: .47; }
  .coverage-country.coverage-selected { stroke: #fff2c5; stroke-width: 2; }
  :is(#map-coverage-hatch, #globe-coverage-hatch) path { fill: none; stroke: var(--coverage-line); stroke-opacity: .65; stroke-width: 1; }

  #map-canvas.coverage-active .map-land { opacity: .52; }
  .coverage-active .map-marker:not(.map-pin) { box-shadow: 0 0 15px #83e7ba68; }
  #globe-canvas.coverage-active .map-marker:not(.map-pin)::before { box-shadow: 0 0 15px #83e7ba68; }
  .coverage-pulse {
    position: absolute;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 2px solid var(--coverage-line);
    border-radius: 50%;
    pointer-events: none;
    animation: coverage-gap-pulse 800ms cubic-bezier(.15,.55,.25,1) both;
  }
  @media (prefers-reduced-motion: reduce) {
    .coverage-pulse { visibility: hidden; }
  }
}

@keyframes coverage-gap-pulse {
  from { transform: translate(-50%, -50%) scale(.5); opacity: 1; }
  to { transform: translate(-50%, -50%) scale(3.4); opacity: 0; }
}


.archive-app {
  .museum-sections {
    display: flex;
    flex: 1 0 100%;
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }
  .museum-sections button {
    padding: 5px 3px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    font-weight: 650;
  }
  .museum-sections button[aria-pressed="true"] {
    border-bottom-color: var(--archive-accent, var(--green));
    color: var(--ink, inherit);
  }
  #list-view { white-space: nowrap; }
  .place-directory .record-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .place-directory-more { justify-self: start; grid-column: 1 / -1; }
  .featured-journey { justify-self: start; margin-top: 8px; color: var(--green); }

  .coverage-labels { pointer-events: none; }
  .coverage-labels line { stroke: #ffe0a0; stroke-width: 1; opacity: .75; }
  .coverage-labels text {
    fill: #fff1cf;
    stroke: #172a2c;
    stroke-width: 3px;
    stroke-linejoin: round;
    paint-order: stroke;
    text-anchor: middle;
    dominant-baseline: central;
    font: 650 12px/1 system-ui, sans-serif;
  }
  .coverage-labels .coverage-name-selected { fill: #ffe0a0; font-weight: 800; }
  @media (max-width: 540px) {
    .place-directory .record-list { grid-template-columns: minmax(0, 1fr); }
    .browse-tools #list-view { padding-inline: 9px; }
  }
}


.archive-app {
  .geographic-toolbar {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--line);
  }
  .browse-grid:has(> .geographic-toolbar:not([hidden])) { row-gap: 8px; }
  .browse-grid:has(> :is(#map-section, #globe-section):not([hidden])) .geographic-toolbar {
    position: sticky;
    top: 0;
    z-index: 6;
    background: var(--paper);
  }
  :is(#map-section, #globe-section) { position: relative; top: auto; }
  :is(#map-canvas, #globe-canvas) { height: max(260px, calc(100svh - 64px)); }
}

.archive-app {
  .geographic-actions { display: flex; align-items: center; gap: 6px; }
  &:not(.earth-room) .museum-nav { display: none; }
}

.archive-app.earth-room {
  --museum-accent: #edc891;
  .research-nav { display: none; }
  .site-header nav a[aria-current] { color: var(--ink); text-decoration: underline; }
  &:has(.museum-landing:not([hidden])) {
    background: radial-gradient(ellipse at 72% 10%, #203a33, transparent 47rem), var(--paper);
  }
  &:has(#museum-explore-heading:not([hidden])) .archive-explore .intro { display: none; }
  .museum-explore-heading {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px 22px;
    padding-block: 16px 10px;
  }
  .museum-explore-heading h1 { margin: 0; font-size: clamp(24px, 3vw, 35px); }
  .museum-explore-heading a { font-size: 14px; }
  .geographic-toolbar button { min-width: 0; }
  .geographic-toolbar, .geographic-actions { flex-wrap: wrap; }
  .museum-intro { margin-block: 30px 24px; }
  :is(.museum-intro, .museum-landing, .museum-photo-dialog) :is(h1, h2, h3) {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
  }
  .museum-intro h1 { font-size: clamp(36px, 5.2vw, 68px); letter-spacing: -.05em; margin: 0 0 6px; }
  .museum-intro p { color: var(--muted); margin: 0; }
  .museum-stage { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 26px); }
  .museum-spotlight {
    display: grid;
    align-content: end;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(340px, 32vw, 440px);
    background: #1c343c;
    border-radius: 12px;
  }
  .museum-spotlight-photo { margin: 0; position: absolute; inset: 0; z-index: -1; }
  .museum-spotlight-photo picture { display: block; width: 100%; height: 100%; }
  .museum-spotlight-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 54%; }
  .museum-spotlight-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(72deg, #081818f8 2%, #10232080 54%, transparent 82%),
      linear-gradient(0deg, #0c1b1b9e, transparent 45%);
  }
  .museum-spotlight-photo figcaption {
    position: absolute;
    z-index: 1;
    bottom: 8px;
    right: 12px;
    padding: 1px 5px;
    color: var(--ink);
    background: #102220d9;
    border-radius: 3px;
    font-size: 11px;
  }
  .museum-spotlight-copy { padding: clamp(22px, 4vw, 54px); }
  .museum-kicker {
    margin: 0 0 6px;
    color: var(--museum-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
  }
  .museum-spotlight h2 { font-size: clamp(42px, 5.65vw, 80px); letter-spacing: -.04em; margin: 0 0 8px; }
  .museum-spotlight-copy p:not(.museum-kicker) { margin-bottom: 18px; }
  :is(.museum-landing, .museum-photo-dialog) .primary {
    color: #19211b;
    background: var(--museum-accent);
    border-color: var(--museum-accent);
  }
  :is(.museum-landing, .museum-photo-dialog) .primary:hover:not(:disabled) { background: #ffe1ae; }
  .museum-globe {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #0d1c21;
    border: 1px solid #375250;
    border-radius: 12px;
    padding: 22px 14px;
    min-width: 0;
    text-align: center;
  }
  .museum-globe h2 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); }
  .museum-globe > a:last-child { margin-top: 4px; font-size: 14px; color: var(--muted); }
  .museum-globe-frame { position: relative; width: 100%; height: clamp(156px, 17vw, 220px); cursor: grab; touch-action: pan-y; }
  .museum-globe-frame:active { cursor: grabbing; }
  .museum-globe-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
  .museum-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    min-height: 44px;
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 7px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.25;
    text-decoration: none;
  }
  .museum-action:hover { border-color: var(--museum-accent); }
  .museum-shuffle, .museum-contribute {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-block: 16px;
    margin-block: 25px;
    border-block: 1px solid var(--line);
  }
  .museum-shuffle h2, .museum-contribute h2 { margin: 0; font-size: 25px; }
  .museum-shuffle p, .museum-contribute p { margin: 4px 0 0; color: var(--muted); max-width: 58ch; }
  #museum-shuffle-status:empty { display: none; }
  .museum-shuffle-controls, .museum-contribute-actions { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; }
  .museum-shuffle-controls { flex-wrap: nowrap; }
  .museum-shuffle-controls label { width: 142px; }
  .museum-shuffle-controls button { flex: none; font-size: 14px; }
  .museum-featured {
    padding: clamp(14px, 2.1vw, 26px);
    background: color-mix(in srgb, var(--surface) 38%, transparent);
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  .museum-featured > h2 { font-size: clamp(28px, 3.5vw, 42px); margin-bottom: 16px; }
  .museum-featured-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .museum-featured-card { min-width: 0; }
  .museum-featured-card figure { margin: 0; }
  .museum-featured-card button {
    display: block;
    width: 100%;
    padding: 0;
    text-align: start;
    background: none;
    border: 0;
  }
  .museum-featured-card button:hover:not(:disabled) { box-shadow: none; }
  .museum-featured-card button:hover:not(:disabled) h3 { text-decoration: underline; color: var(--museum-accent); }
  .museum-featured-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 7px; background: var(--surface); }
  .museum-featured-card h3 { font-size: clamp(20px, 2vw, 29px); margin: 9px 0 3px; letter-spacing: -.02em; }
  .museum-featured-card p { color: var(--muted); font-size: 14px; margin: 0; }
  :is(.museum-featured-card, .museum-photo-dialog) figcaption { margin-top: 5px; font-size: 11px; color: var(--muted); }
  :is(.museum-featured-card, .museum-photo-dialog) figcaption a { color: inherit; }
  .museum-featured-more { margin-top: 14px; border-top: 1px solid var(--line); }
  .museum-featured-more summary { cursor: pointer; min-height: 44px; padding-block: 12px; width: fit-content; font-weight: 650; }
  .museum-featured-more[open] #museum-gallery { padding-top: 8px; }
  .museum-contribute { padding-block: 22px; }
  &:has(.museum-landing:not([hidden])) .about { margin-top: 15px; border-top: 0; padding-top: 12px; }
  .museum-photo-dialog {
    width: min(94vw, 640px);
    max-height: 90dvh;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: clamp(14px, 3vw, 24px);
  }
  .museum-photo-dialog::backdrop { background: #050f10d9; }
  .museum-photo-dialog .museum-photo-bar { display: flex; justify-content: end; margin-bottom: 8px; }
  .museum-photo-dialog h2 { font-size: clamp(29px, 4vw, 45px); margin-bottom: 6px; }
  .museum-photo-dialog h3 { margin-top: 16px; margin-bottom: 6px; }
  .museum-photo-dialog figure { margin: 0; }
  .museum-photo-dialog img { display: block; width: 100%; max-height: 41dvh; object-fit: cover; border-radius: 8px; }
  .museum-memory-lead .place-preview { display: block; }
  .museum-memory-lead .place-preview img { position: static; height: auto; border-radius: 8px; }
  .museum-memory-lead .place-preview figcaption a { color: inherit; }
  @media (max-width: 820px) {
    .museum-stage { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
    .museum-featured-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 640px) {
    .museum-intro { margin-block: 22px 17px; }
    .museum-stage { grid-template-columns: minmax(0, 1fr); }
    .museum-spotlight { min-height: 300px; }
    .museum-globe { padding-block: 15px; }
    .museum-globe-frame { height: 176px; }
    .museum-shuffle-controls { flex-wrap: wrap; }
    .museum-shuffle-controls label { width: 110px; }
    .museum-featured-cards { gap: 16px 10px; }
    .geographic-toolbar :is(.geographic-actions button, .view-switch button, #shuffle-place) { padding-inline: 8px; font-size: 13px; }
  }
}
