.map-launch-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.map-launch-panel .btn {
    width: auto;
    min-width: min(100%, 18rem);
}

.map-page-card {
    display: grid;
    gap: 0.85rem;
    padding: 1.25rem;
}

.map-filter-accordion {
    margin-bottom: 0.1rem;
}

.map-filter-body .public-capture-filter-form {
    margin-top: 0;
    gap: 0.85rem;
}

.map-filter-body .action-row {
    gap: 0.6rem;
}

.feed-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feed-list-status {
    text-align: center;
}

.load-more-row {
    margin: 2rem 0;
    text-align: center;
}

.dashboard-span-full {
    grid-column: 1 / -1;
}

.section-spaced {
    margin-top: 2rem;
}

.public-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.profile-activity-card {
    display: grid;
    gap: 0.85rem;
}

.profile-activity-launch-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.profile-activity-launch-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.my-map-header {
    background: none;
    box-shadow: none;
    padding-bottom: 0;
}

.my-map-back-link {
    border-radius: 999px;
}

.my-map-head {
    padding: 0 0.9rem;
}

.my-map-note {
    margin-top: 0.5rem;
}

.my-map-container {
    margin: 0.5rem 0.9rem 1rem;
}

.map-popup-content h4 a {
    color: inherit;
    text-decoration: none;
}

.map-popup-content h4 a:hover,
.map-popup-content h4 a:focus-visible {
    text-decoration: underline;
}

.map-popup-placeholder {
    display: grid;
    place-items: center;
    min-height: 9rem;
    border-radius: var(--radius-sm);
    background: rgba(19, 38, 29, 0.08);
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.map-popup-content img {
    width: 100%;
    max-width: 13rem;
    max-height: 11rem;
    object-fit: cover;
    border-radius: 0.95rem;
    margin: 0 auto 0.6rem;
}

.map-popup-content h4 {
    margin: 0 0 0.2rem;
    font-size: 1rem;
}

.map-popup-content p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.map-popup-content .map-popup-action {
    width: 100%;
    justify-content: center;
    margin-top: 0.7rem;
}

.hzd-cluster-icon {
    background: transparent;
    border: 0;
}

.hzd-map-thumb-icon {
    background: transparent;
    border: 0;
}

.hzd-map-thumb-marker {
    position: relative;
    width: 3.625rem;
    height: 4.5rem;
    display: grid;
    place-items: start center;
    cursor: pointer;
    transform: translateZ(0);
    transition: transform 150ms ease, filter 150ms ease;
}

.hzd-map-thumb-marker__frame {
    width: 3.2rem;
    height: 3.2rem;
    display: block;
    overflow: hidden;
    border-radius: 1rem;
    border: 3px solid rgba(255, 255, 255, 0.94);
    background: linear-gradient(135deg, rgba(24, 93, 41, 0.84), rgba(59, 129, 78, 0.92));
    box-shadow: 0 18px 28px rgba(19, 38, 29, 0.28);
}

.hzd-map-thumb-marker__frame img,
.hzd-map-thumb-marker__placeholder {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hzd-map-thumb-marker__placeholder {
    display: grid;
    place-items: center;
    color: #f8f2e7;
    font-size: 1.05rem;
    font-weight: 800;
}

.hzd-map-thumb-marker__pin {
    position: absolute;
    top: 2.85rem;
    width: 1.1rem;
    height: 1.1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.3rem 0.3rem 0.95rem 0.3rem;
    transform: rotate(45deg);
    box-shadow: 0 12px 18px rgba(19, 38, 29, 0.2);
}

.hzd-map-thumb-marker__pin::after {
    content: "";
    position: absolute;
    inset: 0.18rem;
    border-radius: 0.24rem 0.24rem 0.75rem 0.24rem;
    background: linear-gradient(135deg, rgba(24, 93, 41, 0.9), rgba(59, 129, 78, 0.96));
}

.hzd-map-thumb-icon:hover .hzd-map-thumb-marker,
.hzd-map-thumb-icon:focus-visible .hzd-map-thumb-marker {
    transform: translateY(-2px) scale(1.04);
    filter: saturate(1.05);
}

.hzd-map-thumb-icon:focus-visible .hzd-map-thumb-marker__frame {
    outline: 3px solid rgba(214, 132, 48, 0.55);
    outline-offset: 2px;
}

.hzd-map-marker-tooltip-shell {
    border: 0;
    border-radius: 999px;
    background: rgba(19, 38, 29, 0.94);
    color: #f8f2e7;
    box-shadow: 0 16px 28px rgba(19, 38, 29, 0.24);
}

.hzd-map-marker-tooltip {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
    padding: 0.45rem 0.7rem;
}

.hzd-map-marker-tooltip strong,
.hzd-map-marker-tooltip span {
    display: block;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hzd-map-marker-tooltip strong {
    font-size: 0.82rem;
    line-height: 1.2;
}

.hzd-map-marker-tooltip span {
    font-size: 0.72rem;
    line-height: 1.2;
    color: rgba(248, 242, 231, 0.8);
}

.hzd-cluster-bubble {
    width: 3.6rem;
    height: 3.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #f8f2e7;
    border: 4px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 32px rgba(19, 38, 29, 0.24);
    background: linear-gradient(135deg, rgba(24, 93, 41, 0.92), rgba(59, 129, 78, 0.96));
    backdrop-filter: blur(10px);
}

.hzd-cluster-bubble strong {
    font-size: 1rem;
    line-height: 1;
}

.hzd-cluster-bubble.is-medium {
    background: linear-gradient(135deg, rgba(173, 95, 36, 0.92), rgba(214, 132, 48, 0.96));
}

.hzd-cluster-bubble.is-large {
    background: linear-gradient(135deg, rgba(125, 40, 30, 0.94), rgba(173, 64, 52, 0.98));
}

@media (max-width: 700px) {
    .map-launch-panel .btn {
        width: 100%;
        min-width: 0;
    }

    .profile-activity-launch-grid {
        grid-template-columns: 1fr;
    }
}
