.smartlinker {
    --smartlinker-gap: 1rem;
    --smartlinker-radius: 18px;
    --smartlinker-pill-radius: 999px;
    --smartlinker-bg: #1f2937;
    --smartlinker-text: #ffffff;
    --smartlinker-shadow: 0 14px 24px rgba(0, 0, 0, 0.24);
    --smartlinker-surface: #111827;
    --smartlinker-surface-shadow: 0 30px 60px rgba(2, 6, 23, 0.34);
    display: grid;
    gap: 1rem;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    color: #fff;
}

.smartlinker__card {
    padding: 1.15rem;
    border-radius: var(--smartlinker-radius);
    background: var(--smartlinker-surface);
    box-shadow: var(--smartlinker-surface-shadow);
}

.smartlinker__card--header {
    display: grid;
    gap: 1rem;
    justify-items: center;
    text-align: center;
}

.smartlinker__card-media {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 1;
}

.smartlinker__cover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.45);
}

.smartlinker__card-body {
    display: grid;
    gap: 0.75rem;
    width: 100%;
}

.smartlinker__meta {
    display: grid;
    gap: 0.45rem;
}

.smartlinker__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.85rem, 4vw, 2.4rem);
    line-height: 1.02;
}

.smartlinker__artist {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    font-weight: 600;
}

.smartlinker__description {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.55;
}

.smartlinker__description p {
    margin: 0.35rem 0 0;
}

.smartlinker__share {
    justify-self: center;
    min-height: 2.75rem;
    padding: 0.75rem 1.15rem;
    border: 0;
    border-radius: var(--smartlinker-pill-radius);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.smartlinker__section-title {
    margin: 0 0 0.8rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.smartlinker__icon-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.smartlinker__icon-item {
    margin: 0;
}

.smartlinker__platform-sections {
    align-items: stretch;
}

.smartlinker__icon-button {
    display: grid;
    place-items: center;
    gap: 0.55rem;
    min-height: 96px;
    padding: 0.9rem 0.45rem;
    position: relative;
    border-radius: 14px;
    box-shadow: none;
    color: #ffffff !important;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.smartlinker__icon-button:visited,
.smartlinker__icon-button:hover,
.smartlinker__icon-button:active,
.smartlinker__icon-button:focus-visible,
.smartlinker__icon-label {
    color: #ffffff !important;
}

.smartlinker__icon-button:hover,
.smartlinker__icon-button:focus-visible {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.005);
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.18);
}

.smartlinker__icon-button--missing {
    cursor: pointer;
}

.smartlinker__tooltip {
    position: absolute;
    left: 50%;
    bottom: 0.92rem;
    transform: translateX(-50%);
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 250, 250, 0.98);
    color: #dc2626;
    white-space: nowrap;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 20px rgba(2, 6, 23, 0.24);
    pointer-events: none;
    z-index: 10;
    animation: smartlinker-tooltip-shake 0.44s ease-out;
}

.smartlinker__tooltip::after {
    content: none;
}

@keyframes smartlinker-tooltip-shake {
    0% {
        opacity: 0;
        transform: translate(-50%, 8px) scale(0.96);
    }

    20% {
        opacity: 1;
        transform: translate(calc(-50% - 2px), 2px) scale(1);
    }

    45% {
        transform: translate(calc(-50% + 2px), 0) scale(1);
    }

    70% {
        transform: translate(calc(-50% - 1px), 1px) scale(1);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}

.smartlinker__list {
    display: grid;
    gap: var(--smartlinker-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

.smartlinker__item {
    margin: 0;
}

.smartlinker__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3rem;
    padding: 0.95rem 1.25rem;
    border: 1px solid var(--smartlinker-border);
    border-radius: var(--smartlinker-pill-radius);
    background: var(--smartlinker-bg);
    box-shadow: var(--smartlinker-shadow);
    color: var(--smartlinker-text);
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.smartlinker__button:hover,
.smartlinker__button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    opacity: 0.96;
}

.smartlinker__button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.smartlinker__icon-label {
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
}

.smartlinker__message {
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.smartlinker__message--notice {
    background: rgba(59, 130, 246, 0.18);
}

.smartlinker__icon-badge {
    display: grid;
    place-items: center;
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: none;
}

.smartlinker__icon-badge--buy::after {
    content: 'Buy track';
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.39rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}

.smartlinker__icon-badge--shoot-video::after {
    content: 'Shoot video';
}

.smartlinker__icon-image {
    display: block;
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: none;
}

.smartlinker__video-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    background: #020617;
}

.smartlinker__video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.smartlinker__social-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.smartlinker__social-groups {
    display: grid;
    gap: 1rem;
}

.smartlinker__social-group {
    display: grid;
    gap: 0.7rem;
}

.smartlinker__social-group-title {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
}

.smartlinker__social-item {
    margin: 0;
}

.smartlinker__social-link {
    display: grid;
    place-items: center;
    gap: 0.55rem;
    min-height: 96px;
    padding: 0.9rem 0.45rem;
    border-radius: 14px;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
}

.smartlinker__social-link:visited,
.smartlinker__social-link:hover,
.smartlinker__social-link:active,
.smartlinker__social-link:focus-visible {
    color: #ffffff !important;
}

@media (max-width: 640px) {
    .smartlinker__card-media {
        width: 100%;
        max-width: none;
    }

    .smartlinker__platform-sections {
        gap: 0.85rem;
    }

    .smartlinker__icon-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .smartlinker__button {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .smartlinker__icon-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .smartlinker__icon-badge--buy::after {
        font-size: 0.36rem;
    }
}