/* ============================================================
   Live Sports Theme Stylesheet
============================================================ */

/* Default CSS custom properties (overridden by admin settings via inline style) */
:root {
    --livetv-primary: #dc2626;
    --livetv-primary-hover: #b91c1c;
    --livetv-header-bg: #dc2626;
    --livetv-section-border: #dc2626;
    --livetv-badge-live-bg: #dc2626;
    --livetv-badge-live-text: #ffffff;
    --livetv-badge-upcoming-bg: #000000;
    --livetv-badge-upcoming-text: #ffffff;
    --livetv-site-bg: #15151e;
    --livetv-card-bg: #ffffff;
    --livetv-card-title: #1a1a1a;
    --livetv-card-meta: #4b5563;
    --livetv-card-league: #dc2626;
    --livetv-card-border: #e8e8e8;
    --livetv-card-radius: 8px;
    --livetv-player-border-color: #dc2626;
    --livetv-player-border-width: 5px;
    --livetv-player-radius: 12px;
    --livetv-server-btn-bg: #f8fafc;
    --livetv-server-btn-text: #334155;
    --livetv-server-btn-active-bg: #dc2626;
    --livetv-server-btn-active-text: #ffffff;
    --livetv-container-width: 1200px;
}

/* ================= Scoped Plugin Container ================= */
.livetv-app,
.livetv-app * {
    box-sizing: border-box;
}

.livetv-app {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--livetv-site-bg, #15151e);
    color: #ffffff;
    line-height: 1.4;
    font-size: 14px;
    letter-spacing: -0.01em;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
}

.livetv-shortcode-container {
    padding: 0 !important;
    margin: 0 !important;
}

.livetv-app a {
    text-decoration: none;
    color: inherit;
}

.livetv-app .container {
    max-width: var(--livetv-container-width, 1200px);
    margin: 0 auto;
    padding: 0 !important;
}

.livetv-app [class$="-main"] {
    padding: 0 !important;
    background: var(--livetv-site-bg, #15151e);
}

/* ================= Main Content Container ================= */
.livetv-app [class*="-main"] {
    padding: 0 !important;
    background: var(--livetv-site-bg, #15151e);
    min-height: calc(100vh - 180px);
}

.livetv-app [class*="-page-header"] {
    margin-bottom: 28px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border-radius: 10px;
    padding: 24px 28px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.livetv-app [class*="-page-header"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--livetv-primary, #dc2626), var(--livetv-primary-hover, #ef4444), transparent);
}

.livetv-app [class*="-page-title"] {
    font-size: 28px;
    font-weight: 800;
    color: var(--livetv-primary, #dc2626);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.livetv-app [class*="-page-subtitle"] {
    color: #555555;
    font-size: 14px;
    line-height: 1.5;
}

/* Search Box */
.livetv-app [class*="-search-bar"] {
    margin: 18px 0 24px;
    display: flex;
    gap: 12px;
}

.livetv-app [class*="-search-bar"] input {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.livetv-app [class*="-search-bar"] input:focus {
    border-color: var(--livetv-primary, #dc2626);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

/* Section Header */
.livetv-app [class*="-section-header"] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 3px solid var(--livetv-section-border, #dc2626);
}

.livetv-app [class*="-section-title"] {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Events List & Cards */
.livetv-app [class*="-events-list"] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.livetv-app [class*="-event-card"] {
    background: var(--livetv-card-bg, #ffffff);
    border: 1px solid var(--livetv-card-border, #e8e8e8);
    border-radius: var(--livetv-card-radius, 8px);
    padding: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.livetv-app [class*="-event-card"]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--livetv-primary, #dc2626);
    transform: scaleY(0);
    transition: transform 0.25s ease;
}

.livetv-app [class*="-event-card"]::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 3px;
    background: var(--livetv-primary, #dc2626);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.livetv-app [class*="-event-card"]:hover::before { transform: scaleY(1); }
.livetv-app [class*="-event-card"]:hover::after  { transform: scaleX(1); }

.livetv-app [class*="-event-card"]:hover {
    border-color: var(--livetv-primary, #dc2626);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.12);
    transform: translateX(3px);
}

.livetv-app [class*="-event-info"] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 14px;
}

.livetv-app [class*="-league-icon"] {
    width: 48px;
    height: 48px;
    background: #000000;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border: 1px solid #e8e8e8;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.livetv-app [class*="-event-card"]:hover [class*="-league-icon"] {
    transform: scale(1.06);
}

.livetv-app [class*="-event-details"] {
    flex: 1;
    min-width: 0;
}

.livetv-app [class*="-event-title"] {
    font-size: 15px;
    font-weight: 700;
    color: var(--livetv-card-title, #1a1a1a);
    margin-bottom: 4px;
    line-height: 1.3;
}

.livetv-app [class*="-event-datetime"] {
    color: var(--livetv-card-meta, #4b5563);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
}

.livetv-app [class*="-event-league"] {
    color: var(--livetv-card-league, #dc2626);
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.livetv-app .event-status {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.3px;
}

.livetv-app .status-live {
    background: var(--livetv-badge-live-bg, #dc2626);
    color: var(--livetv-badge-live-text, #ffffff);
}

.livetv-app .status-upcoming {
    background: var(--livetv-badge-upcoming-bg, #000000);
    color: var(--livetv-badge-upcoming-text, #ffffff);
}

.livetv-app .live-dot {
    width: 6px;
    height: 6px;
    background: var(--livetv-badge-live-text, #fff);
    border-radius: 50%;
    margin-right: 4px;
    animation: livetvPulse 1.6s infinite;
}

@keyframes livetvPulse {
    0% { transform: scale(0.95); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(0.95); opacity: 1; }
}

/* ================= Single Event Hero Section ================= */
.hero-section {
    background: var(--livetv-card-bg, #ffffff);
    border-radius: var(--livetv-card-radius, 10px);
    padding: 32px 24px;
    margin-bottom: 24px;
    border: 1px solid var(--livetv-card-border, #e8e8e8);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--livetv-primary, #dc2626), var(--livetv-primary-hover, #ef4444), transparent);
}

.hero-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--livetv-card-title, #1a1a1a);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.hero-datetime {
    font-size: 15px;
    color: var(--livetv-primary, #dc2626);
    font-weight: 700;
    margin-bottom: 6px;
}

.hero-subtitle {
    font-size: 15px;
    color: var(--livetv-card-meta, #64748b);
    margin-bottom: 10px;
    font-weight: 600;
}

.hero-venue {
    font-size: 14px;
    color: var(--livetv-card-meta, #777777);
    font-style: italic;
}

/* Event Detail Card */
.event-detail-card {
    background: var(--livetv-card-bg, #ffffff);
    border: 1px solid var(--livetv-card-border, #e8e8e8);
    border-radius: var(--livetv-card-radius, 10px);
    padding: 1.5rem 1.75rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.event-detail-card h3 {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--livetv-primary, #dc2626);
    margin: 0 0 1.2rem 0;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-bottom: 2px solid var(--livetv-card-border, #f1f5f9);
    padding-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
}

.event-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(125, 125, 125, 0.07);
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--livetv-card-border, rgba(0, 0, 0, 0.05));
    transition: background 0.2s;
}

.event-detail-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--livetv-card-meta, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.event-detail-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--livetv-card-title, #0f172a);
}

/* Discord CTA */
.discord-btn {
    border: 2px solid rgba(88, 101, 242, 0.3);
    padding: 0.85rem 1.2rem;
    background: #5865f2;
    color: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.2s;
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(88, 101, 242, 0.25);
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.35);
}

/* ================= Stream Links Table ================= */
.stream-links-section {
    margin-top: 24px;
    background: var(--livetv-card-bg, #ffffff);
    border: 1px solid var(--livetv-card-border, #e2e8f0);
    border-radius: var(--livetv-card-radius, 10px);
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.stream-links-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--livetv-primary, #dc2626);
    margin: 0 0 20px 0;
    text-align: center;
    letter-spacing: -0.01em;
}

.stream-links-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.stream-links-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--livetv-card-bg, #ffffff);
}

.stream-links-table thead {
    background: rgba(125, 125, 125, 0.08);
    border-bottom: 2px solid var(--livetv-card-border, #e2e8f0);
}

.stream-links-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    color: var(--livetv-card-title, #334155);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stream-link-row {
    border-bottom: 1px solid var(--livetv-card-border, #e2e8f0);
    transition: all 0.2s ease;
}

.stream-link-row:hover {
    background: rgba(125, 125, 125, 0.05);
}

.stream-links-table td {
    padding: 14px 16px;
    color: var(--livetv-card-meta, #334155);
    font-size: 14px;
    vertical-align: middle;
}

.streamer-name {
    font-weight: 700;
    color: var(--livetv-card-title, #0f172a);
}

.quality-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    display: inline-block;
}

.quality-fhd {
    background: rgba(33, 150, 243, 0.15);
    color: #1565c0;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.quality-hd {
    background: rgba(76, 175, 80, 0.18);
    color: #1b5e20;
    border: 1px solid rgba(76, 175, 80, 0.35);
}

.adblock-status {
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    display: inline-block;
}

.adblock-yes {
    background: rgba(76, 175, 80, 0.18);
    color: #1b5e20;
    border: 1px solid rgba(76, 175, 80, 0.35);
}

.watch-btn {
    display: inline-block;
    padding: 8px 22px;
    background: var(--livetv-primary, #dc2626);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s ease;
    text-align: center;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    cursor: pointer;
    border: none;
}

.watch-btn:hover {
    background: var(--livetv-primary-hover, #b91c1c);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

.acestream-tag-btn {
    background: #ca8a04;
    box-shadow: 0 2px 8px rgba(202, 138, 4, 0.3);
}

.acestream-tag-btn:hover {
    background: #a16207;
}

/* ================= StreamEast Video Player Page ================= */
.event-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.video-player {
    background: #000000;
    border-radius: var(--livetv-player-radius, 12px);
    overflow: hidden;
    margin-bottom: 1.8rem;
    border: var(--livetv-player-border-width, 5px) solid var(--livetv-player-border-color, #dc2626);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    width: 100%;
}

/* Responsive 16:9 aspect-ratio wrapper */
.player-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    background: #000000;
    overflow: visible; /* must not clip iframe during fullscreen */
}

.player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* When iframe goes native fullscreen, it must fill the screen entirely */
.player-container iframe:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
}
.player-container iframe:-moz-full-screen {
    width: 100vw !important;
    height: 100vh !important;
}
.player-container iframe:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
}


/* Stream Server Switcher */
.stream-servers {
    background: var(--livetv-card-bg, #ffffff);
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 1.8rem;
}

.servers-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--livetv-primary, #dc2626);
    margin-bottom: 0.9rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.servers-list {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
}

.server-btn {
    padding: 0.6rem 1.4rem;
    background: var(--livetv-server-btn-bg, #f8fafc);
    color: var(--livetv-server-btn-text, #334155);
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 700;
    transition: all 0.2s;
    text-decoration: none;
}

.server-btn:hover,
.server-btn.active {
    background: var(--livetv-server-btn-active-bg, #dc2626);
    border-color: var(--livetv-server-btn-active-bg, #dc2626);
    color: var(--livetv-server-btn-active-text, #ffffff);
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.3);
    transform: translateY(-1px);
}

.btn-back-links {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 16px;
    transition: all 0.2s;
}

.btn-back-links:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* ================= Responsive Styles (Desktop, Tablet, Mobile) ================= */

@media screen and (max-width: 992px) {
    .livetv-app .container {
        padding: 0 !important;
    }
    .event-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .livetv-app {
        overflow-x: hidden;
        padding: 0 !important;
    }

    .livetv-app [class$="-main"] {
        padding: 0 !important;
        overflow-x: hidden;
    }

    .livetv-app .container {
        padding: 0 !important;
    }

    /* Hero / Header Blocks */
    .hero-section {
        padding: 20px 16px;
        margin-bottom: 18px;
    }

    .hero-title {
        font-size: 22px;
        line-height: 1.25;
        margin-bottom: 6px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .hero-datetime {
        font-size: 13px;
    }

    .livetv-app [class*="-page-title"] {
        font-size: 20px;
    }

    /* Search Bar */
    .livetv-app [class*="-search-bar"] {
        margin: 12px 0 18px;
    }

    .livetv-app [class*="-search-bar"] input {
        padding: 11px 14px;
    }

    /* Schedule Section & Events List */
    .livetv-app [class*="-section-header"] {
        margin-bottom: 0.8rem;
        padding-bottom: 0.4rem;
    }

    .livetv-app [class*="-section-title"] {
        font-size: 1.15rem;
    }

    .livetv-app [class*="-event-card"]:hover {
        transform: none; /* Avoid horizontal viewport shift on touch devices */
    }

    .livetv-app [class*="-event-info"] {
        gap: 12px;
        padding: 11px 12px;
    }

    .livetv-app [class*="-league-icon"] {
        width: 42px;
        height: 42px;
        font-size: 20px;
        border-radius: 8px;
    }

    .livetv-app [class*="-event-title"] {
        font-size: 14px;
        margin-bottom: 3px;
        word-break: break-word;
    }

    .livetv-app [class*="-event-datetime"] {
        font-size: 12px;
        margin-bottom: 3px;
    }

    .livetv-app [class*="-event-league"] {
        font-size: 11px;
        flex-wrap: wrap;
        gap: 6px;
    }

    /* Event Detail Card */
    .livetv-app .event-detail-card {
        padding: 14px 16px;
        margin: 1rem 0;
    }

    .livetv-app .event-detail-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    /* Stream Links Section & Table */
    .livetv-app .stream-links-section {
        padding: 16px 12px;
        margin-top: 18px;
    }

    .livetv-app .stream-links-title {
        font-size: 1.15rem;
        margin-bottom: 14px;
    }

    .livetv-app .stream-links-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    /* Hide Ads (col 5) & AdBlock (col 6) on tablet */
    .livetv-app .stream-links-table th:nth-child(5),
    .livetv-app .stream-links-table td:nth-child(5),
    .livetv-app .stream-links-table th:nth-child(6),
    .livetv-app .stream-links-table td:nth-child(6) {
        display: none;
    }

    .livetv-app .stream-links-table th,
    .livetv-app .stream-links-table td {
        padding: 10px 8px;
        font-size: 12.5px;
    }

    /* Video Player Page */
    .livetv-app .video-player {
        border-width: 3px;
        border-radius: 8px;
        margin-bottom: 1.4rem;
    }

    .livetv-app .player-topbar {
        padding: 8px 12px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .livetv-app .stream-servers {
        padding: 14px 12px;
        margin-bottom: 1.4rem;
    }

    .livetv-app .servers-title {
        font-size: 1rem;
        margin-bottom: 0.7rem;
    }

    .livetv-app .servers-list {
        gap: 6px;
    }

    .livetv-app .server-btn {
        padding: 8px 12px;
        font-size: 12.5px;
    }
}

@media screen and (max-width: 640px) {
    /* Hide Bitrate (col 7) & Rating (col 8) on mobile screens */
    .livetv-app .stream-links-table th:nth-child(7),
    .livetv-app .stream-links-table td:nth-child(7),
    .livetv-app .stream-links-table th:nth-child(8),
    .livetv-app .stream-links-table td:nth-child(8) {
        display: none;
    }

    .livetv-app .stream-links-table th,
    .livetv-app .stream-links-table td {
        padding: 8px 6px;
        font-size: 12px;
    }

    .livetv-app .watch-btn {
        padding: 6px 12px;
        font-size: 11.5px;
    }

    .livetv-app .server-btn {
        flex: 1 1 calc(50% - 6px);
        text-align: center;
        padding: 8px 6px;
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .livetv-app .container {
        padding: 0 !important;
    }

    .livetv-app [class$="-main"],
    .livetv-app [class*="-main"] {
        padding: 0 !important;
    }

    .livetv-app .hero-section {
        padding: 16px 12px;
    }

    .livetv-app .hero-title {
        font-size: 18px;
    }

    .livetv-app [class*="-search-bar"] input {
        padding: 9px 12px;
        font-size: 14.5px;
    }

    .livetv-app [class*="-section-title"] {
        font-size: 1rem;
    }

    .livetv-app [class*="-event-info"] {
        gap: 9px;
        padding: 9px 10px;
    }

    .livetv-app [class*="-league-icon"] {
        width: 36px;
        height: 36px;
        font-size: 16px;
        border-radius: 6px;
    }

    .livetv-app [class*="-event-title"] {
        font-size: 13px;
        line-height: 1.3;
    }

    .livetv-app [class*="-event-datetime"] {
        font-size: 11.5px;
    }

    .livetv-app [class*="-event-league"] {
        font-size: 10.5px;
    }

    .livetv-app .event-status {
        padding: 1px 6px;
        font-size: 10px;
    }

    .livetv-app .btn-back-links {
        padding: 6px 10px;
        font-size: 11.5px;
    }

    /* On narrow mobile phones, hide Channel (col 2) so Streamer, Language, Quality, Watch fit seamlessly */
    .livetv-app .stream-links-table th:nth-child(2),
    .livetv-app .stream-links-table td:nth-child(2) {
        display: none;
    }

    .livetv-app .stream-links-table th,
    .livetv-app .stream-links-table td {
        padding: 8px 4px;
        font-size: 11px;
    }

    .livetv-app .quality-badge {
        padding: 2px 6px;
        font-size: 10px;
    }

    .livetv-app .watch-btn {
        padding: 5px 8px;
        font-size: 11px;
    }

    .livetv-app .video-player {
        border-width: 2px;
    }
}

@media screen and (max-width: 360px) {
    .livetv-app .container {
        padding: 0 !important;
    }

    .livetv-app .server-btn {
        flex: 1 1 100%;
    }
}
