/* XMulti 5.5 — visual simplificado focado no player e consistente com o tema. */
#single.xm-simple-single{padding:20px 0 52px;background:#000;color:#f6f8ff}
#single.xm-simple-single>.wrap{display:block;max-width:1120px;padding:0 16px;margin:0 auto}
#single.xm-simple-single .content{width:100%;max-width:100%;min-width:0}
.xm-simple-intro{margin:0 0 16px}
.xm-simple-back{color:#a3bcda;font-size:12px;font-weight:700;text-decoration:none}
.xm-simple-back:hover{color:#9d6bff}
#single.xm-simple-single .xm-simple-intro h1{font-size:clamp(22px,3vw,32px);line-height:1.22;font-weight:800;color:#fff;margin:10px 0 9px;overflow-wrap:anywhere}
.xm-simple-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.xm-simple-meta span{display:inline-flex;align-items:center;border-radius:7px;background:#121b2a;border:1px solid #243249;color:#b6cce4;font-size:12px;line-height:1.35;padding:6px 10px}
.xm-simple-watch{overflow:hidden;border-radius:15px;background:#08121e;border:1px solid #21304a;box-shadow:0 15px 40px rgba(0,0,0,.25)}
.xm-simple-watch__bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#0d1a2b;color:#fff;border-bottom:1px solid #1a314c}
.xm-simple-watch__bar strong{font-size:14px;font-weight:800}
.xm-simple-watch__bar span{font-size:12px;color:#9ab9d5}
#single.xm-simple-single #iframe{width:100%;max-width:none;margin:0;padding:0}
#single.xm-simple-single #player{position:relative;width:100%;aspect-ratio:16 / 9;min-height:0;border-radius:0;background:#02060c;overflow:hidden}
#single.xm-simple-single #player img{display:block;width:100%;height:100%;object-fit:cover}
#single.xm-simple-single #player iframe{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0}
.xm-simple-message{position:absolute;inset:0;display:grid;place-content:center;text-align:center;color:#dde6ef;font-size:18px;font-weight:800;padding:20px}
#single.xm-simple-single #players{display:flex;justify-content:flex-start;gap:9px;flex-wrap:wrap;padding:12px 14px;margin:0;border-top:1px solid #1b3046;background:#0a1623}
#single.xm-simple-single #players a{display:inline-flex;align-items:center;justify-content:center;min-width:105px;min-height:42px;margin:0;padding:9px 15px;border-radius:9px;border:1px solid #314259;background:#142135;color:#eef7ff;font-size:13px;font-weight:800;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
#single.xm-simple-single #players a:hover,#single.xm-simple-single #players a.is-active{background:#8224e3;border-color:#af64fc;color:#fff;transform:none;box-shadow:none}
.xm-simple-muted{padding:13px 15px;color:#b9cadf;font-size:13px}
.xm-simple-fold{border-bottom:1px solid #233146;padding:0 6px;color:#b6c6d8;margin:5px 0 0}
.xm-simple-fold summary{cursor:pointer;list-style:revert;display:list-item;list-style-position:inside;padding:13px 5px;font-size:13px;font-weight:750;color:#c2d4e6}
.xm-simple-fold[open] summary{color:#fff}
.xm-simple-fold p{padding:0 5px 15px;color:#b5cadd;font-size:13px;line-height:1.65}
#single.xm-simple-single .xmulti-match-facts{margin:0 0 14px;padding:13px;border:1px solid #213148;box-shadow:none;border-radius:10px;background:#091421}
#single.xm-simple-single .xmulti-match-facts h2{font-size:14px;margin:0 0 8px}
#single.xm-simple-single .xmulti-match-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.xm-simple-related{margin-top:30px}
.xm-simple-related .sec_title{margin-bottom:13px!important;font-size:21px}
#single.xm-simple-single .xm-simple-related ul.match{grid-template-columns:repeat(4,minmax(0,1fr))!important}
@media(max-width:760px){
 #single.xm-simple-single{padding:14px 0 32px}
 #single.xm-simple-single>.wrap{padding:0 10px}
 .xm-simple-watch{border-radius:11px}
 .xm-simple-watch__bar{padding:10px 12px}
 .xm-simple-watch__bar span{font-size:11px}
 #single.xm-simple-single #players{gap:7px;padding:10px}
 #single.xm-simple-single #players a{flex:1 1 calc(50% - 7px);min-width:0;font-size:12px}
 #single.xm-simple-single .xmulti-match-facts-grid{grid-template-columns:1fr}
 #single.xm-simple-single .xm-simple-related ul.match{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:550px){#single.xm-simple-single .xm-simple-related ul.match{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){#single.xm-simple-single #players a{transition:none}}

/* Placeholder elegante e discreto: substitui a imagem antiga com texto e setas. */
.xm-simple-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;text-align:center;background:linear-gradient(0deg,rgba(0,7,17,.83),rgba(0,12,25,.68)),url('../img/stadium-premium.webp') center/cover no-repeat;color:#fff}
.xm-simple-placeholder__play{width:62px;height:62px;display:grid;place-items:center;padding-left:3px;border-radius:50%;background:linear-gradient(135deg,#8224e3,#2d9eff);border:1px solid #bd80ff;box-shadow:0 9px 28px #0008,0 0 24px #7c32d855;color:white;font-size:23px}
.xm-simple-placeholder strong{font-size:clamp(14px,2vw,20px);font-weight:750;line-height:1.2;color:#f8faff;text-shadow:0 2px 7px #0008}

/* 5.6: aviso do Cloudflare 1.1.1.1 sempre visível, sem esconder o player. */
.xm-cloudflare-tip{display:flex;align-items:center;gap:14px;margin:14px 0 8px;padding:15px 17px;border:1px solid rgba(247,190,65,.58);border-left:4px solid #facc15;border-radius:13px;background:linear-gradient(105deg,#242014 0%,#141b25 65%,#101a2d 100%);box-shadow:0 6px 24px rgba(0,0,0,.2);color:#fff}
.xm-cloudflare-tip__icon{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:rgba(250,204,21,.14);font-size:24px;color:#ffdb69}
.xm-cloudflare-tip__content{min-width:0;flex:1}
.xm-cloudflare-tip__content strong{display:block;font-size:15px;line-height:1.3;font-weight:800;color:#ffe49e}
.xm-cloudflare-tip__content p{margin:4px 0 0;color:#d5e1ef;font-size:12.5px;line-height:1.5}
.xm-cloudflare-tip__content b{color:#fff;font-weight:800}
.xm-cloudflare-tip__button{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:8px;border-radius:10px;padding:12px 14px;background:#2468db;color:#fff!important;font-weight:800;font-size:12px;line-height:1.3;text-decoration:none!important;box-shadow:0 5px 12px rgba(0,0,0,.16);transition:background .15s}
.xm-cloudflare-tip__button:hover{background:#3785f8;color:#fff!important}
@media(max-width:700px){.xm-cloudflare-tip{gap:11px;align-items:flex-start;flex-wrap:wrap;padding:13px;margin-top:12px}.xm-cloudflare-tip__icon{flex-basis:36px;width:36px;height:36px;border-radius:10px;font-size:20px}.xm-cloudflare-tip__content{flex-basis:calc(100% - 47px)}.xm-cloudflare-tip__content strong{font-size:14px}.xm-cloudflare-tip__content p{font-size:12px}.xm-cloudflare-tip__button{width:100%;padding:11px 12px}}
@media(prefers-reduced-motion:reduce){.xm-cloudflare-tip__button{transition:none}}


/* XMulti 5.7: cards de 'Outros canais' independentes do CSS do catálogo,
 * para não estourarem logos e textos na página de transmissão. */
#single.xm-simple-single .xm-simple-related .xm-related-channel-grid {
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    align-items:stretch!important;
    gap:14px!important;
    margin:0!important;
    padding:0!important;
    min-width:0;
    max-width:100%;
    list-style:none!important;
}
#single.xm-simple-single .xm-related-channel-grid *{box-sizing:border-box}
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card{
    --xm-tint:rgba(28,132,231,.2);
    position:relative!important;display:block!important;float:none!important;
    width:100%!important;min-width:0!important;max-width:none!important;
    margin:0!important;padding:0!important;border-radius:14px!important;
    border:1px solid #234767!important;
    background:#071829!important;overflow:hidden!important;
    box-shadow:0 8px 22px rgba(0,0,0,.25)!important;
    transition:transform .18s ease,border-color .18s ease;
}
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card[data-xm-category="esportes"]{--xm-tint:rgba(0,170,242,.3)}
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card[data-xm-category="filmes-series"]{--xm-tint:rgba(152,83,239,.28)}
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card[data-xm-category="infantil"]{--xm-tint:rgba(28,208,117,.2)}
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card[data-xm-category="24h"]{--xm-tint:rgba(255,67,90,.18)}
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card:hover{transform:translateY(-3px);border-color:#3a9ddd!important}
#single.xm-simple-single .xm-related-channel-grid a.xm-channel-card__link{
    display:block!important;width:100%!important;min-width:0!important;
    color:#f6faff!important;text-decoration:none!important;line-height:normal!important;
}
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card__art{
    position:relative!important;isolation:isolate;display:flex!important;
    align-items:center!important;justify-content:center!important;
    width:100%!important;height:auto!important;aspect-ratio:16/9;
    min-height:0!important;max-height:none!important;overflow:hidden!important;
    padding:0!important;margin:0!important;
    background:radial-gradient(ellipse 90% 80% at 50% 10%,var(--xm-tint),transparent 78%),
        linear-gradient(0deg,rgba(2,13,30,.48),rgba(1,17,43,.53)),
        url('../img/stadium-premium.webp') center/cover no-repeat!important;
    border-bottom:1px solid rgba(75,135,187,.25)!important;
}
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card__art::after{
    content:"";position:absolute;inset:0;z-index:0;
    background:linear-gradient(0deg,rgba(1,12,25,.5),transparent 70%);
    pointer-events:none;
}
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card__lights{
    position:absolute!important;inset:0!important;pointer-events:none!important;
    background:linear-gradient(130deg,rgba(0,181,255,.12),transparent 44%,rgba(109,65,220,.15));
}
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card__fallback{
    position:absolute!important;inset:0!important;display:flex!important;
    align-items:center!important;justify-content:center!important;gap:6px!important;
    color:#a1e2fb!important;z-index:1;
}
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card__fallback svg{
    display:block;width:27px!important;height:27px!important;max-width:27px!important;
}
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card__fallback span{
    font-size:25px!important;font-weight:900!important;color:#c2eefe!important;
}
#single.xm-simple-single .xm-related-channel-grid img.xm-channel-card__logo{
    position:relative!important;z-index:2!important;display:block!important;
    width:auto!important;height:auto!important;
    max-width:60%!important;max-height:58%!important;
    min-width:0!important;min-height:0!important;object-fit:contain!important;
    border:0!important;border-radius:0!important;margin:0!important;padding:0!important;
    box-shadow:none!important;filter:drop-shadow(0 4px 10px rgba(0,0,0,.6));
}
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card.is-fallback img.xm-channel-card__logo{display:none!important}
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card__overlay{
    position:absolute!important;inset:0!important;z-index:3!important;
    display:flex!important;justify-content:center!important;align-items:center!important;
    gap:8px!important;margin:0!important;padding:0!important;
    background:rgba(0,12,28,.74)!important;color:#fff!important;
    opacity:0!important;font-size:12px!important;font-weight:800!important;
    transition:opacity .18s ease!important;
}
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card__play{
    width:34px!important;height:34px!important;display:grid!important;place-items:center!important;
    background:#078af0!important;color:#fff!important;border-radius:50%!important;
}
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card__play svg{
    width:18px!important;height:18px!important;
}
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card:hover .xm-channel-card__overlay,
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card:focus-within .xm-channel-card__overlay{opacity:1!important}
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card__details{
    position:relative!important;display:block!important;padding:10px 11px 12px!important;
    margin:0!important;min-height:68px!important;background:transparent!important;
}
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card__title{
    display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2;
    overflow:hidden!important;white-space:normal!important;overflow-wrap:anywhere;
    min-height:30px;max-height:36px;margin:0!important;padding:0 12px 0 0!important;
    font-size:12px!important;font-weight:800!important;line-height:1.35!important;color:#f6faff!important;
}
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card__category{
    display:inline-flex!important;align-items:center!important;margin-top:8px!important;padding:4px 8px!important;
    border:1px solid #217eab!important;border-radius:99px!important;
    background:#09263e!important;color:#73d3ff!important;font-weight:750!important;
    font-size:10px!important;line-height:1!important;
}
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card__chevron{
    position:absolute;right:10px;bottom:14px;color:#79abc9;font-size:14px;
}
#single.xm-simple-single .xm-related-channel-grid button.xm-channel-card__favorite{
    position:absolute!important;top:8px!important;right:8px!important;z-index:5!important;
    display:grid!important;place-items:center!important;cursor:pointer!important;
    width:29px!important;height:29px!important;padding:5px!important;margin:0!important;
    border:1px solid rgba(164,202,238,.34)!important;border-radius:8px!important;
    background:rgba(4,18,36,.8)!important;color:#e7efff!important;
    opacity:0;transition:opacity .16s ease;
}
#single.xm-simple-single .xm-related-channel-grid button.xm-channel-card__favorite svg{
    display:block;width:17px!important;height:17px!important;max-width:17px!important;
}
#single.xm-simple-single .xm-related-channel-grid button.xm-channel-card__favorite:hover,
#single.xm-simple-single .xm-related-channel-grid button.xm-channel-card__favorite:focus-visible,
#single.xm-simple-single .xm-related-channel-grid button.xm-channel-card__favorite.is-favorite,
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card:hover button.xm-channel-card__favorite{opacity:1;color:#ffe68c!important}
#single.xm-simple-single .xm-related-channel-grid button.xm-channel-card__favorite.is-favorite svg{fill:currentColor}
@media(max-width:850px){
  #single.xm-simple-single .xm-simple-related .xm-related-channel-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:11px!important}
}
@media(max-width:620px){
  #single.xm-simple-single .xm-simple-related .xm-related-channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  #single.xm-simple-single .xm-related-channel-grid .xm-channel-card__details{padding:9px 9px 11px!important}
  #single.xm-simple-single .xm-related-channel-grid .xm-channel-card__title{font-size:11px!important}
  #single.xm-simple-single .xm-related-channel-grid button.xm-channel-card__favorite{opacity:1;width:28px!important;height:28px!important}
  #single.xm-simple-single .xm-related-channel-grid .xm-channel-card__overlay{display:none!important}
}
@media(max-width:340px){
  #single.xm-simple-single .xm-simple-related .xm-related-channel-grid{gap:7px!important}
  #single.xm-simple-single .xm-related-channel-grid .xm-channel-card__category{font-size:9px!important}
}
@media(prefers-reduced-motion:reduce){
  #single.xm-simple-single .xm-related-channel-grid .xm-channel-card,
  #single.xm-simple-single .xm-related-channel-grid .xm-channel-card__overlay{transition:none!important}
}

/* Evita que o monograma fique visível por trás de um logo válido. */
#single.xm-simple-single .xm-related-channel-grid .xm-channel-card.has-logo .xm-channel-card__fallback{display:none!important}
