/* Shared navigation subtitle standard. Future deep pages use this class and
   these tokens between their Back/Home controls; slogans belong below it. */
:root {
  --page-section-subtitle-font: "Nunito", sans-serif;
  --page-section-subtitle-size: 15px;
  --page-section-subtitle-weight: 800;
  --page-section-subtitle-line-height: 1.25;
  --page-section-subtitle-color: #526a80;
}
.page-section-subtitle,
#game-category-dialog .game-category-header > .page-section-subtitle {
  margin: 0;
  font-family: var(--page-section-subtitle-font);
  font-size: var(--page-section-subtitle-size);
  font-weight: var(--page-section-subtitle-weight);
  line-height: var(--page-section-subtitle-line-height);
  color: var(--page-section-subtitle-color);
  text-align: center;
  letter-spacing: 0;
}
#game-category-dialog .game-category-header > .page-section-subtitle {
  position: absolute;
  inset: 12px 64px auto;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}
#game-category-dialog .page-section-subtitle[hidden] { display: none; }

/* Reserve a real row for the count instead of overlaying the picture. Image
   dimensions remain the established 58/70px; only the badge becomes smaller. */
#game-category-dialog[data-step=categories] .game-category-choice {
  justify-content: flex-start;
  padding: 5px 4px 6px;
}
#game-category-dialog[data-step=categories] .game-category-choice-copy {
  position: static;
  inset: auto;
  flex: 0 0 16px;
  align-self: flex-end;
  width: auto;
  min-height: 16px;
  margin-top: 3px;
  justify-content: flex-end;
  align-items: center;
}
#game-category-dialog[data-step=categories] .game-category-choice-copy small {
  box-sizing: border-box;
  min-width: 20px;
  padding: 2px 4px;
  border-radius: 8px;
  font: 800 10px/1.1 "Nunito", sans-serif;
  color: #526a80;
  text-align: center;
}
