.pb-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.06);
    pointer-events: none;
}

.pb-reading-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--primary-color, #e74c3c);
    transition: width 0.08s linear;
}

.pb-font-size {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.pb-font-size-label {
    font-size: 0.875rem;
    color: #666;
    margin-right: 0.25rem;
}

.pb-font-size button {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    padding: 0.25rem 0.6rem;
    font-size: 0.85rem;
    cursor: pointer;
    line-height: 1.4;
    color: #333;
}

.pb-font-size button.active {
    background: var(--primary-color, #e74c3c);
    border-color: var(--primary-color, #e74c3c);
    color: #fff;
}

.maan-news-description.pb-font-large {
    font-size: 1.125rem;
    line-height: 1.75;
}

.maan-news-description.pb-font-xlarge {
    font-size: 1.25rem;
    line-height: 1.85;
}

.pb-article-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.pb-article-nav a {
    flex: 1 1 45%;
    display: block;
    padding: 0.75rem 1rem;
    border: 1px solid #eee;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pb-article-nav a:hover {
    border-color: var(--primary-color, #e74c3c);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pb-article-nav-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
    margin-bottom: 0.25rem;
}

.pb-article-nav-title {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.35;
}

.pb-sticky-share {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #fff;
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.08);
}

.pb-sticky-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.15s;
}

.pb-sticky-share a:hover {
    transform: scale(1.08);
}

.pb-sticky-share .pb-share-fb { background: #1877f2; }
.pb-sticky-share .pb-share-wa { background: #25d366; }
.pb-sticky-share .pb-share-li { background: #0a66c2; }

.pb-mobile-share {
    display: none;
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 998;
}

.pb-mobile-share-toggle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color, #e74c3c);
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.pb-mobile-share-menu {
    display: none;
    position: absolute;
    bottom: calc(100% + 0.5rem);
    right: 0;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.pb-mobile-share-menu.is-open {
    display: flex;
}

.pb-mobile-share-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
}

.pb-popular-24h {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pb-popular-24h li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.pb-popular-24h li:last-child {
    border-bottom: none;
}

.pb-popular-rank {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--primary-color, #e74c3c);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pb-popular-24h a {
    color: inherit;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
}

.pb-popular-24h a:hover {
    color: var(--primary-color, #e74c3c);
}

@media (max-width: 991px) {
    .pb-sticky-share {
        display: none;
    }

    .pb-mobile-share {
        display: block;
    }
}

@media (min-width: 992px) {
    .pb-mobile-share {
        display: none !important;
    }
}
