.lib-theme-menu {
    position: fixed;
    z-index: 1100;
    width: 200px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
  }

  .lib-menu {
    position: fixed;
    z-index: 1100;
    width: 132px;
    box-sizing: border-box;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
  }
  .card-wrap > .lib-menu {
    position: absolute;
    top: calc(100% - 9px);
    left: auto;
    right: 11px;
  }
  .grid.is-list-view .card-wrap > .lib-menu {
    top: calc(50% + 10px);
    right: 0;
  }
  .lib-menu button {
    width: 100%;
    padding: 7px 10px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #d93a3f;
    font-family: inherit;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
  }
  .lib-menu button:hover { background: rgba(217, 58, 63, .08); }
  .lib-menu button.normal { color: var(--text); }
  .lib-menu button.normal:hover { background: var(--bg); }
