/* ── live.css — SkibidiLii Livestream Feature ── */

/* ── Live grid (index page) ── */
.live-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 0;
}
.live-card {
    width: 200px;
}
.live-thumb-wrap { display: block; text-decoration: none; }
.live-thumb {
    width: 200px;
    height: 112px;
    background: #111;
    position: relative;
    overflow: hidden;
    border: 1px solid #ccc;
}
.live-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85;
}
.live-thumb:hover img { opacity: 1; }
.live-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #c00;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 1px 5px;
    letter-spacing: 0.5px;
    border-radius: 2px;
}
.live-badge-sm {
    color: #c00;
    font-weight: bold;
    font-size: 12px;
}
.live-card-info { padding: 4px 0; }
.live-card-title {
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: #00c;
    text-decoration: none;
    line-height: 16px;
    margin-bottom: 2px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.live-card-title:hover { text-decoration: underline; color: #c00; }

/* ── Empty state ── */
.live-empty {
    text-align: center;
    padding: 30px 0;
    color: #666;
    font-size: 14px;
    line-height: 24px;
}

/* ── Action bar (matches Watch.php .w_actions) ── */
#vtbl_actions .w_actions {
    border-top: 1px solid #ccc;
    padding: 5px 0;
    overflow: hidden;
    margin-top: 4px;
}
#vtbl_actions .w_views {
    float: right;
    font-size: 13px;
    padding: 3px 0;
    color: #444;
}
#vtbl_actions .w_lnks {
    float: left;
}
#vtbl_actions .w_lnks a {
    display: inline-block;
    margin-right: 8px;
    font-size: 12px;
    color: #00c;
    text-decoration: none;
    vertical-align: middle;
}
#vtbl_actions .w_lnks a:hover { text-decoration: underline; color: #c00; }
#vtbl_actions .w_lnks a img {
    vertical-align: middle;
    margin-right: 3px;
}

/* ── Responsive shrink for narrower viewports ── */
@media (max-width: 700px) {
    #live_player_wrap { float: none; width: 100%; margin-right: 0; }
    #live_sidebar { float: none; width: 100%; margin-top: 10px; }
}
