@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');
:root{--sea:#102c31;--ink:#203236;--gold:#dfb773;--paper:#f5f2ea;--muted:#69716d;--line:#d9dacf}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--sea);font-family:'DM Sans',sans-serif;font-size:16px}button,a,input{touch-action:manipulation}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #cd9234;outline-offset:4px}header{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;color:#eceee8;border-bottom:1px solid #345054;background:#132e32}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:inherit;font-size:17px;font-weight:700;letter-spacing:.1em}.brand i{display:block;font-family:'Libre Caslon Display',Georgia,serif;font-size:21px;font-weight:400;letter-spacing:.02em;color:var(--gold)}.brandmark{font-family:Georgia,serif;font-size:26px;border:1px solid #8f9c8b;transform:rotate(-5deg);padding:5px 10px;color:var(--gold)}.header-note{letter-spacing:.19em;font-size:12px;color:#9bb0ad}.text-button{background:none;border:0;color:#d5dfd9;font-size:14px}.text-button span{padding-left:8px}.eras{display:flex;gap:6px;align-items:center;background:#19353a;padding:12px 25px;overflow-x:auto;border-bottom:1px solid #345054;scrollbar-width:thin}.era{flex:1;white-space:nowrap;border:1px solid transparent;color:#b5c6c2;background:none;border-radius:4px;padding:8px 11px;font-size:14px;transition:.2s}.era:hover{background:#2a484b;color:white}.era.active{background:#dec397;color:#172f31}.era small{display:block;font-size:12px;margin-top:4px;opacity:.7}main{display:grid;grid-template-columns:minmax(0,1fr) 365px;height:calc(100dvh - 150px);min-height:650px}.map-section{position:relative;overflow:hidden;background:#102c31}#map{position:absolute;inset:0 0 175px;background:radial-gradient(ellipse at 60% 30%,#234249,#102c31 85%)}.leaflet-container{font-family:'DM Sans',sans-serif}.leaflet-control-attribution{font-size:11px!important;background:#102c31d9!important;color:#aebfba!important}.leaflet-control-attribution a{color:#d3c297!important}.map-heading{position:absolute;left:32px;top:27px;z-index:500;pointer-events:none;max-width:420px;text-shadow:0 2px 16px #0b242b}.eyebrow{font-size:12px;letter-spacing:.15em;font-weight:600}.map-heading .eyebrow{color:var(--gold)}h1,h2,h3{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400}h1{font-size:48px;line-height:1;margin:10px 0;color:#f3f0e6}.map-heading p{font-size:14px;color:#b5c8c1;margin:12px 0;max-width:320px}.map-tools{position:absolute;right:22px;top:25px;z-index:600;display:grid;gap:5px}.map-tools button{width:39px;height:39px;background:#18353ce8;border:1px solid #536966;color:#eee5d5;border-radius:5px;font-size:24px}.compass{position:absolute;right:29px;top:177px;z-index:450;width:35px;text-align:center;color:#ddc391;font-size:12px}.compass svg{width:32px;display:block}.legend{position:absolute;z-index:500;left:25px;bottom:207px;font-size:12px;background:#122d32e8;border:1px solid #3b5558;border-radius:5px;padding:13px 16px;color:#c3d0ca;max-width:280px}.legend>div{display:flex;align-items:center;gap:9px;margin-bottom:9px}.line-sample{width:22px;border-top:2px dashed var(--gold)}.legend label{display:block;padding:4px 0;font-size:13px}.legend input{accent-color:var(--gold);margin-right:8px}.legend button{border:0;background:none;color:#e7c896;padding:10px 0 0;font-size:12px;text-decoration:underline;text-underline-offset:3px}.map-status{position:absolute;right:20px;bottom:210px;max-width:270px;font-size:12px;color:#cbd9d1;background:#102c31dc;padding:8px 12px;border-radius:4px;z-index:450;pointer-events:none}.map-status:empty{display:none}.timeline{position:absolute;bottom:0;left:0;right:0;height:175px;padding:20px 30px 14px;background:#173338;border-top:1px solid #48615f;color:#e6e5d9;z-index:550}.timeline-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.timeline-top>div:first-child{display:flex;align-items:center;gap:20px}.timeline .eyebrow{color:#a5b9b4;font-size:11px}.timeline strong{font-family:'Libre Caslon Display',Georgia,serif;font-size:30px;color:#ecd0a0;font-weight:400}.time-actions{display:flex;gap:6px}.time-actions button{width:33px;height:30px;border:1px solid #5c7470;background:transparent;border-radius:4px;color:#e7d1ab;font-size:20px}.time-actions button#play{font-size:12px}.timeline input{width:100%;accent-color:#e1bd81;cursor:ew-resize}.ticks{display:flex;justify-content:space-between;font-size:11px;color:#abbeb8;margin-top:4px}.timeline p{font-size:12px;line-height:1.4;margin:11px 0 0;color:#c4d2c8}.story-panel{background:var(--paper);overflow-y:auto;scrollbar-width:thin;border-left:1px solid #70877d}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:24px 27px 18px;border-bottom:1px solid var(--line);color:#748077}.panel-head .eyebrow{font-size:11px}.panel-head>span:last-child{font-size:12px}.panel-content{padding:25px 27px}.chapter-tag{display:inline-block;padding:5px 9px;border:1px solid #9aab9c;font-size:11px;letter-spacing:.08em;color:#577369;border-radius:3px}.panel-content h2{font-size:39px;line-height:1.08;margin:16px 0}.intro{font-size:16px;line-height:1.65;color:#53635f;margin:0 0 22px}.border-note{border-left:2px solid #be975e;padding:0 0 0 13px;font-size:12px;line-height:1.65;color:#66736e;margin:20px 0}.section-label{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:22px;margin:27px 0 12px;font-size:11px;letter-spacing:.12em;color:#64736c}.region-button{width:100%;display:flex;align-items:center;justify-content:space-between;border:0;background:none;padding:11px 0;border-bottom:1px solid #dfe0d6;text-align:left;font-size:15px;color:#324d43}.region-button>span{display:flex;align-items:center;gap:10px}.swatch{display:inline-block;width:11px;height:11px;border-radius:50%}.region-button small{font-size:12px;color:#727c70}.event-card{display:block;width:100%;border:1px solid #d8dcd1;border-radius:5px;background:#fffdf8;text-align:left;margin:10px 0;padding:15px 16px;color:var(--ink);transition:.2s}.event-card:hover{border-color:#a88750;transform:translateY(-2px);box-shadow:0 4px 12px #233a3210}.event-card .meta{display:flex;justify-content:space-between;font-size:11px;letter-spacing:.06em;color:#6f7f70}.event-card h3{font-size:24px;line-height:1.1;margin:10px 0 7px}.event-card p{font-size:13px;line-height:1.55;color:#637068;margin:0}.event-card .read-label{display:block;margin-top:10px;font-size:11px;color:#926d35}.back{color:#67776b;background:none;border:0;font-size:13px;padding:0 0 15px}.story-date{font-size:13px;letter-spacing:.05em;color:#886737;margin-top:12px}.story-copy{font-size:16px;line-height:1.7;color:#4e6057}.story-copy p{margin:19px 0}.story-copy details{border-top:1px solid #d6d9cc;padding:16px 0}.story-copy summary{font-size:14px;font-weight:600;cursor:pointer}.story-copy details p{font-size:14px}.source-link{display:block;text-decoration:none;color:#fff8e7;background:#24493e;padding:17px;border-radius:4px;margin:18px 0}.source-link strong{font-size:14px;display:block}.source-link span{display:block;font-size:12px;color:#bfd0c2;margin-top:5px}.related{font-size:13px;line-height:1.6;color:#637668}.territory-label{white-space:nowrap;text-align:center;font-size:12px;letter-spacing:.12em;color:#f1dfb5;text-shadow:0 1px 4px #132b2c,0 0 8px #132b2c;font-weight:500;background:none!important;border:none!important}.town-label{font-size:11px;white-space:nowrap;color:#b9c8c0;text-shadow:0 1px 3px #0c242c;pointer-events:none!important}.sea-label{white-space:nowrap;color:#709094;font-family:Georgia,serif;font-style:italic;letter-spacing:.2em;font-size:16px;background:none!important;border:0!important}.story-marker{background:#efc484;color:#122e31;border:2px solid #faf0cf;box-shadow:0 0 0 5px #e5b16521,0 2px 8px #10262b99;border-radius:50%;display:grid;place-items:center;font-size:13px;width:26px!important;height:26px!important;transition:.2s}.story-marker.selected{box-shadow:0 0 0 8px #e5b16545}.story-marker:hover{transform:scale(1.15)}.leaflet-tooltip{background:#f6f0e0;color:#213c36;border:0;box-shadow:0 3px 14px #10282b55;font-size:13px}.leaflet-interactive{transition:fill-opacity .25s}.leaflet-interactive:focus{outline:none;stroke:#fff5cc;stroke-width:3}.leaflet-div-icon{background:transparent;border:0}dialog{width:min(690px,calc(100vw - 30px));max-height:85dvh;border:0;border-radius:8px;padding:30px;background:var(--paper);color:var(--ink);box-shadow:0 20px 100px #0007}dialog::backdrop{background:#0b232ab8;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head button{border:0;background:none;font-size:27px;color:#597061}dialog h2{font-size:38px;margin:20px 0}dialog p{line-height:1.7;color:#53655a;font-size:15px}dialog h3{font-size:26px}dialog a{color:#42664c}dialog li{padding:5px 0;font-size:14px;line-height:1.6}.compare-key{color:#a7bdb7}#panel{animation:appear .35s ease}@keyframes appear{from{opacity:.65;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1600px){main{grid-template-columns:minmax(0,1fr) 420px}.panel-content{padding:28px 34px}.map-heading{left:40px;top:35px}h1{font-size:58px}}@media(max-width:1100px){main{grid-template-columns:minmax(0,1fr) 330px}.header-note{display:none}.era{font-size:12px;padding:8px}.map-heading h1{font-size:39px}.map-heading{left:23px;max-width:270px}.legend{max-width:245px}.timeline{padding-left:22px;padding-right:22px}.timeline-top>div:first-child{gap:12px}.panel-content{padding:23px}.panel-content h2{font-size:35px}}@media(max-width:760px){header{height:72px;padding:0 18px}.brand{font-size:14px}.brand i{font-size:19px}.text-button{font-size:12px}.eras{padding:9px 12px}.era{flex:none;font-size:13px;padding:7px 12px}.era small{font-size:11px}main{display:flex;flex-direction:column;height:auto;min-height:0}.map-section{height:690px;flex-shrink:0}#map{bottom:162px}.timeline{height:162px;padding:16px 18px}.timeline .eyebrow{font-size:10px}.timeline strong{font-size:26px}.timeline p{font-size:11px}.ticks{font-size:10px}.ticks span:nth-child(2n){display:none}.story-panel{border-left:0;overflow:visible}.panel-content{padding:25px}.panel-content h2{font-size:40px}.map-heading{top:20px;left:20px;max-width:260px}.map-heading h1{font-size:37px}.map-heading p{font-size:12px;max-width:230px}.legend{left:15px;bottom:187px;padding:10px 12px;max-width:225px}.legend label{font-size:12px}.map-status{display:none}.compass{right:22px;top:173px}.map-tools{right:15px;top:21px}.panel-head{padding:21px 25px 15px}.timeline-top>div:first-child{gap:10px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* A continuous white atlas surface, with readable controls independent of the land beneath. */
:root{--paper:#fff}
main,.map-section,#map{background:#fff}
.story-panel{background:#fff;border-left:1px solid #e1e6e1}
.map-heading{background:rgba(255,255,255,.97);border:1px solid #dde5df;border-radius:7px;padding:19px 22px;box-shadow:0 4px 22px #203b3212;text-shadow:none;max-width:430px}
.map-heading h1{color:#203e37;font-size:43px}
.map-heading .eyebrow{color:#947039}
.map-heading p{color:#546a61;max-width:350px;line-height:1.55;margin-bottom:0}
.map-tools button{background:#fff;border-color:#cdd9d1;color:#27493f;box-shadow:0 2px 8px #163c3010}
.compass{color:#3c5f4d}
.legend{background:rgba(255,255,255,.97);border-color:#d3ded5;color:#415d4e;box-shadow:0 3px 16px #213e3310}
.legend input{accent-color:#627e65}
.legend button{color:#805f31}
.map-status{background:#fff;color:#4c6458;border:1px solid #dce5dd}
.leaflet-control-attribution{background:#ffffffed!important;color:#53695c!important}
.leaflet-control-attribution a{color:#596e4d!important}
.sea-label{color:#708b83}
.event-card{background:#fff}
@media(max-width:1100px){.map-heading{max-width:315px;padding:17px 19px}.map-heading h1{font-size:36px}}
@media(max-width:760px){.map-heading{max-width:270px;padding:14px 16px}.map-heading h1{font-size:33px}.map-heading p{font-size:12px}.map-heading .eyebrow{font-size:11px}}
/* Give each dated snapshot's central historical change the full-width emphasis it deserves. */
.era-context{display:flex;align-items:center;gap:25px;min-height:76px;padding:16px 32px;background:#dec397;border-top:1px solid #c5a773;border-bottom:1px solid #c3a16a;color:#3f392b}
.era-context strong{flex-shrink:0;padding-right:25px;border-right:1px solid #b3986f;font-family:'Libre Caslon Display',Georgia,serif;font-size:27px;font-weight:400;white-space:nowrap}
.era-context p{margin:0;font-size:17px;line-height:1.5;letter-spacing:0;flex:1}
main{height:calc(100dvh - 226px)}
#map{bottom:140px}
.timeline{height:140px;padding-top:19px}
.legend{bottom:172px}
.map-status{bottom:175px}
@media(max-width:760px){.era-context{padding:14px 18px;gap:14px;min-height:0;align-items:flex-start}.era-context strong{font-size:23px;padding-right:14px;margin-top:2px}.era-context p{font-size:14px;line-height:1.6}main{height:auto}#map{bottom:142px}.timeline{height:142px}.legend{bottom:167px}}
@media(max-width:450px){.era-context{display:block}.era-context strong{border:0;display:block;padding:0;margin:0 0 4px}}
/* Consolidate the date, historical context and playback into one compact timeline header. */
main{height:calc(100dvh - 150px)}
.map-section{--timeline-height:122px}
#map{bottom:var(--timeline-height)}
.timeline{height:auto;padding:0}
.timeline .era-context{min-height:0;padding:8px 25px;gap:17px;border-top:0;border-bottom:1px solid #b89a66;align-items:center}
.timeline .era-context strong{font-size:24px;padding-right:17px;margin:0;color:#3f392b}
.timeline .era-context p{font-size:15px;line-height:1.45;margin:0;color:#3f392b}
.timeline .era-context .time-actions{flex-shrink:0}
.timeline .era-context .time-actions button{border-color:#aa8b5d;color:#30493c;height:28px;width:30px}
.timeline-track{padding:13px 25px 17px}
.legend{bottom:calc(var(--timeline-height) + 24px)}
.map-status{bottom:calc(var(--timeline-height) + 27px)}
@media(max-width:760px){main{height:auto}.timeline .era-context{padding:7px 16px;gap:12px;display:flex;flex-wrap:wrap}.timeline .era-context strong{font-size:22px;padding-right:12px;border-right:1px solid #b3986f}.timeline .era-context p{font-size:14px;flex:1;min-width:180px}.timeline .era-context .time-actions{margin-left:auto}.timeline-track{padding:12px 16px 15px}#map{bottom:var(--timeline-height)}.legend{bottom:calc(var(--timeline-height) + 22px)}}

/* Sea, crisp cartographic labels and unmistakable story selection. */
#map{background:radial-gradient(ellipse at 62% 28%,#183d57 0%,#0c253e 75%)}
#map::before{content:"";position:absolute;inset:0;z-index:190;pointer-events:none;background:repeating-radial-gradient(ellipse at 32% 45%,transparent 0 34px,rgba(159,202,218,.035) 35px 36px,transparent 37px 75px);background-size:160% 150%;animation:sea-drift 26s ease-in-out infinite alternate}
@keyframes sea-drift{from{background-position:0% 0%;opacity:.5}to{background-position:12% 7%;opacity:1}}
.map-heading{max-width:365px;padding:15px 19px;box-shadow:0 6px 24px #071c3024}
.map-heading h1{font-size:38px;margin:8px 0}
.map-heading p{font-size:14px;line-height:1.5;margin-top:8px}
.map-heading .eyebrow{font-size:12px;letter-spacing:.08em}
.compass{color:#e4c48f;filter:drop-shadow(0 1px 1px #081e33)}
.sea-label{color:#9bbdcc;font-size:16px;letter-spacing:.12em}
.town-label{font-size:12px;font-weight:500;line-height:20px;color:#f7f4e6;text-align:center;text-shadow:1px 0 #183b35,-1px 0 #183b35,0 1px #183b35,0 -1px #183b35;filter:none;-webkit-font-smoothing:auto}
.territory-label{font-size:12px;letter-spacing:.08em;text-shadow:1px 0 #17372f,-1px 0 #17372f,0 1px #17372f,0 -1px #17372f}
.poi-anchor{background:none;border:0;--poi-halo:rgba(255,213,133,.55)}
.poi-body{position:relative;display:grid;place-items:center;width:100%;height:100%;border:2px solid #fff1ce;border-radius:50%;background:#efc484;color:#15343d;font-size:16px;box-shadow:0 2px 7px #061b3680;transition:background .2s,box-shadow .2s}
.poi-anchor:hover .poi-body{box-shadow:0 0 0 5px #ffe3a654,0 2px 7px #061b3680}
.poi-anchor.conflict{--poi-halo:rgba(247,92,85,.5)}
.conflict .poi-body{background:#942c32;border:2px solid #ffada0;color:#fff4db;border-radius:6px;box-shadow:0 0 0 3px #f4645333,0 2px 8px #061b3680}
.conflict .poi-body::before{content:"";position:absolute;inset:-7px;background:#df6e57;opacity:.45;z-index:-1;clip-path:polygon(50% 0,61% 13%,79% 6%,81% 24%,100% 29%,89% 45%,100% 60%,82% 67%,80% 88%,62% 83%,50% 100%,38% 83%,20% 88%,18% 67%,0 60%,11% 45%,0 29%,19% 24%,21% 6%,39% 13%)}
.poi-anchor.selected{--poi-halo:rgba(146,232,230,.6)}
.selected .poi-body{background:#c7f3e8;border:3px solid #fff;color:#103c45;font-size:23px;box-shadow:0 0 0 5px #6bcfc783,0 4px 14px #071d3680}
.selected.conflict{--poi-halo:rgba(255,102,80,.65)}
.selected.conflict .poi-body{background:#c53d35;border-color:#fff3cc;color:#fff;box-shadow:0 0 0 5px #ed6a5559,0 4px 14px #071d3680}
.selected .poi-body::after{content:"";position:absolute;inset:-6px;border:2px solid var(--poi-halo);border-radius:50%;animation:poi-pulse 1.9s ease-out infinite;pointer-events:none}
@keyframes poi-pulse{0%{transform:scale(.9);opacity:1}100%{transform:scale(1.75);opacity:0}}
@media(max-width:1100px){.map-heading{max-width:300px}.map-heading h1{font-size:32px}}
@media(max-width:760px){.map-heading{max-width:250px;padding:12px 14px}.map-heading h1{font-size:28px}.map-heading p{font-size:13px}.map-heading .eyebrow{font-size:12px}}
@media(prefers-reduced-motion:reduce){#map::before,.poi-body::after{animation:none}.selected .poi-body::after{opacity:.8;transform:scale(1.2)}}

/* Zoom-dependent parchment mist stays behind labels and all interactive controls. */
.map-haze{position:absolute;inset:-4%;z-index:350;pointer-events:none;overflow:hidden;opacity:0;transition:opacity .65s ease-out;mix-blend-mode:screen}
.map-haze svg{display:block;width:100%;height:100%}
.uncertain-aura{filter:blur(6px);pointer-events:none}
.uncertain-border{filter:blur(.5px)}
.poi-anchor:not(.selected) .poi-body{animation:ambient-glow 3.8s ease-in-out infinite}
.poi-anchor.conflict:not(.selected) .poi-body{animation-name:ambient-conflict}
@keyframes ambient-glow{0%,100%{box-shadow:0 0 0 3px #efc48414,0 0 8px #efc48420,0 2px 7px #061b3680}50%{box-shadow:0 0 0 5px #efc48428,0 0 15px #efc48460,0 2px 7px #061b3680}}
@keyframes ambient-conflict{0%,100%{box-shadow:0 0 0 3px #f4645325,0 0 8px #f4645320,0 2px 8px #061b3680}50%{box-shadow:0 0 0 5px #f4645340,0 0 16px #f4645360,0 2px 8px #061b3680}}
@media(prefers-reduced-motion:reduce){.map-haze{transition:none}.poi-anchor:not(.selected) .poi-body{animation:none}}

.map-haze{inset:auto;mix-blend-mode:normal}
.ticks{display:block;position:relative;height:16px}
.ticks span{position:absolute;transform:translateX(-50%)}
.ticks span:first-child{transform:none}
.ticks span:last-child{transform:translateX(-100%)}
@media(max-width:760px){.ticks span:nth-child(2n){display:none}.ticks span:last-child{display:block}}

/* Keep the approach uncluttered; story markers and their leaders arrive together. */
.poi-layer{opacity:0;transition:opacity .85s ease}
.poi-layer.poi-ready{opacity:1}
.poi-layer.poi-immediate{transition:none}
@media(prefers-reduced-motion:reduce){.poi-layer{transition:none}}

/* Illustrated stories keep the first view concise and reward a deeper read. */
.story-illustration{margin:0 0 24px}
.story-illustration img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:4px}
.story-illustration figcaption{margin-top:9px;font-size:12px;line-height:1.55;color:#6a7167}
.story-quotation{margin:24px 0;padding:22px 20px;background:#e9e2d3;border-left:3px solid #ac8449;border-radius:0 4px 4px 0}
.story-quotation blockquote{margin:0}
.story-copy details .story-quotation blockquote p{font-family:Georgia,serif;font-size:21px;line-height:1.55;color:#354139;margin:0 0 15px}
.story-quotation blockquote p:last-child{margin-bottom:0!important}
.story-quotation figcaption{margin-top:17px;font-size:12px;line-height:1.6;color:#62695f}
.story-quotation cite{font-style:normal;display:block}
.story-quotation figcaption span{display:block;margin-top:6px}
.story-quotation a{color:#71582e;text-decoration-thickness:1px;text-underline-offset:3px}
.story-copy .story-section h3{font-size:26px;line-height:1.2;color:var(--ink);margin:25px 0 10px}
.story-copy .story-section:first-child h3{margin-top:8px}
.story-copy .story-section p{margin:0 0 16px}
.story-copy .disclosure-content{padding:17px 0 4px}
.story-copy details .disclosure-content p{font-size:16px;line-height:1.75}
.story-copy details summary{font-size:15px;line-height:1.45;padding:4px 0;color:#34594c}
.story-copy details summary::marker{color:#a07942}
.story-copy details[open] summary{color:#805d2b}
.story-copy .story-evidence .disclosure-content p{font-size:14px;line-height:1.7}
.story-copy .story-evidence .story-section h3{font-size:23px}
.reading-link{display:block;text-decoration:none;border-bottom:1px solid var(--line);padding:12px 0;color:#365a4a}
.reading-link strong{display:block;font-size:14px;line-height:1.5;font-weight:600}
.reading-link span{display:block;font-size:12px;line-height:1.6;margin-top:4px;color:#6a7167}
.reading-link:hover strong{text-decoration:underline;text-underline-offset:3px}
.story-reading a:focus-visible,.story-copy summary:focus-visible{outline:2px solid #98743e;outline-offset:4px}

/* A small rolling counter keeps the date responsive even during quick scrubbing. */
#context-year{display:inline-flex;align-items:center;white-space:nowrap;min-width:7.5rem;font-variant-numeric:tabular-nums}
.date-prefix,.date-suffix{white-space:pre}
.date-digits{display:inline-flex;align-items:center}
.date-digit{display:inline-block;position:relative;width:.61em;height:1.25em;overflow:hidden;line-height:1.25}
.date-digit>span:not(.date-roll){display:block;text-align:center}
.date-roll{display:flex;flex-direction:column;animation:date-forward .12s ease-out both}
.date-roll>span{display:block;height:1.25em;flex-shrink:0;text-align:center}
.date-roll.backwards{animation-name:date-backward}
.date-readable{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@keyframes date-forward{from{transform:translateY(0)}to{transform:translateY(-50%)}}
@keyframes date-backward{from{transform:translateY(-50%)}to{transform:translateY(0)}}

/* Book typography for the reading surface; compact controls retain their UI face. */
.story-panel{font-family:Baskerville,'Palatino Linotype','Book Antiqua',Palatino,Georgia,serif}
.story-panel .panel-content h2{font-family:Georgia,serif;letter-spacing:-.035em;line-height:1.12}
.story-panel .panel-content p{font-family:Baskerville,'Palatino Linotype','Book Antiqua',Palatino,Georgia,serif;font-size:1.0625rem;line-height:1.72;color:#424b41}
.story-panel .panel-content .intro{font-style:italic;font-size:1.125rem;line-height:1.65;color:#65705e}
.story-panel .story-copy>p:first-of-type::first-letter{float:left;font-family:Georgia,serif;font-size:3.3rem;line-height:.94;margin:.075em .11em 0 0;color:#805d32}
.story-panel .story-copy details summary{font-family:Georgia,serif;font-size:1.0625rem;line-height:1.45}
.story-panel .story-evidence p{font-size:.9375rem;line-height:1.7}
.story-panel .event-card p{font-size:1rem;line-height:1.6}
.story-panel .chapter-tag{font-family:Georgia,serif;font-variant-caps:small-caps;letter-spacing:.13em}
.story-panel .panel-head,.story-panel .meta,.story-panel .section-label,.story-panel .story-date,.story-panel .back,.story-panel .region-button,.story-panel .story-reading,.story-panel .read-label{font-family:'DM Sans',sans-serif}
#panel{animation:none}
.panel-content.content-enter>h2,.panel-content.content-enter>.intro,.panel-content.content-enter>.story-copy,.panel-content.content-enter>.story-illustration{animation:book-arrival .24s ease-out both}
.panel-content.content-enter>.intro{animation-delay:.025s}
.panel-content.content-enter>.story-copy{animation-delay:.045s}
.story-copy details[open]>.disclosure-content{animation:book-arrival .18s ease-out both}
@keyframes book-arrival{from{opacity:.65;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){#context-year{min-width:6.8rem}.story-panel .panel-content h2{font-size:2.25rem}}
@media(prefers-reduced-motion:reduce){.date-roll{animation:none;transform:translateY(-50%)}.date-roll.backwards{transform:none}.panel-content.content-enter>h2,.panel-content.content-enter>.intro,.panel-content.content-enter>.story-copy,.panel-content.content-enter>.story-illustration,.story-copy details[open]>.disclosure-content{animation:none}}

.map-options-toggle{display:none;position:absolute;z-index:500;left:15px;bottom:calc(var(--timeline-height) + 18px);padding:10px 14px;border:1px solid #6d8581;border-radius:5px;background:#142f36f2;color:#ece4d4;font-size:14px;box-shadow:0 3px 12px #071e3240}
.map-options-toggle span{margin-left:9px;font-size:17px}
.map-options{width:min(380px,calc(100vw - 32px));padding:22px 25px;background:var(--paper)}
.map-options .dialog-head h2{margin:0;font-size:30px}
.map-options .legend{position:static;max-width:none;margin:20px 0 0;padding:0;background:none;border:0;color:var(--ink);font-size:14px}
.map-options .legend label{padding:12px 0;font-size:16px;display:flex;align-items:center}
.map-options .legend input{width:19px;height:19px;margin-right:12px}
.map-options .line-sample{border-color:#9d773f}
@media(max-width:760px){.map-section>.legend{display:none}.map-options-toggle{display:block}}
