
#mp3-player {
    position: fixed;
    margin-top: -9999999px
}

.sidebar-box {
    max-height: 160px;
    position: relative;
    overflow: hidden
}

.sidebar-box .read-more {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 30px 0;
    background-image: linear-gradient(to bottom, transparent, #fff)
}

.dark-mode .sidebar-box .read-more {
    background-image: linear-gradient(to top, var(--dark-mode-bg), transparent)
}

.pletra {
    line-height: 1.8
}

#player-volume {
  width: 100px !important
}

/* ============================================
   SISTEMA DE VOTACIÓN CON ESTRELLAS INTERACTIVO
   ============================================ */

/* Contenedor de estrellas */
.interactive-stars,
.static-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px
}

/* Icono de estrella */
.star-icon {
  cursor: pointer;
  transition: transform .1s;
  display: inline-block;
  line-height: 1
}

.star-icon:hover {
  transform: scale(1.1)
}

.star-icon svg {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px
}

/* Estados de estrellas */
.star-icon.empty {
  color: #6c757d!important
}

.star-icon.empty svg path,
.star-icon.half svg .star-part-empty {
  fill: #6c757d!important
}

.star-icon.full {
  color: #f39c12!important
}

.star-icon.full svg path,
.star-icon.half svg .star-part-full {
  fill: #f39c12!important
}

/* Hover en estrellas interactivas */
.interactive-stars .star-icon.hover,
.interactive-stars .star-icon:hover {
  color: #f1c40f!important
}

.interactive-stars .star-icon.hover svg .star-part-empty,
.interactive-stars .star-icon.hover svg path,
.interactive-stars .star-icon:hover svg .star-part-empty,
.interactive-stars .star-icon:hover svg path {
  fill: #f1c40f!important
}

.interactive-stars .star-icon.selected {
  color: #f39c12!important
}

.interactive-stars .star-icon.selected svg .star-part-empty,
.interactive-stars .star-icon.selected svg path {
  fill: #f39c12!important
}

/* Comportamiento durante hover y selección */
.interactive-stars.has-selection .star-icon svg .star-part-empty,
.interactive-stars.has-selection .star-icon svg path,
.interactive-stars.is-hovering .star-icon svg .star-part-empty,
.interactive-stars.is-hovering .star-icon svg path {
  fill: #6c757d!important
}

.interactive-stars.is-hovering .star-icon.hover svg .star-part-empty,
.interactive-stars.is-hovering .star-icon.hover svg path {
  fill: #f1c40f!important
}

.interactive-stars.has-selection .star-icon.selected svg .star-part-empty,
.interactive-stars.has-selection .star-icon.selected svg path {
  fill: #f39c12!important
}

/* Botón votar */
.btn-votar {
  animation: fadeIn .3s;
  vertical-align: middle
}

@keyframes fadeIn {
  from {
    opacity: 0
  }
  to {
    opacity: 1
  }
}

/* Estado votado */
.voted .star-icon {
  cursor: default
}

.voted .star-icon:hover {
  transform: none
}

/* Restricción de voto */
.restricted-vote .star-icon {
  cursor: not-allowed;
  opacity: .7
}

.crop-imgyt {
  clip-path: inset(14% 8% 18% 8%);
  transform: scale(1.1);
}

/* --- LEADGUITAR MODERN AUDIO PLAYER (LGMP) --- */

.lgtr-player-modern {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    background-image: linear-gradient(145deg, rgb(238 244 252) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.dark-mode .lgtr-player-modern {
    background: var(--bg-grey);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    background-image: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.15) 100%);
}

.seeker-container {
    padding: 0 15px;
    margin: 10px 0;
}

/* Seek Bar Modern */
.player-seeker-bar {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.1);
  background-image: linear-gradient(var(--link-blue), var(--link-blue));
  background-size: 0% 100%;
  background-repeat: no-repeat;
  border-radius: 4px;
  outline: none;
  margin: 10px 0;
  cursor: pointer;
  transition: background 0.1s ease;
}

.player-seeker-bar:hover {
  background-color: rgba(0, 0, 0, 0.15);
}

.dark-mode .player-seeker-bar {
  background-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .player-seeker-bar:hover {
  background-color: rgba(255, 255, 255, 0.15);
}


.player-seeker-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  background: var(--link-blue-dm);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 1px 10px rgb(38 128 208 / 41%);
  border: 2px solid #fff;
  transition: transform 0.1s;
}

.player-seeker-bar::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.player-seeker-bar::-moz-range-thumb {
  width: 13px;
  height: 13px;
  background: var(--link-blue-dm);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 1px 10px rgb(38 128 208 / 41%);
  border: 2px solid #fff;
}

/* Controls Layout */
.player-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px 12px;
}

/* Circular Play Button */
.play-pause-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 1px 10px rgb(38 128 208 / 41%);
    border: none;
    padding: 0;
}

.dark-mode .play-pause-btn {
    background: var(--link-blue-dm);
}

.play-pause-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 2px 15px rgb(38 128 208 / 41%);
    background: var(--link-blue);
}

.play-pause-btn:active {
    transform: scale(0.94);
}

/* CSS Icons for Play/Pause (compatible with old styles but modernized) */
.play-pause-btn .play-icon {
    width: 0 !important;
    height: 0 !important;
    display: block !important;
    border-style: solid !important;
    border-width: 10px 0 10px 18px !important;
    border-color: transparent transparent transparent #15181d !important;
    margin-left: 4px !important;
    transition: all 0.1s ease !important;
    background: transparent !important;
    padding: 0 !important;
}

.play-pause-btn.paused .play-icon {
    width: 18px !important;
    height: 20px !important;
    border-style: double !important;
    border-width: 0 0 0 18px !important;
    border-color: #15181d !important;
    margin-left: 0 !important;
}

.player-time-info {
    font-size: 1.3rem;
    color: #475569;
}

.dark-mode .player-time-info {
    color: #cbd5e1;
}

.player-time-info #current-time {
    color: var(--link-blue);
    font-weight: bold;
}

/* Volume Group */
.volume-control-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dark-mode .volume-control-wrapper {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.volume-control-wrapper label {
    color: #64748b;
}

.dark-mode .volume-control-wrapper label {
    color: #94a3b8;
}


.volume-slider-mini {
    width: 100px !important;
    height: 4px !important;
    margin: 0 !important;
}

.volume-slider-mini::-webkit-slider-thumb {
  width: 10px;
  height: 10px;
  box-shadow: 0 0 4px rgba(0,0,0,0.5);
}

@media (max-width: 576px) {
    .player-controls-row {
        flex-wrap: nowrap;
        gap: 8px;
        padding: 0 10px 10px;
    }
    .player-time-info {
        font-size: 1.1rem;
    }
    .volume-slider-mini {
        width: 80px !important;
    }
    .volume-control-wrapper {
        padding: 4px 6px;
        gap: 4px;
    }
}