/* Solo Play: the gold way back to the games, left of the settings on the
   league, leaderboard and account pages (menu-tools.js) and in every game's
   top bar outside a party (kit.js, City Limits). kit.css imports this; City
   Limits links it. :root outranks the record pages' general link rule. */
:root .menu-solo {
  display: inline-flex; align-items: center; min-height: 30px; padding: 4px 12px;
  border: 1px solid var(--accent, #5b3ff0); background: var(--accent-bright, #ffc53d); color: var(--accent-ink, #1d1838);
  font: 600 13px/1 var(--display, system-ui, sans-serif); letter-spacing: 0; text-transform: none; text-decoration: none; white-space: nowrap;
}
:root .menu-solo:hover, :root .menu-solo:focus-visible { background: var(--accent, #5b3ff0); color: #fff; outline: none; }
@media (pointer: coarse) { :root .menu-solo { min-height: 40px; } }
/* At the end of the title's row, where kit.js moves it when a phone's tools
   wrap under the title. */
#topbar > .menu-solo { margin-left: auto; }
/* A phone's game bar has no room for a wide button: "Solo" over "Play", about
   as wide as the icon buttons beside it, with the gaps between them closed a
   little, so most bars keep the rows they had. */
@media (max-width: 640px) {
  :root #topbar .menu-solo { width: min-content; padding: 0 7px; font-size: 12px; line-height: 1.05; text-align: center; white-space: normal; }
  :root #topbar:has(.menu-solo) .topbar-right { gap: 6px; }
  :root #topbar:has(.menu-solo) .round-chip:empty { display: none; }
  /* Beside the title it is a little shorter and reaches up into the bar's
     padding, so the title's row is no taller and a gap stays above the tools. */
  :root #topbar > .menu-solo { min-height: 30px; margin-block: -6px -2px; }
}
