/* MoviesVibe 46 — attractive readable player, compact two-corner poster identity, sticky detail video. */
:root{--mv46-poster-mark:clamp(18px,1.8vw,25px)}
#content{font-family:"Times New Roman",system-ui,-apple-system,BlinkMacSystemFont,sans-serif}
#content button,#content input,#content textarea,#content select,#content .mv45-spot-play{font-family:inherit}
/* Crisp play-circle mark at the top-left, white pill at the bottom-left, never tint the art. */
#content .art .mv46-poster-logo,#content .mv45-rank-poster .mv46-poster-logo,
#content .mv45-spot-poster .mv46-poster-logo{position:absolute!important;top:5px!important;left:5px!important;z-index:11!important;
 width:var(--mv46-poster-mark)!important;height:var(--mv46-poster-mark)!important;border-radius:50%!important;
 background:rgba(8,13,25,.14)!important;display:grid!important;place-items:center;pointer-events:none;opacity:1!important;
 filter:none!important;box-shadow:0 1px 3px rgba(0,0,0,.28);overflow:hidden}
#content .mv46-poster-logo img{width:100%!important;height:100%!important;display:block;object-fit:contain!important;filter:none!important;opacity:1!important}
#content .art .mv46-poster-word,#content .mv45-rank-poster .mv46-poster-word,
#content .mv45-spot-poster .mv46-poster-word{position:absolute!important;left:5px!important;bottom:6px!important;z-index:11!important;
 color:#fff!important;background:rgba(0,0,0,.81)!important;border-radius:7px!important;
 font:750 clamp(8px,.76vw,11px)/1.14 system-ui,sans-serif!important;letter-spacing:.002em!important;
 padding:4px 6px!important;display:inline-block!important;width:max-content!important;max-width:calc(100% - 10px)!important;
 white-space:nowrap;pointer-events:none;opacity:1!important;filter:none!important;text-shadow:none!important;box-shadow:none!important}
#content .art .art-label,#content .art .mv-card-mark,#content .movie-cover .mv45-poster-brand{display:none!important}
#content .mv45-rank-poster,#content .mv45-spot-poster{isolation:isolate}
#content .art:not(:has(> img:not(.art-fallback26))) .art-symbol{display:grid!important}
#content .mv45-rank-poster>img,#content .mv45-spot-poster>img,#content .art>img:not(.art-fallback26){filter:none!important;opacity:1!important;image-rendering:auto!important}
#content .mv45-rank-poster .mv46-poster-word{font-size:9px!important}
/* Search results alternate comfortable 4- and 6-title sections without headings or oversize gaps. */
#content .mv46-search-block{margin:0 0 12px;min-width:0;max-width:100%;overflow:hidden}
#content .mv46-search-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--mv45-card-gap,5px)}
#content .mv46-search-cards.mv46-search-square .movie-cover{aspect-ratio:1!important}
#content .mv46-search-track{display:grid;grid-auto-flow:column;grid-auto-columns:clamp(182px,24%,302px);gap:var(--mv45-card-gap,5px);
 overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;cursor:grab;padding:2px 0 7px}
#content .mv46-search-track::-webkit-scrollbar{display:none}
#content .mv46-search-track>*{min-width:0;scroll-snap-align:start}
#content .mv46-search-track.mv-dragging36{cursor:grabbing;scroll-snap-type:none}
/* Infinite home continuation uses the same existing mosaic styling. */
#content .mv46-home-feed,#content #mv46-home-feed{display:block;min-width:0;margin-top:13px}
#content .mv46-feed-status{min-height:12px;text-align:center;display:flex;justify-content:center;padding:6px}
/* Bright premium white lettering remains readable even on a high-contrast video. */
#player-root .player-cinema-brand37 .player-brand-stack37 strong,
#player-root .player-shell.player-locked12 .player-brand-stack37 strong{
 background:none!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 -webkit-text-stroke:.25px #283c59!important;text-shadow:0 1px 3px #000,0 0 7px #000,0 0 12px rgba(0,0,0,.8)!important;
 filter:none!important;opacity:1!important}
#player-root .player-cinema-brand37 .player-brand-custom37{color:#fff!important;text-shadow:0 1px 4px #000,0 0 7px #000!important}
#player-root .player-cinema-brand37>img{filter:drop-shadow(0 2px 4px rgba(0,0,0,.7))!important;opacity:1!important}
/* When an embedded provider has no native audio or cast API, don't show misleading controls. */
#player-root .player-more-grid35 button[hidden]{display:none!important}
/* Only a title's active player is attached under the header. A minimized floating player is unchanged. */
body.inline-player .app-column>#player-root:has(.player-shell.expanded:not(.cinema-fullview)){
 position:sticky!important;top:var(--mv28-player-top,68px)!important;z-index:121!important;
 width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;box-shadow:none!important}
body.inline-player .app-column>#player-root>.player-shell.expanded:not(.cinema-fullview){margin:0!important;
 border-radius:0!important;overflow:hidden!important;box-shadow:none!important;background:#0c1422!important}
body.inline-player .app-column>#player-root .player-shell.expanded:not(.cinema-fullview) .player-foot{
 display:flex!important;align-items:center!important;gap:5px!important;padding:5px 9px!important;margin:0!important;
 border-radius:0!important;box-shadow:none!important;max-height:none!important;height:auto!important}
body.inline-player .app-column>#player-root .player-shell.expanded:not(.cinema-fullview) .player-source-tools25{
 display:flex!important;gap:5px!important;align-items:center;flex-wrap:wrap}
body.inline-player.mv46-scrolled #player-root .player-server-warning25{display:none!important;visibility:hidden!important}
body.inline-player:not(.mv46-scrolled) #player-root .player-server-warning25{visibility:visible}
body.inline-player .app-column>#player-root .player-shell.cinema-fullview{top:0!important;position:fixed!important}
@media(min-width:761px){
 body.inline-player .app-column>#player-root .player-shell.expanded:not(.cinema-fullview) .player-media{max-height:min(64dvh,690px)!important}
}
@media(max-width:760px){
 :root{--mv46-poster-mark:20px}
 #content .mv46-search-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--mv45-card-gap,5px)}
 #content .mv46-search-track{grid-auto-columns:clamp(165px,65%,235px)}
 #content .art .mv46-poster-word,#content .mv45-rank-poster .mv46-poster-word,#content .mv45-spot-poster .mv46-poster-word{font-size:8px!important;padding:3px 5px!important}
 body.inline-player .app-column>#player-root:has(.player-shell.expanded:not(.cinema-fullview)){top:var(--mv28-player-top,58px)!important;z-index:121!important}
 body.inline-player .app-column>#player-root .player-shell.expanded:not(.cinema-fullview) .player-foot{padding:5px!important}
}

/* Search sections are full-width children, not one cell of the legacy movie-grid. */
#content .mv-search-page34 #catalog-grid:has(.mv46-search-block),#content #catalog-grid:has(>.mv46-search-block){display:block!important;grid-template-columns:none!important;max-width:100%;min-width:0}
#content .mv46-search-rail .mv46-search-track .movie-card{scroll-snap-align:start}
#content .mv46-search-rail .movie-cover{aspect-ratio:16/10!important}
#content .mv46-search-block .movie-title{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#content .mv46-search-track.mv-dragging36{scroll-behavior:auto!important}
/* The existing header and embedded frame meet without a blank margin. */
body.inline-player .app-column>#player-root:has(.player-shell.expanded:not(.cinema-fullview)) {scroll-margin-top:var(--mv28-player-top,68px)!important}
body.inline-player #player-root .player-shell.expanded:not(.cinema-fullview) .player-top{margin:0!important;padding:5px 10px!important;min-height:33px!important}
