/* PRANATARA Top Number Line Clearance v003 — chat-131.
   Browser-measured clear band: the frame starts 3px inside the card, the
   number line box starts one additional pixel after its CSS top value, the
   upper fillet occupies y=5.8–6.8px, and the next rule starts at y=25px.
   top:7px yields card-local line boxes y=11–21px (gallery) and y=11–22px
   (modal/standalone), preserving at least 3px to both horizontal rules. */
.heirloom-cartouche-frame-v001 > .heirloom-top-number {
  top: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  line-height: 1;
}

#grid > .holo-card .heirloom-top-number,
.collectible-card.holo-card .heirloom-top-number {
  top: 7px;
}

@media (max-width: 420px) {
  .heirloom-cartouche-frame-v001 > .heirloom-top-number {
    top: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .heirloom-cartouche-frame-v001 > .heirloom-top-number {
    animation: none !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .heirloom-cartouche-frame-v001 > .heirloom-top-number {
    color: CanvasText;
    background: transparent;
    box-shadow: none;
    text-shadow: none;
    forced-color-adjust: none;
  }
}
