/* Os shaders continuam no mapa; na Party eles ficam estaveis para nao piscar a cada tick. */
#nrmt-bi-left [data-outfit-rarity] img,
#nrmt-bi-actionbar [data-outfit-rarity] img {
  animation: none !important;
  transition: none !important;
  will-change: auto !important;
}

/* O HUD atualiza numeros, mas os cards e retratos permanecem em uma camada
   estavel. Isso evita flashes de composicao em Chromium/monitores de 60 Hz. */
#nrmt-bi-left .nrmt-bi-panel--party,
#nrmt-bi-left .nrmt-bi-party-card,
#nrmt-bi-left .nrmt-bi-party-head,
#nrmt-bi-left .nrmt-bi-party-head > img {
  backface-visibility: hidden;
  transform: none;
}
#nrmt-bi-left .nrmt-bi-party-card:hover { transform: none !important; }

/* Party e Hunt Analyzer recebem dados em lote uma vez por segundo. Mantemos
   toda a coluna esquerda em uma camada fixa para os ticks nao recomporem o HUD. */
#nrmt-bi-left,
#nrmt-bi-left .nrmt-bi-panel,
#nrmt-bi-left .nrmt-bi-panel__body {
  backface-visibility: hidden;
  transform: translateZ(0);
}
#nrmt-bi-left .nrmt-bi-panel,
#nrmt-bi-left .nrmt-bi-stat,
#nrmt-bi-left .nrmt-bi-stat b {
  animation: none !important;
  transition: none !important;
}

/* Na hunt os dados continuam em tempo real, mas nenhum container pulsa. */
.nrmt-world-hunt #nrmt-bi-left .nrmt-bi-panel--party {
  contain: layout paint style;
  isolation: isolate;
  will-change: auto;
  animation: none !important;
  transition: none !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}
.nrmt-world-hunt #nrmt-bi-left .nrmt-bi-panel--party *,
.nrmt-world-hunt #nrmt-bi-left .nrmt-bi-panel--party *::before,
.nrmt-world-hunt #nrmt-bi-left .nrmt-bi-panel--party *::after {
  animation: none !important;
  transition: none !important;
}
.nrmt-world-hunt #nrmt-bi-left .nrmt-bi-panel--party .nrmt-bi-party-card,
.nrmt-world-hunt #nrmt-bi-left .nrmt-bi-panel--party .nrmt-bi-panel__body,
.nrmt-world-hunt #nrmt-bi-left .nrmt-bi-panel--party .nrmt-bi-party-head {
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}

#nrmt-bi-left [data-outfit-rarity]::after,
#nrmt-bi-actionbar [data-outfit-rarity]::after {
  animation: none !important;
}

#nrmt-bi-left .nrmt-rarity-glow-common,
#nrmt-bi-actionbar .nrmt-rarity-glow-common { animation: none !important; box-shadow: 0 0 6px var(--rarity-common-glow) !important; }
#nrmt-bi-left .nrmt-rarity-glow-uncommon,
#nrmt-bi-actionbar .nrmt-rarity-glow-uncommon { animation: none !important; box-shadow: 0 0 10px var(--rarity-uncommon-glow) !important; }
#nrmt-bi-left .nrmt-rarity-glow-rare,
#nrmt-bi-actionbar .nrmt-rarity-glow-rare { animation: none !important; box-shadow: 0 0 13px var(--rarity-rare-glow) !important; }
#nrmt-bi-left .nrmt-rarity-glow-epic,
#nrmt-bi-actionbar .nrmt-rarity-glow-epic { animation: none !important; box-shadow: 0 0 16px var(--rarity-epic-glow) !important; }
#nrmt-bi-left .nrmt-rarity-glow-legendary,
#nrmt-bi-actionbar .nrmt-rarity-glow-legendary { animation: none !important; box-shadow: 0 0 20px var(--rarity-legendary-glow), 0 0 5px var(--gold) !important; }
#nrmt-bi-left .nrmt-rarity-glow-mythic,
#nrmt-bi-actionbar .nrmt-rarity-glow-mythic { animation: none !important; box-shadow: 0 0 22px var(--rarity-mythic-glow), 0 0 7px var(--red) !important; }

/* Raridade permanece iluminada, mas sem pulsar/trocar de cor nos elementos
   fixos da Party e da barra inferior. O efeito animado continua reservado ao
   personagem renderizado no mapa. */
#nrmt-bi-left [data-outfit-rarity="legendary"] img,
#nrmt-bi-actionbar [data-outfit-rarity="legendary"] img {
  filter: drop-shadow(0 0 5px #fff1aa) drop-shadow(0 0 11px #e79b2c) !important;
}

#nrmt-bi-left [data-outfit-rarity="mythic"] img,
#nrmt-bi-actionbar [data-outfit-rarity="mythic"] img {
  filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 11px #ba55ff) !important;
}

#nrmt-bi-left [data-outfit-rarity="mythic"]::after,
#nrmt-bi-actionbar [data-outfit-rarity="mythic"]::after {
  transform: none !important;
  --nrmt-shader-angle: 0deg;
  background: conic-gradient(from 0deg, #ff3f86, #bf5cff, #4d9fff, #38e8d0, #ffda4a, #ff713d, #ff3f86) border-box !important;
}

#nrmt-bi-left .nrmt-bi-party-card {
  position: relative;
  cursor: pointer;
}
#nrmt-bi-left .nrmt-bi-party-remove {
  position: absolute;
  z-index: 5;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #6e3c2d;
  border-radius: 2px;
  background: #2a1712;
  color: #f2d7c7;
  font: 14px/1 Arial, sans-serif;
  cursor: pointer;
  user-select: none;
  line-height: 1;
}
#nrmt-bi-left .nrmt-bi-party-remove:hover {
  border-color: #c45a45;
  background: #4a1f18;
  color: #ffd7cb;
}
.nrmt-world-hunt #nrmt-bi-left .nrmt-bi-party-remove {
  display: none !important;
}
#nrmt-bi-left .nrmt-bi-party-hint {
  margin: 0 0 6px;
  padding: 5px 7px;
  border: 1px solid #3a4548;
  background: #12181b;
  color: #9aa6a8;
  font-size: 7px;
  letter-spacing: .04em;
}
#nrmt-bi-left .nrmt-bi-party-bars i > b,
#nrmt-bi-left .nrmt-bi-party-metrics b,
#nrmt-bi-left .nrmt-bi-party-summary b {
  transition: width .16s linear, color .16s ease !important;
}
#nrmt-bi-left .nrmt-bi-party-card img {
  pointer-events: none;
}
#nrmt-bi-left .nrmt-bi-party-card [data-party-hp-bar],
#nrmt-bi-left .nrmt-bi-party-card [data-party-chakra-bar],
#nrmt-bi-left .nrmt-bi-party-card [data-party-exp-bar],
#nrmt-bi-left .nrmt-bi-party-card [data-party-share-bar] {
  display: block;
  height: 100%;
  will-change: width;
}
#nrmt-bi-left .nrmt-bi-party-card i[data-party-level],
#nrmt-bi-left .nrmt-bi-party-card i[data-party-tn],
#nrmt-bi-left .nrmt-bi-party-card i[data-party-exp-next] {
  font-style: normal;
}
  left: 0;
  right: 0;
  width: 100%;
  padding: 1px 0;
  font-size: 6px !important;
  letter-spacing: -.18px;
  text-align: center;
  white-space: nowrap;
  transform: translateY(-50%);
}

#nrmt-bi-actionbar .nrmt-jutsu-cd-time {
  left: 0;
  right: 0;
  width: 100%;
  padding: 1px 0;
  font-size: 8px !important;
  letter-spacing: -.2px;
  text-align: center;
  white-space: nowrap;
  transform: translateY(-50%);
}

#nrmt-bi-left .nrmt-jutsu-next-label,
#nrmt-bi-actionbar .nrmt-jutsu-next-label {
  font-size: 6px !important;
  line-height: 1.1;
  letter-spacing: -.08px;
}
