/* Sanctus TV ad-ready maturity layer v4 */
.stv4-hub{max-width:1180px;margin:0 auto 18px;padding:18px 18px 0;color:#f4f1e9}
.stv4-title{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin:4px 0 16px}.stv4-title small{display:block;color:#d2ae62;font-size:10px;letter-spacing:.16em;font-weight:800}.stv4-title h1{margin:4px 0 3px;font-size:clamp(28px,5vw,42px);letter-spacing:-.045em}.stv4-title p{margin:0;color:#8d929d;font-size:13px;max-width:680px}.stv4-title-actions{display:flex;gap:8px}.stv4-title-actions button{border:1px solid #2b2e35;background:#111319;color:#e9e6df;border-radius:12px;padding:10px 13px;font-weight:750}
.stv4-search{display:grid;grid-template-columns:24px 1fr 34px;align-items:center;gap:4px;background:#0d0f13;border:1px solid #252830;border-radius:14px;padding:0 10px;margin:10px 0 12px}.stv4-search span{color:#d2ae62;font-size:20px}.stv4-search input{width:100%;height:46px;border:0;outline:0;background:transparent;color:#f4f1e9;font-size:14px}.stv4-search button{border:0;background:transparent;color:#888e99;font-size:21px}
.stv4-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 0 14px}.stv4-tabs::-webkit-scrollbar{display:none}.stv4-tabs button{white-space:nowrap;border:1px solid #292c33;background:#111319;color:#a4a9b2;border-radius:999px;padding:9px 13px;font-weight:750;font-size:12px}.stv4-tabs button.active{background:#e8e3d9;color:#111317;border-color:#e8e3d9}
.stv4-recent{margin:4px 0 16px}.stv4-section-head,.stv4-count{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 10px}.stv4-section-head strong,.stv4-count strong{font-size:16px}.stv4-section-head span,.stv4-count span{color:#7f858f;font-size:11px}
.stv4-recent-track{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;padding-bottom:3px}.stv4-recent-track::-webkit-scrollbar{display:none}.stv4-recent-track button{min-width:210px;display:grid;grid-template-columns:46px 1fr;gap:10px;align-items:center;text-align:left;border:1px solid #252932;background:linear-gradient(180deg,#12151a,#0c0e12);color:#f0ede7;border-radius:14px;padding:9px 11px}.stv4-recent-track img,.stv4-recent-track b{width:42px;height:42px;object-fit:contain;border-radius:10px;background:#090b0e;padding:4px;box-sizing:border-box;display:grid;place-items:center;color:#d3b166}.stv4-recent-track span{min-width:0}.stv4-recent-track strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.stv4-recent-track small{display:block;color:#7f858f;margin-top:4px;font-size:10px}
.directory-grid .channel-card{position:relative}.stv4-fav{position:absolute;right:8px;bottom:8px;z-index:8;width:32px;height:32px;border-radius:50%;border:1px solid #ffffff16;background:#0a0c10d9;color:#d8b56a;font-size:17px;display:grid;place-items:center;backdrop-filter:blur(8px)}
.stv4-guide-mode .directory-grid{grid-template-columns:1fr!important;gap:8px!important}.stv4-guide-mode .directory-grid .channel-card{display:grid!important;grid-template-columns:minmax(150px,220px) 1fr!important;min-height:122px!important}.stv4-guide-mode .directory-grid .channel-visual{height:100%!important;min-height:122px!important;aspect-ratio:auto!important}.stv4-guide-mode .directory-grid .channel-info{display:flex!important;flex-direction:column!important;justify-content:center!important;padding:15px 52px 15px 16px!important}.stv4-guide-mode .directory-grid .channel-info h3{font-size:16px!important}.stv4-guide-mode .directory-grid .channel-description{display:-webkit-box!important;font-size:11px!important;-webkit-line-clamp:2!important}.stv4-guide-mode .directory-grid .channel-meta{font-size:10px!important}.stv4-guide-mode .stv4-fav{top:50%;bottom:auto;transform:translateY(-50%)}
.stv4-settings{position:fixed;inset:0;z-index:10000;background:#030406d9;backdrop-filter:blur(10px);display:none;align-items:flex-end;justify-content:center}.stv4-settings.open{display:flex}.stv4-settings-card{width:min(680px,100%);max-height:88vh;overflow:auto;border:1px solid #2a2d34;background:#0b0d11;color:#f4f1e9;border-radius:24px 24px 0 0;padding:20px}.stv4-settings-card header{display:flex;justify-content:space-between;align-items:center}.stv4-settings-card header small{color:#d2ae62;font-size:9px;letter-spacing:.17em;font-weight:800}.stv4-settings-card h2{font-size:27px;margin:3px 0}.stv4-settings-card header>button{width:38px;height:38px;border-radius:50%;border:1px solid #2b2e34;background:#14171c;color:#fff;font-size:20px}.stv4-settings-card section{margin-top:14px;border-top:1px solid #23262d}.stv4-settings-card label{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 2px;border-bottom:1px solid #1d2026}.stv4-settings-card label strong{display:block;font-size:14px}.stv4-settings-card label small{display:block;color:#858b95;margin-top:4px;font-size:11px}.stv4-settings-card label>button:not(.stv4-switch){width:38px;height:38px;border-radius:11px;border:1px solid #2b2e34;background:#14171c;color:#eee;font-size:21px}.stv4-settings-card footer{color:#747a84;font-size:10px;line-height:1.5;padding-top:14px}
.stv4-switch{width:48px;height:27px;border-radius:20px;background:#30343d;border:0;padding:3px}.stv4-switch i{display:block;width:21px;height:21px;border-radius:50%;background:#b7bbc2;transition:.2s}.stv4-switch.on{background:#d1ad61}.stv4-switch.on i{transform:translateX(21px);background:#111}
.stv4-watchbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 auto 10px;max-width:1100px;padding:0 4px}.stv4-watchbar>button,.stv4-watch-actions button{border:1px solid #2a2d34;background:#111419;color:#eee;border-radius:11px;min-height:39px;padding:0 12px;font-weight:750}.stv4-watchbar>div:nth-child(2){display:flex;align-items:center;gap:7px;color:#f0ede6;font-size:11px;letter-spacing:.09em}.stv4-live-dot{width:7px;height:7px;border-radius:50%;background:#e43f3f;box-shadow:0 0 0 4px #e43f3f20}.stv4-watch-actions{display:flex;gap:6px}
@media(max-width:720px){.stv4-hub{padding:12px 12px 0}.stv4-title{align-items:flex-start}.stv4-title p{display:none}.stv4-title-actions button{padding:9px 10px;font-size:11px}.stv4-recent-track button{min-width:176px}.stv4-guide-mode .directory-grid .channel-card{grid-template-columns:128px 1fr!important;min-height:102px!important}.stv4-guide-mode .directory-grid .channel-visual{min-height:102px!important}.stv4-guide-mode .directory-grid .channel-description{display:none!important}.stv4-watchbar{padding:0 10px}.stv4-settings-card{border-radius:20px 20px 0 0}}
.stv4-now{font-size:10.5px;color:#a4a9b2;margin:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stv4-now span{display:inline-block;margin-right:6px;color:#d7b56a;font-size:8px;font-weight:900;letter-spacing:.1em}.stv4-guide-mode .stv4-now{font-size:11px}

/* Ad-ready watch controls: now playing + last channel */
.stv4-watchbar{display:grid!important;grid-template-columns:auto auto minmax(0,1fr) auto!important;align-items:center!important}.stv4-live-state{display:flex;align-items:center;gap:7px;color:#f0ede6;font-size:11px;letter-spacing:.09em}.stv4-watch-programme{min-width:0;padding:0 8px}.stv4-watch-programme small{display:block;color:#d2ae62;font-size:8px;font-weight:850;letter-spacing:.12em}.stv4-watch-programme span{display:block;margin-top:2px;color:#d7dbe2;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stv4-watch-actions button[data-last]{color:#d8b56a;font-size:18px}
@media(max-width:720px){.stv4-watchbar{grid-template-columns:auto minmax(0,1fr) auto!important}.stv4-live-state{display:none!important}.stv4-watch-programme{padding:0 7px}.stv4-watch-actions button[data-pip]{display:none}.stv4-watch-programme span{font-size:10px}}

/* v7 verified Now & Next fixture */
.stv4-guide-fixture{max-width:1100px;margin:12px auto 18px;padding:18px;border:1px solid #242830;border-radius:20px;background:linear-gradient(180deg,#101319,#0b0d11);box-shadow:0 16px 40px #0004}.stv4-guide-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.stv4-guide-head div{display:flex;flex-direction:column;gap:2px}.stv4-guide-head small{font-size:9px;letter-spacing:.16em;color:#caa75f;font-weight:850}.stv4-guide-head strong{font-size:17px;color:#f4f5f7}.stv4-guide-head>span{font-size:8px;font-weight:900;letter-spacing:.12em;padding:7px 9px;border-radius:999px;border:1px solid #323742;color:#9ca3af}.stv4-guide-head>span.ok{color:#d9bb78;border-color:#6f5a2f;background:#2a21126b}.stv4-guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stv4-guide-grid article{min-width:0;padding:15px;border-radius:15px;background:#15181f;border:1px solid #252a34}.stv4-guide-grid article>small{display:block;color:#caaa67;font-size:9px;font-weight:900;letter-spacing:.14em;margin-bottom:7px}.stv4-guide-grid h3{font-size:15px;line-height:1.25;margin:0;color:#f4f5f6}.stv4-guide-grid p{font-size:10.5px;line-height:1.35;color:#8e95a1;margin:7px 0 0}.stv4-guide-foot{margin-top:11px;color:#737b88;font-size:9.5px;line-height:1.4}
@media(max-width:720px){.stv4-guide-fixture{margin:10px 20px 18px;padding:15px;border-radius:18px}.stv4-guide-grid{grid-template-columns:1fr}.stv4-guide-grid article{padding:13px}.stv4-guide-head strong{font-size:16px}}

/* Verified programme metadata in current-catalogue TV Guide */
.v253-guide-copy .stv4-epg-now{display:flex;align-items:center;gap:7px;min-width:0;margin-top:6px;padding-top:6px;border-top:1px solid rgba(255,255,255,.06)}
.v253-guide-copy .stv4-epg-now b{flex:0 0 auto;color:#d5b56c;font-size:8px;letter-spacing:.13em}.v253-guide-copy .stv4-epg-now span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#dfe2e7;font-size:10.5px}.v253-guide-copy .stv4-epg-now small{flex:0 0 auto;color:#848b97;font-size:9px}
@media(max-width:720px){.v253-guide-copy .stv4-epg-now small{display:none}.v253-guide-copy .stv4-epg-now span{font-size:10px}}
