#stopartroz .article-reading-progress {
    position: fixed;
    top: 50%;
    z-index: 1000;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
}

#stopartroz .article-reading-progress.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#stopartroz .article-reading-progress__markers {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding: 10px;
    transform: translateY(-50%);
}

#stopartroz .article-reading-progress__marker {
    display: flex;
    width: 30px;
    height: 14px;
    flex: 0 0 14px;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    border: 0;
    text-decoration: none;
}

#stopartroz .article-reading-progress__marker::before {
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: #c7c9cc;
    content: "";
    transition: background-color 160ms ease, width 160ms ease;
}

#stopartroz .article-reading-progress__marker:hover::before,
#stopartroz .article-reading-progress__marker.is-current::before {
    width: 30px;
    background: #303238;
}

#stopartroz .article-reading-progress__marker.is-read::before {
    background: #777b82;
}

#stopartroz .article-reading-progress__popup {
    position: fixed;
    top: 50%;
    z-index: 1001;
    width: min(540px, calc(100vw - 32px));
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    padding: 8px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 36px rgb(0 0 0 / 16%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) scale(0.98);
    transform-origin: right center;
    transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
    scrollbar-width: thin;
    scrollbar-color: #c7c9cc transparent;
}

#stopartroz .article-reading-progress:hover .article-reading-progress__popup,
#stopartroz .article-reading-progress:focus-within .article-reading-progress__popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

#stopartroz .article-reading-progress__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#stopartroz .article-reading-progress__item {
    margin: 0;
    padding: 0;
    list-style: none;
}

#stopartroz .article-reading-progress__link {
    display: block;
    overflow: hidden;
    padding: 22px 16px;
    border-radius: 18px;
    color: #303238;
    font-family: inherit;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.35;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: background-color 160ms ease, color 160ms ease;
}

#stopartroz .article-reading-progress__link:hover,
#stopartroz .article-reading-progress__link.is-current {
    background: #f0f1f2;
    color: #303238;
}

#stopartroz .article-reading-progress__link.is-read {
    color: #777b82;
}

#stopartroz .article-reading-progress__link:focus-visible,
#stopartroz .article-reading-progress__marker:focus-visible {
    outline: 2px solid #315dcc;
    outline-offset: 3px;
}

@media (max-width: 1091px) {
    #stopartroz .article-reading-progress {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #stopartroz .article-reading-progress,
    #stopartroz .article-reading-progress__marker,
    #stopartroz .article-reading-progress__popup,
    #stopartroz .article-reading-progress__link {
        transition: none;
    }
}