:root {
    color-scheme: light;
    --bg: #f5f5f7;
    --page-bg:
        radial-gradient(circle at 12% 20%, rgba(180, 210, 255, 0.35), transparent 32%),
        radial-gradient(circle at 82% 12%, rgba(185, 245, 215, 0.34), transparent 30%),
        radial-gradient(circle at 52% 88%, rgba(255, 226, 190, 0.26), transparent 34%),
        linear-gradient(135deg, #f7f9ff 0%, #f8fbf8 45%, #fffaf4 100%);
    --surface: rgba(255, 255, 255, 0.78);
    --surface-solid: #ffffff;
    --surface-soft: rgba(255, 255, 255, 0.52);
    --ink: #1d1d1f;
    --muted: #6e6e73;
    --faint: #a1a1a6;
    --line: rgba(0, 0, 0, 0.1);
    --line-strong: rgba(0, 0, 0, 0.18);
    --accent: #0071e3;
    --accent-strong: #005bbd;
    --green: #248a3d;
    --orange: #bf5a00;
    --red: #d70015;
    --text-main: #08080a;
    --text-secondary: rgba(0, 0, 0, 0.56);
    --text-tertiary: rgba(0, 0, 0, 0.38);
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-bg-strong: rgba(255, 255, 255, 0.86);
    --glass-border: rgba(255, 255, 255, 0.78);
    --shadow-card: 0 22px 60px rgba(31, 35, 46, 0.09);
    --shadow-card-hover: 0 28px 72px rgba(31, 35, 46, 0.14);
    --shadow-soft: 0 20px 60px rgba(31, 35, 46, 0.08);
    --shadow: 0 40px 120px rgba(0, 0, 0, 0.16);
    --radius: 18px;
    --page-pad: 32px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    min-height: 100dvh;
    background: var(--page-bg);
    background-size: 140% 140%;
}

body {
    position: relative;
    min-width: 320px;
    min-height: 100%;
    min-height: 100dvh;
    margin: 0;
    color: var(--ink);
    background: var(--page-bg);
    background-size: 140% 140%;
    letter-spacing: -0.01em;
    overflow-x: hidden;
    animation: ambientGradient 26s ease-in-out infinite alternate;
}

body.is-modal-open {
    position: fixed;
    top: var(--modal-scroll-y, 0);
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
}

@keyframes ambientGradient {
    0% {
        background-position: 0% 20%;
    }

    100% {
        background-position: 100% 80%;
    }
}

.ambient {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    filter: blur(36px);
    opacity: 0.72;
    animation: gradientFloat 16s ease-in-out infinite;
}

.ambient-one {
    top: 9vh;
    left: 5vw;
    width: 320px;
    height: 320px;
    background: rgba(160, 190, 255, 0.30);
    border-radius: 45% 55% 50% 50%;
}

.ambient-two {
    top: 3vh;
    right: 4vw;
    width: 300px;
    height: 300px;
    background: rgba(181, 244, 204, 0.30);
    border-radius: 58% 42% 52% 48%;
    animation-duration: 20s;
    animation-delay: -5s;
}

.ambient-three {
    right: 22vw;
    bottom: 8vh;
    width: 360px;
    height: 260px;
    background: rgba(255, 207, 176, 0.24);
    border-radius: 50%;
    animation-duration: 18s;
    animation-delay: -9s;
}

@keyframes gradientFloat {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(18px, -12px, 0) scale(1.03);
    }

    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    margin: 0;
    padding: 0;
    appearance: none;
    cursor: pointer;
}

button:disabled {
    cursor: default;
}

:where(button, a, input, select, audio):focus-visible {
    outline: 3px solid rgba(0, 113, 227, 0.24);
    outline-offset: 3px;
}

img {
    display: block;
    max-width: 100%;
}

.app-shell :where(form, section, h1, h2, h3, p, dl, label) {
    margin-block: 0;
}

.app-shell :where(button, input, select) {
    margin-bottom: 0;
}

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

.app-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    min-height: 100dvh;
    margin: 0 auto;
    padding: 24px var(--page-pad) 80px;
}

.app-header {
    display: grid;
    gap: 0;
}

.top-bar {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 54px;
    padding: 0;
    background: transparent;
    border: 0;
}

.brand,
.header-actions {
    display: inline-flex;
    align-items: center;
}

.brand {
    min-height: 58px;
    padding: 0;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-decoration: none;
    backdrop-filter: none;
}

.brand-logo {
    display: block;
    width: 290px;
    height: auto;
    object-fit: contain;
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #ffffff;
    background: #050505;
    border-radius: 10px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.brand-word {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.header-actions {
    gap: 8px;
    align-items: center;
    min-height: 48px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.88) inset;
}

.header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    height: 40px;
    padding: 0 18px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.header-action.is-active,
.header-action:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.header-action span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    margin-left: 4px;
    color: #ffffff;
    background: var(--ink);
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
}

.hero-search {
    padding: 0;
    /* margin-top: 28px; */
}

.search-form {
    display: grid;
    gap: 14px;
}

.search-line {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(300px, 360px) 112px;
    gap: 12px;
    align-items: center;
}

.search-box {
    position: relative;
    display: block;
    height: 64px;
    margin: 0;
}

.search-box::before {
    position: absolute;
    top: 50%;
    left: 20px;
    z-index: 1;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.30);
    border-radius: 50%;
    content: "";
    transform: translateY(-50%);
}

.search-box::after {
    position: absolute;
    top: calc(50% + 7px);
    left: 35px;
    z-index: 1;
    width: 9px;
    height: 2px;
    background: rgba(0, 0, 0, 0.30);
    border-radius: 999px;
    content: "";
    transform: rotate(45deg);
}

.search-box input {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 64px;
    margin: 0;
    padding: 0 52px 0 56px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 22px;
    background-image: none !important;
    box-shadow: 0 20px 60px rgba(31, 35, 46, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    font-size: 17px;
    font-weight: 600;
    outline: none;
    backdrop-filter: blur(26px) saturate(1.4);
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.search-box input::-webkit-search-decoration,
.search-box input::-webkit-search-cancel-button,
.search-box input::-webkit-search-results-button,
.search-box input::-webkit-search-results-decoration {
    display: none;
}

.search-box input:focus {
    background: #ffffff;
    border-color: rgba(0, 113, 227, 0.62);
    box-shadow: 0 0 0 5px rgba(0, 113, 227, 0.13), var(--shadow-soft);
}

.search-box input::placeholder {
    color: rgba(0, 0, 0, 0.38);
    font-weight: 500;
}

.clear-button,
.dialog-close,
#playerClose {
    display: grid;
    place-items: center;
    color: var(--muted);
    background: transparent;
    border: 0;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.clear-button {
    position: absolute;
    top: 50%;
    right: 10px;
    bottom: auto;
    z-index: 2;
    width: 38px;
    height: 38px;
    margin: 0;
    transform: translateY(-50%);
    border-radius: 50%;
    font-size: 24px;
}

.clear-button:hover,
.dialog-close:hover,
#playerClose:hover {
    color: var(--ink);
    background: rgba(0, 0, 0, 0.06);
}

.search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    padding: 0 34px;
    color: #ffffff;
    background: linear-gradient(180deg, #19191f 0%, #050506 100%);
    border: 0;
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    transition: transform 180ms cubic-bezier(.2, .8, .2, 1), filter 180ms ease;
}

.search-submit:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.search-submit:active {
    transform: translateY(1px) scale(0.99);
}

.control-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
    margin-top: 0;
}

.control-field {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    height: 64px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(31, 35, 46, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(26px) saturate(1.4);
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.control-field span {
    color: rgba(0, 0, 0, 0.45);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0;
}

.control-field select {
    width: 100%;
    height: 22px;
    padding: 0;
    color: #111111;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.1;
    outline: none;
}

.control-field:focus-within {
    background: #ffffff;
    border-color: rgba(0, 113, 227, 0.62);
    box-shadow: 0 0 0 5px rgba(0, 113, 227, 0.13), var(--shadow-soft);
}

.control-field select:focus {
    box-shadow: none;
}

.media-tabs-wrap {
    margin-top: 14px;
}

.media-tabs-wrap[hidden],
.media-tabs[hidden] {
    display: none !important;
}

.media-tabs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    min-height: 52px;
    margin-top: 0;
    padding: 5px;
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.70);
    border-radius: 26px;
    scrollbar-width: none;
    box-shadow: 0 14px 34px rgba(31, 35, 46, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(24px) saturate(1.3);
}

.media-tabs::-webkit-scrollbar,
.quick-search::-webkit-scrollbar {
    display: none;
}

.media-tab {
    flex: 0 0 auto;
    min-width: 64px;
    height: 42px;
    padding: 0 22px;
    color: rgba(0, 0, 0, 0.58);
    background: transparent;
    border: 0;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.media-tab[aria-pressed="true"] {
    color: #050506;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 22px rgba(31, 35, 46, 0.10), inset 0 1px 0 rgba(255, 255, 255, 1);
    font-weight: 700;
}

.quick-search {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    /* margin-top: 6px; */
    padding: 4px 2px;
    overflow-x: auto;
    scrollbar-width: none;
}

.hot-label {
    color: rgba(0, 0, 0, 0.42);
    font-size: 13px;
    font-weight: 800;
}

.quick-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 32px;
    padding: 0 14px;
    color: rgba(0, 0, 0, 0.72);
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.quick-search button:hover {
    background: #ffffff;
    transform: translateY(-1px);
}

.quick-search button.is-active,
.quick-search button:focus-visible {
    color: #050506;
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 122, 255, 0.34);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.16), 0 8px 22px rgba(31, 35, 46, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.94);
    outline: 0;
}

.results-section {
    padding: 0;
}

.results-heading {
    display: block;
    margin: 5px 0 14px;
}

.heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.results-heading h1 {
    margin: 0;
    color: var(--text-main);
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    /* letter-spacing: -0.06em; */
}

.results-heading p {
    margin: 10px 0 0;
    color: rgba(0, 0, 0, 0.48);
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

.view-density {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.54);
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 999px;
    box-shadow: 0 12px 32px rgba(31, 35, 46, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(24px) saturate(1.2);
}

.density-button {
    display: grid;
    width: 42px;
    height: 32px;
    min-height: 32px;
    margin: 0;
    padding: 0;
    place-items: center;
    color: rgba(0, 0, 0, 0.46);
    background: transparent;
    border: 0;
    border-radius: 999px;
    transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.density-button:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
    transform: translateY(-1px);
}

.density-button.is-active {
    color: #007aff;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.density-icon {
    display: grid;
    width: 18px;
    gap: 2px;
}

.density-icon-2 {
    grid-template-columns: repeat(2, 1fr);
}

.density-icon-3 {
    grid-template-columns: repeat(3, 1fr);
}

.density-icon-4,
.density-icon-5,
.density-icon-6 {
    grid-template-columns: repeat(3, 1fr);
}

.density-icon i {
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 2px;
}

.notice {
    margin-bottom: 16px;
    padding: 12px 14px;
    color: var(--ink);
    background: rgba(255, 204, 0, 0.16);
    border: 1px solid rgba(255, 159, 10, 0.28);
    border-radius: 14px;
}

.chart-board {
    display: grid;
    grid-column: 1 / -1;
    gap: 18px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 30px;
    box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(30px) saturate(1.18);
}

.chart-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px;
}

.chart-toolbar-copy {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.chart-toolbar-copy strong {
    color: var(--ink);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.1;
}

.chart-toolbar-copy span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 200;
}

.chart-country {
    display: grid;
    min-width: 260px;
    gap: 6px;
    margin: 0;
}

.chart-country span {
    padding-left: 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.chart-country select {
    height: 48px;
    margin: 0;
    padding: 0 42px 0 16px;
    color: var(--ink);
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    font-weight: 300;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.chart-list {
    display: grid;
    gap: 8px;
}

.chart-row {
    display: grid;
    grid-template-columns: 44px 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 76px;
    padding: 9px 12px 9px 8px;
    text-align: left;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 22px;
    box-shadow: 0 10px 26px rgba(31, 35, 46, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(22px) saturate(1.12);
    transition: background 160ms ease, border-color 160ms ease;
}

.chart-row:hover {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(0, 0, 0, 0.1);
}

.chart-row.is-chart-focus {
    background: rgba(255, 247, 232, 0.94);
    border-color: rgba(191, 90, 0, 0.34);
    box-shadow: 0 18px 42px rgba(191, 90, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.chart-rank {
    color: rgba(0, 0, 0, 0.42);
    font-size: 18px;
    font-weight: 900;
    text-align: center;
}

.chart-artwork {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.chart-copy {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.chart-copy strong {
    overflow: hidden;
    color: var(--ink);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.18;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chart-copy small {
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    font-weight: 200;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chart-preview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 36px;
    color: var(--accent);
    background: rgba(0, 113, 227, 0.08);
    border: 1px solid rgba(0, 113, 227, 0.08);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}

.chart-preview:hover {
    background: rgba(0, 113, 227, 0.12);
}

.chart-preview.is-playing {
    color: #ffffff;
    background: var(--accent);
    border-color: rgba(0, 113, 227, 0.28);
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.18);
}

.chart-preview:disabled {
    color: var(--muted);
    background: rgba(0, 0, 0, 0.05);
}

.chart-empty {
    padding: 48px 16px;
    color: var(--muted);
    text-align: center;
    font-weight: 800;
}

.chart-list-skeleton {
    display: grid;
    gap: 8px;
}

.chart-list-skeleton i,
.chart-board.is-loading .chart-toolbar span {
    display: block;
    min-height: 72px;
    overflow: hidden;
    background:
        linear-gradient(100deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.92) 46%, rgba(255, 255, 255, 0.46) 100%),
        rgba(255, 255, 255, 0.54);
    background-size: 240% 100%;
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(31, 35, 46, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.86);
    animation: shimmer 1.05s ease-in-out infinite;
}

.chart-board.is-loading .chart-toolbar span {
    min-width: 220px;
    min-height: 48px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(var(--card-columns, 4), minmax(0, 1fr));
    gap: 28px 24px;
}

.results-grid[data-columns="5"],
.results-grid[data-columns="6"] {
    gap: 22px 18px;
}

.result-sentinel {
    display: grid;
    grid-column: 1 / -1;
    min-height: 54px;
    place-items: center;
}

.result-sentinel span {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(0, 113, 227, 0.14);
    border-top-color: rgba(0, 113, 227, 0.72);
    border-radius: 50%;
    animation: spin 800ms linear infinite;
}

.result-card {
    display: grid;
    min-width: 0;
    overflow: hidden;
    padding: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 26px;
    box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(28px) saturate(1.25);
    animation: card-in 460ms cubic-bezier(.2, .8, .2, 1) both;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms cubic-bezier(.2, .8, .2, 1);
}

.results-grid[data-columns="5"] .result-card,
.results-grid[data-columns="6"] .result-card {
    padding: 12px;
    border-radius: 22px;
}

.result-card.is-openable {
    cursor: pointer;
}

.result-card:hover {
    border-color: rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-card-hover), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transform: translateY(-5px);
}

.result-card:active {
    transform: scale(0.985);
}

@keyframes card-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.artwork-button {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.04);
    border: 0;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.60);
    aspect-ratio: 1 / 1;
}

.result-card.is-poster .artwork-button {
    aspect-ratio: 3 / 4;
}

.results-grid[data-columns="5"] .artwork-button,
.results-grid[data-columns="6"] .artwork-button {
    border-radius: 17px;
}

.artwork-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 260ms ease, opacity 420ms ease;
}

.card-artwork-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.01);
    transition: opacity 520ms ease, transform 720ms cubic-bezier(.2, .8, .2, 1);
}

.result-card.has-artwork-video .artwork-button::after {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    padding: 5px 8px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 999px;
    content: "动态封面";
    font-size: 11px;
    font-weight: 800;
    opacity: 0;
    transform: translateY(4px);
    backdrop-filter: blur(14px);
    transition: opacity 240ms ease, transform 240ms ease;
}

.result-card.has-artwork-video:hover .artwork-button::after {
    opacity: 1;
    transform: translateY(0);
}

.result-card.has-artwork-video:hover .card-artwork-video {
    opacity: 1;
    transform: scale(1);
}

.result-card.is-home-trend.has-artwork-video .artwork-button::after {
    display: none;
}

.result-card.is-home-trend.has-artwork-video .card-artwork-video {
    opacity: 1;
    transform: scale(1);
}

.result-card:hover .artwork-button img {
    filter: saturate(1.05);
}

.result-card.has-artwork-video:hover .artwork-button img {
    opacity: 0;
}

.result-card.is-home-trend.has-artwork-video .artwork-button img {
    opacity: 0;
}

.card-body {
    display: grid;
    gap: 0;
    padding: 0;
}

.card-kicker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 14px;
    color: rgba(0, 0, 0, 0.45);
    font-size: 12px;
    font-weight: 800;
}

.card-kicker.is-trend {
    justify-content: flex-end;
}

.card-title {
    display: -webkit-box;
    min-height: 48px;
    margin: 8px 0 0;
    overflow: hidden;
    color: var(--ink);
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.16;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.results-grid[data-columns="5"] .card-title,
.results-grid[data-columns="6"] .card-title {
    min-height: 42px;
    font-size: 16px;
    letter-spacing: -0.035em;
}

.card-title button {
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    text-align: left;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-subtitle,
.card-meta {
    margin: 12px 0 0;
    overflow: hidden;
    color: rgba(0, 0, 0, 0.52);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.results-grid[data-columns="5"] .card-subtitle,
.results-grid[data-columns="6"] .card-subtitle {
    margin-top: 9px;
    font-size: 12px;
}

.results-grid[data-columns="5"] .card-meta,
.results-grid[data-columns="6"] .card-meta {
    font-size: 11px;
}

.card-meta {
    margin-top: 7px;
    color: rgba(0, 0, 0, 0.38);
    font-size: 12px;
    font-weight: 600;
}

.chart-badge {
    justify-self: start;
    margin-top: 8px;
    padding: 0;
    color: rgba(191, 90, 0, 0.9);
    background: transparent;
    border: 0;
    font-size: 12px;
    font-weight: 200;
    line-height: 1.25;
    text-align: left;
}

.chart-badge:hover {
    color: var(--orange);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.card-actions,
.detail-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.results-grid[data-columns="5"] .card-actions,
.results-grid[data-columns="6"] .card-actions {
    gap: 6px;
    margin-top: 12px;
}

.mini-button,
.mini-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    height: 34px;
    min-height: 34px;
    margin: 0;
    padding: 0 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.90);
    border: 0;
    border-radius: 17px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    font-size: 11.5px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.mini-button.preview {
    flex: 1 1 68px;
}

.mini-button.favorite,
.mini-button.icon-preview,
.mini-button.artwork-video,
.mini-link.download,
.mini-link.apple {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    color: #111111;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(31, 35, 46, 0.08), inset 0 0 0 1px rgba(0, 0, 0, 0.035), inset 0 1px 0 rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px) saturate(1.18);
}

.action-icon {
    display: block;
    width: 18px;
    height: 18px;
    fill: currentColor;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.46));
}

.hd-icon {
    display: inline-grid;
    width: 24px;
    height: 18px;
    place-items: center;
    border: 1.6px solid currentColor;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.46));
}

.mini-button:hover,
.mini-link:hover {
    background: #ffffff;
    transform: translateY(-1px);
}

.mini-button.preview {
    color: #007aff;
    background: rgba(0, 122, 255, 0.12);
    border-color: transparent;
}

.mini-button.icon-preview {
    color: #007aff;
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.72);
}

.mini-button.preview:hover {
    background: rgba(0, 122, 255, 0.18);
}

.mini-button.icon-preview:hover {
    background: #ffffff;
}

.mini-button.favorite.is-active {
    color: #ff2d55;
    background: rgba(255, 255, 255, 0.94);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(255, 45, 85, 0.16), inset 0 0 0 1px rgba(255, 45, 85, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.mini-button.favorite.is-bouncing {
    animation: favorite-bounce 360ms cubic-bezier(.2, .8, .2, 1);
}

@keyframes favorite-bounce {

    0%,
    100% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.10);
    }
}

.mini-link.download {
    color: #0a8f5a;
}

.mini-link.download .hd-icon {
    color: inherit;
}

.mini-link.apple {
    color: #0b0b0f;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: start;
}

.detail-actions .mini-button.favorite,
.detail-actions .mini-button.artwork-video,
.detail-actions .mini-link.download,
.detail-actions .mini-link.apple {
    flex: none;
    width: 38px;
    height: 38px;
    min-height: 38px;
}

.detail-actions .mini-button.preview {
    flex: 1 1 132px;
    min-width: 132px;
}

.mini-button.artwork-video {
    color: #0a8f5a;
}

.mini-button.artwork-video.is-active {
    color: #0a8f5a;
}

.mini-button.artwork-video.is-processing,
.mini-button.artwork-video:disabled {
    cursor: wait;
    opacity: 0.58;
    transform: none;
}

.mini-button.artwork-video.is-processing .hd-icon {
    animation: vcPulse 900ms ease-in-out infinite;
}

@keyframes vcPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.88);
    }
}

.vc-progress-dialog {
    width: min(420px, calc(100vw - 36px));
    max-width: none;
    padding: 0;
    overflow: visible;
    color: var(--ink);
    background: transparent;
    border: 0;
}

.vc-progress-dialog:not([open]) {
    display: none;
}

.vc-progress-dialog[open] {
    animation: modalPop 220ms cubic-bezier(.16, 1, .3, 1);
}

.vc-progress-dialog::backdrop {
    background: rgba(246, 248, 251, 0.28);
    backdrop-filter: blur(16px) saturate(1.18);
    -webkit-backdrop-filter: blur(16px) saturate(1.18);
}

.vc-progress-panel {
    display: grid;
    gap: 16px;
    padding: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.70)),
        rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 28px;
    box-shadow: 0 32px 90px rgba(31, 35, 46, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(28px) saturate(1.34);
    -webkit-backdrop-filter: blur(28px) saturate(1.34);
}

.vc-progress-head p,
.vc-progress-head h2,
.vc-progress-panel p {
    margin: 0;
}

.vc-progress-head p {
    color: rgba(0, 0, 0, 0.42);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.vc-progress-head h2 {
    margin-top: 4px;
    font-size: 24px;
    letter-spacing: -0.04em;
}

.vc-progress-bar {
    height: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.07);
    border-radius: 999px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.vc-progress-bar span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #007aff, #36d399);
    border-radius: inherit;
    transition: width 180ms ease;
}

.vc-progress-panel p {
    color: rgba(0, 0, 0, 0.58);
    font-size: 14px;
    font-weight: 760;
}

.empty-state,
.loading-grid {
    grid-column: 1 / -1;
}

.empty-state {
    display: grid;
    min-height: 260px;
    place-items: center;
    padding: 48px 18px;
    color: var(--muted);
    text-align: center;
    background: rgba(255, 255, 255, 0.48);
    border: 1px dashed rgba(0, 0, 0, 0.16);
    border-radius: 24px;
}

.empty-state strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 22px;
}

.retry-button {
    height: 40px;
    margin-top: 16px;
    padding: 0 18px;
    color: #ffffff;
    background: #111111;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
}

.loading-grid {
    display: grid;
    grid-template-columns: repeat(var(--card-columns, 4), minmax(0, 1fr));
    gap: 22px;
}

.skeleton {
    overflow: hidden;
    padding: 20px;
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 22px;
}

.skeleton-art,
.skeleton-line,
.track-skeleton span {
    background: linear-gradient(90deg, #e8e9ee, #f8f8fb, #e8e9ee);
    background-size: 220% 100%;
    animation: shimmer 1.15s ease-in-out infinite;
}

.skeleton-art {
    aspect-ratio: 1 / 1;
    border-radius: 18px;
}

.skeleton-line {
    height: 12px;
    margin: 14px;
    border-radius: 999px;
}

.skeleton-line.short {
    width: 58%;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

.detail-dialog {
    position: fixed;
    inset: 20px;
    width: min(920px, calc(100vw - 40px));
    min-width: 0;
    max-width: min(920px, calc(100vw - 40px));
    height: auto;
    min-height: 0;
    max-height: min(820px, calc(100dvh - 40px));
    margin: auto;
    padding: 0;
    overflow: hidden;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 34px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(36px) saturate(1.35);
    transform-origin: center;
    animation: modal-in 360ms cubic-bezier(.16, 1, .3, 1);
}

.detail-dialog::backdrop {
    background: rgba(245, 247, 250, 0.48);
    backdrop-filter: blur(24px) saturate(1.16);
    animation: overlay-in 220ms ease;
}

.album-modal-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--album-artwork);
    background-position: center;
    background-size: cover;
    filter: blur(42px) saturate(1.35);
    opacity: 0.24;
    pointer-events: none;
    transform: scale(1.16);
}

.album-modal-bg::after {
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.80), rgba(255, 255, 255, 0.55));
    content: "";
}

@keyframes modal-in {
    0% {
        opacity: 0;
        transform: translateY(22px) scale(0.92);
    }

    62% {
        opacity: 1;
        transform: translateY(-2px) scale(1.012);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes overlay-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.dialog-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    font-size: 24px;
    backdrop-filter: blur(12px);
}

.detail-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
    gap: 28px;
    height: min(760px, calc(100dvh - 40px));
    max-height: inherit;
    padding: 0 28px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    transition: opacity 240ms ease 80ms, transform 300ms cubic-bezier(.16, 1, .3, 1) 80ms;
    width: 100%;
}

.detail-content.is-ready {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.detail-panel {
    display: grid;
    align-content: start;
    gap: 13px;
    min-width: 0;
    min-height: 0;
    padding: 0 28px 0 0;
    overflow: visible;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.detail-artwork-wrap {
    position: relative;
    overflow: visible;
    background: #eef0f5;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.62);
    aspect-ratio: 1 / 1;
}

.detail-artwork {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.012);
    transition: opacity 520ms ease, transform 680ms cubic-bezier(.2, .8, .2, 1), filter 520ms ease;
}

.detail-artwork-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    opacity: 0;
    filter: blur(10px) saturate(1.08);
    transform: scale(1.035);
    transition: opacity 720ms ease, transform 900ms cubic-bezier(.2, .8, .2, 1), filter 720ms ease;
}

.detail-artwork.is-loaded {
    opacity: 1;
    transform: scale(1);
}

.detail-artwork-video.is-loaded {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) saturate(1);
}

.dynamic-cover-pill {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 4;
    padding: 7px 11px;
    color: rgba(255, 255, 255, 0.96);
    background: rgba(0, 0, 0, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.20);
    font-size: 12px;
    font-weight: 850;
    opacity: 0;
    transform: translateY(8px) scale(0.98);
    backdrop-filter: blur(18px) saturate(1.3);
    transition: opacity 260ms ease, transform 260ms cubic-bezier(.2, .8, .2, 1);
}

.dynamic-cover-pill.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.detail-loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(5px);
}

.detail-loading::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(226, 229, 236, 0.72), rgba(255, 255, 255, 0.88), rgba(226, 229, 236, 0.72));
    background-size: 220% 100%;
    content: "";
    animation: shimmer 1.15s ease-in-out infinite;
}

.detail-loading[hidden] {
    display: none;
}

.detail-loading span {
    position: relative;
    z-index: 1;
    width: 34px;
    height: 34px;
    border: 3px solid rgba(0, 113, 227, 0.18);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 800ms linear infinite;
}

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

.eyebrow {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.detail-panel h2 {
    margin: 0;
    overflow-wrap: anywhere;
    color: rgba(0, 0, 0, 0.82);
    font-size: 30px;
    font-weight: bold;
    line-height: 1.05;
    letter-spacing: -0.045em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detail-subtitle {
    margin: 0;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.detail-list {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 8px 12px;
    margin: 4px 0 0;
    font-size: 13px;
}

.detail-list dt {
    color: var(--faint);
}

.detail-list dd {
    min-width: 0;
    margin: 0;
    color: var(--ink);
    overflow-wrap: anywhere;
}

.track-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    padding: 0;
}

.track-head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    min-height: 88px;
    padding: 14px 56px 14px 18px;
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px) saturate(1.22);
}

.track-head p,
.track-head h3 {
    margin: 0;
}

.track-head p {
    color: rgba(0, 0, 0, 0.48);
    font-size: 13px;
}

.track-head h3 {
    color: rgba(0, 0, 0, 0.78);
    font-size: 28px;
    font-weight: 850;
    letter-spacing: -0.04em;
}

.track-head span {
    color: var(--muted);
    font-size: 13px;
}

.track-list {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 0;
    overflow-y: auto;
    padding: 10px 8px 10px 10px;
    background: rgba(255, 255, 255, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px) saturate(1.16);
    scrollbar-color: rgba(30, 30, 35, 0.20) rgba(255, 255, 255, 0.20);
    scrollbar-width: thin;
}

.track-list::-webkit-scrollbar {
    width: 10px;
}

.track-list::-webkit-scrollbar-track {
    margin: 4px 0;
    background: rgba(255, 255, 255, 0.24);
    border-radius: 999px;
}

.track-list::-webkit-scrollbar-thumb {
    background: rgba(30, 30, 35, 0.20);
    background-clip: padding-box;
    border: 3px solid transparent;
    border-radius: 999px;
}

.track-list::-webkit-scrollbar-thumb:hover {
    background: rgba(30, 30, 35, 0.32);
    background-clip: padding-box;
}

.track-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 56px 62px;
    gap: 12px;
    align-items: center;
    width: 100%;
    min-height: 58px;
    height: 58px;
    padding: 0 14px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.50);
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(31, 35, 46, 0.035), inset 0 1px 0 rgba(255, 255, 255, 0.70);
    text-align: left;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.track-row:not(:disabled):hover {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(0, 113, 227, 0.16);
    transform: translateY(-1px);
}

.track-row.is-playing {
    color: #005bbd;
    background: rgba(0, 113, 227, 0.10);
    border-color: rgba(0, 113, 227, 0.16);
}

.track-row.is-chart-focus {
    color: var(--ink);
    background: rgba(255, 247, 232, 0.94);
    border-color: rgba(191, 90, 0, 0.34);
    box-shadow: 0 14px 34px rgba(191, 90, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.track-row:disabled {
    color: var(--faint);
    background: rgba(255, 255, 255, 0.30);
    opacity: 0.70;
}

.track-number,
.track-duration,
.track-price {
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.track-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.track-copy strong,
.track-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.track-copy strong {
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.1;
}

.track-copy small {
    color: var(--faint);
    font-size: 12px;
}

.track-price {
    display: inline-grid;
    min-height: 28px;
    place-items: center;
    color: var(--accent);
    background: rgba(0, 113, 227, 0.08);
    border-radius: 999px;
    font-weight: 700;
}

.track-row:disabled .track-price {
    color: var(--faint);
    background: rgba(0, 0, 0, 0.04);
}

.track-empty {
    display: grid;
    align-content: center;
    justify-items: center;
    min-height: 100%;
    place-items: center;
    padding: 44px 32px;
    color: var(--muted);
    text-align: center;
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px) saturate(1.2);
}

.track-empty-icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    place-items: center;
    color: rgba(0, 113, 227, 0.72);
    background: rgba(0, 113, 227, 0.10);
    border-radius: 20px;
    font-size: 30px;
    font-weight: 900;
}

.track-empty strong {
    color: rgba(0, 0, 0, 0.72);
    font-size: 24px;
    font-weight: 850;
    letter-spacing: -0.04em;
}

.track-empty small {
    max-width: 280px;
    margin-top: 8px;
    color: rgba(0, 0, 0, 0.45);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
}

.track-skeleton {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 72px;
    gap: 10px;
    align-items: center;
    min-height: 48px;
    padding: 0 12px;
}

.track-skeleton span {
    height: 12px;
    border-radius: 999px;
}

.track-skeleton span:first-child {
    width: 22px;
}

.player-bar {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 30;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) minmax(250px, 430px) 42px;
    gap: 14px;
    align-items: center;
    justify-items: stretch;
    width: min(960px, calc(100% - 40px));
    margin: 0 auto;
    padding: 10px 12px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58)),
        rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 26px;
    box-shadow: 0 26px 70px rgba(31, 35, 46, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(28px) saturate(1.45);
    -webkit-backdrop-filter: blur(28px) saturate(1.45);
}

.player-bar[hidden] {
    display: none;
}

.player-bar::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.34), transparent 42%, rgba(255, 255, 255, 0.18));
    content: "";
}

.player-artwork-button,
.player-copy,
.player-bar audio,
#playerClose {
    position: relative;
    z-index: 1;
}

.player-artwork-button {
    display: grid;
    align-self: center;
    justify-self: center;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 0;
    padding: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.50);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(31, 35, 46, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.74);
    transition: transform 180ms cubic-bezier(.2, .8, .2, 1), box-shadow 180ms ease, filter 180ms ease;
}

.player-artwork-button.is-clickable:hover {
    filter: saturate(1.06);
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 16px 34px rgba(31, 35, 46, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.player-artwork-button:disabled {
    cursor: default;
}

.player-artwork-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #eef0f5;
    border-radius: 15px;
}

.player-copy {
    display: grid;
    align-self: center;
    align-content: center;
    justify-content: start;
    gap: 4px;
    min-width: 0;
    min-height: 58px;
    height: 58px;
}

.player-copy strong,
.player-copy span {
    overflow: hidden;
    line-height: 1.18;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-copy strong {
    color: var(--ink);
    font-size: 15px;
    font-weight: 900;
}

.player-copy span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
}

.player-bar audio {
    width: 100%;
    min-width: 0;
    height: 38px;
    padding: 2px;
    color-scheme: light;
    background: rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(16px);
}

#playerClose {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 50%;
    font-size: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(16px);
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 98px;
    z-index: 40;
    max-width: min(360px, calc(100% - 40px));
    padding: 12px 14px;
    color: #ffffff;
    background: rgba(29, 29, 31, 0.92);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.video-dialog {
    width: min(980px, calc(100vw - 32px));
    max-width: none;
    padding: 0;
    overflow: visible;
    color: var(--ink);
    background: transparent;
    border: 0;
}

.video-dialog:not([open]) {
    display: none;
}

.video-dialog[open] {
    animation: modalPop 260ms cubic-bezier(.16, 1, .3, 1);
}

.video-dialog::backdrop {
    background: rgba(245, 247, 250, 0.42);
    backdrop-filter: blur(24px) saturate(1.22);
    -webkit-backdrop-filter: blur(24px) saturate(1.22);
}

.video-panel {
    display: grid;
    gap: 18px;
    padding: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.70)),
        rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.84);
    border-radius: 34px;
    box-shadow: 0 38px 110px rgba(31, 35, 46, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(30px) saturate(1.38);
    -webkit-backdrop-filter: blur(30px) saturate(1.38);
}

.video-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.video-head p {
    margin: 0 0 4px;
    color: rgba(0, 0, 0, 0.44);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.video-head h2 {
    margin: 0;
    color: var(--text-main);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.08;
}

.video-head span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
}

.video-close {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    color: rgba(0, 0, 0, 0.58);
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 50%;
    font-size: 32px;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.video-panel video {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: min(66vh, 620px);
    object-fit: contain;
    background: #050506;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.storage-notice {
    position: fixed;
    right: 20px;
    bottom: 18px;
    left: 20px;
    z-index: 45;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    width: min(1020px, calc(100% - 40px));
    margin: 0 auto;
    padding: 16px 18px;
    color: var(--ink);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82)),
        rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 24px;
    box-shadow: 0 26px 70px rgba(31, 35, 46, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.98);
    opacity: 0;
    backdrop-filter: blur(28px) saturate(1.38);
    -webkit-backdrop-filter: blur(28px) saturate(1.38);
    transform: translateY(18px) scale(0.985);
    transition: opacity 220ms ease, transform 260ms cubic-bezier(.16, 1, .3, 1);
}

.storage-notice[hidden] {
    display: none;
}

.storage-notice.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.storage-notice-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.storage-notice-copy strong {
    color: #111111;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.storage-notice-copy span {
    color: rgba(0, 0, 0, 0.66);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
}

.storage-notice button {
    height: 40px;
    padding: 0 18px;
    color: #ffffff;
    background: #111111;
    border: 0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.settings-dialog {
    display: block;
    width: min(420px, calc(100vw - 32px));
    min-width: 0;
    max-width: min(420px, calc(100vw - 32px));
    height: fit-content !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 48px) !important;
    margin: auto;
    padding: 0;
    overflow: hidden;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 30px;
    box-shadow: 0 34px 100px rgba(31, 35, 46, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(34px) saturate(1.3);
    animation: settings-in 260ms cubic-bezier(.16, 1, .3, 1);
}

.artwork-guide-dialog {
    display: block;
    width: min(430px, calc(100vw - 32px));
    min-width: 0;
    max-width: min(430px, calc(100vw - 32px));
    height: fit-content !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 48px) !important;
    margin: auto;
    padding: 0;
    overflow: hidden;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.80);
    border: 1px solid rgba(255, 255, 255, 0.84);
    border-radius: 30px;
    box-shadow: 0 34px 100px rgba(31, 35, 46, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(34px) saturate(1.3);
    animation: settings-in 260ms cubic-bezier(.16, 1, .3, 1);
}

.artwork-guide-dialog:not([open]) {
    display: none;
}

.artwork-guide-dialog::backdrop {
    background: rgba(245, 247, 250, 0.42);
    backdrop-filter: blur(18px) saturate(1.12);
}

.artwork-guide-panel {
    display: grid;
    gap: 16px;
    padding: 22px;
}

.artwork-guide-head p,
.artwork-guide-head h2,
.artwork-guide-copy {
    margin: 0;
}

.artwork-guide-head p {
    color: rgba(0, 0, 0, 0.45);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.artwork-guide-head h2 {
    margin-top: 3px;
    color: #111111;
    font-size: 26px;
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.artwork-guide-copy {
    color: rgba(0, 0, 0, 0.62);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.55;
}

.artwork-guide-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 2px;
}

.artwork-guide-actions button {
    height: 44px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

#artworkGuideSettings {
    color: #111111;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

#artworkGuideContinue {
    color: #ffffff;
    background: linear-gradient(180deg, #19191f 0%, #050506 100%);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.settings-dialog:not([open]) {
    display: none;
}

.settings-dialog[open] {
    display: block;
    width: min(420px, calc(100vw - 32px));
    min-width: 0;
    max-width: min(420px, calc(100vw - 32px));
    height: fit-content !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 48px) !important;
}

.settings-dialog::backdrop {
    background: rgba(245, 247, 250, 0.42);
    backdrop-filter: blur(18px) saturate(1.12);
}

@keyframes settings-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.settings-panel {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 22px;
}

.settings-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.settings-head p,
.settings-head h2,
.settings-note {
    margin: 0;
}

.settings-head p {
    color: rgba(0, 0, 0, 0.45);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.settings-head h2 {
    margin-top: 3px;
    color: var(--ink);
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.settings-close {
    display: grid;
    position: relative;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    font-size: 0;
    line-height: 1;
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.settings-close::before,
.settings-close::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2.5px;
    background: currentColor;
    border-radius: 999px;
    content: "";
    transform-origin: center;
}

.settings-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.settings-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.settings-close:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.settings-close:hover {
    color: var(--ink);
    background: rgba(0, 0, 0, 0.06);
}

.resolution-options {
    display: grid;
    gap: 10px;
}

.resolution-option {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 14px;
    align-items: center;
    min-height: 64px;
    padding: 12px 46px 12px 16px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.54);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
    text-align: left;
    backdrop-filter: blur(18px) saturate(1.18);
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.resolution-option::before,
.resolution-option::after {
    position: absolute;
    top: 50%;
    opacity: 0;
    transition: opacity 160ms ease, transform 160ms ease;
}

.resolution-option::before {
    right: 16px;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    background: var(--accent);
    border-radius: 50%;
    content: "";
    transform: translateY(-50%) scale(0.74);
}

.resolution-option::after {
    right: 23px;
    width: 7px;
    height: 12px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    content: "";
    transform: translateY(-62%) rotate(45deg) scale(0.74);
}

.resolution-option:hover {
    background: rgba(255, 255, 255, 0.82);
    transform: translateY(-1px);
}

.resolution-option.is-active {
    border-color: rgba(0, 113, 227, 0.28);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.resolution-option.is-active::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.resolution-option.is-active::after {
    opacity: 1;
    transform: translateY(-62%) rotate(45deg) scale(1);
}

.resolution-option strong {
    color: inherit;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
}

.resolution-option small {
    color: rgba(0, 0, 0, 0.48);
    font-size: 12px;
    font-weight: 750;
}

.settings-note {
    color: rgba(0, 0, 0, 0.46);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.45;
}

@media (max-width: 1040px) {
    .detail-content {
        grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    }

    .track-row {
        grid-template-columns: 34px minmax(0, 1fr) 50px;
    }

    .track-price {
        display: none;
    }
}

@media (max-width: 760px) {
    :root {
        --page-pad: 14px;
    }

    .app-shell {
        padding-top: 12px;
    }

    .top-bar {
        min-height: 52px;
        gap: 10px;
    }

    .brand-logo {
        width: 168px;
    }

    .header-actions {
        gap: 3px;
    }

    .header-action {
        height: 38px;
        padding: 0 9px;
        font-size: 12px;
    }

    #chartsButton {
        font-size: 0;
    }

    #chartsButton::after {
        font-size: 12px;
        content: "榜单";
    }

    .hero-search {
        margin-top: 14px;
        padding-top: 0;
    }

    .search-form {
        gap: 9px;
    }

    .search-line {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .control-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 9px;
    }

    .search-box {
        height: 56px;
    }

    .search-box::before {
        left: 17px;
        width: 16px;
        height: 16px;
        border-width: 2px;
    }

    .search-box::after {
        top: 50%;
        left: 32px;
        width: 9px;
        height: 2px;
        transform: translateY(7px) rotate(45deg);
    }

    .search-box input {
        height: 56px;
        padding: 0 46px 0 48px;
        border-radius: 20px;
        font-size: 16px;
    }

    .clear-button {
        right: 8px;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }

    .control-field {
        height: 56px;
        padding: 0 14px;
        border-radius: 20px;
    }

    .control-field span {
        font-size: 10.5px;
    }

    .control-field select {
        height: 22px;
        font-size: 15px;
    }

    .search-submit {
        width: 100%;
        height: 56px;
        border-radius: 20px;
    }

    .quick-search {
        flex-wrap: nowrap;
        gap: 6px;
        padding: 3px 0;
    }

    .hot-label {
        flex: 0 0 auto;
        font-size: 12px;
    }

    .quick-search button {
        height: 28px;
        padding: 0 11px;
        font-size: 12px;
    }

    .media-tabs {
        display: grid;
        grid-auto-columns: minmax(68px, max-content);
        grid-auto-flow: column;
        grid-template-columns: none;
        justify-content: flex-start;
    }

    .media-tab {
        min-width: 68px;
        padding: 0 18px;
    }

    .heading-row {
        align-items: start;
        flex-direction: column;
        gap: 8px;
    }

    .results-heading {
        margin: 5px 0 14px;
    }

    .results-heading h1 {
        max-width: 100%;
        font-size: 30px;
        line-height: 1.08;
        letter-spacing: -0.035em;
    }

    .results-heading p {
        max-width: 100%;
        text-align: left;
    }

    .view-density {
        display: none;
    }

    .results-grid,
    .loading-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .chart-board {
        padding: 10px;
        border-radius: 24px;
    }

    .chart-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        padding: 6px;
    }

    .chart-toolbar-copy strong {
        font-size: 18px;
    }

    .chart-country {
        min-width: 0;
    }

    .chart-row {
        grid-template-columns: 30px 48px minmax(0, 1fr) 54px;
        gap: 8px;
        min-height: 64px;
        padding: 8px;
        border-radius: 18px;
    }

    .chart-rank {
        font-size: 15px;
    }

    .chart-artwork {
        width: 48px;
        height: 48px;
        border-radius: 13px;
    }

    .chart-copy strong {
        font-size: 15px;
    }

    .chart-copy small {
        font-size: 12px;
    }

    .chart-preview {
        min-width: 54px;
        height: 32px;
        font-size: 12px;
    }

    .card-body {
        padding: 14px 0 0;
    }

    .detail-dialog {
        inset: 0;
        width: 100vw;
        min-width: 100vw;
        max-width: 100vw;
        height: 100dvh;
        min-height: 100dvh;
        max-height: 100dvh;
        margin: 0;
        border-radius: 0;
    }

    .detail-content {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        padding: 60px 14px 16px;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .detail-panel {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        flex: 0 0 auto;
        width: 100%;
        gap: 8px;
        padding: 14px;
        overflow: visible;
        background: rgba(255, 255, 255, 0.38);
        border: 1px solid rgba(255, 255, 255, 0.64);
        border-radius: 26px;
        border-right: 0;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
        backdrop-filter: blur(18px) saturate(1.18);
    }

    .detail-artwork-wrap {
        flex: 0 0 auto;
        width: min(250px, 64vw);
        margin: 0 auto 2px;
        border-radius: 19px;
    }

    .eyebrow {
        margin-top: 0;
        font-size: 12px;
    }

    .detail-panel h2 {
        display: -webkit-box;
        overflow: hidden;
        font-size: 22px;
        line-height: 1.08;
        letter-spacing: -0.035em;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .detail-subtitle {
        font-size: 15px;
        line-height: 1.25;
    }

    .detail-list {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 5px 9px;
        margin-top: 0;
        font-size: 12px;
    }

    .detail-actions {
        grid-template-columns: minmax(0, 1fr) repeat(3, 31px);
        gap: 7px;
        margin-top: 5px;
    }

    .detail-actions:not(:has(.preview)) {
        grid-template-columns: repeat(3, 31px) minmax(0, 1fr);
    }

    .detail-actions .mini-button,
    .detail-actions .mini-link {
        height: 31px;
        min-height: 31px;
        font-size: 11px;
    }

    .detail-actions .mini-button.favorite,
    .detail-actions .mini-link.download,
    .detail-actions .mini-link.apple {
        flex: none;
        width: 31px;
        height: 31px;
        min-height: 31px;
        padding: 0;
        justify-self: start;
    }

    .detail-actions .hd-icon {
        width: 22px;
        height: 16px;
        border-radius: 5px;
        font-size: 8px;
    }

    .track-panel {
        position: relative;
        z-index: 2;
        display: block;
        flex: 0 0 auto;
        width: 100%;
        overflow: visible;
        padding: 0;
    }

    .track-list {
        display: grid;
        width: 100%;
        min-width: 0;
        overflow: visible;
        padding: 7px;
        gap: 6px;
        border-radius: 22px;
    }

    .track-head {
        min-height: 62px;
        margin-bottom: 9px;
        padding: 10px 14px;
        border-radius: 22px;
    }

    .track-head h3 {
        font-size: 20px;
    }

    .track-head p,
    .track-head span {
        font-size: 12px;
    }

    .track-row {
        grid-template-columns: 26px minmax(0, 1fr) 44px;
        width: 100%;
        min-width: 0;
        justify-self: stretch;
        gap: 7px;
        min-height: 54px;
        height: auto;
        padding: 8px 10px;
        border-radius: 18px;
    }

    .track-copy {
        width: 100%;
        min-width: 0;
        justify-self: stretch;
    }

    .track-duration {
        justify-self: end;
        min-width: 44px;
    }

    .track-copy strong {
        font-size: 13.5px;
    }

    .track-copy small,
    .track-number,
    .track-duration {
        font-size: 12px;
    }

    .track-empty {
        min-height: 260px;
    }

    .player-bar {
        right: 10px;
        bottom: 10px;
        left: 10px;
        grid-template-columns: 46px minmax(0, 1fr) 38px;
        width: calc(100% - 20px);
        gap: 10px;
        border-radius: 22px;
    }

    .player-bar audio {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    #playerClose {
        grid-column: 3;
        grid-row: 1;
        align-self: center;
        justify-self: center;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }

    .player-artwork-button {
        width: 46px;
        height: 46px;
        border-radius: 13px;
    }

    .player-artwork-button img {
        border-radius: 12px;
    }

    .player-copy {
        min-height: 46px;
        height: 46px;
    }

    .storage-notice {
        right: 10px;
        bottom: 10px;
        left: 10px;
        grid-template-columns: 1fr;
        gap: 12px;
        width: calc(100% - 20px);
        padding: 14px;
        border-radius: 20px;
    }

    .storage-notice button {
        width: 100%;
    }

    .toast {
        right: 10px;
        bottom: 128px;
    }
}

@media (max-width: 460px) {
    .brand {
        min-height: 50px;
        padding: 0;
    }

    .brand-logo {
        width: 200px;
    }

    .hero-search {
        margin-top: 12px;
    }

    .search-box {
        height: 54px;
    }

    .search-box input {
        height: 54px;
        font-size: 16px;
    }

    .search-submit {
        height: 54px;
    }

    .control-field {
        height: 54px;
        padding: 0 12px;
    }

    .quick-search button {
        height: 27px;
        padding: 0 10px;
    }

    .results-heading h1 {
        font-size: 28px;
    }

    .card-title {
        min-height: 38px;
        font-size: 15px;
    }

    .card-actions {
        gap: 6px;
    }

    .mini-button,
    .mini-link {
        font-size: 12px;
    }

    .mini-button.favorite,
    .mini-button.icon-preview,
    .mini-button.artwork-video,
    .mini-link.download,
    .mini-link.apple {
        min-width: 0;
        padding: 0;
    }

    .detail-list {
        grid-template-columns: 62px minmax(0, 1fr);
    }

}
