/* Rebirth identity sweep and compact shared HUD bonus row. */
.l2-character-rebirth {
  display: block;
  margin: 1px 0 5px;
  color: #ff9427;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.l2-character-rebirth[hidden] { display: none; }
.l2-rebirth-shimmer {
  display: inline-block;
  color: #ff8c1a;
  background: linear-gradient(105deg,#ff8c1a 0%,#ff8c1a 37%,#ffbe53 45%,#fff0b2 50%,#ffb03d 55%,#ff8c1a 65%,#ff8c1a 100%);
  background-size: 260% 100%;
  background-position: 100% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: l2-rebirth-sweep 2.8s linear infinite;
}
.l2-character-rebirth__description { color: #e6a44a; }
@keyframes l2-rebirth-sweep {
  0% { background-position: 100% 50%; }
  80%,100% { background-position: 0% 50%; }
}
.l2-hud-legacy-vitals-row { position: relative; }
.l2-hud-rebirth-flats {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  overflow-x: visible;
  border: 0;
  box-shadow: none;
  font: 700 9px/1.3 sans-serif;
  background: transparent;
}
.l2-hud-rebirth-flats::-webkit-scrollbar { display: none; }
.l2-hud-rebirth-flats .grade { color: #ff9a2f; }
.l2-hud-rebirth-flats .physical { color: #ffb34f; }
.l2-hud-rebirth-flats .magic { color: #bb9aff; }
.l2-hud-rebirth-flats .pdef { color: #7dd2fa; }
.l2-hud-rebirth-flats .mdef { color: #a9cf8f; }
.l2-hud-rebirth-flats .hp { color: #f77d87; }
@media (prefers-reduced-motion: reduce) {
  .l2-rebirth-shimmer {
    animation: none;
    background: none;
    -webkit-text-fill-color: #ff8c1a;
  }
}
