/* ── Sticky Next Bar ───────────────────────────────────────────────────── */
.infscroll-next-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1a1a1a;
    color: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.35);
    transform: translateY(-110%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
}

.infscroll-next-bar.infscroll-visible {
    transform: translateY(0);
}

.infscroll-next-bar.infscroll-hidden {
    transform: translateY(-110%);
}

.infscroll-next-bar__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.infscroll-next-bar__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .6;
    white-space: nowrap;
}

.infscroll-next-bar__title {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.infscroll-next-bar__btn {
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}

.infscroll-next-bar__btn:hover,
.infscroll-next-bar__btn:focus-visible {
    background: #005a87;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.infscroll-next-bar__progress {
    height: 3px;
    background: rgba(255,255,255,.15);
}

.infscroll-next-bar__progress-fill {
    height: 100%;
    background: #0073aa;
    width: 0%;
    transition: width .2s linear;
}

/* ── Appended articles ───────────────────────────────────────────────────── */
.infscroll-article {
    border-top: 3px solid #0073aa;
    margin-top: 60px;
    padding-top: 40px;
}

.infscroll-article__inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px;
}

.infscroll-article__thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    margin-bottom: 28px;
}

.infscroll-article__header {
    margin-bottom: 24px;
}

.infscroll-article__category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #0073aa;
    margin-bottom: 8px;
}

.infscroll-article__title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    line-height: 1.25;
    margin: 0 0 12px;
    font-weight: 800;
}

.infscroll-article__meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #666;
}

.infscroll-article__content {
    line-height: 1.75;
    font-size: 1rem;
}

.infscroll-article__content img {
    max-width: 100%;
    height: auto;
}
