/* ------------------------------------------------------------- Die Lupe */

/*
  Liegt über allem, auch über der Kopfleiste. Der dunkle Grund nimmt der Bühne
  dahinter die Aufmerksamkeit, ohne sie ganz zu verdecken.
*/
.lupe {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(4 7 12 / 82%);
  cursor: zoom-out;
}

.lupe[hidden] {
  display: none;
}

/*
  Die grosse Karte. Hart gerastert, damit sie bei doppelter Grösse nicht
  verwaschen wirkt: Die Vorlage ist eine Spieltextur, kein Foto.
*/
.lupe__karte {
  display: block;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  box-shadow: 0 30px 80px rgb(0 0 0 / 60%);
  cursor: default;
}

.lupe__zu {
  position: absolute;
  top: clamp(0.8rem, 3vh, 2rem);
  right: clamp(0.8rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: linear-gradient(to bottom, var(--glass-light), rgb(255 255 255 / 2%));
  color: var(--ink);
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    color 0.15s ease;
}

.lupe__zu:hover,
.lupe__zu:focus-visible {
  border-color: var(--hairline);
  color: var(--gold-bright);
}

.lupe__zu svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
