body.webplayer-app #live-library{max-height:none;overflow:visible;min-width:0}
body.webplayer-app .live-guide-mode .player-area{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);align-items:start;gap:22px;min-width:0}
body.webplayer-app .live-guide-mode .player-area .video-shell{grid-column:1;grid-row:1;width:100%;height:auto;aspect-ratio:16/9;min-height:0;border-radius:12px}
body.webplayer-app .live-guide-mode .player-area .player-info{grid-column:2;grid-row:1;display:block;margin:0;padding:14px;background:transparent;border:0;min-width:0}
body.webplayer-app .live-guide-mode .player-area h2{font-size:22px;margin:0 0 8px;overflow-wrap:anywhere}body.webplayer-app .live-guide-mode #empty h1{font-size:17px}body.webplayer-app .live-guide-mode #empty p{font-size:12px}
body.webplayer-app .live-guide-mode .controls{gap:8px;align-items:center}body.webplayer-app .live-guide-mode .controls button,body.webplayer-app .live-guide-mode .controls select{padding:8px 10px;min-height:38px;font-size:12px}body.webplayer-app .live-guide-mode #reconnect{margin-left:0}
body.webplayer-app .live-guide-mode.player-expanded .player-area{display:flex;flex-direction:column;gap:10px}body.webplayer-app .live-guide-mode.player-expanded .video-shell{width:100%;max-height:70vh;aspect-ratio:16/9}body.webplayer-app .live-guide-mode.player-expanded .player-info{width:100%;order:2}body.webplayer-app .live-guide-mode.player-expanded .video-shell{order:1}
#programme-title{font-weight:600;color:#eff3f8;margin:6px 0}#programme-detail{font-size:13px;color:#aab8ca;margin:4px 0 12px}.epg-navigation{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:16px 0}.epg-navigation button,.epg-navigation input{min-height:42px;font-size:13px}.epg-range{margin-left:auto;color:#bdc9d8;font-size:13px}
.epg-scroll{max-height:62vh;overflow:auto;border:1px solid #343b45;border-radius:10px;position:relative;isolation:isolate;overscroll-behavior:contain}.epg-grid{min-width:1040px}.epg-head,.epg-row{display:grid;grid-template-columns:220px minmax(0,1fr)}.epg-head{position:sticky;top:0;z-index:4;background:#20252b;min-height:44px}.epg-channel-heading{position:sticky;left:0;background:#20252b;padding:13px 14px;z-index:2;font-weight:600}.epg-times{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:center;font-size:12px;color:#c0cbdb}.epg-times span{padding:10px;border-left:1px solid #3a4049}
.epg-row{min-height:76px;border-top:1px solid #30363e}.epg-channel-cell{position:sticky;left:0;z-index:2;background:#171d24;display:flex;align-items:center;min-width:0;border-right:1px solid #3a424f;padding:4px;gap:2px}.epg-channel{flex:1;min-width:0;text-align:left;background:transparent;border:0;padding:9px;min-height:64px}.epg-channel strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.epg-channel small{display:block;color:#96a8c0;font-size:11px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.epg-channel-cell .favorite{flex:0 0 32px;width:32px;min-width:0;padding:5px;font-size:19px;border:0;background:transparent}
.epg-track{position:relative;min-width:0;min-height:76px;background:repeating-linear-gradient(90deg,#101720 0,#101720 calc(16.666% - 1px),#28313b calc(16.666% - 1px),#28313b 16.666%)}.epg-programme{position:absolute;top:4px;bottom:4px;overflow:hidden;border:1px solid #343c47;border-radius:7px;background:#202731;text-align:left;padding:9px 12px;min-width:0;color:#f2f5fb}.epg-programme strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px}.epg-programme small{display:block;margin-top:7px;color:#aebdce;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.epg-on-now{background:#26362b;border-color:#667e49}.epg-programme:focus-visible,.epg-channel:focus-visible{outline:2px solid #b8f184;outline-offset:-3px}.epg-programme:hover{border-color:#b8f184}.epg-selected .epg-channel-cell{background:#30402d}.epg-now-line{position:absolute;top:0;bottom:0;width:2px;background:#c0f18a;z-index:1;pointer-events:none}.epg-empty{background:transparent;color:#9eadc0;border:0;height:100%;width:100%;text-align:left;padding:16px}.epg-loading{display:block;padding:24px 16px;color:#8294ad;font-size:13px}.epg-more{margin-top:12px}.epg-status{font-size:12px;line-height:1.5;color:#a9b8ca}
@media(max-width:700px){body.webplayer-app .live-guide-mode .player-area{grid-template-columns:minmax(0,1fr);gap:8px}body.webplayer-app .live-guide-mode .player-area .video-shell{max-width:340px;grid-column:1;grid-row:1}body.webplayer-app .live-guide-mode .player-area .player-info{grid-column:1;grid-row:2;padding:4px 0}body.webplayer-app .live-guide-mode.player-expanded .video-shell{max-width:none}body.webplayer-app #live-library{padding:12px}.epg-grid{min-width:960px}.epg-head,.epg-row{grid-template-columns:150px minmax(0,1fr)}.epg-channel-heading{font-size:12px}.epg-channel strong{font-size:12px}.epg-channel-cell .favorite{flex-basis:24px;width:24px}.epg-range{width:100%;margin-left:0}.epg-navigation input{max-width:160px}.epg-scroll{max-height:58vh}}

/* Traditional guide: continuous rows and cells, without button chrome. */
body.webplayer-app #full-guide .epg-scroll{border-radius:0;border-color:#343b45}
body.webplayer-app #full-guide .epg-row,body.webplayer-app #full-guide .epg-track{min-height:64px}
body.webplayer-app #full-guide .epg-channel-cell{padding:0;gap:0;background:#191f26}
body.webplayer-app #full-guide button.epg-channel{appearance:none;background:transparent;background-image:none;border:0;border-radius:0;box-shadow:none;margin:0;padding:10px 12px;min-height:64px;height:100%;font-weight:500;transition:background .12s}
body.webplayer-app #full-guide .epg-channel strong{font-weight:600;font-size:13px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4}
body.webplayer-app #full-guide .epg-channel small{display:none}
body.webplayer-app #full-guide .epg-channel-cell button.favorite{appearance:none;flex:0 0 30px;min-width:30px;width:30px;min-height:44px;margin:0 4px 0 0;padding:0;border:0;border-radius:0;background:transparent;background-image:none;box-shadow:none;font-size:17px;color:#8d99a7}
body.webplayer-app #full-guide .epg-channel-cell button.favorite[aria-pressed=true]{color:#ffc06a}
body.webplayer-app #full-guide button.epg-programme{appearance:none;top:0;bottom:0;min-height:0;margin:0;padding:10px 12px;border:0;border-right:1px solid #38414c;border-radius:0;box-shadow:none;background:#202730;background-image:none;font-weight:400}
body.webplayer-app #full-guide .epg-programme strong{font-weight:500}
body.webplayer-app #full-guide button.epg-on-now{background:#263329}
body.webplayer-app #full-guide button.epg-empty{appearance:none;min-height:64px;margin:0;padding:12px 14px;border:0;border-radius:0;box-shadow:none;background:transparent;background-image:none;font-weight:400;font-size:12px;color:#8e9cac}
body.webplayer-app #full-guide button.epg-channel:hover,body.webplayer-app #full-guide button.epg-programme:hover,body.webplayer-app #full-guide button.epg-empty:hover{background:#303b48}
body.webplayer-app #full-guide .epg-selected .epg-channel-cell{background:#2a3540;box-shadow:inset 3px 0 #ffb34d}
body.webplayer-app #full-guide button.epg-channel:focus-visible,body.webplayer-app #full-guide button.epg-programme:focus-visible,body.webplayer-app #full-guide button.epg-empty:focus-visible{outline:2px solid #ffbb60;outline-offset:-2px}
@media(max-width:700px){body.webplayer-app #full-guide button.epg-channel{padding:9px 8px}body.webplayer-app #full-guide .epg-channel strong{font-size:12px}body.webplayer-app #full-guide .epg-channel-cell button.favorite{flex-basis:24px;min-width:24px;width:24px;font-size:15px;margin-right:2px}}
