/* Broadcast card + programme chart — navy board, brand tick, tabular times. */
.jh-broadcast {
    --jh-board: #0c1525;
    --jh-board-line: #283244;
    --jh-ink: #f4f7fb;
    --jh-mute: #9aa6b8;
    --jh-red: #c60c30;
    --jh-blue: #0038ad;
    color: var(--jh-ink);
    background: var(--jh-board);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--jh-blue) 0 65%, var(--jh-red) 65% 100%) 1;
    overflow: hidden;
}

.jh-broadcast .jh-live-player__stage {
    border-radius: 0;
}

.jh-broadcast__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--jh-board-line);
}

.jh-broadcast__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font: 700 11px/1.4 system-ui, sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.jh-broadcast__dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f04a63;
    box-shadow: 0 0 0 4px rgba(240, 74, 99, .14);
    animation: jh-sked-pulse 1.4s ease-in-out infinite;
}

.jh-broadcast__now-name {
    overflow: hidden;
    color: #d5deeb;
    font-weight: 600;
    letter-spacing: .02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jh-broadcast__watch {
    flex-shrink: 0;
    color: #c5d0e0;
    font: 600 11px/1.4 system-ui, sans-serif;
    letter-spacing: .04em;
    text-decoration: none;
}

.jh-broadcast__watch:hover {
    color: #fff;
}

.jh-sked {
    font-family: system-ui, sans-serif;
}

.jh-sked--compact {
    padding: 16px 16px 14px;
    border-top: 1px solid var(--jh-board-line, #283244);
}

.jh-sked--full {
    --jh-board: #0c1525;
    --jh-board-line: #283244;
    --jh-ink: #f4f7fb;
    --jh-mute: #9aa6b8;
    --jh-red: #c60c30;
    --jh-blue: #0038ad;
    color: var(--jh-ink);
    margin-top: 28px;
    background: var(--jh-board);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--jh-blue) 0 65%, var(--jh-red) 65% 100%) 1;
}

.jh-sked__now {
    margin-bottom: 16px;
}

.jh-sked__now-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.jh-sked__kicker {
    color: var(--jh-red);
    font: 700 10px/1.4 system-ui, sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.jh-sked__now-time {
    color: var(--jh-mute);
    font: 600 11px/1.4 system-ui, sans-serif;
    font-variant-numeric: tabular-nums;
}

.jh-sked__now-title {
    margin: 0 0 10px;
    color: #fff;
    font: 650 18px/1.25 "Anek Malayalam", system-ui, sans-serif;
    letter-spacing: -.01em;
}

.jh-sked__progress {
    height: 2px;
    background: #243044;
    overflow: hidden;
}

.jh-sked__progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--jh-blue), var(--jh-red));
}

.jh-sked__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 0 0 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.jh-sked--full .jh-sked__head {
    padding: 22px 24px 12px;
}

.jh-sked__head-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jh-sked__tick {
    width: 10px;
    height: 16px;
    background:
        linear-gradient(var(--jh-blue), var(--jh-blue)) left top / 3px 100% no-repeat,
        linear-gradient(var(--jh-red), var(--jh-red)) right bottom / 3px 72% no-repeat;
}

.jh-sked__head h2 {
    margin: 0;
    font: 700 11px/1.4 system-ui, sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.jh-sked__meta {
    margin: 0;
    color: var(--jh-mute);
    font: 500 11px/1.4 system-ui, sans-serif;
}

.jh-sked__meta strong {
    margin-right: 8px;
    color: #d7e0ee;
    font-weight: 650;
}

.jh-sked__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jh-sked--full .jh-sked__list {
    padding: 0 8px 12px;
}

.jh-sked__row {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 13px 0 13px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    border-left: 3px solid transparent;
}

.jh-sked__row.is-live {
    border-left-color: var(--jh-red);
    background: rgba(198, 12, 48, .08);
}

.jh-sked__row time {
    color: #8e9aaf;
    font: 700 12px/1.4 system-ui, sans-serif;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.jh-sked__row.is-live time {
    color: #fff;
}

.jh-sked__body {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.jh-sked__title {
    min-width: 0;
    color: #e8eef6;
    font: 650 14px/1.35 "Anek Malayalam", system-ui, sans-serif;
}

.jh-sked__row.is-live .jh-sked__title {
    color: #fff;
}

.jh-sked__live,
.jh-sked__rpt {
    flex-shrink: 0;
    font: 700 9px/1 system-ui, sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.jh-sked__live {
    color: var(--jh-red);
}

.jh-sked__rpt {
    color: #7d8aa0;
}

.jh-sked--compact .jh-sked__now {
    margin-bottom: 12px;
}

.jh-sked__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 11px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.jh-sked__next {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
    margin: 0;
    color: #9aa6b8;
    font: 500 12px/1.4 system-ui, sans-serif;
}

.jh-sked__next span {
    color: #7d8aa0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.jh-sked__next time {
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.jh-sked__next strong {
    overflow: hidden;
    color: #e8eef6;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jh-sked__more {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 6px;
    color: #d5deeb;
    font: 650 12px/1.4 system-ui, sans-serif;
    text-decoration: none;
}

.jh-sked__more:hover {
    color: #fff;
}

/* Homepage card: white surface, light grey rules. */
.jh-broadcast {
    --jh-board: #fff;
    --jh-board-line: #e5e7eb;
    --jh-ink: #111827;
    --jh-mute: #6b7280;
    border-top: 0;
    border-image: none;
    box-shadow: inset 0 0 0 1px #e5e7eb;
}

.jh-broadcast .jh-broadcast__watch,
.jh-broadcast .jh-sked__more { color: var(--jh-blue); }
.jh-broadcast .jh-broadcast__watch:hover,
.jh-broadcast .jh-sked__more:hover { color: var(--jh-red); }
.jh-broadcast .jh-sked__now-title { color: var(--jh-ink); }
.jh-broadcast .jh-sked__progress { background: #dfe3e8; }
.jh-broadcast .jh-sked__foot { border-top-color: var(--jh-board-line); }
.jh-broadcast .jh-sked__next { color: var(--jh-mute); }
.jh-broadcast .jh-sked__next span { color: #9ca3af; }
.jh-broadcast .jh-sked__next strong { color: #1f2937; }
.jh-broadcast .jh-broadcast__dot {
    background: var(--jh-red);
    box-shadow: 0 0 0 4px rgba(198, 12, 48, .12);
}

@keyframes jh-sked-pulse {
    0%, 100% { opacity: .45; transform: scale(.85); }
    50% { opacity: 1; transform: scale(1); }
}

@media (max-width: 575.98px) {
    .jh-broadcast__bar { padding: 11px 14px; }
    .jh-sked--compact { padding: 14px; }
    .jh-sked--full .jh-sked__head { padding: 18px 16px 10px; }
    .jh-sked--full .jh-sked__list { padding: 0 4px 8px; }
    .jh-sked__row { grid-template-columns: 70px minmax(0, 1fr); padding-left: 8px; }
    .jh-sked__now-title { font-size: 16px; }
}
