/* LIvVE Chat Lobbies v277
 * Chat now deliberately reuses /games/assets/games.css so Card & Board/Poker
 * and Chat share the exact shell, rail, feature, lobby-table and info styling.
 * Keep only Chat-specific deltas in this file.
 */

.chat-category-visual img,
.chat-feature-visual img,
.chat-welcome-image {
    object-fit: cover;
}

.chat-feature-visual img {
    width: 150px;
    height: 118px;
}

.chat-group-list,
.chat-real-lobby-list {
    margin-top: 16px;
}

.chat-lobby-information {
    margin-top: 24px;
}

.chat-adult-warning {
    padding: 10px 12px;
    border-left: 3px solid #d22;
    background: #fff5f5;
    color: #8c1111;
}
.chat-adult-warning strong { color: #c40000; }

.chat-install-note {
    display: grid;
    gap: 3px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid #e4cf8b;
    border-radius: 8px;
    background: #fff9e5;
    color: #5d531f;
    font-size: 11px;
    line-height: 1.45;
}
.chat-install-note strong {
    color: #514713;
    font-size: 12px;
}

#chat-lobbies,
#chat-information {
    scroll-margin-top: 18px;
}

@media (max-width: 620px) {
    .chat-feature-visual {
        width: 150px;
        max-width: 100%;
    }
}


/* v279 - category directory has no redundant Open column.
 * The lobby name itself is the link to the database-driven detail page. */
.chat-group-list .database-lobby-table-header,
.chat-group-list .database-lobby-row {
    grid-template-columns: 46px minmax(0, 1fr) minmax(80px, auto);
}

@media (max-width: 620px) {
    .chat-group-list .database-lobby-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .chat-group-list .database-lobby-name {
        grid-column: 1;
    }
    .chat-group-list .database-lobby-types {
        grid-column: 2;
        justify-content: flex-end;
    }
}

/* v301 - directory-wide live Chat totals in the category rail heading. */
.chat-directory-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
}

.chat-directory-stat {
    min-width: 0;
    padding: 7px 8px;
    border: 1px solid #d8c8ce;
    border-radius: 6px;
    background: var(--theme-accent-soft);
    text-align: center;
}

.chat-directory-stat strong {
    display: block;
    color: var(--pink-dark);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.1;
}

.chat-directory-stat small {
    display: block;
    margin-top: 2px;
    color: #66666b;
    font-size: 8px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .035em;
}
