/* One white silhouette around the artwork and adjoining text. */
:root{--atlas-sticker-filter:url(#atlas-sticker-outline)}
.atlas-sticker-outline-definitions{position:absolute;left:0;top:0;width:0;height:0;overflow:hidden;pointer-events:none}
.atlas-sticker{display:inline-flex;align-items:center;justify-content:center;gap:var(--atlas-sticker-gap,0px);max-width:100%;vertical-align:middle;isolation:isolate;background:none;border:0;border-radius:0;box-shadow:none;color:#111;text-shadow:none;filter:var(--atlas-sticker-filter)}
.atlas-sticker>.atlas-sticker-copy{display:inline-block;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#111;font:inherit;line-height:1.15;text-shadow:none;filter:none;-webkit-text-stroke:0;paint-order:normal}
.atlas-sticker>.atlas-sticker-copy:has(>.atlas-sticker-text),
.atlas-sticker>:not(.atlas-sticker-copy)+.atlas-sticker-copy{
 background:var(--atlas-sticker-paper,#fff);line-height:1.04;
}
/* Span the layout gap and the artwork's transparent padding behind both layers. */
.atlas-sticker>:not(.atlas-sticker-copy,[hidden],:empty):has(+.atlas-sticker-copy){
 position:relative;
}
.atlas-sticker>:not(.atlas-sticker-copy,[hidden],:empty):has(+.atlas-sticker-copy)::before{
 content:"";position:absolute;z-index:-1;pointer-events:none;
 inset-block-start:50%;inset-inline-end:calc(-2px - var(--atlas-sticker-gap,0px));translate:0 -50%;
 inline-size:calc(min(65%,.8em) + var(--atlas-sticker-gap,0px) + 2px);block-size:.48em;
 background:var(--atlas-sticker-paper,#fff);border-radius:999px;
}
.atlas-sticker>.icon,.atlas-sticker>.atlas-sticker-icon,.atlas-sticker>.emoji{flex:0 0 auto;overflow:visible;text-shadow:none;filter:none}
.atlas-sticker>.emoji{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-weight:400;line-height:1;filter:none}
.atlas-sticker-artwork{display:inline-block;inline-size:1em;block-size:1em;line-height:1;vertical-align:middle;flex:0 0 auto}
.atlas-sticker-artwork-image{display:block;inline-size:100%;block-size:100%;object-fit:contain;pointer-events:none}
/* Keep each emblem at a legible size in the numbered Michelin distinctions. */
.atlas-sticker-artwork:has(> img[src^="/assets/michelin/"][src$="-2.svg"]){inline-size:1.97em}
.atlas-sticker-artwork:has(> img[src^="/assets/michelin/"][src$="-3.svg"]){inline-size:3em;block-size:1.14em}
.atlas-sticker-artwork:has(> img[src="/assets/michelin/key-unknown.svg"]){inline-size:1.38em}
/* Keep coral paper readable at the smallest category sizes. */
img[src^="/assets/place-category-icons/tickets.png"]{filter:saturate(1.6)}
/* Leaflet gives marker images an automatic width. Artwork fills its own slot. */
#map .atlas-sticker-artwork>.atlas-sticker-artwork-image{inline-size:100%;block-size:100%}
#place-dialog .detail-time-tag>.emoji{filter:none}
.leaflet-container .pin-badge{filter:var(--atlas-sticker-filter)}
.leaflet-container .pin-badge>.emoji{filter:none;text-shadow:none}

/* Outline vector stickers directly so the tips stay smooth. */
.atlas-sticker:is(.pin-like-badge,.pin-route-badge){filter:drop-shadow(0 1px 1px #0003)}
#i-heart,#i-route-pin{overflow:visible}
.pin-like-badge>.icon>use,.pin-route-badge>.route-pin-sticker>use{
 stroke:#fff;stroke-width:5.5px;stroke-linejoin:round;paint-order:stroke fill;
}
.pin-route-badge>.route-pin-sticker>use{fill:var(--blue)}
.atlas-sticker>.atlas-sticker-copy:is(.pin-like-count,.pin-route-count){
 -webkit-text-stroke:4px #fff;paint-order:stroke fill;
}
