/* MoviesVibe 37 — player-specific presentation. Loaded after all v35/v36 sheets.
   Do not alter iframe URL, event listeners, provider queue or database logic. */
#player-root .player-shell .player-cinema-brand37{
 position:absolute;left:clamp(9px,1.8vw,24px);top:clamp(8px,1.7vw,16px);bottom:auto;
 z-index:166;display:flex;align-items:center;gap:7px;max-width:min(65%,340px);
 color:#f9fbff;text-shadow:0 2px 5px rgba(0,0,0,.9),0 0 12px rgba(0,0,0,.7);
 pointer-events:none;user-select:none;background:transparent;border:0;box-shadow:none;
}
#player-root .player-cinema-brand37 img{width:clamp(22px,2.8vw,34px);height:clamp(22px,2.8vw,34px);flex:none;object-fit:contain;filter:drop-shadow(0 2px 4px #0008)}
#player-root .player-brand-stack37{display:flex;flex-direction:column;min-width:0;line-height:1.13;gap:3px;letter-spacing:.025em}
#player-root .player-brand-stack37 strong{color:#fff;font:900 clamp(9px,1.4vw,14px)/1.12 system-ui,sans-serif;letter-spacing:.12em;white-space:nowrap;background:linear-gradient(100deg,#75f0ff 0%,#b6abff 45%,#ff9bc8 90%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
#player-root .player-brand-custom37{color:#e7f4ff;font:700 clamp(9px,1.1vw,12px)/1.18 system-ui,sans-serif;max-width:100%;overflow-wrap:anywhere;white-space:normal}
#player-root .player-shell.minimized:not(.cinema-fullview) .player-cinema-brand37{display:none!important}
#player-root .player-shell.cinema-fullview .player-cinema-brand37,
#player-root .player-shell.cinema-fullview.controls-hidden .player-cinema-brand37{display:flex!important;opacity:1!important;visibility:visible!important}
/* Fullscreen: a single horizontally centered TOP toolbar, icon-only with no pill/card background. */
#player-root .player-shell.cinema-fullview .player-quick35{
 position:absolute!important;left:50%!important;top:clamp(13px,3.2vh,30px)!important;right:auto!important;bottom:auto!important;
 width:max-content!important;max-width:calc(100% - 12px)!important;min-height:42px!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 gap:clamp(3px,1.6vw,17px)!important;
 transform:translateX(-50%)!important;padding:0!important;margin:0!important;
 background:transparent!important;border:none!important;border-radius:0!important;box-shadow:none!important;
 z-index:167!important;pointer-events:none!important;
}
#player-root .player-shell.cinema-fullview .player-quick35 button,
#player-root .player-shell.cinema-fullview.controls-hidden .player-quick35 button{
 display:grid!important;place-items:center!important;flex:0 0 auto!important;
 width:clamp(34px,5.5vw,52px)!important;height:clamp(34px,5.5vw,52px)!important;
 min-width:34px!important;min-height:34px!important;padding:5px!important;
 border:0!important;border-radius:50%!important;background:transparent!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;
 color:#fff!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;
 filter:drop-shadow(0 2px 4px rgba(0,0,0,.94));
}
#player-root .player-shell.cinema-fullview .player-quick35 button:hover,
#player-root .player-shell.cinema-fullview .player-quick35 button:focus-visible{
 background:rgba(255,255,255,.15)!important;transform:scale(1.07)!important;outline:2px solid rgba(216,231,255,.95)!important;outline-offset:2px!important;
}
#player-root .player-shell.cinema-fullview .player-quick35 button svg{width:clamp(20px,3vw,28px)!important;height:clamp(20px,3vw,28px)!important;display:block!important}
#player-root .player-shell .player-quick35 .player-more-last37{order:99!important}
#player-root .player-shell.cinema-fullview .player-quick35 .player-exit-quick35{margin-left:0!important;display:grid!important}
/* Secondary controls: SVGs float over the video, without a card/panel fill. */
#player-root .player-shell .player-more-pop35{
 border:0!important;border-radius:0!important;background:transparent!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 box-shadow:none!important;padding:3px 6px 6px!important;
 color:#fff!important;scrollbar-width:thin;scrollbar-color:#ffffff44 transparent;
}
#player-root .player-shell.cinema-fullview .player-more-pop35{
 left:50%!important;right:auto!important;top:clamp(65px,calc(3.2vh + 53px),89px)!important;bottom:auto!important;
 transform:translateX(-50%)!important;animation:mv37-open .18s ease-out both!important;
 width:min(430px,calc(100% - 16px))!important;
 max-height:calc(100% - 104px)!important;min-height:0!important;
 overflow-x:hidden!important;overflow-y:auto!important;z-index:168!important;
}
#player-root .player-more-head35{display:flex!important;justify-content:flex-end!important;padding:0!important;margin-bottom:2px!important}
#player-root .player-more-grid35{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:clamp(2px,1vw,10px)!important;justify-items:center!important;align-items:center!important}
#player-root .player-more-pop35 button{
 display:grid!important;place-items:center!important;
 width:clamp(34px,4vw,46px)!important;height:clamp(34px,4vw,46px)!important;
 min-width:34px!important;min-height:34px!important;padding:5px!important;
 border:0!important;border-radius:50%!important;background:transparent!important;
 box-shadow:none!important;color:#fff!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 filter:drop-shadow(0 2px 3px #000c);cursor:pointer!important;
}
#player-root .player-more-pop35 button:hover,
#player-root .player-more-pop35 button:focus-visible{background:rgba(255,255,255,.16)!important;outline:2px solid #dde8ff!important;outline-offset:1px!important;transform:scale(1.05)!important}
#player-root .player-more-pop35 .player-autoplay31.is-on31{background:rgba(124,138,244,.23)!important;outline:1px solid #bdd7ff!important}
#player-root .player-more-server35{background:transparent!important;color:#f5f7ff!important;text-shadow:0 2px 5px #000;font-weight:800!important;padding:3px 0!important}
#player-root .player-shell.cinema-fullview.more-open35 .player-quick35{opacity:1!important;pointer-events:none!important}
#player-root .player-shell.cinema-fullview.more-open35 .player-quick35 button{pointer-events:auto!important}
#player-root .player-shell.cinema-fullview.controls-hidden .player-quick35{opacity:1!important;visibility:visible!important}
#player-root .player-shell.player-locked12 .player-quick35,
#player-root .player-shell.player-locked12 .player-more-pop35{display:none!important}
#player-root .player-shell .player-more-pop35[hidden]{display:none!important}
@keyframes mv37-open{from{opacity:0;transform:translate(-50%,-6px)}to{opacity:1;transform:translate(-50%,0)}}
@media(max-width:760px){
 #player-root .player-shell .player-cinema-brand37{left:8px;top:8px;bottom:auto;max-width:57%;gap:5px}
 #player-root .player-brand-stack37 strong{font-size:9px;letter-spacing:.08em}
 #player-root .player-brand-custom37{font-size:9px}
 #player-root .player-shell.cinema-fullview .player-quick35{left:50%!important;top:clamp(10px,3vh,22px)!important;gap:clamp(0px,1.2vw,7px)!important}
 #player-root .player-shell.cinema-fullview .player-more-pop35{top:clamp(53px,calc(3vh + 45px),76px)!important;max-height:calc(100% - 84px)!important;bottom:auto!important;width:min(345px,calc(100% - 12px))!important}
 #player-root .player-more-grid35{gap:1px!important}
 #player-root .player-more-pop35 button{width:35px!important;height:35px!important}
}
@media(max-height:380px) and (orientation:landscape){
 #player-root .player-shell.cinema-fullview .player-cinema-brand37{top:5px;bottom:auto;left:7px}
 #player-root .player-shell.cinema-fullview .player-quick35{top:6px!important}
 #player-root .player-shell.cinema-fullview .player-more-pop35{top:47px!important;bottom:auto!important;max-height:calc(100% - 58px)!important}
}

/* Portrait phones: keep the studio branding at the top-left, controls on a separate centered row. */
@media(max-width:600px) and (orientation:portrait){
 #player-root .player-shell.cinema-fullview .player-quick35{top:max(52px,env(safe-area-inset-top))!important}
 #player-root .player-shell.cinema-fullview .player-more-pop35{top:max(100px,calc(env(safe-area-inset-top) + 97px))!important;max-height:calc(100% - 116px)!important}
}
/* Brand and buttons stay legible in landscape while keeping the video unobstructed. */
@media(prefers-reduced-motion:reduce){#player-root .player-shell.cinema-fullview .player-more-pop35{animation:none!important}#player-root .player-quick35 button,#player-root .player-more-pop35 button{transition:none!important}}
