/* MoviesVibe 41 — compact poster details, quick discovery, persistent player brand.
   This sheet is last. Playback iframe/source logic and Studio styles are not modified. */
#player-root .player-shell.player-locked12 .player-cinema-brand37,
#player-root .player-shell.player-locked12.cinema-fullview .player-cinema-brand37,
#player-root .player-shell.player-locked12.controls-hidden .player-cinema-brand37{
 display:flex!important;opacity:1!important;visibility:visible!important;
 z-index:245!important;pointer-events:none!important;
 filter:none!important;transform:none!important;
}
#player-root .player-shell.player-locked12 .player-cinema-brand37 img,
#player-root .player-shell.player-locked12 .player-cinema-brand37 .player-brand-stack37{
 display:flex!important;visibility:visible!important;opacity:1!important;
}
#player-root .player-shell.player-locked12 .player-cinema-brand37 img{display:block!important}
/* The unlock button stays clickable; brand stays above the transparent lock layer. */
#player-root .player-shell.player-locked12 #player-touch-lock13{z-index:200!important}
#player-root .player-shell.player-locked12 #player-touch-lock13 button{position:relative;z-index:201!important}

/* Real title metadata appears immediately beneath the title, unobtrusive and consistent. */
#content .mv-card-meta41,.mv-popup-discover41 .mv-card-meta41,
#search-suggestions .mv-card-meta41{
 display:flex!important;align-items:center!important;gap:4px!important;
 max-width:100%;width:100%;min-width:0;overflow:hidden;
 white-space:nowrap!important;text-overflow:ellipsis;
 padding:4px 1px 0!important;margin:0!important;
 font:650 clamp(10px,.9vw,12px)/1.3 system-ui,sans-serif!important;
 color:var(--faded,#b6c4de)!important;letter-spacing:0!important;
 background:transparent!important;border:0!important;box-shadow:none!important;
}
.mv-card-meta41 .mv-rate41{display:inline-flex;align-items:center;gap:3px;color:#f7ca69;flex:none}
.mv-card-meta41 .mv-rate41 svg{color:#f7ca69;flex:none}
.mv-card-meta41 .mv-genres41{min-width:0;flex:0 1 auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.mv-card-meta41 .mv-time41{flex:none;color:var(--soft,#c3cadd)}
.mv-card-meta41 .mv-dot41{flex:none;font-size:10px;opacity:.7;color:var(--faded,#93a2be)}
#content .mv-feature-card36 .mv-card-meta41{padding:3px 1px 0!important}
#content .movie-card .movie-copy,#content .mv-wide-card32 .movie-copy{display:block!important;min-height:0!important;padding-bottom:4px!important}
#content .movie-card .movie-title,#content .mv-wide-card32 .movie-title{margin-bottom:0!important}
#content .mv-feature-card36{padding-bottom:3px!important}
#content .mv-card-grid32{row-gap:14px!important}

/* Home-style discovery shelves on browse, actors, categories, detail and search pages. */
#mv-discovery-feed41[hidden],.mv-popup-discover41[hidden],.mv-suggest-rail41[hidden],
#search-suggestions[hidden],#mobile-search-discover41[hidden]{display:none!important}
#mv-discovery-feed41{
 position:relative;display:flex;flex-direction:column;gap:clamp(14px,2.5vw,26px);
 width:100%;min-width:0;max-width:100%;margin:clamp(17px,3vw,30px) 0 24px;
 padding:0;border:0;background:transparent;
}
.mv-suggest-row41{min-width:0;max-width:100%;width:100%;display:flex;flex-direction:column;gap:8px}
.mv-suggest-head41{display:flex;align-items:center;justify-content:space-between;min-height:22px;margin:0 1px}
.mv-suggest-head41 h3{font:800 clamp(14px,1.45vw,20px)/1.22 system-ui,sans-serif!important;margin:0!important;letter-spacing:-.035em;color:var(--text,#f7f8ff)}
.mv-suggest-rail41{
 display:grid;grid-auto-flow:column;grid-auto-columns:clamp(135px,18%,245px);
 max-width:100%;gap:11px;min-width:0;padding:0 1px 5px;
 overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;
 overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
 scrollbar-width:none;scrollbar-color:transparent transparent;
}
.mv-suggest-rail41::-webkit-scrollbar{display:none}
.mv-suggest-rail41 .movie-card{width:100%;min-width:0!important;scroll-snap-align:start;cursor:pointer;box-shadow:none!important;border:0!important;background:transparent!important}
.mv-suggest-rail41 .movie-card .movie-cover{aspect-ratio:2/3!important;border-radius:10px!important}
.mv-suggest-rail41 .movie-card .movie-copy{padding:5px 1px 3px!important}
.mv-suggest-rail41 .movie-card .movie-title{display:block;font:750 12px/1.3 system-ui,sans-serif!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mv-suggest-rail41 .movie-card .movie-meta{display:none!important}
.mv-suggest-rail41 .mv-card-meta41{font-size:10px!important}
.mv-suggest-loading41{min-height:40px;display:flex;align-items:center;justify-content:center;color:var(--faded,#9dacc5)}
.mv-suggest-empty41{margin:6px;color:var(--soft,#bac7de);font-size:12px}

/* Search popup: background stays transparent enough to feel integrated with the app,
   while artwork remains clear and scrollable. Search suggestions take over on typing. */
#mobile-search-discover41{
 display:flex;flex-direction:column;flex:1 0 auto;gap:17px;
 padding:13px 0 max(16px,env(safe-area-inset-bottom,0px));min-width:0;
 background:transparent;overflow-y:visible;
}
#mobile-search-discover41 .mv-suggest-row41{gap:9px}
#mobile-search-discover41 .mv-suggest-head41 h3{font-size:16px!important;color:#f7f8ff}
#mobile-search-discover41 .mv-suggest-rail41{grid-auto-columns:clamp(122px,38%,182px);gap:10px;padding-bottom:5px}
#mobile-search-discover41 .movie-card .movie-title{color:#eef3ff!important;font-size:12px!important}
#mobile-search-discover41 .mv-card-meta41{color:#aebfda!important;font-size:10px!important}
/* Legacy mobile suggestion list retains separate layout and hides while discovery appears. */
#mobile-suggestions34[hidden]{display:none!important}

/* Desktop popover is deliberately wider than the old text-only auto-suggest box. */
.search-wrap:has(#search-suggestions.mv-desktop-discover41:not([hidden])){z-index:300!important}
#search-suggestions.mv-desktop-discover41:not([hidden]){
 width:min(690px,calc(100vw - 36px))!important;min-width:min(520px,calc(100vw - 36px))!important;
 max-width:calc(100vw - 36px)!important;max-height:min(78dvh,650px)!important;
 overflow-y:auto!important;overflow-x:hidden!important;display:flex!important;flex-direction:column!important;
 gap:15px;padding:15px!important;border:1px solid rgba(158,186,239,.25)!important;
 border-radius:18px!important;background:rgba(14,25,45,.96)!important;backdrop-filter:blur(15px);
 box-shadow:0 15px 55px rgba(0,0,0,.35)!important;
}
#search-suggestions.mv-desktop-discover41 .mv-suggest-rail41{grid-auto-columns:clamp(112px,25%,164px);gap:10px}
#search-suggestions.mv-desktop-discover41 .mv-suggest-head41 h3{font-size:15px!important;color:#f9faff}
#search-suggestions.mv-desktop-discover41 .movie-card{display:block!important;min-height:0!important;padding:0!important;border:0!important}
#search-suggestions.mv-desktop-discover41 .movie-card .movie-cover{aspect-ratio:2/3!important;width:100%;border-radius:9px!important}
#search-suggestions.mv-desktop-discover41 .movie-card .movie-title{color:#f5f6fe!important;line-height:1.2!important}
#search-suggestions.mv-desktop-discover41 .movie-card .movie-copy{display:block!important}
#search-suggestions.mv-desktop-discover41 .movie-card .movie-copy .mv-card-meta41{font-size:9px!important;color:#c4cde0!important}
/* Empty search-results page gets a proper three-shelf feed instead of the old duplicate one-row trending. */
#content .mv-search-page34>.mv-search-trending34{display:none!important}
@media(max-width:760px){
 #content .mv-card-meta41{font-size:10px!important;gap:3px!important}
 #content .mv-card-grid32{row-gap:12px!important}
 .mv-suggest-rail41{grid-auto-columns:clamp(140px,44%,185px);gap:9px}
 #mv-discovery-feed41{gap:17px;margin-top:18px}
 #mobile-search-discover41{gap:20px}
 #mobile-search-discover41 .mv-suggest-rail41{grid-auto-columns:clamp(130px,38%,175px)}
 #search-suggestions.mv-desktop-discover41{display:none!important}
}
@media(prefers-reduced-motion:reduce){.mv-suggest-rail41{scroll-behavior:auto}}

/* Preserve all three metadata values on narrow posters: rating/time first, genre second. */
@media(max-width:1120px){
 #content .movie-card .mv-card-meta41,#content .mv-feature-card36 .mv-card-meta41,
 #mobile-search-discover41 .movie-card .mv-card-meta41,
 #mv-discovery-feed41 .movie-card .mv-card-meta41{flex-wrap:wrap!important;white-space:normal!important;overflow:visible!important;row-gap:2px!important;max-height:none!important}
 #content .movie-card .mv-card-meta41 .mv-rate41,#content .mv-feature-card36 .mv-card-meta41 .mv-rate41,
 #mobile-search-discover41 .mv-card-meta41 .mv-rate41,#mv-discovery-feed41 .mv-card-meta41 .mv-rate41{order:1}
 #content .movie-card .mv-card-meta41 .mv-time41,#content .mv-feature-card36 .mv-card-meta41 .mv-time41,
 #mobile-search-discover41 .mv-card-meta41 .mv-time41,#mv-discovery-feed41 .mv-card-meta41 .mv-time41{order:2}
 #content .movie-card .mv-card-meta41 .mv-genres41,#content .mv-feature-card36 .mv-card-meta41 .mv-genres41,
 #mobile-search-discover41 .mv-card-meta41 .mv-genres41,#mv-discovery-feed41 .mv-card-meta41 .mv-genres41{order:3;flex:1 1 100%!important}
 #content .movie-card .mv-card-meta41 .mv-dot41,#content .mv-feature-card36 .mv-card-meta41 .mv-dot41,
 #mobile-search-discover41 .mv-card-meta41 .mv-dot41,#mv-discovery-feed41 .mv-card-meta41 .mv-dot41{display:none!important}
}
