/* Owner 2026-11-11: mailbox button beside the minimap (+ / - column); a glowing dot when gifts or mail are waiting */
.mm-mail { position: relative; display: grid; place-items: center; }
.mm-mail svg { width: 60%; height: 60%; display: block; }
.mail-dot { position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; box-sizing: border-box;
  background: #ff6a5a; color: #fff; font: 700 10px/16px Nunito, KanitArc, sans-serif; font-style: normal; text-align: center;
  box-shadow: 0 0 0 2px #fff8ee, 0 0 8px 2px #ff8a6acc; animation: mail-glow 1.4s ease-in-out infinite; pointer-events: none; }
.mail-dot.hidden { display: none; }
.mm-mail.has-mail { box-shadow: 0 0 10px 3px #ffd36acc; }
@keyframes mail-glow { 0%, 100% { box-shadow: 0 0 0 2px #fff8ee, 0 0 5px 1px #ff8a6a99; } 50% { box-shadow: 0 0 0 2px #fff8ee, 0 0 12px 4px #ffb36add; } }
@media (prefers-reduced-motion: reduce) { .mail-dot { animation: none; } }
/* phones hide the zoom buttons; the mailbox stays, tucked under the minimap's left corner (clear of Quest / Daily) */
html[data-ui="mobile"] .mm-row { position: relative; }
html[data-ui="mobile"] .mm-zoom { display: flex; position: absolute; left: 0; top: calc(100% + 2px); z-index: 2; }
html[data-ui="mobile"] .mm-zoom #mm-in, html[data-ui="mobile"] .mm-zoom #mm-out { display: none; }
html[data-ui="mobile"] #hud-topright .mm-zoom .mm-mail { width: 32px; height: 32px; min-width: 32px; min-height: 32px; padding: 0; border-radius: 10px; }
