img {
  display: block;
  max-width: 100%;
}

article img,
figure img,
.sx-list-row img,
.sx-ready-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figure {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #2a2114;
}

dl div {
  background: #141414;
  color: #f4e7c8;
  text-align: center;
  padding: 0.25rem 0.1rem;
}

dt {
  font-family: Teko, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #e0b44a;
}

dd {
  margin: 0;
  font-family: Bangers, cursive;
  font-size: 1.15rem;
}

ul li {
  background: #141414;
  color: #f4e7c8;
  padding: 0.15rem 0.45rem;
  font-size: 0.75rem;
  font-family: "Special Elite", cursive;
}

.rarity-uncommon { background: #3d7eff !important; color: #fff !important; }
.rarity-rare { background: #7b4bd6 !important; color: #fff !important; }
.rarity-legendary { background: #ff8a2a !important; color: #141414 !important; }

.card--legendary {
  box-shadow: 0 12px 0 #c45c12, 0 18px 28px rgba(0, 0, 0, 0.35), 0 0 18px #ff8a2a;
}

label {
  display: grid;
  gap: 0.28rem;
  font-size: 0.82rem;
  font-family: Teko, sans-serif;
  letter-spacing: 0.05em;
}

input,
select,
textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e0b44a;
  background: #0b1220;
  color: #f4e7c8;
  padding: 0.55rem 0.6rem;
  font: 1rem Nunito, system-ui, sans-serif;
}

button,
.sx-btn-enter,
.sx-btn-ghost,
.sx-btn-pass {
  box-sizing: border-box;
}

.helptext {
  font-size: 0.78rem;
  opacity: 0.75;
}

form ul {
  padding-left: 1rem;
}

a {
  color: #e0b44a;
}
