.hrs-card,
.hrs-card * {
    box-sizing: border-box;
}

.hrs-card {
    --hrs-accent: #ffac4b;
    --hrs-spotify: #1ed760;
    --hrs-bg: #10131c;
    --hrs-bg-top: rgba(161, 103, 52, 0.38);
    --hrs-panel: #1a1d26;
    --hrs-panel-strong: #21242c;
    --hrs-border: rgba(255, 255, 255, 0.14);
    --hrs-text: #ffffff;
    --hrs-muted: #aab0bd;
    --hrs-button-text: #07130b;
    --hrs-icon-tile: rgba(255, 172, 75, 0.14);
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--hrs-border);
    border-radius: 24px;
    background:
        radial-gradient(135% 70% at 100% 0%, var(--hrs-bg-top) 0%, transparent 55%),
        var(--hrs-bg);
    color: var(--hrs-text);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
    isolation: isolate;
    font-family: inherit;
    line-height: 1.35;
}

.hrs-theme-light {
    --hrs-bg: #ffffff;
    --hrs-bg-top: rgba(255, 172, 75, 0.2);
    --hrs-panel: #f4f5f7;
    --hrs-panel-strong: #eceef2;
    --hrs-border: rgba(20, 25, 35, 0.15);
    --hrs-text: #151922;
    --hrs-muted: #687080;
    --hrs-button-text: #07130b;
    --hrs-icon-tile: rgba(255, 139, 31, 0.14);
    box-shadow: 0 18px 50px rgba(18, 25, 38, 0.13);
}

.hrs-theme-plum {
    --hrs-bg: #251427;
    --hrs-bg-top: rgba(255, 172, 75, 0.22);
    --hrs-panel: #321e35;
    --hrs-panel-strong: #38233b;
    --hrs-border: rgba(255, 255, 255, 0.15);
    --hrs-text: #fff9ff;
    --hrs-muted: #ccbccc;
    --hrs-button-text: #07130b;
    --hrs-icon-tile: rgba(255, 172, 75, 0.14);
}

.hrs-card-glow {
    position: absolute;
    z-index: -1;
    top: -115px;
    right: -95px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: var(--hrs-accent);
    opacity: 0.08;
    filter: blur(74px);
    pointer-events: none;
}

.hrs-card-inner {
    padding: 17px;
}

.hrs-release-header {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: start;
    gap: 15px;
    min-height: 90px;
}

.hrs-cover {
    position: relative;
    display: grid;
    width: 90px;
    height: 90px;
    margin: 0;
    overflow: hidden;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 15px;
    background-color: #151923;
    background-image:
        radial-gradient(circle at 22% 18%, rgba(255, 203, 118, 0.72), transparent 34%),
        linear-gradient(145deg, #f1a43f 0%, #80572d 41%, #111827 100%);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hrs-theme-light .hrs-cover {
    border-color: rgba(20, 25, 35, 0.12);
}

.hrs-cover-notes {
    width: 48%;
    height: 48%;
    opacity: 0.96;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.22));
    transition: opacity 160ms ease, transform 160ms ease;
}

.hrs-cover.has-artwork .hrs-cover-notes {
    opacity: 0;
    transform: scale(0.92);
}

.hrs-release-copy {
    min-width: 0;
    padding: 7px 0 0;
}

.hrs-featured-label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 7px;
    color: var(--hrs-muted);
    font-size: 9px;
    font-weight: 780;
    letter-spacing: 0.11em;
    line-height: 1.08;
    text-transform: uppercase;
}

.hrs-featured-note {
    display: grid;
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 50%;
    background: var(--hrs-accent);
    color: #11151c;
    font-size: 14px;
    letter-spacing: 0;
}

.hrs-spotify-icon {
    display: block;
    flex: 0 0 auto;
}

.hrs-spotify-icon--badge {
    width: 23px;
    height: 23px;
}

.hrs-spotify-icon--badge .hrs-spotify-disc {
    fill: var(--hrs-spotify);
}

.hrs-spotify-icon--badge .hrs-spotify-waves {
    fill: #08120b;
}

.hrs-title {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--hrs-text) !important;
    font-family: inherit !important;
    font-size: clamp(17px, 5.4vw, 21px) !important;
    font-weight: 790 !important;
    letter-spacing: -0.025em;
    line-height: 1.06 !important;
    overflow-wrap: anywhere;
}

.hrs-title::before,
.hrs-title::after {
    display: none !important;
    content: none !important;
}

.hrs-artist {
    margin: 5px 0 0 !important;
    color: var(--hrs-muted) !important;
    font-size: 11px !important;
    font-weight: 560;
    line-height: 1.2 !important;
}

.hrs-audio {
    display: none !important;
}

.hrs-player {
    display: flex;
    min-width: 0;
    min-height: 72px;
    align-items: center;
    gap: 10px;
    margin: 17px 0 0;
    padding: 10px 11px;
    border: 1px solid var(--hrs-border);
    border-radius: 15px;
    background: var(--hrs-panel-strong);
}

.hrs-play-button {
    display: grid !important;
    flex: 0 0 44px;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    place-items: center;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--hrs-accent) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(255, 172, 75, 0.2);
    cursor: pointer;
    transition: transform 160ms ease, filter 160ms ease;
    -webkit-appearance: none;
    appearance: none;
}

.hrs-play-button:hover {
    filter: brightness(1.04);
    transform: scale(1.045);
}

.hrs-play-button:focus-visible,
.hrs-waveform:focus-visible,
.hrs-card a:focus-visible {
    outline: 3px solid var(--hrs-accent);
    outline-offset: 3px;
}

.hrs-play-button svg {
    width: 19px;
    height: 19px;
}

.hrs-icon-pause {
    display: none;
}

.hrs-player.is-playing .hrs-icon-play {
    display: none;
}

.hrs-player.is-playing .hrs-icon-pause {
    display: block;
}

.hrs-player.has-error {
    opacity: 0.62;
}

.hrs-wave-area {
    min-width: 42px;
    flex: 1 1 auto;
}

.hrs-waveform {
    position: relative;
    height: 42px;
    overflow: hidden;
    color: var(--hrs-muted);
    cursor: pointer;
    touch-action: none;
}

.hrs-wave-base,
.hrs-wave-progress,
.hrs-wave-progress > div {
    position: absolute;
    inset: 0;
}

.hrs-wave-base svg,
.hrs-wave-progress svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.hrs-wave-base {
    opacity: 0.63;
}

.hrs-wave-progress {
    width: 100%;
    overflow: hidden;
    color: var(--hrs-accent);
    clip-path: inset(0 100% 0 0);
    pointer-events: none;
}

.hrs-time-compact {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    color: var(--hrs-muted);
    font-size: 10px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.005em;
    white-space: nowrap;
}

.hrs-spotify-button,
.hrs-resource-links a {
    text-decoration: none !important;
}

.hrs-spotify-button {
    display: flex !important;
    width: 100% !important;
    min-height: 50px;
    align-items: center;
    gap: 10px;
    margin: 12px 0 0 !important;
    padding: 11px 14px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--hrs-spotify) !important;
    color: var(--hrs-button-text) !important;
    box-shadow: 0 10px 24px rgba(30, 215, 96, 0.14);
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 780 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    transition: transform 160ms ease, filter 160ms ease;
}

.hrs-spotify-button:hover {
    background: var(--hrs-spotify) !important;
    color: var(--hrs-button-text) !important;
    filter: brightness(1.035);
    transform: translateY(-1px);
}

.hrs-spotify-icon--button {
    width: 23px;
    height: 23px;
}

.hrs-spotify-icon--button .hrs-spotify-disc {
    fill: #07130b;
}

.hrs-spotify-icon--button .hrs-spotify-waves {
    fill: var(--hrs-spotify);
}

.hrs-external-icon {
    width: 18px;
    height: 18px;
    margin-left: auto;
    flex: 0 0 18px;
}

.hrs-resource-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 12px;
}

.hrs-resource-links a {
    display: flex !important;
    width: 100% !important;
    min-width: 0;
    min-height: 50px;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    padding: 8px 12px !important;
    border: 1px solid var(--hrs-border) !important;
    border-radius: 13px !important;
    background: var(--hrs-panel) !important;
    color: var(--hrs-text) !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 690 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    text-transform: none !important;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.hrs-resource-links a:hover {
    border-color: var(--hrs-accent) !important;
    background: var(--hrs-panel-strong) !important;
    color: var(--hrs-text) !important;
    transform: translateY(-1px);
}

.hrs-resource-icon {
    display: grid;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 9px;
    background: var(--hrs-icon-tile);
    color: var(--hrs-accent);
}

.hrs-resource-icon svg {
    display: block;
    width: 19px;
    height: 19px;
}

.hrs-resource-label {
    min-width: 0;
    flex: 1 1 auto;
}

.hrs-chevron-icon {
    width: 15px;
    height: 15px;
    margin-left: auto;
    flex: 0 0 15px;
    color: var(--hrs-muted);
}

@media (max-width: 300px) {
    .hrs-card-inner {
        padding: 14px;
    }

    .hrs-release-header {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 12px;
        min-height: 82px;
    }

    .hrs-cover {
        width: 82px;
        height: 82px;
    }

    .hrs-release-copy {
        padding-top: 3px;
    }

    .hrs-featured-label {
        margin-bottom: 5px;
        font-size: 8px;
    }

    .hrs-title {
        font-size: 17px !important;
    }

    .hrs-player {
        gap: 8px;
        margin-top: 14px;
        padding-inline: 9px;
    }

    .hrs-play-button {
        flex-basis: 40px;
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
    }

    .hrs-time-compact {
        font-size: 9px;
    }
}

@media (max-width: 250px) {
    .hrs-release-header {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 10px;
        min-height: 72px;
    }

    .hrs-cover {
        width: 72px;
        height: 72px;
        border-radius: 13px;
    }

    .hrs-featured-label .hrs-spotify-icon,
    .hrs-featured-note {
        display: none;
    }

    .hrs-wave-area {
        min-width: 28px;
    }

    .hrs-time-compact {
        display: none;
    }
}

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