/* Invasão do Dragão (js/dragon_event.js): the world map (M) / Selene's list seal on the event map and the toolbar line.
   dragon_event.js sets data-dragon="red|gold" + data-dragon-tag on .atlas-node and fills .atlas-toolbar .atlas-dragon-next;
   world-atlas.js / world-atlas.css are not touched. Efeitos reduzidos: world-atlas.css already pauses / drops the animations. */
/* the emergence (3 s) is drawn by dragon_event.js while the ground boss is hidden: its boss bar waits until it is out of the portal */
html[data-de-emerge] .boss { visibility: hidden; }
.atlas-node[data-dragon] { z-index: 5; }
.atlas-node[data-dragon] .atlas-pin {
  background: linear-gradient(135deg, #ffd0a0, #c0281a);
  box-shadow: 0 0 0 2px #5a0e0a, 0 0 12px #ff5a2a;
  animation: de-pin 1.2s ease-in-out infinite;
}
.atlas-node[data-dragon=gold] .atlas-pin {
  background: linear-gradient(135deg, #fff3b0, #e0a020);
  box-shadow: 0 0 0 2px #6a4a08, 0 0 12px #ffd040;
}
.atlas-node[data-dragon] .atlas-node-label { border-color: #9a2a1a; }
.atlas-node[data-dragon=gold] .atlas-node-label { border-color: #a77a30; }
.atlas-node[data-dragon]::after {
  content: attr(data-dragon-tag);
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  margin-bottom: 2px;
  padding: 1px 7px 2px;
  border: 1px solid #5a0e0a;
  border-radius: 3px;
  background: linear-gradient(#e0402a, #8a1a10);
  color: #fff3d8;
  font: 700 11px/1.2 var(--f-ui, 'Alegreya', serif);
  letter-spacing: .02em;
  white-space: nowrap;
  text-shadow: 0 1px 0 #3a0804;
  box-shadow: 0 2px 6px #2a0a0466;
  pointer-events: none;
}
.atlas-node[data-dragon=gold]::after {
  border-color: #6a4a08;
  background: linear-gradient(#ffd84a, #b07a10);
  color: #2a1a04;
  text-shadow: 0 1px 0 #fff3b088;
}
.atlas-dragon-next {
  margin: 0;
  min-width: 0;
  max-width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #71582a;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .02em;
}
.atlas-dragon-next:empty { display: none; }
.atlas-dragon-next[data-dragon] { color: #a0281a; }
.atlas-dragon-next[data-dragon=gold] { color: #8a5a08; }
@keyframes de-pin { 50% { box-shadow: 0 0 0 2px #5a0e0a, 0 0 22px #ffb84a; } }
@media (max-width: 760px) { .atlas-dragon-next { flex-basis: 100%; max-width: none; font-size: 11px; } }
@media (max-height: 500px) { .atlas-dragon-next { max-width: 34%; font-size: 10px; } }
