.cell[data-landmark][data-state="out"] {
  border-color: #b3956a;
  border-style: dashed;
  color: #ffe1a0;
}

.cell[data-landmark][data-state="out"] .marker {
  opacity: 1;
}

.cell[data-landmark]:is([data-state="out"], [data-hazard])::after {
  content: '×';
  position: absolute;
  inset: 0 1px auto auto;
  font-size: clamp(.55rem, 1.3vw, .8rem);
  color: #f4d5b1;
  pointer-events: none;
}

#load-status[data-kind="unavailable"] {
  color: #ff8585;
}

/* Light backing preserves the original production colours and NO GOLD markings. */
.cell[data-landmark], .cell[data-landmark]:hover:enabled {
  background: #fffaf0;
}
.cell[data-landmark][data-state="out"] {
  background: #e0d9ca;
}
.cell[data-landmark]:is([data-state="guess"], [data-state="solved"]) {
  background: #a6782f;
}
.cell .marker {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
  max-height: none;
  margin: 0;
  object-fit: contain;
  pointer-events: none;
}
.cell .marker[hidden], .cell .treasure-marker[hidden] { display: none; }
.cell[data-landmark]:is([data-state="out"], [data-hazard])::after {
  color: #6b3228;
  display: block;
  inset: 0 2px auto auto;
  line-height: 1;
}
/* The production N-series symbol already contains the prohibition mark. */
.cell[data-hazard]::after { content: none; }
.landmark-badge, .landmark-badge[data-hazard] {
  background: #fffaf0;
  flex-basis: 38px;
  height: 38px;
}
.landmark-badge .marker {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}
