*{ margin: 0; padding: 0; list-style: none; box-sizing: border-box; font-style: normal;}
body{ font-size: 14px; color: #bec1c7; background:#333333;}

a{ text-decoration: none; color: #bec1c7;}

a:hover{color:#ec7119;}

/* 基础布局类 */
.flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.topright{ display: flex; align-items: center;}
.topright a{ display: flex;  align-items: center; margin-left:10px; height: 30px; padding:0 15px; border-radius: 6px; background: #282828; font-size: 14px;}
.topright a:hover{ background: #ec7119; color: #fff;}

img.logo{ width: 100px;}

.headbox{ background: #121212; height: 70px;}
.headcont{ height: 70px; width: 1200px; margin: 0 auto;}

.box{ width: 1200px; margin: 20px auto 120px auto; }
.controlbox i{ margin: 0 10px; font-size: 20px; cursor: pointer; }
.controlbox i:hover{ color: #ec7119;}
.left{ width: 360px; background: #121212; border-radius: 10px; padding: 15px;}
.right{ background: #121212; border-radius: 10px;padding: 15px;}
strong.smalltitle{ font-size: 18px; display: flex; align-items: center;}
strong.smalltitle i{ font-size: 20px; margin-right: 8px;color:#ec7119;}

.left ul{ display: block; margin-top: 10px;}
.left ul li{ display: flex; align-items: center; border-bottom: 1px solid #222; justify-content: space-between;height: 50px;}
.left ul li em{ color:#626262;}
.left ul li a{font-size: 16px; font-weight: bold; display: flex; align-items: center;}
.left ul li a i{ font-size: 16x; margin-right: 8px;}

ul.list{ margin-top: 10px;}
ul.list li{ display: flex; align-items:  center;border-bottom: 1px solid #222; height: 70px; justify-content: space-between;}
.listleft{ display: flex; align-items: center;}
a.musiccover{ width: 50px; height: 50px; display: block; border-radius: 6px; overflow: hidden; position: relative; z-index: 1;}
a.musiccover img{ width: 100%; height: 100%; object-fit: cover; display: block;}
.info{ margin-left: 10px;}
.info p{ font-size: 12px; color: #626262; margin-top: 5px;}
.info p em{ margin-left: 10px;}

ul.list li a i{ font-size: 24px;}

.kbox{ width: 1200px; margin: 20px auto; background: #121212; border-radius: 10px; padding: 15px;}
.searchtop{ display: flex; align-items: center;font-size: 18px; padding-top: 15px;  justify-content: center;}
.searchtop p{ color: #bec1c7;}
.searchtop strong{ color: #ec7119;}
.searchtop em{ color: #ec7119;}

.mainlistbox{ margin-top: 20px;}
.searchbox{ width: 1200px;  margin: 15px auto 0 auto; background: #121212; border-radius: 10px; padding: 15px;}
.searchleftcont{background: #282828; display: flex; padding-left: 10px; align-items: center; height: 36px; border-radius: 6px; flex: 1;}
.searchrightbtn{background: #ec7119; font-size: 16px; font-weight: bold; border: none; cursor: pointer; height: 36px; margin-left: 10px; border-radius: 6px; width: 90px; text-align: center; flex-shrink: 0; line-height: 36px; color: #fff;}
.searchleftcont input{ background: transparent; padding-left: 12px; border: none; outline: none; flex: 1; color: #bec1c7; height: 36px; }

.searchleftcont {
    transition: box-shadow 0.3s ease, border 0.3s ease;
    border-radius: 4px;
    border: 1px solid transparent;
}

.searchleftcont:focus-within {
    box-shadow: 0 0 15px rgba(236, 113, 25, 0.4);
    border: 1px solid #ec7119;
}

.searchleftcont input:focus {
    outline: none;
}

.detailtop{ display: flex; align-items: center; padding: 15px;}
.coverbox{ width: 280px; height: 280px;  overflow: hidden; border-radius: 10px;}
.coverbox img{ width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%;}

.detailright{ height: 220px; display: flex; flex-direction: column; justify-content: space-between; margin-left: 40px;}
.musicinfo p{ margin-top: 10px;}
.detailbtn a{ display: flex; padding: 0 20px; margin-right: 15px; font-size: 18px; border-radius: 18px; align-items: center; height: 52px; justify-content: center;}
.detailbtn a.download{ background: #ec1919; color: #fff;}
.detailbtn a.download:hover{ background: #ec1919; color: #fff; box-shadow: 0 0 10px rgba(236, 25, 25, 0.5);}
.detailbtn a.download2{ background: #ec7119; color: #fff; }
.detailbtn a.download2:hover{ background: #ec7119; color: #fff; box-shadow: 0 0 10px rgba(236, 113, 25, 0.5);}
.detailbtn a i{ margin-right: 10px;}

.detailbtn a.playbtn{ background: #282828; color: #fff; border: #b3b3b3 solid 2px;}

.musicltr{ text-align: center; font-size: 16px; color: #bec1c7; margin-top: 10px;}


.searchbox form{  width: 100%;display: flex; align-items: center;}

.page{ padding: 35px 0 15px 0;}
.page ul.pagination{ display: flex; align-items: center; flex-wrap:wrap; justify-content: center;}
.page ul.pagination li{ margin: 0 3px; margin-bottom:3px;}
.page ul.pagination li a{ display: flex; align-items: center; background:#282828; height: 30px; padding: 0 15px; font-size: 14px; border-radius: 3px;}
.page ul.pagination li span{ display: flex; align-items: center; background: #282828; height: 30px; padding: 0 15px; font-size: 14px; border-radius: 3px;}
.page ul.pagination li.active span{ display: flex; align-items: center; color: #ffffff; background: #ec7119; height: 30px; padding: 0 15px; font-size: 14px; border-radius: 3px;}

.footer{ margin-top:30px}


.playbox{ height: 80px; padding: 10px; margin:0 15px 10px 15px; background: #363636; display: flex; align-items: center;}
    .playleft{ width: 60px; height: 60px; flex-shrink: 0; position: relative;}
    .playleft img{ object-fit: cover; width: 100%; height: 100%;}
    .playcontrol{ position: absolute; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; left: 0; top: 0; z-index: 1000;}
    .playcontrol i{ color: #ffffff; font-size: 30px;}
    .playcenter{ flex: 1; padding: 0 0px; display: flex; align-items: center; }
    .playcenter em{ display: block; position: relative; width: 100%; height: 6px; border-radius: 3px; background: #272727;}
    .playcenter em i{ display: block; position: absolute; left: 0;top: 0;border-radius: 3px; height: 6px; background: #ff4d30; box-shadow: 0 0 10px rgba(255, 77, 48, 0.8);}
    .playright{ width: 60px; flex-shrink: 0; text-align: center; color: rgba(255,255,255,0.6); font-size: 13px;}
    
    /* 歌词展开收起样式 */
    .lyrics-container {
        position: relative;
    }
    
    .musicltr {
        max-height: 150px;
        overflow: hidden;
        transition: max-height 0.3s ease;
        position: relative;
        line-height: 1.8;
        padding: 15px 0;
    }
    
    .musicltr p {
        margin: 2px 0;
        font-size: 16px;
    }
    
    .musicltr.expanded {
        max-height: none;
    }
    
    .musicltr:not(.expanded)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50px;
        pointer-events: none;
    }
    
    .lyrics-toggle {
        text-align: center;
        padding: 10px 0;
    }
    
    .toggle-btn {
        color: #ec7119;
        cursor: pointer;
        font-size: 14px;
        user-select: none;
        transition: color 0.3s ease;
    }
    
    .toggle-btn:hover {
        color: #d45a0a;
    }
    
    .toggle-btn:active {
        color: #b8460a;
    }

/* 音乐列表项hover效果 */
ul.list li {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

ul.list li:hover {
    background-color: rgba(236, 113, 25, 0.1);
}

/* 列表左侧点击区域 */
.listleft {
    flex: 1;
    position: relative;
}

/* 确保下载按钮不会被遮挡 */
.listright {
    position: relative;
    z-index: 10;
}

/* 音乐封面容器 */
.musiccover-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}
.musiccover-wrapper img{
    display: block;
    object-fit: cover;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

/* 播放指示器 */
.play-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: rgba(236, 113, 25, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* 播放动画条 */
.play-bars {
    display: flex;
    align-items: flex-end;
    height: 12px;
    width: 12px;
    gap: 1px;
}

.bar {
    width: 2px;
    background: #fff;
    border-radius: 1px;
    animation: playAnimation 1.2s ease-in-out infinite;
}

.bar1 { animation-delay: 0s; }
.bar2 { animation-delay: 0.1s; }
.bar3 { animation-delay: 0.2s; }
.bar4 { animation-delay: 0.3s; }

@keyframes playAnimation {
    0%, 40%, 100% {
        height: 3px;
    }
    20% {
        height: 12px;
    }
}

/* 当前播放歌曲文字高亮（移除背景色） */
ul.list li.playing .info h3 a {
    color: #ec7119;
    font-weight: bold;
}

/* Loading 遮罩层 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loading-content {
    background: #121212;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #bec1c7;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #333;
    border-top: 3px solid #ec7119;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 14px;
    color: #bec1c7;
}

/* 旋转动画 */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rotating {
    animation: rotate 3s linear infinite;
}

/* 确保播放器控制按钮可见 */
.player-cover .play-pause-btn {
    opacity: 1 !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .box {
        width: 95%;
        margin: 10px auto 120px auto;
    }
    
    .headcont, .searchbox {
        width: 95%;
    }
    
    ul.list li {
        height: 60px;
    }
    
    a.musiccover {
        width: 45px;
        height: 45px;
    }
    
    .info h3 {
        font-size: 14px;
    }
    
    .info p {
        font-size: 11px;
    }
}


