.grotto-banners { display: grid; gap: 4px; max-width: 100%; margin: 5px 0; }
.grotto-banners .userBanner { display: block; font-size: 11px; font-style: normal; line-height: 1.4; padding: 1px 5px; border: 1px solid transparent; border-radius: 3px; box-shadow: 1px 1px 3px rgba(0,0,0,.25); text-align: center; overflow-wrap: anywhere; }
.grotto-profile-banners { margin: 0; }
.grotto-banners .userBanner.bannerHidden { background: none; box-shadow: none; border: none; }
.grotto-banners .userBanner.bannerHidden.wrapped span { display: none; }
.grotto-banners .userBanner.bannerStaff { color: rgb(71, 102, 167); background-color: #4766A7; border-color: rgb(145,178,230); }
.grotto-banners .userBanner.bannerStaff.wrapped span { background-color: rgb(145,178,230); }
.grotto-banners .userBanner.bannerPrimary { color: white; background-color: #4766A7; border-color: rgb(145,178,230); }
.grotto-banners .userBanner.bannerPrimary.wrapped span { background-color: rgb(95, 125, 188); }
.grotto-banners .userBanner.bannerSecondary { color: rgb(34, 34, 34); background-color: rgb(102, 102, 102); border-color: rgb(102, 102, 102); }
.grotto-banners .userBanner.bannerSecondary.wrapped span { background-color: rgb(102, 102, 102); }
.grotto-banners .userBanner.bannerRed        { color: white; background-color: red; border-color: #F88; }
.grotto-banners .userBanner.bannerRed.wrapped span { background-color: #F88; }
.grotto-banners .userBanner.bannerGreen      { color: white; background-color: green; border-color: green; }
.grotto-banners .userBanner.bannerGreen.wrapped span { background-color: green; }
.grotto-banners .userBanner.bannerOlive      { color: black; background-color: olive; border-color: olive; }
.grotto-banners .userBanner.bannerOlive.wrapped span { background-color: olive; }
.grotto-banners .userBanner.bannerLightGreen { color: black; background-color: lightgreen; border-color: lightgreen; }
.grotto-banners .userBanner.bannerLightGreen.wrapped span { background-color: lightgreen; }
.grotto-banners .userBanner.bannerBlue       { color: white; background-color: blue; border-color: #3A3A9B; }
.grotto-banners .userBanner.bannerBlue.wrapped span { background-color: #3A3A9B; }
.grotto-banners .userBanner.bannerRoyalBlue  { color: white; background-color: royalblue; border-color: #81A9E1;  }
.grotto-banners .userBanner.bannerRoyalBlue.wrapped span { background-color: #81A9E1; }
.grotto-banners .userBanner.bannerSkyBlue    { color: black; background-color: skyblue; border-color: skyblue; }
.grotto-banners .userBanner.bannerSkyBlue.wrapped span { background-color: skyblue; }
.grotto-banners .userBanner.bannerGray       { color: black; background-color: gray; border-color: #AAA; }
.grotto-banners .userBanner.bannerGray.wrapped span { background-color: #AAA; }
.grotto-banners .userBanner.bannerSilver     { color: black; background-color: silver; border-color: silver; }
.grotto-banners .userBanner.bannerSilver.wrapped span { background-color: silver; }
.grotto-banners .userBanner.bannerYellow     { color: black; background-color: yellow; border-color: #E0E000; }
.grotto-banners .userBanner.bannerYellow.wrapped span { background-color: #E0E000; }
.grotto-banners .userBanner.bannerOrange     { color: black; background-color: orange; border-color: #FFC520; }
.grotto-banners .userBanner.bannerOrange.wrapped span { background-color: #FFC520; }
.grotto-banners .userBanner.bannerLighterRed    { color: black; background-color: rgb(219, 55, 55); border-color: rgb(229, 84, 84); }
.grotto-banners .userBanner.bannerLighterRed.wrapped span { background-color: rgb(229, 84, 84); }
.grotto-banners .userBanner.bannerDarkRed    { color: white; background-color: rgb(137, 17, 17); border-color: rgb(154, 52, 52); }
.grotto-banners .userBanner.bannerDarkRed.wrapped span { background-color: rgb(154, 52, 52); }
.grotto-banners .userBanner.bannerPurple   { color: white; background-color: rgb(115, 13, 137); border-color: rgb(167, 58, 190); }
.grotto-banners .userBanner.bannerPurple.wrapped span { background-color: rgb(167, 58, 190); }

.grotto-banners .userBanner.wrapped { position: relative; border-top-left-radius: 0; border-top-right-radius: 0; }
.grotto-banners .userBanner.wrapped span { position: absolute; top: -4px; width: 5px; height: 4px; background-color: inherit; }
.grotto-banners .userBanner.wrapped .before { left: -1px; border-top-left-radius: 3px; }
.grotto-banners .userBanner.wrapped .after { right: -1px; border-top-right-radius: 3px; }
/* The extracted staff rule used the same blue for text and background. */
.grotto-banners .userBanner.bannerStaff { color: #27315c; background-color: #d0d9e6; border-color: #91b2e6; }
