/* MM2 / Roblox item desk polish — badge containment, hide ImportId, delivery stub */

/* Keep rarity chip inside the art stage only (never paint over title) */
.item-card--art .product-stage,
.item-card--art .product-stage--frame,
.acc-card--art .product-stage,
.acc-gallery .product-stage,
.acc-gallery [class*="product-stage"] {
  overflow: hidden !important;
  position: relative !important;
}

.item-card--art .acc-badge-float,
.acc-card--art .acc-badge-float {
  top: 0.55rem !important;
  left: 0.55rem !important;
  right: auto !important;
  bottom: auto !important;
  max-width: calc(100% - 1.1rem) !important;
  z-index: 4 !important;
  pointer-events: none !important;
}

/* Compact item cards already show "Godly · knife" under the title — drop float chip */
.item-card--compact.item-card--art .acc-badge-float {
  display: none !important;
}

/* Related rail: category index chips sit on the title row — hide on Roblox item desks */
body[data-game="murder-mystery-2"] .related-links-rail__badge,
body[data-game="adopt-me"] .related-links-rail__badge,
.shop-page[data-game="murder-mystery-2"] .related-links-rail__badge,
.shop-page[data-game="adopt-me"] .related-links-rail__badge,
.acc-detail-page .related-links-rail__badge,
.related-desk-rail .related-links-rail__badge {
  display: none !important;
}

/* Hide internal ImportId / import id attribute rows on storefront PDP */
.acc-field-grid .acc-field[data-ugm-hide="1"],
.acc-sections .acc-field[data-ugm-hide="1"],
.acc-field-grid .acc-field.ugm-hide-importid,
.acc-sections .acc-field.ugm-hide-importid,
.acc-seo-body .acc-field.ugm-hide-importid {
  display: none !important;
}

/* Delivery process placeholder — hide empty admin stub */
.buy-process li.ugm-hide-delivery-stub,
.buy-process .ugm-hide-delivery-stub {
  display: none !important;
}
