.tq-sticky-player,
.tq-sticky-player *{
  box-sizing:border-box;
}

.tq-sticky-player{
  position:fixed;
  left:50%;
  bottom:18px;
  z-index:999999;
  width:min(760px,calc(100vw - 28px));
  transform:translateX(-50%);
  font-family:inherit;
  color:#fff8e8;
  background:linear-gradient(135deg,rgba(38,17,8,.97),rgba(75,31,18,.97));
  border:1px solid rgba(243,215,152,.35);
  border-radius:22px;
  box-shadow:0 18px 50px rgba(0,0,0,.38);
  overflow:hidden;
  backdrop-filter:blur(14px);
}

.tq-player-main{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:14px 16px 10px;
}

.tq-player-play{
  width:48px;
  height:48px;
  border:0;
  border-radius:999px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#321308;
  background:#f3d798;
  box-shadow:0 10px 22px rgba(0,0,0,.24);
  transition:transform .18s ease,opacity .18s ease;
}

.tq-player-play:hover{
  transform:translateY(-1px) scale(1.02);
}

.tq-player-play:disabled{
  cursor:wait;
  opacity:.72;
  transform:none;
}

.tq-player-play-icon{
  display:inline-block;
  transform:translateX(1px);
  font-size:18px;
  line-height:1;
}

.tq-sticky-player.is-playing .tq-player-play-icon{
  transform:translateX(0);
}

.tq-player-info{
  min-width:0;
}

.tq-player-title-row{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  line-height:1.25;
}

.tq-player-title{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:16px;
  letter-spacing:.02em;
}

.tq-player-artist{
  flex:0 0 auto;
  padding:3px 8px;
  border-radius:999px;
  color:#f3d798;
  background:rgba(255,255,255,.09);
  font-size:12px;
  letter-spacing:.08em;
}

.tq-player-tagline{
  margin-top:3px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:rgba(255,248,232,.72);
  font-size:13px;
}

.tq-player-current-lyric{
  margin-top:6px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#ffe9a8;
  font-size:15px;
  line-height:1.45;
}

.tq-player-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.tq-player-lyrics-toggle,
.tq-player-collapse,
.tq-player-resume-button{
  appearance:none;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  cursor:pointer;
  color:#fff8e8;
  background:rgba(255,255,255,.09);
  font-family:inherit;
  font-weight:700;
  transition:background .18s ease,transform .18s ease;
}

.tq-player-lyrics-toggle:hover,
.tq-player-collapse:hover,
.tq-player-resume-button:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.15);
}

.tq-player-lyrics-toggle{
  padding:8px 12px;
  font-size:13px;
}

.tq-player-collapse{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:15px;
}

.tq-player-progress-wrap{
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 44px;
  align-items:center;
  gap:9px;
  padding:0 16px 13px;
}

.tq-player-time{
  color:rgba(255,248,232,.7);
  font-size:12px;
  font-variant-numeric:tabular-nums;
}

.tq-player-duration{
  text-align:right;
}

.tq-player-progress{
  width:100%;
  accent-color:#f3d798;
  cursor:pointer;
}

.tq-player-resume{
  padding:0 16px 14px;
}

.tq-player-resume-button{
  width:100%;
  padding:10px 14px;
  color:#321308;
  background:#f3d798;
  border-color:#f3d798;
}

.tq-player-lyrics-panel{
  border-top:1px solid rgba(255,255,255,.1);
  background:rgba(0,0,0,.16);
  max-height:190px;
  overflow:hidden;
}

.tq-player-lyrics-list{
  max-height:190px;
  overflow-y:auto;
  padding:15px 20px 18px;
  scroll-behavior:smooth;
}

.tq-player-lyric-line{
  padding:5px 0;
  color:rgba(255,248,232,.48);
  line-height:1.55;
  font-size:14px;
  transition:color .18s ease,transform .18s ease,font-size .18s ease;
}

.tq-player-lyric-line.is-active{
  color:#ffe9a8;
  font-size:16px;
  font-weight:800;
  transform:translateX(4px);
}

.tq-player-lyric-line.is-clickable{
  cursor:pointer;
}

.tq-sticky-player.is-collapsed .tq-player-progress-wrap,
.tq-sticky-player.is-collapsed .tq-player-lyrics-panel,
.tq-sticky-player.is-collapsed .tq-player-resume,
.tq-sticky-player.is-collapsed .tq-player-tagline,
.tq-sticky-player.is-collapsed .tq-player-current-lyric{
  display:none !important;
}

.tq-sticky-player.is-collapsed .tq-player-main{
  padding:12px 14px;
}

.tq-sticky-player.is-collapsed{
  width:min(420px,calc(100vw - 28px));
}

.tq-sticky-player.is-collapsed .tq-player-collapse{
  transform:rotate(180deg);
}

.tq-sticky-player.is-collapsed .tq-player-collapse:hover{
  transform:rotate(180deg) translateY(1px);
}

body.tq-player-has-sticky{
  padding-bottom:118px;
}

@media (max-width:640px){
  .tq-sticky-player{
    bottom:10px;
    width:calc(100vw - 18px);
    border-radius:18px;
  }

  .tq-player-main{
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:10px;
    padding:12px 12px 9px;
  }

  .tq-player-play{
    width:42px;
    height:42px;
  }

  .tq-player-title{
    font-size:15px;
  }

  .tq-player-artist,
  .tq-player-tagline{
    display:none;
  }

  .tq-player-current-lyric{
    font-size:13px;
    margin-top:3px;
  }

  .tq-player-lyrics-toggle{
    padding:7px 10px;
  }

  .tq-player-collapse{
    display:none;
  }

  .tq-player-progress-wrap{
    grid-template-columns:38px minmax(0,1fr) 38px;
    padding:0 12px 11px;
  }

  .tq-player-lyrics-panel,
  .tq-player-lyrics-list{
    max-height:160px;
  }

  .tq-player-lyrics-list{
    padding:12px 16px 15px;
  }

  body.tq-player-has-sticky{
    padding-bottom:104px;
  }

  .tq-sticky-player.tq-mobile-collapsed .tq-player-lyrics-panel{
    display:none !important;
  }
}

/* v2.1.0 mobile icon rendering fix
   Draw the play/pause icon with CSS instead of relying on Unicode glyphs.
   This prevents Android/mobile fonts or theme button styles from hiding the triangle. */
.tq-sticky-player .tq-player-play{
  appearance:none !important;
  -webkit-appearance:none !important;
  width:48px !important;
  min-width:48px !important;
  max-width:48px !important;
  height:48px !important;
  min-height:48px !important;
  max-height:48px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:999px !important;
  line-height:1 !important;
  overflow:hidden !important;
  flex:0 0 48px !important;
}

.tq-sticky-player .tq-player-play-icon{
  position:relative !important;
  display:block !important;
  width:22px !important;
  height:22px !important;
  font-size:0 !important;
  line-height:0 !important;
  color:transparent !important;
  transform:none !important;
}

.tq-sticky-player .tq-player-play-icon::before,
.tq-sticky-player .tq-player-play-icon::after{
  box-sizing:border-box !important;
}

.tq-sticky-player .tq-player-play-icon::before{
  content:"" !important;
  position:absolute !important;
  left:7px !important;
  top:3px !important;
  width:0 !important;
  height:0 !important;
  border-top:8px solid transparent !important;
  border-bottom:8px solid transparent !important;
  border-left:12px solid #321308 !important;
}

.tq-sticky-player .tq-player-play-icon::after{
  content:none !important;
}

.tq-sticky-player.is-playing .tq-player-play-icon::before,
.tq-sticky-player.is-playing .tq-player-play-icon::after{
  content:"" !important;
  position:absolute !important;
  top:3px !important;
  width:5px !important;
  height:16px !important;
  background:#321308 !important;
  border:0 !important;
  border-radius:1px !important;
}

.tq-sticky-player.is-playing .tq-player-play-icon::before{
  left:5px !important;
}

.tq-sticky-player.is-playing .tq-player-play-icon::after{
  left:13px !important;
}

@media (max-width:640px){
  .tq-sticky-player .tq-player-play{
    width:46px !important;
    min-width:46px !important;
    max-width:46px !important;
    height:46px !important;
    min-height:46px !important;
    max-height:46px !important;
    flex-basis:46px !important;
  }

  .tq-sticky-player .tq-player-play-icon{
    width:22px !important;
    height:22px !important;
  }
}
