.spawn-atlas .archive-links a[aria-current="page"] {
  border-color: #c0a06a;
  background: #29281c;
}
.spawn-atlas .spawn-intro {
  margin: 16px 0;
  color: #c7c5b0;
}
.spawn-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin: 14px 0;
}
.spawn-filters[hidden] { display: none; }
.spawn-filters label { display: grid; gap: 4px; margin: 0; }
.spawn-filters select {
  min-width: 155px;
  max-width: 100%;
  padding: 7px 9px;
  border: 1px solid #5b5c43;
  background: #1a2116;
  color: #ece0bd;
  font: inherit;
}
.spawn-figure { margin: 16px 0; }
.spawn-map {
  position: relative;
  overflow: hidden;
  display: grid;
  background: #0f181a;
  border: 1px solid #52563b;
  cursor: crosshair;
}
.spawn-map img,
.spawn-map canvas {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: auto;
  align-self: stretch;
  image-rendering: pixelated;
}
.spawn-map canvas { position: absolute; height: 100%; pointer-events: none; }
.spawn-entrance-markers { position: absolute; inset: 0; pointer-events: none; }
body.portal-subpage .portal-content button.spawn-entrance-marker {
  position: absolute;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  min-height: 0;
  margin: 0;
  padding: 0;
  transform: translate(-50%, -50%);
  border: none;
  background: transparent;
  color: #67dfff !important;
  cursor: pointer;
  pointer-events: auto;
}
.spawn-entrance-arrow {
  position: relative;
  width: 16px;
  height: 21px;
  transform: translateY(-10px);
  filter: drop-shadow(1px 0 #071721) drop-shadow(-1px 0 #071721)
          drop-shadow(0 1px #071721) drop-shadow(0 -1px #071721);
}
.spawn-entrance-arrow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  clip-path: polygon(35% 0, 65% 0, 65% 55%, 100% 55%, 50% 100%, 0 55%, 35% 55%);
}
body.portal-subpage .portal-content button.spawn-entrance-marker:is(:hover, :focus-visible, [aria-pressed="true"]) {
  z-index: 1;
  background: transparent;
  color: #b7f3ff !important;
}
.spawn-entrance-marker:focus-visible { outline: 1px solid #67dfff; }
.spawn-entrance-hint {
  display: none;
  position: absolute;
  top: 50%;
  left: 22px;
  transform: translateY(-50%);
  width: max-content;
  max-width: 200px;
  padding: 4px 7px;
  border: 1px solid #806a45;
  border-radius: 3px;
  background: #201b15;
  color: #fff0bd;
  font: 13px/1.35 sans-serif;
  text-align: left;
  white-space: normal;
  pointer-events: none;
}
.spawn-entrance-marker.hint-left .spawn-entrance-hint { left: auto; right: 22px; }
.spawn-entrance-marker:hover .spawn-entrance-hint,
.spawn-entrance-marker:focus-visible .spawn-entrance-hint,
.spawn-entrance-marker[aria-pressed="true"] .spawn-entrance-hint { display: block; }
.spawn-entrances { margin: 0 0 14px; }
.spawn-entrances summary { cursor: pointer; }
.spawn-entrances ul {
  max-height: 18rem;
  overflow: auto;
  padding-left: 24px;
  margin: 8px 0;
}
.spawn-entrances li[aria-current="true"] { color: #ffd585; }
.spawn-entrances button {
  margin: 3px 0 3px 6px;
  padding: 4px 8px;
  border: 1px solid #64634a;
  border-radius: 3px;
  background: #252b1d;
  color: #ebd5a5;
  font: inherit;
  cursor: pointer;
}
.spawn-figure figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin: 8px 0 0;
  color: #c1c3a9;
}
.spawn-list summary { cursor: pointer; }
.spawn-list .table-scroll { max-height: 26rem; overflow: auto; }
.spawn-list tbody tr[aria-selected="true"] td { background: #3b3b25; }
.spawn-list tbody button {
  margin: 0;
  padding: 4px 8px;
  border: 1px solid #64634a;
  background: #252b1d;
  color: #ebd5a5;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
}
.spawn-links { margin: 16px 0 0; }
