/* Main map view. */

.map-intro {
    max-width: 640px;
}

.main-map {
    height: 60vh;
    min-height: 380px;
}

@media (max-width: 700px) {
    .main-map {
        height: 55vh;
        min-height: 320px;
    }
}

/* Marker with cat thumbnails. */

.home-marker-wrap {
    background: none;
    border: none;
}

.home-marker {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    background: #fff;
    border: 2px solid #2f6d5a;
    border-radius: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%);
    width: max-content;
}

.unknown-marker {
    border-color: #6b7a72;
    border-style: dashed;
}

.home-marker img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.home-marker-letter,
.home-marker-empty,
.home-marker-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2f6d5a;
    color: #fff;
    font-size: 13px;
    font-family: Georgia, serif;
}

.unknown-marker .home-marker-letter {
    background: #6b7a72;
}

.home-marker-more {
    background: #5a6b62;
}

/* Popup content. */

.home-popup h3 {
    margin: 0 0 6px 0;
}

.home-popup ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-popup li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0;
}

.home-popup img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

/* Missing cats lifted to the top of the start page. */

.missing-banner {
    background: #f7e8de;
    border: 1px solid #b0552b;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.missing-banner h2 {
    margin-top: 0;
    color: #8f421f;
}

.missing-lead {
    margin-top: 0;
}

.missing-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #e3cdbd;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
}

.missing-card:hover {
    border-color: #b0552b;
}

.missing-card img,
.missing-letter {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.missing-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #b0552b;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 1.4em;
}

.missing-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.missing-body small {
    color: #5a6b62;
}

.missing-body .missing-status {
    color: #8f421f;
}

.missing-marker {
    border-color: #b0552b;
    border-width: 3px;
}
