.active-spots-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.active-spots-feed {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.active-spot-card {
    border: 1px solid var(--border-color, #ddd);
    border-radius: 8px;
    background: var(--bg-content);
    overflow: hidden;
}

.active-spot-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color, #ddd);
}

.active-spot-card-location {
    font-weight: 600;
    font-size: 1.05rem;
}

.active-spot-card-position .position {
    font-family: ui-monospace, monospace;
}

.active-spot-card-body {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: stretch;
}

.active-spot-card-map-wrap {
    display: flex;
    flex-direction: column;
    width: 200px;
    min-height: 200px;
    background: #1a1a1a;
    border-right: 1px solid var(--border-color, #ddd);
}

.active-spot-map {
    flex: 1 1 auto;
    width: 100%;
    min-height: 200px;
    height: 100%;
}

.active-spot-map.leaflet-container {
    height: 100%;
    min-height: 200px;
}

.active-spot-map--empty,
.active-spot-map--locked {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: #aaa;
    font-size: 0.9rem;
}

.active-spot-card-stats {
    padding: 10px;
    min-width: 0;
}

.active-spot-card-stats .posts-list-stats-inner {
    margin: 0;
}

.active-spot-card-stats .posts-list-stats-lists--spot-card .posts-list-stats-lists-detail {
    display: block;
}

.active-spot-card-stats .posts-list-stats-lists--spot-card .posts-list-stats-lists-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.active-spots-empty {
    text-align: center;
    opacity: 0.75;
    padding: 2rem 1rem;
}

@media (max-width: 900px) {
    .active-spot-card-body {
        grid-template-columns: 1fr;
    }

    .active-spot-card-map-wrap {
        width: 100%;
        min-height: 200px;
        max-height: 240px;
        border-right: 0;
        border-bottom: 1px solid var(--border-color, #ddd);
    }

    .active-spot-map,
    .active-spot-map.leaflet-container,
    .active-spot-map--empty,
    .active-spot-map--locked {
        min-height: 200px;
        max-height: 240px;
    }

    .active-spot-card-stats .posts-list-stats-lists--spot-card .posts-list-stats-lists-body {
        grid-template-columns: 1fr;
    }
}
