/* GB Player 0.0.31
 * R2/B2/HLS/MP4: visual clássico do ArtPlayer usado nas primeiras builds.
 * YouTube: mantém a skin aprovada da 0.0.26 sem alterações funcionais.
 */

/* Visual clássico das primeiras builds para mídia própria. */
.eixo-artplayer-official,
.eixo-artplayer {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.eixo-artplayer-official .art-video-player,
.eixo-artplayer .art-video-player {
  width: 100% !important;
  height: 100% !important;
}

/* YouTube: preview HD + iframe oficial lazy-load. */
.eixo-youtube-embed-shell{position:relative;width:100%;max-width:100%;aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden}
.eixo-youtube-frame-slot,.eixo-youtube-frame-slot iframe,.eixo-youtube-poster{position:absolute;inset:0;width:100%;height:100%}
.eixo-youtube-frame-slot{background:#000}
.eixo-youtube-frame-slot iframe{display:block;border:0}
.eixo-youtube-poster{z-index:2;padding:0;border:0;margin:0;cursor:pointer;background:#000;overflow:hidden}
.eixo-youtube-poster[hidden]{display:none!important}
.eixo-youtube-poster>img{display:block;width:100%;height:100%;object-fit:cover}
.eixo-youtube-poster-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.18))}
.eixo-youtube-play{position:absolute;left:50%;top:50%;width:72px;height:72px;transform:translate(-50%,-50%);filter:drop-shadow(0 8px 20px rgba(0,0,0,.35));transition:transform .18s ease}
.eixo-youtube-play svg{display:block;width:100%;height:100%}
.eixo-youtube-poster:hover .eixo-youtube-play,.eixo-youtube-poster:focus-visible .eixo-youtube-play{transform:translate(-50%,-50%) scale(1.06)}
.eixo-youtube-poster:focus-visible{outline:3px solid #23ade5;outline-offset:-3px}
@media(max-width:640px){.eixo-youtube-play{width:58px;height:58px}}


/* YouTube 0.0.31: embed oficial básico, sem camada customizada. */
.eixo-youtube-basic-embed{width:100%;max-width:100%;aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden;position:relative}
.eixo-youtube-basic-embed iframe{display:block;width:100%;height:100%;border:0;background:#000}

/* Fallback nativo: só aparece se o CDN/runtime do ArtPlayer não carregar. */
.eixo-artplayer .eixo-native-video-fallback,
.eixo-artplayer-official .eixo-native-video-fallback{
  display:block;
  width:100%;
  height:100%;
  background:#000;
  object-fit:contain;
}

/* 0.0.53 — YouTube lite + sticky opcional após o primeiro clique. */
.eixo-youtube-sticky-sentinel{display:block;width:100%;height:0;pointer-events:none}
.eixo-youtube-sticky-close{position:absolute;z-index:8;right:8px;top:8px;width:34px;height:34px;border:0;border-radius:50%;background:rgba(0,0,0,.72);color:#fff;font-size:24px;line-height:30px;cursor:pointer}
.eixo-youtube-embed-shell.is-eixo-sticky{position:fixed!important;right:18px;bottom:18px;width:min(360px,calc(100vw - 36px))!important;height:auto!important;z-index:99990;border-radius:12px!important;box-shadow:0 16px 42px rgba(0,0,0,.38)}
@media(max-width:767px){.eixo-youtube-embed-shell.is-eixo-sticky{right:10px;bottom:10px;width:min(320px,calc(100vw - 20px))!important}}

/* b2simple57 · Player oficial Dailymotion */
.eixo-dailymotion-embed-shell{position:relative;width:100%;max-width:100%;aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden}
.eixo-dailymotion-embed-shell iframe{display:block;position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
.eixo-dailymotion-error{display:flex;align-items:center;justify-content:center;min-height:260px;padding:24px;border-radius:12px;background:#111316;color:#fff;text-align:center}

/* b2simple58 · Dailymotion click-to-load / autoplay guard */
.eixo-dailymotion-frame-slot,.eixo-dailymotion-frame-slot iframe,.eixo-dailymotion-poster{position:absolute;inset:0;width:100%;height:100%}
.eixo-dailymotion-frame-slot{background:#000}
.eixo-dailymotion-frame-slot iframe{display:block;border:0;background:#000}
.eixo-dailymotion-poster{z-index:2;padding:0;border:0;margin:0;cursor:pointer;background:#000;overflow:hidden}
.eixo-dailymotion-poster[hidden]{display:none!important}
.eixo-dailymotion-poster>img{display:block;width:100%;height:100%;object-fit:cover}
.eixo-dailymotion-poster-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.22))}
.eixo-dailymotion-play{position:absolute;left:50%;top:50%;width:72px;height:72px;transform:translate(-50%,-50%);filter:drop-shadow(0 8px 20px rgba(0,0,0,.35));transition:transform .18s ease}
.eixo-dailymotion-play svg{display:block;width:100%;height:100%}
.eixo-dailymotion-poster:hover .eixo-dailymotion-play,.eixo-dailymotion-poster:focus-visible .eixo-dailymotion-play{transform:translate(-50%,-50%) scale(1.06)}
.eixo-dailymotion-poster:focus-visible{outline:3px solid currentColor;outline-offset:-3px}
@media(max-width:640px){.eixo-dailymotion-play{width:58px;height:58px}}

/* GB Player 1.0.14 · embed universal seguro por URL. */
.eixo-universal-embed-shell{position:relative;width:100%;max-width:100%;aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden}
.eixo-universal-embed-shell iframe{display:block;position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
.eixo-universal-embed-error{display:grid;place-items:center;min-height:220px;padding:24px;background:#111;color:#fff;border-radius:12px;text-align:center}
