@charset "utf-8";

/*
 * YQF Music — Aurora glass visual layer
 * This file intentionally overrides presentation only. Player selectors and
 * JavaScript contracts remain untouched.
 */

:root {
    color-scheme: dark;
    --page-bg: #080a12;
    --glass: rgba(13, 17, 31, 0.58);
    --glass-strong: rgba(12, 15, 28, 0.76);
    --glass-soft: rgba(255, 255, 255, 0.065);
    --glass-hover: rgba(255, 255, 255, 0.105);
    --surface: rgba(11, 14, 27, 0.48);
    --surface-strong: rgba(8, 11, 23, 0.72);
    --line: rgba(255, 255, 255, 0.13);
    --line-soft: rgba(255, 255, 255, 0.075);
    --text: #f7f8ff;
    --text-soft: rgba(239, 242, 255, 0.72);
    --text-muted: rgba(226, 231, 247, 0.48);
    --accent: #a392ff;
    --accent-strong: #826cff;
    --accent-rgb: 163, 146, 255;
    --mint: #62e8ca;
    --mint-rgb: 98, 232, 202;
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.38), 0 8px 30px rgba(0, 0, 0, 0.18);
    --shadow-soft: 0 16px 46px rgba(0, 0, 0, 0.22);
    --scene-shade: linear-gradient(120deg, rgba(5, 7, 16, 0.86), rgba(9, 11, 24, 0.48) 48%, rgba(6, 9, 19, 0.78));
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="light"] {
    color-scheme: light;
    --page-bg: #eef1f8;
    --glass: rgba(248, 250, 255, 0.59);
    --glass-strong: rgba(250, 252, 255, 0.78);
    --glass-soft: rgba(255, 255, 255, 0.4);
    --glass-hover: rgba(255, 255, 255, 0.68);
    --surface: rgba(252, 253, 255, 0.42);
    --surface-strong: rgba(247, 249, 255, 0.7);
    --line: rgba(255, 255, 255, 0.68);
    --line-soft: rgba(67, 69, 99, 0.1);
    --text: #1a1c2d;
    --text-soft: rgba(28, 31, 49, 0.72);
    --text-muted: rgba(35, 38, 58, 0.5);
    --accent: #7661f5;
    --accent-strong: #654ee8;
    --accent-rgb: 118, 97, 245;
    --mint: #168f7c;
    --mint-rgb: 22, 143, 124;
    --shadow: 0 28px 90px rgba(45, 48, 76, 0.18), 0 8px 30px rgba(45, 48, 76, 0.1);
    --shadow-soft: 0 16px 46px rgba(45, 48, 76, 0.13);
    --scene-shade: linear-gradient(120deg, rgba(239, 243, 252, 0.82), rgba(245, 247, 253, 0.38) 48%, rgba(230, 236, 248, 0.76));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

html {
    transition: color 0.35s ease, background-color 0.35s ease;
}

body,
button,
input,
select,
textarea,
th {
    color: var(--text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    isolation: isolate;
    background: var(--page-bg);
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

a {
    color: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Layered API background + the original album-cover ambience. */
.scene-background,
.scene-scrim,
.ambient-orb {
    position: fixed;
    pointer-events: none;
}

.scene-background {
    z-index: 0;
    inset: -34px;
    background-color: var(--page-bg);
    filter: saturate(1.08) contrast(1.02);
    transform: scale(1.035);
    transition: opacity 0.55s ease, filter 0.45s ease, transform 1.2s var(--ease-out);
}

.scene-background__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    transform: scale(1.001);
    transition: opacity 0.7s ease, transform 1.2s var(--ease-out);
}

.scene-background__image--next {
    z-index: 2;
    opacity: 0;
    transform: scale(1.035);
}

.scene-background__image--next.is-visible {
    opacity: 1;
    transform: scale(1.001);
}

.scene-background__image.is-leaving {
    opacity: 0;
    transform: scale(0.985);
}

.scene-background.is-loading {
    opacity: 0.62;
    filter: saturate(0.72) blur(8px);
    transform: scale(1.075);
}

.scene-scrim {
    z-index: 1;
    inset: 0;
    background: var(--scene-shade);
    transition: background 0.4s ease;
}

.scene-scrim::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

#blur-img {
    z-index: 2;
    pointer-events: none;
    opacity: 0.14 !important;
    filter: saturate(1.4) contrast(1.05);
    mix-blend-mode: screen;
}

html[data-theme="light"] #blur-img {
    opacity: 0.1 !important;
    mix-blend-mode: multiply;
}

.ambient-orb {
    z-index: 3;
    width: 34vw;
    height: 34vw;
    min-width: 300px;
    min-height: 300px;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.2;
    will-change: transform;
}

.ambient-orb--one {
    top: -18vw;
    right: 2vw;
    background: rgba(var(--accent-rgb), 0.88);
    animation: orb-float-one 18s ease-in-out infinite alternate;
}

.ambient-orb--two {
    bottom: -22vw;
    left: -5vw;
    background: rgba(var(--mint-rgb), 0.72);
    animation: orb-float-two 21s ease-in-out infinite alternate;
}

@keyframes orb-float-one {
    to { transform: translate3d(-7vw, 10vh, 0) scale(1.12); }
}

@keyframes orb-float-two {
    to { transform: translate3d(9vw, -8vh, 0) scale(0.9); }
}

/* Shared liquid-glass surfaces. */
.header,
.center > .container,
.footer,
.notice-card {
    border: 1px solid var(--line);
    background: linear-gradient(135deg, var(--glass-soft), transparent 46%), var(--glass);
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(30px) saturate(145%);
    backdrop-filter: blur(30px) saturate(145%);
}

.header::before,
.center > .container::before,
.footer::before,
.notice-card::before {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: inherit;
    inset: 0;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.17), transparent 22%, transparent 72%, rgba(var(--accent-rgb), 0.08));
    -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
}

/* Header */
.header {
    z-index: 20;
    position: fixed;
    top: 18px;
    left: max(22px, calc((100vw - 1440px) / 2));
    right: max(22px, calc((100vw - 1440px) / 2));
    height: 72px;
    padding: 0 16px 0 14px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    position: relative;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(145deg, var(--accent), #7067dc 56%, #4ed7bf);
    box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.42);
    overflow: hidden;
}

.brand-mark::after {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    top: -18px;
    left: -12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.34);
    filter: blur(7px);
}

.brand-mark svg {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 1;
}

.brand-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.logo {
    margin: 0;
    padding: 0;
    color: var(--text);
    font-size: 19px;
    line-height: 1.15;
    font-weight: 720;
    letter-spacing: 0.02em;
    cursor: default;
}

.logo:hover {
    color: var(--text);
}

.brand-subtitle {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.live-pill,
.utility-btn {
    border: 1px solid var(--line);
    background: var(--glass-soft);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.live-pill {
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 4px rgba(var(--mint-rgb), 0.12), 0 0 15px rgba(var(--mint-rgb), 0.8);
    animation: live-pulse 2.2s ease-out infinite;
}

@keyframes live-pulse {
    50% { box-shadow: 0 0 0 7px rgba(var(--mint-rgb), 0), 0 0 20px rgba(var(--mint-rgb), 0.9); }
}

.utility-btn {
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: var(--text-soft);
    cursor: pointer;
    transition: transform 0.25s var(--ease-out), color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.utility-btn:hover {
    color: var(--text);
    border-color: rgba(var(--accent-rgb), 0.44);
    background: rgba(var(--accent-rgb), 0.13);
    transform: translateY(-2px);
}

.utility-btn:active {
    transform: translateY(0) scale(0.94);
}

.utility-btn:disabled {
    cursor: wait;
}

.background-refresh.has-error {
    color: #ff8f9f;
    border-color: rgba(255, 110, 132, 0.48);
    animation: refresh-error 0.34s ease 2;
}

@keyframes refresh-error {
    50% { transform: translateX(2px); }
}

.utility-btn:focus-visible,
.notice-close:focus-visible,
.notice-button:focus-visible,
.btn:focus-visible {
    outline: 3px solid rgba(var(--accent-rgb), 0.36);
    outline-offset: 3px;
}

.utility-btn svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
}

.theme-icon--sun,
html[data-theme="light"] .theme-icon--moon {
    display: none;
}

html[data-theme="light"] .theme-icon--sun {
    display: block;
}

.background-refresh.is-spinning svg {
    animation: icon-spin 0.8s var(--ease-out);
}

@keyframes icon-spin {
    to { transform: rotate(360deg); }
}

/* Main application shell */
.center {
    z-index: 10;
    position: fixed;
    top: 108px;
    bottom: 126px;
    left: max(22px, calc((100vw - 1440px) / 2));
    right: max(22px, calc((100vw - 1440px) / 2));
    width: auto;
}

.center > .container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.center > .container::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 96px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(var(--accent-rgb), 0.035), transparent);
}

.btn-bar {
    z-index: 4;
    position: absolute;
    display: block;
    left: 0;
    right: 400px;
    height: 74px;
    border-bottom: 1px solid var(--line-soft);
}

.btn-box {
    position: absolute;
    inset: 15px 18px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.btn {
    position: relative;
    min-width: 104px;
    height: 42px;
    margin: 0;
    padding: 0 19px;
    border: 1px solid transparent;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: transparent;
    opacity: 1;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: color 0.24s ease, background 0.24s ease, border-color 0.24s ease, transform 0.24s var(--ease-out), box-shadow 0.24s ease;
}

.btn:hover {
    color: var(--text);
    border-color: var(--line);
    background: var(--glass-soft);
    opacity: 1;
    transform: translateY(-1px);
}

.btn-box .btn.active {
    color: var(--text);
    border-color: rgba(var(--accent-rgb), 0.26);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.23), rgba(var(--accent-rgb), 0.09));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 24px rgba(var(--accent-rgb), 0.11);
}

.btn-box .btn.active::before {
    content: "";
    width: 5px;
    height: 5px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 12px rgba(var(--mint-rgb), 0.7);
}

.data-area {
    position: absolute;
    left: 0;
    right: 400px;
    top: 74px;
    bottom: 0;
    overflow: hidden;
}

.data-box {
    position: absolute;
    inset: 10px 12px 14px 14px;
    padding: 0 7px;
    overflow-y: auto;
}

/* Lists */
.list-head {
    height: 38px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 38px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.list-item {
    width: 100%;
    height: 54px;
    margin: 3px 0;
    padding: 0 8px 0 4px;
    border: 1px solid transparent;
    border-bottom-color: var(--line-soft);
    border-radius: 14px;
    color: var(--text-soft);
    background: transparent;
    font-size: 13px;
    line-height: 52px;
    transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, transform 0.22s var(--ease-out);
}

.list-item:not(.list-head):hover {
    color: var(--text);
    border-color: var(--line);
    background: var(--glass-hover);
    transform: translateX(3px);
}

.list-playing {
    color: var(--text);
    border-color: rgba(var(--accent-rgb), 0.2);
    background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.18), rgba(var(--accent-rgb), 0.045));
    box-shadow: inset 3px 0 0 var(--accent);
}

.list-num {
    width: 34px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.list-playing .list-num {
    background-position: 10px 21px;
    filter: hue-rotate(76deg) saturate(0.8) brightness(1.35);
}

.music-name {
    margin-left: 42px;
}

.auth-name,
.music-album {
    color: var(--text-muted);
}

.list-item:hover .auth-name,
.list-item:hover .music-album,
.list-playing .auth-name,
.list-playing .music-album {
    color: var(--text-soft);
}

.list-menu {
    right: 11px;
}

.list-icon {
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.07);
    transform: scale(0.82);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.list-icon:hover {
    background-color: rgba(var(--accent-rgb), 0.22);
    transform: scale(0.92);
}

.sheet-title-bar {
    height: 42px;
    margin: 14px 6px 18px;
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    color: var(--text-soft);
    background: var(--glass-soft);
    line-height: 40px;
}

.sheet-item {
    padding: 8px 4px 14px;
    border-radius: 18px;
    transition: transform 0.26s var(--ease-out), background 0.26s ease;
}

.sheet-item:hover {
    background: var(--glass-soft);
    transform: translateY(-4px);
}

.sheet-cover {
    width: 112px;
    height: 112px;
    border: 1px solid var(--line);
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.sheet-item:hover .sheet-cover {
    transform: scale(1.035);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
}

.sheet-name {
    max-width: 132px;
    color: var(--text-soft);
    font-size: 12px;
}

.sheet-item:hover .sheet-name {
    color: var(--text);
}

/* Search UI is injected by the original functions.js. */
#search-area {
    padding: 24px 12px;
}

.search-group {
    display: flex;
    gap: 9px;
    padding-bottom: 18px;
}

.search-group > input {
    width: 78%;
    height: 46px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--text);
    background: var(--surface);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.search-group > input::placeholder {
    color: var(--text-muted);
}

.search-group > input:focus {
    border-color: rgba(var(--accent-rgb), 0.72);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12);
}

.search-group > button {
    width: 22%;
    min-width: 86px;
    height: 46px;
    margin: 0;
    border: 1px solid rgba(var(--accent-rgb), 0.26);
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 10px 26px rgba(var(--accent-rgb), 0.23);
    font-weight: 650;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}

.search-group > button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(var(--accent-rgb), 0.32);
}

.radio-group {
    color: var(--text-soft);
}

.radio-group > label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 13px 8px 0;
    padding: 7px 10px;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.radio-group > label:hover {
    background: var(--glass-soft);
}

.radio-group input {
    accent-color: var(--accent);
}

/* Right-side player */
.player {
    position: relative;
    width: 400px;
    height: 100%;
    float: right;
    border-left: 1px solid var(--line-soft);
    background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.045), transparent 42%);
}

.player::before {
    content: "NOW PLAYING";
    position: absolute;
    z-index: 2;
    top: 25px;
    left: 30px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.player::after {
    content: "";
    position: absolute;
    top: 28px;
    right: 30px;
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--mint));
    box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.38);
}

.cover {
    position: relative;
    width: 190px;
    height: 190px;
    margin: 62px auto 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.025));
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.33), 0 0 0 10px rgba(255, 255, 255, 0.022), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.cover::before {
    content: "";
    position: absolute;
    inset: -13px;
    border: 1px solid rgba(var(--accent-rgb), 0.18);
    border-top-color: rgba(var(--mint-rgb), 0.55);
    border-radius: 50%;
    animation: orbit-idle 10s linear infinite;
    pointer-events: none;
}

.cover::after {
    content: "";
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    border: 5px solid rgba(255, 255, 255, 0.62);
    border-radius: 50%;
    background: var(--accent-strong);
    box-shadow: 0 0 0 4px rgba(7, 9, 18, 0.46), 0 0 22px rgba(var(--accent-rgb), 0.7);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

@keyframes orbit-idle {
    to { transform: rotate(360deg); }
}

.music-cover {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

body.is-playing .music-cover {
    animation: record-spin 24s linear infinite;
}

body:not(.is-playing) .music-cover {
    animation-play-state: paused;
}

@keyframes record-spin {
    to { transform: rotate(360deg); }
}

.track-glance {
    position: relative;
    z-index: 2;
    width: calc(100% - 54px);
    margin: 20px auto 0;
    text-align: center;
}

.track-glance strong,
.track-glance span {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.track-glance strong {
    color: var(--text);
    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;
}

.track-glance span {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 12px;
}

.lyric {
    position: absolute;
    left: 22px;
    right: 22px;
    top: 324px;
    bottom: 21px;
    padding: 20px 9px;
    border-top: 1px solid var(--line-soft);
    color: var(--text-muted);
    line-height: 30px;
    text-align: center;
}

#lyric > li {
    min-height: 32px;
    padding: 5px 10px;
    line-height: 1.35;
    transition: color 0.24s ease, transform 0.24s var(--ease-out), opacity 0.24s ease;
}

.lrc-original,
.lrc-translation {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.lrc-translation {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.4;
    font-weight: 450;
}

#lyric .lplaying {
    color: var(--text);
    font-weight: 650;
    text-shadow: 0 0 22px rgba(var(--mint-rgb), 0.45);
    transform: scale(1.035);
}

#lyric .lplaying .lrc-translation {
    color: var(--mint);
    opacity: 0.82;
}

.lyric-tip {
    color: var(--text-muted);
}

#music-info {
    z-index: 5;
    width: 30px;
    height: 30px;
    right: 18px;
    bottom: 16px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background-color: var(--glass-soft);
    opacity: 0.62;
    line-height: 28px;
}

#music-info:hover {
    border-color: rgba(var(--accent-rgb), 0.42);
    background-color: rgba(var(--accent-rgb), 0.16);
    opacity: 1;
}

/* Bottom player dock */
.footer {
    z-index: 20;
    position: fixed;
    left: max(22px, calc((100vw - 1440px) / 2));
    right: max(22px, calc((100vw - 1440px) / 2));
    bottom: 18px;
    width: auto;
    height: 90px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.footer > .container {
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
}

.con-btn {
    position: relative;
    width: 214px;
    height: 100%;
    margin: 0 0 0 18px;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.con-btn a,
.btn-quiet {
    color: var(--text-soft);
}

.con-btn a {
    position: relative;
    inset: auto;
    top: auto;
    width: 42px;
    height: 42px;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: none !important;
    background-color: transparent;
    opacity: 1;
    transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, transform 0.22s var(--ease-out);
}

.con-btn a:hover {
    color: var(--text);
    border-color: var(--line);
    background-color: var(--glass-soft);
    transform: translateY(-2px);
}

.con-btn .btn-play {
    width: 52px;
    height: 52px;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.24);
    background: linear-gradient(145deg, var(--accent), var(--accent-strong));
    box-shadow: 0 11px 30px rgba(var(--accent-rgb), 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.con-btn .btn-play:hover {
    border-color: rgba(255, 255, 255, 0.42);
    background: linear-gradient(145deg, #b1a3ff, var(--accent-strong));
    box-shadow: 0 15px 36px rgba(var(--accent-rgb), 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.btn-play::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid currentColor;
}

.btn-play.btn-state-paused::before {
    width: 13px;
    height: 16px;
    margin: 0;
    border: 0;
    background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 9px, currentColor 9px 13px);
}

.btn-prev::before,
.btn-next::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
}

.btn-prev::before {
    border-right: 10px solid currentColor;
}

.btn-next::before {
    border-left: 10px solid currentColor;
}

.btn-prev::after,
.btn-next::after {
    content: "";
    width: 2px;
    height: 14px;
    border-radius: 2px;
    background: currentColor;
}

.btn-prev::after { order: -1; }

.btn-order::before {
    content: "↻";
    font-size: 23px;
    line-height: 1;
}

.btn-order-single::after {
    content: "1";
    position: absolute;
    right: 7px;
    bottom: 6px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    color: var(--surface-strong);
    background: var(--text);
    font-size: 8px;
    font-weight: 800;
    line-height: 13px;
    text-align: center;
}

.btn-order-random::before {
    content: "⇄";
    font-size: 21px;
    transform: rotate(-12deg);
}

.progress {
    position: relative;
    width: auto;
    height: 100%;
    margin-left: 242px;
    margin-right: 210px;
}

.progress-box {
    left: 12px;
    right: 4px;
    height: 24px;
    margin-top: -12px;
}

.vol {
    position: relative;
    width: 198px;
    height: 100%;
    right: 10px;
    float: right;
}

.quiet {
    width: 54px;
}

.btn-quiet {
    width: 40px;
    height: 40px;
    top: 50%;
    right: 0;
    margin-top: -20px;
    border: 1px solid transparent;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background-image: none !important;
    opacity: 1;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-quiet:hover {
    color: var(--text);
    border-color: var(--line);
    background: var(--glass-soft);
}

.btn-quiet::before {
    content: "";
    width: 17px;
    height: 16px;
    background: currentColor;
    clip-path: polygon(0 34%, 30% 34%, 60% 4%, 60% 96%, 30% 66%, 0 66%);
}

.btn-quiet::after {
    content: "";
    position: absolute;
    right: 6px;
    width: 10px;
    height: 18px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-left: 0;
    border-radius: 0 50% 50% 0;
}

.btn-state-quiet::after {
    right: 8px;
    width: 13px;
    height: 2px;
    border: 0;
    border-radius: 2px;
    background: currentColor;
    transform: rotate(-45deg);
}

.volume {
    margin-left: 54px;
}

.volume-box {
    left: 10px;
    right: 10px;
}

.mkpgb-bar {
    height: 5px;
    margin-top: -2.5px;
    border-radius: 999px;
    background: rgba(132, 137, 160, 0.28);
}

.mkpgb-cur {
    height: 5px;
    margin-top: -2.5px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--mint));
    box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.42);
}

.mkpgb-dot {
    width: 14px;
    height: 14px;
    margin-left: -7px;
    margin-top: -7px;
    border: 3px solid rgba(255, 255, 255, 0.7);
    background: var(--accent);
    box-shadow: 0 3px 12px rgba(var(--accent-rgb), 0.48);
}

.dot-move {
    animation: progress-pulse 2.1s ease-in-out infinite;
}

@keyframes progress-pulse {
    50% { box-shadow: 0 0 0 7px rgba(var(--accent-rgb), 0), 0 3px 16px rgba(var(--accent-rgb), 0.58); }
}

/* Welcome notice */
.web_notice {
    z-index: 99999;
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(3, 5, 13, 0.48);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    backdrop-filter: blur(12px) saturate(120%);
    animation: notice-backdrop-in 0.4s ease both;
}

html[data-theme="light"] .web_notice {
    background: rgba(45, 48, 72, 0.24);
}

.web_notice.is-closing {
    animation: notice-backdrop-out 0.24s ease both;
}

.notice-card {
    position: relative;
    width: min(440px, 100%);
    padding: 40px 38px 34px;
    border-radius: 28px;
    overflow: hidden;
    text-align: center;
    animation: notice-card-in 0.5s var(--ease-out) both;
}

.web_notice.is-closing .notice-card {
    animation: notice-card-out 0.24s ease both;
}

.notice-glow {
    position: absolute;
    width: 210px;
    height: 210px;
    top: -125px;
    left: 50%;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), 0.38);
    filter: blur(45px);
    transform: translateX(-50%);
    pointer-events: none;
}

.notice-close {
    position: absolute;
    z-index: 3;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--text-soft);
    background: var(--glass-soft);
    font-size: 21px;
    line-height: 30px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.notice-close:hover {
    color: var(--text);
    background: var(--glass-hover);
    transform: rotate(7deg);
}

.notice-icon {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0 auto 19px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 21px;
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(145deg, var(--accent), var(--accent-strong) 56%, var(--mint));
    box-shadow: 0 16px 38px rgba(var(--accent-rgb), 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.notice-icon svg {
    width: 30px;
    height: 30px;
}

.notice-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--mint);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.2em;
}

.notice-card h3 {
    color: var(--text);
    font-size: 27px;
    line-height: 1.3;
    font-weight: 760;
    letter-spacing: 0.01em;
}

.notice-card p {
    margin: 13px auto 0;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.8;
}

.notice-card p small {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 11px;
}

.notice-button {
    width: 100%;
    height: 48px;
    margin: 25px auto 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 12px 28px rgba(var(--accent-rgb), 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease;
}

.notice-button:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(var(--accent-rgb), 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

@keyframes notice-backdrop-in { from { opacity: 0; } }
@keyframes notice-backdrop-out { to { opacity: 0; } }
@keyframes notice-card-in { from { opacity: 0; transform: translateY(22px) scale(0.96); } }
@keyframes notice-card-out { to { opacity: 0; transform: translateY(12px) scale(0.97); } }

/* Third-party scrollbar / layer presentation. */
.mCS-minimal.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    width: 4px;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.46);
}

.mCS-minimal.mCSB_scrollTools .mCSB_draggerRail {
    background: transparent;
}

.layui-layer {
    border: 1px solid var(--line) !important;
    border-radius: 18px !important;
    color: var(--text) !important;
    background: var(--glass-strong) !important;
    box-shadow: var(--shadow) !important;
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    backdrop-filter: blur(28px) saturate(150%);
    overflow: hidden;
}

.layui-layer-title {
    border-bottom-color: var(--line-soft) !important;
    color: var(--text) !important;
    background: var(--glass-soft) !important;
}

.layui-layer-content,
.layui-layer-dialog .layui-layer-content {
    color: var(--text-soft) !important;
}

.layui-layer-btn a {
    border-color: var(--line) !important;
    border-radius: 10px !important;
    color: var(--text) !important;
    background: var(--glass-soft) !important;
}

.layui-layer-btn .layui-layer-btn0 {
    color: #fff !important;
    border-color: transparent !important;
    background: var(--accent-strong) !important;
}

.share-url {
    border-color: var(--line);
    border-radius: 10px;
    color: var(--text);
    background: var(--surface);
}

.info-title {
    color: var(--text-muted);
}

.info-btn,
.login-btn:hover {
    color: var(--mint);
}

/* Compact-height desktop */
@media screen and (min-width: 901px) and (max-height: 760px) {
    .cover {
        width: 148px;
        height: 148px;
        margin-top: 55px;
    }

    .track-glance {
        margin-top: 14px;
    }

    .lyric {
        top: 272px;
    }
}

@media screen and (min-width: 901px) and (max-height: 620px) {
    .cover {
        width: 108px;
        height: 108px;
        margin-top: 43px;
        padding: 6px;
    }

    .cover::after {
        width: 14px;
        height: 14px;
        border-width: 4px;
    }

    .track-glance {
        margin-top: 9px;
    }

    .track-glance strong {
        font-size: 14px;
    }

    .lyric {
        top: 205px;
        bottom: 12px;
        padding-top: 12px;
    }
}

/* Tablet / mobile: retain all original tab behavior, only reshape it. */
@media screen and (max-width: 900px) {
    .header {
        display: flex;
        top: max(10px, env(safe-area-inset-top));
        left: 12px;
        right: 12px;
        height: 62px;
        padding: 0 11px;
        border-radius: 19px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 13px;
    }

    .brand-mark svg {
        width: 22px;
        height: 22px;
    }

    .logo {
        font-size: 17px;
    }

    .brand-subtitle {
        font-size: 9px;
    }

    .live-pill {
        display: none;
    }

    .utility-btn {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .center {
        top: calc(max(10px, env(safe-area-inset-top)) + 72px);
        bottom: calc(max(10px, env(safe-area-inset-bottom)) + 84px);
        left: 12px;
        right: 12px;
    }

    .center > .container {
        border-radius: 23px;
    }

    .header,
    .center > .container,
    .footer {
        -webkit-backdrop-filter: blur(18px) saturate(135%);
        backdrop-filter: blur(18px) saturate(135%);
    }

    .btn-bar {
        right: 0;
        height: 58px;
        border-bottom-color: var(--line-soft);
    }

    .btn-box {
        inset: 8px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
        background: transparent;
    }

    .btn {
        width: auto;
        min-width: 0;
        height: 40px;
        padding: 0 5px;
        float: none;
        border: 1px solid transparent;
        border-radius: 12px;
        display: flex;
        color: var(--text-muted);
        font-size: 12px;
        line-height: 1;
    }

    .btn:hover {
        border: 1px solid var(--line);
    }

    .btn-box .active::after {
        display: none;
    }

    .btn-box .btn.active::before {
        display: none;
    }

    .data-area {
        top: 58px;
        right: 0;
    }

    .data-box {
        inset: 7px 7px 10px;
        padding: 0 3px;
    }

    .player {
        width: 100%;
        border-left: 0;
    }

    .player::before {
        top: 20px;
        left: 24px;
    }

    .player::after {
        top: 23px;
        right: 24px;
    }

    .cover {
        width: 166px;
        height: 166px;
        margin-top: 51px;
    }

    .track-glance {
        margin-top: 17px;
    }

    .lyric {
        left: 18px;
        right: 18px;
        top: 282px;
        bottom: 16px;
    }

    .footer {
        left: 12px;
        right: 12px;
        bottom: max(10px, env(safe-area-inset-bottom));
        height: 74px;
        border-radius: 19px;
    }

    .con-btn {
        width: 194px;
        margin-left: 8px;
        gap: 4px;
    }

    .con-btn a {
        width: 39px;
        height: 39px;
    }

    .con-btn .btn-play {
        width: 48px;
        height: 48px;
    }

    .progress {
        margin-left: 202px;
        margin-right: 12px;
    }

    .vol {
        display: none;
    }

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

@media screen and (max-width: 620px) {
    .brand-subtitle {
        display: none;
    }

    .list-item {
        height: 52px;
        padding-right: 2px;
        line-height: 50px;
    }

    .music-album {
        display: none;
    }

    .auth-name {
        width: 34%;
        padding-right: 31px;
    }

    .music-name {
        margin-right: 34%;
    }

    .sheet-item {
        width: 33.333%;
    }

    .sheet-cover {
        width: 94px;
        height: 94px;
    }

    .search-group > input {
        width: calc(100% - 88px);
        font-size: 16px;
    }

    .search-group > button {
        width: 80px;
        min-width: 80px;
    }
}

@media screen and (max-width: 500px) {
    .header-actions {
        gap: 5px;
    }

    .center {
        bottom: calc(max(10px, env(safe-area-inset-bottom)) + 81px);
    }

    .footer {
        height: 70px;
    }

    .con-btn {
        width: 178px;
        margin-left: 4px;
        gap: 2px;
    }

    .con-btn a {
        width: 36px;
        height: 36px;
    }

    .con-btn .btn-play {
        width: 46px;
        height: 46px;
    }

    .progress {
        margin-left: 182px;
        margin-right: 10px;
    }

    .progress-box {
        left: 8px;
    }

    .btn {
        font-size: 11px;
    }

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

    .lyric {
        top: 263px;
    }

    .notice-card {
        padding: 35px 23px 26px;
        border-radius: 24px;
    }

    .notice-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 16px;
        border-radius: 19px;
    }

    .notice-card h3 {
        font-size: 23px;
    }
}

@media screen and (max-width: 900px) and (max-height: 520px) {
    .cover {
        width: 104px;
        height: 104px;
        margin-top: 40px;
        padding: 5px;
    }

    .cover::after {
        width: 13px;
        height: 13px;
        border-width: 4px;
    }

    .track-glance {
        margin-top: 8px;
    }

    .track-glance strong {
        font-size: 14px;
    }

    .track-glance span {
        display: none;
    }

    .lyric {
        top: 178px;
        padding-top: 10px;
    }
}

@media screen and (max-width: 390px) {
    .header {
        left: 8px;
        right: 8px;
    }

    .center,
    .footer {
        left: 8px;
        right: 8px;
    }

    .brand {
        gap: 8px;
    }

    .logo {
        font-size: 15px;
    }

    .utility-btn {
        width: 36px;
        height: 36px;
    }

    .btn {
        font-size: 10px;
        letter-spacing: 0;
    }

    .con-btn {
        width: 166px;
    }

    .con-btn a {
        width: 34px;
    }

    .progress {
        margin-left: 168px;
        margin-right: 8px;
    }

    .sheet-item {
        width: 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@supports not ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
    .header,
    .center > .container,
    .footer,
    .notice-card,
    .layui-layer {
        background: var(--glass-strong) !important;
    }
}

/* ========================================================================== 
   V2 experience: startup, reliable search and immersive full-screen player
   ========================================================================== */

/* The requested API image is the only site-wide background. */
#blur-img {
    display: none !important;
}

[hidden] {
    display: none !important;
}

body.is-booting,
body.is-search-open,
body.is-focus-player-open {
    overflow: hidden;
}

/* Startup sequence */
.startup-screen {
    position: fixed;
    z-index: 2147483600;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #f8f7ff;
    background:
        radial-gradient(circle at 22% 18%, rgba(128, 93, 255, 0.34), transparent 35%),
        radial-gradient(circle at 80% 82%, rgba(52, 224, 190, 0.19), transparent 38%),
        linear-gradient(145deg, #070815 0%, #0d1022 54%, #080b18 100%);
    transition: opacity 0.68s ease, visibility 0.68s ease, transform 0.8s var(--ease-out);
    animation: startup-failsafe 0.01s 4s forwards;
}

.startup-screen.is-leaving {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.035);
}

.startup-screen__aura {
    position: absolute;
    width: 44vw;
    height: 44vw;
    min-width: 360px;
    min-height: 360px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
}

.startup-screen__aura--one {
    top: -26vw;
    right: -8vw;
    background: #8f76ff;
    animation: startup-aura 4s ease-in-out infinite alternate;
}

.startup-screen__aura--two {
    bottom: -30vw;
    left: -8vw;
    background: #35d9ba;
    animation: startup-aura 5s ease-in-out infinite alternate-reverse;
}

.startup-screen__content {
    position: relative;
    z-index: 2;
    width: min(420px, calc(100vw - 48px));
    text-align: center;
    animation: startup-content-in 0.82s var(--ease-out) both;
}

.startup-screen__mark {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 25px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 28px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(174, 154, 255, 0.94), rgba(103, 77, 239, 0.96) 58%, rgba(67, 222, 191, 0.9));
    box-shadow: 0 28px 70px rgba(106, 77, 239, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.startup-screen__mark::before {
    content: "";
    position: absolute;
    inset: -12px;
    border: 1px solid rgba(160, 137, 255, 0.3);
    border-radius: 36px;
    animation: startup-mark-pulse 1.8s ease-out infinite;
}

.startup-screen__mark svg {
    width: 45px;
    height: 45px;
}

.startup-equalizer {
    height: 24px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.startup-equalizer i {
    width: 3px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(to top, #64e6ca, #a797ff);
    animation: startup-bar 0.85s ease-in-out infinite alternate;
}

.startup-equalizer i:nth-child(2),
.startup-equalizer i:nth-child(6) { animation-delay: -0.5s; }
.startup-equalizer i:nth-child(3),
.startup-equalizer i:nth-child(5) { animation-delay: -0.25s; }
.startup-equalizer i:nth-child(4) { animation-delay: -0.68s; }

.startup-screen__eyebrow {
    color: rgba(222, 218, 255, 0.52);
    font-size: 10px;
    font-weight: 720;
    letter-spacing: 0.28em;
}

.startup-screen h1 {
    margin-top: 8px;
    color: #fff;
    font-size: clamp(34px, 6vw, 49px);
    line-height: 1.15;
    font-weight: 780;
    letter-spacing: -0.035em;
}

.startup-screen h1 span {
    color: #a99aff;
    font-weight: 680;
}

.startup-screen__copy {
    margin-top: 10px;
    color: rgba(237, 239, 255, 0.6);
    font-size: 13px;
    letter-spacing: 0.06em;
}

.startup-progress {
    width: 190px;
    height: 3px;
    margin: 27px auto 0;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.09);
}

.startup-progress span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #8c78ff, #65e6cc);
    box-shadow: 0 0 16px rgba(135, 113, 255, 0.72);
    transform-origin: left;
    animation: startup-progress 1.35s var(--ease-out) both;
}

@keyframes startup-content-in {
    from { opacity: 0; transform: translateY(24px) scale(0.96); }
}

@keyframes startup-aura {
    to { transform: translate3d(7vw, 8vh, 0) scale(1.16); }
}

@keyframes startup-mark-pulse {
    70%, 100% { opacity: 0; transform: scale(1.24); }
}

@keyframes startup-bar {
    to { height: 23px; }
}

@keyframes startup-progress {
    from { transform: scaleX(0); }
}

@keyframes startup-failsafe {
    to { visibility: hidden; pointer-events: none; }
}

/* New in-page search */
.search-overlay {
    position: fixed;
    z-index: 7000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.search-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.search-overlay__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(3, 5, 14, 0.52);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    backdrop-filter: blur(16px) saturate(120%);
    cursor: default;
}

html[data-theme="light"] .search-overlay__backdrop {
    background: rgba(32, 36, 58, 0.28);
}

.search-panel {
    position: relative;
    width: min(620px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    border: 1px solid var(--line);
    border-radius: 30px;
    overflow-x: hidden;
    overflow-y: auto;
    color: var(--text);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.11), transparent 32%),
        var(--glass-strong);
    box-shadow: 0 42px 120px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.13);
    -webkit-backdrop-filter: blur(36px) saturate(160%);
    backdrop-filter: blur(36px) saturate(160%);
    transform: translateY(24px) scale(0.965);
    transition: transform 0.42s var(--ease-out);
}

.search-overlay.is-open .search-panel {
    transform: translateY(0) scale(1);
}

.search-panel__glow {
    position: absolute;
    width: 260px;
    height: 180px;
    top: -130px;
    left: 80px;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), 0.34);
    filter: blur(52px);
    pointer-events: none;
}

.search-panel__header {
    position: relative;
    z-index: 1;
    min-height: 92px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--line-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-panel__heading {
    display: flex;
    align-items: center;
    gap: 13px;
}

.search-panel__icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    border: 1px solid rgba(var(--accent-rgb), 0.28);
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.search-panel__icon svg {
    width: 21px;
    height: 21px;
}

.search-panel__heading > div > span {
    display: block;
    margin-bottom: 2px;
    color: var(--mint);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.19em;
}

.search-panel__heading h2 {
    color: var(--text);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 720;
}

.search-panel__close {
    width: 38px;
    height: 38px;
    padding: 0 0 3px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--text-soft);
    background: var(--glass-soft);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.search-panel__close:hover {
    color: var(--text);
    background: var(--glass-hover);
    transform: rotate(8deg);
}

.search-panel #search-area {
    padding: 23px 24px 21px;
}

.search-panel .search-group {
    display: flex;
    align-items: stretch;
    gap: 10px;
    padding: 0;
    font-size: 16px !important;
}

.search-input-shell {
    min-width: 0;
    height: 54px;
    flex: 1 1 auto;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 17px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--text-muted);
    background: var(--surface);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.search-input-shell:focus-within {
    color: var(--accent);
    border-color: rgba(var(--accent-rgb), 0.72);
    background: var(--surface-strong);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.search-input-shell svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.search-input-shell input,
.search-panel .search-group > button {
    font-size: 15px !important;
    line-height: 1.4 !important;
}

.search-input-shell input {
    min-width: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    color: var(--text);
    background: transparent;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.search-input-shell input::-webkit-search-cancel-button {
    filter: opacity(0.55);
}

.search-input-shell input::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.search-input-shell input:focus {
    border: 0;
    box-shadow: none;
}

.search-panel .search-submit {
    width: auto;
    min-width: 126px;
    height: 54px;
    flex: 0 0 126px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    background: linear-gradient(135deg, #9b88ff, #7057ee);
    box-shadow: 0 14px 32px rgba(var(--accent-rgb), 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.38);
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.search-panel .search-submit svg {
    width: 18px;
    height: 18px;
}

.search-panel .search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(var(--accent-rgb), 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.source-heading {
    margin: 23px 2px 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.source-heading span {
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 670;
}

.source-heading small {
    color: var(--text-muted);
    font-size: 10px;
}

.source-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.source-grid .source-option {
    position: relative;
    min-width: 0;
    min-height: 72px;
    margin: 0;
    padding: 11px;
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.025);
    cursor: pointer;
    transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s var(--ease-out), box-shadow 0.22s ease;
}

.source-grid .source-option:hover {
    border-color: var(--line);
    background: var(--glass-soft);
    transform: translateY(-2px);
}

.source-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.source-option__mark {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #8d7cf7, #6756d3);
    font-size: 13px;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.source-option--netease .source-option__mark { background: linear-gradient(145deg, #ff5f70, #d9233f); }
.source-option--tencent .source-option__mark { background: linear-gradient(145deg, #58e1ad, #19a973); }
.source-option--kugou .source-option__mark { background: linear-gradient(145deg, #69b8ff, #397ae8); }

.source-option__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.source-option__copy strong {
    overflow: hidden;
    color: var(--text);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 680;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.source-option__copy small {
    overflow: hidden;
    color: var(--text-muted);
    font-size: 9px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.source-option > i {
    position: absolute;
    width: 14px;
    height: 14px;
    top: 8px;
    right: 8px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
}

.source-option:has(input:checked),
.source-option.is-selected {
    border-color: rgba(var(--accent-rgb), 0.55);
    background: rgba(var(--accent-rgb), 0.12);
    box-shadow: 0 10px 28px rgba(var(--accent-rgb), 0.1);
}

.source-option:has(input:checked) > i,
.source-option.is-selected > i {
    border: 4px solid var(--surface-strong);
    background: var(--accent);
    box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.55), 0 0 12px rgba(var(--accent-rgb), 0.4);
}

.search-panel__tip {
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 10px;
    text-align: center;
}

.search-panel__tip span {
    display: inline-grid;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    border: 1px solid var(--line);
    border-radius: 6px;
    place-items: center;
    color: var(--text-soft);
}

.list-status {
    color: var(--text-muted);
}

.list-status-error {
    color: #ff9cac;
}

.status-spinner {
    width: 15px;
    height: 15px;
    margin-right: 8px;
    border: 2px solid rgba(var(--accent-rgb), 0.22);
    border-top-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    vertical-align: -3px;
    animation: icon-spin 0.72s linear infinite;
}

/* Entry points for the immersive player */
.header-focus-launch svg {
    width: 18px;
    height: 18px;
}

.focus-entry {
    position: absolute;
    z-index: 6;
    top: 17px;
    right: 18px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-soft);
    background: var(--glass-soft);
    font-size: 10px;
    font-weight: 650;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease-out);
}

.focus-entry svg {
    width: 15px;
    height: 15px;
}

.focus-entry:hover {
    color: var(--text);
    background: rgba(var(--accent-rgb), 0.16);
    transform: translateY(-2px);
}

.player::after {
    display: none;
}

/* Immersive full-screen now-playing page */
.focus-player {
    position: fixed;
    z-index: 8000;
    inset: 0;
    isolation: isolate;
    overflow: hidden;
    color: #f7f7ff;
    background: #050711;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.015);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.55s var(--ease-out);
}

.focus-player.is-open {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.focus-player__shade {
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        radial-gradient(circle at 26% 48%, rgba(var(--accent-rgb), 0.22), transparent 38%),
        radial-gradient(circle at 83% 16%, rgba(var(--mint-rgb), 0.1), transparent 34%),
        linear-gradient(110deg, rgba(5, 7, 17, 0.63), rgba(8, 10, 23, 0.46) 48%, rgba(4, 7, 17, 0.7));
    -webkit-backdrop-filter: blur(5px) saturate(118%);
    backdrop-filter: blur(5px) saturate(118%);
}

.focus-player__shade::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.11;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

.focus-player__art-glow {
    position: absolute;
    z-index: 0;
    inset: -5%;
    width: 110%;
    height: 110%;
    object-fit: cover;
    object-position: center;
    opacity: 0.72;
    filter: blur(24px) saturate(1.28) brightness(0.78);
    transform: scale(1.04);
    transition: opacity 0.45s ease, filter 0.45s ease;
    pointer-events: none;
}

.focus-player__topbar {
    position: absolute;
    z-index: 5;
    top: max(22px, env(safe-area-inset-top));
    left: max(28px, env(safe-area-inset-left));
    right: max(28px, env(safe-area-inset-right));
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.focus-player__brand,
.focus-player__top-actions {
    display: flex;
    align-items: center;
}

.focus-player__brand {
    gap: 10px;
    color: rgba(242, 243, 255, 0.68);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.2em;
}

.focus-player__top-actions {
    gap: 12px;
}

.focus-player__hint {
    color: rgba(236, 239, 255, 0.38);
    font-size: 9px;
    letter-spacing: 0.1em;
}

.focus-player__close {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: rgba(248, 249, 255, 0.72);
    background: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease-out);
}

.focus-player__close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
    transform: rotate(6deg);
}

.focus-player__close svg {
    width: 20px;
    height: 20px;
}

.focus-player__layout {
    position: relative;
    z-index: 2;
    width: min(1480px, calc(100vw - 80px));
    height: calc(100dvh - 224px);
    min-height: 0;
    margin: 76px auto 0;
    display: grid;
    grid-template-columns: minmax(340px, 0.92fr) minmax(420px, 1.08fr);
    gap: clamp(48px, 7vw, 118px);
    align-items: center;
}

.focus-player__artwork-column {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.focus-player__artwork-shell {
    position: relative;
    width: min(33vw, calc(100dvh - 350px), 500px);
    min-width: 220px;
    aspect-ratio: 1;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: clamp(28px, 4vw, 48px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.025));
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.52), 0 0 0 12px rgba(255, 255, 255, 0.025), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.focus-player__cover {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: calc(clamp(28px, 4vw, 48px) - 8px);
    object-fit: cover;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    transition: transform 0.8s var(--ease-out), filter 0.4s ease;
}

body.is-playing .focus-player__cover {
    animation: focus-cover-breathe 6s ease-in-out infinite alternate;
}

.focus-player__orbit {
    position: absolute;
    inset: -20px;
    border: 1px solid rgba(164, 145, 255, 0.24);
    border-top-color: rgba(99, 231, 201, 0.62);
    border-radius: calc(clamp(28px, 4vw, 48px) + 14px);
    animation: orbit-idle 12s linear infinite;
}

.focus-player__vinyl-center {
    position: absolute;
    z-index: 3;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    border: 5px solid rgba(255, 255, 255, 0.58);
    border-radius: 50%;
    background: #856df5;
    box-shadow: 0 0 0 5px rgba(5, 7, 16, 0.42), 0 0 26px rgba(143, 119, 255, 0.78);
    transform: translate(-50%, -50%);
}

@keyframes focus-cover-breathe {
    to { transform: scale(1.012); filter: saturate(1.08); }
}

.focus-player__meta {
    min-width: 0;
    flex: 0 0 auto;
    width: min(100%, 540px);
    margin-top: 20px;
    text-align: center;
}

.focus-player__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #67e2c8;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.21em;
}

.focus-player__meta h2 {
    max-width: 100%;
    overflow: hidden;
    color: #fff;
    font-size: clamp(26px, 3vw, 43px);
    line-height: 1.2;
    font-weight: 760;
    letter-spacing: -0.035em;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.focus-player__meta p {
    overflow: hidden;
    margin-top: 8px;
    color: rgba(239, 241, 255, 0.68);
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.focus-player__meta small {
    display: block;
    overflow: hidden;
    margin-top: 4px;
    color: rgba(230, 234, 252, 0.38);
    font-size: 10px;
    letter-spacing: 0.05em;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media screen and (min-width: 861px) and (max-height: 560px) {
    .focus-player__layout {
        height: calc(100dvh - 148px);
        margin-top: 64px;
    }

    .focus-player__artwork-shell {
        width: min(34vh, 190px);
        min-width: 150px;
    }

    .focus-player__meta {
        margin-top: 8px;
    }

    .focus-player__eyebrow,
    .focus-player__meta small {
        display: none;
    }

    .focus-player__meta h2 {
        font-size: 18px;
    }

    .focus-player__meta p {
        margin-top: 2px;
        font-size: 11px;
    }

}

.focus-player__lyrics-column {
    position: relative;
    min-width: 0;
    height: min(100%, 660px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 34px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.028));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(22px) saturate(130%);
    backdrop-filter: blur(22px) saturate(130%);
}

.focus-player__lyrics-column > header {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    right: 0;
    height: 86px;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(9, 11, 24, 0.38);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.focus-player__lyrics-column > header span {
    display: block;
    color: rgba(104, 228, 202, 0.72);
    font-size: 8px;
    font-weight: 750;
    letter-spacing: 0.23em;
}

.focus-player__lyrics-column > header h3 {
    margin-top: 2px;
    color: #fff;
    font-size: 20px;
    font-weight: 720;
}

.focus-player__lyrics-column > header small {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    color: rgba(238, 241, 255, 0.5);
    background: rgba(255, 255, 255, 0.045);
    font-size: 9px;
}

.focus-player__lyrics-viewport {
    position: absolute;
    inset: 87px 0 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 13%, #000 87%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 13%, #000 87%, transparent);
}

.focus-player__lyrics-list {
    min-height: 100%;
    padding: 42% 28px;
}

.focus-player__line {
    min-height: 42px;
    padding: 8px 12px;
    color: rgba(232, 235, 251, 0.34);
    font-size: clamp(14px, 1.3vw, 18px);
    line-height: 1.55;
    text-align: center;
    transition: color 0.38s ease, transform 0.45s var(--ease-out), opacity 0.38s ease, font-size 0.38s ease;
}

.focus-player__line-original,
.focus-player__line-translation {
    display: block;
}

.focus-player__line-translation {
    margin-top: 4px;
    color: rgba(102, 230, 204, 0.56);
    font-size: 0.66em;
    line-height: 1.45;
    font-weight: 520;
}

.focus-player__line.is-current {
    color: #fff;
    font-size: clamp(19px, 1.8vw, 27px);
    font-weight: 720;
    text-shadow: 0 0 28px rgba(98, 232, 202, 0.34);
    transform: scale(1.035);
}

.focus-player__line.is-current .focus-player__line-translation {
    color: #72ead0;
    text-shadow: 0 0 20px rgba(98, 232, 202, 0.24);
}

.focus-player__line--empty {
    color: rgba(236, 239, 255, 0.44);
}

.focus-player__controls {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: max(20px, env(safe-area-inset-bottom));
    width: min(780px, calc(100vw - 40px));
    min-height: 78px;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 22px;
    background: rgba(10, 13, 27, 0.6);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.11);
    -webkit-backdrop-filter: blur(26px) saturate(145%);
    backdrop-filter: blur(26px) saturate(145%);
    transform: translateX(-50%);
}

.focus-player__timeline {
    min-width: 0;
    display: grid;
    grid-template-columns: 38px 1fr 38px;
    align-items: center;
    gap: 10px;
    color: rgba(236, 239, 255, 0.44);
    font-size: 9px;
    font-variant-numeric: tabular-nums;
}

.focus-player__seek {
    position: relative;
    width: 100%;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    touch-action: none;
    --focus-seek-position: 0%;
}

.focus-player__seek::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.11);
    transform: translateY(-50%);
}

.focus-player__seek i {
    position: absolute;
    z-index: 2;
    left: 0;
    top: 50%;
    width: 0;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #9d89ff, #63e6ca);
    box-shadow: 0 0 16px rgba(140, 119, 255, 0.48);
    transform: translateY(-50%);
    transition: width 0.18s linear, box-shadow 0.22s ease;
}

.focus-player__seek i::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    top: 50%;
    right: -6px;
    border: 3px solid rgba(255, 255, 255, 0.82);
    border-radius: 50%;
    background: #8d75fa;
    box-shadow: 0 3px 14px rgba(116, 87, 238, 0.5);
    opacity: 0;
    transform: translateY(-50%) scale(0.72);
    transition: opacity 0.2s ease, transform 0.24s var(--ease-out), box-shadow 0.2s ease;
}

.focus-player__seek:hover i::after,
.focus-player__seek:focus-visible i::after,
.focus-player__seek.is-dragging i::after {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.focus-player__seek.is-dragging i {
    transition: none;
    box-shadow: 0 0 24px rgba(103, 230, 202, 0.68);
}

.focus-player__seek.is-dragging i::after {
    box-shadow: 0 0 0 7px rgba(141, 117, 250, 0.18), 0 4px 18px rgba(0, 0, 0, 0.4);
}

.focus-player__seek-preview {
    position: absolute;
    z-index: 4;
    left: var(--focus-seek-position);
    top: -27px;
    min-width: 46px;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9px;
    color: #fff;
    background: rgba(8, 10, 23, 0.88);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
    font-size: 9px;
    font-variant-numeric: tabular-nums;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 5px) scale(0.9);
    transition: opacity 0.18s ease, transform 0.22s var(--ease-out);
}

.focus-player__seek.is-dragging .focus-player__seek-preview,
.focus-player__seek:focus-visible .focus-player__seek-preview {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

.focus-player__transport {
    display: flex;
    align-items: center;
    gap: 8px;
}

.focus-player__transport button {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: rgba(244, 246, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease-out);
}

.focus-player__transport button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.focus-player__transport .focus-player__play {
    width: 52px;
    height: 52px;
    border-color: rgba(255, 255, 255, 0.23);
    color: #fff;
    background: linear-gradient(145deg, #a390ff, #745cee);
    box-shadow: 0 13px 30px rgba(121, 91, 239, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.focus-player__play span {
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid currentColor;
}

body.is-playing .focus-player__play span {
    width: 12px;
    height: 15px;
    margin-left: 0;
    border: 0;
    background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px);
}

.focus-control-prev,
.focus-control-next {
    position: relative;
    width: 15px;
    height: 14px;
}

.focus-control-prev::before,
.focus-control-next::before {
    content: "";
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
}

.focus-control-prev::before { left: 3px; border-right: 10px solid currentColor; }
.focus-control-next::before { right: 3px; border-left: 10px solid currentColor; }

.focus-control-prev::after,
.focus-control-next::after {
    content: "";
    position: absolute;
    top: 0;
    width: 2px;
    height: 14px;
    border-radius: 2px;
    background: currentColor;
}

.focus-control-prev::after { left: 1px; }
.focus-control-next::after { right: 1px; }

@media screen and (min-width: 861px) and (max-height: 560px) {
    .focus-player__controls {
        bottom: 8px;
        min-height: 54px;
        padding: 5px 12px;
    }

    .focus-player__transport button {
        width: 34px;
        height: 34px;
    }

    .focus-player__transport .focus-player__play {
        width: 42px;
        height: 42px;
    }
}

@media screen and (max-width: 860px) {
    .focus-player__topbar {
        top: max(12px, env(safe-area-inset-top));
        left: 16px;
        right: 16px;
    }

    .focus-player__hint {
        display: none;
    }

    .focus-player__layout {
        width: calc(100vw - 28px);
        height: calc(100dvh - 178px);
        min-height: 0;
        margin-top: 72px;
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
        gap: 12px;
        align-items: stretch;
    }

    .focus-player__artwork-column {
        display: grid;
        grid-template-columns: clamp(118px, 30vw, 185px) minmax(0, 1fr);
        gap: 20px;
        align-items: center;
        justify-items: stretch;
    }

    .focus-player__artwork-shell {
        width: 100%;
        min-width: 0;
        padding: 6px;
        border-radius: 25px;
    }

    .focus-player__cover {
        border-radius: 20px;
    }

    .focus-player__orbit {
        inset: -9px;
        border-radius: 30px;
    }

    .focus-player__vinyl-center {
        width: 14px;
        height: 14px;
        border-width: 4px;
    }

    .focus-player__meta {
        width: 100%;
        margin: 0;
        text-align: left;
    }

    .focus-player__meta h2 {
        font-size: clamp(22px, 6vw, 34px);
    }

    .focus-player__lyrics-column {
        height: auto;
        min-height: 0;
        border-radius: 25px;
    }

    .focus-player__lyrics-column > header {
        height: 65px;
        padding: 12px 18px;
    }

    .focus-player__lyrics-column > header h3 {
        font-size: 17px;
    }

    .focus-player__lyrics-viewport {
        inset: 66px 0 0;
    }

    .focus-player__lyrics-list {
        padding: 36% 15px;
    }

    .focus-player__line {
        min-height: 36px;
        padding: 6px 8px;
        font-size: 13px;
    }

    .focus-player__line.is-current {
        font-size: clamp(17px, 4.8vw, 22px);
    }

    .focus-player__controls {
        bottom: max(10px, env(safe-area-inset-bottom));
        width: calc(100vw - 24px);
        min-height: 70px;
        padding: 10px 13px;
        border-radius: 20px;
        gap: 10px;
    }

    .focus-player__transport {
        gap: 2px;
    }

    .focus-player__transport button {
        width: 36px;
        height: 36px;
    }

    .focus-player__transport .focus-player__play {
        width: 46px;
        height: 46px;
    }
}

@media screen and (max-width: 560px) {
    .search-overlay {
        padding: 12px;
    }

    .search-panel {
        width: calc(100vw - 24px);
        border-radius: 24px;
    }

    .search-panel__header {
        min-height: 78px;
        padding: 15px 16px;
    }

    .search-panel__icon {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
        border-radius: 13px;
    }

    .search-panel__heading h2 {
        font-size: 15px;
    }

    .search-panel #search-area {
        padding: 17px 16px 16px;
    }

    .search-panel .search-group {
        gap: 7px;
    }

    .search-input-shell {
        height: 50px;
        padding: 0 12px;
        border-radius: 15px;
    }

    .search-panel .search-submit {
        min-width: 52px;
        height: 50px;
        flex-basis: 52px;
        padding: 0;
        border-radius: 15px;
    }

    .search-panel .search-submit span {
        display: none;
    }

    .source-heading small {
        display: none;
    }

    .source-grid {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .source-grid .source-option {
        min-height: 58px;
        padding: 9px 11px;
    }

    .source-option__mark {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .focus-player__brand {
        font-size: 8px;
    }

    .focus-player__close {
        width: 40px;
        height: 40px;
        border-radius: 13px;
    }

    .focus-player__artwork-column {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 15px;
    }

    .focus-player__meta p {
        margin-top: 4px;
        font-size: 12px;
    }

    .focus-player__meta small {
        font-size: 9px;
    }

    .focus-player__controls {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .focus-player__timeline {
        grid-template-columns: 1fr;
    }

    .focus-player__timeline > span {
        display: none;
    }
}

@media screen and (min-width: 650px) and (max-width: 900px) and (max-height: 520px) {
    .focus-player__layout {
        height: calc(100dvh - 150px);
        margin-top: 64px;
        grid-template-columns: minmax(220px, 0.78fr) minmax(330px, 1.22fr);
        grid-template-rows: 1fr;
        gap: 20px;
    }

    .focus-player__artwork-column {
        display: flex;
    }

    .focus-player__artwork-shell {
        width: min(40vh, 210px);
    }

    .focus-player__meta {
        margin-top: 14px;
        text-align: center;
    }

    .focus-player__meta h2 {
        font-size: 20px;
    }

    .focus-player__meta small,
    .focus-player__eyebrow {
        display: none;
    }

    .focus-player__lyrics-column {
        height: 100%;
    }

    .focus-player__controls {
        min-height: 58px;
        padding-top: 6px;
        padding-bottom: 6px;
    }
}

@media screen and (max-height: 520px) {
    .search-overlay {
        padding: 8px;
    }

    .search-panel {
        width: min(620px, calc(100vw - 16px));
        max-height: calc(100dvh - 16px);
        border-radius: 20px;
    }

    .search-panel__header {
        min-height: 58px;
        padding: 9px 13px;
    }

    .search-panel__icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        border-radius: 11px;
    }

    .search-panel__heading > div > span,
    .search-panel__tip,
    .source-heading small,
    .source-option__copy small {
        display: none;
    }

    .search-panel #search-area {
        padding: 10px 13px 12px;
    }

    .search-input-shell,
    .search-panel .search-submit {
        height: 44px;
    }

    .source-heading {
        margin: 11px 2px 7px;
    }

    .source-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .source-grid .source-option {
        min-height: 48px;
        padding: 7px;
        border-radius: 13px;
    }

    .source-option__mark {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        border-radius: 9px;
    }
}

@media screen and (max-width: 649px) and (max-height: 520px) {
    .focus-player__layout {
        width: calc(100vw - 20px);
        height: calc(100dvh - 138px);
        margin-top: 59px;
        grid-template-columns: minmax(94px, 0.62fr) minmax(0, 1.38fr);
        grid-template-rows: 1fr;
        gap: 10px;
    }

    .focus-player__artwork-column {
        display: flex;
    }

    .focus-player__artwork-shell {
        width: min(34vh, 125px);
    }

    .focus-player__meta {
        margin-top: 9px;
        text-align: center;
    }

    .focus-player__meta h2 {
        font-size: 15px;
    }

    .focus-player__meta p {
        font-size: 10px;
    }

    .focus-player__meta small,
    .focus-player__eyebrow,
    .focus-player__lyrics-column > header span {
        display: none;
    }

    .focus-player__lyrics-column {
        height: 100%;
        border-radius: 18px;
    }

    .focus-player__lyrics-column > header {
        height: 46px;
        padding: 7px 12px;
    }

    .focus-player__lyrics-column > header h3 {
        font-size: 14px;
    }

    .focus-player__lyrics-viewport {
        inset: 47px 0 0;
    }

    .focus-player__controls {
        min-height: 54px;
        padding: 5px 10px;
    }
}
