/* Höhlenkarte aus „Der Schränker 3“ – genutzt von caves/index.html und der Zoom-Ansicht
   auf der Schränker-3-Seite. Alle Regeln sind auf .caves-map bzw. .caves-room beschränkt. */

.caves-map {
  --cave-w: 150px;
  color: #ffffff;
  font-family: "Calibri", Arial, sans-serif;
}

.caves-map .caves-sizes {
  margin: 0 0 12px;
  font-size: 11pt;
  line-height: 1.6;
}

.caves-map .caves-sizes a {
  margin-right: 1.2em;
  color: #ffffff;
  text-decoration: underline;
}

.caves-map .caves-sizes a.active {
  color: #ffe7a8;
  font-weight: bold;
  text-decoration: none;
}

.caves-map table {
  border-collapse: collapse;
  border-spacing: 0;
}

.caves-map td {
  padding: 0;
  line-height: 0;
  font-size: 0;
}

.caves-map img.cave {
  display: block;
  width: var(--cave-w);
  max-width: none;
  height: auto;
  cursor: zoom-in;
}

.caves-map img.cave.leer {
  cursor: default;
}

/* Einzelner Raum vergrößert */
.caves-room {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.caves-room.active {
  display: flex;
}

.caves-room img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
