.shark-social-proof-feedbacks {
    --shark-social-proof-gap: 14px;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    padding: 2px;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.shark-social-proof-feedback-track {
    display: flex;
    gap: var(--shark-social-proof-gap);
    width: max-content;
    animation: shark-social-proof-loop-x 42s linear infinite;
    will-change: transform;
}

.shark-social-proof-feedbacks:hover .shark-social-proof-feedback-track {
    animation-play-state: paused;
}

.shark-social-proof-feedback-card {
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex: 0 0 clamp(270px, 31vw, 348px);
    min-width: 0;
    min-height: 176px;
    flex-direction: column;
    gap: 9px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    padding: 16px;
    color: #f8fafc;
    background: linear-gradient(140deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)), rgba(5, 11, 24, .72);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.shark-social-proof-feedback-head {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.shark-social-proof-avatar {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(0, 243, 255, .30);
    border-radius: 50%;
    color: #03111b;
    background: linear-gradient(135deg, #00f3ff, #36ffb0);
    font-weight: 800;
    object-fit: cover;
}

img.shark-social-proof-avatar {
    display: block;
}

.shark-social-proof-feedback-head strong,
.shark-social-proof-feedback-head small {
    display: block;
    overflow-wrap: anywhere;
    letter-spacing: 0;
}

.shark-social-proof-feedback-head small {
    color: rgba(226, 232, 240, .72);
    font-size: .78rem;
}

.shark-social-proof-stars {
    min-height: 18px;
    color: #facc15;
    font-size: .92rem;
    line-height: 1;
    letter-spacing: 0;
}

.shark-social-proof-feedback-card p {
    margin: 0;
    color: rgba(241, 245, 249, .88);
    font-size: .92rem;
    line-height: 1.48;
    overflow-wrap: anywhere;
}

.shark-social-proof-verified {
    align-self: flex-start;
    margin-top: auto;
    border: 1px solid rgba(54, 255, 176, .25);
    border-radius: 999px;
    padding: 4px 8px;
    color: #b7ffde;
    background: rgba(54, 255, 176, .10);
    font-size: .7rem;
    font-weight: 700;
}

.shark-social-proof-feedbacks--vertical {
    height: min(470px, 72vh);
    mask-image: linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
}

.shark-social-proof-feedbacks--vertical .shark-social-proof-feedback-track {
    display: grid;
    width: auto;
    animation-name: shark-social-proof-loop-y;
    animation-duration: 39s;
}

.shark-social-proof-feedbacks--vertical .shark-social-proof-feedback-card {
    width: 100%;
    min-height: 164px;
}

@keyframes shark-social-proof-loop-x {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(calc(-50% - (var(--shark-social-proof-gap) / 2)), 0, 0); }
}

@keyframes shark-social-proof-loop-y {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(0, calc(-50% - (var(--shark-social-proof-gap) / 2)), 0); }
}

.shark-social-proof-popup-root {
    position: fixed;
    z-index: 2147482000;
    width: min(360px, calc(100vw - 24px));
    pointer-events: none;
}

.shark-social-proof-popup-root--bottom-left { bottom: 16px; left: 16px; }
.shark-social-proof-popup-root--bottom-right { right: 16px; bottom: 16px; }
.shark-social-proof-popup-root--top-right { top: 16px; right: 16px; }

.shark-social-proof-popup {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 9px;
    gap: 11px;
    align-items: center;
    width: 100%;
    min-height: 78px;
    border: 1px solid rgba(0, 243, 255, .26);
    border-radius: 8px;
    padding: 13px;
    color: #f8fafc;
    background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04)), rgba(4, 9, 22, .82);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .34), 0 0 28px rgba(0, 243, 255, .13);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    transform: translate3d(0, 16px, 0) scale(.98);
    transition: opacity .32s ease, transform .4s cubic-bezier(.2, .82, .25, 1);
}

.shark-social-proof-popup-root--top-right .shark-social-proof-popup {
    transform: translate3d(0, -16px, 0) scale(.98);
}

.shark-social-proof-popup.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.shark-social-proof-popup.is-leaving {
    opacity: 0;
    transform: translate3d(0, 8px, 0) scale(.97);
}

.shark-social-proof-popup--glass {
    border-color: rgba(255, 255, 255, .24);
    box-shadow: 0 20px 54px rgba(0, 0, 0, .32);
}

.shark-social-proof-popup--minimal {
    border-color: rgba(148, 163, 184, .30);
    background: rgba(15, 23, 42, .94);
    box-shadow: 0 14px 38px rgba(0, 0, 0, .28);
    backdrop-filter: none;
}

.shark-social-proof-popup-avatar {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    color: #03111b;
    background: linear-gradient(135deg, #00f3ff, #36ffb0);
    font-size: 1rem;
    font-weight: 800;
}

.shark-social-proof-popup-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shark-social-proof-popup-body,
.shark-social-proof-popup-body strong,
.shark-social-proof-popup-body span {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    letter-spacing: 0;
}

.shark-social-proof-popup-body strong {
    color: #fff;
    font-size: .92rem;
    line-height: 1.22;
}

.shark-social-proof-popup-body span {
    margin-top: 4px;
    color: rgba(226, 232, 240, .83);
    font-size: .84rem;
    line-height: 1.35;
}

.shark-social-proof-popup-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #36ffb0;
    box-shadow: 0 0 15px #36ffb0;
}

@media (max-width: 600px) {
    .shark-social-proof-feedback-card { flex-basis: min(84vw, 312px); }
    .shark-social-proof-feedbacks--vertical { height: 430px; }
    .shark-social-proof-popup-root { right: 12px; bottom: 12px; left: 12px; width: auto; }
    .shark-social-proof-popup-root--top-right { top: 12px; bottom: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .shark-social-proof-feedback-track {
        animation: none !important;
        transform: none !important;
    }
    .shark-social-proof-feedbacks {
        overflow-x: auto;
        mask-image: none;
    }
    .shark-social-proof-feedbacks--vertical {
        overflow-y: auto;
    }
    .shark-social-proof-popup {
        transition: none;
    }
}
