body.light-theme,
:root {
    /* light theme color */
    --color-main: #222;
    --color-background: #fff;
    --color-text-bg: #eaeaea;
    --color-text-hover: #eeeef1;
    --color-memos-id: #536471;
    --color-img-border: #cfd9de;
    --color-tag: #2563eb;
    --color-tag-hover: #54a3ff;
    --color-fg-muted: #576061;
    --color-border-default: #d0d7de;
    --color-border-muted: #d8dee4;
    --color-post-preview: #fff;
    --color-memos-pre-bg: #f3f4f6;;
    
    /* variables for js, must be the same as these in @custom-media queries */
    --phoneWidth: (max-width: 684px);
    --tabletWidth: (max-width: 900px);
}

body.dark-theme {
    /* dark theme colors */
    --color-main: #adbac7;
    --color-background: #1c2128;
    --color-text-bg: #22272e;
    --color-text-hover: #272c32;
    --color-memos-id: #71767b;
    --color-img-border: #292a2d;
    --color-tag: #539bf5;
    --color-link: #539bf5;
    --color-border-muted: #2d333b;
    --color-post-preview: #4a4b50;
    --color-memos-pre-bg: #2d333b;
}

/* 暗色主题代码块 */
body.dark-theme .memos__text pre {
    background: #2d333b;
    border: 1px solid #444c56;
}

body.dark-theme .memos__text pre code {
    color: #e6e6e6;
}

@media (prefers-color-scheme: light) {
    body:not(.dark-theme) {
        /* light theme color */
        --color-main: #222;
        --color-background: #fff;
        --color-text-bg: #eaeaea;
        --color-text-hover: #eeeef1;
        --color-memos-id: #536471;
        --color-img-border: #cfd9de;
        --color-tag: #2563eb;
        --color-tag-hover: #54a3ff;
        --color-fg-muted: #576061;
        --color-border-default: #d0d7de;
        --color-border-muted: #d8dee4;
        --color-post-preview: #fff;
        --color-memos-pre-bg: #f3f4f6;
    }
}

@media (prefers-color-scheme: dark) {
    body:not(.light-theme) {
        /* dark theme colors */
        --color-main: #adbac7;
        --color-background: #1c2128;
        --color-text-bg: #22272e;
        --color-text-hover: #272c32;
        --color-memos-id: #71767b;
        --color-img-border: #292a2d;
        --color-tag: #539bf5;
        --color-link: #539bf5;
        --color-border-muted: #2d333b;
        --color-post-preview: #4a4b50;
        --color-memos-pre-bg: #2d333b;
    }
}
blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
    margin: 0;
}
body {
    font-family: "LXGW WenKai Screen", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica,
        Arial, "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei",
        "Microsoft Yahei", "Segoe UI", sans-serif, serif;
    color: var(--color-main);
    background-color: var(--color-background);
    box-sizing: border-box;
    min-width: 200px;
    max-width: 980px;
    margin: 0 auto;
    padding: 45px;
}

/* 自定义滚动条样式 */
::-webkit-scrollbar {
    width: 4px; /* 滚动条宽度 */
}

::-webkit-scrollbar-track {
    background: transparent; /* 滚动条轨道背景 */
}

::-webkit-scrollbar-thumb {
    background: rgba(33, 59, 84, 0.5); /* 滚动条颜色（透明黑色） */
    border-radius: 4px; /* 滚动条圆角 */
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(42, 89, 165, 0.7); /* 鼠标悬停时的颜色 */
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    margin: 0;
}

.title {
    font-size: 1.5rem;
}

.pages a {
    color: var(--color-main);
    text-decoration: none;
    margin-left: 1rem;
}

.pages a:hover {
    text-decoration: underline;
}

h1 {
    margin-bottom: 16px;
    font-weight: 600;
    line-height: 1.25;
    margin: .67em 0;
    margin-top: 0.67em;
    margin-bottom: 0.67em;
    font-weight: 600;
    padding-bottom: .3em;
    font-size: 2em;
    border-bottom: 1px solid var(--color-border-muted);
}

blockquote {
    margin: 1em 0;
    padding: 0 1em;
    color: var(--color-fg-muted);
    border-left: 0.25em solid var(--color-border-default);
}

#main {
    padding-top: 10px;
}

.theme-toggle {
    cursor: pointer;
}

.total {
    text-align: left;
}

.memos {
    min-height: 300px;
    text-align: left;
    width: 100%;
    line-height: 1.6;
    margin: 2rem 0;
}

.memos a {
    color: var(--color-link);
    text-decoration: none;
}

.memos a:hover {
    text-decoration: underline;
}

.memos ul {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.memos__content {
    flex-grow: 1;
    margin-left: 50px;
    position: relative;
    max-width: 100%;
    width: 100%;
}

/* 移动端适配 */
@media (max-width: 600px) {
    .memos__content {
        margin-left: 0;
    }

    /* 隐藏 ::before 伪元素头像，改用 <img> 标签 */
    .memos__content:before {
        display: none;
    }

    /* 移动端头像样式 */
    .mobile-avatar {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
    }

    .memos__userinfo {
        margin-left: 0;
    }

    /* 移动端用户名和ID在同一行，头像在最左边 */
    .memos__userinfo-left {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    .memos__userinfo-left > div:first-child {
        font-weight: 700;
    }
}

.memos__content:before {
    content: '';
    position: absolute;
    background: url('../img/avatar.webp') no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    left: -50px;
    top: 10px;
    border: 0;
    object-fit: cover;
}

.memos__text {
    position: relative;
    background: var(--color-text-bg);
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.timeline {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-bottom: 1.5rem;
}

.timeline:hover .memos__text:before {
    background: var(--color-text-hover);
    z-index: 1;
}

.timeline:hover .memos__text {
    background: var(--color-text-hover);
}

.memos__text {
    width: 100%;
    overflow-wrap: break-word;
    font-size: 1rem;
    line-height: 1.6;
}

/* 段落间距优化 */
.memos__text p {
    margin: 0.5em 0;
}

.memos__text p:first-of-type {
    margin-top: 0.25em;
}

.memos__text p:last-of-type {
    margin-bottom: 0;
}

.memos__text ul li {
    list-style: none;
}

.memos__text i {
    margin: 0 0.25rem;
}

.memos__text:before {
    content: "";
    position: absolute;
    top: 23px;
    left: -7px;
    width: 14px;
    height: 14px;
    transform: rotate(45deg);
    border-radius: 3px;
    background: var(--color-text-bg);
    z-index: 1;
}

/* 传统代码块样式 */
.memos__text pre {
    position: relative;
    margin: 0.5rem 0;
    max-width: 100%;
    white-space: pre-wrap;
    border-radius: 6px;
    background: var(--color-memos-pre-bg);
    border: 1px solid var(--color-border-muted);
    overflow-x: auto;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* 代码块内容区域 */
.memos__text pre code {
    display: block;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    font-family: 'SF Mono', 'Monaco', 'Menlo', 'Consolas', monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--color-main);
    overflow-x: auto;
}

/* 内联代码样式 */
.memos__text code:not(pre code) {
    display: inline-block;
    border-radius: 0.25rem;
    background-color: var(--color-memos-pre-bg);
    padding: 0.125rem 0.375rem;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Source Code Pro', monospace;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--color-main);
    border: 1px solid var(--color-border-muted);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Mac风格复制按钮 - 默认隐藏 */
.memos__text pre .copy-btn {
    position: absolute;
    top: 8px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-2px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 悬停时显示复制按钮 */
.memos__text pre:hover .copy-btn {
    opacity: 1;
    transform: translateY(0);
}

.memos__text pre .copy-btn:hover {
    background: rgba(255, 255, 255, 1);
    color: #374151;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.memos__text pre .copy-btn.copied {
    background: #10b981;
    color: white;
    opacity: 1;
    border-color: #059669;
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

/* Mac风格滚动条 */
.memos__text pre::-webkit-scrollbar {
    height: 8px;
}

.memos__text pre::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.memos__text pre::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.memos__text pre::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

.memos__meta {
    margin: 0;
}

.memos__meta small {
    font-size: 0.8rem;
    font-weight: 500;
    color: #8186a2;
}

.memos__userinfo {
    display: flex;
    font-weight: 700;
    align-items: center;
}

.memos__verify {
    margin-left: 2px;
    max-width: 20px;
    max-height: 20px;
    color: #1d9bf0;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    vertical-align: text-bottom;
    position: relative;
    height: 1.25rem;
    fill: currentcolor;
    display: inline-block;
    flex-shrink: 1;
    margin-left: 4px;
}

.memos__id {
    font-size: 0.875rem;
    overflow-wrap: break-word;
    min-width: 0px;
    box-sizing: border-box;
    color: var(--color-memos-id);
    display: inline;
    white-space: pre-wrap;
    word-wrap: break-word;
    flex-shrink: 1;
    font-weight: 400;
    margin-left: 4px;
}

.resource-wrapper {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.images-wrapper {
    margin-top: 0.5rem;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .images-wrapper {
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

.resimg {
    width: 100%;
    overflow: hidden;
    border-radius: 0.25rem;
    --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
    --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);
    -ms-overflow-style: none;
    scrollbar-width: none;
    height: 202px;
}

.timeline img, .resimg img {
    display: block;
    vertical-align: middle;
    max-width: 100%;
    cursor: pointer;
    -o-object-fit: cover;
    object-fit: cover;
}

.tag-span {
    margin: 0 0.25rem;
    color: var(--color-tag);
}

.tag-span:hover {
    color: var(--color-tag-hover);
}

/* 移除加载更多按钮样式 */

.post-preview {
    max-width: 780px;
    height: 210px;
    margin: 1em auto;
    position: relative;
    display: flex;
    background: var(--color-post-preview);
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 0 1px rgba(0, 0, 0, .25);
}

.post-preview--meta {
    width: 75%;
    padding: 25px;
    overflow: hidden;
}

.post-preview--middle {
    line-height: 28px;
}

.post-preview--title {
    font-size: 18px;
    margin: 0 !important;
}

.post-preview--title a {
    text-decoration: none;
}

.post-preview--date {
    font-size: 14px;
    color: #999;
}

.post-preview--excerpt {
    font-size: 14px;
    line-height: 1.825;
}

.post-preview--excerpt p {
    display: inline;
    margin: 0;
}

.post-preview section {
    max-height: 75px;
    overflow: hidden;
}

.post-preview img {
    height: 210px !important;
}

.post-preview--image {
    margin: 0 !important;
    float: right;
    border-radius: 0 !important;
    border-top-right-radius: 2px !important;
    border-bottom-right-radius: 2px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}


.rating {
    display: block;
    line-height: 15px;
}

.rating-star {
    display: inline-block;
    width: 75px;
    height: 15px;
    background-repeat: no-repeat;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEsAAAClCAYAAAAUAAAYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA5xJREFUeNrs3T9rFEEcxvG7qEQIglaCICKkin9AUEtBKxU7wS61VlYivgWj70TtNFj5BqzE7qxEWwsxKIoYn4UtluFmbm8nczvzm+/BjxyuDwNzu3uXD0+46f7LC5PA45Hm+WTYw1x2LRDc0jzTXB+wqMlsaLPutz8fDFjYZHYauAz3NBvt83XNnyUWNpn1nVm3OsHmsb3EomazzZnVXKMPNcc0xzUnNKc0Rzv/77fms+Z7O3vt9b1eU7bZrNN68l5zcolX4ofmsuZXTdnmMvyi2dR86Bmcac62P6vKrnVubpc0bxYE32nOab45N8YqsvPeDfcD4SOav4HjprPuu+H5BTt9LXDMfNbdLPfT678Fx6vKupt1o/O8+R3pkOaJ5/iktqx7z/qp+aq5q/nY+fczmheaK03Gs7D5rLtZdzSvA6/Ebc2u55j57HQB0TzW7AzkjiKzny6+2hlKNE8juMNcFqKBaIZndRlCNBBNgmx7ZkE0fbLtZkE0EA1EM17WuQwhGogGooFoss6296y52cNO+J6HLJoPaFdbsvA9zGerIxrPh85eWYgGooFoDiQbuAxp0UA0EVmdWbRo+ma1WbRoIBqIZtzsnHdDWjQQDUQD0WSbde5ZS2UhmtqJJtSEiVkXooFoIJre2VATJmZdiKZ2ogk1YSb8oVMvDeUPnSAaiCaPJkzMuhANRAPRQDQpsqEmTMy6EI11oolpwkA0EA1EcyDZmCYMRAPR+LMxTZjqiCamCQPRQDQQzehNGIgGooFoIJpVZ2OaMBBN7USTqgkD0UA0EE3vbKomDERTO9GkasKYJJpUTRiIBqKBaEZvwkA0EA1EA9GkyKZqwkA01olmrCYMRAPRQDR9LkO+0QmiKbAJUyTRjNWEgWggGohm9CYMRAPRQDQQzZDsWE0YiMYC0eTYhIFoIJrKiCbHJgxEY4FocmzCZEs0OTZhIBqIpjKiybEJA9FANBANROPL5tiEgWhKIJoSmzAQDURjjGhKbMJANCUQTYlNmNGIpsQmDEQD0RgjmhKbMBANRAPR1Es0JTZhIJpciMZaEwaigWgKJBprTRiIJheisdaESUo01powEA1EUyDRWGvCQDQQDURjm2isNWEgmlURzWw2q4pZIBqIJkOiCVyGJpkFolkV0ejMMvel28mIRptl7ku3IRqIpjCimfNuaJpZIBqIBqIpm2ice5Z5ZonJupvVkMRu4JW4qXnrOWY++1+AAQBw9BJSCTeN9wAAAABJRU5ErkJggg==);
    overflow: hidden;
}

.allstar10 {
    background-position: 0px 0px;
}

.allstar9 {
    background-position: 0px -15px;
}

.allstar8 {
    background-position: 0px -30px;
}

.allstar7 {
    background-position: 0px -45px;
}

.allstar6 {
    background-position: 0px -60px;
}

.allstar5 {
    background-position: 0px -75px;
}

.allstar4 {
    background-position: 0px -90px;
}

.allstar3 {
    background-position: 0px -105px;
}

.allstar2 {
    background-position: 0px -120px;
}

.allstar1 {
    background-position: 0px -135px;
}

.allstar0 {
    background-position: 0px -150px;
}

.rating-average {
    color: #777;
    display: inline-block;
    font-size: 13px;
    margin-left: 10px;
}

.spotify-wrapper>iframe {
    position: relative;
    height: 152px;
}

@media (max-width: 683px) {

    body {
        padding: 45px 50px 45px 20px;
    }

    .menu,
    .title {
        font-size: 1rem;
    }

    .memos__content {
        margin-left: 0;
    }

    .memos__text:before {
        display: none;
    }

    .memos__userinfo {
        margin-left: 0;
    }

    .memos__content:before {
        border-radius: 25px;
        height: 25px;
        width: 25px;
        left: 15px;
        top: 15px;
        z-index: 2;
    }

    /* 移除移动端加载按钮样式 */

    .timeline ul li {
        margin-left: 0;
    }

    .timeline ul li div {
        width: calc(100vw - 75px);
        left: 30px;
        max-width: 585px;
    }

    .post-preview {
        width: 95%;
    }

    .post-preview--excerpt {
        display: none;
    }

    .post-preview--middle {
        line-height: 19px;
    }

    /* 移动端代码块样式 */
    .memos__text pre {
        font-size: 0.8rem;
    }

    .memos__text pre code {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .memos__text code:not(pre code) {
        font-size: 0.75rem;
        padding: 0.1rem 0.25rem;
    }
}

.video-wrapper {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    width: 100%;
}

.video-wrapper iframe {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

footer {
    padding: 20px 0;
    text-align: center;
}

.hidden {
    display: none !important;
}

.filter{
	display:none;
}
/*鼠标小黑猫光标*/
button {cursor:url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/work.cur),alias}
p {cursor:url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur),auto}
a {cursor:url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/ayuda.cur),auto}
a:active {cursor:url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/work.cur),alias}
body {cursor:url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/normal.cur),auto}

/* ========== 悬浮音乐播放器 ========== */
#music-player-container {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 9999;
    font-family: "LXGW WenKai Screen", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 悬浮按钮 */
#music-fab {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-text-bg);
    color: var(--color-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border-muted);
}

#music-fab:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#music-fab.playing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); }
    50% { box-shadow: 0 2px 15px rgba(0, 0, 0, 0.25); }
}

/* 播放器面板 */
#music-player-panel {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 280px;
    background: var(--color-background);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 16px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border-muted);
}

#music-player-panel.hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

/* 播放器头部 */
.player-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.song-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

#song-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#song-artist {
    font-size: 12px;
    color: var(--color-memos-id);
    margin-top: 2px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--color-memos-id);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    margin-left: 8px;
}

.close-btn:hover {
    color: var(--color-main);
}

/* 进度条 */
.player-progress {
    margin-bottom: 12px;
}

#progress-bar {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--color-border-muted);
    border-radius: 2px;
    cursor: pointer;
}

#progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-main);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#progress-bar::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-main);
    cursor: pointer;
    border: none;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--color-memos-id);
    margin-top: 4px;
}

/* 控制按钮 */
.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.player-controls button {
    background: none;
    border: none;
    color: var(--color-main);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.player-controls button:hover {
    background: var(--color-text-bg);
}

#play-btn {
    background: var(--color-main);
    color: var(--color-background);
    width: 40px;
    height: 40px;
}

#play-btn:hover {
    opacity: 0.85;
}

/* 音量控制 */
.volume-control {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    color: var(--color-memos-id);
}

#volume-bar {
    width: 60px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--color-border-muted);
    border-radius: 2px;
    cursor: pointer;
}

#volume-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-main);
    cursor: pointer;
}

#volume-bar::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-main);
    cursor: pointer;
    border: none;
}

/* 移动端适配 */
@media (max-width: 600px) {
    #music-player-container {
        bottom: 90px;
        right: 12px;
        z-index: 99999;
    }

    #music-player-panel {
        width: calc(100vw - 32px);
        max-width: 320px;
        right: 0;
        bottom: 56px;
    }

    #music-fab {
        width: 46px;
        height: 46px;
    }
}