/* A living storybook atlas. Text and controls sit above independent decorative layers. */
.enchanted .atlas-wrap{max-width:840px;padding:0 12px}.enchanted .demo-wrap.atlas-wrap{max-width:840px;padding:12px 10px 24px}.enchanted .atlas-wrap .topbar{padding:15px 5px;min-height:75px}.enchanted .atlas-wrap .brand strong{font-size:22px}.enchanted .atlas-wrap .brand small{font-size:9px}.enchanted .atlas-wrap .demo-header{padding:5px 5px 18px}.atlas-wrap .demo-header .world-motion{display:none}.enchanted .demo-main.atlas-demo-host{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0;max-width:none!important}.story-map{container-type:inline-size;isolation:isolate;position:relative;color:#153f29;background:#ebd299;border:2px solid #a67325;border-radius:20px;box-shadow:0 0 0 2px #ffe5a1,0 10px 0 #063d36,0 24px 50px #00332870;overflow:hidden;margin:4px 0 25px;font-family:'Nunito',sans-serif}.atlas-topline{position:relative;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:9px;background:#0a553b;color:#ffebac;padding:9px 14px;border-bottom:3px solid #c99436;min-height:53px}.atlas-topline>span{font:900 10px/1.4 'Nunito';letter-spacing:1.2px;text-align:center}.atlas-topline .world-motion{font-size:10px;white-space:nowrap;padding:6px 9px;min-height:34px;background:#f9e8ad;box-shadow:0 2px 0 #092e27;border-color:#d1a64b}.atlas-back{min-height:36px;min-width:52px;border:1px solid #a8c484;border-radius:7px;color:#fff3c7;background:#0a6845;font-weight:900;font-size:13px;padding:6px 10px}.atlas-stage{height:164cqw;position:relative;isolation:isolate;overflow:hidden;background:#16a3c7;--atlas-x:0px;--atlas-y:0px}.atlas-paper{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 95%,#f8e4b0 0,#e7c077 43%,transparent 60%),linear-gradient(#178bbc 0,#25b6cb 48%,#eed094 65%,#d9aa63);z-index:0}.atlas-cartography{position:absolute;top:20cqw;left:0;width:100%;height:110cqw;z-index:1;isolation:isolate}.atlas-painted{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:fill;mask-image:linear-gradient(#000 0,#000 89%,transparent 100%)}.atlas-water{position:absolute;inset:0;z-index:2;pointer-events:none;mask:url('/assets/atlas/sea-mask.svg') center/100% 100%;overflow:hidden;opacity:.55}.atlas-water svg{width:100%;height:100%;animation:atlas-tide 6.8s ease-in-out infinite alternate;will-change:transform,opacity}.atlas-pins{position:absolute;inset:0;width:100%;height:100%;z-index:4;overflow:visible;pointer-events:none}.atlas-place-label{font:800 26px 'Fraunces',Georgia,serif;fill:#243516;paint-order:stroke;stroke:#ffefb8;stroke-width:5px;stroke-linejoin:round;text-anchor:middle}.atlas-sea-label{font:italic 32px 'Fraunces',Georgia,serif;fill:#064965;text-anchor:middle;paint-order:stroke;stroke:#9fdac74a;stroke-width:2px}.atlas-county-label{font:800 37px 'Fraunces',Georgia,serif;letter-spacing:6px;fill:#3d581d;text-anchor:middle;paint-order:stroke;stroke:#ffedb477;stroke-width:3px}.atlas-neighbour-label{font:italic 23px 'Fraunces',Georgia,serif;fill:#674524;text-anchor:middle}.atlas-foliage{position:absolute;inset:-2% -2.5%;width:105%;height:104%;object-fit:fill;z-index:6;pointer-events:none;transform:translate(var(--atlas-x),var(--atlas-y));transition:transform .6s ease-out;filter:drop-shadow(0 7px 5px #26381466)}.atlas-title-ribbon{position:absolute;z-index:7;top:4cqw;left:6%;width:88%;padding:3cqw 4%;border:2px solid #bf8b36;border-bottom:5px solid #a36725;border-radius:40% 40% 10% 12% / 18% 16% 13% 14%;background:radial-gradient(ellipse at center,#fff7d8 30%,#f9dc99 100%);box-shadow:0 0 0 2px #ffe7a5,inset 0 2px 0 #fff8dc,inset 0 -7px 18px #cba25155,0 7px 10px #30522888;display:flex;align-items:center;justify-content:center;gap:9px;transform:rotate(-1.6deg)}.atlas-title-ribbon h1{font:800 clamp(25px,6.2cqw,48px)/1.04 'Fraunces',Georgia,serif;letter-spacing:-1.3px;text-align:center;color:#092a1c;text-shadow:0 2px #fff5ca;margin:0}.atlas-title-ribbon h1 br{display:none}.atlas-title-ribbon>span{font:30px Georgia;color:#4d6922;align-self:flex-end}.atlas-title-ribbon>span:last-child{transform:scaleX(-1)}.atlas-compass{position:absolute;z-index:4;right:3%;top:36%;width:15%;color:#5b350e;text-align:center;filter:drop-shadow(0 3px 2px #54381633);pointer-events:none}.atlas-compass>span{font:800 clamp(15px,3.6cqw,28px) 'Fraunces',serif;text-shadow:0 1px #ffeea3}.atlas-compass svg{display:block;width:100%;overflow:visible}.atlas-compass-needle{transform-origin:60px 60px;animation:atlas-compass-sway 5.4s ease-in-out infinite}.atlas-connectors{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none;overflow:visible}.atlas-connectors path{fill:none;stroke-linecap:round;stroke-linejoin:round}.atlas-line-shadows path{stroke:#ffefc2;stroke-width:5}.atlas-line-ink path{stroke:#244d35;stroke-width:2.5}.atlas-cards{position:absolute;inset:0;z-index:5}.atlas-town{position:absolute;left:var(--card-x);top:var(--card-y);width:31%;padding:4px 4px 6px;border:3px solid #074a2c;border-bottom-width:5px;border-radius:15px;background:linear-gradient(135deg,#165d32,#07472b);box-shadow:0 0 0 1px #f4d15e,inset 0 0 0 1px #f4d15e,0 6px 0 #453d1b,0 10px 16px #123b4666;text-align:center;color:#15321c;cursor:pointer;transition:translate .18s,box-shadow .18s;transform:rotate(-1.1deg)}.atlas-town:nth-child(even){transform:rotate(1.4deg)}.atlas-town:hover{translate:0 -4px;box-shadow:0 0 0 2px #ffef97,0 8px 0 #453d1b,0 15px 20px #183b4677}.atlas-town:active{translate:0 2px}.atlas-town-art{position:relative;display:block;width:100%;aspect-ratio:1.35;overflow:hidden;border:1px solid #fff1a0;border-radius:9px 9px 4px 4px;box-shadow:0 2px 2px #0b342c;isolation:isolate}.atlas-town-art img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}.atlas-town:hover .atlas-town-art img{transform:scale(1.06)}.atlas-town>strong{display:block;position:relative;z-index:2;width:calc(100% + 2px);margin:-5px -1px 0;padding:5px 1px 4px;border:1px solid #c39645;border-bottom:2px solid #b27d25;border-radius:9px;background:linear-gradient(#fffae3,#f7df9e);font:800 clamp(14px,3.7cqw,29px)/1.08 'Fraunces',Georgia,serif;color:#182f1c;letter-spacing:-.5px;box-shadow:0 2px 3px #032b2377;white-space:nowrap}.atlas-town-info{display:flex;align-items:center;justify-content:center;min-height:36px;padding:5px 3px 3px;background:#fff1c3;color:#293e24;font:800 clamp(10px,2.65cqw,19px)/1.25 'Nunito',sans-serif;margin:0 2px}.atlas-town-action{display:block;position:relative;border:1px solid #e0b845;border-top-color:#ffeaa2;border-radius:30% 15% 25% 12% / 50% 45% 50% 45%;background:linear-gradient(#168144,#085c32);box-shadow:0 3px 0 #8b6528,inset 0 1px 0 #91c774;color:#fff7cd;margin:-1px 5px 2px;padding:5px 2px;font:900 clamp(12px,3.15cqw,23px)/1.15 'Nunito';text-shadow:0 1px #074923}.atlas-town-action>span{margin-left:3px}.atlas-town[data-status=live] .atlas-town-action{background:linear-gradient(#1a8d4c,#075d35)}.atlas-town[data-status=soon] .atlas-town-art img{filter:saturate(.65)}.atlas-town[data-status=soon] .atlas-town-action{background:linear-gradient(#667650,#4c613c)}.atlas-town[data-status=loading]{opacity:1;cursor:wait}.atlas-town[data-status=loading] .atlas-town-action{background:#566c43}.atlas-ribbon{position:absolute;left:-10%;width:120%;bottom:18%;background:#a23826;color:#fff9db;font:900 clamp(9px,2.55cqw,18px)/1.3 'Nunito';padding:4px 0;border-top:1px solid #f1b47b;border-bottom:2px solid #66321d;transform:rotate(-7deg);box-shadow:0 2px 4px #18352780}.atlas-note{display:none}.atlas-entry-sign{position:relative;z-index:7;margin:-1cqw 5% 0;padding:16px 3%;display:flex;align-items:center;justify-content:center;gap:10px;border:3px solid #fff0a8;outline:2px solid #a6741e;border-radius:22px;background:radial-gradient(ellipse at center,#fffbe3,#f4d58c);box-shadow:0 6px 0 #b58023,0 10px 0 #684d2466,inset 0 0 0 2px #d1a53f,inset 0 0 13px #c1943180;text-align:center;color:#15331d}.atlas-entry-sign p{margin:0}.atlas-entry-sign strong{display:block;font:800 clamp(19px,5.05cqw,39px)/1.2 'Fraunces',Georgia,serif;color:#0b2e1a;letter-spacing:-.65px}.atlas-entry-sign p>span{display:block;font:800 clamp(14px,3.65cqw,27px)/1.3 'Fraunces',Georgia,serif;margin-top:4px;color:#2f4a21}.atlas-sign-spark{font-size:24px;color:#ae7e20}.atlas-guide{display:flex;align-items:center;position:relative;padding:22px 5% 6px;gap:6px;background:linear-gradient(#efd7a066,#e4bd79);color:#324e29}.atlas-guide-copy{flex:1;min-width:0;position:relative;z-index:1;padding:15px 10px 15px 16px;background:#fff4d1;border:2px solid #b48d47;border-radius:22px 22px 5px 22px;box-shadow:0 4px 0 #ba9150,0 7px 15px #66431a22}.atlas-guide h2{font:800 clamp(20px,4.8cqw,34px)/1.1 'Fraunces',Georgia,serif;letter-spacing:-.5px;margin:0 0 8px;color:#1c3c24}.atlas-guide p{font:800 clamp(12px,3.2cqw,19px)/1.45 'Nunito';margin:0}.atlas-guide>img{width:25%;max-height:240px;object-fit:contain;align-self:flex-end;margin-right:-1%;filter:drop-shadow(0 8px 4px #573b2355);animation:atlas-host-bob 5s ease-in-out infinite}.atlas-map-status{display:block;font:600 clamp(10px,2.5cqw,14px)/1.4 'Nunito';margin-top:10px;color:#5d6242}.atlas-credits{padding:14px 6% 18px;font:600 12px/1.5 'Nunito';background:#e4bd79;color:#493b24}.atlas-credits summary{cursor:pointer;width:max-content;margin:auto;padding:8px;text-decoration:underline;text-underline-offset:3px}.atlas-credits a{color:#284c2b}.atlas-demo-link{display:block;text-align:center;font-weight:800;background:#e4bd79;padding:0 15px 20px;color:#194c2d;font-size:13px}.atlas-next{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:7px;padding:13px 18px;margin:13px 5%;border:2px solid #a48542;border-radius:12px;background:#fff0bf;box-shadow:0 4px 0 #b28b44}.atlas-next[hidden]{display:none}.atlas-next span{font:900 14px 'Nunito'}.atlas-next strong{font:800 23px 'Fraunces';font-variant-numeric:tabular-nums}.atlas-next small{width:100%;font-weight:700}.atlas-event-options article{padding:16px;border:2px solid #baa054;border-radius:13px;background:#fff4ce;margin:12px 0}.atlas-event-options article>span{font-size:12px;font-weight:900;color:#576434}.atlas-event-options h3{font:800 25px/1.2 'Fraunces';margin:8px 0}.atlas-event-options p{font-weight:700}.atlas-empty>img{display:block;width:100%;max-height:240px;object-fit:cover;border-radius:12px;margin-bottom:18px}.atlas-flight{position:fixed;inset:0;overflow:hidden;z-index:99999;pointer-events:auto;background:transparent}.atlas-flight>img{position:absolute;object-fit:cover;transform-origin:center;will-change:transform,filter;box-shadow:0 0 0 3px #d9be70,0 10px 45px #09352766}.atlas-departing .atlas-foliage{scale:1.035;filter:blur(2px);transition:scale .68s,filter .68s}.atlas-departing .atlas-compass{filter:blur(1px);transition:filter .4s}.story-map :is(button,a,summary):focus-visible{outline:3px solid #102ff2!important;outline-offset:4px!important}.story-map .atlas-town:focus-visible{outline:4px solid #fffac8!important;box-shadow:0 0 0 8px #075d38,0 12px 25px #103c55!important}.atlas-town[disabled]:hover{translate:0 0}.atlas-town[disabled] .atlas-town-art img{transform:none}
@keyframes atlas-tide{from{transform:translate(-6px,1px);opacity:.4}to{transform:translate(5px,6px);opacity:.85}}@keyframes atlas-compass-sway{0%,100%{transform:rotate(-2.2deg)}50%{transform:rotate(2.2deg)}}@keyframes atlas-host-bob{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-4px) rotate(1deg)}}
html[data-world-motion=off] .story-map *,html[data-world-hidden=yes] .story-map *{animation-play-state:paused!important}.story-map .atlas-foliage{animation-play-state:running}html[data-world-motion=off] .atlas-foliage{transform:none;transition:none}html[data-world-motion=off] .atlas-town,html[data-world-motion=off] .atlas-town-art img{transition:none}html[data-world-motion=off] .atlas-town:hover{translate:none}
@media(max-width:600px){.enchanted .atlas-wrap .brand strong{font-size:19px}.enchanted .atlas-wrap .brand small{font-size:8px}.enchanted .atlas-wrap .brand img{width:34px}.enchanted .atlas-wrap .topbar{min-height:74px}.atlas-topline{padding:8px 9px;gap:7px}.atlas-topline>span{font-size:8px;letter-spacing:.7px;max-width:125px}.atlas-topline .world-motion{font-size:9px;padding:6px 7px}.atlas-title-ribbon{border-bottom-width:4px}.atlas-title-ribbon h1{letter-spacing:-.8px}.atlas-title-ribbon h1 br{display:block}.atlas-title-ribbon>span{font-size:24px}.atlas-town{border-width:2px;border-bottom-width:4px;padding:3px 3px 5px;border-radius:12px}.atlas-town>strong{padding:5px 0 4px;font-size:clamp(13px,3.75cqw,23px)}.atlas-town-info{min-height:33px;padding:5px 3px 3px}.atlas-town-action{padding:5px 1px;margin:0 3px 1px;white-space:nowrap}.atlas-entry-sign{padding:13px 3%;gap:5px;border-radius:18px}.atlas-sign-spark{font-size:15px}.atlas-guide{padding-top:20px}.atlas-guide-copy{padding:13px 10px}.atlas-credits{font-size:11px}.atlas-stage{height:173cqw}.atlas-cartography{top:23cqw}.atlas-compass{top:36%}.atlas-guide>img{width:28%;margin-left:-4px;max-height:150px}}
@media(max-width:350px){.atlas-stage{height:192cqw}.atlas-cartography{top:31cqw}.atlas-title-ribbon{top:5cqw}.atlas-town>strong{font-size:12px}.atlas-town-info{font-size:9px}.atlas-town-action{font-size:11px}.atlas-entry-sign strong{font-size:17px}.atlas-entry-sign p>span{font-size:13px}.atlas-topline>span{max-width:95px}.atlas-cromer{--card-y:18%!important}.atlas-bacton-woods{--card-y:69%!important}.atlas-town-art{aspect-ratio:1.3}.atlas-guide h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.story-map *{animation:none!important;transition:none!important}.atlas-foliage{transform:none!important}.atlas-town:hover{translate:none}.atlas-town:hover .atlas-town-art img{transform:none}}
/* Keep every card clear of the frame, including the longest place names. */
.atlas-foliage{z-index:4}.atlas-painted{mask-image:linear-gradient(transparent 0,#000 5%,#000 87%,transparent 100%)}.enchanted .story-map .atlas-title-ribbon h1{font-family:'Fraunces',Georgia,serif;font-weight:800}.atlas-wrap>.world-page-settings{display:none}.enchanted body:has(.story-map) .admin-corner{position:static;transform:none;width:max-content;margin:16px 18px 25px auto}
@media(max-width:600px){.atlas-stage{height:185cqw}.atlas-cartography{top:35cqw}.atlas-sheringham{--card-y:18%!important}.atlas-cromer{--card-y:21%!important}.enchanted .story-map .atlas-title-ribbon h1{font-size:clamp(28px,7.5cqw,40px);line-height:1.05}.atlas-title-ribbon{top:4cqw}.atlas-compass{top:39%}}
@media(max-width:350px){.atlas-stage{height:207cqw}.atlas-cartography{top:43cqw}.atlas-sheringham{--card-y:18%!important}.atlas-cromer{--card-y:21%!important}.atlas-bacton-woods{--card-y:69%!important}}
.atlas-title-ribbon>span{position:absolute;left:4%;bottom:12%}.atlas-title-ribbon>span:last-child{left:auto;right:4%}.atlas-foliage{animation:atlas-leaf-breathe 8s ease-in-out infinite alternate}.story-map[data-awake=no] *{animation-play-state:paused!important}.atlas-more{padding:8px 5% 18px;background:#e4bd79}.atlas-more[hidden]{display:none}.atlas-more h2{font:800 24px 'Fraunces';margin:12px 0}.atlas-more>button{display:block;width:100%;text-align:left;border:2px solid #bc8e35;border-radius:12px;background:#fff3cb;color:#254b2b;padding:12px 15px;min-height:50px;margin:8px 0;font:800 15px/1.4 'Nunito'}.atlas-more>button span{display:block;font-size:13px;font-weight:700}.atlas-more>button b{float:right}
@keyframes atlas-leaf-breathe{from{translate:-1px 0;rotate:-.12deg}to{translate:1px 1px;rotate:.12deg}}
@media(max-width:350px){.enchanted .story-map .atlas-title-ribbon h1{font-size:26px;letter-spacing:-1px}.atlas-title-ribbon{padding-top:4cqw;padding-bottom:4cqw}.atlas-title-ribbon>span{font-size:19px}}
/* Three flowing rows keep cards readable at text zoom and on small phones. */
.story-map .atlas-stage{height:auto;min-height:0}.story-map .atlas-cards{position:relative;display:grid;grid-template-columns:32cqw 32cqw;justify-content:space-between;gap:7cqw 0;padding:25cqw 9cqw 7cqw;inset:auto}.story-map .atlas-town{position:relative;left:auto;top:auto;width:100%;align-self:start}.atlas-sheringham{grid-column:1;grid-row:1}.atlas-cromer{grid-column:2;grid-row:1}.atlas-holt{grid-column:1;grid-row:2}.atlas-norwich{grid-column:1;grid-row:3}.atlas-bacton-woods{grid-column:2;grid-row:3}.story-map .atlas-compass{top:68cqw;right:1%;width:14%}.atlas-cards .atlas-town-info{min-height:37px}
@media(max-width:600px){.story-map .atlas-cards{padding-top:37cqw;gap:8cqw 0}.story-map .atlas-compass{top:84cqw;right:1%;width:14%}}
@media(max-width:350px){.story-map .atlas-cards{padding-top:39cqw;gap:9cqw 0}.story-map .atlas-compass{top:98cqw}}

.story-map .atlas-compass{width:12%;right:1%}
/* The location picker fits the visible screen; secondary details live in its menu. */
.enchanted body:has(.story-map){margin:0;min-height:0}
.enchanted :is(.wrap,.demo-wrap).atlas-wrap{width:min(100%,calc(var(--atlas-vh,100dvh)*.86),840px);max-width:none;height:calc(var(--atlas-vh,100dvh) - var(--atlas-toolbar,0px));margin:0 auto;padding:6px 7px 10px;box-sizing:border-box}
.atlas-wrap>main,.enchanted .atlas-demo-host{height:100%;min-height:0}
.atlas-wrap>.demo-header,.atlas-wrap>.fine,.atlas-wrap>.site-footer,.atlas-wrap>.world-page-settings,.enchanted body:has(.story-map) .admin-corner{display:none!important}
.story-map{display:grid;grid-template-rows:44px minmax(0,1fr) auto;height:100%;margin:0;border-radius:16px;box-sizing:border-box;box-shadow:0 0 0 2px #ffe5a1,0 5px 0 #063d36,0 12px 25px #00332850}
.atlas-topline{min-height:0;padding:4px 9px;gap:7px;justify-content:space-between}
.atlas-topline :is(.atlas-back,.atlas-utility,.world-motion){min-height:32px;padding:5px 9px;font:900 12px 'Nunito';border-radius:8px;white-space:nowrap;letter-spacing:0}
.atlas-utility{color:#fff3c7;background:#0a6845;border:1px solid #a8c484;cursor:pointer}
.story-map .atlas-stage{height:100%;min-height:0;container-type:size}
.story-map .atlas-cards{position:absolute;inset:0;display:grid;grid-template-columns:36% 36%;grid-template-rows:repeat(3,minmax(0,1fr));padding:84px 7% 16px;gap:16px 0;height:100%;box-sizing:border-box}
.story-map .atlas-town{display:grid;grid-template-rows:minmax(18px,1fr) auto auto 24px;height:100%;min-height:0;padding:3px 3px 5px;align-self:stretch;border-width:2px;border-bottom-width:4px;border-radius:11px}
.atlas-town .atlas-town-art{aspect-ratio:auto;height:100%;min-height:0}
.atlas-town>strong{font-size:clamp(13px,3.5cqw,20px);line-height:1.1;padding:3px 0;margin-top:-2px;border-radius:6px;letter-spacing:-.5px}
.atlas-cards .atlas-town-info{min-height:22px;padding:3px 2px;font:800 clamp(10px,2.6cqw,12px)/1.1 'Nunito'}
.atlas-cards .atlas-town-action{font-size:clamp(11px,2.9cqw,14px);line-height:1.1;margin:0 2px 1px;padding:4px 1px;white-space:nowrap}
.story-map .atlas-title-ribbon{top:10px;left:6%;width:88%;padding:7px 8%;border-bottom-width:3px;min-height:48px}
.enchanted .story-map .atlas-title-ribbon h1{font-size:clamp(24px,5.8cqw,33px);line-height:1.04;letter-spacing:-.8px;margin:0}
.story-map .atlas-title-ribbon>span{font-size:20px;bottom:17%}
.story-map .atlas-compass{width:11%}
.atlas-bottom{position:relative;z-index:7;padding:3px 5% 9px;background:#e7c783}
.atlas-bottom .atlas-entry-sign{margin:0;padding:5px 2%;border-radius:14px;border-width:2px;box-shadow:0 3px 0 #b58023,inset 0 0 0 1px #d1a53f;gap:5px}
.atlas-entry-sign strong{font-size:clamp(16px,4.25cqw,23px);line-height:1.15;letter-spacing:-.3px}
.atlas-entry-sign p>span{font-size:clamp(12px,3.1cqw,16px);line-height:1.15;margin-top:1px}
.atlas-sign-spark{font-size:15px}
.atlas-bottom .atlas-next{padding:1px 2px 5px;margin:0;border:0;border-radius:0;background:none;box-shadow:none;gap:2px 7px;justify-content:center}
.atlas-next span,.atlas-next strong{font:900 11px/1.1 'Nunito'}
.atlas-next small{display:none}
.atlas-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.atlas-menu-actions{display:grid;gap:10px;margin-bottom:20px}
body:has(.story-map) .demo-toolbar{padding:4px 9px;gap:7px;min-height:46px;box-sizing:border-box}
body:has(.story-map) .demo-toolbar strong{font-size:12px;line-height:1.2}
body:has(.story-map) .demo-toolbar span{font-size:9px;line-height:1.2;max-width:180px}
body:has(.story-map) .demo-toolbar nav{gap:5px}
body:has(.story-map) .demo-toolbar :is(button,a){font-size:11px;padding:5px 7px;min-height:32px;display:grid;place-items:center}
@media(max-height:680px){.story-map .atlas-cards{padding-top:65px;gap:12px 0;padding-bottom:12px}.story-map .atlas-title-ribbon{top:8px;padding:5px 8%;min-height:43px}.enchanted .story-map .atlas-title-ribbon h1{font-size:clamp(22px,5.8cqw,29px)}.story-map .atlas-town{grid-template-rows:minmax(16px,1fr) auto auto 21px}.atlas-cards .atlas-town-action{padding:3px 0;font-size:11px}.atlas-cards .atlas-town-info{font-size:10px;min-height:19px;padding:2px 1px}.atlas-town>strong{font-size:clamp(12px,3.5cqw,18px)}.atlas-bottom{padding-bottom:7px}}
@media(max-height:500px) and (min-aspect-ratio:6/5){.enchanted :is(.wrap,.demo-wrap).atlas-wrap{width:min(100%,1000px)}.story-map .atlas-cards{grid-template-columns:26% 26% 26%;grid-template-rows:repeat(2,minmax(0,1fr));padding:49px 5% 10px;gap:10px 0}.atlas-sheringham{grid-column:1;grid-row:1}.atlas-cromer{grid-column:3;grid-row:1}.atlas-holt{grid-column:1;grid-row:2}.atlas-norwich{grid-column:2;grid-row:2}.atlas-bacton-woods{grid-column:3;grid-row:2}.story-map .atlas-title-ribbon{top:5px;left:19%;width:62%;min-height:32px;padding:3px 8%}.enchanted .story-map .atlas-title-ribbon h1{font-size:23px}.story-map{grid-template-rows:38px minmax(0,1fr) auto}.atlas-topline :is(.atlas-back,.atlas-utility,.world-motion){min-height:28px}.atlas-bottom .atlas-entry-sign{padding:3px}.atlas-entry-sign strong{font-size:15px}.atlas-entry-sign p>span{font-size:11px}.story-map .atlas-town{grid-template-rows:minmax(14px,1fr) auto auto 18px}.atlas-town>strong{font-size:13px;padding:2px}.atlas-cards .atlas-town-info{font-size:10px;min-height:15px;padding:1px}.atlas-cards .atlas-town-action{font-size:11px;padding:1px}.story-map .atlas-compass{width:7%}}

.enchanted .story-map .atlas-title-ribbon h1{word-spacing:.08em;letter-spacing:-.4px}
.story-map[data-demo=true] .atlas-town[data-status=ready]{grid-template-rows:minmax(18px,1fr) auto 24px}
.story-map[data-demo=true] .atlas-town[data-status=ready] .atlas-town-info{display:none}
@media(max-height:680px) and (max-aspect-ratio:6/5){.story-map .atlas-cards{padding-top:74px}}
@media(max-height:500px) and (min-aspect-ratio:6/5){
.story-map .atlas-cartography{width:auto;height:125%;aspect-ratio:10/11;left:50%;translate:-50% 0}
.story-map .atlas-town,.story-map[data-demo=true] .atlas-town[data-status=ready]{grid-template-columns:38% minmax(0,1fr);grid-template-rows:repeat(3,minmax(0,1fr));gap:0 3px}
.atlas-town .atlas-town-art{grid-column:1;grid-row:1/4}
.atlas-town>strong{grid-column:2;grid-row:1;margin:0;width:100%;font-size:12px;white-space:normal;line-height:1}
.atlas-town .atlas-town-info{grid-column:2;grid-row:2;font-size:9px}
.atlas-town .atlas-town-action{grid-column:2;grid-row:3;align-self:end;margin:0;font-size:11px;white-space:normal}
.story-map[data-demo=true] .atlas-town[data-status=ready]>strong{grid-row:1/3;align-self:center}
}

@media(max-height:500px) and (min-aspect-ratio:6/5){.story-map .atlas-foliage{object-fit:cover}}

/* Six towns share the same three rows; the map remains a single screen. */
.atlas-north-walsham{grid-column:2;grid-row:2}
.atlas-north-walsham>strong{white-space:normal;line-height:1.02}
.story-map .atlas-cartography{width:86%;height:94.6cqw}
.story-map .atlas-compass{right:44.5%;width:11%}
@media(max-height:500px) and (min-aspect-ratio:6/5){
.atlas-north-walsham{grid-column:2;grid-row:1}
.story-map .atlas-cartography{width:auto;height:125%}
.story-map .atlas-compass{right:1%;width:5%}
}
.atlas-north-walsham .atlas-town-art img{object-position:54% center}

/* Keep navigation together; only the utility menu sits at the far edge. */
.atlas-topline{justify-content:flex-start}.atlas-topline>.atlas-utility:last-child{margin-left:auto}

/* Clear side-by-side town panels and short, individually routed map connections. */
.story-map .atlas-cards{grid-template-columns:30.6% 30.6%;padding-left:3%;padding-right:3%;padding-bottom:54px;gap:32px 0}
.story-map .atlas-town{transform:none;border-radius:12px;box-shadow:0 0 0 1px #ffe17c,inset 0 0 0 1px #f4d15e,0 5px 0 #405527,0 9px 13px #123b4666}
.story-map .atlas-cartography{width:180%;height:198cqw;left:-62%}
.story-map .atlas-compass{right:44%;width:12%;top:auto;bottom:2px}
.story-map .atlas-town>strong{font-size:clamp(12px,3.35cqw,19px);white-space:normal;padding:4px 1px}
.story-map .atlas-town-info{font-size:clamp(9px,2.4cqw,12px);min-height:24px}
.story-map .atlas-town-action{font-size:clamp(10px,2.65cqw,13px)}
.story-map .atlas-line-shadows path{stroke:#fff2c6;stroke-width:5.5}
.story-map .atlas-line-ink path{stroke:#22583b;stroke-width:2.7}
.story-map .atlas-place-label{font-size:24px;stroke-width:5px}
@media(max-height:680px){.story-map .atlas-cards{gap:23px 0;padding-bottom:42px}.story-map .atlas-compass{width:10%;right:45%}}
@media(max-height:500px) and (min-aspect-ratio:6/5){
.story-map .atlas-cards{grid-template-columns:25% 25% 25%;padding:49px 4% 12px;gap:13px 0}
.story-map .atlas-cartography{width:auto;height:145%;left:50%;translate:-50% 0}
.story-map .atlas-compass{width:5%;right:1%;bottom:8px}
}

.story-map .atlas-pin-caption{font:800 12px 'Fraunces',Georgia,serif;fill:#153e24;stroke:#fff0bd;stroke-width:3px;paint-order:stroke;stroke-linejoin:round;text-anchor:middle}
.story-map .atlas-county-label,.story-map .atlas-neighbour-label{display:none}
@media(max-height:500px) and (min-aspect-ratio:6/5){.story-map .atlas-pin-caption{font-size:10px}}
/* Short screens keep the illustration visible rather than repeating the status twice. */
@media(max-height:680px) and (max-aspect-ratio:6/5){
.story-map .atlas-town{grid-template-rows:minmax(22px,1fr) auto 21px}
.story-map .atlas-town-info{display:none}
.story-map .atlas-town>strong{font-size:12px;padding:3px 0}
.story-map .atlas-town-action{font-size:10px;padding:3px 0}
.story-map .atlas-pin-caption{font-size:10px}
}
body:has(.story-map)>.app-manager-link{display:none}
@media(max-height:500px) and (min-aspect-ratio:6/5){
.story-map .atlas-town>strong{font-size:12px;line-height:1;padding:1px 0}
.story-map .atlas-town-info{font-size:9px;line-height:1;min-height:0;padding:1px}
.story-map .atlas-town-action{font-size:10px;padding:2px 0}
.story-map .atlas-ribbon{font-size:9px;white-space:nowrap;padding:3px 0}
}
/* Pins share the stage's layer order so every connecting line passes behind them. */
.story-map .atlas-cartography{z-index:auto;isolation:auto}
.story-map .atlas-painted{z-index:1}
.story-map .atlas-pins{z-index:4}

/* Published event cards: a slimmer town banner leaves room for the start and action. */
.story-map .atlas-cards{grid-template-columns:32.5% 32.5%;gap:24px 0;padding-bottom:46px}
.story-map .atlas-town{grid-template-rows:minmax(30px,1fr) auto auto minmax(26px,auto);row-gap:3px;padding:4px 4px 7px}
.story-map .atlas-town>strong{font-size:clamp(12px,3.05cqw,18px);line-height:1.08;padding:3px 1px;margin:0;border-radius:5px;white-space:nowrap;font-size:clamp(10px,2.85cqw,16px)}
.story-map .atlas-town-info{display:flex;flex-direction:column;gap:2px;min-height:30px;padding:4px 2px;font-size:clamp(10px,2.5cqw,12px);line-height:1.15;margin:0 1px}
.story-map .atlas-admin-chevron{display:inline-block;font-size:12px;line-height:1;margin-left:4px;vertical-align:baseline}
.story-map .atlas-town-info time{font-weight:900;font-variant-numeric:tabular-nums;white-space:nowrap}
.story-map .atlas-town-action{font-size:clamp(10px,2.6cqw,13px);padding:6px 1px;margin:1px 2px 0;line-height:1.1;align-self:end}
.story-map .atlas-town-art>.atlas-host-overlay{position:absolute;z-index:1;right:-1%;bottom:-1%;height:96%;width:56%;object-fit:contain;object-position:center bottom;filter:drop-shadow(1px 3px 2px #142d2866);pointer-events:none}
.story-map .atlas-town-art>img:first-child{position:relative;z-index:0}.story-map .atlas-ribbon{z-index:2}
@media(max-height:680px) and (max-aspect-ratio:6/5){.story-map .atlas-cards{gap:16px 0;padding-bottom:35px}.story-map .atlas-town{grid-template-rows:minmax(24px,1fr) auto auto minmax(23px,auto);row-gap:2px;padding:3px 3px 5px}.story-map .atlas-town-info{min-height:25px;font-size:9px;padding:2px 1px;gap:1px}.story-map .atlas-town-action{font-size:10px;padding:5px 0}.story-map .atlas-town>strong{font-size:11px;padding:2px 0}}
@media(max-height:500px) and (min-aspect-ratio:6/5){.story-map .atlas-cards{grid-template-columns:26% 26% 26%;gap:13px 0;padding-bottom:12px}.story-map .atlas-town{grid-template-columns:38% minmax(0,1fr);grid-template-rows:auto minmax(24px,1fr) auto;gap:2px 4px}.story-map .atlas-town-art{grid-column:1;grid-row:1/4}.story-map .atlas-town>strong{grid-column:2;grid-row:1;font-size:12px}.story-map .atlas-town-info{grid-column:2;grid-row:2;min-height:24px;padding:1px;font-size:9px;line-height:1.1}.story-map .atlas-town-action{grid-column:2;grid-row:3;padding:4px 0;font-size:10px}}
