.lobby-list {
    display: flex;
    flex-direction: column;
    gap: 12px;

    margin-top: 24px;
}

.lobby-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 22px;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition:
        background 120ms ease,
        transform 120ms ease,
        border-color 120ms ease,
        box-shadow 120ms ease;
}

.lobby-card:hover {
    background: var(--surface-hover);
    border-color: #3a3945;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.lobby-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.lobby-code {
    font-size: 18px;
    font-weight: 750;
    letter-spacing: 0.06em;

    color: var(--text);
}

.lobby-game {
    color: var(--text-muted);
    font-size: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 18px;

    border: 0;
    border-radius: 10px;

    background: var(--accent);
    color: white;

    font: inherit;
    font-weight: 650;

    cursor: pointer;

    transition:
        background 120ms ease,
        transform 120ms ease;
}
