/* Explore (/explore/), WordPress page 1663, from lore-style.css */

body.page-explore { background: #000; }

.lore-map {
  width: 100%;
  min-height: 600px;
  overflow-x: auto;
  margin: 0 auto;
  scrollbar-color: green #f1f1f1;
}
.lore-map::-webkit-scrollbar { height: 10px; }
.lore-map::-webkit-scrollbar-track { background: #f1f1f1; }
.lore-map::-webkit-scrollbar-thumb { background: green; border-radius: 5px; }

.lore-map__canvas {
  position: relative;
  width: 1920px;
  height: 1090px;
  background: url("/assets/img/explore/Lore-Banner_final-sample-1.jpeg") left center no-repeat;
}

/* District buttons. --x/--y are the old pixel positions (<= 1024px);
   --x-lg/--y-lg the desktop ones (>= 1025px). */
.district {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 50px; height: 50px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  animation: glow 1.5s ease infinite alternate;
}
.district img { width: 50px; height: 50px; border-radius: 50%; }
.district:hover, .district:focus-visible { animation-name: glow-strong; }
.district:focus-visible { outline: 3px solid var(--c-white); outline-offset: 6px; }

@keyframes glow {
  from { box-shadow: 0 0 0 0 var(--glow); }
  to   { box-shadow: 0 0 5px 5px var(--glow); }
}
@keyframes glow-strong {
  from { box-shadow: 0 0 0 0 var(--glow); }
  to   { box-shadow: 0 0 10px 10px var(--glow); }
}
@media (prefers-reduced-motion: reduce) {
  .district { animation: none !important; box-shadow: 0 0 5px 5px var(--glow); }
  .district:hover, .district:focus-visible { box-shadow: 0 0 10px 10px var(--glow); }
}

@media (min-width: 1025px) {
  .district { top: var(--y-lg); left: var(--x-lg); }
}

.district--frankenheim { --glow: #ea8e30; --y: 725px; --x: 1135px; --y-lg: 739px; --x-lg: 1142px; }
.district--karmatopia  { --glow: #5ac45f; --y: 290px; --x: 625px;  --y-lg: 290px; --x-lg: 629px; }
.district--gloomburg   { --glow: #ff3554; --y: 530px; --x: 1330px; --y-lg: 540px; --x-lg: 1360px; }
.district--kokatsu     { --glow: #9d48d5; --y: 185px; --x: 1130px; --y-lg: 160px; --x-lg: 1175px; }
.district--terayno     { --glow: #ffff8b; --y: 700px; --x: 600px;  --y-lg: 700px; --x-lg: 600px; }
.district--vangarden   { --glow: #4e80d4; --y: 490px; --x: 930px;  --y-lg: 470px; --x-lg: 975px; }

.lore-map__hint {
  position: sticky;
  left: 0;
  margin: 0;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--c-white);
  font-size: var(--fs-small);
  text-align: center;
}
