/* Presentation only. Original watermark, loading tile and media are untouched. */
@media(min-width:801px){
body.sl-guide-polish:not(.movies-view) .browse-panel>#featured{grid-template-columns:minmax(220px,320px) minmax(0,1fr)!important;gap:8px 16px!important;padding:10px 16px 4px!important;height:auto!important;min-height:0!important;align-items:start}
body.sl-guide-polish:not(.movies-view) .browse-panel #featuredArt{height:180px!important;max-height:180px;min-height:0;align-self:start}
body.sl-guide-polish:not(.movies-view) #featured .featured-copy{min-height:0!important;align-self:start;gap:5px}
body.sl-guide-polish:not(.movies-view) #featuredTitle{font-size:clamp(20px,2vw,28px)!important;margin:4px 0 6px!important}
body.sl-guide-polish:not(.movies-view) #featuredMeta{-webkit-line-clamp:3;font-size:12px!important;line-height:1.5}
body.sl-guide-polish:not(.movies-view) .preview-guide-controls{display:grid;gap:6px;grid-column:1/-1}
body.sl-guide-polish:not(.movies-view) .preview-control-grid{display:grid!important;gap:6px!important;margin:0!important;width:100%;min-width:0}
body.sl-guide-polish:not(.movies-view) .preview-control-row{display:flex!important;flex-wrap:wrap!important;align-items:center;justify-content:flex-start!important;gap:6px!important}
body.sl-guide-polish:not(.movies-view) .preview-guide-controls .guide-toolbar{height:auto!important;min-height:44px!important;display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:6px!important;padding:4px 0!important;margin:0!important}
body.sl-guide-polish:not(.movies-view) .guide-toolbar-actions{display:flex!important;flex:0 1 auto;width:auto!important;flex-wrap:wrap!important;justify-content:flex-start!important;margin:0!important;gap:6px!important}
body.sl-guide-polish:not(.movies-view) .guide-lineup-switch{margin:0!important}
}
body.sl-guide-polish:not(.movies-view) #featured{--sl-channel-rgb:var(--channel-rgb,120,140,180);background:linear-gradient(125deg,rgba(var(--sl-channel-rgb),.22),rgba(16,23,32,.88));border:1px solid rgba(var(--sl-channel-rgb),.35);box-shadow:inset 0 1px 0 rgba(255,255,255,.13);border-radius:12px}
body.sl-guide-polish:not(.movies-view) #featured .featured-copy{background:rgba(18,25,35,.28);border-radius:10px;padding:10px 12px;backdrop-filter:blur(8px) saturate(110%);-webkit-backdrop-filter:blur(8px) saturate(110%)}
@media(min-width:801px){
body.sl-guide-polish:not(.movies-view) #categoryList{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:flex-start!important;gap:6px!important;width:auto!important;overflow:visible!important}
body.sl-guide-polish:not(.movies-view) #categoryList .category-button{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:10px!important;display:flex!important;align-items:center;justify-content:center;gap:7px}
body.sl-guide-polish:not(.movies-view) #categoryList .category-button>span{display:none!important}
body.sl-guide-polish:not(.movies-view) #categoryList .category-button.is-active{width:auto!important}
body.sl-guide-polish:not(.movies-view) #categoryList .category-button.is-active>span{display:inline!important}
body.sl-guide-polish:not(.movies-view) .sl-icon-button{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:10px!important;display:inline-flex!important;align-items:center;justify-content:center}
body.sl-guide-polish:not(.movies-view) .sl-icon-button>span{display:none!important}
body.sl-guide-polish:not(.movies-view) .sl-icon-button svg{width:20px;height:20px;flex-shrink:0}
body.sl-guide-polish:not(.movies-view) #viewSwitch{display:flex!important;gap:4px}
body.sl-guide-polish:not(.movies-view) #featured button:focus-visible{outline:3px solid var(--accent,#ff5955);outline-offset:2px}
}
html.silk-lite body.sl-guide-polish #featured .featured-copy,.silk-browser.sl-guide-polish #featured .featured-copy,html.silk-browser body.sl-guide-polish #featured .featured-copy{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
@media(max-width:800px){body.sl-guide-polish #featured .featured-copy{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
@media(prefers-reduced-motion:reduce){body.sl-guide-polish #featured .sl-icon-button{transition:none!important}}
html[data-theme="light"] body.sl-guide-polish #featured{background:linear-gradient(125deg,rgba(var(--sl-channel-rgb,120,140,180),.18),rgba(243,247,251,.96));color:#152433}
html[data-theme="light"] body.sl-guide-polish #featured .featured-copy{background:rgba(255,255,255,.35)}

/* Current guide compatibility: legacy grid tracks and full-width filter children. */
@media(min-width:801px){
 body.sl-guide-polish:not(.movies-view) .preview-control-grid{grid-template-rows:none!important;grid-auto-rows:auto!important}
 body.sl-guide-polish:not(.movies-view) .preview-control-row{height:auto!important;min-height:44px}
 body.sl-guide-polish:not(.movies-view) .preview-filter-row>.country-filter{flex:0 1 190px;width:190px!important;min-width:150px}
 body.sl-guide-polish:not(.movies-view) .preview-filter-row>.us-only{flex:0 0 64px;width:64px!important}
 body.sl-guide-polish:not(.movies-view) .preview-filter-row>.category-dock{flex:1 1 520px;width:auto!important;height:auto!important;min-height:54px!important}
 body.sl-guide-polish:not(.movies-view) #categoryList{height:auto!important;min-height:44px;flex-direction:row!important}
 body.sl-guide-polish:not(.movies-view) #categoryList .category-button{flex:0 0 auto}
 body.sl-guide-polish:not(.movies-view) #categoryList .category-button.is-active>span{position:static;width:auto;height:auto;margin:0;clip:auto;overflow:visible}
}

/* Admin visibility takes precedence over the compact icon display rule. */
html body.viewer-profile .guide-toolbar-actions [data-admin-only],
html body .guide-toolbar-actions [data-admin-only][aria-hidden="true"]{display:none!important}

/* Native package menus need an opaque surface and explicit theme colors. */
:is(#channelPackageSelect,#mobileBubblePackageSelect){color-scheme:dark;color:#f1f5f9;background-color:#17212e;border-radius:6px;padding:6px}
:is(#channelPackageSelect,#mobileBubblePackageSelect) :is(option,optgroup){color:#f1f5f9;background-color:#17212e}
html[data-theme="light"] :is(#channelPackageSelect,#mobileBubblePackageSelect){color-scheme:light;color:#172430;background-color:#fff}
html[data-theme="light"] :is(#channelPackageSelect,#mobileBubblePackageSelect) :is(option,optgroup){color:#172430;background-color:#fff}

/* Timeline headings belong to the Guide view, not the tile grid. */
#guideHead[hidden],#visibleGuideStatusV69797[hidden]{display:none!important}

/* Tile browsing keeps its controls, without reserving a preview row. */
html body.sl-guide-polish.sl-guide-tiles:not(.movies-view) .browse-panel>#featured{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none!important;grid-auto-rows:auto!important;gap:0!important;height:auto!important;min-height:0!important;padding-top:4px!important}
html body.sl-guide-tiles #featuredArt,
html body.sl-guide-tiles #featured .featured-copy>:not(.preview-action-row):not(.preview-control-grid){display:none!important}
html body.sl-guide-tiles #featured .featured-copy{display:contents!important}
html body.sl-guide-tiles #featured .preview-action-row{grid-column:1/-1;min-width:0;width:100%;margin:0!important}
html body.sl-guide-tiles #featured .preview-control-grid{grid-template-rows:none!important;grid-auto-rows:auto!important;min-height:0!important}
