/* Packs waiting (Dodd, 10-25 #2): a small golden dot that flashes softly on Home and Inventory in the main menu while
   any pack is waiting to be opened (today's pack, a battle pass pack, a sealed pack in the Inventory). It sits to the
   right of the red diamond (app.js navMarks: .nav-mark then .nav-pack), or in the diamond's place when there's no
   diamond (.solo). On phones it sits on the icon, beside the diamond. Reduced motion: a steady glow, no flashing. */
.side .nav-pack { position: relative; display: inline-block; flex: none; width: 7px; height: 7px; margin-left: 9px; vertical-align: .22em;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 32%, #fff6d2 0, #f6cf62 38%, #d39a2a 72%, #8f5f14 100%);
  box-shadow: 0 0 0 1px rgba(48, 30, 2, .75), 0 0 6px rgba(255, 206, 96, .9), 0 0 14px rgba(240, 180, 60, .55);
  opacity: 0; transform: scale(.4); transition: opacity 200ms ease-out, transform 420ms var(--t-spring, var(--ease, ease-out)); }
.side .nav-pack.solo { margin-left: 11px; }
.side .nav-pack.on { opacity: 1; transform: scale(1); }
/* the flash: a halo that swells and fades, and the dot brightens with it (transform and opacity only) */
.side .nav-pack::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 214, 110, .8), rgba(255, 190, 70, .25) 60%, transparent);
  opacity: 0; transform: scale(.6); }
.side .nav-pack.on::after { animation: nav-pack-flash 1.6s ease-in-out infinite; }
.side .nav-pack.on { animation: nav-pack-glint 1.6s ease-in-out infinite; }
@keyframes nav-pack-flash { 0%, 100% { opacity: 0; transform: scale(.6); } 45% { opacity: 1; transform: scale(1.15); } }
@keyframes nav-pack-glint { 0%, 100% { filter: brightness(1); } 45% { filter: brightness(1.35); } }

@media (max-width: 860px) {
  .side .nav > button > .nav-pack { position: absolute; top: 8.5px; left: calc(50% + 21px); margin: 0; }
  .side .nav > button > .nav-pack.solo { left: calc(50% + 9px); }
}

@media (prefers-reduced-motion: reduce) {
  .side .nav-pack, .side .nav-pack.on { animation: none; transition: opacity 160ms ease; transform: none; }
  .side .nav-pack.on::after { animation: none; opacity: .55; transform: none; }
}
