/* 首页全局播放器样式  酷咔音乐 ddmp3.com 提供 */
*{margin:0;padding:0;box-sizing:border-box}
body{background: radial-gradient(circle at top, #ff4d85,  #24243a, #15151f); background-size:cover;color:#fff;font-family:system-ui}
.container{max-width:1400px;margin:0 auto;padding:0 20px;background:rgba(30,30,30,.2);border-radius:8px}
.top-search-bar{-background: radial-gradient(circle at top, #ff3b7b, #000, #000); border-bottom:1px solid rgba(255,255,255,.12)}
.top-inner{max-width:1400px;margin:0 auto;padding:8px 20px;display:flex;justify-content:space-between;align-items:center;gap:16px}
.site-brand{flex:0 0 auto}
.brand-link{display:flex;align-items:center;gap:10px;text-decoration:none}
.brand-logo{height:64px;width:auto;max-height:64px;max-width:260px;display:block;flex:0 0 auto;object-fit:contain}
@media(max-width:768px){.brand-logo{height:30px;max-height:30px;max-width:110px}}
.brand-name{font-size:22px;font-weight:700;color:#fff;letter-spacing:1px;white-space:nowrap}
.search-box{display:flex;align-items:center;width:100%;max-width:520px;margin-left:auto}
.search-input{flex:1;height:45px;background:#1e1e1e;border:1px solid #333;border-radius:17px 0 0 17px;padding:0 10px;color:#fff;outline:0}
.search-btn{width:65px;height:45px;background:#ff4444;border:0;border-radius:0 17px 17px 0;color:#fff;cursor:pointer}
@media(max-width:768px){
  .top-inner{flex-wrap:nowrap;gap:6px}
  .brand-logo{height:28px;max-height:28px;max-width:80px}
  .brand-name{font-size:15px}
  .site-brand{display:none}   /* 手机端不显示LOGO，PC端保留 */
  .search-box{flex:1 1 0;min-width:0;max-width:none;margin-left:auto}
  .search-input{min-width:0;flex:1}
  .search-btn{width:52px;font-size:14px}
}
.banner-img{display:block;width:100%;margin:6px auto 10px}
.page-title{text-align:center;font-size:20px;margin:10px 0}

.music-list{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:20px;
  margin-bottom:25px;
  min-width:0;
  width:100%;
}
@media(max-width:768px){
  .music-list{
    grid-template-columns:repeat(2,1fr);
    gap:4px;
  }
}

.copyright a {
    text-decoration: none;
    color: #fff;
}
.copyright a:hover {
    text-decoration: underline;
    color: #fff;
}
.crt-sep{margin:0 8px;color:#888}
.beian-icon{width:16px;height:16px;vertical-align:-3px;margin-right:4px;display:inline-block;border:0}
@media(max-width:768px){.beian-icon{width:14px;height:14px;vertical-align:-2px;margin-right:3px}}

.music-item{
  background:rgba(30,30,30,0.1);
  border-radius:8px;
  padding:4px;
  text-align:center;
  transition:all 0.3s ease;
  transform:translateZ(0);
  box-shadow:0 2px 4px rgba(0,0,0,0.1);
  cursor:pointer;
  width:100%;
  min-width:0;
  overflow:hidden;
}
.music-item:hover{
  transform:scale(1.03) translateY(-2px);
  box-shadow:0 4px 12px rgba(255,68,68,0.2);
  background:rgba(40,40,40,.3);
}

.player-box{position:relative;width:180px;height:180px;margin:0 auto 6px}
@media(max-width:768px){.player-box{width:85px;height:85px}}
.player-cover{
  width:100%;height:100%;border-radius:50%;object-fit:cover;
  position:absolute;top:0;left:0;z-index:1;border:8px solid #000;
}
.player-cover.rotating{animation:r 8s linear infinite}@keyframes r{from{transform:rotate(0)}to{transform:rotate(360deg)}}
.player-ring{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:50%;background:conic-gradient(red 0%,transparent 0%);-webkit-mask:radial-gradient(circle,transparent 65%,#000 65%);z-index:2}
.player-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:60px;height:60px;border-radius:50%;background:rgba(0,0,0,.3);cursor:pointer;z-index:3;background-size:contain;background-repeat:no-repeat;background-position:center}
@media(max-width:768px){.player-btn{width:26px;height:26px}}
.player-time{position:absolute;bottom:10px;left:0;width:100%;text-align:center;font-size:12px;color:#fff;z-index:3}

.music-title{
  font-size:15px;
  margin:5px 0;
  width:100%;
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  display:block;
  padding:0 4px;
}
.music-title a{
  color:#fff;
  text-decoration:none;
  transition:color 0.2s;
  display:block;
  width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.music-title a:hover{color:rgb(246 169 255);text-decoration:underline}

.music-meta-row{
  font-size:12px;
  color:#ccc;
  width:100%;
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  display:block;
  padding:0 4px;
}

.pagination{text-align:center;margin:30px 0}
.pagination a{
  display:inline-block;padding:12px 32px;margin:0 10px;
  background:#ff4444;color:#fff;text-decoration:none;
  border-radius:40px;font-size:18px;font-weight:500;
  transition:all 0.3s ease;
  box-shadow:0 0 8px rgba(255,68,68,0.6),0 0 16px rgba(255,68,68,0.3);
  border:2px solid rgba(255,68,68,0.8);
  text-shadow:0 0 4px rgba(255,255,255,0.5);
}
.pagination a:hover{
  background:#ff6666;transform:translateY(-2px);
  box-shadow:0 0 12px rgba(255,68,68,0.8),0 0 24px rgba(255,68,68,0.5);
}
.pagination a.disabled{
  background:#555;border-color:rgba(120,120,120,0.8);
  box-shadow:0 0 8px rgba(100,100,100,0.4);
  cursor:not-allowed;text-shadow:none;
}

.friend-link{padding:20px 0;text-align:center;border-top:1px solid rgba(255,255,255,0.1);margin:0 20px}
.friend-link-title{font-size:16px;color:#fff;margin-bottom:10px;font-weight:500}
.friend-link-list{display:flex;flex-wrap:wrap;justify-content:center;gap:15px}
.friend-link-item a{
  color:#fff;text-decoration:none;font-size:14px;
  padding:5px 10px;border-radius:4px;transition:all 0.2s ease;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  max-width:120px;display:inline-block;
}
.friend-link-item a:hover{color:rgb(246 169 255);background:rgba(255,68,68,0.1)}

.copyright{text-align:center;color:#fff;font-size:13px;padding:20px 0;border-top:1px solid #444}

/* ===== 视频背景（仅 PC 端，手机端隐藏） ===== */
.video-bg{
  position:fixed;top:0;left:0;width:100%;height:100%;
  z-index:-2;overflow:hidden;background:#0c0c16;
}
.video-bg video{
  position:absolute;top:50%;left:50%;
  min-width:100%;min-height:100%;width:auto;height:auto;
  transform:translate(-50%,-50%);object-fit:cover;
}
.video-bg-mask{
  position:absolute;top:0;left:0;width:100%;height:100%;
  background:rgba(10,10,20,.55);
}
@media(max-width:768px){.video-bg{display:none}}

/* 视频背景开启时：body 渐变透明，露出视频；html 深色垫底 */
html{background:#0c0c16}
body.has-video-bg{background:transparent !important}

/* 版权区字体统一为白色（覆盖后台填的内联颜色，保持整体统一） */
.copyright, .copyright a, .copyright span, .copyright * { color:#fff !important; }




