.city-selector {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 1002;
    min-width: 200px;
    max-width: min(280px, calc(100vw - 24px));
    max-height: min(320px, calc(100vh - var(--header-height) - 24px));
    overflow-y: auto;
    padding: 6px;
    background: rgba(15, 15, 30, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.city-selector[hidden] {
    display: none;
}

.city-selector__option {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.city-selector__option:hover {
    background: rgba(94, 72, 249, 0.12);
    color: var(--text-primary);
}

.city-selector__option--active {
    color: var(--accent-light);
    background: rgba(94, 72, 249, 0.16);
}

.city-selector__empty {
    padding: 10px 12px;
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 1100px) {
    .city-selector {
        position: fixed;
        top: var(--header-height);
        left: 12px;
        right: 12px;
        min-width: 0;
        max-width: none;
    }
}
