    .sidebar-post-modal{
      position:fixed;
      inset:0;
      z-index:9999;
      display:flex;
      align-items:center;
      justify-content:center;
    }
    .sidebar-post-modal[hidden]{display:none}
    .sidebar-post-modal__bg{
      position:absolute;
      inset:0;
      background:rgba(23,18,15,.35);
    }
    .sidebar-post-modal__box{
      position:relative;
      display:flex;
      flex-direction:column;
      gap:4px;
      min-width:220px;
      padding:20px 16px;
      border:1.7px solid rgba(23,18,15,.98);
      border-radius:16px;
      background:linear-gradient(180deg,#fffdf8 0%,#fff9f1 100%);
      box-shadow:0 20px 50px rgba(23,18,15,.18);
    }
    .sidebar-post-modal__x{
      position:absolute;
      top:8px;right:10px;
      width:28px;height:28px;
      border:none;background:transparent;
      font-size:20px;color:#999;cursor:pointer;
      display:flex;align-items:center;justify-content:center;
    }
    .sidebar-post-modal__x:hover{color:var(--primary)}
    .sidebar-post-modal__item{
      display:block;
      width:100%;
      padding:14px 16px;
      border:none;
      border-radius:10px;
      background:transparent;
      font-size:15px;
      font-weight:700;
      color:#4a433c;
      cursor:pointer;
      text-align:left;
      font-family:inherit;
      transition:all .12s ease;
    }
    .sidebar-post-modal__item:hover{
      background:rgba(231,76,60,.08);
      color:var(--primary);
    }

.sidebar-post-modal{margin:auto;inset:0;width:min(280px,calc(100vw - 32px));height:fit-content;padding:0;border:0;background:transparent;overflow:visible;color:#4a433c;font-family:var(--font-ui)}
.sidebar-post-modal:not([open]){display:none}
.sidebar-post-modal::backdrop{background:rgba(23,18,15,.35)}
.sidebar-post-modal__box{box-sizing:border-box;width:100%;padding-top:38px;max-height:calc(100dvh - 32px);overflow:auto}
.mx-post-frame{width:min(900px,calc(100vw - 24px));height:calc(100dvh - 40px);padding:40px 0 0;border:1.7px solid #17120f;border-radius:16px;background:#fffaf2;box-sizing:border-box}
.mx-post-frame::backdrop{background:rgba(23,18,15,.35)}
.mx-post-frame iframe{width:100%;height:100%;border:0;border-radius:0 0 16px 16px}
.mx-post-frame>button{position:absolute;right:16px;top:8px;font:inherit;background:transparent;border:0;cursor:pointer}
