.cmsl-widget {
    --cmsl-slides: 5;
    --cmsl-gap: 12px;
    --cmsl-card-width: 218px;
    --cmsl-card-height: 207px;
    width: 100%;
    color: #fff;
    box-sizing: border-box;
}

.cmsl-widget *,
.cmsl-widget *::before,
.cmsl-widget *::after {
    box-sizing: border-box;
}

.cmsl-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
}

.cmsl-heading {
    margin: 0;
    padding: 0;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
    color: #fff;
}

.cmsl-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    flex-shrink: 0;
}

.cmsl-view-all {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    line-height: 1;
    margin-right: 6px;
    white-space: nowrap;
}

.cmsl-view-all:hover {
    color: inherit;
    text-decoration: none;
}

.cmsl-nav {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    font-size: 21px;
    transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.cmsl-nav:hover {
    background: rgba(255,255,255,.08);
    transform: scale(1.04);
}

.cmsl-nav:disabled {
    opacity: .3;
    cursor: default;
}

.cmsl-viewport {
    width: 100%;
    overflow: hidden;
}

.cmsl-track {
    display: flex;
    align-items: stretch;
    gap: var(--cmsl-gap);
    transform: translate3d(0,0,0);
    transition: transform .45s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}

.cmsl-widget.cmsl-fixed-width .cmsl-card {
    flex-basis: var(--cmsl-card-width);
    width: var(--cmsl-card-width);
}

.cmsl-card {
    flex: 0 0 calc((100% - ((var(--cmsl-slides) - 1) * var(--cmsl-gap))) / var(--cmsl-slides));
    width: calc((100% - ((var(--cmsl-slides) - 1) * var(--cmsl-gap))) / var(--cmsl-slides));
    min-width: 0;
    height: var(--cmsl-card-height);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #10171b;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
}

.cmsl-image {
    position: relative;
    width: 100%;
    height: 140px;
    flex: 0 0 auto;
    overflow: hidden;
    background: #20282c;
    cursor: pointer;
}

.cmsl-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.cmsl-card:hover .cmsl-image img {
    transform: scale(1.025);
}

.cmsl-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 46px;
    height: 46px;
    padding: 0 !important;
    margin: 0 !important;
    border: 2px solid rgba(255,255,255,.92);
    border-radius: 50%;
    background: rgba(255,255,255,.96);
    color: #111;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    font-size: 0;
    line-height: 1;
    z-index: 5;
    box-sizing: border-box !important;
    box-shadow: 0 6px 22px rgba(0,0,0,.35), 0 0 0 5px rgba(255,255,255,.10);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.cmsl-play:hover {
    transform: translate(-50%,-50%) scale(1.08);
    box-shadow: 0 8px 28px rgba(0,0,0,.42), 0 0 0 6px rgba(255,255,255,.14);
    background: #fff;
}

.cmsl-play-icon {
    width: 20px;
    height: 20px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    color: currentColor;
    pointer-events: none;
    box-sizing: border-box !important;
}

.cmsl-play-icon svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none;
}

.cmsl-play-icon svg * {
    pointer-events: none;
}

.cmsl-action svg,
.cmsl-action svg * {
    pointer-events: none;
}

.cmsl-play-icon.is-pause svg {
    width: 20px !important;
    height: 20px !important;
}

.cmsl-play.is-playing {
    box-shadow: 0 8px 28px rgba(0,0,0,.42), 0 0 0 6px rgba(255,255,255,.16);
    padding: 0 !important;
    margin: 0 !important;
}

.cmsl-play.is-playing .cmsl-play-icon {
    margin: 0 !important;
    padding: 0 !important;
}

.cmsl-content {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px 9px;
}

.cmsl-info {
    min-width: 0;
    overflow: hidden;
}

.cmsl-title {
    color: #fff;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cmsl-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    color: #aeb5b8;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
}

.cmsl-meta span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.cmsl-dot {
    overflow: visible !important;
    flex: 0 0 auto;
}

.cmsl-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
}

.cmsl-action {
    color: #fff;
    text-decoration: none;
    width: 18px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    line-height: 1;
    font-weight: 400;
    transition: color .2s ease, transform .2s ease;
}

.cmsl-action:hover {
    color: #fff;
    transform: translateY(-1px);
}

.cmsl-add {
    font-size: 25px;
}

.cmsl-action.cmsl-add,
.cmsl-action.cmsl-add.btn-add-to-playlist {
    width: 18px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: #fff;
    font-size: 25px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    box-shadow: none !important;
}

.cmsl-action.cmsl-add:hover,
.cmsl-action.cmsl-add.btn-add-to-playlist:hover {
    color: #fff !important;
    background: transparent !important;
    transform: translateY(-1px) !important;
}

.cmsl-download {
    font-size: 21px;
}

@media (max-width: 1024px) {
    .cmsl-heading { font-size: 20px; }
}

@media (max-width: 1024px) {
    .cmsl-widget {
        --cmsl-slides: 3;
    }
}

@media (max-width: 767px) {
    .cmsl-widget {
        --cmsl-slides: 1;
    }

    .cmsl-header {
        align-items: flex-start;
    }

    .cmsl-heading {
        font-size: 19px;
    }

    .cmsl-view-all {
        display: none;
    }

    .cmsl-card {
        max-width: 100%;
    }
}

/* v1.0.2 icon and interaction refinements */
.cmsl-play-icon,
.cmsl-play-icon svg,
.cmsl-action svg,
.cmsl-nav svg {
    display: block;
    width: 1em;
    height: 1em;
}

.cmsl-play-icon svg {
    width: 15px;
    height: 15px;
}

.cmsl-action svg {
    width: 18px;
    height: 18px;
}

.cmsl-nav svg {
    width: 18px;
    height: 18px;
}

.cmsl-track:active {
    cursor: grabbing;
}

.cmsl-no-scroll .cmsl-track {
    cursor: default;
}

.cmsl-play {
    transition: transform .2s ease, opacity .2s ease;
}

/* Final play-button treatment */
.cmsl-widget .cmsl-play {
    width: 46px;
    height: 46px;
    border: 2px solid rgba(255,255,255,.95);
    border-radius: 50%;
    background: rgba(255,255,255,.97);
    color: #111;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    box-shadow: 0 7px 24px rgba(0,0,0,.40), 0 0 0 5px rgba(255,255,255,.12);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.cmsl-widget .cmsl-play:hover {
    transform: translate(-50%,-50%) scale(1.08);
    box-shadow: 0 10px 30px rgba(0,0,0,.48), 0 0 0 6px rgba(255,255,255,.16);
}

.cmsl-widget .cmsl-play-icon svg {
    width: 20px;
    height: 20px;
}

/* Media Widgets shared font */
.cmsl-widget,
.cmsl-about {
    font-family: 'Poppins', sans-serif;
}

/* About Music / Artist Profile */
.cmsl-about {
    --cmsl-about-image-width: 34%;
    --cmsl-about-stats-width: 16%;
    width: 100%;
    background: #0b1114;
    color: #fff;
    overflow: hidden;
}

.cmsl-about-inner {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 285px;
}

.cmsl-about-media {
    position: relative;
    flex: 0 0 var(--cmsl-about-image-width);
    width: var(--cmsl-about-image-width);
    min-width: 0;
    overflow: hidden;
}

.cmsl-about-image {
    position: relative;
    width: 100%;
    height: 285px;
    overflow: hidden;
    background: #172025;
}

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

.cmsl-about-media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.02) 35%, rgba(0,0,0,.38) 100%);
}

.cmsl-about-journey {
    position: absolute;
    left: 12px;
    bottom: 15px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    text-align: left;
}

.cmsl-about-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(0,0,0,.38);
    color: #fff;
    transition: transform .22s ease, background .22s ease;
}

.cmsl-about-journey:hover .cmsl-about-play {
    transform: scale(1.07);
    background: rgba(255,255,255,.15);
}

.cmsl-about-play-icon,
.cmsl-about-play-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.cmsl-about-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 30px;
}

.cmsl-about-eyebrow {
    margin: 0 0 8px;
    color: #e4b33f;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cmsl-about-heading {
    margin: 0 0 10px;
    color: #fff;
    font-size: 25px;
    line-height: 1.12;
    font-weight: 700;
    text-transform: uppercase;
}

.cmsl-about-description {
    margin: 0 0 15px;
    color: #b9c0c3;
    font-size: 11px;
    line-height: 1.7;
    font-weight: 400;
}

.cmsl-about-description p {
    margin: 0 0 7px;
}

.cmsl-about-description p:last-child {
    margin-bottom: 0;
}

.cmsl-about-cta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 2px;
    padding: 12px 20px;
    border-radius: 24px;
    background: #f4b940;
    color: #111;
    text-decoration: none;
    font-family: inherit;
    font-size: 11px;
    line-height: 1;
    font-weight: 600;
    transition: transform .2s ease, background .2s ease;
}

.cmsl-about-cta:hover {
    color: #111;
    text-decoration: none;
    background: #ffc957;
    transform: translateY(-1px);
}

.cmsl-about-stats {
    flex: 0 0 var(--cmsl-about-stats-width);
    width: var(--cmsl-about-stats-width);
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 24px 20px 24px 0;
}

.cmsl-stat {
    min-width: 0;
}

.cmsl-stat-value {
    color: #f4b940;
    font-size: 21px;
    line-height: 1.15;
    font-weight: 700;
}

.cmsl-stat-label {
    margin-top: 4px;
    color: #c0c5c7;
    font-size: 9px;
    line-height: 1.35;
    font-weight: 400;
}

.cmsl-about-video {
    position: absolute;
    inset: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

@media (max-width: 1024px) {
    .cmsl-about-copy { padding: 22px; }
    .cmsl-about-heading { font-size: 22px; }
    .cmsl-about-stats { padding-right: 16px; }
}

@media (max-width: 767px) {
    .cmsl-about-inner {
        flex-direction: column;
    }
    .cmsl-about-media,
    .cmsl-about-stats {
        flex-basis: auto;
        width: 100%;
    }
    .cmsl-about-media { height: auto; }
    .cmsl-about-image { height: 260px; }
    .cmsl-about-copy { padding: 22px 18px; }
    .cmsl-about-heading { font-size: 21px; }
    .cmsl-about-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 18px 30px;
        padding: 0 18px 22px;
    }
    .cmsl-stat { min-width: 110px; }
}

/* v1.1.2: explicit play/pause state */
.cmsl-widget .cmsl-play {
    color: #111111 !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.cmsl-widget .cmsl-play.is-playing {
    color: #111111 !important;
    background-color: #ffffff !important;
    box-shadow: 0 9px 30px rgba(0,0,0,.46), 0 0 0 6px rgba(255,255,255,.16) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.cmsl-widget .cmsl-play-icon {
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #111111 !important;
    box-sizing: border-box !important;
}

.cmsl-widget .cmsl-play-icon svg,
.cmsl-widget .cmsl-play.is-playing .cmsl-play-icon svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
    color: #111111 !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 0 auto !important;
    padding: 0 !important;
}
.cmsl-widget .cmsl-download {
    cursor: pointer;
}
