/* Assets vetoriais fornecidos pelo usuário; posições seguem a captura de 280 × 67. */
#hud {
  padding: 0;
  min-height: 100px;
  border: 0;
  background: linear-gradient(180deg, #bcebc044, transparent);
  gap: 12px;
}
.classic-profile {
  position: relative;
  display: block;
  width: 420px;
  height: 100px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0 0 6px 0;
  box-shadow: none;
  background: linear-gradient(100deg, #d5f9e9a6, #b9efda65 80%, #cce9e946);
  flex: none;
  font-family: Arial, sans-serif;
}
.classic-profile:before {
  content: "";
  position: absolute;
  inset: 9px 0 4px 3px;
  border-left: 4px solid #f2fff7b3;
  border-bottom: 0;
  border-radius: 0 0 4px 4px;
  pointer-events: none;
}
.avatar-wrap {
  position: absolute;
  left: 14px;
  top: 13px;
  width: 71px;
  height: 75px;
  padding: 4px;
  background: #e3f9e3;
  border: 2px solid #effff2;
  border-radius: 2px;
  box-shadow: 0 0 2px #548d68;
}
#avatarImage {
  display: block;
  width: 59px;
  height: 62px;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  background: #d5edc4;
}
.profile-details {
  position: static;
}
.profile-title {
  position: absolute;
  left: 94px;
  top: 13px;
  height: 23px;
  max-width: 290px;
  gap: 7px;
}
#profileName {
  font:
    17px Arial,
    sans-serif;
  font-weight: 400;
  max-width: 275px;
  margin-left: 3px;
  color: #548080;
  text-shadow: 0 1px #e2fff3;
}
#vipBadge {
  position: absolute;
  right: -7px;
  bottom: -5px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 0;
  clip-path: polygon(
    50% 0,
    62% 24%,
    90% 15%,
    80% 45%,
    100% 63%,
    70% 70%,
    70% 100%,
    45% 85%,
    20% 100%,
    23% 70%,
    0 58%,
    23% 42%,
    10% 15%,
    38% 24%
  );
  background: #f4cf45;
  color: #704a12;
  font:
    700 7px/1 Arial,
    sans-serif;
  text-align: center;
  z-index: 3;
}
.classic-tracks {
  display: block;
  margin: 0;
}
.track {
  position: absolute;
  top: 39px;
  left: 94px;
  width: 114px;
  height: 17px;
  border: 0;
  border-radius: 10px;
  background: url("/assets/hud-classica/05_barra_xp_vazia.svg") center/100% 100% no-repeat;
  overflow: visible;
  padding: 3px;
}
.track i {
  display: block;
  height: 11px;
  max-width: 100%;
  min-width: 0;
  border-radius: 8px;
  background: linear-gradient(#38c9f5, #00aaf3 45%, #168cdb);
  box-shadow: inset 0 1px 1px #c4f5ff;
  transition: width 0.25s;
}
.star-level {
  position: absolute;
  left: 205px;
  top: 28px;
  right: auto;
  bottom: auto;
  width: 38px;
  height: 38px;
  clip-path: none;
  border: 0;
  background: url("/assets/hud-classica/04_estrela_sem_numero.svg") center/contain no-repeat;
  text-align: center;
  font: 15px/38px Arial;
  color: #effaff;
  text-shadow: 0 1px #176089;
  z-index: 1;
}
#popTrack {
  left: 0;
  top: 14px;
  width: 109px;
  background-image: url("/assets/hud-classica/06_barra_popularidade_vazia.svg");
}
#popbar {
  background: linear-gradient(#ffb4c5, #f66c91 55%, #ee456e);
  box-shadow: inset 0 1px 1px #ffe0e5;
}
.heart-stat {
  position: absolute;
  left: 245px;
  top: 25px;
  display: block;
  width: 149px;
  height: 40px;
}
.heart-level {
  position: absolute;
  left: 109px;
  top: 0;
  width: 40px;
  height: 40px;
}
.heart-level img {
  width: 100%;
  height: 100%;
  display: block;
}
.heart-level #popLevel {
  position: absolute;
  inset: 0;
  text-align: center;
  font: 13px/37px Arial;
  color: #fff5f7;
  text-shadow: 0 1px #b4395d;
}
.balance-row {
  position: absolute;
  left: 93px;
  top: 61px;
  display: grid;
  grid-template-columns: repeat(2, 110px);
  width: 220px;
  gap: 0;
  font: 19px Arial;
  color: #dbab1b;
}
.balance-row > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  white-space: nowrap;
}
.balance-row b {
  font-weight: 400;
  text-shadow: 0 1px #f1ffc9;
}
.balance-row .mv-balance {
  color: #50b42d;
}
.coin-symbol,
.coin-symbol.green {
  display: block;
  width: 26px;
  height: 26px;
  flex: none;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  margin: 0;
  padding: 0;
}
.coin-symbol.green {
  width: 26px;
}
#popularity {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
#hudActions {
  margin: 9px 10px 0 auto;
  max-width: min(900px, calc(100vw - 410px));
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
}
#visitBanner {
  top: 106px;
}
#hud #adminMenuToggle {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border: 1px solid #8e6b36 !important;
  border-radius: 50% !important;
  background: linear-gradient(#fff5c7, #e8b84f) !important;
  color: #654618 !important;
  font: 800 18px/1 Georgia, serif;
  box-shadow: 0 1px 3px #183a1644;
}
#hud #adminMenuToggle:hover,
#hud #adminMenuToggle[aria-expanded="true"] {
  background: linear-gradient(#fff9dc, #edcf7d) !important;
}
#hud #adminMenuToggle[hidden] {
  display: none !important;
}
#adminMenuPanel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 48px);
  right: 0;
  display: grid;
  gap: 6px;
  min-width: 190px;
  padding: 8px;
  border: 1px solid #a5c68a;
  border-radius: 7px;
  background: #f6ffe9f5;
  box-shadow: 0 4px 14px #183a1644;
}
#adminMenuPanel[hidden] {
  display: none;
}
#hudActions #settingsOpen {
  min-width: 46px;
  width: 46px;
  padding: 5px 3px;
}
#adminMenuPanel #adminLink {
  box-sizing: border-box;
  width: 100%;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
}
#adminMenuPanel .admin-stage-controls {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 3px;
  border: 1px solid #d5c18f;
  border-radius: 6px;
  background: #fff9e8;
  color: #695437;
  font: 700 14px Georgia, serif;
  text-align: center;
}
#adminMenuPanel .admin-stage-controls button {
  display: grid;
  place-items: center;
  width: 38px;
  min-width: 38px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid #8e6b36;
  border-radius: 5px;
  background: linear-gradient(#fff0b5, #e1bd66);
  color: #654618;
  font: 800 22px/1 Arial, sans-serif;
}
#adminMenuPanel #adminLink {
  display: block;
  border: 1px solid #b7a17d;
  background: #f4e7c9;
  color: #695437;
  font: 700 13px Georgia, serif;
}
#adminMenuPanel #adminLink[hidden] {
  display: none;
}
#hudActions #hudCollapse {
  align-self: center;
  min-width: 28px;
  width: 28px;
  min-height: 30px;
  height: 30px;
  padding: 0;
  font: 20px/1 Arial, sans-serif;
}
.settings-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.settings-menu button {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #a5c68a;
  border-radius: 5px;
  background: #e6f0d3;
  color: #3b583a;
  font: 700 14px Georgia, serif;
  cursor: pointer;
}
@media (max-width: 1000px) {
  .classic-profile {
    width: 420px;
    transform: scale(0.85);
    transform-origin: top left;
    margin-right: -63px;
    margin-bottom: -15px;
  }
  .track {
    width: 114px;
  }
  #popTrack {
    width: 109px;
  }
  #hudActions {
    max-width: calc(100vw - 340px);
    overflow-x: auto;
    flex-wrap: nowrap;
  }
}
@media (max-width: 700px) {
  #hud {
    padding: 0;
    gap: 2px;
    flex-wrap: wrap;
  }
  .classic-profile {
    width: 420px;
    transform: scale(0.72);
    margin-right: -118px;
    margin-bottom: -28px;
  }
  #hudActions {
    margin: 4px 5px 0 auto;
    max-width: calc(100% - 310px);
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  #profileName {
    font-size: 17px;
  }
  .track {
    width: 114px;
  }
  #popTrack {
    width: 109px;
  }
}
@media (max-width: 540px) {
  #hudActions {
    max-width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    margin: 0 5px 0 auto;
    gap: 3px;
  }
  #hudActions > button,
  #hudActions > a {
    min-height: 26px;
  }
  #hud {
    row-gap: 0;
  }
  #visitBanner {
    top: 128px;
  }
}
