/* The supplied badge artwork is the source of truth; only the score number is dynamic. */
.score {
  position: relative !important;
  display: block !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  isolation: isolate;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 1 !important;
}

.score::before, .score::after { content: none !important; display: none !important; }
.score.gold { background-image: url("score-badges/score-s.png") !important; }
.score.silver { background-image: url("score-badges/score-a.png") !important; }
.score.bronze { background-image: url("score-badges/score-b.png") !important; }
.score.out { background-image: url("score-badges/score-c.png") !important; }
.score.pending { background-image: url("score-badges/score-pending.png") !important; }

.score > b, .score > .v, .score > .score-value {
  position: absolute !important;
  z-index: 1 !important;
  top: 50% !important;
  right: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 42px !important;
  font-weight: 900 !important;
  letter-spacing: -3px !important;
  line-height: 1 !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.82)) drop-shadow(0 2px 1px rgba(0,0,0,.42));
  text-shadow: none !important;
}
.score.gold > b, .score.gold > .v, .score.gold > .score-value { background-image: linear-gradient(180deg,#fff9bb 0%,#ffd426 36%,#a96400 73%,#fff09a 100%) !important; }
.score.gold > b, .score.gold > .v, .score.gold > .score-value {
  inset: auto !important;
  top: 40% !important;
  right: auto !important;
  bottom: auto !important;
  left: 50% !important;
  display: block !important;
  width: max-content !important;
  white-space: nowrap !important;
  transform: translate(-50%, -50%) !important;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -4px !important;
  -webkit-text-stroke: .65px #d69a00 !important;
  background-image: linear-gradient(180deg,#6d6d70 0%,#111217 42%,#000 100%) !important;
  filter: drop-shadow(0 1px 0 rgba(255,239,151,.98)) drop-shadow(0 2px 1px rgba(70,38,0,.42)) !important;
  text-shadow: none !important;
}
.score.silver > b, .score.silver > .v, .score.silver > .score-value { background-image: linear-gradient(180deg,#fff 0%,#e5e7eb 34%,#777d87 75%,#fff 100%) !important; }
.score.bronze > b, .score.bronze > .v, .score.bronze > .score-value { background-image: linear-gradient(180deg,#ffe4bd 0%,#eb9142 36%,#773516 75%,#ffd3a0 100%) !important; }
.score.out > b, .score.out > .v, .score.out > .score-value { background-image: linear-gradient(180deg,#c4c8cc 0%,#525862 38%,#111419 75%,#989ea5 100%) !important; }
.score.pending > b, .score.pending > .v, .score.pending > .score-value { display: none !important; }

.b-rate.score { width: 70px !important; height: 81px !important; }
.b-rate.score.gold { height: 68px !important; }
.b-rate.score.gold > b { font-size: 36px !important; }
.rate-box.score { min-width: 84px !important; height: 97px !important; }
.rate-box.score > .v { font-size: 46px !important; }
.ncard > .b-rate.score, .ncard > .nscore.score { position: absolute !important; top: 8px !important; right: 8px !important; z-index: 3 !important; transform: translateY(-0.2mm) !important; }

@media (max-width: 390px) {
  .b-rate.score { width: 66px !important; height: 76px !important; }
  .b-rate.score > b { font-size: 29px !important; }
}
