.panel.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    overflow: clip;

    width: 100vw;
    height: 100vh;

    position: fixed;
    inset: 0;
    z-index: 5000;

    padding: 0px;

    color: var(--primaryText);

    backdrop-filter: blur(6px) saturate(50%);

    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    transform-origin: bottom center;
    will-change: opacity, transform;

    transition:
        opacity 0.2s ease-out,
        transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
    .panel.content-wrapper {
        transition: none;
    }
}

html.panel-open,
body.panel-open {
    overflow: hidden;
    overscroll-behavior: none;
}

.panel.content-wrapper.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 18px, 0) scale(0.985);

}

.panel.content-wrapper[hidden] {
    display: none;
}

.panel.content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overflow-y: auto;
    z-index: 5001;

    width: 100%;
    max-width: 1028px;
    height: 100vh;

    padding: 0px 0px 12px 0px;
    gap: 12px;
    border-radius: 0px;
    corner-shape: squircle;

    background: var(--toolbarButtonBackground);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);

    transition: var(--primaryInteraction);
}

.panel.title-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    padding: 12px;

    background-color: var(--bodyBackground);
    border-bottom: 1px solid var(--primaryBorder);
}

.panel.title {
    font-weight: 900;
}

.panel.title .logo {
    font-size: 12px;
    font-weight: 800;
    color: var(--focusText);
}

.panel.title .logo .accent {
    color: var(--primaryAccent);
}

.panel.title .title {
    font-size: 26px;
    line-height: 1;
    padding-top: 0px;
}
