/* csPlayer.css - Player customizado YouTube (baseado em JustPlayer) */
.csPlayer, .cs-ctrls, .cs-overlay, .cs-progress { box-sizing: border-box; }
.csPlayer { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden; }
.csPlayer iframe { width: 100%; height: 100%; border: none; background: #000; pointer-events: none; }
.csPlayer .cs-iframe-overlay {
  position: absolute;
  inset: 0;
  z-index: 15;
  background: transparent;
  pointer-events: auto;
}
.cs-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  background: rgba(0,0,0,0.35);
  pointer-events: auto;
}
.cs-play-btn { background: none; border: none; outline: none; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.cs-ctrls { position: absolute; right: 16px; bottom: 16px; z-index: 13; display: flex; gap: 8px; background: rgba(0,0,0,0.32); border-radius: 8px; padding: 4px 8px; align-items: center; }
.cs-btn { width: 32px; height: 32px; border: 0; border-radius: 8px; background: #ffd700; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.18); transition: transform .12s, filter .12s; }
.cs-btn:hover { transform: translateY(-1px); filter: brightness(.93); }
.cs-btn img { width: 16px; height: 16px; display: block; pointer-events: none; filter: brightness(0) invert(1); }
.cs-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(255,255,255,0.12); z-index: 12; cursor: pointer; }
.cs-bar { height: 100%; background: #ffd700; width: 0; border-radius: 3px; transition: width .2s; }
@media (max-width: 600px) {
  .cs-ctrls { right: 8px; bottom: 8px; padding: 2px 4px; }
  .cs-btn { width: 28px; height: 28px; border-radius: 6px; }
  .cs-btn img { width: 13px; height: 13px; }
}
