/* V8 design proposal: persistent compact brand labels beside the approved map icons. */
#map-promotion-links {
  --map-promo-width: 128px;
  position: fixed; top: 20px; right: 20px; z-index: 1101;
  display: grid; gap: 8px; width: var(--map-promo-width);
}
#map-promotion-links .map-promo-item { width: 100%; height: 44px; }
#map-promotion-links .map-promo-entry {
  box-sizing: border-box; display: grid; grid-template-columns: 22px 1fr;
  align-items: center; gap: 9px; width: 100%; height: 44px; margin: 0; padding: 0 12px;
  border-radius: 11px; border: 1px solid rgba(255,255,255,.13);
  background: rgba(36,32,54,.82); color: #f479d4;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 9px #19233b16; cursor: pointer; text-decoration: none;
  transition: background .16s, border-color .16s, color .16s;
}
#map-promotion-links .map-promo-entry svg {
  display: block; width: 22px; height: 22px; fill: currentColor; stroke: none;
}
#map-promotion-links .map-promo-label {
  display: block; color: #f4eaf3; white-space: nowrap;
  font: 500 12px/18px var(--font-ui, "Microsoft YaHei", "PingFang SC", sans-serif);
  letter-spacing: .2px; text-align: left;
}
#map-promotion-links .map-promo-entry:hover, #map-promotion-links .map-promo-entry:focus-visible {
  background: rgba(53,39,66,.94); border-color: #ed8bd362; color: #ff9ce2;
}
#map-promotion-links .map-promo-entry:hover .map-promo-label,
#map-promotion-links .map-promo-entry:focus-visible .map-promo-label { color: #fff5fd; }
#map-promotion-links .map-promo-entry:focus-visible { outline: 2px solid #f7d4ef; outline-offset: 3px; }
#map-promotion-links .map-promo-entry:active { background: rgba(73,44,79,.94); }
#map-promotion-status {
  position: fixed; left: 50%; bottom: max(85px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  z-index: 13000; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 10px;
  background: #251f33; color: #fff; border: 1px solid #ffffff30; font-size: 13px;
}
html.is-embed #map-promotion-links,
body:has(.preloader:not(.hidden):not([style*="display: none"])) #map-promotion-links { visibility: hidden; }
@media (max-width: 768px) {
  #map-promotion-links { --map-promo-width: 120px; }
  #map-promotion-links .map-promo-entry { padding: 0 10px; gap: 7px; grid-template-columns: 20px 1fr; }
  #map-promotion-links .map-promo-entry svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  #map-promotion-links .map-promo-entry { transition: none; }
}
