.wsp-stories-slot,
.wsp-stories {
    position: relative;
    z-index: 6;
    height: auto;
    pointer-events: auto;
}

.wsp-stories {
    padding: 0;
    margin: 0;
}

.wsp-stories-rail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 4px;
    scrollbar-width: none;
}

.wsp-stories-rail::-webkit-scrollbar {
    display: none;
}

.wsp-story-circle {
    display: flex;
    flex: 0 0 76px;
    flex-direction: column;
    align-items: center;
    align-self: flex-start;
    width: 76px;
    height: auto;
    border: 0;
    background: transparent;
    padding: 0;
    color: #fff;
    text-align: center;
    cursor: pointer;
    pointer-events: auto;
}

.wsp-story-circle__ring {
    display: block;
    box-sizing: border-box;
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 6px;
    padding: 3px;
    overflow: hidden;
    border-radius: 50%;
    background: linear-gradient(135deg, #72ebe3 0%, #4ecdc4 55%, #f7b267 100%);
}

.wsp-story-circle.is-seen .wsp-story-circle__ring {
    background: rgba(120, 130, 140, 0.35);
}

.wsp-story-circle__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    color: #667085;
    font-size: 18px;
    font-weight: 800;
}

.wsp-story-circle__ring img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    background: #fff;
}

.wsp-story-circle__caption {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #fff !important;
    max-width: 76px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wsp-story-player {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    z-index: 1000000000;
    isolation: isolate;
    background: #111;
    color: #fff;
    display: none;
}

.wsp-story-player.is-open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.wsp-story-player__stage {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    background: #111;
    pointer-events: none;
}

.wsp-story-player__media {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    transform: translate(-50%, -50%);
    object-fit: contain;
    object-position: center;
    background: transparent;
}

.wsp-story-player__progress {
    position: absolute;
    top: 10px;
    right: 12px;
    left: 12px;
    z-index: 20;
    display: flex;
    gap: 4px;
    pointer-events: none;
}

.wsp-story-player__bar {
    flex: 1;
    height: 3px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.28);
    overflow: hidden;
}

.wsp-story-player__bar > i {
    display: block;
    width: 0;
    height: 100%;
    background: #fff;
}

.wsp-story-player__bar.is-done > i {
    width: 100%;
}

.wsp-story-player__top {
    position: absolute;
    top: 22px;
    right: 12px;
    left: 12px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    pointer-events: none;
}

.wsp-story-player__title {
    font-size: 14px;
    font-weight: 800;
    color: #fff !important;
}

.wsp-story-player__tools {
    display: flex;
    gap: 8px;
    pointer-events: auto;
}

.wsp-story-player__tools button {
    position: relative;
    z-index: 21;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.wsp-story-player__tools button svg {
    display: block;
    flex: 0 0 auto;
}

.wsp-story-player__tools button.is-muted {
    opacity: 0.92;
}

.wsp-story-player__product {
    position: absolute;
    right: 14px;
    left: 14px;
    bottom: 22px;
    z-index: 20;
    pointer-events: auto;
    touch-action: manipulation;
    display: none;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 0;
    border-radius: 16px;
    background: rgba(20, 24, 28, 0.78);
    color: #fff;
    text-align: right;
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.wsp-story-player__product.is-visible {
    display: grid;
}

.wsp-story-player__product img,
.wsp-story-player__product-fallback {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.12);
}

.wsp-story-player__product strong,
.wsp-story-player__product em {
    display: block;
}

.wsp-story-player__product em {
    margin-top: 4px;
    font-style: normal;
    color: #72ebe3;
    font-weight: 800;
}

body.wsp-story-player-open {
    overflow: hidden;
}
