:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #11191b;
  color: #ecf2ee;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
.frame { width: min(100% - 3rem, 59rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid #314243; background: #101719; }
.site-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.site-name { color: inherit; font-size: 1.05rem; font-weight: 700; text-decoration: none; }
.site-name span { color: #a6d7bd; }
.realm { color: #b2c6bf; font-size: .875rem; text-align: right; }
.character {
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 4vw, 2.5rem);
  margin-block: clamp(2rem, 7vw, 4.25rem) 2.25rem;
  padding: clamp(1.25rem, 5vw, 3rem);
  border: 1px solid #466762;
  border-radius: 1.2rem;
  background: radial-gradient(ellipse at 15% 85%, #31514a, transparent 62%), #1a292b;
}
.monogram {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(3.5rem, 12vw, 7.25rem);
  aspect-ratio: 1;
  border: 1px solid #75a190;
  border-radius: .8rem;
  color: #c8eed9;
  background: #1a302d;
  font: 400 clamp(2.4rem, 7vw, 4.5rem)/1 Georgia, serif;
}
h1, h2, p { margin: 0; }
h1 { font: 400 clamp(2.8rem, 9vw, 5rem)/1 Georgia, serif; }
h2 { font: 400 1.9rem/1.2 Georgia, serif; margin-bottom: 1.1rem; }
.character-details { margin-top: .7rem; color: #c3d7ce; }
.character-details strong { color: #f1f6f0; }
.character-details .level { display: inline-block; margin-inline-start: .3rem; padding: .15rem .5rem; border-radius: .3rem; background: #294742; color: #ddf2e8; }
.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding: 0; margin: 0; list-style: none; }
.item { display: grid; gap: .25rem; padding: .85rem 1rem; background: #1a2527; border: 1px solid #334547; border-radius: .65rem; }
.slot, footer { color: #b2c6bf; font-size: .875rem; }
.item-name { font-weight: 650; overflow-wrap: anywhere; }
.item-name.poor { color: #bdc9c5; }
footer { margin-block: 2.5rem 2rem; padding-top: 1rem; border-top: 1px solid #314243; }
:focus-visible { outline: 2px solid #a6d7bd; outline-offset: .25rem; }
@media (max-width: 32rem) {
  .frame { width: calc(100% - 2rem); }
  .items { grid-template-columns: 1fr; }
}
