:root {
  --ink: #102a33;
  --ink-2: #294650;
  --paper: #f6f4ee;
  --paper-2: #ecebe4;
  --white: #fffdf8;
  --line: #d5dcd8;
  --muted: #6c7d80;
  --teal: #0d7475;
  --teal-light: #d8e9e5;
  --coral: #eb735b;
  --gold: #e9b95e;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 14px; line-height: 1.55; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 48px; min-height: 72px; padding: 0 5vw; background: rgba(246,244,238,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 188px; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--serif); font-size: 19px; }
.brand b, .brand small { display: block; line-height: 1; }
.brand b { font-size: 13px; letter-spacing: .02em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.site-nav { display: flex; align-self: stretch; gap: 27px; }
.site-nav a { display: grid; place-items: center; border-bottom: 2px solid transparent; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.site-nav a:hover { border-color: var(--coral); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-button, .outline-button, .text-button, .small-button, .edit-link { border: 0; background: transparent; color: var(--ink); }
.icon-button { width: 33px; height: 33px; border: 1px solid var(--line); border-radius: 50%; color: var(--teal); }
.outline-button { padding: 9px 12px; border: 1px solid var(--ink); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.outline-button:hover, .outline-button.active { background: var(--ink); color: var(--white); }
.atlas-hero { display: grid; grid-template-columns: minmax(310px, 35%) minmax(0, 65%); min-height: 690px; background: var(--ink); color: var(--white); }
.atlas-intro { display: flex; flex-direction: column; justify-content: center; padding: 7vw 4vw 6vw 7vw; }
.eyebrow { margin: 0 0 14px; color: var(--coral); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.03em; }
h1 { max-width: 440px; font-size: clamp(56px, 6vw, 92px); }
h2 { font-size: clamp(44px, 5vw, 76px); }
h1 em, h2 em { color: #f3b2a3; font-style: italic; }
.intro-copy { max-width: 340px; margin: 29px 0 30px; color: #b9c9cb; font-size: 14px; }
.hero-actions, .story-actions, .edit-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; }
.primary-button { display: inline-flex; align-items: center; gap: 9px; padding: 13px 16px; border: 0; background: var(--coral); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.primary-button:hover { background: #f2876d; }
.button-icon { display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; font-size: 8px; }
.text-button { padding: 5px 0; color: inherit; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.text-button:hover { color: var(--coral); }
.text-button span { margin-left: 5px; color: var(--coral); }
.hero-readout { max-width: 320px; margin-top: 53px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.2); }
.readout-label { display: block; color: #93a9ad; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.hero-readout strong { display: block; margin: 1px 0 4px; color: #fff; font-family: var(--serif); font-size: 34px; font-weight: 400; }
.hero-readout input { width: 100%; accent-color: var(--coral); }
.slider-labels { display: flex; justify-content: space-between; color: #8ea4a8; font-size: 9px; letter-spacing: .1em; }
.map-shell { position: relative; min-height: 690px; overflow: hidden; background: #b7d2d0; }
.world-map, .story-map { width: 100%; height: 100%; min-height: inherit; background: #bfd8d3; }
.leaflet-container { background: #bfd8d3; font-family: var(--sans); }
.leaflet-tile { filter: saturate(.72) sepia(.08) brightness(1.05); }
.leaflet-control-zoom { display: none; }
.map-toolbar { position: absolute; z-index: 5; top: 22px; right: 24px; display: flex; align-items: center; gap: 5px; padding: 5px; background: rgba(255,253,248,.9); }
.map-mode { padding: 7px 10px; border: 0; background: transparent; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.map-mode.active, .map-mode:hover { background: var(--ink); color: #fff; }
.map-toolbar label { display: flex; align-items: center; gap: 5px; padding: 0 7px; color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.map-toolbar select { border: 0; background: transparent; color: var(--ink); font-size: 10px; }
.map-note, .map-credit { position: absolute; z-index: 5; bottom: 25px; color: var(--ink); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.map-note { left: 25px; display: flex; align-items: center; gap: 7px; }
.map-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(235,115,91,.18); }
.map-credit { right: 23px; color: rgba(16,42,51,.65); font-size: 8px; }
.custom-marker { width: 14px !important; height: 14px !important; margin-left: -7px !important; margin-top: -7px !important; border: 3px solid #fff; border-radius: 50%; background: var(--coral); box-shadow: 0 1px 7px rgba(16,42,51,.35); }
.custom-marker.future { background: var(--gold); }
.custom-marker.active { width: 19px !important; height: 19px !important; margin-left: -9.5px !important; margin-top: -9.5px !important; border-width: 4px; background: var(--teal); }
.place-hub-icon { display: grid !important; place-items: center; border: 0; background: transparent; }
.place-hub-count { display: grid; place-items: center; width: 34px; height: 34px; border: 3px solid #fff; border-radius: 50%; background: var(--coral); color: #fff; box-shadow: 0 3px 14px rgba(16,42,51,.35); font-size: 11px; font-weight: 900; }
.place-hub-icon:hover .place-hub-count { background: var(--teal); transform: scale(1.12); }
.place-preview { position: absolute; z-index: 8; top: 82px; right: 24px; bottom: 60px; width: min(360px, calc(100% - 48px)); overflow: auto; padding: 24px; border: 1px solid rgba(255,255,255,.55); border-radius: 18px; background: rgba(255,253,248,.96); box-shadow: 0 18px 45px rgba(16,42,51,.22); }
.place-preview-close { position: absolute; top: 12px; right: 14px; width: 25px; height: 25px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; }
.place-preview h3 { margin: 4px 26px 4px 0; color: var(--ink); font-family: var(--serif); font-size: 34px; font-weight: 400; }
.place-preview-meta { margin: 0 0 15px; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.place-preview-grid { display: grid; gap: 8px; }
.place-trip-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 11px; align-items: center; width: 100%; padding: 7px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); color: var(--ink); text-align: left; }
.place-trip-card:hover { border-color: var(--coral); background: #fff7ed; }
.place-trip-card img { width: 76px; height: 60px; border-radius: 7px; object-fit: cover; }
.place-trip-card b, .place-trip-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.place-trip-card b { font-size: 12px; }
.place-trip-card small { margin-top: 4px; color: var(--muted); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.place-fallback-map { position: relative; overflow: hidden; background: #d8e8e5; }
.place-fallback-map::before, .place-fallback-map::after { position: absolute; content: ''; border: 1px solid rgba(16,42,51,.14); border-radius: 48% 52% 43% 57%; background: rgba(255,253,248,.42); transform: rotate(-9deg); }
.place-fallback-map::before { top: 14%; left: 7%; width: 31%; height: 42%; }
.place-fallback-map::after { top: 17%; left: 49%; width: 38%; height: 55%; transform: rotate(13deg); }
.place-fallback-heading { position: absolute; z-index: 1; top: 26px; left: 28px; display: grid; gap: 5px; color: var(--ink); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.place-fallback-heading b { color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .08em; }
.place-fallback-marker { position: absolute; z-index: 2; display: flex; align-items: center; gap: 5px; padding: 0; border: 0; background: transparent; color: var(--ink); transform: translate(-50%, -50%); }
.place-fallback-marker span { display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid #fff; border-radius: 50%; background: var(--coral); color: #fff; box-shadow: 0 2px 8px rgba(16,42,51,.3); font-size: 10px; font-weight: 900; }
.place-fallback-marker b { display: none; padding: 4px 6px; border-radius: 6px; background: rgba(255,253,248,.92); font-size: 9px; white-space: nowrap; }
.place-fallback-marker:hover b, .place-fallback-marker:focus b { display: block; }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); padding: 25px 7vw; background: var(--white); border-bottom: 1px solid var(--line); }
.stat-strip div { display: flex; align-items: baseline; gap: 12px; padding: 0 25px; border-right: 1px solid var(--line); }
.stat-strip div:first-child { padding-left: 0; }
.stat-strip div:last-child { border-right: 0; }
.stat-strip strong { font-family: var(--serif); font-size: 35px; font-weight: 400; }
.stat-strip span, .view-controls, .detail-gallery-heading span:last-child { color: var(--muted); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.chronik-section, .compare-section { width: min(1180px, 88vw); margin: 0 auto; padding: 112px 0 125px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 47px; }
.section-heading.compact { margin-bottom: 38px; }
.section-tools { width: 330px; }
.section-tools > p, .compare-copy { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.search-field { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--ink); }
.search-field span { color: var(--coral); font-size: 19px; line-height: 1; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.archive-controls { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.filter-tab { padding: 8px 10px; border: 0; background: transparent; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.filter-tab span { margin-left: 4px; color: #9aa9aa; }
.filter-tab.active, .filter-tab:hover { background: var(--teal-light); color: var(--ink); }
.view-controls { display: flex; align-items: center; gap: 15px; white-space: nowrap; }
.small-button { padding: 7px 9px; border: 1px solid var(--line); color: var(--teal); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.small-button.active { background: var(--teal); color: #fff; }
.year-navigation { display: grid; grid-template-columns: 38px minmax(0, 1fr) 38px; align-items: center; gap: 8px; padding-top: 10px; }
.year-rail { display: flex; gap: 22px; overflow-x: auto; padding: 13px 4px 15px; scroll-behavior: smooth; scroll-snap-type: x proximity; scrollbar-width: thin; }
.year-button { flex: 0 0 auto; padding: 0 0 6px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #9aa7a8; font-family: var(--serif); font-size: 18px; text-decoration: none; cursor: pointer; }
.year-button { scroll-snap-align: center; }
.year-button.active, .year-button:hover { border-color: var(--coral); color: var(--ink); }
.year-button.year-all { position: sticky; left: 0; z-index: 2; min-width: 82px; padding: 3px 9px 7px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); font-family: var(--sans); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.year-button.year-all.active { border-color: #38bdf8; background: #e0f2fe; color: #075985; box-shadow: 8px 0 16px rgba(255,255,255,.92); }
.chronik-section { scroll-margin-top: 110px; }
.year-scroll-button { width: 38px; height: 38px; border: 1px solid var(--line); background: var(--white); color: var(--teal); font-size: 19px; line-height: 1; }
.year-scroll-button:hover:not(:disabled) { border-color: var(--coral); color: var(--coral); }
.year-scroll-button:disabled { cursor: default; opacity: .28; }
.archive-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; }
.journey-card { min-width: 0; background: transparent; }
.journey-card.size-large { grid-column: span 2; }
.journey-card.size-large .card-image-button { aspect-ratio: 16 / 10; }
.journey-card.size-small .card-image-button { aspect-ratio: 1 / 1; }
.journey-card.size-small .card-body h3 { font-size: 18px; }
.card-image-button { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; overflow: hidden; background: var(--paper-2); }
.card-image-button img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card-image-button:hover img { transform: scale(1.045); }
.card-type { position: absolute; top: 11px; left: 11px; padding: 5px 7px; background: rgba(255,253,248,.92); color: var(--teal); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.card-edit { position: absolute; top: 10px; right: 10px; padding: 6px 7px; border: 0; background: var(--ink); color: #fff; font-size: 9px; opacity: 0; transition: opacity .2s ease; }
.journey-card:hover .card-edit, body.admin-mode .card-edit, body.admin-authenticated .card-edit { opacity: 1; }
.card-favorite { position: absolute; right: 10px; bottom: 10px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(255,253,248,.92); color: var(--coral); }
.card-body { padding-top: 12px; }
.card-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--coral); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.card-meta span:last-child { overflow: hidden; color: var(--muted); font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.card-body h3 { margin: 8px 0 4px; font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 1.03; }
.card-body p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); font-size: 11px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.load-more { display: block; margin: 50px auto 0; padding: 10px 13px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.load-more:hover { background: var(--ink); color: #fff; }
.story-section, .numbers-section { padding: 112px 6vw 125px; background: var(--teal-light); }
.story-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); width: min(1250px, 90vw); margin: 0 auto; }
.story-visual { position: relative; min-height: 535px; overflow: hidden; background: #b8d3d0; }
.story-map { min-height: 535px; }
.story-kicker, .story-scale { position: absolute; z-index: 5; top: 23px; color: var(--ink); font-size: 9px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.story-kicker { left: 24px; color: var(--coral); }
.story-scale { right: 24px; }
.story-copy { display: flex; flex-direction: column; justify-content: center; padding: 55px 7vw 55px 55px; background: var(--white); }
.story-copy h2 { font-size: clamp(43px, 5vw, 69px); }
.story-copy > p:not(.eyebrow) { margin: 25px 0 31px; color: var(--muted); font-size: 13px; }
.story-stops { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 34px; }
.stop-button { padding: 7px 9px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.stop-button.active, .stop-button:hover { border-color: var(--coral); color: var(--coral); }
.compare-section { padding-bottom: 105px; }
.compare-section .section-heading { align-items: end; }
.compare-copy { width: 300px; margin-bottom: 3px; }
.london-track { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.london-track button { display: block; aspect-ratio: 1 / 1.14; padding: 0; border: 0; overflow: hidden; background: var(--paper-2); }
.london-track img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.london-track button:hover img { transform: scale(1.06); }
.compare-footer { display: flex; align-items: center; gap: 12px; margin-top: 17px; color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.compare-footer strong { color: var(--coral); font-family: var(--serif); font-size: 32px; font-weight: 400; }
.compare-footer .text-button { margin-left: auto; color: var(--teal); }
.numbers-section { background: var(--ink); color: #fff; }
.numbers-section .compare-copy { color: #a9c0c3; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #456069; }
.number-item { min-height: 180px; padding: 26px 23px; background: var(--ink); }
.number-item strong { display: block; color: #f2b26b; font-family: var(--serif); font-size: 47px; font-weight: 400; }
.number-item span { display: block; margin-top: 7px; color: #d7e3e4; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.number-item p { margin: 14px 0 0; color: #94adb1; font-size: 11px; }
.site-footer { display: flex; justify-content: space-between; gap: 15px; padding: 22px 6vw 32px; background: var(--ink); color: #8ca5a8; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.site-footer a { color: var(--coral); }
.modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 5vh 5vw; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(16,42,51,.82); backdrop-filter: blur(5px); }
.detail-panel, .edit-panel { position: relative; z-index: 1; width: min(1080px, 94vw); max-height: 90vh; overflow: auto; background: var(--white); color: var(--ink); box-shadow: 0 24px 80px rgba(0,0,0,.22); }
.detail-hero { position: relative; width: 100%; height: min(38vh, 390px); overflow: hidden; background: var(--paper-2); }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.modal-close { position: absolute; z-index: 3; top: 13px; right: 15px; width: 33px; height: 33px; border: 0; border-radius: 50%; background: rgba(16,42,51,.86); color: #fff; font-size: 22px; line-height: 1; }
.detail-content { padding: 35px 42px 48px; }
.detail-heading { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.detail-heading h2 { font-size: clamp(42px, 5vw, 68px); }
.edit-link { color: var(--coral); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.detail-intro { max-width: 650px; margin: 18px 0 25px; color: var(--muted); font-size: 14px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 17px; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meta-item b, .meta-item span { display: block; }
.meta-item b { color: var(--coral); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.meta-item span { margin-top: 3px; color: var(--ink); font-size: 12px; }
.meta-transport { flex-basis: 100%; }
.flight-leg-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 7px; margin-top: 10px; }
.flight-leg { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; row-gap: 2px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.flight-direction { grid-row: span 2; align-self: center; color: var(--coral); font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.flight-leg time { color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.flight-leg b { color: var(--ink); font-size: 11px; }
.flight-leg small { grid-column: 2; color: var(--muted); font-size: 9px; }
.detail-route { margin-top: 28px; }
.detail-route p { margin: 0; color: var(--muted); font-size: 13px; }
.detail-gallery-heading { display: flex; justify-content: space-between; margin-top: 33px; }
.detail-gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-top: 12px; }
.detail-gallery-item { min-width: 0; margin: 0; }
.detail-gallery button { aspect-ratio: 1 / 1; padding: 0; border: 0; overflow: hidden; background: var(--paper-2); }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.detail-gallery button:hover img { transform: scale(1.08); }
.detail-gallery-item figcaption { margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.edit-panel { width: min(500px, 92vw); padding: 46px 36px 38px; }
.edit-panel h2 { margin-bottom: 28px; font-size: 50px; }
.edit-panel label { display: block; margin-top: 17px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.edit-panel input:not([type=checkbox]), .edit-panel textarea { display: block; width: 100%; margin-top: 7px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--ink); outline: 0; background: transparent; color: var(--ink); font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.edit-panel textarea { resize: vertical; }
.check-label { display: flex !important; align-items: center; gap: 9px; color: var(--ink) !important; text-transform: none !important; letter-spacing: 0 !important; }
.check-label input { accent-color: var(--teal); }
.edit-actions { margin-top: 30px; }
.toast { position: fixed; z-index: 50; right: 24px; bottom: 24px; max-width: 340px; padding: 13px 16px; background: var(--ink); color: #fff; opacity: 0; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; pointer-events: none; font-size: 12px; }
.toast.visible { opacity: 1; transform: translateY(0); }
body.admin-mode .admin-only, body.admin-authenticated .admin-only { display: inline-block; }
.admin-only { display: none; }
.globe-view .world-map { border-radius: 50%; transform: scale(.82); box-shadow: 25px 20px 0 rgba(16,42,51,.13); }
.globe-view .map-shell { background: #b7d2d0; }
html[data-theme='dark'] { --paper: #132f37; --paper-2: #1c3d46; --white: #183841; --line: #41616a; --ink: #f3f2ea; --ink-2: #d4dfdf; --muted: #a9bdc0; --teal-light: #224d51; }
html[data-theme='dark'] .site-header { background: rgba(19,47,55,.95); }
html[data-theme='dark'] .outline-button { border-color: #dce9e7; }
html[data-theme='dark'] .icon-button { border-color: var(--line); }
html[data-theme='dark'] .leaflet-tile { filter: saturate(.58) brightness(.76); }

/* A warmer, more tactile layer for the expanded archive. */
:root { --mint: #bfe4d7; --sky: #c8e3ef; --lilac: #ddd4ee; --lemon: #f4d889; }
.site-header, .map-toolbar, .card-type, .search-field, .filter-tab, .small-button, .load-more, .map-mode, .stop-button, .flight-stats, .flight-section .primary-button { border-radius: 12px; }
.site-header { margin: 10px 1.5vw 0; border: 1px solid rgba(213,220,216,.92); border-radius: 18px; }
.atlas-hero { border-radius: 0 0 24px 24px; overflow: hidden; }
.primary-button { border-radius: 12px; box-shadow: 0 7px 18px rgba(235,115,91,.2); }
.outline-button { border-radius: 10px; }
.map-toolbar { box-shadow: 0 9px 25px rgba(16,42,51,.12); }
.map-mode.active, .map-mode:hover { border-radius: 9px; }
.stat-strip { gap: 12px; padding-top: 29px; padding-bottom: 29px; }
.stat-strip div { border-radius: 12px; }
.stat-strip div:nth-child(1) strong { color: var(--teal); }
.stat-strip div:nth-child(2) strong { color: var(--coral); }
.stat-strip div:nth-child(3) strong { color: #b48326; }
.stat-strip div:nth-child(4) strong { color: #6b5aa6; }
.archive-controls { border-radius: 14px; }
.filter-tab.active, .filter-tab:hover { border-radius: 10px; }
.journey-card { padding: 0 0 14px; border-top: 4px solid var(--mint); border-radius: 18px; overflow: hidden; background: var(--white); box-shadow: 0 7px 24px rgba(16,42,51,.07); }
.journey-card:nth-child(4n + 2) { border-top-color: var(--coral); }
.journey-card:nth-child(4n + 3) { border-top-color: var(--lemon); }
.journey-card:nth-child(4n + 4) { border-top-color: var(--lilac); }
.card-image-button { border-radius: 14px 14px 0 0; }
.card-body { padding: 12px 14px 0; }
.card-edit { border-radius: 9px; }
.story-section { background: var(--mint); }
.story-visual, .story-copy { border-radius: 20px; }
.story-visual { border-radius: 20px 0 0 20px; }
.story-copy { border-radius: 0 20px 20px 0; }
.stop-button.active, .stop-button:hover { background: rgba(255,255,255,.68); }
.london-track button { border-radius: 15px; }
.number-item { border-radius: 14px; }
.numbers-grid { background: transparent; gap: 10px; }
.number-item:nth-child(4n + 1) { background: #173c45; }
.number-item:nth-child(4n + 2) { background: #294c57; }
.number-item:nth-child(4n + 3) { background: #244b48; }
.number-item:nth-child(4n + 4) { background: #4b405f; }
.flight-section { padding: 112px 6vw 125px; background: var(--sky); }
.flight-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); align-items: center; gap: 7vw; width: min(1250px, 90vw); margin: 0 auto; }
.flight-copy { max-width: 510px; margin: 25px 0 30px; color: var(--ink-2); font-size: 14px; }
.flight-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.flight-actions .text-button { color: var(--ink); }
.flight-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; background: var(--ink); box-shadow: 0 16px 35px rgba(16,42,51,.15); }
.flight-stats div { min-height: 150px; padding: 25px; background: var(--white); }
.flight-stats div:nth-child(2), .flight-stats div:nth-child(5) { background: #fff4cf; }
.flight-stats div:nth-child(3), .flight-stats div:nth-child(6) { background: #e8ddf3; }
.flight-stats strong { display: block; color: var(--teal); font-family: var(--serif); font-size: 39px; font-weight: 400; }
.flight-stats span { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.image-note { margin-top: 11px !important; color: var(--coral) !important; font-size: 11px !important; font-style: italic; }
.detail-panel, .edit-panel { border-radius: 22px; overflow: auto; }
.detail-hero { border-radius: 22px 22px 0 0; }
.detail-gallery button { border-radius: 10px; }
.toast { border-radius: 12px; }
@media (max-width: 980px) {
  .flight-layout { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .chronik-section { scroll-margin-top: 150px; }
  .site-header { margin: 6px 1vw 0; }
  .journey-card { padding-bottom: 10px; }
  .story-visual, .story-copy { border-radius: 0; }
  .flight-section { padding: 75px 5vw 85px; }
  .flight-layout { width: 100%; }
  .flight-stats div { min-height: 125px; padding: 18px 15px; }
  .flight-stats strong { font-size: 29px; }
}

/* The map is the atlas cover: one wide stage with two intentionally different views. */
.atlas-hero {
  display: block;
  min-height: 0;
  padding: 66px max(34px, calc((100vw - 1420px) / 2 + 34px)) 34px;
}
.atlas-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .42fr);
  align-items: end;
  gap: 64px;
  width: min(1420px, 100%);
  min-height: 0;
  margin: 0 auto;
  padding: 0 0 34px;
}
.atlas-copy { max-width: 790px; }
.atlas-copy h1 { max-width: 790px; }
.atlas-copy .intro-copy { max-width: 630px; }
.hero-readout { align-self: end; padding: 22px 0 6px; border-top: 1px solid rgba(148,163,184,.24); }
.map-shell {
  position: relative;
  width: min(1420px, 100%);
  min-height: 650px;
  margin: 0 auto;
  border-radius: 28px;
  background: #061426;
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}
.world-map, .globe-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.world-map { border-radius: 28px; }
.globe-canvas { display: block; border-radius: 28px; background: radial-gradient(circle at 50% 50%, #10355a, #061426 64%); cursor: grab; }
.globe-canvas:active { cursor: grabbing; }
.world-map[hidden], .globe-canvas[hidden] { display: none; }
body.globe-view .world-map { transform: none; border-radius: 28px; box-shadow: none; }
.map-toolbar { top: 18px; right: 18px; }
.map-mode { min-width: 72px; }
.map-note { bottom: 18px; left: 18px; }
.map-credit { bottom: 20px; right: 20px; }

@media (max-width: 980px) {
  .atlas-intro { grid-template-columns: 1fr; gap: 28px; }
  .hero-readout { max-width: 520px; }
}
@media (max-width: 650px) {
  .atlas-hero { padding: 54px 5vw 24px; }
  .atlas-intro { display: block; padding-bottom: 25px; }
  .hero-readout { margin-top: 30px; }
  .map-shell { min-height: 500px; border-radius: 20px; }
  .world-map, .globe-canvas { border-radius: 20px; }
}

/* FlightMuseum-inspired gallery mode: compact tiles, crisp data, deep blue stage. */
:root {
  --ink: #101827;
  --ink-2: #334155;
  --paper: #f4f7fb;
  --paper-2: #eaf0f7;
  --white: #ffffff;
  --line: #dbe4ef;
  --muted: #64748b;
  --teal: #2563eb;
  --teal-light: #eaf0f7;
  --coral: #f97316;
  --gold: #fbbf24;
  --serif: Inter, ui-sans-serif, system-ui, sans-serif;
}
body { background: var(--paper); color: var(--ink); }
h1, h2, h3, .brand b, .stat-strip strong, .number-item strong, .flight-stats strong { font-family: var(--sans); letter-spacing: 0; }
h1, h2 { font-weight: 900; line-height: .98; }
h1 em, h2 em { color: #7dd3fc; font-style: normal; background: linear-gradient(90deg, #38bdf8, #818cf8, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-header { background: rgba(7,17,31,.9); color: #fff; border-color: rgba(148,163,184,.2); box-shadow: 0 8px 30px rgba(7,17,31,.12); }
.site-header .brand-mark { border-color: #38bdf8; color: #7dd3fc; }
.site-header .brand small, .site-nav a { color: #94a3b8; }
.site-header .site-nav a:hover { color: #fff; border-color: #38bdf8; }
.site-header .icon-button { border-color: rgba(148,163,184,.28); color: #7dd3fc; }
.site-header .outline-button { border-color: #64748b; color: #e2e8f0; }
.site-header .outline-button:hover, .site-header .outline-button.active { background: #38bdf8; border-color: #38bdf8; color: #07111f; }
.atlas-hero { grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); min-height: 670px; max-width: none; padding: 72px max(34px, calc((100vw - 1420px) / 2 + 34px)) 44px; gap: 20px; background: radial-gradient(circle at 82% 22%, rgba(56,189,248,.2), transparent 27%), linear-gradient(135deg, #06111f, #0d2340 64%, #07111f); }
.atlas-intro { padding: 0 4vw 0 0; }
.atlas-intro h1 { max-width: 720px; font-size: clamp(52px, 7vw, 96px); }
.intro-copy { max-width: 680px; color: #cbd5e1; font-size: 17px; }
.map-shell { min-height: 550px; border: 1px solid rgba(125,211,252,.16); border-radius: 24px; background: #07111f; box-shadow: 0 20px 60px rgba(0,0,0,.22); }
.world-map { min-height: 550px; }
.leaflet-container { background: #091727; }
.leaflet-tile { filter: saturate(.55) brightness(.72) contrast(1.04); }
.map-toolbar { top: 16px; right: 16px; background: rgba(7,17,31,.88); border: 1px solid rgba(148,163,184,.2); }
.map-mode { color: #94a3b8; }
.map-mode.active, .map-mode:hover { background: #38bdf8; color: #07111f; }
.map-toolbar label, .map-toolbar select { color: #cbd5e1; }
.map-note { left: 16px; bottom: 16px; padding: 8px 12px; border: 1px solid #334155; border-radius: 999px; background: rgba(7,17,31,.86); color: #cbd5e1; }
.map-credit { color: #94a3b8; }
.stat-strip { max-width: 1420px; margin: -1px auto 0; padding: 0 34px 28px; background: #07111f; color: #fff; border: 0; gap: 10px; }
.stat-strip div, .stat-strip div:first-child, .stat-strip div:last-child { min-height: 82px; padding: 15px 16px; border: 1px solid rgba(148,163,184,.14); border-radius: 16px; background: rgba(255,255,255,.075); }
.stat-strip strong { color: #fff !important; font-size: 27px; }
.stat-strip span { color: #94a3b8; }
.chronik-section, .compare-section { width: min(1420px, 92vw); padding: 88px 0 105px; }
.section-heading { margin-bottom: 34px; }
.section-heading h2, .compare-section h2, .numbers-section h2, .flight-section h2 { font-size: clamp(34px, 4vw, 54px); }
.section-tools > p, .compare-copy { color: var(--muted); }
.archive-controls { padding: 13px 0; border-color: var(--line); }
.filter-tab, .year-button, .small-button { font-family: var(--sans); }
.filter-tab.active, .filter-tab:hover { background: #dbeafe; color: #1d4ed8; }
.archive-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.journey-card { border: 1px solid var(--line); border-top: 4px solid #38bdf8; border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgba(15,23,42,.06); }
.journey-card:nth-child(4n + 2) { border-top-color: #818cf8; }
.journey-card:nth-child(4n + 3) { border-top-color: #f97316; }
.journey-card:nth-child(4n + 4) { border-top-color: #10b981; }
.card-image-button { aspect-ratio: 1 / 1; border-radius: 14px 14px 0 0; }
.card-type { background: rgba(7,17,31,.86); color: #7dd3fc; }
.card-body { padding: 10px 12px 12px; }
.card-meta { font-size: 8px; }
.card-body h3 { margin: 6px 0 3px; font-family: var(--sans); font-size: 15px; font-weight: 800; line-height: 1.15; }
.card-body p { font-size: 10px; line-height: 1.4; }
.story-section { background: #eaf0f7; }
.story-visual, .story-copy { border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(15,23,42,.06); }
.story-copy { background: #fff; }
.story-copy h2 { font-family: var(--sans); font-weight: 900; }
.numbers-section { background: #07111f; }
.flight-section { background: #eaf0f7; }
.flight-section h2 { font-family: var(--sans); font-weight: 900; }
.flight-stats { box-shadow: 0 18px 50px rgba(15,23,42,.12); }
.site-footer { background: #030712; }
.detail-panel, .edit-panel { border: 1px solid var(--line); }
@media (max-width: 1100px) { .archive-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 980px) { .atlas-hero { grid-template-columns: 1fr; padding-top: 64px; } .atlas-intro { padding-right: 0; } .stat-strip { padding-left: 5vw; padding-right: 5vw; } .archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 650px) { .atlas-hero { padding: 55px 5vw 28px; } .map-shell, .world-map { min-height: 430px; } .stat-strip { padding: 0 5vw 22px; } .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 9px; } .card-body h3 { font-size: 14px; } }
.station-marker { width: 12px !important; height: 12px !important; margin-left: -6px !important; margin-top: -6px !important; border: 2px solid #fff; border-radius: 50%; background: #38bdf8; box-shadow: 0 0 0 4px rgba(56,189,248,.22), 0 2px 8px rgba(7,17,31,.4); }
.station-marker.independent { background: #fbbf24; box-shadow: 0 0 0 4px rgba(251,191,36,.2), 0 2px 8px rgba(7,17,31,.4); }
.detail-stations { margin-top: 22px; }
.station-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.station-heading > span:last-child { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.station-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.station-card { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); text-align: left; }
.station-card:hover { border-color: #38bdf8; background: #eff6ff; }
.station-card img { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 9px; object-fit: cover; }
.station-card span { min-width: 0; }
.station-card b, .station-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.station-card b { font-size: 11px; }
.station-card small { margin-top: 3px; color: var(--muted); font-size: 8px; }
@media (max-width: 650px) { .station-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .station-heading { display: block; } .station-heading > span:last-child { display: block; margin-top: 4px; } }
@media (max-width: 980px) {
  .site-header { gap: 25px; }
  .atlas-hero { grid-template-columns: 1fr; }
  .atlas-intro { min-height: 540px; padding: 75px 8vw 60px; }
  .map-shell { min-height: 550px; }
  .world-map { min-height: 550px; }
  .archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story-layout { grid-template-columns: 1fr; }
  .story-copy { padding: 55px 8vw 60px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
  .site-header { flex-wrap: wrap; gap: 13px; padding: 12px 5vw; }
  .site-nav { order: 3; width: 100%; justify-content: space-between; gap: 10px; min-height: 25px; }
  .site-nav a { font-size: 9px; }
  .header-actions { gap: 6px; }
  .outline-button { padding: 8px 9px; font-size: 8px; }
  .atlas-intro { min-height: 600px; padding: 63px 8vw 50px; }
  h1 { font-size: 55px; }
  .map-shell, .world-map { min-height: 430px; }
  .map-toolbar { top: 12px; right: 12px; flex-wrap: wrap; max-width: 230px; justify-content: end; }
  .map-toolbar label { width: 100%; justify-content: flex-end; padding-top: 3px; }
  .map-note { left: 15px; bottom: 16px; font-size: 8px; }
  .map-credit { right: 15px; bottom: 16px; font-size: 7px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 18px 0; padding: 23px 7vw; }
  .stat-strip div { padding: 0; border: 0; }
  .stat-strip strong { font-size: 28px; }
  .stat-strip span { font-size: 8px; }
  .chronik-section, .compare-section { width: 90vw; padding: 75px 0 85px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-tools { width: auto; margin-top: 25px; }
  .archive-controls { display: block; }
  .view-controls { justify-content: space-between; margin-top: 13px; }
  .filter-tab { padding: 8px 7px; font-size: 8px; }
  .year-rail { gap: 17px; }
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 10px; }
  .card-type { top: 7px; left: 7px; font-size: 7px; }
  .card-edit { top: 7px; right: 7px; }
  .card-favorite { right: 7px; bottom: 7px; }
  .card-body h3 { font-size: 19px; }
  .card-body p { font-size: 10px; }
  .story-section, .numbers-section { padding: 75px 5vw 85px; }
  .story-layout { width: 100%; }
  .story-visual, .story-map { min-height: 330px; }
  .story-copy { padding: 43px 8vw 50px; }
  .story-copy h2 { font-size: 47px; }
  .london-track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .compare-footer { flex-wrap: wrap; }
  .compare-footer .text-button { width: 100%; margin: 8px 0 0; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number-item { min-height: 145px; padding: 18px 15px; }
  .number-item strong { font-size: 33px; }
  .number-item span { font-size: 8px; }
  .number-item p { font-size: 10px; }
  .site-footer { display: grid; padding: 21px 6vw 29px; }
  .detail-content { padding: 30px 22px 38px; }
  .detail-heading { display: block; }
  .detail-heading h2 { font-size: 34px; line-height: 1.03; overflow-wrap: anywhere; }
  .edit-link { margin-top: 18px; }
  .detail-gallery { grid-template-columns: repeat(3, 1fr); }
  .edit-panel { padding: 44px 23px 30px; }
}

/* Final map-stage overrides keep the atlas wide after the responsive archive theme. */
.atlas-hero { display: block; min-height: 0; padding: 66px max(34px, calc((100vw - 1420px) / 2 + 34px)) 34px; }
.atlas-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .42fr); align-items: end; gap: 64px; width: min(1420px, 100%); min-height: 0; margin: 0 auto; padding: 0 0 34px; }
.atlas-copy { max-width: 790px; }
.atlas-copy h1 { max-width: 790px; }
.atlas-copy .intro-copy { max-width: 630px; }
.hero-readout { align-self: end; padding: 22px 0 6px; border-top: 1px solid rgba(148,163,184,.24); }
.map-shell { position: relative; width: min(1420px, 100%); min-height: 650px; margin: 0 auto; border-radius: 28px; background: #061426; box-shadow: 0 28px 70px rgba(0,0,0,.28); }
.world-map, .globe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; }
.world-map { border-radius: 28px; }
.globe-canvas { display: block; border-radius: 28px; background: radial-gradient(circle at 50% 50%, #10355a, #061426 64%); cursor: grab; }
.globe-canvas:active { cursor: grabbing; }
.world-map[hidden], .globe-canvas[hidden] { display: none; }
body.globe-view .world-map { transform: none; border-radius: 28px; box-shadow: none; }
.map-toolbar { top: 18px; right: 18px; }
.map-mode { min-width: 72px; }
.map-note { bottom: 18px; left: 18px; }
.map-credit { bottom: 20px; right: 20px; }
@media (max-width: 980px) { .atlas-intro { grid-template-columns: 1fr; gap: 28px; } .hero-readout { max-width: 520px; } }
@media (max-width: 650px) { .atlas-hero { padding: 54px 5vw 24px; } .atlas-intro { display: block; padding-bottom: 25px; } .hero-readout { margin-top: 30px; } .map-shell { min-height: 500px; border-radius: 20px; } .world-map, .globe-canvas { border-radius: 20px; } }

/* External source, modal stacking, and one-year timeline focus. */
.site-nav .site-link { position: relative; display: flex; align-items: center; gap: 5px; padding-left: 16px; border-left: 1px solid rgba(148,163,184,.24); color: #7dd3fc !important; font-weight: 800; white-space: nowrap; }
.site-nav .site-link::before { content: none; }
.site-nav .site-link span { color: #38bdf8; font-size: 12px; }
.source-link span { margin-left: 5px; }
.source-link { display: inline-flex; align-items: center; width: fit-content; margin-top: 12px; padding: 10px 14px; border: 1px solid rgba(56,189,248,.45); border-radius: 999px; background: rgba(14,165,233,.11); color: #bae6fd; font-size: 11px; font-weight: 800; text-decoration: none; }
.source-link:hover { background: rgba(14,165,233,.22); color: #fff; }
.modal { z-index: 1000; }
.detail-panel, .edit-panel { z-index: 2; }
body.modal-open { overflow: hidden; }
body.modal-open .map-shell { pointer-events: none; }
.journey-card.timeline-muted { opacity: .16; filter: grayscale(1); transform: scale(.985); }
.journey-card.timeline-muted .card-image-button img { filter: brightness(.7); }
.journey-card.timeline-current { border-top-color: #f97316; box-shadow: 0 18px 42px rgba(249,115,22,.22); transform: translateY(-3px); }
.journey-card.timeline-current .card-meta span:first-child { color: #fff; background: #f97316; border-radius: 999px; padding: 2px 7px; }
body.timeline-running .year-rail { opacity: .82; }
.detail-source-link { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 22px 0 18px; padding: 16px 18px; border: 1px solid rgba(14,165,233,.32); border-radius: 14px; background: linear-gradient(90deg, rgba(14,165,233,.12), rgba(16,185,129,.08)); color: #0369a1; font-size: 13px; font-weight: 900; text-decoration: none; }
.detail-source-link span { color: #f97316; font-size: 18px; }
.detail-source-link:hover { border-color: #0ea5e9; background: rgba(14,165,233,.18); color: #0c4a6e; }

/* The ledger is rendered from the same manifest as the cards and detail views. */
.ledger-section { width: min(1420px, 92vw); margin: 0 auto; padding: 90px 0 110px; }
.ledger-intro { max-width: 360px; color: var(--muted); font-size: 13px; }
.ledger-intro p { margin: 0 0 12px; }
.ledger-intro span { color: #0ea5e9; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ledger-shell { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 12px 32px rgba(15,23,42,.06); }
.ledger-table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 11px; }
.ledger-table th { padding: 13px 15px; background: #07111f; color: #94a3b8; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-align: left; text-transform: uppercase; }
.ledger-table td { padding: 11px 15px; border-top: 1px solid var(--line); color: var(--muted); vertical-align: middle; }
.ledger-table tbody tr:hover { background: #f8fbff; }
.ledger-table td:first-child { color: var(--coral); font-weight: 900; }
.ledger-title-cell { min-width: 190px; color: var(--ink) !important; font-weight: 800; }
.ledger-open { padding: 0; border: 0; background: transparent; color: var(--ink); font-weight: 800; text-align: left; }
.ledger-open:hover { color: #0ea5e9; }
.ledger-status { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ledger-status.geplant { background: #fef3c7; color: #a16207; }
.ledger-status.zu-bearbeiten { background: #fee2e2; color: #b91c1c; }
.ledger-actions { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ledger-save { padding: 8px 10px; font-size: 9px; box-shadow: none; }
.ledger-input { width: 100%; min-width: 90px; box-sizing: border-box; padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; outline: 0; background: var(--paper); color: var(--ink); font-size: 11px; }
.ledger-title-cell .ledger-input { min-width: 180px; color: var(--ink); font-weight: 800; }
.ledger-input:focus { border-color: #38bdf8; box-shadow: 0 0 0 3px rgba(56,189,248,.12); }
.ledger-count { margin: 14px 0 0; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
body.admin-mode .ledger-section { background: #eef7ff; }
.admin-controlbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 1.15fr); gap: 28px; align-items: end; margin: 28px 0 22px; padding: 24px; border: 1px solid rgba(14,165,233,.3); border-radius: 18px; background: linear-gradient(120deg, #e8f6ff, #f8fdff); }
.admin-controlbar h3 { margin: 4px 0 8px; color: var(--ink); font-family: var(--serif); font-size: 32px; font-weight: 400; }
.admin-help { max-width: 560px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.admin-toolbar { display: flex; flex-direction: column; gap: 12px; }
.admin-search { display: flex; align-items: center; gap: 12px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.admin-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; letter-spacing: 0; text-transform: none; }
.admin-toolbar-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.admin-toolbar-actions .outline-button { padding: 8px 11px; font-size: 9px; }
.ledger-table th:nth-child(7), .ledger-table td:nth-child(7) { min-width: 105px; }
.ledger-size { min-width: 90px; }
.visibility-toggle { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.visibility-toggle input { accent-color: #0ea5e9; }
.upload-button { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid rgba(14,165,233,.34); border-radius: 9px; background: #effaff; color: #0369a1; cursor: pointer; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.upload-button input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.upload-button:hover { border-color: #0ea5e9; background: #dff5ff; }
.upload-button.is-uploading { cursor: wait; opacity: .72; }
.upload-spinner { display: none; width: 11px; height: 11px; border: 2px solid rgba(3,105,161,.2); border-top-color: #0369a1; border-radius: 50%; }
.upload-button.is-uploading .upload-spinner { display: inline-block; animation: admin-spin .75s linear infinite; }
.upload-status { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.admin-uploading { background: #f1faff; }
.admin-uploading > td { opacity: .72; }
.admin-uploading > td:nth-child(9) { opacity: 1; }
.admin-focus { animation: admin-focus 2.2s ease both; }
@keyframes admin-spin { to { transform: rotate(360deg); } }
@keyframes admin-focus { 0%, 100% { box-shadow: inset 4px 0 0 transparent; } 15%, 75% { box-shadow: inset 4px 0 0 #f97316; background: #fff7ed; } }
@media (max-width: 650px) { .ledger-section { width: 90vw; padding: 75px 0 85px; } .ledger-intro { margin-top: 22px; } }
@media (max-width: 850px) { .admin-controlbar { grid-template-columns: 1fr; } .admin-toolbar-actions { justify-content: flex-start; } }
@media (max-width: 700px) { .journey-card.size-large { grid-column: span 1; } }
@media (max-width: 650px) { .map-toolbar { left: 12px; right: 12px; justify-content: center; flex-wrap: wrap; } .place-preview { top: 142px; right: 12px; bottom: 50px; width: calc(100% - 24px); padding: 19px; } }

/* Atlas information and progressive archive loading. */
.map-insights {
  position: absolute;
  z-index: 5;
  top: 18px;
  left: 18px;
  display: flex;
  gap: 6px;
  pointer-events: none;
}
.map-insights span {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 8px 10px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 10px;
  background: rgba(7, 17, 31, .88);
  color: #94a3b8;
  font-size: 9px;
  text-transform: uppercase;
  box-shadow: 0 7px 22px rgba(7, 17, 31, .16);
}
.map-insights strong { color: #f8fafc; font-size: 13px; }
.atlas-card-tooltip {
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .38) !important;
  border-radius: 10px !important;
  background: #07111f !important;
  color: #fff !important;
  box-shadow: 0 12px 34px rgba(7, 17, 31, .32) !important;
}
.atlas-card-tooltip::before { border-top-color: #07111f !important; }
.atlas-tooltip { display: grid; grid-template-columns: 64px minmax(130px, 1fr); width: 245px; min-height: 54px; }
.atlas-tooltip img { width: 64px; height: 100%; min-height: 54px; object-fit: cover; }
.atlas-tooltip span { min-width: 0; padding: 9px 10px; }
.atlas-tooltip b, .atlas-tooltip small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.atlas-tooltip b { color: #f8fafc; font-size: 11px; }
.atlas-tooltip small { margin-top: 4px; color: #94a3b8; font-size: 8px; }
.leaflet-control-zoom { overflow: hidden; border: 1px solid rgba(148, 163, 184, .35) !important; border-radius: 10px !important; box-shadow: 0 7px 22px rgba(7, 17, 31, .16) !important; }
.leaflet-control-zoom a { border-color: rgba(148, 163, 184, .2) !important; background: rgba(7, 17, 31, .9) !important; color: #e2e8f0 !important; }
.leaflet-control-attribution { display: none; }
.card-period { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.load-sentinel {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.load-sentinel[hidden] { display: none; }
.load-spinner { width: 17px; height: 17px; border: 2px solid #dbe4ef; border-top-color: #2563eb; border-radius: 50%; animation: atlas-load-spin .8s linear infinite; }
@keyframes atlas-load-spin { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
  .site-header .site-link { display: none; }
  .map-insights { top: 105px; right: 12px; left: 12px; justify-content: center; }
  .map-insights span { padding: 6px 7px; font-size: 7px; }
  .map-insights strong { font-size: 11px; }
  .atlas-tooltip { grid-template-columns: 52px minmax(115px, 1fr); width: 205px; }
  .atlas-tooltip img { width: 52px; }
}

/* Experience layer: the archive stays intact while stories branch into dedicated views. */
.site-nav { overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.card-portal-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 7px;
  background: rgba(7, 17, 31, .9);
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.card-portal-badge span { color: #7dd3fc; font-size: 12px; }
.card-portal-badge:hover { background: #0284c7; }

.story-section { padding: 96px 5vw 105px; background: #eaf0f7; }
.story-layout { grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr); width: min(1420px, 94vw); }
.story-visual {
  display: grid;
  grid-template-rows: minmax(340px, 1fr) 210px;
  min-height: 650px;
  border: 0;
  border-radius: 0;
  background: #07111f;
  box-shadow: none;
}
.story-photo-wrap { position: relative; min-height: 0; overflow: hidden; background: #07111f; }
.story-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.story-stage-label {
  position: absolute;
  right: 22px;
  bottom: 20px;
  display: grid;
  min-width: 225px;
  padding: 14px 16px;
  border-left: 4px solid #f97316;
  background: rgba(7, 17, 31, .9);
  color: #fff;
}
.story-stage-label span, .story-stage-label small { color: #cbd5e1; font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.story-stage-label strong { margin: 4px 0; font-size: 21px; }
.story-map { min-height: 210px; }
.story-progress { position: absolute; z-index: 6; right: 0; bottom: 0; left: 0; height: 5px; background: rgba(255, 255, 255, .18); }
.story-progress span { display: block; width: 16.666%; height: 100%; background: #f97316; transition: width .45s ease; }
.story-kicker, .story-scale { padding: 7px 9px; border-radius: 6px; background: rgba(7, 17, 31, .86); color: #fff; }
.story-kicker { color: #7dd3fc; }
.story-copy { border: 0; border-radius: 0; padding: 64px clamp(34px, 5vw, 75px); box-shadow: none; }
.story-copy h2 { font-size: clamp(42px, 5vw, 70px); letter-spacing: 0; }
.story-stops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.stop-button { display: flex; align-items: center; gap: 8px; min-height: 38px; border-radius: 7px; text-align: left; }
.stop-button span { color: #94a3b8; font-variant-numeric: tabular-nums; }
.stop-button.active { background: #fff7ed; }

.experience-hub { width: min(1420px, 92vw); margin: 0 auto; padding: 96px 0 112px; }
.experience-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.experience-link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  min-height: 255px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #07111f;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.experience-link:hover { transform: translateY(-4px); box-shadow: 0 18px 35px rgba(15, 23, 42, .12); }
.route-experience { background: #ccecff; }
.portal-experience { background: #d9f7e8; }
.flight-experience { background: #ffe3cc; }
.world-experience { background: #fff0a8; }
.experience-number { color: rgba(7, 17, 31, .48); font-size: 10px; font-weight: 900; }
.experience-label { font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.experience-link strong { grid-column: 1 / -1; align-self: center; max-width: 310px; font-size: clamp(23px, 2.1vw, 34px); line-height: 1.06; }
.experience-action { grid-column: 1 / -1; align-self: end; display: flex; justify-content: space-between; padding-top: 13px; border-top: 1px solid rgba(7, 17, 31, .2); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.experience-action b { font-size: 18px; }

.detail-experience-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.detail-experience-actions > a { min-width: 0; }
.detail-route-experience { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 7px; background: #07111f; color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.detail-route-experience[hidden] { display: none; }

.detail-gallery-viewer {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 620px;
  overflow: hidden;
  border-radius: 8px;
  background: #07111f;
}
.detail-gallery-viewer > img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.gallery-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(7, 17, 31, .82);
  color: #fff;
  font-size: 18px;
  transform: translateY(-50%);
}
.gallery-nav:disabled { opacity: .35; }
.gallery-previous { left: 14px; }
.gallery-next { right: 14px; }
.gallery-viewer-meta { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: rgba(7, 17, 31, .9); color: #fff; }
.gallery-viewer-meta span { flex: 0 0 auto; color: #7dd3fc; font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.gallery-viewer-meta p { margin: 0; overflow: hidden; color: #e2e8f0; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.detail-gallery { scroll-margin-top: 20px; }
.detail-gallery-item button { width: 100%; border: 2px solid transparent; border-radius: 7px; }
.detail-gallery-item.active button { border-color: #f97316; box-shadow: 0 0 0 2px rgba(249, 115, 22, .18); }
.detail-gallery-item.active img { transform: scale(1.04); }
.detail-panel { overflow-x: hidden; }
html[data-theme='dark'] .experience-link { color: #07111f; }

.detail-culinary { margin: 42px -42px -48px; padding: 38px 42px 44px; border-top: 1px solid #b9ddd2; background: #edf8f4; }
.detail-culinary[hidden] { display: none; }
.culinary-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.culinary-heading h3 { max-width: 680px; margin: 4px 0 0; font-size: clamp(28px, 3.2vw, 44px); line-height: 1; }
.culinary-count { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.culinary-filter { width: max-content; margin: 18px 0; padding: 3px; display: flex; gap: 2px; border: 1px solid #b9ddd2; border-radius: 7px; background: #dcefe8; }
.culinary-filter button { min-height: 34px; padding: 0 13px; border: 0; border-radius: 5px; background: transparent; color: #31554a; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.culinary-filter button.active { background: #fff; color: #136149; box-shadow: 0 2px 8px rgba(20, 79, 62, .12); }
.culinary-viewer { min-height: 330px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); overflow: hidden; border: 1px solid #c8ded7; border-radius: 8px; background: #fff; }
.culinary-viewer-photo { position: relative; min-height: 330px; display: grid; place-items: center; overflow: hidden; background: #14211d; }
.culinary-viewer-photo > img { width: 100%; height: 100%; min-height: 330px; max-height: 520px; object-fit: contain; }
.culinary-nav { position: absolute; top: 50%; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(10, 23, 18, .82); color: #fff; transform: translateY(-50%); }
.culinary-nav:disabled { opacity: .35; }
.culinary-previous { left: 13px; }
.culinary-next { right: 13px; }
.culinary-viewer-copy { padding: 28px 24px; align-self: center; }
.culinary-viewer-copy > span { color: #167057; font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.culinary-viewer-copy h4 { margin: 10px 0 12px; font-size: 27px; line-height: 1.05; }
.culinary-viewer-copy p { margin: 0; color: #456159; font-size: 13px; line-height: 1.6; }
.culinary-meta { margin-top: 20px; padding-top: 14px; display: grid; gap: 5px; border-top: 1px solid #d5e6e0; color: #587068; font-size: 10px; }
.culinary-grid { margin-top: 10px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
.culinary-grid button { position: relative; min-width: 0; aspect-ratio: 1; padding: 0; overflow: hidden; border: 3px solid transparent; border-radius: 7px; background: #d7e7e1; opacity: .86; }
.culinary-grid button:hover { opacity: 1; }
.culinary-grid button.active { border-color: #e85d3f; opacity: 1; box-shadow: 0 0 0 2px rgba(232, 93, 63, .18); }
.culinary-grid img { width: 100%; height: 100%; display: block; object-fit: cover; }
.culinary-sentinel { height: 58px; display: grid; place-items: center; }
.culinary-sentinel[hidden] { display: none; }
.culinary-sentinel > span { width: 23px; height: 23px; border: 3px solid #b9d6cd; border-top-color: #167057; border-radius: 50%; animation: culinary-spin .8s linear infinite; }
.culinary-atlas-link { min-height: 48px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 7px; background: #136149; color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.culinary-atlas-link span { flex: 0 0 auto; font-size: 18px; white-space: nowrap; }
@keyframes culinary-spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .experience-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .experience-link { min-height: 205px; }
  .story-layout { grid-template-columns: 1fr; }
  .story-visual { min-height: 570px; }
}
@media (max-width: 650px) {
  .site-nav { justify-content: flex-start; }
  .story-section { padding: 65px 0 75px; }
  .story-layout { width: 100%; }
  .story-visual { grid-template-rows: 330px 210px; min-height: 540px; }
  .story-stage-label { right: 14px; bottom: 14px; left: 14px; min-width: 0; }
  .story-copy { padding: 42px 6vw 48px; }
  .story-copy h2 { font-size: 42px; }
  .story-stops { grid-template-columns: 1fr; }
  .experience-hub { width: 90vw; padding: 72px 0 82px; }
  .experience-link { min-height: 190px; padding: 20px; }
  .experience-links, .detail-experience-actions { grid-template-columns: 1fr; }
  .detail-gallery-viewer { aspect-ratio: 4 / 3; }
  .gallery-viewer-meta { display: block; padding: 10px 12px; }
  .gallery-viewer-meta p { margin-top: 4px; font-size: 9px; }
  .gallery-nav { width: 34px; height: 34px; }
  .detail-culinary { margin: 34px -22px -38px; padding: 32px 14px 36px; }
  .culinary-heading { display: block; }
  .culinary-count { display: block; margin-top: 10px; white-space: normal; }
  .culinary-filter { width: 100%; }
  .culinary-filter button { flex: 1; padding: 0 7px; }
  .culinary-viewer { min-height: 0; display: block; }
  .culinary-viewer-photo { min-height: 270px; }
  .culinary-viewer-photo > img { min-height: 270px; max-height: 420px; }
  .culinary-viewer-copy { padding: 22px 18px; }
  .culinary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .culinary-sentinel > span { animation: none; } }

/* Keep the map modes above Leaflet panes and separate them from map statistics. */
.map-shell { isolation: isolate; }
.world-map, .globe-canvas { z-index: 0; }
.map-toolbar {
  z-index: 1200;
  overflow: hidden;
  border-color: rgba(148, 163, 184, .34);
  background: rgba(7, 17, 31, .94);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
  backdrop-filter: blur(14px);
}
.map-toolbar select { cursor: pointer; }
.map-toolbar.is-docked { position: fixed; }
.map-insights, .map-note, .map-credit { z-index: 1100; }
.place-preview { z-index: 1250; }

@media (max-width: 650px) {
  .map-toolbar {
    top: 12px;
    right: 12px;
    left: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    max-width: none;
    padding: 5px;
  }
  .map-mode { min-width: 0; min-height: 36px; padding: 7px 5px; }
  .map-toolbar label {
    grid-column: 1 / -1;
    width: auto;
    min-height: 32px;
    justify-content: center;
    padding: 5px 7px 1px;
    border-top: 1px solid rgba(148, 163, 184, .2);
  }
  .map-insights {
    top: 98px;
    right: 12px;
    left: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .place-preview { top: 158px; }
  .map-credit { display: none; }
}

.map-experience-start {
  position: absolute;
  z-index: 1200;
  right: 18px;
  bottom: 18px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid rgba(125, 211, 252, .45);
  border-radius: 8px;
  background: rgba(7, 17, 31, .94);
  color: #e2e8f0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}
.map-experience-start:hover { background: #38bdf8; color: #07111f; }
.map-experience-start span { color: #f97316; }
.map-experience-card {
  position: absolute;
  z-index: 1250;
  right: 18px;
  bottom: 72px;
  width: min(440px, calc(100% - 36px));
  min-height: 148px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, .32);
  border-radius: 8px;
  background: rgba(7, 17, 31, .96);
  color: #f8fafc;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .38);
  backdrop-filter: blur(16px);
}
.map-experience-card[hidden] { display: none; }
.map-experience-card > img { width: 150px; height: 100%; min-height: 148px; object-fit: cover; }
.map-experience-copy { position: relative; min-width: 0; padding: 17px 18px 14px; }
.map-experience-close { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(148, 163, 184, .16); color: #fff; cursor: pointer; }
.map-experience-kicker { display: block; padding-right: 22px; color: #7dd3fc; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.map-experience-copy strong { display: block; margin-top: 5px; padding-right: 24px; overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.map-experience-copy p { min-height: 31px; margin: 6px 0 9px; color: #cbd5e1; font-size: 11px; line-height: 1.4; }
.map-experience-actions { display: flex; align-items: center; gap: 6px; }
.map-experience-actions button { min-width: 32px; min-height: 30px; padding: 0 9px; border: 1px solid rgba(148, 163, 184, .28); border-radius: 6px; background: transparent; color: #e2e8f0; font-size: 10px; cursor: pointer; }
.map-experience-actions button:hover { border-color: #38bdf8; color: #7dd3fc; }
.map-experience-progress { display: block; height: 3px; margin-top: 10px; overflow: hidden; border-radius: 3px; background: rgba(148, 163, 184, .18); }
.map-experience-progress i { display: block; width: 0; height: 100%; background: #f97316; transition: width .35s ease; }
body.map-experience-active .map-note, body.map-experience-active .map-credit { opacity: .18; }

@media (max-width: 650px) {
  .map-experience-start { right: 12px; bottom: 12px; }
  .map-experience-card { right: 12px; bottom: 62px; width: calc(100% - 24px); grid-template-columns: 112px minmax(0, 1fr); }
  .map-experience-card > img { width: 112px; min-height: 148px; }
  .map-experience-copy { padding: 14px 13px 12px; }
  .map-experience-copy strong { font-size: 13px; }
  .map-note { bottom: 65px; max-width: calc(100% - 24px); }
  body.map-experience-active .map-note { display: none; }
}
