/**
 * Single track / video pages
 *
 * @package Bargtunes
 */

:root {
    --sm-bg: #070708;
    --sm-ink: #f4f4f5;
    --sm-muted: rgba(244, 244, 245, 0.62);
    --sm-line: rgba(255, 255, 255, 0.1);
    --sm-glass: rgba(14, 14, 16, 0.72);
    --sm-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --sm-gutter: clamp(20px, 4.5vw, 56px);
}

.sm-page {
    --sm-gutter: clamp(20px, 4.5vw, 56px);
    background:
        radial-gradient(ellipse 80% 50% at 20% -10%, rgba(255, 255, 255, 0.06), transparent 55%),
        radial-gradient(ellipse 60% 40% at 90% 10%, rgba(120, 120, 140, 0.08), transparent 50%),
        var(--sm-bg);
    color: var(--sm-ink);
    min-height: 100vh;
    padding-bottom: calc(max(clamp(48px, 8vw, 96px), env(safe-area-inset-bottom, 0px)) + var(--fn-dock-clearance, 72px));
    overflow-x: hidden;
    box-sizing: border-box;
}

.sm-page *,
.sm-page *::before,
.sm-page *::after {
    box-sizing: border-box;
}

.sm-hero {
    --sm-accent: #e8ff6a;
    position: relative;
    padding-block: clamp(88px, 11vw, 140px) clamp(32px, 5vw, 72px);
    padding-inline: max(var(--sm-gutter), env(safe-area-inset-left, 0px))
        max(var(--sm-gutter), env(safe-area-inset-right, 0px));
    overflow: hidden;
}

.sm-hero__glow {
    position: absolute;
    inset: -20% 10% auto;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 65%);
    pointer-events: none;
}

.sm-hero__inner {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
}

.sm-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 14px 0 10px;
    margin-bottom: clamp(24px, 4vw, 40px);
    border-radius: 999px;
    text-decoration: none;
    color: rgba(244, 244, 245, 0.72);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.06), transparent 55%),
        rgba(16, 16, 20, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 8px 22px rgba(0, 0, 0, 0.28);
    transition:
        color 0.3s var(--sm-ease),
        border-color 0.3s var(--sm-ease),
        background 0.3s var(--sm-ease),
        transform 0.3s var(--sm-ease),
        box-shadow 0.3s var(--sm-ease);
}

.sm-back__icon {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #0a0a0a;
    background: var(--sm-accent, #e8ff6a);
    flex-shrink: 0;
    transition: transform 0.3s var(--sm-ease), background 0.3s var(--sm-ease);
}

.sm-back__icon svg {
    width: 14px;
    height: 14px;
}

[dir="rtl"] .sm-back__icon svg,
body.rtl .sm-back__icon svg {
    transform: scaleX(-1);
}

.sm-back__label {
    line-height: 1;
    white-space: nowrap;
}

.sm-back:hover,
.sm-back:focus-visible {
    outline: none;
    color: #fff;
    border-color: rgba(232, 255, 106, 0.35);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.09), transparent 55%),
        rgba(22, 22, 26, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 28px rgba(0, 0, 0, 0.35);
    transform: translateY(-1px);
}

.sm-back:hover .sm-back__icon,
.sm-back:focus-visible .sm-back__icon {
    transform: translateX(-2px);
}

[dir="rtl"] .sm-back:hover .sm-back__icon,
[dir="rtl"] .sm-back:focus-visible .sm-back__icon,
body.rtl .sm-back:hover .sm-back__icon,
body.rtl .sm-back:focus-visible .sm-back__icon {
    transform: translateX(2px) scaleX(1);
}

[dir="rtl"] .sm-back:hover .sm-back__icon svg,
[dir="rtl"] .sm-back:focus-visible .sm-back__icon svg,
body.rtl .sm-back:hover .sm-back__icon svg,
body.rtl .sm-back:focus-visible .sm-back__icon svg {
    transform: scaleX(-1);
}

.sm-back:active {
    transform: translateY(0);
}

.sm-hero__grid {
    display: grid;
    grid-template-columns: minmax(240px, 400px) minmax(0, 1fr);
    gap: clamp(32px, 5.5vw, 64px);
    align-items: center;
}

.sm-cover-wrap {
    position: relative;
    isolation: isolate;
}

.sm-cover-glow {
    display: none;
}

.sm-cover {
    position: relative;
    z-index: 1;
    aspect-ratio: 1;
    border-radius: 22px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.45),
        0 28px 70px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(232, 255, 106, 0.06);
    transform: translateZ(0);
    transition: transform 0.55s var(--sm-ease), box-shadow 0.55s var(--sm-ease);
}

.sm-cover:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 36px 80px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(232, 255, 106, 0.16);
}

.sm-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sm-cover__ring {
    position: absolute;
    inset: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    mix-blend-mode: soft-light;
}

.sm-cover__shine {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, transparent 38%, transparent 62%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

.sm-hero__copy {
    position: relative;
    min-width: 0;
    padding-block: 6px;
}

.sm-kicker-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 14px;
}

.sm-kicker__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sm-accent);
    box-shadow: 0 0 0 4px rgba(232, 255, 106, 0.12);
}

.sm-kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(244, 244, 245, 0.55);
}

body.lang-persian .sm-kicker,
body.rtl .sm-kicker {
    letter-spacing: 0.1em;
}

.sm-kicker__jump {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: #0a0a0a;
    background: var(--sm-accent);
    transition: transform 0.3s var(--sm-ease), filter 0.3s var(--sm-ease);
}

.sm-kicker__jump:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.sm-title {
    margin: 0 0 14px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.2rem, 5.6vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
    font-weight: 800;
    text-wrap: balance;
}

body.lang-persian .sm-title,
body.rtl .sm-title {
    font-family: 'ModamWeb', 'Vazirmatn', sans-serif;
    letter-spacing: -0.01em;
    line-height: 1.05;
}

.sm-artist {
    margin: 0 0 22px;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: rgba(244, 244, 245, 0.78);
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.sm-artist__by {
    font-size: 0.78em;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(244, 244, 245, 0.4);
}

body.lang-persian .sm-artist__by,
body.rtl .sm-artist__by {
    letter-spacing: 0.04em;
}

.sm-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.sm-meta li {
    margin: 0;
    padding: 0;
}

.sm-meta li::before {
    content: none;
}

.sm-meta li span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    color: rgba(244, 244, 245, 0.72);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sm-player {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px 14px 12px 12px;
    border-radius: 999px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.07), transparent 45%),
        rgba(16, 16, 20, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 14px 36px rgba(0, 0, 0, 0.4);
    max-width: 540px;
    width: 100%;
}

.sm-player__play {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #0a0a0a;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s var(--sm-ease), background 0.25s var(--sm-ease);
    position: relative;
}

.sm-player__play:hover {
    transform: scale(1.05);
    background: var(--sm-accent);
}

.sm-player__icon {
    display: grid;
    place-items: center;
    line-height: 0;
}

.sm-player__icon--pause {
    display: none;
}

.sm-player__play.is-playing .sm-player__icon--play {
    display: none;
}

.sm-player__play.is-playing .sm-player__icon--pause {
    display: grid;
}

.sm-player__play svg {
    width: 18px;
    height: 18px;
}

.sm-player__icon--play svg {
    margin-inline-start: 2px;
}

.sm-player__progress {
    position: relative;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    overflow: visible;
    touch-action: none;
}

.sm-player__progress::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 44px;
    transform: translateY(-50%);
}

.sm-player__bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #fff, var(--sm-accent));
    border-radius: inherit;
}

.sm-player__time {
    font-size: 0.78rem;
    color: var(--sm-muted);
    white-space: nowrap;
    min-width: 4.5rem;
    text-align: end;
    font-variant-numeric: tabular-nums;
}

.sm-video-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: clamp(12px, 2vw, 18px);
    overflow: hidden;
    background: #000;
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    margin-bottom: clamp(20px, 4vw, 36px);
}

.sm-video-stage__frame,
.sm-video-stage__player,
.sm-video-stage__poster {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: cover;
}

.sm-hero__copy--video {
    max-width: 820px;
}

.sm-hero__copy--video .sm-player,
.sm-hero__copy--video .sm-meta {
    max-width: 100%;
}

/* ---------- Body: platforms / caption / related ---------- */

.sm-body {
    --sm-accent: #e8ff6a;
    --sm-surface: #141418;
    --sm-surface-2: #1a1a20;
    --sm-lift: 0 18px 40px rgba(0, 0, 0, 0.45);
    --sm-inset: inset 0 1px 0 rgba(255, 255, 255, 0.09),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
    position: relative;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: clamp(8px, 2vw, 16px) var(--sm-gutter) 0;
    display: grid;
    gap: clamp(48px, 8vw, 88px);
}

.sm-platforms,
.sm-caption,
.sm-lyrics,
.sm-related {
    position: relative;
}

.sm-platforms::before,
.sm-caption::before,
.sm-lyrics::before,
.sm-related::before {
    content: '';
    position: absolute;
    inset: -8% -4% auto;
    height: 55%;
    background: radial-gradient(ellipse at 70% 0%, rgba(255, 255, 255, 0.045), transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.sm-platforms > *,
.sm-caption > *,
.sm-lyrics > *,
.sm-related > * {
    position: relative;
    z-index: 1;
}

.sm-body::before {
    content: '';
    position: absolute;
    inset-inline: var(--sm-gutter);
    top: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.18) 20%,
        rgba(255, 255, 255, 0.18) 80%,
        transparent
    );
    pointer-events: none;
}

.sm-sec-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: clamp(14px, 2.5vw, 28px);
    margin-bottom: clamp(22px, 3.5vw, 32px);
    padding-bottom: clamp(14px, 2vw, 18px);
    width: 100%;
    max-width: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.sm-sec-head::after {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    bottom: -1px;
    width: min(72px, 18%);
    height: 2px;
    background: var(--sm-accent, #e8ff6a);
    border-radius: 2px;
    opacity: 0.85;
}

.sm-sec-head__lead {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.sm-sec-head__rail {
    width: clamp(40px, 8vw, 96px);
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.28),
        rgba(232, 255, 106, 0.45),
        transparent
    );
    opacity: 0.9;
}

[dir="rtl"] .sm-sec-head__rail,
body.rtl .sm-sec-head__rail {
    background: linear-gradient(
        to left,
        rgba(255, 255, 255, 0.28),
        rgba(232, 255, 106, 0.45),
        transparent
    );
}

.sm-sec-head__meta {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    align-self: start;
    margin-top: 0.35em;
}

.sm-sec-head__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(244, 244, 245, 0.62);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    white-space: nowrap;
}

.sm-sec-head__label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sm-accent, #e8ff6a);
    box-shadow: 0 0 0 3px rgba(232, 255, 106, 0.14);
    flex-shrink: 0;
}

body.lang-persian .sm-sec-head__label,
body.rtl .sm-sec-head__label,
[dir="rtl"] .sm-sec-head__label {
    letter-spacing: 0.08em;
}

.sm-sec-head__title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 3.4vw, 2.15rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--sm-ink);
}

body.lang-persian .sm-sec-head__title,
body.rtl .sm-sec-head__title {
    font-family: 'ModamWeb', 'Vazirmatn', sans-serif;
    letter-spacing: -0.01em;
}

.sm-sec-head__sub {
    margin: 0;
    max-width: 34rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--sm-muted);
}

.sm-sec-head--lyrics .sm-sec-head__title {
    letter-spacing: -0.02em;
}

/* Platforms */

.sm-platforms__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.sm-platforms__list > li {
    animation: sm-rise 0.7s var(--sm-ease) both;
    animation-delay: calc(var(--sm-i, 0) * 55ms);
}

.sm-platforms__link {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 14px 16px;
    text-decoration: none;
    color: var(--sm-ink);
    border-radius: 18px;
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.05), transparent 42%),
        var(--sm-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--sm-inset), 0 10px 28px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    isolation: isolate;
    transition:
        border-color 0.35s var(--sm-ease),
        transform 0.35s var(--sm-ease),
        box-shadow 0.35s var(--sm-ease),
        background 0.35s var(--sm-ease);
}

.sm-platforms__link::before {
    content: '';
    position: absolute;
    inset: auto -20% -40% auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 255, 106, 0.14), transparent 68%);
    opacity: 0;
    transition: opacity 0.4s var(--sm-ease);
    z-index: -1;
    pointer-events: none;
}

.sm-platforms__link:hover,
.sm-platforms__link:focus-visible {
    outline: none;
    transform: translateY(-3px);
    border-color: rgba(232, 255, 106, 0.35);
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.08), transparent 45%),
        var(--sm-surface-2);
    box-shadow:
        var(--sm-inset),
        0 18px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(232, 255, 106, 0.08);
}

.sm-platforms__link:hover::before,
.sm-platforms__link:focus-visible::before {
    opacity: 1;
}

.sm-platforms__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--sm-accent);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: background 0.35s var(--sm-ease), border-color 0.35s var(--sm-ease);
}

.sm-platforms__link:hover .sm-platforms__icon {
    background: rgba(232, 255, 106, 0.1);
    border-color: rgba(232, 255, 106, 0.28);
}

.sm-platforms__icon svg {
    width: 18px;
    height: 18px;
}

.sm-platforms__copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.sm-platforms__label {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sm-platforms__cta {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    transition: color 0.3s var(--sm-ease);
}

body.lang-persian .sm-platforms__cta,
body.rtl .sm-platforms__cta {
    letter-spacing: 0.04em;
}

.sm-platforms__link:hover .sm-platforms__cta {
    color: rgba(232, 255, 106, 0.85);
}

.sm-platforms__arrow {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition:
        transform 0.35s var(--sm-ease),
        color 0.35s var(--sm-ease),
        background 0.35s var(--sm-ease),
        border-color 0.35s var(--sm-ease);
}

.sm-platforms__arrow svg {
    width: 14px;
    height: 14px;
}

.sm-platforms__link:hover .sm-platforms__arrow {
    transform: translate(2px, -2px);
    color: #0a0a0a;
    background: var(--sm-accent);
    border-color: transparent;
}

[dir="rtl"] .sm-platforms__link:hover .sm-platforms__arrow {
    transform: translate(-2px, -2px);
}

/* Caption */

.sm-caption__panel {
    position: relative;
    padding: clamp(22px, 3.5vw, 36px);
    border-radius: 22px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.045), transparent 40%),
        var(--sm-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--sm-inset), var(--sm-lift);
    overflow: hidden;
}

.sm-caption__panel::before {
    content: '';
    position: absolute;
    inset-block: 18px;
    inset-inline-start: 0;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, var(--sm-accent), transparent 85%);
    opacity: 0.75;
}

[dir="rtl"] .sm-caption__panel::before {
    border-radius: 4px 0 0 4px;
}

.sm-caption__content {
    position: relative;
    color: rgba(244, 244, 245, 0.72);
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    line-height: 1.8;
    max-width: 68ch;
}

.sm-caption__content > *:first-child {
    margin-top: 0;
}

.sm-caption__content > *:last-child {
    margin-bottom: 0;
}

.sm-caption__content a {
    color: var(--sm-accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(232, 255, 106, 0.35);
    transition: border-color 0.25s var(--sm-ease), color 0.25s var(--sm-ease);
}

.sm-caption__content a:hover {
    color: #f4ffa8;
    border-bottom-color: rgba(232, 255, 106, 0.8);
}

/* Lyrics */

.sm-lyrics__panel {
    position: relative;
    display: block;
    padding: clamp(26px, 4vw, 44px) clamp(20px, 3.5vw, 40px);
    border-radius: 24px;
    background:
        linear-gradient(165deg, rgba(232, 255, 106, 0.05), transparent 36%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.045), transparent 42%),
        var(--sm-surface);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: var(--sm-inset), var(--sm-lift);
    overflow: hidden;
    max-width: 42rem;
    margin-inline: auto;
}

.sm-lyrics__rail {
    display: none;
}

.sm-lyrics__text {
    min-width: 0;
    text-align: center;
}

.sm-lyrics__verse {
    margin: 0 0 1.55em;
    font-family: 'Vazirmatn', 'ModamWeb', 'Poppins', sans-serif;
    font-size: clamp(1.02rem, 1.7vw, 1.18rem);
    font-weight: 500;
    line-height: 2;
    color: rgba(244, 244, 245, 0.88);
    letter-spacing: 0.01em;
    text-align: center;
}

.sm-lyrics__verse:last-child {
    margin-bottom: 0;
}

/* Related */

.sm-related__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: clamp(14px, 2.5vw, 20px);
}

.sm-related--video .sm-related__list {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.sm-related__list > li {
    animation: sm-rise 0.75s var(--sm-ease) both;
    animation-delay: calc(var(--sm-i, 0) * 60ms);
}

.sm-related__card {
    display: grid;
    gap: 12px;
    text-decoration: none;
    color: var(--sm-ink);
}

.sm-related__media {
    position: relative;
    display: block;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    background: #0c0c0e;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: var(--sm-inset), 0 12px 28px rgba(0, 0, 0, 0.35);
    transition:
        transform 0.4s var(--sm-ease),
        border-color 0.4s var(--sm-ease),
        box-shadow 0.4s var(--sm-ease);
}

.sm-related__media--wide {
    aspect-ratio: 16 / 9;
}

.sm-related__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s var(--sm-ease), filter 0.4s var(--sm-ease);
}

.sm-related__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.55) 100%),
        radial-gradient(circle at 80% 20%, rgba(232, 255, 106, 0.12), transparent 45%);
    opacity: 0.55;
    transition: opacity 0.4s var(--sm-ease);
    pointer-events: none;
}

.sm-related__go {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 10px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #0a0a0a;
    background: var(--sm-accent);
    opacity: 0;
    transform: translateY(6px) scale(0.9);
    transition:
        opacity 0.35s var(--sm-ease),
        transform 0.35s var(--sm-ease);
}

.sm-related__go svg {
    width: 13px;
    height: 13px;
}

.sm-related__card:hover .sm-related__media,
.sm-related__card:focus-visible .sm-related__media {
    transform: translateY(-4px);
    border-color: rgba(232, 255, 106, 0.28);
    box-shadow:
        var(--sm-inset),
        0 22px 44px rgba(0, 0, 0, 0.5);
}

.sm-related__card:hover .sm-related__media img,
.sm-related__card:focus-visible .sm-related__media img {
    transform: scale(1.06);
    filter: brightness(1.05);
}

.sm-related__card:hover .sm-related__shade,
.sm-related__card:focus-visible .sm-related__shade {
    opacity: 0.9;
}

.sm-related__card:hover .sm-related__go,
.sm-related__card:focus-visible .sm-related__go {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.sm-related__name {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.35;
    transition: color 0.3s var(--sm-ease);
}

.sm-related__card:hover .sm-related__name {
    color: rgba(255, 255, 255, 0.92);
}

@keyframes sm-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Responsive — track & video singles
   Breakpoints: 1100 / 900 / 720 / 540 / 400 + hover/touch + landscape
   ========================================================================== */

@media (max-width: 1100px) {
    .sm-hero__grid {
        grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
        gap: clamp(24px, 4vw, 40px);
    }

    .sm-platforms__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm-related__list {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .sm-related--video .sm-related__list {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 900px) {
    .sm-hero {
        padding-top: clamp(84px, 14vw, 110px);
    }

    .sm-hero__grid {
        grid-template-columns: 1fr;
        gap: clamp(22px, 4vw, 32px);
        justify-items: stretch;
    }

    .sm-cover-wrap {
        width: min(320px, 68vw);
        margin-inline: auto;
    }

    .sm-cover-wrap,
    .sm-cover {
        max-width: none;
        width: 100%;
    }

    .sm-hero__copy {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sm-kicker-row {
        justify-content: center;
    }

    .sm-artist {
        justify-content: center;
    }

    .sm-meta {
        justify-content: center;
    }

    .sm-player {
        max-width: 520px;
    }

    .sm-title {
        font-size: clamp(2rem, 8vw, 3.2rem);
    }

    .sm-hero--video .sm-hero__copy {
        align-items: flex-start;
        text-align: start;
    }

    .sm-hero--video .sm-kicker-row,
    .sm-hero--video .sm-meta {
        justify-content: flex-start;
    }

    .sm-platforms__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .sm-body {
        gap: clamp(40px, 7vw, 64px);
    }
}

@media (max-width: 720px) {
    .sm-page {
        --sm-gutter: 20px;
        padding-bottom: calc(max(clamp(40px, 10vw, 72px), env(safe-area-inset-bottom, 0px)) + var(--fn-dock-clearance, 88px));
    }

    .sm-hero {
        padding-top: clamp(84px, 14vw, 110px);
        padding-bottom: clamp(28px, 6vw, 40px);
        padding-inline: max(20px, env(safe-area-inset-left, 0px))
            max(20px, env(safe-area-inset-right, 0px));
    }

    .sm-body {
        padding-inline: max(20px, env(safe-area-inset-left, 0px))
            max(20px, env(safe-area-inset-right, 0px));
    }

    .sm-body::before {
        inset-inline: max(20px, env(safe-area-inset-left, 0px))
            max(20px, env(safe-area-inset-right, 0px));
    }

    .sm-back {
        font-size: 0.78rem;
        min-height: 38px;
        padding: 0 12px 0 8px;
        margin-bottom: clamp(18px, 4vw, 28px);
    }

    .sm-back__icon {
        width: 24px;
        height: 24px;
    }

    .sm-cover-wrap {
        width: min(280px, 74vw);
    }

    .sm-cover {
        border-radius: 18px;
    }

    .sm-cover__ring {
        inset: 8px;
        border-radius: 12px;
    }

    .sm-cover:hover {
        transform: none;
    }

    .sm-title {
        font-size: clamp(1.85rem, 9vw, 2.6rem);
        margin-bottom: 10px;
    }

    .sm-artist {
        margin-bottom: 16px;
        font-size: 1rem;
    }

    .sm-meta {
        gap: 6px;
        margin-bottom: 20px;
    }

    .sm-meta li span {
        min-height: 30px;
        padding: 0 10px;
        font-size: 0.74rem;
    }

    .sm-player {
        gap: 10px;
        padding: 10px 12px 10px 10px;
        max-width: none;
        width: 100%;
    }

    .sm-player__play {
        width: 48px;
        height: 48px;
    }

    .sm-player__time {
        font-size: 0.72rem;
        min-width: 0;
    }

    /* Video stage keeps side gutter (no full-bleed) */
    .sm-hero--video .sm-video-stage {
        width: 100%;
        margin-inline: 0;
        border-radius: 14px;
        margin-bottom: clamp(18px, 4vw, 28px);
    }

    .sm-platforms,
    .sm-caption,
    .sm-lyrics,
    .sm-related {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .sm-platforms__list {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .sm-platforms__link {
        min-height: 64px;
        padding: 12px 14px;
        border-radius: 16px;
        width: 100%;
        max-width: 100%;
    }

    .sm-platforms__link:hover,
    .sm-platforms__link:focus-visible {
        transform: none;
    }

    .sm-sec-head {
        margin-bottom: 18px;
        padding-bottom: 12px;
        column-gap: 12px;
    }

    .sm-sec-head__rail {
        width: clamp(28px, 6vw, 56px);
    }

    .sm-sec-head__title {
        font-size: clamp(1.28rem, 5.5vw, 1.7rem);
    }

    .sm-sec-head__sub {
        font-size: 0.86rem;
    }

    .sm-sec-head__label {
        font-size: 0.62rem;
        padding: 5px 10px;
        letter-spacing: 0.18em;
    }

    .sm-sec-head__meta {
        margin-top: 0.2em;
    }

    .sm-caption__panel {
        padding: clamp(18px, 4vw, 24px);
        border-radius: 18px;
        width: 100%;
        max-width: 100%;
    }

    .sm-caption__content {
        font-size: 0.95rem;
        line-height: 1.75;
        max-width: none;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .sm-lyrics__panel {
        padding: clamp(18px, 4vw, 26px);
        border-radius: 18px;
        width: 100%;
        max-width: 100%;
    }

    .sm-lyrics__text,
    .sm-lyrics__verse {
        text-align: center;
    }

    .sm-lyrics__verse {
        font-size: clamp(0.98rem, 3.8vw, 1.08rem);
        line-height: 1.9;
        margin-bottom: 1.35em;
        overflow-wrap: anywhere;
    }

    /* Related: snap carousel — stay inside gutter */
    .sm-related {
        overflow: visible;
    }

    .sm-related__list,
    .sm-related--video .sm-related__list {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 0;
        padding-bottom: 12px;
        margin-inline: 0;
        padding-inline: 0;
        width: 100%;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
    }

    .sm-related__list > li {
        flex: 0 0 148px;
        width: 148px;
        min-width: 148px;
        max-width: 148px;
        scroll-snap-align: start;
        animation: none;
    }

    .sm-related--video .sm-related__list > li {
        flex: 0 0 min(72vw, 240px);
        width: min(72vw, 240px);
        min-width: min(72vw, 240px);
        max-width: min(72vw, 240px);
    }

    .sm-related__card {
        width: 100%;
    }

    .sm-related__media,
    .sm-related__media--wide {
        border-radius: 14px;
    }

    .sm-related__go {
        opacity: 1;
        transform: none;
        width: 28px;
        height: 28px;
    }

    .sm-related__card:hover .sm-related__media,
    .sm-related__card:focus-visible .sm-related__media {
        transform: none;
    }

    .sm-related__name {
        font-size: 0.84rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 540px) {
    .sm-sec-head {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 10px;
    }

    .sm-sec-head__rail {
        display: none;
    }

    .sm-page {
        --sm-gutter: 20px;
    }

    .sm-hero {
        padding-top: clamp(78px, 18vw, 96px);
        padding-inline: max(20px, env(safe-area-inset-left, 0px))
            max(20px, env(safe-area-inset-right, 0px));
    }

    .sm-body {
        gap: clamp(36px, 9vw, 52px);
        padding-inline: max(20px, env(safe-area-inset-left, 0px))
            max(20px, env(safe-area-inset-right, 0px));
    }

    .sm-body::before {
        inset-inline: max(20px, env(safe-area-inset-left, 0px))
            max(20px, env(safe-area-inset-right, 0px));
    }

    .sm-cover-wrap {
        width: min(240px, 72vw);
    }

    .sm-kicker {
        font-size: 0.66rem;
    }

    .sm-kicker__jump {
        padding: 5px 10px;
        font-size: 0.68rem;
    }

    .sm-title {
        font-size: clamp(1.7rem, 10vw, 2.2rem);
        word-break: break-word;
    }

    .sm-player {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "play progress"
            "play time";
        row-gap: 6px;
        column-gap: 12px;
        border-radius: 22px;
        padding: 12px 14px 12px 12px;
    }

    .sm-player__play {
        grid-area: play;
        width: 52px;
        height: 52px;
        align-self: center;
    }

    .sm-player__progress {
        grid-area: progress;
        align-self: end;
    }

    .sm-player__time {
        grid-area: time;
        text-align: start;
        justify-self: start;
        font-size: 0.7rem;
    }

    .sm-platforms__link {
        gap: 12px;
        min-height: 60px;
    }

    .sm-platforms__icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .sm-platforms__arrow {
        width: 28px;
        height: 28px;
    }

    .sm-platforms__cta {
        font-size: 0.68rem;
    }

    .sm-related__list > li {
        flex-basis: 136px;
        width: 136px;
        min-width: 136px;
        max-width: 136px;
    }

    .sm-related--video .sm-related__list > li {
        flex-basis: min(74vw, 220px);
        width: min(74vw, 220px);
        min-width: min(74vw, 220px);
        max-width: min(74vw, 220px);
    }
}

@media (max-width: 400px) {
    .sm-page {
        --sm-gutter: 18px;
    }

    .sm-hero,
    .sm-body {
        padding-inline: max(18px, env(safe-area-inset-left, 0px))
            max(18px, env(safe-area-inset-right, 0px));
    }

    .sm-body::before {
        inset-inline: max(18px, env(safe-area-inset-left, 0px))
            max(18px, env(safe-area-inset-right, 0px));
    }

    .sm-cover-wrap {
        width: min(210px, 78vw);
    }

    .sm-meta li span {
        min-height: 28px;
        padding: 0 8px;
        font-size: 0.7rem;
    }

    .sm-platforms__label {
        font-size: 0.88rem;
    }

    .sm-caption__panel::before {
        inset-block: 14px;
        width: 2px;
    }

    .sm-lyrics__verse {
        font-size: 0.95rem;
        line-height: 1.85;
    }
}

/* Short landscape phones / tablets */
@media (max-height: 480px) and (orientation: landscape) {
    .sm-hero {
        padding-top: 72px;
        padding-bottom: 20px;
    }

    .sm-hero__grid {
        grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
        gap: 20px;
        align-items: center;
    }

    .sm-cover-wrap {
        width: 100%;
        margin-inline: 0;
    }

    .sm-hero__copy {
        text-align: start;
        align-items: flex-start;
    }

    .sm-kicker-row,
    .sm-artist,
    .sm-meta {
        justify-content: flex-start;
    }

    .sm-title {
        font-size: clamp(1.4rem, 4vw, 2rem);
        margin-bottom: 6px;
    }

    .sm-artist,
    .sm-meta {
        margin-bottom: 10px;
    }

    .sm-hero--video .sm-video-stage {
        width: 100%;
        margin-inline: 0;
        border-radius: 12px;
        max-height: 62vh;
        aspect-ratio: 16 / 9;
    }
}

/* Touch / no-hover: keep go visible, kill float hovers */
@media (hover: none) {
    .sm-cover:hover,
    .sm-platforms__link:hover,
    .sm-platforms__link:focus-visible,
    .sm-related__card:hover .sm-related__media,
    .sm-related__card:focus-visible .sm-related__media,
    .sm-back:hover,
    .sm-back:focus-visible {
        transform: none;
    }

    .sm-back:hover .sm-back__icon,
    .sm-back:focus-visible .sm-back__icon {
        transform: none;
    }

    .sm-platforms__link:hover .sm-platforms__arrow,
    .sm-platforms__link:focus-visible .sm-platforms__arrow {
        transform: none;
    }

    .sm-related__go {
        opacity: 0.95;
        transform: none;
    }

    .sm-player__play:hover {
        transform: none;
        background: #fff;
    }

    .sm-player__play:active {
        background: var(--sm-accent);
    }

    .sm-platforms__link:active {
        border-color: rgba(232, 255, 106, 0.3);
        background:
            linear-gradient(155deg, rgba(255, 255, 255, 0.07), transparent 45%),
            var(--sm-surface-2);
    }

    .sm-back:active {
        border-color: rgba(232, 255, 106, 0.3);
    }
}

/* Wide desktop polish */
@media (min-width: 1280px) {
    .sm-hero__grid {
        grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
        gap: 72px;
    }

    .sm-platforms__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .sm-platforms__link,
    .sm-player__play,
    .sm-back,
    .sm-related__card,
    .sm-related__media,
    .sm-related__media img,
    .sm-related__go,
    .sm-platforms__arrow,
    .sm-platforms__icon,
    .sm-cover,
    .sm-kicker__jump {
        transition: none;
    }

    .sm-platforms__list > li,
    .sm-related__list > li {
        animation: none;
    }

    .sm-related__list,
    .sm-related--video .sm-related__list {
        scroll-behavior: auto;
    }
}
