:root {
  color-scheme: dark;
  --ink: #f7f2e8;
  --muted: #aab4ac;
  --line: #31413b;
  --panel: rgba(11, 18, 17, 0.86);
  --panel-solid: #101917;
  --floor: #15211f;
  --danger: #df4c43;
  --danger-deep: #8a262b;
  --health: #64d179;
  --gold: #f2bc54;
  --blue: #78d7f0;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(120, 215, 240, 0.08), transparent 30%),
    linear-gradient(315deg, rgba(223, 76, 67, 0.12), transparent 34%),
    #07100f;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

button {
  min-height: 48px;
  border: 1px solid rgba(242, 188, 84, 0.72);
  border-radius: 8px;
  background: var(--gold);
  color: #16100a;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0;
  padding: 0 24px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

button:hover,
button:focus-visible {
  background: #ffd272;
  border-color: #ffe1a0;
  outline: none;
  transform: translateY(-1px);
}

button:active {
  transform: translateY(1px);
}

.secondary-button {
  background: rgba(247, 242, 232, 0.08);
  border-color: rgba(247, 242, 232, 0.24);
  color: var(--ink);
}

.secondary-button:hover,
.secondary-button:focus-visible {
  background: rgba(120, 215, 240, 0.16);
  border-color: rgba(120, 215, 240, 0.48);
}

button:disabled {
  background: #27312e;
  border-color: #43504c;
  color: #8f9b95;
  cursor: not-allowed;
  transform: none;
}

.game-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100vw;
  height: 100dvh;
  padding: clamp(10px, 1.5vw, 20px);
  gap: clamp(10px, 1.5vw, 18px);
}

.hud {
  align-items: center;
  background: rgba(9, 15, 14, 0.8);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: clamp(10px, 1.8vw, 24px);
  grid-template-columns:
    minmax(142px, 0.76fr)
    auto
    minmax(330px, 1.2fr)
    minmax(180px, 300px);
  min-height: 78px;
  padding: clamp(10px, 1.5vw, 16px);
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  background:
    linear-gradient(90deg, transparent 42%, #101917 42% 58%, transparent 58%),
    linear-gradient(0deg, transparent 42%, #101917 42% 58%, transparent 58%),
    var(--danger);
  border: 2px solid #ff8e71;
  border-radius: 8px;
  display: block;
  flex: 0 0 42px;
  height: 42px;
  transform: rotate(8deg);
}

.brand p,
.brand strong,
.health-copy span,
.health-copy strong {
  display: block;
  margin: 0;
}

.brand p {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.brand strong {
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.scoreboard {
  display: flex;
  gap: clamp(10px, 2vw, 22px);
  justify-content: center;
  margin: 0;
}

.scoreboard div {
  min-width: clamp(76px, 8vw, 104px);
}

.scoreboard dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.scoreboard dd {
  color: var(--gold);
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 3px 0 0;
  min-height: 1.25em;
}

.loadout {
  align-items: center;
  display: grid;
  gap: 7px;
  min-width: 0;
}

.weapon-slot {
  align-items: baseline;
  display: flex;
  gap: 10px;
  min-width: 0;
}

.weapon-slot span,
.supply-strip span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.weapon-slot strong {
  color: var(--blue);
  font-size: clamp(0.94rem, 1.5vw, 1.16rem);
  line-height: 1.1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.supply-strip {
  display: flex;
  gap: 8px;
  min-width: 0;
}

.weapon-rack {
  display: grid;
  gap: 6px;
  grid-auto-columns: minmax(74px, 1fr);
  grid-auto-flow: column;
  min-height: 48px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.weapon-rack-item {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(120, 215, 240, 0.08), transparent 54%),
    rgba(4, 9, 8, 0.5);
  border: 1px solid rgba(247, 242, 232, 0.14);
  border-radius: 6px;
  display: grid;
  gap: 7px;
  grid-template-columns: auto minmax(0, 1fr);
  height: 48px;
  min-width: 0;
  overflow: hidden;
  padding: 4px 7px;
}

.weapon-rack-item.active {
  border-color: rgba(242, 188, 84, 0.7);
  box-shadow:
    inset 0 0 0 1px rgba(242, 188, 84, 0.22),
    0 0 16px rgba(242, 188, 84, 0.12);
}

.weapon-rack-item.locked {
  filter: grayscale(1);
  opacity: 0.46;
}

.weapon-rack-key {
  align-items: center;
  background: #101917;
  border: 1px solid rgba(247, 242, 232, 0.24);
  border-radius: 4px;
  color: var(--gold);
  display: grid;
  font-size: 0.82rem;
  font-weight: 950;
  height: 26px;
  justify-content: center;
  width: 22px;
}

.weapon-rack-art {
  height: 38px;
  image-rendering: pixelated;
  object-fit: contain;
  width: 100%;
}

.supply-strip div {
  align-items: center;
  background: rgba(120, 215, 240, 0.08);
  border: 1px solid rgba(120, 215, 240, 0.18);
  border-radius: 6px;
  display: flex;
  gap: 7px;
  min-height: 28px;
  min-width: 0;
  padding: 0 9px;
}

.supply-strip strong {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1;
  white-space: nowrap;
}

.health {
  min-width: 0;
}

.health-copy {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 6px;
}

.health-copy span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.health-copy strong {
  color: #d8ffe0;
  font-size: 1rem;
}

.health-copy em {
  color: var(--blue);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.health-track {
  background: #07100f;
  border: 1px solid #25332e;
  border-radius: 6px;
  height: 16px;
  overflow: hidden;
  width: 100%;
}

.health-track span {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(247, 242, 232, 0.16) 0 8px,
      transparent 8px 16px
    ),
    linear-gradient(90deg, var(--danger), var(--health));
  display: block;
  height: 100%;
  transform-origin: left center;
  transition: transform 120ms ease;
  width: 100%;
}

.arena-frame {
  background: var(--floor);
  border: 1px solid #41564f;
  border-radius: 8px;
  box-shadow: inset 0 0 0 3px rgba(4, 9, 8, 0.44);
  min-height: 0;
  overflow: hidden;
  position: relative;
}

#arena {
  cursor: default;
  display: block;
  height: 100%;
  touch-action: none;
  width: 100%;
}

.overlay {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(7, 16, 15, 0.94), rgba(7, 16, 15, 0.66)),
    repeating-linear-gradient(
      90deg,
      transparent 0 54px,
      rgba(247, 242, 232, 0.04) 54px 55px
    );
  display: grid;
  inset: 0;
  padding: clamp(20px, 5vw, 72px);
  place-items: center;
  position: absolute;
  z-index: 2;
}

.overlay-panel {
  background:
    linear-gradient(145deg, rgba(242, 188, 84, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(21, 33, 31, 0.98), rgba(8, 14, 13, 0.96));
  border: 1px solid rgba(247, 242, 232, 0.18);
  border-top: 4px solid var(--danger);
  border-radius: 8px;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.44),
    inset 0 0 0 1px rgba(120, 215, 240, 0.08);
  max-width: 560px;
  padding: clamp(24px, 4vw, 48px);
  text-align: center;
  width: min(100%, 560px);
}

.menu-panel {
  display: grid;
  justify-items: center;
  max-width: 680px;
  overflow: hidden;
  position: relative;
  width: min(100%, 680px);
}

.menu-panel::after {
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 16px,
      rgba(247, 242, 232, 0.045) 16px 17px
    );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.menu-panel > * {
  position: relative;
  z-index: 1;
}

.menu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.menu-actions button {
  min-width: 154px;
}

.menu-ledger {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 22px;
  max-width: 520px;
  width: 100%;
}

.menu-ledger div {
  background:
    linear-gradient(135deg, rgba(120, 215, 240, 0.13), transparent 58%),
    rgba(4, 9, 8, 0.48);
  border: 1px solid rgba(247, 242, 232, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 12px;
  text-align: left;
}

.menu-ledger span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.menu-ledger strong {
  color: var(--gold);
  font-size: clamp(1.15rem, 2.4vw, 1.8rem);
  line-height: 1;
}

.menu-ledger div:nth-child(2) strong {
  color: #d8ffe0;
}

.xp-button {
  border-color: rgba(100, 209, 121, 0.42);
}

.menu-sigil {
  background:
    linear-gradient(90deg, transparent 42%, #07100f 42% 58%, transparent 58%),
    linear-gradient(0deg, transparent 42%, #07100f 42% 58%, transparent 58%),
    linear-gradient(135deg, var(--danger), #ff8e71);
  border: 3px solid rgba(247, 242, 232, 0.78);
  border-radius: 8px;
  box-shadow:
    0 0 0 8px rgba(223, 76, 67, 0.12),
    0 16px 36px rgba(0, 0, 0, 0.34);
  display: block;
  height: clamp(62px, 9vw, 92px);
  margin-bottom: clamp(12px, 2vw, 18px);
  transform: rotate(8deg);
  width: clamp(62px, 9vw, 92px);
}

.eyebrow {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.overlay h1,
.overlay h2 {
  line-height: 1;
  margin: 0;
  overflow-wrap: anywhere;
}

.overlay h1 {
  font-size: clamp(2.2rem, 9vw, 7rem);
  text-transform: uppercase;
}

.overlay h2 {
  font-size: clamp(1.7rem, 5vw, 4.4rem);
}

.status-copy {
  color: #ced6ce;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 650;
  margin: 14px 0 24px;
}

.shop-panel {
  background:
    linear-gradient(135deg, rgba(120, 215, 240, 0.16), transparent 26%),
    radial-gradient(circle at 100% 0, rgba(242, 188, 84, 0.13), transparent 28%),
    linear-gradient(180deg, rgba(16, 25, 23, 0.98), rgba(6, 11, 11, 0.98));
  border: 1px solid rgba(247, 242, 232, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 84px rgba(0, 0, 0, 0.5);
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  max-height: min(860px, calc(100dvh - 32px));
  overflow: auto;
  padding: clamp(16px, 2.4vw, 28px);
  text-align: left;
  width: min(1120px, 100%);
}

.market-overlay {
  background:
    linear-gradient(135deg, rgba(7, 16, 15, 0.96), rgba(7, 16, 15, 0.84)),
    repeating-linear-gradient(
      90deg,
      transparent 0 54px,
      rgba(247, 242, 232, 0.04) 54px 55px
    );
  z-index: 3;
}

.shop-header {
  align-items: center;
  border-bottom: 1px solid rgba(247, 242, 232, 0.12);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding-bottom: 14px;
}

.shop-header .eyebrow,
.shop-kicker {
  margin-bottom: 6px;
}

.shop-header h2,
.shop-section h3,
.shop-card h4 {
  line-height: 1.1;
  margin: 0;
}

.shop-header h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.shop-wallet {
  align-items: end;
  background: rgba(242, 188, 84, 0.1);
  border: 1px solid rgba(242, 188, 84, 0.26);
  border-radius: 8px;
  display: grid;
  min-height: 58px;
  min-width: 108px;
  padding: 9px 14px;
}

.shop-wallet span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.shop-wallet strong {
  color: var(--gold);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1;
}

.xp-wallet {
  background: rgba(100, 209, 121, 0.1);
  border-color: rgba(100, 209, 121, 0.28);
}

.xp-wallet strong {
  color: #d8ffe0;
}

.shop-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.shop-intro span {
  background:
    linear-gradient(90deg, rgba(242, 188, 84, 0.1), rgba(120, 215, 240, 0.08));
  border: 1px solid rgba(247, 242, 232, 0.14);
  border-radius: 6px;
  color: #d7ddd7;
  font-size: 0.76rem;
  font-weight: 900;
  min-height: 30px;
  padding: 7px 10px;
  text-transform: uppercase;
}

.close-button {
  align-items: center;
  display: grid;
  font-size: 1.18rem;
  height: 48px;
  justify-content: center;
  min-width: 48px;
  padding: 0;
  width: 48px;
}

.shop-layout {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: minmax(0, 1.55fr) minmax(285px, 0.72fr);
}

.shop-section {
  min-width: 0;
}

.shop-section h3 {
  color: var(--ink);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  margin-bottom: 12px;
}

.weapon-shop {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
}

.shop-card {
  background:
    linear-gradient(145deg, rgba(242, 188, 84, 0.075), transparent 34%),
    linear-gradient(180deg, rgba(247, 242, 232, 0.07), rgba(247, 242, 232, 0.035));
  border: 1px solid rgba(247, 242, 232, 0.14);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
}

.item-art {
  align-self: center;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 15px,
      rgba(247, 242, 232, 0.034) 15px 16px
    ),
    linear-gradient(135deg, rgba(120, 215, 240, 0.18), transparent 48%),
    rgba(4, 9, 8, 0.62);
  border: 1px solid rgba(247, 242, 232, 0.12);
  border-radius: 6px;
  display: block;
  height: 104px;
  image-rendering: pixelated;
  object-fit: contain;
  padding: 10px;
  width: 100%;
}

.supply-art {
  height: 92px;
}

.shop-card.equipped {
  border-color: rgba(120, 215, 240, 0.62);
  box-shadow: inset 0 0 0 1px rgba(120, 215, 240, 0.18);
}

.shop-card.locked {
  background: rgba(7, 16, 15, 0.42);
}

.shop-kicker {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.shop-card h4 {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.shop-card p {
  color: #c6d1cc;
  line-height: 1.35;
  margin: 5px 0 0;
}

.weapon-stats {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.weapon-stats span {
  background: rgba(4, 9, 8, 0.42);
  border: 1px solid rgba(247, 242, 232, 0.12);
  border-radius: 6px;
  color: var(--muted);
  display: grid;
  font-size: 0.66rem;
  font-weight: 900;
  gap: 3px;
  min-height: 48px;
  padding: 7px;
  text-transform: uppercase;
}

.weapon-stats strong {
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1;
}

.weapon-slot-note {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.shop-buy-row,
.shop-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.shop-buy-row strong,
.shop-meta strong {
  color: var(--gold);
  font-size: 0.96rem;
}

.shop-meta span {
  background: rgba(120, 215, 240, 0.09);
  border: 1px solid rgba(120, 215, 240, 0.16);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  min-height: 28px;
  padding: 6px 9px;
  text-transform: uppercase;
}

.shop-buy-row button,
.shop-meta button {
  min-height: 40px;
  min-width: 108px;
  padding: 0 14px;
}

.supply-shop {
  background:
    linear-gradient(135deg, rgba(223, 76, 67, 0.07), transparent 42%),
    rgba(4, 9, 8, 0.22);
  border: 1px solid rgba(247, 242, 232, 0.11);
  border-radius: 8px;
  display: grid;
  align-content: start;
  padding: 14px;
}

.upgrade-shop {
  align-content: start;
  display: grid;
}

.upgrade-list {
  display: grid;
  gap: 10px;
}

.upgrade-card {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(100, 209, 121, 0.13), transparent 40%),
    rgba(100, 209, 121, 0.055);
  border: 1px solid rgba(100, 209, 121, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 74px;
  padding: 12px;
}

.upgrade-card h4 {
  font-size: 1rem;
  line-height: 1.1;
  margin: 0 0 5px;
}

.upgrade-card p {
  color: #c6d1cc;
  font-size: 0.82rem;
  line-height: 1.25;
  margin: 0;
}

.upgrade-level {
  color: #d8ffe0;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.upgrade-card button {
  min-height: 40px;
  min-width: 94px;
  padding: 0 12px;
}

.upgrade-meter {
  background: rgba(7, 16, 15, 0.62);
  border: 1px solid rgba(247, 242, 232, 0.1);
  border-radius: 999px;
  height: 8px;
  margin-top: 8px;
  overflow: hidden;
}

.upgrade-meter span {
  background: linear-gradient(90deg, var(--health), var(--blue));
  display: block;
  height: 100%;
  min-width: 5px;
}

.supply-card + .supply-card {
  margin-top: 12px;
}

.market-message {
  border-top: 1px solid rgba(247, 242, 232, 0.12);
  color: #d8ffe0;
  font-weight: 750;
  line-height: 1.3;
  margin: 0;
  min-height: 1.3em;
  padding-top: 14px;
}

.xp-overlay {
  background:
    linear-gradient(145deg, rgba(7, 16, 15, 0.96), rgba(7, 16, 15, 0.84)),
    repeating-linear-gradient(
      0deg,
      transparent 0 50px,
      rgba(100, 209, 121, 0.055) 50px 51px
    );
  z-index: 3;
}

.xp-panel {
  background:
    linear-gradient(135deg, rgba(100, 209, 121, 0.17), transparent 28%),
    radial-gradient(circle at 100% 0, rgba(120, 215, 240, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(16, 25, 23, 0.98), rgba(6, 11, 11, 0.98));
  border: 1px solid rgba(100, 209, 121, 0.24);
  border-radius: 8px;
  box-shadow: 0 24px 84px rgba(0, 0, 0, 0.5);
  display: grid;
  gap: 16px;
  max-height: min(820px, calc(100dvh - 32px));
  overflow: auto;
  padding: clamp(16px, 2.4vw, 30px);
  text-align: left;
  width: min(980px, 100%);
}

.xp-header {
  align-items: center;
  border-bottom: 1px solid rgba(247, 242, 232, 0.12);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding-bottom: 14px;
}

.xp-header h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
  margin: 0;
}

.xp-copy {
  color: #ced6ce;
  line-height: 1.4;
  margin: 0;
  max-width: 620px;
}

.xp-upgrade-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.xp-upgrade-grid .upgrade-card {
  min-height: 132px;
}

.xp-message {
  color: #d8ffe0;
}

.wave-banner {
  color: var(--ink);
  font-size: clamp(1.4rem, 5vw, 4rem);
  font-weight: 950;
  inset: 50% auto auto 50%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  text-align: center;
  text-shadow: 0 3px 0 #07100f;
  text-transform: uppercase;
  transform: translate(-50%, -46%) scale(0.92);
  transition:
    opacity 320ms ease,
    transform 320ms ease;
  white-space: nowrap;
  z-index: 1;
}

.wave-banner.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hidden {
  display: none;
}

@media (max-width: 980px) {
  .hud {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .loadout,
  .health {
    grid-column: 1 / -1;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .game-shell {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .hud {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 168px;
  }

  .loadout,
  .health {
    grid-column: 1 / -1;
  }

  .scoreboard {
    gap: 10px;
  }

  .scoreboard div {
    min-width: 58px;
  }

  .supply-strip,
  .weapon-slot {
    flex-wrap: wrap;
  }

  .weapon-rack {
    grid-auto-columns: minmax(70px, 1fr);
  }

  .weapon-shop {
    grid-template-columns: 1fr;
  }

  .shop-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .shop-wallet {
    grid-column: 1 / 2;
    grid-row: 2;
    justify-self: start;
  }

  .close-button {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .xp-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .xp-header .xp-wallet {
    grid-column: 1 / 2;
    grid-row: 2;
  }

  .xp-header .close-button {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .menu-ledger {
    grid-template-columns: 1fr;
  }

  .weapon-stats {
    grid-template-columns: 1fr;
  }
}
