/* Towns are labels; only the separate play action has a raised button treatment. */
.story-map[data-view=list] .atlas-list-card{container-type:inline-size;background:#a94329;border-color:#ffdda1;border-radius:19px;box-shadow:0 4px #73331f,0 8px 14px #063e454d}
.story-map[data-view=list] .atlas-town-plaque{order:0;background:linear-gradient(100deg,#bb4d2c,#a53b29)!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-height:43px;height:43px;display:flex;align-items:center;justify-content:center;padding:4px 10px;gap:5px;flex:none;position:relative}
.story-map[data-view=list] .atlas-town-plaque::before,.story-map[data-view=list] .atlas-town-plaque::after{content:none!important}
.story-map[data-view=list] .atlas-town-plaque strong{font:400 clamp(20px,calc(164cqw / var(--town-length,8)),42px)/1.05 'Lilita One','Nunito',sans-serif!important;color:#fffaf1!important;text-shadow:0 2px #713122!important;letter-spacing:.1px!important;white-space:nowrap!important;max-width:100%;overflow:visible}
.story-map[data-view=list] .atlas-town-art{order:1;border-radius:0;isolation:isolate}.story-map[data-view=list] .atlas-card-details{order:2;background:linear-gradient(110deg,#bb4d2c,#a53b29)!important;padding:7px 8px 10px;gap:5px;box-shadow:none}.story-map[data-view=list] .atlas-card-pending{order:2;background:#a53b29}.story-map[data-view=list] .atlas-list-story{font-weight:900;font-size:13px;color:#fff!important;line-height:1.2}.story-map[data-view=list] .atlas-card-action{margin-top:2px;min-height:32px;border-radius:12px;box-shadow:inset 0 2px #9effbe,0 3px #065834;line-height:1.15;padding:6px 5px}
.story-map[data-view=list] .atlas-card-status{padding:3px 6px;font-size:11px;max-width:100%;background:#773322;color:#fff9e6!important}.story-map[data-view=list] .atlas-card-status[data-kind=live]{background:#07583c;color:#e8ffcf!important}
.story-map[data-view=list] .atlas-card-action>span[aria-hidden=true]:first-child{display:none}.story-map[data-view=list] .atlas-card-action>span[aria-hidden=true]:last-child{font-size:16px;flex:none}
.story-map[data-view=list] .atlas-photo-credit{font:700 10px/1.3 'Nunito',sans-serif;color:#fff!important;text-decoration:underline;text-underline-offset:2px;align-self:center;padding:5px 3px}.story-map[data-view=list] .atlas-entry-note{gap:3px 12px;padding:6px 10px}.story-map[data-view=list] .atlas-entry-note *{color:#fff!important}
/* Display-only colour grade: original town photographs and geography are preserved. */
.story-map[data-view=list] .atlas-town-art>img:not(.atlas-host-overlay){filter:saturate(1.42) contrast(1.12) brightness(1.07)!important}.story-map[data-view=list] .atlas-list-card[data-place=bacton-woods] .atlas-town-art>img{filter:none!important}
.story-map[data-view=list] .atlas-list-card:not([data-place=bacton-woods]) .atlas-town-art::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(#1674dc77,#1164ca20 55%,transparent 80%);mix-blend-mode:overlay}.story-map[data-view=list] .atlas-host-overlay{z-index:2}.story-map[data-view=list] .atlas-hanging{z-index:3}
/**** Real interlocking iron chains, moving together with the wooden notice. ****/
.story-map[data-view=list] .atlas-hanging{top:0;width:82%;max-width:235px}.atlas-hanging .atlas-chains{display:block;position:relative;height:35px;width:100%;overflow:hidden;margin-bottom:-6px;z-index:2;filter:drop-shadow(1px 2px 1px #0008)}.atlas-hanging .atlas-chains img{position:absolute;width:35px;height:105px;object-fit:contain;max-width:none;top:-64px;left:3%;filter:none!important;transform:none!important}.atlas-hanging .atlas-chains img:last-child{left:auto;right:3%}.story-map[data-view=list] .atlas-wood-notice{font-size:clamp(13px,2vw,20px);padding:8px 4px;min-height:28px;background:linear-gradient(#e9ad57,#d48b3e);box-shadow:inset 0 2px #ffe0a1,0 3px #865120;border-color:#965c2d}
/* Gold lock art sits on a richer, intentionally concealed clue, not a flat placeholder icon. */
.story-locked .story-hidden-art{background:radial-gradient(ellipse at center,#26968c88,#082e5466),var(--story-landscape) center/cover;filter:blur(7px)}.story-padlock .storybook-padlock-art{display:block;width:64px;height:70px;max-height:60%;object-fit:contain;filter:drop-shadow(0 3px 2px #08242eaa) drop-shadow(0 0 7px #ffdb6355)}.story-padlock small{background:#153e65f2;color:#fff9df;border:1px solid #aecedb;box-shadow:0 2px #082c47;padding:5px 9px;line-height:1.2}
/* Cherry-red prize ribbon, violet story panel, green audio controls: deliberate variety. */
.hunt-progress-board .hunt-board-heading{position:relative;isolation:isolate;background:linear-gradient(110deg,#b42e4a,#8b203c)!important;border-color:#ffce79;min-height:75px;padding:6px 9px;grid-template-columns:minmax(100px,1fr) 150px auto 44px;gap:10px;overflow:hidden}.hunt-board-heading .hunt-board-title{position:relative;z-index:2;font:400 21px/1.05 'Lilita One','Nunito',sans-serif;color:#fff6ce;max-width:170px;text-shadow:0 2px #67162f}.hunt-board-heading .hunt-board-title small{display:block;font:800 11px/1.25 'Nunito';color:#fff!important;margin:4px 0 0}.hunt-board-heading .hunt-board-prize{position:relative;z-index:2;width:150px}.hunt-board-heading .hunt-board-prize strong{height:54px}.hunt-board-heading .hunt-board-live,.hunt-board-heading .hunt-board-expand{position:relative;z-index:2}.hunt-board-heading .hunt-board-live{color:#fff!important;text-shadow:0 1px #6c1730}.hunt-board-heading .hunt-board-prize small{color:#fff8d2!important}
.hunt-board-heading .hunt-board-treasure-decoration{position:absolute;left:22%;right:34%;top:0;bottom:0;max-width:none!important;background:var(--vivid-treasure) center/100% auto no-repeat;pointer-events:none;z-index:0;opacity:.92;filter:drop-shadow(0 1px 2px #57200a88)}.hunt-board-treasure-decoration::after{content:'✦';color:#fffad0;font-size:19px;position:absolute;left:12%;top:12%;text-shadow:0 0 7px #ffdb56;animation:treasure-glint 6s ease-in-out infinite}
.story-adventure .story-hero,.story-adventure .story-read{background:linear-gradient(115deg,#7b3bb3,#533399 65%,#42287e)!important;border-color:#d6b1f7!important}.story-adventure .story-read{box-shadow:0 4px #2c195b,0 8px 14px #05392d44}.enchanted .story-adventure #story-title{color:#fff9d9!important;text-shadow:0 2px #341e62!important}.story-adventure .story-player{background:linear-gradient(#147860,#07563f)!important;border-color:#e6f397;box-shadow:inset 0 1px #7ad8b2,0 3px #073b2b}.story-adventure .story-player :is(.story-audio-time,.story-wave){color:#fff!important}.story-adventure .story-audio-status{color:#fff4cd!important}.story-adventure .story-read :is(summary,p,strong){color:#fff!important}
.story-adventure .story-event-notice{background:linear-gradient(110deg,#78339d,#542575)!important;border-color:#d2a4e7}.enchanted .story-adventure .story-event-notice :is(h2,h3,p,strong,span,a,small){color:#fff!important;text-shadow:none!important}.story-adventure .story-event-notice .story-entry-time{color:#fff!important}
.story-adventure .story-hero::after{content:'';position:absolute;right:-8px;top:-10px;width:55px;height:55px;background:url('/assets/places/oak-corner.webp') center/contain no-repeat;transform:rotate(72deg);pointer-events:none;opacity:.9}.story-adventure .story-hero{position:relative;padding-right:24px!important}
/* A genuine illustrated log is the action surface, with live, accessible carved lettering. */
.story-adventure .story-below{background:none!important;border:0!important;box-shadow:none!important;padding:0;margin:14px auto 8px;max-width:690px;min-height:0}.story-adventure .story-below>button{display:block;width:100%;min-height:90px;padding:27px 14%;border:0;border-radius:0;background:url('/assets/vivid/adventure-log.webp') center/100% 100% no-repeat!important;box-shadow:none!important;color:#3e1b08!important;text-decoration:none;font:400 clamp(20px,3vw,29px)/1.1 'Lilita One','Nunito',sans-serif!important;text-shadow:0 1px #ffe1a2,0 -1px #713711;filter:drop-shadow(0 5px 3px #08272188);transition:transform .16s,filter .16s}.story-adventure .story-below>button:hover{filter:drop-shadow(0 6px 4px #082721aa) brightness(1.08)}.story-adventure .story-below>button:active{transform:translateY(3px)}.story-adventure .story-below>button:focus-visible{outline:3px solid #fff7bd;outline-offset:3px;border-radius:20px}
/**** Warm orange menus, with white copy checked against the darkest/readable orange. ****/
html.enchanted body dialog:not(.hunt-board-dialog):not(.rules-dialog):not(.storybook-opening):not(.storybook-rules-arrival):not(.enchanted-rulebook-dialog){background:linear-gradient(125deg,#ad4827,#8c342d 62%,#772b36)!important;border-color:#ffb77a!important;color:#fff;box-shadow:0 5px #57202a,0 18px 60px #001b3b88!important}
html.enchanted body dialog:not(.hunt-board-dialog):not(.rules-dialog):not(.storybook-opening):not(.storybook-rules-arrival):not(.enchanted-rulebook-dialog) :is(h2,h3,h4,p,label,.fine,summary,a,small,legend){color:#fff!important;text-shadow:none!important}html.enchanted body dialog:not(.hunt-board-dialog):not(.rules-dialog):not(.storybook-opening):not(.storybook-rules-arrival):not(.enchanted-rulebook-dialog) :is(input,select,textarea){color:#173b51!important;background:white!important}html.enchanted body dialog:not(.hunt-board-dialog):not(.rules-dialog):not(.storybook-opening):not(.storybook-rules-arrival):not(.enchanted-rulebook-dialog) .error{color:#fff4ab!important}
html.enchanted body dialog:not(.hunt-board-dialog):not(.rules-dialog):not(.storybook-opening):not(.storybook-rules-arrival):not(.enchanted-rulebook-dialog) :is(.notice,.entry-summary,.payment-summary){background:#702b24!important;border-color:#d98a64;color:white!important}
@media(min-width:800px){.story-map[data-view=list] .atlas-town-plaque{min-height:54px;height:54px}.story-map[data-view=list] .atlas-town-plaque strong{font-size:clamp(26px,calc(164cqw / var(--town-length,8)),49px)!important}.story-map[data-view=list] .atlas-card-details{padding:8px 13px 12px;gap:6px}.story-map[data-view=list] .atlas-list-story{font-size:16px}.story-map[data-view=list] .atlas-card-action{min-height:39px;font-size:17px}.story-map[data-view=list] .atlas-card-status{font-size:13px}.story-adventure .story-below>button{min-height:116px;padding:32px 15%}}
@media(max-width:520px){.hunt-progress-board .hunt-board-heading{grid-template-columns:minmax(76px,1fr) 109px auto 36px;gap:4px;padding:5px;min-height:67px}.hunt-board-heading .hunt-board-title{font-size:15px}.hunt-board-heading .hunt-board-title small{font-size:9px}.hunt-board-heading .hunt-board-prize{width:109px}.hunt-board-heading .hunt-board-prize strong{height:42px}.hunt-board-heading .hunt-board-treasure-decoration{left:26%;right:30%;opacity:.55;background-size:150% auto}.hunt-board-heading .hunt-board-treasure-decoration::after{font-size:12px}.hunt-board-heading .hunt-board-live{font-size:9px;max-width:49px;line-height:1.2}.story-adventure .story-below>button{min-height:94px;padding:28px 10%;font-size:18px!important;white-space:nowrap}.story-padlock .storybook-padlock-art{width:51px;height:55px}.story-map[data-view=list] .atlas-entry-note strong,.story-map[data-view=list] .atlas-entry-note span{font-size:10px}.story-map[data-view=list] .atlas-photo-credit{font-size:10px;padding:2px 3px}.story-adventure .story-hero::after{width:40px;height:40px;right:-4px;top:-8px}}
@media(max-width:360px){.story-map[data-view=list] .atlas-town-plaque{height:39px;min-height:39px;padding:3px 6px}.story-map[data-view=list] .atlas-town-plaque strong{font-size:clamp(17px,calc(164cqw / var(--town-length,8)),36px)!important}.story-map[data-view=list] .atlas-card-details{padding:5px 6px 8px;gap:4px}.story-map[data-view=list] .atlas-list-story{font-size:11px}.story-map[data-view=list] .atlas-card-status{font-size:10px}.story-map[data-view=list] .atlas-card-action{font-size:12px;min-height:29px}.hunt-progress-board .hunt-board-heading{grid-template-columns:minmax(63px,1fr) 89px auto 32px;gap:3px}.hunt-board-heading .hunt-board-prize{width:89px}.hunt-board-heading .hunt-board-title{font-size:13px}.story-adventure .story-below>button{font-size:18px!important}}
@media(prefers-reduced-motion:reduce){.hunt-board-treasure-decoration::after{animation:none}.story-adventure .story-below>button{transition:none}}html[data-world-motion=off] .hunt-board-treasure-decoration::after{animation:none}

/* Balanced embossed prize plaque: coins flank the live amount, never the heading. */
.hunt-progress-board .hunt-board-heading{display:grid;grid-template-columns:minmax(120px,1fr) minmax(240px,1.65fr) minmax(120px,1fr);gap:10px;padding:9px 12px;min-height:94px;background:linear-gradient(175deg,#fff6c4 0%,#ffdc70 19%,#dca63f 47%,#ffe897 51%,#e9b847 82%,#ba7b22 100%)!important;border:2px solid #fff2af!important;border-radius:18px;box-shadow:inset 0 2px #fffbe1,inset 0 -3px #a26a21,0 3px #7b4b1d;overflow:hidden}
.hunt-board-heading .hunt-board-title{font-size:21px!important;color:#553313!important;text-shadow:0 1px #fff5c7;max-width:none}
.hunt-board-heading .hunt-board-title small{color:#553313!important;text-shadow:none}
.hunt-board-heading .hunt-board-tools{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0;z-index:2}
.hunt-board-heading .hunt-board-live{color:#4c3019!important;text-shadow:0 1px #fff0ac;font-size:11px;max-width:72px;line-height:1.2}
.hunt-board-heading .hunt-board-prize{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-width:0;max-width:380px;min-height:74px;margin:auto;padding:3px 25%;border:1px solid #ffeda1;border-radius:15px;background:linear-gradient(#913848,#61283a);box-shadow:inset 0 2px 4px #35161c99,0 1px #fff6b9}
.hunt-board-heading .hunt-board-prize[hidden]{display:none}
.hunt-board-heading .hunt-board-prize::before,.hunt-board-heading .hunt-board-prize::after{content:'';position:absolute;top:50%;width:25%;aspect-ratio:1;max-height:68px;background:var(--vivid-treasure) left center/300% 100% no-repeat;filter:drop-shadow(0 2px 2px #35160d77);pointer-events:none;transform:translateY(-50%);left:0;z-index:-1}
.hunt-board-heading .hunt-board-prize::after{left:auto;right:0;transform:translateY(-50%) scaleX(-1)}
.hunt-board-heading .hunt-board-prize strong{display:block;position:relative;width:100%;height:75.2px;line-height:1;font-size:38px;min-width:0}
.hunt-board-heading .hunt-board-prize .vivid-gold{display:block;position:absolute;left:0;top:50%;width:100%;height:47px;overflow:visible;transform:translateY(-50%) scale(1.6);transform-origin:center}
.hunt-board-heading .hunt-board-prize small{font:800 10px/1.2 'Nunito',sans-serif;color:#fff6ce!important;white-space:nowrap;position:relative}
.story-map[data-view=list] .atlas-card-details,.story-map[data-view=list] .atlas-card-pending{background:linear-gradient(115deg,#7b3bb3,#573095)!important}
.story-map[data-view=list] .atlas-card-status:not([data-kind=live]){background:#47236e!important;color:#fff8e8!important}
@media(max-width:600px){
 .hunt-progress-board .hunt-board-heading{grid-template-columns:1fr auto;gap:6px 10px;padding:8px 10px;min-height:0}
 .hunt-board-heading .hunt-board-title{font-size:18px!important;grid-row:1;grid-column:1}
 .hunt-board-heading .hunt-board-title small{font-size:10px;margin-top:2px}
 .hunt-board-heading .hunt-board-tools{grid-row:1;grid-column:2;gap:8px}
 .hunt-board-heading .hunt-board-live{font-size:10px;max-width:88px}
 .hunt-board-heading .hunt-board-prize{grid-row:2;grid-column:1/-1;width:100%;max-width:330px;min-height:68px;padding:3px 25%}
 .hunt-board-heading .hunt-board-prize strong{height:68.8px}
 .hunt-board-heading .hunt-board-prize .vivid-gold{height:43px}
 .hunt-board-heading .hunt-board-prize small{font-size:10px}
}
/* Place names float over the photograph; tangerine follows the letters only. */
.story-map[data-view=list] .atlas-list-card{position:relative;background:#573095;box-shadow:0 4px #42216c,0 8px 14px #063e454d}
.story-map[data-view=list] .atlas-town-plaque{position:absolute;left:0;right:0;top:2px;z-index:5;background:none!important;pointer-events:none}
.story-map[data-view=list] .atlas-town-plaque strong{color:#fffaf1!important;-webkit-text-stroke:3px #ff8d25;paint-order:stroke fill;text-shadow:0 2px #623014!important;filter:drop-shadow(0 1px 1px #40260f) drop-shadow(0 0 2px #40260fcc)}
.story-map[data-view=list] .atlas-town-art::before{content:'';position:absolute;inset:0 0 auto;height:65px;z-index:2;pointer-events:none;background:linear-gradient(#12394d66,transparent)}
.story-map[data-view=list] .atlas-hanging{top:43px}
@media(min-width:800px){.story-map[data-view=list] .atlas-hanging{top:54px}.story-map[data-view=list] .atlas-town-plaque strong{-webkit-text-stroke-width:4px}}
@media(max-width:360px){.story-map[data-view=list] .atlas-hanging{top:39px}.story-map[data-view=list] .atlas-town-plaque strong{-webkit-text-stroke-width:2.5px}}
