.live-tv-container {
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.4;

    --bg: #0f172a;
    --card: #1e293b;
    --text: #ffffff;
    --muted: rgba(255,255,255,0.7);
    --shadow: rgba(0,0,0,0.4);
    --hover: rgba(0,0,0,0.55);

    /*background: var(--bg);*/
    padding: 20px;
	text-align: left;
}

/* =========================
   GRID
========================= */

.live-tv-container .tv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* =========================
   CARD
========================= */

.live-tv-container .tv-card {
    display: flex;
    flex-direction: column;

    border-radius: 16px;
    background: var(--card);
    color: var(--text);

    overflow: hidden;
    box-shadow: 0 10px 25px var(--shadow);

    text-decoration: none;
    cursor: pointer;

    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.live-tv-container .tv-card:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 30px var(--hover);
}

/* LINK RESET */
.live-tv-container .tv-card:link,
.live-tv-container .tv-card:visited,
.live-tv-container .tv-card:hover,
.live-tv-container .tv-card:active {
    text-decoration: none;
    color: var(--text);
}

/* =========================
   HEADER
========================= */

.live-tv-container .tv-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    height: 64px;
    box-sizing: border-box;
}

.live-tv-container .tv-header img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.live-tv-container .tv-header span {
    font-weight: 500;
    font-size: 16px;
    color: #000;
}

/* CHANNEL COLORS */
.live-tv-container .nickelodeon { background: #AFB9C8; }
.live-tv-container .disney { background: #a2fced; }

/* =========================
   LIVE DOT
========================= */

.live-tv-container .live-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 10px;
    height: 10px;
    background: #ff3b3b;
    border-radius: 50%;
}

.live-tv-container .live-indicator::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #ff3b3b;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: tvPulse 1.2s infinite;
    opacity: 0.6;
}

@keyframes tvPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    70% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
    100% { opacity: 0; }
}

/* =========================
   BODY
========================= */

.live-tv-container .tv-body-wrapper {
    position: relative;
    flex: 1;
}

.live-tv-container .tv-body {
    padding: 14px;
}

/* TEXT */
.live-tv-container .label {
    font-size: 12px;
    opacity: 0.7;
	font-weight: bold;
}

.live-tv-container .time {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2px;
	font-weight: bold;
}

/* PROGRAM */
.live-tv-container .program-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.live-tv-container .program-row img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
}

.live-tv-container .program {
    font-size: 16px;
    font-weight: 500;
	font-weight: bold;
}

.live-tv-container .episode {
    font-size: 13px;
    opacity: 0.7;
    font-weight: bold;
    margin-top: 1px;
    line-height: 1.2;
}

/* NEXT */
.live-tv-container .next {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.1);
}