.lantern-atlas {
  background: #17252b;
  color: #f6e7c8;
  margin: 2rem 0;
  padding: clamp(.85rem, 3vw, 1.6rem);
  border-radius: .25rem;
  box-sizing: border-box;
}
.lantern-atlas[hidden] { display: none; }
.atlas-cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .35rem 1rem; border-bottom: 1px solid #536362; padding-bottom: .7rem; margin-bottom: 1rem; }
.atlas-cap strong { font: 1.4rem/1.25 Georgia, serif; color: #fff3d8; }
.atlas-cap span, #atlas-address, .atlas-sliders label { font: .8rem/1.45 ui-monospace, monospace; color: #e5c78f; }
.atlas-spread { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(11rem, 1fr); gap: clamp(.8rem, 2vw, 1.6rem); align-items: start; }
#atlas-map { display: block; width: 100%; aspect-ratio: 1; height: auto; cursor: crosshair; }
.atlas-controls { display: grid; gap: .85rem; }
.lantern-atlas .atlas-controls p { color: #e2ded0; margin: 0; font-size: .99rem; line-height: 1.45; }
.atlas-controls button { font: 600 .84rem/1.35 system-ui, sans-serif; color: #fff1d0; background: #314348; border: 1px solid #97a7a1; padding: .65em .9em; border-radius: .2rem; cursor: pointer; min-height: 40px; }
.atlas-controls button:hover { background: #3e5457; }
.lantern-atlas :focus-visible { outline: 3px solid #fbd269; outline-offset: 2px; }
.atlas-sliders { display: grid; gap: .15rem; }
.atlas-sliders label { display: flex; justify-content: space-between; }
.atlas-sliders input { margin: 0; display: block; width: 100%; accent-color: #fed17b; min-height: 26px; }
#atlas-pair { display: flex; gap: 1rem; }
.atlas-house { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); gap: 3px; width: min(4.2rem, 38%); aspect-ratio: 1; }
.atlas-house span { background: #36494e; border: 1px solid #637473; }
.atlas-house .atlas-lit { background: #ffce75; border-color: #ffe3ab; }
@media (max-width: 650px) {
  .atlas-spread { grid-template-columns: 1fr; }
  .atlas-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
  .atlas-controls p, .atlas-sliders, #atlas-inspect { grid-column: 1 / -1; }
  #atlas-side { grid-column: 1 / -1; }
}
