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

.cock-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    border: 1px solid #ffccbc;
    box-shadow: 0 4px 16px rgba(230, 81, 0, 0.1);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.cock-card:active {
    transform: scale(0.985);
    box-shadow: 0 2px 8px rgba(230, 81, 0, 0.16);
}

.cock-card__visual {
    position: relative;
    height: 128px;
    overflow: hidden;
    background: linear-gradient(135deg, #bf360c 0%, #e65100 50%, #ff9800 100%);
}

.cock-card--ws168 .cock-card__visual {
    background: linear-gradient(135deg, #8b0000 0%, #c62828 45%, #ff6f00 100%);
}

.cock-card--default .cock-card__visual {
    background: linear-gradient(135deg, #4e342e 0%, #bf360c 55%, #ff8f00 100%);
}

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

.cock-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.08) 100%
    );
    pointer-events: none;
}

.cock-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);
}

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

.cock-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(211, 47, 47, 0.9);
}

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

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

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

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

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

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

.cock-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, #c62828, #ef6c00);
    box-shadow: 0 3px 10px rgba(198, 40, 40, 0.35);
    pointer-events: none;
}

.cock-card--ws168 .cock-card__btn {
    background: linear-gradient(135deg, #b71c1c, #e65100);
    box-shadow: 0 3px 10px rgba(183, 28, 28, 0.35);
}

#cockfighting-provider-list.cock-cards-grid {
    list-style: none;
    margin: 0;
    padding: 10px 8px 16px;
}

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

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

.wrapper .Cockfighting.cock-cards-grid > div,
.wrapper .Cockfighting.block.cock-cards-grid > div {
    margin-top: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

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

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