*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;color:var(--text)}
a{color:inherit;text-decoration:none}
button, input, select{font:inherit}
.page-shell{width:min(calc(100% - 28px), var(--max-width));margin:20px auto 36px}
.hero{position:relative;padding:18px 4px 18px}
.hero-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(255, 255, 255, 0.76);border:1px solid rgba(255, 255, 255, 0.66);box-shadow:0 8px 24px rgba(58, 77, 109, 0.08);color:var(--muted);font-size:0.83rem;letter-spacing:0.02em;text-transform:uppercase;font-weight:700}
.hero-eyebrow::before{content:"";width:8px;height:8px;border-radius:999px;background:linear-gradient(180deg, #7ba7ff, #5b7cfa);box-shadow:0 0 0 6px rgba(91, 124, 250, 0.12)}
.hero h1{margin:16px 0 8px;font-size:clamp(2rem, 4vw, 3rem);line-height:1;letter-spacing:-0.04em;color:var(--text-strong)}
.hero p{margin:0;max-width:820px;color:var(--muted);font-size:1.03rem;line-height:1.6}
.control-group{display:flex;flex-direction:column}
.control-label{align-items:center;gap:8px;padding-left:2px;font-weight:800;letter-spacing:0.05em;text-transform:uppercase}
.control-label .dot{width:7px;height:7px;border-radius:999px;background:#cbd5e1}
.control-group input, .control-group select{width:100%;height:54px;border:1px solid var(--border);border-radius:16px;padding:0 16px;background:linear-gradient(180deg, #ffffff, #f8fbff);color:var(--text-strong);outline:none;box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.78);transition:border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease}
.control-group input:focus, .control-group select:focus{border-color:rgba(91, 124, 250, 0.5);box-shadow:0 0 0 4px rgba(91, 124, 250, 0.12);transform:translateY(-1px)}
.controls-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding-top:14px;border-top:1px solid rgba(216, 227, 239, 0.9)}
.view-meta{flex-wrap:wrap;gap:10px;align-items:center;min-width:0}
.meta-pill{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:9px 14px;border:1px solid var(--border);border-radius:999px;background:rgba(248, 251, 255, 0.92);color:var(--muted);font-size:0.9rem;font-weight:600;white-space:nowrap}
.meta-pill strong{color:var(--text-strong);font-weight:800}
.action-button{color:var(--text-strong);cursor:pointer;font-weight:700;transition:transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease}
.action-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 12px 26px rgba(39, 58, 89, 0.09);border-color:var(--border-strong)}
.action-button:disabled{cursor:not-allowed;opacity:0.45;box-shadow:none}
.guide-shell{border:1px solid rgba(255, 255, 255, 0.75)}
.guide-topbar{align-items:center;justify-content:space-between;gap:14px;padding:18px 20px 10px;background:linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,251,255,0.75))}
.guide-title-stack{min-width:0}
.guide-title-stack h2{margin:0;font-size:1.12rem;line-height:1.2;color:var(--text-strong);letter-spacing:-0.02em}
.guide-title-stack p{margin:6px 0 0;color:var(--muted);font-size:0.92rem}
.guide-status{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px}
.guide-status .meta-pill{background:#ffffff}
.schedule-header{display:grid;grid-template-columns:var(--channel-col) 1fr;align-items:stretch}
.schedule-header .channel-heading, .schedule-row .channel-cell{background:linear-gradient(180deg, #eef2f6, #edf1f5);border-right:1px solid rgba(216, 227, 239, 0.96)}
.channel-heading{padding:16px 18px;font-size:0.82rem;font-weight:800;letter-spacing:0.06em;text-transform:uppercase;color:var(--muted);display:flex;align-items:center}
.timeline-header{position:relative;display:grid;background:linear-gradient(180deg, #ffffff, #f9fbff)}
.timeline-header::after{content:"";position:absolute;inset:0 0 0 0;pointer-events:none;background-size:calc(100% / var(--slot-count)) 100%}
.time-slot{position:relative;z-index:1;display:flex;white-space:nowrap}
.schedule-body{background:linear-gradient(180deg, #f9fbfe, #f6f9fc)}
.schedule-row{display:grid;grid-template-columns:var(--channel-col) 1fr;align-items:stretch;min-height:var(--timeline-height);border-bottom:1px solid rgba(216, 227, 239, 0.82);background:rgba(255, 255, 255, 0.7);transition:background 180ms ease}
.schedule-row:hover{background:rgba(255, 255, 255, 0.9)}
.schedule-row.is-search-hidden{display:none!important}
.channel-cell{min-height:var(--timeline-height)}
.channel-logo{flex:0 0 52px;border-radius:18px;box-shadow:0 12px 26px rgba(54, 75, 102, 0.1)}
.channel-copy{min-width:0;display:flex;flex-direction:column}
.channel-name{font-weight:800;letter-spacing:-0.02em;color:var(--text-strong);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical}
.channel-number{align-self:flex-start;align-items:center;border-radius:999px}
.timeline{position:relative;min-height:var(--timeline-height);overflow:hidden}
.timeline::before{content:"";position:absolute;inset:0;pointer-events:none}
.program-card{position:absolute;overflow:hidden;transition:transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease}
.program-card:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(52, 73, 102, 0.12);border-color:rgba(91, 124, 250, 0.24);z-index:5}
.program-card.is-on-now .show-title, .program-card.is-on-now .show-meta{color:var(--danger)}
.program-card.is-tight .schedule-tag{width:34px;height:14px;margin-bottom:6px}
.tvshow{display:block;width:100%;height:100%}
.tvshow a{display:flex;flex-direction:column;width:100%;height:100%;color:inherit;line-height:0.6}
.schedule-tag{width:40px;height:15px;margin-bottom:8px;object-fit:contain;flex:0 0 auto}
.show-title{font-weight:800;color:var(--text-strong)}
.show-meta{margin-top:6px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.now-line{position:absolute;top:0;bottom:0;pointer-events:none}
.ad-row{border-bottom:1px solid rgba(216, 227, 239, 0.82);min-height:320px;padding:5px;display:flex;align-items:center;justify-content:center}
.ad-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.ad-slot .label{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;border:1px solid rgba(112, 128, 144, 0.2);background:rgba(255,255,255,0.62);font-size:0.8rem;font-weight:800;letter-spacing:0.06em;text-transform:uppercase}
.ad-slot strong{display:block;margin-top:14px;font-size:clamp(1.3rem, 2.1vw, 1.9rem);line-height:1.1;letter-spacing:-0.03em;color:#3e4b59}
.ad-slot p{margin:8px 0 0;max-width:660px;font-size:0.98rem;line-height:1.6}
.more-wrap{padding:18px 18px 22px;display:flex;justify-content:center;background:linear-gradient(180deg, rgba(248,251,255,0.76), rgba(245,249,252,0.9))}
.more-button{min-width:240px;height:52px;border-radius:16px;font-size:0.98rem;font-weight:800;letter-spacing:0.01em;cursor:pointer;transition:transform 160ms ease, box-shadow 160ms ease, filter 160ms ease}
.more-button:hover{transform:translateY(-1px)}
.more-button[hidden]{display:none}
.footer-note{margin-top:16px;color:rgba(102, 119, 137, 0.92);font-size:0.86rem;text-align:center}
@media (max-width: 980px){
  .controls-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .controls-footer, .guide-topbar{flex-direction:column;align-items:stretch}
  .actions-row, .guide-status{justify-content:flex-start}
}
@media (max-width: 991px){
  :root{--channel-col:126px;--timeline-height:86px}
  .page-shell{width:min(calc(100% - 14px), 100%);margin-top:10px;margin-bottom:24px}
  .hero{padding:10px 4px 16px}
  .hero p{font-size:0.98rem}
  .controls-panel{top:8px;padding:14px;border-radius:24px}
  .controls-grid{grid-template-columns:1fr;gap:12px}
  .control-group input, .control-group select{height:50px}
  .meta-pill{white-space:normal}
  .actions-row{width:100%}
  .action-button{flex:1 1 auto}
  .action-button.icon-only{flex:0 0 46px}
  .schedule-header, .schedule-row{grid-template-columns:var(--channel-col) 1fr}
  .schedule-header .channel-heading, .channel-cell{padding-left:10px;padding-right:10px}
  .timeline-header{min-height:72px;padding:0 4px}
  .time-slot{padding:10px 6px 8px;font-size:0.8rem}
  .channel-logo{width:44px;height:44px;flex-basis:44px;border-radius:14px}
  .channel-cell{gap:10px;align-items:flex-start}
  .channel-name{font-size:0.84rem}
  .channel-number{min-height:24px;padding:4px 8px;font-size:0.75rem}
  .program-card{top:8px;bottom:8px;padding:9px;border-radius:14px}
  .show-title{font-size:0.82rem}
  .show-meta{font-size:0.72rem}
  .schedule-tag{width:34px;height:14px;margin-bottom:6px}
  .ad-row{padding:14px}
  .ad-slot{min-height:230px;border-radius:22px}
  .ad-slot p{font-size:0.9rem}
  .more-button{width:100%}
}
:root{
  --page-bg:#f3f4f5;
  --surface:rgba(255, 255, 255, 0.92);
  --surface-solid:#ffffff;
  --surface-soft:#f8f9fa;
  --surface-muted:#eef1f3;
  --panel:#fafbfc;
  --border:#d8dde3;
  --border-strong:#c8d0d7;
  --text:#1e2731;
  --text-strong:#141b23;
  --muted:#6e7b88;
  --accent:#6fa7f8;
  --accent-soft:#eaf3ff;
  --accent-strong:#4f89e4;
  --danger:#e55b72;
  --danger-soft:#ffe7eb;
  --shadow:0 18px 46px rgba(31, 42, 55, 0.08);
  --radius-xl:30px;
  --radius-lg:22px;
  --radius-md:16px;
  --radius-sm:12px;
  --max-width:1108px;

  --sticky-toolbar-top:12px;
  --sticky-toolbar-height:64px; /* fallback only; JS will overwrite */
  --schedule-sticky-top:10px;
  --schedule-sticky-gap:8px;

  --timebar-bg-a:rgba(86, 92, 101, 0.94);
  --timebar-bg-b:rgba(64, 70, 79, 0.86);
}
.page-shell{margin-top:14px}
.controls-panel{border-radius:var(--radius-xl);backdrop-filter:blur(14px);gap:10px;align-items:end}
.panel-title{grid-column:1 / -1;margin:2px 0 10px;text-align:center;font-size:clamp(1.85rem, 3.2vw, 2.55rem);line-height:1;letter-spacing:-0.045em;font-weight:950;color:var(--text-strong)}
.controls-grid, .controls-footer{display:contents!important}
.view-meta{display:none!important}
.control-group{min-width:0}
.control-group input, .control-group select, .compact-control select{width:100%;padding:0 12px;border-radius:14px;border:1px solid #dbe1e7;background:linear-gradient(180deg, #ffffff, #f5f7f8);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.78)}
.control-group input:focus, .control-group select:focus, .compact-control select:focus{border-color:rgba(111, 167, 248, 0.52);box-shadow:0 0 0 4px rgba(111, 167, 248, 0.12);transform:translateY(-1px)}
.control-label{font-size:0.72rem;color:var(--muted)}
.control-group:first-child{max-width:86px}
.actions-row{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:8px;min-width:max-content;margin:0;padding:0;border:0}
.action-button{height:46px;min-width:46px;padding:0 15px;border-radius:14px;border:1px solid #d7dfe8;background:linear-gradient(180deg, #ffffff, #f3f6f8);box-shadow:0 8px 20px rgba(39, 58, 89, 0.06)}
.action-button.icon-only{width:46px;min-width:46px;padding:0;font-size:1.08rem}
.action-button.is-primary{min-width:92px;background:linear-gradient(180deg, #fff0f3, #ffdbe2);border-color:#ffc7d1;color:#d55369;box-shadow:0 10px 22px rgba(229, 91, 114, 0.15)}
.action-button.is-primary.active{background:linear-gradient(180deg, #ffe6eb, #ffcfd8);border-color:#ffbcc8;color:#cb4560}
.sticky-desktop-toolbar, .sticky-mobile-toolbar{position:fixed;left:50%;top:var(--sticky-toolbar-top);width:min(calc(100% - 28px), var(--max-width));z-index:31;padding:8px 12px;border-radius:20px;border:1px solid rgba(255, 255, 255, 0.76);box-shadow:0 16px 32px rgba(35, 43, 52, 0.12);backdrop-filter:blur(12px);opacity:0;pointer-events:none;transition:opacity 180ms ease, transform 180ms ease;transform:translate(-50%, -10px)}
body.compact-sticky-on .sticky-desktop-toolbar, body.compact-sticky-on .sticky-mobile-toolbar{opacity:1;pointer-events:auto;transform:translate(-50%, 0)}
.sticky-desktop-toolbar .compact-control{width:min(220px, 100%)}
.sticky-mobile-toolbar{display:none}
.sticky-mobile-toolbar .actions-row{width:100%;justify-content:space-between}
.sticky-mobile-toolbar .action-button{flex:1 1 0}
.sticky-mobile-toolbar .action-button.icon-only{flex:0 0 52px;max-width:52px}
.guide-topbar{display:none!important}
.guide-shell{overflow:visible;border-radius:30px;background:linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 248, 249, 0.96));box-shadow:var(--shadow)}
.schedule-header{
  position:sticky;
  top:var(--schedule-sticky-top);
  z-index:30; /* below toolbar (31), above guide content */
  border-top:0;
  border-bottom:1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter:blur(12px);
  overflow:hidden;
}

body.compact-sticky-on .schedule-header{
  top:calc(var(--sticky-toolbar-top) + var(--sticky-toolbar-height) + var(--schedule-sticky-gap));
}
.schedule-header::before{content:"";position:absolute;inset:0;pointer-events:none}
.schedule-header .channel-heading, .schedule-header .timeline-header{position:relative;z-index:1;background:transparent}
.schedule-header .channel-heading{padding:8px 8px;align-items:center;justify-content:center;border-right:1px solid rgba(255, 255, 255, 0.1)}
.edit-channels-button{height:30px;border:1px solid #ffc2cc;background:linear-gradient(180deg, #fff0f3, #ffd9e1);color:#d55369;font-weight:800;cursor:pointer;transition:transform 140ms ease, box-shadow 140ms ease, filter 140ms ease}
.edit-channels-button:hover{transform:translateY(-1px);filter:saturate(1.04)}
.timeline-header::after{background-image:linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);opacity:0.86}
.time-slot{align-items:center}
.schedule-row .channel-cell{border-right:1px solid rgba(214, 221, 228, 0.98)}
.channel-cell{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px}
.logo-frame{padding:3px 0px;border-radius:12px;display:flex;align-items:center;justify-content:center}
.channel-logo{width:100%;height:100%;object-fit:contain}
.channel-copy{width:100%;align-items:center;gap:2px;text-align:center}
.channel-name{-webkit-line-clamp:2}
.channel-number{display:block;width:100%;padding:0;min-height:0;border:0;background:transparent;color:var(--muted);font-weight:800}
.timeline{background:linear-gradient(90deg, rgba(216, 227, 239, 0.68) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 249, 0.98));background-size:calc(100% / var(--slot-count)) 100%, 100% 100%}
.timeline::before{background:none}
.program-card{top:7px;bottom:7px;border-radius:15px;background:linear-gradient(180deg, #ffffff, #f8f9fa);border:1px solid rgba(214, 225, 238, 0.95);box-shadow:0 12px 28px rgba(52, 73, 102, 0.08)}
.tvshow, .tvshow a{width:100%;height:100%}
.tvshow a{position:relative;justify-content:flex-start;align-items:flex-start;overflow:hidden}
.schedule-badge{display:inline-flex;align-items:center;justify-content:center;height:18px;padding:0 7px;border-radius:999px;font-size:0.58rem;font-weight:800;letter-spacing:0.05em;text-transform:uppercase}
.badge-live{background:linear-gradient(180deg, #ff9cad, #f06f86);color:#ffffff;box-shadow:0 6px 14px rgba(240, 111, 134, 0.24)}
.badge-sport{background:linear-gradient(180deg, #5dc283, #33a85d);color:#ffffff;box-shadow:0 6px 14px rgba(51, 168, 93, 0.22)}
.program-card.is-tight{padding:7px 7px 6px}
.program-card.is-tight .tvshow a.has-badge{padding-right:44px}
.ad-row{background:linear-gradient(180deg, #e6eaee, #dbe1e7)}
@media (max-width: 980px){
  .controls-panel{grid-template-columns:86px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr)}
  .actions-row{grid-column:1 / -1;justify-content:flex-start;padding-top:4px}
}
@media (min-width: 769px){
  .sticky-desktop-toolbar{display:flex}
  .sticky-mobile-toolbar{display:none}
}
@media (max-width: 991px){
    :root{
    --channel-col:90px !important;
    --timeline-height:84px;
    --sticky-toolbar-top:8px;
    --sticky-toolbar-height:64px;
    --schedule-sticky-top:8px;
  }
  .page-shell{width:min(calc(100% - 14px), 100%);margin-top:10px;margin-bottom:24px}
  .controls-panel{grid-template-columns:repeat(2, minmax(0, 1fr));padding:14px 12px 12px;border-radius:26px}
  .panel-title{margin-bottom:8px;font-size:clamp(1.7rem, 7vw, 2rem)}
  .control-group:first-child{max-width:none}
  .actions-row{grid-column:1 / -1;justify-content:space-between}
  .action-button{flex:1 1 auto}
  .action-button.icon-only{flex:0 0 46px}
  .sticky-desktop-toolbar{display:none}
  .sticky-mobile-toolbar{display:block;width:min(calc(100% - 14px), 100%);padding:8px 10px}
  .schedule-header .channel-heading{padding:8px 6px}
  .edit-channels-button{height:28px;padding:0 8px;font-size:0.66rem}
  .timeline-header{min-height:56px}
  .time-slot{font-size:0.7rem;padding:8px 4px 9px}
  .logo-frame{width:84px;height:47px;padding:3px 0px}
  .channel-name{font-size:0.66rem}
  .channel-number{font-size:0.64rem}
  .timeline{padding:5px}
  .program-card{top:5px;bottom:5px;padding:7px 7px 6px}
  .show-title{font-size:0.7rem}
  .show-meta{font-size:0.7rem;margin-top:4px}
  .schedule-badge{min-width:38px;height:16px;font-size:0.54rem}
}
:root{--sticky-toolbar-height:64px}
body{background:radial-gradient(circle at top right, rgb(13 110 253 / 8%), transparent 30%), linear-gradient(180deg, #f5f7fb 0%, #ffffff 45%, #f7f9ff 100%)}
.control-label{display:none!important}
.control-group{gap:0!important}
.control-group input, .control-group select, .compact-control select{height:46px}
.action-button{letter-spacing:0.01em}
.action-button.icon-only{background:linear-gradient(135deg, #dff0ff 0%, #b8d7ff 100%);border-color:#c4dbff;color:#5d8fd6;box-shadow:0 12px 26px rgba(122, 166, 224, 0.18);font-weight:900}
.action-button.is-primary, .edit-channels-button{background:linear-gradient(135deg, #fc2e17 0%, #ff5a46c2 100%);box-shadow:0 18px 36px rgba(252, 46, 23, 0.28);color:#ffffff;font-size:1rem;font-weight:800;letter-spacing:0.01em;border:1px solid rgba(252, 46, 23, 0.34);text-shadow:0 1px 2px rgba(0, 0, 0, 0.18)}
.action-button.is-primary.active{filter:saturate(1.03) brightness(1.01);box-shadow:0 20px 40px rgba(252, 46, 23, 0.31)}
.edit-channels-button{box-shadow:0 14px 28px rgba(252, 46, 23, 0.22)}
.sticky-desktop-toolbar, .sticky-mobile-toolbar{background:linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 245, 246, 0.9))}
.sticky-desktop-toolbar .compact-control.compact-time{width:188px}
.sticky-desktop-toolbar .compact-control.compact-date{width:258px}
.sticky-desktop-toolbar .actions-row{justify-content:center;gap:8px}
.sticky-mobile-toolbar .actions-row{gap:8px}
.schedule-header{border:1px solid rgba(255, 255, 255, 0.05)}
.schedule-header::before{background:linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 42%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 2px, transparent 2px, transparent 8px)}
.timeline-header{min-height:60px}
.time-slot{padding:9px 7px 10px;font-size:1.15rem;font-weight:700;color:rgba(255, 255, 255, 0.94);text-shadow:0 1px 2px rgba(0, 0, 0, 0.18);letter-spacing:-0.02em}
.time-slot.is-hour{color:#ffffff;font-size:1.15rem;font-weight:700}
.time-slot .sub{font-size:0.56em;font-weight:700;opacity:0.82;text-transform:uppercase}
.schedule-row .channel-cell{background:linear-gradient(180deg, #eceff2, #e1e5e9)}
.logo-frame{background:linear-gradient(180deg, #dbe1e6, #cfd6dd);border:1px solid #bcc5cd;box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.54), 0 8px 14px rgba(54, 75, 102, 0.07)}
.channel-logo{filter:contrast(1.02) drop-shadow(0 1px 1px rgba(255, 255, 255, 0.1))}
.channel-number{margin-top:2px}
.timeline{padding:7px 6px}
.program-card{padding:8px 10px 8px}
.program-card.is-on-now{border-color: #fe443769;
    background: linear-gradient(180deg, #ffffff, #fdd9d6);
    box-shadow: -5px 3px 20px 0px #fe44379c}
.program-card.is-on-now .show-title{color:var(--text-strong)}
.program-card.is-on-now .show-meta{color:var(--muted)}
.program-card.is-movie{border-color:rgba(254, 68, 55, 0.22);background:linear-gradient(180deg, rgba(254, 68, 55, 0.055), rgba(254, 68, 55, 0.105))}
.program-card.is-favorite{border-color:#ddc57861!important;background:linear-gradient(270deg, #fffef1, #ffd54a5c)!important;box-shadow:0px 9px 20px #ffd54a66!important}
.program-card.is-favorite .tvshow a{padding-bottom:20px}
.favorite-star{position:absolute;left:0;right:auto;bottom:0;width:24px;height:24px;min-width:24px;padding:0;border:2px solid rgba(255,255,255,.86);border-radius:999px;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#fff2a3 0%,#ffd54a 58%,#ffb421 100%);color:#33220091 !important;font-size:0;line-height:1;box-shadow:0px 0px 0px rgb(255 181 41 / 0%), 0 0 0 3px rgb(255 213 74 / 0%), inset 0 1px 0 rgba(255, 255, 255, .62) !important;text-shadow:none;filter:none;pointer-events:none;z-index:4;overflow:visible}
.in-div.favorite-star{left:auto;right:0;bottom:0}
.favorite-star::before{content:"\2713";display:block;color:#33220091 !important;font-family:Arial, Helvetica, sans-serif;font-size:0.95rem;font-weight:950;line-height:1;transform:translateY(-1px);text-shadow:none;filter:none!important}
.favorite-star::after{content:none;display:none!important}
.tvshow a, .tvshow a.has-badge{display:grid;grid-template-columns:minmax(0, 1fr) auto;grid-template-areas:"title badge"
        "meta badge";align-content:start;justify-items:stretch;column-gap:8px;row-gap:0;padding-right:0;width:100%;height:100%;overflow:hidden}
.tvshow a:not(.has-badge){grid-template-columns:minmax(0, 1fr);grid-template-areas:"title"
        "meta"}
.schedule-badge{grid-area:badge;justify-self:end;align-self:start;min-width:44px;margin-left:4px}
.badge-new{background:#ffd54a!important;color:#ffffff!important;text-shadow:0 1px 2px rgba(0, 0, 0, 0.18);box-shadow:0 6px 14px rgba(255, 213, 74, 0.22)}
.badge-movie{background:linear-gradient(180deg, #ef6a73, #FE4437);color:#ffffff;box-shadow:0 6px 14px rgba(221, 73, 84, 0.22)}
.show-title{grid-area:title;font-size:0.75rem;line-height:1.16}
.show-meta{grid-area:meta;margin:6px 0 0;font-size:0.6rem;font-weight:600;line-height:1.02}
.program-card.is-tight .show-meta{display:block;font-size:0.56rem}
@media (max-width: 980px){
  .controls-panel{grid-template-columns:82px minmax(130px, 0.8fr) minmax(0, 1fr) minmax(0, 1fr)}
}
@media (max-width: 991px){
  :root{--channel-col:90px !important}
  .controls-panel{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .sticky-mobile-toolbar{width:min(calc(100% - 14px), 420px)}
  .timeline-header{min-height:58px}
  .time-slot{padding:8px 3px 9px}
  .logo-frame{width:84px;height:47px}
  .channel-name{font-size:0.64rem}
  .channel-number{font-size:0.62rem}
  .program-card{padding:7px 8px 7px}
  .edit-channels-button{font-size:0.68rem;padding:0 10px}
}
:root{--channel-col:102px}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}
.utility-panel, .controls-panel{border:1px solid rgba(255, 255, 255, 0.7);border-radius:var(--radius-xl);background:linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 246, 247, 0.96));box-shadow:var(--shadow);backdrop-filter:blur(16px)}
.utility-panel{margin:0 0 14px}
.guide-search-shell{position:relative;min-width:0}
.guide-search-shell::before{content:"";position:absolute}
.guide-search-shell input{position:relative;z-index:1;width:100%;border:0;padding:0 58px 0 18px;background:transparent;color:var(--text-strong);outline:none}
.guide-search-shell input::placeholder{color:#8a96a4}
.guide-search-submit{position:absolute;top:50%;z-index:2;width:38px;height:38px;border:0;border-radius:12px;background:transparent;color:#FE4437;font-size:1.22rem;font-weight:900;transform:translateY(-50%);cursor:pointer;transition:background 160ms ease, transform 160ms ease}
.guide-search-submit:hover{background:rgba(254, 68, 55, 0.08);transform:translateY(-50%) scale(1.02)}
.welcome-message{padding:8px 4px 8px 10px;color:var(--text)}
.welcome-message span{min-width:0;line-height:1.42;color:#495667}
.welcome-message a:not(.alert-pill){color:#FE4437}
.alert-pill{display:inline-flex;align-items:center;flex:0 0 auto;border-radius:999px;font-weight:800}
.alert-pill__icon{width:34px;height:34px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;text-shadow:0 1px 2px rgba(0, 0, 0, 0.15)}
.controls-panel{position:relative;top:auto;z-index:12;margin:0 0 18px;padding:16px 18px}
.main-actions-row{flex-wrap:nowrap}
.main-actions-row .action-button{height:46px}
.main-actions-row .action-button.is-primary{min-width:116px}
.action-button.is-primary, .edit-channels-button{text-transform:uppercase}
.edit-channels-button{font-size:0.65rem;letter-spacing:0.06em}
.time-slot .sub{margin-left:2px}
.schedule-header{background:linear-gradient(349deg, #454951, #454951);box-shadow:0 16px 28px #45495175;border-radius:10px}
body.compact-sticky-on .schedule-header{background:linear-gradient(349deg, rgba(69, 73, 81, 0.86), rgba(69, 73, 81, 0.8));box-shadow:0 16px 28px rgba(69, 73, 81, 0.34);backdrop-filter:blur(10px)}
.channel-cell{padding:8px 4px}
.logo-frame{width:84px;height:47px}
.channel-name{font-size:0.67rem;line-height:1.12}
.channel-number{font-size:0.64rem;text-align:center}
.schedule-badge.badge-new{margin-top:auto;margin-bottom:1px}
.program-card.is-tight .tvshow a.has-badge{grid-template-columns:minmax(0, 1fr) auto;grid-template-areas:"title badge"
        "meta badge";column-gap:5px;row-gap:2px}
.program-card.is-tight .schedule-badge{justify-self:end;margin-left:4px}
.program-card.is-tight .schedule-badge.badge-new{align-self:end}
.empty-state{padding:24px 16px 34px}
.empty-state-card{margin-left:calc(var(--channel-col) + 16px);padding:18px 20px;border-radius:18px;border:1px solid rgba(220, 226, 233, 0.9);background:linear-gradient(180deg, #ffffff, #fafafb);box-shadow:0 12px 28px rgba(31, 42, 55, 0.06)}
.empty-state-card strong{display:block;margin-bottom:6px;color:var(--text-strong);font-size:0.96rem}
.empty-state-card p{margin:0;color:var(--muted);font-size:0.88rem;line-height:1.45}
@media (max-width: 980px){
  .utility-panel{grid-template-columns:1fr}
  .welcome-message{padding-left:2px}
  .controls-inline-row{grid-template-columns:1fr}
  .main-actions-row{justify-content:center}
  .controls-grid{grid-template-columns:74px minmax(128px, 0.8fr) 146px minmax(190px, 1fr)}
}
@media (max-width: 991px){
  :root{--channel-col:90px !important}
  .utility-panel{padding:12px;gap:12px}
  .welcome-message{flex-direction:column;align-items:flex-start;padding:4px 2px 2px}
  .alert-pill{align-self:flex-start}
  .controls-panel{padding:14px 12px}
  .controls-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .main-actions-row{width:100%;justify-content:space-between}
  .main-actions-row .action-button.is-primary{flex:1 1 auto}
  .main-actions-row .action-button.icon-only{flex:0 0 52px;max-width:52px}
  .logo-frame{width:84px;height:47px}
  .channel-name{font-size:0.62rem}
  .channel-number{font-size:0.6rem}
  .empty-state{padding:18px 10px 24px}
  .empty-state-card{margin-left:0}
}
.guide-search-submit{right:14px}
.welcome-message{display:flex;align-items:center;justify-content:space-between}
.welcome-message span:first-child{flex:1 1 auto;min-width:0}
.alert-pill{gap:0;min-width:46px;padding:6px;justify-content:center;background:linear-gradient(135deg, #fffdf2, #fff5cf);border:1px solid rgba(255, 213, 74, 0.24);color:#e1a400;box-shadow:0 12px 22px rgba(255, 213, 74, 0.14)}
.alert-pill__icon{background:linear-gradient(135deg, #ffe77f, #ffd54a);color:#ffffff;box-shadow:0 10px 18px rgba(255, 213, 74, 0.24);font-size:1rem}
.edit-channels-button{white-space:normal;text-align:center}
.tvshow a.has-badge-new, .program-card.is-tight .tvshow a.has-badge-new{padding-bottom:22px}
.schedule-badge.badge-new{position:absolute;top:auto;grid-area:auto;justify-self:auto;align-self:auto;margin:0;z-index:3}
.now-line{width:2px}
.expand-button, .shrink-button{display:none;background:linear-gradient(135deg, #dff0ff 0%, #b8d7ff 100%);border-color:#c4dbff;color:#5d8fd6;box-shadow:0 12px 26px rgba(122, 166, 224, 0.18)}
.expand-button svg, .shrink-button svg{stroke:currentColor;stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round}
@media (max-width: 980px){
  .controls-grid{grid-template-columns:74px minmax(118px, 1.3fr) minmax(0, 1fr) minmax(0, 1fr)}
}
@media (max-width: 991px){
  .utility-panel{grid-template-columns:1fr}
  .welcome-message{flex-direction:row;align-items:center;justify-content:space-between;gap:10px}
  .alert-pill{flex:0 0 auto;align-self:auto}
  .controls-inline-row{flex-direction:column;align-items:stretch}
  .controls-grid{grid-template-columns:repeat(2, minmax(0, 1fr));width:100%}
  .main-actions-row{width:100%;justify-content:space-between;min-width:0}
  .expand-button, .shrink-button{display:inline-flex}
  .main-actions-row .action-button.icon-only, .sticky-mobile-toolbar .action-button.icon-only{flex:0 0 52px;max-width:52px}
  .sticky-mobile-toolbar .actions-row{justify-content:space-between}
}
.guide-search-shell input{border-radius:18px}
.controls-panel{display:block!important;grid-template-columns:none!important}
.controls-inline-row{justify-content:space-between}
.controls-grid{flex:1 1 auto}
.sticky-desktop-toolbar{display:grid;grid-template-columns:198px 292px auto;align-items:center;justify-content:center;gap:12px;width:min(calc(100% - 28px), 820px)}
.sticky-desktop-toolbar .compact-control, .sticky-desktop-toolbar .compact-control.compact-time, .sticky-desktop-toolbar .compact-control.compact-date, .sticky-desktop-toolbar .control-group:first-child{width:100%;max-width:none!important}
.sticky-desktop-toolbar .sticky-actions-row{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;min-width:max-content}
.action-button.icon-only, .expand-button, .shrink-button{display:inline-flex;align-items:center;justify-content:center;padding:0}
.expand-button svg, .shrink-button svg{display:block;width:20px;height:20px;margin:0 auto}
.schedule-badge.badge-new{left:auto!important;right:0!important;bottom:0!important}
.program-card.is-favorite .schedule-badge.badge-new{left:auto!important;right:0!important}
@media (max-width: 991px){
  .controls-inline-row{flex-direction:column;align-items:stretch}
  .controls-grid{width:100%;grid-template-columns:repeat(2, minmax(0, 1fr))}
  .main-actions-row{width:100%;min-width:0;margin-left:0;justify-content:space-between}
  .main-actions-row .action-button, .sticky-mobile-toolbar .action-button{display:inline-flex;align-items:center;justify-content:center}
  .main-actions-row .action-button.is-primary, .sticky-mobile-toolbar .action-button.is-primary{flex:1 1 auto}
  .main-actions-row .action-button.icon-only, .sticky-mobile-toolbar .action-button.icon-only{flex:0 0 52px;max-width:52px}
}
:root{--timeline-height:105px}
.control-group select, .compact-control select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23232f3d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5.25 7 9l4-3.75'/%3E%3C/svg%3E"),
        linear-gradient(180deg, #ffffff, #f5f7f8)!important;background-repeat:no-repeat, no-repeat!important;background-size:14px 14px, 100% 100%!important}
.controls-panel{width:100%!important}
.controls-inline-row{display:grid!important;grid-template-columns:minmax(0, 1fr) auto;align-items:center;gap:14px;width:100%}
.controls-grid{display:grid!important;grid-template-columns:82px minmax(120px, 1.3fr) 132px minmax(252px, 1fr)!important;gap:12px!important;width:100%!important;min-width:0;align-items:center;justify-content:stretch}
.controls-grid.is-desktop-grid{grid-template-columns:82px minmax(120px, 1.3fr) 132px minmax(160px, 1fr) minmax(160px, 1fr)!important}
.control-group, .control-group input, .control-group select{width:100%;min-width:0}
.main-actions-row{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;min-width:max-content;margin-left:0;flex:0 0 auto}
.edit-channels-button{min-height:44px!important;display:inline-grid!important;place-items:center;line-height:1.02}
.edit-channels-button span{display:inline-block;width:100%;text-align:center;letter-spacing:0.04em}
.schedule-badge.badge-new, .program-card.is-tight .schedule-badge.badge-new, .program-card.is-favorite .schedule-badge.badge-new{align-self:end!important;justify-self:end!important;margin:0!important}
.more-button{background:linear-gradient(135deg, #fc2e17 0%, #ff5a46c2 100%)!important;border:1px solid rgba(252, 46, 23, 0.34)!important;color:#ffffff!important;text-transform:uppercase;box-shadow:0 18px 36px rgba(252, 46, 23, 0.28)!important;text-shadow:0 1px 2px rgba(0, 0, 0, 0.18)}
.more-button:hover{box-shadow:0 20px 40px rgba(252, 46, 23, 0.31)!important;filter:saturate(1.03)}
@media (min-width: 769px){
  .main-actions-row .expand-button, .sticky-desktop-toolbar .expand-button, .sticky-mobile-toolbar{display:none!important}
  .sticky-desktop-toolbar{display:grid!important;grid-template-columns:minmax(178px, 212px) minmax(268px, 336px) auto;align-items:center;justify-content:center;gap:14px;width:min(calc(100% - 28px), 880px)!important}
  .sticky-desktop-toolbar .compact-control, .sticky-desktop-toolbar .compact-control.compact-time, .sticky-desktop-toolbar .compact-control.compact-date{width:100%!important;min-width:0}
  .sticky-desktop-toolbar .sticky-actions-row{display:inline-flex!important;align-items:center;justify-content:flex-end;justify-self:end;gap:8px;min-width:max-content}
}
@media (max-width: 991px){
  .controls-inline-row{display:grid!important;grid-template-columns:1fr;align-items:stretch}
  .controls-grid{grid-template-columns:minmax(0, 0.6fr) minmax(0, 1.4fr)!important;gap:10px!important;width:100%!important}
  .controls-grid .control-group:nth-child(1), .controls-grid .control-group:nth-child(3){min-width:0}
  .controls-grid .control-group:nth-child(2), .controls-grid .control-group:nth-child(4){min-width:0}
  .main-actions-row, .sticky-mobile-toolbar .actions-row{display:grid!important;grid-template-columns:52px minmax(0, 1fr) auto auto auto;align-items:center;gap:10px;width:100%;min-width:0}
  .main-actions-row{margin-left:0}
  .main-actions-row .action-button, .sticky-mobile-toolbar .action-button{width:100%;min-width:0;margin:0}
  .main-actions-row .action-button.is-primary, .sticky-mobile-toolbar .action-button.is-primary{min-width:0;width:auto}
  .main-actions-row .action-button.is-primary#onNowBtn, .sticky-mobile-toolbar .action-button.is-primary#stickyOnNowBtn{width:auto;min-width:0;padding:0 12px}
  .main-actions-row .expand-button, .sticky-mobile-toolbar .expand-button{grid-column:1}
  .main-actions-row #backBtn, .sticky-mobile-toolbar #stickyBackBtn{grid-column:3; padding:0 12px;}
  .main-actions-row #onNowBtn, .sticky-mobile-toolbar #stickyOnNowBtn{grid-column:4}
  .main-actions-row #forwardBtn, .sticky-mobile-toolbar #stickyForwardBtn{grid-column:5; padding:0 12px;}
  .expand-button, .shrink-button{display:inline-grid!important;place-items:center;padding:0!important}
  .expand-button svg, .shrink-button svg{width:22px!important;height:22px!important;display:block;margin:0 auto!important}
  body.compact-sticky-on .controls-panel .main-actions-row{height:0;min-height:0;overflow:hidden;opacity:0;pointer-events:none;margin:0;gap:0}
  .sticky-desktop-toolbar{display:none!important}
  .sticky-mobile-toolbar{display:block!important;width:min(calc(100% - 14px), 100%)!important}
}
.utility-tab{appearance:none}
.utility-title{grid-area:title;margin:2px 0 2px;text-align:center;font-size:clamp(1.75rem, 3.4vw, 2.55rem);line-height:1.02;letter-spacing:-0.04em;font-weight:900;color:var(--text-strong)}
.guide-search{grid-area:search;min-width:0;width:100%}
.welcome-message{grid-area:welcome;justify-self:end;min-width:min(100%, 390px);width:auto}
@media (max-width: 980px){
  .utility-panel{grid-template-columns:1fr;grid-template-areas:"title"
          "search"
          "welcome"}
  .welcome-message{justify-self:stretch;min-width:0;width:100%}
}
@media (max-width: 991px){
  .utility-tabs{gap:8px;margin:0 0 10px 6px}
  .utility-tab{padding:10px 15px;font-size:0.86rem}
  .utility-title{font-size:clamp(1.5rem, 7vw, 2.05rem);margin-top:0}
  .utility-panel{padding:16px 14px 14px;gap:12px}
}
.page-heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 12px;padding:0 6px;width:100%}
.page-title{margin:0;color:var(--text-strong);font-size:3.3rem;line-height:0.96;letter-spacing:-0.025em;font-weight:900;text-wrap:balance}
.utility-tabs{display:inline-flex;align-items:flex-end;justify-content:flex-end;gap:8px;margin:0;padding-top:8px;flex:0 0 auto}
.utility-tab{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:44px;color:#ffffff;line-height:1;cursor:pointer;transition:transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;overflow:hidden;isolation:isolate}
.utility-tab::before{content:"";position:absolute;pointer-events:none}
.utility-tab::after{position:absolute;pointer-events:none}
.guide-search-shell{padding:8px!important;border-radius:24px!important;background:linear-gradient(90deg, rgb(255 178 171) 0%, rgb(255 214 177) 18%, rgb(255 241 196) 34%, rgb(196 235 210) 51%, rgb(191 226 255) 68%, rgb(216 205 255 / 74%) 84%, rgb(255 198 227) 100%)!important;box-shadow:0 18px 36px rgb(55 70 92 / 11%)!important}
.guide-search-shell::before{inset:8px!important;border-radius:16px!important;background:linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(250, 250, 251, 0.985))!important}
@media (max-width: 980px){
  .page-heading-row{gap:14px}
  .page-title{font-size:3rem}
  .utility-panel{grid-template-columns:1fr;grid-template-areas:"search"
          "welcome"}
}
@media (max-width: 991px){
  .page-heading-row{display:grid;grid-template-columns:1fr;gap:10px;margin:0 0 10px;padding:0}
  .page-title{text-align:center;font-size:2.6rem;line-height:0.96;letter-spacing:-0.025em;font-weight:900}
  .utility-tabs{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:8px;width:100%;padding-top:0}
  .utility-tab{width:100%;min-height:44px;padding:11px 10px 9px;border-radius:14px 14px 0 0;font-size:0.68rem;letter-spacing:0.08em}
  .utility-tab::after{left:10px;right:10px}
}
.utility-tab{font-size:0.7rem!important;font-weight:900!important;letter-spacing:0.01em!important;text-transform:none!important}
.utility-tab::after{left:10px!important;right:10px!important;bottom:1px!important;height:1px!important;background:rgba(255, 255, 255, 0.42)!important;opacity:0.85!important}
.action-button.is-primary, .edit-channels-button, .more-button{text-transform:none!important}
.edit-channels-button{padding:6px 8px!important;border-radius:10px!important}
.edit-button-lines{display:grid;justify-items:center;gap:1px;width:100%;line-height:0.96}
.edit-button-top{display:block;font-size:.9rem;font-weight:900;letter-spacing:.01em;text-transform:none}
.edit-button-bottom{display:block;font-size:0.67rem;font-weight:800;letter-spacing:0.01em;text-transform:none}
.schedule-row, .schedule-row .channel-cell, .schedule-row .timeline{min-height:var(--row-height, var(--timeline-height))!important}
.controls-panel .control-group select, .compact-control select{padding-right:36px!important}
.control-group select, .compact-control select{background-position:calc(100% - 12px) 50%, 0 0!important}
.program-card.is-favorite .tvshow a, .program-card.is-favorite .tvshow a.has-badge, .program-card.is-favorite .tvshow a.has-badge-new{padding-bottom:28px!important}
.tvshow a, .tvshow a.has-badge, .program-card.is-tight .tvshow a.has-badge{display:block!important;position:relative!important;width:100%;height:100%;padding:0!important;overflow:hidden}
.tvshow a.has-badge{padding-right:58px!important}
.tvshow a.has-badge-new, .program-card.is-tight .tvshow a.has-badge-new, .program-card.is-favorite .tvshow a.has-badge-new{padding-right:0!important;padding-bottom:28px!important}
.schedule-badge{position:absolute!important;top:0!important;right:0!important;left:auto!important;bottom:auto!important;margin:0!important;z-index:2}
.schedule-badge.badge-new, .program-card.is-tight .schedule-badge.badge-new, .program-card.is-favorite .schedule-badge.badge-new{top:auto!important;right:0!important;bottom:0!important;left:auto!important}
.show-title{display:-webkit-box!important;min-width:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3!important;overflow-wrap:break-word!important;word-break:normal!important;hyphens:none!important;-webkit-mask-image:none!important;mask-image:none!important;text-overflow:ellipsis}
.show-meta{display:block!important}
.program-card.is-tight .show-title{font-size:0.69rem!important;-webkit-line-clamp:3!important}
.program-card.is-tight .show-meta{margin-top:4px!important}
.utility-tab{border-radius:16px!important;border:1px solid rgba(255, 255, 255, 0.28)!important;border-bottom:1px solid rgba(255, 255, 255, 0.22)!important;padding:11px 20px 11px!important;background-clip:padding-box;box-shadow:0 18px 32px rgba(31, 42, 55, 0.18),
        0 4px 10px rgba(31, 42, 55, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -2px 0 rgba(0, 0, 0, 0.08)!important;text-shadow:0 1px 0 rgba(255, 255, 255, 0.14),
        0 2px 5px rgba(0, 0, 0, 0.22)!important;filter:saturate(1.02)}
.utility-tab::before{inset:1px!important;border-radius:15px!important;background:linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.10) 45%, rgba(255, 255, 255, 0.02) 100%)!important;mix-blend-mode:screen}
.utility-tab::after{content:none!important;display:none!important}
.utility-tab.is-active{background:linear-gradient(180deg, #ff8b80 0%, #fe4437 56%, #e53a30 100%)!important}
.utility-tab.is-streaming{background:linear-gradient(180deg, #95b8ff 0%, #2f6cff 56%, #255dde 100%)!important}
.utility-tab:hover{transform:translateY(-1px);box-shadow:0 20px 36px rgba(31, 42, 55, 0.20),
        0 6px 12px rgba(31, 42, 55, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.44),
        inset 0 -2px 0 rgba(0, 0, 0, 0.08)!important;filter:saturate(1.04)}
.action-button.is-primary, .action-button.is-primary.active, .action-button.is-primary:active{background:linear-gradient(135deg, #fc2e17 0%, #ff5a46c2 100%)!important;border-color:rgba(252, 46, 23, 0.34)!important;color:#ffffff!important;box-shadow:0 18px 36px rgba(252, 46, 23, 0.28)!important;filter:none!important}
.now-line{z-index:8!important}
.edit-channels-button{min-width:60px!important;width:auto!important;background:linear-gradient(135deg, #fc2e17 0%, #e27c70 100%)!important;border:0!important;color:#ffffff!important;box-shadow:0 14px 28px rgba(252, 46, 23, 0.22)!important}
@media (max-width: 991px){
  .controls-grid{grid-template-columns:minmax(0, 0.64fr) minmax(0, 1.15fr)!important}
}
.utility-switcher-desktop{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;margin:0 0 10px}
.utility-switcher-mobile{display:none}
.utility-switch{position:relative;appearance:none;border:0;min-height:46px;padding:12px 18px 11px;border-radius:15px;color:#ffffff;font-size:1.3rem;font-weight:900;letter-spacing:0;text-transform:uppercase;line-height:1;text-shadow:0 2px 4px rgba(0, 0, 0, 0.16);box-shadow:3px 4px 2px 0px rgba(31, 42, 55, 0.14), inset 3px 3px 0 rgba(255, 255, 255, 0.32), inset 0 -1px 0 rgba(0, 0, 0, 0.06);cursor:pointer;transition:transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;overflow:hidden;isolation:isolate}
.utility-switch::before{content:"";position:absolute;inset:1px;border-radius:14px;background:linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.02) 58%, rgba(0, 0, 0, 0.04) 100%);pointer-events:none;mix-blend-mode:screen}
.utility-switch:hover{transform:translateY(-1px);filter:saturate(1.02);box-shadow:4px 6px 4px 0 rgba(31, 42, 55, 0.16), inset 3px 3px 0 rgba(255, 255, 255, 0.34), inset 0 -1px 0 rgba(0, 0, 0, 0.06)}
.utility-switch:active{transform:translateY(0);box-shadow:2px 3px 2px 0 rgba(31, 42, 55, 0.14), inset 2px 2px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(0, 0, 0, 0.08)}
.utility-switch--listings{background:linear-gradient(180deg, #ff7164 0%, #FE4437 58%, #e43c30 100%)}
.utility-switch--streaming{background:linear-gradient(180deg, #6b9bff 0%, #2f6cff 58%, #2558dc 100%)}
.utility-panel{display:grid!important;grid-template-columns:minmax(0, 1.08fr) auto!important;grid-template-areas:"title title"
        "search welcome"!important;align-items:center!important;gap:16px 18px!important;padding:18px 18px 16px!important;width:100%;background:linear-gradient(331deg, #ffffffba, #dae7ff00)!important}
.utility-panel-title{grid-area:title;margin:2px 0 4px;text-align:center;color:#252525;letter-spacing:-0.03em;text-wrap:balance}
.guide-search-shell{font-weight:400!important;font-size:20px!important}
.guide-search-shell input{font-weight:400!important;font-size:20px!important}
.welcome-message{font-size:18px!important}
@media (max-width: 980px){
  .utility-panel{grid-template-columns:1fr!important;grid-template-areas:"title"
          "search"
          "welcome"!important}
}
@media (max-width: 991px){
  .utility-switcher-desktop{display:none!important}
  .utility-panel{grid-template-columns:1fr!important;grid-template-areas:"title"
          "mobile-switches"
          "search"
          "welcome"!important;gap:14px!important;padding:16px 14px 14px!important}
  .utility-panel-title{margin:4px 0 2px;font-size:clamp(4.25rem, 11.8vw, 70px);font-weight:950}
  .utility-switcher-mobile{grid-area:mobile-switches;display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:10px;width:min(100%, 420px);justify-self:center}
  .utility-switch{width:100%;min-height:44px;padding:11px 10px 10px;font-size:1.3rem;letter-spacing:0}
}
.controls-panel{border:1px solid rgba(255, 255, 255, 0.78)!important;box-shadow:0 20px 44px rgba(31, 42, 55, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.58)!important}
@supports ((-webkit-backdrop-filter: blur(16px)) or (backdrop-filter: blur(16px))){
  .controls-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
}
.controls-panel, .sticky-desktop-toolbar, .sticky-mobile-toolbar{background:linear-gradient(90deg, rgb(47 111 255 / 8%), rgba(246, 246, 247, 0.96))!important}
.welcome-message{gap:0px!important}
.utility-top-row{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;margin:0 0 10px}
.utility-top-row .utility-switcher-desktop{width:auto!important;margin:0!important;flex:0 0 auto}
.country-switch{position:relative;appearance:none;border:1px solid rgba(210, 218, 229, 0.95);border-radius:999px;background:linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 247, 251, 0.96) 100%);box-shadow:0 16px 30px rgba(55, 70, 92, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.98);display:inline-flex;align-items:center;letter-spacing:-0.02em;line-height:1;cursor:pointer;transition:transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, filter 160ms ease;white-space:nowrap}
.country-switch:hover{transform:translateY(-1px);box-shadow:0 20px 36px rgba(55, 70, 92, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.98);border-color:rgba(187, 198, 212, 0.98)}
.country-switch:active{transform:translateY(0);box-shadow:0 12px 24px rgba(55, 70, 92, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.96)}
.country-switch__icon-wrap{border-radius:999px;display:inline-flex;align-items:center;justify-content:center}
.country-switch__icon{fill:none;stroke:#ffffff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.country-switch__text{white-space:nowrap}
.country-switch-mobile{display:none}
@media (max-width: 991px){
  .utility-top-row{display:none!important}
  .utility-panel{position:relative}
  .country-switch-mobile{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;min-height:48px;padding:0;position:absolute;top:14px;right:14px;border-radius:16px;z-index:4}
  .country-switch-mobile .country-switch__icon-wrap{width:30px;height:30px;flex-basis:30px}
  .country-switch-mobile .country-switch__icon{width:17px;height:17px}
  .country-switch-mobile .country-switch__text, .country-switch-mobile .country-switch__caret{display:none}
  .utility-panel-title{padding-left:56px;padding-right:56px}
}
.country-switcher{position:relative;display:inline-flex;align-items:center;z-index:1000;}
.country-switch__caret{transition:transform 160ms ease}
.country-switcher.is-open .country-switch__caret{transform:rotate(180deg)}
.country-dropdown{position:absolute;top:calc(100% + 12px);right:0;z-index:40;padding:22px;border-radius:30px;border:1px solid rgba(217, 222, 229, 0.96);background:linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 247, 249, 0.97));box-shadow:0 18px 38px rgba(41, 53, 73, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);display:grid;gap:16px}
.country-option{display:flex;align-items:center;justify-content:center;padding:14px 16px;border-radius:18px;border:1px solid rgba(215, 219, 225, 0.95);background:linear-gradient(180deg, #ffffff, #f7f8fa);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 1px 0 rgba(0, 0, 0, 0.02);color:#19243d;font-size:clamp(0.98rem, 1.45vw, 1.12rem);font-weight:800;line-height:1.08;text-align:center;transition:transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease}
.country-option:hover, .country-option:focus-visible{transform:translateY(-1px);border-color:rgba(190, 198, 208, 0.96);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 10px 20px rgba(41, 53, 73, 0.09)}
.country-option.is-active{background:linear-gradient(180deg, #ffffff, #f5f6f8)}
.channel-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;min-height:100%}
.channel-link:hover .channel-name, .channel-link:focus-visible .channel-name{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.channel-link:focus-visible{outline:2px solid rgba(47, 108, 255, 0.28);outline-offset:4px;border-radius:18px}
.tvshow a.has-badge-new, .program-card.is-tight .tvshow a.has-badge-new, .program-card.is-favorite .tvshow a.has-badge-new{display:block!important;position:relative!important;width:100%!important;height:100%!important;padding:0 0 30px 0!important}
.tvshow a.has-badge-new .show-title, .program-card.is-tight .tvshow a.has-badge-new .show-title, .program-card.is-favorite .tvshow a.has-badge-new .show-title{display:-webkit-box!important;width:100%!important;max-width:100%!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;text-overflow:ellipsis;mask-image:none!important;-webkit-mask-image:none!important}
.tvshow a.has-badge-new .show-meta, .program-card.is-tight .tvshow a.has-badge-new .show-meta, .program-card.is-favorite .tvshow a.has-badge-new .show-meta{display:block!important;width:100%!important;margin-top:6px!important}
.tvshow a.has-badge-new .schedule-badge.badge-new, .program-card.is-tight .tvshow a.has-badge-new .schedule-badge.badge-new, .program-card.is-favorite .tvshow a.has-badge-new .schedule-badge.badge-new{position:absolute!important;right:0!important;bottom:0!important;left:auto!important;top:auto!important;grid-area:auto!important;justify-self:auto!important;align-self:auto!important;margin-left:0!important}
.program-card.is-tight .tvshow a.has-badge-new .show-title{font-size:0.68rem!important}
.program-card.is-tight .tvshow a.has-badge-new .show-meta{font-size:0.56rem!important;margin-top:3px!important}
.now-line{display:block!important;opacity:1!important;background:linear-gradient(180deg, rgba(254, 68, 55, 0) 0%, rgba(254, 68, 55, 0.44) 12%, #FE4437 50%, rgba(254, 68, 55, 0.46) 88%, rgba(254, 68, 55, 0) 100%)!important;box-shadow:0 0 0 2px rgba(254, 68, 55, 0.09), 0 0 12px rgba(254, 68, 55, 0.18)!important}
@media (max-width: 980px){
  .country-dropdown{grid-template-columns:repeat(2, minmax(0, 1fr));width:min(calc(100vw - 28px), 680px);padding:20px}
}
@media (max-width: 991px){
  .country-switcher-mobile{position:absolute;top:14px;right:14px;z-index:5}
  .country-switcher-mobile .country-switch-mobile{position:static!important}
  .country-dropdown, .country-dropdown-mobile{width:min(calc(100vw - 28px), 360px);top:calc(100% + 10px);right:0;padding:14px;border-radius:24px;grid-template-columns:repeat(2, minmax(0, 1fr));gap:12px}
  .country-option{min-height:60px;padding:12px 10px;border-radius:16px;font-size:0.92rem}
}
.country-switcher-mobile{display:none}
.utility-panel-title{font-size:clamp(3rem, 6.8vw, 4.4rem)!important;font-weight:950!important;line-height:1!important;text-shadow:0px 0px 12px #adadadc7 !important}
@media (max-width: 991px){
  .utility-panel-title{font-size:clamp(2.35rem, 11vw, 3.1rem)!important}
}
.country-dropdown[hidden], .country-dropdown-mobile[hidden], .country-switcher:not(.is-open) .country-dropdown, .country-switcher:not(.is-open) .country-dropdown-mobile{display:none!important}
.country-switch{min-height:42px!important;padding:7px 12px 7px 10px!important;gap:9px!important;font-size:0.88rem!important;font-weight:800!important;color:#29374f!important}
.country-switch__icon-wrap{width:24px!important;height:24px!important;flex:0 0 24px!important;background:#3c4964!important;box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.11), 0 3px 8px rgba(60, 73, 100, 0.14)!important}
.country-switch__icon{width:13px!important;height:13px!important}
.country-switch__text{font-size:0.86rem!important;font-weight:800!important}
.country-switch__caret{margin-left:0!important;font-size:0.68rem!important;color:#66768e!important}
.country-switch-mobile{width:40px!important;height:40px!important;min-height:40px!important;border-radius:13px!important}
@media (max-width: 991px){
  .country-switch-mobile .country-switch__icon-wrap{width:22px!important;height:22px!important;flex:0 0 22px!important}
  .country-switch-mobile .country-switch__icon{width:12px!important;height:12px!important}
}
.tvshow a[data-program-tooltip] .show-title, .tvshow a[data-program-tooltip] .show-meta{cursor:pointer}
@media (max-width: 991px){
  .utility-panel-title{padding-left:0!important;padding-right:0!important}
}
.guide-search-shell input{height:45px!important}
.timeline-header{padding:0!important}
.timeline-header::after{background-position:left top}
.time-slot{justify-content:center!important;text-align:center!important;padding-left:0!important;padding-right:0!important;gap:1px}
.country-dropdown{width:min(calc(100vw - 72px), 920px)!important;grid-template-columns:repeat(5, minmax(0, 1fr))!important}
.country-option{min-height:64px}
@media (max-width: 980px){
  .country-dropdown{width:min(calc(100vw - 28px), 991px)!important;grid-template-columns:repeat(5, minmax(0, 1fr))!important}
}
@media (max-width: 991px){
  .timeline-header{padding:0!important}
  .time-slot{padding-left:0!important;padding-right:0!important}
  .country-dropdown, .country-dropdown-mobile{grid-template-columns:repeat(2, minmax(0, 1fr))!important}
}
@media (min-width: 769px){
  .country-dropdown{width:min(calc(100vw - 24px), 980px)!important;padding:18px!important;gap:12px!important;grid-template-columns:repeat(5, minmax(0, 1fr))!important}
  .country-option{min-height:62px!important;padding:12px 10px!important;font-size:clamp(0.86rem, 1.02vw, 0.98rem)!important;line-height:1!important;letter-spacing:-0.01em!important;white-space:nowrap!important}
}
@media (max-width: 991px){
  .country-dropdown, .country-dropdown-mobile{width:min(calc(100vw - 24px), 380px)!important;gap:10px!important}
  .country-option{padding:10px 8px!important;font-size:0.84rem!important;white-space:nowrap!important}
}
.ad-slot .dynamicStuffHere.text-center{align-items:center;justify-content:center;text-align:center}
.ad-slot .dynamicStuffHere.text-center:empty::before{align-items:center;justify-content:center;min-height:38px;padding:8px 14px;border-radius:999px;border:1px solid rgba(112, 128, 144, 0.2);background:rgba(255, 255, 255, 0.62);color:#607080;font-size:0.8rem;font-weight:800;letter-spacing:0.06em;text-transform:uppercase}
.ad-slot{width:min(100%);min-height:320px;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important}
.ad-slot .dynamicStuffHere.text-center{width:100%!important;min-height:320px!important;display:block;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important}
.ad-slot .dynamicStuffHere.text-center:empty::before{content:none!important;display:none!important}

.timeline{overflow:visible!important}
.program-card{--program-card-inset:7px}
.program-card.is-multi-slot{min-height:0;height:auto;z-index:6!important}
.program-card.is-multi-slot:not(.is-expanded){bottom:var(--program-card-inset)!important}
.program-card.is-multi-slot.is-expanded{bottom:auto!important;min-height:calc(var(--timeline-height) - (var(--program-card-inset) * 2));z-index:7!important}
.program-card.is-multi-slot .slot-stack{display:flex;flex-direction:column;width:100%;height:100%!important;gap:6px}
.program-card.is-multi-slot.is-expanded .slot-stack{height:auto!important}
.program-card.is-multi-slot .slot-primary,.program-card.is-multi-slot .more-show-item{display:flex!important;flex-direction:column;align-items:flex-start;width:100%;height:auto!important;min-height:0;padding:0!important;overflow:visible!important}
.program-card.is-multi-slot .slot-primary.has-badge{padding-right:44px!important}
.program-card.is-multi-slot .schedule-badge,.program-card.is-multi-slot .schedule-badge.badge-new{top:0!important;right:0!important;bottom:auto!important;left:auto!important}
.more-shows-toggle{align-self:flex-start;min-height:24px;padding:5px 8px;border:1px solid rgba(47, 111, 255, 0.14);border-radius:999px;background:linear-gradient(135deg, rgba(47, 111, 255, 0.1), rgba(255, 255, 255, 0.94));color:#184398cc;font-size:0.58rem;font-weight:900;letter-spacing:0.02em;line-height:1;cursor:pointer;box-shadow:0 8px 18px rgba(47, 111, 255, 0.1);transition:transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease}
.more-shows-toggle:hover{transform:translateY(-1px);box-shadow:0 12px 22px rgba(47, 111, 255, 0.14);border-color:rgba(47, 111, 255, 0.22)}
.more-shows-list{display:grid;gap:6px;max-height:0;overflow:hidden;opacity:0;transition:max-height 180ms ease, opacity 160ms ease, margin-top 160ms ease}
.program-card.is-multi-slot.is-expanded .more-shows-list{max-height:240px;opacity:1;margin-top:2px}
.more-show-item{padding-top:6px!important;border-top:1px solid rgba(216, 227, 239, 0.72);text-decoration:none}
.more-show-title{font-size:0.75rem!important;font-weight:800;line-height:1.16!important;color:var(--text-strong)}
.program-card.is-tight .more-show-title{font-size:0.69rem!important;line-height:1.16!important}
.program-card.is-tight .slot-primary.has-badge-new~.more-shows-list .more-show-title{font-size:0.68rem!important;line-height:1.16!important}
.more-show-time{margin-top:4px;font-size:0.58rem;font-weight:700;line-height:1;color:var(--muted)}
@media (max-width:991px){.program-card{--program-card-inset:5px}.program-card.is-multi-slot .slot-stack{gap:5px}.more-shows-toggle{padding:4px 7px;font-size:0.56rem}.more-show-time{font-size:0.56rem}}

/* Requested switch refresh: TV LISTINGS label, updated gradients/shadows, and desktop-only placement tweak */
.utility-switch{white-space:nowrap}
.utility-switch.utility-switch--listings,
.utility-switch.utility-switch--listings:hover,
.utility-switch.utility-switch--listings:active{
  background:linear-gradient(160deg, #fe443738 0%, #fe4437e0 58%, #FE4437 100%);
  display: inline-flex;
  align-items: center;
  box-shadow:4px 3px 10px 1px #fc2e1752, inset 3px 3px 0 rgba(255, 255, 255, 0.32), inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}
.utility-switch.utility-switch--streaming,
.utility-switch.utility-switch--streaming:hover,
.utility-switch.utility-switch--streaming:active{
  background:linear-gradient(160deg, #6b9bff99 0%, #2f6cff 58%, #2558dc 100%);
  display: inline-flex;
  align-items: center;
  box-shadow:4px 3px 10px 1px #2f6cff59, inset 3px 3px 0 rgba(255, 255, 255, 0.32), inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}
@media (min-width: 769px){
  .utility-top-row .utility-switcher-desktop{
    position:relative;
    top:4px;
  }
}
@media (max-width: 991px){
  .utility-switch{
    font-size:clamp(1rem, 4.3vw, 1.22rem);
  }
}

/* Subtle grey bevelled divider beneath utility heading */
.utility-panel-title{
  position:relative;
  width:100%;
  padding-bottom:16px;
  margin-bottom:2px;
}
.utility-panel-title::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  border-radius:999px;
  background:linear-gradient(273deg, rgba(255, 255, 255, 0.98) 0%, rgba(221, 225, 230, 0.96) 38%, rgb(182 189 196 / 52%) 100%);
  box-shadow:1px 3px 5px 1px rgba(255, 255, 255, 0.82), 6px 5px 13px 9px rgb(81 89 98 / 15%);
  opacity:0.54;
}
@media (max-width: 991px){
  .utility-panel-title{
    padding-bottom:14px;
    margin-bottom:0;
  }
}

/*Mediavine Leaderboard Adjustment*/

.mb-3 {
    margin-bottom: 1rem !important;
}

.d-flex {
    display: flex !important;
}

.col-12 {
    flex: 0 0 auto;
    width: 100%;
}

.col {
    flex: 1 0 0%;
}

.custom-min-height-250 {

   min-height: 290px !important;

}

@media only screen and (max-width: 430px) {

   .custom-min-height-250 {

       min-height: 70px !important;

   }

}

.listings-ad {

min-height: 340px !important;

}

/*Mediavine Leaderboard Adjustment - END*/

/* === Live Laravel guide integration === */
html,body{background:var(--page-bg,#f3f4f5)}
.visually-hidden,.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.guide-forms{width:100%;overflow:visible}
.tableContainer{width:100%;overflow:visible}
.guide-schedule-output{width:100%;overflow:visible}
.guide-loading{display:flex;align-items:center;justify-content:center;min-height:120px}
.guide-loading.is-hidden{display:none!important}
.spinner-border{width:34px;height:34px;border:3px solid rgba(47,108,255,.18);border-top-color:#2f6cff;border-radius:999px;animation:guide-spin .8s linear infinite}
@keyframes guide-spin{to{transform:rotate(360deg)}}
.control-static-value{display:flex;align-items:center;width:100%;height:46px;min-width:0;padding:0 12px;border-radius:14px;border:1px solid #dbe1e7;background:linear-gradient(180deg,#fff,#f5f7f8);box-shadow:inset 0 1px 0 rgba(255,255,255,.78);color:var(--text-strong);font-size:.88rem;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.control-static-value:hover{text-decoration:underline;text-underline-offset:2px}
.guide-region-cache{display:none!important}
.guide-search-results-disabled{display:none!important}
.guide-search--passive .guide-search-submit{cursor:default}
.guide-search--passive .guide-search-submit:hover{background:transparent;transform:translateY(-50%)}
.channel-logo-fallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:.72rem;font-weight:900;letter-spacing:.04em;color:#334155;background:linear-gradient(135deg,#fff,#e5ebf2);border-radius:inherit}
.logo-frame.logo-frame--fallback::after{content:"TV";display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:.78rem;font-weight:900;color:#334155;background:linear-gradient(135deg,#fff,#e5ebf2);border-radius:inherit}
.live-stream-link{display:inline-flex;align-items:center;justify-content:center;min-height:20px;padding:3px 8px;border-radius:999px;background:linear-gradient(180deg,#ff9cad,#f06f86);color:#fff;font-size:.58rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em;box-shadow:0 6px 14px rgba(240,111,134,.18)}
.more-wrap .loading{margin-left:12px}
.loading:empty{display:none}
.empty-state{padding:34px 18px;background:linear-gradient(180deg,rgba(248,251,255,.76),rgba(245,249,252,.9))}
.empty-state-card{max-width:560px;margin:0 auto;padding:24px;border-radius:22px;background:#fff;border:1px solid rgba(216,225,238,.95);text-align:center;box-shadow:0 14px 30px rgba(52,73,102,.08)}
.empty-state-card strong{display:block;color:var(--text-strong);font-size:1.1rem}
.empty-state-card p{margin:8px 0 0;color:var(--muted)}
.guide-user-menu{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;width:100%}
.guide-user-menu__item{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:10px 14px;border-radius:13px;background:linear-gradient(180deg,#fff,#f5f7f8);border:1px solid rgba(216,225,238,.95);box-shadow:0 10px 22px rgba(52,73,102,.08);color:#1e2731;font-size:.78rem;font-weight:900;text-decoration:none;letter-spacing:.02em}
.guide-user-menu__item--listings{background:linear-gradient(160deg,#fe443738 0%,#fe4437e0 58%,#FE4437 100%);color:#fff}
.guide-user-menu__item--streaming{background:linear-gradient(160deg,#6b9bff99 0%,#2f6cff 58%,#2558dc 100%);color:#fff}
.guide-legacy-switch-row{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%}
.legacy-country-flags{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.legacy-country-flags a{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 10px;border-radius:999px;background:#fff;border:1px solid rgba(216,225,238,.95);font-size:.78rem;font-weight:800;color:#29374f}
@media(max-width:991px){.guide-legacy-switch-row{display:grid;gap:10px}.legacy-country-flags{justify-content:center}.control-static-value{height:46px;font-size:.78rem}}
.d-none{display: none !important;}

/* Sports/movie card background and multi-show visibility fixes
   - Sports cards receive an opaque green wash.
   - Movie cards receive an opaque red wash.
   - Favorites keep the existing yellow treatment.
   - Multi-slot primary titles are prevented from flex-shrinking away when collapsed.
   - Expanded + more show items sit directly on the card surface, with no extra surrounding box. */
.program-card.is-sport{
  border-color:rgba(51, 168, 93, 0.38)!important;
  background:linear-gradient(180deg, #f0fbf4 0%, #e4f6eb 100%)!important;
  box-shadow:0 14px 30px rgba(51, 168, 93, 0.13)!important;
}
.program-card.is-sport:hover{
  border-color:rgba(51, 168, 93, 0.48)!important;
  box-shadow:0 18px 34px rgba(51, 168, 93, 0.18)!important;
}
.program-card.is-movie{
  border-color:rgba(254, 68, 55, 0.34)!important;
  background:linear-gradient(180deg, #fff2f0 0%, #ffe1dd 100%)!important;
  box-shadow:0 14px 30px rgba(254, 68, 55, 0.12)!important;
}
.program-card.is-movie:hover{
  border-color:rgba(254, 68, 55, 0.46)!important;
  box-shadow:0 18px 34px rgba(254, 68, 55, 0.16)!important;
}

.program-card.is-multi-slot,
.program-card.is-multi-slot.is-expanded{
  overflow:visible!important;
}
.program-card.is-multi-slot .slot-stack{
  position:relative!important;
  z-index:1!important;
  min-height:100%!important;
}
.program-card.is-multi-slot .slot-primary{
  display:block!important;
  position:relative!important;
  flex:0 0 auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  overflow:visible!important;
  z-index:2!important;
}
.program-card.is-multi-slot:not(.is-expanded) .slot-primary{
  max-height:calc(100% - 30px)!important;
  overflow:hidden!important;
}
.program-card.is-multi-slot .slot-primary .show-title,
.program-card.is-multi-slot .slot-primary .show-meta{
  visibility:visible!important;
  opacity:1!important;
}
.program-card.is-multi-slot .slot-primary .show-title{
  display:-webkit-box!important;
  width:100%!important;
  max-width:100%!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  color:var(--text-strong)!important;
}
.program-card.is-multi-slot .slot-primary .show-meta{
  display:block!important;
  margin-top:6px!important;
  color:var(--muted)!important;
}
.program-card.is-multi-slot .more-shows-toggle{
  position:relative!important;
  z-index:3!important;
  flex:0 0 auto!important;
  background:linear-gradient(180deg, #ffffff 0%, #f0f5ff 100%)!important;
  border-color:rgba(47, 111, 255, 0.26)!important;
}

.program-card.is-sport .tvshow a.has-badge-sport,
.program-card.is-sport.is-tight .tvshow a.has-badge-sport,
.program-card.is-sport.is-favorite .tvshow a.has-badge-sport{
  display:block!important;
  position:relative!important;
  width:100%!important;
  height:100%!important;
  padding:0 0 34px 0!important;
  overflow:hidden!important;
}
.program-card.is-sport.is-multi-slot .slot-primary.has-badge-sport{
  display:block!important;
  position:static!important;
  height:auto!important;
  padding:0!important;
  margin-bottom:4px!important;
  overflow:visible!important;
}
.program-card.is-sport .schedule-badge.badge-sport,
.program-card.is-sport.is-tight .schedule-badge.badge-sport,
.program-card.is-sport.is-favorite .schedule-badge.badge-sport,
.program-card.is-sport.is-multi-slot .schedule-badge.badge-sport{
  position:absolute!important;
  top:auto!important;
  right:0!important;
  bottom:24px!important;
  left:auto!important;
  grid-area:auto!important;
  justify-self:auto!important;
  align-self:auto!important;
  margin:0!important;
  z-index:4!important;
}
.program-card.is-sport.is-multi-slot .schedule-badge.badge-sport{
  bottom:25px!important;
}
.program-card.is-sport .show-title{
  color:var(--text-strong)!important;
}
.program-card.is-sport .show-meta{
  color:var(--muted)!important;
}
.program-card.is-sport.is-multi-slot .more-shows-toggle{
  max-width:calc(100% - 88px)!important;
  background:linear-gradient(180deg, #ffffff 0%, #e6f7ec 100%)!important;
  border-color:rgba(51, 168, 93, 0.28)!important;
  color:#276a42!important;
  box-shadow:0 8px 18px rgba(51, 168, 93, 0.14)!important;
}

.program-card.is-multi-slot .more-shows-list{
  position:relative!important;
  z-index:3!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.program-card.is-multi-slot.is-expanded .more-shows-list{
  margin-top:6px!important;
}
.program-card.is-multi-slot .more-show-item{
  display:block!important;
  width:100%!important;
  padding:7px 0 0!important;
  border-top:1px solid rgba(216, 227, 239, 0.72)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.program-card.is-sport.is-multi-slot .more-show-item{
  border-top-color:rgba(51, 168, 93, 0.22)!important;
  background:transparent!important;
  box-shadow:none!important;
}
.program-card.is-movie.is-multi-slot .more-show-item{
  border-top-color:rgba(254, 68, 55, 0.20)!important;
  background:transparent!important;
  box-shadow:none!important;
}

@media (max-width:991px){
  .program-card.is-sport .tvshow a.has-badge-sport,
  .program-card.is-sport.is-tight .tvshow a.has-badge-sport,
  .program-card.is-sport.is-favorite .tvshow a.has-badge-sport{
    padding-bottom:32px!important;
  }
  .program-card.is-sport .schedule-badge.badge-sport,
  .program-card.is-sport.is-tight .schedule-badge.badge-sport,
  .program-card.is-sport.is-favorite .schedule-badge.badge-sport,
  .program-card.is-sport.is-multi-slot .schedule-badge.badge-sport{
    bottom:22px!important;
  }
  .program-card.is-sport.is-multi-slot .more-shows-toggle{
    max-width:calc(100% - 82px)!important;
  }
}

/* Inline NEW badge patch
   Keeps NEW in the link text flow so it starts the title and pushes the title forward,
   instead of being absolutely pinned to the card corner. Other badges keep their existing layout. */
.tvshow a.has-badge-new,
.program-card.is-tight .tvshow a.has-badge-new,
.program-card.is-favorite .tvshow a.has-badge-new,
.program-card.is-multi-slot .slot-primary.has-badge-new{
  display:block!important;
  position:relative!important;
  width:100%!important;
  height:100%!important;
  padding:0!important;
  overflow:hidden!important;
}

.program-card.is-favorite .tvshow a.has-badge-new{
  padding-bottom:24px!important;
}

.tvshow a.has-badge-new .show-title-line,
.program-card.is-tight .tvshow a.has-badge-new .show-title-line,
.program-card.is-favorite .tvshow a.has-badge-new .show-title-line,
.program-card.is-multi-slot .slot-primary.has-badge-new .show-title-line{
  display:-webkit-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  grid-area:auto!important;
}

.tvshow a.has-badge-new .show-title-line .schedule-badge.badge-new,
.tvshow a.has-badge-new > .schedule-badge.badge-new,
.program-card.is-tight .tvshow a.has-badge-new .show-title-line .schedule-badge.badge-new,
.program-card.is-tight .tvshow a.has-badge-new > .schedule-badge.badge-new,
.program-card.is-favorite .tvshow a.has-badge-new .show-title-line .schedule-badge.badge-new,
.program-card.is-favorite .tvshow a.has-badge-new > .schedule-badge.badge-new,
.program-card.is-multi-slot .slot-primary.has-badge-new .show-title-line .schedule-badge.badge-new,
.program-card.is-multi-slot .slot-primary.has-badge-new > .schedule-badge.badge-new{
  position:static!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  grid-area:auto!important;
  justify-self:auto!important;
  align-self:auto!important;
  display:inline-flex!important;
  width:auto!important;
  min-width:34px!important;
  height:15px!important;
  padding:0 6px!important;
  margin:0 1px 3px 0!important;
  vertical-align:0.12em!important;
  z-index:auto!important;
  line-height:15px!important;
}

.tvshow a.has-badge-new .show-title-line .show-title,
.tvshow a.has-badge-new > .show-title,
.program-card.is-tight .tvshow a.has-badge-new .show-title-line .show-title,
.program-card.is-tight .tvshow a.has-badge-new > .show-title,
.program-card.is-favorite .tvshow a.has-badge-new .show-title-line .show-title,
.program-card.is-favorite .tvshow a.has-badge-new > .show-title,
.program-card.is-multi-slot .slot-primary.has-badge-new .show-title-line .show-title,
.program-card.is-multi-slot .slot-primary.has-badge-new > .show-title{
  display:inline!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  grid-area:auto!important;
  -webkit-line-clamp:unset!important;
  -webkit-box-orient:initial!important;
  overflow:visible!important;
  text-overflow:clip!important;
  vertical-align:baseline!important;
}

.tvshow a.has-badge-new .show-meta,
.program-card.is-tight .tvshow a.has-badge-new .show-meta,
.program-card.is-favorite .tvshow a.has-badge-new .show-meta,
.program-card.is-multi-slot .slot-primary.has-badge-new .show-meta{
  display:block!important;
  width:100%!important;
  margin-top:4px!important;
  grid-area:auto!important;
}

.program-card.is-tight .tvshow a.has-badge-new .show-meta,
.program-card.is-multi-slot.is-tight .slot-primary.has-badge-new .show-meta{
  margin-top:3px!important;
}

/* Looser wrapping for inline NEW badge titles
   Replace the previous tight-lines patch with this, or append this after it.
   Regular cards use 1.2 line-height; tight cards use 1.16 to preserve space. */

:root{
  --new-badge-title-line-height:1.2;
  --new-badge-title-tight-line-height:1.16;
}

.tvshow a.has-badge-new .show-title-line,
.program-card.is-favorite .tvshow a.has-badge-new .show-title-line,
.program-card.is-multi-slot .slot-primary.has-badge-new .show-title-line{
  font-size:0.75rem!important;
  line-height:var(--new-badge-title-line-height)!important;
}

.program-card.is-tight .tvshow a.has-badge-new .show-title-line,
.program-card.is-multi-slot.is-tight .slot-primary.has-badge-new .show-title-line{
  font-size:0.68rem!important;
  line-height:var(--new-badge-title-tight-line-height)!important;
}

.tvshow a.has-badge-new .show-title-line .show-title,
.tvshow a.has-badge-new > .show-title,
.program-card.is-favorite .tvshow a.has-badge-new .show-title-line .show-title,
.program-card.is-favorite .tvshow a.has-badge-new > .show-title,
.program-card.is-multi-slot .slot-primary.has-badge-new .show-title-line .show-title,
.program-card.is-multi-slot .slot-primary.has-badge-new > .show-title{
  line-height:var(--new-badge-title-line-height)!important;
}

.program-card.is-tight .tvshow a.has-badge-new .show-title-line .show-title,
.program-card.is-tight .tvshow a.has-badge-new > .show-title,
.program-card.is-multi-slot.is-tight .slot-primary.has-badge-new .show-title-line .show-title,
.program-card.is-multi-slot.is-tight .slot-primary.has-badge-new > .show-title{
  line-height:var(--new-badge-title-tight-line-height)!important;
}

.tvshow a.has-badge-new .show-title-line .schedule-badge.badge-new,
.tvshow a.has-badge-new > .schedule-badge.badge-new,
.program-card.is-tight .tvshow a.has-badge-new .show-title-line .schedule-badge.badge-new,
.program-card.is-tight .tvshow a.has-badge-new > .schedule-badge.badge-new,
.program-card.is-favorite .tvshow a.has-badge-new .show-title-line .schedule-badge.badge-new,
.program-card.is-favorite .tvshow a.has-badge-new > .schedule-badge.badge-new,
.program-card.is-multi-slot .slot-primary.has-badge-new .show-title-line .schedule-badge.badge-new,
.program-card.is-multi-slot .slot-primary.has-badge-new > .schedule-badge.badge-new{
  margin-right:1px!important;
  margin-bottom:3px!important;
  vertical-align:0.08em!important;
}

.tvshow a.has-badge-new .show-meta,
.program-card.is-tight .tvshow a.has-badge-new .show-meta,
.program-card.is-favorite .tvshow a.has-badge-new .show-meta,
.program-card.is-multi-slot .slot-primary.has-badge-new .show-meta{
  margin-top:4px!important;
}

.program-card.is-tight .tvshow a.has-badge-new .show-meta,
.program-card.is-multi-slot.is-tight .slot-primary.has-badge-new .show-meta{
  margin-top:3px!important;
}


/* Inline NEW / MOVIE / SPORT label row patch
   Places all program labels at the start of the title line. When a show has
   multiple labels, such as New + Movie, the labels sit next to each other and
   the title starts after them instead of being overlaid or pinned to the card. */
:root{
  --program-badge-title-line-height:1.2;
  --program-badge-title-tight-line-height:1.16;
  --program-badge-gap:1px;
}

.tvshow a.has-badge-new,
.tvshow a.has-badge-movie,
.tvshow a.has-badge-sport,
.program-card.is-tight .tvshow a.has-badge-new,
.program-card.is-tight .tvshow a.has-badge-movie,
.program-card.is-tight .tvshow a.has-badge-sport,
.program-card.is-favorite .tvshow a.has-badge-new,
.program-card.is-favorite .tvshow a.has-badge-movie,
.program-card.is-favorite .tvshow a.has-badge-sport,
.program-card.is-multi-slot .slot-primary.has-badge-new,
.program-card.is-multi-slot .slot-primary.has-badge-movie,
.program-card.is-multi-slot .slot-primary.has-badge-sport,
.program-card.is-sport .tvshow a.has-badge-sport,
.program-card.is-sport.is-tight .tvshow a.has-badge-sport,
.program-card.is-sport.is-favorite .tvshow a.has-badge-sport{
  display:block!important;
  position:relative!important;
  width:100%!important;
  height:100%!important;
  padding:0!important;
  overflow:hidden!important;
}

.program-card.is-favorite .tvshow a.has-badge-new,
.program-card.is-favorite .tvshow a.has-badge-movie,
.program-card.is-favorite .tvshow a.has-badge-sport{
  padding-bottom:24px!important;
}

.program-card.is-multi-slot .slot-primary.has-badge-new,
.program-card.is-multi-slot .slot-primary.has-badge-movie,
.program-card.is-multi-slot .slot-primary.has-badge-sport,
.program-card.is-sport.is-multi-slot .slot-primary.has-badge-sport{
  position:relative!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  margin-bottom:4px!important;
  overflow:hidden!important;
}

.tvshow a.has-badge .show-title-line,
.program-card.is-tight .tvshow a.has-badge .show-title-line,
.program-card.is-favorite .tvshow a.has-badge .show-title-line,
.program-card.is-multi-slot .slot-primary.has-badge .show-title-line{
  display:-webkit-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  grid-area:auto!important;
  font-size:0.75rem!important;
  line-height:var(--program-badge-title-line-height)!important;
}

.program-card.is-tight .tvshow a.has-badge .show-title-line,
.program-card.is-multi-slot.is-tight .slot-primary.has-badge .show-title-line{
  font-size:0.68rem!important;
  line-height:var(--program-badge-title-tight-line-height)!important;
}

.tvshow a.has-badge .show-title-line .schedule-badge,
.tvshow a.has-badge > .schedule-badge,
.program-card.is-tight .tvshow a.has-badge .show-title-line .schedule-badge,
.program-card.is-tight .tvshow a.has-badge > .schedule-badge,
.program-card.is-favorite .tvshow a.has-badge .show-title-line .schedule-badge,
.program-card.is-favorite .tvshow a.has-badge > .schedule-badge,
.program-card.is-multi-slot .slot-primary.has-badge .show-title-line .schedule-badge,
.program-card.is-multi-slot .slot-primary.has-badge > .schedule-badge,
.program-card.is-sport .tvshow a.has-badge-sport .schedule-badge.badge-sport,
.program-card.is-sport.is-tight .tvshow a.has-badge-sport .schedule-badge.badge-sport,
.program-card.is-sport.is-favorite .tvshow a.has-badge-sport .schedule-badge.badge-sport,
.program-card.is-sport.is-multi-slot .schedule-badge.badge-sport{
  position:static!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  grid-area:auto!important;
  justify-self:auto!important;
  align-self:auto!important;
  display:inline-flex!important;
  width:auto!important;
  min-width:34px!important;
  height:15px!important;
  padding:0 6px!important;
  margin:0 1px 3px 0!important;
  vertical-align:0.08em!important;
  z-index:auto!important;
  line-height:15px!important;
  white-space:nowrap!important;
}

.tvshow a.has-badge .show-title-line .show-title,
.tvshow a.has-badge > .show-title,
.program-card.is-tight .tvshow a.has-badge .show-title-line .show-title,
.program-card.is-tight .tvshow a.has-badge > .show-title,
.program-card.is-favorite .tvshow a.has-badge .show-title-line .show-title,
.program-card.is-favorite .tvshow a.has-badge > .show-title,
.program-card.is-multi-slot .slot-primary.has-badge .show-title-line .show-title,
.program-card.is-multi-slot .slot-primary.has-badge > .show-title{
  display:inline!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  grid-area:auto!important;
  line-height:var(--program-badge-title-line-height)!important;
  -webkit-line-clamp:unset!important;
  -webkit-box-orient:initial!important;
  overflow:visible!important;
  text-overflow:clip!important;
  vertical-align:baseline!important;
}

.program-card.is-tight .tvshow a.has-badge .show-title-line .show-title,
.program-card.is-tight .tvshow a.has-badge > .show-title,
.program-card.is-multi-slot.is-tight .slot-primary.has-badge .show-title-line .show-title,
.program-card.is-multi-slot.is-tight .slot-primary.has-badge > .show-title{
  line-height:var(--program-badge-title-tight-line-height)!important;
}

.tvshow a.has-badge .show-meta,
.program-card.is-tight .tvshow a.has-badge .show-meta,
.program-card.is-favorite .tvshow a.has-badge .show-meta,
.program-card.is-multi-slot .slot-primary.has-badge .show-meta{
  display:block!important;
  width:100%!important;
  margin-top:4px!important;
  grid-area:auto!important;
}

.program-card.is-tight .tvshow a.has-badge .show-meta,
.program-card.is-multi-slot.is-tight .slot-primary.has-badge .show-meta{
  margin-top:3px!important;
}

.program-card.is-sport.is-multi-slot .more-shows-toggle{
  max-width:100%!important;
}

/* Optional schedule-card fixes and final overrides
   Keep this block at the end of newguide.css, or load the standalone
   newguide.schedule-card-fixes.css after any older guide stylesheets. */
.program-card:not(.is-tight) .show-title,
.program-card:not(.is-tight) .show-title-line{
  font-size:0.75rem!important;
  line-height:1.16!important;
}

.program-card:not(.is-tight) .show-meta{
  margin-top:6px!important;
  font-size:0.6rem!important;
  font-weight:600!important;
  line-height:1.02!important;
}

.program-card.is-tight .show-title,
.program-card.is-tight .show-title-line{
  font-size:0.68rem!important;
  line-height:1.16!important;
}

.program-card.is-tight .show-meta{
  margin-top:3px!important;
  font-size:0.56rem!important;
  line-height:1.02!important;
}

:root{
  --program-badge-gap:1px;
}

.schedule-badge,
.schedule-badge.badge-new,
.schedule-badge.badge-movie,
.schedule-badge.badge-sport,
.program-card .schedule-badge,
.program-card .schedule-badge.badge-new,
.program-card .schedule-badge.badge-movie,
.program-card .schedule-badge.badge-sport,
.program-card.is-tight .schedule-badge,
.program-card.is-tight .schedule-badge.badge-new,
.program-card.is-tight .schedule-badge.badge-movie,
.program-card.is-tight .schedule-badge.badge-sport,
.program-card.is-favorite .schedule-badge,
.program-card.is-favorite .schedule-badge.badge-new,
.program-card.is-favorite .schedule-badge.badge-movie,
.program-card.is-favorite .schedule-badge.badge-sport,
.program-card.is-multi-slot .schedule-badge,
.program-card.is-multi-slot .schedule-badge.badge-new,
.program-card.is-multi-slot .schedule-badge.badge-movie,
.program-card.is-multi-slot .schedule-badge.badge-sport,
.program-card.is-sport .schedule-badge.badge-sport,
.program-card.is-sport.is-tight .schedule-badge.badge-sport,
.program-card.is-sport.is-favorite .schedule-badge.badge-sport,
.program-card.is-sport.is-multi-slot .schedule-badge.badge-sport,
.tvshow a.has-badge .show-title-line .schedule-badge,
.tvshow a.has-badge > .schedule-badge,
.program-card.is-tight .tvshow a.has-badge .show-title-line .schedule-badge,
.program-card.is-tight .tvshow a.has-badge > .schedule-badge,
.program-card.is-favorite .tvshow a.has-badge .show-title-line .schedule-badge,
.program-card.is-favorite .tvshow a.has-badge > .schedule-badge,
.program-card.is-multi-slot .slot-primary.has-badge .show-title-line .schedule-badge,
.program-card.is-multi-slot .slot-primary.has-badge > .schedule-badge,
.tvshow a.has-badge-new .show-title-line .schedule-badge.badge-new,
.tvshow a.has-badge-new > .schedule-badge.badge-new,
.program-card.is-tight .tvshow a.has-badge-new .show-title-line .schedule-badge.badge-new,
.program-card.is-tight .tvshow a.has-badge-new > .schedule-badge.badge-new,
.program-card.is-favorite .tvshow a.has-badge-new .show-title-line .schedule-badge.badge-new,
.program-card.is-favorite .tvshow a.has-badge-new > .schedule-badge.badge-new,
.program-card.is-multi-slot .slot-primary.has-badge-new .show-title-line .schedule-badge.badge-new,
.program-card.is-multi-slot .slot-primary.has-badge-new > .schedule-badge.badge-new{
  margin-right:1px!important;
  margin-bottom:3px!important;
}

.tvshow a.has-badge .show-title-line .schedule-badge,
.tvshow a.has-badge > .schedule-badge,
.program-card.is-tight .tvshow a.has-badge .show-title-line .schedule-badge,
.program-card.is-tight .tvshow a.has-badge > .schedule-badge,
.program-card.is-favorite .tvshow a.has-badge .show-title-line .schedule-badge,
.program-card.is-favorite .tvshow a.has-badge > .schedule-badge,
.program-card.is-multi-slot .slot-primary.has-badge .show-title-line .schedule-badge,
.program-card.is-multi-slot .slot-primary.has-badge > .schedule-badge{
  margin:0 1px 3px 0!important;
}

.more-show-title,
.program-card .more-shows-list .more-show-title,
.program-card.is-multi-slot .more-show-title,
.program-card.is-tight .more-show-title,
.program-card.is-multi-slot.is-tight .more-show-title,
.program-card.is-tight .slot-primary.has-badge-new~.more-shows-list .more-show-title{
  line-height:1.16!important;
}

/* Favourite programme highlight + streaming-style watchlist tick marker
   Keeps the 270-degree favourite-cell background and renders the favourite
   marker as the same active Watchlist design: black tick in a yellow circle. */
.program-card.is-favorite{
  border-color:#ddc57861!important;
  background:linear-gradient(270deg, #fffef1, #ffd54a5c)!important;
  box-shadow:0px 9px 20px #ffd54a66!important;
}

.favorite-star,
.in-div.favorite-star{
  position:absolute!important;
  left:0!important;
  right:auto!important;
  bottom:0!important;
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  padding:0!important;
  border:2px solid rgba(255,255,255,.86)!important;
  border-radius:999px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:linear-gradient(180deg,#fff2a3 0%,#ffd54a 58%,#ffb421 100%)!important;
  color:#33220091 !important;
  font-size:0!important;
  line-height:1!important;
  box-shadow:0px 0px 0px rgb(255 181 41 / 0%), 0 0 0 3px rgb(255 213 74 / 0%), inset 0 1px 0 rgba(255, 255, 255, .62) !important;
  text-shadow:none!important;
  filter:none!important;
  pointer-events:none!important;
  z-index:4!important;
  overflow:visible!important;
}

.in-div.favorite-star{
  left:auto!important;
  right:0!important;
}

.favorite-star::before,
.in-div.favorite-star::before{
  content:"\2713";
  display:block;
  color:#33220091 !important;
  font-family:Arial, Helvetica, sans-serif;
  font-size:0.95rem;
  font-weight:950;
  line-height:1;
  transform:translateY(-1px);
  text-shadow:none;
  filter:none!important;
}

.favorite-star::after,
.in-div.favorite-star::after{
  content:none!important;
  display:none!important;
}

/* === Schedule stability: reduce footer/sub-footer jump while listings load === */

.tableContainer.is-schedule-loading {
  min-height: clamp(620px, 82vh, 960px);
}

.tableContainer.is-schedule-loading > #scrollTable {
  min-height: inherit;
}

.tableContainer.is-schedule-loading > #scrollTable::before {
  content: "Loading TV listings...";
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  padding: 24px;
  color: var(--muted, #6e7b88);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@supports selector(#tableContainer:has(#scrollTable)) {
  #tableContainer:has(> #scrollTable:not(:has(.schedule-header, .schedule-row, .schedule-body, .ad-row, table))) {
    min-height: clamp(620px, 82vh, 960px);
  }

  #tableContainer:has(> #scrollTable:not(:has(.schedule-header, .schedule-row, .schedule-body, .ad-row, table))) > #scrollTable {
    min-height: inherit;
  }

  #tableContainer:has(> #scrollTable:not(:has(.schedule-header, .schedule-row, .schedule-body, .ad-row, table))) > #scrollTable::before {
    content: "Loading TV listings...";
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: inherit;
    padding: 24px;
    color: var(--muted, #6e7b88);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}

/* === Guide sub-footer: compact city + global TV links === */

.guide-subfooter {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 12px 0 0;
  padding: clamp(12px, 1.8vw, 18px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 0%, rgba(254, 68, 55, 0.1), transparent 30%),
    radial-gradient(circle at 92% 0%, rgba(47, 108, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(247, 249, 252, 0.64));
  box-shadow:
    0 14px 34px rgba(31, 42, 55, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(31, 42, 55, 0.04);
  color: var(--text, #1e2731);
}

@supports ((-webkit-backdrop-filter: blur(14px)) or (backdrop-filter: blur(14px))) {
  .guide-subfooter {
    -webkit-backdrop-filter: blur(14px) saturate(145%);
    backdrop-filter: blur(14px) saturate(145%);
  }
}

.guide-subfooter::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(
    90deg,
    #fe4437,
    #ffd54a,
    #34d399,
    #2f6cff,
    #c084fc,
    #fe4437
  );
  opacity: 0.9;
  z-index: -1;
}

.guide-subfooter__header {
  max-width: 700px;
  margin: 0 auto 12px;
  text-align: center;
}

.guide-subfooter__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 6px;
  padding: 5px 10px;
  border: 1px solid rgba(216, 225, 238, 0.86);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--muted, #6e7b88);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-subfooter__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fe4437, #ffd54a, #2f6cff);
  box-shadow: 0 0 0 4px rgba(47, 108, 255, 0.08);
}

.guide-subfooter__title {
  margin: 0;
  color: var(--text-strong, #141b23);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 950;
  text-wrap: balance;
}

.guide-subfooter__intro {
  margin: 6px auto 0;
  max-width: 620px;
  color: var(--muted, #6e7b88);
  font-size: 0.92rem;
  line-height: 1.4;
}

.guide-subfooter__section-title {
  margin: 0;
  color: var(--text-strong, #141b23);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-subfooter__cities {
  margin-top: 14px;
}

.guide-subfooter__cities-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.guide-subfooter__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(254, 68, 55, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(254, 68, 55, 0.1), rgba(255, 255, 255, 0.86));
  color: #cf3b31;
  font-size: 0.78rem;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(254, 68, 55, 0.1);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.guide-subfooter__more:hover,
.guide-subfooter__more:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(254, 68, 55, 0.42);
  box-shadow: 0 11px 22px rgba(254, 68, 55, 0.14);
  text-decoration: none;
}

.guide-subfooter__groups {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.guide-subfooter__group {
  min-width: 0;
  border: 1px solid rgba(216, 225, 238, 0.9);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 8px 18px rgba(41, 53, 73, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  overflow: hidden;
}

.guide-subfooter__group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--text-strong, #141b23);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 950;
  line-height: 1.12;
  list-style: none;
}

.guide-subfooter__group-title::-webkit-details-marker {
  display: none;
}

.guide-subfooter__group-title::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(47, 108, 255, 0.1);
  color: #2f6cff;
  font-size: 0.9rem;
  font-weight: 950;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.guide-subfooter__group[open] .guide-subfooter__group-title::after {
  transform: rotate(45deg);
  background: rgba(254, 68, 55, 0.1);
  color: #fe4437;
}

.guide-subfooter__group-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: auto;
  border-radius: 999px;
  background: rgba(20, 27, 35, 0.06);
  color: var(--muted, #6e7b88);
  font-size: 0.66rem;
  font-weight: 950;
}

.guide-subfooter__city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 0 10px 10px;
  list-style: none;
}

.guide-subfooter__city-list a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 8px;
  border: 1px solid rgba(215, 224, 235, 0.9);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 252, 0.86));
  color: #263447;
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition:
    transform 140ms ease,
    color 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease;
}

.guide-subfooter__city-list a:hover,
.guide-subfooter__city-list a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(47, 108, 255, 0.28);
  color: #2f6cff;
  box-shadow:
    0 7px 14px rgba(47, 108, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  text-decoration: none;
}

.guide-subfooter__global {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(216, 225, 238, 0.86);
}

.guide-subfooter__global-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.guide-subfooter__global-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid rgba(215, 224, 235, 0.92);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 249, 252, 0.78));
  box-shadow:
    0 8px 18px rgba(41, 53, 73, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  color: #19243d;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.guide-subfooter__global-link:hover,
.guide-subfooter__global-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(47, 108, 255, 0.26);
  background: linear-gradient(180deg, #ffffff, rgba(242, 247, 255, 0.94));
  box-shadow:
    0 12px 24px rgba(47, 108, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  text-decoration: none;
}

.guide-subfooter__flag {
  display: block;
  flex: 0 0 auto;
  width: 30px;
  height: 20px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow:
    0 6px 12px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

@media (max-width: 1050px) {
  .guide-subfooter__groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-subfooter__global-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .tableContainer.is-schedule-loading {
    min-height: clamp(520px, 78vh, 780px);
  }

  @supports selector(#tableContainer:has(#scrollTable)) {
    #tableContainer:has(> #scrollTable:not(:has(.schedule-header, .schedule-row, .schedule-body, .ad-row, table))) {
      min-height: clamp(520px, 78vh, 780px);
    }
  }

  .guide-subfooter {
    margin-top: 10px;
    padding: 12px 10px;
    border-radius: 20px;
  }

  .guide-subfooter__header {
    margin-bottom: 10px;
  }

  .guide-subfooter__eyebrow {
    font-size: 0.62rem;
  }

  .guide-subfooter__title {
    font-size: clamp(1.25rem, 6vw, 1.55rem);
  }

  .guide-subfooter__intro {
    font-size: 0.88rem;
  }

  .guide-subfooter__cities-head {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .guide-subfooter__more {
    width: 100%;
  }

  .guide-subfooter__groups,
  .guide-subfooter__global-list {
    grid-template-columns: 1fr;
  }

  .guide-subfooter__group-title {
    min-height: 40px;
  }

  .guide-subfooter__city-list a {
    white-space: normal;
  }

  .guide-subfooter__global {
    margin-top: 12px;
    padding-top: 12px;
  }

  .guide-subfooter__global-link {
    justify-content: flex-start;
    min-height: 42px;
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guide-subfooter *,
  .guide-subfooter *::before,
  .guide-subfooter *::after {
    transition: none !important;
  }
}

.guide-subfooter {
  width: min(calc(100% - 28px), var(--max-width));
  margin: 12px auto 36px;
}

@media (max-width: 991px) {
  .guide-subfooter {
    width: min(calc(100% - 14px), 100%);
    margin: 10px auto 24px;
  }
}

#provider-zip:focus {
  transform: none;
}

/* AU signed-in guide controls: centre Provider and Location without changing
   logged-out selects or guide controls rendered by other countries. */
.controls-grid--au-signed-in .control-group--provider,
.controls-grid--au-signed-in .control-group--location{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
}

.controls-grid--au-signed-in .au-guide-setting-link{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  min-height:46px;
  padding:0 14px;
  color:var(--text-strong,#141b23);
  font-size:.88rem;
  font-weight:900;
  line-height:1;
  letter-spacing:.02em;
  text-align:center;
  text-transform:uppercase;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.controls-grid--au-signed-in .au-guide-setting-link:hover,
.controls-grid--au-signed-in .au-guide-setting-link:focus-visible{
  color:#FE4437;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}

.controls-grid--au-signed-in .au-guide-setting-link:focus-visible{
  outline:3px solid rgba(254,68,55,.16);
  outline-offset:2px;
  border-radius:12px;
}

@media (min-width:992px){
  /* Keep the signed-in Provider comfortably wide, but do not force the whole
     control grid beyond the space available beside the navigation buttons. */
  .controls-grid--au-signed-in:not(.is-desktop-grid){
    grid-template-columns:minmax(160px,200px) minmax(175px,.9fr) minmax(135px,.72fr) minmax(180px,1.05fr)!important;
  }

  .controls-grid--au-signed-in.is-desktop-grid{
    grid-template-columns:64px minmax(145px,180px) minmax(160px,.85fr) minmax(130px,.68fr) minmax(165px,.95fr)!important;
  }

  /* Override the older generic first-control cap only for the AU signed-in
     provider. The grid column now controls its width, so it can never push
     the Date field underneath the Back button. */
  .controls-grid--au-signed-in .control-group--provider{
    width:100%;
    max-width:none!important;
    min-width:0;
  }

  /* Permit Free + Pay TV and longer provider names to wrap naturally. */
  .controls-grid--au-signed-in .control-group--provider .au-guide-setting-link{
    padding-left:10px;
    padding-right:10px;
    line-height:1.16;
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
    overflow-wrap:anywhere;
  }
}

@media (max-width:991px){
  .controls-grid--au-signed-in,
  .controls-grid--au-signed-in.is-desktop-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .controls-grid--au-signed-in .au-guide-setting-link{
    min-height:46px;
    padding:0 10px;
    font-size:.82rem;
    line-height:1;
  }
}

/* US signed-in guide controls: centre the ZIP code and provider settings
   links without changing logged-out inputs or any other country's guide. */
.controls-grid--us-signed-in .control-group--zip,
.controls-grid--us-signed-in .control-group--provider{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  max-width:none!important;
}

.controls-grid--us-signed-in .us-guide-setting-link{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  min-height:46px;
  padding:0 12px;
  color:var(--text-strong,#141b23);
  font-size:.88rem;
  font-weight:900;
  line-height:1.16;
  letter-spacing:.02em;
  text-align:center;
  text-transform:uppercase;
  white-space:normal;
  overflow-wrap:anywhere;
}

.controls-grid--us-signed-in .us-guide-setting-link:hover,
.controls-grid--us-signed-in .us-guide-setting-link:focus-visible{
  color:#FE4437;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}

.controls-grid--us-signed-in .us-guide-setting-link:focus-visible{
  outline:3px solid rgba(254,68,55,.16);
  outline-offset:2px;
  border-radius:12px;
}

@media (min-width:992px){
  /* Simple desktop: widen and centre ZIP while reserving enough room for a
     long provider name, the date control and the navigation buttons. */
  .controls-grid--us-signed-in:not(.is-desktop-grid){
    grid-template-columns:minmax(125px,145px) minmax(245px,1.2fr) minmax(132px,.7fr) minmax(180px,.95fr)!important;
  }

  /* Expanded desktop includes the timeline shrink button as its first column. */
  .controls-grid--us-signed-in.is-desktop-grid{
    grid-template-columns:64px minmax(120px,140px) minmax(235px,1.15fr) minmax(128px,.66fr) minmax(170px,.9fr)!important;
  }

  .controls-grid--us-signed-in .control-group--zip .us-guide-setting-link{
    padding-left:8px;
    padding-right:8px;
    white-space:nowrap;
  }

  .controls-grid--us-signed-in .control-group--provider .us-guide-setting-link{
    padding-left:10px;
    padding-right:10px;
  }
}

@media (max-width:991px){
  /* Keep the ZIP column comfortably wide and centre its five digits, while
     leaving the provider column enough space to wrap longer provider names. */
  .controls-grid--us-signed-in,
  .controls-grid--us-signed-in.is-desktop-grid{
    grid-template-columns:minmax(130px,.8fr) minmax(0,1.2fr)!important;
  }

  .controls-grid--us-signed-in .us-guide-setting-link{
    min-height:46px;
    padding:0 10px;
    font-size:.82rem;
    line-height:1.2;
  }

  .controls-grid--us-signed-in .control-group--zip .us-guide-setting-link{
    white-space:nowrap;
  }
}

/* CA signed-in guide controls: centre the postal code and provider settings
   links without changing logged-out inputs or any other country's guide. */
.controls-grid--ca-signed-in .control-group--postal-code,
.controls-grid--ca-signed-in .control-group--provider{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  max-width:none!important;
}

.controls-grid--ca-signed-in .ca-guide-setting-link{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  min-height:46px;
  padding:0 12px;
  color:var(--text-strong,#141b23);
  font-size:.88rem;
  font-weight:900;
  line-height:1.16;
  letter-spacing:.02em;
  text-align:center;
  text-transform:uppercase;
  white-space:normal;
  overflow-wrap:anywhere;
}

.controls-grid--ca-signed-in .ca-guide-setting-link:hover,
.controls-grid--ca-signed-in .ca-guide-setting-link:focus-visible{
  color:#FE4437;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}

.controls-grid--ca-signed-in .ca-guide-setting-link:focus-visible{
  outline:3px solid rgba(254,68,55,.16);
  outline-offset:2px;
  border-radius:12px;
}

@media (min-width:992px){
  /* Simple desktop: centre the postal code and reserve enough width for a
     long Canadian provider name, date control and navigation buttons. */
  .controls-grid--ca-signed-in:not(.is-desktop-grid){
    grid-template-columns:minmax(135px,155px) minmax(250px,1.2fr) minmax(132px,.7fr) minmax(180px,.95fr)!important;
  }

  /* Expanded desktop includes the timeline shrink button as its first column. */
  .controls-grid--ca-signed-in.is-desktop-grid{
    grid-template-columns:64px minmax(130px,150px) minmax(240px,1.15fr) minmax(128px,.66fr) minmax(170px,.9fr)!important;
  }

  .controls-grid--ca-signed-in .control-group--postal-code .ca-guide-setting-link{
    padding-left:8px;
    padding-right:8px;
    white-space:nowrap;
  }

  .controls-grid--ca-signed-in .control-group--provider .ca-guide-setting-link{
    padding-left:10px;
    padding-right:10px;
  }
}

@media (max-width:991px){
  /* Give the Canadian postal code a balanced first column and leave the
     provider enough room to wrap naturally across multiple lines. */
  .controls-grid--ca-signed-in,
  .controls-grid--ca-signed-in.is-desktop-grid{
    grid-template-columns:minmax(135px,.82fr) minmax(0,1.18fr)!important;
  }

  .controls-grid--ca-signed-in .ca-guide-setting-link{
    min-height:46px;
    padding:0 10px;
    font-size:.82rem;
    line-height:1.2;
  }

  .controls-grid--ca-signed-in .control-group--postal-code .ca-guide-setting-link{
    white-space:nowrap;
  }
}

/* CA signed-out desktop controls: make the postal-code field wide enough for
   a complete Canadian postal code without changing mobile or signed-in views. */
@media (min-width:992px){
  .controls-grid--ca-signed-out .control-group--postal-code{
    width:100%;
    min-width:0;
    max-width:none!important;
  }

  /* Simple desktop layout: postal code, provider, time and date. */
  .controls-grid--ca-signed-out:not(.is-desktop-grid){
    grid-template-columns:minmax(118px,126px) minmax(210px,1fr) minmax(126px,142px) minmax(180px,1fr)!important;
  }

  /* Expanded desktop layout also includes the timeline shrink control. */
  .controls-grid--ca-signed-out.is-desktop-grid{
    grid-template-columns:64px minmax(118px,126px) minmax(200px,1fr) minmax(124px,138px) minmax(170px,1fr)!important;
  }
}

