.player-shell-body .game-section {
  width: min(var(--game-page-max), 100%);
  margin: 12px auto;
  padding: 12px;
  border: 3px solid var(--game-line-dark);
  border-radius: var(--game-radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 245, 214, 0.98), rgba(255, 232, 168, 0.98));
  color: var(--game-ink);
  box-shadow: var(--game-shadow-raised);
}

.player-shell-body .game-section__header {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px dashed rgba(23, 16, 13, 0.24);
}

.player-shell-body .game-section__header h2 {
  margin: 0;
  font-size: clamp(1.1rem, 6vw, 1.75rem);
  line-height: 1;
  text-transform: uppercase;
}

.player-shell-body .game-tile-grid {
  width: min(var(--game-page-max), 100%);
  margin: 12px auto 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.player-shell-body .game-tile {
  min-height: 174px;
  padding: 8px;
  border: 3px solid var(--game-line-dark);
  border-radius: var(--game-radius-lg);
  background:
    linear-gradient(180deg, #fff9e8 0%, #ffe6a4 100%);
  color: var(--game-ink);
  box-shadow: var(--game-shadow-raised);
  transform: translateY(0);
}

.player-shell-body .game-tile:hover,
.player-shell-body .game-tile:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--game-shadow-float);
}

.player-shell-body .game-tile__image-wrap,
.player-shell-body .game-tile__media {
  min-height: 92px;
  border: 2px solid rgba(23, 16, 13, 0.28);
  border-radius: var(--game-radius-md);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.9), rgba(255, 210, 63, 0.18) 48%, rgba(23, 16, 13, 0.06) 100%);
}

.player-shell-body .game-tile__image,
.player-shell-body .game-tile__media img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 7px 4px rgba(23, 16, 13, 0.22));
}

.player-shell-body .game-tile__body,
.player-shell-body .game-tile__content {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.player-shell-body .game-tile__name,
.player-shell-body .game-tile__title {
  font-size: 0.92rem;
  line-height: 1.02;
  text-transform: uppercase;
}

.player-shell-body .game-tile__meta {
  color: var(--game-ink-soft);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.player-shell-body .game-tile__count {
  right: 6px;
  top: 6px;
  border: 2px solid var(--game-line-dark);
  background: var(--game-pink);
  color: #fff;
  box-shadow: 0 2px 0 var(--game-line-dark);
}

.player-shell-body .tile-toolbar {
  width: min(var(--game-page-max), 100%);
  margin: 0 auto 10px;
  padding: 10px;
  border: 3px solid var(--game-line-dark);
  border-radius: var(--game-radius-lg);
  background: rgba(255, 245, 214, 0.96);
  box-shadow: var(--game-shadow-hard);
}

.player-shell-body .filter-pill {
  border: 2px solid var(--game-line-dark);
  background: #fff7df;
  box-shadow: 0 2px 0 var(--game-line-dark);
}

.player-shell-body .filter-pill.is-active {
  background: var(--game-accent);
  color: var(--game-ink);
}

.player-shell-body .pack-grid {
  width: min(var(--game-page-max), 100%);
  margin: 12px auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.player-shell-body .pack-tile {
  min-height: 148px;
  border: 3px solid var(--game-line-dark);
  border-radius: var(--game-radius-lg);
  background: linear-gradient(180deg, #fff7df, #ffd86d);
  color: var(--game-ink);
  box-shadow: var(--game-shadow-raised);
}

@media (min-width: 760px) {
  .player-shell-body .game-tile-grid,
  .player-shell-body .pack-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fuggler-xp-track {
  width: 100%;
  height: 12px;
  overflow: hidden;
  border: 2px solid #202124;
  border-radius: 999px;
  background: #fff8cf;
}

.fuggler-xp-track i {
  display: block;
  width: var(--fuggler-xp, 0%);
  height: 100%;
  background: linear-gradient(90deg, #f2d13d, #51b36d);
}

.growth-stat-list,
.knack-choice-panel,
.knack-choice-panel [data-knack-choices] {
  display: grid;
  gap: 8px;
}

.growth-stat-list,
.knack-choice-panel {
  margin-top: 12px;
}

.growth-stat-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 2px solid rgba(32, 33, 36, 0.14);
  border-radius: 8px;
  background: #fffdf4;
}

.growth-stat-row span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.growth-stat-row small {
  color: rgba(32, 33, 36, 0.72);
}

.growth-stat-row button,
.knack-choice-panel button {
  min-height: 40px;
  border: 2px solid #202124;
  border-radius: 8px;
  background: #ffe45c;
  color: #202124;
  font-weight: 900;
}

.growth-stat-row button:disabled {
  opacity: 0.45;
}

.knack-choice-panel button {
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  text-align: left;
}
