/* Let the two light plates blend with the painted canvas and moving models.
   A stacking context around these children would isolate them from the map. */
.atlas-light-layer {display:contents}
.atlas-light-layer[hidden] {display:none}
.atlas-light-layer > canvas {
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
}
.atlas-light-layer canvas:first-child {mix-blend-mode:multiply}
.atlas-light-layer canvas:last-child {mix-blend-mode:screen}

#lifePanel .atlas-light-choice {
  border:0;
  margin:4px 0 13px;
  padding:0;
  min-width:0;
}
.atlas-light-choice legend {
  margin:0 0 8px;
  padding:0;
  color:var(--mute);
  font:600 14px/1.25 system-ui,sans-serif;
}
.atlas-light-options {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
}
.atlas-light-option {
  display:grid;
  align-content:start;
  gap:6px;
  padding:3px 3px 6px;
  min-width:0;
  color:var(--ink);
  border:1px solid #c9c3ab;
  border-radius:8px;
  background:#f7f2e4;
  font:550 13px/1.2 system-ui,sans-serif;
}
.atlas-light-option canvas {
  display:block;
  width:100%;
  height:auto;
  border-radius:5px;
  background:linear-gradient(145deg,#b2c4be,#8a9e78);
}
.atlas-light-option span {overflow-wrap:normal}
.atlas-light-option:hover {border-color:#687d6e}
.atlas-light-option[aria-pressed=true] {
  color:#fff9e7;
  background:#244f40;
  border-color:#244f40;
}
@media (forced-colors:active) {
  .atlas-light-option[aria-pressed=true] {outline:2px solid Highlight}
}
