.nearby-item {
    width: 100%;
}
.nearby-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
/* LEVÝ SLOUPEC – názvy */
.nearby-col-name {
    flex: 1 1 120px;
    min-width: 0;
    font-weight: 600;
    font-size: 13px;
    color: #23154e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nearby-col-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    align-items: center;
}
.nearby-name {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
}
/* CHIPY */
.nearby-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.nearby-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 2px 8px;
    border: 1px solid #63c2c6;
    border-radius: 3px;
    font-size: 12px;
    color: #23154e;
}
.nearby-chip i.mdi {
    font-size: 0.85rem;
    padding-right: 5px;
}
.nearby-chip.is-distance {
    background: rgba(244, 196, 26, .28);
    border-color: #f4c41a;
    font-weight: 600;
}
.nearby-chip.is-walk { }
.nearby-chip.is-car { }
.nearby-chip.is-bike { }
.nearby-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nearby-list .nearby-entry {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: center;
    column-gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid #ebebeb;
    color: #23154e;
}
.nearby-list .nearby-entry > strong {
    margin: 0;
    white-space: nowrap;
    font-size: 13px;
}
.nearby-slot {
    width: 100%;
    min-width: 0;
}
.nearby-empty {
    color: #6c757d !important;
    font-size: 0.8rem;
}
@media (max-width: 599px) {
    .nearby-list .nearby-entry {
        grid-template-columns: 1fr;
        row-gap: 8px;
        align-items: start;
    }

    .nearby-col-chips {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
    }

    .nearby-chip {
        min-width: 0;
        padding: 2px 4px;
        font-size: 11px;
    }
}
.nearby-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    margin-right: 8px;
    border: 1px solid rgba(0, 0, 0, .06);
    white-space: nowrap;
}
.nearby-badge .g { font-weight: 800; }
.nearby-badge .s { opacity: .85; font-weight: 700; }
.nearby-badge.gA { background: #e8f6ee; color: #1f6a3a; }
.nearby-badge.gB { background: #eef8e7; color: #2c6b1f; }
.nearby-badge.gC { background: #fff6d7; color: #7a5a00; }
.nearby-badge.gD { background: #ffe7d6; color: #7a2f00; }
.nearby-badge.gE { background: #ffe1e1; color: #7a0000; }
.nearby-chip.is-best {
    box-shadow: 0 0 0 2px rgba(99, 194, 198, .7) inset;
    background: rgba(99, 194, 198, .16);
    font-weight: 700;
}
.nearby-loading,
.nearby-error,
.nearby-empty {
    font-size: 12px;
}