  /* 🔥 Overlay invisível que captura o mouse durante o arrasto */
  .drag-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99998; /* Fica logo abaixo do player (que é 99999) */
    display: none;  /* Invisível e inativo por padrão */
    cursor: grabbing !important; /* Garante o cursor de "mão fechada" em toda a tela */
  }

  /* Quando a classe 'active' é adicionada via JS, ele fica visível para eventos */
  .drag-overlay.active {
    display: block;
  }

  #global-player-container {
    display: none;
    position: fixed;
    top: 300px;
    right: 20px;
    z-index: 99999; /* Fica acima do overlay */
    text-align: center;
    font-family: system-ui, -apple-system, sans-serif;
    cursor: grab;
    user-select: none;
    width: fit-content;
    height: fit-content;
  }

  #global-player-container.dragging {
    cursor: grabbing;
    opacity: 0.85;
  }  

.ring {
  position: relative;
  width: 80px;
  height: 80px;
  cursor: pointer;
  outline: none;
  margin: 0 auto;
  touch-action: none;
}

.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); width: 100%; height: 100%; pointer-events: none; }
.ring circle { fill: none; stroke-width: 8; stroke-linecap: round; }

.track    { stroke: #2d2d2d; }
.buffered { stroke: #444444; stroke-width: 4; }
.progress { stroke: #ff4081; transition: stroke-dashoffset 0.1s linear; }

.knob {
  position: absolute;
  width: 10px; height: 10px;
  background: #fff; border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 2px rgba(255, 64, 129, 0.4);
  pointer-events: none;
}

.play {
  position: absolute; 
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none; 
  background: #ff4081; 
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  display: grid; place-items: center;
}

#global-close-btn {
    position: absolute;
    top: -5px;
    right: -12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ff4081;
    color: #fff;
    border: 2px solid #1a1a1a;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    padding: 0;
}

.titulo-gotico-mini {
  color: #ff4081;
  font-family: 'Pirata One', cursive;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
  font-size: 1.5rem;
  margin: 5px 0;
}
    