.semantic-map { position:absolute; inset:0; z-index:2; overflow:hidden; cursor:default; touch-action:none; container-type:inline-size; }
.semantic-map.semantic-camera { overflow:clip; cursor:grab; }
.semantic-map.semantic-over-node { cursor:pointer; }
.map-surface.is-dragging .semantic-camera, .map-surface.is-dragging .semantic-camera .semantic-pin { cursor:grabbing; }
.semantic-map[hidden] { display:none; }
.semantic-map:focus-visible { outline:2px solid var(--red); outline-offset:-3px; }
.semantic-plane, .semantic-chart, .semantic-pins { position:absolute; inset:0; width:100%; height:100%; }
.semantic-chart[hidden] { display:none; }
.semantic-plane { overflow:visible; }
.semantic-pins { pointer-events:none; }
.semantic-pin { position:absolute; transform-origin:50% 38%; transform:translate(-50%,-38%) scale(var(--atlas-label-scale,1)); display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:2px; pointer-events:auto; min-height:36px;
  padding:4px 3px; color:#382f24; border:1px solid transparent; border-radius:7px;
  background:transparent; box-shadow:none; text-align:center; cursor:pointer; line-height:1.18; }
.semantic-name { font-size:clamp(13px,1.25vw,17px); font-weight:750; text-wrap:balance; overflow-wrap:anywhere; }
.semantic-detail { font-size:11px; line-height:1.3; font-weight:570; text-wrap:balance; overflow-wrap:anywhere; }
.semantic-map[data-theme=city] .semantic-pin { text-shadow:0 1px 2px #fffaed,1px 0 2px #fffaed,-1px 0 2px #fffaed; }
.semantic-map[data-theme=city] .semantic-detail { color:#534736; }
.semantic-map[data-theme=space] .semantic-pin { color:#f0f3ff; text-shadow:0 1px 4px #020810,0 0 7px #000b19; }
.semantic-map[data-theme=space] .semantic-detail { color:#c8d6e4; }
.semantic-map[data-kind=regions] .semantic-pin { width:max-content; max-width:var(--atlas-name-width); padding-inline:8px; }
.semantic-plane[data-world][data-wide-view] .semantic-pin { min-height:20px; max-width:var(--atlas-wide-width); padding:2px 3px; }
.semantic-plane[data-world][data-wide-view] .semantic-name { font-size:clamp(13px,2.1cqw,17px); line-height:1.18; letter-spacing:0; }
.semantic-plane[data-world][data-wide-view] .semantic-detail { display:none; }
.semantic-map[data-kind=regions] .semantic-name { letter-spacing:.035em; }
.semantic-map[data-theme=city][data-kind=regions] .semantic-name {
  text-shadow:0 1px 2px #fff7dc, 1px 0 2px #fff7dc, -1px 0 2px #fff7dc, 0 -1px 2px #fff7dc;
}
.semantic-map[data-theme=space][data-kind=regions] .semantic-name {
  color:#f1f4ff; text-shadow:0 1px 2px #061122, 1px 0 3px #061122, -1px 0 3px #061122;
}
.semantic-pin:hover, .semantic-pin.is-hovered, .semantic-pin[aria-current], .semantic-pin:focus-visible {
  border-color:#9b7f5b; background:#fff5e5e8; outline:0; }
.semantic-map[data-theme=space] .semantic-pin:is(:hover,.is-hovered,[aria-current],:focus-visible) {
  border-color:#87b7d6; background:#101e32e8; }
.semantic-map[data-kind=senses] .semantic-pin { transform-origin:50% 0; transform:translate(-50%,var(--word-caption-offset,12px)) scale(var(--atlas-label-scale,1)); padding:3px; min-height:32px; }
.semantic-map[data-kind=senses] .semantic-name { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.semantic-map[data-kind=senses] .semantic-name { font-family:var(--jp-serif,var(--serif,serif)); font-size:clamp(14px,1.35vw,18px); }
@media(max-width:460px) {
  .semantic-detail { font-size:10px; }
}
