.ymap-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.ymap-inline {
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.ymap-page__header h1 {
    margin: 0 0 8px;
}

@media (max-width: 480px) {
    .ymap-page__header h1 {
        margin: 0 0 8px;
        font-size: 1.6em;
    }
}

.ymap-page__count {
    color: #6b7280;
    margin: 0 0 20px;
}

.ymap-page__error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 8px;
    padding: 20px;
}

.ymap-page__footer {
    margin-top: 20px;
    color: #6b7280;
    font-size: 14px;
}

.ymap-sidebar {
    margin-bottom: 24px;
}

.ymap-sidebar__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ymap-sidebar__mini {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.ymap-sidebar__link {
    font-weight: 600;
}

.ymap-editor-map {
    margin-top: 8px;
}

.ymap-marker {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ymap-marker__shape {
    position: relative;
    display: block;
    flex-shrink: 0;
    background: #fff;
    overflow: hidden;
    transition: transform 0.15s ease;
}

.ymap-marker__shape:hover {
    transform: scale(1.12);
}

.ymap-marker__shape--circle { clip-path: circle(50% at 50% 50%); }
.ymap-marker__shape--square { clip-path: inset(0 round 12%); }
.ymap-marker__shape--star { clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.ymap-marker__shape--hexagon { clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%); }
.ymap-marker__shape--diamond { clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); }

.ymap-marker__photo,
.ymap-marker__dot {
    position: absolute;
    inset: 2px;
    display: block;
    width: auto;
    height: auto;
    background-size: cover;
    background-position: center;
    clip-path: inherit;
}
