/* Sticker Street kit (world and map markers, rewards and celebrations, people and multiplayer (avatars, codes, scores, seats, gunner keys)). Copied from the kit, aaaVideoGame/assets/ui/sticker-kit/sticker.css,
   the design source: change it there and copy it here. Every class starts with gd-. */

/* ---------------------------------------------------------------- 09 world + map markers */
.gd-wpt { display: inline-flex; flex-direction: column; align-items: center; }
.gd-wpt__pin { width: 46px; height: 46px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c, var(--gd-red)); border: 3px solid var(--gd-ink); display: grid; place-items: center; box-shadow: 3px 3px 0 var(--gd-ink); }
.gd-wpt__pin > * { transform: rotate(45deg); }
.gd-wpt__dist { margin-top: 8px; font: 700 11px/1 var(--gd-font); background: var(--gd-ink); color: #fff; border-radius: 6px; padding: 2px 7px; }
.gd-zone { width: 84px; height: 34px; border-radius: 50%; border: 4px dashed var(--c, var(--gd-mustard)); background: color-mix(in srgb, var(--c, var(--gd-mustard)) 28%, transparent); animation: gd-breathe 1.4s infinite; }
.gd-zone--drop { --c: var(--gd-green); }
.gd-offscreen { width: 44px; height: 44px; background: var(--c, var(--gd-red)); clip-path: polygon(0 0, 100% 50%, 0 100%, 22% 50%); filter: drop-shadow(2px 2px 0 var(--gd-ink)); }
.gd-pin { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c, var(--gd-red)); border: var(--gd-line) solid var(--gd-ink); box-shadow: 2px 2px 0 var(--gd-ink); }
.gd-pin > * { transform: rotate(45deg); color: #fff; font: 700 13px/1 var(--gd-font); }
.gd-you { width: 30px; height: 36px; background: var(--gd-ink); clip-path: polygon(50% 0, 100% 100%, 50% 78%, 0 100%); }
.gd-route { height: 8px; border-radius: 4px; background: var(--gd-route); box-shadow: 0 0 0 2px #fff; }
.gd-map-legend { display: flex; gap: 12px; font: 600 11.5px/1 var(--gd-font); }
.gd-map-legend i { display: inline-block; width: 18px; height: 5px; border-radius: 3px; background: var(--c); margin-right: 5px; vertical-align: middle; }

/* ---------------------------------------------------------------- 10 rewards + celebrations */
.gd-burst { --c: var(--gd-mustard); position: relative; display: inline-grid; place-items: center; text-align: center; width: 160px; height: 120px; }
.gd-burst::before, .gd-burst::after { content: ""; position: absolute; inset: 0; clip-path: polygon(50% 0, 61% 18%, 82% 8%, 80% 30%, 100% 36%, 86% 52%, 100% 68%, 79% 72%, 82% 94%, 61% 84%, 50% 100%, 39% 84%, 18% 94%, 21% 72%, 0 68%, 14% 52%, 0 36%, 20% 30%, 18% 8%, 39% 18%); }
.gd-burst::before { background: var(--gd-ink); transform: translate(4px, 4px); } .gd-burst::after { background: var(--c); inset: 3px; }
.gd-burst > * { position: relative; z-index: 1; max-width: 66%; }
.gd-burst small { display: block; font: 700 11px/1 var(--gd-font); letter-spacing: .08em; } .gd-burst b { font: 700 28px/1 var(--gd-font); }
.gd-burst--green { --c: var(--gd-green); } .gd-burst--white { --c: #fff; } .gd-burst--red { --c: var(--gd-red); color: #fff; }
.gd-stars { display: inline-flex; gap: 2px; } .gd-stars .gd-ico { width: var(--s, 22px); height: var(--s, 22px); }
.gd-stars .is-off path { fill: #fff; }
.gd-ach { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 76px; height: 76px; border-radius: 50%; border: var(--gd-line) solid var(--gd-ink); text-align: center;
  font: 700 8.5px/1.05 var(--gd-font); text-transform: uppercase; background: var(--c, var(--gd-mustard)); box-shadow: 3px 3px 0 var(--gd-ink); transform: rotate(-6deg); padding: 6px; }
.gd-ach.is-locked { background: var(--gd-hatch); border-style: dashed; box-shadow: none; color: #8f8570; transform: none; }
.gd-ucard { --c: #fff; display: inline-block; width: 128px; background: #fff; border: var(--gd-line) solid var(--gd-ink); border-radius: var(--gd-r); box-shadow: var(--gd-sh) var(--gd-sh) 0 var(--gd-ink); overflow: hidden; position: relative; }
.gd-ucard__rar { padding: 3px 8px; background: var(--c); color: var(--t, #fff); font: 700 9px/1.3 var(--gd-font); letter-spacing: .12em; text-transform: uppercase; border-bottom: var(--gd-line) solid var(--gd-ink); }
.gd-ucard__art { height: 64px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 22%, #fff); border-bottom: var(--gd-line) solid var(--gd-ink); }
.gd-ucard__name { padding: 6px 8px 8px; font: 700 12px/1.1 var(--gd-font); text-transform: uppercase; }
.gd-ucard--common { --c: #fff; --t: var(--gd-ink); } .gd-ucard--rare { --c: var(--gd-blue); } .gd-ucard--epic { --c: var(--gd-purple); } .gd-ucard--legend { --c: var(--gd-gold); --t: var(--gd-ink); }
.gd-ucard.is-locked .gd-ucard__art::after { content: attr(data-need); position: absolute; left: -10px; right: -10px; top: 42px; text-align: center; transform: rotate(-12deg); background: var(--gd-hazard); color: var(--gd-ink);
  border-top: 2px solid var(--gd-ink); border-bottom: 2px solid var(--gd-ink); font: 700 12px/22px var(--gd-font); letter-spacing: .08em; }
.gd-stamp { display: inline-block; padding: 3px 12px; border: 4px double currentColor; border-radius: 10px; font: 700 24px/1.1 var(--gd-font); text-transform: uppercase; letter-spacing: .06em; transform: rotate(-10deg); color: var(--c, var(--gd-ketchup)); }
.gd-stamp--good { --c: var(--gd-green-dk); }

/* ---------------------------------------------------------------- 11 people + multiplayer */
.gd-avatar { position: relative; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: var(--gd-line) solid var(--gd-ink); background: var(--c, var(--gd-purple)); box-shadow: 3px 3px 0 var(--gd-ink); color: #fff; font: 700 18px/1 var(--gd-font); overflow: visible; }
.gd-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.gd-avatar--lg { width: 96px; height: 96px; font-size: 32px; box-shadow: 4px 4px 0 var(--gd-ink); } .gd-avatar--sm { width: 32px; height: 32px; font-size: 12px; box-shadow: 2px 2px 0 var(--gd-ink); }
.gd-avatar__status { position: absolute; right: -3px; bottom: -3px; width: 18px; height: 18px; border-radius: 50%; border: var(--gd-line) solid var(--gd-ink); background: var(--gd-green); }
.gd-avatar__status.is-away { background: var(--gd-gray); }
.gd-avatar__edit { position: absolute; right: -4px; bottom: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--gd-mustard); border: var(--gd-line) solid var(--gd-ink); display: grid; place-items: center; }
.gd-avatar__crown { position: absolute; top: -18px; left: 50%; transform: translateX(-50%) rotate(-8deg); }
.gd-rank { display: inline-grid; place-items: center; width: 52px; height: 58px; clip-path: polygon(50% 0, 100% 22%, 100% 72%, 50% 100%, 0 72%, 0 22%); background: var(--gd-ink); }
.gd-rank > * { width: 46px; height: 52px; clip-path: inherit; background: var(--c, var(--gd-gray)); display: grid; place-items: center; }
.gd-code { display: inline-flex; gap: 6px; }
.gd-code > span { width: 40px; height: 50px; display: grid; place-items: center; background: #fff; border: var(--gd-line) solid var(--gd-ink); border-radius: 9px; box-shadow: 3px 3px 0 var(--gd-ink); font: 700 26px/1 var(--gd-font); }
.gd-score { display: inline-flex; align-items: center; gap: 10px; background: var(--gd-ink); color: #fff; border-radius: var(--gd-r-md); padding: 6px 14px; border: var(--gd-line) solid var(--gd-ink); box-shadow: var(--gd-sh-sm) var(--gd-sh-sm) 0 rgba(0, 0, 0, .35); font: 700 14px/1 var(--gd-font); letter-spacing: .06em; }
.gd-score__dots { display: flex; gap: 3px; } .gd-score__dots i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; } .gd-score__dots i.is-on { background: var(--c, #fff); }
.gd-score b { font-size: 22px; } .gd-score .is-red { color: #ff8a7a; } .gd-score .is-blue { color: #8fb8ff; }
.gd-seat { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: #fff; border: var(--gd-line) solid var(--gd-ink); border-radius: var(--gd-r); box-shadow: var(--gd-sh-sm) var(--gd-sh-sm) 0 var(--gd-ink); }
.gd-seat.is-me { background: #fff3c4; } .gd-seat.is-bot { background: var(--gd-cream); } .gd-seat.is-away { opacity: .65; }
.gd-seat > .gd-grow { flex: 1; font: 600 13.5px/1.2 var(--gd-font); } .gd-seat small { display: block; font-size: 11px; color: var(--gd-mute); }
.gd-gkey { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; width: 74px; padding: 8px 4px; background: #fff; border: var(--gd-line) solid var(--gd-ink); border-radius: var(--gd-r); box-shadow: var(--gd-sh-sm) var(--gd-sh-sm) 0 var(--gd-ink); font: 700 10.5px/1.1 var(--gd-font); text-transform: uppercase; text-align: center; }
.gd-gkey.is-armed { box-shadow: 0 0 0 3px var(--gd-gold), var(--gd-sh-sm) var(--gd-sh-sm) 0 3px var(--gd-ink); }
.gd-gkey.is-empty { background: var(--gd-hatch); border-style: dashed; box-shadow: none; color: #8f8570; }
.gd-gkey.is-cool { position: relative; overflow: hidden; } .gd-gkey.is-cool::after { content: ""; position: absolute; inset: auto 0 0 0; height: var(--cd, 40%); background: rgba(27, 29, 36, .28); }
