/* The public post menu shares the profile's dark/light palette. */
.rpm-header__actions{margin-left:auto}
.rpm-post-menu-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;padding:10px;border:0;border-radius:6px;background:transparent;color:var(--rpm-ink,#fff);cursor:pointer}
.rpm-post-menu-toggle svg,.rpm-post-menu__close svg,.rpm-post-menu__profile svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.rpm-post-menu-toggle:hover{background:var(--rpm-surface,#171717)}
.rpm-post-menu-toggle:focus-visible,.rpm-post-menu :focus-visible{outline:2px solid currentColor;outline-offset:3px}
.rpm-post-menu{position:fixed;inset:78px max(16px,calc((100vw - 760px)/2 + 20px)) auto auto;box-sizing:border-box;width:min(420px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100vh - 96px);max-height:calc(100dvh - 96px);margin:0;padding:0;border:1px solid var(--rpm-line,#292929);border-radius:14px;background:var(--rpm-bg,#000);color:var(--rpm-ink,#fff);box-shadow:0 18px 60px #0005;overflow:hidden;font-family:inherit}
.rpm-post-menu:not([open]){display:none}
.rpm-post-menu[open]{display:flex;flex-direction:column}
.rpm-post-menu::backdrop{background:rgb(0 0 0 / .4)}
.rpm-post-menu__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex:none;padding:21px 18px 17px 24px;border-bottom:1px solid var(--rpm-line,#292929)}
.rpm-post-menu__header>div{min-width:0}
.rpm-post-menu h2{margin:0;font-size:20px;font-weight:700;line-height:1.4;letter-spacing:-.5px}
.rpm-post-menu__owner{margin:5px 0 0;font-size:13px;line-height:1.5;color:var(--rpm-muted,#aaa);overflow-wrap:anywhere}
.rpm-post-menu__close{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;margin-top:-7px;border:0;border-radius:7px;background:transparent;color:inherit;cursor:pointer}
.rpm-post-menu__close:hover{background:var(--rpm-surface,#171717)}
.rpm-post-menu .rpm-post-menu__profile{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;padding:19px 24px;color:inherit;font-size:15px;font-weight:600;line-height:1.5;text-decoration:none;border-bottom:1px solid var(--rpm-line,#292929)}
.rpm-post-menu__profile svg{width:19px;height:19px}
.rpm-post-menu__profile:hover{background:var(--rpm-surface,#171717)}
.rpm-post-menu__content{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--rpm-muted,#aaa) transparent;-webkit-overflow-scrolling:touch;padding:20px 24px 12px}
.rpm-post-menu h3{font-size:14px;font-weight:600;line-height:1.5;margin:0 0 4px}
.rpm-post-menu__status{font-size:12px;line-height:1.6;color:var(--rpm-muted,#aaa);margin:0 0 10px;overflow-wrap:anywhere}
.rpm-post-menu__list{list-style:none;padding:0;margin:0}
.rpm-post-menu__list li+li{border-top:1px solid var(--rpm-line,#292929)}
.rpm-post-menu .rpm-post-menu__list a{display:flex;flex-direction:column;gap:7px;min-height:44px;padding:16px 0;color:inherit;font-size:14px;line-height:1.55;text-decoration:none;overflow-wrap:anywhere}
.rpm-post-menu__list a:hover .rpm-post-menu__post-title{text-decoration:underline;text-underline-offset:4px}
.rpm-post-menu__post-title{font-weight:500;white-space:normal}
.rpm-post-menu__list time{font-size:11px;line-height:1.4;color:var(--rpm-muted,#aaa)}
.rpm-post-menu__footer:empty{display:none}
.rpm-post-menu__footer button{display:block;width:100%;min-height:44px;margin:12px 0 8px;border:1px solid var(--rpm-line,#292929);border-radius:7px;background:var(--rpm-surface,#171717);color:inherit;font:inherit;font-size:13px;cursor:pointer}
.rpm-post-menu__footer button[hidden]{display:none}
.rpm-post-menu__footer button:disabled{opacity:.55;cursor:wait}
@media(max-width:600px){
 .rpm-header{padding-inline:12px;gap:8px}
 .rpm-header__actions{gap:0}
 .rpm-header .rara-profile-brand{min-width:0}
 .rpm-header .rara-profile-brand .rara-profile-brand__symbol{flex:none}
 .rpm-header .rara-profile-brand .rara-profile-brand__symbol img{width:45px!important;height:auto!important}
 .rpm-header .rara-profile-brand .rara-profile-brand__name{font-size:16px!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .rpm-post-menu{inset:68px 12px auto auto;width:calc(100vw - 24px);max-width:420px;max-height:calc(100vh - 80px);max-height:calc(100dvh - 80px)}
 .rpm-post-menu__header{padding:18px 14px 14px 20px}
 .rpm-post-menu__profile{padding-inline:20px!important}
 .rpm-post-menu__content{padding:18px 20px 10px}
}
@media(max-width:360px){.rpm-header .rara-profile-brand{gap:7px}.rpm-header .rara-profile-brand .rara-profile-brand__name{font-size:14px!important}.rpm-header .rara-profile-brand .rara-profile-brand__symbol img{width:40px!important}}

.rpm-post-menu__list a[aria-current="page"] .rpm-post-menu__post-title{font-weight:700;text-decoration:underline;text-underline-offset:4px}
.rpm-post-menu__content{flex:1 1 auto}
.rpm-post-menu__account{position:sticky;bottom:0;z-index:1;flex:0 0 auto;padding:16px 24px;border-top:1px solid var(--rpm-line,#292929);background:var(--rpm-bg,#000)}
.rpm-post-menu .rpm-post-menu__account a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:7px;background:var(--rpm-ink,#fff);color:var(--rpm-bg,#000);font-size:14px;font-weight:600;line-height:1.5;text-decoration:none}
.rpm-post-menu .rpm-post-menu__account a:hover{opacity:.8}
