@font-face {
    src: url(fonts/HarmonyOS_Sans_SC_Regular.woff2);
    font-family: "HarmonyOS Sans SC";
}

@font-face {
    src: url(fonts/HarmonyOS_Sans_SC_Bold.woff2);
    font-family: "HarmonyOS Sans SC";
    font-weight: bold;
}

@font-face {
    src: url(fonts/HarmonyOS_Sans_Regular.woff2);
    font-family: "HarmonyOS Sans";
}

@font-face {
    src: url(fonts/HarmonyOS_Sans_Bold.woff2);
    font-family: "HarmonyOS Sans";
    font-weight: bold;
}

@font-face {
    src: url(fonts/HarmonyOS_Sans_SC_Thin.woff2);
    font-family: "HarmonyOS Sans SC";
    font-weight: 100;
}

@font-face {
    src: url(fonts/HarmonyOS_Sans_Thin.woff2);
    font-family: "HarmonyOS Sans";
    font-weight: 100;
}

* {
    font-family: "HarmonyOS Sans", "HarmonyOS Sans SC", sans-serif;
    -webkit-user-select: none;
    user-select: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
    --color1: rgba(232, 232, 232, 0.9);
    --color2: rgba(197, 197, 199, 0.9);
    --color3: rgba(255, 255, 255, 0.9);
    --color4: rgba(150, 150, 150, 0.9);
    --color5: rgba(210, 210, 210, 0.9);
    --color1-rgba: rgba(232, 232, 232, 0);
    --color2-rgba: rgba(197, 197, 199, 0);
    --color3-rgba: rgba(255, 255, 255, 0);
    --color4-rgba: rgba(150, 150, 150, 0);
    --color5-rgba: rgba(210, 210, 210, 0);
    --type-time: 0;
}

::-webkit-scrollbar {
    display: none;
}

body {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    z-index: 2;
    margin: 0;
    background: #e8e8e8;
}

.main {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.leftcontent {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45vw;
    height: 100vh;
}

.svgcontainer {
    width: 420px;
    height: 420px;
    border-radius: 10px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px #0005;
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-top: 28px;
    transform: scale(1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.svgcontainer:hover {
    transform: scale(1.1);
}

.svgcontainer[style*="background-image: url"] .svg {
    display: none;
}

.svg {
    width: 100%;
    height: 100%;
    background: transparent;
}

.svg svg {
    width: 100%;
    height: 100%;
}

input[type="file"] {
    display: none;
}

.processbar {
    width: 425px;
    background: #fff9;
    height: 8px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 0 3px #0009;
}

.process {
    width: 0%;
    height: 100%;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 0 3px #0009;
}

.time {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 425px;
    color: #fff;
    text-shadow: 0 0 3px #0009;
}

p {
    margin: 0;
}

.name {
    -webkit-user-select: auto;
    user-select: auto;
}

.conbox {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.controls, .controls > * {
    display: flex;
    width: 32px;
    height: 28px;
}

.controls > .play {
    display: block;
    transition: transform 0.1s ease;
}

.controls > .pause {
    display: none;
    transition: transform 0.1s ease;
}

.rightcontent {
    width: 55%;
}

.lyricscontainer {
    height: 100vh;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.lyrics {
    max-width: 100%;
    font-size: 24px;
    line-height: 1.6;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50vh 0;
    overflow-y: auto;
    height: 100vh;
    box-sizing: border-box;
}

.lyrics > .item {
    padding: 12px 20px;
    box-sizing: border-box;
    background-color: transparent;
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.25s ease,
                opacity 0.2s ease,
                filter 0.2s ease;
}

.lyrics > .item.active {
    color: rgba(255, 255, 255, 1);
    transform: scale(1.05);
    opacity: 1;
}

.lyrics > .item.inactive {
    color: rgba(255, 255, 255, 0.3);
    transform: scale(1);
    opacity: 0.7;
    filter: blur(0.3px);
}

.lyrics > .item > p {
    font-size: 45px;
    margin: 0;
    text-align: center;
}

.lyrics > .item > .lyrics-translation {
    font-size: 28px;
    font-weight: 100;
    font-family: "HarmonyOS Sans SC", "HarmonyOS Sans", sans-serif;
    margin: 4px 0 0 0;
    text-align: center;
    opacity: 0.75;
}

.lyrics.hide-translation .lyrics-translation {
    display: none;
}

.lyrics > .item > .lyrics-romanization {
    font-size: 28px;
    font-weight: 100;
    font-family: "HarmonyOS Sans SC", "HarmonyOS Sans", sans-serif;
    margin: 4px 0 0 0;
    text-align: center;
    opacity: 0.75;
}

.lyrics.hide-romanization .lyrics-romanization {
    display: none;
}

/* ========= 逐字歌词样式 ========= */
.lyrics > .item.yrc-line > .yrc-text {
    font-size: 45px;
    margin: 0;
    text-align: center;
    line-height: 1.6;
    position: relative;
}

.lyrics > .item.yrc-line > .yrc-text > .yrc-char {
    display: inline-block;
    position: relative;
    transition: color 0.1s ease-out,
                text-shadow 0.12s ease-out,
                transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1),
                filter 0.1s ease-out;
    color: rgba(255, 255, 255, 0.2);
    transform: translateY(0);
    white-space: pre;
}

/* 当前行：未唱到的字 - 柔和待命状态 */
.lyrics > .item.yrc-line.active > .yrc-text > .yrc-char {
    color: rgba(255, 255, 255, 0.35);
    text-shadow: none;
}

/* 当前正在唱的字 - 发光高亮 + 轻微上弹 */
.lyrics > .item.yrc-line.active > .yrc-text > .yrc-char.sung {
    color: #fff;
    text-shadow:
        0 0 6px rgba(255, 255, 255, 1),
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(180, 200, 255, 0.5),
        0 2px 8px rgba(100, 150, 255, 0.4);
    transform: translateY(-3px) scale(1.08);
    filter: brightness(1.3);
    transition: color 0.06s ease-out,
                text-shadow 0.08s ease-out,
                transform 0.1s cubic-bezier(0.34, 1.56, 0.64, 1),
                filter 0.08s ease-out;
}

/* 正在唱的字底部流光 */
.lyrics > .item.yrc-line.active > .yrc-text > .yrc-char.sung::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(160, 200, 255, 0.9),
        rgba(255, 255, 255, 1),
        rgba(160, 200, 255, 0.9),
        transparent
    );
    box-shadow: 0 0 8px rgba(160, 200, 255, 0.6), 0 0 16px rgba(100, 160, 255, 0.3);
    animation: charGlow 0.6s ease-in-out infinite alternate;
}

@keyframes charGlow {
    0% {
        opacity: 0.7;
        transform: scaleX(0.6);
    }
    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* 已经唱过的字 - 温暖余辉 */
.lyrics > .item.yrc-line.active > .yrc-text > .yrc-char.past {
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 0 10px rgba(200, 220, 255, 0.25);
    transform: translateY(0) scale(1);
    filter: brightness(1.05);
    transition: color 0.15s ease,
                text-shadow 0.2s ease,
                transform 0.12s ease,
                filter 0.15s ease;
}

/* 非当前行的字 - 淡化 */
.lyrics > .item.yrc-line.inactive > .yrc-text > .yrc-char {
    color: rgba(255, 255, 255, 0.2);
    text-shadow: none;
    transform: translateY(0) scale(1);
    filter: none;
}

.background {
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -5;
    background-color: var(--background);
    background-image:
        radial-gradient(closest-side, var(--color1), var(--color1-rgba)),
        radial-gradient(closest-side, var(--color2), var(--color2-rgba)),
        radial-gradient(closest-side, var(--color3), var(--color3-rgba)),
        radial-gradient(closest-side, var(--color4), var(--color4-rgba)),
        radial-gradient(closest-side, var(--color5), var(--color5-rgba));
    background-size:
        130vmax 130vmax,
        80vmax 80vmax,
        90vmax 90vmax,
        110vmax 110vmax,
        90vmax 90vmax;
    background-position:
        -80vmax -80vmax,
        60vmax -30vmax,
        10vmax 10vmax,
        -30vmax -10vmax,
        50vmax 50vmax;
    background-repeat: no-repeat;
    animation: 20s movement linear infinite;
    background-attachment: fixed;
    filter: brightness(0.8);
}

@keyframes movement {
    0%, 100% {
        background-size:
            130vmax 130vmax,
            80vmax 80vmax,
            90vmax 90vmax,
            110vmax 110vmax,
            90vmax 90vmax;
        background-position:
            -80vmax -80vmax,
            60vmax -30vmax,
            10vmax 10vmax,
            -30vmax -10vmax,
            50vmax 50vmax;
    }

    25% {
        background-size:
            100vmax 100vmax,
            90vmax 90vmax,
            100vmax 100vmax,
            90vmax 90vmax,
            60vmax 60vmax;
        background-position:
            -60vmax -90vmax,
            50vmax -40vmax,
            0vmax -20vmax,
            -40vmax -20vmax,
            40vmax 60vmax;
    }

    50% {
        background-size:
            80vmax 80vmax,
            110vmax 110vmax,
            80vmax 80vmax,
            60vmax 60vmax,
            80vmax 80vmax;
        background-position:
            -50vmax -70vmax,
            40vmax -30vmax,
            10vmax 0vmax,
            20vmax 10vmax,
            30vmax 70vmax;
    }

    75% {
        background-size:
            90vmax 90vmax,
            90vmax 90vmax,
            100vmax 100vmax,
            90vmax 90vmax,
            70vmax 70vmax;
        background-position:
            -50vmax -40vmax,
            50vmax -30vmax,
            20vmax 0vmax,
            -10vmax 10vmax,
            40vmax 60vmax;
    }
}

.noTransition, .noTransition * {
    transition: none !important;
}

/* ========= 鼠标靠近显示 + 液态玻璃效果 ========= */
.bg-controls {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1), visibility 0.25s;
}

.bg-controls.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 液态玻璃效果 */
.bg-btn {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 40px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease;
}

.bg-btn:hover {
    background: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.8);
}

.bg-btn:active {
    transform: translateY(1px) scale(0.98);
}

/* 视频背景样式 */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -4;
    object-fit: cover;
}

/* 绿幕背景样式 */
.green-screen {
    background-color: #00ff00 !important;
}

.green-screen .background,
.green-screen .background-video {
    display: none !important;
}

/* ========= 链接输入弹窗样式 ========= */
.link-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.link-modal.show {
    display: flex;
}

.link-modal-content {
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px 35px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.link-modal-content h3 {
    margin: 0 0 25px 0;
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
}

.link-input-group {
    margin-bottom: 18px;
}

.link-input-group label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.link-input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 14px;
    box-sizing: border-box;
    transition: all 0.2s ease;
    font-family: "HarmonyOS Sans", "HarmonyOS Sans SC", sans-serif;
}

.link-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.link-input-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.link-modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    justify-content: flex-end;
}

.link-modal-buttons .bg-btn {
    padding: 10px 24px;
    font-size: 14px;
}

.link-modal-buttons .bg-btn#link-play {
    background: rgba(255, 255, 255, 0.35);
}

.link-modal-buttons .bg-btn#link-play:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* ========= 关于弹窗样式 ========= */
.about-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.about-modal.show {
    display: flex;
}

.about-modal-content {
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 50px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.about-text {
    color: white;
    font-size: 18px;
    margin: 0 0 25px 0;
    letter-spacing: 0.5px;
}

.about-modal-content .bg-btn {
    padding: 10px 30px;
    font-size: 14px;
}

/* ========= QQ音乐搜索弹窗样式 ========= */
.qqmusic-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.qqmusic-modal.show {
    display: flex;
}

.qqmusic-modal-content {
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px 35px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.qqmusic-modal-content h3 {
    margin: 0 0 10px 0;
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
}

.qqmusic-tip {
    margin: 0 0 20px 0;
    color: rgba(255, 200, 100, 0.9);
    font-size: 13px;
    text-align: center;
    letter-spacing: 0.3px;
}

.qqmusic-results {
    margin-top: 20px;
}

.qqmusic-results label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.qqmusic-result-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.qqmusic-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qqmusic-result-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(4px);
}

.qqmusic-result-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}

.qqmusic-result-name {
    color: white;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qqmusic-result-singer {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qqmusic-result-vip {
    color: rgba(255, 200, 100, 0.9);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    background: rgba(255, 200, 100, 0.15);
    border-radius: 20px;
    flex-shrink: 0;
    margin-left: 10px;
}

/* ========= 歌词设置弹窗样式 ========= */
.lyrics-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lyrics-settings-modal.show {
    display: flex;
}

.lyrics-settings-modal-content {
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px 35px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.lyrics-settings-modal-content h3 {
    margin: 0 0 25px 0;
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
}

.lyrics-settings-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lyrics-settings-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.lyrics-settings-option:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.lyrics-settings-option-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lyrics-settings-option-name {
    color: white;
    font-size: 15px;
    font-weight: 600;
}

.lyrics-settings-option-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

/* 歌词设置开关按钮样式 */
.lyrics-settings-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.lyrics-settings-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.lyrics-settings-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 26px;
}

.lyrics-settings-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.lyrics-settings-switch input:checked + .lyrics-settings-slider {
    background-color: rgba(100, 200, 100, 0.8);
}

.lyrics-settings-switch input:checked + .lyrics-settings-slider:before {
    transform: translateX(22px);
}

/* 歌词设置分隔线 */
.lyrics-settings-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 8px 0;
}

/* 歌词设置分组标题 */
.lyrics-settings-section-title {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0 4px;
    margin-bottom: 4px;
}

/* 歌词设置单选按钮样式 */
.lyrics-settings-radio {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.lyrics-settings-radio input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.lyrics-settings-radio-mark {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.lyrics-settings-radio-mark::after {
    content: '';
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
}

.lyrics-settings-radio input:checked ~ .lyrics-settings-radio-mark {
    background-color: rgba(100, 200, 100, 0.8);
}

.lyrics-settings-radio input:checked ~ .lyrics-settings-radio-mark::after {
    display: block;
}

/* ========= 播放模式弹窗样式 ========= */
.playmode-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.playmode-modal.show {
    display: flex;
}

.playmode-modal-content {
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px 35px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.playmode-modal-content h3 {
    margin: 0 0 25px 0;
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
}

.playmode-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.playmode-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.playmode-option:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.playmode-option-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.playmode-option-name {
    color: white;
    font-size: 15px;
    font-weight: 600;
}

.playmode-option-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

/* 开关按钮样式 */
.playmode-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.playmode-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.playmode-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 26px;
}

.playmode-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.playmode-switch input:checked + .playmode-slider {
    background-color: rgba(100, 200, 100, 0.8);
}

.playmode-switch input:checked + .playmode-slider:before {
    transform: translateX(22px);
}
