/* Map pins (assets/js/map-pins.js): the coin as an <i> (rail rows, Popular tiles, the card bar) and the small label a
   mouse gets on hover. The coins on the map itself are canvas, drawn by the script. Fixed dark chrome like the floating
   column (map-fab.css): it sits on map art, not on the page, so it does not follow the silver theme. Tried on
   /valheim-seed-map/ first (D97b, 2026-10-22). */

/* the coin: a dark disc, its layer's colour as the ring, the icon inside (one cell of the map's sprite sheet) */
.gp-coin { position: relative; display: inline-block; flex: 0 0 auto; box-sizing: border-box; vertical-align: middle; border-radius: 50%;
  background: radial-gradient(circle at 50% 28%, #39424e, #12171d 72%); border: 1.5px solid var(--gp-c, #e5e7eb);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45); }
.gp-coin::after { content: ''; position: absolute; left: 50%; top: 50%; width: var(--gp-i, 42%); height: var(--gp-i, 42%); transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--gp-img) var(--gp-pos) / var(--gp-size) no-repeat; }
.gp-coin.gp-dash { border-style: dashed; }
/* tint (map-pins.js): the icon in the ring's colour, its shading kept (multiplied over the colour, then cut to the icon's shape) */
.gp-coin.gp-tint::after { border-radius: 0; background: var(--gp-img) var(--gp-pos) / var(--gp-size) no-repeat, var(--gp-c, #e5e7eb); background-blend-mode: multiply;
  -webkit-mask: var(--gp-img) var(--gp-pos) / var(--gp-size) no-repeat; mask: var(--gp-img) var(--gp-pos) / var(--gp-size) no-repeat; }
/* an icon the sheet does not hold: a dot of the ring's colour, never an empty coin */
.gp-coin.gp-noicon::after { background: var(--gp-c, #e5e7eb); }
/* a spoiler the visitor has hidden (map-spoiler.js): the layer's ring, a "?" where the icon was */
.gp-coin.gp-masked::after { content: '?'; width: auto; height: auto; border-radius: 0; background: none; color: var(--gp-c, #e5e7eb);
  font: 800 1em/1 'Manrope', sans-serif; }

/* the hover label: what it is, and at most one short fact */
.gp-tip { position: absolute; left: 0; top: 0; z-index: 900; display: flex; flex-direction: column; max-width: 280px;
  padding: 0.2rem 0.5rem 0.24rem; pointer-events: none; white-space: nowrap;
  background: rgba(10, 14, 18, 0.93); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 7px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  color: #e8edf3; font: 600 0.7rem/1.3 'Manrope', sans-serif; }
.gp-tip[hidden] { display: none; }
.gp-tip-t { overflow: hidden; text-overflow: ellipsis; color: #fff; font: 800 0.78rem/1.2 'Manrope', sans-serif; }
.gp-tip-f { overflow: hidden; text-overflow: ellipsis; color: #aab5c1; line-height: 1.25; font-variant-numeric: tabular-nums; }
/* more than one pin on the very same spot (map-pins.js hover, d.more): each name under the one before, a little apart */
.gp-tip-t ~ .gp-tip-t { margin-top: 0.3rem; }
/* a card shutting (map-pins.js fadeLetsGo): Leaflet's 200 ms fade-out takes no pointer, its tip and buttons included,
   so the pin under it gets its hover label and its click */
.gp-shut, .gp-shut * { pointer-events: none !important; }
