/* the cookie notice on a player's first visit to gambling mode or Finish the Brian (bbucks.js) */
#cookies { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center;
           padding: 16px; background: rgba(0, 0, 0, 0.85); }
#cookies div { max-width: 360px; padding: 18px 20px; background: #161616; border: 1px solid #444; border-radius: 8px;
               color: #ddd; font: 15px/1.45 sans-serif; text-align: center; }
#cookies p { margin: 0 0 14px; }
#cookies button { padding: 6px 24px; font-size: 15px; }

/* a leaderboard name in a two-colour gradient, sliding along (BB.paintName sets the two colours) */
.nc-grad { color: transparent !important; background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
           animation: ncshift 3s linear infinite; }
@keyframes ncshift { to { background-position: 200% center; } }
@media (prefers-reduced-motion: reduce) { .nc-grad { animation: none; } }

/* a leaderboard icon between the rank and the name (BB.icon); the star ones are wider than tall */
.nicon { height: 1.15em; width: auto; vertical-align: -0.24em; margin-right: 0.35em; }
/* the leaderboards' icon column, between the rank number and the name (BB.iconCell): just wide enough for the
   three stars, tucked up against the number (which only needs room for "20.") so the names keep their space */
#board .slot { flex: none; align-self: flex-start; width: 1.7em; height: 1.2em; margin: 0 -4px 0 -6px; display: flex; justify-content: center; align-items: center; }
#board .slot .nicon { height: 1.05em; margin: 0; }
#board li::before { min-width: 1.5em; }
#board .who { min-width: 0; }  /* so a long name's column can't push the numbers (BB.fitNames shrinks it) */
/* phones: tighter spacing between the leaderboard's columns, so the names get ~20px more room */
@media (max-width: 440px) {
  #board li { gap: 5px; padding-left: 2px; padding-right: 2px; }
  #board .slot { margin: 0 -2px 0 -3px; }
}
