/* modals: even inner spacing */
#ui .panel .pb {
  padding: 1.1em 1.2em 0.45em;
}

/* coin box */
#ui .coins {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  height: 2.5em;
  padding: 0 1.1em 0 3em !important;
  border-radius: 99em;
  border: 0.17em solid #ffd54a !important;
  background: linear-gradient(#222d86, #0b1040 70%) !important;
  box-shadow:
    0 0.22em 0 #6b3a00,
    inset 0 0.12em 0 #ffffff28,
    0 0.35em 0.6em #0009 !important;
  min-width: 7em;
}

#ui .coins .cn {
  position: absolute;
  left: -0.4em;
  top: 50%;
  transform: translateY(-50%);
  width: 2.8em;
  height: 2.8em;
  filter: drop-shadow(0 0.12em 0.15em #000a);
}

#ui .coins b {
  font:
    400 1.15em/1 Bungee,
    Impact,
    sans-serif !important;
  color: #ffe9a0 !important;
  text-shadow: 0 0.08em 0 #6b3a00;
  letter-spacing: 0.04em;
  margin-left: auto;
  text-align: right;
}

/* fighter cards */
.fc {
  background: radial-gradient(
    ellipse at 50% 34%,
    #2d3da0 0%,
    #16205f 52%,
    #080b28 100%
  );
  box-shadow:
    inset 0 0.15em 0 #ffffff26,
    0 0.35em 0.6em #0007;
}

.fc::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3.2em;
  width: 72%;
  height: 0.9em;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(#000d, #0000 72%);
  pointer-events: none;
}

.fc .fi {
  bottom: 3.5em;
  top: 0.4em;
}

.fc .fi img {
  height: min(7.6em, calc(400px / var(--dpr, 1)));
  position: relative;
  z-index: 1;
}

.fc .fn {
  height: 3.5em;
  padding-top: 0.5em;
  justify-content: flex-start;
  gap: 0.15em;
}

.fc .fn small {
  margin-top: 0.2em;
}

.fc .mp {
  display: flex;
  gap: 0.25em;
  margin-top: 0.3em;
}

.fc .mp i {
  display: block;
  width: 2.1em;
  height: 0.38em;
  border-radius: 0.2em;
  background: #05071c;
  border: 0.07em solid #2a3566;
  position: relative;
  overflow: hidden;
}

.fc .mp i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: calc(var(--v) * 100%);
  background: var(--k);
}

.fc.lk .mp {
  opacity: 0.35;
}

.fc.on {
  animation: fcon 1.1s ease-in-out infinite alternate;
}

@keyframes fcon {
  from {
    box-shadow:
      0 0 0.6em var(--cc),
      0 0.5em 1em #000a,
      inset 0 0.15em 0 #ffffff26;
  }
  to {
    box-shadow:
      0 0 1.5em 0.1em var(--cc),
      0 0.5em 1em #000a,
      inset 0 0.15em 0 #ffffff26;
  }
}

.fc .pr {
  top: auto;
  bottom: 3.7em;
  right: 50%;
  transform: translateX(50%);
  padding: 0.25em 0.8em 0.25em 0.35em;
}

.fc .lkb {
  top: 34%;
}
