/* Big Cable Guide layout (Cheryl, Nov 26 2026). Everything here only applies while that layout is picked. */
.ptvCgSearch,.ptvCgSet{display:none!important}
#ptvCgInfo[hidden]{display:none!important}

html body.ptvLay-cableguide{--cgBlue:#1d2f86;--cgDeep:#14216a;--cgBar:#2c45a6;--cgYel:#ffd84a;--cgFont:'Lucida Console','Consolas','Courier New',monospace}
html body.ptvLay-cableguide #ptvLive{font-family:var(--cgFont)!important}
html body.ptvLay-cableguide #ptvLive .ptvD2{background:linear-gradient(180deg,#1f3392,#16246f)!important;border-radius:10px!important;padding:10px!important}

/* Top left: round buttons, then the show */
html body.ptvD2.ptvSplitTop.ptvLay-cableguide .ptvD2Main .ptvD2Info{background:transparent!important;border:0!important;box-shadow:none!important;padding:72px 18px 10px!important;justify-content:flex-start!important}
html body.ptvD2.ptvSplitTop.ptvLay-cableguide #ptvNowCard,html body.ptvD2.ptvSplitTop.ptvLay-cableguide #ptvUpNext{display:none!important}
html body.ptvD2.ptvSplitTop.ptvLay-cableguide .ptvD2Main .ptvLayBar,html body.ptvD2.ptvSplitTop.ptvLay-cableguide .ptvD2Main .ptvScreen.ptvYtOn ~ .ptvLayBar{grid-area:info!important;align-self:start!important;justify-self:stretch!important;margin:0!important;padding:8px 10px!important;gap:10px!important;background:var(--cgBar)!important;border:2px solid #4d68cf!important;border-radius:8px!important;display:flex!important;flex-wrap:wrap!important;opacity:1!important}
html body.ptvD2.ptvSplitTop.ptvLay-cableguide .ptvD2Main .ptvLayBar button{min-width:46px!important;height:46px!important;border-radius:12px!important;background:#1a2c80!important;border:2px solid #5a75d8!important;color:#fff!important;font:700 20px var(--cgFont)!important;padding:0 10px!important}
html body.ptvD2.ptvSplitTop.ptvLay-cableguide .ptvD2Main .ptvLayBar button:hover,html body.ptvD2.ptvSplitTop.ptvLay-cableguide .ptvD2Main .ptvLayBar button:focus-visible{background:#f0a040!important;border-color:#ffd27a!important;color:#14216a!important}
html body.ptvLay-cableguide .ptvCgSearch,html body.ptvLay-cableguide .ptvCgSet{display:inline-block!important}
html body.ptvLay-cableguide .ptvLayBar .ptvLdPage{display:none!important}

#ptvCgInfo{color:#fff;font-family:var(--cgFont);min-width:0;overflow:hidden}
#ptvCgInfo .ptvCgTitle{font:900 clamp(26px,2.6vw,46px)/1.05 var(--cgFont);margin:4px 0 6px;color:#fff;text-shadow:3px 3px 0 #0b1450;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#ptvCgInfo .ptvCgEp{font:700 clamp(18px,1.6vw,26px)/1.2 var(--cgFont);color:var(--cgYel);margin:0 0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ptvCgInfo .ptvCgWhen{font:700 clamp(14px,1.1vw,18px)/1.3 var(--cgFont);margin:0 0 6px;color:#e8eeff}
#ptvCgInfo .ptvCgBadges{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
#ptvCgInfo .ptvCgBadges span{border:2px solid #e8eeff;border-radius:3px;padding:1px 7px;font:700 clamp(12px,1vw,16px)/1.3 var(--cgFont);color:#fff}
#ptvCgInfo .ptvCgBadges span:first-child{background:#18a7d8;border-color:#18a7d8;color:#062a4a}
#ptvCgInfo .ptvCgStory{font:400 clamp(13px,1vw,17px)/1.45 var(--cgFont);color:#f1f4ff;margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}

/* The picture, top right */
html body.ptvD2.ptvSplitTop.ptvLay-cableguide .ptvD2Main .ptvScreen{border:3px solid #4d68cf!important;border-radius:6px!important}

/* The program grid */
html body.ptvLay-cableguide .ptvD2Guide{background:transparent!important;border:0!important}
html body.ptvLay-cableguide .ptvD2GuideTop{display:none!important}
html body.ptvLay-cableguide #ptvLive .ptvGuide{background:var(--cgDeep)!important;border:2px solid #4d68cf!important;border-radius:6px!important}
html body.ptvLay-cableguide #ptvGTabs{padding:4px 6px!important;gap:6px!important;background:#18287a!important}
html body.ptvLay-cableguide #ptvGTabs button{font:700 13px var(--cgFont)!important;padding:4px 10px!important;background:#24399a!important;color:#fff!important;border:1px solid #4d68cf!important;border-radius:4px!important}
html body.ptvLay-cableguide #ptvGTabs button.on{background:var(--cgYel)!important;color:#14216a!important}
html body.ptvLay-cableguide #ptvGHead{background:#2c45a6!important;border-bottom:3px solid #0b1450!important}
html body.ptvLay-cableguide #ptvGHead > div{font:700 clamp(15px,1.2vw,20px) var(--cgFont)!important;color:#fff!important;padding:10px 12px!important;border-left:2px solid #1a2c80!important;background:transparent!important}
html body.ptvLay-cableguide #ptvGHead .ptvGCh{background:#1a2c80!important;letter-spacing:.5px}
html body.ptvLay-cableguide #ptvGRows .ptvGRow{min-height:66px!important;border-bottom:3px solid #0b1450!important;background:transparent!important}
html body.ptvLay-cableguide #ptvGRows .ptvGCh{background:#1f3392!important;display:grid!important;grid-template-columns:64px auto!important;grid-template-rows:auto auto!important;align-items:center!important;column-gap:10px!important;padding:6px 10px!important;border-right:3px solid #0b1450!important}
html body.ptvLay-cableguide #ptvGRows .ptvGRow.on .ptvGCh{background:#9fb4e8!important}
html body.ptvLay-cableguide #ptvGRows .ptvGCh .ptvFavorite{display:none!important}
html body.ptvLay-cableguide #ptvGRows .ptvGCh .ptvGLogo{grid-row:1/3;grid-column:1;width:64px!important;height:44px!important;object-fit:contain!important;border-radius:4px}
html body.ptvD2.ptvLay-cableguide #ptvLive .ptvGCh .ptvLayNum{grid-row:1;grid-column:2;font:900 clamp(18px,1.5vw,24px)/1 var(--cgFont)!important;color:var(--cgYel)!important;text-align:left!important;min-width:0!important}
html body.ptvLay-cableguide #ptvGRows .ptvGRow.on .ptvLayNum{color:#14216a!important}
html body.ptvLay-cableguide #ptvGRows .ptvGName{grid-row:2;grid-column:2;font:700 clamp(15px,1.2vw,20px)/1.15 var(--cgFont)!important;color:#fff!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.ptvLay-cableguide #ptvGRows .ptvGRow.on .ptvGName{color:#14216a!important}
html body.ptvLay-cableguide #ptvGRows .ptvGName em{display:none!important}
html body.ptvLay-cableguide #ptvGRows .ptvGProg{border:0!important;border-right:3px solid #0b1450!important;border-radius:0!important;padding:8px 10px!important;color:#fff!important;background:#3d6fd1!important;overflow:hidden}
html body.ptvLay-cableguide #ptvGRows .ptvGProg .ptvGTitle{font:700 clamp(15px,1.2vw,20px)/1.2 var(--cgFont)!important;color:#fff!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.ptvLay-cableguide #ptvGRows .ptvGProg .ptvCgSub{display:block;font:400 clamp(12px,.95vw,15px)/1.2 var(--cgFont);font-style:normal;color:#eef2ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.ptvLay-cableguide #ptvGRows .ptvGProg small{font:400 clamp(11px,.85vw,14px) var(--cgFont)!important;color:#dfe6ff!important}
html body.ptvLay-cableguide #ptvGRows .ptvGProg .ptvCgSub ~ small{display:none!important}
html body.ptvLay-cableguide #ptvGRows .ptvGProg .ptvBar{display:none!important}
html body.ptvLay-cableguide #ptvGRows .ptvGProg.cg0{background:#7d4ab0!important}
html body.ptvLay-cableguide #ptvGRows .ptvGProg.cg1{background:#2f9e83!important}
html body.ptvLay-cableguide #ptvGRows .ptvGProg.cg2{background:#c4527a!important}
html body.ptvLay-cableguide #ptvGRows .ptvGProg.cg3{background:#3d6fd1!important}
html body.ptvLay-cableguide #ptvGRows .ptvGProg.cg4{background:#1f8f9a!important}
html body.ptvLay-cableguide #ptvGRows .ptvGProg.cg5{background:#5e9640!important}
html body.ptvLay-cableguide #ptvGRows .ptvGRow.on .ptvGProg.live{background:#fff6b0!important}
html body.ptvLay-cableguide #ptvGRows .ptvGRow.on .ptvGProg.live :is(.ptvGTitle,.ptvCgSub,small){color:#14216a!important}
html body.ptvLay-cableguide #ptvGRows .ptvGProg:hover,html body.ptvLay-cableguide #ptvGRows .ptvGProg:focus-visible{outline:3px solid var(--cgYel)!important;outline-offset:-3px}
html body.ptvD2.ptvSplitTop.ptvLay-cableguide .ptvD2Main .ptvLayBar{height:auto!important;min-height:66px!important;max-height:none!important;align-items:center!important;justify-content:flex-start!important;overflow:visible!important;box-sizing:border-box!important;top:0!important}
html body.ptvD2.ptvSplitTop.ptvLay-cableguide .ptvD2Main .ptvLayBar button{position:static!important;transform:none!important;margin:0!important;flex:none!important;display:inline-flex!important;align-items:center;justify-content:center;opacity:1!important;visibility:visible!important}
html body.ptvD2.ptvSplitTop.ptvLay-cableguide .ptvD2Main .ptvLayBar .ptvLdPage{display:none!important}
html body.ptvLay-cableguide #ptvCgInfo h2.ptvCgTitle{font-family:var(--cgFont)!important;letter-spacing:0!important;text-transform:none!important}

/* The new guide look on every player layout with a time grid (Cheryl, Nov 27): colored show blocks,
   episode lines, the ticking clock and the extra show details. Each layout keeps its own frame and colors. */
html body.ptvD2:not(.ptvLay-listings):not(.ptvLay-scroll):not(.ptvLay-lean) #ptvGRows .ptvGProg[class*=" cg"]{color:#fff!important;border-right:3px solid rgba(0,0,0,.45)!important;border-radius:0!important;background-image:none!important}
html body.ptvD2:not(.ptvLay-listings):not(.ptvLay-scroll):not(.ptvLay-lean) #ptvGRows .ptvGProg.cg0{background-color:var(--cg0,#7d4ab0)!important}
html body.ptvD2:not(.ptvLay-listings):not(.ptvLay-scroll):not(.ptvLay-lean) #ptvGRows .ptvGProg.cg1{background-color:var(--cg1,#2f9e83)!important}
html body.ptvD2:not(.ptvLay-listings):not(.ptvLay-scroll):not(.ptvLay-lean) #ptvGRows .ptvGProg.cg2{background-color:var(--cg2,#c4527a)!important}
html body.ptvD2:not(.ptvLay-listings):not(.ptvLay-scroll):not(.ptvLay-lean) #ptvGRows .ptvGProg.cg3{background-color:var(--cg3,#3d6fd1)!important}
html body.ptvD2:not(.ptvLay-listings):not(.ptvLay-scroll):not(.ptvLay-lean) #ptvGRows .ptvGProg.cg4{background-color:var(--cg4,#1f8f9a)!important}
html body.ptvD2:not(.ptvLay-listings):not(.ptvLay-scroll):not(.ptvLay-lean) #ptvGRows .ptvGProg.cg5{background-color:var(--cg5,#5e9640)!important}
html body.ptvD2:not(.ptvLay-listings):not(.ptvLay-scroll):not(.ptvLay-lean) #ptvGRows .ptvGProg[class*=" cg"] :is(.ptvGTitle,small,.ptvCgSub){color:#fff!important}
html body.ptvD2:not(.ptvLay-listings):not(.ptvLay-scroll):not(.ptvLay-lean) #ptvGRows .ptvGProg[class*=" cg"] .ptvGTitle{font-weight:800!important}
html body.ptvD2:not(.ptvLay-listings):not(.ptvLay-scroll):not(.ptvLay-lean) #ptvGRows .ptvGRow.on .ptvGProg.live{background-color:var(--cgLive,#fff6b0)!important;box-shadow:inset 0 0 0 3px var(--cgLiveEdge,#ffd84a)!important}
html body.ptvD2:not(.ptvLay-listings):not(.ptvLay-scroll):not(.ptvLay-lean) #ptvGRows .ptvGRow.on .ptvGProg.live :is(.ptvGTitle,small,.ptvCgSub){color:var(--cgLiveText,#14216a)!important}
html body.ptvD2 #ptvGRows .ptvGProg .ptvCgSub{display:block;font-size:.85em;font-style:normal;opacity:.95;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.ptvD2:not(.ptvLay-cableguide) #ptvGRows .ptvGProg .ptvCgSub ~ small{display:none!important}

/* Extra show details under the title in the other layouts */
#ptvCgMeta[hidden]{display:none!important}
#ptvCgMeta .ptvCgEp{font-weight:800;font-size:1.15em;color:#ffd84a;margin:2px 0 6px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ptvCgMeta .ptvCgBadges{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 6px!important}
#ptvCgMeta .ptvCgBadges span{border:2px solid currentColor;border-radius:3px;padding:0 7px;font-weight:800;font-size:13px;line-height:1.5}
#ptvCgMeta .ptvCgCredits{font-size:14px;font-weight:700;margin:0 0 4px!important;opacity:.95}
#ptvCgMeta .ptvCgStory{font-size:14px;line-height:1.45;margin:0!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:inherit}
html body.ptvD2:not(.ptvLay-cableguide) #ptvNowCard:has(#ptvCgMeta:not([hidden])) > p.fine{display:none!important}

/* Big Cable Guide: credits line */
#ptvCgInfo .ptvCgCredits{font:700 clamp(13px,1vw,16px)/1.35 var(--cgFont);color:var(--cgYel);margin:0 0 8px}
#ptvCgInfo .ptvCgCredits[hidden],#ptvCgMeta .ptvCgCredits[hidden]{display:none}
/* Small square info boxes (Cheryl, Nov 27) */
#ptvCgInfo .ptvCgBadges,#ptvCgMeta .ptvCgBadges{gap:5px!important}
#ptvCgInfo .ptvCgBadges span,#ptvCgMeta .ptvCgBadges span{font:800 clamp(11px,.85vw,14px)/1.35 var(--cgFont,'Courier New',monospace)!important;padding:1px 6px!important;border:2px solid currentColor!important;border-radius:2px!important;background:transparent!important;color:inherit!important;white-space:nowrap}
#ptvCgInfo .ptvCgBadges span{color:#fff!important}
#ptvCgInfo .ptvCgBadges span.by,#ptvCgMeta .ptvCgBadges span.by{background:#fff!important;color:#14216a!important;border-color:#fff!important}
#ptvCgInfo .ptvCgBadges span.bs,#ptvCgMeta .ptvCgBadges span.bs{background:#18a7d8!important;border-color:#18a7d8!important;color:#062a4a!important}
#ptvCgInfo .ptvCgBadges span.br,#ptvCgMeta .ptvCgBadges span.br{background:#e0b44c!important;border-color:#e0b44c!important;color:#2a1d05!important}

/* Guide colors that match each layout's own theme (Cheryl, Nov 27) */
html body.ptvLay-classic,html body.ptvD2:not([class*="ptvLay-"]){--cg0:#7a5a1e;--cg1:#4a3b22;--cg2:#7a3b2e;--cg3:#3f4a5c;--cg4:#5e4a2a;--cg5:#4d3b28;--cgLive:#f2d27a;--cgLiveEdge:#e0b44c;--cgLiveText:#1b1405}
html body.ptvLay-console{--cg0:#6b4423;--cg1:#8a6a33;--cg2:#5a3a20;--cg3:#7a5530;--cg4:#4a3a28;--cg5:#9a7a3a;--cgLive:#e6c47a;--cgLiveEdge:#c9a04a;--cgLiveText:#2a1a0a}
html body.ptvLay-theater{--cg0:#2d3440;--cg1:#3d4452;--cg2:#5a4a20;--cg3:#2a3a4a;--cg4:#4a3a2a;--cg5:#35404d;--cgLive:#d9b25a;--cgLiveEdge:#f0cf7a;--cgLiveText:#14110a}
html body.ptvLay-guide{--cg0:#1e3a5f;--cg1:#2a4a73;--cg2:#3a5a85;--cg3:#24405f;--cg4:#4a3a12;--cg5:#2f4f6f;--cgLive:#e0b44c;--cgLiveEdge:#f3cf6e;--cgLiveText:#0a1220}
html body.ptvLay-cable{--cg0:#2f6f8f;--cg1:#6a4c93;--cg2:#3e7d5a;--cg3:#8a4b3c;--cg4:#2c4f9e;--cg5:#7a6a2a;--cgLive:#ffd23f;--cgLiveEdge:#fff07a;--cgLiveText:#13208a}
html body.ptvLay-palace{--cg0:#7a1420;--cg1:#9c1b26;--cg2:#5a0f18;--cg3:#8a2a30;--cg4:#6a1a20;--cg5:#a03030;--cgLive:#f2c14e;--cgLiveEdge:#ffe08a;--cgLiveText:#3a0b10}
html body.ptvLay-drivein{--cg0:#1b2a6b;--cg1:#3a1f6b;--cg2:#6b1f4a;--cg3:#1f4a6b;--cg4:#2a1b55;--cg5:#5a2a6b;--cgLive:#ff3b3b;--cgLiveEdge:#ff8a8a;--cgLiveText:#fff}
html body.ptvLay-saturday{--cg0:#ff4f4f;--cg1:#2b59c3;--cg2:#2bb35a;--cg3:#ff9f1c;--cg4:#9b5de5;--cg5:#00a8c6;--cgLive:#ffcf2e;--cgLiveEdge:#fff;--cgLiveText:#1a1a1a}
html body.ptvLay-justtv{--cg0:#2a2a2a;--cg1:#363636;--cg2:#3d3526;--cg3:#2e3440;--cg4:#33302a;--cg5:#262e2a;--cgLive:#d4af37;--cgLiveEdge:#f0d27a;--cgLiveText:#111}
html body.ptvLay-cableguide{--cg0:#7d4ab0;--cg1:#2f9e83;--cg2:#c4527a;--cg3:#3d6fd1;--cg4:#1f8f9a;--cg5:#5e9640;--cgLive:#fff6b0;--cgLiveEdge:#ffd84a;--cgLiveText:#14216a}
html body.ptvLay-cableguide #ptvGRows .ptvGProg.cg0{background:var(--cg0)!important}
html body.ptvLay-cableguide #ptvGRows .ptvGProg.cg1{background:var(--cg1)!important}
html body.ptvLay-cableguide #ptvGRows .ptvGProg.cg2{background:var(--cg2)!important}
html body.ptvLay-cableguide #ptvGRows .ptvGProg.cg3{background:var(--cg3)!important}
html body.ptvLay-cableguide #ptvGRows .ptvGProg.cg4{background:var(--cg4)!important}
html body.ptvLay-cableguide #ptvGRows .ptvGProg.cg5{background:var(--cg5)!important}
#ptvCgMeta .ptvCgEp{color:var(--cgLive,#ffd84a)}
/* Keep the info box tidy when the extra details are on (guide-under layouts) */
html body.ptvD2.ptvSplitTop:not(.ptvLay-cableguide) #ptvNowCard:has(#ptvCgMeta:not([hidden])) > p:not([class]),
html body.ptvD2.ptvSplitTop:not(.ptvLay-cableguide) #ptvNowCard:has(#ptvCgMeta:not([hidden])) #ptvUpNext{display:none!important}
html body.ptvD2.ptvSplitTop:not(.ptvLay-cableguide) #ptvCgMeta .ptvCgStory{-webkit-line-clamp:2}
html body.ptvD2:not(.ptvLay-cableguide) #ptvNowCard:has(#ptvCgMeta:not([hidden])) > p:not([class]){display:none!important}
#ptvCgInfo .ptvCgStory{-webkit-line-clamp:3!important}

/* Cable box touches (Nov 27): arrows on shows that started earlier or run past the edge, and a "now" line */
html body.ptvD2 #ptvGRows .ptvGProg.ptvGL .ptvGTitle::before{content:"◀ ";font-size:.8em;opacity:.85}
html body.ptvD2 #ptvGRows .ptvGProg.ptvGR .ptvGTitle::after{content:" ▶";font-size:.8em;opacity:.85}
#ptvNowLine{position:absolute;top:0;width:3px;margin-left:-1px;background:#ff4b4b;box-shadow:0 0 6px rgba(255,75,75,.8);z-index:4;pointer-events:none}
#ptvNowLine[hidden]{display:none}
html body.ptvLay-cableguide #ptvNowLine{background:#ffd84a;box-shadow:0 0 6px rgba(255,216,74,.8)}

/* ===== Big Cable Guide, PastTime's own look (Cheryl, Nov 27): black and gold frame, classic lettering,
   and show blocks colored by the kind of show. Replaces the blue NostalgiaTV-style colors. ===== */
html body.ptvLay-cableguide{--cgYel:#f3cf6e;--cgFont:'DM Sans',Arial,sans-serif;--cgSerif:'Libre Caslon Display',Georgia,serif}
html body.ptvLay-cableguide #ptvLive .ptvD2{background:linear-gradient(180deg,#15110c,#0b0907)!important;border:1px solid #6b5426!important}
html body.ptvD2.ptvSplitTop.ptvLay-cableguide .ptvD2Main .ptvLayBar,html body.ptvD2.ptvSplitTop.ptvLay-cableguide .ptvD2Main .ptvScreen.ptvYtOn ~ .ptvLayBar{background:#1a140c!important;border:1px solid #6b5426!important}
html body.ptvD2.ptvSplitTop.ptvLay-cableguide .ptvD2Main .ptvLayBar button{background:#0f0c08!important;border:1px solid #8a6d2b!important;color:#f3e5c8!important;font-family:var(--cgFont)!important}
html body.ptvD2.ptvSplitTop.ptvLay-cableguide .ptvD2Main .ptvLayBar button:hover,html body.ptvD2.ptvSplitTop.ptvLay-cableguide .ptvD2Main .ptvLayBar button:focus-visible{background:#d4af37!important;border-color:#f3cf6e!important;color:#120e0a!important}
html body.ptvLay-cableguide #ptvCgInfo h2.ptvCgTitle{font-family:var(--cgSerif)!important;font-weight:400!important;color:#f3e5c8!important;text-shadow:none!important;letter-spacing:.01em!important}
html body.ptvLay-cableguide #ptvCgInfo .ptvCgEp{font-family:var(--cgSerif)!important;font-style:italic;color:#f3cf6e!important}
html body.ptvLay-cableguide #ptvCgInfo :is(.ptvCgWhen,.ptvCgStory){font-family:var(--cgFont)!important;color:#e9dcc0!important}
html body.ptvLay-cableguide #ptvCgInfo .ptvCgWhen{letter-spacing:.06em;text-transform:uppercase;font-size:clamp(12px,1vw,15px)!important;color:#bfa66a!important}
html body.ptvLay-cableguide #ptvCgInfo .ptvCgCredits{font-family:var(--cgFont)!important;color:#d4af37!important}
html body.ptvLay-cableguide #ptvCgInfo .ptvCgBadges span{color:#f3e5c8!important;border-color:#8a6d2b!important}
html body.ptvLay-cableguide #ptvCgInfo .ptvCgBadges span.by{background:#d4af37!important;border-color:#d4af37!important;color:#120e0a!important}
html body.ptvD2.ptvSplitTop.ptvLay-cableguide .ptvD2Main .ptvScreen{border:2px solid #8a6d2b!important}
html body.ptvLay-cableguide #ptvLive .ptvGuide{background:#0d0a07!important;border:1px solid #6b5426!important}
html body.ptvLay-cableguide #ptvGTabs{background:#120e0a!important}
html body.ptvLay-cableguide #ptvGTabs button{background:#1a140c!important;border:1px solid #5a4620!important;color:#e9dcc0!important;font-family:var(--cgFont)!important}
html body.ptvLay-cableguide #ptvGTabs button.on{background:#d4af37!important;color:#120e0a!important}
html body.ptvLay-cableguide #ptvGHead{background:#1a140c!important;border-bottom:2px solid #8a6d2b!important}
html body.ptvLay-cableguide #ptvGHead > div{font-family:var(--cgFont)!important;color:#f3cf6e!important;border-left:1px solid #3a2d16!important}
html body.ptvLay-cableguide #ptvGHead .ptvGCh{background:#120e0a!important}
html body.ptvLay-cableguide #ptvGRows .ptvGRow{border-bottom:2px solid #0b0907!important}
html body.ptvLay-cableguide #ptvGRows .ptvGCh{background:#15110c!important;border-right:2px solid #0b0907!important}
html body.ptvLay-cableguide #ptvGRows .ptvGRow.on .ptvGCh{background:#2a2010!important;box-shadow:inset 4px 0 0 #d4af37}
html body.ptvD2.ptvLay-cableguide #ptvLive .ptvGCh .ptvLayNum{font-family:var(--cgSerif)!important;color:#f3cf6e!important}
html body.ptvLay-cableguide #ptvGRows .ptvGRow.on .ptvLayNum,html body.ptvLay-cableguide #ptvGRows .ptvGRow.on .ptvGName{color:#f3cf6e!important}
html body.ptvLay-cableguide #ptvGRows .ptvGName{font-family:var(--cgFont)!important;color:#f3e5c8!important}
html body.ptvLay-cableguide #ptvGRows .ptvGProg{border-right:2px solid #0b0907!important;border-radius:3px!important}
html body.ptvLay-cableguide #ptvGRows .ptvGProg :is(.ptvGTitle,.ptvCgSub,small){font-family:var(--cgFont)!important}
/* the kind-of-show colors */
html body.ptvD2.ptvLay-cableguide.ptvLay-cableguide.ptvLay-cableguide #ptvGRows .ptvGRow[data-kind] .ptvGProg.ptvGProg{background-color:var(--k)!important;background-image:none!important}
html body.ptvLay-cableguide #ptvGRows .ptvGRow[data-kind=movie]{--k:#6e2333}
html body.ptvLay-cableguide #ptvGRows .ptvGRow[data-kind=western]{--k:#8b5a2b}
html body.ptvLay-cableguide #ptvGRows .ptvGRow[data-kind=horror]{--k:#7a1818}
html body.ptvLay-cableguide #ptvGRows .ptvGRow[data-kind=scifi]{--k:#1e6f7a}
html body.ptvLay-cableguide #ptvGRows .ptvGRow[data-kind=kids]{--k:#2f63b8}
html body.ptvLay-cableguide #ptvGRows .ptvGRow[data-kind=noir]{--k:#4a4f5a}
html body.ptvLay-cableguide #ptvGRows .ptvGRow[data-kind=comedy]{--k:#a77a12}
html body.ptvLay-cableguide #ptvGRows .ptvGRow[data-kind=music]{--k:#8f2c62}
html body.ptvLay-cableguide #ptvGRows .ptvGRow[data-kind=news]{--k:#22365f}
html body.ptvLay-cableguide #ptvGRows .ptvGRow[data-kind=tv]{--k:#2e5e4e}
html body.ptvLay-cableguide #ptvGRows .ptvGRow[data-kind] .ptvGProg:nth-of-type(even){filter:brightness(1.12)}
html body.ptvD2.ptvLay-cableguide.ptvLay-cableguide.ptvLay-cableguide #ptvGRows .ptvGRow.on[data-kind] .ptvGProg.ptvGProg.live{background-color:#e0b44c!important;filter:none!important;box-shadow:inset 0 0 0 2px #f6dc8e!important}
html body.ptvD2.ptvLay-cableguide.ptvLay-cableguide.ptvLay-cableguide #ptvGRows .ptvGRow.on .ptvGProg.ptvGProg.live :is(.ptvGTitle,.ptvCgSub,small){color:#140f06!important}
html body.ptvLay-cableguide #ptvNowLine{background:#f3cf6e;box-shadow:0 0 6px rgba(243,207,110,.8)}
/* color key */
#ptvCgKey{display:none}
html body.ptvLay-cableguide #ptvCgKey{display:flex;flex-wrap:wrap;gap:4px 12px;padding:5px 10px;background:#120e0a;border-bottom:1px solid #3a2d16;font:600 12px var(--cgFont);color:#e9dcc0}
#ptvCgKey span{display:inline-flex;align-items:center;gap:5px}#ptvCgKey i{width:12px;height:12px;border-radius:2px;display:inline-block}
/* narrower info side, bigger picture, guide right under it (Nov 27) */
html body.ptvD2.ptvLay-cableguide .ptvD2Main{grid-template-columns:minmax(300px,1fr) auto!important;gap:0 10px!important}
html body.ptvLay-cableguide #ptvLive .ptvD2{gap:4px!important;padding:8px!important}
html body.ptvLay-cableguide #ptvCgKey{padding:3px 10px}
