/* TV layouts (Nov 19, 2026). Cheryl: "can we changeable skins, not just color schemes".
   Each layout moves the real parts of the Live TV page around: the TV, the channel list, the info box and the buttons.
   Big screens only (computers and TVs, 1000px and wider). Phones keep the normal layout.
   Nothing is ever drawn over the picture (YouTube rule): frames are borders around the screen, never on top of it. */

/* Layout picker */
.ptvLayDlg{max-width:760px;width:94vw;background:#10141c;color:#f3ead7;border:1px solid #d4af37;border-radius:12px;padding:18px 20px}
.ptvLayDlg::backdrop{background:#000b}
.ptvLayDlg h2{margin:0 0 4px;color:#d4af37;font:700 22px Georgia,serif}
.ptvLayDlg p.fine{margin:0 0 12px;opacity:.8}
.ptvLayGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.ptvLayPick{display:flex;flex-direction:column;gap:6px;text-align:left;background:#1a2030;border:2px solid #2c3550;border-radius:10px;padding:10px;color:inherit;cursor:pointer;font:600 15px Arial,sans-serif}
.ptvLayPick small{font-weight:400;opacity:.8;font-size:12.5px;line-height:1.3}
.ptvLayPick.on{border-color:#d4af37;box-shadow:0 0 0 2px #d4af3755}
.ptvLayPick .ptvLayThumb{height:92px;border-radius:6px;overflow:hidden;position:relative;background:#0b0e14}
.ptvLayPick .ptvLayThumb i{position:absolute;display:block;border-radius:3px}
.ptvLayClose{float:right;background:none;border:1px solid #d4af37;color:#d4af37;border-radius:6px;padding:4px 10px;cursor:pointer}
.ptvLayHints,.ptvLayNum,.ptvLayBrand{display:none}

/* ===================== 1. CONSOLE: wood cabinet TV, guide on the right ===================== */
html body.ptvD2.ptvLay-console #ptvLive{background:radial-gradient(ellipse at 30% 40%,#3a2617 0%,#1a110a 60%,#0d0906 100%)!important;--g-gold:#d8b46a;--g-line:#4a3622;--g-navy:#1b140e;--g-deep:#140f0a;--g-dim:#cdb48a}
html body.ptvD2.ptvLay-console .ptvD2{grid-template-columns:minmax(0,1fr) minmax(330px,30%)}
html body.ptvD2.ptvLay-console .ptvD2Guide{order:2;background:#16100b;border:1px solid #4a3622}
html body.ptvD2.ptvLay-console .ptvD2Main{order:1;background:linear-gradient(160deg,#6e4528 0%,#4b2c17 45%,#311c0e 100%);border-radius:26px 26px 14px 14px;padding:26px 26px 18px;box-shadow:0 22px 50px #000c,inset 0 2px 0 #ffffff26,inset 0 -6px 12px #0006}
html body.ptvD2.ptvLay-console .ptvD2Main .ptvScreen{border:14px solid #c9a35c;border-radius:34px/28px!important;box-shadow:0 0 0 3px #3a2412,0 0 0 6px #8a6a32,inset 0 0 40px #000;background:#000}
html body.ptvD2.ptvLay-console .ptvD2Info{background:linear-gradient(180deg,#2a1d12,#1c130b);border:2px solid #8a6a32;border-radius:10px;box-shadow:inset 0 2px 8px #000a}
html body.ptvD2.ptvLay-console .ptvD2Info .ptvNowCard h3{font-family:Georgia,'Times New Roman',serif!important;color:#f0d9a0}
html body.ptvD2.ptvLay-console .ptvD2Info .ptvKnobs button,html body.ptvD2.ptvLay-console .ptvD2Info .ptvChNum{background:radial-gradient(circle at 40% 30%,#f2dca2,#a07a33 70%,#5e4418)!important;color:#2a1a08!important;border:1px solid #3a2810!important;border-radius:999px!important;box-shadow:0 3px 0 #1a1008,inset 0 1px 0 #fff6}
html body.ptvD2.ptvLay-console .ptvD2GuideTop{background:#1d150d;padding:14px 16px}
html body.ptvD2.ptvLay-console .ptvD2GuideTop b{font:400 22px Georgia,serif;letter-spacing:.02em;color:#e6c47a}
html body.ptvD2.ptvLay-console .ptvD2GuideTop b::after{content:"  Live TV Guide";font:700 11px Arial,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:#cdb48a;margin-left:6px}
html body.ptvD2.ptvLay-console #ptvLive .ptvGRow{background:transparent!important;border-bottom:1px solid #3a2a1a!important}
html body.ptvD2.ptvLay-console #ptvLive .ptvGRow.on{background:linear-gradient(90deg,#5a4320,#3a2b16)!important;outline:1px solid #d8b46a!important}
html body.ptvD2.ptvLay-console #ptvLive .ptvGCh{align-items:flex-start}
html body.ptvD2.ptvLay-console #ptvLive .ptvGCh .ptvGLogo{display:none}
html body.ptvD2.ptvLay-console #ptvLive .ptvLayNum{display:block;font:400 26px Georgia,serif;color:#e6c47a;min-width:44px;line-height:1.1}
html body.ptvD2.ptvLay-console #ptvLive .ptvGName{font:400 18px Georgia,'Times New Roman',serif!important;color:#f3e3bd}
html body.ptvD2.ptvLay-console #ptvLive .ptvGName em{color:#bfa37a!important;font-style:normal}
html body.ptvD2.ptvLay-console #ptvLive .ptvGMobNow{font-family:Georgia,serif;color:#e8d7b0!important}
html body.ptvD2.ptvLay-console #ptvLive .ptvBar i{background:#d8b46a!important}
html body.ptvD2.ptvLay-console #ptvLive .ptvGTabs button.on{background:#d8b46a!important;color:#1a1008!important}

/* Shared: the full program guide grid under the TV (Theater, Program Guide and Cable Box) */
html body.ptvD2:is(.ptvLay-theater,.ptvLay-guide,.ptvLay-cable,.ptvLay-cableguide) .ptvD2{display:flex!important;flex-direction:column;gap:14px}
html body.ptvD2:is(.ptvLay-theater,.ptvLay-guide,.ptvLay-cable,.ptvLay-cableguide) .ptvD2Main{order:1;width:100%}
html body.ptvD2:is(.ptvLay-theater,.ptvLay-guide,.ptvLay-cable,.ptvLay-cableguide) .ptvD2Guide{order:2;position:static!important;width:100%}
html body.ptvD2:is(.ptvLay-theater,.ptvLay-guide,.ptvLay-cable,.ptvLay-cableguide) .ptvD2Full{display:none}
html body.ptvD2:is(.ptvLay-theater,.ptvLay-guide,.ptvLay-cable,.ptvLay-cableguide) #ptvLive .ptvGuide{overflow:auto!important;max-height:62vh!important}
html body.ptvD2:is(.ptvLay-theater,.ptvLay-guide,.ptvLay-cable,.ptvLay-cableguide) #ptvLive .ptvGHead{display:grid!important}
html body.ptvD2:is(.ptvLay-theater,.ptvLay-guide,.ptvLay-cable,.ptvLay-cableguide) #ptvLive .ptvGProg{display:block!important}
html body.ptvD2:is(.ptvLay-theater,.ptvLay-guide,.ptvLay-cable,.ptvLay-cableguide) #ptvLive :is(.ptvGHead,.ptvGRow){grid-template-columns:260px repeat(120,minmax(4px,1fr))!important;min-width:900px!important}
html body.ptvD2:is(.ptvLay-theater,.ptvLay-guide,.ptvLay-cable,.ptvLay-cableguide) #ptvLive .ptvGCh{border-right:1px solid var(--g-line)!important}
html body.ptvD2:is(.ptvLay-theater,.ptvLay-guide,.ptvLay-cable,.ptvLay-cableguide) #ptvLive .ptvGMob{display:none!important}

/* ===================== 2. THEATER: big picture on top, info bar, guide grid below ===================== */
html body.ptvD2.ptvLay-theater #ptvLive{background:#07080b!important;--g-gold:#d9b25a;--g-navy:#0f1116;--g-deep:#0b0c10;--g-line:#262a33;--g-dim:#aab}
html body.ptvD2.ptvLay-theater .ptvD2Main .ptvScreen{aspect-ratio:16/9!important;max-height:68vh!important;border-radius:4px!important;box-shadow:0 18px 50px #000}
html body.ptvD2.ptvLay-theater .ptvD2Info{background:#0f1116;border:0;border-top:1px solid #262a33;border-bottom:1px solid #262a33;border-radius:0}
html body.ptvD2.ptvLay-theater .ptvD2Info .ptvNowCard .eyebrow{display:inline-block;background:#d9b25a;color:#141007;padding:2px 8px;border-radius:3px;font-weight:800}
html body.ptvD2.ptvLay-theater .ptvD2Guide{background:#0b0c10;border:1px solid #262a33}
html body.ptvD2.ptvLay-theater #ptvLive .ptvGTabs{background:#0f1116}
html body.ptvD2.ptvLay-theater #ptvLive .ptvGTabs button{border-radius:4px!important}
html body.ptvD2.ptvLay-theater #ptvLive .ptvGProg.live{background:linear-gradient(90deg,#3b3115,#1d1a10)!important;box-shadow:inset 3px 0 0 #d9b25a}

/* ===================== 3. PROGRAM GUIDE: now-playing story beside the TV, full guide below ===================== */
html body.ptvD2.ptvLay-guide #ptvLive{background:#0a1220!important;--g-gold:#e0b44c;--g-navy:#0e1828;--g-deep:#0a1220;--g-line:#22324d;--g-dim:#a9b6cc}
html body.ptvD2.ptvLay-guide .ptvD2Main{display:grid!important;grid-template-columns:minmax(300px,36%) minmax(0,1fr);grid-template-areas:"info tv" "feat feat" "more more";gap:14px 18px;align-items:stretch}
html body.ptvD2.ptvLay-guide .ptvD2Main .ptvScreen{grid-area:tv;aspect-ratio:16/9!important;max-height:56vh!important}
html body.ptvD2.ptvLay-guide .ptvD2Info{grid-area:info;display:flex!important;flex-direction:column;justify-content:center;background:linear-gradient(135deg,#0e1828,#132238);border:1px solid #22324d}
html body.ptvD2.ptvLay-guide .ptvD2Feat{grid-area:feat}
html body.ptvD2.ptvLay-guide .ptvD2More{grid-area:more}
html body.ptvD2.ptvLay-guide .ptvD2Info .ptvNowCard{grid-template-columns:1fr!important}
html body.ptvD2.ptvLay-guide .ptvD2Info .ptvNowLogo{grid-row:auto!important}
html body.ptvD2.ptvLay-guide .ptvD2Info .ptvNowCard .eyebrow{display:inline-block;width:max-content;border:1px solid #e0b44c;color:#e0b44c;padding:2px 8px;border-radius:4px;font-weight:800}
html body.ptvD2.ptvLay-guide .ptvD2Info .ptvNowCard h3{font:700 30px Georgia,'Times New Roman',serif!important;text-transform:uppercase;letter-spacing:.02em;color:#fff}
html body.ptvD2.ptvLay-guide .ptvD2Info .ptvNowCard p{color:#e0b44c}
html body.ptvD2.ptvLay-guide .ptvD2Info .ptvNowCard .fine{white-space:normal!important;color:#d6dde8}
html body.ptvD2.ptvLay-guide .ptvD2Info .ptvKnobs{justify-content:flex-start!important}
html body.ptvD2.ptvLay-guide .ptvD2Guide{background:#0a1220;border:1px solid #22324d}
html body.ptvD2.ptvLay-guide .ptvD2GuideTop b{color:#e0b44c;letter-spacing:.12em}
html body.ptvD2.ptvLay-guide .ptvD2GuideTop b::after{content:" · Live TV program guide";font-weight:400;letter-spacing:.05em}
html body.ptvD2.ptvLay-guide #ptvLive .ptvGProg.live{background:linear-gradient(180deg,#4a3a12,#2b230d)!important;box-shadow:inset 0 0 0 1px #e0b44c}

/* ===================== 4. CABLE BOX: 1990s cable guide, blue grid, picture in the corner ===================== */
html body.ptvD2.ptvLay-cable #ptvLive{background:#101b6e!important;--g-gold:#ffd23f;--g-navy:#1b2c9e;--g-deep:#14217e;--g-line:#3b56d6;--g-dim:#dfe6ff;font-family:Arial,Helvetica,sans-serif}
/* Nov 20 (Cheryl): bigger picture, moved to the right; smaller info box on the left; no empty rows above the guide. */
html body.ptvD2.ptvLay-cable .ptvD2{gap:8px!important}
html body.ptvD2.ptvLay-cable .ptvD2Main{display:grid!important;grid-template-columns:minmax(0,30%) minmax(0,1fr);grid-template-areas:"info tv" "info bar" "more more";gap:0 14px;align-items:start}
html body.ptvD2.ptvLay-cable .ptvD2Main .ptvScreen{grid-area:tv;aspect-ratio:16/9!important;max-height:64vh!important;width:100%;border:4px solid #f08a24;border-radius:2px!important}
html body.ptvD2.ptvLay-cable .ptvD2Info{grid-area:info;align-self:stretch;display:flex!important;flex-direction:column;justify-content:flex-start;gap:10px;background:#13208a;border:3px solid #f08a24;border-radius:2px;padding:12px!important;overflow:auto}
html body.ptvD2.ptvLay-cable .ptvD2Info .ptvNowCard h3{font-size:22px!important}

html body.ptvD2.ptvLay-cable .ptvD2Feat{display:none!important}
html body.ptvD2.ptvLay-cable .ptvD2More{grid-area:more}
html body.ptvD2.ptvLay-cable .ptvD2More:not(:empty){margin-top:8px}
html body.ptvD2.ptvLay-cable .ptvD2Guide{margin-top:0!important}
html body.ptvD2.ptvLay-cable .ptvD2Info .ptvNowCard{grid-template-columns:1fr!important}
html body.ptvD2.ptvLay-cable .ptvD2Info .ptvNowLogo{display:none!important}
html body.ptvD2.ptvLay-cable .ptvD2Info .ptvNowCard .eyebrow{color:#fff;font-weight:800;letter-spacing:.04em}
html body.ptvD2.ptvLay-cable .ptvD2Info .ptvNowCard h3{color:#ffd23f!important;font:800 28px Arial,sans-serif!important}
html body.ptvD2.ptvLay-cable .ptvD2Info .ptvNowCard p,html body.ptvD2.ptvLay-cable .ptvD2Info .ptvNowCard .fine{color:#e8edff!important;font-weight:700}
html body.ptvD2.ptvLay-cable .ptvD2Info .ptvKnobs button,html body.ptvD2.ptvLay-cable .ptvD2Info .ptvChNum{background:#2d47cf!important;color:#fff!important;border:1px solid #6f86ff!important;border-radius:2px!important;font-weight:800!important}
html body.ptvD2.ptvLay-cable .ptvD2Guide{background:#14217e;border:0;border-radius:0}
html body.ptvD2.ptvLay-cable .ptvD2GuideTop{background:#0d1660;color:#ffd23f}
html body.ptvD2.ptvLay-cable #ptvLive .ptvGHead{background:#0d1660!important;color:#ffd23f!important}
html body.ptvD2.ptvLay-cable #ptvLive .ptvGRow{background:#16205c!important;border-bottom:3px solid #14217e!important}
html body.ptvD2.ptvLay-cable #ptvLive .ptvGCh{background:#1c2a6e!important;border-right:3px solid #14217e!important}
html body.ptvD2.ptvLay-cable #ptvLive .ptvGProg{border-right:3px solid #14217e!important;color:#fff!important;font-weight:700}
html body.ptvD2.ptvLay-cable #ptvLive .ptvGRow.on,html body.ptvD2.ptvLay-cable #ptvLive .ptvGRow.on .ptvGCh{background:#ffd23f!important;color:#14217e!important;outline:0!important}
html body.ptvD2.ptvLay-cable #ptvLive .ptvGRow.on :is(.ptvGName,.ptvGName em,.ptvGTitle,.ptvGProg){color:#14217e!important}
html body.ptvD2.ptvLay-cable #ptvLive .ptvGCh .ptvGLogo{display:none}
html body.ptvD2.ptvLay-cable #ptvLive .ptvLayNum{display:block;font:800 22px Arial,sans-serif;color:#fff;min-width:38px}
html body.ptvD2.ptvLay-cable #ptvLive .ptvGRow.on .ptvLayNum{color:#14217e}
html body.ptvD2.ptvLay-cable #ptvLive .ptvGName{font:800 15px Arial,sans-serif!important;text-transform:uppercase;color:#fff}
html body.ptvD2.ptvLay-cable #ptvLive .ptvGName em{color:#cdd7ff!important}
html body.ptvD2.ptvLay-cable #ptvLive .ptvGTabs{background:#0d1660}
html body.ptvD2.ptvLay-cable #ptvLive .ptvGTabs button{border-radius:2px!important;font-weight:800}
html body.ptvD2.ptvLay-cable #ptvLive .ptvGTabs button.on{background:#ffd23f!important;color:#14217e!important}
html body.ptvD2.ptvLay-cable .ptvLayHints{display:block;padding:10px 14px;background:#0d1660;color:#f08a24;font:800 14px Arial,sans-serif;letter-spacing:.08em;text-align:center;text-transform:uppercase}
html body.ptvD2.ptvLay-theater .ptvD2Info .ptvNowCard .eyebrow{width:max-content;justify-self:start}
html body.ptvD2.ptvLay-cable #ptvLive .ptvGProg,html body.ptvD2.ptvLay-cable #ptvLive .ptvGProg *{font-family:Arial,Helvetica,sans-serif!important}
html body.ptvD2.ptvLay-cable #ptvLive .ptvGRow.on *{color:#14217e!important}
html body.ptvD2.ptvLay-cable #ptvLive .ptvGProg .ptvGTitle{font-weight:800}

/* Shared: channel list without the time grid (Lean Back, Listings, Movie Palace) */
html body.ptvD2:is(.ptvLay-lean,.ptvLay-listings,.ptvLay-palace) .ptvD2{display:flex!important;flex-direction:column;gap:14px}
html body.ptvD2:is(.ptvLay-lean,.ptvLay-listings,.ptvLay-palace) .ptvD2Main{order:1;width:100%}
html body.ptvD2:is(.ptvLay-lean,.ptvLay-listings,.ptvLay-palace) .ptvD2Guide{order:2;position:static!important;width:100%}
html body.ptvD2:is(.ptvLay-lean,.ptvLay-listings,.ptvLay-palace) #ptvLive .ptvGuide{max-height:none!important;overflow:visible!important}
.ptvLayMarquee{display:none}

/* ===================== 5. LEAN BACK: the picture fills the screen, one row of channel logos ===================== */
html body.ptvD2.ptvLay-lean #ptvLive{background:#000!important;padding-top:6px!important}
html body.ptvD2.ptvLay-lean .ptvD2Main .ptvScreen{aspect-ratio:auto!important;height:calc(100dvh - 300px)!important;max-height:none!important;min-height:360px;border-radius:0!important}
html body.ptvD2.ptvLay-lean .ptvD2Info{background:#0b0b0b;border:0;border-radius:0;padding:8px 14px}
html body.ptvD2.ptvLay-lean .ptvD2Info .ptvNowCard .fine,html body.ptvD2.ptvLay-lean .ptvD2Info .ptvNowLogo{display:none!important}
html body.ptvD2.ptvLay-lean .ptvD2Info .ptvNowCard{grid-template-columns:1fr!important}
html body.ptvD2.ptvLay-lean .ptvD2Guide{background:#000;border:0}
html body.ptvD2.ptvLay-lean .ptvD2GuideTop{display:none}
html body.ptvD2.ptvLay-lean #ptvLive .ptvGTabs{background:#000}
html body.ptvD2.ptvLay-lean #ptvLive #ptvGRows{display:flex!important;flex-wrap:nowrap;overflow-x:auto;gap:10px;padding:8px 2px 12px;scroll-snap-type:x proximity}
html body.ptvD2.ptvLay-lean #ptvLive .ptvGRow{flex:0 0 168px;display:block!important;min-width:0!important;border:0!important;background:#111!important;border-radius:10px;scroll-snap-align:start}
html body.ptvD2.ptvLay-lean #ptvLive .ptvGRow.on{outline:3px solid var(--g-gold)!important}
html body.ptvD2.ptvLay-lean #ptvLive .ptvGCh{flex-direction:column;align-items:flex-start!important;padding:8px!important;gap:6px!important}
html body.ptvD2.ptvLay-lean #ptvLive .ptvGCh .ptvGLogo{width:152px!important;height:104px!important;object-fit:cover;border-radius:6px}
html body.ptvD2.ptvLay-lean #ptvLive .ptvFavorite{position:absolute;margin:4px}
html body.ptvD2.ptvLay-lean #ptvLive .ptvGRow{position:relative}
html body.ptvD2.ptvLay-lean #ptvLive .ptvGName{font-size:14px!important;width:100%}
html body.ptvD2.ptvLay-lean #ptvLive .ptvGName em{font-size:11px!important}

/* ===================== 6. TV LISTINGS MAGAZINE: a printed listings page ===================== */
html body.ptvD2.ptvLay-listings #ptvLive{background:#efe5cc!important;color:#2a2118;--g-gold:#9b2d20;--g-line:#c9b98f;--g-navy:#f6eedb;--g-deep:#efe5cc;--g-dim:#5a4a35;--ptv-cream:#2a2118}
html body.ptvD2.ptvLay-listings .ptvLayBrand{display:block;grid-area:brand;font:900 44px Georgia,'Times New Roman',serif;color:#9b2d20;letter-spacing:.01em;border-bottom:4px double #2a2118;padding-bottom:4px}
html body.ptvD2.ptvLay-listings .ptvLayBrand small{display:block;font:700 13px Arial,sans-serif;letter-spacing:.3em;color:#2a2118;text-transform:uppercase}
html body.ptvD2.ptvLay-listings .ptvD2Main{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,46%);grid-template-areas:"brand tv" "info tv" "feat feat" "more more";gap:12px 22px;align-items:start}
html body.ptvD2.ptvLay-listings .ptvD2Main .ptvScreen{grid-area:tv;aspect-ratio:4/3!important;max-height:52vh!important;border:10px solid #fffaf0;border-radius:2px!important;box-shadow:0 8px 22px #0005}
html body.ptvD2.ptvLay-listings .ptvD2Info{grid-area:info;background:transparent;border:0;padding:0;display:flex!important;flex-direction:column;align-items:stretch}
html body.ptvD2.ptvLay-listings .ptvD2Feat{grid-area:feat}
html body.ptvD2.ptvLay-listings .ptvD2More{grid-area:more}
html body.ptvD2.ptvLay-listings .ptvD2Info .ptvNowCard{grid-template-columns:1fr!important}
html body.ptvD2.ptvLay-listings .ptvD2Info .ptvNowLogo{display:none!important}
html body.ptvD2.ptvLay-listings .ptvD2Info .ptvNowCard .eyebrow{color:#9b2d20;font:800 13px Arial,sans-serif;letter-spacing:.2em}
html body.ptvD2.ptvLay-listings .ptvD2Info .ptvNowCard h3{font:700 30px Georgia,serif!important;color:#2a2118!important}
html body.ptvD2.ptvLay-listings .ptvD2Info .ptvNowCard p,html body.ptvD2.ptvLay-listings .ptvD2Info .ptvNowCard .fine{color:#3a2e20!important;font-family:Georgia,serif;white-space:normal!important;font-size:16px}
html body.ptvD2.ptvLay-listings .ptvD2Info .ptvKnobs{justify-content:flex-start!important}
html body.ptvD2.ptvLay-listings .ptvD2Info .ptvKnobs button,html body.ptvD2.ptvLay-listings .ptvD2Info .ptvChNum,html body.ptvD2.ptvLay-listings .ptvTFOpen{background:#fffaf0!important;color:#2a2118!important;border:1px solid #2a2118!important;border-radius:2px!important}
html body.ptvD2.ptvLay-listings #ptvGClock{color:#5a4a35!important}
html body.ptvD2.ptvLay-listings .ptvD2Guide{background:transparent;border:0;border-top:4px double #2a2118;border-radius:0}
html body.ptvD2.ptvLay-listings .ptvD2GuideTop{background:transparent;border:0;padding:10px 0}
html body.ptvD2.ptvLay-listings .ptvD2GuideTop b{font:900 22px Georgia,serif;color:#2a2118;letter-spacing:.04em}
html body.ptvD2.ptvLay-listings .ptvD2GuideTop b::after{content:" · Today's Listings";font-weight:400;font-style:italic}
html body.ptvD2.ptvLay-listings .ptvD2Full{display:none}
html body.ptvD2.ptvLay-listings #ptvLive .ptvGuide{background:transparent!important;border:0!important}
html body.ptvD2.ptvLay-listings #ptvLive .ptvGTabs{background:transparent!important}
html body.ptvD2.ptvLay-listings #ptvLive .ptvGTabs button{background:#fffaf0!important;color:#2a2118!important;border:1px solid #2a2118!important;border-radius:2px!important}
html body.ptvD2.ptvLay-listings #ptvLive .ptvGTabs button.on{background:#2a2118!important;color:#fffaf0!important}
html body.ptvD2.ptvLay-listings #ptvLive #ptvGRows{display:grid!important;grid-template-columns:1fr 1fr;column-gap:34px}
html body.ptvD2.ptvLay-listings #ptvLive .ptvGRow{background:transparent!important;border-bottom:1px dotted #8a7a5a!important}
html body.ptvD2.ptvLay-listings #ptvLive .ptvGRow.on{background:#f8e7b8!important;outline:0!important}
html body.ptvD2.ptvLay-listings #ptvLive .ptvGCh .ptvGLogo{display:none}
html body.ptvD2.ptvLay-listings #ptvLive .ptvLayNum{display:block;font:900 22px Georgia,serif;color:#9b2d20;min-width:40px}
html body.ptvD2.ptvLay-listings #ptvLive .ptvGName{font:700 17px Georgia,serif!important;color:#2a2118!important}
html body.ptvD2.ptvLay-listings #ptvLive .ptvGName em{color:#6a5a40!important;font-style:italic}
html body.ptvD2.ptvLay-listings #ptvLive .ptvGMobNow{color:#2a2118!important;font-family:Georgia,serif}
html body.ptvD2.ptvLay-listings #ptvLive .ptvGMobNext{display:block!important;color:#5a4a35!important;font:italic 13px Georgia,serif}
html body.ptvD2.ptvLay-listings #ptvLive .ptvBar{display:none!important}
html body.ptvD2.ptvLay-listings #ptvLive .ptvFavorite{color:#9b2d20!important}

/* ===================== 7. MOVIE PALACE: velvet curtains, a light-bulb marquee, Coming Attractions ===================== */
html body.ptvD2.ptvLay-palace #ptvLive{background:radial-gradient(ellipse at 50% 20%,#3a0b10 0%,#1a0507 60%,#0a0203 100%)!important;--g-gold:#f2c14e;--g-line:#5a1a1f;--g-navy:#1a0507;--g-deep:#120304}
html body.ptvD2.ptvLay-palace .ptvD2Main{position:relative;padding:0 9%;background:
  repeating-linear-gradient(90deg,#6d0f18 0 14px,#9c1b26 14px 26px,#5a0b13 26px 40px) left/9% 100% no-repeat,
  repeating-linear-gradient(90deg,#6d0f18 0 14px,#9c1b26 14px 26px,#5a0b13 26px 40px) right/9% 100% no-repeat}
html body.ptvD2.ptvLay-palace .ptvLayMarquee{display:block;margin:4px auto 2px;max-width:900px;width:100%;text-align:center;background:#1a0f05;color:#fff4d1;border:3px solid #f2c14e;border-radius:10px;padding:12px 18px 14px;box-shadow:0 0 0 6px #1a0f05,0 0 0 9px #f2c14e,0 0 30px #f2c14e66;position:relative}
html body.ptvD2.ptvLay-palace .ptvLayMarquee::before,html body.ptvD2.ptvLay-palace .ptvLayMarquee::after{content:"";position:absolute;left:10px;right:10px;height:8px;background:radial-gradient(circle,#ffe9a8 0 2.5px,transparent 3px) 0 0/18px 8px repeat-x;filter:drop-shadow(0 0 3px #ffd56a)}
html body.ptvD2.ptvLay-palace .ptvLayMarquee::before{top:3px}
html body.ptvD2.ptvLay-palace .ptvLayMarquee::after{bottom:3px}
html body.ptvD2.ptvLay-palace .ptvLayMarquee small{display:block;font:800 12px Arial,sans-serif;letter-spacing:.35em;color:#f2c14e}
html body.ptvD2.ptvLay-palace .ptvLayMarquee b{display:block;font:400 34px Georgia,'Times New Roman',serif;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.ptvD2.ptvLay-palace .ptvD2Main .ptvScreen{aspect-ratio:16/9!important;max-height:60vh!important;border:6px solid #2a1206;box-shadow:0 0 0 2px #f2c14e,0 20px 40px #000}
html body.ptvD2.ptvLay-palace .ptvD2Info{background:#1a0507;border:1px solid #5a1a1f}
html body.ptvD2.ptvLay-palace .ptvD2Info .ptvKnobs button,html body.ptvD2.ptvLay-palace .ptvD2Info .ptvChNum{background:#2a0a0d!important;color:#f2c14e!important;border:1px solid #f2c14e!important}
html body.ptvD2.ptvLay-palace .ptvD2Guide{background:#0d0d0d;border:8px solid #2a1a0a;border-radius:6px;box-shadow:inset 0 0 0 2px #f2c14e}
html body.ptvD2.ptvLay-palace .ptvD2GuideTop{background:#0d0d0d;justify-content:center}
html body.ptvD2.ptvLay-palace .ptvD2GuideTop b{font-size:0}
html body.ptvD2.ptvLay-palace .ptvD2GuideTop b::after{content:"★ COMING ATTRACTIONS ★";font:800 20px Arial,sans-serif;letter-spacing:.3em;color:#f2c14e}
html body.ptvD2.ptvLay-palace .ptvD2Full{display:none}
html body.ptvD2.ptvLay-palace #ptvLive .ptvGuide{background:repeating-linear-gradient(180deg,#141414 0 36px,#0b0b0b 36px 38px)!important;border:0!important}
html body.ptvD2.ptvLay-palace #ptvLive .ptvGTabs{background:#0d0d0d!important}
html body.ptvD2.ptvLay-palace #ptvLive #ptvGRows{display:grid!important;grid-template-columns:1fr 1fr;column-gap:20px}
html body.ptvD2.ptvLay-palace #ptvLive .ptvGRow{background:transparent!important;border-bottom:1px solid #222!important}
html body.ptvD2.ptvLay-palace #ptvLive .ptvGRow.on{background:#2a2410!important;outline:1px solid #f2c14e!important}
html body.ptvD2.ptvLay-palace #ptvLive .ptvGCh .ptvGLogo{display:none}
html body.ptvD2.ptvLay-palace #ptvLive .ptvLayNum{display:block;font:800 20px Arial,sans-serif;color:#f2c14e;min-width:40px}
html body.ptvD2.ptvLay-palace #ptvLive :is(.ptvGName,.ptvGMobNow){font-family:Arial,Helvetica,sans-serif!important;text-transform:uppercase;letter-spacing:.06em;color:#f4f4f4!important}
html body.ptvD2.ptvLay-palace #ptvLive .ptvGName{font-weight:800!important}
html body.ptvD2.ptvLay-palace #ptvLive .ptvGName em{color:#aaa!important;text-transform:uppercase}
html body.ptvD2.ptvLay-palace #ptvLive .ptvBar i{background:#f2c14e!important}

/* Nov 20 adjustments (Cheryl: "hard to see player and menu, there is a gap") */
/* no lonely clock row between the TV and the guide in the new layouts */
html body.ptvD2[class*="ptvLay-"] #ptvGClock{display:none!important}
html body.ptvD2[class*="ptvLay-"] .ptvD2Feat{min-height:0;margin:0}
html body.ptvD2[class*="ptvLay-"] .ptvD2Main{gap:10px}
/* the Features panel when it opens full width under the TV and info box */
html body.ptvD2 .ptvD2More>#ptvFeatPanel{grid-column:1 / -1;margin-top:0}
html body.ptvD2.ptvLay-listings .ptvD2More>#ptvFeatPanel{background:#fffaf0;border-color:#2a2118}
html body.ptvD2.ptvLay-listings .ptvD2More>#ptvFeatPanel h4{color:#9b2d20}
html body.ptvD2.ptvLay-listings .ptvD2More>#ptvFeatPanel button{background:#fffaf0;color:#2a2118;border-color:#2a2118}
html body.ptvD2.ptvLay-cable .ptvD2More>#ptvFeatPanel{background:#13208a;border-color:#f08a24}
/* Theater: a little smaller picture so the buttons and the top of the guide show without scrolling */
html body.ptvD2.ptvLay-theater .ptvD2Main .ptvScreen{max-height:58vh!important}
html body.ptvD2:is(.ptvLay-theater,.ptvLay-guide,.ptvLay-cable,.ptvLay-cableguide) #ptvLive .ptvGuide{max-height:78vh!important}
/* Lean Back: picture, buttons and the row of channel pictures all fit on one screen */
html body.ptvD2.ptvLay-lean .ptvD2Main .ptvScreen{height:calc(100dvh - 345px)!important;min-height:300px}
html body.ptvD2.ptvLay-lean .ptvD2Info{grid-template-columns:minmax(0,1fr) auto!important;gap:4px 14px}
html body.ptvD2.ptvLay-lean .ptvD2Info .ptvNowCard .ptvTFOpen{display:none!important}
html body.ptvD2.ptvLay-lean .ptvD2Info .ptvNowCard h3{font-size:18px!important}
html body.ptvD2.ptvLay-lean #ptvLive .ptvGRow{flex-basis:150px}
html body.ptvD2.ptvLay-lean #ptvLive .ptvGCh .ptvGLogo{width:134px!important;height:84px!important}
html body.ptvD2.ptvLay-lean .ptvD2Guide #ptvLive .ptvGTabs,html body.ptvD2.ptvLay-lean #ptvLive .ptvGTabs{padding:4px 0}
/* Program Guide: the picture fills its box better */
html body.ptvD2.ptvLay-guide .ptvD2Main .ptvScreen{aspect-ratio:4/3!important;max-height:60vh!important}

/* Nov 20 adjustments (Cheryl: "hard to see player and menu, there is a gap") */
html body.ptvD2[class*="ptvLay-"] #ptvGClock{display:none!important}
html body.ptvD2[class*="ptvLay-"] .ptvD2Feat{min-height:0;margin:0}
html body.ptvD2[class*="ptvLay-"] .ptvD2Main{gap:10px}
html body.ptvD2 .ptvD2More>#ptvFeatPanel{grid-column:1 / -1;margin-top:0}
html body.ptvD2.ptvLay-listings .ptvD2More>#ptvFeatPanel{background:#fffaf0;border-color:#2a2118}
html body.ptvD2.ptvLay-listings .ptvD2More>#ptvFeatPanel h4{color:#9b2d20}
html body.ptvD2.ptvLay-listings .ptvD2More>#ptvFeatPanel button{background:#fffaf0;color:#2a2118;border-color:#2a2118}
html body.ptvD2.ptvLay-cable .ptvD2More>#ptvFeatPanel{background:#13208a;border-color:#f08a24}
/* Theater: a little smaller picture so the buttons and the top of the guide show */
html body.ptvD2.ptvLay-theater .ptvD2Main .ptvScreen{max-height:58vh!important}
html body.ptvD2:is(.ptvLay-theater,.ptvLay-guide,.ptvLay-cable,.ptvLay-cableguide) #ptvLive .ptvGuide{max-height:78vh!important}
/* Lean Back: picture, buttons and the row of channel pictures fit on one screen */
html body.ptvD2.ptvLay-lean .ptvD2Main .ptvScreen{height:calc(100dvh - 345px)!important;min-height:300px}
html body.ptvD2.ptvLay-lean .ptvD2Info .ptvNowCard .ptvTFOpen{display:none!important}
html body.ptvD2.ptvLay-lean .ptvD2Info .ptvNowCard h3{font-size:18px!important}
html body.ptvD2.ptvLay-lean #ptvLive .ptvGRow{flex-basis:150px}
html body.ptvD2.ptvLay-lean #ptvLive .ptvGCh .ptvGLogo{width:134px!important;height:84px!important}
/* Program Guide: bigger picture, slimmer info box with smaller buttons */
html body.ptvD2.ptvLay-guide .ptvD2Main{grid-template-columns:minmax(250px,25%) minmax(0,1fr)!important}
html body.ptvD2.ptvLay-guide .ptvD2Main .ptvScreen{aspect-ratio:16/9!important;max-height:72vh!important}
html body.ptvD2.ptvLay-guide .ptvD2Info{padding:12px!important;justify-content:flex-start!important}
html body.ptvD2.ptvLay-guide .ptvD2Info .ptvNowCard h3{font-size:22px!important}
html body.ptvD2.ptvLay-guide .ptvD2Info .ptvNowCard .fine{font-size:13px!important}
html body.ptvD2.ptvLay-guide .ptvD2Info .ptvKnobs{gap:5px!important}
html body.ptvD2.ptvLay-guide .ptvD2Info .ptvKnobs>button,html body.ptvD2.ptvLay-guide .ptvD2Info .ptvChNum{padding:6px 9px!important;font-size:13px!important}
html body.ptvD2.ptvLay-guide .ptvD2Info .ptvTFOpen{padding:6px 10px!important;font-size:13px!important}
/* Cable Box and Listings: same smaller buttons beside the picture */
html body.ptvD2:is(.ptvLay-cable,.ptvLay-listings) .ptvD2Info .ptvKnobs>button,html body.ptvD2:is(.ptvLay-cable,.ptvLay-listings) .ptvD2Info .ptvChNum{padding:7px 10px!important;font-size:13.5px!important}

/* Picture button row (Cable Box only for now). Over the bottom of the picture, see-through; under it when YouTube plays. */
.ptvLayBar{display:none}
html body.ptvD2 .ptvLayBar{grid-area:bar;display:flex;justify-content:flex-end;gap:8px;padding-right:16px;position:relative;z-index:5;margin-top:-52px;height:42px;align-items:center;pointer-events:none}
html body.ptvD2 .ptvLayBar button{pointer-events:auto;width:38px;height:32px;padding:0;border-radius:8px;border:1px solid rgba(255,255,255,.35);background:rgba(0,0,0,.35);color:#fff;font:800 16px Arial,sans-serif;opacity:.55;transition:opacity .2s}
html body.ptvD2 .ptvLayBar button:hover,html body.ptvD2 .ptvLayBar button:focus-visible{opacity:1;background:rgba(0,0,0,.6)}
html body.ptvD2 .ptvD2Main:has(.ptvScreen.ptvYtOn) .ptvLayBar{margin-top:4px;height:36px}
html body.ptvD2 .ptvD2Main:has(.ptvScreen.ptvYtOn) .ptvLayBar button{opacity:.85;background:#13208a;border-color:#6f86ff}

/* Nov 20 evening (Cheryl): "make feature sections smaller, move the guides up, make the players bigger", in every layout.
   The picture's see-through button row does channel, sound, Features and full screen, so the info box only keeps
   what's on, Tonight's Feature and the Features button. */
html body.ptvD2 .ptvKnobs > :is(#ptvChDown,#ptvChUp,#ptvMute,#ptvFull,.ptvChNum){display:none!important}
html body.ptvD2 .ptvD2Info{padding-top:10px!important;padding-bottom:10px!important}
html body.ptvD2 .ptvD2Info .ptvNowCard p{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;margin:2px 0!important}
html body.ptvD2 .ptvD2Info .ptvKnobs{padding-top:6px!important;margin-top:6px!important;gap:6px!important}
html body.ptvD2 .ptvD2Main{gap:8px!important}
html body.ptvD2 .ptvD2{gap:8px!important}
html body.ptvD2.ptvLay-theater .ptvD2Main .ptvScreen{max-height:70vh!important}
html body.ptvD2.ptvLay-palace .ptvD2Main .ptvScreen{max-height:66vh!important}
html body.ptvD2.ptvLay-lean .ptvD2Main .ptvScreen{height:calc(100dvh - 250px)!important;min-height:360px}
html body.ptvD2.ptvLay-listings .ptvD2Main{grid-template-columns:minmax(0,1fr) minmax(0,56%)!important}
html body.ptvD2.ptvLay-listings .ptvD2Main .ptvScreen{max-height:62vh!important}
html body.ptvD2.ptvLay-guide .ptvD2Main .ptvScreen{max-height:66vh!important}
/* Wide info bars (Classic, Console, Theater, Lean Back, Movie Palace): one short row, what's on at the left,
   Tonight's Feature and Features at the right. */
html body.ptvD2:not(.ptvLay-cable,.ptvLay-guide,.ptvLay-listings,.ptvLay-scroll) .ptvD2Info{display:flex!important;flex-wrap:wrap;align-items:center;column-gap:14px;row-gap:6px}
html body.ptvD2:not(.ptvLay-cable,.ptvLay-guide,.ptvLay-listings,.ptvLay-scroll) .ptvD2Info .ptvNowCard{flex:1 1 420px;display:block!important;min-width:0}
html body.ptvD2:not(.ptvLay-cable,.ptvLay-guide,.ptvLay-listings,.ptvLay-scroll) .ptvD2Info .ptvNowLogo{display:none!important}
html body.ptvD2:not(.ptvLay-cable,.ptvLay-guide,.ptvLay-listings,.ptvLay-scroll) .ptvD2Info .ptvNowCard .eyebrow{font-size:12px!important;padding:2px 8px!important;margin:0 0 2px!important}
html body.ptvD2:not(.ptvLay-cable,.ptvLay-guide,.ptvLay-listings,.ptvLay-scroll) .ptvD2Info .ptvNowCard h3{margin:0!important}
html body.ptvD2:not(.ptvLay-cable,.ptvLay-guide,.ptvLay-listings,.ptvLay-scroll) .ptvD2Info .ptvNowCard .ptvTFOpen{float:right;margin:-34px 0 0 12px!important;width:auto!important}
html body.ptvD2:not(.ptvLay-cable,.ptvLay-guide,.ptvLay-listings,.ptvLay-scroll) .ptvD2Info .ptvKnobs{flex:0 0 auto;border:0!important;margin:0!important;padding:0!important}
/* Program Guide and TV Listings: give the picture's button row its own spot under the picture. */
html body.ptvD2.ptvLay-guide .ptvD2Main{grid-template-areas:"info tv" "info bar" "more more"!important;row-gap:0!important;align-items:start!important}
html body.ptvD2.ptvLay-guide .ptvD2Info{align-self:stretch}
html body.ptvD2.ptvLay-guide .ptvD2Main .ptvScreen{max-height:74vh!important;width:100%}
html body.ptvD2.ptvLay-listings .ptvD2Main{grid-template-areas:"brand tv" "info tv" "info bar" "more more"!important;row-gap:0!important}
html body.ptvD2:is(.ptvLay-guide,.ptvLay-listings) .ptvD2Feat{display:none!important}
html body.ptvD2:is(.ptvLay-guide,.ptvLay-listings) .ptvD2More:not(:empty){margin-top:8px}

/* ===================== Nov 20 evening: four more layouts (Cheryl picked them) ===================== */
/* Shared: the full program guide grid under the TV (Drive-In, Saturday Morning, Scrolling Cable Guide) */
html body.ptvD2:is(.ptvLay-drivein,.ptvLay-saturday,.ptvLay-scroll) .ptvD2{display:flex!important;flex-direction:column;gap:8px}
html body.ptvD2:is(.ptvLay-drivein,.ptvLay-saturday,.ptvLay-scroll) .ptvD2Main{order:1;width:100%}
html body.ptvD2:is(.ptvLay-drivein,.ptvLay-saturday,.ptvLay-scroll) .ptvD2Guide{order:2;position:static!important;width:100%}
html body.ptvD2:is(.ptvLay-drivein,.ptvLay-saturday,.ptvLay-scroll) .ptvD2Full{display:none}
html body.ptvD2:is(.ptvLay-drivein,.ptvLay-saturday,.ptvLay-scroll) #ptvLive .ptvGuide{overflow:auto!important;max-height:62vh!important}
html body.ptvD2:is(.ptvLay-drivein,.ptvLay-saturday,.ptvLay-scroll) #ptvLive .ptvGHead{display:grid!important}
html body.ptvD2:is(.ptvLay-drivein,.ptvLay-saturday,.ptvLay-scroll) #ptvLive .ptvGProg{display:block!important}
html body.ptvD2:is(.ptvLay-drivein,.ptvLay-saturday,.ptvLay-scroll) #ptvLive :is(.ptvGHead,.ptvGRow){grid-template-columns:260px repeat(120,minmax(4px,1fr))!important;min-width:900px!important}
html body.ptvD2:is(.ptvLay-drivein,.ptvLay-saturday,.ptvLay-scroll) #ptvLive .ptvGMob{display:none!important}

/* ---- 9. DRIVE-IN: the picture is an outdoor movie screen under the stars; the guide is the snack bar menu board ---- */
html body.ptvD2.ptvLay-drivein #ptvLive{background:
  radial-gradient(1.5px 1.5px at 12% 18%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 27% 8%,#fff 50%,transparent 51%),
  radial-gradient(1.5px 1.5px at 44% 22%,#fffbe0 50%,transparent 51%),radial-gradient(1px 1px at 63% 6%,#fff 50%,transparent 51%),
  radial-gradient(2px 2px at 81% 15%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 92% 28%,#fff 50%,transparent 51%),
  radial-gradient(1px 1px at 6% 40%,#fff 50%,transparent 51%),radial-gradient(1.5px 1.5px at 96% 48%,#fff 50%,transparent 51%),
  radial-gradient(1px 1px at 52% 3%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 35% 33%,#fff 50%,transparent 51%),
  linear-gradient(180deg,#040818 0%,#0b1640 45%,#141b2e 70%,#0d140c 100%)!important;--g-gold:#ffd84d;--g-navy:#2b1d14;--g-deep:#1f150e;--g-line:#5a3b22;--g-dim:#ffe9b0}
html body.ptvD2.ptvLay-drivein .ptvD2Main{padding:18px 4% 6px}
html body.ptvD2.ptvLay-drivein .ptvD2Main .ptvScreen{aspect-ratio:16/9!important;max-height:64vh!important;margin:0 auto;border:12px solid #d8d6cc;border-bottom-width:18px;border-radius:2px!important;box-shadow:0 0 70px #fff3,0 0 0 2px #8f8d84,0 26px 0 -8px #3a3a36}
html body.ptvD2.ptvLay-drivein .ptvLayBar{margin-top:-58px}
html body.ptvD2.ptvLay-drivein .ptvD2Info{margin-top:18px;background:#1a0f0a;border:3px solid #ff3b3b;border-radius:10px;box-shadow:0 0 14px #ff3b3b88,inset 0 0 12px #ff3b3b44}
html body.ptvD2.ptvLay-drivein .ptvD2Info .ptvNowCard .eyebrow{color:#ff6b6b!important;text-shadow:0 0 8px #ff3b3b;letter-spacing:.14em}
html body.ptvD2.ptvLay-drivein .ptvD2Info .ptvNowCard h3{color:#ffd84d!important;text-shadow:0 0 10px #ffb80088;font:900 24px 'Arial Black',Arial,sans-serif!important}
html body.ptvD2.ptvLay-drivein .ptvD2Info .ptvNowCard p,html body.ptvD2.ptvLay-drivein .ptvD2Info .ptvNowCard .fine{color:#ffe9b0!important}
html body.ptvD2.ptvLay-drivein .ptvD2Info button{background:#ff3b3b!important;color:#fff!important;border:0!important;border-radius:6px!important;font-weight:800}
html body.ptvD2.ptvLay-drivein .ptvD2Guide{background:linear-gradient(180deg,#3a2718,#2b1d14);border:6px solid #5a3b22;border-radius:6px;box-shadow:0 10px 30px #000a}
html body.ptvD2.ptvLay-drivein .ptvD2GuideTop{background:#1a0f0a;color:#ffd84d}
html body.ptvD2.ptvLay-drivein .ptvD2GuideTop b{font:900 18px 'Arial Black',Arial,sans-serif;letter-spacing:.06em;color:#ffd84d;text-shadow:0 0 8px #ffb80088}
html body.ptvD2.ptvLay-drivein .ptvD2GuideTop b::after{content:"  ·  Snack Bar Menu of Shows";font:700 12px Arial,sans-serif;color:#ff6b6b;letter-spacing:.1em}
html body.ptvD2.ptvLay-drivein #ptvLive .ptvGHead{background:#1a0f0a!important;color:#ff6b6b!important}
html body.ptvD2.ptvLay-drivein #ptvLive .ptvGRow{background:transparent!important;border-bottom:1px dashed #6b4a2e!important}
html body.ptvD2.ptvLay-drivein #ptvLive .ptvGName{color:#ffe9b0!important;font-weight:800}
html body.ptvD2.ptvLay-drivein #ptvLive .ptvGProg{color:#ffe9b0!important}
html body.ptvD2.ptvLay-drivein #ptvLive .ptvGRow.on{background:#4a3018!important;outline:2px solid #ffd84d!important}
html body.ptvD2.ptvLay-drivein #ptvLive .ptvGTabs{background:#1a0f0a}
html body.ptvD2.ptvLay-drivein #ptvLive .ptvGTabs button.on{background:#ff3b3b!important;color:#fff!important}

/* ---- 10. SATURDAY MORNING: bright cartoon colors, big round buttons, a cereal-box guide ---- */
html body.ptvD2.ptvLay-saturday #ptvLive{background:radial-gradient(circle,#ffe680 22%,transparent 24%) 0 0/34px 34px,#ffcf2e!important;--g-gold:#ff4f4f;--g-navy:#ffffff;--g-deep:#ffffff;--g-line:#2b59c3;--g-dim:#2b3a67;color:#1d2a55}
html body.ptvD2.ptvLay-saturday .ptvD2Main .ptvScreen{aspect-ratio:16/9!important;max-height:64vh!important;border:10px solid #ff4f4f;border-radius:24px!important;box-shadow:10px 10px 0 #2b59c3}
html body.ptvD2.ptvLay-saturday .ptvD2Info{margin-top:10px;background:#fff;border:4px solid #2b59c3;border-radius:22px;box-shadow:6px 6px 0 #ff4f4f}
html body.ptvD2.ptvLay-saturday .ptvD2Info .ptvNowCard .eyebrow{color:#2b59c3!important;font:900 13px 'Trebuchet MS',Arial,sans-serif!important;letter-spacing:.08em}
html body.ptvD2.ptvLay-saturday .ptvD2Info .ptvNowCard h3{color:#ff4f4f!important;font:900 26px 'Trebuchet MS',Arial,sans-serif!important}
html body.ptvD2.ptvLay-saturday .ptvD2Info .ptvNowCard p,html body.ptvD2.ptvLay-saturday .ptvD2Info .ptvNowCard .fine{color:#1d2a55!important}
html body.ptvD2.ptvLay-saturday .ptvD2Info button{background:#7ed957!important;color:#1d2a55!important;border:3px solid #1d2a55!important;border-radius:999px!important;font:900 15px 'Trebuchet MS',Arial,sans-serif!important;box-shadow:0 4px 0 #1d2a55}
html body.ptvD2.ptvLay-saturday .ptvLayBar button{border-radius:999px!important;width:40px;height:40px;background:#ffffffcc!important;color:#ff4f4f!important;border:3px solid #2b59c3!important;opacity:.75}
html body.ptvD2.ptvLay-saturday .ptvD2Guide{background:#fff;border:5px solid #2b59c3;border-radius:24px;box-shadow:8px 8px 0 #ff4f4f;overflow:hidden}
html body.ptvD2.ptvLay-saturday .ptvD2GuideTop{background:#ff4f4f;color:#fff}
html body.ptvD2.ptvLay-saturday .ptvD2GuideTop b{font:900 20px 'Trebuchet MS',Arial,sans-serif;color:#fff}
html body.ptvD2.ptvLay-saturday .ptvD2GuideTop b::after{content:"  ★ Saturday Morning Line-Up ★";font:900 13px 'Trebuchet MS',Arial,sans-serif;color:#ffe680}
html body.ptvD2.ptvLay-saturday #ptvLive .ptvGHead{background:#2b59c3!important;color:#fff!important}
html body.ptvD2.ptvLay-saturday #ptvLive .ptvGRow{background:#fff!important;border-bottom:3px solid #ffe680!important}
html body.ptvD2.ptvLay-saturday #ptvLive .ptvGRow:nth-child(even){background:#eaf4ff!important}
html body.ptvD2.ptvLay-saturday #ptvLive :is(.ptvGName,.ptvGProg,.ptvGTitle){color:#1d2a55!important;font-family:'Trebuchet MS',Arial,sans-serif!important;font-weight:800}
html body.ptvD2.ptvLay-saturday #ptvLive .ptvGName em{color:#2b59c3!important}
html body.ptvD2.ptvLay-saturday #ptvLive .ptvGRow.on,html body.ptvD2.ptvLay-saturday #ptvLive .ptvGRow.on .ptvGCh{background:#7ed957!important;outline:0!important}
html body.ptvD2.ptvLay-saturday #ptvLive .ptvGTabs{background:#fff}
html body.ptvD2.ptvLay-saturday #ptvLive .ptvGTabs button{border-radius:999px!important;border:2px solid #2b59c3!important;background:#fff!important;color:#2b59c3!important;font-weight:900}
html body.ptvD2.ptvLay-saturday #ptvLive .ptvGTabs button.on{background:#ff4f4f!important;color:#fff!important;border-color:#ff4f4f!important}

/* ---- 11. SCROLLING CABLE GUIDE: the 1980s listings channel. Black, neon, picture on the left, the guide rolls by underneath ---- */
html body.ptvD2.ptvLay-scroll #ptvLive{background:#050508!important;--g-gold:#ffe14d;--g-navy:#0d1b3a;--g-deep:#07070c;--g-line:#ff2fb3;--g-dim:#b7f6ff;font-family:'Courier New',Courier,monospace}
html body.ptvD2.ptvLay-scroll .ptvD2Main{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,30%);grid-template-areas:"tv info" "bar info" "more more";gap:0 14px;align-items:start}
html body.ptvD2.ptvLay-scroll .ptvD2Main .ptvScreen{grid-area:tv;aspect-ratio:16/9!important;max-height:58vh!important;width:100%;border:3px solid #00e5ff;border-radius:0!important;box-shadow:0 0 18px #00e5ff88}
html body.ptvD2.ptvLay-scroll .ptvD2Info{grid-area:info;align-self:stretch;display:flex!important;flex-direction:column;gap:10px;background:linear-gradient(180deg,#2a0b4a,#12051f);border:3px solid #ff2fb3;border-radius:0;box-shadow:0 0 18px #ff2fb366;padding:14px!important}
html body.ptvD2.ptvLay-scroll .ptvD2Info::before{content:"NOW PLAYING";display:block;font:900 20px 'Courier New',monospace;color:#ffe14d;letter-spacing:.2em;text-shadow:0 0 8px #ffe14d88}
html body.ptvD2.ptvLay-scroll .ptvD2Info .ptvNowLogo{display:none!important}
html body.ptvD2.ptvLay-scroll .ptvD2Info .ptvNowCard{grid-template-columns:1fr!important}
html body.ptvD2.ptvLay-scroll .ptvD2Info .ptvNowCard .eyebrow{color:#00e5ff!important;font:700 13px 'Courier New',monospace!important;letter-spacing:.1em}
html body.ptvD2.ptvLay-scroll .ptvD2Info .ptvNowCard h3{color:#fff!important;font:900 22px 'Courier New',monospace!important;text-transform:uppercase}
html body.ptvD2.ptvLay-scroll .ptvD2Info .ptvNowCard p,html body.ptvD2.ptvLay-scroll .ptvD2Info .ptvNowCard .fine{color:#b7f6ff!important;font-family:'Courier New',monospace!important}
html body.ptvD2.ptvLay-scroll .ptvD2Info button{background:#000!important;color:#00e5ff!important;border:2px solid #00e5ff!important;border-radius:0!important;font:700 14px 'Courier New',monospace!important}
html body.ptvD2.ptvLay-scroll .ptvLayBar button{border-radius:0!important;border-color:#00e5ff!important;color:#00e5ff!important}
html body.ptvD2.ptvLay-scroll .ptvD2Feat{display:none!important}
html body.ptvD2.ptvLay-scroll .ptvD2More{grid-area:more}
html body.ptvD2.ptvLay-scroll .ptvD2Guide{background:#07070c;border:3px solid #ff2fb3;border-radius:0}
html body.ptvD2.ptvLay-scroll .ptvD2GuideTop{background:#ff2fb3;color:#000}
html body.ptvD2.ptvLay-scroll .ptvD2GuideTop b{font:900 18px 'Courier New',monospace;color:#000;letter-spacing:.14em}
html body.ptvD2.ptvLay-scroll .ptvD2GuideTop b::after{content:"  ▼ ROLLING LISTINGS ▼  (point here to stop)";font:700 12px 'Courier New',monospace;letter-spacing:.06em}
html body.ptvD2.ptvLay-scroll #ptvLive .ptvGuide{max-height:46vh!important;scrollbar-width:none}
html body.ptvD2.ptvLay-scroll #ptvLive .ptvGHead{background:#000!important;color:#ffe14d!important;font-family:'Courier New',monospace!important}
html body.ptvD2.ptvLay-scroll #ptvLive .ptvGRow{background:#0d1b3a!important;border-bottom:2px solid #000!important}
html body.ptvD2.ptvLay-scroll #ptvLive .ptvGRow:nth-child(even){background:#3b1460!important}
html body.ptvD2.ptvLay-scroll #ptvLive .ptvGCh{background:transparent!important;border-right:2px solid #000!important}
html body.ptvD2.ptvLay-scroll #ptvLive .ptvGCh .ptvGLogo{display:none}
html body.ptvD2.ptvLay-scroll #ptvLive .ptvLayNum{display:block;font:900 24px 'Courier New',monospace;color:#ffe14d;min-width:46px}
html body.ptvD2.ptvLay-scroll #ptvLive :is(.ptvGName,.ptvGProg,.ptvGTitle){color:#fff!important;font-family:'Courier New',monospace!important;font-weight:700;text-transform:uppercase}
html body.ptvD2.ptvLay-scroll #ptvLive .ptvGName em{color:#00e5ff!important}
html body.ptvD2.ptvLay-scroll #ptvLive .ptvGProg{border-right:2px solid #000!important}
html body.ptvD2.ptvLay-scroll #ptvLive .ptvGRow.on,html body.ptvD2.ptvLay-scroll #ptvLive .ptvGRow.on .ptvGCh{background:#00e5ff!important;outline:0!important}
html body.ptvD2.ptvLay-scroll #ptvLive .ptvGRow.on :is(.ptvGName,.ptvGName em,.ptvGProg,.ptvGTitle,.ptvLayNum){color:#000!important}
html body.ptvD2.ptvLay-scroll #ptvLive .ptvGTabs{background:#000}
html body.ptvD2.ptvLay-scroll #ptvLive .ptvGTabs button{border-radius:0!important;font-family:'Courier New',monospace!important;font-weight:700}
html body.ptvD2.ptvLay-scroll #ptvLive .ptvGTabs button.on{background:#ffe14d!important;color:#000!important}

/* ---- 12. JUST THE TV: the picture fills the window. Move the mouse or press a key and the guide slides in beside it
        (never over it), then hides again. ---- */
html body.ptvD2.ptvLay-justtv #ptvLive{background:#000!important;padding-top:4px!important}
html body.ptvD2.ptvLay-justtv .ptvD2{display:grid!important;grid-template-columns:minmax(0,1fr) 0px;gap:0!important;transition:grid-template-columns .35s ease}
html body.ptvD2.ptvLay-justtv.ptvJtShow .ptvD2{grid-template-columns:minmax(0,1fr) minmax(300px,24%);gap:10px!important}
html body.ptvD2.ptvLay-justtv .ptvD2Main{order:1;min-width:0}
html body.ptvD2.ptvLay-justtv .ptvD2Guide{order:2;overflow:hidden;opacity:0;transition:opacity .3s;position:sticky!important;top:0;max-height:calc(100dvh - 120px)}
html body.ptvD2.ptvLay-justtv.ptvJtShow .ptvD2Guide{opacity:1}
html body.ptvD2.ptvLay-justtv #ptvLive .ptvGuide{max-height:calc(100dvh - 220px)!important;overflow:auto!important}
html body.ptvD2.ptvLay-justtv .ptvD2Main .ptvScreen{aspect-ratio:auto!important;height:calc(100dvh - 170px)!important;max-height:none!important;min-height:340px;width:100%;border:0!important;border-radius:0!important;background:#000}
html body.ptvD2.ptvLay-justtv .ptvD2Main .ptvScreen video{object-fit:contain}
html body.ptvD2.ptvLay-justtv .ptvD2Info{max-height:0;overflow:hidden;opacity:0;padding:0!important;border:0!important;transition:opacity .3s,max-height .3s;background:#0b0b0b}
html body.ptvD2.ptvLay-justtv.ptvJtShow .ptvD2Info{max-height:160px;opacity:1;padding:8px 14px!important;overflow:visible}
html body.ptvD2.ptvLay-justtv .ptvLayBar{opacity:0;transition:opacity .3s}
html body.ptvD2.ptvLay-justtv.ptvJtShow .ptvLayBar,html body.ptvD2.ptvLay-justtv .ptvD2Main:has(.ptvScreen.ptvYtOn) .ptvLayBar{opacity:1}
html body.ptvD2.ptvLay-justtv .ptvD2Main:has(.ptvScreen.ptvYtOn) .ptvScreen{height:calc(100dvh - 216px)!important}

/* ---- Guide pop-up button (Nov 21). Shown on layouts that put the guide under the picture. ---- */
html body.ptvD2 .ptvLayBar .ptvLayGuideBtn{display:none;width:auto!important;padding:0 12px!important;font-size:14px!important}
html body.ptvD2:is(.ptvLay-theater,.ptvLay-guide,.ptvLay-cable,.ptvLay-lean,.ptvLay-listings,.ptvLay-palace,.ptvLay-drivein,.ptvLay-saturday,.ptvLay-scroll) .ptvLayBar .ptvLayGuideBtn{display:inline-block}
html body.ptvD2.ptvGuidePop .ptvD2Guide{position:fixed!important;right:2vw;bottom:9vh;top:auto!important;left:auto!important;width:min(48vw,980px)!important;max-height:68vh;overflow:auto!important;z-index:9000;box-shadow:0 20px 60px #000c;border-radius:12px;opacity:.97;margin:0!important;order:0!important}
html body.ptvD2.ptvGuidePop #ptvLive .ptvGuide{max-height:calc(68vh - 120px)!important;overflow:auto!important}
html body.ptvD2.ptvGuidePop .ptvLayBar .ptvLayGuideBtn{opacity:1!important;background:#d4af37!important;color:#111!important}
html body.ptvD2.ptvGuidePop.ptvLay-lean #ptvLive #ptvGRows{flex-wrap:wrap!important;overflow:visible!important}
html body.ptvD2.ptvGuidePop.ptvGuidePopLeft .ptvD2Guide{right:auto!important;left:2vw!important}

/* Big Cable Guide uses the Program Guide frame (Nov 26) */
html body.ptvD2.ptvLay-cableguide .ptvD2Main{display:grid!important;grid-template-columns:minmax(300px,36%) minmax(0,1fr);grid-template-areas:"info tv" "feat feat" "more more";gap:14px 18px;align-items:stretch}
html body.ptvD2.ptvLay-cableguide .ptvD2Main .ptvScreen{grid-area:tv;aspect-ratio:16/9!important}
html body.ptvD2.ptvLay-cableguide .ptvD2Info{grid-area:info;display:flex!important;flex-direction:column}
html body.ptvD2.ptvLay-cableguide .ptvD2Feat{grid-area:feat}
html body.ptvD2.ptvLay-cableguide .ptvD2More{grid-area:more}
