/* Field presentation only. GPS, range and collection rules are unchanged. */
.explore-game .world-stage{border:1px solid #b7c7b6!important;border-radius:26px!important;background:#d9e6d5;box-shadow:0 12px 36px #193e2d14,inset 0 0 0 1px #fff9;isolation:isolate}
.world-stage[data-map-theme=atlas] .leaflet-tile-pane{filter:saturate(.7) sepia(.13) contrast(.96) brightness(1.04)}
.world-stage .leaflet-control-zoom{overflow:hidden;border:1px solid #c5d2c2!important;border-radius:15px!important;box-shadow:0 4px 16px #143b2920!important}
.world-stage .leaflet-control-zoom a{background:#fffdf7!important;color:#284e3e!important;font-weight:400!important}
.world-stage .map-location{background:#fffdf4f2!important;border:1px solid #d2dbc9!important;box-shadow:0 2px 10px #294f2e0d;border-radius:18px!important;letter-spacing:.1px}
.map-tools>summary{background:#264a3def!important;color:#fffcef;border:1px solid #ffffff5c!important;box-shadow:0 5px 16px #153c3425!important}
.map-tools-content{background:#fffdf6f7!important;backdrop-filter:blur(14px);border-color:#d6dfcf!important;border-radius:20px!important;box-shadow:0 14px 40px #183d3330!important}
.map-start{inset:auto 18px 72px!important;max-width:440px;padding:20px 22px 18px!important;display:grid!important;grid-template-columns:80px 1fr;column-gap:15px;text-align:left!important;border-radius:22px!important;background:#fffdf4f5!important;box-shadow:0 10px 30px #173d3026!important;border:1px solid #ffffffc9!important}
.map-start[hidden]{display:none!important}.map-start-explorer{grid-column:1;grid-row:1/3;width:80px!important;height:108px!important;align-self:center;filter:drop-shadow(0 6px 4px #203c3224)}
.map-start>strong{grid-column:2;font:27px/1.12 Georgia,serif!important;letter-spacing:-.6px}.map-start p{grid-column:2;font:12px/1.55 system-ui!important;margin:8px 0 12px!important;max-width:none!important;color:#657568}
.map-start .primary{grid-column:1/-1;max-width:none!important;border-radius:12px!important;background:#274e3e!important;font-size:13px!important;font-weight:650!important;box-shadow:0 4px 12px #183d3216}
.map-start a{grid-column:1/-1;text-align:center;font-size:11px!important;min-height:38px!important}.map-start>small{grid-column:1/-1;text-align:center;font:10px/1.5 system-ui;color:#71816d}
.map-animal-portrait{border:3px solid #fffcf1;outline:1px solid #54745a;box-shadow:0 3px 8px #153d3040,0 0 0 5px #ffffff50}
.wildlife-map-pin small{border:1px solid #fff9;padding:5px 9px;border-radius:12px;box-shadow:0 2px 5px #133b3220}.wildlife-map-pin.is-selected .map-animal-portrait{outline:2px solid #cfaa53;box-shadow:0 0 0 7px #f8df9270,0 5px 12px #203f3040}
.explorer-avatar .player-figure{filter:drop-shadow(0 5px 3px #193d3255);width:72px;height:92px;position:relative;left:-3px;top:-8px}.explorer-avatar .player-figure svg{width:72px;height:92px}.player-you{border:1px solid #fffa!important;bottom:-11px!important;box-shadow:0 3px 8px #163e332e;font-size:9px!important;letter-spacing:.4px;background:#244a3b!important}
.explorer-preview{background:radial-gradient(ellipse at 50% 40%,#f1e4bd 0,#e0e6d2 42%,#c5d3ba 100%)!important;border:1px solid #c4cdb6!important;box-shadow:0 12px 35px #253c2514;position:relative;overflow:hidden}
.explorer-preview #explorer-art{position:relative;isolation:isolate;filter:drop-shadow(0 9px 7px #203d3226)}
.explorer-preview #explorer-art:before{content:'';position:absolute;inset:15% 12% 5%;border:1px solid #ffffffa0;border-radius:50%;z-index:-1;background:radial-gradient(ellipse,#fff7dc80,#fff0)}
.explorer-options{background:#fffdf7!important;border:1px solid #e1e2d3!important;border-radius:22px!important}.explorer-choices button{border-radius:12px!important;min-height:44px}.explorer-choices button[aria-pressed=true]{box-shadow:0 0 0 2px #6b886744!important}.explorer-character{overflow:visible}
@media(max-width:700px){.explore-game .world-stage{height:calc(100dvh - 245px)!important;min-height:440px!important;border-radius:22px!important}.map-start{inset:auto 10px 64px!important;padding:16px 14px 12px!important;grid-template-columns:62px 1fr;gap:0 10px}.map-start-explorer{width:62px!important;height:92px!important}.map-start>strong{font-size:23px!important}.map-start p{font-size:11px!important}.map-start .primary{min-height:46px!important}.map-start a{min-height:35px!important;font-size:10px!important}.world-stage .leaflet-control-scale{margin-bottom:60px!important}.world-stage.map-expanded{height:auto!important;min-height:0!important}.explorer-preview #explorer-art{max-height:240px}.explorer-preview #explorer-art svg{height:230px!important;width:auto!important}}
@media(prefers-reduced-motion:reduce){.player-figure.is-walking *{animation:none!important;transition:none!important}}
/* The legend matches the stronger path stroke; controls remain readable on small phones. */
.world-stage .map-key .key-trail{border-top-style:solid;border-top-color:#4c785d}
.map-start .map-practice-link{min-height:44px!important;font-size:12px!important}
.map-start>small{font-size:11px}
@media(max-width:700px){.map-start p{font-size:12px!important;line-height:1.45!important}.map-start .map-practice-link{min-height:44px!important;font-size:12px!important}}

/* A disclosure must not stretch underneath the separate full-map exit button. */
.map-tools>summary{width:max-content;max-width:100%}

/* On short maps, keep the animal and next action visible; requirements expand on demand. */
.map-goal-requirements{margin:9px 0;border-top:1px solid #d8dfce;border-bottom:1px solid #d8dfce}
.map-goal-requirements>summary{min-height:44px;display:list-item;align-content:center;cursor:pointer;font:650 12px/1.4 system-ui;padding:10px 0;box-sizing:border-box}
.map-goal-requirements>summary:focus-visible{outline:3px solid #9b6d24;outline-offset:2px;border-radius:4px}
.map-goal-requirements .map-goal-progress{margin-top:2px}.map-goal-requirements .map-goal-status{margin-bottom:10px}
.explore-game .world-stage.has-selection{min-height:var(--map-selection-min-height,440px)!important}
.explore-game .world-stage.map-expanded.has-selection{min-height:0!important}
