/* Shared from BaseGameDiscord 0.60.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 all {   /* (no height cut-off: the sizes follow the window gradually) */
  #menu .brand { height: calc(215 * var(--k)); box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  #menu .today-card { min-height: calc(240 * var(--k)); box-sizing: border-box; }
}

/* 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; }

/* the home page's small badge: picture, name and how you signed in (shared/client/profile.js) */
.home-badge { position: absolute; top: calc(2 * var(--k)); left: 0; z-index: 3; display: flex; align-items: center; gap: calc(8 * var(--k)); max-width: 55%; padding: calc(3 * var(--k)) calc(12 * var(--k)) calc(3 * var(--k)) calc(3 * var(--k)); border-radius: 999px; background: var(--surface); border: 1.5px solid var(--surface-edge); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.home-badge:active { transform: translateY(1px); }
.home-badge[hidden] { display: none; }
.home-badge .hb-face { flex: none; width: calc(30 * var(--k)); height: calc(30 * var(--k)); border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--surface-edge); color: var(--ink); font-weight: 900; font-size: calc(14 * var(--k)); }
.home-badge .hb-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-badge .hb-text { min-width: 0; display: grid; line-height: 1.15; }
.home-badge .hb-name { font-weight: 800; font-size: calc(13 * var(--k)); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-badge .hb-kind { font-weight: 700; font-size: calc(10.5 * var(--k)); color: var(--muted); }
.home-badge.guest { min-height: calc(36 * var(--k) + 3px); padding-left: calc(14 * var(--k)); }
.home-badge.guest .hb-face, .home-badge.guest .hb-kind { display: none; }
.home-badge.guest .hb-name { font-size: calc(14 * var(--k)); }
