/* Only the decorative left/right rail overlays. Do not touch thumbnail,
   hero, player-control, protected-card or hover-modal gradients. */
html[data-phtv-front-polish] :is(.slider-fade-l,.slider-fade-r,.sl-fade,.phtv-edge,.phtv-fade-l,.phtv-fade-r,.phtv-fade-left,.phtv-fade-right){display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
/* HQ: retain actual global header, title and menu. Shrink the logo before
   allowing it to overlap text. Stronger than the shared legacy logo rule. */
html[data-phtv-front-polish="hq"]:root:root:root:root:root:root body > nav.nav[data-phtv-header-v5] {box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding-inline:clamp(12px,2.5vw,32px)!important}
html[data-phtv-front-polish="hq"]:root:root:root:root:root:root body > nav.nav .brand {position:static!important;display:flex!important;align-items:center!important;flex:1 1 0!important;min-width:0!important;gap:10px!important;margin:0!important;flex-wrap:nowrap!important}
html[data-phtv-front-polish="hq"]:root:root:root:root:root:root body > nav.nav .phtv-mobile-brand {display:contents!important}
html[data-phtv-front-polish="hq"]:root:root:root:root:root:root body > nav.nav :is(.logo,.phtv-unified-logo) {position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;width:clamp(104px,35vw,245px)!important;min-width:0!important;max-width:245px!important;height:clamp(42px,8vw,86px)!important;flex:0 1 clamp(104px,35vw,245px)!important;margin:0!important;padding:0!important;transform:none!important}
html[data-phtv-front-polish="hq"]:root:root:root:root:root:root body > nav.nav :is(.logo,.phtv-unified-logo) img {position:static!important;display:block!important;width:100%!important;height:100%!important;min-width:0!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:left center!important;transform:none!important;margin:0!important;padding:0!important}
html[data-phtv-front-polish="hq"]:root:root:root:root:root:root body > nav.nav :is(.page-title,.page-title-wrap) {position:static!important;inset:auto!important;display:block!important;visibility:visible!important;opacity:1!important;transform:none!important;flex:1 1 0!important;min-width:0!important;width:auto!important;max-width:100%!important;height:auto!important;margin:0!important;padding:0!important;font-size:clamp(11px,2.5vw,16px)!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:normal!important;overflow:visible!important;text-align:left!important;letter-spacing:0!important}
html[data-phtv-front-polish="hq"]:root:root:root:root:root:root body > nav.nav :is(.page-title,.page-title-wrap) * {font-size:inherit!important;line-height:inherit!important;white-space:normal!important}
html[data-phtv-front-polish="hq"]:root:root:root:root:root:root body > nav.nav .nav-right {position:static!important;display:flex!important;align-items:center!important;flex:0 0 auto!important;gap:6px!important;margin:0!important}
@media(max-width:760px){
 html[data-phtv-front-polish="hq"]:root:root:root:root:root:root body > nav.nav .brand-sep{display:none!important}
 html[data-phtv-front-polish="hq"]:root:root:root:root:root:root body > nav.nav :is(.logo,.phtv-unified-logo){width:clamp(104px,35vw,160px)!important;max-width:160px!important;height:48px!important;flex-basis:clamp(104px,35vw,160px)!important}
}
@media(orientation:landscape) and (max-height:600px) and (max-width:1400px){
 html[data-phtv-front-polish="hq"]:root:root:root:root:root:root body > nav.nav :is(.logo,.phtv-unified-logo){max-width:160px!important;height:48px!important;flex-basis:160px!important}
 html[data-phtv-front-polish="hq"]:root:root:root:root:root:root body > nav.nav .brand-sep{display:none!important}
}
/* Actual live cards: let titles and metadata occupy their own footer,
   never position over the card artwork or alter expanded hover panels. */
html[data-phtv-front-polish] :is(#sec-live,#sec-hv-live,#sec-high-voltage-live,#row-live,#row-hv-live,#row-upcoming,#row-replays,#row-creators) .phtv-card-info{box-sizing:border-box!important;padding:10px 8px 6px!important;min-width:0!important;text-align:left!important}
html[data-phtv-front-polish] :is(#sec-live,#sec-hv-live,#sec-high-voltage-live,#row-live,#row-hv-live,#row-upcoming,#row-replays,#row-creators) .phtv-card-title-row{display:flex!important;align-items:flex-start!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:6px!important;min-width:0!important}
html[data-phtv-front-polish] :is(#sec-live,#sec-hv-live,#sec-high-voltage-live,#row-live,#row-hv-live,#row-upcoming,#row-replays,#row-creators) .phtv-card-title{flex:1 0 100%!important;min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.3!important}
html[data-phtv-front-polish] :is(#sec-live,#sec-hv-live,#sec-high-voltage-live,#row-live,#row-hv-live,#row-upcoming,#row-replays,#row-creators) :is(.phtv-card-meta,.phtv-card-epi-date){white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.4!important}
html[data-phtv-front-polish] :is(#sec-live,#sec-hv-live,#sec-high-voltage-live,#row-live,#row-hv-live,#row-upcoming,#row-replays,#row-creators) .phtv-card-actions{flex-wrap:wrap!important;max-width:100%!important;min-width:0!important;justify-content:flex-start!important}
html[data-phtv-front-polish="hv"] .lv-card{grid-template-columns:minmax(0,42%) minmax(0,1fr)!important;align-items:stretch!important}
html[data-phtv-front-polish="hv"] .lv-body{box-sizing:border-box!important;min-width:0!important;position:relative!important;inset:auto!important;padding:12px!important;justify-content:center!important;gap:6px!important;text-align:left!important}
html[data-phtv-front-polish="hv"] :is(.lv-title,.lv-meta,.lv-eye){min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.35!important}
html[data-phtv-front-polish="hv"] .hv-schedule-body{box-sizing:border-box!important;min-width:0!important;padding:14px!important;text-align:left!important;overflow-wrap:anywhere!important}
@media(max-width:600px){html[data-phtv-front-polish="hv"] .lv-card{width:min(100%,310px)!important;grid-template-columns:minmax(0,1fr)!important}html[data-phtv-front-polish="hv"] .lv-art{height:auto!important;aspect-ratio:16/9}}
/* Live shelves: actual content and neutral empty placeholders use the same card dimensions. */
html[data-phtv-front-polish="live"] .phtv-live-native-track{display:flex;overflow-x:auto;overflow-y:hidden;gap:14px;scroll-behavior:auto;align-items:stretch}
html[data-phtv-front-polish="live"] :is(.phtv-live-placeholder,.phtv-live-real-product,.phtv-live-real-creator){box-sizing:border-box;flex-shrink:0;display:flex;flex-direction:column;min-width:0;overflow:hidden;color:inherit;text-decoration:none}
html[data-phtv-front-polish="live"] .phtv-live-placeholder{cursor:default;pointer-events:none}
html[data-phtv-front-polish="live"] .phtv-live-empty-art{display:grid!important;place-items:center;background:linear-gradient(145deg,#101b2a,#080c12)!important;min-height:80px;aspect-ratio:16/9;overflow:hidden;border:1px solid #253345;border-radius:8px}
html[data-phtv-front-polish="live"] #plShelf .phtv-live-empty-art{aspect-ratio:1}
html[data-phtv-front-polish="live"] .phtv-live-empty-symbol{font-size:32px;color:#63758b;opacity:.75}
html[data-phtv-front-polish="live"] .phtv-live-placeholder :is(.so28-body,.phtv-card-info){padding:10px!important;display:flex;flex-direction:column;gap:5px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
html[data-phtv-front-polish="live"] :is(.phtv-live-empty-kicker,.phtv-live-empty-copy){font-size:11px;color:#aebaca}
html[data-phtv-front-polish="live"] .phtv-live-empty-kicker{text-transform:uppercase;letter-spacing:.06em;font-size:10px}
html[data-phtv-front-polish="live"] .phtv-live-real-product .so28-body{flex:1;display:flex;flex-direction:column;gap:5px;padding:10px;min-width:0}
html[data-phtv-front-polish="live"] .phtv-live-real-product :is(.so28-name,.so28-cat){white-space:normal;overflow-wrap:anywhere}
html[data-phtv-front-polish="live"] .phtv-live-real-product .so28-foot{margin-top:auto;flex-wrap:wrap;gap:6px}
html[data-phtv-front-polish="live"] .phtv-live-product-state{font-size:11px;font-weight:700;color:#ffb300}
html[data-phtv-front-polish="live"] .phtv-live-real-creator .phtv-card-media{aspect-ratio:16/9;min-height:80px}
html[data-phtv-front-polish="live"] .phtv-live-real-creator img{width:100%;height:100%;object-fit:cover}
html[data-phtv-front-polish="live"] .phtv-live-channel-cta{display:inline-block;font-size:12px;color:#7dc5ff;margin-top:8px}
html[data-phtv-front-polish="live"] .phtv-live-feed-error{padding:12px 8px;font-size:13px;color:#becbda;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
