/* 音频列表页面样式 */

/* 页面容器 */
.ny-audioList {
  padding: 0.4rem 0 0.8rem;
}

/* 4列网格布局 */
.ny-audioList .audio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}

/* 卡片基础样式 */
.ny-audioList .audio-card {
  background: #fff;
  border-radius: 0.08rem;
  padding: 0.3rem 0.25rem;
  border: 1px solid rgba(7, 78, 209, 0.2);
  position: relative;
  transition: all 0.3s;
  overflow: hidden;
  background: url('../images/ny13-bg1.png') center bottom no-repeat;
  background-size: cover;
}



.ny-audioList .audio-card:hover {
  border: 1px solid rgba(7, 78, 209, 0.1341);
  box-shadow: 0px 2px 12px 1px rgba(7, 78, 209, 0.1899);
}

/* 标签样式 */
.ny-audioList .audio-tag {
  color: #333;
  font-size: 0.24rem;
  margin-bottom: 0.17rem;
  font-weight: 500;
}

/* 标题样式 */
.ny-audioList .audio-title {
  font-size: 0.20rem;
  color: #333;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 播放器样式 */
.ny-audioList .audio-player {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.1rem 0.17rem;
  background: #fff;
  border: 1px solid rgba(151, 151, 151, 0.1886);
  border-radius: 0.25rem;
}
.ny-audioList .audio-card:hover .audio-tag{
  color: #074ED1;
  font-weight: 900;
}
.ny-audioList .audio-card:hover .audio-title {
  color: #074ED1;
}
.ny-audioList .audio-player audio {
  display: none;
}

/* 播放按钮 */
.ny-audioList .play-btn {
  width: 0.28rem;
  height: 0.28rem;
  min-width: 0.28rem;
  border-radius: 50%;
  border: none;
  background: url('../images/ny13-icon1.png') center center no-repeat;
  background-size: contain;
  cursor: pointer;
  transition: transform 0.2s;
}

.ny-audioList .play-btn:hover {
  transform: scale(1.1);
}

/* 播放状态 - 切换图标 */
.ny-audioList .play-btn.playing {
  background-image: url('../images/ny13-icon2.png');
}

/* 时间显示 */
.ny-audioList .time-current,
.ny-audioList .time-total {
  font-size: 0.14rem;
  color: #999;
  min-width: 0.4rem;
}

/* 进度条 */
.ny-audioList .progress-bar {
  flex: 1;
  height: 4px;
  background: #E5E5E5;
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.ny-audioList .progress-current {
  height: 100%;
  background: #084ED0;
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

.ny-audioList .progress-dot {
  width: 10px;
  height: 10px;
  background: #084ED0;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  cursor: grab;
  transition: left 0.1s linear;
}

.ny-audioList .progress-dot:active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.2);
}

/* 响应式：平板 */
@media (max-width: 1199px) {
  .ny-audioList .audio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 响应式：手机 */
@media (max-width: 768px) {
  .ny-audioList .audio-grid{
    gap: 0.2rem;
  }

  .ny-audioList .audio-card {
    padding: 0.2rem;
  }

  .ny-audioList .audio-title {
    font-size: 0.16rem;
  }

  .ny-audioList .audio-tag {
    font-size: 0.14rem;
  }
}
@media (max-width: 448px) {
  .ny-audioList .audio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1025px) {
  .ny-audioList .audio-title{
    font-size: .18rem;
    line-height: 1.85;
    margin-bottom: .1rem;
  }
  .ny-audioList .audio-tag{
    font-size: .18rem;
    line-height: 1.85;
    margin-bottom: .05rem;
  }
}