@charset "utf-8";

:root {
    --app-bg: #f4f6fb;
    --card-bg: rgba(255, 255, 255, 0.96);
    --card-shadow: 0 14px 34px rgba(126, 137, 160, 0.18);
    --text-main: #5a5d65;
    --text-soft: #8a8e98;
    --line-soft: #eef1f7;
    --accent-a: #7ea7ff;
    --accent-b: #f0a5d3;
    --track-bg: #b8bcc6;
    --dot-bg: #5b5f67;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--app-bg) !important;
}

body {
    position: relative;
    color: var(--text-main);
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    background:
        radial-gradient(circle at 8% 0%, rgba(126, 167, 255, 0.32), transparent 26%),
        radial-gradient(circle at 92% 0%, rgba(240, 165, 211, 0.36), transparent 25%),
        linear-gradient(180deg, #edf2ff 0 146px, #f4f6fb 146px 100%) !important;
}

body::before {
    content: "";
    position: fixed;
    left: -6%;
    right: -6%;
    top: -82px;
    height: 210px;
    z-index: 0;
    pointer-events: none;
    border-radius: 0 0 34px 34px;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.28), transparent 24%),
        radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.24), transparent 28%),
        linear-gradient(90deg, #7fa6f4 0%, #8d97f5 48%, #f1abd6 100%);
    box-shadow: 0 20px 44px rgba(137, 151, 202, 0.28);
}

body::after {
    content: "";
    position: fixed;
    top: -8px;
    left: 50%;
    width: min(46vw, 320px);
    height: 30px;
    z-index: 0;
    pointer-events: none;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 24px rgba(148, 158, 191, 0.22);
}

a,
a:hover {
    color: inherit;
}

.leo-mnav-head,
.header,
.logo,
.leo-mnav-foot {
    display: none !important;
}

.center,
.footer {
    z-index: 1;
    width: 100% !important;
    margin: 0 !important;
}

.center {
    top: 0 !important;
    bottom: 122px !important;
    padding: 20px 22px 0;
    background: transparent !important;
}

.center .container,
.footer .container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.center .container {
    height: 100%;
}

.btn-bar {
    top: 0;
    left: 0 !important;
    right: 0 !important;
    height: 68px !important;
}

.btn-box {
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 68px;
    padding: 0 14px;
    border-radius: 18px;
    background: var(--card-bg) !important;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
}

.btn[data-action='player'],
.btn[data-action='player'][hidden] {
    display: flex !important;
}

.btn {
    position: relative;
    float: none !important;
    display: flex !important;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: none !important;
    border-radius: 14px;
    background: transparent !important;
    color: var(--text-main) !important;
    font-size: 16px !important;
    font-weight: 500;
    line-height: 1.15 !important;
    opacity: 1 !important;
    filter: none !important;
    -webkit-text-fill-color: initial !important;
}

.btn:hover {
    border: none !important;
    background: rgba(126, 167, 255, 0.08) !important;
}

.btn-box .active {
    background: linear-gradient(180deg, rgba(126, 167, 255, 0.16), rgba(240, 165, 211, 0.12)) !important;
    color: #41454c !important;
    -webkit-background-clip: border-box !important;
    -webkit-text-fill-color: initial !important;
}

.btn-box .active:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 28px;
    height: 4px;
    margin: 0;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
    box-shadow: 0 4px 10px rgba(126, 167, 255, 0.32);
}

.data-area {
    top: 82px !important;
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
}

.data-box {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 20px;
    background: var(--card-bg);
    box-shadow: var(--card-shadow);
}

#main-list,
#sheet {
    padding: 14px 0 10px;
}

#player {
    width: auto !important;
    float: none !important;
    display: none;
    overflow: hidden;
}

#main-list::-webkit-scrollbar,
#sheet::-webkit-scrollbar,
#lyric::-webkit-scrollbar {
    width: 10px;
}

#main-list::-webkit-scrollbar-thumb,
#sheet::-webkit-scrollbar-thumb,
#lyric::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: #a5a9b2;
    background-clip: padding-box;
}

#main-list::-webkit-scrollbar-track,
#sheet::-webkit-scrollbar-track,
#lyric::-webkit-scrollbar-track {
    background: transparent;
}

.list-item {
    position: relative;
    display: grid;
    box-sizing: border-box;
    grid-template-columns: 46px minmax(0, 1fr) minmax(0, 0.72fr) 52px;
    align-items: center;
    min-height: 74px;
    height: auto;
    padding: 0 22px;
    border-bottom: 1px solid var(--line-soft);
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.3;
    cursor: default;
    transition: background-color 0.2s ease;
}

.list-item:hover {
    background: rgba(116, 126, 152, 0.04);
}

.list-head,
.list-head:hover {
    position: sticky;
    top: 0;
    z-index: 3;
    min-height: 58px;
    background: rgba(255, 255, 255, 0.98);
    color: #787c86;
}

.list-head::before {
    content: "";
    grid-column: 1;
}

.list-head .music-name,
.list-head .auth-name {
    font-size: 15px;
    font-weight: 600;
    color: #757984;
}

.list-num,
.music-name,
.auth-name,
.music-album {
    float: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
}

.list-num {
    grid-column: 1;
    display: block;
    overflow: visible;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    color: #595d65;
}

.music-name {
    grid-column: 2;
    min-width: 0;
    padding-right: 14px;
    font-size: 16px;
    font-weight: 500;
    color: inherit;
}

.auth-name {
    grid-column: 3;
    min-width: 0;
    padding-right: 8px;
    font-size: 16px;
    color: #666a73;
}

.music-album,
.list-menu {
    display: none !important;
}

.music-name-cult,
.music-name,
.auth-name {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.list-item:hover .music-name-cult,
.list-playing:hover .music-name-cult {
    padding-right: 0 !important;
}

.list-playing {
    color: #5e88ff;
}

.list-playing .list-num {
    font-size: 0;
    text-indent: 0 !important;
    background: none !important;
}

.list-playing .list-num::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background:
        linear-gradient(to top, #ffa248 0 100%, transparent 100%) 2px 9px / 3px 7px no-repeat,
        linear-gradient(to top, #ff8cab 0 100%, transparent 100%) center 4px / 3px 12px no-repeat,
        linear-gradient(to top, #67ccff 0 100%, transparent 100%) calc(100% - 2px) 7px / 3px 9px no-repeat;
}

.list-mobile-menu {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    grid-column: 4;
    justify-self: end;
    display: block !important;
    width: 40px !important;
    height: 40px !important;
    transform: none !important;
    border-radius: 50%;
    background: #ffffff !important;
    box-shadow: 0 10px 18px rgba(139, 145, 160, 0.22);
}

.list-mobile-menu::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #5e626a;
    box-shadow: 0 -8px 0 #5e626a, 0 8px 0 #5e626a;
}

#list-foot {
    display: block !important;
    min-height: 58px;
    padding: 0 24px;
    border-bottom: none;
    color: var(--text-soft);
    line-height: 58px;
    text-align: center;
}

.sheet-item {
    width: 33.3333%;
    padding: 10px 8px 14px;
}

.sheet-cover {
    width: 96px;
    height: 96px;
    border-radius: 26px;
    box-shadow: 0 12px 26px rgba(135, 146, 171, 0.18);
}

.sheet-name {
    max-width: none;
    width: 100%;
    font-size: 14px;
    color: var(--text-main);
}

.sheet-title-bar {
    margin: 6px 16px 18px;
    border-radius: 16px;
    background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
    box-shadow: none;
    color: #fff;
}

.sheet-playing:before {
    content: "";
    position: absolute;
    top: 88px;
    left: 50%;
    width: 24px;
    height: 8px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
    box-shadow: 0 4px 10px rgba(126, 167, 255, 0.25);
}

.player {
    position: absolute !important;
    top: 82px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: auto !important;
    float: none !important;
    display: none;
    overflow: hidden;
    border-radius: 20px;
    background: var(--card-bg);
    box-shadow: var(--card-shadow);
}

.cover {
    position: relative;
    top: auto !important;
    width: 164px;
    height: 164px;
    margin: 34px auto 22px;
}

.cover:after {
    display: none !important;
}

.music-cover {
    width: 164px !important;
    height: 164px !important;
    margin: 0 !important;
    border-radius: 30px;
    box-shadow: 0 20px 42px rgba(121, 132, 159, 0.24);
}

.lyric {
    top: 238px !important;
    right: 22px !important;
    bottom: 22px !important;
    left: 22px !important;
    padding: 0 0 12px;
    color: #7c818b;
    line-height: 32px;
}

#lyric {
    overflow-x: hidden;
    overflow-y: auto;
}

#lyric .lplaying {
    color: #5e88ff;
    font-weight: 600;
}

#music-info {
    right: 22px !important;
    bottom: 20px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    background-image: none !important;
    box-shadow: 0 10px 18px rgba(139, 145, 160, 0.22);
    opacity: 1 !important;
    filter: none !important;
}

#music-info::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #5e626a;
    box-shadow: 0 -8px 0 #5e626a, 0 8px 0 #5e626a;
}

.footer {
    bottom: 0 !important;
    height: 110px !important;
    padding: 0 22px 18px;
    background: transparent !important;
    box-shadow: none !important;
}

.footer .container {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
    padding: 0 18px;
    border-radius: 18px;
    background: var(--card-bg);
    box-shadow: var(--card-shadow);
}

.con-btn {
    position: relative;
    flex: 0 0 168px;
    width: 168px !important;
    height: 52px;
    margin: 0 !important;
    float: none !important;
}

.con-btn a {
    top: 50% !important;
    margin: 0 !important;
    transform: translateY(-50%);
}

.progress {
    position: relative;
    flex: 1 1 auto;
    width: auto !important;
    height: 52px;
    margin: 0 !important;
}

.progress-box {
    top: 50% !important;
    right: 0 !important;
    left: 0 !important;
    height: 24px !important;
    margin: 0 !important;
    transform: translateY(-50%);
}

.vol {
    display: none !important;
}

.player-btn {
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    opacity: 1 !important;
    filter: none !important;
}

.btn-prev,
.btn-next {
    width: 34px !important;
    height: 34px !important;
}

.btn-prev {
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2372767d' d='M6 5.25a1 1 0 0 1 1 1v11.5a1 1 0 1 1-2 0V6.25a1 1 0 0 1 1-1Zm3.25 6.75 8.99-5.77a1.1 1.1 0 0 1 1.7.93v9.68a1.1 1.1 0 0 1-1.7.93L9.25 12Z'/%3E%3C/svg%3E");
}

.btn-play {
    left: 46px;
    width: 40px !important;
    height: 40px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2372767d' d='M8.2 5.44a1 1 0 0 1 1.52-.85l9.01 6.06a1.63 1.63 0 0 1 0 2.7l-9 6.06A1 1 0 0 1 8.2 18.57V5.44Z'/%3E%3C/svg%3E");
}

.btn-play.btn-state-paused {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6.2' y='4.6' width='4.5' height='14.8' rx='2.2' fill='%2372767d'/%3E%3Crect x='13.3' y='4.6' width='4.5' height='14.8' rx='2.2' fill='%2372767d'/%3E%3C/svg%3E");
}

.btn-next {
    left: 94px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2372767d' d='M18 5.25a1 1 0 0 1 1 1v11.5a1 1 0 1 1-2 0V6.25a1 1 0 0 1 1-1ZM6.76 6.23a1.1 1.1 0 0 1 1.7-.93L17.45 12l-8.99 5.77a1.1 1.1 0 0 1-1.7-.93V6.23Z'/%3E%3C/svg%3E");
}

.btn-order {
    right: 0;
    width: 32px !important;
    height: 32px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2372767d' d='M7.2 8.2h8.52l-1.56-1.56a1 1 0 1 1 1.42-1.41l3.26 3.26a1 1 0 0 1 0 1.41l-3.26 3.27a1 1 0 0 1-1.42-1.42l1.55-1.55H7.2a3.2 3.2 0 0 0-3.2 3.2v.4a1 1 0 1 1-2 0v-.4a5.2 5.2 0 0 1 5.2-5.2Zm9.6 7.6H8.28l1.56 1.56a1 1 0 0 1-1.42 1.41l-3.26-3.26a1 1 0 0 1 0-1.41l3.26-3.27a1 1 0 1 1 1.42 1.42l-1.55 1.55h8.51a3.2 3.2 0 0 0 3.2-3.2v-.4a1 1 0 1 1 2 0v.4a5.2 5.2 0 0 1-5.2 5.2Z'/%3E%3C/svg%3E");
}

.btn-order-list {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2372767d' d='M7.2 8.2h8.52l-1.56-1.56a1 1 0 1 1 1.42-1.41l3.26 3.26a1 1 0 0 1 0 1.41l-3.26 3.27a1 1 0 0 1-1.42-1.42l1.55-1.55H7.2a3.2 3.2 0 0 0-3.2 3.2v.4a1 1 0 1 1-2 0v-.4a5.2 5.2 0 0 1 5.2-5.2Zm9.6 7.6H8.28l1.56 1.56a1 1 0 0 1-1.42 1.41l-3.26-3.26a1 1 0 0 1 0-1.41l3.26-3.27a1 1 0 1 1 1.42 1.42l-1.55 1.55h8.51a3.2 3.2 0 0 0 3.2-3.2v-.4a1 1 0 1 1 2 0v.4a5.2 5.2 0 0 1-5.2 5.2Z'/%3E%3C/svg%3E");
}

.btn-order-single {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2372767d' d='M6.7 8.2h7.92l-1.56-1.56a1 1 0 0 1 1.41-1.41l3.27 3.26a1 1 0 0 1 0 1.41l-3.27 3.27a1 1 0 0 1-1.41-1.42l1.55-1.55H6.7a2.7 2.7 0 0 0-2.7 2.7v.4a1 1 0 1 1-2 0v-.4a4.7 4.7 0 0 1 4.7-4.7Zm7.6 7.6H9.8a1 1 0 1 1 0-2h4.5a2.7 2.7 0 0 0 2.7-2.7v-.4a1 1 0 1 1 2 0v.4a4.7 4.7 0 0 1-4.7 4.7Z'/%3E%3Cpath fill='%2372767d' d='M7.4 15.8v-5.46H6.28V9.2h2.42v6.6H7.4Z'/%3E%3C/svg%3E");
}

.btn-order-random {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2372767d' d='M17.34 6H21a1 1 0 1 1 0 2h-3.24l-2.61 3.56 2.61 3.44H21a1 1 0 1 1 0 2h-3.66a2 2 0 0 1-1.61-.82l-2.1-2.82-2.11 2.82a2 2 0 0 1-1.6.82H3a1 1 0 1 1 0-2h6.02l3.38-4.44L9.02 8H3a1 1 0 1 1 0-2h6.42a2 2 0 0 1 1.6.81l2.06 2.73 2.05-2.73A2 2 0 0 1 17.34 6ZM20.7 9.7a1 1 0 0 1-1.4 0L17.6 8l1.7-1.7a1 1 0 1 1 1.4 1.4L20.42 8l.28.3a1 1 0 0 1 0 1.4Zm0 8a1 1 0 0 1-1.4 0L17.6 16l1.7-1.7a1 1 0 1 1 1.4 1.4l-.28.3.28.3a1 1 0 0 1 0 1.4Z'/%3E%3C/svg%3E");
}

.btn-order-single,
.btn-order-list,
.btn-order-random {
    background-size: contain !important;
}

.mkpgb-area {
    height: 100%;
}

.mkpgb-bar,
.mkpgb-cur {
    top: 50% !important;
    height: 4px !important;
    margin-top: 0 !important;
    transform: translateY(-50%);
    box-shadow: none !important;
}

.mkpgb-bar {
    background: var(--track-bg) !important;
}

.mkpgb-cur {
    background: linear-gradient(90deg, var(--accent-a), var(--accent-b)) !important;
}

.mkpgb-dot {
    top: 50% !important;
    width: 16px !important;
    height: 16px !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    transform: translate(-50%, -50%);
    background: var(--dot-bg) !important;
    box-shadow: none !important;
}

#main-list .mCSB_inside > .mCSB_container,
#sheet .mCSB_inside > .mCSB_container {
    margin-right: 16px !important;
}

#main-list .mCSB_scrollTools,
#sheet .mCSB_scrollTools {
    right: 2px;
    width: 16px;
    opacity: 1 !important;
}

#main-list .mCSB_scrollTools .mCSB_draggerRail,
#sheet .mCSB_scrollTools .mCSB_draggerRail {
    background: transparent !important;
}

#main-list .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,
#sheet .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    width: 10px !important;
    border-radius: 999px !important;
    background: #9ea2aa !important;
}

#search-area {
    padding: 16px 14px 8px;
}

.search-group {
    position: relative;
    padding-bottom: 16px;
}

.search-group > input {
    width: 100% !important;
    height: 46px !important;
    padding: 0 16px !important;
    border: 1px solid #edf0f6 !important;
    border-radius: 14px !important;
    background: #f7f9fd !important;
    box-shadow: none !important;
    color: var(--text-main);
}

.search-group > button {
    width: auto !important;
    height: auto !important;
    border: none !important;
    background: transparent !important;
    color: var(--text-soft);
}

.share-url {
    border: 1px solid #e6e9f1;
    border-radius: 14px;
    box-shadow: none;
    background: #f7f9fd;
}

@media screen and (max-width: 600px) {
    .center {
        padding: 20px 14px 0;
    }

    .footer {
        height: 104px !important;
        padding: 0 14px 14px;
    }

    .btn {
        font-size: 14px !important;
    }

    .list-item {
        grid-template-columns: 36px minmax(0, 1fr) minmax(0, 0.78fr) 44px;
        min-height: 70px;
        padding: 0 14px;
    }

    .music-name,
    .auth-name,
    .list-num {
        font-size: 15px;
    }

    .list-mobile-menu,
    #music-info {
        width: 36px !important;
        height: 36px !important;
    }

    .footer .container {
        gap: 10px;
        padding: 0 14px;
    }

    .con-btn {
        flex-basis: 152px;
        width: 152px !important;
    }

    .btn-play {
        left: 42px;
    }

    .btn-next {
        left: 88px;
    }
}

@media screen and (max-width: 420px) {
    .btn-box {
        padding: 0 10px;
    }

    .btn {
        font-size: 13px !important;
    }

    .cover {
        width: 148px;
        height: 148px;
        margin-top: 28px;
    }

    .music-cover {
        width: 148px !important;
        height: 148px !important;
    }

    .lyric {
        top: 212px !important;
        right: 16px !important;
        bottom: 18px !important;
        left: 16px !important;
    }
}
