/* R5 perimeter chain band — procedural 3x5 BITMAP-TERMINAL ring of chain facts (card.js chainBandSvg +
   chainBandHydrate). No font file: crisp SVG <rect> pixel glyphs. Overlay only: no layout, no events. */
.pcard[data-rung="5"] > .pc-chainband {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 7; pointer-events: none; overflow: visible;
  fill: hsl(44 80% 78%); opacity: calc(0.46 + var(--pfc, 0) * 0.3);
  text-shadow: none;
  /* foil: static at rest (--pfc 0), drifts through the spectrum with pointer distance/position on hover */
  filter: hue-rotate(calc(var(--pfc, 0) * 150deg + (var(--bgx, 50) - 50) * 1.4deg)) brightness(calc(1 + var(--pfc, 0) * 0.35));
  transition: opacity 200ms ease;
}
/* glyph rects inherit `fill`; keep cell edges hard (no antialias smear on the pixel grid) */
.pc-chainband g { shape-rendering: crispEdges; }
/* minis: the card is its own inline-size container (pc) */
@container pc (max-width: 149.98px) { .pcard[data-rung="5"] > .pc-chainband { display: none; } }