/* ── Sport providers (home + lobby) ── */
.sport-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 6px 4px 12px;
}

.sport-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    border: 1px solid #dbeafe;
    box-shadow: 0 4px 16px rgba(33, 150, 243, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.sport-card:active {
    transform: scale(0.985);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.12);
}

.sport-card__visual {
    position: relative;
    height: 118px;
    overflow: hidden;
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 55%, #42a5f5 100%);
}

.sport-card--cmd .sport-card__visual {
    background: linear-gradient(135deg, #1b5e20 0%, #388e3c 55%, #66bb6a 100%);
}

.sport-card--sbo .sport-card__visual {
    background: linear-gradient(135deg, #bf360c 0%, #f57c00 55%, #ffb74d 100%);
}

.sport-card--saba .sport-card__visual {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #29b6f6 100%);
}

.sport-card__cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.92;
}

.sport-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.15) 45%,
        rgba(0, 0, 0, 0.05) 100%
    );
    pointer-events: none;
}

.sport-card__tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(4px);
}

.sport-card__tag i {
    font-size: 9px;
}

.sport-card__live {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: rgba(239, 68, 68, 0.85);
}

.sport-card__live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: sportLivePulse 1.4s ease-in-out infinite;
}

@keyframes sportLivePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.sport-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
}

.sport-card__info {
    flex: 1;
    min-width: 0;
}

.sport-card__name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 3px;
}

.sport-card__desc {
    font-size: 11px;
    color: #64748b;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sport-card__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 88px;
    padding: 9px 16px;
    border: none;
    border-radius: 22px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #1976d2, #2196f3);
    box-shadow: 0 3px 10px rgba(33, 150, 243, 0.35);
    pointer-events: none;
}

.sport-card--cmd .sport-card__btn {
    background: linear-gradient(135deg, #2e7d32, #43a047);
    box-shadow: 0 3px 10px rgba(46, 125, 50, 0.35);
}

.sport-card--sbo .sport-card__btn {
    background: linear-gradient(135deg, #e65100, #fb8c00);
    box-shadow: 0 3px 10px rgba(230, 81, 0, 0.35);
}

.sport-card--saba .sport-card__btn {
    background: linear-gradient(135deg, #1565c0, #1e88e5);
    box-shadow: 0 3px 10px rgba(21, 101, 192, 0.35);
}

/* Lobby page list reset */
#sport-provider-list.sport-cards-grid {
    list-style: none;
    margin: 0;
    padding: 10px 8px 16px;
}

#sport-provider-list.sport-cards-grid > li {
    display: block;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

#sport-provider-list.sport-cards-grid .icon {
    display: none !important;
}

/* Override legacy home sport styles */
.wrapper .Sport.sport-cards-grid > div,
.wrapper .Sport.block.sport-cards-grid > div {
    margin-top: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.wrapper .Sport.sport-cards-grid .btn {
    display: none !important;
}

.sport-cards-loading {
    text-align: center;
    padding: 28px 12px;
    color: #94a3b8;
    font-size: 13px;
}

.sport-cards-loading i {
    display: block;
    font-size: 22px;
    margin-bottom: 8px;
    color: #2196f3;
}
