:root{font-family:Calibri,"Segoe UI",Arial,sans-serif;font-size:14pt;color:#173b50;background:#f3f7fa}*{box-sizing:border-box}body{margin:0}header{background:linear-gradient(115deg,#071d34,#0c5470);color:white;display:flex;align-items:center;justify-content:space-between;padding:20px 4vw}.brand{font-size:30pt;font-weight:800;color:white;text-decoration:none;letter-spacing:-2px}.brand span{color:#7ed7df}.badge{font-size:12pt;background:#ffffff15;padding:8px 14px;border:1px solid #ffffff25;border-radius:24px}main{max-width:1450px;margin:auto;padding:30px 4vw}.intro,.heading,.programme-title{display:flex;justify-content:space-between;align-items:center;gap:15px}.eyebrow{font-size:11pt;letter-spacing:2px;color:#47818e;font-weight:700}h1{font-size:32pt;font-weight:500;margin:8px 0}p{line-height:1.5}.intro p{margin:6px 0}h2{font-size:22pt;font-weight:500;margin:20px 0}h3{font-size:19pt;margin:0}.heading span,#status,#day-title{font-size:12pt;color:#67818f}button,select{font:inherit;border:1px solid #d7e4eb;background:white;color:#225166;border-radius:9px;padding:9px 14px;cursor:pointer}button:hover{background:#eaf4f7}button:focus-visible,select:focus-visible{outline:3px solid #27a1b7;outline-offset:2px}.intro button{background:#12657c;color:white;border:0}button:disabled{opacity:.6}.now-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.now-card{background:white;border:1px solid #e0e9ef;border-radius:14px;padding:17px;display:flex;flex-direction:column;gap:8px;text-align:left;min-height:200px}.channel-tag{font-weight:700;color:#12657c;font-size:13pt}.live{color:#a52c45;font-size:10pt;font-weight:700;letter-spacing:1px}.now-card strong{font-size:15pt;line-height:1.25}.timing,.next{font-size:11pt;color:#6b8190}.progress{height:4px;background:#e6eef3;border-radius:5px;margin:5px 0}.progress span{display:block;height:100%;background:#1692a4;border-radius:5px}.layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:22px}#channels{display:flex;flex-direction:column;gap:6px}#channels button{text-align:left;font-size:12pt;padding:9px 12px}#channels button[aria-pressed=true]{background:#155d74;color:white;border-color:#155d74}.programme{background:white;border:1px solid #dfe9ef;border-radius:15px;overflow:hidden}.programme-title{padding:22px;border-bottom:1px solid #e3ecf0}.show{padding:18px 22px;display:grid;grid-template-columns:100px minmax(0,1fr);gap:18px;border-bottom:1px solid #edf1f5}.show.current{background:#e9f5f6;border-left:4px solid #16899c;padding-left:18px}.show time{font-size:17pt;color:#195a71}.show .end{display:block;font-size:11pt;color:#78909e;margin-top:4px}.show strong{font-size:15pt;font-weight:600}.show p{font-size:12pt;color:#637f8e;margin:8px 0 0}.show.past{color:#7c8f9b}.empty{padding:25px;color:#748b98}footer{border-top:1px solid #d9e5ed;margin-top:30px;padding-top:15px;font-size:11pt;color:#698390}a{color:#166d84}.error{background:#fff0e8;border:1px solid #f1d8c5;padding:14px;border-radius:10px;font-size:12pt}label{font-size:12pt}.schedule{margin-top:22px}@media(max-width:1000px){.now-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){main{padding:22px 18px}.now-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.layout{grid-template-columns:1fr}#channels{flex-direction:row;overflow-x:auto;padding-bottom:10px}#channels button{white-space:nowrap}.programme-title{align-items:flex-start;flex-direction:column}.show{padding:15px;grid-template-columns:72px minmax(0,1fr);gap:12px}h1{font-size:26pt}.badge{font-size:10pt}.heading{flex-wrap:wrap}h2{font-size:20pt}.now-card{padding:13px;min-height:190px}}@media(max-width:390px){.now-grid{grid-template-columns:1fr}}

.now-card strong,.now-card .next{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.now-card .next{margin-top:auto}.now-card{height:245px}

/* Compact daily schedule. */
.schedule{margin-top:16px}.schedule>.heading{gap:10px;margin-bottom:10px}.schedule>.heading h2{font-size:18pt;margin:10px 0}.schedule select{font-size:12pt;padding:5px 9px;border-radius:7px}.schedule .layout{grid-template-columns:180px minmax(0,1fr);gap:14px}.schedule #channels{gap:4px}.schedule #channels button{font-size:12pt;line-height:1.2;padding:6px 10px;border-radius:7px}.schedule .programme{border-radius:11px}.schedule .programme-title{padding:11px 14px;gap:8px}.schedule .programme-title h3{font-size:16pt}.schedule #day-title{font-size:11pt}.schedule .show{padding:9px 14px;grid-template-columns:82px minmax(0,1fr);gap:12px;align-items:start}.schedule .show.current{padding-left:10px}.schedule .show time{font-size:14pt;line-height:1.25}.schedule .show .end{font-size:10pt;line-height:1.2;margin-top:2px}.schedule .show strong{font-size:14pt;line-height:1.3}.schedule .show p{font-size:12pt;line-height:1.35;margin:4px 0 0}.schedule .empty{padding:15px;font-size:12pt}
@media(max-width:720px){.schedule .layout{grid-template-columns:1fr;gap:8px}.schedule #channels{gap:5px;padding-bottom:6px}.schedule #channels button{padding:6px 9px}.schedule .programme-title{flex-direction:row;align-items:center;flex-wrap:wrap;padding:10px 12px}.schedule .show{padding:8px 12px;grid-template-columns:62px minmax(0,1fr);gap:9px}.schedule .show.current{padding-left:8px}.schedule>.heading h2{font-size:18pt}}

/* Compact now/next cards. */
.now-grid{gap:10px}.now-card{height:180px;min-height:0;padding:11px 12px;border-radius:10px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 2.5em auto 3px minmax(0,1fr);gap:5px 7px;align-content:start}.now-card .channel-tag{font-size:12pt;line-height:1.15;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.now-card .live{font-size:8pt;letter-spacing:.5px;line-height:1.5;white-space:nowrap}.now-card strong,.now-card .timing,.now-card .progress,.now-card .next{grid-column:1/-1}.now-card strong{font-size:13pt;line-height:1.25;-webkit-line-clamp:2}.now-card .timing{font-size:10pt;line-height:1.2}.now-card .progress{height:3px;margin:0}.now-card .next{margin:0;align-self:end;font-size:10pt;line-height:1.25;-webkit-line-clamp:2}

.schedule .show strong{font-weight:400}

.brand img{display:block;object-fit:contain;background:#f2fbff;border-radius:9px;padding:5px 10px}.badge{color:#fff;text-decoration:none}
