/**
 * 阅读增强插件样式
 * @file plugins/reading_plus/assets/style.css
 */

.rp-progress {
    position: fixed;
    top: var(--mn-nav-height, 54px);
    left: 0;
    z-index: 99;
    width: 0;
    height: 3px;
    background: var(--mn-primary, #2563eb);
    transition: width .1s linear;
    pointer-events: none;
}

.rp-top {
    position: fixed;
    right: 20px;
    bottom: 28px;
    z-index: 90;
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--mn-border, #e5e7eb);
    border-radius: 50%;
    background: var(--mn-bg-card, #ffffff);
    color: var(--mn-text-secondary, #4b5563);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.rp-top:hover {
    color: var(--mn-primary, #2563eb);
    border-color: var(--mn-primary, #2563eb);
}

.rp-top.is-show {
    display: inline-flex;
}

@media (max-width: 640px) {
    .rp-top {
        right: 12px;
        bottom: 18px;
        width: 36px;
        height: 36px;
    }
}
