.fn-demo-bar {
    position: sticky;
    top: 0;
    z-index: 80;
    background: #111318;
    color: #f4f5f7;
    border-bottom: 1px solid rgba(200, 16, 46, .55);
    font-size: 12px;
    line-height: 1.2;
}

.fn-demo-bar__inner {
    max-width: 1240px;
    margin: 0 auto;
    min-height: 2.55rem;
    padding: .45rem 1rem;
    display: flex;
    align-items: center;
    gap: .7rem;
    flex-wrap: wrap;
}

.fn-demo-bar b {
    display: inline-flex;
    align-items: center;
    height: 1.45rem;
    padding: 0 .45rem;
    border-radius: .25rem;
    background: #C8102E;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.fn-demo-bar__copy {
    color: rgba(255, 255, 255, .78);
}

.fn-demo-bar__creds {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: .3rem;
    padding: .2rem .45rem;
}

.fn-demo-bar a {
    margin-left: auto;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.fn-demo-bar a + a {
    margin-left: 0;
    color: #ffd6dc;
}

.fn-demo-bar a:hover {
    text-decoration: underline;
}

body.fn-is-demo header.sticky {
    top: 2.55rem;
}

@media (max-width: 820px) {
    .fn-demo-bar__copy {
        display: none;
    }

    .fn-demo-bar a {
        margin-left: 0;
    }
}

.fi-body:has(.fn-demo-bar) .fi-topbar,
.fi-body:has(.fn-demo-bar) .fi-sidebar-header {
    top: 2.55rem;
}
