html {
    color-scheme: dark !important;
}

:root {
    color-scheme: only light !important;
}

body {
    padding: 0;
    margin: 0;
    background: #14161a !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    height: 9.6em;
    width: 100%;
    background: linear-gradient(90deg, #00eeff, #00ff6a);
}

.title {
    margin: 0;
    text-align: center;
    padding-top: 1.1em;
    padding-bottom: 1.6em;
    font-size: 2.3em;
    font-weight: 500;
    animation: trans 1.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) 0s infinite;
}

@keyframes trans {
    0% {
        transform: translateY(0px);
        transition: all 0.5s;
    }

    50% {
        transform: translateY(-6px);
        transition: all 0.5s;
    }

    100% {
        transform: translateY(0px);
        transition: all 0.5s;
    }
}

@media screen and (max-width:769px) {
    .nav {
        float: left;
        width: 100%;
        text-align: center;
        position: relative;
        bottom: 1.6rem;
        max-width: 100%;
    }
}

@media screen and (min-width:768px) {
    .nav {
        float: left;
        width: 100%;
        text-align: center;
        position: relative;
        bottom: 2em;
        max-width: 100%;
    }
}

.float {
    clear: both;
}

.navli {
    list-style: none;
    overflow-x: auto;
}

.navul {
    margin: 0 auto;
    padding: 0;
    white-space: nowrap;
}

.navli a {
    margin: 0;
    padding: 0.3em 1.2em;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-decoration: none;
    color: rgba(0, 0, 0, 1);
    transition: all 0.4s;
    display: inline-block;
}

.navli a:hover {
    margin: 0;
    padding: 0.3em 1.2em;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-decoration: none;
    color: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.6);
    transition: all 0.4s;
}

.active {
    background: rgba(0, 0, 0, 0.6);
}

footer {
    width: 100%;
    padding: 2em 0 2em;
    text-align: center;
    background: #181820;
    position: relative;
    bottom: 0;
}
/* 1 */
footer p {
    margin: 0;
    color: white;
}

.contenta {
    margin: 0 auto;
    max-width: 65%;
    flex: 1 0 auto;
}

a img {
    position: relative;
    right: 3px;
    top: 4px;
}

footer a {
    text-decoration: none;
    color: blue;
}

/* 1 */
.aplayer .aplayer-list ol::-webkit-scrollbar {
    width: 5px;
}

.aplayer .aplayer-list ol::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.548) !important;
}

.aplayer .aplayer-list ol::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.548) !important;
}

.aplayer.aplayer-fixed .aplayer-list {
    border-radius: 6px 6px 0 0 !important;
}

.aplayer.aplayer-fixed .aplayer-miniswitcher {
    border-radius: 0 6px 6px 0 !important;
}

.aplayer.aplayer-fixed.aplayer-narrow .aplayer-body {
    transition: 0.28s !important;
    border-radius: 6px !important;
}

.aplayer .aplayer-list ol li:hover {
    background: var(--theme-color) !important;
}

.aplayer .aplayer-list ol li.aplayer-list-light {
    background: var(--theme-color) !important;
}

.aplayer-lrc p {
    color: #ffffff !important;
    text-shadow: #000000 1px 0 0, #000000 0 1px 0, #000000 -1px 0 0, #000000 0 -1px 0 !important;
}

.aplayer {
    background: rgba(22, 22, 22, 0.6) !important;
    color: rgb(255, 255, 255);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.07), 0 1px 5px 0 rgba(0, 0, 0, 0.1);
}

.aplayer.aplayer-fixed .aplayer-body {
    background: rgba(22, 22, 22, 0.6) !important;
    color: rgb(255, 255, 255);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.07), 0 1px 5px 0 rgba(0, 0, 0, 0.1);
}

.aplayer-info {
    border-top-color: rgba(0, 0, 0, 0.6) !important;
    background-color: rgba(0, 0, 0, 0.4) !important;
}

path {
    fill: #d4d4d4;
}

.aplayer .aplayer-list ol li:hover {
    background: rgba(0, 0, 0, 0.6) !important;
}

.aplayer .aplayer-list ol li.aplayer-list-light {
    background: rgba(0, 0, 0, 0.6) !important;
}

.aplayer .aplayer-info .aplayer-controller .aplayer-time {
    color: #d4d4d4;
}

.aplayer .aplayer-list ol li .aplayer-list-index {
    color: #d4d4d4;
}

.aplayer .aplayer-list ol li .aplayer-list-author {
    color: #d4d4d4;
}

.aplayer.aplayer-fixed .aplayer-miniswitcher {
    background: rgba(22, 22, 22, 0.6);
}

.aplayer-list {
    border-color: rgba(255, 255, 255, 0.219) !important;
}

.aplayer-list ol li {
    border-top-color: rgba(0, 0, 0, 0.6) !important;
}
.aplayer-list-cur{
    background: linear-gradient(#00eeff, #00ff6a);
}

/* 添加的页面过渡动画 */
.page-transition {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.page-leaving {
    opacity: 0;
    transform: translateY(20px);
}

.page-entering {
    opacity: 0;
    transform: translateY(20px);
}

/* 加载指示器 */
.loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: rgba(0,0,0,0.7);
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-size: 16px;
}

.spinner {
    border: 4px solid rgba(0, 174, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid #00eeff;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

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