.song-page,
.song-page * {
    box-sizing: border-box;
}
.single-songs{background:#0b0d12;}
.song-single-main,
.song-single-main .page-content,
.single-songs .site-main,
.song-page {
    background: #0b0d12;
    color: #f8fbff;
}

.song-single-main {
    min-height: 100vh;
}

.single-songs .page-content {
    background: #0b0d12;
}

.song-single-main,
.song-page {
    --song-bg: #0b0d12;
    --song-panel: #111621;
    --song-panel-strong: #151b28;
    --song-border: #233149;
    --song-border-soft: rgba(148, 163, 184, 0.14);
    --song-text: #f8fbff;
    --song-muted: #9dafcc;
    --song-faint: #5f6f8c;
    --song-blue: #4b8cff;
    --song-blue-soft: rgba(75, 140, 255, 0.15);
    --song-green: #22e0a5;
    --song-radius: 12px;
}

.song-page {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
    padding: 54px 0 84px;
    font-family: "DM Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.song-page a,
.song-page a:visited {
    color: inherit;
    text-decoration: none;
}

.song-hero {
    display: grid;
    gap: 16px;
}

.song-artwork {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 7;
    border: 1px solid var(--song-border);
    border-radius: 16px;
    background: radial-gradient(circle at 18% 20%, rgba(75, 140, 255, 0.25), transparent 28%),
        linear-gradient(135deg, #151b28 0%, #0c111a 58%, #090b10 100%);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.song-artwork-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0.36;
    filter: saturate(1.05);
}

.song-artwork-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 13, 18, 0.94) 0%, rgba(11, 13, 18, 0.72) 45%, rgba(11, 13, 18, 0.34) 100%);
}

.song-artwork-glow {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(8px);
}

.song-artwork-glow-one {
    right: 12%;
    top: 12%;
    width: 190px;
    height: 190px;
    background: rgba(75, 140, 255, 0.16);
}

.song-artwork-glow-two {
    right: -70px;
    bottom: -85px;
    width: 260px;
    height: 260px;
    background: rgba(34, 224, 165, 0.08);
}

.song-artwork-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    min-height: 100%;
    padding: 32px;
}

.song-cover {
    width: 140px;
    aspect-ratio: 1;
    border-radius: 18px;
    overflow: hidden;
    background: var(--song-panel-strong);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45);
}

.song-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.song-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 18px;
    color: var(--song-muted);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.song-hero-content {
    min-width: 0;
}

.song-eyebrow {
    margin-bottom: 10px;
    color: var(--song-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.song-hero-content h1 {
    max-width: 760px;
    margin: 0 0 10px;
    color: var(--song-text);
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: 0;
}

.song-artist {
    color: #c9d7f1;
    font-size: 15px;
    font-weight: 700;
}

.song-themes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.song-themes span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border: 1px solid rgba(75, 140, 255, 0.34);
    border-radius: 999px;
    background: rgba(75, 140, 255, 0.14);
    color: #b8cdfc;
    font-size: 12px;
    font-weight: 800;
}

.song-player,
.song-platform-row,
.song-meta {
    border: 1px solid var(--song-border-soft);
    border-radius: var(--song-radius);
    background: var(--song-panel);
}

.song-player {
    padding: 20px;
    border-radius: 12px;
    background: #10131a;
}

.song-player-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.song-player-play {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: 0 !important;
    border-radius: 999px;
    background: var(--song-blue) !important;
    color: #ffffff !important;
    cursor: pointer;
    padding: 0 !important;
    box-shadow: none !important;
    transition: background-color 0.16s ease, transform 0.16s ease;
}

.song-player-play:hover,
.song-player-play:focus-visible {
    background: #6aa1ff !important;
    color: #ffffff !important;
    outline: none;
    transform: scale(1.04);
    box-shadow: none !important;
}

.song-player-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: currentColor;
}

.song-player-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.song-player-icon-pause,
.song-player.is-playing .song-player-icon-play {
    display: none;
}

.song-player.is-playing .song-player-icon-pause {
    display: inline-flex;
}

.song-player-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.song-player-copy strong {
    overflow: hidden;
    color: var(--song-text);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.song-player-copy span {
    color: #9bb2d6;
    font-size: 12px;
    line-height: 1.25;
}

.song-player-volume {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    margin-left: auto;
    border: 0 !important;
    border-radius: 9px;
    background: transparent !important;
    color: #496186 !important;
    cursor: pointer;
    padding: 0 !important;
    box-shadow: none !important;
    transition: color 0.16s ease, background-color 0.16s ease;
}

.song-player-volume:hover,
.song-player-volume:focus-visible,
.song-player.is-muted .song-player-volume {
    background: rgba(75, 140, 255, 0.08) !important;
    color: var(--song-blue) !important;
    outline: none;
    box-shadow: none !important;
}

.song-volume-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
}

.song-volume-icon svg {
    display: block;
    width: 21px;
    height: 21px;
}

.song-volume-icon-muted,
.song-player.is-muted .song-volume-icon-on {
    display: none;
}

.song-player.is-muted .song-volume-icon-muted {
    display: inline-flex;
}

.song-waveform {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 44px;
    overflow: hidden;
    padding: 0 12px;
    border: 0 !important;
    border-radius: 8px;
    background: #171c28 !important;
    cursor: pointer;
    color: inherit !important;
    box-shadow: none !important;
}

.song-waveform:hover,
.song-waveform:focus-visible {
    background: #171c28 !important;
    color: inherit !important;
    outline: 1px solid rgba(75, 140, 255, 0.22);
    outline-offset: 0;
    box-shadow: none !important;
}

.song-waveform-progress {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: rgba(75, 140, 255, 0.12);
    pointer-events: none;
}

.song-waveform-bars {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 3px;
    width: min(410px, 100%);
    height: 34px;
}

.song-waveform-bars span {
    width: 3px;
    min-height: 4px;
    border-radius: 999px;
    background: #263a5f;
    transition: background-color 0.12s ease;
}

.song-waveform-bars span.is-played {
    background: var(--song-blue);
}

.song-player-times {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: #526487;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.song-listen-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 16px;
}

.song-listen-row > span {
    color: #526487;
    font-size: 12px;
}

.song-listen-row a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border: 1px solid var(--song-border-soft) !important;
    border-radius: 7px;
    background: rgba(75, 140, 255, 0.08) !important;
    color: #9bb2d6 !important;
    font-size: 12px;
    font-weight: 800;
    transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.song-listen-row a:hover,
.song-listen-row a:focus-visible {
    border-color: rgba(75, 140, 255, 0.42) !important;
    background: rgba(75, 140, 255, 0.14) !important;
    color: #ffffff !important;
    outline: none;
    box-shadow: none !important;
}

.song-player audio {
    display: none;
}

.song-player-status {
    display: none;
    margin-top: 12px;
    color: var(--song-muted);
    font-size: 12px;
    line-height: 1.4;
}

.song-player.is-loading .song-player-status,
.song-player.is-error .song-player-status {
    display: block;
}

.song-player.is-loading .song-waveform {
    cursor: progress;
    opacity: 0.72;
}

.song-player.is-error {
    border-color: rgba(224, 85, 85, 0.28);
}

.song-player.is-error .song-player-status {
    color: #fca5a5;
}

.song-player.is-error .song-player-play,
.song-player.is-error .song-waveform {
    pointer-events: none;
}

.song-player-empty {
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--song-border-soft);
    border-radius: var(--song-radius);
    background: var(--song-panel);
}

.song-player-empty strong,
.song-empty-state strong {
    color: var(--song-text);
    font-size: 14px;
    font-weight: 900;
}

.song-player-empty span,
.song-empty-state p {
    margin: 0;
    color: var(--song-muted);
    font-size: 13px;
    line-height: 1.55;
}

.listen-menu {
    position: relative;
    z-index: 5;
}

.listen-toggle,
.song-platform-row a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(75, 140, 255, 0.32);
    border-radius: 999px;
    background: rgba(75, 140, 255, 0.12);
    color: #c9d7f1;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.listen-toggle:hover,
.listen-toggle:focus-visible,
.song-platform-row a:hover,
.song-platform-row a:focus-visible {
    border-color: rgba(75, 140, 255, 0.65);
    background: rgba(75, 140, 255, 0.2);
    color: #ffffff;
    outline: none;
}

.listen-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    min-width: 210px;
    padding: 8px;
    border: 1px solid var(--song-border);
    border-radius: 12px;
    background: #121826;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}

.listen-dropdown a {
    display: block;
    padding: 10px 11px;
    border-radius: 8px;
    color: var(--song-muted);
    font-size: 13px;
    font-weight: 700;
}

.listen-dropdown a:hover,
.listen-dropdown a:focus-visible {
    background: rgba(75, 140, 255, 0.12);
    color: var(--song-text);
    outline: none;
}

.listen-menu:hover .listen-dropdown,
.listen-menu:focus-within .listen-dropdown {
    display: block;
}

.song-platform-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px;
}

.song-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
}

.song-meta div {
    min-width: 0;
    padding: 16px 18px;
    border-right: 1px solid var(--song-border-soft);
}

.song-meta div:last-child {
    border-right: 0;
}

.song-meta .highlight {
    background: linear-gradient(135deg, rgba(75, 140, 255, 0.2), rgba(75, 140, 255, 0.05));
}

.song-meta span {
    display: block;
    margin-bottom: 5px;
    color: var(--song-faint);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.song-meta strong {
    color: var(--song-text);
    font-size: 17px;
    line-height: 1.15;
}

.song-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 344px;
    gap: 18px;
    align-items: start;
    margin-top: 0;
}

.song-content-column {
    display: grid;
    min-width: 0;
    gap: 18px;
}

.song-main {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--song-border-soft);
    border-radius: var(--song-radius);
    background: var(--song-panel);
}

.song-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 0;
    border-bottom: 1px solid var(--song-border-soft);
    scrollbar-width: none;
}

.song-tabs::-webkit-scrollbar {
    display: none;
}

.song-tabs button {
    position: relative;
    flex: 1 1 0;
    min-width: 124px;
    min-height: 52px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--song-muted);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.song-tabs button:hover,
.song-tabs button:focus-visible {
    border-color: transparent;
    background: rgba(75, 140, 255, 0.08);
    color: var(--song-text);
    outline: none;
}

.song-tabs button.active {
    border-color: transparent;
    background: transparent;
    color: var(--song-blue);
}

.song-tabs button.active::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: -1px;
    left: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--song-blue);
}

.song-panel {
    display: none;
    padding: 24px;
}

.song-panel.active {
    display: block;
}

.song-empty-state {
    display: grid;
    gap: 6px;
    padding: 24px;
    min-height: 140px;
    align-content: center;
}

.multitracks-wrapper h3 {
    margin: 0 0 6px;
    color: var(--song-text);
    font-size: 19px;
    line-height: 1.25;
    font-weight: 900;
}

.multitracks-intro,
.files-intro {
    margin: 0 0 20px;
    color: var(--song-muted);
    font-size: 13px;
    line-height: 1.55;
}

.multitracks-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    padding: 0 10px;
    border: 1px solid var(--song-border-soft);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--song-muted);
    font-size: 12px;
    font-weight: 700;
}

.legend-item span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    flex-shrink: 0;
}

.multitrack-group {
    margin-bottom: 16px;
}

.multitrack-group:last-child {
    margin-bottom: 0;
}

.multitrack-group h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    color: var(--song-faint);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.multitrack-group h4::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--song-border-soft);
}

.multitrack-grid {
    display: grid;
    gap: 6px;
}

.multitrack-card {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 10px 13px;
    border: 1px solid var(--song-border-soft);
    border-left: 3px solid currentColor;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    text-align: left;
    cursor: default;
    transition: background-color 0.16s ease, border-color 0.16s ease;
}

.multitrack-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
    transform: none;
    box-shadow: none;
}

.multitrack-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
}

.multitrack-icon svg,
.file-icon svg,
.sidebar-file-icon svg,
.benefit-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.multitrack-info {
    min-width: 0;
}

.multitrack-card strong {
    display: block;
    overflow: hidden;
    margin-bottom: 2px;
    color: var(--song-text);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.multitrack-card span {
    display: block;
    margin: 0;
    color: var(--song-muted);
    font-size: 11px;
    line-height: 1.35;
}

.multitrack-card em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 23px;
    padding: 0 8px;
    border: 1px solid rgba(34, 224, 165, 0.22);
    border-radius: 6px;
    background: rgba(34, 224, 165, 0.1);
    color: var(--song-green);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.group-click-guide {
    color: #94a3b8;
}

.group-keys {
    color: #60a5fa;
}

.group-percussion {
    color: #f97316;
}

.group-bass {
    color: #a78bfa;
}

.group-guitar {
    color: #4ade80;
}

.group-orchestra {
    color: #c084fc;
}

.group-vocals {
    color: #f472b6;
}

.group-other {
    color: #fbbf24;
}

.file-pdf {
    color: #60a5fa;
}

.file-video {
    color: #a78bfa;
}

.file-zip,
.file-multitracks {
    color: #facc15;
}

.chart-preview-wrap {
    position: relative;
    max-width: none;
    overflow: hidden;
    border: 1px solid var(--song-border-soft);
    border-radius: var(--song-radius);
    background: var(--song-panel-strong);
}

.chart-preview-wrap img {
    display: block;
    width: 100%;
}

.chart-preview-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5, 7, 10, 0.62);
    backdrop-filter: blur(2px);
}

.chart-lock-box {
    max-width: 380px;
    padding: 22px;
    border: 1px solid var(--song-border-soft);
    border-radius: var(--song-radius);
    background: rgba(13, 17, 26, 0.94);
    text-align: center;
}

.chart-lock-box strong {
    display: block;
    margin-bottom: 6px;
    color: var(--song-text);
    font-size: 18px;
}

.chart-lock-box p {
    margin: 0;
    color: var(--song-muted);
    font-size: 13px;
    line-height: 1.5;
}

.chart-lock-box a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin-top: 14px;
    padding: 0 14px;
    border-radius: 9px;
    background: var(--song-blue);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

.lyrics-content {
    max-width: 680px;
    color: #d5def0;
    font-size: 15px;
    line-height: 1.8;
}

.lyrics-content p {
    margin: 0 0 18px;
}

.lyrics-content h1,
.lyrics-content h2,
.lyrics-content h3,
.lyrics-content h4 {
    margin: 24px 0 10px;
    color: var(--song-text);
    font-size: 15px;
    font-weight: 900;
}

.files-grid {
    display: grid;
    gap: 8px;
}

.file-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid var(--song-border-soft);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    text-align: left;
    transition: background-color 0.16s ease, border-color 0.16s ease;
}

.file-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
    transform: none;
    box-shadow: none;
}

.file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.file-info {
    min-width: 0;
}

.file-card strong {
    display: block;
    overflow: hidden;
    margin-bottom: 2px;
    color: var(--song-text);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-card p {
    display: block;
    margin: 0;
    color: var(--song-muted);
    font-size: 11px;
    line-height: 1.35;
}

.file-card em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 23px;
    padding: 0 8px;
    border: 1px solid rgba(34, 224, 165, 0.22);
    border-radius: 6px;
    background: rgba(34, 224, 165, 0.1);
    color: var(--song-green);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.song-sidebar {
    display: grid;
    gap: 12px;
    position: sticky;
    top: 34px;
}

.purchase-card,
.sidebar-files-card {
    overflow: hidden;
    border: 1px solid var(--song-border-soft);
    border-radius: var(--song-radius);
    background: var(--song-panel);
}

.purchase-card-art {
    padding: 18px;
    border-bottom: 1px solid var(--song-border-soft);
    background: linear-gradient(135deg, rgba(75, 140, 255, 0.16), rgba(255, 255, 255, 0.02));
}

.purchase-card-cover {
    width: 74px;
    aspect-ratio: 1;
    margin-bottom: 13px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: #0b0d12;
}

.purchase-card-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.purchase-card-cover span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 8px;
    color: var(--song-muted);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.purchase-card-title {
    color: var(--song-text);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.2;
}

.purchase-card-artist {
    margin-top: 4px;
    color: var(--song-muted);
    font-size: 13px;
    font-weight: 700;
}

.purchase-body {
    padding: 18px;
}

.member-access-card,
.price-box {
    display: grid;
    gap: 12px;
}

.price-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.price {
    color: var(--song-text);
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.currency {
    margin-top: 7px;
    color: var(--song-muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.member-badge {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 7px;
    min-height: 28px;
    padding: 0 11px;
    border: 1px solid rgba(34, 224, 165, 0.34);
    border-radius: 999px;
    background: rgba(34, 224, 165, 0.12);
    color: var(--song-green);
    font-size: 12px;
    font-weight: 900;
}

.member-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--song-green);
}

.sidebar-desc {
    margin: 0;
    color: var(--song-muted);
    font-size: 13px;
    line-height: 1.55;
}

.purchase-empty-state {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--song-border-soft);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.purchase-empty-state strong {
    color: var(--song-text);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
}

.purchase-empty-state p {
    margin: 0;
    color: var(--song-muted);
    font-size: 12px;
    line-height: 1.45;
}

.cart-btn,
.download-btn,
.member-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.cart-btn,
.download-btn {
    background: var(--song-blue);
    color: #ffffff;
}

.cart-btn:hover,
.cart-btn:focus-visible,
.download-btn:hover,
.download-btn:focus-visible {
    background: #2f75ef;
    color: #ffffff;
    outline: none;
}

.member-login-btn {
    border-color: rgba(75, 140, 255, 0.28);
    background: rgba(75, 140, 255, 0.1);
    color: #cfe0ff;
}

.member-login-btn:hover,
.member-login-btn:focus-visible {
    border-color: rgba(75, 140, 255, 0.58);
    background: rgba(75, 140, 255, 0.16);
    color: #ffffff;
    outline: none;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 13px;
    line-height: 1;
}

.sidebar-benefits {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--song-border-soft);
}

.benefit-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(75, 140, 255, 0.2);
    border-radius: 11px;
    background: rgba(75, 140, 255, 0.1);
    color: var(--song-blue);
}

.benefit-item strong {
    display: block;
    margin-bottom: 3px;
    color: var(--song-text);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
}

.benefit-item p {
    margin: 0;
    color: var(--song-muted);
    font-size: 12px;
    line-height: 1.45;
}

.sidebar-files-card {
    padding: 16px;
}

.sidebar-files-title {
    margin-bottom: 12px;
    color: var(--song-text);
    font-size: 13px;
    font-weight: 900;
}

.sidebar-file-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    padding: 11px 0;
    border-top: 1px solid var(--song-border-soft);
}

.sidebar-file-row:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.sidebar-file-row:last-child {
    padding-bottom: 0;
}

.sidebar-file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--song-blue);
}

.sidebar-file-info {
    min-width: 0;
}

.sidebar-file-info strong {
    display: block;
    overflow: hidden;
    color: var(--song-text);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-file-info span {
    display: block;
    margin-top: 2px;
    color: var(--song-muted);
    font-size: 11px;
    line-height: 1.25;
}

.sidebar-file-row em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(75, 140, 255, 0.12);
    color: #b8cdfc;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
}

.license-note {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 13px 14px;
    border: 1px solid var(--song-border-soft);
    border-radius: var(--song-radius);
    background: rgba(255, 255, 255, 0.03);
}

.license-note > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--song-border-soft);
    border-radius: 9px;
    color: var(--song-muted);
    font-size: 13px;
    font-weight: 900;
}

.license-note p {
    margin: 0;
    color: var(--song-muted);
    font-size: 12px;
    line-height: 1.55;
}

.license-note a {
    color: #b8cdfc;
    font-weight: 900;
}

.related-songs {
    margin-top: 42px;
}

.related-songs h2 {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    color: var(--song-text);
    font-size: 19px;
    font-weight: 900;
    line-height: 1.25;
}

.related-songs h2::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--song-border-soft);
}

.related-songs-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.related-song-card {
    display: block;
    overflow: hidden;
    border: 1px solid var(--song-border-soft);
    border-radius: var(--song-radius);
    background: var(--song-panel);
    transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.related-song-card:hover,
.related-song-card:focus-visible {
    border-color: rgba(75, 140, 255, 0.42);
    background: #151b28;
    outline: none;
    transform: translateY(-2px);
}

.related-song-art {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(145deg, #14213a, #0d111b);
}

.related-song-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-song-art span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 12px;
    color: var(--song-muted);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
}

.related-song-body {
    display: grid;
    gap: 7px;
    padding: 12px;
}

.related-song-body strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--song-text);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.related-song-artist {
    overflow: hidden;
    color: var(--song-muted);
    font-size: 11px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-song-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.related-song-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 7px;
    border: 1px solid var(--song-border-soft);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--song-muted);
    font-size: 10px;
    font-weight: 900;
}

.related-song-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
}

.related-song-price {
    color: var(--song-text);
    font-size: 13px;
    font-weight: 900;
}

.related-song-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(75, 140, 255, 0.28);
    border-radius: 8px;
    background: rgba(75, 140, 255, 0.1);
    color: #cfe0ff;
    font-size: 14px;
    font-weight: 900;
}

.mobile-purchase-bar,
.mobile-sheet-overlay,
.mobile-purchase-sheet {
    display: none;
}

.song-mobile-sheet-open {
    overflow: hidden;
}

.mobile-sheet-file-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

@media (max-width: 980px) {
    .song-page {
        width: min(100% - 28px, 720px);
        padding-top: 32px;
        padding-bottom: 112px;
    }

    .song-body {
        grid-template-columns: 1fr;
    }

    .song-sidebar {
        position: static;
    }

    .related-songs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mobile-purchase-bar {
        position: fixed;
        right: 12px;
        bottom: 12px;
        left: 12px;
        z-index: 9998;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 68px;
        padding: 10px 12px;
        border: 1px solid rgba(75, 140, 255, 0.34);
        border-radius: 16px;
        background: #111621;
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.44);
        backdrop-filter: blur(14px);
    }

    .mobile-purchase-summary {
        display: grid;
        min-width: 0;
        gap: 2px;
    }

    .mobile-purchase-summary strong {
        color: var(--song-text);
        font-size: 17px;
        font-weight: 900;
        line-height: 1.15;
    }

    .mobile-purchase-summary span {
        color: var(--song-green);
        font-size: 12px;
        font-weight: 900;
    }

    .mobile-purchase-open {
        flex: 0 0 auto;
        min-height: 44px;
        padding: 0 16px;
        border: 0 !important;
        border-radius: 11px;
        background: var(--song-blue) !important;
        color: #ffffff !important;
        font-size: 13px;
        font-weight: 900;
        cursor: pointer;
        box-shadow: none !important;
        text-decoration: none !important;
        transition: background-color 0.16s ease, transform 0.16s ease;
    }

    .mobile-purchase-open:hover,
    .mobile-purchase-open:focus,
    .mobile-purchase-open:active {
        border: 0 !important;
        background: #6aa1ff !important;
        color: #ffffff !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .mobile-sheet-overlay {
        position: fixed;
        inset: 0;
        z-index: 9999;
        background: rgba(0, 0, 0, 0.72);
        opacity: 0;
        transition: opacity 0.22s ease;
    }

    .mobile-sheet-overlay.is-open {
        display: block;
        opacity: 1;
    }

    .mobile-purchase-sheet {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 10000;
        display: block;
        max-height: min(86vh, 720px);
        overflow: hidden;
        border: 1px solid var(--song-border-soft);
        border-radius: 22px 22px 0 0;
        background: #111621 !important;
        box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.52);
        transform: translateY(105%);
        transition: transform 0.24s ease;
    }

    .mobile-purchase-sheet.is-open {
        transform: translateY(0);
    }

    .mobile-purchase-sheet[hidden],
    .mobile-sheet-overlay[hidden] {
        display: none;
    }

    .mobile-sheet-handle {
        width: 44px;
        height: 4px;
        margin: 10px auto 2px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.18);
    }

    .mobile-sheet-inner {
        position: relative;
        display: grid;
        gap: 14px;
        max-height: calc(min(86vh, 720px) - 16px);
        overflow-y: auto;
        background: #111621;
        padding: 18px 18px max(22px, env(safe-area-inset-bottom));
    }

    .mobile-sheet-close {
        position: absolute;
        top: 14px;
        right: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border: 1px solid var(--song-border-soft) !important;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.04) !important;
        color: var(--song-muted) !important;
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
        box-shadow: none !important;
    }

    .mobile-sheet-close:hover,
    .mobile-sheet-close:focus,
    .mobile-sheet-close:active {
        border-color: rgba(75, 140, 255, 0.34) !important;
        background: rgba(75, 140, 255, 0.12) !important;
        color: #ffffff !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .mobile-sheet-header {
        display: grid;
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        padding-right: 40px;
    }

    .mobile-sheet-cover {
        width: 64px;
        aspect-ratio: 1;
        overflow: hidden;
        border: 1px solid var(--song-border-soft);
        border-radius: 11px;
        background: #0b0d12;
    }

    .mobile-sheet-cover img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mobile-sheet-cover span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        padding: 7px;
        color: var(--song-muted);
        font-size: 9px;
        font-weight: 900;
        text-align: center;
    }

    .mobile-sheet-header strong {
        display: block;
        overflow: hidden;
        color: var(--song-text);
        font-size: 16px;
        font-weight: 900;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-sheet-header span {
        display: block;
        overflow: hidden;
        margin-top: 3px;
        color: var(--song-muted);
        font-size: 12px;
        font-weight: 700;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-sheet-price-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .mobile-sheet-price {
        color: var(--song-text);
        font-size: 26px;
        font-weight: 900;
        line-height: 1;
    }

    .mobile-sheet-price span {
        color: var(--song-muted);
        font-size: 12px;
        font-weight: 900;
    }

    .mobile-sheet-member {
        display: inline-flex;
        align-items: center;
        min-height: 28px;
        padding: 0 10px;
        border: 1px solid rgba(34, 224, 165, 0.28);
        border-radius: 999px;
        background: rgba(34, 224, 165, 0.1);
        color: var(--song-green);
        font-size: 12px;
        font-weight: 900;
        white-space: nowrap;
    }

    .mobile-sheet-desc {
        margin: 0;
        color: var(--song-muted);
        font-size: 13px;
        line-height: 1.55;
    }

    .mobile-sheet-empty {
        padding: 12px;
        border: 1px solid var(--song-border-soft);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.03);
        color: var(--song-muted);
        font-size: 12px;
        line-height: 1.45;
    }

    .mobile-sheet-primary,
    .mobile-sheet-secondary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 46px;
        border-radius: 11px;
        font-size: 13px;
        font-weight: 900;
        text-decoration: none !important;
        box-shadow: none !important;
    }

    .mobile-sheet-primary {
        border: 0 !important;
        background: var(--song-blue) !important;
        color: #ffffff !important;
    }

    .mobile-sheet-secondary {
        border: 1px solid rgba(75, 140, 255, 0.28) !important;
        background: rgba(75, 140, 255, 0.1) !important;
        color: #cfe0ff !important;
    }

    .mobile-sheet-primary:hover,
    .mobile-sheet-primary:focus,
    .mobile-sheet-primary:active {
        border: 0 !important;
        background: #6aa1ff !important;
        color: #ffffff !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .mobile-sheet-secondary:hover,
    .mobile-sheet-secondary:focus,
    .mobile-sheet-secondary:active {
        border-color: rgba(75, 140, 255, 0.58) !important;
        background: rgba(75, 140, 255, 0.16) !important;
        color: #ffffff !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .mobile-sheet-files {
        display: grid;
        gap: 7px;
        padding-top: 4px;
    }

    .mobile-sheet-files-title {
        color: var(--song-text);
        font-size: 13px;
        font-weight: 900;
    }

    .mobile-sheet-file-row {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
        padding: 9px 10px;
        border: 1px solid var(--song-border-soft);
        border-radius: 9px;
        background: #151b28;
    }

    .mobile-sheet-file-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.04);
        color: var(--song-blue);
    }

    .mobile-sheet-file-row strong {
        display: block;
        overflow: hidden;
        color: var(--song-text);
        font-size: 13px;
        font-weight: 900;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-sheet-file-row span {
        display: block;
        margin-top: 2px;
        color: var(--song-muted);
        font-size: 11px;
    }

    .mobile-sheet-file-row em {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 36px;
        min-height: 23px;
        padding: 0 7px;
        border-radius: 999px;
        background: rgba(75, 140, 255, 0.12);
        color: #b8cdfc;
        font-size: 10px;
        font-style: normal;
        font-weight: 900;
    }
}

@media (max-width: 720px) {
    .song-page {
        width: min(100% - 24px, 520px);
        padding-top: 80px;
        padding-bottom: 52px;
    }

    .song-artwork {
        aspect-ratio: auto;
    }

    .song-artwork-content {
        grid-template-columns: 1fr;
        align-items: start;
        min-height: auto;
        gap: 18px;
        padding: 22px;
    }

    .song-cover {
        width: 128px;
    }

    .song-hero-content h1 {
        font-size: 34px;
        line-height: 1.02;
    }

    .song-player-top {
        align-items: center;
        flex-direction: row;
    }

    .song-waveform-bars {
        width: 100%;
        gap: 2px;
    }

    .song-waveform-bars span {
        width: 2px;
    }

    .song-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .song-meta div:nth-child(2n) {
        border-right: 0;
    }

    .song-meta div:nth-child(n+3) {
        border-top: 1px solid var(--song-border-soft);
    }

    .song-panel {
        padding: 18px;
    }

    .related-songs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .multitrack-card,
    .file-card {
        grid-template-columns: 34px minmax(0, 1fr) auto;
        gap: 10px;
    }
}

@media (max-width: 420px) {
    .song-page {
        width: min(100% - 18px, 380px);
    }

    .song-artwork-content,
    .purchase-body,
    .sidebar-files-card {
        padding: 16px;
    }

    .purchase-card-art {
        padding: 16px;
    }

    .song-meta {
        grid-template-columns: 1fr;
    }

    .song-meta div,
    .song-meta div:nth-child(2n) {
        border-right: 0;
    }

    .song-meta div:nth-child(n+2) {
        border-top: 1px solid var(--song-border-soft);
    }

    .related-songs-grid {
        grid-template-columns: 1fr;
    }
}
