.nether-map-page .nether-map {
  background: #322a2a;
  --map-grid: #ffffff12;
  --map-selection: #ffffff;
  --map-label-stroke: #322a2a;
}
.map-loading-indicator{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.nether-map[data-map-loading=ready] .map-loading-indicator{display:none}
.nether-map-page .map-hub{left:50%;top:50%;transform:translate(-50%,-50%)}
.nether-map[data-map-loading=loading] .map-marker{opacity:0;pointer-events:none}
.nether-map-page .nether-map__canvas {
  transform: none;
  transform-origin: 0 0;
  will-change: auto;
}
.nether-map-page .map-marker {
  width: 14px;
  min-width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  outline: 0;
  z-index: 4;
}
.nether-map-page .map-marker.is-selected {
  outline: 2px solid var(--map-selection);
}
.nether-map-page .map-marker.is-square {
  border-radius: 0;
  width: calc(14px / 1.5);
  min-width: calc(14px / 1.5);
  height: calc(14px / 1.5);
}
.nether-map-page .map-marker::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
}
.nether-map-page .map-marker:focus-visible {
  outline: 3px solid var(--map-selection);
  outline-offset: 3px;
}
.nether-map-page .map-marker.is-square::after { inset: calc(-6px - 14px / 6); }
.nether-map-page .map-marker:hover {
  filter: brightness(1.2);
}
.nether-map-page .map-marker > span {
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  text-align: center;
  -webkit-text-stroke: 2px var(--map-label-stroke);
  paint-order: stroke fill;
}
.nether-map-page .map-marker > span[hidden] { display:none; }
.nether-map-page .map-marker.has-label-below > span {
  top: calc(100% + 2px + .6em);
  bottom: auto;
}
.nether-map-page .map-hub img {
    width: 85%;
    height: 95%;
  object-fit: contain;
}
.nether-map-page .map-panel {
  left: 16px;
  top: 16px;
  bottom: auto;
  width: min(400px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 28px;
}
.nether-map-page .map-panel [hidden] {
  display: none;
}
.nether-map-page .map-panel__meta {
  display: grid;
  gap: 8px;
  padding-right: 32px;
  margin-bottom: 20px;
  font: 14px/1.5 Inter, sans-serif;
}
.nether-map-page .map-panel__meta .eyebrow-small {
  margin: 0;
  color: #fff;
  font: 15px/1.4 Minecraftia, var(--body);
}
.nether-map-page .map-panel__branches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nether-map-page .map-panel__banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 0 0 22px;
  object-fit: cover;
}
.nether-map-page .map-panel h1 {
  margin: 0 0 12px;
  font: 28px/1.15 var(--display);
  overflow-wrap: anywhere;
}
.nether-map-page .map-panel p {
  margin: 0 0 20px;
  overflow-wrap: anywhere;
  font: 14px/1.6 Minecraftia, var(--body);
}
.nether-map-page .map-panel__stats {
  display: grid;
  gap: 8px;
  margin: 24px 0;
  padding-left: 20px;
  color: var(--muted);
  font: 14px/1.5 Inter, sans-serif;
  list-style-type: "− ";
}
.nether-map-page .map-panel__head {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}
.nether-map-page .map-panel__head h2 {
  margin: 0;
  font: 21px/1.3 var(--display);
}
.nether-map-page .map-panel__head .player-card {
  min-height: 62px;
  padding: 8px 14px;
  gap: 10px;
  color: var(--text);
  background: #222;
  border-color: #303030;
}
.nether-map-page .map-panel__head .player-card:hover {
  border-color: #555;
  background: #202020;
}
.nether-map-page .map-panel__head .player-card .skin-head,
.nether-map-page .map-panel__head .player-card img {
  width: 28px;
  height: 28px;
}
.nether-map-page .map-panel__head .player-card strong {
  font: 16px/1.2 Minecraftia, var(--body);
  transform: translateY(.3em);
  overflow-wrap: anywhere;
}
.nether-map-page .map-panel__actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.nether-map-page .map-panel__actions .small-button {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
.nether-map-page .map-panel__entities {
  display:flex;
  gap:8px;
  margin:0 32px 22px 0;
  padding-bottom:8px;
  overflow-x:auto;
  scrollbar-width:thin;
  border-bottom:1px solid var(--line);
}
.nether-map-page .map-panel__tab {
  flex:0 0 auto;
  max-width:210px;
  padding:10px 12px;
  border:0;
  border-bottom:2px solid transparent;
  background:transparent;
  color:var(--muted);
  font:13px/1.5 Inter,sans-serif;
  text-align:left;
  overflow-wrap:anywhere;
  cursor:pointer;
}
.nether-map-page .map-panel__tab[aria-selected=true] { color:var(--text);border-bottom-color:var(--teal-bright);background:color-mix(in srgb,var(--teal) 14%,transparent); }
.nether-map-page .map-panel__tab:hover { color:var(--text); }
.nether-map-page .map-panel__tab:focus-visible { outline:2px solid var(--teal-bright);outline-offset:-2px; }
@media (max-width: 760px) {
  .nether-map-page .map-panel {
    left: 10px;
    width: calc(100% - 20px);
    padding: 22px;
  }
}
@media (max-width: 520px) {
  .nether-map-page .map-marker::after { inset: -8px; }
  .nether-map-page .map-marker.is-square::after { inset: calc(-8px - 14px / 6); }
  .nether-map-page .map-panel {
    top: auto;
    bottom: 64px;
    max-height: 52%;
  }
  .nether-map-page .map-panel h1 { font-size: 25px; }
}

.nether-map-page .map-hub{border-radius:50%}
.nether-map-page .map-marker[hidden]{display:none!important}
.map-marker [data-cluster-count]{position:absolute;inset:0;display:grid;place-items:center;font:700 9px/1 Inter,sans-serif;color:#fff;text-shadow:0 1px 2px #000;pointer-events:none}
.map-reservation-notice{position:absolute;top:14px;left:14px;right:14px;z-index:4;max-width:600px;margin:0;padding:12px;background:#202020e8;color:#fff;font:12px/1.6 Inter,sans-serif;border:1px solid #555;overflow-wrap:anywhere}
.map-marker [data-marker-blacklist]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:16px;height:16px;max-width:none;background:none;padding:0;pointer-events:none}
.map-marker [data-marker-blacklist][hidden]{display:none}
.map-panel__blacklist{padding:10px 14px;margin-bottom:18px;border:1px solid #b75656;border-radius:4px;background:#692b2b;color:#fff;font:14px/1.5 Inter,sans-serif}
.map-panel__tab.is-blacklisted{text-decoration:line-through;text-decoration-color:#ef7777}
