.roster-intro {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 25px;
}
.roster-intro > div:first-child {
  flex: 1;
  min-width: 0;
}
.roster-intro h2 {
  font: 500 25px var(--serif);
  margin: 10px 0;
}
.roster-intro p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.roster-wallet {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 7px;
  color: var(--gold);
}
.roster-wallet strong {
  font-size: 20px;
}
.roster-wallet small {
  grid-column: 1/-1;
  font-size: 11px;
  color: var(--muted);
}
.roster-note {
  margin: 16px 0;
}
.roster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.roster-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 35%, #68528c18, transparent 65%), #131724;
}
.roster-card.active {
  border-color: #bd9bdb;
}
.roster-card.locked {
  background: #10141f;
}
.roster-card h2 {
  font: 500 23px var(--serif);
  overflow-wrap: anywhere;
  margin: 8px 0;
}
.roster-card > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 8px 0 18px;
}
.roster-slot {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.roster-slot span {
  color: var(--purple);
  font-size: 9px;
}
.roster-portrait {
  display: grid;
  place-items: center;
  height: 145px;
  width: 100%;
  margin-top: 10px;
  background: radial-gradient(ellipse at 50% 72%, #9475b820, transparent 60%);
}
.roster-portrait .cat-art {
  width: 150px;
  height: 150px;
}
.roster-card button {
  margin-top: auto;
  width: 100%;
  font-size: 12px;
}
.roster-power {
  font-size: 22px;
  color: var(--gold);
  display: grid;
  gap: 7px;
  margin: 0 0 22px;
}
.roster-power small {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
.roster-empty-symbol {
  height: 160px;
  display: grid;
  place-items: center;
  color: #7b6c8f;
}
.roster-empty-symbol > .icon {
  width: 48px;
  height: 48px;
}
.roster-price {
  color: var(--gold);
  font-size: 17px;
  margin: 12px 0 24px;
}
.new-character-art {
  display: grid;
  place-items: center;
  margin: 10px 0;
}
.new-character-art .cat-art {
  width: 160px;
  height: 170px;
}
#character-create-form {
  display: grid;
  gap: 16px;
  margin: 14px 0;
}
#character-create-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
}
#character-create-form input,
#character-create-form select {
  background: #0c111d;
  border: 1px solid #4b405c;
  color: var(--text);
  padding: 12px;
  font: inherit;
  width: 100%;
  border-radius: 3px;
}
.nav-item {
  min-width: 0;
}
.world-nav .nav-item > span {
  white-space: nowrap;
}
@media (max-width: 1000px) {
  .roster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .roster-intro {
    flex-wrap: wrap;
  }
  .roster-intro > div:first-child {
    flex-basis: 100%;
  }
}
@media (max-width: 600px) {
  .roster-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .roster-card {
    padding: 20px;
  }
  .roster-portrait {
    height: 115px;
  }
  .roster-portrait .cat-art {
    width: 125px;
    height: 125px;
  }
  .roster-empty-symbol {
    height: 90px;
  }
  .roster-intro {
    padding: 16px;
    gap: 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .roster-intro > div:first-child {
    display: none;
  }
  .roster-intro > button {
    width: auto;
    max-width: 140px;
    font-size: 11px;
  }
}
