/* Keep rarity borders, without repainting every card on every frame. */
@layer skinboost-fixes {
  html .skin-card::before, html .fortune-banner::before, html .creator-banner::before {
    animation: none !important;
    --rarity-angle: 135deg;
  }
  @media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    html .skin-card:hover::before, html .skin-card:focus-visible::before {
      animation: rarity-flow 10s linear infinite !important;
    }
  }
}
/* Isolate the moving canvas from the page's static text and skin cards. */
html body > .sb-bg-layer {
  contain: strict;
  transform: translateZ(0);
  will-change: transform;
}
