/* 色は本体から受け取る（map.js が :root に入れる） */
:root { --card: #fff; --ink: #2b2b2b; --accent: #c0626f; }
html, body, #map { margin: 0; padding: 0; width: 100%; height: 100%; }
body { font-family: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif; }
/* ピン：種類の色の丸に頭文字。寄ると名前も出る */
.mpin { position: absolute; transform: translate(-17px, -40px); display: flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; cursor: pointer; font-family: inherit; }
.mpin i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); display: grid; place-items: center;
  background: var(--k-tab); box-shadow: 0 0 0 2.5px var(--card), 0 6px 14px -4px rgb(0 0 0 / .45); font-style: normal; }
.mpin i span { transform: rotate(45deg); color: var(--ink); font-size: 14px; font-weight: 800; line-height: 1; }
.mpin b { display: none; max-width: 9em; padding: 3px 8px; border-radius: 8px; background: var(--card); color: var(--ink);
  font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 2px 8px -3px rgb(0 0 0 / .35); }
.show-names .mpin b { display: block; }
.mpin.sel i { box-shadow: 0 0 0 3px var(--accent), 0 6px 14px -4px rgb(0 0 0 / .45); }
.mpin.sel b { display: block; }
.mpin.done { opacity: .55; }
.me-dot { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #2F7BD8; box-shadow: 0 0 0 3px #fff, 0 0 0 10px rgb(47 123 216 / .18); }
