/* Reference-led selection screen: real photographs beneath separate decorative
   frame/sprite assets. Labels and availability remain live, accessible text. */
html.enchanted :is(.wrap,.demo-wrap).atlas-wrap {max-width:1100px;padding:0!important}
.story-map.woodland-selection[data-view=list] {--menu-ink:#073724;border:0!important;border-radius:0!important;box-shadow:none!important;background:#1a78a4 url('/assets/woodland-menu/oak-sky.webp') center/cover no-repeat!important;padding:8px 10px 10px;box-sizing:border-box;gap:0}
.woodland-selection .atlas-grid-backdrop,.story-map.woodland-selection:before {display:none!important}
.woodland-selection .photo-leaf {opacity:.55;width:19%;z-index:1;pointer-events:none}
.story-map.woodland-selection .atlas-topline {padding:0 2px 5px!important;gap:7px!important;justify-content:flex-start;position:relative;z-index:8}
.story-map.woodland-selection .atlas-topline :is(button,a) {min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:5px 13px;margin:0!important;font:700 clamp(14px,3.7vw,19px)/1 Georgia,serif;color:#fff5d1!important;border:2px solid #dba84b;border-radius:25px;background:linear-gradient(#0e5862c9,#003535e6),url('/assets/retro-camera/chestnut-leather.webp') center/200px!important;box-shadow:inset 0 0 0 2px #a47934,inset 0 4px 5px #ffffff45,0 3px 2px #182a22aa;text-shadow:0 2px #10261e;text-decoration:none}
.story-map.woodland-selection .atlas-topline .atlas-back {order:0}.story-map.woodland-selection .atlas-topline .atlas-utility {order:1}.story-map.woodland-selection .atlas-topline .player-manager-shortcut {order:2;position:static}
.story-map.woodland-selection .atlas-topline svg {width:22px;height:22px}
.story-map.woodland-selection .atlas-heading {padding:0!important;margin:0 0 5px;background:none!important;box-shadow:none!important;border:0!important}
.story-map.woodland-selection .atlas-heading h1 {position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:46px;width:100%;max-width:650px!important;padding:7px 16px;margin:0 auto!important;font:800 clamp(22px,5.6vw,40px)/1.05 Fraunces,Georgia,serif!important;letter-spacing:-.7px!important;color:var(--menu-ink)!important;-webkit-text-stroke:0!important;text-shadow:0 1px #fff1c6!important;background:url('/assets/woodland-selection/sign-faces.webp') center 53%/100% auto no-repeat;filter:drop-shadow(0 3px 2px #33241460);white-space:nowrap}
.story-map.woodland-selection .atlas-subline {margin:-3px 0 0;justify-content:center;gap:0}
.story-map.woodland-selection .atlas-subline p {padding:3px 17px 6px;font:700 clamp(13px,3.5vw,21px)/1.1 Georgia,serif;color:var(--menu-ink)!important;min-height:22px;box-sizing:border-box;background:linear-gradient(#f9e4b4,#ffedc5);border:1px solid #b78032;box-shadow:inset 0 0 0 2px #fff0ce,0 2px 3px #30261670;border-radius:2px 2px 7px 7px;text-shadow:none;z-index:-1}
.story-map.woodland-selection .atlas-workspace {padding:0!important;min-height:0;flex:1}
.story-map.woodland-selection .atlas-list {grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:8px;padding:2px 0 6px;height:100%;min-height:0}
.story-map.woodland-selection .atlas-list-card {container-type:inline-size;position:relative;display:flex;flex-direction:column;gap:0;padding:8px;border:0!important;border-radius:8px!important;box-shadow:0 4px 5px #17291e99!important;background:#67411c!important;overflow:hidden;min-width:0;min-height:0;isolation:isolate;translate:none}
.story-map.woodland-selection .atlas-list-card:after {content:'';position:absolute;inset:0;z-index:7;pointer-events:none;border:22px solid transparent;border-image:url('/assets/woodland-selection/town-frame.webp') 190 / 22px stretch;border-radius:8px}
.story-map.woodland-selection .atlas-list-card:active {transform:translateY(2px)}
.story-map.woodland-selection .atlas-list-card:focus-visible {outline:3px solid #fff;outline-offset:2px}
.story-map.woodland-selection .atlas-town-plaque {position:absolute;z-index:6;top:5px;left:6%;right:6%;width:88%;height:auto;aspect-ratio:4.9;min-height:29px;padding:3px 9%;background:transparent url('/assets/woodland-selection/sign-faces.webp') center 14.4%/100% auto no-repeat!important;border:0!important;box-shadow:none!important;filter:drop-shadow(0 2px 1px #1d201b90);border-radius:0!important;display:flex;align-items:center;justify-content:center;pointer-events:none}
.story-map.woodland-selection .atlas-town-plaque strong {display:block;width:100%;max-width:100%;margin:0;font:800 clamp(17px,calc(159cqw / var(--town-length,8)),33px)/1.04 Fraunces,Georgia,serif!important;letter-spacing:-.4px!important;color:#fff5d0!important;-webkit-text-stroke:0!important;text-shadow:0 2px 1px #001d15!important;filter:none;white-space:nowrap!important}
.story-map.woodland-selection .atlas-town-art {position:relative;flex:1;min-height:45px;order:1;border-radius:0;background:#48829b;overflow:hidden}
.story-map.woodland-selection .atlas-town-art:before,.story-map.woodland-selection .atlas-town-art:after {display:none!important}
.story-map.woodland-selection .atlas-town-art>img:first-child {width:100%;height:100%;inset:0;object-fit:cover;object-position:center;filter:saturate(1.2) contrast(1.06) brightness(1.06)!important}
.story-map.woodland-selection .atlas-list-card[data-place=bacton-woods] .atlas-town-art>img:first-child {filter:none!important}
.story-map.woodland-selection .atlas-town-art .atlas-host-overlay {height:76%;width:37%;right:0;bottom:0;z-index:2;object-fit:contain;object-position:bottom right;filter:drop-shadow(0 2px 2px #19221c70)}
.story-map.woodland-selection .atlas-card-details {order:2;position:relative;flex:none;display:flex;flex-direction:column;gap:3px;min-height:0;padding:4px 4px 3px;background:#f7e3b4 url('/assets/woodland-menu/parchment-frame.webp') center/400% auto!important;box-shadow:0 -2px 3px #66502750;color:var(--menu-ink)!important}
.story-map.woodland-selection .atlas-card-status {align-self:center;max-width:100%;background:none!important;padding:0;font:700 clamp(10px,2.7vw,14px)/1.15 Georgia,serif;color:var(--menu-ink)!important;text-shadow:none!important;white-space:normal}
.story-map.woodland-selection .atlas-card-status[data-kind=live] {position:relative;border:1px solid #d0a049;border-radius:16px;background:linear-gradient(#086d3c,#004827)!important;color:#fff5d0!important;box-shadow:inset 0 1px 2px #f8eab277,0 1px 2px #32271855;padding:2px 9px;margin-top:-10px;font-size:12px}
.story-map.woodland-selection .atlas-card-status[data-kind=live]:before {width:5px;height:5px;background:#4cff41;box-shadow:0 0 5px #55ff35}
.story-map.woodland-selection .atlas-list-story {font:700 clamp(12px,3.35vw,18px)/1.1 Georgia,serif!important;letter-spacing:-.15px;color:var(--menu-ink)!important;text-shadow:none!important;margin:0;overflow-wrap:anywhere}
.story-map.woodland-selection .atlas-card-action {display:flex;align-items:center;justify-content:center;gap:4px;min-height:30px;padding:3px 5px;margin:0;border:2px solid #c7943c;border-radius:20px;background:linear-gradient(#087647aa,#00472de6),url('/assets/woodland-selection/sign-faces.webp') center 14%/100% auto!important;color:#fff8d9!important;box-shadow:inset 0 0 0 1px #f5d77a,inset 0 3px 3px #95c7a770,0 2px 2px #452c1a70!important;font:700 clamp(12px,3.2vw,17px)/1.1 Georgia,serif;text-shadow:0 1px 1px #042919;box-sizing:border-box}
.story-map.woodland-selection .atlas-card-action[data-entry-choice=true] {flex-direction:row;padding:3px 5px}
.story-map.woodland-selection .atlas-card-action b {font:inherit!important}
.story-map.woodland-selection .atlas-card-action>span[aria-hidden=true]:last-child {display:inline;font-size:1.1em}
.story-map.woodland-selection .atlas-hanging {top:34px;left:9%;width:82%;max-width:none;z-index:4;transform-origin:50% 0}
.story-map.woodland-selection .atlas-chains {height:31px;margin-bottom:-4px;overflow:visible;filter:drop-shadow(0 2px 1px #15271a90)}
.story-map.woodland-selection .atlas-chains img {height:75px;width:25px;top:-42px;left:3%;filter:sepia(1) saturate(2.3) brightness(1.3)!important;object-fit:contain}
.story-map.woodland-selection .atlas-chains img:last-child {left:auto;right:3%}
.story-map.woodland-selection .atlas-wood-notice {font:700 clamp(15px,4vw,23px)/1.1 Georgia,serif;min-height:32px;padding:6px 3px;color:#40240f;background:repeating-linear-gradient(1deg,transparent 0 7px,#8655261c 8px,transparent 10px 16px),linear-gradient(#f1c176,#da994e);border:1px solid #8a4f1e;border-radius:3px;box-shadow:inset 0 2px #ffe1a7,inset 0 -2px #a36427,0 3px 2px #35231680;text-shadow:0 1px #fbe2b8}
.story-map.woodland-selection .atlas-entry-note {display:flex;flex-wrap:wrap;justify-content:center;align-items:center;flex:none;gap:2px 9px;margin:0 auto;width:100%;padding:8px 8px 6px;background:#f8e3b7 url('/assets/woodland-menu/parchment-frame.webp') center/200% auto!important;border:2px solid #a9702e;border-radius:8px;box-shadow:inset 0 0 0 2px #ffedc5,0 3px 3px #21322470;box-sizing:border-box}
.story-map.woodland-selection .atlas-entry-note :is(strong,span,a) {color:var(--menu-ink)!important;font:700 clamp(10px,2.8vw,15px)/1.2 Georgia,serif;text-shadow:none!important;margin:0}
.story-map.woodland-selection .atlas-entry-note span:before {content:none}
.story-map.woodland-selection .atlas-photo-credit {flex-basis:100%;padding:2px 0 0;font-size:11px!important;text-decoration:underline;min-height:16px}
html.enchanted .story-map.woodland-selection .atlas-heading h1{font:800 clamp(21px,5.5vw,40px)/1.08 Fraunces,Georgia,serif!important;max-width:650px!important;color:#073724!important;text-shadow:0 1px #fff1c6!important;letter-spacing:-.6px!important;transform:none!important;padding:8px 15px!important}
html.enchanted .story-map.woodland-selection .atlas-subline{display:flex!important}
html.enchanted .story-map.woodland-selection .atlas-card-status:not([data-kind=live]){background:transparent!important;color:#073724!important}
.story-map.woodland-selection .atlas-town-plaque{left:3%;right:3%;width:94%;padding-inline:8%}
.story-map.woodland-selection .atlas-town-plaque strong{font-size:clamp(15px,calc(125cqw / var(--town-length,8)),29px)!important}
.story-map.woodland-selection[data-cards-overflow=true] .atlas-list {grid-template-rows:repeat(3,minmax(170px,max-content));overflow-y:auto}
.story-map.woodland-selection[data-cards-overflow=true] .atlas-list-card {min-height:170px}
@media(min-width:800px){.story-map.woodland-selection{padding:14px 22px}.story-map.woodland-selection .atlas-list{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:16px}.story-map.woodland-selection .atlas-heading{margin-bottom:9px}.story-map.woodland-selection .atlas-heading h1{min-height:70px}.story-map.woodland-selection .atlas-card-details{padding:7px 9px;gap:5px}.story-map.woodland-selection .atlas-card-action{min-height:38px;font-size:18px}.story-map.woodland-selection .atlas-hanging{top:55px}.story-map.woodland-selection .atlas-town-plaque{min-height:40px}.story-map.woodland-selection .atlas-topline :is(button,a){min-height:44px;padding:6px 17px}.story-map.woodland-selection .atlas-wood-notice{min-height:40px}}
@media(max-width:360px){.story-map.woodland-selection[data-view=list]{padding:6px}.story-map.woodland-selection .atlas-topline{gap:5px!important}.story-map.woodland-selection .atlas-topline :is(button,a){padding:5px 9px;min-height:38px;font-size:14px}.story-map.woodland-selection .atlas-heading h1{font-size:20px!important;padding:9px 11px;min-height:42px}.story-map.woodland-selection .atlas-town-plaque{left:4%;width:92%;right:4%;padding:3px 8%;min-height:27px}.story-map.woodland-selection .atlas-town-plaque strong{font-size:clamp(15px,calc(159cqw / var(--town-length,8)),28px)!important}.story-map.woodland-selection .atlas-list{gap:7px}.story-map.woodland-selection .atlas-list-card{padding:7px}.story-map.woodland-selection .atlas-card-details{padding:4px 2px 3px}.story-map.woodland-selection .atlas-card-action{font-size:11.5px;min-height:29px;padding:3px}.story-map.woodland-selection .atlas-list-story{font-size:12px}.story-map.woodland-selection .atlas-card-status{font-size:10px}.story-map.woodland-selection .atlas-hanging{top:28px}}
@media(max-height:620px) and (min-width:500px){.story-map.woodland-selection .atlas-list{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(145px,1fr))}}
@media(prefers-reduced-motion:reduce){.woodland-selection .atlas-hanging,.woodland-selection .photo-leaf{animation:none!important}}
/* Admin shortcut is kept clear of the home page's legal links and menu. */
body:has(.woodland-menu)>.player-manager-shortcut{top:12px;bottom:auto;left:14px;right:auto;z-index:8;min-height:42px}
body:has(.woodland-menu):has(.player-manager-shortcut){padding-bottom:0}
