.m18-stories {
    --story-green: #22251F;
    --story-walnut: #C25808;
    --story-cream: #FAF8F5;
    margin: 1.25rem auto 0.25rem;
    max-width: 1280px;
    padding: 0 1rem;
}
.m18-stories__title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--story-green);
}
.m18-stories__row {
    display: flex;
    gap: 0.9rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 0.2rem 0.1rem 0.8rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}
.m18-stories__row::-webkit-scrollbar { display: none; }
.m18-stories__row.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.m18-stories__item {
    flex: 0 0 5.6rem;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: var(--story-green);
    font: inherit;
}
.m18-stories__ring {
    width: 4.7rem;
    height: 4.7rem;
    border-radius: 50%;
    padding: 3px;
    background: conic-gradient(from 210deg, var(--story-walnut), #D9650A, var(--story-green), #2F5D3A, var(--story-walnut));
}
.m18-stories__photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    border: 2px solid #fff;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #fff;
}
.m18-stories__wa {
    width: 62%;
    height: 62%;
    display: block;
}
.m18-stories__label {
    max-width: 5.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}
.m18-story-view {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(12, 18, 12, 0.92);
    padding: 1rem;
}
.m18-story-view.is-open { display: flex; }
.m18-story-view__panel {
    width: min(100%, 460px);
    height: min(92dvh, 860px);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.m18-story-view__bars { display: flex; gap: 0.25rem; }
.m18-story-view__bar {
    flex: 1;
    height: 3px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.28);
    overflow: hidden;
}
.m18-story-view__bar span {
    display: block;
    height: 100%;
    width: 0;
    background: #fff;
}
.m18-story-view__bar.is-done span { width: 100%; }
.m18-story-view__bar.is-current span { width: 100%; animation: m18StoryFill 5s linear forwards; }
.m18-story-view.is-paused .m18-story-view__bar.is-current span { animation-play-state: paused; }
@keyframes m18StoryFill { from { width: 0; } to { width: 100%; } }
.m18-story-view__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    gap: 0.75rem;
}
.m18-story-view__top strong { font-size: 0.95rem; }
.m18-story-view__close {
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}
.m18-story-view__stage {
    position: relative;
    flex: 1;
    min-height: 0;
    display: grid;
    place-items: center;
}
.m18-story-view__stage img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    background: transparent;
}
.m18-story-view__hit {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}
.m18-story-view__hit--prev { left: 0; }
.m18-story-view__hit--next { right: 0; width: 68%; }
@media (min-width: 900px) {
    .m18-stories__row { overflow-x: auto; }
    .m18-stories__item { flex-basis: 6.2rem; }
    .m18-story-view__panel {
        width: min(86vw, 980px);
        height: min(90dvh, 900px);
    }
}
@media (prefers-reduced-motion: reduce) {
    .m18-story-view__bar.is-current span { animation: none; width: 100%; }
}
