/* A warm, dark gallery wall; artwork and research compositions retain their palettes. */
:root {
  color-scheme: dark;
  --frame: rgba(255, 255, 255, .6);
  --paper: #20221f;
  --ink: #eeeae0;
  --muted: #b7b2a6;
  --rule: rgba(238, 234, 224, .24);
  --accent: #dfab97;
  --blue: #9eb8d6;
  --yellow: #75623c;
}

.painting-card > a {
  background: #282c28;
}

/* Let translucent frames blend with the gallery wall, not each artwork's fill. */
.painting-card > a,
.paper-card > .paper-visual {
  background-clip: padding-box;
}

/* Keep gallery frames to one screen pixel on high-density displays. */
@media (min-resolution: 2dppx) {
  .painting-card > a,
  .paper-card > .paper-visual {
    border-width: .5px;
  }
}

@media (min-resolution: 3dppx) {
  .painting-card > a,
  .paper-card > .paper-visual {
    border-width: .333333px;
  }
}
