.nb-stories__container .brxe-video{
    all: unset;
}
.nb-stories, 
.nb-stories__container {
    display: grid;
}
.nb-stories{
    position: relative;
    overflow: hidden;
}
.nb-stories[data-flickering="1"] {
    opacity: 0;
}
.nb-stories__container {
    grid-area: 1/1;
}
.nb-stories__container > *{
    grid-area: 1/1;
    opacity: 0;
    visibility: none;
}
.nb-stories__container > .active {
    opacity: 1;
    visibility: visible;
}
.nb-stories__container img,
.nb-stories__container video {
    object-fit: cover;
    object-position: center center;

    display: block;
    outline: none;
    position: absolute;
}
.nb-stories__container img {
    width: 100%;
    height: 100%;

    filter: brightness(var(--story-brightness));
}
.nb-stories__container video {
    filter: brightness(var(--story-brightness));
}
.nb-stories__container .nb-stories__story,
.nb-stories__container video {
    height: 100%;
    width: 100%;
}
.nb-stories__controls {
    position: absolute;
    width: 100%;
    height: 100%;
}
.nb-stories__controls .nb-stories__controls-thumb {
    width: 100%;
    display: flex;
}
.nb-stories__controls div:last-child {
    justify-content: space-between;
    align-items: center;
}
.nb-stories__controls .nb-stories__controls-thumb > span {
    display: block;

    flex: 1;
    overflow: hidden;
    isolation: isolate;
}
.nb-stories__controls .thumb-item.active {
    display: block;
    height: inherit;
}
.nb-stories__controls button {
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    opacity: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;

    cursor: pointer;
}
.nb-stories__controls button:last-child {
    right: 0;
    left: unset;
}
.nb-stories__controls button:focus-visible {
    opacity: 0.2;
    outline: none;
}