/* ── Shared lobby v2: top nav + 2-col banner cards ── */
.lobby-top-cats,
.slot-top-cats {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: #fff;
    border-bottom: 1px solid #eef2f7;
}

.lobby-top-cats::-webkit-scrollbar,
.slot-top-cats::-webkit-scrollbar {
    display: none;
}

.lobby-top-cat,
.slot-top-cat {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 8px 10px;
    border-radius: 12px;
    border: none;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.lobby-top-cat i,
.slot-top-cat i {
    font-size: 18px;
    margin-bottom: 4px;
}

.lobby-v2 .wrapper {
    padding-top: 52px;
}

.lobby-v2 .game-lobby-content.flex {
    min-height: calc(100vh - 160px);
}

.lobby-v2 .board-provider-card {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.lobby-v2 .game-item {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.lobby-top-cat.active,
.slot-top-cat.active {
    background: var(--slot-accent-visible, #2195f3);
    color: #fff;
    box-shadow: 0 4px 12px rgba(33, 149, 243, 0.35);
}

/* 2-column provider banner grid (Live / Sport / Cockfighting) */
.lobby-v2 .wrapper {
    padding-top: 0 !important;
}

.lobby-v2 .wrapper > .list,
.lobby-v2 .swiper.list {
    display: none !important;
}

.lobby-banner-wrap {
    padding: 10px 10px 80px;
    background: #f5f7fa;
    min-height: calc(100vh - 160px);
}

.lobby-banner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lobby-banner-grid > li {
    display: block;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.lobby-banner-card {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 96px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e8eef5;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.lobby-banner-card:active {
    transform: scale(0.985);
}

.lobby-banner-card__badges {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 3;
    display: flex;
    gap: 4px;
}

.lobby-banner-card__badge {
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.lobby-banner-card__badge--hot {
    background: #f97316;
}

.lobby-banner-card__badge--new {
    background: #ef4444;
}

.lobby-banner-card__left {
    flex: 0 0 46%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 12px 10px;
    z-index: 2;
}

.lobby-banner-card__logo {

    object-fit: contain;
    object-position: left center;
    margin-bottom: 6px;
}

.lobby-banner-card__name {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.25;
}

.lobby-banner-card__desc {
    margin-top: 2px;
    font-size: 9px;
    color: #64748b;
    line-height: 1.2;
}

.lobby-banner-card__hero {
    flex: 1;
    position: relative;
    min-width: 0;
    overflow: hidden;
}

.lobby-banner-card__hero img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.lobby-banner-card__hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.2) 35%, transparent 100%);
    pointer-events: none;
}

.lobby-banner-card--sport .lobby-banner-card__hero-shade {
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.15) 40%, transparent 100%);
}

.lobby-banner-card--live .lobby-banner-card__hero-shade {
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.1) 45%, transparent 100%);
}

.lobby-banner-loading,
.lobby-banner-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 16px;
    color: #94a3b8;
    font-size: 13px;
}

.lobby-banner-loading i {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--slot-accent-visible, #2195f3);
}

/* Fish reuses slot-lobby-v2 body classes */
.fish-lobby-v2 {
    --slot-accent: transparent;
    --slot-accent-visible: #2195f3;
    --slot-bg: #f5f7fa;
    --slot-surface: #ffffff;
    --slot-text: #1e293b;
    --slot-muted: #94a3b8;
    background: var(--slot-bg);
    min-height: calc(100vh - 112px);
}

.fish-lobby-v2 .fish-grid-footer {
    padding: 8px 12px 4px;
    font-size: 11px;
    color: #64748b;
    text-align: center;
}

.fish-lobby-v2 .fish-grid-footer__bar {
    height: 3px;
    background: #e2e8f0;
    border-radius: 3px;
    margin-bottom: 6px;
    overflow: hidden;
}

.fish-lobby-v2 .fish-grid-footer__bar span {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--slot-accent-visible, #2195f3);
    border-radius: 3px;
}
