/* Shared from BaseGameDiscord 0.52.0. Do not edit here: change it in BaseGameDiscord and run tools/sync.mjs. */
/* Shared from BaseGameDiscord. The main menu block (the today card and the buttons under it) starts at the same height in every game:
   the logo area and the card have a fixed size on normal phones (short screens keep their own compact layouts). */
@media (min-height: 700px) {
  #menu .brand { height: 215px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  #menu .today-card { min-height: 240px; box-sizing: border-box; }
}

/* Big screens (desktop, tablet): the menu column grows a little with the window height but stays a column, the same in every game */
@media (min-height: 800px) and (min-width: 760px) {
  html { font-size: clamp(16px, 2vh, 26px); }
  body { font-size: clamp(17px, 2.1vh, 28px); }
  .screen { max-width: clamp(440px, 56vh, 760px); }
  /* the logo, name and date grow with the window here, so the fixed 215px box above is only a minimum: without this the date ran into the card */
  #menu .brand { height: auto; min-height: 215px; }
  /* the full-screen pages (How to play, Stats, Leaderboard, Settings, Other games...) and their Close button are as wide as the home menu */
  html .sheet.sheet, html .og-pop.og-pop { --pg-w: clamp(440px, 56vh, 760px); }
}
/* the Settings & Support button: a small line of what is inside, under its name */
.other-btn small { display: block; margin-top: 2px; font-size: 0.72rem; font-weight: 700; color: var(--muted); line-height: 1.2; }
