/* ============================================
   丽江音悦台 - 完全移动端适配样式
   ============================================ */

/* 全局重置和基础优化 */
* {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ============================================
   超小屏幕设备 (手机竖屏, < 576px)
   ============================================ */
@media (max-width: 575.98px) {
  
  /* === 底部播放器布局 - 移动端垂直布局（进度条移到下方）=== */
  .bottom-player {
    padding: 8px 0 !important;
    min-height: 110px !important; /* 增加高度以容纳下方进度条 */
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.98) 0%, rgba(118, 75, 162, 0.98) 100%) !important;
  }
  
  .bottom-player .container {
    padding: 0 10px !important;
  }
  
  /* 播放器主容器 - 更加紧凑的布局 */
  .bottom-player > .container > .d-flex {
    flex-direction: row !important; /* 改回横向布局 */
    flex-wrap: wrap !important;   /* 允许换行以容纳进度条 */
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0 !important;
  }
  
  /* 左侧：封面和标题信息 */
  .bottom-player .current-track-info {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 1 !important; /* 占据可用空间 */
    margin: 0 !important;
    padding: 0 5px !important;
    min-width: 0 !important;
    width: auto !important;
  }
  
  /* 封面样式 - 增大尺寸并确保对齐 */
  .bottom-player .current-track-info img {
    display: block !important;
    width: 60px !important; 
    height: 60px !important;
    border-radius: 6px !important;
    margin-right: 10px !important;
    object-fit: cover !important;
    flex: 0 0 auto !important;
  }
  
  /* 歌曲信息容器 */
  .bottom-player .current-track-info > div {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    flex: 1 !important;
    min-width: 0;
    overflow: hidden;
    align-items: center !important;
  }
  
  /* 歌曲标题 - 长标题滚动效果 */
  .bottom-player .current-track-info h6 {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    color: #fff !important;
    text-align: center !important;
    width: 100% !important;
    position: relative !important;
    display: block !important;
  }

  .bottom-player .current-track-info h6 span {
    display: inline-block !important;
    padding-left: 100% !important;
    animation: marquee 10s linear infinite !important;
  }

  @keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
  }

  /* 歌手信息 */
  .bottom-player .current-track-info small {
    font-size: 0.75rem !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-align: center !important;
    width: 100% !important;
  }
  
  /* 中间：播放控制按钮 */
  .bottom-player .player-controls {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 5px !important;
    flex: 0 0 auto !important;
  }
  
  /* 播放/暂停按钮稍微大一点 */
  .bottom-player #play-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    font-size: 1rem !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* 上一首/下一首按钮 */
  .bottom-player #prev-btn,
  .bottom-player #next-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.8rem !important;
  }
  
  /* 进度条容器 - 移动端放在底部 */
  .bottom-player .progress-container {
    width: 100% !important;
    margin-top: 5px !important;
    order: 3 !important; /* 确保进度条在最后 */
  /* 列表卡片在移动端每行显示两个 */
  #music-list > .col-md-6,
  #video-list > .col-md-6 {
    width: 50% !important;
    padding: 0 5px !important;
  }
  
  .music-card, .video-card {
    margin-bottom: 10px !important;
  }
  
  .music-card .album-cover {
    width: 50px !important;
    height: 50px !important;
  }
  
  .video-card .card-img-top {
    height: 120px !important;
  }
}

  .bottom-player .progress-container .d-flex {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 5px !important;
    width: 100% !important;
  }
  
  .bottom-player .progress {
    height: 4px !important;
    border-radius: 2px !important;
    background: rgba(255,255,255, 0.3) !important;
    flex: 1 !important;
    min-width: 0 !important;
    cursor: pointer !important;
  }
  
  .bottom-player .progress-bar {
    background: #fff !important;
  }
  
  .bottom-player #current-time,
  .bottom-player #total-time {
    font-size: 0.65rem !important;
    min-width: 30px !important;
    color: rgba(255,255,255, 0.9) !important;
    font-weight: 500 !important;
    flex: 0 0 auto !important;
  }
  
  /* 隐藏音量控制 */
  .bottom-player .volume-control {
    display: none !important;
  }
  
  /* 按钮样式优化 */
  .bottom-player .btn-outline-light {
    border-radius: 50% !important;
    border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
    background: transparent !important;
    color: #fff !important;
  }
  
  .bottom-player .btn-light {
    background: #fff !important;
    color: #667eea !important;
    border: none !important;
  }

  /* 分页适配手机端 */
  .pagination-container {
    gap: 5px !important;
    margin-top: 20px !important;
    justify-content: center !important;
  }

  .page-btn {
    min-width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    font-size: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .pagination-container input {
    width: 45px !important;
    height: 32px !important;
    font-size: 0.75rem !important;
    padding: 0 4px !important;
    text-align: center !important;
  }

  .pagination-container .btn-primary {
    height: 32px !important;
    padding: 0 8px !important;
    font-size: 0.75rem !important;
  }
}



/* ============================================
   向上火箭按钮 - 全局样式
   ============================================ */
.scroll-to-top {
  position: fixed !important;
  bottom: 90px !important;
  right: 20px !important;
  width: 45px !important;
  height: 45px !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  border: none !important;
  border-radius: 50% !important;
  font-size: 1.2rem !important;
  cursor: pointer !important;
  z-index: 9998 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.scroll-to-top.show {
  opacity: 1 !important;
  visibility: visible !important;
}

.scroll-to-top:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4) !important;
}

.scroll-to-top:active {
  transform: translateY(-1px) !important;
}


Y(-1px) !important;
}
d: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  border: none !important;
  border-radius: 50% !important;
  font-size: 1.2rem !important;
  cursor: pointer !important;
  z-index: 9998 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.scroll-to-top.show {
  opacity: 1 !important;
  visibility: visible !important;
}

.scroll-to-top:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4) !important;
}

.scroll-to-top:active {
  transform: translateY(-1px) !important;
}


Y(-1px) !important;
}
