#pd-site-menu {
    display: none;
    position: fixed;
    inset: 0 auto auto 0;
    max-width: none;
    max-height: none;
    margin: 0;
    border: 0;
    color: inherit;
    overflow: auto;
    overscroll-behavior: contain;
}

#pd-site-menu:popover-open { display: flex; }
#pd-site-menu[data-open] {
    display: flex;
    z-index: 100;
    box-shadow: 0 0 0 100vmax rgb(0 0 0 / 50%);
}

#pd-site-menu::backdrop {
    background: rgb(0 0 0 / 50%);
    backdrop-filter: blur(4px);
    pointer-events: auto;
}

body:has(#pd-site-menu:popover-open) { overflow: hidden; }
body:has(#pd-site-menu[data-open]) { overflow: hidden; }

.pd-menu-status {
    position: fixed;
    inset: 1rem 1rem auto auto;
    z-index: 110;
    max-width: calc(100vw - 2rem);
    padding: .65rem .9rem;
    border: 1px solid #111;
    border-radius: 4px;
    background: #fff;
    color: #111;
    font-size: .9rem;
}

.pd-menu-status a { margin-inline-start: .5rem; text-decoration: underline; }
