/* Exact reference cards: the PNG already includes artwork, text and gold rim.
   Keep each whole-card link independent for navigation, ordering and visibility. */
:root[data-theme=heirloom_light] body[data-page=shelf][data-shelf-layout=reference] .reference-shelf-cards > .exact-shelf-card {
 position:relative;
 isolation:isolate;
 display:block;
 grid-column:1 / -1;
 width:100%;
 min-width:0;
 min-height:0;
 height:auto;
 aspect-ratio:auto;
 padding:0;
 overflow:hidden;
 border:0!important;
 border-radius:9px;
 background:none!important;
 box-shadow:none!important;
 filter:none;
}
:root[data-theme=heirloom_light] body[data-page=shelf][data-shelf-layout=reference] .reference-shelf-cards > .exact-shelf-card::before,
:root[data-theme=heirloom_light] body[data-page=shelf][data-shelf-layout=reference] .reference-shelf-cards > .exact-shelf-card::after {
 content:none!important;
 display:none!important;
}
:root[data-theme=heirloom_light] body[data-page=shelf][data-shelf-layout=reference] .reference-shelf-cards > .exact-shelf-card > .shelf-sheet-art {
 position:static;
 display:block;
 width:100%;
 height:auto;
 min-height:0;
 max-width:none;
 max-height:none;
 overflow:hidden;
 pointer-events:none;
 fill:none;
 stroke:none;
 filter:none;
 opacity:1;
 -webkit-mask:none;
 mask:none;
}
.exact-shelf-card > .exact-card-accessible-copy {
 position:absolute;
 width:1px;
 height:1px;
 padding:0;
 margin:-1px;
 overflow:hidden;
 clip:rect(0,0,0,0);
 clip-path:inset(50%);
 white-space:nowrap;
 border:0;
}
/* Keep the accessible HTML text visible if the browser suppresses images. */
@media (forced-colors:active) {
 .exact-shelf-card > .shelf-sheet-art {display:none!important}
 .exact-shelf-card > .exact-card-accessible-copy {
  position:static;width:auto;height:auto;margin:0;padding:12px;
  clip:auto;clip-path:none;white-space:normal;
 }
}
