/* XMulti 8.4 — layout isolado para arquivos e páginas individuais de filmes e séries. */
body.xm-cinema-shell{background:#080a0f;color:#f7f8fc}
body.xm-cinema-shell #main{background:#080a0f;min-height:65vh}
body.xm-cinema-shell #xm-cinema-header,body.xm-cinema-shell #xm-cinema-footer,body.xm-cinema-shell #xm-cinema-header *,body.xm-cinema-shell #xm-cinema-footer *{box-sizing:border-box}
#xm-cinema-header{background:rgba(11,13,19,.97);border-bottom:1px solid rgba(255,255,255,.09);position:relative;z-index:20;box-shadow:0 8px 30px rgba(0,0,0,.2)}
#xm-cinema-header .xm-cinema-header__inner{max-width:1276px;width:calc(100% - 44px);margin:0 auto;min-height:78px;display:flex;justify-content:space-between;align-items:center;gap:20px}
#xm-cinema-header .xm-cinema-header__brand{display:flex;align-items:center;flex:0 1 auto;min-width:0;text-decoration:none}
#xm-cinema-header .xm-cinema-header__brand img{display:block;width:clamp(168px,19vw,236px);max-width:100%;height:auto;object-fit:contain}
#xm-cinema-header .xm-cinema-header__nav{display:flex;align-items:center;gap:8px;margin-left:auto}
#xm-cinema-header .xm-cinema-header__nav a{display:inline-flex;align-items:center;justify-content:center;padding:11px 20px;border-radius:999px;color:#c8cad5;text-decoration:none;font:750 13px/1.2 Montserrat,Arial,sans-serif;min-height:42px;transition:background .2s,color .2s}
#xm-cinema-header .xm-cinema-header__nav a:hover,#xm-cinema-header .xm-cinema-header__nav a:focus-visible{background:#292e39;color:#fff}
#xm-cinema-header .xm-cinema-header__nav a[aria-current=page]{background:rgba(220,101,243,.17);color:#f4bcff;border:1px solid rgba(220,101,243,.22)}
#xm-cinema-header a:focus-visible,#xm-cinema-footer a:focus-visible{outline:2px solid #dd8ef3;outline-offset:4px}
#xm-cinema-footer{background:linear-gradient(150deg,#111322 0%,#090b12 60%,#0a0a11 100%);border-top:1px solid rgba(220,101,243,.22);color:#d0d3df;margin:0;font:400 13px/1.65 Montserrat,Arial,sans-serif}
#xm-cinema-footer .xm-cinema-footer__inner{max-width:1260px;width:calc(100% - 48px);margin:0 auto;padding:47px 0 23px}
#xm-cinema-footer .xm-cinema-footer__main{display:grid;grid-template-columns:minmax(0,2fr) minmax(120px,1fr) minmax(130px,1fr);gap:38px 56px}
#xm-cinema-footer .xm-cinema-footer__brand img{display:block;width:210px;max-width:100%;height:auto}
#xm-cinema-footer .xm-cinema-footer__brand p{margin:15px 0 0;max-width:350px;color:#a6acbf;font-size:13px;line-height:1.7;text-transform:none}
#xm-cinema-footer .xm-cinema-footer__nav{display:flex;flex-direction:column;align-items:flex-start;gap:11px}
#xm-cinema-footer .xm-cinema-footer__nav h2{color:#fff;margin:0 0 4px;font:800 14px/1.5 Montserrat,Arial,sans-serif}
#xm-cinema-footer .xm-cinema-footer__nav a{color:#b8bed0;text-decoration:none;font-size:13px}
#xm-cinema-footer .xm-cinema-footer__nav a:hover{color:#edb1fa}
#xm-cinema-footer .xm-cinema-footer__bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:40px;padding-top:20px;display:flex;justify-content:space-between;gap:15px 32px;flex-wrap:wrap}
#xm-cinema-footer .xm-cinema-footer__bottom p{margin:0;color:#8b92a7;font-size:11px;line-height:1.7;text-transform:none}
/* O catálogo mantém fundo consistente até o rodapé; só os componentes de mídia são afetados. */
body.xm-cinema-shell .xm-media-page{background:#090b10}
body.xm-cinema-shell .xm-cinema-navigation{box-shadow:0 12px 26px rgba(0,0,0,.08)}
body.xm-cinema-shell .xm-media-single{padding-bottom:65px}
body.xm-cinema-shell .xm-cinema-content{padding-bottom:70px}
@media(max-width:720px){
  #xm-cinema-header .xm-cinema-header__inner{width:calc(100% - 28px);min-height:64px;gap:6px}
  #xm-cinema-header .xm-cinema-header__brand img{width:clamp(146px,43vw,202px)}
  #xm-cinema-header .xm-cinema-header__nav{gap:3px}
  #xm-cinema-header .xm-cinema-header__nav a{padding:10px 12px;font-size:12px;min-height:40px}
  #xm-cinema-footer .xm-cinema-footer__inner{width:calc(100% - 34px);padding:36px 0 22px}
  #xm-cinema-footer .xm-cinema-footer__main{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 20px}
  #xm-cinema-footer .xm-cinema-footer__brand{grid-column:1/-1}
  #xm-cinema-footer .xm-cinema-footer__brand img{width:180px}
  #xm-cinema-footer .xm-cinema-footer__bottom{margin-top:28px;padding-top:16px;display:block}
  #xm-cinema-footer .xm-cinema-footer__bottom p+p{margin-top:5px}
  body.xm-cinema-shell .xm-cinema-navigation__tabs{justify-content:center}
  body.xm-cinema-shell .xm-cinema-navigation__search{width:100%;max-width:none}
  body.xm-cinema-shell .xm-media-single .xm-media-frame{width:100%}
}
@media(max-width:360px){
  #xm-cinema-header .xm-cinema-header__brand img{width:136px}
  #xm-cinema-header .xm-cinema-header__nav a{padding:9px 8px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){#xm-cinema-header .xm-cinema-header__nav a{transition:none}}

/* Evita links duplicados: Filmes / Séries já aparecem no cabeçalho compacto. */
body.xm-cinema-shell .xm-cinema-navigation__hint{color:#b9bdcb;font-size:13px;font-weight:700;letter-spacing:.02em}
@media(max-width:720px){body.xm-cinema-shell .xm-cinema-navigation__hint{display:none}}
