#map_preview {position: fixed;z-index: 1;bottom: 32px;right: 40px;width: 160px;height: 100px;background: #ccc;border-radius: 12px;border: 3px solid #fff;box-shadow: 0px 0px 5px 0 #00000070;overflow: hidden;cursor: pointer;}
#map_preview img { height: 100%;object-fit: cover;}
.settlement-popup-overlay {position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 5vh 6vw; background: #0a0a0a29;backdrop-filter: blur(5px); }
.settlement-popup-overlay.is-open {display: flex;}
.settlement-popup {position: relative;width: fit-content;max-width: 88vw;max-height: 78vh;overflow: hidden;background: #E7E7E7;border-radius: 18px;}
.settlement-popup__content {position: relative;padding: 32px 32px 30px;overflow: hidden;}
.settlement-popup__close {position: absolute; top: 18px; right: 18px; z-index: 30; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.settlement-popup__close::before,
.settlement-popup__close::after {content: ""; position: absolute; left: 7px; top: 21px; width: 30px; height: 3px; background: #000000; border-radius: 10px; }
.settlement-popup__close::before {transform: rotate(45deg);}
.settlement-popup__close::after {transform: rotate(-45deg);}
.settlement-popup__title {position: relative;z-index: 4;margin: 0 90px 24px 0;color: #000000;font-size: 28px;line-height: 1;font-weight: 700;letter-spacing: 0.015em;text-transform: uppercase;font-family: 'Stolzl';}
.settlement-popup__layout {
    position: relative;
    padding-right: 374px;
}
.settlement-map {position: relative;display: inline-block;vertical-align: top;overflow: hidden;border: 4px solid #ffffff;border-radius: 18px;background: #b7b0a2;z-index: 2;}
.settlement-map__image {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(88vw - 458px);
    max-height: calc(78vh - 125px);
    user-select: none;
    pointer-events: none;
}
.settlement-map__markers {position: absolute; inset: 0; z-index: 5; }
.settlement-marker {position: absolute;transform: translate(-50%, -50%);width: 34px;height: 34px;padding: 0;display: flex;align-items: center;justify-content: center;border: 3px solid #000000;border-radius: 50%;background: #ffffff;color: #000000;font-size: 16px;line-height: 1;font-weight: 700;cursor: pointer;font-family: 'Stolzl';}
.no-touchevents .settlement-marker:hover,
.no-touchevents .settlement-marker:focus-visible,
.no-touchevents .settlement-marker.is-active {background: #AD0524;outline: none;border: 3px solid #AD0524;color: #ffffff;}
.settlement-marker--1 {left: 48.5%; top: 53.5%; }
.settlement-marker--2 {left: 73.0%; top: 32.0%; }
.settlement-marker--3 {left: 70.7%; top: 52.3%; }
.settlement-marker--4 {left: 25.5%; top: 82.0%; }
.settlement-marker--5 {left: 18.8%; top: 54.0%; }
.settlement-marker--6 {left: 33.8%; top: 33.5%; }
.settlement-marker--7 {left: 68.3%; top: 80.7%; }
.settlement-marker--8 {left: 49.0%; top: 78.5%; }
.settlement-popup__menu {
    position: absolute;
    top: 0;
    right: 5px;
    bottom: 0;
    width: 340px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    padding-right:20px;
     z-index: 3;
}
.settlement-popup__menu::-webkit-scrollbar {width: 4px;}
.settlement-popup__menu::-webkit-scrollbar-thumb {background-color: #707070;border-radius: 9em;box-shadow: inset 1px 1px 10px #707070;}
.settlement-list {position: relative; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; list-style: none; }
.settlement-list__item {font-family: 'Stolzl';flex: 0 0 auto; min-width: 0; min-height: 52px; display: flex; align-items: center; gap: 16px; padding: 2px 14px; border-radius: 999px; cursor: pointer; transition: background-color 160ms ease; }
.no-touchevents .settlement-list__item:hover,
.no-touchevents .settlement-list__item:focus-visible,
.no-touchevents .settlement-list__item.is-active {
    background: rgba(255, 255, 255, 0.78);
    outline: none;
}
.settlement-list__number {flex: 0 0 36px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 3px solid #000000; border-radius: 50%; background: #ffffff; color: #000000; font-size: 18px; line-height: 1; font-weight: 700; }
.settlement-list__text {min-width: 0; color: #111111; font-size: 22px; line-height: 1.08; font-weight: 400; white-space: nowrap; }
.settlement-popup__spiral {position: absolute; right: -70px; bottom: -90px; z-index: 1; width: 330px; pointer-events: none; user-select: none; }
.settlement-popup__spiral img {display: block; width: 100%; height: auto; }
@media (max-width: 1250px) {
.settlement-popup__layout {padding-right: 354px;}
.settlement-popup__menu {width: 320px;}
.settlement-map__image {max-width: calc(88vw - 418px);}
.settlement-list__text {font-size: 20px;}
.settlement-list__item {gap: 13px; padding-left: 10px; padding-right: 10px; }
.settlement-popup__title {font-size: 24px;}
}
@media screen and (max-width: 770px) {
#map_preview {display:none;}
#map_preview_mobile {display:block;width: 50px;height: 50px;background: rgb(255 255 255);border-radius: 50%;background-repeat: no-repeat;background-image: url(assets/icon/map.svg);background-size: 34px;background-position: 50%;position: fixed;z-index: 1;bottom: 30px;right: 42px;}
.settlement-popup__title {font-size: 22px;}
.settlement-popup__close {background: #fff;border-radius: 50%;width: 40px;height: 40px;right: 15px;}
.settlement-popup__close::before, .settlement-popup__close::after {width: 20px;left: 10px;top: 19px;}
.settlement-popup-overlay {padding: 5vh 5vw;}
.settlement-popup {width: 90vw; max-width: 90vw; max-height: 90vh;}
.settlement-popup__content {max-height: 90vh; overflow-y: auto;}
.settlement-popup__layout {padding-right: 0;}
.settlement-map {display: block; width: 100%;}
.settlement-map__image {width: 100%; height: auto; max-width: none; max-height: none;}
.settlement-popup__menu {position: relative; top: auto; right: auto; bottom: auto; width: 100%; height: auto; margin-top: 20px; padding-right: 0; overflow: visible; }
.settlement-list__text {white-space: normal; }
.settlement-list {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 2px; }
}
@media screen and (max-width: 590px) {
.settlement-popup-overlay {padding: 22px;}
.settlement-popup {width: 100%;max-width: 100%;max-height: calc(100dvh - 44px);}
.settlement-popup__content {max-height: calc(100dvh - 44px);padding: 32px 26px 30px;}
.settlement-popup__menu {margin-top: 32px;}
.settlement-list {display: flex;row-gap: 18px;}
.settlement-list__item {min-height: auto;padding-left: 18px;}
}
@media screen and (max-width: 480px) {
#map_preview_mobile {right: 26px;bottom: 26px;}
}
@media screen and (max-width: 430px) {
.settlement-popup-overlay {padding: 16px;}
.settlement-popup {max-height: calc(100dvh - 32px);}
.settlement-popup__close {width: 36px;height: 36px;right: 18px;}
.settlement-popup__close::before, .settlement-popup__close::after {height: 2px; width: 17px; left: 10px; top: 17px; }
.settlement-popup__content {padding: 32px 22px 30px; }
.settlement-map {border: 3px solid #ffffff; }
.settlement-marker {border: none; width: 28px; height: 28px; font-size: 14px; }
.settlement-popup__title {font-size: 18px;margin: 0 50px 24px 4px;}
.settlement-list {row-gap: 14px; }
.settlement-list__number {flex: 0 0 34px; width: 34px; height: 34px; border: 2px solid #000000; }
}
@media screen and (max-width: 375px) {
#map_preview_mobile {right: 22px; bottom: 22px; }
}