.character-panel {
  width: 242px;
  margin: 0;
  color: var(--dbz-text, #ddd);
  font-family: "Rajdhani", Verdana, Arial, sans-serif;
}

.character-panel #menu-top.character-panel__header {
  display: flex;
  width: 242px;
  height: 34px;
  margin: 0;
  padding: 0 8px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--dbz-gold, #f5c542) !important;
  border-bottom: 1px solid var(--dbz-border, #2a2a2a) !important;
  background: linear-gradient(90deg, #171717, #222 60%, #171717) !important;
  box-sizing: border-box;
}

.character-panel__header > span:first-child {
  color: var(--dbz-gold, #f5c542) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 2.5px !important;
  text-shadow: 0 0 8px var(--dbz-gold-glow, rgba(245, 197, 66, 0.3)) !important;
}

.character-panel__vip {
  padding: 3px 6px;
  border: 1px solid rgba(245, 197, 66, 0.42);
  border-radius: 9px;
  color: #ffe28a !important;
  background: rgba(245, 197, 66, 0.1);
  font-size: 8px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-shadow: 0 1px 2px #000 !important;
  white-space: nowrap;
}

.character-panel #menu-meio.character-panel__body {
  width: 242px;
  padding: 7px;
  border-right: 1px solid var(--dbz-border, #2a2a2a);
  border-left: 1px solid var(--dbz-border, #2a2a2a);
  background: linear-gradient(180deg, rgba(25, 27, 30, 0.98), rgba(17, 19, 22, 0.98));
  box-sizing: border-box;
}

.character-panel__content {
  display: block;
}

.character-identity {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 9px;
  padding: 8px;
  border: 1px solid var(--dbz-border-lit, #414141);
  border-radius: 5px;
  background: rgba(7, 8, 10, 0.62);
}

.character-identity__name-wrap {
  grid-column: 1 / -1;
  width: auto !important;
}

.character-identity__name {
  margin: 0 !important;
  padding: 0 0 7px !important;
  overflow: hidden;
  border: 0 !important;
  border-bottom: 1px solid rgba(245, 197, 66, 0.17) !important;
  background: transparent !important;
  font-size: 11px !important;
  line-height: 1.3;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.character-identity__avatar-wrap {
  width: 62px !important;
  height: 62px !important;
  border-color: rgba(245, 197, 66, 0.48) !important;
  border-radius: 4px;
  overflow: hidden;
}

.character-identity__avatar-wrap img {
  display: block;
  width: 62px;
  height: 62px;
  object-fit: cover;
}

.character-identity__details {
  display: grid !important;
  width: auto !important;
  gap: 5px;
}

.character-identity__level,
.character-identity__race {
  display: flex;
  margin: 0 !important;
  padding: 6px 7px !important;
  align-items: center;
  border-color: rgba(255, 255, 255, 0.1) !important;
  border-radius: 4px;
  background: rgba(20, 21, 23, 0.76) !important;
  box-sizing: border-box;
  font-size: 10px !important;
}

.character-identity__level font,
.character-identity__race font {
  color: #ddd !important;
}

.character-resources {
  display: grid;
  gap: 6px;
  margin-top: 7px;
}

.character-resource.energia {
  width: 100%;
  height: 32px;
  margin: 0;
  border-color: rgba(255, 255, 255, 0.12) !important;
  border-radius: 4px !important;
  background: #0e0f11;
  box-sizing: border-box;
}

.character-resource img {
  opacity: 0.82;
}

.character-resource .num_energia {
  inset: 0;
  display: flex;
  padding: 0 9px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 10px;
  text-shadow: 0 1px 2px #000, 0 0 3px #000;
}

.character-resource .num_energia span:first-child {
  margin-right: 0 !important;
}

.character-resource--stamina .num_energia {
  color: #171200;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.45);
}

.character-wallet-wrap.conteudo_direita {
  width: 100%;
  margin: 7px 0 0;
}

.character-wallet.barra_status {
  display: flex;
  width: 100%;
  min-height: 34px;
  padding: 6px 9px;
  align-items: center;
  justify-content: center;
  border-color: var(--dbz-border-lit, #414141);
  border-radius: 4px;
  background: rgba(8, 9, 11, 0.62);
  box-sizing: border-box;
}

.character-wallet img {
  object-fit: contain;
}

.character-stats.conteudo_direita {
  display: grid;
  width: 100%;
  margin: 5px 0 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.character-stat.box_status {
  display: flex;
  width: auto;
  min-width: 0;
  height: 43px;
  padding: 5px 3px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-color: var(--dbz-border-lit, #414141) !important;
  border-radius: 4px;
  background: rgba(8, 9, 11, 0.72) !important;
  box-sizing: border-box;
  color: #eee;
}

.character-stat > div:first-child {
  max-width: 100%;
  height: auto !important;
  overflow: hidden;
  color: var(--dbz-text-dim, #999) !important;
  font-size: 8px !important;
  letter-spacing: 0.15px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.character-stat > div:last-child {
  max-width: 100%;
  margin-top: 3px;
  overflow: hidden;
  color: #f1f1f1;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.character-stats > a {
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.theme-selector {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid rgba(245, 197, 66, 0.18);
}

.theme-selector__heading {
  margin-bottom: 6px;
  color: var(--dbz-text-dim, #888);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-align: center;
  text-transform: uppercase;
}

.theme-selector__options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
}

.theme-option {
  --theme-option-color: #aaa;
  display: flex;
  min-width: 0;
  min-height: 28px;
  padding: 3px 2px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dbz-border-lit, #414141);
  border-radius: 4px;
  color: var(--dbz-text-dim, #929292);
  background: rgba(7, 8, 10, 0.5);
  font-size: 7px;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.theme-option--dbz_default { --theme-option-color: #f5c542; }
.theme-option--dbz_dark { --theme-option-color: #4fc3f7; }
.theme-option--dbz_capsule { --theme-option-color: #00e5ff; }
.theme-option--dbz_trunks { --theme-option-color: #b8a1ed; }

.theme-option[aria-disabled="true"] {
  flex-direction: column;
  gap: 4px;
  opacity: 0.65;
}

.theme-option:hover,
.theme-option:focus-visible,
.theme-option--active {
  border-color: var(--theme-option-color);
  color: #fff;
  background: rgba(245, 197, 66, 0.08);
  outline: none;
}

.theme-option--active:before {
  width: 4px;
  height: 4px;
  margin-right: 3px;
  flex: 0 0 4px;
  border-radius: 50%;
  background: var(--theme-option-color);
  box-shadow: 0 0 5px var(--theme-option-color);
  content: "";
}
