body {
  background: #101217;
}
.nav {
  position: fixed;
  width: min(455px, 100%);
  height: calc(64px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
}
.content {
  padding-bottom: 84px;
}
.top {
  padding-top: env(safe-area-inset-top);
  height: calc(52px + env(safe-area-inset-top));
}
.avatar {
  object-fit: cover;
}
.player {
  width: 100%;
  text-align: left;
  color: inherit;
}
.card,
.player,
.hero,
.prof-hero {
  overflow-wrap: anywhere;
}
.field input,
.field select,
.field textarea {
  display: block;
  margin-top: 5px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
}
.error {
  background: #50272a;
  color: #ffe1dc;
  padding: 12px;
  position: sticky;
  top: 52px;
  z-index: 4;
}
.btn + .btn {
  margin-top: 6px;
}
.btnrow .btn {
  margin: 0;
}
.hero h2 {
  margin: 0;
}
.space {
  margin-top: 12px;
}
progress {
  width: 100%;
  accent-color: var(--gold);
}
.testbanner {
  text-align: center;
  padding: 5px;
  background: #514324;
  color: #fff1be;
}
.pending {
  margin-bottom: 12px;
}
.field select {
  max-width: 100%;
}
.btn:disabled {
  cursor: wait;
}
button {
  touch-action: manipulation;
}
.card:target {
  outline: 1px solid var(--gold);
}
.playerbody img {
  max-width: 100%;
}
details > summary {
  cursor: pointer;
  font-weight: 650;
}
a.btn {
  display: block;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}
.nav svg {
  flex-shrink: 0;
}
.hero-note {
  letter-spacing: 0.08em;
}
.profile-actions {
  display: grid;
  gap: 8px;
}
