.atlas-controls,.atlas-actions {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin:14px 0
}
.atlas-controls label {
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:center
}
.atlas-controls select {
  font:inherit;
  max-width:100%;
  padding:9px;
  border:1px solid #bdc5cf;
  border-radius:8px;
  background:#fff;
  color:#263d55
}
.atlas-title {
  text-align:center;
  margin:14px 0
}
.atlas-actions button,.atlas-actions a {
  padding:9px 13px;
  font:inherit;
  border:1px solid #b9c3cd;
  border-radius:8px;
  background:#fff;
  cursor:pointer;
  color:#163e67;
  text-decoration:none
}
.atlas-actions button:disabled {
  opacity:.45;
  cursor:default
}
.atlas-actions button[aria-pressed=true] {
  background:#e6edf6;
  border-color:#355c83
}
.atlas-viewport {
  overflow:auto;
  max-height:72vh;
  background:#f5f0e3;
  border:1px solid #b7c3cc;
  border-radius:10px
}
.atlas-frame {
  position:relative;
  margin:auto;
  line-height:0
}
.atlas-frame>img {
  display:block;
  width:100%;
  height:auto;
  max-width:none
}
.atlas-pin {
  position:absolute;
  transform:translate(-50%,-50%);
  width:27px;
  height:27px;
  min-height:0;
  min-width:0;
  padding:0;
  border:2px solid #fff;
  border-radius:50%;
  background:#244d83;
  color:#fff;
  box-shadow:0 0 0 1px #1d3553;
  line-height:23px;
  font:700 12px/23px system-ui,sans-serif;
  cursor:pointer
}
.atlas-pin.treasure {
  background:#87641c
}
.atlas-pin.event {
  background:#743c87
}
.atlas-pin.warp {
  background:#a83437
}
.atlas-pin.door,.atlas-pin.object {
  background:#4d5961
}
.atlas-pin.is-selected {
  outline:3px solid #efbb37;
  z-index:3
}
.atlas-pin.is-collected {
  background:#2d724e
}
.atlas-pin.is-collected:after {
  content:'✓';
  position:absolute;
  right:-9px;
  top:-9px;
  background:#fff;
  border-radius:50%;
  color:#285e44;
  font-size:13px;
  width:17px;
  height:17px;
  line-height:17px
}
.atlas-legend {
  font-size:.86rem;
  color:#526170
}
.atlas-detail {
  border:1px solid #d1be93;
  border-radius:10px;
  background:#fffaf0;
  padding:14px
}
.atlas-point-info+.atlas-point-info {
  border-top:1px solid #d7cfbb;
  margin-top:12px;
  padding-top:12px
}
.atlas-point-info p {
  margin:7px 0
}
.atlas-collected {
  display:inline-flex;
  gap:8px;
  align-items:center;
  margin:5px 16px 5px 0
}
.atlas-collected input {
  width:20px;
  height:20px
}
.atlas-connection {
  display:inline-block;
  margin:6px 0
}
.atlas-list {
  border:1px solid #c5ced7;
  border-radius:10px;
  margin-top:16px;
  padding:13px
}
.atlas-list summary {
  cursor:pointer;
  font-weight:700
}
.atlas-point-row {
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #e1dfd6;
  padding:10px 0;
  flex-wrap:wrap
}
.atlas-point-row button {
  border:0;
  background:transparent;
  text-align:left;
  font:inherit;
  color:#233f58;
  cursor:pointer;
  padding:5px;
  flex:1 1 260px
}
.atlas-point-row a {
  flex:0 1 auto
}
.atlas-point-row:last-child {
  border:0
}
.atlas-complete {
  animation:atlasComplete .55s ease
}
@keyframes atlasComplete {
  50% {
    background:#edf6dc;
    box-shadow:0 0 0 3px #c1d596
  }
  
}
@media(prefers-reduced-motion:reduce) {
  .atlas-complete {
    animation:none
  }
  
}
@media(max-width:600px) {
  .atlas-pin {
    width:24px;
    height:24px;
    font-size:11px;
    line-height:20px
  }
  .atlas-controls select {
    width:100%
  }
  .atlas-actions {
    gap:7px
  }
  .atlas-actions button,.atlas-actions a {
    font-size:.86rem;
    padding:8px
  }
  .atlas-viewport {
    max-height:66vh
  }
  .atlas-detail {
    padding:11px
  }
  
}
@media print {
  .atlas-actions,.atlas-controls,.atlas-pin {
    display:none
  }
  .atlas-viewport {
    max-height:none;
    overflow:visible
  }
  .atlas-frame {
    max-width:100%!important;
    width:100%!important
  }
  
}


.atlas-frame>img {
  image-rendering:auto
}
.atlas-pin.teleportal {
  background:#245d86
}
.atlas-title {
  overflow-wrap:anywhere
}


.atlas-viewport {
  padding:16px
}


.atlas-markers {
  position:absolute;
  inset:0;
  pointer-events:none
}

.atlas-markers .atlas-pin {
  pointer-events:auto
}

.atlas-pin.loop-arrival {
  background:#2c7356
}

.atlas-detail:empty {
  display:none
}

.atlas-collected input:focus-visible,.atlas-pin:focus-visible {
  outline:3px solid #075b9a;
  outline-offset:4px
}

.atlas-pin{width:auto;min-width:34px;padding:0 4px;border-radius:15px;font-size:11px}
.atlas-pin.is-cluster{min-width:42px}
@media(max-width:600px){.atlas-pin{width:auto;min-width:31px;padding:0 3px;font-size:10px}.atlas-pin.is-cluster{min-width:38px}}
