.collection-layer{
  position:absolute;inset:0;z-index:2;pointer-events:none;
}
.collection-layer[hidden],.collection-token[hidden]{display:none}

.collection-token{
  position:absolute;inset:0 auto auto 0;display:grid;place-items:center;
  width:44px;height:44px;margin:0;padding:0;border:0;border-radius:12px;
  background:none;cursor:pointer;pointer-events:auto;touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.collection-token::before,.collection-token::after{content:"";position:absolute;pointer-events:none}
.collection-token::before{
  inset:5px;background:radial-gradient(ellipse at 48% 24%,#486051,#203a32 68%,#172e28);
  border:1px solid #f2cd86;border-radius:10px;
  box-shadow:0 3px 8px #13241fc2,inset 0 0 0 2px #8a79524d,inset 0 1px 1px #ffd996ad;
  transition:filter .15s ease-out,scale .15s ease-out;
}
.collection-token::after{
  width:5px;height:5px;bottom:3px;left:19px;
  background:#1d3b32;border:solid #f2cd86;border-width:0 1px 1px 0;rotate:45deg;
}
.collection-emblem{
  display:block;width:30px;height:30px;pointer-events:none;
  filter:drop-shadow(0 1px 1px #091b14b0);
}
.collection-token .collection-emblem{
  position:relative;z-index:1;
  animation:collection-hover 3.7s ease-in-out infinite;
  transition:scale .16s ease-out;
}
.collection-token:nth-child(3n+1) .collection-emblem{animation-delay:-1.3s}
.collection-token:nth-child(3n+2) .collection-emblem{animation-delay:-2.5s}
@keyframes collection-hover{
  0%,100%{translate:0 0}
  50%{translate:0 -2px}
}
@media(hover:hover){
  .collection-token:hover::before{filter:brightness(1.2)}
  .collection-token:hover .collection-emblem{scale:1.08}
}
.collection-token:active::before,.collection-token:active .collection-emblem{scale:.91}
.collection-token:focus-visible{outline:2px solid #ffdf9d;outline-offset:1px}

.collection-burst{
  position:fixed;z-index:30;width:0;height:0;overflow:visible;
  color:var(--pickup-color,#ffdb8a);pointer-events:none;
}
.collection-burst>*{position:absolute;left:0;top:0}
.collection-value{
  z-index:1;translate:0 0;transform:translate(-50%,-23px);
  font:750 clamp(15px,3.65vw,20px)/1.05 var(--sans,system-ui);font-variant-numeric:tabular-nums;
  color:var(--pickup-color,#ffdb8a);white-space:nowrap;letter-spacing:.015em;
  text-shadow:0 1px 2px #11241a,0 -1px 2px #11241a,0 0 7px #14251ac9;
}
.collection-spark{
  display:block;width:4px;height:4px;border-radius:1px;opacity:0;
  background:currentColor;box-shadow:0 0 4px currentColor;
}
.collection-star{
  width:11px;height:11px;box-shadow:none;
  clip-path:polygon(50% 0,62% 37%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);
}
.collection-flight{width:30px;height:30px;transform:translate(-50%,-50%);opacity:0}

@media(prefers-reduced-motion:reduce){
  .collection-token .collection-emblem{animation:none}
}
