/* A dark screening room; every MAGIC control stays outside the provider's picture. */
html #video-modal.mm-cinema{--cinema-line:#303033;--cinema-muted:#b8b8be;display:flex;position:fixed;inset:0;align-items:center;justify-content:center;padding:18px;background:#050506f7;color:#fff;z-index:10000;font-family:'Plus Jakarta Sans',sans-serif;opacity:0;pointer-events:none;transition:opacity .14s ease}
html #video-modal.mm-cinema.on{opacity:1;pointer-events:auto}
html #video-modal.mm-cinema[hidden]{display:none!important}
html #video-modal.mm-cinema .vm-bg{position:absolute;inset:0;background:transparent}
html #video-modal.mm-cinema .vm-box{position:relative;z-index:1;width:min(1320px,100%);max-height:calc(100svh - 36px);overflow:auto;overscroll-behavior:contain;padding:0 30px 22px;background:#0c0c0e;color:#fff;border:1px solid var(--cinema-line);border-radius:0;box-shadow:none;transform:translateY(6px);transition:transform .14s ease;scrollbar-width:thin;scrollbar-color:#555 #111}
html #video-modal.mm-cinema.on .vm-box{transform:none}
.mm-cinema-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px;border-bottom:1px solid var(--cinema-line);margin-bottom:24px}
.mm-cinema-brand{display:flex;align-items:center;gap:18px;font-size:15px;font-weight:800;letter-spacing:-.035em;line-height:1.2}
.mm-cinema-brand:before{content:'';width:7px;height:23px;background:#0000ff;flex-shrink:0}
.mm-cinema-brand .mm-cinema-room{padding-left:18px;border-left:1px solid var(--cinema-line);font-size:10px;line-height:1.5;font-weight:600;letter-spacing:.13em;text-transform:uppercase;color:var(--cinema-muted)}
html #video-modal.mm-cinema .mm-cinema-close{position:static;display:flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;width:auto;min-width:44px;min-height:44px;padding:0 12px;border:1px solid #555;border-radius:0;background:transparent;color:#fff;font:600 12px 'Plus Jakarta Sans',sans-serif;cursor:pointer;line-height:1}
.mm-cinema-close svg,.mm-cinema-provider svg,.mm-cinema-arrows svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;flex-shrink:0}
.mm-cinema-stage{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;background:#000}
html #video-modal.mm-cinema .vm-ratio{position:relative;padding:0;aspect-ratio:var(--mm-video-aspect,1.7777778);width:min(100%,calc((100svh - 440px)*var(--mm-video-aspect,1.7777778)));min-width:0;min-height:0;margin:0 auto}
html #video-modal.mm-cinema .vm-ratio iframe{display:block;position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:contain;background:#000}
.mm-cinema-information{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 0 9px}
.mm-cinema-caption{min-width:0}
.mm-cinema-kind{font-size:10px;line-height:1.4;font-weight:600;letter-spacing:.15em;text-transform:uppercase;color:var(--cinema-muted);margin:0 0 8px}
#video-modal.mm-cinema #vm-title{font-size:clamp(22px,2.4vw,34px);font-weight:800;letter-spacing:-.04em;line-height:1.12;color:#fff;margin:0;text-wrap:balance}
.mm-cinema-artist{margin:8px 0 0;font-size:14px;line-height:1.5;color:#ccc;font-weight:500}
.mm-cinema-credits{margin:10px 0 0;max-width:700px;font-size:12px;line-height:1.5;color:#bbb}
.mm-cinema-provider{display:flex;align-items:flex-end;flex-direction:column;flex-shrink:0;gap:2px}
html #video-modal.mm-cinema #vm-direct{display:flex;align-items:center;gap:10px;min-height:44px;width:auto;margin:0;padding:0;background:transparent;border:0;color:#fff;font-size:12px;font-weight:600;text-decoration:none}
.mm-cinema-help-toggle{min-height:36px;padding:0;border:0;background:none;color:#bbb;font:400 11px 'Plus Jakarta Sans',sans-serif;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.mm-cinema-state{min-height:16px;margin:4px 0 12px;font-size:10px;line-height:1.5;color:var(--cinema-muted)}
.mm-cinema-navigation{border-top:1px solid var(--cinema-line);padding-top:10px}
.mm-cinema-nav-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
#vm-position{margin:0;color:#b8b8be;font-size:10px;letter-spacing:.09em;text-transform:uppercase;line-height:1.4}
.mm-cinema-arrows{display:flex;gap:6px}
.mm-cinema-arrows button{display:grid;place-items:center;min-width:44px;min-height:44px;background:transparent;border:1px solid #3c3c40;border-radius:0;color:#fff;cursor:pointer}
#vm-prev svg{transform:rotate(180deg)}
.mm-cinema-list{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-inline:contain;padding:8px 2px 4px;scrollbar-width:thin;scrollbar-color:#555 #111}
.mm-cinema-item{display:flex;align-items:center;gap:10px;flex:0 0 180px;min-height:55px;padding:5px;background:#151517;color:#b8b8be;border:1px solid #333;border-radius:0;font:500 10px/1.45 'Plus Jakarta Sans',sans-serif;text-align:left;cursor:pointer}
.mm-cinema-item img{width:auto;height:auto;max-width:80px;max-height:44px;flex:0 1 auto;object-fit:contain;background:#000}
.mm-cinema-item span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.mm-cinema-item[aria-current=true]{color:#fff;border-color:#fff;box-shadow:inset 3px 0 #0000ff}
.mm-cinema-item:hover,.mm-cinema-arrows button:hover,html #video-modal.mm-cinema .mm-cinema-close:hover{background:#27272b;color:#fff}
.mm-cinema button:focus-visible,.mm-cinema a:focus-visible,.mm-cinema iframe:focus-visible{outline:2px solid #fff;outline-offset:4px}
.mm-cinema-consent{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;width:100%;min-height:270px;background:#101013;border:1px solid #2b2b30}
.mm-cinema-poster{display:block;width:100%;height:100%;max-height:400px;object-fit:contain;background:#000}
.mm-cinema-consent-copy{padding:32px;max-width:490px}
.mm-cinema-consent-copy h3{font-size:clamp(22px,2.6vw,34px);font-weight:800;line-height:1.12;letter-spacing:-.045em;color:#fff;margin:0 0 16px}
.mm-cinema-consent-copy>p:not(.mm-cinema-kind){font-size:12px;line-height:1.7;color:#bbb;margin:0 0 18px}
.mm-cinema-consent-copy button{min-height:46px;border:0;border-radius:0;background:#0000ff;color:#fff;padding:12px 18px;font:600 12px 'Plus Jakarta Sans',sans-serif;cursor:pointer}
.mm-cinema-consent-copy .mm-cinema-privacy{margin:16px 0 0!important;font-size:10px!important}
.mm-cinema-privacy a{display:inline-flex;align-items:center;min-height:32px;color:#ccc;text-underline-offset:3px}
.mm-cinema-help{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 18px;margin:4px 0 12px;border:1px solid #444;background:#17171b}
.mm-cinema-help p{margin:0;color:#ccc;font-size:12px;line-height:1.6;max-width:800px}
.mm-cinema-help button{flex-shrink:0;min-height:44px;border:1px solid #888;border-radius:0;padding:8px 14px;color:#fff;background:none;font:600 11px 'Plus Jakarta Sans',sans-serif;cursor:pointer}
.mm-cinema [hidden]{display:none!important}
@media(max-width:700px){
 html #video-modal.mm-cinema{padding:0}
 html #video-modal.mm-cinema .vm-box{width:100%;max-height:100svh;height:100svh;padding:0 max(16px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));border:0}
 .mm-cinema-header{position:sticky;top:0;z-index:2;background:#0c0c0e;min-height:calc(66px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);margin-bottom:16px}
 .mm-cinema-brand{font-size:13px;gap:10px}.mm-cinema-brand .mm-cinema-room{display:none}
 .mm-cinema-close span{display:none}
 html #video-modal.mm-cinema .mm-cinema-close{padding:0;width:44px}
 html #video-modal.mm-cinema .vm-ratio{width:min(100%,calc((100svh - 250px)*var(--mm-video-aspect,1.7777778)))}
 .mm-cinema-information{display:block;padding-top:20px}
 .mm-cinema-kind{font-size:9px}.mm-cinema-artist{font-size:13px}
 .mm-cinema-provider{flex-direction:row;align-items:center;justify-content:space-between;gap:14px;margin-top:10px}
 html #video-modal.mm-cinema #vm-direct{font-size:11px}.mm-cinema-help-toggle{min-height:44px;font-size:10px}
 .mm-cinema-state{margin:0 0 12px;font-size:10px}.mm-cinema-navigation{padding-top:10px}
 .mm-cinema-item{flex-basis:165px}.mm-cinema-help{display:block;padding:14px}.mm-cinema-help button{margin-top:12px}
 .mm-cinema-consent{display:block;min-height:0}.mm-cinema-poster{max-height:220px;aspect-ratio:16/9;width:100%;height:auto}
 .mm-cinema-consent-copy{padding:22px}.mm-cinema-consent-copy h3{font-size:25px}.mm-cinema-consent-copy>p:not(.mm-cinema-kind){font-size:11px;margin-bottom:14px}
 .mm-cinema-privacy a{min-height:44px}.mm-cinema-consent-copy .mm-cinema-privacy{margin-top:8px!important}
}
@media(max-height:540px) and (orientation:landscape){
 html #video-modal.mm-cinema{padding:0}html #video-modal.mm-cinema .vm-box{max-height:100svh;height:100svh;padding:0 max(20px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));border:0}
 .mm-cinema-header{position:sticky;top:0;background:#0c0c0e;z-index:2;min-height:58px;margin-bottom:12px}
 html #video-modal.mm-cinema .vm-ratio{width:min(100%,calc((100svh - 90px)*var(--mm-video-aspect,1.7777778)))}
 .mm-cinema-consent{display:grid;grid-template-columns:1fr 1fr}.mm-cinema-poster{max-height:260px}.mm-cinema-consent-copy{padding:20px}.mm-cinema-consent-copy h3{font-size:23px}
}
@media(prefers-reduced-motion:reduce){html #video-modal.mm-cinema,html #video-modal.mm-cinema .vm-box{transition:none;transform:none}}
/* Confirmed external-only playback: preserve the work and provide its real destination. */
.mm-cinema-external-link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;background:#0000ff;color:#fff!important;text-decoration:none;font-weight:600;border:1px solid #fff}
.mm-cinema-external-link:focus-visible{outline:3px solid #fff;outline-offset:4px}
