.temple-minimap{display:flex;flex-direction:column;align-items:center;gap:2px;pointer-events:auto;width:108px;padding:5px;border:1px solid #b89964;border-radius:16px;background:#251b13ed;color:#ffe9b9;font:600 10px Quicksand,sans-serif;cursor:pointer}
.temple-minimap svg{display:block;width:90px;height:76px;border-radius:10px}.temple-minimap[hidden]{display:none}
.temple-map-dialog{box-sizing:border-box;width:min(1000px,calc(100vw - 28px));max-height:calc(100dvh - 28px);margin:auto;padding:20px;border:1px solid #b89964;border-radius:24px;background:#251b13;color:#f4e7cc;font:500 14px/1.5 Quicksand,system-ui,sans-serif;overflow:auto;color-scheme:dark;contain:layout style}
.temple-map-dialog::backdrop{background:#100b09bb}.temple-map-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.temple-map-dialog h2{margin:0;font-size:22px}.temple-map-dialog button{min-height:44px;padding:9px 14px;border:1px solid #82643a;border-radius:14px;background:#392a1c;color:#f4e7cc;font:inherit;cursor:pointer}.temple-map-dialog button:focus-visible,.temple-minimap:focus-visible{outline:3px solid #eec878;outline-offset:3px}
.temple-map-body{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(220px,1fr);gap:20px}.temple-map-plot{min-width:0;background:#18291f;border-radius:16px;align-self:start;overflow:hidden}.temple-map-plot svg{display:block;width:100%;max-height:65dvh}.temple-map-sidebar{min-width:0}.temple-map-legend{margin:0 0 10px;color:#d8c69f;font-size:12px}.temple-map-list{display:grid;gap:6px;max-height:38dvh;overflow:auto;padding:3px}.temple-map-list button{text-align:left;font-size:12px}.temple-map-list button[aria-pressed=true]{border-color:#edc577;background:#604726}.temple-map-description,.temple-map-feedback{font-size:12px;overflow-wrap:anywhere}.temple-map-go{width:100%;background:#dcb46c!important;color:#281d12!important;font-weight:700!important}.temple-map-go:disabled{opacity:.5;cursor:default}
@media(max-width:700px){.temple-minimap{width:94px}.temple-minimap svg{width:80px;height:64px}.temple-map-dialog{padding:14px;border-radius:20px}.temple-map-body{grid-template-columns:minmax(0,1fr);gap:12px}.temple-map-plot svg{max-height:38dvh}.temple-map-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:20dvh}.temple-map-dialog h2{font-size:18px}}
@media(max-height:500px){.temple-minimap{flex-direction:row;width:108px;min-height:44px}.temple-minimap svg{width:40px;height:32px}.temple-map-body{grid-template-columns:minmax(0,1fr) minmax(200px,1fr)}.temple-map-plot svg{max-height:65dvh}}

.temple-map-list{margin-bottom:12px}.temple-map-description{margin:10px 0;min-height:18px}.temple-map-feedback{margin:8px 0 0}.temple-map-list button{overflow-wrap:anywhere}

.temple-map-body{grid-template-columns:minmax(0,1fr);gap:12px}
.temple-map-plot svg{max-height:65dvh}
.temple-map-sidebar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:16px}
.temple-map-legend,.temple-map-feedback,.temple-map-directory{grid-column:1/-1}
.temple-map-description{margin:4px 0}.temple-map-go{width:auto;max-width:100%}
.temple-map-directory summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:#ceb483;font-size:12px}
.temple-map-directory .temple-map-list{grid-template-columns:repeat(3,minmax(0,1fr));max-height:24dvh}
.temple-map-label{cursor:pointer}.temple-map-label text{font:600 6.1px Quicksand,system-ui,sans-serif;paint-order:stroke;stroke:#1b211a;stroke-width:1.6px;stroke-linejoin:round}
.temple-map-label.is-selected text,.temple-map-label:focus text{fill:#fff;stroke:#78512d;stroke-width:2px}.temple-map-label:focus{outline:none}
@media(max-width:700px){.temple-map-plot svg{max-height:none}.temple-map-sidebar{grid-template-columns:minmax(0,1fr)}.temple-map-go{width:100%;margin-top:6px}.temple-map-directory .temple-map-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-height:500px){.temple-map-body{grid-template-columns:minmax(0,1.5fr) minmax(180px,1fr)}.temple-map-sidebar{display:block}.temple-map-plot svg{max-height:64dvh}}
