/* V23.8 — textos factuais e players no mesmo sistema visual do site. */
.barguncinha-videos-section{
  padding:clamp(90px,11vw,150px) clamp(24px,5.2vw,80px);
  color:var(--white);
  background:#070916;
}
.barguncinha-videos-head{
  display:grid;
  grid-template-columns:minmax(180px,.38fr) minmax(0,1fr);
  gap:30px;
  align-items:end;
  margin-bottom:clamp(42px,6vw,72px);
}
.barguncinha-videos-head h2{
  max-width:900px;
  margin:0;
  font-family:Anton,Impact,sans-serif;
  font-size:clamp(4rem,8vw,8rem);
  font-weight:400;
  line-height:.9;
  text-transform:uppercase;
}
.barguncinha-videos-head>p:last-child{
  grid-column:2;
  max-width:650px;
  margin:0;
  color:rgba(255,255,255,.68);
  line-height:1.7;
}
.barguncinha-video-grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:clamp(22px,2.4vw,34px);
  align-items:start;
}
.barguncinha-video-card{
  grid-column:span 3;
  min-width:0;
  margin:0;
}
.barguncinha-video-card.is-wide{grid-column:span 6}

/* Player visual igual ao sistema MM usado em Música e Vídeos. */
.barguncinha-mm-player{
  position:relative;
  overflow:hidden;
  width:100%;
  border:3px solid currentColor;
  border-radius:22px;
  color:#fff;
  background:#07070c;
  box-shadow:9px 9px 0 var(--pink);
}
.barguncinha-mm-player .player-stage{position:relative;background:#000}
.barguncinha-video-card.is-wide .player-stage{aspect-ratio:16/9}
.barguncinha-video-card.is-vertical .player-stage{aspect-ratio:9/16;max-height:680px}
.barguncinha-mm-player video{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  background:#000;
}
.barguncinha-mm-player .player-poster-button{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  border:0;
  color:#fff;
  background:transparent;
  cursor:pointer;
}
.barguncinha-mm-player .player-poster-button::before{
  content:"";
  width:82px;
  height:82px;
  border-radius:50%;
  background:var(--pink);
  box-shadow:0 0 0 12px rgba(255,255,255,.12);
  transition:transform .2s ease;
}
.barguncinha-mm-player .player-poster-button::after{
  position:absolute;
  content:"";
  width:0;
  height:0;
  border-top:12px solid transparent;
  border-bottom:12px solid transparent;
  border-left:19px solid #fff;
  transform:translateX(3px);
}
.barguncinha-mm-player .player-poster-button:hover::before{transform:scale(1.06)}
.barguncinha-mm-player.playing .player-poster-button{opacity:0;pointer-events:none}
.barguncinha-mm-player .player-controls{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:14px;
  background:linear-gradient(90deg,#10116d,#191ac8);
}
.barguncinha-mm-player .control-button{
  display:grid;
  width:42px;
  height:42px;
  padding:0;
  place-items:center;
  border:1px solid rgba(255,255,255,.35);
  border-radius:50%;
  color:#fff;
  background:transparent;
  cursor:pointer;
}
.barguncinha-mm-player .control-button svg{width:18px;height:18px;fill:currentColor}
.barguncinha-mm-player .control-button .pause-icon,
.barguncinha-mm-player.playing .control-button .play-icon{display:none}
.barguncinha-mm-player.playing .control-button .pause-icon{display:block}
.barguncinha-mm-player .player-id{
  display:flex;
  min-width:0;
  align-items:center;
  gap:10px;
}
.barguncinha-mm-player .mm-mark{
  display:grid;
  flex:0 0 44px;
  width:44px;
  height:44px;
  place-items:center;
  border:2px solid var(--yellow);
  border-radius:50%;
}
.barguncinha-mm-player .mm-mark img{width:29px;height:auto}
.barguncinha-mm-player .player-meta{min-width:0}
.barguncinha-mm-player .player-meta strong,
.barguncinha-mm-player .player-meta small{
  display:block;
  overflow:visible;
  white-space:normal;
  text-overflow:clip;
  overflow-wrap:anywhere;
}
.barguncinha-mm-player .player-meta strong{
  font-size:12px;
  line-height:1.22;
}
.barguncinha-mm-player .player-meta small{
  margin-top:3px;
  color:rgba(255,255,255,.62);
  font-size:9px;
  line-height:1.25;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.barguncinha-mm-player .timeline{
  display:grid;
  grid-column:1/-1;
  grid-template-columns:minmax(80px,1fr) auto;
  gap:10px;
  align-items:center;
}
.barguncinha-mm-player .timeline input{width:100%;accent-color:var(--pink);cursor:pointer}
.barguncinha-mm-player .time{
  min-width:82px;
  color:rgba(255,255,255,.65);
  font-size:9px;
  text-align:right;
}
.barguncinha-mm-player .player-actions{display:flex;gap:7px;justify-content:flex-end}
.barguncinha-mm-player .player-loader{
  position:absolute;
  inset:0;
  display:none;
  place-items:center;
  background:rgba(0,0,0,.42);
  pointer-events:none;
}
.barguncinha-mm-player.loading .player-loader{display:grid}
.barguncinha-mm-player .player-loader span{
  width:58px;
  height:58px;
  border:3px solid rgba(255,255,255,.25);
  border-top-color:var(--yellow);
  border-radius:50%;
  animation:barguncinha-player-spin .8s linear infinite;
}
.barguncinha-mm-player.has-error .player-poster-button::before{background:#4f4f59}
@keyframes barguncinha-player-spin{to{transform:rotate(360deg)}}

@container prototype (max-width:1599px){
  .barguncinha-video-card{grid-column:span 6}
  .barguncinha-video-card.is-wide{grid-column:span 6}
}
@container prototype (max-width:760px){
  .barguncinha-videos-section{padding:88px 20px}
  .barguncinha-videos-head{grid-template-columns:minmax(0,1fr);gap:16px}
  .barguncinha-videos-head>p:last-child{grid-column:auto}
  .barguncinha-videos-head h2{min-width:0;font-size:clamp(3.2rem,15cqw,4.3rem);overflow-wrap:break-word}
  .barguncinha-video-grid{grid-template-columns:1fr;gap:30px}
  .barguncinha-video-card,
  .barguncinha-video-card.is-wide{
    grid-column:auto;
    width:100%;
  }
  .barguncinha-video-card.is-vertical{
    width:min(100%,370px);
    justify-self:center;
  }
  .barguncinha-mm-player{
    border-width:2px;
    border-radius:18px;
    box-shadow:6px 6px 0 var(--pink);
  }
  .barguncinha-mm-player .player-controls{
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:8px;
    padding:10px;
  }
  .barguncinha-mm-player .control-button{width:39px;height:39px}
  .barguncinha-mm-player .mm-mark{flex-basis:39px;width:39px;height:39px}
  .barguncinha-mm-player .mm-mark img{width:25px}
  .barguncinha-mm-player .player-meta strong{font-size:11px}
  .barguncinha-mm-player .player-meta small{font-size:8px}
  .barguncinha-mm-player .player-poster-button::before{width:68px;height:68px}
  .barguncinha-mm-player .player-poster-button::after{
    border-top-width:10px;
    border-bottom-width:10px;
    border-left-width:16px;
  }
}


/* V23.10 — controles legíveis em tablets, celulares e cards estreitos. */
.barguncinha-mm-player{
  container-name:barguncinha-player;
  container-type:inline-size;
}

@container barguncinha-player (max-width:420px){
  .player-controls{
    grid-template-columns:36px minmax(0,1fr) auto;
    gap:8px;
    padding:11px;
  }
  .control-button{
    width:36px;
    height:36px;
  }
  .control-button svg{width:16px;height:16px}
  .player-id{gap:8px}
  .mm-mark{
    flex-basis:36px;
    width:36px;
    height:36px;
  }
  .mm-mark img{width:23px}
  .player-meta strong{
    display:-webkit-box;
    max-width:100%;
    overflow:hidden;
    font-size:11px;
    line-height:1.18;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }
  .player-meta small{
    display:-webkit-box;
    max-width:100%;
    overflow:hidden;
    font-size:7.5px;
    line-height:1.22;
    letter-spacing:.06em;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }
  .timeline{
    grid-template-columns:minmax(62px,1fr) auto;
    gap:8px;
  }
  .time{
    min-width:70px;
    font-size:8px;
  }
  .player-actions{gap:5px}
}

@container barguncinha-player (max-width:310px){
  .player-controls{
    grid-template-columns:34px minmax(0,1fr);
    gap:7px;
    padding:9px;
  }
  .control-button{width:34px;height:34px}
  .mm-mark{display:none}
  .player-id{gap:0}
  .player-actions{
    grid-column:1/-1;
    justify-content:flex-start;
  }
  .timeline{grid-template-columns:minmax(50px,1fr) auto}
}

@media (prefers-reduced-motion:reduce){
  .barguncinha-mm-player .player-loader span{animation:none}
}
.barguncinha-mm-player .player-status{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.barguncinha-mm-player .player-error{
  position:absolute;
  inset:0;
  z-index:4;
  display:grid;
  align-content:center;
  justify-items:center;
  gap:14px;
  padding:24px;
  text-align:center;
  background:rgba(2,3,10,.92);
}
.barguncinha-mm-player .player-error[hidden]{display:none}
.barguncinha-mm-player .player-error p{margin:0;font-size:.8rem;line-height:1.5}
.barguncinha-mm-player .player-error button{
  padding:11px 15px;
  border:1px solid rgba(255,255,255,.7);
  color:#fff;
  background:transparent;
  font-size:.66rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  cursor:pointer;
}
