@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --bg-deep: #12061f;
    --bg-main: #181d4a;
    --bg-soft: #1f2a61;
    --panel: rgba(14, 20, 56, 0.86);
    --panel-strong: rgba(22, 30, 72, 0.92);
    --panel-soft: rgba(28, 38, 88, 0.74);
    --text-strong: #f8fbff;
    --text-soft: #d9e2ff;
    --text-muted: #a8b5df;
    --line-soft: rgba(255, 255, 255, 0.18);
    --line-strong: rgba(255, 255, 255, 0.32);
    --focus: #86d5ff;
    --rainbow-1: #ff5ca8;
    --rainbow-2: #ff9a3c;
    --rainbow-3: #ffe15b;
    --rainbow-4: #4cffb0;
    --rainbow-5: #4dc9ff;
    --rainbow-6: #7f7dff;
    --rainbow-7: #c26dff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.45;
    color: var(--text-soft);
    background:
            radial-gradient(900px 700px at -6% -14%, rgba(255, 92, 168, 0.34) 0%, transparent 60%),
            radial-gradient(980px 760px at 114% -18%, rgba(77, 201, 255, 0.34) 0%, transparent 60%),
            radial-gradient(1200px 860px at 52% 122%, rgba(194, 109, 255, 0.28) 0%, transparent 66%),
            linear-gradient(165deg, var(--bg-main) 0%, var(--bg-deep) 56%, #0e1030 100%);
}

body::before,
body::after {
    content: '';
    position: fixed;
    z-index: -1;
    pointer-events: none;
}

body::before {
    inset: 0;
    background:
            linear-gradient(transparent 27px, rgba(255, 255, 255, 0.07) 28px),
            linear-gradient(90deg, transparent 27px, rgba(255, 255, 255, 0.07) 28px);
    background-size: 28px 28px;
    opacity: 0.18;
}

body::after {
    inset: -30% -30%;
    background:
            conic-gradient(from 0deg at 50% 50%,
            rgba(255, 92, 168, 0.18),
            rgba(255, 154, 60, 0.18),
            rgba(255, 225, 91, 0.18),
            rgba(76, 255, 176, 0.18),
            rgba(77, 201, 255, 0.18),
            rgba(127, 125, 255, 0.18),
            rgba(194, 109, 255, 0.18),
            rgba(255, 92, 168, 0.18));
    filter: blur(120px) saturate(1.15);
    animation: hue-drift 24s linear infinite;
}

@keyframes hue-drift {
    to {
        transform: rotate(360deg);
    }
}

a {
    color: inherit;
}

#logo-text a,
span#ab {
    display: block;
}

span#ab {
    width: 1px;
    height: 1px;
    position: absolute;
    opacity: 0;
    overflow: hidden;
}

div#s-c,
#canvas {
    width: 1px;
    height: 1px;
    margin: 0 auto;
}

#x-main {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    padding: 22px 22px calc(208px + env(safe-area-inset-bottom, 0px));
}

.bg-glow {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    filter: blur(1px);
}

.bg-glow-left {
    top: 120px;
    left: -220px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle,
    rgba(255, 154, 60, 0.36) 0%,
    rgba(255, 92, 168, 0.24) 42%,
    rgba(255, 92, 168, 0) 72%);
}

.bg-glow-right {
    top: 210px;
    right: -220px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle,
    rgba(77, 201, 255, 0.35) 0%,
    rgba(127, 125, 255, 0.26) 40%,
    rgba(127, 125, 255, 0) 72%);
}

#up-c,
#page-shell,
#div-tags,
#e-mail {
    animation: lift-fade .38s ease both;
}

#page-shell {
    animation-delay: .05s;
}

#div-tags {
    animation-delay: .09s;
}

#e-mail {
    animation-delay: .12s;
}

@keyframes lift-fade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

#up-c {
    position: sticky;
    top: 10px;
    z-index: 50;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid var(--line-soft);
    background: linear-gradient(155deg, rgba(20, 30, 76, 0.9) 0%, rgba(15, 21, 52, 0.95) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 38px rgba(8, 8, 24, 0.45);
    overflow: hidden;
}

#up-c::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(120deg,
    rgba(255, 92, 168, 0.52),
    rgba(255, 154, 60, 0.5),
    rgba(255, 225, 91, 0.45),
    rgba(76, 255, 176, 0.46),
    rgba(77, 201, 255, 0.5),
    rgba(127, 125, 255, 0.52),
    rgba(194, 109, 255, 0.52));
    z-index: -1;
    opacity: .35;
    animation: shift-rainbow 9s linear infinite;
}

@keyframes shift-rainbow {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

#logo-text {
    flex: 0 0 auto;
    min-width: 0;
}

#logo-text a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
    height: 62px;
    padding: 0 12px;
    text-decoration: none;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.36));
}

#logo-text .logo-icon {
    width: 42px;
    height: 42px;
    display: block;
    flex: 0 0 auto;
}

#logo-text .logo-name {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1.72rem;
    letter-spacing: .01em;
    line-height: 1;
}

#x-input,
#x-input form {
    flex: 1 1 auto;
}

#x-input {
    display: flex;
    align-items: center;
    position: relative;
}

#x-input button {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: linear-gradient(165deg,
    rgba(255, 92, 168, 0.2),
    rgba(77, 201, 255, 0.2),
    rgba(194, 109, 255, 0.2));
    color: var(--text-soft);
    cursor: pointer;
    z-index: 3;
    transition: transform .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

#x-input button:hover {
    transform: translateY(-50%) scale(1.04);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: 0 0 0 4px rgba(127, 125, 255, 0.22);
}

#x-input button:active {
    transform: translateY(-50%) scale(.98);
}

#x-input button:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

form input {
    width: 100%;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    outline: 0;
    border-radius: 16px;
    font-size: 1.03rem;
    background:
            linear-gradient(130deg, rgba(255, 92, 168, 0.14), rgba(77, 201, 255, 0.12), rgba(127, 125, 255, 0.12)),
            linear-gradient(180deg, rgba(18, 28, 70, 0.84), rgba(12, 19, 48, 0.95));
    color: var(--text-soft);
    box-sizing: border-box;
    padding: 0 14px 0 62px;
    letter-spacing: .01em;
    transition: border-color .22s ease, box-shadow .22s ease, transform .18s ease;
}

form input:hover {
    border-color: rgba(255, 255, 255, 0.38);
}

form input:focus {
    border-color: rgba(255, 255, 255, 0.58);
    box-shadow:
            0 0 0 4px rgba(127, 125, 255, 0.24),
            0 0 14px rgba(77, 201, 255, 0.22);
}

::placeholder {
    color: #b2c1ea;
    opacity: 1;
}

button svg {
    width: 20px;
    height: 20px;
    position: static;
}

div#s-buttons {
    opacity: .95;
}

.uscl-list {
    opacity: .78;
}

#page-shell {
    position: relative;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
            linear-gradient(145deg, rgba(22, 31, 80, 0.9), rgba(15, 20, 56, 0.94)),
            linear-gradient(90deg, rgba(255, 92, 168, 0.09), rgba(77, 201, 255, 0.09));
    box-shadow: 0 24px 44px rgba(6, 8, 25, 0.44);
    overflow: hidden;
}

#page-shell::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg,
    var(--rainbow-1),
    var(--rainbow-2),
    var(--rainbow-3),
    var(--rainbow-4),
    var(--rainbow-5),
    var(--rainbow-6),
    var(--rainbow-7));
    opacity: .86;
}

.title-wrap {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

h1 {
    width: 100%;
    text-align: left;
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: clamp(1.08rem, 1.4vw + .72rem, 1.9rem);
    line-height: 1.28;
    letter-spacing: .02em;
    color: var(--text-strong);
    font-weight: 700;
}

div#content {
    width: 100%;
    display: grid;
    gap: 12px;
    background: transparent;
}

.data {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    min-height: 104px;
    column-gap: 12px;
    row-gap: 8px;
    padding: 9px 10px 9px 9px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
            linear-gradient(150deg, rgba(24, 35, 90, 0.88), rgba(17, 24, 62, 0.95)),
            linear-gradient(90deg, rgba(255, 92, 168, 0.1), rgba(77, 201, 255, 0.1));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
    cursor: default;
    transition: transform .2s ease, box-shadow .22s ease, border-color .22s ease;
}

.data.is-active {
    border-color: rgba(120, 170, 255, 0.68);
    background:
            linear-gradient(150deg, rgba(42, 58, 128, 0.94), rgba(24, 33, 86, 0.98)),
            linear-gradient(90deg, rgba(91, 139, 255, 0.24), rgba(126, 108, 255, 0.22));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 14px 28px rgba(0,0,0,.38);
}

.data:active {
    transform: translateY(0);
}

.img {
    position: relative;
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.cover,
.track {
    color: var(--text-soft);
}

.cover {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
            linear-gradient(145deg,
            rgba(255, 92, 168, 0.46),
            rgba(255, 154, 60, 0.36),
            rgba(255, 225, 91, 0.32),
            rgba(76, 255, 176, 0.32),
            rgba(77, 201, 255, 0.36),
            rgba(127, 125, 255, 0.36));
}

.cover::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.26);
    pointer-events: none;
}

.cover img {
    display: block;
    border-radius: 14px;
    width: 68px;
    height: 68px;
    object-fit: cover;
    opacity: .93;
    transition: transform .22s ease, opacity .22s ease;
    position: static;
    top: 0;
    left: 0;
}

.cover span {
    display: block;
    width: 68px;
    height: 68px;
    border-radius: 14px;
}

.cover svg {
    width: 70px;
    height: 70px;
    color: rgba(241, 246, 255, 0.8);
}

.cover-state-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.41);
    pointer-events: none;
    color: rgba(244, 251, 255, 0.9);
    transform: translate(-50%, -50%);
    transition: transform .2s ease, color .2s ease, opacity .2s ease, background-color .2s ease;
    z-index: 2;
}

.cover-state-icon svg {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 4px 10px rgba(5, 8, 22, 0.65));
}

.cover-state-icon.is-current {
    color: #d8f5ff;
}

.cover-state-icon.is-playing {
    color: #fff;
    transform: translate(-50%, -50%) scale(1.08);
}

.cover:empty::after {
    content: '♫';
    font-size: 1.14rem;
    font-weight: 700;
    color: rgba(248, 252, 255, 0.84);
}

.track {
    padding: 10px;
    display: table-cell;
    vertical-align: top;
}

.name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-name {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    color: var(--text-soft);
    gap: 6px;
}

.track-name div {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.artist a,
h1 {
    font-weight: 700;
}

.artist a {
    color: var(--text-strong);
    text-decoration: none;
}

.artist a:hover {
    color: #fff;
}

.track-duration,
.track-download {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
}

.track-actions {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.track-download a.link {
    text-decoration: none;
}

.play-track,
span.time {
    border-radius: 12px;
}

.play-track {
    font-family: inherit;
    height: 44px;
    min-width: 88px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-soft);
    font-size: .86rem;
    font-weight: 700;
    text-transform: lowercase;
    cursor: pointer;
    transition: transform .18s ease, border-color .2s ease, color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.play-track:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(127, 125, 255, 0.16);
}

.play-track:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

span.time {
    width: auto;
    min-width: 88px;
    height: 44px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft);
    font-weight: 700;
    font-size: .86rem;
    font-variant-numeric: tabular-nums;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

div.download {
    cursor: pointer;
    width: auto;
    min-width: 120px;
    height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-soft);
    font-size: .86rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    transition: transform .18s ease, border-color .2s ease, color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

div.download:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(127, 125, 255, 0.18);
}

div.download svg {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
}

div.download .download-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

div.download .download-text {
    display: inline-flex;
    align-items: center;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1;
    letter-spacing: .01em;
    white-space: nowrap;
}

span.volume {
    display: none;
}

#div-tags a.h-tag,
.artist a,
a.link {
    text-decoration: underline;
    color: inherit;
}

.rewind {
    height: 0;
    margin-top: 0;
    width: 100%;
}

#p-c,
.buffered,
.played {
    display: none;
}

#div-pages {
    color: var(--text-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px auto 8px;
    padding: 2px 0;
    font-weight: 700;
}

#div-pages div {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(145deg, rgba(28, 37, 90, 0.9), rgba(18, 26, 64, 0.95));
    color: var(--text-soft);
    transition: transform .18s ease, border-color .2s ease, box-shadow .2s ease;
}

#div-pages a {
    display: inline-flex;
    color: inherit;
    float: none;
}

#div-pages a:hover div {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 4px rgba(77, 201, 255, 0.16);
}

.current-page {
    background: linear-gradient(140deg,
    rgba(255, 92, 168, 0.34),
    rgba(255, 154, 60, 0.3),
    rgba(127, 125, 255, 0.3)) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.62) !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

#div-tags {
    padding: 16px;
    margin: 14px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    word-break: break-word;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(155deg, rgba(23, 31, 79, 0.9), rgba(15, 22, 56, 0.96));
}

#div-tags b {
    color: #c4d1f0;
    width: 100%;
    margin: 0 0 4px;
    font-weight: 700;
    letter-spacing: .02em;
}

#div-tags a.h-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #eef4ff;
    background: rgba(255, 255, 255, 0.06);
    transition: transform .16s ease, box-shadow .2s ease, border-color .2s ease;
}

#div-tags a.h-tag:nth-of-type(7n + 1) {
    background: rgba(255, 92, 168, 0.2);
}

#div-tags a.h-tag:nth-of-type(7n + 2) {
    background: rgba(255, 154, 60, 0.2);
}

#div-tags a.h-tag:nth-of-type(7n + 3) {
    background: rgba(255, 225, 91, 0.22);
}

#div-tags a.h-tag:nth-of-type(7n + 4) {
    background: rgba(76, 255, 176, 0.2);
}

#div-tags a.h-tag:nth-of-type(7n + 5) {
    background: rgba(77, 201, 255, 0.2);
}

#div-tags a.h-tag:nth-of-type(7n + 6) {
    background: rgba(127, 125, 255, 0.2);
}

#div-tags a.h-tag:nth-of-type(7n) {
    background: rgba(194, 109, 255, 0.2);
}

#div-tags a.h-tag:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: 0 0 0 4px rgba(127, 125, 255, 0.16);
}

#div-tags a.h-tag:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

#div-tags .my-tag,
#e-mail svg,
#e-mail .mail-icon {
    display: inline-block;
}

#div-tags .my-tag {
    line-height: 1.1;
    font-weight: 600;
}

#e-mail {
    color: #c5d2f0;
    padding: 14px 18px;
    margin: 20px 0 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background:
            linear-gradient(150deg, rgba(26, 35, 87, 0.9), rgba(14, 20, 55, 0.96)),
            linear-gradient(90deg, rgba(255, 92, 168, 0.12), rgba(77, 201, 255, 0.12));
}

#e-mail svg,
#e-mail .mail-icon {
    width: 20px;
    height: 20px;
}

#e-mail .mail-icon svg {
    width: 20px;
    height: 20px;
}

#e-mail a {
    color: #f4f8ff;
    font-weight: 700;
}

#e-mail a:hover {
    text-decoration: underline;
}

#amp-player {
    position: fixed;
    bottom: 10px;
    width: min(1080px, calc(100% - 18px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 60;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background:
            linear-gradient(145deg, rgba(23, 31, 80, 0.52), rgba(13, 20, 52, 0.55)),
            linear-gradient(90deg, rgba(91, 139, 255, 0.07), rgba(134, 178, 255, 0.07));
    box-shadow: 0 18px 42px rgba(5, 6, 20, 0.6);
    backdrop-filter: blur(14px);
    overflow: hidden;
    font-family: 'Manrope', 'Segoe UI', sans-serif;
}

.p-top {
    position: relative;
    height: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
}

.amplitude-song-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    z-index: 3;
    cursor: pointer;
}

.p-b,
.p-played {
    position: absolute;
    top: 0;
    bottom: 0;
}

.p-b {
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.06);
}

.p-played {
    left: 0;
    width: 0;
    background: linear-gradient(90deg,
    rgba(255, 92, 168, 0.95),
    rgba(255, 154, 60, 0.95),
    rgba(255, 225, 91, 0.95),
    rgba(76, 255, 176, 0.95),
    rgba(77, 201, 255, 0.95),
    rgba(127, 125, 255, 0.95),
    rgba(194, 109, 255, 0.95));
    transition: width .18s ease;
}

.p-top-info {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 12px;
    color: #fff;
    font-size: .86rem;
    pointer-events: none;
}

.t-n {
    max-width: 62%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    font-weight: 700;
}

.t-t {
    opacity: .9;
    color: #d4e0ff;
    font-variant-numeric: tabular-nums;
}

.p-down {
    display: grid;
    grid-template-columns: 74px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
}

.p-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

#c-cover {
    width: 56px;
    height: 56px;
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.06);
}

.p-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.p-next,
.p-p,
.p-prev {
    color: var(--text-soft);
    cursor: pointer;
    transition: color .2s ease, transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.p-prev,
.p-next,
.t-r,
.v-i {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.p-prev svg,
.p-next svg {
    width: 40px;
    height: 40px;
}

.t-r svg,
.v-i svg {
    width: 30px;
    height: 30px;
}

.p-p {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background:
            radial-gradient(circle at 24% 20%,
            rgba(255, 92, 168, 0.38),
            rgba(77, 201, 255, 0.35),
            rgba(127, 125, 255, 0.32),
            rgba(18, 26, 67, 0.94));
    color: #fff;
}

.p-p svg {
    width: 46px;
    height: 46px;
}

.p-next:hover,
.p-p:hover,
.p-prev:hover,
.t-r:hover,
.v-i:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 0 0 4px rgba(127, 125, 255, 0.2);
}

.p-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.t-r,
.v-i {
    color: var(--text-soft);
    cursor: pointer;
}

.p-v {
    position: relative;
    width: 132px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.amplitude-volume-slider {
    position: absolute;
    inset: -8px 0;
    width: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.v-b {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    border-radius: 999px;
    background: #d9e2ff;
    transition: width .2s ease;
    pointer-events: none;
    z-index: 1;
}

.active-track-jump {
    position: fixed;
    right: 12px;
    top: 50%;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    border: none;
    background: transparent;
    color: rgba(243, 249, 255, 0.56);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 130;
    transform: translateY(-50%);
    text-shadow: 0 2px 8px rgba(4, 8, 28, 0.48);
    transition: transform .2s ease, opacity .2s ease, color .2s ease;
}

.active-track-jump svg {
    width: 34px;
    height: 34px;
    display: block;
}

.active-track-jump:hover {
    transform: translateY(-50%) scale(1.08);
    color: rgba(255, 255, 255, 0.86);
}

.active-track-jump:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

.active-track-jump.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(.88);
}

@supports not (backdrop-filter: blur(8px)) {
    #up-c,
    #amp-player {
        background: rgba(26, 34, 85, 0.56);
    }
}

@media (max-width: 1100px) {
    #x-main {
        max-width: 960px;
        padding-left: 14px;
        padding-right: 14px;
    }
}

@media (max-width: 880px) {
    #x-main {
        padding-bottom: calc(196px + env(safe-area-inset-bottom, 0px));
    }

    #up-c {
        gap: 14px;
        padding: 12px;
        border-radius: 18px;
    }

    #logo-text {
        flex: 0 0 auto;
        min-width: 0;
    }

    #logo-text a {
        height: 56px;
        gap: 8px;
        padding: 0 10px;
    }

    #logo-text .logo-icon {
        width: 36px;
        height: 36px;
    }

    #logo-text .logo-name {
        font-size: 1.52rem;
    }

    #page-shell {
        padding: 18px;
        border-radius: 20px;
    }

    .data {
        grid-template-columns: 80px minmax(0, 1fr);
        border-radius: 16px;
    }
}

@media (max-width: 600px) {

    body::after {
        display: none;
    }

    #x-main {
        padding: 14px 12px calc(182px + env(safe-area-inset-bottom, 0px));
    }

    #up-c {
        position: relative;
        top: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    #logo-text {
        min-width: 0;
        flex: none;
        display: flex;
        justify-content: center;
    }

    #logo-text a {
        height: 52px;
        gap: 8px;
        padding: 0 8px;
        justify-content: center;
    }

    #logo-text .logo-icon {
        width: 34px;
        height: 34px;
    }

    #logo-text .logo-name {
        font-size: 1.42rem;
    }

    form input {
        height: 52px;
        font-size: 1rem;
        padding-left: 56px;
    }

    #x-input button {
        width: 34px;
        height: 34px;
        left: 10px;
    }

    #page-shell {
        padding: 15px;
    }

    .title-wrap {
        margin-bottom: 14px;
        padding-bottom: 14px;
    }

    .data {
        grid-template-columns: 68px minmax(0, 1fr);
        grid-template-rows: auto auto;
        min-height: 104px;
        row-gap: 6px;
        padding: 8px 10px;
    }

    .img {
        grid-row: 1 / span 2;
        width: 60px;
        height: 60px;
    }

    .cover,
    .cover span,
    .cover img {
        width: 56px;
        height: 56px;
        border-radius: 12px;
    }

    .track-name {
        grid-column: 2 / 3;
        grid-row: 1;
        gap: 4px;
    }

    .track-name .title {
        font-size: .91rem;
    }

    .track-actions {
        grid-column: 2;
        grid-row: 2;
        justify-content: flex-start;
        gap: 8px;
    }

    .play-track {
        height: 40px;
        min-width: 74px;
        padding: 0 12px;
        font-size: .78rem;
    }

    span.time {
        width: auto;
        min-width: 74px;
        height: 40px;
        font-size: .78rem;
        padding: 0 12px;
    }

    div.download {
        min-width: 96px;
        height: 40px;
        padding: 0 10px;
        gap: 6px;
        font-size: .78rem;
        border-radius: 11px;
    }

    div.download svg {
        width: 22px;
        height: 22px;
    }

    div.download .download-text {
        font-size: inherit;
    }

    #div-pages {
        margin-top: 18px;
        gap: 8px;
    }

    #div-pages div {
        min-width: 40px;
        height: 40px;
        padding: 0 13px;
    }

    #div-tags {
        padding: 13px;
        gap: 8px;
        border-radius: 16px;
    }

    #div-tags a.h-tag {
        padding: 6px 10px;
    }

    #e-mail {
        padding: 12px 14px;
        margin-top: 14px;
        word-break: break-word;
    }

    #amp-player {
        width: calc(100% - 12px);
        bottom: 6px;
        border-radius: 16px;
    }

    .p-top {
        height: 36px;
    }

    .p-down {
        grid-template-columns: 56px minmax(0, 1fr) 56px;
        gap: 8px;
        padding: 8px 10px 10px;
    }

    .p-left {
        display: flex;
    }

    #c-cover {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }

    .p-center {
        justify-content: center;
        gap: 10px;
    }

    .p-right {
        justify-content: flex-end;
        min-width: 56px;
        gap: 0;
    }

    .t-r {
        width: 56px;
        height: 56px;
    }

    .t-r svg {
        width: 30px;
        height: 30px;
    }

    .v-i,
    .p-v {
        display: none;
    }
}

@media (max-width: 600px) {
    #x-main {
        padding: 10px 8px calc(172px + env(safe-area-inset-bottom, 0px));
    }

    .active-track-jump {
        right: 8px;
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    .active-track-jump svg {
        width: 30px;
        height: 30px;
    }

    #up-c {
        padding: 10px;
        border-radius: 14px;
        gap: 10px;
    }

    #logo-text a {
        height: 48px;
        gap: 7px;
        padding: 0 6px;
    }

    #logo-text .logo-icon {
        width: 30px;
        height: 30px;
    }

    #logo-text .logo-name {
        font-size: 1.4rem;
    }

    #x-input button {
        width: 32px;
        height: 32px;
        left: 10px;
    }

    form input {
        height: 50px;
        font-size: .96rem;
        border-radius: 14px;
        padding-left: 54px;
    }

    #page-shell {
        padding: 12px;
        border-radius: 16px;
    }

    .title-wrap {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    h1 {
        font-size: 1rem;
        line-height: 1.3;
    }

    .data {
        grid-template-columns: 64px minmax(0, 1fr);
        min-height: 98px;
        padding: 7px 8px;
        border-radius: 14px;
    }

    .img {
        width: 56px;
        height: 56px;
    }

    .cover,
    .cover span,
    .cover img {
        width: 52px;
        height: 52px;
        border-radius: 10px;
    }

    .track-actions {
        gap: 6px;
    }

    .play-track {
        height: 36px;
        min-width: 62px;
        padding: 0 10px;
        font-size: .72rem;
    }

    .track-name .title {
        font-size: .88rem;
    }

    span.time {
        width: auto;
        min-width: 62px;
        height: 36px;
        font-size: .72rem;
        padding: 0 10px;
    }

    div.download {
        min-width: 86px;
        height: 36px;
        padding: 0 8px;
        gap: 5px;
        font-size: .72rem;
        border-radius: 10px;
    }

    div.download svg {
        width: 20px;
        height: 20px;
    }

    div.download .download-text {
        font-size: inherit;
    }

    #div-pages {
        margin-top: 14px;
        gap: 6px;
    }

    #div-pages div {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        border-radius: 12px;
    }

    #div-tags {
        margin-top: 12px;
        padding: 10px;
        gap: 6px;
        border-radius: 14px;
    }

    #div-tags b {
        margin-bottom: 2px;
        font-size: .86rem;
    }

    #div-tags a.h-tag {
        padding: 5px 9px;
        font-size: .84rem;
    }

    #e-mail {
        padding: 10px 12px;
        font-size: .84rem;
    }

    #amp-player {
        width: calc(100% - 8px);
        bottom: 4px;
        border-radius: 14px;
    }

    .p-top {
        height: 34px;
    }

    .p-top-info {
        font-size: .8rem;
        gap: 8px;
    }

    .t-n {
        max-width: 70%;
    }

    .p-down {
        grid-template-columns: 50px minmax(0, 1fr) 50px;
        padding: 7px 8px 8px;
    }

    .p-left {
        display: flex;
    }

    #c-cover {
        width: 46px;
        height: 46px;
        border-radius: 11px;
    }

    .p-center {
        justify-content: center;
        gap: 8px;
    }

    .p-right {
        justify-content: flex-end;
        min-width: 50px;
        gap: 0;
    }

    .t-r {
        width: 50px;
        height: 50px;
    }

    .t-r svg {
        width: 30px;
        height: 30px;
    }

    .p-prev,
    .p-next,
    .v-i {
        width: 54px;
        height: 54px;
    }

    .p-prev svg,
    .p-next svg {
        width: 32px;
        height: 32px;
    }

    .v-i svg {
        width: 30px;
        height: 30px;
    }

    .p-v {
        width: 88px;
    }
}

@media (max-width: 520px) {
    h1 {
        font-size: 1.04rem;
        line-height: 1.3;
    }

    .active-track-jump {
        right: 6px;
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }

    .active-track-jump svg {
        width: 26px;
        height: 26px;
    }

    .data {
        grid-template-columns: 56px minmax(0, 1fr);
        column-gap: 4px;
        row-gap: 5px;
        padding: 6px;
    }

    .img {
        width: 50px;
        height: 50px;
    }

    .cover,
    .cover span,
    .cover img {
        width: 46px;
        height: 46px;
        border-radius: 9px;
    }

    .track-name {
        grid-column: 2 / 3;
        grid-row: 1;
        justify-content: center;
    }

    .track-actions {
        grid-column: 2 / 3;
        grid-row: 2;
        gap: 4px;
    }

    .play-track {
        height: 34px;
        min-width: 50px;
        padding: 0 7px;
        font-size: .68rem;
    }

    .track-duration,
    .track-download {
        width: auto;
    }

    .t-t {
        display: inline-flex;
        align-items: center;
        font-size: .72rem;
    }

    .t-n {
        max-width: 64%;
    }

    span.time {
        width: auto;
        min-width: 50px;
        height: 34px;
        padding: 0 7px;
        font-size: .68rem;
    }

    div.download {
        min-width: 60px;
        height: 34px;
        padding: 0 6px;
        gap: 4px;
        font-size: .68rem;
    }

    div.download svg {
        width: 16px;
        height: 16px;
    }

    div.download .download-text {
        font-size: inherit;
    }

    .p-top-info {
        justify-content: space-between;
        gap: 6px;
        padding: 0 8px;
    }

    .p-down {
        grid-template-columns: 48px minmax(0, 1fr) 48px;
        gap: 6px;
    }

    .p-center {
        justify-content: center;
    }

    .p-right {
        justify-content: flex-end;
        min-width: 48px;
    }

    #c-cover {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .t-r {
        display: flex;
        width: 48px;
        height: 48px;
    }

    .t-r svg {
        width: 30px;
        height: 30px;
    }

    .v-i,
    .p-v {
        display: none;
    }

    .p-p {
        width: 54px;
        height: 54px;
    }

    .p-p svg {
        width: 40px;
        height: 40px;
    }

    .p-prev,
    .p-next {
        width: 50px;
        height: 50px;
    }

    .p-prev svg,
    .p-next svg {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 600px) {
    .play-track,
    div.download,
    span.time {
        font-size: .8rem;
    }

    #x-main,
    #page-shell,
    #content {
        overflow-x: hidden;
    }
}
