#map-selection{position:fixed;inset:0;border:0;outline:0;background:transparent;color:#294b40;width:min(390px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;margin:auto;padding:16px;overflow:hidden;font:14px/1.45 'Trebuchet MS',sans-serif}#map-selection[open]{display:grid;place-items:center}#map-selection::backdrop{background:#102b24d9}#map-selection .ms-panel{width:100%;max-height:calc(100dvh - 32px);display:flex;flex-direction:column;background:#f1e7c9;border:4px solid #b49a62;border-image:url('assets/mockups/forest-frame-subtle.svg') 8/8px/0 stretch;box-shadow:4px 6px #102b2480}#map-selection .ms-head{flex-shrink:0;padding:14px 14px;background:#38503d;color:#fff0c5;border-bottom:2px solid #b49a62}#map-selection .ms-head small{color:#ddd7b9;font-size:11px}#map-selection h2{font:bold 21px/1.2 'Courier New',monospace;margin:5px 0 0;color:#fff0c5}#map-selection .ms-body{min-height:0;padding:10px 0 4px;overflow:auto}#map-selection .ms-viewport{overflow:hidden;touch-action:pan-y}#map-selection .ms-track{display:flex;align-items:center;gap:12px;padding:4px 0 8px;will-change:transform}#map-selection .ms-card{position:relative;flex:0 0 286px;min-width:0;height:clamp(275px,calc(100dvh - 292px),440px);padding:0;border:3px solid #b49a62;border-image:none;border-radius:0;box-shadow:none;background:#294b40;overflow:hidden;text-align:left;cursor:pointer;color:#fff0c5}#map-selection .ms-card:not(.ms-current){opacity:.6;transform:scale(.94)}#map-selection .ms-current{border-color:#708553}#map-selection .ms-art{display:block;width:100%;height:100%;object-fit:cover}#map-selection .ms-copy{position:absolute;inset:auto 0 0;display:block;padding:56px 12px 15px;background:linear-gradient(0deg,#102b24fc,#102b24ed 68%,transparent)}#map-selection .biome-badge{display:flex;align-items:center;gap:9px;padding:0 0 10px;background:none;border:0}#map-selection .biome-copy>span{display:none}#map-selection .biome-copy>strong,#map-selection .biome-badge>strong{font:bold 20px/1.2 'Courier New';color:#fff0c5;text-shadow:0 1px 3px #071b15}#map-selection .biome-sigil,#map-selection .ms-random-icon{width:25px;flex-shrink:0;color:#ffe3a0;background:none;border:0;box-shadow:none}#map-selection .biome-sigil svg{display:block;width:25px;height:25px;background:none;border:0;box-shadow:none}#map-selection .ms-random-icon{font:bold 25px 'Courier New';text-align:center}#map-selection .ms-rules{display:grid;gap:9px}#map-selection .ms-rules>span{display:block;border-left:2px solid #b49a62;padding-left:8px}#map-selection .ms-rules strong{display:block;font:700 11px/1.3 'Trebuchet MS';color:#eacb89;margin-bottom:3px}#map-selection .ms-rules>span>span{display:block;font:400 13px/1.4 'Trebuchet MS';color:#fff0c5}#map-selection .ms-navigation{display:flex;align-items:center;justify-content:center;gap:22px;margin:3px 0 0}#map-selection .ms-navigation button,#map-selection .ms-back{min-height:44px;color:#294b40;border:2px solid #b49a62;border-image:url('assets/mockups/forest-frame-subtle.svg') 8/4px/0 stretch;border-radius:0;background:#f1e7c9;cursor:pointer;font:bold 14px 'Trebuchet MS'}#map-selection .ms-navigation button{width:44px;font-size:18px;padding:0}#map-selection .ms-count{font-size:12px;min-width:46px;text-align:center}#map-selection .ms-actions{flex-shrink:0;display:grid;gap:8px;padding:12px 14px;border-top:1px solid #b49a62;background:#dfd4b84d}#map-selection .ms-actions button{min-height:48px}#map-selection .ms-continue{color:#fff0c5;font:bold 14px 'Courier New';border:0;border-radius:0;box-shadow:none;background:#3d5140 url('assets/mockups/forest-button-wide.svg') center/100% 100% no-repeat;cursor:pointer}#map-selection button:focus-visible,#map-selection .ms-viewport:focus-visible{outline:3px solid #e5b957;outline-offset:-3px}#map-selection .ms-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-height:650px){#map-selection{padding:10px}#map-selection .ms-panel{max-height:calc(100dvh - 20px)}#map-selection .ms-head{padding:9px 12px}#map-selection h2{font-size:19px}#map-selection .ms-card{flex-basis:250px;height:calc(100dvh - 258px);min-height:240px}#map-selection .ms-copy{padding:42px 10px 10px}#map-selection .biome-copy>strong,#map-selection .biome-badge>strong{font-size:17px}#map-selection .ms-rules{gap:7px}#map-selection .ms-rules>span>span{font-size:12px;line-height:1.35}#map-selection .ms-actions{padding:8px 10px;gap:6px}#map-selection .ms-actions button{min-height:44px}}@media(prefers-reduced-motion:reduce){#map-selection .ms-track{transition:none!important}}
#map-selection,#map-selection *{box-sizing:border-box}#map-selection[open]{grid-template-columns:minmax(0,1fr)}#map-selection .ms-panel{min-width:0;max-width:100%}#map-selection .ms-actions{display:grid!important;grid-template-columns:minmax(0,1fr)}#map-selection .ms-actions button{width:100%}
#map-selection .ms-random-art{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(0deg,#102b2455,#102b2466),url('assets/mockups/menu-forest-v1.png') center/cover no-repeat}#map-selection .ms-random-art>span{transform:translateY(-65px);font:bold 80px/1 'Courier New',monospace;color:#ffe3a0;text-shadow:3px 4px 6px #102b24}@media(max-height:650px){#map-selection .ms-random-art>span{font-size:64px;transform:translateY(-55px)}}
#map-selection .ms-card{height:clamp(260px,calc(100dvh - 324px),416px)}@media(max-height:650px){#map-selection .ms-card{height:calc(100dvh - 280px);min-height:230px}}
