/* Celebrations (celebrations.md, public/js/celebrate.js): the canvas the sparkles, bursts and confetti are drawn on, the gold
   glow that stands in for them at insta and with Reduce motion, and the Path's "BOSS BEATEN!" card. Every class starts with
   celeb or bb. */
/* the canvas: the whole screen, above the tables, under the pages' sheets (.modal 10) and the notices; never takes a tap */
.celebcv { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 9; pointer-events: none; }
/* the glow: 0.6 s of gold around the anchor (the dice, the banner, the hand card), a ring of its own laid over the anchor's box */
.celebglow { position: fixed; z-index: 9; pointer-events: none; animation: celebglow .6s ease-out both; }
@keyframes celebglow { 0% { box-shadow: 0 0 0 0 rgba(255,210,63,0); } 35% { box-shadow: 0 0 0 4px rgba(255,210,63,.95), 0 0 26px 10px rgba(255,210,63,.75); } 100% { box-shadow: 0 0 0 0 rgba(255,210,63,0); } }
/* the boss card: the felt's dark green over everything but the loading screen (40), the confetti falling behind it */
.celebcard { position: fixed; inset: 0; z-index: 38; display: grid; place-items: center; box-sizing: border-box; padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  background: repeating-radial-gradient(circle at 50% 40%, rgba(255,255,255,.035) 0 2px, transparent 2px 7px), radial-gradient(circle at 50% 40%, #1A8A4C 0%, #0D5A31 60%, #08391F 100%); -webkit-user-select: none; user-select: none; }
.bbcard { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; width: min(360px, 100%); text-align: center; animation: bbpop .45s cubic-bezier(.3, 1.5, .5, 1) both; border-radius: 28px; }
.bbcrown { width: 132px; height: 92px; } .bbcrown svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 5px 0 var(--ink2)); }
.bbtitle { margin-top: 14px; font-family: var(--marker); font-size: clamp(48px, 15vw, 66px); line-height: .95; color: var(--lob-yellow); transform: rotate(-3deg);
  text-shadow: -4px -4px 0 var(--ink2), 4px -4px 0 var(--ink2), -4px 4px 0 var(--ink2), 4px 4px 0 var(--ink2), 0 -4px 0 var(--ink2), 0 4px 0 var(--ink2), -4px 0 0 var(--ink2), 4px 0 0 var(--ink2), 0 8px 0 var(--ink2); } /* (the logo's yellow and ink) */
.bbname { margin-top: 16px; font-family: var(--lilita); font-size: 24px; color: #fff; text-shadow: 0 2px 0 var(--ink2); }
/* the rewards: the result sheet's pills (sheets.css .tsh .tspill, which only a sheet's .tsh reaches) */
.bbpills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.bbpills .tspill { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 36px; padding: 0 14px; background: #fff; color: var(--ink2); border: 3px solid var(--ink2); border-radius: 999px; font: 17px/1 var(--lilita); font-weight: 400; white-space: nowrap; }
.bbpills .tspill.green { background: #7ED957; } .bbpills .tspill.purple { background: #B57BFF; color: #fff; text-shadow: 1px 1px 0 var(--ink2); }
.celebcard .gbtn.bbgo { margin-top: 26px; width: min(300px, 100%); }
@keyframes bbpop { from { transform: scale(.6); opacity: 0; } }
/* Reduce motion (body.rm): the card appears without its pop (a fade); the glow stays, it is the one effect left */
body.rm .bbcard { animation: rmfade .2s ease-out both; }
