:root {
    --primary-color: #8c7ae6;
    --primary-shadow: rgba(140, 122, 230, 0.3);
    --primary-shadow-hover: rgba(140, 122, 230, 0.5);
    --primary-shadow-light: rgba(140, 122, 230, 0.2);
    --secondary-color: #a29bfe;
    --text-light: #ffffff;
    --text-dim: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.25);
    --backdrop-blur: 20px;
    --sq-color: #2ecc71;
    --hires-color: #f1c40f;
    --hq-color: #00d2d3;
    --std-color: #dfe6e9;
    --unk-color: #636e72;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: linear-gradient(135deg, #2b5876, #4e4376);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: var(--text-light);
}

.mobile-only {
    display: none;
}

.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -2;
    transition: background-color 1s ease, filter 1s ease;
    animation: floatOrb 20s infinite alternate ease-in-out;
    pointer-events: none;
}

.orb-1 {
    width: 45vw;
    height: 45vw;
    background: var(--primary-color);
    top: -10vw;
    left: -10vw;
    opacity: 0.65;
    animation-delay: 0s;
}

.orb-2 {
    width: 40vw;
    height: 40vw;
    background: var(--primary-color);
    bottom: -10vw;
    right: -5vw;
    opacity: 0.55;
    filter: blur(120px) hue-rotate(30deg);
    animation-delay: -5s;
}

.orb-3 {
    width: 35vw;
    height: 35vw;
    background: var(--primary-color);
    top: 30vw;
    left: 30vw;
    opacity: 0.45;
    filter: blur(120px) hue-rotate(-30deg);
    animation-delay: -10s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(6vw, 6vw) scale(1.1);
    }

    100% {
        transform: translate(-6vw, -6vw) scale(0.9);
    }
}

.dynamic-bg {
    position: fixed;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(80px) brightness(0.7);
    z-index: -1;
    transition: background-image 0.5s ease-in-out, opacity 0.5s ease;
    opacity: 0;
}

.dynamic-bg.active {
    opacity: 0.65;
}

.container {
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--backdrop-blur)) saturate(120%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    display: flex;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
}

.sidebar {
    width: 35%;
    padding: 30px;
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    z-index: 1;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    transition: opacity 0.4s ease;
}

.search-box {
    position: relative;
    margin-bottom: 25px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.search-box input {
    width: 100%;
    padding: 12px 85px 12px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    outline: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

#searchBtn {
    position: absolute;
    right: 18px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

#searchBtn:hover {
    color: #fff;
}

#clearBtn {
    position: absolute;
    right: 48px;
    width: 24px;
    height: 24px;
    background: transparent;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
}

#clearBtn:hover {
    color: #fff;
    transform: scale(1.1);
}

.song-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
    padding-bottom: 20px;
    display: none;
    scrollbar-width: none;
}

.song-list::-webkit-scrollbar {
    display: none;
}

.song-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 10px;
}

.song-item:hover,
.song-item.active {
    background: rgba(255, 255, 255, 0.15);
}

.song-info {
    flex: 1;
    overflow: hidden;
    margin-right: 10px;
}

.song-info h4 {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-info p {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 2px;
}

.song-duration {
    font-size: 12px;
    color: var(--text-dim);
    margin-right: 15px;
    font-variant-numeric: tabular-nums;
}

.play-list-icon {
    color: var(--text-dim);
    font-size: 18px;
    transition: 0.3s;
    opacity: 0.5;
}

.song-item:hover .play-list-icon {
    color: var(--primary-color);
    opacity: 1;
    transform: scale(1.1);
}

.song-item.active .play-list-icon {
    color: var(--primary-color);
    opacity: 1;
}

#homeContent {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    padding-right: 5px;
    scrollbar-width: none;
}

#homeContent::-webkit-scrollbar {
    display: none;
}

.welcome-header {
    text-align: center;
    margin-bottom: 25px;
    margin-top: 10px;
    animation: fadeIn 0.5s ease;
    flex-shrink: 0;
}

.empty-icon {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 10px;
    display: block;
}

.welcome-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.welcome-text p {
    font-size: 12px;
    color: var(--text-dim);
}

.charts-container {
    width: 100%;
    padding-bottom: 40px;
    animation: fadeIn 0.8s ease;
    flex: none;
    overflow: visible;
}

.chart-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.chart-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-title {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.chart-more {
    font-size: 12px;
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.chart-more:hover {
    color: white;
}

.chart-song-item {
    display: flex;
    align-items: center;
    padding: 8px 5px;
    cursor: pointer;
    transition: 0.2s;
    border-radius: 8px;
}

.chart-song-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.chart-rank {
    width: 25px;
    font-size: 16px;
    font-weight: bold;
    font-style: italic;
    margin-right: 10px;
    text-align: center;
}

.rank-1 {
    color: #ffda79;
    text-shadow: 0 0 10px rgba(255, 218, 121, 0.2);
    font-size: 18px;
}

.rank-2 {
    color: #d1ccc0;
}

.rank-3 {
    color: #e1b12c;
}

.rank-other {
    color: var(--text-dim);
    font-size: 14px;
}

.chart-song-info {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
}

.chart-song-info span {
    color: var(--text-dim);
    font-size: 12px;
    margin-left: 5px;
}

.title-color-93 {
    color: #ff7675;
}

.title-color-16 {
    color: #ff9f43;
}

.title-color-17 {
    color: #54a0ff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.player-area {
    width: 65%;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: transparent;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    justify-content: space-between;
}

.player-main-body {
    display: flex;
    flex: 1;
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
    align-items: center;
    position: relative;
}

.swipe-container {
    display: flex;
    flex: 1;
    width: 100%;
    height: 100%;
    align-items: center;
}

.player-left-panel {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 20px;
    animation: fadeIn 0.6s ease;
}

.player-right-panel {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: fadeIn 0.8s ease;
}

.player-bottom-controls {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.mobile-back-btn {
    display: none;
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 24px;
    color: var(--text-dim);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.player-download-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 20;
}

.player-download-btn:hover {
    background: #fff;
    color: #000;
    transform: scale(1.1);
}

.player-download-btn.loading {
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: scale(1);
}

.floating-player-btn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 100;
    cursor: pointer;
    animation: pulse 2s infinite;
}

.floating-player-btn.show {
    display: flex;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.album-art {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    margin-bottom: 60px;
    transition: transform 0.3s;
    flex-shrink: 0;
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    position: relative;
    background: transparent;
}

.premium-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
    transition: opacity 0.6s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.1);
}

.placeholder-gradient {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--primary-color), transparent 60%);
    animation: spinGradient 5s linear infinite;
    opacity: 0.9;
}

.placeholder-icon {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.placeholder-icon i {
    font-size: 32px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes spinGradient {
    100% {
        transform: rotate(360deg);
    }
}

.album-art img {
    width: 102%;
    height: 102%;
    margin: -1%;
    object-fit: cover;
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    animation-play-state: paused;
    position: relative;
    z-index: 1;
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.album-art.playing img {
    animation-play-state: running;
}

.track-info {
    text-align: center;
    width: 100%;
    padding: 0 10px;
    margin-bottom: 20px;
}

.track-info h2 {
    font-size: 24px;
    margin-bottom: 8px;
    line-height: 1.3;
    font-weight: 600;
}

.gradient-text {
    background: linear-gradient(to right, #fff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.artist-container {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 16px;
    margin-top: 8px;
    gap: 8px;
    transition: opacity 0.4s ease;
}

#artistName {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 0 1 auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    line-height: 1.4;
    padding-bottom: 2px;
}

#dotSeparator,
.quality-tag {
    flex-shrink: 0;
}

#dotSeparator {
    width: 3px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: none;
}

.quality-tag {
    display: none;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

.quality-tag.sq {
    color: var(--sq-color);
    background: rgba(46, 204, 113, 0.2);
    box-shadow: inset 0 0 0 1px rgba(46, 204, 113, 0.3);
}

.quality-tag.hires {
    color: var(--hires-color);
    background: rgba(241, 196, 15, 0.2);
    box-shadow: inset 0 0 0 1px rgba(241, 196, 15, 0.4);
}

.quality-tag.hq {
    color: var(--hq-color);
    background: rgba(0, 210, 211, 0.2);
    box-shadow: inset 0 0 0 1px rgba(0, 210, 211, 0.3);
}

.quality-tag.standard {
    color: var(--std-color);
    background: rgba(223, 230, 233, 0.2);
    box-shadow: inset 0 0 0 1px rgba(223, 230, 233, 0.3);
}

.quality-tag.unknown {
    color: var(--unk-color);
    background: rgba(99, 110, 114, 0.4);
    box-shadow: inset 0 0 0 1px rgba(99, 110, 114, 0.3);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.lyrics-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-align: center;
    position: relative;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    display: block;
}

.lyrics-wrapper {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.lyrics-wrapper.no-lyrics {
    height: 100%;
    justify-content: center;
    transform: none !important;
}

.mini-equalizer {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    height: 35px;
    margin-bottom: 15px;
}

.mini-equalizer span {
    width: 5px;
    background: var(--primary-color);
    border-radius: 3px;
    animation: eqBounce 1s infinite ease-in-out;
    box-shadow: 0 0 12px var(--primary-color);
}

.mini-equalizer span:nth-child(1) {
    height: 10px;
    animation-delay: 0s;
}

.mini-equalizer span:nth-child(2) {
    height: 25px;
    animation-delay: 0.2s;
}

.mini-equalizer span:nth-child(3) {
    height: 35px;
    animation-delay: 0.4s;
}

.mini-equalizer span:nth-child(4) {
    height: 20px;
    animation-delay: 0.6s;
}

.mini-equalizer span:nth-child(5) {
    height: 15px;
    animation-delay: 0.8s;
}

@keyframes eqBounce {

    0%,
    100% {
        transform: scaleY(0.5);
        opacity: 0.8;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

.empty-lyric-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
}

.lyric-line {
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.6;
    min-height: 30px;
    margin: 0;
    max-width: 90%;
    cursor: default;
    transform-origin: center center;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: scale(0.6667) translateZ(0);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.lyric-line.active {
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--primary-shadow-hover);
    transform: scale(1.05) translateZ(0);
}

.progress-container {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 12px;
    color: var(--text-dim);
    padding: 0 10px;
}

.progress-container span {
    width: 45px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.progress-bar {
    flex: 1;
    margin: 0 15px;
    -webkit-appearance: none;
    height: 5px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    cursor: pointer;
    outline: none;
}

.progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: #fff;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    box-shadow: 0 0 10px var(--primary-shadow);
}

.controls {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 10px;
    justify-content: center;
}

.btn-control {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.btn-control:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.btn-play {
    width: 65px;
    height: 65px;
    background: var(--primary-color);
    font-size: 24px;
    box-shadow: 0 8px 20px var(--primary-shadow);
    transition: all 0.3s ease;
}

.btn-play:hover {
    background: var(--primary-color);
    box-shadow: 0 10px 30px var(--primary-shadow-hover);
    transform: scale(1.1);
}

.btn-play .fa-play {
    margin-left: 4px;
}

@media (max-width: 768px) {
    .mobile-only {
        display: flex;
    }

    .container {
        width: 100%;
        height: 100%;
        border-radius: 0;
        border: none;
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: 100%;
        padding: 20px;
        border: none;
        position: absolute;
        top: 0;
        left: 0;
        background: none;
    }

    .player-area {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, var(--primary-shadow-hover) 0%, rgba(20, 20, 20, 0.7) 65%, rgba(10, 10, 10, 0.9) 100%) !important;
        backdrop-filter: blur(25px) !important;
        z-index: 100;
        padding: 30px 20px;
        transform: translateY(100%);
        overflow-y: hidden;
        justify-content: flex-start;
        display: flex;
        flex-direction: column;
    }

    .player-area.active {
        transform: translateY(0);
    }

    .player-main-body {
        display: block;
        width: 100vw;
        margin-left: -20px;
        height: calc(100% - 100px);
        margin-bottom: 20px;
        position: relative;
    }

    .swipe-indicators {
        position: absolute;
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
        gap: 6px;
        z-index: 20;
        display: flex;
        align-items: center;
    }

    .swipe-indicators .indicator {
        width: 5px;
        height: 5px;
        background: rgba(255, 255, 255, 0.4);
        border-radius: 50%;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .swipe-indicators .indicator.active {
        width: 16px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 3px;
    }

    .swipe-container {
        display: flex;
        width: 100%;
        height: 100%;
        padding-top: 35px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        flex-direction: row;
    }

    .swipe-container::-webkit-scrollbar {
        display: none;
    }

    .swipe-page {
        flex: 0 0 100vw;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100%;
        scroll-snap-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
        margin: 0;
    }

    .page-cover {
        justify-content: flex-start;
        padding-top: 0;
        padding-bottom: 0;
    }

    .album-art {
        width: 65vw;
        max-width: 280px;
        height: 65vw;
        max-height: 280px;
        margin-top: auto;
        margin-bottom: auto;
    }

    .track-info {
        margin-top: 0;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .track-info h2 {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .artist-container {
        font-size: 15px;
    }

    .mini-lyric.mobile-only {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        margin-top: 35px;
        margin-bottom: 10px;
        font-size: 16px;
        font-weight: 600;
        color: var(--primary-color);
        text-shadow: 0 0 8px var(--primary-shadow);
        text-align: center;
        height: 48px;
        line-height: 24px;
        width: 100%;
        padding: 0 5%;
        box-sizing: border-box;
        overflow: hidden;
        white-space: normal;
        word-wrap: break-word;
        transition: color 0.3s, text-shadow 0.3s;
    }

    .page-lyrics {
        padding-top: 0;
        padding-bottom: 20px;
        justify-content: center;
        height: 100%;
        width: 100%;
    }

    .lyrics-container {
        width: 100%;
        height: 100%;
        position: relative;
        overflow: hidden;
        mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    }

    .player-bottom-controls {
        margin-top: auto;
        margin-bottom: 20px;
        padding-bottom: 0;
        width: 100%;
        flex: 0 0 auto;
    }

    .mobile-back-btn {
        display: block;
    }

    .quality-tag {
        font-size: 11px;
        padding: 3px 7px;
    }

    .lyric-line {
        font-size: 20px;
        transform: scale(0.8) translateZ(0);
    }

    .lyric-line.active {
        transform: scale(1.05) translateZ(0);
    }
}