/* Shared card finish. Load after theme/page/collection styles so those cannot
   restore decorative chrome. Only card surfaces belong here, not .button,
   control outlines, empty placeholders, dividers, or collectible artwork.
   No outline reset: keyboard focus must remain visible on interactive cards. */
:is(
  .card,
  .match-card,
  .reveal-card,
  .home-companion,
  .unavailable,
  .profile-panel,
  .pet-facts > div,
  .virtual-play,
  .care-grid > button,
  .care-grid > a,
  .care-milestone,
  .support-card,
  .cc-card,
  .cc-tally > span,
  .account-bar,
  .house-room:not(.empty-room),
  #home-view .companion-feature
){
  border:0;
  border-radius:16px;
  background:var(--f-white,#fff);
}

/* These nested surfaces retain contrasting tan fills. Pet-detail Play instead
   uses white action tiles against the page background, with green completion. */
:is(
  .room-grid > .house-room:not(.empty-room),
  .match-card .reveal-card
){
  background:#F6F4EF;
}

/* Match selection is functional, not decorative card chrome. */
#results-view .match-card.selected{border:2px solid var(--f-red,#cf0404)}

/* The keepsake archive is a tan surface inside the white house. Its occupied
   rooms need white fills, unlike rooms immediately inside .room-grid. */
.cc-house-archive .house-room:not(.empty-room){background:var(--f-white,#fff)}
