/* PRANATARA Reference Portrait Card Presentation v002 — rejected-v078 fix.
   Import the measured v001 geometry, then replace only the opaque frame
   raster with the transparent-centre v002 SVG. No canonical or motion delta. */
@import url("reference_portrait_card_presentation_v001.css");

body[data-reference-portrait-card="v001"][data-reference-portrait-frame="transparent-centre-v002"] .holo-card > .ornamental-frame-v002.heirloom-cartouche-frame-v001,
body[data-reference-portrait-card="v001"][data-reference-portrait-frame="transparent-centre-v002"] .reference-feature-frame {
  background-image: url("assets/reference_portrait_filigree_frame_v002.svg") !important;
}

body[data-reference-portrait-card="v001"][data-reference-portrait-frame="transparent-centre-v002"] .collectible-card.holo-card > .ornamental-frame-v002.heirloom-cartouche-frame-v001 {
  background-image: url("assets/reference_portrait_filigree_frame_v002.svg") !important;
}

/* v001 selectors remain intentionally active through this compatibility
   alias; both attributes are present only on v079 and scope all declarations. */
body[data-reference-portrait-card="v001"][data-reference-portrait-frame="transparent-centre-v002"] {
  --portrait-frame-revision: "transparent-centre-v002";
}

@media (forced-colors:active) {
  body[data-reference-portrait-card="v001"][data-reference-portrait-frame="transparent-centre-v002"] .holo-card > .ornamental-frame-v002.heirloom-cartouche-frame-v001,
  body[data-reference-portrait-card="v001"][data-reference-portrait-frame="transparent-centre-v002"] .reference-feature-frame {
    background-image: none !important;
  }
}
