/* Attribution remains legible in both themes, and never sits under a mobile sheet. */
#map .maplibregl-ctrl-attrib {background:var(--paper,#fff);color:var(--ink,#222);border:1px solid var(--line,#ddd);border-radius:18px;max-width:calc(100vw - 24px)}
#map .maplibregl-ctrl-attrib a {color:inherit}
#map .maplibregl-ctrl-attrib-button {width:36px;height:36px;list-style:none;cursor:pointer;background:none;display:block;position:absolute;right:0;top:0}
#map .maplibregl-ctrl-attrib-button::before {content:'ⓘ';display:grid;place-items:center;width:36px;height:36px;color:var(--ink,#222);font:22px/1 system-ui}
#map .maplibregl-ctrl-attrib-button::-webkit-details-marker {display:none}
#map .maplibregl-ctrl-attrib.maplibregl-compact {min-width:36px;min-height:36px;padding:0}
#map .maplibregl-ctrl-attrib.maplibregl-compact-show {padding:8px 42px 8px 12px;border-radius:14px}
#map .maplibregl-ctrl-attrib-inner {line-height:1.5;white-space:normal;overflow-wrap:anywhere}
#map .maplibregl-ctrl-attrib-button:focus-visible {outline:2px solid var(--ink,#222);outline-offset:2px;border-radius:50%}
.item .item-station,.item .search-reason-fix8,.taste-list em,.distance-context p {white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;-webkit-line-clamp:unset!important;max-height:none!important;height:auto!important}
.item .item-station {clear:both;line-height:1.6;min-width:0}
@media(max-width:1023px){
  body #map .maplibregl-ctrl-bottom-right,body #map .maplibregl-ctrl-bottom-left {bottom:calc(var(--map-sheet-cover,114px) + 12px)!important}
}
