/* LED name tag as in PICO's design (XD sizes / 4). Shared by the LED page and the admin preview, so the preview shows what fits. */
@font-face { font-family: "Filson Pro"; src: url(/assets/FilsonProBold.otf?v=11) format("opentype"); font-weight: 700; font-display: block; }
.tag {
  position: relative; isolation: isolate; width: max-content; padding: 9px 10px 8.5px; color: #1b3662; text-align: center; /* max-content: near the LED's edge a tag must not wrap early */
  font: 700 15px/15px "Filson Pro", "Arial Rounded MT Bold", system-ui, sans-serif;
}
/* Soft glowing pill: a white gradient at 80%, blurred (XD object blur 14.9 at x4). On a pseudo-element so the text stays sharp. */
.tag::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 15px; opacity: .8;
  background: linear-gradient(to top, #eaf0fc 7.4%, #fff 73.2%); filter: blur(3.7px);
}
.tag span { display: block; max-width: 120px; } /* max-width: per seat (SEATS maxW); long names wrap, fitTag() keeps them to 2 lines */
/* VIP: two lines, title over name, orange on a yellow glow */
.tag.vip { padding: 8.75px 10px; color: #ff6a1c; font-size: 16px; line-height: 16px; }
.tag.vip::before { opacity: 1; background: linear-gradient(to top, #ffeda3 7.4%, #fff 73.2%); }
.tag.vip span { max-width: 136px; white-space: pre-line; } /* title line, then the name in up to 2 lines */
