/* Reserve a separate ornament footer and extra scroll room for the last legend row. */
#app .map-legend-content{max-height:min(660px,calc(100dvh - 112px - env(safe-area-inset-top)));margin-bottom:18px;padding-bottom:18px;scroll-padding-bottom:18px}
#app .map-legend-content::after{content:none}
#app .map-legend[open]::after{content:"";position:absolute;left:6px;right:6px;bottom:3px;height:10px;background:var(--map-axis-art) center/65px 12px repeat-x;pointer-events:none}
