/* v1.9: Pick a sticker to learn is the shared slogan-size baseline.
   Its original .study-invitation rule is 18px (learning-integration.css).
   Navigation subtitles remain controlled separately by subtitle-spec.css. */
:root {
  --page-slogan-size: 18px;
  --page-slogan-font: "Fredoka", sans-serif;
  --page-slogan-weight: 600;
}

.ui-slogan,
.study-invitation,
.sw-category-invitation,
.sw-library-hero h2,
#game-category-dialog #game-category-title,
#game-category-dialog[data-step=modes] #game-category-title,
#game-category-dialog[data-step=categories] #game-category-title,
#game-category-dialog.has-sight-entry[data-step=modes] .game-category-header #game-category-title {
  font-family: var(--page-slogan-font) !important;
  font-weight: var(--page-slogan-weight) !important;
  font-size: var(--page-slogan-size) !important;
}

/* Keep the established art box intact, reserving a separate count row with
   genuine space from both rounded edges; never overlay the artwork. */
#game-category-dialog[data-step=categories] .game-category-choice {
  padding: 5px 8px 8px;
}
#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: 4px 0 0;
  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;
  text-align: center;
}
/* Fit art + count row + real bottom padding; old84/96px minimums were too short. */
#game-category-dialog[data-step=categories] .game-category-choice{min-height:106px;height:auto;max-height:none;box-sizing:border-box;}
#game-category-dialog[data-step=categories] .game-category-choice-art{flex-shrink:0;}
@media(max-width:650px){#game-category-dialog[data-step=categories] .game-category-choice{min-height:94px;}}
