/* DT 首页音乐播放器 —— 极轻量样式 */
.dtmp-btn {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(0, 0, 0, .5);
  color: #fff;
  font-size: 20px;
  line-height: 44px;
  text-align: center;
  opacity: .7;
  transition: opacity .2s, transform .2s;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.dtmp-btn:hover { opacity: 1; transform: scale(1.06); }
.dtmp-btn .dtmp-ico { display: inline-block; }
.dtmp-btn.is-playing .dtmp-ico { animation: dtmp-rot 3.2s linear infinite; }
@keyframes dtmp-rot { to { transform: rotate(360deg); } }

/* 还没开始播放时轻微呼吸，提示可以点 */
.dtmp-btn.is-idle { animation: dtmp-breathe 2.6s ease-in-out infinite; }
@keyframes dtmp-breathe {
  0%, 100% { opacity: .55; }
  50%      { opacity: .95; }
}

.dtmp-tip {
  position: fixed;
  right: 70px;
  bottom: 26px;
  z-index: 9999;
  max-width: 190px;
  padding: 5px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.dtmp-tip.show { opacity: .95; transform: translateY(0); }

@media (max-width: 600px) {
  .dtmp-btn { right: 10px; bottom: 10px; width: 38px; height: 38px; line-height: 38px; font-size: 17px; }
  .dtmp-tip { right: 10px; bottom: 56px; max-width: 210px; }
}
