.ysmap-container {
    position: relative;
    overflow: hidden;
    background: #e8e8e8;
    cursor: grab;
    isolation: isolate;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.ysmap-container.ysmap-dragging {
    cursor: grabbing;
}

.ysmap-tile-pane,
.ysmap-marker-pane,
.ysmap-popup-pane {
    position: absolute;
    inset: 0;
}

.ysmap-tile-pane {
    z-index: 1;
    pointer-events: none;
    will-change: transform;
}

.ysmap-tile {
    position: absolute;
    width: 256px;
    height: 256px;
    max-width: none;
    border: 0;
    padding: 0;
    margin: 0;
    user-select: none;
    pointer-events: none;
}

.ysmap-marker-pane {
    z-index: 400;
    pointer-events: none;
}

.ysmap-marker {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: auto;
    cursor: pointer;
}

.ysmap-popup-pane {
    z-index: 500;
    pointer-events: none;
}

.ysmap-popup {
    position: absolute;
    display: none;
    transform: translate(-50%, -100%);
    min-width: 150px;
    padding: 12px;
    background: #ffffff;
    color: #333333;
    border-radius: 9px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
    font-family: Arial, sans-serif;
    font-size: 13px;
    pointer-events: auto;
    white-space: normal;
}

.ysmap-popup::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #ffffff transparent transparent;
}

.ysmap-attribution {
    position: absolute;
    z-index: 600;
    right: 0;
    bottom: 0;
    padding: 3px 7px;
    background: rgba(255, 255, 255, 0.8);
    color: #333333;
    font-family: Arial, sans-serif;
    font-size: 11px;
    line-height: 1.4;
}

.ysmap-attribution a {
    color: #16845b;
    text-decoration: none;
}

.ysmap-attribution a:hover {
    text-decoration: underline;
}

.ysmap-controls {
    position: absolute;
    z-index: 700;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    pointer-events: auto;
}

.ysmap-zoom-button {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 24px;
    line-height: 30px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 1px 5px rgba(0,0,0,.25);
}

.ysmap-zoom-button:hover:not(:disabled) {
    background: #f0f0f0;
}

.ysmap-zoom-button:disabled {
    opacity: .45;
    cursor: default;
}

.ysmap-tile-pane {
    transform-origin: center center;
}

.ysmap-zooming .ysmap-tile-pane {
    transition: transform 250ms ease-out;
}