.cnb-shell {
    position: relative;
    z-index: 99990;
    color: var(--cnb-ink);
    isolation: isolate;
}
.cnb-shell [hidden] { display: none !important; }
.cnb-shell .cnb-bar {
    position: relative;
    display: flex;
    width: 100%;
    min-height: var(--cnb-height);
    box-sizing: border-box;
    align-items: center;
    padding: 0;
    margin: 0;
    color: var(--cnb-ink);
    background: var(--cnb-bar-start);
    background-image: linear-gradient(115deg, var(--cnb-bar-start), var(--cnb-bar-end));
    text-align: center;
}
.cnb-top:not(.cnb-fixed).cnb-visible { padding-top: max(0px, var(--cnb-offset)); }
.cnb-shell.cnb-fixed .cnb-bar, .cnb-shell.cnb-fixed .cnb-reopen { position: fixed; }
.cnb-fixed .cnb-bar { left: 0; right: 0; }
.cnb-fixed.cnb-top :is(.cnb-bar, .cnb-reopen) { top: calc(var(--cnb-offset) + var(--cnb-admin-top, 0px)); }
.cnb-fixed.cnb-bottom :is(.cnb-bar, .cnb-reopen) { bottom: 0; }
.cnb-fixed.cnb-visible { min-height: var(--cnb-reserve, 0px); }
.cnb-shell .cnb-shadow { box-shadow: 0 4px 16px rgb(0 0 0 / 24%); }
.cnb-bottom .cnb-shadow { box-shadow: 0 -4px 16px rgb(0 0 0 / 24%); }
.cnb-shell .cnb-content {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
    box-sizing: border-box;
    min-width: 0;
    width: min(100%, 72rem);
    margin: 0 auto;
    padding: 7px 14px;
}
.cnb-shell .cnb-full .cnb-content { width: 100%; }
.cnb-shell .cnb-full .cnb-message { flex-basis: 100%; }
.cnb-shell .cnb-message { line-height: 1.4; overflow-wrap: anywhere; }
.cnb-shell .cnb-message :first-child { margin-top: 0; }
.cnb-shell .cnb-message :last-child { margin-bottom: 0; }
.cnb-shell .cnb-message a { color: inherit; }
.cnb-shell :is(.cnb-action, .cnb-close, .cnb-reopen) {
    cursor: pointer;
    color: inherit;
    font: inherit;
    line-height: 1.2;
    border: 0;
    text-decoration: none;
    margin: 0;
}
.cnb-shell .cnb-action {
    display: inline-block;
    color: var(--cnb-button-ink);
    background: var(--cnb-button-start);
    background-image: linear-gradient(115deg, var(--cnb-button-start), var(--cnb-button-end));
    border-radius: 5px;
    padding: 7px 13px;
    font-weight: 600;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.cnb-shell .cnb-close {
    flex: 0 0 32px;
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    margin: 2px 8px 2px 0;
    padding: 0;
    color: var(--cnb-close-ink);
    background: var(--cnb-close-color);
    border-radius: 5px;
    font-size: 21px;
}
.cnb-shell .cnb-close:hover { background: var(--cnb-close-hover); }
.cnb-shell .cnb-reopen {
    position: absolute;
    right: var(--cnb-reopen-offset);
    min-width: 34px;
    min-height: 32px;
    padding: 4px 8px;
    color: var(--cnb-ink);
    background: var(--cnb-reopen-color);
    border-radius: 4px;
    font-size: 19px;
}
.cnb-bottom:not(.cnb-fixed) .cnb-reopen { bottom: 0; }
.cnb-shell .cnb-reopen img { display: block; max-width: 48px; max-height: 48px; }
.cnb-shell :is(.cnb-action, .cnb-close, .cnb-reopen):focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -3px;
}
