.rtm-tv-schedule { --rtm-shadow: 0 24px 80px rgba(7,26,58,.18); --rtm-border: rgba(7,26,58,.12); color: var(--rtm-text); font-family: var(--rtm-font); margin: 0 auto; max-width: 1180px; position: relative; isolation: isolate; }
.rtm-tv-schedule * { box-sizing: border-box; }
.rtm-widget-shell { position: relative; z-index: 2; }
.rtm-unified-outer-enabled .rtm-widget-shell { background: #071a3a; border-radius: calc(var(--rtm-radius) * 1.25); padding: 20px; box-shadow: var(--rtm-shadow); }
.rtm-watermark-layer { display: none; pointer-events: none; position: absolute; inset: 0; z-index: 50; overflow: hidden; gap: 28px 42px; align-content: center; justify-content: center; transform: rotate(var(--rtm-watermark-rotation, -28deg)); opacity: var(--rtm-watermark-opacity); }
.rtm-watermark-enabled .rtm-watermark-layer { display: grid; grid-template-columns: repeat(6, minmax(140px, 1fr)); }
.rtm-watermark-layer span { color: var(--rtm-watermark-color, #fff); font-size: var(--rtm-watermark-size); font-weight: 800; text-transform: uppercase; white-space: nowrap; user-select: none; }

.rtm-schedule-hero { background: linear-gradient(135deg, rgba(7,26,58,.98), rgba(7,26,58,.9)); border-radius: calc(var(--rtm-radius) * 1.25); color: #fff; margin-bottom: calc(22px * var(--rtm-spacing)); overflow: hidden; padding: calc(42px * var(--rtm-spacing)); position: relative; }
.rtm-schedule-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--rtm-accent), rgba(255,255,255,0)); }
.rtm-schedule-kicker { color: rgba(255,255,255,.72); font-size: 13px; font-weight: 800; margin-bottom: 10px; text-transform: uppercase; }
.rtm-schedule-hero h2 { color: #fff; font-size: clamp(36px, 6.8vw, 72px); font-weight: 900; line-height: .96; margin: 0 0 18px; }
.rtm-schedule-hero p { color: rgba(255,255,255,.86); font-size: 18px; line-height: 1.55; margin: 0 0 28px; max-width: 820px; }
.rtm-timezone-control { align-items: center; display: flex; flex-wrap: wrap; gap: 12px; }
.rtm-timezone-control select { background: #fff; border: 1px solid transparent; border-radius: max(8px, calc(var(--rtm-radius)*.6)); color: var(--rtm-primary); font: inherit; font-weight: 800; min-height: 48px; min-width: min(100%, 320px); padding: 0 42px 0 16px; }

.rtm-now-playing { align-items: stretch; background: var(--rtm-surface); border: 1px solid var(--rtm-border); border-radius: var(--rtm-radius); box-shadow: var(--rtm-shadow); display: grid; grid-template-columns: minmax(200px,400px) 1fr; margin-bottom: calc(22px * var(--rtm-spacing)); overflow: hidden; }
.rtm-now-media { background: var(--rtm-primary); height: 400px; min-height: 400px; width: 400px; overflow: hidden; }
.rtm-now-media img,.rtm-program-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rtm-placeholder-thumb { align-items: center; background: linear-gradient(135deg, rgba(7,26,58,.95), rgba(7,26,58,.82)); color: #fff; display: flex; height: 100%; justify-content: center; width: 100%; }
.rtm-placeholder-thumb span { border: 2px solid rgba(255,255,255,.86); border-radius: 12px; font-size: 42px; font-weight: 900; padding: 18px 20px; }
.rtm-now-content { padding: calc(34px * var(--rtm-spacing)); }
.rtm-now-time { color: var(--rtm-accent); font-size: 28px; font-weight: 900; margin-bottom: 8px; }
.rtm-now-label-wrap { align-items: center; display: flex; gap: 8px; margin-bottom: 6px; }
.rtm-now-label,.rtm-card-label { color: var(--rtm-accent); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.rtm-now-content h3 { color: var(--rtm-primary); font-size: clamp(30px,4vw,54px); font-weight: 900; line-height: 1.02; margin: 0 0 12px; }
.rtm-now-meta,.rtm-program-meta { color: var(--rtm-muted); font-weight: 800; }
.rtm-now-content p { color: var(--rtm-text); font-size: 17px; line-height: 1.65; margin: 18px 0; }
.rtm-now-stats { color: var(--rtm-muted); display: flex; flex-wrap: wrap; font-size: 14px; font-weight: 700; gap: 10px 18px; margin-bottom: 18px; }
.rtm-progress { background: rgba(7,26,58,.1); border-radius: 999px; height: 12px; overflow: hidden; }
.rtm-progress span { background: linear-gradient(90deg, var(--rtm-accent), #ff5a5f); border-radius: inherit; display: block; height: 100%; transition: width .5s ease; width: 0; }

.rtm-live-badge { align-items: center; background: #d71920; border-radius: 999px; color: #fff; display: inline-flex; font-size: 11px; font-weight: 800; gap: 6px; line-height: 1; padding: 4px 10px; text-transform: uppercase; white-space: nowrap; }
.rtm-live-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; display: inline-block; }
.rtm-live-badge.is-animated { animation: rtmPulse 1.6s ease-in-out infinite; }
@keyframes rtmPulse { 0%{transform:scale(1)} 50%{transform:scale(1.04)} 100%{transform:scale(1)} }

.rtm-watch-wrap { align-items: center; display: flex; margin-top: 14px; }
.rtm-watch-button { background: var(--rtm-accent); border: 1px solid transparent; border-radius: 8px; color: #fff; display: inline-block; font-size: 14px; font-weight: 800; padding: 11px 18px; text-decoration: none; transition: all .2s ease; }
.rtm-watch-button:hover { filter: brightness(.95); }

.rtm-day-nav { align-items: center; background: var(--rtm-surface); border: 1px solid var(--rtm-border); border-radius: var(--rtm-radius); display: grid; grid-template-columns: 48px 1fr 48px; margin-bottom: 16px; overflow: hidden; }
.rtm-hide-arrows .rtm-nav-arrow { display: none; }
.rtm-hide-arrows .rtm-day-nav { grid-template-columns: 1fr; }
.rtm-day-tabs { display: flex; gap: 8px; overflow: hidden; padding: 8px; }
.rtm-day-tab { background: #fff; border: 1px solid var(--rtm-border); border-radius: 10px; color: var(--rtm-primary); cursor: pointer; flex: 0 0 calc(100% / 7 - 8px); font: inherit; font-weight: 900; min-height: 72px; min-width: 120px; padding: 10px 14px; text-align: left; transition: all .2s ease; white-space: nowrap; }
.rtm-day-name { display: block; font-size: 14px; }
.rtm-day-date-desktop,.rtm-day-date-mobile { color: var(--rtm-muted); display: block; font-size: 13px; font-weight: 700; margin-top: 4px; }
.rtm-day-date-mobile { display: none; }
.rtm-nav-arrow { background: #fff; border: 0; color: var(--rtm-primary); cursor: pointer; font-size: 24px; font-weight: 900; height: 100%; }
.rtm-day-tab[aria-selected="true"],.rtm-day-tab:hover,.rtm-nav-arrow:hover { background: var(--rtm-primary); color: #fff; }
.rtm-day-tab[aria-selected="true"] .rtm-day-date-desktop,.rtm-day-tab[aria-selected="true"] .rtm-day-date-mobile,.rtm-day-tab:hover .rtm-day-date-desktop,.rtm-day-tab:hover .rtm-day-date-mobile { color: rgba(255,255,255,.82); }

.rtm-schedule-list { background: var(--rtm-surface); border: 1px solid var(--rtm-border); border-radius: var(--rtm-radius); overflow: hidden; }
.rtm-program-row { align-items: center; background: #fff; border-bottom: 1px solid var(--rtm-border); display: grid; gap: 22px; grid-template-columns: 170px 148px 1fr 44px; padding: calc(20px * var(--rtm-spacing)) calc(24px * var(--rtm-spacing)); transition: background .2s ease, border-color .2s ease, color .2s ease; }
.rtm-program-row:hover { background: #f8fafc; }
.rtm-program-row.is-current { background: linear-gradient(90deg, rgba(215,25,32,.1), #fff 42%); box-shadow: inset 5px 0 0 var(--rtm-accent); }
.rtm-program-row:last-child { border-bottom: 0; }
.rtm-program-time strong { color: var(--rtm-primary); display: block; font-size: 30px; font-weight: 900; line-height: 1; }
.rtm-time-separator { color: var(--rtm-muted); display: inline-block; font-weight: 800; margin: 4px 0; }
.rtm-program-time span { color: var(--rtm-muted); display: block; font-size: 15px; font-weight: 800; margin-top: 2px; }
.rtm-program-thumb { border-radius: max(8px, calc(var(--rtm-radius) * .7)); height: 96px; overflow: hidden; width: 148px; }
.rtm-program-topline { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.rtm-status-badge { border: 1px solid transparent; border-radius: 999px; color: #fff; display: inline-flex; font-size: 11px; font-weight: 800; padding: 4px 9px; text-transform: uppercase; }
.rtm-status-badge.is-live { background: #d71920; }
.rtm-status-badge.is-aired { background: #64748b; }
.rtm-status-badge.is-up-next { background: #0f766e; }
.rtm-status-badge.is-coming-up { background: #1d4ed8; }
.rtm-program-info h3 { color: var(--rtm-primary); font-size: 30px; font-weight: 900; line-height: 1.1; margin: 0 0 8px; }
.rtm-program-info p { color: var(--rtm-text); line-height: 1.5; margin: 0 0 10px; }
.rtm-accordion-toggle { align-items: center; background: rgba(7,26,58,.08); border: 0; border-radius: 999px; color: var(--rtm-primary); display: none; font-size: 22px; font-weight: 900; height: 36px; justify-content: center; width: 36px; }
.rtm-empty-state { color: var(--rtm-muted); font-weight: 800; padding: 34px; text-align: center; }

@media (max-width: 1024px) {
	.rtm-now-playing { grid-template-columns: 1fr; }
	.rtm-now-media { height: 320px; min-height: 320px; width: 100%; }
	.rtm-day-tab { flex: 0 0 calc(33.333% - 6px); min-width: 0; }
}
@media (max-width: 860px) {
	.rtm-schedule-hero { border-radius: 0; padding: 30px 20px; }
	.rtm-day-nav { grid-template-columns: 40px 1fr 40px; }
	.rtm-day-tab { flex: 0 0 calc(50% - 4px); min-width: 0; }
	.rtm-day-date-desktop { display: none; }
	.rtm-day-date-mobile { display: block; }
	.rtm-program-row { align-items: start; gap: 12px; grid-template-columns: 1fr; padding: 18px; }
	.rtm-program-time strong { font-size: 24px; }
	.rtm-program-thumb { display: block; height: 180px; width: 100%; }
	.rtm-program-info h3 { font-size: 24px; }
	.rtm-accordion-toggle { display: inline-flex; justify-self: end; }
}
@media (max-width: 560px) {
	.rtm-schedule-hero h2 { font-size: 42px; }
	.rtm-schedule-hero p { font-size: 16px; }
	.rtm-now-content { padding: 24px 18px; }
	.rtm-day-tabs { padding: 6px; }
	.rtm-day-tab { min-height: 66px; padding: 9px 12px; }
	.rtm-watermark-layer span { font-size: 38px; }
}
